supercolony 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/tui/app.mjs +1 -1
- package/dist/tui/presentation.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ colony --ascii
|
|
|
25
25
|
|
|
26
26
|
The dashboard has **My tasks**, **Explore**, **Workers** and **Wallets** at the top. Wide terminals show a list and details side by side; below 100 columns, Enter opens details and Esc returns to the list. Use an interactive terminal at least 40 columns by 20 rows. `--ascii` uses ordinary ASCII borders. Special fonts, WSL and a browser are not required.
|
|
27
27
|
|
|
28
|
+
Panel actions stay visible along the bottom of their frame. Task lists contain New task, Search and Refresh; My tasks also has Filter. The Workers list contains Add target, Search and Refresh, while the selected worker's actions stay in its details pane. Wallet actions and Refresh belong to the selected wallet; New, Import and network settings remain in Wallet management. Selection and Enter/Tab hints stay in the list; return, scrolling and detail-tab hints stay in the details pane. Shortcuts wrap as whole entries on narrow terminals. The screen footer contains only global Help and Quit; during input, confirmation or an operation, it shows Ctrl+C to exit.
|
|
29
|
+
|
|
28
30
|
| Key | Action |
|
|
29
31
|
| --- | --- |
|
|
30
32
|
| `1`–`4` | Switch workspace |
|
package/dist/tui/app.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2472a2=_0x4842;import{createElement as _0x34d91a,useEffect as _0x286b76,useState as _0x3d8e10,useSyncExternalStore as _0x191c6b}from'react';import{Box as _0x4b98db,Text as _0x1c2714,useApp as _0x5385b0,useInput as _0x175122,useWindowSize as _0x1fbba3}from'ink';import _0x101f75 from'ink-text-input';function _0x4842(_0x3e077c,_0x41c36c){_0x3e077c=_0x3e077c-0x98;const _0x4842dc=_0x41c3();let _0x33f2c4=_0x4842dc[_0x3e077c];return _0x33f2c4;}import{visibleItems as _0x468bf4,VIEWS as _0x69ff83}from'./controller.mjs';import{clean as _0x4f5f70,detailText as _0x5343fe,lines as _0x52144f,short as _0x547287,statusLabel as _0x452613,taskActionHint as _0x4d924c}from'./presentation.mjs';import{modelProgressLines as _0x587044}from'../planner/progress.mjs';const X={'topLeft':'+','top':'-','topRight':'+','right':'|','bottomRight':'+','bottom':'-','bottomLeft':'+','left':'|'},Z={'tasks':'My\x20tasks','explore':'Explore','workers':_0x2472a2(0x10e),'wallet':'Wallets'},$=_0x5df298=>_0x5df298===_0x2472a2(0x12b)?_0x2472a2(0xa5):_0x5df298===_0x2472a2(0xd2)?_0x2472a2(0x12c):['challenged',_0x2472a2(0x140),_0x2472a2(0x168),_0x2472a2(0xc2),_0x2472a2(0xd5)][_0x2472a2(0x18b)](_0x5df298)?'yellow':'cyan',n=(_0x4c4086,_0x4fc460={})=>_0x34d91a(_0x1c2714,_0x4fc460,_0x4f5f70(_0x4c4086));function W({label:_0x624f07}){const _0x427543=_0x2472a2,[_0x3f54f0,_0x2576ce]=_0x3d8e10(0x0);return _0x286b76(()=>{const _0x418c4f=setInterval(()=>_0x2576ce(_0x46b98d=>(_0x46b98d+0x1)%0x4),0x96);return()=>clearInterval(_0x418c4f);},[]),n(['|','/','-','\x5c'][_0x3f54f0]+'\x20'+_0x624f07,{'color':_0x427543(0x135),'wrap':_0x427543(0x150)});}function b({title:_0x78eeab,width:_0x3bba7f,height:_0x11d876,ascii:_0x4e55b3,active:_0x52db9e,children:_0x1a4d73}){const _0x93de6e=_0x2472a2;return _0x34d91a(_0x4b98db,{'width':_0x3bba7f,'height':_0x11d876,'flexDirection':_0x93de6e(0x9a),'borderStyle':_0x4e55b3?X:_0x93de6e(0xb4),'borderColor':_0x52db9e?_0x93de6e(0x135):_0x93de6e(0xa5),'paddingX':0x1,'flexShrink':0x0,'overflow':_0x93de6e(0x16d)},n(_0x78eeab,{'color':_0x52db9e?_0x93de6e(0x135):void 0x0,'dimColor':!_0x52db9e}),_0x1a4d73);}function ee({event:_0x549b6f,width:_0x2ea463,height:_0x1997db,ascii:_0x5d8e75}){const _0x4444d2=_0x2472a2,_0x5d3649=_0x587044(_0x549b6f,{'width':_0x2ea463-0x4})[_0x4444d2(0x9c)](0x2);return _0x34d91a(b,{'title':_0x4444d2(0xc4),'width':_0x2ea463,'height':_0x1997db,'ascii':_0x5d8e75,'active':!0x0},_0x34d91a(_0x4b98db,{'flexDirection':_0x4444d2(0x9a),'marginTop':0x1},..._0x5d3649['map']((_0x50262a,_0x2b5738)=>_0x50262a[_0x4444d2(0x10f)](_0x4444d2(0x136))?_0x34d91a(W,{'key':_0x2b5738,'label':_0x50262a[_0x4444d2(0x9c)](0x4)}):n(_0x50262a||'\x20',{'key':_0x2b5738,'color':_0x50262a[_0x4444d2(0x10f)]('[+]')?_0x4444d2(0x12c):_0x4444d2(0x135)}))),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x4444d2(0x12f),{'dimColor':!0x0,'wrap':_0x4444d2(0x150)}));}function L({content:_0x2db953,width:_0x8762c7,height:_0x14c0fd,offset:_0x4da53}){const _0x2b1a29=_0x2472a2,_0x2fd20a=_0x52144f(_0x2db953,_0x8762c7),_0x41ee37=Math[_0x2b1a29(0x137)](_0x4da53,Math[_0x2b1a29(0xa2)](0x0,_0x2fd20a[_0x2b1a29(0xb0)]-_0x14c0fd));return _0x34d91a(_0x4b98db,{'flexDirection':_0x2b1a29(0x9a),'height':_0x14c0fd,'overflow':_0x2b1a29(0x16d)},..._0x2fd20a[_0x2b1a29(0x9c)](_0x41ee37,_0x41ee37+_0x14c0fd)[_0x2b1a29(0x17e)]((_0x50aa6d,_0x52cdeb)=>n(_0x50aa6d||'\x20',{'key':_0x52cdeb})));}function _0x41c3(){const _0x4f274c=['name','busy','column','downArrow','slice','m\x20wallet\x20actions','Keyboard\x20shortcuts','accepted','lines','changeTab','max','pageUp','Press\x20e\x20for\x20the\x20full\x20error\x20·\x20PgUp/PgDn\x20scroll\x20details','gray','black','installed','Private\x20key','workerMenu','1234','escape','No\x20wallets\x20yet.\x20Press\x20n\x20to\x20create\x20or\x20i\x20to\x20import.','confirm','en-US','files','length','rows','search','addTarget','single','setField','workerCommand','join','scroll','kind','Conversion\x20already\x20confirmed;\x20reviewed\x20limit:\x20','COLONY','Order:\x20','terminal','refreshing','Wallet:\x20','doctor','\x20tasks','payment_failed','coin','Preparing\x20local\x20LLM','repeat','floor','Pay\x20with:\x20','Quote\x20expires:\x20\x20\x20\x20\x20','[n]\x20New\x20wallet\x20\x20[i]\x20Import\x20wallet','download','next','s\x20save\x20QR\x20·\x20Esc\x20back','Item\x20','\x20IMD\x20&\x20publish','chainName','up/down\x20select','tab','completed','Tab\x20list/details\x20·\x20[\x20]\x20tabs\x20·\x20PgUp/PgDn\x20scroll','Not\x20deployed','expired','ETH','Admission\x20payment\x20only.\x20Completion\x20is\x20not\x20guaranteed.','address','yellow','title','converted','create','payTo','payWith','Support\x20recipient:\x20','Resize\x20to\x20at\x20least\x20','support','\x20entries\x20·\x20Mine\x20+\x20Network','respond','rightArrow','Files','Support\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','split','[p]\x20Network:\x20','Maximum\x20debit:\x20','toLocaleString','coins','minimumImd','up/down\x20select\x20·\x20/\x20search\x20·\x20r\x20refresh\x20·\x20q\x20quit','Tab\x20choose\x20·\x20Enter\x20confirm\x20·\x20Esc\x20cancel\x20·\x20PgDn\x20scroll','\x20·\x20i\x20details','network','white','\x20rows,\x20or\x20press\x20s\x20to\x20save\x20the\x20QR.','wallet','Convert\x20&\x20publish','down\x20loads\x20more','error','up/down\x20select\x20·\x20m\x20wallet\x20actions\x20·\x20g\x20management\x20·\x20q\x20quit','Max\x20debit:\x20','columns','chooseMenu','\x20·\x20','filter','form','menu','COLONY\x20\x20get\x20things\x20done.','taskMenu','Enter\x20','pageDown','values','No\x20tasks\x20yet.\x20Press\x20n\x20to\x20create\x20one.','field','\x20wallets','paymentCoins','update','\x20(includes\x20gas)','Receive\x20on\x20','focus','subscribe','red','Workers','startsWith','networkFeeCap','Loading...','Choose\x20','showError','label','Review\x20the\x20official\x20fee\x20before\x20paying.','saveReceiveQr','acceptLabel','maximumDebit','tasks','cancelRequest','cancelLabel','walletSetup','then','Review\x20saved\x20payment','cursor','walletImport','ctrl','dismissMenu','Confirm','Refreshing\x20tasks...','Pay\x20to:\x20','\x20IMD','detail','Support\x20is\x20sent\x20first;\x20no\x20refund\x20if\x20admission\x20fails.\x20Task\x20completion\x20is\x20not\x20guaranteed.','total','stringify','cancelled','green','explore','objective','Saved\x20on\x20this\x20computer\x20for\x20future\x20tasks.','close','Loading\x20history...','Pay\x20','Activity','amount','cyan','[>]','min','view','items','dismissForm','more','WALLETS','\x20items\x20·\x20','fields','Read\x20only\x20·\x20/\x20search\x20·\x20r\x20refresh','blocked','upArrow','funding','Ctrl+C\x20exit','network-worker','\x20·\x20Tab\x20switch\x20field\x20·\x20Esc\x20cancel','Network:\x20','Up/down\x20select\x20·\x20Enter\x20open\x20·\x20Esc\x20back','\x20in\x20the\x20sending\x20wallet.','Coins:\x20','\x20·\x20up/down\x20change','row','Mine','IMD','WORKSPACES\x0a1\x20My\x20tasks\x20·\x202\x20Explore\x20·\x203\x20Workers\x20·\x204\x20Wallet\x0a\x0aTASKS\x0an\x20New\x20task\x20·\x20/\x20Search\x20·\x20f\x20Filter\x20·\x20r\x20Refresh\x0aup/down\x20Select\x20·\x20Enter\x20Details\x20·\x20Esc\x20Back\x0aTab\x20List/details\x20·\x20[\x20/\x20]\x20Detail\x20tab\x0aPgUp/PgDn\x20Scroll\x20details\x20·\x20l\x20More\x20public\x20tasks\x0ad\x20Result\x20files\x20·\x20s\x20Save\x20files\x20·\x20c\x20Request\x20changes\x0ao\x20Review/pay\x20or\x20resume\x20a\x20saved\x20order\x0ax\x20Cancel\x20an\x20unsigned\x20request\x20·\x20m\x20Task\x20actions\x0aCancelled\x20requests:\x20m\x20>\x20Delete\x20local\x20record\x0aSigned\x20payments\x20and\x20published\x20tasks\x20cannot\x20be\x20cancelled\x20through\x20the\x20public\x20API.\x0a\x0aWORKERS\x0aa\x20Add\x20target\x20·\x20m\x20Actions\x20·\x20l\x20Logs\x20·\x20g\x20Diagnostics\x0a\x0aWALLET\x0an\x20Create\x20wallet\x20·\x20i\x20Import\x20wallet\x0ad\x20Receive\x20/\x20QR\x20·\x20b\x20Encrypted\x20backup\x0am\x20Selected\x20wallet\x20actions\x20·\x20g\x20Management\x20·\x20p\x20Network\x0ar\x20Refresh\x20balances\x0a\x0aq\x20Quit\x20·\x20Ctrl+C\x20Cancel\x20and\x20exit\x0aTerminal\x20is\x20restored\x20when\x20you\x20exit.','SERVER\x20PREPARED\x20INPUT','truncate-end','Anyone\x20with\x20this\x20key\x20can\x20spend\x20this\x20wallet’s\x20funds.','useSelectedWallet','prepared','Browse','list','estimatedAmount','workers','n\x20new\x20·\x20/\x20search\x20·\x20r\x20refresh\x20·\x20?\x20help\x20·\x20q\x20quit','WALLET\x20MANAGEMENT','notice','resumeOrder','Deployed\x20·\x20status\x20on\x20selection','End\x20of\x20history','asset','subtitle','Conversion\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','cycleFilter','Asset:\x20','managed-worker','\x20ETH','Could\x20not\x20load\x20items.\x20Press\x20r\x20to\x20retry.','privateKeyView','Wallets','refused','Optional\x20support:\x20','getSnapshot','secret','modelProgress','hidden','walletBackup','Included\x20gas\x20cap:\x20','return','\x20columns\x20and\x20','WORKERS','Overview','m\x20actions\x20·\x20l\x20logs\x20·\x20g\x20diagnostics','help','recipient','********','Esc\x20hide\x20and\x20return','refresh','Continue\x20&\x20publish','placeholder','refreshError','walletReceive','map','walletNetworkMenu','a\x20add\x20·\x20m\x20actions\x20·\x20l\x20logs\x20·\x20/\x20search\x20·\x20r\x20refresh\x20·\x20q\x20quit','Convert\x20at\x20most:\x20','receive','privateKey','\x20IMD\x20(fee\x20','autoRefresh','\x20task','\x20/\x20','expanded','query','Work','includes','REQUEST','PAYMENT\x20DETAILS','selected'];_0x41c3=function(){return _0x4f274c;};return _0x41c3();}function N({state:_0x2d46d7,height:_0x19af64,width:_0x2bca99,ascii:_0x2b35fc}){const _0x38158d=_0x2472a2,_0x22e9b1=_0x468bf4(_0x2d46d7),_0x2e5a42=_0x2d46d7['view']===_0x38158d(0x12d),_0x28fcd2=_0x2d46d7['view']===_0x38158d(0x119)||_0x2e5a42,_0x1ccd92=_0x2e5a42?_0x2d46d7[_0x38158d(0x129)]:_0x22e9b1[_0x38158d(0xb0)],_0x3d5856=_0x2e5a42?_0x1ccd92===null?_0x22e9b1[_0x38158d(0xb0)]+'\x20results\x20loaded':_0x1ccd92['toLocaleString'](_0x38158d(0xae))+(_0x1ccd92===0x1?_0x38158d(0x186):_0x38158d(0xc1)):_0x22e9b1[_0x38158d(0xb0)]+(_0x2d46d7['view']===_0x38158d(0xf3)?_0x38158d(0x106):_0x2d46d7['view']===_0x38158d(0x157)?_0x38158d(0xe2):_0x38158d(0x13d)+_0x2d46d7['filter']),_0x1fcb0b=_0x1ccd92===null?_0x38158d(0xcd)+(_0x2d46d7[_0x38158d(0x18e)]+0x1):_0x2d46d7[_0x38158d(0x18e)]+0x1+'/'+_0x1ccd92[_0x38158d(0xea)](_0x38158d(0xae)),_0x1526cd=_0x2e5a42&&_0x2d46d7['selected']===_0x22e9b1['length']-0x1;let _0x92abee=_0x38158d(0xd0);_0x1526cd&&(_0x2d46d7[_0x38158d(0x99)]?_0x92abee=_0x38158d(0x131):_0x2d46d7[_0x38158d(0xf6)]&&_0x2d46d7[_0x38158d(0x11f)]?_0x92abee='l\x20retry\x20history':_0x92abee=_0x2d46d7[_0x38158d(0x11f)]?_0x38158d(0xf5):_0x38158d(0x15d));const _0x555dbe=Math['max'](0x1,Math[_0x38158d(0xc6)]((_0x19af64-(_0x28fcd2?0x7:0x5))/0x3)),_0x14a6d3=Math[_0x38158d(0xa2)](0x0,Math[_0x38158d(0x137)](_0x2d46d7[_0x38158d(0x18e)]-Math['floor'](_0x555dbe/0x2),_0x22e9b1['length']-_0x555dbe));return _0x34d91a(_0x4b98db,{'flexDirection':_0x38158d(0x9a),'flexGrow':0x1},n(_0x3d5856,{'dimColor':!0x0}),..._0x22e9b1['slice'](_0x14a6d3,_0x14a6d3+_0x555dbe)[_0x38158d(0x17e)]((_0x4d2ebc,_0x52c3f1)=>_0x34d91a(_0x4b98db,{'key':_0x4d2ebc['id'],'flexDirection':_0x38158d(0x9a)},n((_0x2d46d7[_0x38158d(0x18e)]===_0x14a6d3+_0x52c3f1?'>\x20':'\x20\x20')+_0x547287((_0x4d2ebc['kind']===_0x38158d(0x163)?'Mine\x20\xB7\x20':'')+_0x4d2ebc[_0x38158d(0xda)],_0x2bca99-0x2),{'inverse':_0x2d46d7[_0x38158d(0x18e)]===_0x14a6d3+_0x52c3f1,'bold':_0x2d46d7['selected']===_0x14a6d3+_0x52c3f1}),n('\x20\x20'+_0x547287(_0x4d2ebc[_0x38158d(0x15f)]??_0x452613(_0x4d2ebc['state'])??(_0x4d2ebc[_0x38158d(0xa7)]?_0x38158d(0x15c):_0x38158d(0xd4)),_0x2bca99-0x2),{'color':$(_0x4d2ebc['state'])}),n((_0x2b35fc?'-':'\u2500')[_0x38158d(0xc5)](_0x2bca99),{'dimColor':!0x0}))),_0x22e9b1['length']===0x0?n(_0x2d46d7[_0x38158d(0x99)]?_0x38158d(0x111):_0x2d46d7[_0x38158d(0xf6)]?_0x38158d(0x165):_0x2d46d7[_0x38158d(0x138)]===_0x38158d(0xf3)?_0x38158d(0xac):_0x2d46d7['view']==='tasks'?_0x38158d(0x104):'No\x20matching\x20items.',{'dimColor':!0x0}):null,_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x22e9b1[_0x38158d(0xb0)]?_0x547287(_0x1fcb0b+_0x38158d(0xfb)+_0x92abee,_0x2bca99):'',{'dimColor':!0x0}),_0x28fcd2?n((_0x2b35fc?'-':'\u2500')[_0x38158d(0xc5)](_0x2bca99),{'dimColor':!0x0}):null,_0x28fcd2?n('[n]\x20New\x20task',{'color':_0x38158d(0x135),'bold':!0x0}):null);}function te({state:_0x29c1dd,width:_0x37e1b7,height:_0x4e66f8,ascii:_0x10abeb,narrow:_0xc14dc3}){const _0x188daf=_0x2472a2,_0x1c954f=_0xc14dc3?_0x37e1b7:Math[_0x188daf(0xc6)](_0x37e1b7*0.43),_0x1fddc7=_0xc14dc3?_0x37e1b7:_0x37e1b7-_0x1c954f-0x1,_0x10bd48=0x6,_0x3c1be4=_0x4e66f8-_0x10bd48,_0x72688a=_0x34d91a(b,{'title':_0x188daf(0x13c),'width':_0x1c954f,'height':_0xc14dc3?_0x3c1be4:_0x4e66f8,'ascii':_0x10abeb,'active':_0x29c1dd[_0x188daf(0x10b)]==='list'},_0x34d91a(N,{'state':_0x29c1dd,'height':_0xc14dc3?_0x3c1be4:_0x4e66f8,'width':_0x1c954f-0x4,'ascii':_0x10abeb})),_0x4c5282=_0x34d91a(b,{'title':'WALLET\x20DETAILS\x20\xB7\x20selected\x20wallet','width':_0x1fddc7,'height':_0x3c1be4,'ascii':_0x10abeb,'active':_0x29c1dd[_0x188daf(0x10b)]===_0x188daf(0x127)},_0x34d91a(L,{'content':_0x5343fe(_0x29c1dd),'width':_0x1fddc7-0x4,'height':_0x3c1be4-0x4,'offset':_0x29c1dd[_0x188daf(0xb8)]}),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x188daf(0x9d),{'color':_0x188daf(0x135),'wrap':_0x188daf(0x150)})),_0x59d846=_0x34d91a(b,{'title':_0x188daf(0x159),'width':_0x1fddc7,'height':_0x10bd48,'ascii':_0x10abeb,'active':!0x1},n(_0x188daf(0xc9)),n('[g]\x20Manage\x20wallets'),n(_0x188daf(0xe8)+(_0x29c1dd['detail']?.[_0x188daf(0xcf)]??_0x188daf(0x111)),{'color':_0x188daf(0x135)}));return _0xc14dc3?_0x34d91a(_0x4b98db,{'flexDirection':'column','width':_0x37e1b7,'height':_0x4e66f8},_0x29c1dd[_0x188daf(0x10b)]==='list'?_0x72688a:_0x4c5282,_0x59d846):_0x34d91a(_0x4b98db,{'width':_0x37e1b7,'height':_0x4e66f8,'gap':0x1},_0x72688a,_0x34d91a(_0x4b98db,{'width':_0x1fddc7,'flexDirection':_0x188daf(0x9a)},_0x4c5282,_0x59d846));}function ne({controller:_0x24f3f7,state:_0x2062fa,width:_0x3b10dd,height:_0x47a507,ascii:_0x4dc986}){const _0x2b1f0b=_0x2472a2,_0xce6245=_0x2062fa[_0x2b1f0b(0xfd)],_0x120e28=_0xce6245[_0x2b1f0b(0x13e)][_0xce6245['field']],_0x30cad5=_0xce6245[_0x2b1f0b(0x13e)][_0x2b1f0b(0x9c)](0x0,_0xce6245[_0x2b1f0b(0x105)])[_0x2b1f0b(0x17e)](_0x3c7348=>_0x3c7348[_0x2b1f0b(0x114)]+':\x20'+(_0x3c7348['secret']?_0x2b1f0b(0x177):_0xce6245[_0x2b1f0b(0x103)][_0x3c7348['name']]));return _0x34d91a(b,{'title':_0xce6245['title'],'width':_0x3b10dd,'height':_0x47a507,'ascii':_0x4dc986,'active':!0x0},_0x34d91a(_0x4b98db,{'marginTop':0x1,'flexDirection':'column'},_0xce6245[_0x2b1f0b(0x107)]?n(_0x2b1f0b(0xc7)+_0xce6245[_0x2b1f0b(0x107)][_0x2b1f0b(0x17e)](_0x599564=>_0x599564===_0xce6245[_0x2b1f0b(0xde)]?'['+_0x599564+']':_0x599564)[_0x2b1f0b(0xb7)]('\x20')+_0x2b1f0b(0x14a),{'color':_0x2b1f0b(0x135)}):null,..._0x30cad5[_0x2b1f0b(0x17e)]((_0x1b9d82,_0x8e42fb)=>n(_0x547287(_0x1b9d82,_0x3b10dd-0x6),{'key':_0x8e42fb,'dimColor':!0x0})),n(_0x120e28['label'],{'bold':!0x0}),_0x34d91a(_0x4b98db,{'marginTop':0x1,'minHeight':0x2,'maxHeight':Math['max'](0x2,_0x47a507-0x9),'overflow':_0x2b1f0b(0x16d)},n('>\x20',{'color':_0x2b1f0b(0x135)}),_0x34d91a(_0x101f75,{'key':_0x120e28[_0x2b1f0b(0x98)],'value':_0xce6245[_0x2b1f0b(0x103)][_0x120e28[_0x2b1f0b(0x98)]],'placeholder':_0x120e28[_0x2b1f0b(0x17b)]??'','mask':_0x120e28[_0x2b1f0b(0x16b)]?'*':void 0x0,'onChange':_0x4d9505=>_0x24f3f7[_0x2b1f0b(0xb5)](_0x4d9505),'onSubmit':()=>_0xce6245['field']===_0xce6245['fields'][_0x2b1f0b(0xb0)]-0x1?void _0x24f3f7['submitForm']():_0x24f3f7['nextField']()})),n(_0xce6245[_0x2b1f0b(0xf6)]??'',{'color':_0x2b1f0b(0x10d)}),_0xce6245['paymentCoins']?n(_0x2b1f0b(0x115),{'dimColor':!0x0}):null),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x2b1f0b(0x101)+(_0xce6245['field']===_0xce6245[_0x2b1f0b(0x13e)][_0x2b1f0b(0xb0)]-0x1?_0xce6245['submit']:_0x2b1f0b(0xcb))+_0x2b1f0b(0x145),{'color':'cyan','wrap':_0x2b1f0b(0x150)}));}function oe({state:_0x21fa6d,width:_0x28a7f0,height:_0x7a3d4,ascii:_0x3b3e50}){const _0x2f23ca=_0x2472a2,_0x28e641=_0x21fa6d[_0x2f23ca(0xad)],_0x45ef64=_0x28e641['payment'],_0x28c8cc=_0x45ef64?_0x45ef64[_0x2f23ca(0xe1)]?'Total\x20'+_0x45ef64[_0x2f23ca(0xe1)][_0x2f23ca(0x129)]+_0x2f23ca(0x184)+_0x45ef64[_0x2f23ca(0x134)]+'\x20+\x20support\x20'+_0x45ef64[_0x2f23ca(0xe1)][_0x2f23ca(0x134)]+')':'Fee\x20'+_0x45ef64[_0x2f23ca(0x134)]+_0x2f23ca(0x126):null,_0x16a5ee=_0x45ef64?.['funding']?_0x2f23ca(0xf8)+_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0x118)]:null,_0x33b7cd=_0x45ef64?_0x2f23ca(0x146)+_0x45ef64['chainName']:null,_0x4df832=_0x45ef64?.[_0x2f23ca(0x110)]?(_0x45ef64[_0x2f23ca(0x142)]?.['coin']==='ETH'?_0x2f23ca(0x16f):'Extra\x20gas\x20cap:\x20')+_0x45ef64['networkFeeCap']+_0x2f23ca(0x164):null,_0x3be0a8=_0x45ef64?_0x45ef64['support']?_0x2f23ca(0x128):_0x2f23ca(0xd7):null;let _0x64e69b=_0x45ef64?_0x2f23ca(0x132)+(_0x45ef64[_0x2f23ca(0xe1)]?.[_0x2f23ca(0x129)]??_0x45ef64[_0x2f23ca(0x134)])+_0x2f23ca(0xce):'';_0x45ef64?.[_0x2f23ca(0x142)]&&_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0xc3)]!==_0x2f23ca(0x14d)&&(_0x64e69b=_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0xdb)]?_0x2f23ca(0x17a):_0x2f23ca(0xf4));const _0x3e00a6=0x2+_0x52144f(_0x28e641[_0x2f23ca(0xda)]??_0x2f23ca(0x11e),_0x28a7f0-0x4)[_0x2f23ca(0xb0)]+[_0x28c8cc,_0x16a5ee,_0x33b7cd,_0x4df832,_0x3be0a8][_0x2f23ca(0xfc)](Boolean)['reduce']((_0x1a457a,_0x3cc32d)=>_0x1a457a+_0x52144f(_0x3cc32d,_0x28a7f0-0x4)['length'],0x0)+(_0x28a7f0<0x46?0x2:0x1)+0x1,_0x2efcf9=_0x45ef64?[_0x2f23ca(0x18c),_0x45ef64[_0x2f23ca(0x12e)],'',..._0x45ef64['deliverables'][_0x2f23ca(0x17e)](_0x4dc302=>'-\x20'+_0x4dc302),'',..._0x45ef64['support']?['Help\x20us\x20make\x20Colony\x20better.',_0x2f23ca(0x169)+_0x45ef64['support'][_0x2f23ca(0x134)]+_0x2f23ca(0x126),_0x2f23ca(0xdf)+_0x45ef64[_0x2f23ca(0xe1)][_0x2f23ca(0x176)],_0x2f23ca(0xe6),'']:[],..._0x45ef64[_0x2f23ca(0x142)]&&_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0xc3)]!==_0x2f23ca(0x14d)?[(_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0xdb)]?_0x2f23ca(0xba):_0x2f23ca(0x181))+_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0x134)],..._0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0x156)]&&!_0x45ef64['funding'][_0x2f23ca(0xdb)]?['Estimated\x20payment:\x20'+_0x45ef64[_0x2f23ca(0x142)]['estimatedAmount']]:[],_0x2f23ca(0xe9)+_0x45ef64[_0x2f23ca(0x142)]['maximumDebit']+(_0x45ef64['funding'][_0x2f23ca(0xc3)]===_0x2f23ca(0xd6)?_0x2f23ca(0x109):'\x20+\x20ETH\x20gas'),'IMD\x20for\x20this\x20task:\x20'+_0x45ef64[_0x2f23ca(0x142)][_0x2f23ca(0xec)],_0x2f23ca(0x160),'']:[],_0x2f23ca(0xc8)+_0x45ef64['expiresAt'],..._0x28e641[_0x2f23ca(0x188)]?['',_0x2f23ca(0x18d),_0x2f23ca(0x146)+_0x45ef64[_0x2f23ca(0xf0)],_0x2f23ca(0x162)+_0x45ef64[_0x2f23ca(0x15e)],_0x2f23ca(0x125)+_0x45ef64[_0x2f23ca(0xdd)],_0x2f23ca(0xbc)+_0x45ef64['orderId'],'',_0x2f23ca(0x14f),JSON[_0x2f23ca(0x12a)](_0x45ef64[_0x2f23ca(0x153)],null,0x2)]:[]][_0x2f23ca(0xb7)]('\x0a'):_0x28e641[_0x2f23ca(0xa0)][_0x2f23ca(0xb7)]('\x0a');return _0x34d91a(b,{'title':_0x28e641[_0x2f23ca(0xda)]??_0x2f23ca(0x11e),'width':_0x28a7f0,'height':_0x7a3d4,'ascii':_0x3b3e50,'active':!0x0},_0x28c8cc?n(_0x28c8cc,{'color':_0x2f23ca(0x135),'bold':!0x0}):null,_0x16a5ee?n(_0x16a5ee,{'color':_0x2f23ca(0x135),'bold':!0x0}):null,_0x33b7cd?n(_0x33b7cd,{'color':_0x2f23ca(0x135)}):null,_0x4df832?n(_0x4df832,{'color':_0x2f23ca(0xd9)}):null,_0x34d91a(L,{'content':_0x2efcf9,'width':_0x28a7f0-0x4,'height':Math['max'](0x0,_0x7a3d4-_0x3e00a6),'offset':_0x21fa6d[_0x2f23ca(0xb8)]}),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),_0x3be0a8?n(_0x3be0a8,{'color':_0x2f23ca(0xd9)}):null,_0x34d91a(_0x4b98db,{'flexDirection':_0x28a7f0<0x46?_0x2f23ca(0x9a):_0x2f23ca(0x14b),'gap':_0x28a7f0<0x46?0x0:0x3},n('[\x20'+(_0x28e641[_0x2f23ca(0x11b)]??(_0x45ef64?'Cancel\x20/\x20edit':'Cancel'))+'\x20]',{'inverse':!_0x28e641[_0x2f23ca(0x9f)]}),n('[\x20'+(_0x45ef64?_0x64e69b:_0x28e641[_0x2f23ca(0x117)]??_0x2f23ca(0x123))+'\x20]',{'inverse':_0x28e641[_0x2f23ca(0x9f)],'color':'cyan'})),n(_0x2f23ca(0xee)+(_0x45ef64?_0x2f23ca(0xef):''),{'dimColor':!0x0,'wrap':'truncate-end'}));}function re({state:_0x50f9cb,width:_0xe036e9,height:_0x1d8653,ascii:_0x35a639}){const _0x5876ed=_0x2472a2,_0x351b8c=_0x50f9cb[_0x5876ed(0xfe)],_0x3ea23a=Math[_0x5876ed(0xa2)](0x1,_0x1d8653-0x5),_0x2924ea=Math['max'](0x0,Math['min'](_0x351b8c[_0x5876ed(0x18e)]-Math[_0x5876ed(0xc6)](_0x3ea23a/0x2),_0x351b8c[_0x5876ed(0x139)][_0x5876ed(0xb0)]-_0x3ea23a));return _0x34d91a(b,{'title':_0x351b8c[_0x5876ed(0xda)],'width':_0xe036e9,'height':_0x1d8653,'ascii':_0x35a639,'active':!0x0},..._0x351b8c[_0x5876ed(0x139)][_0x5876ed(0x9c)](_0x2924ea,_0x2924ea+_0x3ea23a)[_0x5876ed(0x17e)]((_0x2ad33c,_0x56f90c)=>n((_0x2924ea+_0x56f90c===_0x351b8c[_0x5876ed(0x18e)]?'>\x20':'\x20\x20')+_0x2ad33c['label'],{'key':_0x56f90c,'inverse':_0x2924ea+_0x56f90c===_0x351b8c['selected']})),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x5876ed(0x147),{'dimColor':!0x0}));}const ie=_0x2472a2(0x14e);function fe({controller:_0x33d20f,ascii:_0x1f4240=!0x1,dimensions:_0x3b032a,terminal:_0x353948,feedback:_0x1fd731}){const _0x4e7a35=_0x2472a2,_0x4bb5e2=_0x191c6b(_0x33d20f[_0x4e7a35(0x10c)],_0x33d20f[_0x4e7a35(0x16a)]),_0x5a3a5d=_0x4bb5e2[_0x4e7a35(0xf6)]??_0x4bb5e2[_0x4e7a35(0x17c)],_0x1eaee6=_0x1fbba3(),_0xd887f9=_0x3b032a??_0x1eaee6,_0x3c6efc=_0xd887f9[_0x4e7a35(0xf9)],_0x1dbd3d=Math['max'](0x8,_0xd887f9[_0x4e7a35(0xb1)]-0x1),_0x314bf7=_0x3c6efc<0x64,{exit:_0x1d4a5b}=_0x5385b0();if(_0x286b76(()=>(_0x33d20f[_0x4e7a35(0xbd)]=_0x353948,_0x33d20f['refresh']()[_0x4e7a35(0x11d)](()=>{const _0x3dc8fc=_0x4e7a35;_0x1fd731&&_0x33d20f[_0x3dc8fc(0x108)](_0x1fd731);}),()=>_0x33d20f[_0x4e7a35(0x130)]()),[_0x33d20f,_0x353948,_0x1fd731]),_0x286b76(()=>{const _0x2241e6=setInterval(()=>{const _0x2b032e=_0x4842;_0x33d20f[_0x2b032e(0x185)]();},0x1388);return()=>clearInterval(_0x2241e6);},[_0x33d20f]),_0x175122((_0x13a00a,_0x16b116)=>{const _0x973520=_0x4e7a35;if(_0x16b116[_0x973520(0x121)]&&_0x13a00a==='c'){_0x33d20f[_0x973520(0x130)](),_0x1d4a5b();return;}if(_0x4bb5e2[_0x973520(0x166)]){_0x16b116[_0x973520(0xab)]&&_0x33d20f[_0x973520(0x108)]({'privateKeyView':null});return;}if(_0x3c6efc<0x28||_0xd887f9[_0x973520(0xb1)]<0x14){_0x4bb5e2['receive']?_0x16b116[_0x973520(0xab)]&&_0x33d20f['update']({'receive':null}):_0x13a00a==='q'&&(_0x33d20f[_0x973520(0x130)](),_0x1d4a5b());return;}if(_0x4bb5e2[_0x973520(0xad)]){_0x16b116[_0x973520(0xab)]?_0x33d20f[_0x973520(0xe3)](!0x1):_0x16b116[_0x973520(0xd1)]||_0x16b116['leftArrow']||_0x16b116[_0x973520(0xe4)]?_0x33d20f[_0x973520(0x108)]({'confirm':{..._0x4bb5e2[_0x973520(0xad)],'accepted':!_0x4bb5e2[_0x973520(0xad)][_0x973520(0x9f)]}}):_0x16b116['return']?_0x33d20f[_0x973520(0xe3)](_0x4bb5e2[_0x973520(0xad)][_0x973520(0x9f)]):_0x13a00a==='i'?_0x33d20f[_0x973520(0x108)]({'confirm':{..._0x4bb5e2[_0x973520(0xad)],'expanded':!_0x4bb5e2[_0x973520(0xad)][_0x973520(0x188)]},'scroll':0x0}):(_0x16b116[_0x973520(0x102)]||_0x16b116[_0x973520(0xa3)])&&_0x33d20f['update']({'scroll':Math['max'](0x0,_0x4bb5e2[_0x973520(0xb8)]+(_0x16b116[_0x973520(0x102)]?0x5:-0x5))});return;}if(_0x4bb5e2[_0x973520(0xfd)]){_0x16b116[_0x973520(0xab)]?_0x33d20f[_0x973520(0x13a)]():(_0x16b116[_0x973520(0x141)]||_0x16b116['downArrow'])&&_0x4bb5e2[_0x973520(0xfd)][_0x973520(0x107)]?_0x33d20f['cyclePaymentCoin'](_0x16b116[_0x973520(0x141)]):_0x16b116[_0x973520(0xd1)]&&_0x33d20f['nextField'](_0x16b116['shift']);return;}if(_0x4bb5e2['receive']){_0x16b116['escape']&&_0x33d20f[_0x973520(0x108)]({'receive':null}),_0x13a00a==='s'&&_0x33d20f[_0x973520(0x116)]();return;}if(_0x4bb5e2['menu']){_0x16b116[_0x973520(0xab)]?_0x33d20f[_0x973520(0x122)]():_0x16b116['downArrow']||_0x16b116[_0x973520(0x141)]?_0x33d20f[_0x973520(0x108)]({'menu':{..._0x4bb5e2[_0x973520(0xfe)],'selected':Math[_0x973520(0xa2)](0x0,Math['min'](_0x4bb5e2[_0x973520(0xfe)][_0x973520(0x139)][_0x973520(0xb0)]-0x1,_0x4bb5e2[_0x973520(0xfe)][_0x973520(0x18e)]+(_0x16b116['downArrow']?0x1:-0x1)))}}):_0x16b116[_0x973520(0x170)]&&_0x33d20f[_0x973520(0xfa)]();return;}if(_0x13a00a==='q'&&!_0x4bb5e2[_0x973520(0x99)]){_0x33d20f[_0x973520(0x130)](),_0x1d4a5b();return;}if(!_0x4bb5e2['busy']){if(_0x13a00a==='e'&&_0x5a3a5d){_0x33d20f[_0x973520(0x113)]();return;}if(_0x973520(0xaa)['includes'](_0x13a00a)&&_0x13a00a[_0x973520(0xb0)]===0x1){_0x33d20f['navigate'](_0x69ff83[Number(_0x13a00a)-0x1]);return;}if(_0x13a00a==='?'){_0x33d20f[_0x973520(0x108)]({'help':!_0x4bb5e2[_0x973520(0x175)],'scroll':0x0});return;}if(_0x16b116[_0x973520(0xab)]){_0x33d20f[_0x973520(0x108)]({'focus':_0x973520(0x155),'help':!0x1,'scroll':0x0,'error':null,'refreshError':null,'notice':null});return;}if(_0x13a00a==='n'){_0x4bb5e2[_0x973520(0x138)]===_0x973520(0xf3)?_0x33d20f[_0x973520(0x11c)](!0x1):_0x33d20f[_0x973520(0xdc)]();return;}if(_0x13a00a==='r'){_0x33d20f[_0x973520(0x179)]();return;}if(_0x16b116['pageDown']||_0x16b116[_0x973520(0xa3)]||_0x4bb5e2[_0x973520(0x10b)]===_0x973520(0x127)&&(_0x16b116[_0x973520(0x9b)]||_0x16b116[_0x973520(0x141)])){_0x33d20f[_0x973520(0x108)]({'scroll':Math[_0x973520(0xa2)](0x0,_0x4bb5e2[_0x973520(0xb8)]+(_0x16b116[_0x973520(0x102)]?0x5:_0x16b116[_0x973520(0xa3)]?-0x5:_0x16b116[_0x973520(0x9b)]?0x1:-0x1))});return;}if(_0x4bb5e2['view']===_0x973520(0xf3)){(_0x16b116[_0x973520(0x9b)]||_0x16b116[_0x973520(0x141)])&&_0x33d20f['move'](_0x16b116[_0x973520(0x9b)]?0x1:-0x1),(_0x16b116[_0x973520(0x170)]||_0x16b116[_0x973520(0xd1)])&&_0x33d20f['update']({'focus':_0x4bb5e2[_0x973520(0x10b)]===_0x973520(0x155)?_0x973520(0x127):'list','scroll':0x0}),_0x13a00a==='u'&&_0x33d20f[_0x973520(0x152)](),_0x13a00a==='m'&&_0x33d20f['walletMenu'](),_0x13a00a==='g'&&_0x33d20f['walletManagement'](),_0x13a00a==='i'&&_0x33d20f[_0x973520(0x120)](),_0x13a00a==='d'&&_0x33d20f[_0x973520(0x17d)](),_0x13a00a==='b'&&_0x33d20f[_0x973520(0x16e)](),_0x13a00a==='p'&&_0x33d20f[_0x973520(0x17f)]();return;}if(_0x16b116['downArrow']||_0x16b116['upArrow']){_0x33d20f['move'](_0x16b116[_0x973520(0x9b)]?0x1:-0x1);return;}if(_0x16b116['return']||_0x16b116[_0x973520(0xd1)]){_0x33d20f[_0x973520(0x108)]({'focus':_0x4bb5e2['focus']===_0x973520(0x155)?'detail':_0x973520(0x155),'scroll':0x0});return;}if(_0x4bb5e2['view']==='workers'){_0x13a00a==='/'&&_0x33d20f[_0x973520(0xb2)](),_0x13a00a==='a'&&_0x33d20f[_0x973520(0xb3)](),_0x13a00a==='m'&&_0x33d20f[_0x973520(0xa9)](),_0x13a00a==='l'&&_0x33d20f[_0x973520(0xb6)](['logs']),_0x13a00a==='g'&&_0x33d20f[_0x973520(0xb6)]([_0x973520(0xc0)]);return;}_0x13a00a==='/'&&_0x33d20f[_0x973520(0xb2)](),_0x13a00a==='f'&&_0x4bb5e2[_0x973520(0x138)]===_0x973520(0x119)&&_0x33d20f[_0x973520(0x161)](),(_0x13a00a==='['||_0x13a00a===']')&&_0x33d20f[_0x973520(0xa1)](_0x13a00a==='['?-0x1:0x1),_0x13a00a==='d'&&_0x33d20f[_0x973520(0xaf)](),_0x13a00a==='s'&&_0x33d20f[_0x973520(0xca)](),_0x13a00a==='c'&&_0x33d20f['continueTask'](),_0x13a00a==='o'&&_0x33d20f[_0x973520(0x15b)](),_0x13a00a==='x'&&_0x33d20f[_0x973520(0x11a)](),_0x13a00a==='m'&&_0x33d20f[_0x973520(0x100)](),_0x13a00a==='l'&&_0x33d20f[_0x973520(0x13b)]();}}),_0x3c6efc<0x28||_0xd887f9['rows']<0x14)return _0x34d91a(_0x4b98db,{'width':_0x3c6efc,'flexDirection':_0x4e7a35(0x9a)},n(_0x4e7a35(0xbb),{'color':'cyan'}),n('Resize\x20to\x20at\x20least\x2040\x20columns\x20and\x2020\x20rows.'),n(_0x4bb5e2[_0x4e7a35(0x182)]||_0x4bb5e2[_0x4e7a35(0x166)]?'Esc\x20back':'q\x20quit\x20\xB7\x20commands\x20remain\x20available\x20with\x20--help'));if(_0x4bb5e2[_0x4e7a35(0x166)])return _0x34d91a(b,{'title':_0x4e7a35(0xa8),'width':_0x3c6efc,'height':_0x1dbd3d,'ascii':_0x1f4240,'active':!0x0},n(_0x4e7a35(0xbf)+_0x4bb5e2[_0x4e7a35(0x166)]['address']),n(_0x4e7a35(0x151),{'color':_0x4e7a35(0xd9)}),_0x34d91a(_0x4b98db,{'marginTop':0x1},n(_0x4bb5e2[_0x4e7a35(0x166)][_0x4e7a35(0x183)])),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x4e7a35(0x178),{'color':_0x4e7a35(0x135)}));if(_0x4bb5e2['receive']&&!_0x4bb5e2[_0x4e7a35(0xfd)]){const _0x154ab3=_0x4bb5e2['receive'],_0x22bdf8=_0x154ab3['qr'][_0x4e7a35(0xe7)]('\x0a'),_0x2b00fb=_0x22bdf8[_0x4e7a35(0xb0)]+_0x52144f(_0x154ab3[_0x4e7a35(0xd8)],_0x3c6efc)[_0x4e7a35(0xb0)]+_0x52144f('Choose\x20'+_0x154ab3[_0x4e7a35(0xcf)]+_0x4e7a35(0x148),_0x3c6efc)[_0x4e7a35(0xb0)]+0x3,_0x168529=_0x3c6efc>=_0x22bdf8[0x0][_0x4e7a35(0xb0)]&&_0x1dbd3d>=_0x2b00fb;return _0x34d91a(_0x4b98db,{'width':_0x3c6efc,'height':_0x1dbd3d,'flexDirection':_0x4e7a35(0x9a)},n(_0x4e7a35(0x10a)+_0x154ab3[_0x4e7a35(0xcf)],{'bold':!0x0,'color':_0x4e7a35(0x135)}),n(_0x154ab3[_0x4e7a35(0xd8)]),n(_0x4e7a35(0x149)+_0x154ab3[_0x4e7a35(0xeb)][_0x4e7a35(0xb7)](',\x20')),_0x168529?n(_0x154ab3['qr'],{'color':_0x4e7a35(0xa6),'backgroundColor':_0x4e7a35(0xf1)}):n(_0x4e7a35(0xe0)+Math[_0x4e7a35(0xa2)](0x28,_0x22bdf8[0x0]['length'])+_0x4e7a35(0x171)+(_0x2b00fb+0x1)+_0x4e7a35(0xf2)),n(_0x4e7a35(0x112)+_0x154ab3['chainName']+'\x20in\x20the\x20sending\x20wallet.',{'color':_0x4e7a35(0xd9)}),n(_0x547287(_0x4bb5e2[_0x4e7a35(0xf6)]??_0x4bb5e2[_0x4e7a35(0x15a)]??_0x4e7a35(0xcc),_0x3c6efc),{'color':_0x4bb5e2[_0x4e7a35(0xf6)]?'red':_0x4e7a35(0x135)}));}const _0x57f826=_0x4bb5e2[_0x4e7a35(0xfd)]||_0x4bb5e2['confirm']||_0x4bb5e2[_0x4e7a35(0x16c)],_0x1badce=Math['max'](0x6,_0x1dbd3d-(_0x57f826?0x4:0x7)),_0x11c42c=_0x468bf4(_0x4bb5e2)[_0x4bb5e2[_0x4e7a35(0x18e)]];let _0xae2685;if(_0x4bb5e2[_0x4e7a35(0xfd)])_0xae2685=_0x34d91a(ne,{'controller':_0x33d20f,'state':_0x4bb5e2,'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240});else{if(_0x4bb5e2['confirm'])_0xae2685=_0x34d91a(oe,{'state':_0x4bb5e2,'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240});else{if(_0x4bb5e2[_0x4e7a35(0x16c)])_0xae2685=_0x34d91a(ee,{'event':_0x4bb5e2[_0x4e7a35(0x16c)],'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240});else{if(_0x4bb5e2[_0x4e7a35(0xfe)])_0xae2685=_0x34d91a(re,{'state':_0x4bb5e2,'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240});else{if(_0x4bb5e2['help'])_0xae2685=_0x34d91a(b,{'title':_0x4e7a35(0x9e),'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240,'active':!0x0},_0x34d91a(L,{'content':ie,'width':_0x3c6efc-0x4,'height':_0x1badce-0x4,'offset':_0x4bb5e2[_0x4e7a35(0xb8)]}));else{if(_0x4bb5e2[_0x4e7a35(0x138)]===_0x4e7a35(0xf3))_0xae2685=_0x34d91a(te,{'state':_0x4bb5e2,'width':_0x3c6efc,'height':_0x1badce,'ascii':_0x1f4240,'narrow':_0x314bf7});else{const _0x5cbc61=!_0x314bf7||_0x4bb5e2[_0x4e7a35(0x10b)]==='list',_0x4bed74=!_0x314bf7||_0x4bb5e2['focus']===_0x4e7a35(0x127),_0x2aa1f1=_0x314bf7?_0x3c6efc:Math['floor'](_0x3c6efc*0.43),_0x2425f3=_0x5cbc61&&!_0x314bf7?_0x3c6efc-_0x2aa1f1-0x1:_0x3c6efc,_0x1b3211=_0x5343fe({..._0x4bb5e2,'selectedId':_0x11c42c?.['id']});_0xae2685=_0x34d91a(_0x4b98db,{'height':_0x1badce,'width':_0x3c6efc,'gap':0x1},_0x5cbc61?_0x34d91a(b,{'title':_0x4bb5e2['view']===_0x4e7a35(0x157)?_0x4e7a35(0x172):_0x4bb5e2[_0x4e7a35(0xfc)]+(_0x4bb5e2['query']?_0x4e7a35(0x187)+_0x547287(_0x4bb5e2[_0x4e7a35(0x189)],0x16):''),'width':_0x2aa1f1,'height':_0x1badce,'ascii':_0x1f4240,'active':_0x4bb5e2[_0x4e7a35(0x10b)]===_0x4e7a35(0x155)},_0x34d91a(N,{'state':_0x4bb5e2,'height':_0x1badce,'width':_0x2aa1f1-0x4,'ascii':_0x1f4240})):null,_0x4bed74?_0x34d91a(b,{'title':_0x547287(_0x11c42c?.['id']??'DETAILS',_0x2425f3-0x7),'width':_0x2425f3,'height':_0x1badce,'ascii':_0x1f4240,'active':_0x4bb5e2[_0x4e7a35(0x10b)]==='detail'},_0x4bb5e2[_0x4e7a35(0x138)]==='tasks'||_0x4bb5e2['view']===_0x4e7a35(0x12d)?n([_0x4e7a35(0x173),_0x4e7a35(0x133),_0x4e7a35(0xe5)][_0x4e7a35(0x17e)](_0xc7ddcc=>_0xc7ddcc===_0x4bb5e2[_0x4e7a35(0xd1)]?'['+_0xc7ddcc+']':_0xc7ddcc)[_0x4e7a35(0xb7)]('\x20\x20'),{'color':_0x4e7a35(0x135),'wrap':'truncate-end'}):null,_0x34d91a(L,{'content':_0x1b3211,'width':_0x2425f3-0x4,'height':_0x1badce-0x5,'offset':_0x4bb5e2[_0x4e7a35(0xb8)]}),_0x34d91a(_0x4b98db,{'flexGrow':0x1}),n(_0x4bb5e2['view']==='workers'?_0x11c42c?.[_0x4e7a35(0xb9)]===_0x4e7a35(0x144)?_0x4e7a35(0x13f):_0x4e7a35(0x174):_0x4d924c(_0x11c42c,_0x4bb5e2[_0x4e7a35(0x138)]),{'color':_0x4e7a35(0x135),'wrap':'truncate-end'})):null);}}}}}}const _0x2903f1=_0x11c42c?.[_0x4e7a35(0xb9)]==='network-worker'?_0x4e7a35(0xed):_0x4e7a35(0x180),_0x27dd11=_0x4bb5e2['form']||_0x4bb5e2[_0x4e7a35(0xad)]||_0x4bb5e2[_0x4e7a35(0xfe)]||_0x4bb5e2[_0x4e7a35(0x16c)]?_0x4e7a35(0x143):_0x4bb5e2[_0x4e7a35(0x138)]===_0x4e7a35(0xf3)?_0x4e7a35(0xf7):_0x4bb5e2[_0x4e7a35(0x138)]===_0x4e7a35(0x157)?_0x2903f1:_0x3c6efc<0x4b?_0x4e7a35(0x158):'up/down\x20select\x20\xB7\x20Enter\x20details\x20\xB7\x20n\x20new\x20\xB7\x20/\x20search\x20\xB7\x20f\x20filter\x20\xB7\x20?\x20help\x20\xB7\x20q\x20quit',_0x12eb78=_0x3c6efc<0x4b?_0x69ff83['map']((_0x2feeb6,_0x5ed2dc)=>'['+(_0x5ed2dc+0x1)+']'+[_0x4e7a35(0x14c),_0x4e7a35(0x154),_0x4e7a35(0x18a),_0x4e7a35(0x167)][_0x5ed2dc])[_0x4e7a35(0xb7)]('\x20'):_0x69ff83[_0x4e7a35(0x17e)]((_0x473d9b,_0x450d7f)=>(_0x473d9b===_0x4bb5e2[_0x4e7a35(0x138)]?'>\x20':'\x20\x20')+'['+(_0x450d7f+0x1)+']\x20'+Z[_0x473d9b])['join']('\x20\x20');return _0x34d91a(_0x4b98db,{'width':_0x3c6efc,'height':_0x1dbd3d,'flexDirection':_0x4e7a35(0x9a)},_0x34d91a(_0x4b98db,{'justifyContent':'space-between','height':_0x57f826?0x1:0x2},n(_0x4e7a35(0xff),{'color':_0x4e7a35(0x135),'bold':!0x0}),_0x3c6efc>=0x4b?n(_0x4bb5e2[_0x4e7a35(0xd8)]?_0x547287(_0x4bb5e2[_0x4e7a35(0xd8)],0x14):'Wallet\x20not\x20configured',{'dimColor':!0x0}):null),_0x57f826?null:n(_0x12eb78,{'color':_0x4e7a35(0x135),'wrap':_0x4e7a35(0x150)}),_0x57f826?null:_0x4bb5e2[_0x4e7a35(0x99)]||_0x4bb5e2[_0x4e7a35(0xbe)]?_0x34d91a(W,{'label':_0x4bb5e2[_0x4e7a35(0x99)]??_0x4e7a35(0x124)}):n(_0x4bb5e2['note'],{'dimColor':!0x0,'wrap':_0x4e7a35(0x150)}),_0xae2685,n(_0x547287(_0x5a3a5d??_0x4bb5e2[_0x4e7a35(0x15a)]??'',_0x3c6efc),{'color':_0x5a3a5d?_0x4e7a35(0x10d):_0x4e7a35(0x12c)}),n(_0x27dd11,{'dimColor':!0x0,'wrap':_0x4e7a35(0x150)}),_0x57f826?null:n(_0x5a3a5d?_0x4e7a35(0xa4):_0x4e7a35(0xd3),{'dimColor':!0x0,'wrap':'truncate-end'}));}export{fe as DashboardApp};
|
|
1
|
+
const _0x2ca9a5=_0x1420;import{createElement as _0x132ce6,useEffect as _0xe46d99,useState as _0x293832,useSyncExternalStore as _0x45396d}from'react';import{Box as _0x3f5488,Text as _0x1508c5,useApp as _0x90509d,useInput as _0x20ed3b,useWindowSize as _0x5c64d7}from'ink';import _0x73ad69 from'ink-text-input';function _0xa991(){const _0x1af103=['changeTab','includes','hidden','WORKERS','Not\x20deployed','network','\x20·\x20Tab\x20switch\x20field\x20·\x20Esc\x20cancel','Support\x20is\x20sent\x20first;\x20no\x20refund\x20if\x20admission\x20fails.\x20Task\x20completion\x20is\x20not\x20guaranteed.','doctor','workers','Refreshing\x20tasks...','deliverables','tab','\x20(includes\x20gas)','WALLET\x20DETAILS\x20·\x20selected\x20wallet','Saved\x20on\x20this\x20computer\x20for\x20future\x20tasks.','\x20IMD','support','workerMenu','column','Up/down\x20select\x20·\x20Enter\x20open\x20·\x20Esc\x20back','PgUp/PgDn\x20scroll','Resize\x20to\x20at\x20least\x2040\x20columns\x20and\x2020\x20rows.','converted','total','[r]\x20Refresh','title','Quote\x20expires:\x20\x20\x20\x20\x20','gray','payWith','Review\x20saved\x20payment','pageDown','configured','max','then','Asset:\x20','Work','values','Esc\x20hide\x20and\x20return','view','white','field','Confirm','space-between','Admission\x20payment\x20only.\x20Completion\x20is\x20not\x20guaranteed.','leftArrow','walletManagement','showError','[n]\x20New\x20wallet\x20\x20[i]\x20Import\x20wallet','focus','search','download','expiresAt','funding','cancelRequest','PAYMENT\x20DETAILS','PgUp/PgDn\x20scroll\x20·\x20Esc\x20back','ctrl','Convert\x20&\x20publish','help','\x20+\x20support\x20','[m]\x20Actions','rows','chooseMenu','secret','pageUp','Wallets','refreshing','menu','l\x20retry\x20history','networkFeeCap','Mine','fields','label','saveReceiveQr','cancelled','********','Total\x20','form','\x20·\x20i\x20details','Maximum\x20debit:\x20','slice','Overview','modelProgress','yellow','busy','Deployed\x20·\x20status\x20on\x20selection','\x20wallets','list','payment_failed','Browse','\x20in\x20the\x20sending\x20wallet.','Wallet:\x20','confirm','Choose\x20','Private\x20key','wallet','min','stringify','length','[e]\x20Error\x20details','scroll','terminal','columns','return','Pay\x20with:\x20','Cancel\x20/\x20edit','Activity','estimatedAmount','Workers','Could\x20not\x20load\x20items.\x20Press\x20r\x20to\x20retry.','selected','refreshError','Esc\x20back','explore','paymentCoins','privateKeyView','\x20ETH','update','dismissForm','DETAILS','IMD','installed','Esc/Tab\x20list','\x20/\x20','truncate-end','useSelectedWallet','maximumDebit','Keyboard\x20shortcuts','Help\x20us\x20make\x20Colony\x20better.','REQUEST','state','close','files','expired','join','Estimated\x20payment:\x20','minimumImd','cyan','amount','kind','note','Network:\x20','setField','addTarget','[l]\x20Logs','upArrow','\x20entries\x20·\x20Mine\x20+\x20Network','COLONY','\x20+\x20ETH\x20gas','[f]\x20Filter','Enter\x20','[>]','Preparing\x20local\x20LLM','Explore','accepted','[/]\x20Search','red','COLONY\x20\x20get\x20things\x20done.','continueTask','notice','subscribe','Optional\x20support:\x20','row','challenged','\x20tasks','autoRefresh','logs','expanded','items','Files','Coins:\x20','[\x20]\x20tabs','No\x20matching\x20items.','refresh','Included\x20gas\x20cap:\x20','getSnapshot','en-US','[a]\x20Add\x20target','shift','\x20rows,\x20or\x20press\x20s\x20to\x20save\x20the\x20QR.','chainName','Conversion\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','\x20columns\x20and\x20','tasks','ETH','downArrow','Loading...','lines','Wallet\x20not\x20configured','Loading\x20history...','Continue\x20&\x20publish','navigate','floor','1234','prepared','receive','map','walletReceive','cursor','Order:\x20','managed-worker','privateKey','blocked','single','resumeOrder','[n]\x20New\x20task','objective','Mine\x20·\x20','move','error','Convert\x20at\x20most:\x20','walletImport','WORKSPACES\x0a1\x20My\x20tasks\x20·\x202\x20Explore\x20·\x203\x20Workers\x20·\x204\x20Wallet\x0a\x0aTASKS\x0an\x20New\x20task\x20·\x20/\x20Search\x20·\x20f\x20Filter\x20·\x20r\x20Refresh\x0aup/down\x20Select\x20·\x20Enter\x20Details\x20·\x20Esc\x20Back\x0aTab\x20List/details\x20·\x20[\x20/\x20]\x20Detail\x20tab\x0aPgUp/PgDn\x20Scroll\x20details\x20·\x20l\x20More\x20public\x20tasks\x0ad\x20Result\x20files\x20·\x20s\x20Save\x20files\x20·\x20c\x20Request\x20changes\x0ao\x20Review/pay\x20or\x20resume\x20a\x20saved\x20order\x0ax\x20Cancel\x20an\x20unsigned\x20request\x20·\x20m\x20Task\x20actions\x0aCancelled\x20requests:\x20m\x20>\x20Delete\x20local\x20record\x0aSigned\x20payments\x20and\x20published\x20tasks\x20cannot\x20be\x20cancelled\x20through\x20the\x20public\x20API.\x0a\x0aWORKERS\x0aa\x20Add\x20target\x20·\x20m\x20Actions\x20·\x20l\x20Logs\x20·\x20g\x20Diagnostics\x0a\x0aWALLET\x0an\x20Create\x20wallet\x20·\x20i\x20Import\x20wallet\x0ad\x20Receive\x20/\x20QR\x20·\x20b\x20Encrypted\x20backup\x0am\x20Selected\x20wallet\x20actions\x20·\x20g\x20Management\x20·\x20p\x20Network\x0ar\x20Refresh\x20balances\x0a\x0aq\x20Quit\x20·\x20Ctrl+C\x20Cancel\x20and\x20exit\x0aTerminal\x20is\x20restored\x20when\x20you\x20exit.','SERVER\x20PREPARED\x20INPUT','next','Pay\x20','Review\x20the\x20official\x20fee\x20before\x20paying.','Support\x20recipient:\x20','cancelLabel','address','Enter/Tab\x20details','walletNetworkMenu','push','Support\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','green','coin','My\x20tasks','escape','nextField','create','filter','taskMenu','name','detail','submit','Receive\x20on\x20','IMD\x20for\x20this\x20task:\x20','Pay\x20to:\x20','End\x20of\x20history','respond','network-worker','submitForm','Read\x20only','split','[g]\x20Manage\x20wallets\x20\x20[p]\x20Network','walletMenu','Extra\x20gas\x20cap:\x20','cycleFilter','[?]\x20Help\x20\x20[q]\x20Quit','acceptLabel','WALLETS','coins','startsWith','subtitle'];_0xa991=function(){return _0x1af103;};return _0xa991();}import _0x29602a from'string-width';import{visibleItems as _0x976597,VIEWS as _0x2d0915}from'./controller.mjs';import{clean as _0x1ef884,detailText as _0x82a45b,lines as _0x3e7cca,short as _0x41e566,statusLabel as _0x34090,taskActions as _0x57395f}from'./presentation.mjs';import{modelProgressLines as _0x4d7ba2}from'../planner/progress.mjs';const ie={'topLeft':'+','top':'-','topRight':'+','right':'|','bottomRight':'+','bottom':'-','bottomLeft':'+','left':'|'},se={'tasks':_0x2ca9a5(0x279),'explore':_0x2ca9a5(0x230),'workers':_0x2ca9a5(0x203),'wallet':_0x2ca9a5(0x1d8)},ae=_0x3e0b31=>_0x3e0b31===_0x2ca9a5(0x1e1)?_0x2ca9a5(0x1b2):_0x3e0b31==='completed'?_0x2ca9a5(0x277):[_0x2ca9a5(0x23a),_0x2ca9a5(0x261),'refused',_0x2ca9a5(0x1ef),_0x2ca9a5(0x21c)][_0x2ca9a5(0x197)](_0x3e0b31)?'yellow':_0x2ca9a5(0x220),n=(_0x1f106c,_0x2d034a={})=>_0x132ce6(_0x1508c5,_0x2d034a,_0x1ef884(_0x1f106c));function U({label:_0xbb9816}){const _0x2090c4=_0x2ca9a5,[_0x249af0,_0x5aa356]=_0x293832(0x0);return _0xe46d99(()=>{const _0x20743d=setInterval(()=>_0x5aa356(_0x573859=>(_0x573859+0x1)%0x4),0x96);return()=>clearInterval(_0x20743d);},[]),n(['|','/','-','\x5c'][_0x249af0]+'\x20'+_0xbb9816,{'color':_0x2090c4(0x220),'wrap':_0x2090c4(0x213)});}function E({title:_0x2998ce,width:_0x10064f,height:_0x316dda,ascii:_0x2d1589,active:_0x422f46,children:_0x320872}){const _0x35980f=_0x2ca9a5;return _0x132ce6(_0x3f5488,{'width':_0x10064f,'height':_0x316dda,'flexDirection':_0x35980f(0x1a9),'borderStyle':_0x2d1589?ie:_0x35980f(0x262),'borderColor':_0x422f46?_0x35980f(0x220):_0x35980f(0x1b2),'paddingX':0x1,'flexShrink':0x0,'overflow':_0x35980f(0x198)},n(_0x2998ce,{'color':_0x422f46?_0x35980f(0x220):void 0x0,'dimColor':!_0x422f46}),_0x320872);}function _0x1420(_0x45a543,_0xa991e2){_0x45a543=_0x45a543-0x196;const _0x142062=_0xa991();let _0x2e83e2=_0x142062[_0x45a543];return _0x2e83e2;}function R(_0x42568f,_0x73ad34){const _0x2d24b5=_0x2ca9a5,_0x43f135=[];for(const _0x1ef616 of _0x42568f){const _0x58cb2e=_0x43f135['length']-0x1;_0x58cb2e>=0x0&&_0x29602a(_0x43f135[_0x58cb2e]+'\x20\x20'+_0x1ef616)<=_0x73ad34?_0x43f135[_0x58cb2e]+='\x20\x20'+_0x1ef616:_0x43f135[_0x2d24b5(0x275)](_0x1ef616);}return _0x43f135;}function q({rows:_0x98d747,width:_0x32a784,ascii:_0x418134}){const _0x58e5d2=_0x2ca9a5;return _0x98d747[_0x58e5d2(0x1f9)]?_0x132ce6(_0x3f5488,{'flexDirection':_0x58e5d2(0x1a9),'flexShrink':0x0},n((_0x418134?'-':'\u2500')['repeat'](_0x32a784),{'dimColor':!0x0}),..._0x98d747[_0x58e5d2(0x25b)]((_0x46ff39,_0x30831d)=>n(_0x46ff39,{'key':_0x30831d,'color':_0x58e5d2(0x220),'bold':!0x0}))):null;}function le({event:_0x4d3073,width:_0x278c49,height:_0x226047,ascii:_0x234f44}){const _0x1f7244=_0x2ca9a5,_0x498158=_0x4d7ba2(_0x4d3073,{'width':_0x278c49-0x4})[_0x1f7244(0x1e7)](0x2);return _0x132ce6(E,{'title':_0x1f7244(0x22f),'width':_0x278c49,'height':_0x226047,'ascii':_0x234f44,'active':!0x0},_0x132ce6(_0x3f5488,{'flexDirection':_0x1f7244(0x1a9),'marginTop':0x1},..._0x498158[_0x1f7244(0x25b)]((_0x1063f8,_0x359f96)=>_0x1063f8[_0x1f7244(0x293)](_0x1f7244(0x22e))?_0x132ce6(U,{'key':_0x359f96,'label':_0x1063f8[_0x1f7244(0x1e7)](0x4)}):n(_0x1063f8||'\x20',{'key':_0x359f96,'color':_0x1063f8['startsWith']('[+]')?'green':_0x1f7244(0x220)}))),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x1f7244(0x1a5),{'dimColor':!0x0,'wrap':'truncate-end'}));}function P({content:_0x5cbc88,width:_0x4e804e,height:_0x20025f,offset:_0x1c91fd}){const _0x579009=_0x2ca9a5,_0x4837da=_0x3e7cca(_0x5cbc88,_0x4e804e),_0x1b6d16=Math[_0x579009(0x1f7)](_0x1c91fd,Math['max'](0x0,_0x4837da[_0x579009(0x1f9)]-_0x20025f));return _0x132ce6(_0x3f5488,{'flexDirection':_0x579009(0x1a9),'height':_0x20025f,'overflow':'hidden'},..._0x4837da[_0x579009(0x1e7)](_0x1b6d16,_0x1b6d16+_0x20025f)[_0x579009(0x25b)]((_0x342b44,_0xcaf953)=>n(_0x342b44||'\x20',{'key':_0xcaf953})));}function G({state:_0x27bf19,height:_0x5c319e,width:_0x431596,ascii:_0x14637f}){const _0x182cfa=_0x2ca9a5,_0xeb5b2b=_0x976597(_0x27bf19),_0xd9c469=_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x208),_0x43b29b=_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x24e)?[_0x182cfa(0x264),_0x182cfa(0x232),_0x182cfa(0x22c),_0x182cfa(0x1af)]:_0xd9c469?[_0x182cfa(0x264),_0x182cfa(0x232),_0x182cfa(0x1af)]:_0x27bf19['view']===_0x182cfa(0x19f)?[_0x182cfa(0x248),_0x182cfa(0x232),_0x182cfa(0x1af)]:[];_0x27bf19[_0x182cfa(0x1bd)]!=='wallet'&&(_0x27bf19[_0x182cfa(0x268)]||_0x27bf19[_0x182cfa(0x206)])&&_0x43b29b['push'](_0x182cfa(0x1fa));const _0x209f24=R(_0x43b29b,_0x431596),_0x46db56=_0xd9c469?_0x27bf19['total']:_0xeb5b2b[_0x182cfa(0x1f9)],_0x1ebe03=_0xd9c469?_0x46db56===null?_0xeb5b2b['length']+'\x20results\x20loaded':_0x46db56['toLocaleString']('en-US')+(_0x46db56===0x1?'\x20task':_0x182cfa(0x23b)):_0xeb5b2b[_0x182cfa(0x1f9)]+(_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x1f6)?_0x182cfa(0x1ed):_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x19f)?_0x182cfa(0x229):'\x20items\x20\xB7\x20'+_0x27bf19[_0x182cfa(0x27d)]),_0x4c8986=_0x46db56===null?'Item\x20'+(_0x27bf19[_0x182cfa(0x205)]+0x1):_0x27bf19[_0x182cfa(0x205)]+0x1+'/'+_0x46db56['toLocaleString'](_0x182cfa(0x247)),_0x9c1d28=_0xd9c469&&_0x27bf19[_0x182cfa(0x205)]===_0xeb5b2b[_0x182cfa(0x1f9)]-0x1;let _0x33fcd5='up/down';_0x9c1d28&&(_0x27bf19[_0x182cfa(0x1eb)]?_0x33fcd5=_0x182cfa(0x254):_0x27bf19[_0x182cfa(0x268)]&&_0x27bf19[_0x182cfa(0x25d)]?_0x33fcd5=_0x182cfa(0x1db):_0x33fcd5=_0x27bf19[_0x182cfa(0x25d)]?'down\x20loads\x20more':_0x182cfa(0x285));const _0x3c182a=_0xeb5b2b[_0x182cfa(0x1f9)]?R([_0x4c8986,_0x33fcd5,_0x182cfa(0x273)],_0x431596):[],_0x3af5fa=_0x209f24['length']?_0x209f24['length']+0x1:0x0,_0xb10aa7=Math[_0x182cfa(0x1b7)](0x1,Math[_0x182cfa(0x257)]((_0x5c319e-0x4-_0x3c182a[_0x182cfa(0x1f9)]-_0x3af5fa)/0x3)),_0x3fb9fe=Math[_0x182cfa(0x1b7)](0x0,Math[_0x182cfa(0x1f7)](_0x27bf19[_0x182cfa(0x205)]-Math['floor'](_0xb10aa7/0x2),_0xeb5b2b[_0x182cfa(0x1f9)]-_0xb10aa7));return _0x132ce6(_0x3f5488,{'flexDirection':_0x182cfa(0x1a9),'flexGrow':0x1},n(_0x1ebe03,{'dimColor':!0x0}),..._0xeb5b2b[_0x182cfa(0x1e7)](_0x3fb9fe,_0x3fb9fe+_0xb10aa7)[_0x182cfa(0x25b)]((_0x3ef571,_0x5ce1f6)=>_0x132ce6(_0x3f5488,{'key':_0x3ef571['id'],'flexDirection':_0x182cfa(0x1a9)},n((_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6?'>\x20':'\x20\x20')+_0x41e566((_0x3ef571[_0x182cfa(0x222)]===_0x182cfa(0x25f)?_0x182cfa(0x266):'')+_0x3ef571[_0x182cfa(0x1b0)],_0x431596-0x2),{'inverse':_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6,'bold':_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6}),n('\x20\x20'+_0x41e566(_0x3ef571[_0x182cfa(0x294)]??_0x34090(_0x3ef571[_0x182cfa(0x219)])??(_0x3ef571[_0x182cfa(0x210)]?_0x182cfa(0x1ec):_0x182cfa(0x19a)),_0x431596-0x2),{'color':ae(_0x3ef571['state'])}),n((_0x14637f?'-':'\u2500')['repeat'](_0x431596),{'dimColor':!0x0}))),_0xeb5b2b[_0x182cfa(0x1f9)]===0x0?n(_0x27bf19['busy']?'Loading...':_0x27bf19[_0x182cfa(0x268)]?_0x182cfa(0x204):_0x27bf19['view']==='wallet'?'No\x20wallets\x20yet.\x20Press\x20n\x20to\x20create\x20or\x20i\x20to\x20import.':_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x24e)?'No\x20tasks\x20yet.\x20Press\x20n\x20to\x20create\x20one.':_0x182cfa(0x243),{'dimColor':!0x0}):null,_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x3c182a[_0x182cfa(0x25b)]((_0x218f39,_0x31bae9)=>n(_0x218f39,{'key':_0x31bae9,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x209f24,'width':_0x431596,'ascii':_0x14637f}));}function ce({state:_0x375369,width:_0x2a89dd,height:_0x5db4ea,ascii:_0x232ac0,narrow:_0x43628d}){const _0x16c2fd=_0x2ca9a5,_0x49096f=_0x43628d?_0x2a89dd:Math[_0x16c2fd(0x257)](_0x2a89dd*0.43),_0x1b4781=_0x43628d?_0x2a89dd:_0x2a89dd-_0x49096f-0x1,_0xb8d429=0x5,_0x23a98f=_0x5db4ea-_0xb8d429,_0x3c5dcc=_0x375369[_0x16c2fd(0x280)]?.[_0x16c2fd(0x1b6)]?[_0x16c2fd(0x1d3),_0x16c2fd(0x1af)]:[_0x16c2fd(0x1af)];(_0x375369['error']||_0x375369['refreshError'])&&_0x3c5dcc[_0x16c2fd(0x275)](_0x16c2fd(0x1fa));const _0x5e6723=R(_0x3c5dcc,_0x1b4781-0x4),_0x1a32ca=R([_0x16c2fd(0x211),_0x16c2fd(0x1ab)],_0x1b4781-0x4),_0x28c242=_0x132ce6(E,{'title':_0x16c2fd(0x291),'width':_0x49096f,'height':_0x43628d?_0x23a98f:_0x5db4ea,'ascii':_0x232ac0,'active':_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x1ee)},_0x132ce6(G,{'state':_0x375369,'height':_0x43628d?_0x23a98f:_0x5db4ea,'width':_0x49096f-0x4,'ascii':_0x232ac0})),_0x598352=_0x132ce6(E,{'title':_0x16c2fd(0x1a4),'width':_0x1b4781,'height':_0x23a98f,'ascii':_0x232ac0,'active':_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x280)},_0x132ce6(P,{'content':_0x82a45b(_0x375369),'width':_0x1b4781-0x4,'height':_0x23a98f-0x4-_0x1a32ca[_0x16c2fd(0x1f9)]-_0x5e6723['length'],'offset':_0x375369[_0x16c2fd(0x1fb)]}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x1a32ca[_0x16c2fd(0x25b)]((_0x3f39e5,_0xd54691)=>n(_0x3f39e5,{'key':_0xd54691,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x5e6723,'width':_0x1b4781-0x4,'ascii':_0x232ac0})),_0x320902=_0x132ce6(E,{'title':'WALLET\x20MANAGEMENT\x20\xB7\x20'+(_0x375369[_0x16c2fd(0x280)]?.[_0x16c2fd(0x24b)]??_0x16c2fd(0x251)),'width':_0x1b4781,'height':_0xb8d429,'ascii':_0x232ac0,'active':!0x1},n(_0x16c2fd(0x1c6)),n(_0x16c2fd(0x28b)));return _0x43628d?_0x132ce6(_0x3f5488,{'flexDirection':_0x16c2fd(0x1a9),'width':_0x2a89dd,'height':_0x5db4ea},_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x1ee)?_0x28c242:_0x598352,_0x320902):_0x132ce6(_0x3f5488,{'width':_0x2a89dd,'height':_0x5db4ea,'gap':0x1},_0x28c242,_0x132ce6(_0x3f5488,{'width':_0x1b4781,'flexDirection':_0x16c2fd(0x1a9)},_0x598352,_0x320902));}function de({controller:_0x1eeabd,state:_0x3057b7,width:_0x12ab3e,height:_0x479d56,ascii:_0x3c769d}){const _0x1f7272=_0x2ca9a5,_0x29c92b=_0x3057b7[_0x1f7272(0x1e4)],_0x4c371c=_0x29c92b[_0x1f7272(0x1de)][_0x29c92b['field']],_0x125276=_0x29c92b[_0x1f7272(0x1de)]['slice'](0x0,_0x29c92b[_0x1f7272(0x1bf)])['map'](_0x103c06=>_0x103c06['label']+':\x20'+(_0x103c06['secret']?_0x1f7272(0x1e2):_0x29c92b[_0x1f7272(0x1bb)][_0x103c06[_0x1f7272(0x27f)]]));return _0x132ce6(E,{'title':_0x29c92b[_0x1f7272(0x1b0)],'width':_0x12ab3e,'height':_0x479d56,'ascii':_0x3c769d,'active':!0x0},_0x132ce6(_0x3f5488,{'marginTop':0x1,'flexDirection':_0x1f7272(0x1a9)},_0x29c92b['paymentCoins']?n(_0x1f7272(0x1ff)+_0x29c92b['paymentCoins'][_0x1f7272(0x25b)](_0x2f42b3=>_0x2f42b3===_0x29c92b[_0x1f7272(0x1b3)]?'['+_0x2f42b3+']':_0x2f42b3)['join']('\x20')+'\x20\xB7\x20up/down\x20change',{'color':_0x1f7272(0x220)}):null,..._0x125276[_0x1f7272(0x25b)]((_0x20fc47,_0x290b0d)=>n(_0x41e566(_0x20fc47,_0x12ab3e-0x6),{'key':_0x290b0d,'dimColor':!0x0})),n(_0x4c371c[_0x1f7272(0x1df)],{'bold':!0x0}),_0x132ce6(_0x3f5488,{'marginTop':0x1,'minHeight':0x2,'maxHeight':Math['max'](0x2,_0x479d56-0x9),'overflow':_0x1f7272(0x198)},n('>\x20',{'color':_0x1f7272(0x220)}),_0x132ce6(_0x73ad69,{'key':_0x4c371c[_0x1f7272(0x27f)],'value':_0x29c92b['values'][_0x4c371c[_0x1f7272(0x27f)]],'placeholder':_0x4c371c['placeholder']??'','mask':_0x4c371c[_0x1f7272(0x1d6)]?'*':void 0x0,'onChange':_0x7bfb46=>_0x1eeabd[_0x1f7272(0x225)](_0x7bfb46),'onSubmit':()=>_0x29c92b[_0x1f7272(0x1bf)]===_0x29c92b['fields'][_0x1f7272(0x1f9)]-0x1?void _0x1eeabd[_0x1f7272(0x288)]():_0x1eeabd[_0x1f7272(0x27b)]()})),n(_0x29c92b['error']??'',{'color':_0x1f7272(0x233)}),_0x29c92b[_0x1f7272(0x209)]?n(_0x1f7272(0x26f),{'dimColor':!0x0}):null),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x1f7272(0x22d)+(_0x29c92b[_0x1f7272(0x1bf)]===_0x29c92b['fields'][_0x1f7272(0x1f9)]-0x1?_0x29c92b[_0x1f7272(0x281)]:_0x1f7272(0x26d))+_0x1f7272(0x19c),{'color':_0x1f7272(0x220),'wrap':_0x1f7272(0x213)}));}function ue({state:_0x44f8f4,width:_0x3ea34f,height:_0x365173,ascii:_0x12b1a9}){const _0x13bb22=_0x2ca9a5,_0x481b35=_0x44f8f4['confirm'],_0x55e6fb=_0x481b35['payment'],_0x4b8701=_0x55e6fb?_0x55e6fb[_0x13bb22(0x1a7)]?_0x13bb22(0x1e3)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x1ae)]+'\x20IMD\x20(fee\x20'+_0x55e6fb[_0x13bb22(0x221)]+_0x13bb22(0x1d2)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x221)]+')':'Fee\x20'+_0x55e6fb['amount']+_0x13bb22(0x1a6):null,_0x584a38=_0x55e6fb?.[_0x13bb22(0x1cb)]?'Max\x20debit:\x20'+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x215)]:null,_0x3010a8=_0x55e6fb?_0x13bb22(0x224)+_0x55e6fb[_0x13bb22(0x24b)]:null,_0x1da055=_0x55e6fb?.[_0x13bb22(0x1dc)]?(_0x55e6fb[_0x13bb22(0x1cb)]?.[_0x13bb22(0x278)]===_0x13bb22(0x24f)?_0x13bb22(0x245):_0x13bb22(0x28d))+_0x55e6fb[_0x13bb22(0x1dc)]+_0x13bb22(0x20b):null,_0x431f4e=_0x55e6fb?_0x55e6fb[_0x13bb22(0x1a7)]?_0x13bb22(0x19d):_0x13bb22(0x1c2):null;let _0x2b1d6c=_0x55e6fb?_0x13bb22(0x26e)+(_0x55e6fb['support']?.[_0x13bb22(0x1ae)]??_0x55e6fb[_0x13bb22(0x221)])+'\x20IMD\x20&\x20publish':'';_0x55e6fb?.[_0x13bb22(0x1cb)]&&_0x55e6fb[_0x13bb22(0x1cb)]['coin']!==_0x13bb22(0x20f)&&(_0x2b1d6c=_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x1ad)]?_0x13bb22(0x255):_0x13bb22(0x1d0));const _0x47f94e=0x2+_0x3e7cca(_0x481b35['title']??_0x13bb22(0x1b4),_0x3ea34f-0x4)[_0x13bb22(0x1f9)]+[_0x4b8701,_0x584a38,_0x3010a8,_0x1da055,_0x431f4e][_0x13bb22(0x27d)](Boolean)['reduce']((_0x2d8306,_0x8ec68d)=>_0x2d8306+_0x3e7cca(_0x8ec68d,_0x3ea34f-0x4)[_0x13bb22(0x1f9)],0x0)+(_0x3ea34f<0x46?0x2:0x1)+0x1,_0x43556d=_0x55e6fb?[_0x13bb22(0x218),_0x55e6fb[_0x13bb22(0x265)],'',..._0x55e6fb[_0x13bb22(0x1a1)][_0x13bb22(0x25b)](_0x2fc150=>'-\x20'+_0x2fc150),'',..._0x55e6fb[_0x13bb22(0x1a7)]?[_0x13bb22(0x217),_0x13bb22(0x238)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x221)]+_0x13bb22(0x1a6),_0x13bb22(0x270)+_0x55e6fb[_0x13bb22(0x1a7)]['recipient'],_0x13bb22(0x276),'']:[],..._0x55e6fb[_0x13bb22(0x1cb)]&&_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x278)]!=='IMD'?[(_0x55e6fb['funding'][_0x13bb22(0x1ad)]?'Conversion\x20already\x20confirmed;\x20reviewed\x20limit:\x20':_0x13bb22(0x269))+_0x55e6fb['funding']['amount'],..._0x55e6fb['funding'][_0x13bb22(0x202)]&&!_0x55e6fb[_0x13bb22(0x1cb)]['converted']?[_0x13bb22(0x21e)+_0x55e6fb[_0x13bb22(0x1cb)]['estimatedAmount']]:[],_0x13bb22(0x1e6)+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x215)]+(_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x278)]===_0x13bb22(0x24f)?_0x13bb22(0x1a3):_0x13bb22(0x22b)),_0x13bb22(0x283)+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x21f)],_0x13bb22(0x24c),'']:[],_0x13bb22(0x1b1)+_0x55e6fb[_0x13bb22(0x1ca)],..._0x481b35[_0x13bb22(0x23e)]?['',_0x13bb22(0x1cd),'Network:\x20'+_0x55e6fb[_0x13bb22(0x19b)],_0x13bb22(0x1b9)+_0x55e6fb['asset'],_0x13bb22(0x284)+_0x55e6fb['payTo'],_0x13bb22(0x25e)+_0x55e6fb['orderId'],'',_0x13bb22(0x26c),JSON[_0x13bb22(0x1f8)](_0x55e6fb[_0x13bb22(0x259)],null,0x2)]:[]][_0x13bb22(0x21d)]('\x0a'):_0x481b35[_0x13bb22(0x252)][_0x13bb22(0x21d)]('\x0a');return _0x132ce6(E,{'title':_0x481b35[_0x13bb22(0x1b0)]??'Review\x20saved\x20payment','width':_0x3ea34f,'height':_0x365173,'ascii':_0x12b1a9,'active':!0x0},_0x4b8701?n(_0x4b8701,{'color':_0x13bb22(0x220),'bold':!0x0}):null,_0x584a38?n(_0x584a38,{'color':_0x13bb22(0x220),'bold':!0x0}):null,_0x3010a8?n(_0x3010a8,{'color':_0x13bb22(0x220)}):null,_0x1da055?n(_0x1da055,{'color':_0x13bb22(0x1ea)}):null,_0x132ce6(P,{'content':_0x43556d,'width':_0x3ea34f-0x4,'height':Math[_0x13bb22(0x1b7)](0x0,_0x365173-_0x47f94e),'offset':_0x44f8f4[_0x13bb22(0x1fb)]}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),_0x431f4e?n(_0x431f4e,{'color':_0x13bb22(0x1ea)}):null,_0x132ce6(_0x3f5488,{'flexDirection':_0x3ea34f<0x46?'column':_0x13bb22(0x239),'gap':_0x3ea34f<0x46?0x0:0x3},n('[\x20'+(_0x481b35[_0x13bb22(0x271)]??(_0x55e6fb?_0x13bb22(0x200):'Cancel'))+'\x20]',{'inverse':!_0x481b35[_0x13bb22(0x231)]}),n('[\x20'+(_0x55e6fb?_0x2b1d6c:_0x481b35[_0x13bb22(0x290)]??_0x13bb22(0x1c0))+'\x20]',{'inverse':_0x481b35[_0x13bb22(0x231)],'color':_0x13bb22(0x220)})),n('Tab\x20choose\x20\xB7\x20Enter\x20confirm\x20\xB7\x20Esc\x20cancel\x20\xB7\x20PgDn\x20scroll'+(_0x55e6fb?_0x13bb22(0x1e5):''),{'dimColor':!0x0,'wrap':'truncate-end'}));}function fe({state:_0x30596c,width:_0x112244,height:_0x43bc7a,ascii:_0xf5a1b0}){const _0x3caefa=_0x2ca9a5,_0x5c0ee3=_0x30596c[_0x3caefa(0x1da)],_0x1caada=Math[_0x3caefa(0x1b7)](0x1,_0x43bc7a-0x5),_0x29e0d7=Math[_0x3caefa(0x1b7)](0x0,Math[_0x3caefa(0x1f7)](_0x5c0ee3[_0x3caefa(0x205)]-Math['floor'](_0x1caada/0x2),_0x5c0ee3[_0x3caefa(0x23f)][_0x3caefa(0x1f9)]-_0x1caada));return _0x132ce6(E,{'title':_0x5c0ee3['title'],'width':_0x112244,'height':_0x43bc7a,'ascii':_0xf5a1b0,'active':!0x0},..._0x5c0ee3['items'][_0x3caefa(0x1e7)](_0x29e0d7,_0x29e0d7+_0x1caada)[_0x3caefa(0x25b)]((_0x5119ef,_0x2b9d80)=>n((_0x29e0d7+_0x2b9d80===_0x5c0ee3[_0x3caefa(0x205)]?'>\x20':'\x20\x20')+_0x5119ef[_0x3caefa(0x1df)],{'key':_0x2b9d80,'inverse':_0x29e0d7+_0x2b9d80===_0x5c0ee3[_0x3caefa(0x205)]})),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x3caefa(0x1aa),{'dimColor':!0x0}));}const me=_0x2ca9a5(0x26b);function ye({controller:_0x1e34bf,ascii:_0x312dfc=!0x1,dimensions:_0x1cdafa,terminal:_0x162f20,feedback:_0x2708a7}){const _0x3c6c67=_0x2ca9a5,_0x4e3ca3=_0x45396d(_0x1e34bf[_0x3c6c67(0x237)],_0x1e34bf[_0x3c6c67(0x246)]),_0x4c0c60=_0x4e3ca3[_0x3c6c67(0x268)]??_0x4e3ca3[_0x3c6c67(0x206)],_0x193526=_0x5c64d7(),_0x1e8285=_0x1cdafa??_0x193526,_0xb1dd97=_0x1e8285[_0x3c6c67(0x1fd)],_0x328a78=Math[_0x3c6c67(0x1b7)](0x8,_0x1e8285[_0x3c6c67(0x1d4)]-0x1),_0xe0d8e2=_0xb1dd97<0x64,{exit:_0x1c39bc}=_0x90509d();if(_0xe46d99(()=>(_0x1e34bf[_0x3c6c67(0x1fc)]=_0x162f20,_0x1e34bf[_0x3c6c67(0x244)]()[_0x3c6c67(0x1b8)](()=>{const _0x265512=_0x3c6c67;_0x2708a7&&_0x1e34bf[_0x265512(0x20c)](_0x2708a7);}),()=>_0x1e34bf['close']()),[_0x1e34bf,_0x162f20,_0x2708a7]),_0xe46d99(()=>{const _0x54a2b6=setInterval(()=>{const _0x59132c=_0x1420;_0x1e34bf[_0x59132c(0x23c)]();},0x1388);return()=>clearInterval(_0x54a2b6);},[_0x1e34bf]),_0x20ed3b((_0x5918e4,_0x15c753)=>{const _0x4fc7b4=_0x3c6c67;if(_0x15c753[_0x4fc7b4(0x1cf)]&&_0x5918e4==='c'){_0x1e34bf['close'](),_0x1c39bc();return;}if(_0x4e3ca3['privateKeyView']){_0x15c753[_0x4fc7b4(0x27a)]&&_0x1e34bf[_0x4fc7b4(0x20c)]({'privateKeyView':null});return;}if(_0xb1dd97<0x28||_0x1e8285[_0x4fc7b4(0x1d4)]<0x14){_0x4e3ca3['receive']?_0x15c753[_0x4fc7b4(0x27a)]&&_0x1e34bf['update']({'receive':null}):_0x5918e4==='q'&&(_0x1e34bf['close'](),_0x1c39bc());return;}if(_0x4e3ca3['confirm']){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf[_0x4fc7b4(0x286)](!0x1):_0x15c753['tab']||_0x15c753[_0x4fc7b4(0x1c3)]||_0x15c753['rightArrow']?_0x1e34bf['update']({'confirm':{..._0x4e3ca3[_0x4fc7b4(0x1f3)],'accepted':!_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x231)]}}):_0x15c753[_0x4fc7b4(0x1fe)]?_0x1e34bf['respond'](_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x231)]):_0x5918e4==='i'?_0x1e34bf[_0x4fc7b4(0x20c)]({'confirm':{..._0x4e3ca3[_0x4fc7b4(0x1f3)],'expanded':!_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x23e)]},'scroll':0x0}):(_0x15c753[_0x4fc7b4(0x1b5)]||_0x15c753[_0x4fc7b4(0x1d7)])&&_0x1e34bf['update']({'scroll':Math[_0x4fc7b4(0x1b7)](0x0,_0x4e3ca3[_0x4fc7b4(0x1fb)]+(_0x15c753[_0x4fc7b4(0x1b5)]?0x5:-0x5))});return;}if(_0x4e3ca3[_0x4fc7b4(0x1e4)]){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf[_0x4fc7b4(0x20d)]():(_0x15c753['upArrow']||_0x15c753[_0x4fc7b4(0x250)])&&_0x4e3ca3[_0x4fc7b4(0x1e4)][_0x4fc7b4(0x209)]?_0x1e34bf['cyclePaymentCoin'](_0x15c753[_0x4fc7b4(0x228)]):_0x15c753[_0x4fc7b4(0x1a2)]&&_0x1e34bf[_0x4fc7b4(0x27b)](_0x15c753[_0x4fc7b4(0x249)]);return;}if(_0x4e3ca3[_0x4fc7b4(0x25a)]){_0x15c753['escape']&&_0x1e34bf[_0x4fc7b4(0x20c)]({'receive':null}),_0x5918e4==='s'&&_0x1e34bf[_0x4fc7b4(0x1e0)]();return;}if(_0x4e3ca3[_0x4fc7b4(0x1da)]){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf['dismissMenu']():_0x15c753['downArrow']||_0x15c753[_0x4fc7b4(0x228)]?_0x1e34bf[_0x4fc7b4(0x20c)]({'menu':{..._0x4e3ca3[_0x4fc7b4(0x1da)],'selected':Math[_0x4fc7b4(0x1b7)](0x0,Math[_0x4fc7b4(0x1f7)](_0x4e3ca3[_0x4fc7b4(0x1da)][_0x4fc7b4(0x23f)]['length']-0x1,_0x4e3ca3[_0x4fc7b4(0x1da)][_0x4fc7b4(0x205)]+(_0x15c753[_0x4fc7b4(0x250)]?0x1:-0x1)))}}):_0x15c753[_0x4fc7b4(0x1fe)]&&_0x1e34bf[_0x4fc7b4(0x1d5)]();return;}if(_0x5918e4==='q'&&!_0x4e3ca3['busy']){_0x1e34bf[_0x4fc7b4(0x21a)](),_0x1c39bc();return;}if(!_0x4e3ca3[_0x4fc7b4(0x1eb)]){if(_0x5918e4==='e'&&_0x4c0c60){_0x1e34bf[_0x4fc7b4(0x1c5)]();return;}if(_0x4fc7b4(0x258)[_0x4fc7b4(0x197)](_0x5918e4)&&_0x5918e4['length']===0x1){_0x1e34bf[_0x4fc7b4(0x256)](_0x2d0915[Number(_0x5918e4)-0x1]);return;}if(_0x5918e4==='?'){_0x1e34bf[_0x4fc7b4(0x20c)]({'help':!_0x4e3ca3['help'],'scroll':0x0});return;}if(_0x15c753[_0x4fc7b4(0x27a)]){_0x1e34bf['update']({'focus':_0x4fc7b4(0x1ee),'help':!0x1,'scroll':0x0,'error':null,'refreshError':null,'notice':null});return;}if(_0x5918e4==='n'){_0x4e3ca3['view']==='wallet'?_0x1e34bf['walletSetup'](!0x1):_0x1e34bf[_0x4fc7b4(0x27c)]();return;}if(_0x5918e4==='r'){_0x1e34bf[_0x4fc7b4(0x244)]();return;}if(_0x15c753[_0x4fc7b4(0x1b5)]||_0x15c753[_0x4fc7b4(0x1d7)]||_0x4e3ca3['focus']===_0x4fc7b4(0x280)&&(_0x15c753[_0x4fc7b4(0x250)]||_0x15c753[_0x4fc7b4(0x228)])){_0x1e34bf['update']({'scroll':Math[_0x4fc7b4(0x1b7)](0x0,_0x4e3ca3['scroll']+(_0x15c753[_0x4fc7b4(0x1b5)]?0x5:_0x15c753[_0x4fc7b4(0x1d7)]?-0x5:_0x15c753[_0x4fc7b4(0x250)]?0x1:-0x1))});return;}if(_0x4e3ca3['view']===_0x4fc7b4(0x1f6)){(_0x15c753[_0x4fc7b4(0x250)]||_0x15c753[_0x4fc7b4(0x228)])&&_0x1e34bf['move'](_0x15c753['downArrow']?0x1:-0x1),(_0x15c753[_0x4fc7b4(0x1fe)]||_0x15c753[_0x4fc7b4(0x1a2)])&&_0x1e34bf[_0x4fc7b4(0x20c)]({'focus':_0x4e3ca3[_0x4fc7b4(0x1c7)]===_0x4fc7b4(0x1ee)?'detail':'list','scroll':0x0}),_0x5918e4==='u'&&_0x1e34bf[_0x4fc7b4(0x214)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x28c)](),_0x5918e4==='g'&&_0x1e34bf[_0x4fc7b4(0x1c4)](),_0x5918e4==='i'&&_0x1e34bf[_0x4fc7b4(0x26a)](),_0x5918e4==='d'&&_0x1e34bf[_0x4fc7b4(0x25c)](),_0x5918e4==='b'&&_0x1e34bf['walletBackup'](),_0x5918e4==='p'&&_0x1e34bf[_0x4fc7b4(0x274)]();return;}if(_0x15c753['downArrow']||_0x15c753['upArrow']){_0x1e34bf[_0x4fc7b4(0x267)](_0x15c753['downArrow']?0x1:-0x1);return;}if(_0x15c753[_0x4fc7b4(0x1fe)]||_0x15c753['tab']){_0x1e34bf[_0x4fc7b4(0x20c)]({'focus':_0x4e3ca3[_0x4fc7b4(0x1c7)]===_0x4fc7b4(0x1ee)?'detail':_0x4fc7b4(0x1ee),'scroll':0x0});return;}if(_0x4e3ca3['view']===_0x4fc7b4(0x19f)){_0x5918e4==='/'&&_0x1e34bf[_0x4fc7b4(0x1c8)](),_0x5918e4==='a'&&_0x1e34bf[_0x4fc7b4(0x226)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x1a8)](),_0x5918e4==='l'&&_0x1e34bf['workerCommand']([_0x4fc7b4(0x23d)]),_0x5918e4==='g'&&_0x1e34bf['workerCommand']([_0x4fc7b4(0x19e)]);return;}_0x5918e4==='/'&&_0x1e34bf[_0x4fc7b4(0x1c8)](),_0x5918e4==='f'&&_0x4e3ca3[_0x4fc7b4(0x1bd)]===_0x4fc7b4(0x24e)&&_0x1e34bf[_0x4fc7b4(0x28e)](),(_0x5918e4==='['||_0x5918e4===']')&&_0x1e34bf[_0x4fc7b4(0x196)](_0x5918e4==='['?-0x1:0x1),_0x5918e4==='d'&&_0x1e34bf[_0x4fc7b4(0x21b)](),_0x5918e4==='s'&&_0x1e34bf[_0x4fc7b4(0x1c9)](),_0x5918e4==='c'&&_0x1e34bf[_0x4fc7b4(0x235)](),_0x5918e4==='o'&&_0x1e34bf[_0x4fc7b4(0x263)](),_0x5918e4==='x'&&_0x1e34bf[_0x4fc7b4(0x1cc)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x27e)](),_0x5918e4==='l'&&_0x1e34bf['more']();}}),_0xb1dd97<0x28||_0x1e8285[_0x3c6c67(0x1d4)]<0x14)return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'flexDirection':_0x3c6c67(0x1a9)},n(_0x3c6c67(0x22a),{'color':_0x3c6c67(0x220)}),n(_0x3c6c67(0x1ac)),n(_0x4e3ca3[_0x3c6c67(0x25a)]||_0x4e3ca3['privateKeyView']?_0x3c6c67(0x207):'q\x20quit\x20\xB7\x20commands\x20remain\x20available\x20with\x20--help'));if(_0x4e3ca3[_0x3c6c67(0x20a)])return _0x132ce6(E,{'title':_0x3c6c67(0x1f5),'width':_0xb1dd97,'height':_0x328a78,'ascii':_0x312dfc,'active':!0x0},n(_0x3c6c67(0x1f2)+_0x4e3ca3[_0x3c6c67(0x20a)]['address']),n('Anyone\x20with\x20this\x20key\x20can\x20spend\x20this\x20wallet\u2019s\x20funds.',{'color':_0x3c6c67(0x1ea)}),_0x132ce6(_0x3f5488,{'marginTop':0x1},n(_0x4e3ca3[_0x3c6c67(0x20a)][_0x3c6c67(0x260)])),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x3c6c67(0x1bc),{'color':_0x3c6c67(0x220)}));if(_0x4e3ca3[_0x3c6c67(0x25a)]&&!_0x4e3ca3['form']){const _0xb747fd=_0x4e3ca3[_0x3c6c67(0x25a)],_0x5161a8=_0xb747fd['qr'][_0x3c6c67(0x28a)]('\x0a'),_0xcd58bd=_0x5161a8[_0x3c6c67(0x1f9)]+_0x3e7cca(_0xb747fd[_0x3c6c67(0x272)],_0xb1dd97)[_0x3c6c67(0x1f9)]+_0x3e7cca(_0x3c6c67(0x1f4)+_0xb747fd['chainName']+_0x3c6c67(0x1f1),_0xb1dd97)[_0x3c6c67(0x1f9)]+0x3,_0x419b36=_0xb1dd97>=_0x5161a8[0x0][_0x3c6c67(0x1f9)]&&_0x328a78>=_0xcd58bd;return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'height':_0x328a78,'flexDirection':_0x3c6c67(0x1a9)},n(_0x3c6c67(0x282)+_0xb747fd[_0x3c6c67(0x24b)],{'bold':!0x0,'color':'cyan'}),n(_0xb747fd[_0x3c6c67(0x272)]),n(_0x3c6c67(0x241)+_0xb747fd[_0x3c6c67(0x292)]['join'](',\x20')),_0x419b36?n(_0xb747fd['qr'],{'color':'black','backgroundColor':_0x3c6c67(0x1be)}):n('Resize\x20to\x20at\x20least\x20'+Math[_0x3c6c67(0x1b7)](0x28,_0x5161a8[0x0][_0x3c6c67(0x1f9)])+_0x3c6c67(0x24d)+(_0xcd58bd+0x1)+_0x3c6c67(0x24a)),n(_0x3c6c67(0x1f4)+_0xb747fd[_0x3c6c67(0x24b)]+_0x3c6c67(0x1f1),{'color':'yellow'}),n(_0x41e566(_0x4e3ca3[_0x3c6c67(0x268)]??_0x4e3ca3['notice']??'s\x20save\x20QR\x20\xB7\x20Esc\x20back',_0xb1dd97),{'color':_0x4e3ca3[_0x3c6c67(0x268)]?_0x3c6c67(0x233):_0x3c6c67(0x220)}));}const _0x4c70ef=_0x4e3ca3['form']||_0x4e3ca3[_0x3c6c67(0x1f3)]||_0x4e3ca3[_0x3c6c67(0x1e9)],_0x575d85=Math['max'](0x6,_0x328a78-(_0x4c70ef?0x3:0x6)),_0x526529=_0x976597(_0x4e3ca3)[_0x4e3ca3[_0x3c6c67(0x205)]];let _0x1d1b0c;if(_0x4e3ca3[_0x3c6c67(0x1e4)])_0x1d1b0c=_0x132ce6(de,{'controller':_0x1e34bf,'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3['confirm'])_0x1d1b0c=_0x132ce6(ue,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1e9)])_0x1d1b0c=_0x132ce6(le,{'event':_0x4e3ca3[_0x3c6c67(0x1e9)],'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1da)])_0x1d1b0c=_0x132ce6(fe,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1d1)])_0x1d1b0c=_0x132ce6(E,{'title':_0x3c6c67(0x216),'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc,'active':!0x0},_0x132ce6(P,{'content':me,'width':_0xb1dd97-0x4,'height':_0x575d85-0x4,'offset':_0x4e3ca3[_0x3c6c67(0x1fb)]}),n(_0x3c6c67(0x1ce),{'dimColor':!0x0}));else{if(_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x1f6))_0x1d1b0c=_0x132ce6(ce,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc,'narrow':_0xe0d8e2});else{const _0xffb983=!_0xe0d8e2||_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x1ee),_0x15082d=!_0xe0d8e2||_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x280),_0x500e22=_0xe0d8e2?_0xb1dd97:Math[_0x3c6c67(0x257)](_0xb1dd97*0.43),_0x539f0d=_0xffb983&&!_0xe0d8e2?_0xb1dd97-_0x500e22-0x1:_0xb1dd97,_0x36bd43=_0x82a45b({..._0x4e3ca3,'selectedId':_0x526529?.['id']}),_0x36d7b9=_0x4e3ca3['view']===_0x3c6c67(0x24e)||_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x208),_0x32986e=_0x36d7b9?_0x57395f(_0x526529,_0x4e3ca3[_0x3c6c67(0x1bd)]):_0x526529?_0x526529[_0x3c6c67(0x222)]===_0x3c6c67(0x287)?[_0x3c6c67(0x289)]:[_0x3c6c67(0x1d3),_0x3c6c67(0x227),'[g]\x20Diagnostics']:[];_0x4c0c60&&_0x32986e['push'](_0x3c6c67(0x1fa));const _0x2d8218=R(_0x32986e,_0x539f0d-0x4),_0x2e7b18=_0x2d8218['length']?_0x2d8218['length']+0x1:0x0,_0x22c774=R([_0x3c6c67(0x211),'PgUp/PgDn\x20scroll',..._0x36d7b9?[_0x3c6c67(0x242)]:[]],_0x539f0d-0x4);_0x1d1b0c=_0x132ce6(_0x3f5488,{'height':_0x575d85,'width':_0xb1dd97,'gap':0x1},_0xffb983?_0x132ce6(E,{'title':(_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x19f)?_0x3c6c67(0x199):_0x4e3ca3['filter'])+(_0x4e3ca3['query']?_0x3c6c67(0x212)+_0x41e566(_0x4e3ca3['query'],0x16):''),'width':_0x500e22,'height':_0x575d85,'ascii':_0x312dfc,'active':_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x1ee)},_0x132ce6(G,{'state':_0x4e3ca3,'height':_0x575d85,'width':_0x500e22-0x4,'ascii':_0x312dfc})):null,_0x15082d?_0x132ce6(E,{'title':_0x41e566(_0x526529?.['id']??_0x3c6c67(0x20e),_0x539f0d-0x7),'width':_0x539f0d,'height':_0x575d85,'ascii':_0x312dfc,'active':_0x4e3ca3['focus']===_0x3c6c67(0x280)},_0x36d7b9?n([_0x3c6c67(0x1e8),_0x3c6c67(0x201),_0x3c6c67(0x240)][_0x3c6c67(0x25b)](_0x3557fa=>_0x3557fa===_0x4e3ca3[_0x3c6c67(0x1a2)]?'['+_0x3557fa+']':_0x3557fa)[_0x3c6c67(0x21d)]('\x20\x20'),{'color':'cyan','wrap':_0x3c6c67(0x213)}):null,_0x132ce6(P,{'content':_0x36bd43,'width':_0x539f0d-0x4,'height':_0x575d85-0x3-Number(_0x36d7b9)-_0x2e7b18-_0x22c774['length'],'offset':_0x4e3ca3['scroll']}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x22c774['map']((_0x55fcef,_0x4149a5)=>n(_0x55fcef,{'key':_0x4149a5,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x2d8218,'width':_0x539f0d-0x4,'ascii':_0x312dfc})):null);}}}}}}const _0x4891e8=_0x4e3ca3[_0x3c6c67(0x1e4)]||_0x4e3ca3[_0x3c6c67(0x1f3)]||_0x4e3ca3[_0x3c6c67(0x1da)]||_0x4e3ca3[_0x3c6c67(0x1eb)]?'[Ctrl+C]\x20Exit':_0x3c6c67(0x28f),_0x3382d6=_0xb1dd97<0x4b?_0x2d0915[_0x3c6c67(0x25b)]((_0x26cce4,_0x160404)=>'['+(_0x160404+0x1)+']'+[_0x3c6c67(0x1dd),_0x3c6c67(0x1f0),_0x3c6c67(0x1ba),_0x3c6c67(0x1d8)][_0x160404])['join']('\x20'):_0x2d0915[_0x3c6c67(0x25b)]((_0x3913c8,_0x25388c)=>(_0x3913c8===_0x4e3ca3['view']?'>\x20':'\x20\x20')+'['+(_0x25388c+0x1)+']\x20'+se[_0x3913c8])['join']('\x20\x20');return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'height':_0x328a78,'flexDirection':'column'},_0x132ce6(_0x3f5488,{'justifyContent':_0x3c6c67(0x1c1),'height':_0x4c70ef?0x1:0x2},n(_0x3c6c67(0x234),{'color':_0x3c6c67(0x220),'bold':!0x0}),_0xb1dd97>=0x4b?n(_0x4e3ca3['address']?_0x41e566(_0x4e3ca3[_0x3c6c67(0x272)],0x14):_0x3c6c67(0x253),{'dimColor':!0x0}):null),_0x4c70ef?null:n(_0x3382d6,{'color':_0x3c6c67(0x220),'wrap':_0x3c6c67(0x213)}),_0x4c70ef?null:_0x4e3ca3[_0x3c6c67(0x1eb)]||_0x4e3ca3[_0x3c6c67(0x1d9)]?_0x132ce6(U,{'label':_0x4e3ca3[_0x3c6c67(0x1eb)]??_0x3c6c67(0x1a0)}):n(_0x4e3ca3[_0x3c6c67(0x223)],{'dimColor':!0x0,'wrap':_0x3c6c67(0x213)}),_0x1d1b0c,n(_0x41e566(_0x4c0c60??_0x4e3ca3[_0x3c6c67(0x236)]??'',_0xb1dd97),{'color':_0x4c0c60?_0x3c6c67(0x233):_0x3c6c67(0x277)}),n(_0x4891e8,{'dimColor':!0x0,'wrap':_0x3c6c67(0x213)}));}export{ye as DashboardApp};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{terminalText as _0x385553}from'../lib/terminal-text.mjs';import _0x28bde7 from'wrap-ansi';import _0x1fe808 from'string-width';import{networkWorkerText as _0x2804d6}from'../lib/network-workers.mjs';function g(_0x4c5f05,_0x18d4b8){const _0x3a9e82=_0x5c36,_0x3e353d=_0x385553(_0x4c5f05)[_0x3a9e82(0x96)](/\s+/g,'\x20');if(_0x1fe808(_0x3e353d)<=_0x18d4b8)return _0x3e353d;let _0x16b6aa='';for(const _0x1cac2b of _0x3e353d){if(_0x1fe808(_0x16b6aa+_0x1cac2b)>_0x18d4b8-0x1)break;_0x16b6aa+=_0x1cac2b;}return _0x16b6aa+'~';}function _0x5c36(_0x2329c4,_0x5bec71){_0x2329c4=_0x2329c4-0x73;const _0x5c36c0=_0x5bec();let _0x5079e1=_0x5c36c0[_0x2329c4];return _0x5079e1;}function E(_0xf57ffc,_0x516392){const _0x2dfcf6=_0x5c36;return _0x28bde7(_0x385553(_0xf57ffc),Math[_0x2dfcf6(0xad)](0x1,_0x516392),{'hard':!0x0,'trim':!0x1})[_0x2dfcf6(0x74)]('\x0a');}function o(_0x3648d9){const _0xe782b1=_0x5c36;return typeof _0x3648d9==_0xe782b1(0xbe)?_0x3648d9:_0x3648d9&&_0xe782b1(0xd7)in _0x3648d9?[_0x3648d9['exitCode']?'Command\x20failed\x20(exit\x20code\x20'+_0x3648d9[_0xe782b1(0x81)]+')':null,_0x3648d9[_0xe782b1(0xd7)],_0x3648d9[_0xe782b1(0xaf)]][_0xe782b1(0x9f)](Boolean)[_0xe782b1(0x91)]('\x0a'):JSON[_0xe782b1(0x73)](_0x3648d9,null,0x2);}function _0x5bec(){const _0x551790=['stringify','split','Robinhood\x20Chain','Cancelled\x20locally.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','Order:\x20','bytes','balance','Loading\x20details...','Project:\x20','Type:\x20','networkFeeCap','jobId','No\x20wallet\x20selected.\x0a\x0aUse\x20Wallet\x20management\x20to\x20create,\x20import\x20or\x20restore\x20a\x20wallet.\x0a\x0aYour\x20key\x20is\x20encrypted\x20locally.\x0aBrowsing\x20does\x20not\x20need\x20a\x20wallet.','address','exitCode','push','Press\x20d\x20to\x20fetch\x20the\x20result\x20files.','REQUEST\x20CANCELLED\x0a\x0aCancelled\x20locally:\x20','replaceAll','funding','mediaType','m\x20actions','launch','cancelled','selectedId','files','length','Activity\x20shows\x20the\x20saved\x20transaction\x20progress.','d\x20files\x20·\x20s\x20save','Files\x20become\x20available\x20after\x20payment\x20and\x20task\x20execution.','join','detailLoading','view','cancelledAt','AUTOMATIC\x20CONVERSION','replace','notInstalled','DELIVERY','refusalProblems','CURRENT\x20WALLET\x0a','unknown','Worker\x20not\x20deployed\x0a\x0a[m]\x20Open\x20worker\x20actions\x20to\x20deploy\x20the\x20official\x20release,\x20pair\x20a\x20wallet,\x20register,\x20and\x20install\x20its\x20service.\x0a\x0a[a]\x20Add\x20a\x20Linux\x20SSH\x20target','nodes','Network\x20fee\x20cap:\x20','filter','challenged','explore','symbol','Balances\x20unavailable:\x20','\x0aEnvironment\x20wallet\x20·\x20import\x20it\x20here\x20to\x20save\x20it\x20encrypted','Status:\x20','canResume','EXECUTION\x0a\x0a','status','\x0a\x0aREVIEWS\x0a','url','transactionHash','paymentStatus','max','attempt','stderr','standing','state','Payment:\x20','delivery','wallet','service','find','Activity','map','verdict','source','paidBy','\x0a\x0aSTANDING\x0a','Preparing\x20payment','string','\x20ETH','\x0a\x0aPAYMENT\x20COINS\x0a','[o]\x20Inspect\x20/\x20resume\x20saved\x20order','\x20·\x20c\x20changes','\x0a\x0aNetwork:\x20','Select\x20an\x20item\x20to\x20view\x20details.','configured','REFUSED','lastError','project','tab','LAST\x20ERROR','review\x20&\x20pay','chainName','robinhood','objective','[m]\x20Task\x20actions','Loading\x20balances...','\x0a[m]\x20Selected\x20wallet\x20actions','network-worker','LAUNCH','\x0a\x0a[m]\x20Worker\x20actions\x20·\x20[l]\x20Logs\x20·\x20[g]\x20Diagnostics','output','result','stdout','\x20·\x20m\x20actions','\x0a\x0a[s]\x20Save\x20verified\x20files','x\x20cancel','Maximum\x20debit:\x20','kind','hash','detail','DELIVERED\x20FILES\x0a\x0a','SAVED\x20WALLET\x0a','Check\x20the\x20payment\x20result\x20before\x20retrying.\x20This\x20order\x20cannot\x20currently\x20be\x20cancelled\x20from\x20Colony.','Files','Awaiting\x20payment','\x0aNo\x20payment\x20was\x20signed\x20or\x20submitted.','title','canCancel','\x0aAttempt:\x20','Payment\x20network:\x20','Payment\x20coin:\x20','[o]\x20Review\x20quote\x20and\x20pay','balanceError','template','Not\x20available','orderId','coins'];_0x5bec=function(){return _0x551790;};return _0x5bec();}function f(_0x1b3489){const _0x2cf9a6=_0x5c36;return _0x1b3489===_0x2cf9a6(0xa0)?_0x2cf9a6(0xe3):_0x1b3489==='funding'?_0x2cf9a6(0xbd):_0x1b3489===_0x2cf9a6(0x8a)?'Cancelled':_0x1b3489;}function w(_0x1630be,_0x341273){const _0x76ab92=_0x5c36;return _0x1630be?_0x341273===_0x76ab92(0xa1)?_0x76ab92(0x8f):_0x1630be[_0x76ab92(0x7e)]?_0x76ab92(0x8f)+(_0x1630be[_0x76ab92(0xb1)]==='completed'?_0x76ab92(0xc2):'')+_0x76ab92(0xd8):[_0x1630be[_0x76ab92(0xa6)]?'o\x20'+(_0x1630be[_0x76ab92(0xe6)]?_0x76ab92(0xcb):'resume'):null,_0x1630be[_0x76ab92(0xe6)]?_0x76ab92(0xda):null,_0x76ab92(0x88)]['filter'](Boolean)[_0x76ab92(0x91)]('\x20\xB7\x20'):'';}function b(_0x1a50ab){const _0xe00fd1=_0x5c36,_0x5d1b87=_0x1a50ab['items'][_0xe00fd1(0xb6)](_0x3a24cc=>_0x3a24cc['id']===_0x1a50ab[_0xe00fd1(0x8b)]),_0x218acf=_0x1a50ab[_0xe00fd1(0xde)];if(_0x1a50ab['detailLoading']&&!(_0x1a50ab[_0xe00fd1(0x93)]===_0xe00fd1(0xb4)&&_0x218acf))return _0xe00fd1(0x7a);if(!_0x218acf)return _0xe00fd1(0xc4);if(_0x218acf[_0xe00fd1(0xd5)]!==void 0x0)return o(_0x218acf['output']);if(_0x1a50ab[_0xe00fd1(0x93)]==='wallet'){if(!_0x218acf[_0xe00fd1(0xc5)])return _0xe00fd1(0x7f);const _0x3ccbc3=_0x218acf['address']===_0x1a50ab['address'];return(_0x3ccbc3?_0xe00fd1(0x9a):_0xe00fd1(0xe0))+_0x218acf[_0xe00fd1(0x80)]+_0xe00fd1(0xc3)+_0x218acf[_0xe00fd1(0xcc)]+(_0x218acf[_0xe00fd1(0xba)]==='local'?'':_0xe00fd1(0xa4))+_0xe00fd1(0xc0)+(_0x1a50ab[_0xe00fd1(0x92)]?_0xe00fd1(0xd0):_0x218acf[_0xe00fd1(0xeb)]?_0xe00fd1(0xa3)+_0x218acf[_0xe00fd1(0xeb)]:(_0x218acf[_0xe00fd1(0xef)]??[])[_0xe00fd1(0xb8)](_0x456f87=>_0x456f87[_0xe00fd1(0xa2)]+':\x20'+_0x456f87[_0xe00fd1(0x79)])['join']('\x0a'))+'\x0a\x0a[d]\x20Receive\x20funds\x20/\x20QR\x20code\x0a[b]\x20Back\x20up\x20this\x20wallet'+(_0x3ccbc3?'':'\x0a[u]\x20Use\x20this\x20wallet\x20for\x20payments')+_0xe00fd1(0xd1);}if(_0x1a50ab[_0xe00fd1(0x93)]==='workers')return _0x218acf[_0xe00fd1(0xdc)]===_0xe00fd1(0xd2)?_0x2804d6(_0x218acf):_0x218acf[_0xe00fd1(0x97)]?_0xe00fd1(0x9c):_0x218acf['output']?o(_0x218acf['output']):'SERVICE\x0a'+o(_0x218acf[_0xe00fd1(0xb5)])+_0xe00fd1(0xbc)+(_0x218acf[_0xe00fd1(0xb0)]?o(_0x218acf[_0xe00fd1(0xb0)]):_0x218acf['standingError']??_0xe00fd1(0xed))+_0xe00fd1(0xd4);if(_0x1a50ab['tab']===_0xe00fd1(0xe2)){if(!_0x5d1b87?.[_0xe00fd1(0x7e)])return _0x218acf[_0xe00fd1(0x94)]?'Cancelled\x20requests\x20do\x20not\x20produce\x20files.':_0xe00fd1(0x90);if(!_0x1a50ab['result'])return _0xe00fd1(0x83);const _0x97228e=_0x1a50ab[_0xe00fd1(0xd6)][_0xe00fd1(0x8c)]??[];return _0xe00fd1(0xdf)+(_0x97228e[_0xe00fd1(0x8d)]?_0x97228e['map'](_0x576378=>_0x576378['path']+'\x0a'+_0x576378[_0xe00fd1(0x78)]+'\x20bytes\x20\xB7\x20'+_0x576378[_0xe00fd1(0x87)]+'\x0a'+_0x576378[_0xe00fd1(0xaa)])['join']('\x0a\x0a')+_0xe00fd1(0xd9):'No\x20delivered\x20files\x20yet.\x0aTask\x20state:\x20'+_0x1a50ab[_0xe00fd1(0xd6)][_0xe00fd1(0xb1)]);}if(_0x1a50ab[_0xe00fd1(0xc9)]===_0xe00fd1(0xb7))return _0x218acf['cancelledAt']?_0xe00fd1(0x84)+_0x218acf[_0xe00fd1(0x94)]+_0xe00fd1(0xe4):_0x218acf[_0xe00fd1(0x86)]?'PAYMENT\x20PREPARATION\x0a\x0a'+_0x218acf[_0xe00fd1(0x86)]['steps'][_0xe00fd1(0xb8)](_0x360d69=>_0x360d69[_0xe00fd1(0xdc)][_0xe00fd1(0x85)]('_','\x20')+':\x20'+(_0x360d69[_0xe00fd1(0xa8)]??'not\x20started')+(_0x360d69[_0xe00fd1(0xdd)]?'\x0a'+_0x360d69[_0xe00fd1(0xdd)]:''))[_0xe00fd1(0x91)]('\x0a\x0a'):_0xe00fd1(0xa7)+(_0x218acf[_0xe00fd1(0x9d)]?.[_0xe00fd1(0x8d)]?_0x218acf[_0xe00fd1(0x9d)][_0xe00fd1(0xb8)](_0x3a63cf=>_0x3a63cf['key']+':\x20'+_0x3a63cf[_0xe00fd1(0xb1)]+_0xe00fd1(0xe7)+_0x3a63cf[_0xe00fd1(0xae)]+(_0x3a63cf[_0xe00fd1(0xb9)]?'\x0aVerdict:\x20'+_0x3a63cf[_0xe00fd1(0xb9)][_0xe00fd1(0xa8)]:''))[_0xe00fd1(0x91)]('\x0a\x0a'):'No\x20execution\x20steps\x20reported\x20yet.')+(_0x218acf['reviews']?.['length']?_0xe00fd1(0xa9)+o(_0x218acf['reviews']):'');const _0x43696f=['YOUR\x20REQUEST',_0x218acf[_0xe00fd1(0xce)]??_0x5d1b87?.[_0xe00fd1(0xe5)]??'','',_0xe00fd1(0xa5)+f(_0x218acf['state']??_0x218acf[_0xe00fd1(0xa8)]??_0x5d1b87?.[_0xe00fd1(0xb1)]??_0xe00fd1(0x9b))];_0x218acf[_0xe00fd1(0xec)]&&_0x43696f[_0xe00fd1(0x82)](_0xe00fd1(0x7c)+_0x218acf[_0xe00fd1(0xec)]),_0x218acf[_0xe00fd1(0xc8)]&&_0x43696f[_0xe00fd1(0x82)](_0xe00fd1(0x7b)+_0x218acf[_0xe00fd1(0xc8)]['id']),_0x218acf[_0xe00fd1(0xbb)]&&_0x43696f[_0xe00fd1(0x82)]('Paid\x20by:\x20'+_0x218acf[_0xe00fd1(0xbb)]),_0x218acf[_0xe00fd1(0xac)]&&_0x43696f[_0xe00fd1(0x82)](_0xe00fd1(0xb2)+_0x218acf[_0xe00fd1(0xac)]);const _0x5ed1a5=_0x218acf['paymentChain']??_0x5d1b87?.['paymentChain'];return _0x5ed1a5&&_0x43696f['push'](_0xe00fd1(0xe8)+(_0x5ed1a5===_0xe00fd1(0xcd)?_0xe00fd1(0x75):'Ethereum')),_0x218acf[_0xe00fd1(0x86)]&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0x95),_0xe00fd1(0xe9)+_0x218acf[_0xe00fd1(0x86)]['coin'],_0xe00fd1(0xdb)+_0x218acf['funding']['maximumDebit'],_0xe00fd1(0x9e)+_0x218acf['funding'][_0xe00fd1(0x7d)]+_0xe00fd1(0xbf),_0xe00fd1(0x8e)),_0x218acf[_0xe00fd1(0xb3)]&&_0x43696f['push']('',_0xe00fd1(0x98),o(_0x218acf[_0xe00fd1(0xb3)])),_0x218acf[_0xe00fd1(0x89)]&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0xd3),o(_0x218acf['launch'])),_0x218acf[_0xe00fd1(0x99)]?.[_0xe00fd1(0x8d)]&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0xc6),..._0x218acf[_0xe00fd1(0x99)][_0xe00fd1(0xb8)](_0x1d3b7f=>_0x1d3b7f[_0xe00fd1(0xde)]??_0x1d3b7f['code'])),_0x218acf[_0xe00fd1(0xc7)]&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0xca),_0x218acf['lastError']),_0x218acf[_0xe00fd1(0xee)]&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0x77)+_0x218acf[_0xe00fd1(0xee)]),_0x218acf[_0xe00fd1(0xab)]&&_0x43696f['push']('Transaction:\x20'+_0x218acf[_0xe00fd1(0xab)]),_0x5d1b87?.['jobId']?_0x1a50ab['view']==='tasks'&&_0x43696f['push']('',_0xe00fd1(0xcf),'Published\x20tasks\x20cannot\x20currently\x20be\x20cancelled\x20or\x20refunded\x20from\x20Colony.'):_0x218acf[_0xe00fd1(0x94)]?_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0x76),'[m]\x20Actions\x20\xB7\x20delete\x20local\x20record'):(_0x5d1b87?.[_0xe00fd1(0xa6)]&&_0x43696f[_0xe00fd1(0x82)]('',_0x5d1b87[_0xe00fd1(0xe6)]?_0xe00fd1(0xea):_0xe00fd1(0xc1)),_0x5d1b87?.['canCancel']&&_0x43696f['push']('[x]\x20Cancel\x20request\x20\xB7\x20no\x20payment'),!_0x5d1b87?.[_0xe00fd1(0xe6)]&&_0x5d1b87?.['requestKey']&&_0x43696f[_0xe00fd1(0x82)]('',_0xe00fd1(0xe1))),_0x43696f[_0xe00fd1(0x91)]('\x0a');}export{_0x385553 as clean,b as detailText,E as lines,o as outputText,g as short,f as statusLabel,w as taskActionHint};
|
|
1
|
+
function _0x41a8(_0x15076b,_0x3529b7){_0x15076b=_0x15076b-0xc4;const _0x41a8ed=_0x3529();let _0x15efe5=_0x41a8ed[_0x15076b];return _0x15efe5;}import{terminalText as _0x36b7ba}from'../lib/terminal-text.mjs';import _0x54a2c9 from'wrap-ansi';import _0x43b324 from'string-width';function _0x3529(){const _0x462311=['Awaiting\x20payment','verdict','\x0a[m]\x20Selected\x20wallet\x20actions','objective','files','PAYMENT\x20PREPARATION\x0a\x0a','[m]\x20Actions\x20·\x20delete\x20local\x20record','Paid\x20by:\x20','No\x20delivered\x20files\x20yet.\x0aTask\x20state:\x20','lastError','Cancelled\x20locally.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','chainName','bytes','Activity','stringify','requestKey','Payment\x20network:\x20','hash','Payment:\x20','\x0aAttempt:\x20','wallet','networkFeeCap','Press\x20d\x20to\x20fetch\x20the\x20result\x20files.','delivery','not\x20started','map','paymentStatus','Select\x20an\x20item\x20to\x20view\x20details.','notInstalled','cancelledAt','canResume','REQUEST\x20CANCELLED\x0a\x0aCancelled\x20locally:\x20','Activity\x20shows\x20the\x20saved\x20transaction\x20progress.','items','transactionHash','replace','funding','\x0aVerdict:\x20','Review\x20&\x20pay','result','[o]\x20','symbol','key','Resume','maximumDebit','Command\x20failed\x20(exit\x20code\x20','max','filter','standingError','\x20ETH','[x]\x20Cancel\x20request\x20·\x20no\x20payment','nodes','Published\x20tasks\x20cannot\x20currently\x20be\x20cancelled\x20or\x20refunded\x20from\x20Colony.','[o]\x20Inspect\x20/\x20resume\x20saved\x20order','SAVED\x20WALLET\x0a','view','Robinhood\x20Chain','Files\x20become\x20available\x20after\x20payment\x20and\x20task\x20execution.','mediaType','cancelled','\x0a\x0aSTANDING\x0a','replaceAll','status','address','completed','Cancelled\x20requests\x20do\x20not\x20produce\x20files.','\x0aNo\x20payment\x20was\x20signed\x20or\x20submitted.','jobId','DELIVERY','length','Status:\x20','project','[s]\x20Save','Check\x20the\x20payment\x20result\x20before\x20retrying.\x20This\x20order\x20cannot\x20currently\x20be\x20cancelled\x20from\x20Colony.','\x0a\x0aPAYMENT\x20COINS\x0a','template','stdout','canCancel','join','kind','paymentChain','[m]\x20Actions','tab','launch','challenged','Payment\x20coin:\x20','LAST\x20ERROR','SERVICE\x0a','[c]\x20Changes','[d]\x20Files','configured','standing','url','network-worker','Type:\x20','reviews','local','detail','[o]\x20Review\x20quote\x20and\x20pay','balanceError','DELIVERED\x20FILES\x0a\x0a','CURRENT\x20WALLET\x0a','paidBy','title','coins','\x0aEnvironment\x20wallet\x20·\x20import\x20it\x20here\x20to\x20save\x20it\x20encrypted','\x0a\x0a[s]\x20Save\x20verified\x20files','selectedId','\x0a[u]\x20Use\x20this\x20wallet\x20for\x20payments','output','orderId','Loading\x20balances...','Order:\x20','AUTOMATIC\x20CONVERSION','detailLoading','balance','Loading\x20details...','attempt','exitCode','push','No\x20wallet\x20selected.\x0a\x0aUse\x20Wallet\x20management\x20to\x20create,\x20import\x20or\x20restore\x20a\x20wallet.\x0a\x0aYour\x20key\x20is\x20encrypted\x20locally.\x0aBrowsing\x20does\x20not\x20need\x20a\x20wallet.','refusalProblems','explore','No\x20execution\x20steps\x20reported\x20yet.','state','\x0a\x0a[d]\x20Receive\x20funds\x20/\x20QR\x20code\x0a[b]\x20Back\x20up\x20this\x20wallet','stderr','[m]\x20Task\x20actions','find','robinhood','unknown','Files'];_0x3529=function(){return _0x462311;};return _0x3529();}import{networkWorkerText as _0x27dfb4}from'../lib/network-workers.mjs';function g(_0x402d3b,_0x56c796){const _0x4ff111=_0x41a8,_0x2d9ff8=_0x36b7ba(_0x402d3b)[_0x4ff111(0xe7)](/\s+/g,'\x20');if(_0x43b324(_0x2d9ff8)<=_0x56c796)return _0x2d9ff8;let _0x49ad64='';for(const _0x5e32bf of _0x2d9ff8){if(_0x43b324(_0x49ad64+_0x5e32bf)>_0x56c796-0x1)break;_0x49ad64+=_0x5e32bf;}return _0x49ad64+'~';}function E(_0x4891c7,_0x4c27ff){const _0x58e7cf=_0x41a8;return _0x54a2c9(_0x36b7ba(_0x4891c7),Math[_0x58e7cf(0xf2)](0x1,_0x4c27ff),{'hard':!0x0,'trim':!0x1})['split']('\x0a');}function o(_0x4a8c25){const _0x2eae7c=_0x41a8;return typeof _0x4a8c25=='string'?_0x4a8c25:_0x4a8c25&&_0x2eae7c(0x110)in _0x4a8c25?[_0x4a8c25[_0x2eae7c(0x13a)]?_0x2eae7c(0xf1)+_0x4a8c25[_0x2eae7c(0x13a)]+')':null,_0x4a8c25[_0x2eae7c(0x110)],_0x4a8c25[_0x2eae7c(0x142)]][_0x2eae7c(0xf3)](Boolean)['join']('\x0a'):JSON[_0x2eae7c(0xd2)](_0x4a8c25,null,0x2);}function f(_0x1bc72d){const _0x4aeb8e=_0x41a8;return _0x1bc72d===_0x4aeb8e(0x118)?_0x4aeb8e(0xc4):_0x1bc72d===_0x4aeb8e(0xe8)?'Preparing\x20payment':_0x1bc72d===_0x4aeb8e(0xff)?'Cancelled':_0x1bc72d;}function w(_0x144999,_0x2e24fc){const _0x3968f4=_0x41a8;return _0x144999?_0x2e24fc===_0x3968f4(0x13e)?[_0x3968f4(0x11d),_0x3968f4(0x10c)]:_0x144999['jobId']?['[d]\x20Files','[s]\x20Save',..._0x144999[_0x3968f4(0x140)]===_0x3968f4(0x104)?[_0x3968f4(0x11c)]:[],'[m]\x20Actions']:[_0x144999[_0x3968f4(0xe2)]?_0x3968f4(0xec)+(_0x144999[_0x3968f4(0x111)]?_0x3968f4(0xea):_0x3968f4(0xef)):null,_0x144999[_0x3968f4(0x111)]?'[x]\x20Cancel':null,_0x3968f4(0x115)]['filter'](Boolean):[];}function b(_0x27a5b5){const _0x56f35d=_0x41a8,_0x15cf99=_0x27a5b5[_0x56f35d(0xe5)][_0x56f35d(0x144)](_0x4a2e8f=>_0x4a2e8f['id']===_0x27a5b5[_0x56f35d(0x12f)]),_0x3d20c4=_0x27a5b5[_0x56f35d(0x125)];if(_0x27a5b5['detailLoading']&&!(_0x27a5b5[_0x56f35d(0xfb)]===_0x56f35d(0xd8)&&_0x3d20c4))return _0x56f35d(0x138);if(!_0x3d20c4)return _0x56f35d(0xdf);if(_0x3d20c4['output']!==void 0x0)return o(_0x3d20c4[_0x56f35d(0x131)]);if(_0x27a5b5[_0x56f35d(0xfb)]===_0x56f35d(0xd8)){if(!_0x3d20c4[_0x56f35d(0x11e)])return _0x56f35d(0x13c);const _0x46257f=_0x3d20c4['address']===_0x27a5b5[_0x56f35d(0x103)];return(_0x46257f?_0x56f35d(0x129):_0x56f35d(0xfa))+_0x3d20c4[_0x56f35d(0x103)]+'\x0a\x0aNetwork:\x20'+_0x3d20c4[_0x56f35d(0xcf)]+(_0x3d20c4['source']===_0x56f35d(0x124)?'':_0x56f35d(0x12d))+_0x56f35d(0x10e)+(_0x27a5b5[_0x56f35d(0x136)]?_0x56f35d(0x133):_0x3d20c4[_0x56f35d(0x127)]?'Balances\x20unavailable:\x20'+_0x3d20c4[_0x56f35d(0x127)]:(_0x3d20c4[_0x56f35d(0x12c)]??[])[_0x56f35d(0xdd)](_0x5e14e8=>_0x5e14e8[_0x56f35d(0xed)]+':\x20'+_0x5e14e8[_0x56f35d(0x137)])[_0x56f35d(0x112)]('\x0a'))+_0x56f35d(0x141)+(_0x46257f?'':_0x56f35d(0x130))+_0x56f35d(0xc6);}if(_0x27a5b5[_0x56f35d(0xfb)]==='workers')return _0x3d20c4[_0x56f35d(0x113)]===_0x56f35d(0x121)?_0x27dfb4(_0x3d20c4):_0x3d20c4[_0x56f35d(0xe0)]?'Worker\x20not\x20deployed\x0a\x0a[m]\x20Open\x20worker\x20actions\x20to\x20deploy\x20the\x20official\x20release,\x20pair\x20a\x20wallet,\x20register,\x20and\x20install\x20its\x20service.':_0x3d20c4[_0x56f35d(0x131)]?o(_0x3d20c4[_0x56f35d(0x131)]):_0x56f35d(0x11b)+o(_0x3d20c4['service'])+_0x56f35d(0x100)+(_0x3d20c4[_0x56f35d(0x11f)]?o(_0x3d20c4[_0x56f35d(0x11f)]):_0x3d20c4[_0x56f35d(0xf4)]??'Not\x20available')+'\x0a\x0a[m]\x20Worker\x20actions\x20·\x20[l]\x20Logs\x20·\x20[g]\x20Diagnostics';if(_0x27a5b5[_0x56f35d(0x116)]===_0x56f35d(0x147)){if(!_0x15cf99?.[_0x56f35d(0x107)])return _0x3d20c4[_0x56f35d(0xe1)]?_0x56f35d(0x105):_0x56f35d(0xfd);if(!_0x27a5b5[_0x56f35d(0xeb)])return _0x56f35d(0xda);const _0x4c4755=_0x27a5b5[_0x56f35d(0xeb)][_0x56f35d(0xc8)]??[];return _0x56f35d(0x128)+(_0x4c4755['length']?_0x4c4755['map'](_0x46d445=>_0x46d445['path']+'\x0a'+_0x46d445[_0x56f35d(0xd0)]+'\x20bytes\x20\xB7\x20'+_0x46d445[_0x56f35d(0xfe)]+'\x0a'+_0x46d445[_0x56f35d(0x120)])[_0x56f35d(0x112)]('\x0a\x0a')+_0x56f35d(0x12e):_0x56f35d(0xcc)+_0x27a5b5[_0x56f35d(0xeb)][_0x56f35d(0x140)]);}if(_0x27a5b5[_0x56f35d(0x116)]===_0x56f35d(0xd1))return _0x3d20c4[_0x56f35d(0xe1)]?_0x56f35d(0xe3)+_0x3d20c4[_0x56f35d(0xe1)]+_0x56f35d(0x106):_0x3d20c4['funding']?_0x56f35d(0xc9)+_0x3d20c4[_0x56f35d(0xe8)]['steps'][_0x56f35d(0xdd)](_0x3c986a=>_0x3c986a[_0x56f35d(0x113)][_0x56f35d(0x101)]('_','\x20')+':\x20'+(_0x3c986a['status']??_0x56f35d(0xdc))+(_0x3c986a['hash']?'\x0a'+_0x3c986a[_0x56f35d(0xd5)]:''))[_0x56f35d(0x112)]('\x0a\x0a'):'EXECUTION\x0a\x0a'+(_0x3d20c4[_0x56f35d(0xf7)]?.[_0x56f35d(0x109)]?_0x3d20c4[_0x56f35d(0xf7)][_0x56f35d(0xdd)](_0x453c48=>_0x453c48[_0x56f35d(0xee)]+':\x20'+_0x453c48[_0x56f35d(0x140)]+_0x56f35d(0xd7)+_0x453c48[_0x56f35d(0x139)]+(_0x453c48[_0x56f35d(0xc5)]?_0x56f35d(0xe9)+_0x453c48[_0x56f35d(0xc5)][_0x56f35d(0x102)]:''))['join']('\x0a\x0a'):_0x56f35d(0x13f))+(_0x3d20c4[_0x56f35d(0x123)]?.[_0x56f35d(0x109)]?'\x0a\x0aREVIEWS\x0a'+o(_0x3d20c4['reviews']):'');const _0xe645c9=['YOUR\x20REQUEST',_0x3d20c4[_0x56f35d(0xc7)]??_0x15cf99?.[_0x56f35d(0x12b)]??'','',_0x56f35d(0x10a)+f(_0x3d20c4[_0x56f35d(0x140)]??_0x3d20c4[_0x56f35d(0x102)]??_0x15cf99?.['state']??_0x56f35d(0x146))];_0x3d20c4[_0x56f35d(0x10f)]&&_0xe645c9['push'](_0x56f35d(0x122)+_0x3d20c4[_0x56f35d(0x10f)]),_0x3d20c4[_0x56f35d(0x10b)]&&_0xe645c9['push']('Project:\x20'+_0x3d20c4[_0x56f35d(0x10b)]['id']),_0x3d20c4[_0x56f35d(0x12a)]&&_0xe645c9[_0x56f35d(0x13b)](_0x56f35d(0xcb)+_0x3d20c4[_0x56f35d(0x12a)]),_0x3d20c4[_0x56f35d(0xde)]&&_0xe645c9['push'](_0x56f35d(0xd6)+_0x3d20c4[_0x56f35d(0xde)]);const _0x4e5af0=_0x3d20c4[_0x56f35d(0x114)]??_0x15cf99?.['paymentChain'];return _0x4e5af0&&_0xe645c9[_0x56f35d(0x13b)](_0x56f35d(0xd4)+(_0x4e5af0===_0x56f35d(0x145)?_0x56f35d(0xfc):'Ethereum')),_0x3d20c4[_0x56f35d(0xe8)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x135),_0x56f35d(0x119)+_0x3d20c4[_0x56f35d(0xe8)]['coin'],'Maximum\x20debit:\x20'+_0x3d20c4[_0x56f35d(0xe8)][_0x56f35d(0xf0)],'Network\x20fee\x20cap:\x20'+_0x3d20c4[_0x56f35d(0xe8)][_0x56f35d(0xd9)]+_0x56f35d(0xf5),_0x56f35d(0xe4)),_0x3d20c4[_0x56f35d(0xdb)]&&_0xe645c9['push']('',_0x56f35d(0x108),o(_0x3d20c4[_0x56f35d(0xdb)])),_0x3d20c4[_0x56f35d(0x117)]&&_0xe645c9[_0x56f35d(0x13b)]('','LAUNCH',o(_0x3d20c4['launch'])),_0x3d20c4[_0x56f35d(0x13d)]?.[_0x56f35d(0x109)]&&_0xe645c9['push']('','REFUSED',..._0x3d20c4[_0x56f35d(0x13d)][_0x56f35d(0xdd)](_0xea9763=>_0xea9763['detail']??_0xea9763['code'])),_0x3d20c4[_0x56f35d(0xcd)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x11a),_0x3d20c4[_0x56f35d(0xcd)]),_0x3d20c4['orderId']&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x134)+_0x3d20c4[_0x56f35d(0x132)]),_0x3d20c4[_0x56f35d(0xe6)]&&_0xe645c9['push']('Transaction:\x20'+_0x3d20c4[_0x56f35d(0xe6)]),_0x15cf99?.[_0x56f35d(0x107)]?_0x27a5b5['view']==='tasks'&&_0xe645c9['push']('',_0x56f35d(0x143),_0x56f35d(0xf8)):_0x3d20c4['cancelledAt']?_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0xce),_0x56f35d(0xca)):(_0x15cf99?.[_0x56f35d(0xe2)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x15cf99[_0x56f35d(0x111)]?_0x56f35d(0x126):_0x56f35d(0xf9)),_0x15cf99?.[_0x56f35d(0x111)]&&_0xe645c9['push'](_0x56f35d(0xf6)),!_0x15cf99?.['canCancel']&&_0x15cf99?.[_0x56f35d(0xd3)]&&_0xe645c9['push']('',_0x56f35d(0x10d))),_0xe645c9[_0x56f35d(0x112)]('\x0a');}export{_0x36b7ba as clean,b as detailText,E as lines,o as outputText,g as short,f as statusLabel,w as taskActions};
|