//#region libs/shared/common/src/error-handling/error-codes.constants.ts
var e = {
	CANNOT_CERTIFY_FOR_PAST_WEEK: "Certification for the past week is not available",
	CYCLICAL_REFERRALS_FORBIDDEN: "Cyclical referrals are forbidden",
	USER_IS_UNRANKED: "Please certify transactions to see rank"
}, t = {
	WC_NO_MATCHING_KEY: "creating the transaction failed\nversion",
	CONNECTION_PROBLEM: "Failed to connect wallet. Please try again.",
	REQUEST_PENDING: "request of type 'wallet_requestpermissions' already pending for origin"
}, n = {
	WC_INVALID_URI: "Invalid WalletConnect URL. Please, try again",
	WC_PAIRINNG_ERROR: "Pairing failed. Check your code and retry"
}, r = {
	INSUFFICIENT_FUNDS: "Insufficient funds",
	INSUFFICIENT_FUNDS_WITHDRAW: "Not enough funds to withdraw",
	INSUFFICIENT_FUNDS_TRANSFER: "Not enough funds to transfer",
	INSUFFICIENT_FUNDS_TO_TRANSACT: "Not enough funds to transact",
	INSUFFICIENT_FUNDS_GAS: "Insufficient funds for gas * price",
	INSUFFICIENT_TRON_BALANCE_FOR_FEE: "Insufficient TRX balance to cover transfer amount and transaction fee reserve",
	INSUFFICIENT_SOL_BALANCE: "Insufficient SOL balance"
}, i = {
	GAS_PRICE_EXCEEDS_AUTOSHIELD_LIMIT: "Skipped shielding due to gas fee exceeding your limit.",
	AUTO_SHIELD_INSUFFICIENT_GAS: "Auto-Shield skipped due to insufficient gas."
}, a = {
	...e,
	...t,
	...r,
	...i,
	SOME_ERROR: "Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",
	TOO_HIGH_AMOUNT: "ApproxParamsInvalid",
	NOT_ENOUGH_TOKENS: "Transfer amount exceeds balance",
	TRANSACTION_NOT_CONFIRMED: "The transaction was not confirmed by the network. Please, try again",
	RPC_PROVIDER_LIMIT_ERROR: "Non-200 status code: '429'",
	RELAYER_NOT_AVAILABLE: "All relayers are busy, please try in a few seconds",
	TRANSACTION_TIMEOUT: "Your transaction got stale. Please, try in a few seconds",
	CONNECT_ERROR: "Connection error",
	CONNECT_ERROR2: "DOMException: Failed",
	USER_REJECTED_TX: "Transaction rejected",
	USER_REJECTED_SIGN: "User rejected signing",
	USER_REJECTED_TRANSACTION: "user rejected transaction",
	USER_REJECTED_SIGN2: "User rejected the request",
	USER_REJECTED_CONNECTION: "The user rejected connection.",
	SIMULATION_FAILED: "Simulation failed:",
	USER_DENIED_TRANSACTION_SIGNATURE: "User denied transaction signature.",
	SIGNING_FAILED: "The signing failed. Please, try again",
	SIGNATURE_UNSUPPORTED_CHAINS: "Details: Unsupported chains",
	SIGNATURE_UNSUPPORTED_CHAINS2: "User disapproved requested chains",
	SIGNATURE_REQUEST_EXPIRED: "Request expired. Please try again",
	SIGNATURE_UNSUPPORTED_PERSONAL_SIGN: "The method personal_sign does not exist",
	USER_DISAPPROVED_REQUESTED_METHODS: "User disapproved requested methods",
	INVALID_AUTHORIZATION: "The requested account and/or method has not been authorized by the user",
	INVALID_NULLIFIER: "Nullifier cannot be reused",
	SANCTIONED_ADDRESS: "Address is sanctioned",
	INVALID_AMOUNT: "Please, select correct amount",
	RECIPIENT_FORMAT_INCORRECT: "Recipient Information format is incorrect",
	INVALID_TOKEN: "Invalid token provided",
	STATE_TO_UPDATE: "Error in template Verifier_219 line: 121",
	HAS_TOKEN: "User already has an access token",
	INVALID_RECEIVER: "Receiver address doesn't match",
	INVALID_RELAYER: "Relayer address doesn't match",
	INVALID_RELAYER_FEE: "Relayer fee amount is not valid",
	TIMESTAMP_STALE: "Timestamp provided does not align with current time",
	INVALID_ZKP: "Proof must be valid",
	NO_TRANSACTIONS_TO_CERTIFY: "This week, you do not have transactions to certify",
	RECIPIENT_AMOUNT_INVALID: "Recipient amount is invalid",
	UNSUPPORTED_NETWORK: "The selected network is not supported. Please switch to another network to continue.",
	SIG_BY_OWNER: "Signature must be signed by the owner of the contract",
	AMOUNT_EMPTY: "Please, specify amount",
	UNVERIFIED_USER: "Please, pass KYC verification",
	RELAYER_ISSUE: "Relayer has some issues. Try again later",
	RELAYER_GAS_ESTIMATE: "Relayer was not able to estimate the gas costs of tx. Please, try later",
	RECEIVER_EMPTY: "Please, enter recipient address",
	VALID_ETHEREUM_ADDRESS: "Please, input valid ethereum address",
	METAMASK_NOT_INSTALLED: "Please, install Metamask Wallet",
	VIABLE_TX: "The transaction is not viable. Please increase the swap amount to swap with Relayer",
	TRANSACTION_REPLACED: "transaction was replaced",
	TRANSACTION_REPLACED2: "replacement fee too low",
	TRANSACTION_CANCELED: "Transaction was cancelled. Please try again",
	NONCE_HIGH: "Nonce too high",
	WALLET_CONNECT_MATCHING_KEYS: "No matching key. keychain",
	UNKNOWN_PROVIDER: "Unknown provider",
	SAFE_ERC: "SafeERC20: low-level call failed",
	SAFE_ERC_APPROVE: "SafeERC20: approve from non-zero to non-zero allowance",
	SWAP_RELAYER_MIN: "Relayer minimum fee is not satisfied",
	LOW_LEVEL_CALL: "low-level delegate call failed",
	INTEGRAL_CURVE_ZERO: "previous integral cannot be zero",
	ODOS_FETCH: "Odos API Fetch Error",
	YOU_CANCELED_REQUEST: "You canceled the request",
	YOU_CANCELED_TRANSACTION_REQUEST: "You cancelled the transaction request.",
	SLIPPAGE_LIMIT: "Slippage Limit Exceeded",
	SLIPPAGE_LIMIT_1: "Slippage screwed you",
	QUOTE_EXPIRED: "Quote has expired",
	REVERT_NO_STRING: "Transaction reverted without a reason string",
	UNISWAP_NOT_ENOUGH_LIQUIDITY: "Not Enough Liquidity",
	CONNECTION_FAILED: "Failed to connect",
	FAILED_TO_SWITCH_NETWORKS: "Please switch networks in your wallet settings",
	INVALID_FROM: "Invalid from token",
	INVALID_TO: "Invalid to token",
	Invalid_Password: "Invalid password",
	INTERNAL_ERROR: "Internal error: please, try again",
	INVALID_MERKLE_ROOT: "Invalid merkle tree root",
	ACCESS_TOKEN_INVALID_HASH: "Access Token not minted",
	MERLE_TREE_SNARK: "Error in template ForceEqualIfEnabled",
	ERROR_MESSAGE_CHAIN_ADDRESS_CHANGED: "Chain/address changed: balance updated canceled",
	DECIMALS_LIMIT: "Number of decimals exceed maximum",
	MERKLE_TREE_INCOMPLETE: "Merkle tree is incomplete",
	FAIL_ESTIMATE_GAS: "Failed to estimate gas: check the transaction parameters",
	LEDGER_IS_LOCKED: "Ledger device: Locked device",
	LEDGER_BLIDN_SIGNING_NOT_ALLOWED: "Ledger device: UNKNOWN_ERROR (0x6a8c)",
	LEDGER_IS_NOT_AVAILABLE: "Ledger device: UNKNOWN_ERROR",
	LEDGER_ACCESS_DENIED: "Access denied to use Ledger device.",
	ODOS_SWAP_FAILED: "Odos swap call failed",
	ONEINCH_SWAP_FAILED: "One inch swap failed",
	GAS_ESTIMATION_ERROR: "Failed Gas Estimates Response",
	GAS_ESTIMATE_INCORRECT_PARAMETERS: "Incorrect Parameters for Gas Estimate",
	CONNECTIVITY_ERROR: "Request failed with status code 500",
	TRANSACTION_FAILED: "Transaction Failed: Revert",
	NO_UNISWAP_PRICE: "Cannot get Uniswap Price",
	NO_ODOS_PRICE: "Cannot get Odos Price",
	NO_ONEINCH_PRICE: "Cannot get OneInch Price",
	NO_LIFI_PRICE: "Cannot get LiFi Price",
	FEES_OVER_TRANSACTION_VALUE: "Fees are over transaction value. Please, increase the amount",
	GAS_STATION_NOT_AVAILABLE: "Gas Station Not Available",
	INBALANCE_IN_TOKEN: "Inbalance in token detected",
	BALANCE_EQUATION_FAILED: "Balance Diff Should be equal to sum of onchain and offchain created commitments",
	TOKEN_ADD_ERROR: "Error occoured while adding token. Please make sure you are adding a valid ERC-20 token",
	CANNOT_ESTIMATE_GAS: "transaction may require manual gas limit",
	NETWORK_ERROR: "Network Error",
	MAX_FEE_GAS_ERROR: "max fee per gas less than block base fee",
	CORS_ERROR: "has been blocked by CORS policy",
	CANNOT_ESTIMATE_GAS2: "transaction may fail or may require manual gas limit",
	NO_RESPONSE_PRIVATE: "No resonse from private relay",
	TRY_AGAIN_AFTER_TRANSACTION: "Please, try again",
	ALREADY_SUBSCRIBED: "User Already Subscribed",
	PREFERRED_TOKEN_OR_ADDRESS_MISSING: "Please, specify both the preferred token and public wallet address",
	SNAPSHOT_FILE_NOT_FOUND: "We are updating our servers. Please try again in some time",
	SAME_ADDRESS_FORBIDDEN: "You cannot recieve staked tokens on the same ethereum address",
	NOT_VALID_ETHEREUM_ADDRESS: "Please enter a valid Ethereum address",
	MUST_STAKE_AT_LEAST_ONE_ETH: "Amount too low, Please stake at least 1 ETH",
	OUT_OF_MEMORY: "Out of memory: Cannot allocate Wasm memory",
	OUT_OF_MEMORY2: "could not allocate memory",
	OUT_OF_MEMORY3: "out of memory",
	UNKNOWN: "Unknown error",
	TRANSACTION_WRONG_REQUEST: "The requested Transaction type is not supported",
	INSUFFICIENT_LAMPORTS: "insufficient lamports",
	TOKENS_DO_NOT_BELONG_SAME_CHAIN: "Tokens belong to different chains. All tokens must belong to the same chain",
	OKX_MIN_RETURN_NOT_REACHED: "custom program error: 0x177a",
	SOLANA_RECEIVED_LOWER_THAN_EXPECTED: "ReceivedAmountLowerThanExpected",
	AUTO_SHIELD_SKIPPED: "We skipped auto-shield because the asset was an NFT or the remaining token was used as gas.",
	LOW_OUTPUT_AMOUNT: "Gas fees exceed received amount. Please try adjusting amount or lowering slippage.",
	EXECUTION_REVERTED: "execution reverted",
	SOLANA_TRANSACTION_LOG_SIZE_LIMIT: "Transaction logs are too large. Please try again later",
	COMPUTATIONAL_BUDGET_EXCEEDED: "ComputationalBudgetExceeded",
	RELAY_FEE_OVER_WITHDRAW_AMOUNT: "Relay Fee is over withdraw amount",
	TRON_CONFIRMATION_DECLINED: "Confirmation declined by user",
	KYC_PRICE_FETCH_FAILED: "We’re having trouble verifying your wallet address. Please try again.",
	BLACKLISTED_INPUT_COMMITMENT_ADDRESS: "One of the source addresses is restricted from private transactions",
	ACCOUNT_RESOURCE_INSUFFICIENT_ERROR: "Account resource insufficient error"
}, o = "Not enough memory. Please, close some tabs/applications to free up memory and try again", s = "Your transaction didn’t go through due to price slippage. Try increasing your slippage tolerance", c = {
	USER_REJECTED_TRANSACTION: "You cancelled the transaction",
	SOME_ERROR: "Some error has occurred. Please try again in a few minutes. If the issue persists, please report it in Discord",
	TOO_HIGH_AMOUNT: "The amount you provided is too high, please adjust the amount",
	WC_NO_MATCHING_KEY: "Wallet Connect error. Please, try again",
	RPC_PROVIDER_LIMIT_ERROR: "Rate Limit: please, use different rpc provider in your wallet",
	INSUFFICIENT_FUNDS_GAS: "Your balance is too low to cover the transaction fees. Please add funds to proceed",
	INSUFFICIENT_TRON_BALANCE_FOR_FEE: "Your TRX balance is too low to cover amount and transaction fee",
	INVALID_NULLIFIER: "There seems to be an issue with syncing your balance. Please press the refresh icon next to your shielded balance",
	STATE_TO_UPDATE: "A technical issue has occurred. Please create a ticket on Hinkal discord server",
	INVALID_ZKP: "The Zero Knowledge Proof provided is invalid. Please check and try again",
	NONCE_HIGH: "To resolve this issue, please reset your wallet in the Settings",
	UNKNOWN_PROVIDER: "The provider is not recognized. Please check your settings",
	TRANSACTION_REPLACED: "Your transaction was replaced by another. Please submit your transaction again",
	TRANSACTION_REPLACED2: "This transaction was replaced. Please try submitting again",
	TRANSACTION_TIMEOUT: "Your transaction got stale. Please, try in a few seconds",
	SAFE_ERC: "Your approved amount is lower than what you’re trying to send. Increase the approval or adjust the amount, then try again.",
	SIMULATION_FAILED: "Transaction simulation failed. Please try again.",
	SAFE_ERC_APPROVE: "The selected ERC20 Token could not be approved. Please contact the Hinkal support team",
	INTEGRAL_CURVE_ZERO: "There's an issue with the pool's staking function. Please contact the Hinkal support team for assistance",
	LOW_LEVEL_CALL: "A technical issue occurred. Please contact the Hinkal team for assistance",
	YOU_CANCELED_REQUEST: "You canceled the request",
	YOU_CANCELED_TRANSACTION_REQUEST: "You cancelled the transaction request.",
	USER_REJECTED_SIGN2: "You canceled the request",
	USER_DENIED_TRANSACTION_SIGNATURE: "You canceled the request",
	ODOS_FETCH: "Current Odos price is unavailable. Please try again",
	ODOS_SWAP_FAILED: "Your Odos Swap transaction didn’t go through. Please try again",
	ONEINCH_SWAP_FAILED: "Your 1inch Swap transaction didn’t go through. Please try again",
	CONNECT_ERROR2: "Oops, there are connectivity issues. Please check your internet connection and try again",
	WALLET_CONNECT_MATCHING_KEYS: "An internal WalletConnect error occurred. Please try reconnecting",
	SIGNATURE_UNSUPPORTED_CHAINS: "The transaction couldn’t be signed: this network is not supported",
	SIGNATURE_UNSUPPORTED_CHAINS2: "The transaction couldn’t be signed: this network is not supported",
	SIGNATURE_UNSUPPORTED_PERSONAL_SIGN: "Your active wallet doesn't support personal signatures. Please use a different wallet",
	REVERT_NO_STRING: "Your transaction didn’t go through due to technical issues. Please submit a ticket on Hinkal discord server",
	INVALID_MERKLE_ROOT: "There's an issue with the merkle tree root. Please submit a ticket on Hinkal discord server",
	MERLE_TREE_SNARK: "An error occurred in the circuit processing. Please submit a ticket on Hinkal discord server",
	MAX_FEE_GAS_ERROR: "Your transaction was rejected due to high network congestion",
	MERKLE_TREE_INCOMPLETE: "A technical issue has occurred. Please submit a ticket on Hinkal discord server",
	CORS_ERROR: "Unable to reach the remote client. Please submit a ticket on Hinkal discord server",
	NETWORK_ERROR: "Connection error. Please, check back later",
	CONNECTIVITY_ERROR: "A connectivity issue occurred. Please check your network connection",
	LEDGER_IS_LOCKED: "Your wallet is locked. Please unlock your wallet",
	LEDGER_BLIDN_SIGNING_NOT_ALLOWED: "Your ledger is not allowed to sign transactions. Please allow blind signing",
	LEDGER_IS_NOT_AVAILABLE: "Access denied to use Ledger device.",
	LEDGER_ACCESS_DENIED: "Access denied to use Ledger device.",
	INBALANCE_IN_TOKEN: s,
	OKX_MIN_RETURN_NOT_REACHED: s,
	SOLANA_RECEIVED_LOWER_THAN_EXPECTED: s,
	BALANCE_EQUATION_FAILED: "There's an issue with the balance calculation. Please adjust your transaction parameters",
	SLIPPAGE_LIMIT_1: "Your transaction didn’t go through due to price slippage. Adjust slippage settings and retry",
	CANNOT_ESTIMATE_GAS: "Unable to estimate the gas required. Please set the gas limit manually",
	CANNOT_ESTIMATE_GAS2: "Your transaction didn’t go through. Please try setting gas limit manually",
	GAS_STATION_NOT_AVAILABLE: "The Gas Station service is currently unavailable. Please submit a ticket on Hinkal discord server",
	TIMESTAMP_STALE: "This transaction is outdated. Please initiate a new transaction",
	ALREADY_SUBSCRIBED: "This email is already subscribed to the Hinkal newsletter",
	OUT_OF_MEMORY: o,
	OUT_OF_MEMORY2: o,
	OUT_OF_MEMORY3: o,
	INVALID_RECOVERY_PHRASE: "Invalid recovery phrase",
	PHRASES_DONT_MATCH: "Phrases do not match. You can go back and verify your recovery phrase.",
	PASSWORDS_DONT_MATCH: "Passwords do not match",
	PASSWORD_SAME_AS_OLD: "Password cannot be the same as the old one",
	PASSWORD_TOO_SMALL: "Password must be at least 8 characters",
	PASSWORD_NOT_CORRECT: "Incorrect current password",
	CODE_ALREADY_USED: "This code has already been used",
	ACCESS_CODE_REQUIRED: "Access code is required",
	ACCESS_CODE_IS_ALREADY_IN_USE: "Access code is already in use",
	ACCESS_CODE_IS_ALREADY_IN_USE1: "Access code already in use. Import or connect existing wallet",
	ERROR_DURING_PHRASE_CONFIRMATION: "Error during Phrase confirmation",
	INSUFFICIENT_LAMPORTS: "Your SOL balance is too low to complete this transaction",
	EXECUTION_REVERTED: "Your transaction reverted.",
	COMPUTATIONAL_BUDGET_EXCEEDED: "Your transaction exceeded the limited compute units. Please try again.",
	RELAY_FEE_OVER_WITHDRAW_AMOUNT: "Your transaction didn’t go through because the relay fee exceeded the transaction amount",
	TRON_CONFIRMATION_DECLINED: "You canceled the request",
	INVALID_RELAYER_FEE: "The transaction fee changed while submitting. Please try again.",
	REQUEST_PENDING: "A request is already pending in your wallet. Please confirm to connect.",
	KYC_PRICE_FETCH_FAILED: "We’re having trouble verifying your wallet address. Please try again.",
	BLACKLISTED_INPUT_COMMITMENT_ADDRESS: "The funds you’re trying to use have been flagged as sanctioned."
}, l = {
	UTXO_LIMITATIONS: "Your transaction exceeds the UTXO limit",
	INSUFFICIENT_BALANCE_FOR_FEES: "Fees are high right now and would consume a large portion of your balance. Consider reducing the amount or retrying later.",
	HIGH_FEE_WARNING: "Total fees exceed your available balance. Consider adding funds or retry later when fees decrease."
};
//#endregion
export { l as DIRECTLY_SHOW_MESSAGE_ERROR_CODES, c as UserFriendlyErrorCodes, i as gasErrorCodes, r as insufficientResourcesErrorCodes, a as transactionErrorCodes, n as walletConnectErrorCodes };
