<commit_before>using Avalonia.Threading;
using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Models;
using WalletWasabi.Wallets;

namespace WalletWasabi.Gui.Controls.WalletExplorer
{
	public class WalletInfoViewModel : WasabiDocumentTabViewModel, IWalletViewModel
	{
		private bool _showSensitiveKeys;
		private string _password;
		private string _extendedMasterPrivateKey;
		private string _extendedMasterZprv;
		private string _extendedAccountPrivateKey;
		private string _extendedAccountZprv;
		private const string HiddenKeyString = "Sensitive Data - Not Shown";

		public WalletInfoViewModel(Wallet wallet) : base(wallet.WalletName)
		{
			Global = Locator.Current.GetService<Global>();
			Wallet = wallet;

			this.ValidateProperty(x => x.Password, ValidatePassword);<commit_msg>fix codefactor issues<commit_after>using Avalonia.Threading;
using NBitcoin;
using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Models;
using WalletWasabi.Wallets;

namespace WalletWasabi.Gui.Controls.WalletExplorer
{
	public class WalletInfoViewModel : WasabiDocumentTabViewModel, IWalletViewModel
	{
		private const string HiddenKeyString = "Sensitive Data - Not Shown";
		private bool _showSensitiveKeys;
		private string _password;
		private string _extendedMasterPrivateKey;
		private string _extendedMasterZprv;
		private string _extendedAccountPrivateKey;
		private string _extendedAccountZprv;		

		public WalletInfoViewModel(Wallet wallet) : base(wallet.WalletName)
		{
			Global = Locator.Current.GetService<Global>();
			Wallet = wallet;

			this.ValidateProperty(x => x.Password, ValidatePassword);
{'fraction_non_alphanumeric': 0.07347670250896057, 'fraction_numerical': 0.0, 'mean_word_length': 6.468227424749164, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5011277', 'n_tokens_mistral': 706, 'n_tokens_neox': 677, 'n_words': 157}