supercolony 0.1.1 → 0.1.3

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/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 _0x1c7467=_0x18ab;function _0x18ab(_0xdd5757,_0x464a34){_0xdd5757=_0xdd5757-0xa1;const _0x18ab1d=_0x464a();let _0x46afe8=_0x18ab1d[_0xdd5757];return _0x46afe8;}function _0x464a(){const _0x294c4c=['wallet','Support\x20recipient:\x20','nextField','WORKERS','leftArrow','WALLET\x20DETAILS\x20·\x20selected\x20wallet','column','max','showError','logs','slice','s\x20save\x20QR\x20·\x20Esc\x20back','\x20·\x20i\x20details','converted','useSelectedWallet','filter','[n]\x20New\x20task','deliverables','receive','\x20wallets','repeat','shift','privateKey','Max\x20debit:\x20','objective','addTarget','push','No\x20matching\x20items.','[>]','Convert\x20&\x20publish','Item\x20','field','refresh','tasks','\x20IMD\x20(fee\x20','chooseMenu','Workers','Pay\x20with:\x20','total','Network:\x20','red','columns','dismissForm','\x20entries\x20·\x20Mine\x20+\x20Network','Optional\x20support:\x20','accepted','Help\x20us\x20make\x20Colony\x20better.','challenged','[e]\x20Error\x20details','Not\x20deployed','Admission\x20payment\x20only.\x20Completion\x20is\x20not\x20guaranteed.','cursor','join','explore','Pay\x20to:\x20','SERVER\x20PREPARED\x20INPUT','Loading\x20history...','walletNetworkMenu','paymentCoins','reduce','split','Activity','workerMenu','pageDown','\x20+\x20support\x20','fields','respond','rightArrow','detail','black','Mine\x20·\x20','secret','coin','startsWith','Wallets','Refreshing\x20tasks...','Resize\x20to\x20at\x20least\x20','Fee\x20','downArrow','workers','[n]\x20New\x20wallet\x20\x20[i]\x20Import\x20wallet','notice','Work','then','form','rows','expanded','maximumDebit','[r]\x20Refresh','query','blocked','\x20columns\x20and\x20','cancelLabel','Pay\x20','\x20IMD','address','managed-worker','Keyboard\x20shortcuts','Up/down\x20select\x20·\x20Enter\x20open\x20·\x20Esc\x20back','\x20ETH','Preparing\x20local\x20LLM','map','Conversion\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','hidden','Tip:\x20Resume\x20unpaid\x20tasks\x20in\x20My\x20tasks.','[\x20]\x20tabs','walletReceive','Receive\x20on\x20','IMD','autoRefresh','cancelRequest','gray','Loading...','kind','Estimated\x20payment:\x20','\x20tasks','Order:\x20','[f]\x20Filter','\x20(includes\x20gas)','Maximum\x20debit:\x20','COLONY','Choose\x20','amount','Tip:\x20Your\x20local\x20LLM\x20has\x20no\x20API\x20fees.','view','menu','yellow','Tip:\x20Review\x20the\x20price\x20before\x20paying.','workerCommand','selected','next','title','tab','configured','state','Esc\x20back','Tab\x20choose\x20·\x20Enter\x20confirm\x20·\x20Esc\x20cancel\x20·\x20PgDn\x20scroll','changeTab','asset','close','Tip:\x20Describe\x20a\x20task\x20in\x20plain\x20English.','confirm','installed','setField','No\x20tasks\x20yet.\x20Press\x20n\x20to\x20create\x20one.','expired','cyan','refreshError','Quote\x20expires:\x20','submit','[l]\x20Logs','End\x20of\x20history','en-US','values','networkFeeCap','Conversion\x20already\x20confirmed;\x20reviewed\x20limit:\x20','label','Overview','Included\x20gas\x20cap:\x20','payment_failed','name','PgUp/PgDn\x20scroll','payWith','subscribe','files','doctor','busy','escape','acceptLabel','length','expiresAt','[/]\x20Search','pageUp','upArrow','Tip:\x20Colony\x20handles\x20task\x20settings.','payTo','privateKeyView','walletSetup','error','Review\x20the\x20official\x20fee\x20before\x20paying.','cancelled','cyclePaymentCoin','ETH','navigate','refreshing','Wallet:\x20','green','move','list','\x20·\x20Tab\x20switch\x20field\x20·\x20Esc\x20cancel','estimatedAmount','taskMenu','minimumImd','single','\x20results\x20loaded','payment','COLONY\x20\x20get\x20things\x20done.','update','Confirm','\x20items\x20·\x20','[+]','modelProgress','Read\x20only','scroll','\x20/\x20','dismissMenu','Private\x20key','lines','Convert\x20at\x20most:\x20','submitForm','getSnapshot','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.','********','Mine','IMD\x20for\x20this\x20task:\x20','search','PgUp/PgDn\x20scroll\x20·\x20Esc\x20back','subtitle','space-between','min','white','truncate-end','note','WALLETS','Could\x20not\x20load\x20items.\x20Press\x20r\x20to\x20retry.','Cancel\x20/\x20edit','My\x20tasks','Enter/Tab\x20details','floor','\x20IMD\x20&\x20publish','Support\x20is\x20sent\x20first;\x20no\x20refund\x20if\x20admission\x20fails.\x20Task\x20completion\x20is\x20not\x20guaranteed.','Files','Esc/Tab\x20list','support','ctrl','Resize\x20to\x20at\x20least\x2040\x20columns\x20and\x2020\x20rows.','No\x20wallets\x20yet.\x20Press\x20n\x20to\x20create\x20or\x20i\x20to\x20import.','toLocaleString','focus','\x20in\x20the\x20sending\x20wallet.','prepared','items','terminal','funding','Total\x20','chainName','return','help','walletImport','Extra\x20gas\x20cap:\x20','1234','\x20+\x20ETH\x20gas'];_0x464a=function(){return _0x294c4c;};return _0x464a();}import{createElement as _0x3cbde5,useEffect as _0x4ac2e1,useState as _0x2f01f1,useSyncExternalStore as _0x436e2d}from'react';import{Box as _0x1ca7cf,Text as _0x1527ca,useApp as _0x54fcda,useInput as _0x33b2dd,useWindowSize as _0x24cd84}from'ink';import _0x5080ff from'ink-text-input';import _0x23cd07 from'string-width';import{visibleItems as _0x115d17,VIEWS as _0x53e1ba}from'./controller.mjs';import{clean as _0x4f996d,detailText as _0x36248f,lines as _0x5ab3d2,short as _0x58d069,statusLabel as _0x15edda,taskActions as _0x78a209}from'./presentation.mjs';import{modelProgressLines as _0x4a61c3}from'../planner/progress.mjs';const le={'topLeft':'+','top':'-','topRight':'+','right':'|','bottomRight':'+','bottom':'-','bottomLeft':'+','left':'|'},ce={'tasks':_0x1c7467(0x183),'explore':'Explore','workers':_0x1c7467(0xc5),'wallet':_0x1c7467(0xeb)},j=[_0x1c7467(0x12d),_0x1c7467(0x14f),_0x1c7467(0x11c),_0x1c7467(0x120),_0x1c7467(0x109)],de=_0x4f1f54=>_0x4f1f54===_0x1c7467(0x155)?_0x1c7467(0x110):_0x4f1f54==='completed'?_0x1c7467(0x15b):[_0x1c7467(0xd0),_0x1c7467(0xfb),'refused',_0x1c7467(0x140),_0x1c7467(0x132)]['includes'](_0x4f1f54)?_0x1c7467(0x11f):'cyan',r=(_0x2cc63e,_0x2c88b2={})=>_0x3cbde5(_0x1527ca,_0x2c88b2,_0x4f996d(_0x2cc63e));function V({label:_0x4b708f}){const _0x181dbf=_0x1c7467,[_0x5dd8fa,_0x293d44]=_0x2f01f1(0x0);return _0x4ac2e1(()=>{const _0x58f108=setInterval(()=>_0x293d44(_0x59be7f=>(_0x59be7f+0x1)%0x4),0x96);return()=>clearInterval(_0x58f108);},[]),r(['|','/','-','\x5c'][_0x5dd8fa]+'\x20'+_0x4b708f,{'color':'cyan','wrap':_0x181dbf(0x17e)});}function C({title:_0x2df80a,width:_0x210a18,height:_0x2ae9df,ascii:_0x13f922,active:_0x2a3072,children:_0x4bd54e}){const _0x38c69e=_0x1c7467;return _0x3cbde5(_0x1ca7cf,{'width':_0x210a18,'height':_0x2ae9df,'flexDirection':_0x38c69e(0xa7),'borderStyle':_0x13f922?le:_0x38c69e(0x162),'borderColor':_0x2a3072?_0x38c69e(0x133):_0x38c69e(0x110),'paddingX':0x1,'flexShrink':0x0,'overflow':_0x38c69e(0x108)},r(_0x2df80a,{'color':_0x2a3072?'cyan':void 0x0,'dimColor':!_0x2a3072}),_0x4bd54e);}function T(_0x1486b5,_0x268256){const _0x5ef4a3=_0x1c7467,_0x394377=[];for(const _0x16fdb4 of _0x1486b5){const _0x5a4ea6=_0x394377[_0x5ef4a3(0x14a)]-0x1;_0x5a4ea6>=0x0&&_0x23cd07(_0x394377[_0x5a4ea6]+'\x20\x20'+_0x16fdb4)<=_0x268256?_0x394377[_0x5a4ea6]+='\x20\x20'+_0x16fdb4:_0x394377[_0x5ef4a3(0xbb)](_0x16fdb4);}return _0x394377;}function F({rows:_0x586f05,width:_0x3a5773,ascii:_0x245240}){const _0x1368e7=_0x1c7467;return _0x586f05[_0x1368e7(0x14a)]?_0x3cbde5(_0x1ca7cf,{'flexDirection':'column','flexShrink':0x0},r((_0x245240?'-':'\u2500')[_0x1368e7(0xb5)](_0x3a5773),{'dimColor':!0x0}),..._0x586f05['map']((_0x2a4a0a,_0x273534)=>r(_0x2a4a0a,{'key':_0x273534,'color':_0x1368e7(0x133),'bold':!0x0}))):null;}function ue({event:_0x4926b5,width:_0x45de64,height:_0xef2e9,ascii:_0x5c838a}){const _0x47cb9e=_0x1c7467,_0x40b290=_0x4a61c3(_0x4926b5,{'width':_0x45de64-0x4,'compact':!0x0})[_0x47cb9e(0xab)](0x2);return _0x3cbde5(C,{'title':_0x47cb9e(0x105),'width':_0x45de64,'height':_0xef2e9,'ascii':_0x5c838a,'active':!0x0},_0x3cbde5(_0x1ca7cf,{'flexDirection':'column'},..._0x40b290[_0x47cb9e(0x106)]((_0x28214f,_0x3864a5)=>_0x28214f[_0x47cb9e(0xea)](_0x47cb9e(0xbd))?_0x3cbde5(V,{'key':_0x3864a5,'label':_0x28214f[_0x47cb9e(0xab)](0x4)}):r(_0x28214f||'\x20',{'key':_0x3864a5,'color':_0x28214f['startsWith'](_0x47cb9e(0x169))?_0x47cb9e(0x15b):_0x47cb9e(0x133)}))),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}));}function N({content:_0x594d8d,width:_0x3c83a4,height:_0x466852,offset:_0x5accc1}){const _0x3114cd=_0x1c7467,_0x40fb9d=_0x5ab3d2(_0x594d8d,_0x3c83a4),_0x20da2f=Math[_0x3114cd(0x17c)](_0x5accc1,Math[_0x3114cd(0xa8)](0x0,_0x40fb9d['length']-_0x466852));return _0x3cbde5(_0x1ca7cf,{'flexDirection':_0x3114cd(0xa7),'height':_0x466852,'overflow':_0x3114cd(0x108)},..._0x40fb9d[_0x3114cd(0xab)](_0x20da2f,_0x20da2f+_0x466852)[_0x3114cd(0x106)]((_0x4a7754,_0x574696)=>r(_0x4a7754||'\x20',{'key':_0x574696})));}function Q({state:_0x232571,height:_0x2dda50,width:_0x13f49b,ascii:_0x5af57e}){const _0x32f18e=_0x1c7467,_0x1bf7e1=_0x115d17(_0x232571),_0x32c3a0=_0x232571[_0x32f18e(0x11d)]===_0x32f18e(0xd6),_0x238eca=_0x232571[_0x32f18e(0x11d)]==='tasks'?['[n]\x20New\x20task',_0x32f18e(0x14c),_0x32f18e(0x116),'[r]\x20Refresh']:_0x32c3a0?[_0x32f18e(0xb1),_0x32f18e(0x14c),_0x32f18e(0xf9)]:_0x232571[_0x32f18e(0x11d)]==='workers'?['[a]\x20Add\x20target',_0x32f18e(0x14c),_0x32f18e(0xf9)]:[];_0x232571[_0x32f18e(0x11d)]!==_0x32f18e(0xa1)&&(_0x232571[_0x32f18e(0x153)]||_0x232571['refreshError'])&&_0x238eca[_0x32f18e(0xbb)](_0x32f18e(0xd1));const _0x3d3490=T(_0x238eca,_0x13f49b),_0x558890=_0x32c3a0?_0x232571[_0x32f18e(0xc7)]:_0x1bf7e1[_0x32f18e(0x14a)],_0x4e911b=_0x32c3a0?_0x558890===null?_0x1bf7e1[_0x32f18e(0x14a)]+_0x32f18e(0x163):_0x558890[_0x32f18e(0x18e)](_0x32f18e(0x139))+(_0x558890===0x1?'\x20task':_0x32f18e(0x114)):_0x1bf7e1[_0x32f18e(0x14a)]+(_0x232571[_0x32f18e(0x11d)]===_0x32f18e(0xa1)?_0x32f18e(0xb4):_0x232571[_0x32f18e(0x11d)]===_0x32f18e(0xf0)?_0x32f18e(0xcc):_0x32f18e(0x168)+_0x232571[_0x32f18e(0xb0)]),_0x294bc8=_0x558890===null?_0x32f18e(0xbf)+(_0x232571[_0x32f18e(0x122)]+0x1):_0x232571[_0x32f18e(0x122)]+0x1+'/'+_0x558890['toLocaleString'](_0x32f18e(0x139)),_0xbe3368=_0x32c3a0&&_0x232571[_0x32f18e(0x122)]===_0x1bf7e1['length']-0x1;let _0x5660f9='up/down';_0xbe3368&&(_0x232571[_0x32f18e(0x147)]?_0x5660f9=_0x32f18e(0xd9):_0x232571[_0x32f18e(0x153)]&&_0x232571[_0x32f18e(0xd4)]?_0x5660f9='l\x20retry\x20history':_0x5660f9=_0x232571[_0x32f18e(0xd4)]?'down\x20loads\x20more':_0x32f18e(0x138));const _0x4b54e7=_0x1bf7e1['length']?T([_0x294bc8,_0x5660f9,_0x32f18e(0x184)],_0x13f49b):[],_0x51215e=_0x3d3490['length']?_0x3d3490[_0x32f18e(0x14a)]+0x1:0x0,_0xc6730a=Math['max'](0x1,Math[_0x32f18e(0x185)]((_0x2dda50-0x4-_0x4b54e7[_0x32f18e(0x14a)]-_0x51215e)/0x3)),_0xf7466e=Math[_0x32f18e(0xa8)](0x0,Math[_0x32f18e(0x17c)](_0x232571[_0x32f18e(0x122)]-Math[_0x32f18e(0x185)](_0xc6730a/0x2),_0x1bf7e1[_0x32f18e(0x14a)]-_0xc6730a));return _0x3cbde5(_0x1ca7cf,{'flexDirection':_0x32f18e(0xa7),'flexGrow':0x1},r(_0x4e911b,{'dimColor':!0x0}),..._0x1bf7e1['slice'](_0xf7466e,_0xf7466e+_0xc6730a)[_0x32f18e(0x106)]((_0x2a3e9c,_0x43dba4)=>_0x3cbde5(_0x1ca7cf,{'key':_0x2a3e9c['id'],'flexDirection':'column'},r((_0x232571[_0x32f18e(0x122)]===_0xf7466e+_0x43dba4?'>\x20':'\x20\x20')+_0x58d069((_0x2a3e9c[_0x32f18e(0x112)]===_0x32f18e(0x101)?_0x32f18e(0xe7):'')+_0x2a3e9c[_0x32f18e(0x124)],_0x13f49b-0x2),{'inverse':_0x232571['selected']===_0xf7466e+_0x43dba4,'bold':_0x232571['selected']===_0xf7466e+_0x43dba4}),r('\x20\x20'+_0x58d069(_0x2a3e9c[_0x32f18e(0x17a)]??_0x15edda(_0x2a3e9c[_0x32f18e(0x127)])??(_0x2a3e9c[_0x32f18e(0x12f)]?'Deployed\x20\xB7\x20status\x20on\x20selection':_0x32f18e(0xd2)),_0x13f49b-0x2),{'color':de(_0x2a3e9c[_0x32f18e(0x127)])}),r((_0x5af57e?'-':'\u2500')['repeat'](_0x13f49b),{'dimColor':!0x0}))),_0x1bf7e1['length']===0x0?r(_0x232571[_0x32f18e(0x147)]?_0x32f18e(0x111):_0x232571['error']?_0x32f18e(0x181):_0x232571[_0x32f18e(0x11d)]==='wallet'?_0x32f18e(0x18d):_0x232571[_0x32f18e(0x11d)]===_0x32f18e(0xc2)?_0x32f18e(0x131):_0x32f18e(0xbc),{'dimColor':!0x0}):null,_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),..._0x4b54e7[_0x32f18e(0x106)]((_0x5bb6ea,_0x9cc6ff)=>r(_0x5bb6ea,{'key':_0x9cc6ff,'dimColor':!0x0})),_0x3cbde5(F,{'rows':_0x3d3490,'width':_0x13f49b,'ascii':_0x5af57e}));}function fe({state:_0x13d10c,width:_0x48ed35,height:_0x590fbb,ascii:_0x3f7b2a,narrow:_0x3c6a7e}){const _0x508ff0=_0x1c7467,_0x21ff32=_0x3c6a7e?_0x48ed35:Math[_0x508ff0(0x185)](_0x48ed35*0.43),_0x4d3a26=_0x3c6a7e?_0x48ed35:_0x48ed35-_0x21ff32-0x1,_0x4a67b3=0x5,_0x1b22a1=_0x590fbb-_0x4a67b3,_0x4dc815=_0x13d10c['detail']?.[_0x508ff0(0x126)]?['[m]\x20Actions',_0x508ff0(0xf9)]:[_0x508ff0(0xf9)];(_0x13d10c[_0x508ff0(0x153)]||_0x13d10c[_0x508ff0(0x134)])&&_0x4dc815['push'](_0x508ff0(0xd1));const _0x542c34=T(_0x4dc815,_0x4d3a26-0x4),_0x5a08c9=T([_0x508ff0(0x189),_0x508ff0(0x142)],_0x4d3a26-0x4),_0x2c32da=_0x3cbde5(C,{'title':_0x508ff0(0x180),'width':_0x21ff32,'height':_0x3c6a7e?_0x1b22a1:_0x590fbb,'ascii':_0x3f7b2a,'active':_0x13d10c[_0x508ff0(0x18f)]===_0x508ff0(0x15d)},_0x3cbde5(Q,{'state':_0x13d10c,'height':_0x3c6a7e?_0x1b22a1:_0x590fbb,'width':_0x21ff32-0x4,'ascii':_0x3f7b2a})),_0x2ad477=_0x3cbde5(C,{'title':_0x508ff0(0xa6),'width':_0x4d3a26,'height':_0x1b22a1,'ascii':_0x3f7b2a,'active':_0x13d10c[_0x508ff0(0x18f)]===_0x508ff0(0xe5)},_0x3cbde5(N,{'content':_0x36248f(_0x13d10c),'width':_0x4d3a26-0x4,'height':_0x1b22a1-0x4-_0x5a08c9[_0x508ff0(0x14a)]-_0x542c34[_0x508ff0(0x14a)],'offset':_0x13d10c['scroll']}),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),..._0x5a08c9[_0x508ff0(0x106)]((_0x28fd03,_0x512853)=>r(_0x28fd03,{'key':_0x512853,'dimColor':!0x0})),_0x3cbde5(F,{'rows':_0x542c34,'width':_0x4d3a26-0x4,'ascii':_0x3f7b2a})),_0x515583=_0x3cbde5(C,{'title':'WALLET\x20MANAGEMENT\x20\xB7\x20'+(_0x13d10c[_0x508ff0(0xe5)]?.['chainName']??_0x508ff0(0x111)),'width':_0x4d3a26,'height':_0x4a67b3,'ascii':_0x3f7b2a,'active':!0x1},r(_0x508ff0(0xf1)),r('[g]\x20Manage\x20wallets\x20\x20[p]\x20Network'));return _0x3c6a7e?_0x3cbde5(_0x1ca7cf,{'flexDirection':_0x508ff0(0xa7),'width':_0x48ed35,'height':_0x590fbb},_0x13d10c[_0x508ff0(0x18f)]===_0x508ff0(0x15d)?_0x2c32da:_0x2ad477,_0x515583):_0x3cbde5(_0x1ca7cf,{'width':_0x48ed35,'height':_0x590fbb,'gap':0x1},_0x2c32da,_0x3cbde5(_0x1ca7cf,{'width':_0x4d3a26,'flexDirection':_0x508ff0(0xa7)},_0x2ad477,_0x515583));}function me({controller:_0xd0d59,state:_0x267f56,width:_0x47854e,height:_0x455fe0,ascii:_0x5f156e}){const _0x4b697a=_0x1c7467,_0x9b87c4=_0x267f56[_0x4b697a(0xf5)],_0x59f63d=_0x9b87c4[_0x4b697a(0xe2)][_0x9b87c4['field']],_0x2beec5=_0x9b87c4[_0x4b697a(0xe2)]['slice'](0x0,_0x9b87c4[_0x4b697a(0xc0)])['map'](_0x44a58=>_0x44a58[_0x4b697a(0x13d)]+':\x20'+(_0x44a58[_0x4b697a(0xe8)]?_0x4b697a(0x175):_0x9b87c4[_0x4b697a(0x13a)][_0x44a58[_0x4b697a(0x141)]]));return _0x3cbde5(C,{'title':_0x9b87c4[_0x4b697a(0x124)],'width':_0x47854e,'height':_0x455fe0,'ascii':_0x5f156e,'active':!0x0},_0x3cbde5(_0x1ca7cf,{'marginTop':0x1,'flexDirection':_0x4b697a(0xa7)},_0x9b87c4[_0x4b697a(0xdb)]?r(_0x4b697a(0xc6)+_0x9b87c4[_0x4b697a(0xdb)][_0x4b697a(0x106)](_0x41ba80=>_0x41ba80===_0x9b87c4[_0x4b697a(0x143)]?'['+_0x41ba80+']':_0x41ba80)[_0x4b697a(0xd5)]('\x20')+'\x20\xB7\x20up/down\x20change',{'color':_0x4b697a(0x133)}):null,..._0x2beec5[_0x4b697a(0x106)]((_0x4f25aa,_0x3330fc)=>r(_0x58d069(_0x4f25aa,_0x47854e-0x6),{'key':_0x3330fc,'dimColor':!0x0})),r(_0x59f63d[_0x4b697a(0x13d)],{'bold':!0x0}),_0x3cbde5(_0x1ca7cf,{'marginTop':0x1,'minHeight':0x2,'maxHeight':Math['max'](0x2,_0x455fe0-0x9),'overflow':'hidden'},r('>\x20',{'color':_0x4b697a(0x133)}),_0x3cbde5(_0x5080ff,{'key':_0x59f63d[_0x4b697a(0x141)],'value':_0x9b87c4[_0x4b697a(0x13a)][_0x59f63d[_0x4b697a(0x141)]],'placeholder':_0x59f63d['placeholder']??'','mask':_0x59f63d['secret']?'*':void 0x0,'onChange':_0x319f72=>_0xd0d59[_0x4b697a(0x130)](_0x319f72),'onSubmit':()=>_0x9b87c4['field']===_0x9b87c4['fields'][_0x4b697a(0x14a)]-0x1?void _0xd0d59[_0x4b697a(0x172)]():_0xd0d59[_0x4b697a(0xa3)]()})),r(_0x9b87c4['error']??'',{'color':'red'}),_0x9b87c4[_0x4b697a(0xdb)]?r(_0x4b697a(0x154),{'dimColor':!0x0}):null),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),r('Enter\x20'+(_0x9b87c4['field']===_0x9b87c4[_0x4b697a(0xe2)]['length']-0x1?_0x9b87c4[_0x4b697a(0x136)]:_0x4b697a(0x123))+_0x4b697a(0x15e),{'color':_0x4b697a(0x133),'wrap':_0x4b697a(0x17e)}));}function pe({state:_0x22b302,width:_0x19ae27,height:_0xb428b1,ascii:_0x468a6f}){const _0x2f4f15=_0x1c7467,_0x4163bf=_0x22b302[_0x2f4f15(0x12e)],_0x176f4f=_0x4163bf[_0x2f4f15(0x164)],_0x3b18a3=_0x176f4f?_0x176f4f[_0x2f4f15(0x18a)]?_0x2f4f15(0x195)+_0x176f4f[_0x2f4f15(0x18a)][_0x2f4f15(0xc7)]+_0x2f4f15(0xc3)+_0x176f4f[_0x2f4f15(0x11b)]+_0x2f4f15(0xe1)+_0x176f4f[_0x2f4f15(0x18a)][_0x2f4f15(0x11b)]+')':_0x2f4f15(0xee)+_0x176f4f[_0x2f4f15(0x11b)]+_0x2f4f15(0xff):null,_0x2b2842=_0x176f4f?.['funding']?_0x2f4f15(0xb8)+_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0xf8)]:null,_0x37915b=_0x176f4f?'Network:\x20'+_0x176f4f[_0x2f4f15(0x196)]:null,_0x309a66=_0x176f4f?.[_0x2f4f15(0x13b)]?(_0x176f4f[_0x2f4f15(0x194)]?.[_0x2f4f15(0xe9)]===_0x2f4f15(0x157)?_0x2f4f15(0x13f):_0x2f4f15(0x19a))+_0x176f4f[_0x2f4f15(0x13b)]+_0x2f4f15(0x104):null,_0x41d198=_0x176f4f?_0x176f4f[_0x2f4f15(0x18a)]?_0x2f4f15(0x187):_0x2f4f15(0xd3):null;let _0x56564f=_0x176f4f?_0x2f4f15(0xfe)+(_0x176f4f[_0x2f4f15(0x18a)]?.[_0x2f4f15(0xc7)]??_0x176f4f['amount'])+_0x2f4f15(0x186):'';_0x176f4f?.['funding']&&_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0xe9)]!==_0x2f4f15(0x10d)&&(_0x56564f=_0x176f4f['funding'][_0x2f4f15(0xae)]?'Continue\x20&\x20publish':_0x2f4f15(0xbe));const _0x4329cc=0x2+_0x5ab3d2(_0x4163bf[_0x2f4f15(0x124)]??'Review\x20saved\x20payment',_0x19ae27-0x4)[_0x2f4f15(0x14a)]+[_0x3b18a3,_0x2b2842,_0x37915b,_0x309a66,_0x41d198][_0x2f4f15(0xb0)](Boolean)[_0x2f4f15(0xdc)]((_0x1f5ca5,_0x2bf461)=>_0x1f5ca5+_0x5ab3d2(_0x2bf461,_0x19ae27-0x4)[_0x2f4f15(0x14a)],0x0)+(_0x19ae27<0x46?0x2:0x1)+0x1,_0x2fbdaa=_0x176f4f?['REQUEST',_0x176f4f[_0x2f4f15(0xb9)],'',..._0x176f4f[_0x2f4f15(0xb2)]['map'](_0x31856b=>'-\x20'+_0x31856b),'',..._0x176f4f[_0x2f4f15(0x18a)]?[_0x2f4f15(0xcf),_0x2f4f15(0xcd)+_0x176f4f['support'][_0x2f4f15(0x11b)]+_0x2f4f15(0xff),_0x2f4f15(0xa2)+_0x176f4f['support']['recipient'],'Support\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','']:[],..._0x176f4f[_0x2f4f15(0x194)]&&_0x176f4f[_0x2f4f15(0x194)]['coin']!==_0x2f4f15(0x10d)?[(_0x176f4f['funding']['converted']?_0x2f4f15(0x13c):_0x2f4f15(0x171))+_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0x11b)],..._0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0x15f)]&&!_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0xae)]?[_0x2f4f15(0x113)+_0x176f4f['funding'][_0x2f4f15(0x15f)]]:[],_0x2f4f15(0x118)+_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0xf8)]+(_0x176f4f['funding'][_0x2f4f15(0xe9)]===_0x2f4f15(0x157)?_0x2f4f15(0x117):_0x2f4f15(0x19c)),_0x2f4f15(0x177)+_0x176f4f[_0x2f4f15(0x194)][_0x2f4f15(0x161)],_0x2f4f15(0x107),'']:[],'Prices\x20and\x20fees\x20are\x20checked\x20again\x20when\x20you\x20continue.',..._0x4163bf[_0x2f4f15(0xf7)]?['','PAYMENT\x20DETAILS',_0x2f4f15(0x135)+_0x176f4f[_0x2f4f15(0x14b)],_0x2f4f15(0xc8)+_0x176f4f['network'],'Asset:\x20'+_0x176f4f[_0x2f4f15(0x12b)],_0x2f4f15(0xd7)+_0x176f4f[_0x2f4f15(0x150)],_0x2f4f15(0x115)+_0x176f4f['orderId'],'',_0x2f4f15(0xd8),JSON['stringify'](_0x176f4f[_0x2f4f15(0x191)],null,0x2)]:[]][_0x2f4f15(0xd5)]('\x0a'):_0x4163bf[_0x2f4f15(0x170)]['join']('\x0a');return _0x3cbde5(C,{'title':_0x4163bf['title']??'Review\x20saved\x20payment','width':_0x19ae27,'height':_0xb428b1,'ascii':_0x468a6f,'active':!0x0},_0x3b18a3?r(_0x3b18a3,{'color':'cyan','bold':!0x0}):null,_0x2b2842?r(_0x2b2842,{'color':_0x2f4f15(0x133),'bold':!0x0}):null,_0x37915b?r(_0x37915b,{'color':_0x2f4f15(0x133)}):null,_0x309a66?r(_0x309a66,{'color':'yellow'}):null,_0x3cbde5(N,{'content':_0x2fbdaa,'width':_0x19ae27-0x4,'height':Math['max'](0x0,_0xb428b1-_0x4329cc),'offset':_0x22b302[_0x2f4f15(0x16c)]}),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),_0x41d198?r(_0x41d198,{'color':_0x2f4f15(0x11f)}):null,_0x3cbde5(_0x1ca7cf,{'flexDirection':_0x19ae27<0x46?_0x2f4f15(0xa7):'row','gap':_0x19ae27<0x46?0x0:0x3},r('[\x20'+(_0x4163bf[_0x2f4f15(0xfd)]??(_0x176f4f?_0x2f4f15(0x182):'Cancel'))+'\x20]',{'inverse':!_0x4163bf[_0x2f4f15(0xce)]}),r('[\x20'+(_0x176f4f?_0x56564f:_0x4163bf[_0x2f4f15(0x149)]??_0x2f4f15(0x167))+'\x20]',{'inverse':_0x4163bf['accepted'],'color':_0x2f4f15(0x133)})),r(_0x2f4f15(0x129)+(_0x176f4f?_0x2f4f15(0xad):''),{'dimColor':!0x0,'wrap':_0x2f4f15(0x17e)}));}function he({state:_0x14d219,width:_0x5dc158,height:_0x160071,ascii:_0x35816e}){const _0x12cf06=_0x1c7467,_0x1f8ff9=_0x14d219[_0x12cf06(0x11e)],_0x4326c7=Math[_0x12cf06(0xa8)](0x1,_0x160071-0x5),_0x1a14f6=Math[_0x12cf06(0xa8)](0x0,Math[_0x12cf06(0x17c)](_0x1f8ff9[_0x12cf06(0x122)]-Math[_0x12cf06(0x185)](_0x4326c7/0x2),_0x1f8ff9['items'][_0x12cf06(0x14a)]-_0x4326c7));return _0x3cbde5(C,{'title':_0x1f8ff9['title'],'width':_0x5dc158,'height':_0x160071,'ascii':_0x35816e,'active':!0x0},..._0x1f8ff9[_0x12cf06(0x192)][_0x12cf06(0xab)](_0x1a14f6,_0x1a14f6+_0x4326c7)['map']((_0x22659e,_0x1f583b)=>r((_0x1a14f6+_0x1f583b===_0x1f8ff9[_0x12cf06(0x122)]?'>\x20':'\x20\x20')+_0x22659e[_0x12cf06(0x13d)],{'key':_0x1f583b,'inverse':_0x1a14f6+_0x1f583b===_0x1f8ff9['selected']})),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),r(_0x12cf06(0x103),{'dimColor':!0x0}));}const ge=_0x1c7467(0x174);function Me({controller:_0x361724,ascii:_0x2016b8=!0x1,dimensions:_0x43b761,terminal:_0x34543e,feedback:_0x53da15}){const _0x4e7361=_0x1c7467,_0xa52843=_0x436e2d(_0x361724[_0x4e7361(0x144)],_0x361724[_0x4e7361(0x173)]),[_0x5c3d8b,_0x194dd1]=_0x2f01f1(0x0);_0x4ac2e1(()=>{const _0x19d7fc=setInterval(()=>_0x194dd1(_0x32f791=>(_0x32f791+0x1)%j['length']),0x4e20);return()=>clearInterval(_0x19d7fc);},[]);const _0x4ec282=_0xa52843['error']??_0xa52843[_0x4e7361(0x134)],_0x2613e2=_0x24cd84(),_0x96cf32=_0x43b761??_0x2613e2,_0x594f1a=_0x96cf32[_0x4e7361(0xca)],_0x4029f4=Math[_0x4e7361(0xa8)](0x8,_0x96cf32[_0x4e7361(0xf6)]-0x1),_0xe6ccbc=_0x594f1a<0x64,{exit:_0x1fab9d}=_0x54fcda();if(_0x4ac2e1(()=>(_0x361724[_0x4e7361(0x193)]=_0x34543e,_0x361724[_0x4e7361(0xc1)]()[_0x4e7361(0xf4)](()=>{const _0xf80766=_0x4e7361;_0x53da15&&_0x361724[_0xf80766(0x166)](_0x53da15);}),()=>_0x361724[_0x4e7361(0x12c)]()),[_0x361724,_0x34543e,_0x53da15]),_0x4ac2e1(()=>{const _0x52d246=setInterval(()=>{const _0x5ef411=_0x18ab;_0x361724[_0x5ef411(0x10e)]();},0x1388);return()=>clearInterval(_0x52d246);},[_0x361724]),_0x33b2dd((_0x52e7cc,_0x100a22)=>{const _0x58f43e=_0x4e7361;if(_0x100a22[_0x58f43e(0x18b)]&&_0x52e7cc==='c'){_0x361724[_0x58f43e(0x12c)](),_0x1fab9d();return;}if(_0xa52843[_0x58f43e(0x151)]){_0x100a22[_0x58f43e(0x148)]&&_0x361724['update']({'privateKeyView':null});return;}if(_0x594f1a<0x28||_0x96cf32[_0x58f43e(0xf6)]<0x14){_0xa52843[_0x58f43e(0xb3)]?_0x100a22['escape']&&_0x361724[_0x58f43e(0x166)]({'receive':null}):_0x52e7cc==='q'&&(_0x361724[_0x58f43e(0x12c)](),_0x1fab9d());return;}if(_0xa52843[_0x58f43e(0x12e)]){_0x100a22['escape']?_0x361724[_0x58f43e(0xe3)](!0x1):_0x100a22[_0x58f43e(0x125)]||_0x100a22[_0x58f43e(0xa5)]||_0x100a22[_0x58f43e(0xe4)]?_0x361724['update']({'confirm':{..._0xa52843[_0x58f43e(0x12e)],'accepted':!_0xa52843['confirm'][_0x58f43e(0xce)]}}):_0x100a22[_0x58f43e(0x197)]?_0x361724[_0x58f43e(0xe3)](_0xa52843[_0x58f43e(0x12e)][_0x58f43e(0xce)]):_0x52e7cc==='i'?_0x361724[_0x58f43e(0x166)]({'confirm':{..._0xa52843[_0x58f43e(0x12e)],'expanded':!_0xa52843[_0x58f43e(0x12e)][_0x58f43e(0xf7)]},'scroll':0x0}):(_0x100a22[_0x58f43e(0xe0)]||_0x100a22[_0x58f43e(0x14d)])&&_0x361724[_0x58f43e(0x166)]({'scroll':Math[_0x58f43e(0xa8)](0x0,_0xa52843[_0x58f43e(0x16c)]+(_0x100a22[_0x58f43e(0xe0)]?0x5:-0x5))});return;}if(_0xa52843[_0x58f43e(0xf5)]){_0x100a22[_0x58f43e(0x148)]?_0x361724[_0x58f43e(0xcb)]():(_0x100a22[_0x58f43e(0x14e)]||_0x100a22[_0x58f43e(0xef)])&&_0xa52843[_0x58f43e(0xf5)][_0x58f43e(0xdb)]?_0x361724[_0x58f43e(0x156)](_0x100a22[_0x58f43e(0x14e)]):_0x100a22[_0x58f43e(0x125)]&&_0x361724[_0x58f43e(0xa3)](_0x100a22[_0x58f43e(0xb6)]);return;}if(_0xa52843[_0x58f43e(0xb3)]){_0x100a22[_0x58f43e(0x148)]&&_0x361724[_0x58f43e(0x166)]({'receive':null}),_0x52e7cc==='s'&&_0x361724['saveReceiveQr']();return;}if(_0xa52843['menu']){_0x100a22[_0x58f43e(0x148)]?_0x361724[_0x58f43e(0x16e)]():_0x100a22['downArrow']||_0x100a22[_0x58f43e(0x14e)]?_0x361724[_0x58f43e(0x166)]({'menu':{..._0xa52843[_0x58f43e(0x11e)],'selected':Math[_0x58f43e(0xa8)](0x0,Math['min'](_0xa52843[_0x58f43e(0x11e)][_0x58f43e(0x192)]['length']-0x1,_0xa52843[_0x58f43e(0x11e)][_0x58f43e(0x122)]+(_0x100a22[_0x58f43e(0xef)]?0x1:-0x1)))}}):_0x100a22['return']&&_0x361724[_0x58f43e(0xc4)]();return;}if(_0x52e7cc==='q'&&!_0xa52843[_0x58f43e(0x147)]){_0x361724[_0x58f43e(0x12c)](),_0x1fab9d();return;}if(!_0xa52843[_0x58f43e(0x147)]){if(_0x52e7cc==='e'&&_0x4ec282){_0x361724[_0x58f43e(0xa9)]();return;}if(_0x58f43e(0x19b)['includes'](_0x52e7cc)&&_0x52e7cc[_0x58f43e(0x14a)]===0x1){_0x361724[_0x58f43e(0x158)](_0x53e1ba[Number(_0x52e7cc)-0x1]);return;}if(_0x52e7cc==='?'){_0x361724[_0x58f43e(0x166)]({'help':!_0xa52843[_0x58f43e(0x198)],'scroll':0x0});return;}if(_0x100a22[_0x58f43e(0x148)]){_0x361724['update']({'focus':_0x58f43e(0x15d),'help':!0x1,'scroll':0x0,'error':null,'refreshError':null,'notice':null});return;}if(_0x52e7cc==='n'){_0xa52843[_0x58f43e(0x11d)]===_0x58f43e(0xa1)?_0x361724[_0x58f43e(0x152)](!0x1):_0x361724['create']();return;}if(_0x52e7cc==='r'){_0x361724[_0x58f43e(0xc1)]();return;}if(_0x100a22['pageDown']||_0x100a22['pageUp']||_0xa52843[_0x58f43e(0x18f)]===_0x58f43e(0xe5)&&(_0x100a22[_0x58f43e(0xef)]||_0x100a22[_0x58f43e(0x14e)])){_0x361724[_0x58f43e(0x166)]({'scroll':Math[_0x58f43e(0xa8)](0x0,_0xa52843['scroll']+(_0x100a22[_0x58f43e(0xe0)]?0x5:_0x100a22['pageUp']?-0x5:_0x100a22[_0x58f43e(0xef)]?0x1:-0x1))});return;}if(_0xa52843['view']===_0x58f43e(0xa1)){(_0x100a22['downArrow']||_0x100a22[_0x58f43e(0x14e)])&&_0x361724[_0x58f43e(0x15c)](_0x100a22[_0x58f43e(0xef)]?0x1:-0x1),(_0x100a22[_0x58f43e(0x197)]||_0x100a22[_0x58f43e(0x125)])&&_0x361724[_0x58f43e(0x166)]({'focus':_0xa52843[_0x58f43e(0x18f)]===_0x58f43e(0x15d)?_0x58f43e(0xe5):'list','scroll':0x0}),_0x52e7cc==='u'&&_0x361724[_0x58f43e(0xaf)](),_0x52e7cc==='m'&&_0x361724['walletMenu'](),_0x52e7cc==='g'&&_0x361724['walletManagement'](),_0x52e7cc==='i'&&_0x361724[_0x58f43e(0x199)](),_0x52e7cc==='d'&&_0x361724[_0x58f43e(0x10b)](),_0x52e7cc==='b'&&_0x361724['walletBackup'](),_0x52e7cc==='p'&&_0x361724[_0x58f43e(0xda)]();return;}if(_0x100a22[_0x58f43e(0xef)]||_0x100a22['upArrow']){_0x361724[_0x58f43e(0x15c)](_0x100a22[_0x58f43e(0xef)]?0x1:-0x1);return;}if(_0x100a22['return']||_0x100a22['tab']){_0x361724[_0x58f43e(0x166)]({'focus':_0xa52843[_0x58f43e(0x18f)]===_0x58f43e(0x15d)?'detail':_0x58f43e(0x15d),'scroll':0x0});return;}if(_0xa52843[_0x58f43e(0x11d)]==='workers'){_0x52e7cc==='/'&&_0x361724['search'](),_0x52e7cc==='a'&&_0x361724[_0x58f43e(0xba)](),_0x52e7cc==='m'&&_0x361724[_0x58f43e(0xdf)](),_0x52e7cc==='l'&&_0x361724[_0x58f43e(0x121)]([_0x58f43e(0xaa)]),_0x52e7cc==='g'&&_0x361724[_0x58f43e(0x121)]([_0x58f43e(0x146)]);return;}_0x52e7cc==='/'&&_0x361724[_0x58f43e(0x178)](),_0x52e7cc==='f'&&_0xa52843[_0x58f43e(0x11d)]===_0x58f43e(0xc2)&&_0x361724['cycleFilter'](),(_0x52e7cc==='['||_0x52e7cc===']')&&_0x361724[_0x58f43e(0x12a)](_0x52e7cc==='['?-0x1:0x1),_0x52e7cc==='d'&&_0x361724[_0x58f43e(0x145)](),_0x52e7cc==='s'&&_0x361724['download'](),_0x52e7cc==='c'&&_0x361724['continueTask'](),_0x52e7cc==='o'&&_0x361724['resumeOrder'](),_0x52e7cc==='x'&&_0x361724[_0x58f43e(0x10f)](),_0x52e7cc==='m'&&_0x361724[_0x58f43e(0x160)](),_0x52e7cc==='l'&&_0x361724['more']();}}),_0x594f1a<0x28||_0x96cf32[_0x4e7361(0xf6)]<0x14)return _0x3cbde5(_0x1ca7cf,{'width':_0x594f1a,'flexDirection':_0x4e7361(0xa7)},r(_0x4e7361(0x119),{'color':_0x4e7361(0x133)}),r(_0x4e7361(0x18c)),r(_0xa52843[_0x4e7361(0xb3)]||_0xa52843[_0x4e7361(0x151)]?_0x4e7361(0x128):'q\x20quit\x20\xB7\x20commands\x20remain\x20available\x20with\x20--help'));if(_0xa52843['privateKeyView'])return _0x3cbde5(C,{'title':_0x4e7361(0x16f),'width':_0x594f1a,'height':_0x4029f4,'ascii':_0x2016b8,'active':!0x0},r(_0x4e7361(0x15a)+_0xa52843['privateKeyView'][_0x4e7361(0x100)]),r('Anyone\x20with\x20this\x20key\x20can\x20spend\x20this\x20wallet\u2019s\x20funds.',{'color':_0x4e7361(0x11f)}),_0x3cbde5(_0x1ca7cf,{'marginTop':0x1},r(_0xa52843[_0x4e7361(0x151)][_0x4e7361(0xb7)])),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),r('Esc\x20hide\x20and\x20return',{'color':_0x4e7361(0x133)}));if(_0xa52843[_0x4e7361(0xb3)]&&!_0xa52843[_0x4e7361(0xf5)]){const _0x3e5e22=_0xa52843['receive'],_0x21eebc=_0x3e5e22['qr'][_0x4e7361(0xdd)]('\x0a'),_0x1c2f13=_0x21eebc[_0x4e7361(0x14a)]+_0x5ab3d2(_0x3e5e22[_0x4e7361(0x100)],_0x594f1a)['length']+_0x5ab3d2(_0x4e7361(0x11a)+_0x3e5e22[_0x4e7361(0x196)]+_0x4e7361(0x190),_0x594f1a)[_0x4e7361(0x14a)]+0x3,_0x21f162=_0x594f1a>=_0x21eebc[0x0][_0x4e7361(0x14a)]&&_0x4029f4>=_0x1c2f13;return _0x3cbde5(_0x1ca7cf,{'width':_0x594f1a,'height':_0x4029f4,'flexDirection':_0x4e7361(0xa7)},r(_0x4e7361(0x10c)+_0x3e5e22[_0x4e7361(0x196)],{'bold':!0x0,'color':_0x4e7361(0x133)}),r(_0x3e5e22[_0x4e7361(0x100)]),r('Coins:\x20'+_0x3e5e22['coins']['join'](',\x20')),_0x21f162?r(_0x3e5e22['qr'],{'color':_0x4e7361(0xe6),'backgroundColor':_0x4e7361(0x17d)}):r(_0x4e7361(0xed)+Math[_0x4e7361(0xa8)](0x28,_0x21eebc[0x0][_0x4e7361(0x14a)])+_0x4e7361(0xfc)+(_0x1c2f13+0x1)+'\x20rows,\x20or\x20press\x20s\x20to\x20save\x20the\x20QR.'),r(_0x4e7361(0x11a)+_0x3e5e22[_0x4e7361(0x196)]+_0x4e7361(0x190),{'color':_0x4e7361(0x11f)}),r(_0x58d069(_0xa52843[_0x4e7361(0x153)]??_0xa52843[_0x4e7361(0xf2)]??_0x4e7361(0xac),_0x594f1a),{'color':_0xa52843['error']?_0x4e7361(0xc9):'cyan'}));}const _0x577f8d=_0xa52843[_0x4e7361(0xf5)]||_0xa52843[_0x4e7361(0x12e)]||_0xa52843['modelProgress'],_0x1dab79=Math['max'](0x6,_0x4029f4-(_0x577f8d?0x3:0x6)),_0x13d879=_0x115d17(_0xa52843)[_0xa52843[_0x4e7361(0x122)]];let _0x23a8d5;if(_0xa52843[_0x4e7361(0xf5)])_0x23a8d5=_0x3cbde5(me,{'controller':_0x361724,'state':_0xa52843,'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8});else{if(_0xa52843[_0x4e7361(0x12e)])_0x23a8d5=_0x3cbde5(pe,{'state':_0xa52843,'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8});else{if(_0xa52843[_0x4e7361(0x16a)])_0x23a8d5=_0x3cbde5(ue,{'event':_0xa52843[_0x4e7361(0x16a)],'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8});else{if(_0xa52843[_0x4e7361(0x11e)])_0x23a8d5=_0x3cbde5(he,{'state':_0xa52843,'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8});else{if(_0xa52843['help'])_0x23a8d5=_0x3cbde5(C,{'title':_0x4e7361(0x102),'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8,'active':!0x0},_0x3cbde5(N,{'content':ge,'width':_0x594f1a-0x4,'height':_0x1dab79-0x4,'offset':_0xa52843[_0x4e7361(0x16c)]}),r(_0x4e7361(0x179),{'dimColor':!0x0}));else{if(_0xa52843[_0x4e7361(0x11d)]==='wallet')_0x23a8d5=_0x3cbde5(fe,{'state':_0xa52843,'width':_0x594f1a,'height':_0x1dab79,'ascii':_0x2016b8,'narrow':_0xe6ccbc});else{const _0x53b422=!_0xe6ccbc||_0xa52843[_0x4e7361(0x18f)]===_0x4e7361(0x15d),_0x28f029=!_0xe6ccbc||_0xa52843[_0x4e7361(0x18f)]===_0x4e7361(0xe5),_0x2b1a51=_0xe6ccbc?_0x594f1a:Math[_0x4e7361(0x185)](_0x594f1a*0.43),_0x3463bd=_0x53b422&&!_0xe6ccbc?_0x594f1a-_0x2b1a51-0x1:_0x594f1a,_0x25115c=_0x36248f({..._0xa52843,'selectedId':_0x13d879?.['id']}),_0x2d3749=_0xa52843['view']===_0x4e7361(0xc2)||_0xa52843[_0x4e7361(0x11d)]==='explore',_0xc92414=_0x2d3749?_0x78a209(_0x13d879,_0xa52843[_0x4e7361(0x11d)]):_0x13d879?_0x13d879[_0x4e7361(0x112)]==='network-worker'?[_0x4e7361(0x16b)]:['[m]\x20Actions',_0x4e7361(0x137),'[g]\x20Diagnostics']:[];_0x4ec282&&_0xc92414[_0x4e7361(0xbb)](_0x4e7361(0xd1));const _0x20aa92=T(_0xc92414,_0x3463bd-0x4),_0xfeb4e=_0x20aa92['length']?_0x20aa92[_0x4e7361(0x14a)]+0x1:0x0,_0x3e4987=T([_0x4e7361(0x189),_0x4e7361(0x142),..._0x2d3749?[_0x4e7361(0x10a)]:[]],_0x3463bd-0x4);_0x23a8d5=_0x3cbde5(_0x1ca7cf,{'height':_0x1dab79,'width':_0x594f1a,'gap':0x1},_0x53b422?_0x3cbde5(C,{'title':(_0xa52843['view']===_0x4e7361(0xf0)?_0x4e7361(0xa4):_0xa52843[_0x4e7361(0xb0)])+(_0xa52843[_0x4e7361(0xfa)]?_0x4e7361(0x16d)+_0x58d069(_0xa52843[_0x4e7361(0xfa)],0x16):''),'width':_0x2b1a51,'height':_0x1dab79,'ascii':_0x2016b8,'active':_0xa52843[_0x4e7361(0x18f)]===_0x4e7361(0x15d)},_0x3cbde5(Q,{'state':_0xa52843,'height':_0x1dab79,'width':_0x2b1a51-0x4,'ascii':_0x2016b8})):null,_0x28f029?_0x3cbde5(C,{'title':_0x58d069(_0x13d879?.['id']??'DETAILS',_0x3463bd-0x7),'width':_0x3463bd,'height':_0x1dab79,'ascii':_0x2016b8,'active':_0xa52843['focus']==='detail'},_0x2d3749?r([_0x4e7361(0x13e),_0x4e7361(0xde),_0x4e7361(0x188)][_0x4e7361(0x106)](_0x1acc41=>_0x1acc41===_0xa52843[_0x4e7361(0x125)]?'['+_0x1acc41+']':_0x1acc41)[_0x4e7361(0xd5)]('\x20\x20'),{'color':'cyan','wrap':_0x4e7361(0x17e)}):null,_0x3cbde5(N,{'content':_0x25115c,'width':_0x3463bd-0x4,'height':_0x1dab79-0x3-Number(_0x2d3749)-_0xfeb4e-_0x3e4987['length'],'offset':_0xa52843['scroll']}),_0x3cbde5(_0x1ca7cf,{'flexGrow':0x1}),..._0x3e4987[_0x4e7361(0x106)]((_0x580dc6,_0x3547b1)=>r(_0x580dc6,{'key':_0x3547b1,'dimColor':!0x0})),_0x3cbde5(F,{'rows':_0x20aa92,'width':_0x3463bd-0x4,'ascii':_0x2016b8})):null);}}}}}}const _0x562842=_0xa52843[_0x4e7361(0xf5)]||_0xa52843[_0x4e7361(0x12e)]||_0xa52843[_0x4e7361(0x11e)]||_0xa52843[_0x4e7361(0x147)]?'[Ctrl+C]\x20Exit':'[?]\x20Help\x20\x20[q]\x20Quit',_0x4bc7a2=_0x594f1a<0x4b?_0x53e1ba['map']((_0x4bb1e9,_0x40af13)=>'['+(_0x40af13+0x1)+']'+[_0x4e7361(0x176),'Browse',_0x4e7361(0xf3),'Wallets'][_0x40af13])['join']('\x20'):_0x53e1ba[_0x4e7361(0x106)]((_0x19b5a1,_0x148c36)=>(_0x19b5a1===_0xa52843[_0x4e7361(0x11d)]?'>\x20':'\x20\x20')+'['+(_0x148c36+0x1)+']\x20'+ce[_0x19b5a1])[_0x4e7361(0xd5)]('\x20\x20');return _0x3cbde5(_0x1ca7cf,{'width':_0x594f1a,'height':_0x4029f4,'flexDirection':_0x4e7361(0xa7)},_0x3cbde5(_0x1ca7cf,{'justifyContent':_0x4e7361(0x17b),'height':_0x577f8d?0x1:0x2},r(_0x4e7361(0x165),{'color':_0x4e7361(0x133),'bold':!0x0}),_0x594f1a>=0x4b?r(_0xa52843[_0x4e7361(0x100)]?_0x58d069(_0xa52843[_0x4e7361(0x100)],0x14):'Wallet\x20not\x20configured',{'dimColor':!0x0}):null),_0x577f8d?null:r(_0x4bc7a2,{'color':'cyan','wrap':'truncate-end'}),_0x577f8d?null:_0xa52843[_0x4e7361(0x147)]||_0xa52843[_0x4e7361(0x159)]?_0x3cbde5(V,{'label':_0xa52843[_0x4e7361(0x147)]??_0x4e7361(0xec)}):r(_0xa52843[_0x4e7361(0x17f)],{'dimColor':!0x0,'wrap':_0x4e7361(0x17e)}),_0x23a8d5,r(_0x58d069(_0x4ec282??_0xa52843[_0x4e7361(0xf2)]??(_0x577f8d||_0xa52843[_0x4e7361(0x11e)]||_0xa52843[_0x4e7361(0x147)]?'':j[_0x5c3d8b]),_0x594f1a),{'color':_0x4ec282?'red':_0xa52843['notice']?_0x4e7361(0x15b):void 0x0,'dimColor':!_0x4ec282&&!_0xa52843[_0x4e7361(0xf2)]}),r(_0x562842,{'dimColor':!0x0,'wrap':'truncate-end'}));}export{Me as DashboardApp};
@@ -1 +1 @@
1
- function _0x4cf7(_0x329528,_0x2a65ee){_0x329528=_0x329528-0xea;const _0x4cf70f=_0x2a65();let _0x364b55=_0x4cf70f[_0x329528];return _0x364b55;}const _0x48915d=_0x4cf7;import{coinSymbol as _0x3b3e7a}from'../lib/payment-coins.mjs';import{createWorkerTarget as _0x3d89a0,paymentView as _0x47fd0d}from'./services.mjs';import{lockWallet as _0x4b0cdd}from'../lib/local-wallet.mjs';const I=[_0x48915d(0x133),_0x48915d(0x209),_0x48915d(0x112),_0x48915d(0x13d)],p=[_0x48915d(0x1a2),_0x48915d(0x212),_0x48915d(0x198),'Attention',_0x48915d(0x252)],h=[_0x48915d(0x15b),'Activity',_0x48915d(0x129)],f=new Set([_0x48915d(0x130),'quoted',_0x48915d(0xee),_0x48915d(0x194),_0x48915d(0x135),_0x48915d(0x1b0),_0x48915d(0x143),_0x48915d(0x13f),_0x48915d(0x255),'pending',_0x48915d(0x153)]),k=0x7530;function u(_0xc03db6){const _0x2829ff=_0x48915d;return _0xc03db6['items'][_0x2829ff(0xf6)](_0x26c630=>!['tasks',_0x2829ff(0x112)]['includes'](_0xc03db6[_0x2829ff(0x1a7)])||[_0x26c630[_0x2829ff(0x142)],_0x26c630['id'],_0x26c630[_0x2829ff(0x145)]??''][_0x2829ff(0x16b)](_0x4fa578=>_0x4fa578[_0x2829ff(0x21d)]()[_0x2829ff(0x1fd)](_0xc03db6[_0x2829ff(0x1cf)][_0x2829ff(0x21d)]()))?_0xc03db6[_0x2829ff(0xf6)]===_0x2829ff(0x1a2)||_0xc03db6[_0x2829ff(0x1a7)]!=='tasks'?!0x0:_0xc03db6['filter']===_0x2829ff(0x198)?_0x26c630[_0x2829ff(0x228)]===_0x2829ff(0x10f):_0xc03db6[_0x2829ff(0xf6)]===_0x2829ff(0x252)?_0x26c630[_0x2829ff(0x228)]==='cancelled':_0xc03db6['filter']===_0x2829ff(0x212)?f[_0x2829ff(0x127)](_0x26c630[_0x2829ff(0x228)]):![_0x2829ff(0x10f),'cancelled'][_0x2829ff(0x1fd)](_0x26c630[_0x2829ff(0x228)])&&!f['has'](_0x26c630['state']):!0x1);}function _0x2a65(){const _0x2ad528=['Saving\x20QR\x20code...','List\x20tools','deleteRequest','forget','challenged','Restore\x20encrypted\x20wallet','useSelectedWallet','close','Command\x20finished.\x20Press\x20r\x20to\x20refresh\x20worker\x20status.','test','This\x20request\x20is\x20not\x20supported.','respond','filter','receive','refreshWalletSelection','Cancel\x20request','saveQr','pair','identity','walletIsCurrent','add','Runtime\x20(claude\x20or\x20codex)','job.continue','local','path','Download','Cancel\x20this\x20request?','throwIfAborted','View\x20private\x20key\x20·\x20confirm\x20password','cancelled','Payment\x20cancelled.\x20No\x20new\x20payment\x20was\x20signed.','What\x20would\x20you\x20like\x20to\x20change?','backupWallet','update','Local\x20record\x20deleted.','now','loaded','completed','detailTimer','unlink','workers','push','dismissMenu','install','doctor','No\x20payment\x20has\x20been\x20signed\x20or\x20submitted.','refreshExplore','Add\x20RPC','Not\x20paid.\x20','refreshRequest','refusalProblems','Add\x20tool','service','coins','orderId','Saved\x20wallet','Run\x20diagnostics','command','files','Saved\x20','sort','has','total','Files','closed','Keyword\x20or\x20task\x20ID','Task\x20published:\x20','items','workerMenu','boot','created','objective','Worker:\x20','tasks','detailRequest','signed','.\x20Inspect\x20it\x20in\x20My\x20tasks\x20before\x20trying\x20another\x20payment.','Use\x20at\x20least\x208\x20characters.','Backup\x20password','Worker\x20·\x20','Signing\x20and\x20submitting\x20this\x20order...','From\x20encrypted\x20backup','Review\x20task','wallet','Restoring\x20wallet...','running','Linux\x20start\x20at\x20boot\x20(yes/no)','walletReceive','title','queued','repeat','searchText','refreshing','resume','\x20managed\x20targets\x20·\x20','colony-receive.svg','Selected\x20wallet\x20actions','operation','Enter\x20yes\x20or\x20no.','cancelAutoRefresh','start','walletNetworkMenu','installed','Create\x20wallet','Worker\x20skills','admitting','publish','continueTask','saveReceiveQr','Paid,\x20but\x20the\x20task\x20was\x20refused.\x0a','walletPrivateKey','code','canResume','Overview','publishDraft','trim','Import\x20private\x20key\x20·\x20encrypted\x20locally','editDraft','payWith','cancelRequest','Selecting\x20','blockers','walletRestore','walletSetup','View\x20details','Set\x20tool\x20credential\x20(hidden\x20input)','Cancelling\x20request...','findIndex','parent','some','You\x20can\x20create\x20a\x20new\x20task\x20whenever\x20you\x20want.','serviceInstall','showMenu','detailLoading','changeTab','Search','lastExploreRefresh','Deploy\x20official\x20worker','Add\x20RPC\x20endpoint\x20(hidden\x20input)','download','Set\x20local\x20wallet\x20password','slice','Import\x20wallet','Auto-refresh\x20failed:\x20','Review\x20task\x20&\x20payment','What\x20would\x20you\x20like\x20to\x20get\x20done?','move','deploy','Order\x20status:\x20','navigate','View\x20result\x20files','This\x20request\x20will\x20no\x20longer\x20be\x20payable\x20from\x20Colony.','.\x20Keep\x20your\x20password\x20separately.','claude','loadDetail','draft','canDelete','currentAddress','blocked','Worker\x20RPC\x20endpoints','subscribe','min','selected','job.open','colony\x20worker\x20','Chain\x20ID','result','yes','pending','Confirm\x20password','funding','selectWallet','--concurrency','Build\x20a\x20website\x20for\x20my\x20coffee\x20shop','Completed','Passwords\x20do\x20not\x20match.','managed-worker','Private\x20key\x20(hidden)','Switching\x20wallet...','length','signal','View\x20logs','supportReject','SSH\x20port','All','more','Understanding\x20your\x20request...','Checking\x20the\x20saved\x20order...','\x0aOrder:\x20','view','networks','showOutcome','Download\x20task\x20files','configured','Checking\x20the\x20task\x20and\x20requesting\x20an\x20IMD\x20quote...','busy','network-worker','join','submitted','message','Request\x20cancelled.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','Add\x20target','--runtime','requestKey','Saving\x20encrypted\x20backup...','note','run','password','createdAt','extraTargets','Unlink\x20worker','key','Download\x20files','Task\x20actions','walletBackup','One\x20local\x20password\x20·\x20u\x20use\x20selected\x20wallet','cancel','Loading\x20','Remove\x20skill','Create\x20a\x20new\x20local\x20wallet','values','addTarget','From\x20private\x20key','Forget\x20credential','requestPassword','New\x20SVG\x20file\x20path','remove','menu','indexOf','query','revealPrivateKey','Backup\x20saved:\x20','refreshError','nextField','skills','chooseSupport','privateKeyView','Skill\x20ID','Worker\x20ID,\x20runtime\x20or\x20skill','set','walletMenu','receiveWallet','address','tools','Add\x20skill','scroll','worker','tab','updatedAt','detail','confirmResolve','form','Remove\x20RPC\x20endpoint','restart','abort','Search\x20workers','./output/','Remove\x20tool','questions','refused','restoreSelectedId','Use\x20this\x20wallet','Deleting\x20local\x20record...','rpc','help','fields','...','exploreUpdates','since','assign','Delete\x20local\x20record','wallets','cursor','showForm','clear','includes','\x20is\x20required.','status','plan','stop','detailVersion','.\x20Press\x20r\x20to\x20refresh\x20My\x20tasks.','ask','Save\x20QR','Install\x20background\x20service','resumeOrder','Credential\x20name','explore','targets','refresh','paymentCoins','map','Inspect\x20/\x20resume\x20saved\x20order','Preparing\x20local\x20LLM...','Pair\x20with\x20wallet','Choose\x20payment\x20network\x20(all\x20wallets)','Active','options','The\x20command\x20will\x20open\x20in\x20your\x20terminal,\x20then\x20return\x20here.','Keep\x20request','listeners','create','deliverables','Wallet\x20unlock\x20cancelled.','askResolve','Create\x20a\x20task','max','toLowerCase','error','formCancel','file','out','submitForm','name','createWallet','port','list','Wallet\x20ready.\x20Press\x20b\x20to\x20back\x20up\x20before\x20depositing\x20funds.','state','locked','A\x20little\x20more\x20information','services','admitted','field','Backup\x20file\x20path','stage','Loading\x20files...','jobId','confirm','Save\x20recharge\x20QR\x20code','SSH\x20user@host\x20(empty\x20=\x20this\x20computer)','chain','Payment\x20network','autoRefresh','workerCommand','host','source','Wallet\x20unlock\x20cancelled.\x20No\x20payment\x20was\x20signed.','Search\x20tasks','Choose\x20payment\x20·\x20support\x20is\x20optional','search','Restore\x20wallet','Register\x20on\x20chain','logs','Status','walletImport','View\x20private\x20key','delete','concat','value','Tool\x20credential','kind','Wallet\x20management\x20·\x20all\x20wallets','List\x20skills','Identity','Add\x20a\x20worker\x20target','setField','Loading\x20older\x20tasks...','Concurrent\x20tasks\x20(1–4)','--boot','Cancelled','Receive\x20funds\x20/\x20QR\x20code','canCancel','executing','Continue','whoami','RPC\x20endpoints','passwordReject','Back\x20up\x20encrypted\x20wallet','fromEntries'];_0x2a65=function(){return _0x2ad528;};return _0x2a65();}function w(){const _0x56b9ca=_0x48915d;return Object[_0x56b9ca(0x1f7)](new Error(_0x56b9ca(0x108)),{'code':_0x56b9ca(0x107)});}class S{constructor(_0x141ed9){const _0x2b06f9=_0x48915d;this[_0x2b06f9(0x22b)]=_0x141ed9,this[_0x2b06f9(0x216)]=new Set(),this['state']={'view':_0x2b06f9(0x133),'items':[],'selected':0x0,'detail':null,'result':null,'tab':_0x2b06f9(0x15b),'filter':_0x2b06f9(0x1a2),'query':'','note':'','focus':_0x2b06f9(0x226),'scroll':0x0,'busy':null,'error':null,'notice':null,'form':null,'menu':null,'confirm':null,'modelProgress':null,'help':!0x1,'detailLoading':!0x1,'address':null,'cursor':null,'total':null,'since':null,'refreshing':!0x1,'refreshError':null,'receive':null,'privateKeyView':null},this[_0x2b06f9(0x202)]=0x0,this['extraTargets']=[],this[_0x2b06f9(0x12a)]=!0x1,this[_0x2b06f9(0x172)]=0x0;}[_0x48915d(0x18a)]=_0x528cdd=>(this[_0x48915d(0x216)][_0x48915d(0xfe)](_0x528cdd),()=>this['listeners'][_0x48915d(0x245)](_0x528cdd));['getSnapshot']=()=>this['state'];[_0x48915d(0x10b)](_0x23c948){const _0x2d1473=_0x48915d;if(!this[_0x2d1473(0x12a)]){this[_0x2d1473(0x228)]={...this[_0x2d1473(0x228)],..._0x23c948};for(const _0x5d3178 of this[_0x2d1473(0x216)])_0x5d3178();}}['selected'](){const _0x53cfbf=_0x48915d;return u(this[_0x53cfbf(0x228)])[this[_0x53cfbf(0x228)][_0x53cfbf(0x18c)]];}['showError'](){const _0x2248ed=_0x48915d;++this[_0x2248ed(0x202)],this[_0x2248ed(0x10b)]({'detail':{'output':this[_0x2248ed(0x228)][_0x2248ed(0x21e)]??this[_0x2248ed(0x228)][_0x2248ed(0x1d2)]},'detailLoading':!0x1,'focus':_0x2248ed(0x1e3),'scroll':0x0,'tab':_0x2248ed(0x15b)});}[_0x48915d(0x14d)](){const _0x8e3b4b=_0x48915d;this['refreshRequest']?.[_0x8e3b4b(0x1e8)](),this[_0x8e3b4b(0x11b)]=null,this['update']({'refreshing':!0x1});}async[_0x48915d(0x1b8)](_0x14d8f8,_0x98befd){const _0x117fcf=_0x48915d;if(!this[_0x117fcf(0x228)][_0x117fcf(0x1ad)]){this['cancelAutoRefresh'](),this[_0x117fcf(0x14b)]=new AbortController(),this['update']({'busy':_0x14d8f8,'error':null,'refreshError':null,'notice':null});try{return await _0x98befd(this[_0x117fcf(0x14b)]['signal']);}catch(_0x3592de){_0x3592de['code']===_0x117fcf(0x107)?(this[_0x117fcf(0x10b)]({'notice':_0x3592de[_0x117fcf(0x1b1)]}),this[_0x117fcf(0x15f)]()):this[_0x117fcf(0x10b)]({'error':_0x3592de[_0x117fcf(0x1b1)]});}finally{this['update']({'busy':null,'modelProgress':null});}}}async['navigate'](_0x35d66c){const _0x15ab9e=_0x48915d;this[_0x15ab9e(0x228)][_0x15ab9e(0x1ad)]||(clearTimeout(this[_0x15ab9e(0x110)]),this[_0x15ab9e(0x134)]?.[_0x15ab9e(0x1e8)](),++this[_0x15ab9e(0x202)],this[_0x15ab9e(0x10b)]({'view':_0x35d66c,'items':[],'detail':null,'result':null,'selected':0x0,'query':'','filter':_0x15ab9e(0x1a2),'tab':'Overview','scroll':0x0,'focus':_0x15ab9e(0x226),'form':null,'menu':null,'cursor':null,'total':null,'since':null}),await this['refresh']());}async[_0x48915d(0x20b)](){const _0x112a95=_0x48915d,_0x581659=this[_0x112a95(0x18c)]()?.['id']??this[_0x112a95(0x1ee)];this[_0x112a95(0x1ee)]=void 0x0,await this[_0x112a95(0x1b8)](_0x112a95(0x1c3)+this['state'][_0x112a95(0x1a7)]+_0x112a95(0x1f4),async _0x37f223=>{const _0x5b9a40=_0x112a95;let _0x16032f;if(this[_0x5b9a40(0x228)]['view']==='tasks')_0x16032f=await this[_0x5b9a40(0x22b)]['mine'](_0x37f223);else{if(this[_0x5b9a40(0x228)]['view']==='explore')_0x16032f=await this['services'][_0x5b9a40(0x209)](this[_0x5b9a40(0x228)][_0x5b9a40(0x1cf)],void 0x0,_0x37f223);else{if(this[_0x5b9a40(0x228)][_0x5b9a40(0x1a7)]==='workers'){const _0x2890d2=this['services'][_0x5b9a40(0x20a)](),_0x1ab12a=new Set(_0x2890d2['map'](_0x1c4578=>_0x1c4578['id'])),_0x33eb50=_0x2890d2[_0x5b9a40(0x246)](this[_0x5b9a40(0x1bb)][_0x5b9a40(0xf6)](_0x216595=>!_0x1ab12a['has'](_0x216595['id'])))[_0x5b9a40(0x20d)](_0x242bf0=>({..._0x242bf0,'kind':_0x5b9a40(0x19a)}));this[_0x5b9a40(0x10b)]({'items':_0x33eb50,'selected':0x0,'note':'Loading\x20network\x20workers...'});let _0x32c2f0;try{_0x32c2f0=await this[_0x5b9a40(0x22b)]['networkWorkers'](_0x37f223);}catch(_0x1236f7){throw this[_0x5b9a40(0x10b)]({'note':_0x33eb50[_0x5b9a40(0x19d)]+'\x20managed\x20targets\x20\xB7\x20Network\x20unavailable\x20\xB7\x20r\x20retry'}),_0x1236f7;}_0x16032f={'items':_0x33eb50[_0x5b9a40(0x246)](_0x32c2f0),'note':_0x33eb50[_0x5b9a40(0x19d)]+_0x5b9a40(0x148)+_0x32c2f0[_0x5b9a40(0x19d)]+'\x20network\x20workers\x20\xB7\x20availability,\x20free\x20slots,\x20ID\x20\xB7\x20r\x20refresh'};}else{const _0x2435e1=await this[_0x5b9a40(0x22b)][_0x5b9a40(0x13d)](_0x37f223,_0x581659,{'balances':!0x1}),_0x764406=this['services'][_0x5b9a40(0x1f9)]();!_0x764406[_0x5b9a40(0x19d)]&&_0x2435e1[_0x5b9a40(0x1ab)]&&_0x764406[_0x5b9a40(0x113)]({'address':_0x2435e1[_0x5b9a40(0x1dc)],'active':!0x0,'locked':_0x2435e1[_0x5b9a40(0x229)]}),_0x16032f={'items':_0x764406[_0x5b9a40(0x20d)](_0x3fa974=>({..._0x3fa974,'id':_0x3fa974[_0x5b9a40(0x1dc)],'title':_0x3fa974[_0x5b9a40(0x1dc)]['slice'](0x0,0xa)+_0x5b9a40(0x1f4)+_0x3fa974['address']['slice'](-0x8),'subtitle':_0x3fa974['active']?'Current':_0x5b9a40(0x121)})),'note':_0x5b9a40(0x1c1),'address':_0x2435e1[_0x5b9a40(0x187)]??_0x2435e1[_0x5b9a40(0x1dc)]??null},this[_0x5b9a40(0x10b)]({'detail':_0x2435e1,'scroll':0x0});}}}const _0x174334=_0x581659??(this[_0x5b9a40(0x228)][_0x5b9a40(0x1a7)]===_0x5b9a40(0x13d)?_0x16032f['address']:void 0x0),_0x5c1354=Math[_0x5b9a40(0x21c)](0x0,u({...this[_0x5b9a40(0x228)],'items':_0x16032f[_0x5b9a40(0x12d)]})[_0x5b9a40(0x169)](_0x4c8fce=>_0x4c8fce['id']===_0x174334));this['update']({'items':_0x16032f[_0x5b9a40(0x12d)],'note':_0x16032f[_0x5b9a40(0x1b7)],'cursor':_0x16032f[_0x5b9a40(0x1fa)],'total':_0x16032f['total']??(_0x16032f['cursor']?null:_0x16032f[_0x5b9a40(0x12d)]['length']),'since':_0x16032f[_0x5b9a40(0x1f6)]??null,'selected':_0x5c1354,'address':_0x16032f[_0x5b9a40(0x1dc)]??this[_0x5b9a40(0x228)][_0x5b9a40(0x1dc)]}),this['state'][_0x5b9a40(0x1a7)]==='explore'&&(this[_0x5b9a40(0x172)]=Date['now']());}),this[_0x112a95(0x12a)]||await this['loadDetail'](this[_0x112a95(0x228)][_0x112a95(0x1a7)]===_0x112a95(0x13d));}async[_0x48915d(0x237)](){const _0xe6c768=_0x48915d,_0x270b06=this[_0xe6c768(0x228)];this[_0xe6c768(0x12a)]||_0x270b06['busy']||_0x270b06[_0xe6c768(0x146)]||_0x270b06[_0xe6c768(0x16f)]||_0x270b06[_0xe6c768(0x1e5)]||_0x270b06[_0xe6c768(0x232)]||_0x270b06['menu']||_0x270b06[_0xe6c768(0x1f2)]||_0x270b06[_0xe6c768(0x1d6)]||(_0x270b06['view']==='explore'&&_0x270b06[_0xe6c768(0x1f6)]!==null&&Date[_0xe6c768(0x10d)]()-this[_0xe6c768(0x172)]>=k?await this[_0xe6c768(0x118)]():_0x270b06[_0xe6c768(0x1a7)]===_0xe6c768(0x133)&&!_0x270b06[_0xe6c768(0x21e)]&&[_0xe6c768(0x13f),_0xe6c768(0x255),_0xe6c768(0x143),_0xe6c768(0x192)]['includes'](this['selected']()?.[_0xe6c768(0x228)])&&await this[_0xe6c768(0x184)](!0x0));}async['refreshExplore'](){const _0x365ba8=_0x48915d,_0x261859=new AbortController();this[_0x365ba8(0x11b)]=_0x261859,this[_0x365ba8(0x172)]=Date[_0x365ba8(0x10d)](),this[_0x365ba8(0x10b)]({'refreshing':!0x0});try{const _0xb9bac4=await this['services'][_0x365ba8(0x1f5)](this[_0x365ba8(0x228)][_0x365ba8(0x1cf)],this[_0x365ba8(0x228)][_0x365ba8(0x1f6)],_0x261859[_0x365ba8(0x19e)]);if(this[_0x365ba8(0x11b)]!==_0x261859||this['closed'])return;const _0x386684=this[_0x365ba8(0x18c)]()?.['id'],_0x2f6540=this[_0x365ba8(0x228)]['items']['at'](-0x1)?.['createdAt'],_0xecf9bf=new Map(this[_0x365ba8(0x228)][_0x365ba8(0x12d)][_0x365ba8(0x20d)](_0x486b46=>[_0x486b46['id'],_0x486b46]));for(const _0x446686 of _0xb9bac4[_0x365ba8(0x12d)]){const _0x55c16b=_0xecf9bf['get'](_0x446686['id']);_0x55c16b&&_0x446686[_0x365ba8(0x1e2)]<_0x55c16b[_0x365ba8(0x1e2)]||(_0xecf9bf[_0x365ba8(0x127)](_0x446686['id'])||!_0x2f6540||_0x446686['createdAt']>=_0x2f6540)&&_0xecf9bf[_0x365ba8(0x1d9)](_0x446686['id'],_0x446686);}const _0x19108a=[..._0xecf9bf[_0x365ba8(0x1c6)]()][_0x365ba8(0x126)]((_0x4aa216,_0x4b226e)=>_0x4b226e['createdAt']['localeCompare'](_0x4aa216[_0x365ba8(0x1ba)])),_0xb18684=Math[_0x365ba8(0x21c)](0x0,_0x19108a[_0x365ba8(0x169)](_0x1e5d77=>_0x1e5d77['id']===_0x386684));this[_0x365ba8(0x10b)]({'items':_0x19108a,'selected':_0xb18684,'since':_0xb9bac4['since'],'total':_0xb9bac4[_0x365ba8(0x128)]??(this[_0x365ba8(0x228)][_0x365ba8(0x1fa)]?null:_0x19108a[_0x365ba8(0x19d)]),'refreshError':null}),await this[_0x365ba8(0x184)](!0x0);}catch(_0xa76e01){this['refreshRequest']===_0x261859&&!this['closed']&&this[_0x365ba8(0x10b)]({'refreshError':_0x365ba8(0x179)+_0xa76e01['message']});}finally{this[_0x365ba8(0x11b)]===_0x261859&&(this[_0x365ba8(0x11b)]=null,this[_0x365ba8(0x10b)]({'refreshing':!0x1}));}}async[_0x48915d(0x1a3)](){const _0x116baf=_0x48915d;this[_0x116baf(0x228)][_0x116baf(0x1a7)]!==_0x116baf(0x209)||!this[_0x116baf(0x228)]['cursor']||await this[_0x116baf(0x1b8)](_0x116baf(0x24f),async _0x4d56b2=>{const _0x871af7=_0x116baf,_0x2bc927=await this[_0x871af7(0x22b)]['explore'](this[_0x871af7(0x228)][_0x871af7(0x1cf)],this[_0x871af7(0x228)][_0x871af7(0x1fa)],_0x4d56b2),_0x4d09af=new Set(this[_0x871af7(0x228)][_0x871af7(0x12d)][_0x871af7(0x20d)](_0x70a44c=>_0x70a44c['id'])),_0x358d45=this[_0x871af7(0x228)][_0x871af7(0x12d)][_0x871af7(0x246)](_0x2bc927[_0x871af7(0x12d)][_0x871af7(0xf6)](_0x816ffb=>!_0x4d09af[_0x871af7(0x127)](_0x816ffb['id'])));this[_0x871af7(0x10b)]({'items':_0x358d45,'cursor':_0x2bc927[_0x871af7(0x1fa)],'total':this[_0x871af7(0x228)][_0x871af7(0x128)]??(_0x2bc927[_0x871af7(0x1fa)]?null:_0x358d45['length'])});});}async['loadDetail'](_0x175b52=!0x1){const _0xc31387=_0x48915d;clearTimeout(this['detailTimer']),this[_0xc31387(0x110)]=null;const _0x32ed90=this[_0xc31387(0x18c)]();if(this['state'][_0xc31387(0x1a7)]===_0xc31387(0x13d)&&!_0x32ed90)return;const _0x36948c=++this[_0xc31387(0x202)];if(this[_0xc31387(0x134)]?.[_0xc31387(0x1e8)](),this['detailRequest']=new AbortController(),this[_0xc31387(0x10b)]({'detail':_0x175b52?this[_0xc31387(0x228)][_0xc31387(0x1e3)]:null,'result':_0x175b52?this[_0xc31387(0x228)]['result']:null,'detailLoading':!!_0x32ed90,'scroll':_0x175b52?this[_0xc31387(0x228)][_0xc31387(0x1df)]:0x0}),!!_0x32ed90)try{const _0x3814b0=this[_0xc31387(0x228)][_0xc31387(0x1a7)]===_0xc31387(0x13d)?await this[_0xc31387(0x22b)]['wallet'](this[_0xc31387(0x134)][_0xc31387(0x19e)],_0x32ed90[_0xc31387(0x1dc)]):this[_0xc31387(0x228)][_0xc31387(0x1a7)]===_0xc31387(0x112)?_0x32ed90[_0xc31387(0x249)]==='network-worker'?_0x32ed90:_0x32ed90[_0xc31387(0x150)]?await this['services']['command'](['worker','status'],_0x32ed90,this[_0xc31387(0x134)][_0xc31387(0x19e)]):{'notInstalled':!0x0}:await this[_0xc31387(0x22b)][_0xc31387(0x1e3)](_0x32ed90,this[_0xc31387(0x134)][_0xc31387(0x19e)]);if(_0x36948c===this[_0xc31387(0x202)]){const _0x88ea=_0x3814b0[_0xc31387(0x228)]??(_0x32ed90[_0xc31387(0x231)]?void 0x0:_0x3814b0[_0xc31387(0x1ff)]),_0x410930=this[_0xc31387(0x228)][_0xc31387(0x12d)][_0xc31387(0x20d)](_0x4cea8d=>_0x4cea8d['id']===_0x32ed90['id']&&_0x88ea?{..._0x4cea8d,'state':_0x88ea,..._0x3814b0[_0xc31387(0x1e2)]?{'updatedAt':_0x3814b0[_0xc31387(0x1e2)]}:{},..._0xc31387(0x254)in _0x3814b0?{'canCancel':_0x3814b0[_0xc31387(0x254)],'canDelete':_0x3814b0[_0xc31387(0x186)],'canResume':_0x3814b0[_0xc31387(0x15a)]}:{}}:_0x4cea8d),_0x21b982=u({...this[_0xc31387(0x228)],'items':_0x410930})[_0xc31387(0x169)](_0x3037da=>_0x3037da['id']===_0x32ed90['id']);this['update']({'detail':_0x21b982<0x0?null:_0x3814b0,'detailLoading':!0x1,'items':_0x410930,'selected':Math['max'](0x0,_0x21b982)}),_0x21b982<0x0&&this[_0xc31387(0x184)]();}}catch(_0xcf830d){_0x36948c===this[_0xc31387(0x202)]&&this['update']({'detailLoading':!0x1,'error':_0xcf830d[_0xc31387(0x1b1)]});}}[_0x48915d(0x17c)](_0x3e4548){const _0x5beff6=_0x48915d,_0x22603d=u(this[_0x5beff6(0x228)])['length'],_0x21042b=Math[_0x5beff6(0x21c)](0x0,Math[_0x5beff6(0x18b)](_0x22603d-0x1,this[_0x5beff6(0x228)][_0x5beff6(0x18c)]+_0x3e4548));_0x21042b!==this[_0x5beff6(0x228)][_0x5beff6(0x18c)]&&(clearTimeout(this[_0x5beff6(0x110)]),++this[_0x5beff6(0x202)],this[_0x5beff6(0x134)]?.['abort'](),this[_0x5beff6(0x10b)]({'selected':_0x21042b,'error':null,'notice':null,'detail':null,'result':null,'detailLoading':!0x0,'scroll':0x0}),this[_0x5beff6(0x228)][_0x5beff6(0x1a7)]===_0x5beff6(0x112)?this[_0x5beff6(0x184)]():this['detailTimer']=setTimeout(()=>{const _0x17e0e4=_0x5beff6;this[_0x17e0e4(0x184)]();},0x78)),_0x3e4548>0x0&&_0x21042b===_0x22603d-0x1&&this['more']();}['cycleFilter'](){const _0x50d38a=_0x48915d;this[_0x50d38a(0x10b)]({'filter':p[(p['indexOf'](this[_0x50d38a(0x228)][_0x50d38a(0xf6)])+0x1)%p['length']],'selected':0x0}),this['loadDetail']();}async[_0x48915d(0x170)](_0x4b423c){const _0x35e6cd=_0x48915d,_0x25219e=h[(h['indexOf'](this[_0x35e6cd(0x228)][_0x35e6cd(0x1e1)])+_0x4b423c+h['length'])%h[_0x35e6cd(0x19d)]];this[_0x35e6cd(0x10b)]({'tab':_0x25219e,'scroll':0x0}),_0x25219e===_0x35e6cd(0x129)&&await this['files']();}async[_0x48915d(0x124)](){const _0x1509e9=_0x48915d,_0x41351d=this[_0x1509e9(0x18c)]();_0x41351d?.[_0x1509e9(0x231)]&&(this[_0x1509e9(0x110)]&&this[_0x1509e9(0x184)](!0x0),this[_0x1509e9(0x10b)]({'tab':_0x1509e9(0x129),'focus':_0x1509e9(0x1e3),'scroll':0x0}),await this[_0x1509e9(0x1b8)](_0x1509e9(0x230),async _0x3077a7=>{const _0x352088=_0x1509e9;this[_0x352088(0x10b)]({'result':await this[_0x352088(0x22b)][_0x352088(0x190)](_0x41351d[_0x352088(0x231)],_0x3077a7)});}));}[_0x48915d(0x1fb)](_0x5b22ea,_0x23701f,_0x4a182a,{onCancel:_0x480cfb,submit:_0x58d021=_0x48915d(0x256)}={}){const _0x2096ef=_0x48915d;this[_0x2096ef(0x14d)](),this['formSubmit']=_0x4a182a,this[_0x2096ef(0x21f)]=_0x480cfb,this[_0x2096ef(0x10b)]({'form':{'title':_0x5b22ea,'fields':_0x23701f,'values':Object[_0x2096ef(0x25b)](_0x23701f[_0x2096ef(0x20d)](_0x3de19f=>[_0x3de19f[_0x2096ef(0x223)],_0x3de19f[_0x2096ef(0x247)]??''])),'field':0x0,'submit':_0x58d021,'error':null},'menu':null});}[_0x48915d(0x24e)](_0x1ced24){const _0x5310e2=_0x48915d,_0x3b130b=this[_0x5310e2(0x228)]['form'],_0x1d473b=_0x3b130b[_0x5310e2(0x1f3)][_0x3b130b[_0x5310e2(0x22d)]][_0x5310e2(0x223)];this['update']({'form':{..._0x3b130b,'values':{..._0x3b130b[_0x5310e2(0x1c6)],[_0x1d473b]:_0x1ced24},'error':null}});}[_0x48915d(0x1d3)](_0x47d98d=!0x1){const _0x485c48=_0x48915d,_0x3e2bd9=this[_0x485c48(0x228)][_0x485c48(0x1e5)];this[_0x485c48(0x10b)]({'form':{..._0x3e2bd9,'field':(_0x3e2bd9[_0x485c48(0x22d)]+(_0x47d98d?-0x1:0x1)+_0x3e2bd9[_0x485c48(0x1f3)][_0x485c48(0x19d)])%_0x3e2bd9['fields'][_0x485c48(0x19d)]}});}async[_0x48915d(0x222)](){const _0x438934=_0x48915d,{values:_0x55b53e}=this[_0x438934(0x228)]['form'];try{await this['formSubmit'](_0x55b53e);}catch(_0x3f5cb5){this[_0x438934(0x10b)]({'form':{...this[_0x438934(0x228)][_0x438934(0x1e5)],'error':_0x3f5cb5[_0x438934(0x1b1)]}});}}['dismissForm'](){const _0x11195a=_0x48915d,_0x11d251=this['formCancel'];this[_0x11195a(0x10b)]({'form':null}),_0x11d251&&_0x11d251();}[_0x48915d(0x23e)](){const _0x9b9342=_0x48915d,_0xf3edbc=this[_0x9b9342(0x228)][_0x9b9342(0x1a7)]==='workers';this['showForm'](_0xf3edbc?_0x9b9342(0x1e9):_0x9b9342(0x23c),[{'name':_0x9b9342(0x1cf),'label':_0xf3edbc?_0x9b9342(0x1d8):_0x9b9342(0x12b),'value':this[_0x9b9342(0x228)][_0x9b9342(0x1cf)]}],async({query:_0x3d8a24})=>{const _0x240aeb=_0x9b9342;this[_0x240aeb(0x10b)]({'query':_0x3d8a24,'selected':0x0,'form':null}),this[_0x240aeb(0x228)][_0x240aeb(0x1a7)]===_0x240aeb(0x209)?await this[_0x240aeb(0x20b)]():await this['loadDetail']();},{'submit':_0x9b9342(0x171)});}[_0x48915d(0x217)](_0x940130=null){const _0x2c5d19=_0x48915d;this['draft']={'objective':'','payWith':_0x3b3e7a(this[_0x2c5d19(0x22b)][_0x2c5d19(0x213)]?.[_0x2c5d19(0x160)]),'parent':_0x940130},this['editDraft']();}[_0x48915d(0x155)](){const _0x29fd2a=_0x48915d,_0x3e1ea6=this['selected']();this[_0x29fd2a(0x228)][_0x29fd2a(0x1a7)]!==_0x29fd2a(0x133)||!_0x3e1ea6?.[_0x29fd2a(0x231)]||this[_0x29fd2a(0x217)](_0x3e1ea6[_0x29fd2a(0x231)]);}[_0x48915d(0x15f)](){const _0x199a39=_0x48915d;this[_0x199a39(0x185)]&&(this[_0x199a39(0x1fb)](this[_0x199a39(0x185)]['parent']?'Request\x20changes':_0x199a39(0x21b),[{'name':_0x199a39(0x131),'label':this['draft'][_0x199a39(0x16a)]?_0x199a39(0x109):_0x199a39(0x17b),'value':this['draft'][_0x199a39(0x131)],'placeholder':_0x199a39(0x197)}],async({objective:_0x221afd})=>{const _0x1ba1a5=_0x199a39,_0x491794=this[_0x1ba1a5(0x185)][_0x1ba1a5(0x160)];if(!_0x221afd['trim']())throw new Error('Describe\x20what\x20you\x20would\x20like\x20to\x20get\x20done.');this['draft']={...this[_0x1ba1a5(0x185)],'objective':_0x221afd['trim'](),'payWith':_0x491794['toUpperCase']()},this[_0x1ba1a5(0x10b)]({'form':null}),await this[_0x1ba1a5(0x15c)]();},{'submit':_0x199a39(0x13c)}),this[_0x199a39(0x10b)]({'form':{...this['state'][_0x199a39(0x1e5)],'paymentCoins':this['services'][_0x199a39(0x11f)](),'payWith':this['draft'][_0x199a39(0x160)]}}));}['cyclePaymentCoin'](_0x287a7a=!0x1){const _0x56264c=_0x48915d,_0x8435f7=this[_0x56264c(0x228)][_0x56264c(0x1e5)],_0x57dea3=_0x8435f7['paymentCoins'][(_0x8435f7[_0x56264c(0x20c)][_0x56264c(0x1ce)](_0x8435f7[_0x56264c(0x160)])+(_0x287a7a?-0x1:0x1)+_0x8435f7[_0x56264c(0x20c)]['length'])%_0x8435f7[_0x56264c(0x20c)][_0x56264c(0x19d)]];this[_0x56264c(0x185)][_0x56264c(0x160)]=_0x57dea3,this[_0x56264c(0x10b)]({'form':{..._0x8435f7,'payWith':_0x57dea3,'error':null}});}[_0x48915d(0x204)](_0x4f1239){return new Promise(_0x4f57fd=>{const _0x29629e=_0x4cf7;this[_0x29629e(0x21a)]=_0x4f57fd,this[_0x29629e(0x1fb)](_0x29629e(0x22a),_0x4f1239[_0x29629e(0x20d)]((_0x3b49a7,_0x409a70)=>({'name':String(_0x409a70),'label':_0x3b49a7})),_0x579d21=>{const _0x44536d=_0x29629e;this['update']({'form':null}),this[_0x44536d(0x21a)]=null,_0x4f57fd(Object[_0x44536d(0x1c6)](_0x579d21));},{'onCancel':()=>{const _0x398008=_0x29629e;this[_0x398008(0x21a)]=null,_0x4f57fd([]);}});});}['confirm'](_0x5d87dd){return new Promise(_0x2389b9=>{const _0x1fa609=_0x4cf7;this[_0x1fa609(0x1e4)]=_0x2389b9,this['update']({'confirm':{..._0x5d87dd,'accepted':!0x1,'expanded':!0x1},'scroll':0x0});});}[_0x48915d(0xf5)](_0x1cb44c){const _0x36d3a6=_0x48915d,_0x3a00dd=this[_0x36d3a6(0x1e4)];this[_0x36d3a6(0x1e4)]=null,this['update']({'confirm':null}),_0x3a00dd(_0x1cb44c);}async['publishDraft'](){const _0x10f7e7=_0x48915d,_0x2c9991=await this[_0x10f7e7(0x1b8)](_0x10f7e7(0x1a4),async _0x581b78=>{const _0x232819=_0x10f7e7,_0x4b699a=this[_0x232819(0x185)],_0x44380f=_0x4b699a['parent']?await this['services'][_0x232819(0x1e3)]({'jobId':_0x4b699a[_0x232819(0x16a)]},_0x581b78):null,_0x2fb73a=await this[_0x232819(0x22b)][_0x232819(0x200)]({'objective':_0x4b699a['objective'],'parent':_0x44380f,'signal':_0x581b78,'ask':_0xac09e8=>this[_0x232819(0x204)](_0xac09e8),'onProgress':_0x19be08=>{const _0x3d3da5=_0x232819;this[_0x3d3da5(0x10b)](_0x19be08[_0x3d3da5(0x22f)]===_0x3d3da5(0x10e)?{'busy':_0x3d3da5(0x1a4),'modelProgress':null}:{'busy':_0x3d3da5(0x20f),'modelProgress':_0x19be08});}});if(_0x581b78[_0x232819(0x105)](),!_0x2fb73a['input'])throw new Error(_0x2fb73a[_0x232819(0x1ec)]['join']('\x0a')||_0x232819(0xf4));this[_0x232819(0x10b)]({'busy':_0x232819(0x1ac)});const _0x227a92=await this[_0x232819(0x22b)][_0x232819(0x154)]({'input':_0x2fb73a['input'],'action':_0x4b699a[_0x232819(0x16a)]?_0x232819(0x100):_0x232819(0x18d),'payWith':_0x4b699a[_0x232819(0x160)],'plan':{'summary':_0x2fb73a['summary'],'deliverables':_0x2fb73a[_0x232819(0x218)]},'signal':_0x581b78,'chooseSupport':_0x42aa05=>this[_0x232819(0x1d5)](_0x42aa05),'confirm':async _0x469538=>{const _0x30fb7a=_0x232819;if(!await this[_0x30fb7a(0x232)]({'title':_0x30fb7a(0x17a),'payment':_0x47fd0d(_0x469538)}))throw w();this['update']({'busy':_0x30fb7a(0x13a)});}});return this[_0x232819(0x1a9)](_0x227a92),_0x227a92;});if(!this['closed']&&_0x2c9991?.[_0x10f7e7(0x1ff)]==='admitted'&&_0x2c9991[_0x10f7e7(0x228)]['jobId']){await this[_0x10f7e7(0x17f)]('tasks');const _0x24c3a2=this[_0x10f7e7(0x228)][_0x10f7e7(0x12d)][_0x10f7e7(0x169)](_0x4f4b2b=>_0x4f4b2b[_0x10f7e7(0x231)]===_0x2c9991[_0x10f7e7(0x228)]['jobId']);_0x24c3a2>=0x0&&(this[_0x10f7e7(0x10b)]({'selected':_0x24c3a2}),await this['loadDetail']()),this['update']({'notice':_0x10f7e7(0x12c)+_0x2c9991['state'][_0x10f7e7(0x231)]});}}['showOutcome']({state:_0x283773,status:_0x40b1ff,check:_0x395f5f}){const _0x4b7e7a=_0x48915d;_0x40b1ff===_0x4b7e7a(0x22c)&&_0x283773['jobId']?(this[_0x4b7e7a(0x185)]=null,this[_0x4b7e7a(0x10b)]({'notice':'Task\x20published:\x20'+_0x283773[_0x4b7e7a(0x231)]+_0x4b7e7a(0x203)})):_0x40b1ff===_0x4b7e7a(0x188)?this[_0x4b7e7a(0x10b)]({'error':_0x4b7e7a(0x11a)+_0x395f5f[_0x4b7e7a(0x163)][_0x4b7e7a(0x20d)](_0x313fd5=>_0x313fd5[_0x4b7e7a(0x1e3)]??_0x313fd5[_0x4b7e7a(0x159)])[_0x4b7e7a(0x1af)]('\x0a')}):_0x40b1ff===_0x4b7e7a(0x1ed)?this[_0x4b7e7a(0x10b)]({'error':_0x4b7e7a(0x157)+(_0x283773[_0x4b7e7a(0x11c)]??[])[_0x4b7e7a(0x20d)](_0x523dee=>_0x523dee['detail']??_0x523dee[_0x4b7e7a(0x159)])[_0x4b7e7a(0x1af)]('\x0a')+_0x4b7e7a(0x1a6)+_0x283773[_0x4b7e7a(0x120)]}):this['update']({'error':_0x4b7e7a(0x17e)+_0x40b1ff+_0x4b7e7a(0x136)});}async[_0x48915d(0x207)](){const _0x34c072=_0x48915d,_0x40547f=this['selected']();this[_0x34c072(0x228)][_0x34c072(0x1a7)]!==_0x34c072(0x133)||!_0x40547f?.[_0x34c072(0x1b5)]||_0x40547f[_0x34c072(0x231)]||!_0x40547f[_0x34c072(0x15a)]||await this[_0x34c072(0x1b8)](_0x34c072(0x1a5),async _0x10a021=>{const _0x369317=_0x34c072;this['showOutcome'](await this[_0x369317(0x22b)][_0x369317(0x147)](_0x40547f,_0x5d63a9=>this[_0x369317(0x232)](_0x5d63a9),_0x10a021,_0xdc73aa=>this['chooseSupport'](_0xdc73aa)));});}['taskMenu'](){const _0xdd75a5=_0x48915d,_0x5e5225=this[_0xdd75a5(0x18c)]();if(this['state'][_0xdd75a5(0x1a7)]!=='tasks'||!_0x5e5225)return;const _0x4f18d9=[{'label':_0xdd75a5(0x166),'run':()=>this[_0xdd75a5(0x10b)]({'focus':_0xdd75a5(0x1e3),'tab':_0xdd75a5(0x15b),'scroll':0x0})}];_0x5e5225[_0xdd75a5(0x231)]?(_0x4f18d9[_0xdd75a5(0x113)]({'label':_0xdd75a5(0x180),'run':()=>this[_0xdd75a5(0x124)]()},{'label':_0xdd75a5(0x1be),'run':()=>this[_0xdd75a5(0x175)]()}),_0x5e5225[_0xdd75a5(0x228)]===_0xdd75a5(0x10f)&&_0x4f18d9[_0xdd75a5(0x113)]({'label':'Request\x20changes\x20(new\x20paid\x20task)','run':()=>this[_0xdd75a5(0x155)]()})):_0x5e5225['requestKey']&&(_0x5e5225['canResume']&&_0x4f18d9[_0xdd75a5(0x113)]({'label':_0x5e5225['canCancel']?'Review\x20&\x20pay':_0xdd75a5(0x20e),'run':()=>this[_0xdd75a5(0x207)]()}),_0x5e5225[_0xdd75a5(0x254)]&&_0x4f18d9[_0xdd75a5(0x113)]({'label':'Cancel\x20request','run':()=>this[_0xdd75a5(0x161)]()}),_0x5e5225[_0xdd75a5(0x186)]&&_0x4f18d9['push']({'label':_0xdd75a5(0x1f8),'run':()=>this['deleteRequest']()})),this[_0xdd75a5(0x16e)](_0xdd75a5(0x1bf),_0x4f18d9);}async[_0x48915d(0x161)](){const _0x137406=_0x48915d,_0x52165f=this[_0x137406(0x18c)]();if(this[_0x137406(0x228)][_0x137406(0x1a7)]!==_0x137406(0x133)||!_0x52165f?.[_0x137406(0x254)])return;let _0x2c825c=!0x1;await this[_0x137406(0x1b8)](_0x137406(0x168),async()=>{const _0x29f1b3=_0x137406;await this['confirm']({'title':_0x29f1b3(0x104),'lines':[_0x52165f[_0x29f1b3(0x142)],'',_0x29f1b3(0x117),_0x29f1b3(0x181),_0x29f1b3(0x16c)],'acceptLabel':_0x29f1b3(0xf9),'cancelLabel':_0x29f1b3(0x215)})&&(await this['services'][_0x29f1b3(0x1c2)](_0x52165f),_0x2c825c=!0x0);}),_0x2c825c&&!this[_0x137406(0x12a)]&&(await this[_0x137406(0x20b)](),this[_0x137406(0x10b)]({'notice':_0x137406(0x1b2)}));}async[_0x48915d(0xec)](){const _0x4ee7b0=_0x48915d,_0xe6775b=this[_0x4ee7b0(0x18c)]();if(this[_0x4ee7b0(0x228)]['view']!==_0x4ee7b0(0x133)||!_0xe6775b?.[_0x4ee7b0(0x186)])return;let _0xf3dc11=!0x1;await this[_0x4ee7b0(0x1b8)](_0x4ee7b0(0x1f0),async()=>{const _0x418b9b=_0x4ee7b0;await this[_0x418b9b(0x22b)][_0x418b9b(0x245)](_0xe6775b),_0xf3dc11=!0x0;}),_0xf3dc11&&!this[_0x4ee7b0(0x12a)]&&(await this['refresh'](),this['update']({'notice':_0x4ee7b0(0x10c)}));}[_0x48915d(0x175)](){const _0x5cc0db=_0x48915d,_0x440e58=this[_0x5cc0db(0x18c)]();_0x440e58?.[_0x5cc0db(0x231)]&&this[_0x5cc0db(0x1fb)](_0x5cc0db(0x1aa),[{'name':_0x5cc0db(0x221),'label':'Save\x20under\x20this\x20directory','value':_0x5cc0db(0x1ea)+_0x440e58[_0x5cc0db(0x231)]}],async({out:_0x3b9e06})=>{const _0x54b721=_0x5cc0db;if(!_0x3b9e06['trim']())throw new Error('Choose\x20an\x20output\x20directory.');this[_0x54b721(0x10b)]({'form':null}),await this[_0x54b721(0x1b8)]('Downloading\x20verified\x20files...',async _0x3e7147=>{const _0x49d84b=_0x54b721,_0x713b81=await this[_0x49d84b(0x22b)][_0x49d84b(0x175)]({'id':_0x440e58[_0x49d84b(0x231)],'out':_0x3b9e06,'signal':_0x3e7147,'onProgress':_0x261899=>this[_0x49d84b(0x10b)]({'busy':_0x49d84b(0x125)+_0x261899[_0x49d84b(0x102)]})});this[_0x49d84b(0x10b)]({'notice':_0x49d84b(0x125)+_0x713b81[_0x49d84b(0x124)][_0x49d84b(0x19d)]+'\x20verified\x20files\x20to\x20'+_0x3b9e06});});},{'submit':_0x5cc0db(0x103)});}[_0x48915d(0x1c7)](){const _0x42d873=_0x48915d;this[_0x42d873(0x1fb)](_0x42d873(0x24d),[{'name':_0x42d873(0x239),'label':_0x42d873(0x234)},{'name':_0x42d873(0x225),'label':_0x42d873(0x1a1),'value':'22'},{'name':_0x42d873(0xfc),'label':'SSH\x20identity\x20file\x20(optional)'}],async _0x288643=>{const _0x22012a=_0x42d873,_0x378061=_0x3d89a0(_0x288643);this[_0x22012a(0x1bb)][_0x22012a(0x16b)](_0x4fdeb5=>_0x4fdeb5['id']===_0x378061['id'])||this[_0x22012a(0x1bb)][_0x22012a(0x113)](_0x378061),this[_0x22012a(0x10b)]({'form':null}),await this['refresh'](),this[_0x22012a(0x10b)]({'selected':this[_0x22012a(0x228)][_0x22012a(0x12d)]['findIndex'](_0x5a44b0=>_0x5a44b0['id']===_0x378061['id'])}),await this['loadDetail']();},{'submit':_0x42d873(0x1b3)});}[_0x48915d(0x16e)](_0x3313da,_0x10fb61){const _0x3908de=_0x48915d;this[_0x3908de(0x14d)](),this[_0x3908de(0x10b)]({'menu':{'title':_0x3313da,'items':_0x10fb61,'selected':0x0},'form':null});}['chooseSupport'](_0x7d9b71){return new Promise((_0x2f8d39,_0x119117)=>{const _0x28aa18=_0x4cf7;this[_0x28aa18(0x1a0)]=_0x119117,this['showMenu'](_0x28aa18(0x23d),_0x7d9b71[_0x28aa18(0x20d)]((_0x324655,_0x1df95c)=>({'label':_0x324655['label'],'run':()=>{const _0x12ede8=_0x28aa18;this[_0x12ede8(0x1a0)]=null,_0x2f8d39(_0x1df95c);}})));});}[_0x48915d(0x114)](){const _0x3d3105=_0x48915d;this[_0x3d3105(0x1a0)]?.(w()),this['supportReject']=null,this[_0x3d3105(0x10b)]({'menu':null});}['chooseMenu'](){const _0x1efb89=_0x48915d,_0x186f4e=this[_0x1efb89(0x228)]['menu'][_0x1efb89(0x12d)][this[_0x1efb89(0x228)][_0x1efb89(0x1cd)]['selected']];this[_0x1efb89(0x10b)]({'menu':null}),_0x186f4e['run']();}[_0x48915d(0x12e)](){const _0x5c1762=_0x48915d,_0x4d500f=this[_0x5c1762(0x18c)]();if(!_0x4d500f||_0x4d500f[_0x5c1762(0x249)]===_0x5c1762(0x1ae))return;const _0x554d42=(_0x3307fb,_0x48ac72=!0x1)=>()=>this[_0x5c1762(0x238)](_0x3307fb,_0x48ac72),_0x11c0ef=(_0x3ca87e,_0x21089b,_0x588d9f,_0x17e0da,_0x3493df=!0x1)=>()=>this[_0x5c1762(0x1fb)](_0x3ca87e,[{'name':_0x588d9f,'label':_0x17e0da}],_0x2d41a1=>{const _0x369f85=_0x5c1762;if(!_0x2d41a1[_0x588d9f]['trim']())throw new Error(_0x17e0da+_0x369f85(0x1fe));return this['update']({'form':null}),this[_0x369f85(0x238)](_0x21089b[_0x369f85(0x246)](_0x2d41a1[_0x588d9f][_0x369f85(0x15d)]()),_0x3493df);});this[_0x5c1762(0x16e)](_0x5c1762(0x139)+_0x4d500f[_0x5c1762(0x142)],[{'label':_0x5c1762(0x242),'run':_0x554d42([_0x5c1762(0x1ff)])},{'label':_0x5c1762(0x19f),'run':_0x554d42([_0x5c1762(0x241)])},{'label':_0x5c1762(0x122),'run':_0x554d42([_0x5c1762(0x116)])},{'label':_0x5c1762(0x24c),'run':_0x554d42([_0x5c1762(0x257)])},{'label':_0x5c1762(0x173),'run':_0x554d42([_0x5c1762(0x17d)],!0x0)},{'label':_0x5c1762(0x210),'run':_0x554d42([_0x5c1762(0xfb)],!0x0)},{'label':_0x5c1762(0x240),'run':_0x554d42(['register'],!0x0)},{'label':'Install\x20background\x20service','run':()=>this[_0x5c1762(0x16d)]()},...[_0x5c1762(0x14e),_0x5c1762(0x201),_0x5c1762(0x1e7),_0x5c1762(0x10b)][_0x5c1762(0x20d)](_0x251980=>({'label':_0x251980[0x0]['toUpperCase']()+_0x251980[_0x5c1762(0x177)](0x1),'run':_0x554d42([_0x251980],!0x0)})),{'label':'Skills','run':()=>this[_0x5c1762(0x16e)](_0x5c1762(0x152),[{'label':_0x5c1762(0x24b),'run':_0x554d42([_0x5c1762(0x1d4),_0x5c1762(0x226)])},{'label':_0x5c1762(0x1de),'run':_0x11c0ef('Add\x20skill',[_0x5c1762(0x1d4),_0x5c1762(0xfe)],'id',_0x5c1762(0x1d7))},{'label':_0x5c1762(0x1c4),'run':_0x11c0ef(_0x5c1762(0x1c4),['skills','remove'],'id',_0x5c1762(0x1d7))}])},{'label':'Tools\x20&\x20credentials','run':()=>this[_0x5c1762(0x16e)]('Worker\x20tools',[{'label':_0x5c1762(0xeb),'run':_0x554d42([_0x5c1762(0x1dd),_0x5c1762(0x226)])},{'label':_0x5c1762(0x11d),'run':_0x554d42([_0x5c1762(0x1dd),'add'],!0x0)},{'label':_0x5c1762(0x167),'run':_0x11c0ef(_0x5c1762(0x248),[_0x5c1762(0x1dd),_0x5c1762(0x1bd)],_0x5c1762(0x223),_0x5c1762(0x208),!0x0)},{'label':_0x5c1762(0x1c9),'run':_0x11c0ef(_0x5c1762(0x1c9),[_0x5c1762(0x1dd),_0x5c1762(0xed)],_0x5c1762(0x223),'Credential\x20name',!0x0)},{'label':_0x5c1762(0x1eb),'run':_0x11c0ef(_0x5c1762(0x1eb),[_0x5c1762(0x1dd),_0x5c1762(0x1cc)],'id','Tool\x20ID')}])},{'label':_0x5c1762(0x258),'run':()=>this[_0x5c1762(0x16e)](_0x5c1762(0x189),[{'label':'List\x20RPC\x20endpoints','run':_0x554d42([_0x5c1762(0x1f1),_0x5c1762(0x226)])},{'label':_0x5c1762(0x174),'run':_0x11c0ef(_0x5c1762(0x119),[_0x5c1762(0x1f1),_0x5c1762(0xfe)],_0x5c1762(0x235),_0x5c1762(0x18f),!0x0)},{'label':_0x5c1762(0x1e6),'run':_0x11c0ef('Remove\x20RPC',[_0x5c1762(0x1f1),_0x5c1762(0x1cc)],_0x5c1762(0x235),_0x5c1762(0x18f))}])},{'label':_0x5c1762(0x1bc),'run':_0x554d42([_0x5c1762(0x111)],!0x0)}]);}[_0x48915d(0x16d)](){const _0xbffc5a=_0x48915d;this[_0xbffc5a(0x1fb)](_0xbffc5a(0x206),[{'name':'runtime','label':_0xbffc5a(0xff),'value':_0xbffc5a(0x183)},{'name':'concurrency','label':_0xbffc5a(0x250),'value':'1'},{'name':_0xbffc5a(0x12f),'label':_0xbffc5a(0x140),'value':'no'}],async({runtime:_0x2238ce,concurrency:_0x26b687,boot:_0x741374})=>{const _0x3726b1=_0xbffc5a;if(![_0x3726b1(0x183),'codex'][_0x3726b1(0x1fd)](_0x2238ce))throw new Error('Choose\x20claude\x20or\x20codex.');if(!/^[1-4]$/[_0x3726b1(0xf3)](_0x26b687))throw new Error('Concurrency\x20must\x20be\x201\u20134.');if(![_0x3726b1(0x191),'no'][_0x3726b1(0x1fd)](_0x741374))throw new Error(_0x3726b1(0x14c));const _0xe21012=[_0x3726b1(0x11e),_0x3726b1(0x115),_0x3726b1(0x1b4),_0x2238ce,_0x3726b1(0x196),_0x26b687];_0x741374===_0x3726b1(0x191)&&_0xe21012['push'](_0x3726b1(0x251)),this[_0x3726b1(0x10b)]({'form':null}),await this[_0x3726b1(0x238)](_0xe21012,!0x0);});}async[_0x48915d(0x238)](_0x65182b,_0x12b210=!0x1){const _0x15dcf4=_0x48915d,_0x5192f0=this['selected']();!_0x5192f0||_0x5192f0[_0x15dcf4(0x249)]==='network-worker'||await this[_0x15dcf4(0x1b8)](_0x15dcf4(0x132)+_0x65182b[_0x15dcf4(0x1af)]('\x20')+'...',async _0x3ff0c8=>{const _0x1a7f31=_0x15dcf4;if(_0x12b210){if(!await this['confirm']({'title':'Run\x20on\x20'+_0x5192f0[_0x1a7f31(0x142)]+'?','lines':[_0x1a7f31(0x18e)+_0x65182b[_0x1a7f31(0x1af)]('\x20'),_0x1a7f31(0x214)]}))return;await this['terminal']([_0x1a7f31(0x1e0),..._0x65182b],_0x5192f0),this[_0x1a7f31(0x10b)]({'notice':_0x1a7f31(0xf2)});}else{const _0x2de37a=await this[_0x1a7f31(0x22b)][_0x1a7f31(0x123)]([_0x1a7f31(0x1e0),..._0x65182b],_0x5192f0,_0x3ff0c8);this[_0x1a7f31(0x10b)]({'detail':{'output':_0x2de37a},'focus':_0x1a7f31(0x1e3),'scroll':0x0});}});}[_0x48915d(0x1ca)](_0x147c17){return new Promise((_0x2b4fac,_0x55e501)=>{const _0x138e5d=_0x4cf7;this[_0x138e5d(0x259)]=_0x55e501,this[_0x138e5d(0x1fb)]('Confirm\x20wallet\x20password',[{'name':_0x138e5d(0x1b9),'label':_0x147c17,'secret':!0x0}],({password:_0x3ac02b})=>{const _0x27fc82=_0x138e5d;this[_0x27fc82(0x10b)]({'form':null}),this[_0x27fc82(0x259)]=null,_0x2b4fac(_0x3ac02b);},{'submit':_0x138e5d(0x256),'onCancel':()=>{const _0x3dc167=_0x138e5d;this[_0x3dc167(0x259)]=null,_0x55e501(new Error(_0x3dc167(0x23b)));}});});}[_0x48915d(0x1da)](){const _0x39b1ed=_0x48915d,_0x4b6e57=this[_0x39b1ed(0x228)][_0x39b1ed(0x1e3)]?.[_0x39b1ed(0x23a)]==='local';this[_0x39b1ed(0x228)][_0x39b1ed(0x1e3)]?.[_0x39b1ed(0x1ab)]&&this['showMenu'](_0x39b1ed(0x14a),[...!this['walletIsCurrent']()&&this[_0x39b1ed(0x18c)]()?[{'label':_0x39b1ed(0x1ef),'run':()=>this['useSelectedWallet']()}]:[],..._0x4b6e57?[{'label':'View\x20private\x20key','run':()=>this[_0x39b1ed(0x158)]()},{'label':_0x39b1ed(0x25a),'run':()=>this[_0x39b1ed(0x1c0)]()}]:[],...this[_0x39b1ed(0x228)]['detail']?.['configured']?[{'label':_0x39b1ed(0x253),'run':()=>this[_0x39b1ed(0x141)]()}]:[]]);}['walletManagement'](){const _0x1f7298=_0x48915d;this[_0x1f7298(0x16e)](_0x1f7298(0x24a),[{'label':_0x1f7298(0x1c5),'run':()=>this[_0x1f7298(0x165)](!0x1)},{'label':_0x1f7298(0x178),'run':()=>this[_0x1f7298(0x243)]()},{'label':_0x1f7298(0x211),'run':()=>this[_0x1f7298(0x14f)]()}]);}['walletImport'](){const _0x53e302=_0x48915d;this[_0x53e302(0x16e)]('Import\x20wallet',[{'label':_0x53e302(0x1c8),'run':()=>this['walletSetup'](!0x0)},{'label':_0x53e302(0x13b),'run':()=>this['walletRestore']()}]);}[_0x48915d(0xfd)](){const _0x55e01a=_0x48915d;return!this[_0x55e01a(0x18c)]()||this[_0x55e01a(0x18c)]()[_0x55e01a(0x1dc)]===this['state']['address'];}[_0x48915d(0x158)](){const _0x53a67b=_0x48915d,_0x17d24e=this[_0x53a67b(0x18c)]()?.['address']??this['state'][_0x53a67b(0x1e3)]?.['address'];this[_0x53a67b(0x228)]['detail']?.[_0x53a67b(0x23a)]!==_0x53a67b(0x101)||!_0x17d24e||this[_0x53a67b(0x1fb)](_0x53a67b(0x106),[{'name':'password','label':'Local\x20wallet\x20password','secret':!0x0}],async({password:_0x1587e3})=>{const _0x1cea5c=_0x53a67b;this['update']({'form':null});const _0x3aba0a=await this[_0x1cea5c(0x1b8)]('Checking\x20wallet\x20password...',_0x1f2c25=>this[_0x1cea5c(0x22b)][_0x1cea5c(0x1d0)](_0x17d24e,_0x1587e3,_0x1f2c25));_0x3aba0a&&this[_0x1cea5c(0x10b)]({'privateKeyView':_0x3aba0a});},{'submit':_0x53a67b(0x244)});}async[_0x48915d(0xf8)](_0x42aa9c){const _0x46068c=_0x48915d;this[_0x46068c(0x10b)]({'selected':-0x1}),this[_0x46068c(0x1ee)]=_0x42aa9c,await this[_0x46068c(0x20b)]();}async[_0x48915d(0xf0)](){const _0x560b13=_0x48915d,_0x13e361=this[_0x560b13(0x18c)]();if(!_0x13e361||this['walletIsCurrent']())return;const _0x1b066b=await this[_0x560b13(0x1b8)](_0x560b13(0x19c),()=>this[_0x560b13(0x22b)][_0x560b13(0x195)](_0x13e361['address']));_0x1b066b&&(await this[_0x560b13(0x20b)](),this[_0x560b13(0x10b)]({'notice':'Current\x20wallet:\x20'+_0x1b066b['address']}));}[_0x48915d(0x165)](_0x2a869f){const _0x5e2fe3=_0x48915d,_0x598666=this[_0x5e2fe3(0x22b)][_0x5e2fe3(0x1f9)]()[_0x5e2fe3(0x19d)]>0x0||this[_0x5e2fe3(0x228)][_0x5e2fe3(0x1e3)]?.[_0x5e2fe3(0x23a)]==='local',_0x1f3be2=async({key:_0x4a9a3b,password:_0x388873,repeat:_0x34ddf6})=>{const _0x4ab79a=_0x5e2fe3;if(!_0x598666){if(_0x388873!==_0x34ddf6)throw new Error(_0x4ab79a(0x199));if(_0x388873['length']<0x8)throw new Error(_0x4ab79a(0x137));}this['update']({'form':null});const _0x446b0b=await this['run']('Encrypting\x20wallet\x20locally...',_0x2f9157=>this[_0x4ab79a(0x22b)][_0x4ab79a(0x224)](_0x388873,_0x4a9a3b,_0x2f9157));_0x446b0b&&(await this[_0x4ab79a(0xf8)](_0x446b0b[_0x4ab79a(0x1dc)]),this[_0x4ab79a(0x10b)]({'notice':_0x4ab79a(0x227)}));};if(_0x598666&&!_0x2a869f)return _0x1f3be2({});this['showForm'](_0x2a869f?_0x5e2fe3(0x15e):_0x5e2fe3(0x176),[..._0x2a869f?[{'name':_0x5e2fe3(0x1bd),'label':_0x5e2fe3(0x19b),'secret':!0x0}]:[],..._0x598666?[]:[{'name':_0x5e2fe3(0x1b9),'label':'Local\x20wallet\x20password\x20(at\x20least\x208\x20characters)','secret':!0x0},{'name':_0x5e2fe3(0x144),'label':_0x5e2fe3(0x193),'secret':!0x0}]],_0x1f3be2,{'submit':_0x2a869f?'Import\x20wallet':_0x5e2fe3(0x151)});}[_0x48915d(0x164)](){const _0x40020c=_0x48915d;this['showForm'](_0x40020c(0xef),[{'name':_0x40020c(0x220),'label':_0x40020c(0x22e)},{'name':_0x40020c(0x1b9),'label':_0x40020c(0x138),'secret':!0x0}],async({file:_0x1df37c,password:_0x10fa7a})=>{const _0x46e742=_0x40020c;this[_0x46e742(0x10b)]({'form':null});const _0x50723a=await this[_0x46e742(0x1b8)](_0x46e742(0x13e),_0x3c379f=>this['services']['restoreWallet'](_0x1df37c,_0x10fa7a,_0x3c379f));_0x50723a&&await this[_0x46e742(0xf8)](_0x50723a[_0x46e742(0x1dc)]);},{'submit':_0x40020c(0x23f)});}[_0x48915d(0x1c0)](){const _0x98a502=_0x48915d,_0x51338b=this['selected']()?.[_0x98a502(0x1dc)]??this[_0x98a502(0x228)]['detail']?.['address'];_0x51338b&&this[_0x98a502(0x1fb)]('Back\x20up\x20encrypted\x20wallet',[{'name':_0x98a502(0x221),'label':'Save\x20encrypted\x20backup\x20to\x20(new\x20file)'}],async({out:_0x7080a8})=>{const _0x1e65d1=_0x98a502;this[_0x1e65d1(0x10b)]({'form':null});const _0x5cfca3=await this['run'](_0x1e65d1(0x1b6),()=>this[_0x1e65d1(0x22b)][_0x1e65d1(0x10a)](_0x7080a8,_0x51338b));_0x5cfca3&&this[_0x1e65d1(0x10b)]({'notice':_0x1e65d1(0x1d1)+_0x5cfca3[_0x1e65d1(0x102)]+_0x1e65d1(0x182)});},{'submit':'Save\x20backup'});}async['walletReceive'](){const _0x2fd539=_0x48915d,_0x4e8e21=this['selected']()?.[_0x2fd539(0x1dc)]??this[_0x2fd539(0x228)]['detail']?.[_0x2fd539(0x1dc)];_0x4e8e21&&await this[_0x2fd539(0x1b8)]('Preparing\x20receive\x20address...',async()=>{const _0x3273e2=_0x2fd539;this[_0x3273e2(0x10b)]({'receive':await this[_0x3273e2(0x22b)][_0x3273e2(0x1db)](_0x4e8e21)});});}[_0x48915d(0x156)](){const _0x3931a2=_0x48915d,_0x9e391=this['state'][_0x3931a2(0xf7)][_0x3931a2(0x1dc)];this[_0x3931a2(0x1fb)](_0x3931a2(0x233),[{'name':_0x3931a2(0x221),'label':_0x3931a2(0x1cb),'placeholder':_0x3931a2(0x149)}],async({out:_0x1dec9b})=>{const _0x194335=_0x3931a2;this[_0x194335(0x10b)]({'form':null});const _0x4f64e4=await this[_0x194335(0x1b8)](_0x194335(0xea),()=>this['services'][_0x194335(0xfa)](_0x9e391,_0x1dec9b));_0x4f64e4&&this[_0x194335(0x10b)]({'notice':'QR\x20saved:\x20'+_0x4f64e4[_0x194335(0x102)]});},{'submit':_0x3931a2(0x205)});}[_0x48915d(0x14f)](){const _0x545205=_0x48915d;this['showMenu'](_0x545205(0x236),this[_0x545205(0x22b)][_0x545205(0x1a8)]()[_0x545205(0x20d)](({key:_0x3e3a46,name:_0x507a94})=>({'label':_0x507a94,'run':async()=>{const _0x266246=_0x545205;await this[_0x266246(0x1b8)](_0x266246(0x162)+_0x507a94+_0x266246(0x1f4),()=>this[_0x266246(0x22b)]['selectNetwork'](_0x3e3a46)),await this[_0x266246(0x20b)]();}})));}[_0x48915d(0xf1)](){const _0xddfef9=_0x48915d;clearTimeout(this[_0xddfef9(0x110)]),this[_0xddfef9(0x1a0)]?.(w()),this[_0xddfef9(0x1a0)]=null,this[_0xddfef9(0x259)]?.(new Error(_0xddfef9(0x219))),this['passwordReject']=null,_0x4b0cdd(),this[_0xddfef9(0x10b)]({'form':null,'privateKeyView':null}),this[_0xddfef9(0x12a)]=!0x0,this[_0xddfef9(0x14b)]?.[_0xddfef9(0x1e8)](),this['refreshRequest']?.[_0xddfef9(0x1e8)](),this[_0xddfef9(0x134)]?.[_0xddfef9(0x1e8)](),this[_0xddfef9(0x1e4)]?.(!0x1),this[_0xddfef9(0x21a)]?.([]),++this[_0xddfef9(0x202)],this[_0xddfef9(0x216)][_0xddfef9(0x1fc)]();}}export{S as DashboardController,p as FILTERS,h as TABS,I as VIEWS,u as visibleItems};
1
+ const _0x58ce40=_0x2b86;import{coinSymbol as _0x3fc6d7}from'../lib/payment-coins.mjs';import{createWorkerTarget as _0x44d155,paymentView as _0x4961d7}from'./services.mjs';import{lockWallet as _0x1e3d49}from'../lib/local-wallet.mjs';import{fundingInstructions as _0x578522}from'../lib/funding-error.mjs';const D=[_0x58ce40(0xdd),_0x58ce40(0x8d),_0x58ce40(0xe4),_0x58ce40(0x1d5)],f=[_0x58ce40(0x1a4),_0x58ce40(0x103),_0x58ce40(0x150),_0x58ce40(0x1d0),_0x58ce40(0x100)],u=['Overview',_0x58ce40(0xcb),'Files'],m=new Set(['created','quoted','challenged','funding','signed',_0x58ce40(0xef),_0x58ce40(0xec),'running','executing',_0x58ce40(0x115),'admitting']),k=new Set([_0x58ce40(0xc5),_0x58ce40(0xa8),_0x58ce40(0x142),'payment_reconciling']),R=new Set(['transaction_pending',_0x58ce40(0xdf)]),C=0x7530;function p(_0x4b223b){const _0x396edf=_0x58ce40;return _0x4b223b['items'][_0x396edf(0xce)](_0x593c71=>!['tasks',_0x396edf(0xe4)][_0x396edf(0x162)](_0x4b223b['view'])||[_0x593c71[_0x396edf(0x89)],_0x593c71['id'],_0x593c71[_0x396edf(0x12f)]??''][_0x396edf(0x155)](_0x5c6ac5=>_0x5c6ac5[_0x396edf(0x19e)]()[_0x396edf(0x162)](_0x4b223b[_0x396edf(0x1b9)][_0x396edf(0x19e)]()))?_0x4b223b[_0x396edf(0xce)]===_0x396edf(0x1a4)||_0x4b223b['view']!==_0x396edf(0xdd)?!0x0:_0x4b223b[_0x396edf(0xce)]===_0x396edf(0x150)?_0x593c71['state']===_0x396edf(0x8b):_0x4b223b['filter']==='Cancelled'?_0x593c71[_0x396edf(0x1af)]===_0x396edf(0x7d):_0x4b223b[_0x396edf(0xce)]===_0x396edf(0x103)?m[_0x396edf(0x16c)](_0x593c71['state']):!['completed','cancelled'][_0x396edf(0x162)](_0x593c71['state'])&&!m['has'](_0x593c71[_0x396edf(0x1af)]):!0x1);}function _0x2b86(_0x3ade02,_0x1537fc){_0x3ade02=_0x3ade02-0x76;const _0x2b8666=_0x1537();let _0x31d43d=_0x2b8666[_0x3ade02];return _0x31d43d;}function h(){const _0x2c5f6f=_0x58ce40;return Object[_0x2c5f6f(0xb8)](new Error('Payment\x20cancelled.\x20No\x20new\x20payment\x20was\x20signed.'),{'code':_0x2c5f6f(0x7d)});}function S(_0x573c18){const _0x412b9d=_0x58ce40;if(!_0x573c18)return[];const _0x4d8ce4=[];return _0x573c18[_0x412b9d(0x166)]&&_0x4d8ce4[_0x412b9d(0x106)](_0x412b9d(0x8f)+_0x573c18[_0x412b9d(0x166)]+(_0x573c18[_0x412b9d(0xf7)]?'\x20('+_0x573c18[_0x412b9d(0xf7)]+')':'')),_0x573c18[_0x412b9d(0x179)]&&_0x4d8ce4[_0x412b9d(0x106)]('Reason:\x20'+_0x573c18[_0x412b9d(0x179)]),_0x573c18[_0x412b9d(0x1bf)]&&_0x4d8ce4[_0x412b9d(0x106)]('Explorer:\x20'+_0x573c18['explorerUrl']),_0x4d8ce4;}function I(_0x1c223d){const _0x5be105=_0x58ce40,_0x322ea4=[_0x1c223d[_0x5be105(0x1c7)]||'The\x20payment\x20result\x20is\x20not\x20final\x20yet.'];return _0x322ea4['push'](...S(_0x1c223d[_0x5be105(0x186)])),_0x322ea4[_0x5be105(0x106)](_0x5be105(0x9f)),_0x322ea4[_0x5be105(0x86)]('\x0a');}function _0x1537(){const _0x16ba0c=['deploy','Receive\x20funds\x20/\x20QR\x20code','Task\x20actions','map','job.continue','objective','Downloading\x20verified\x20files...','cancelled','\x20is\x20required.','logs','terminal','Explorer:\x20','localeCompare','Import\x20wallet','create','List\x20tools','join','operation','now','title','selectWallet','completed','admitted','explore','A\x20little\x20more\x20information','Transaction:\x20','wallets','list','Cancel\x20request','start','field','walletNetworkMenu','receive','parent','Worker\x20skills','canCancel','Task\x20published:\x20','showMenu','questions','subscribe','Add\x20tool','Your\x20request\x20is\x20saved\x20in\x20My\x20tasks.\x20Continue\x20payment\x20there\x20to\x20check\x20the\x20original\x20payment\x20before\x20sending\x20another\x20payment.','local','Loading\x20files...','download','address','since','total','Download','refresh','payment_failed','Files','coins','formSubmit','Search\x20workers','name','refreshWalletSelection','publishDraft','Remove\x20tool','Checking\x20balance\x20and\x20refreshing\x20prices...','listeners','Add\x20skill','run','deliverables','walletRestore','abort','assign','View\x20private\x20key\x20·\x20confirm\x20password','network-worker','Local\x20wallet\x20password','passwordReject','View\x20result\x20files','colony\x20worker\x20','files','Confirm\x20password','value','navigate','Review\x20task','deleteRequest','expired','confirmReplacement','showError','Backup\x20password','\x20managed\x20targets\x20·\x20Network\x20unavailable\x20·\x20r\x20retry','Choose\x20payment\x20network\x20(all\x20wallets)','Activity','pendingTransaction','Checking\x20the\x20saved\x20order...','filter','Keyword\x20or\x20task\x20ID','Preparing\x20local\x20LLM...','draft','Cancel\x20this\x20request?','chooseSupport','autoRefresh','length','getSnapshot','host','error','funding_required','password','SSH\x20identity\x20file\x20(optional)','refreshError','tasks','Backup\x20file\x20path','payment_reconciling','Identity','networkWorkers','Tool\x20credential','refusalProblems','workers','The\x20command\x20will\x20open\x20in\x20your\x20terminal,\x20then\x20return\x20here.','Credential\x20name','...','backupWallet','ask','Delete\x20local\x20record','QR\x20saved:\x20','queued','remove','scroll','submitted','Tools\x20&\x20credentials','concurrency','\x20verified\x20files\x20to\x20','closed','Local\x20wallet\x20password\x20(at\x20least\x208\x20characters)','menu','Loading\x20network\x20workers...','kind','\x20network\x20workers\x20·\x20availability,\x20free\x20slots,\x20ID\x20·\x20r\x20refresh','refreshRequest','services','walletImport','cancelAutoRefresh','clear','Passwords\x20do\x20not\x20match.','Build\x20a\x20website\x20for\x20my\x20coffee\x20shop','Cancelled','worker','requestPassword','Active','Not\x20paid.\x20','Worker:\x20','push','Preparing\x20receive\x20address...','setField','Back','update','Worker\x20ID,\x20runtime\x20or\x20skill','Wallet\x20unlock\x20cancelled.','Selecting\x20','Checking\x20your\x20balance\x20and\x20network\x20fees...','createWallet','detail','Download\x20task\x20files','fields','result','detailLoading','pending','Chain\x20ID','set','configured','changeTab','Set\x20local\x20wallet\x20password','New\x20SVG\x20file\x20path','selected','Add\x20funds\x20to\x20continue','stop','delete','walletIsCurrent','Choose\x20an\x20output\x20directory.','Remove\x20skill','useSelectedWallet','findIndex','Payment\x20needs\x20review.','extraTargets','Save\x20QR','orderId','restoreWallet','values','Create\x20a\x20new\x20local\x20wallet','close','Set\x20tool\x20credential\x20(hidden\x20input)','signal','searchText','View\x20private\x20key','doctor','Skills','trim','form','Review\x20task\x20&\x20payment','resume','Current','Tool\x20ID','Runtime\x20(claude\x20or\x20codex)','showForm','serviceInstall','busy','restart','lastExploreRefresh','items','walletManagement','tools','transaction_pending','Run\x20on\x20','identity','Add\x20RPC','Enter\x20yes\x20or\x20no.','colony-receive.svg','loaded','options','editDraft','showPaymentProgress','canDelete','Import\x20private\x20key\x20·\x20encrypted\x20locally','max','file','Completed','List\x20RPC\x20endpoints','cancelRequest','Save\x20recharge\x20QR\x20code','status','some','taskMenu','loadDetail','walletPrivateKey','Current\x20wallet:\x20','Save\x20backup','source','Loading\x20older\x20tasks...','jobId','dismissForm','Auto-refresh\x20failed:\x20','restoreSelectedId','Add\x20a\x20worker\x20target','includes','Backup\x20saved:\x20','Your\x20request\x20is\x20saved\x20in\x20My\x20tasks.','Back\x20up\x20encrypted\x20wallet','hash','Wallet\x20unlock\x20cancelled.\x20No\x20payment\x20was\x20signed.','Request\x20cancelled.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','Cancelling\x20request...','targets','add','has','What\x20would\x20you\x20like\x20to\x20change?','formCancel','showOutcome','Understanding\x20your\x20request...','view','Loading\x20','Download\x20files','Wallet\x20ready.\x20Press\x20b\x20to\x20back\x20up\x20before\x20depositing\x20funds.','Check\x20balance\x20&\x20continue','Update\x20network\x20fee','Overview','Deleting\x20local\x20record...','reason','Continue\x20payment\x20there\x20to\x20check\x20the\x20original\x20payment\x20before\x20retrying.','SSH\x20port','nextField','continueTask','refreshExplore','canResume','List\x20skills','createdAt','\x20managed\x20targets\x20·\x20','input','concat','toUpperCase','transaction','publish','Request\x20changes\x20(new\x20paid\x20task)','saveReceiveQr','Continue','currentAddress','Remove\x20RPC','From\x20private\x20key','refused','Saved\x20','confirmResolve','askResolve','payWith','Restoring\x20wallet...','requestKey','checkTaskWallet','Worker\x20tools','stage','Forget\x20credential','whoami','Checking\x20the\x20task\x20and\x20requesting\x20an\x20IMD\x20quote...','resumeOrder','Use\x20at\x20least\x208\x20characters.','code','toLowerCase','receiveWallet','Wallet\x20management\x20·\x20all\x20wallets','Deploy\x20official\x20worker','Skill\x20ID','path','All','Checking\x20wallet\x20password...','slice','Add\x20RPC\x20endpoint\x20(hidden\x20input)','privateKeyView','running','submitForm','Status','test','Order\x20status:\x20','Review\x20&\x20pay','state','search','claude','paymentCoins','Unlink\x20worker','Save\x20under\x20this\x20directory','Install\x20background\x20service','port','Remove\x20RPC\x20endpoint','addTarget','query','Concurrent\x20tasks\x20(1–4)','walletReceive','Local\x20record\x20deleted.','detailRequest','Linux\x20start\x20at\x20boot\x20(yes/no)','explorerUrl','command','walletSetup','skills','cursor','help','updatedAt','Restore\x20encrypted\x20wallet','message','funding','.\x20Press\x20r\x20to\x20refresh\x20My\x20tasks.','Encrypting\x20wallet\x20locally...','cancel','workerCommand','move','rpc','withFundingRetry','Attention','SSH\x20user@host\x20(empty\x20=\x20this\x20computer)','detailVersion','Search','out','wallet','Keep\x20request','Create\x20a\x20task','networks','lines','job.open','One\x20local\x20password\x20·\x20u\x20use\x20selected\x20wallet','blockers','supportReject','yes','managed-worker','active','min','confirm','plan','What\x20would\x20you\x20like\x20to\x20get\x20done?','walletBackup','note','exploreUpdates','chain','This\x20request\x20is\x20not\x20supported.','more','boot','saveQr','View\x20details','From\x20encrypted\x20backup','fromEntries','key','walletMenu','detailTimer','indexOf','Pair\x20with\x20wallet','workerMenu','service'];_0x1537=function(){return _0x16ba0c;};return _0x1537();}class E{constructor(_0x1b9e40){const _0xe6b12=_0x58ce40;this[_0xe6b12(0xfa)]=_0x1b9e40,this[_0xe6b12(0xb2)]=new Set(),this[_0xe6b12(0x1af)]={'view':_0xe6b12(0xdd),'items':[],'selected':0x0,'detail':null,'result':null,'tab':_0xe6b12(0x177),'filter':_0xe6b12(0x1a4),'query':'','note':'','focus':'list','scroll':0x0,'busy':null,'error':null,'notice':null,'form':null,'menu':null,'confirm':null,'modelProgress':null,'help':!0x1,'detailLoading':!0x1,'address':null,'cursor':null,'total':null,'since':null,'refreshing':!0x1,'refreshError':null,'receive':null,'privateKeyView':null},this['detailVersion']=0x0,this[_0xe6b12(0x126)]=[],this[_0xe6b12(0xf3)]=!0x1,this[_0xe6b12(0x13e)]=0x0;}[_0x58ce40(0x9d)]=_0x4bd04e=>(this[_0x58ce40(0xb2)][_0x58ce40(0x16b)](_0x4bd04e),()=>this[_0x58ce40(0xb2)][_0x58ce40(0x11f)](_0x4bd04e));[_0x58ce40(0xd6)]=()=>this[_0x58ce40(0x1af)];[_0x58ce40(0x10a)](_0x2a852f){const _0x3b6a9b=_0x58ce40;if(!this[_0x3b6a9b(0xf3)]){this[_0x3b6a9b(0x1af)]={...this[_0x3b6a9b(0x1af)],..._0x2a852f};for(const _0x5d7f7e of this[_0x3b6a9b(0xb2)])_0x5d7f7e();}}['selected'](){return p(this['state'])[this['state']['selected']];}[_0x58ce40(0xc7)](){const _0x4044a0=_0x58ce40;++this[_0x4044a0(0x1d2)],this[_0x4044a0(0x10a)]({'detail':{'output':this[_0x4044a0(0x1af)][_0x4044a0(0xd8)]??this[_0x4044a0(0x1af)][_0x4044a0(0xdc)]},'detailLoading':!0x1,'focus':_0x4044a0(0x110),'scroll':0x0,'tab':'Overview'});}[_0x58ce40(0xfc)](){const _0x123cb3=_0x58ce40;this['refreshRequest']?.[_0x123cb3(0xb7)](),this[_0x123cb3(0xf9)]=null,this[_0x123cb3(0x10a)]({'refreshing':!0x1});}async['run'](_0x56f140,_0x1f5283){const _0xe9d23b=_0x58ce40;if(!this[_0xe9d23b(0x1af)][_0xe9d23b(0x13c)]){this[_0xe9d23b(0xfc)](),this['operation']=new AbortController(),this[_0xe9d23b(0x10a)]({'busy':_0x56f140,'error':null,'refreshError':null,'notice':null});try{return await _0x1f5283(this[_0xe9d23b(0x87)][_0xe9d23b(0x12e)]);}catch(_0x1a27f1){_0x1a27f1['code']===_0xe9d23b(0x7d)?(this[_0xe9d23b(0x10a)]({'notice':_0x1a27f1[_0xe9d23b(0x1c7)]}),this[_0xe9d23b(0x14a)]()):R[_0xe9d23b(0x16c)](_0x1a27f1[_0xe9d23b(0x19d)])?this[_0xe9d23b(0x10a)]({'error':I(_0x1a27f1)}):this[_0xe9d23b(0x10a)]({'error':_0x1a27f1[_0xe9d23b(0x1c7)]});}finally{this[_0xe9d23b(0x10a)]({'busy':null,'modelProgress':null});}}}async[_0x58ce40(0xc2)](_0x544404){const _0x2ab3c1=_0x58ce40;this[_0x2ab3c1(0x1af)][_0x2ab3c1(0x13c)]||(clearTimeout(this['detailTimer']),this[_0x2ab3c1(0x1bd)]?.[_0x2ab3c1(0xb7)](),++this[_0x2ab3c1(0x1d2)],this[_0x2ab3c1(0x10a)]({'view':_0x544404,'items':[],'detail':null,'result':null,'selected':0x0,'query':'','filter':_0x2ab3c1(0x1a4),'tab':_0x2ab3c1(0x177),'scroll':0x0,'focus':'list','form':null,'menu':null,'cursor':null,'total':null,'since':null}),await this[_0x2ab3c1(0xa7)]());}async[_0x58ce40(0xa7)](){const _0x29bb7f=_0x58ce40,_0x2e67d7=this[_0x29bb7f(0x11c)]()?.['id']??this[_0x29bb7f(0x160)];this['restoreSelectedId']=void 0x0,await this[_0x29bb7f(0xb4)](_0x29bb7f(0x172)+this[_0x29bb7f(0x1af)][_0x29bb7f(0x171)]+_0x29bb7f(0xe7),async _0x1c9a40=>{const _0x3360bc=_0x29bb7f;let _0xb94835;if(this['state'][_0x3360bc(0x171)]===_0x3360bc(0xdd))_0xb94835=await this[_0x3360bc(0xfa)]['mine'](_0x1c9a40);else{if(this[_0x3360bc(0x1af)][_0x3360bc(0x171)]===_0x3360bc(0x8d))_0xb94835=await this[_0x3360bc(0xfa)][_0x3360bc(0x8d)](this[_0x3360bc(0x1af)][_0x3360bc(0x1b9)],void 0x0,_0x1c9a40);else{if(this[_0x3360bc(0x1af)][_0x3360bc(0x171)]===_0x3360bc(0xe4)){const _0x3039b9=this[_0x3360bc(0xfa)][_0x3360bc(0x16a)](),_0x20fe00=new Set(_0x3039b9[_0x3360bc(0x79)](_0x2950ae=>_0x2950ae['id'])),_0x2074ce=_0x3039b9[_0x3360bc(0x184)](this[_0x3360bc(0x126)]['filter'](_0xfab65d=>!_0x20fe00[_0x3360bc(0x16c)](_0xfab65d['id'])))[_0x3360bc(0x79)](_0x2f525e=>({..._0x2f525e,'kind':_0x3360bc(0x1df)}));this['update']({'items':_0x2074ce,'selected':0x0,'note':_0x3360bc(0xf6)});let _0x1012fe;try{_0x1012fe=await this['services'][_0x3360bc(0xe1)](_0x1c9a40);}catch(_0x46ea6c){throw this[_0x3360bc(0x10a)]({'note':_0x2074ce[_0x3360bc(0xd5)]+_0x3360bc(0xc9)}),_0x46ea6c;}_0xb94835={'items':_0x2074ce['concat'](_0x1012fe),'note':_0x2074ce[_0x3360bc(0xd5)]+_0x3360bc(0x182)+_0x1012fe[_0x3360bc(0xd5)]+_0x3360bc(0xf8)};}else{const _0x2a630c=await this[_0x3360bc(0xfa)][_0x3360bc(0x1d5)](_0x1c9a40,_0x2e67d7,{'balances':!0x1}),_0x561d74=this[_0x3360bc(0xfa)][_0x3360bc(0x90)]();!_0x561d74[_0x3360bc(0xd5)]&&_0x2a630c['configured']&&_0x561d74[_0x3360bc(0x106)]({'address':_0x2a630c[_0x3360bc(0xa3)],'active':!0x0,'locked':_0x2a630c['locked']}),_0xb94835={'items':_0x561d74[_0x3360bc(0x79)](_0x128e6a=>({..._0x128e6a,'id':_0x128e6a[_0x3360bc(0xa3)],'title':_0x128e6a[_0x3360bc(0xa3)][_0x3360bc(0x1a6)](0x0,0xa)+'...'+_0x128e6a[_0x3360bc(0xa3)][_0x3360bc(0x1a6)](-0x8),'subtitle':_0x128e6a[_0x3360bc(0x1e0)]?_0x3360bc(0x137):'Saved\x20wallet'})),'note':_0x3360bc(0x1db),'address':_0x2a630c[_0x3360bc(0x18b)]??_0x2a630c[_0x3360bc(0xa3)]??null},this['update']({'detail':_0x2a630c,'scroll':0x0});}}}const _0x101f57=_0x2e67d7??(this[_0x3360bc(0x1af)]['view']==='wallet'?_0xb94835[_0x3360bc(0xa3)]:void 0x0),_0x53a626=Math[_0x3360bc(0x14e)](0x0,p({...this[_0x3360bc(0x1af)],'items':_0xb94835[_0x3360bc(0x13f)]})[_0x3360bc(0x124)](_0x2e5adf=>_0x2e5adf['id']===_0x101f57));this['update']({'items':_0xb94835['items'],'note':_0xb94835[_0x3360bc(0x1e6)],'cursor':_0xb94835[_0x3360bc(0x1c3)],'total':_0xb94835[_0x3360bc(0xa5)]??(_0xb94835[_0x3360bc(0x1c3)]?null:_0xb94835[_0x3360bc(0x13f)]['length']),'since':_0xb94835[_0x3360bc(0xa4)]??null,'selected':_0x53a626,'address':_0xb94835[_0x3360bc(0xa3)]??this[_0x3360bc(0x1af)][_0x3360bc(0xa3)]}),this[_0x3360bc(0x1af)]['view']===_0x3360bc(0x8d)&&(this[_0x3360bc(0x13e)]=Date[_0x3360bc(0x88)]());}),this['closed']||await this['loadDetail'](this[_0x29bb7f(0x1af)]['view']===_0x29bb7f(0x1d5));}async[_0x58ce40(0xd4)](){const _0x46615c=_0x58ce40,_0x16a931=this[_0x46615c(0x1af)];this['closed']||_0x16a931[_0x46615c(0x13c)]||_0x16a931['refreshing']||_0x16a931[_0x46615c(0x114)]||_0x16a931[_0x46615c(0x134)]||_0x16a931[_0x46615c(0x1e2)]||_0x16a931[_0x46615c(0xf5)]||_0x16a931[_0x46615c(0x1c4)]||_0x16a931[_0x46615c(0x1a8)]||(_0x16a931[_0x46615c(0x171)]==='explore'&&_0x16a931[_0x46615c(0xa4)]!==null&&Date[_0x46615c(0x88)]()-this[_0x46615c(0x13e)]>=C?await this[_0x46615c(0x17e)]():_0x16a931['view']===_0x46615c(0xdd)&&!_0x16a931[_0x46615c(0xd8)]&&[_0x46615c(0x1a9),'executing',_0x46615c(0xec),_0x46615c(0x115)][_0x46615c(0x162)](this['selected']()?.[_0x46615c(0x1af)])&&await this['loadDetail'](!0x0));}async[_0x58ce40(0x17e)](){const _0x36e997=_0x58ce40,_0x4f77f8=new AbortController();this[_0x36e997(0xf9)]=_0x4f77f8,this[_0x36e997(0x13e)]=Date[_0x36e997(0x88)](),this[_0x36e997(0x10a)]({'refreshing':!0x0});try{const _0x26b396=await this['services'][_0x36e997(0x1e7)](this[_0x36e997(0x1af)][_0x36e997(0x1b9)],this[_0x36e997(0x1af)]['since'],_0x4f77f8[_0x36e997(0x12e)]);if(this['refreshRequest']!==_0x4f77f8||this[_0x36e997(0xf3)])return;const _0x5d86b7=this['selected']()?.['id'],_0x589411=this[_0x36e997(0x1af)][_0x36e997(0x13f)]['at'](-0x1)?.[_0x36e997(0x181)],_0xfd2c47=new Map(this['state'][_0x36e997(0x13f)][_0x36e997(0x79)](_0x2c1962=>[_0x2c1962['id'],_0x2c1962]));for(const _0xc1ed7b of _0x26b396[_0x36e997(0x13f)]){const _0x36a7fa=_0xfd2c47['get'](_0xc1ed7b['id']);_0x36a7fa&&_0xc1ed7b[_0x36e997(0x1c5)]<_0x36a7fa['updatedAt']||(_0xfd2c47['has'](_0xc1ed7b['id'])||!_0x589411||_0xc1ed7b[_0x36e997(0x181)]>=_0x589411)&&_0xfd2c47[_0x36e997(0x117)](_0xc1ed7b['id'],_0xc1ed7b);}const _0x35ef49=[..._0xfd2c47[_0x36e997(0x12a)]()]['sort']((_0x99f6e6,_0x1dbe90)=>_0x1dbe90['createdAt'][_0x36e997(0x82)](_0x99f6e6['createdAt'])),_0x47439b=Math['max'](0x0,_0x35ef49['findIndex'](_0x1b493d=>_0x1b493d['id']===_0x5d86b7));this[_0x36e997(0x10a)]({'items':_0x35ef49,'selected':_0x47439b,'since':_0x26b396[_0x36e997(0xa4)],'total':_0x26b396[_0x36e997(0xa5)]??(this['state'][_0x36e997(0x1c3)]?null:_0x35ef49[_0x36e997(0xd5)]),'refreshError':null}),await this[_0x36e997(0x157)](!0x0);}catch(_0x3ba288){this[_0x36e997(0xf9)]===_0x4f77f8&&!this[_0x36e997(0xf3)]&&this['update']({'refreshError':_0x36e997(0x15f)+_0x3ba288[_0x36e997(0x1c7)]});}finally{this[_0x36e997(0xf9)]===_0x4f77f8&&(this[_0x36e997(0xf9)]=null,this[_0x36e997(0x10a)]({'refreshing':!0x1}));}}async[_0x58ce40(0x1ea)](){const _0x57a103=_0x58ce40;this[_0x57a103(0x1af)]['view']!==_0x57a103(0x8d)||!this[_0x57a103(0x1af)]['cursor']||await this[_0x57a103(0xb4)](_0x57a103(0x15c),async _0xd361cb=>{const _0x649412=_0x57a103,_0x928d9d=await this[_0x649412(0xfa)]['explore'](this[_0x649412(0x1af)][_0x649412(0x1b9)],this[_0x649412(0x1af)][_0x649412(0x1c3)],_0xd361cb),_0x26ecf3=new Set(this[_0x649412(0x1af)][_0x649412(0x13f)]['map'](_0x372b32=>_0x372b32['id'])),_0x477807=this[_0x649412(0x1af)]['items']['concat'](_0x928d9d['items'][_0x649412(0xce)](_0xb5bd23=>!_0x26ecf3[_0x649412(0x16c)](_0xb5bd23['id'])));this[_0x649412(0x10a)]({'items':_0x477807,'cursor':_0x928d9d['cursor'],'total':this['state'][_0x649412(0xa5)]??(_0x928d9d[_0x649412(0x1c3)]?null:_0x477807[_0x649412(0xd5)])});});}async[_0x58ce40(0x157)](_0x235858=!0x1){const _0x15da80=_0x58ce40;clearTimeout(this[_0x15da80(0x1f2)]),this[_0x15da80(0x1f2)]=null;const _0x579032=this[_0x15da80(0x11c)]();if(this[_0x15da80(0x1af)]['view']===_0x15da80(0x1d5)&&!_0x579032)return;const _0x43575c=++this[_0x15da80(0x1d2)];if(this[_0x15da80(0x1bd)]?.['abort'](),this['detailRequest']=new AbortController(),this[_0x15da80(0x10a)]({'detail':_0x235858?this[_0x15da80(0x1af)][_0x15da80(0x110)]:null,'result':_0x235858?this[_0x15da80(0x1af)][_0x15da80(0x113)]:null,'detailLoading':!!_0x579032,'scroll':_0x235858?this[_0x15da80(0x1af)][_0x15da80(0xee)]:0x0}),!!_0x579032)try{const _0x223a35=this['state']['view']===_0x15da80(0x1d5)?await this[_0x15da80(0xfa)][_0x15da80(0x1d5)](this[_0x15da80(0x1bd)]['signal'],_0x579032['address']):this[_0x15da80(0x1af)]['view']===_0x15da80(0xe4)?_0x579032[_0x15da80(0xf7)]===_0x15da80(0xba)?_0x579032:_0x579032['installed']?await this[_0x15da80(0xfa)][_0x15da80(0x1c0)](['worker',_0x15da80(0x154)],_0x579032,this[_0x15da80(0x1bd)][_0x15da80(0x12e)]):{'notInstalled':!0x0}:await this[_0x15da80(0xfa)][_0x15da80(0x110)](_0x579032,this[_0x15da80(0x1bd)][_0x15da80(0x12e)]);if(_0x43575c===this[_0x15da80(0x1d2)]){const _0x57ddf0=_0x223a35[_0x15da80(0x1af)]??(_0x579032['jobId']?void 0x0:_0x223a35['status']),_0x10f904=this['state']['items']['map'](_0xffc6e1=>_0xffc6e1['id']===_0x579032['id']&&_0x57ddf0?{..._0xffc6e1,'state':_0x57ddf0,..._0x223a35[_0x15da80(0x1c5)]?{'updatedAt':_0x223a35[_0x15da80(0x1c5)]}:{},..._0x15da80(0x99)in _0x223a35?{'canCancel':_0x223a35[_0x15da80(0x99)],'canDelete':_0x223a35[_0x15da80(0x14c)],'canResume':_0x223a35['canResume']}:{}}:_0xffc6e1),_0x6f0281=p({...this[_0x15da80(0x1af)],'items':_0x10f904})[_0x15da80(0x124)](_0x2f0f4d=>_0x2f0f4d['id']===_0x579032['id']);this[_0x15da80(0x10a)]({'detail':_0x6f0281<0x0?null:_0x223a35,'detailLoading':!0x1,'items':_0x10f904,'selected':Math[_0x15da80(0x14e)](0x0,_0x6f0281)}),_0x6f0281<0x0&&this['loadDetail']();}}catch(_0x1104cf){_0x43575c===this[_0x15da80(0x1d2)]&&this[_0x15da80(0x10a)]({'detailLoading':!0x1,'error':_0x1104cf[_0x15da80(0x1c7)]});}}[_0x58ce40(0x1cd)](_0x2d31d9){const _0x2a1056=_0x58ce40,_0x53d2d0=p(this[_0x2a1056(0x1af)])[_0x2a1056(0xd5)],_0x16c690=Math[_0x2a1056(0x14e)](0x0,Math[_0x2a1056(0x1e1)](_0x53d2d0-0x1,this[_0x2a1056(0x1af)]['selected']+_0x2d31d9));_0x16c690!==this[_0x2a1056(0x1af)]['selected']&&(clearTimeout(this[_0x2a1056(0x1f2)]),++this['detailVersion'],this[_0x2a1056(0x1bd)]?.[_0x2a1056(0xb7)](),this[_0x2a1056(0x10a)]({'selected':_0x16c690,'error':null,'notice':null,'detail':null,'result':null,'detailLoading':!0x0,'scroll':0x0}),this[_0x2a1056(0x1af)]['view']===_0x2a1056(0xe4)?this[_0x2a1056(0x157)]():this[_0x2a1056(0x1f2)]=setTimeout(()=>{const _0x2bbc5a=_0x2a1056;this[_0x2bbc5a(0x157)]();},0x78)),_0x2d31d9>0x0&&_0x16c690===_0x53d2d0-0x1&&this[_0x2a1056(0x1ea)]();}['cycleFilter'](){const _0x622f5c=_0x58ce40;this[_0x622f5c(0x10a)]({'filter':f[(f[_0x622f5c(0x1f3)](this[_0x622f5c(0x1af)][_0x622f5c(0xce)])+0x1)%f[_0x622f5c(0xd5)]],'selected':0x0}),this[_0x622f5c(0x157)]();}async[_0x58ce40(0x119)](_0x5ba1ed){const _0xcbeed3=_0x58ce40,_0x2d1b4f=u[(u[_0xcbeed3(0x1f3)](this['state']['tab'])+_0x5ba1ed+u[_0xcbeed3(0xd5)])%u[_0xcbeed3(0xd5)]];this[_0xcbeed3(0x10a)]({'tab':_0x2d1b4f,'scroll':0x0}),_0x2d1b4f===_0xcbeed3(0xa9)&&await this['files']();}async[_0x58ce40(0xbf)](){const _0x2a8647=_0x58ce40,_0x5ce963=this['selected']();_0x5ce963?.[_0x2a8647(0x15d)]&&(this[_0x2a8647(0x1f2)]&&this[_0x2a8647(0x157)](!0x0),this[_0x2a8647(0x10a)]({'tab':_0x2a8647(0xa9),'focus':_0x2a8647(0x110),'scroll':0x0}),await this[_0x2a8647(0xb4)](_0x2a8647(0xa1),async _0x5494b2=>{const _0x19253d=_0x2a8647;this[_0x19253d(0x10a)]({'result':await this[_0x19253d(0xfa)]['result'](_0x5ce963[_0x19253d(0x15d)],_0x5494b2)});}));}[_0x58ce40(0x13a)](_0x47b4ef,_0xbd5220,_0x5c66c9,{onCancel:_0x4af407,submit:_0x2fcfcd=_0x58ce40(0x18a)}={}){const _0x45481d=_0x58ce40;this[_0x45481d(0xfc)](),this[_0x45481d(0xab)]=_0x5c66c9,this['formCancel']=_0x4af407,this[_0x45481d(0x10a)]({'form':{'title':_0x47b4ef,'fields':_0xbd5220,'values':Object[_0x45481d(0x1ef)](_0xbd5220['map'](_0x2f7815=>[_0x2f7815[_0x45481d(0xad)],_0x2f7815[_0x45481d(0xc1)]??''])),'field':0x0,'submit':_0x2fcfcd,'error':null},'menu':null});}[_0x58ce40(0x108)](_0x5a4028){const _0x4bdc4d=_0x58ce40,_0x5a7582=this[_0x4bdc4d(0x1af)][_0x4bdc4d(0x134)],_0x487bc6=_0x5a7582[_0x4bdc4d(0x112)][_0x5a7582[_0x4bdc4d(0x94)]][_0x4bdc4d(0xad)];this[_0x4bdc4d(0x10a)]({'form':{..._0x5a7582,'values':{..._0x5a7582['values'],[_0x487bc6]:_0x5a4028},'error':null}});}[_0x58ce40(0x17c)](_0x52aee3=!0x1){const _0x357b31=_0x58ce40,_0x17f08a=this[_0x357b31(0x1af)][_0x357b31(0x134)];this['update']({'form':{..._0x17f08a,'field':(_0x17f08a['field']+(_0x52aee3?-0x1:0x1)+_0x17f08a[_0x357b31(0x112)]['length'])%_0x17f08a[_0x357b31(0x112)]['length']}});}async[_0x58ce40(0x1aa)](){const _0xc919d7=_0x58ce40,{values:_0x220cf3}=this[_0xc919d7(0x1af)][_0xc919d7(0x134)];try{await this[_0xc919d7(0xab)](_0x220cf3);}catch(_0x44106b){this[_0xc919d7(0x10a)]({'form':{...this[_0xc919d7(0x1af)][_0xc919d7(0x134)],'error':_0x44106b[_0xc919d7(0x1c7)]}});}}[_0x58ce40(0x15e)](){const _0xe76159=_0x58ce40,_0xfa4bfc=this[_0xe76159(0x16e)];this[_0xe76159(0x10a)]({'form':null}),_0xfa4bfc&&_0xfa4bfc();}[_0x58ce40(0x1b0)](){const _0x5a7f25=_0x58ce40,_0x503945=this[_0x5a7f25(0x1af)][_0x5a7f25(0x171)]===_0x5a7f25(0xe4);this['showForm'](_0x503945?_0x5a7f25(0xac):'Search\x20tasks',[{'name':_0x5a7f25(0x1b9),'label':_0x503945?_0x5a7f25(0x10b):_0x5a7f25(0xcf),'value':this[_0x5a7f25(0x1af)]['query']}],async({query:_0x13621a})=>{const _0x1814b2=_0x5a7f25;this[_0x1814b2(0x10a)]({'query':_0x13621a,'selected':0x0,'form':null}),this[_0x1814b2(0x1af)][_0x1814b2(0x171)]===_0x1814b2(0x8d)?await this[_0x1814b2(0xa7)]():await this['loadDetail']();},{'submit':_0x5a7f25(0x1d3)});}['create'](_0xcf4a1f=null){const _0x243fca=_0x58ce40;this['draft']={'objective':'','payWith':_0x3fc6d7(this[_0x243fca(0xfa)][_0x243fca(0x149)]?.[_0x243fca(0x192)]),'parent':_0xcf4a1f},this['editDraft']();}[_0x58ce40(0x17d)](){const _0x212568=_0x58ce40,_0x4a95b3=this[_0x212568(0x11c)]();this['state']['view']!==_0x212568(0xdd)||!_0x4a95b3?.['jobId']||this[_0x212568(0x84)](_0x4a95b3['jobId']);}[_0x58ce40(0x14a)](){const _0x5a8982=_0x58ce40;this['draft']&&(this[_0x5a8982(0x13a)](this[_0x5a8982(0xd1)][_0x5a8982(0x97)]?'Request\x20changes':_0x5a8982(0x1d7),[{'name':_0x5a8982(0x7b),'label':this[_0x5a8982(0xd1)]['parent']?_0x5a8982(0x16d):_0x5a8982(0x1e4),'value':this[_0x5a8982(0xd1)]['objective'],'placeholder':_0x5a8982(0xff)}],async({objective:_0x4fc3d8})=>{const _0xe3ec2e=_0x5a8982,_0x50dc42=this[_0xe3ec2e(0xd1)][_0xe3ec2e(0x192)];if(!_0x4fc3d8['trim']())throw new Error('Describe\x20what\x20you\x20would\x20like\x20to\x20get\x20done.');const _0x5c3c55=_0x4fc3d8[_0xe3ec2e(0x133)]()!==this[_0xe3ec2e(0xd1)][_0xe3ec2e(0x7b)];this[_0xe3ec2e(0xd1)]={...this[_0xe3ec2e(0xd1)],'objective':_0x4fc3d8[_0xe3ec2e(0x133)](),'payWith':_0x50dc42[_0xe3ec2e(0x185)](),..._0x5c3c55?{'requestKey':void 0x0,'plan':void 0x0}:{}},this[_0xe3ec2e(0x10a)]({'form':null}),await this[_0xe3ec2e(0xaf)]();},{'submit':_0x5a8982(0xc3)}),this[_0x5a8982(0x10a)]({'form':{...this[_0x5a8982(0x1af)][_0x5a8982(0x134)],'paymentCoins':this[_0x5a8982(0xfa)][_0x5a8982(0xaa)](),'payWith':this[_0x5a8982(0xd1)][_0x5a8982(0x192)]}}));}['cyclePaymentCoin'](_0x26c5e9=!0x1){const _0x5dcf79=_0x58ce40,_0xd74cf9=this['state'][_0x5dcf79(0x134)],_0x236207=_0xd74cf9[_0x5dcf79(0x1b2)][(_0xd74cf9['paymentCoins']['indexOf'](_0xd74cf9['payWith'])+(_0x26c5e9?-0x1:0x1)+_0xd74cf9[_0x5dcf79(0x1b2)][_0x5dcf79(0xd5)])%_0xd74cf9[_0x5dcf79(0x1b2)][_0x5dcf79(0xd5)]];this[_0x5dcf79(0xd1)]['payWith']=_0x236207,this['draft'][_0x5dcf79(0x194)]=void 0x0,this[_0x5dcf79(0x10a)]({'form':{..._0xd74cf9,'payWith':_0x236207,'error':null}});}[_0x58ce40(0xe9)](_0x1086c4){return new Promise(_0x2f2e31=>{const _0x58c5ee=_0x2b86;this['askResolve']=_0x2f2e31,this[_0x58c5ee(0x13a)](_0x58c5ee(0x8e),_0x1086c4[_0x58c5ee(0x79)]((_0x5a0ffe,_0x4e1f07)=>({'name':String(_0x4e1f07),'label':_0x5a0ffe})),_0x177802=>{const _0x5345c7=_0x58c5ee;this[_0x5345c7(0x10a)]({'form':null}),this[_0x5345c7(0x191)]=null,_0x2f2e31(Object['values'](_0x177802));},{'onCancel':()=>{const _0x4afdac=_0x58c5ee;this[_0x4afdac(0x191)]=null,_0x2f2e31([]);}});});}[_0x58ce40(0x1e2)](_0x4d692f){return new Promise(_0x32f8aa=>{const _0x45e3fe=_0x2b86;this['confirmResolve']=_0x32f8aa;const _0x28b194=_0x4d692f[_0x45e3fe(0x1d9)]??(_0x4d692f[_0x45e3fe(0x1c7)]!==void 0x0?[String(_0x4d692f[_0x45e3fe(0x1c7)])]:[]);this[_0x45e3fe(0x10a)]({'confirm':{..._0x4d692f,'lines':_0x28b194,'accepted':!0x1,'expanded':!0x1},'scroll':0x0});});}async[_0x58ce40(0xc6)](_0x16cc78){const _0x13ba65=_0x58ce40;if(!await this['confirm']({'title':_0x13ba65(0x176),'message':_0x16cc78?.[_0x13ba65(0x1c7)]??''}))throw h();}['respond'](_0x43b80d){const _0x1d6160=_0x58ce40,_0x18eb69=this['confirmResolve'];this[_0x1d6160(0x190)]=null,this[_0x1d6160(0x10a)]({'confirm':null}),_0x18eb69(_0x43b80d);}async[_0x58ce40(0xaf)](){const _0x30a0da=_0x58ce40,_0x31dedb=await this['run'](_0x30a0da(0x10e),async _0x31f0c9=>{const _0x23c713=_0x30a0da,_0x18e1d8=this['draft'],_0x1352bc=_0x18e1d8[_0x23c713(0x97)]?_0x23c713(0x7a):_0x23c713(0x1da),_0x54911d=_0x18e1d8[_0x23c713(0x194)]?null:await this[_0x23c713(0x1cf)](()=>this[_0x23c713(0xfa)][_0x23c713(0x195)]({'payWith':_0x18e1d8[_0x23c713(0x192)],'action':_0x1352bc,'signal':_0x31f0c9}));this[_0x23c713(0x10a)]({'busy':_0x23c713(0x170)});const _0x546e06=_0x18e1d8['parent']?await this[_0x23c713(0xfa)][_0x23c713(0x110)]({'jobId':_0x18e1d8[_0x23c713(0x97)]},_0x31f0c9):null,_0x4a0e1e=_0x18e1d8[_0x23c713(0x1e3)]??await this['services'][_0x23c713(0x1e3)]({'objective':_0x18e1d8[_0x23c713(0x7b)],'parent':_0x546e06,'signal':_0x31f0c9,'ask':_0x50fe4a=>this[_0x23c713(0xe9)](_0x50fe4a),'onProgress':_0x7637a7=>{const _0x1da756=_0x23c713;this[_0x1da756(0x10a)](_0x7637a7[_0x1da756(0x197)]===_0x1da756(0x148)?{'busy':_0x1da756(0x170),'modelProgress':null}:{'busy':_0x1da756(0xd0),'modelProgress':_0x7637a7});}});if(_0x31f0c9['throwIfAborted'](),!_0x4a0e1e[_0x23c713(0x183)])throw new Error(_0x4a0e1e[_0x23c713(0x9c)][_0x23c713(0x86)]('\x0a')||_0x23c713(0x1e9));_0x18e1d8[_0x23c713(0x1e3)]=_0x4a0e1e,this[_0x23c713(0x10a)]({'busy':_0x23c713(0x19a)});const _0x5ceaca=await this[_0x23c713(0x1cf)](()=>this[_0x23c713(0xfa)][_0x23c713(0x187)]({'input':_0x4a0e1e[_0x23c713(0x183)],'action':_0x1352bc,'payWith':_0x18e1d8[_0x23c713(0x192)],'expectedWallet':_0x54911d?.[_0x23c713(0xa3)],'requestKey':_0x18e1d8[_0x23c713(0x194)],'onSaved':_0x5ace74=>{const _0x9a1030=_0x23c713;_0x18e1d8[_0x9a1030(0x194)]=_0x5ace74[_0x9a1030(0x194)];},'plan':{'summary':_0x4a0e1e['summary'],'deliverables':_0x4a0e1e[_0x23c713(0xb5)]},'signal':_0x31f0c9,'chooseSupport':_0x1dd2fc=>this[_0x23c713(0xd3)](_0x1dd2fc),'onProgress':_0x3d8d52=>this[_0x23c713(0x14b)](_0x3d8d52),'confirmReplacement':_0x63cd3c=>this[_0x23c713(0xc6)](_0x63cd3c),'confirm':async _0xf67660=>{const _0x42aa7e=_0x23c713;if(!await this['confirm']({'title':_0x42aa7e(0x135),'payment':_0x4961d7(_0xf67660)}))throw h();}}));return this['showOutcome'](_0x5ceaca),_0x5ceaca;});if(!this[_0x30a0da(0xf3)]&&_0x31dedb?.[_0x30a0da(0x154)]===_0x30a0da(0x8c)&&_0x31dedb[_0x30a0da(0x1af)][_0x30a0da(0x15d)]){await this[_0x30a0da(0xc2)](_0x30a0da(0xdd));const _0x3921f5=this[_0x30a0da(0x1af)][_0x30a0da(0x13f)][_0x30a0da(0x124)](_0x95af76=>_0x95af76[_0x30a0da(0x15d)]===_0x31dedb[_0x30a0da(0x1af)][_0x30a0da(0x15d)]);_0x3921f5>=0x0&&(this[_0x30a0da(0x10a)]({'selected':_0x3921f5}),await this[_0x30a0da(0x157)]()),this[_0x30a0da(0x10a)]({'notice':'Task\x20published:\x20'+_0x31dedb[_0x30a0da(0x1af)][_0x30a0da(0x15d)]});}}['showPaymentProgress'](_0x54928b){const _0x53202f=_0x58ce40,_0x4dced5=typeof _0x54928b?.[_0x53202f(0x1c7)]=='string'?_0x54928b['message'][_0x53202f(0x133)]():'';_0x4dced5&&this[_0x53202f(0x10a)]({'busy':_0x4dced5});}async[_0x58ce40(0x1cf)](_0x219e76){const _0x321757=_0x58ce40;for(;;)try{return await _0x219e76();}catch(_0x267d3d){if(_0x267d3d[_0x321757(0x19d)]!==_0x321757(0xd9))throw _0x267d3d;if(!await this['confirm']({'title':_0x321757(0x11d),'lines':_0x578522(_0x267d3d[_0x321757(0x1c8)]),'acceptLabel':_0x321757(0x175),'cancelLabel':_0x321757(0x109)}))throw h();this[_0x321757(0x10a)]({'busy':_0x321757(0xb1)});}}[_0x58ce40(0x16f)]({state:_0x358ee3,status:_0x90d581,check:_0x3ad585}){const _0x254bc6=_0x58ce40;if(_0x90d581===_0x254bc6(0x8c)&&_0x358ee3['jobId'])this[_0x254bc6(0xd1)]=null,this[_0x254bc6(0x10a)]({'notice':_0x254bc6(0x9a)+_0x358ee3['jobId']+_0x254bc6(0x1c9)});else{if(_0x90d581==='blocked')this[_0x254bc6(0x10a)]({'error':_0x254bc6(0x104)+_0x3ad585[_0x254bc6(0x1dc)][_0x254bc6(0x79)](_0x2c4c35=>_0x2c4c35[_0x254bc6(0x110)]??_0x2c4c35['code'])[_0x254bc6(0x86)]('\x0a')});else{if(_0x90d581===_0x254bc6(0x18e))this[_0x254bc6(0x10a)]({'error':'Paid,\x20but\x20the\x20task\x20was\x20refused.\x0a'+(_0x358ee3[_0x254bc6(0xe3)]??[])[_0x254bc6(0x79)](_0x57b0f3=>_0x57b0f3[_0x254bc6(0x110)]??_0x57b0f3[_0x254bc6(0x19d)])[_0x254bc6(0x86)]('\x0a')+'\x0aOrder:\x20'+_0x358ee3[_0x254bc6(0x128)]});else{if(k[_0x254bc6(0x16c)](_0x90d581)){const _0x33cb0f=[_0x254bc6(0x125),_0x254bc6(0x164),_0x254bc6(0x17a)],_0x82ddf9=_0x358ee3?.[_0x254bc6(0xcc)]??_0x358ee3?.[_0x254bc6(0x186)];_0x82ddf9?.[_0x254bc6(0x166)]&&_0x33cb0f['push'](_0x254bc6(0x8f)+_0x82ddf9[_0x254bc6(0x166)]),_0x82ddf9?.[_0x254bc6(0x1bf)]&&_0x33cb0f['push'](_0x254bc6(0x81)+_0x82ddf9[_0x254bc6(0x1bf)]),this[_0x254bc6(0x10a)]({'error':_0x33cb0f[_0x254bc6(0x86)]('\x0a')});}else this[_0x254bc6(0x10a)]({'error':_0x254bc6(0x1ad)+_0x90d581+'.\x20Inspect\x20it\x20in\x20My\x20tasks\x20before\x20trying\x20another\x20payment.'});}}}}async[_0x58ce40(0x19b)](){const _0x207f50=_0x58ce40,_0x1e8ff7=this['selected']();this['state'][_0x207f50(0x171)]!==_0x207f50(0xdd)||!_0x1e8ff7?.['requestKey']||_0x1e8ff7[_0x207f50(0x15d)]||!_0x1e8ff7[_0x207f50(0x17f)]||(this[_0x207f50(0xd1)]=null,await this[_0x207f50(0xb4)](_0x207f50(0xcd),async _0x4a8c1f=>{const _0xe47817=_0x207f50;this[_0xe47817(0x16f)](await this['withFundingRetry'](()=>this[_0xe47817(0xfa)][_0xe47817(0x136)](_0x1e8ff7,_0x39ba0c=>this[_0xe47817(0x1e2)](_0x39ba0c),_0x4a8c1f,_0x420ec4=>this['chooseSupport'](_0x420ec4),_0x5f0004=>this[_0xe47817(0x14b)](_0x5f0004),_0x54e251=>this['confirmReplacement'](_0x54e251))));}));}[_0x58ce40(0x156)](){const _0x535ecc=_0x58ce40,_0xcf9668=this[_0x535ecc(0x11c)]();if(this[_0x535ecc(0x1af)]['view']!==_0x535ecc(0xdd)||!_0xcf9668)return;const _0x57a629=[{'label':_0x535ecc(0x1ed),'run':()=>this[_0x535ecc(0x10a)]({'focus':_0x535ecc(0x110),'tab':'Overview','scroll':0x0})}];_0xcf9668[_0x535ecc(0x15d)]?(_0x57a629[_0x535ecc(0x106)]({'label':_0x535ecc(0xbd),'run':()=>this[_0x535ecc(0xbf)]()},{'label':_0x535ecc(0x173),'run':()=>this[_0x535ecc(0xa2)]()}),_0xcf9668[_0x535ecc(0x1af)]==='completed'&&_0x57a629['push']({'label':_0x535ecc(0x188),'run':()=>this[_0x535ecc(0x17d)]()})):_0xcf9668[_0x535ecc(0x194)]&&(_0xcf9668[_0x535ecc(0x17f)]&&_0x57a629[_0x535ecc(0x106)]({'label':_0xcf9668[_0x535ecc(0x99)]?_0x535ecc(0x1ae):'Inspect\x20/\x20resume\x20saved\x20order','run':()=>this[_0x535ecc(0x19b)]()}),_0xcf9668['canCancel']&&_0x57a629[_0x535ecc(0x106)]({'label':_0x535ecc(0x92),'run':()=>this[_0x535ecc(0x152)]()}),_0xcf9668['canDelete']&&_0x57a629['push']({'label':_0x535ecc(0xea),'run':()=>this[_0x535ecc(0xc4)]()})),this[_0x535ecc(0x9b)](_0x535ecc(0x78),_0x57a629);}async[_0x58ce40(0x152)](){const _0x1eefe9=_0x58ce40,_0x30eb94=this[_0x1eefe9(0x11c)]();if(this['state'][_0x1eefe9(0x171)]!=='tasks'||!_0x30eb94?.[_0x1eefe9(0x99)])return;let _0x55527a=!0x1;await this['run'](_0x1eefe9(0x169),async()=>{const _0x53346=_0x1eefe9;await this[_0x53346(0x1e2)]({'title':_0x53346(0xd2),'lines':[_0x30eb94['title'],'','No\x20payment\x20has\x20been\x20signed\x20or\x20submitted.','This\x20request\x20will\x20no\x20longer\x20be\x20payable\x20from\x20Colony.','You\x20can\x20create\x20a\x20new\x20task\x20whenever\x20you\x20want.'],'acceptLabel':_0x53346(0x92),'cancelLabel':_0x53346(0x1d6)})&&(await this[_0x53346(0xfa)][_0x53346(0x1cb)](_0x30eb94),_0x55527a=!0x0);}),_0x55527a&&!this[_0x1eefe9(0xf3)]&&(await this['refresh'](),this[_0x1eefe9(0x10a)]({'notice':_0x1eefe9(0x168)}));}async[_0x58ce40(0xc4)](){const _0x3d1943=_0x58ce40,_0x4ec36d=this[_0x3d1943(0x11c)]();if(this[_0x3d1943(0x1af)][_0x3d1943(0x171)]!==_0x3d1943(0xdd)||!_0x4ec36d?.[_0x3d1943(0x14c)])return;let _0x5ba399=!0x1;await this['run'](_0x3d1943(0x178),async()=>{const _0x4d892d=_0x3d1943;await this[_0x4d892d(0xfa)]['delete'](_0x4ec36d),_0x5ba399=!0x0;}),_0x5ba399&&!this['closed']&&(await this[_0x3d1943(0xa7)](),this['update']({'notice':_0x3d1943(0x1bc)}));}['download'](){const _0x529d62=_0x58ce40,_0x57e20f=this[_0x529d62(0x11c)]();_0x57e20f?.[_0x529d62(0x15d)]&&this['showForm'](_0x529d62(0x111),[{'name':'out','label':_0x529d62(0x1b4),'value':'./output/'+_0x57e20f[_0x529d62(0x15d)]}],async({out:_0x5715b6})=>{const _0xa1d1b5=_0x529d62;if(!_0x5715b6[_0xa1d1b5(0x133)]())throw new Error(_0xa1d1b5(0x121));this[_0xa1d1b5(0x10a)]({'form':null}),await this[_0xa1d1b5(0xb4)](_0xa1d1b5(0x7c),async _0x5db258=>{const _0x263288=_0xa1d1b5,_0x50d348=await this[_0x263288(0xfa)][_0x263288(0xa2)]({'id':_0x57e20f[_0x263288(0x15d)],'out':_0x5715b6,'signal':_0x5db258,'onProgress':_0x4e83c6=>this[_0x263288(0x10a)]({'busy':_0x263288(0x18f)+_0x4e83c6[_0x263288(0x1a3)]})});this['update']({'notice':_0x263288(0x18f)+_0x50d348[_0x263288(0xbf)][_0x263288(0xd5)]+_0x263288(0xf2)+_0x5715b6});});},{'submit':_0x529d62(0xa6)});}[_0x58ce40(0x1b8)](){const _0x4f3d6f=_0x58ce40;this[_0x4f3d6f(0x13a)](_0x4f3d6f(0x161),[{'name':_0x4f3d6f(0xd7),'label':_0x4f3d6f(0x1d1)},{'name':_0x4f3d6f(0x1b6),'label':_0x4f3d6f(0x17b),'value':'22'},{'name':_0x4f3d6f(0x144),'label':_0x4f3d6f(0xdb)}],async _0x5e004c=>{const _0x71e9df=_0x4f3d6f,_0x2a24db=_0x44d155(_0x5e004c);this['extraTargets'][_0x71e9df(0x155)](_0x3ffc3c=>_0x3ffc3c['id']===_0x2a24db['id'])||this['extraTargets'][_0x71e9df(0x106)](_0x2a24db),this[_0x71e9df(0x10a)]({'form':null}),await this[_0x71e9df(0xa7)](),this[_0x71e9df(0x10a)]({'selected':this[_0x71e9df(0x1af)][_0x71e9df(0x13f)][_0x71e9df(0x124)](_0x3681ff=>_0x3681ff['id']===_0x2a24db['id'])}),await this[_0x71e9df(0x157)]();},{'submit':'Add\x20target'});}[_0x58ce40(0x9b)](_0x3332f9,_0x3f5a51){const _0x4dbace=_0x58ce40;this[_0x4dbace(0xfc)](),this[_0x4dbace(0x10a)]({'menu':{'title':_0x3332f9,'items':_0x3f5a51,'selected':0x0},'form':null});}[_0x58ce40(0xd3)](_0x511e57){return new Promise((_0x3f6ddb,_0x22732e)=>{const _0x34b1ea=_0x2b86;this[_0x34b1ea(0x1dd)]=_0x22732e,this[_0x34b1ea(0x9b)]('Choose\x20payment\x20\xB7\x20support\x20is\x20optional',_0x511e57['map']((_0x187065,_0x2d49ff)=>({'label':_0x187065['label'],'run':()=>{const _0x3ae09c=_0x34b1ea;this[_0x3ae09c(0x1dd)]=null,_0x3f6ddb(_0x2d49ff);}})));});}['dismissMenu'](){const _0x22666d=_0x58ce40;this[_0x22666d(0x1dd)]?.(h()),this[_0x22666d(0x1dd)]=null,this[_0x22666d(0x10a)]({'menu':null});}['chooseMenu'](){const _0x1d04d7=_0x58ce40,_0xb8b1b0=this[_0x1d04d7(0x1af)][_0x1d04d7(0xf5)][_0x1d04d7(0x13f)][this[_0x1d04d7(0x1af)][_0x1d04d7(0xf5)]['selected']];this[_0x1d04d7(0x10a)]({'menu':null}),_0xb8b1b0['run']();}[_0x58ce40(0x1f5)](){const _0x534594=_0x58ce40,_0x531e50=this[_0x534594(0x11c)]();if(!_0x531e50||_0x531e50['kind']==='network-worker')return;const _0xc30dba=(_0x640353,_0x222bf8=!0x1)=>()=>this[_0x534594(0x1cc)](_0x640353,_0x222bf8),_0x2bd50f=(_0x262ebf,_0x540d59,_0x7f47ec,_0x3f8f5,_0x1b9705=!0x1)=>()=>this[_0x534594(0x13a)](_0x262ebf,[{'name':_0x7f47ec,'label':_0x3f8f5}],_0x20285f=>{const _0x1d86f5=_0x534594;if(!_0x20285f[_0x7f47ec][_0x1d86f5(0x133)]())throw new Error(_0x3f8f5+_0x1d86f5(0x7e));return this[_0x1d86f5(0x10a)]({'form':null}),this[_0x1d86f5(0x1cc)](_0x540d59[_0x1d86f5(0x184)](_0x20285f[_0x7f47ec][_0x1d86f5(0x133)]()),_0x1b9705);});this[_0x534594(0x9b)]('Worker\x20\xB7\x20'+_0x531e50[_0x534594(0x89)],[{'label':_0x534594(0x1ab),'run':_0xc30dba(['status'])},{'label':'View\x20logs','run':_0xc30dba([_0x534594(0x7f)])},{'label':'Run\x20diagnostics','run':_0xc30dba([_0x534594(0x131)])},{'label':_0x534594(0xe0),'run':_0xc30dba([_0x534594(0x199)])},{'label':_0x534594(0x1a1),'run':_0xc30dba([_0x534594(0x76)],!0x0)},{'label':_0x534594(0x1f4),'run':_0xc30dba(['pair'],!0x0)},{'label':'Register\x20on\x20chain','run':_0xc30dba(['register'],!0x0)},{'label':_0x534594(0x1b5),'run':()=>this[_0x534594(0x13b)]()},...[_0x534594(0x93),_0x534594(0x11e),_0x534594(0x13d),'update']['map'](_0x325cd5=>({'label':_0x325cd5[0x0][_0x534594(0x185)]()+_0x325cd5['slice'](0x1),'run':_0xc30dba([_0x325cd5],!0x0)})),{'label':_0x534594(0x132),'run':()=>this[_0x534594(0x9b)](_0x534594(0x98),[{'label':_0x534594(0x180),'run':_0xc30dba(['skills',_0x534594(0x91)])},{'label':_0x534594(0xb3),'run':_0x2bd50f(_0x534594(0xb3),[_0x534594(0x1c2),_0x534594(0x16b)],'id',_0x534594(0x1a2))},{'label':_0x534594(0x122),'run':_0x2bd50f(_0x534594(0x122),[_0x534594(0x1c2),'remove'],'id',_0x534594(0x1a2))}])},{'label':_0x534594(0xf0),'run':()=>this[_0x534594(0x9b)](_0x534594(0x196),[{'label':_0x534594(0x85),'run':_0xc30dba([_0x534594(0x141),_0x534594(0x91)])},{'label':_0x534594(0x9e),'run':_0xc30dba([_0x534594(0x141),_0x534594(0x16b)],!0x0)},{'label':_0x534594(0x12d),'run':_0x2bd50f(_0x534594(0xe2),[_0x534594(0x141),_0x534594(0x1f0)],'name',_0x534594(0xe6),!0x0)},{'label':_0x534594(0x198),'run':_0x2bd50f('Forget\x20credential',[_0x534594(0x141),'forget'],'name','Credential\x20name',!0x0)},{'label':_0x534594(0xb0),'run':_0x2bd50f(_0x534594(0xb0),[_0x534594(0x141),_0x534594(0xed)],'id',_0x534594(0x138))}])},{'label':'RPC\x20endpoints','run':()=>this[_0x534594(0x9b)]('Worker\x20RPC\x20endpoints',[{'label':_0x534594(0x151),'run':_0xc30dba([_0x534594(0x1ce),_0x534594(0x91)])},{'label':_0x534594(0x1a7),'run':_0x2bd50f(_0x534594(0x145),[_0x534594(0x1ce),'add'],_0x534594(0x1e8),_0x534594(0x116),!0x0)},{'label':_0x534594(0x1b7),'run':_0x2bd50f(_0x534594(0x18c),[_0x534594(0x1ce),'remove'],_0x534594(0x1e8),_0x534594(0x116))}])},{'label':_0x534594(0x1b3),'run':_0xc30dba(['unlink'],!0x0)}]);}['serviceInstall'](){const _0x41d308=_0x58ce40;this['showForm'](_0x41d308(0x1b5),[{'name':'runtime','label':_0x41d308(0x139),'value':_0x41d308(0x1b1)},{'name':_0x41d308(0xf1),'label':_0x41d308(0x1ba),'value':'1'},{'name':_0x41d308(0x1eb),'label':_0x41d308(0x1be),'value':'no'}],async({runtime:_0x31db7b,concurrency:_0xf31134,boot:_0x21c565})=>{const _0x5b96d7=_0x41d308;if(![_0x5b96d7(0x1b1),'codex'][_0x5b96d7(0x162)](_0x31db7b))throw new Error('Choose\x20claude\x20or\x20codex.');if(!/^[1-4]$/[_0x5b96d7(0x1ac)](_0xf31134))throw new Error('Concurrency\x20must\x20be\x201\u20134.');if(![_0x5b96d7(0x1de),'no'][_0x5b96d7(0x162)](_0x21c565))throw new Error(_0x5b96d7(0x146));const _0x29bc8a=[_0x5b96d7(0x1f6),'install','--runtime',_0x31db7b,'--concurrency',_0xf31134];_0x21c565==='yes'&&_0x29bc8a[_0x5b96d7(0x106)]('--boot'),this[_0x5b96d7(0x10a)]({'form':null}),await this[_0x5b96d7(0x1cc)](_0x29bc8a,!0x0);});}async[_0x58ce40(0x1cc)](_0x28a53a,_0x7413d3=!0x1){const _0x374190=_0x58ce40,_0x5a2406=this[_0x374190(0x11c)]();!_0x5a2406||_0x5a2406[_0x374190(0xf7)]==='network-worker'||await this[_0x374190(0xb4)](_0x374190(0x105)+_0x28a53a['join']('\x20')+_0x374190(0xe7),async _0x51c313=>{const _0x1c0a2b=_0x374190;if(_0x7413d3){if(!await this[_0x1c0a2b(0x1e2)]({'title':_0x1c0a2b(0x143)+_0x5a2406[_0x1c0a2b(0x89)]+'?','lines':[_0x1c0a2b(0xbe)+_0x28a53a['join']('\x20'),_0x1c0a2b(0xe5)]}))return;await this[_0x1c0a2b(0x80)]([_0x1c0a2b(0x101),..._0x28a53a],_0x5a2406),this[_0x1c0a2b(0x10a)]({'notice':'Command\x20finished.\x20Press\x20r\x20to\x20refresh\x20worker\x20status.'});}else{const _0x290fad=await this[_0x1c0a2b(0xfa)]['command']([_0x1c0a2b(0x101),..._0x28a53a],_0x5a2406,_0x51c313);this[_0x1c0a2b(0x10a)]({'detail':{'output':_0x290fad},'focus':_0x1c0a2b(0x110),'scroll':0x0});}});}[_0x58ce40(0x102)](_0x2bef5d){return new Promise((_0x2d2fb2,_0x283071)=>{const _0x518486=_0x2b86;this['passwordReject']=_0x283071,this[_0x518486(0x13a)]('Confirm\x20wallet\x20password',[{'name':_0x518486(0xda),'label':_0x2bef5d,'secret':!0x0}],({password:_0x41bc02})=>{const _0x546695=_0x518486;this[_0x546695(0x10a)]({'form':null}),this[_0x546695(0xbc)]=null,_0x2d2fb2(_0x41bc02);},{'submit':_0x518486(0x18a),'onCancel':()=>{const _0x41067a=_0x518486;this[_0x41067a(0xbc)]=null,_0x283071(new Error(_0x41067a(0x167)));}});});}[_0x58ce40(0x1f1)](){const _0x294f28=_0x58ce40,_0x5896e4=this[_0x294f28(0x1af)][_0x294f28(0x110)]?.[_0x294f28(0x15b)]===_0x294f28(0xa0);this[_0x294f28(0x1af)]['detail']?.[_0x294f28(0x118)]&&this[_0x294f28(0x9b)]('Selected\x20wallet\x20actions',[...!this[_0x294f28(0x120)]()&&this[_0x294f28(0x11c)]()?[{'label':'Use\x20this\x20wallet','run':()=>this[_0x294f28(0x123)]()}]:[],..._0x5896e4?[{'label':_0x294f28(0x130),'run':()=>this[_0x294f28(0x158)]()},{'label':_0x294f28(0x165),'run':()=>this['walletBackup']()}]:[],...this[_0x294f28(0x1af)][_0x294f28(0x110)]?.['configured']?[{'label':_0x294f28(0x77),'run':()=>this[_0x294f28(0x1bb)]()}]:[]]);}[_0x58ce40(0x140)](){const _0x26883d=_0x58ce40;this[_0x26883d(0x9b)](_0x26883d(0x1a0),[{'label':_0x26883d(0x12b),'run':()=>this[_0x26883d(0x1c1)](!0x1)},{'label':_0x26883d(0x83),'run':()=>this[_0x26883d(0xfb)]()},{'label':_0x26883d(0xca),'run':()=>this['walletNetworkMenu']()}]);}[_0x58ce40(0xfb)](){const _0x315c79=_0x58ce40;this[_0x315c79(0x9b)]('Import\x20wallet',[{'label':_0x315c79(0x18d),'run':()=>this[_0x315c79(0x1c1)](!0x0)},{'label':_0x315c79(0x1ee),'run':()=>this[_0x315c79(0xb6)]()}]);}[_0x58ce40(0x120)](){const _0x1c6abd=_0x58ce40;return!this[_0x1c6abd(0x11c)]()||this[_0x1c6abd(0x11c)]()[_0x1c6abd(0xa3)]===this['state'][_0x1c6abd(0xa3)];}[_0x58ce40(0x158)](){const _0x2cae7c=_0x58ce40,_0xc460ea=this[_0x2cae7c(0x11c)]()?.[_0x2cae7c(0xa3)]??this['state']['detail']?.[_0x2cae7c(0xa3)];this[_0x2cae7c(0x1af)][_0x2cae7c(0x110)]?.[_0x2cae7c(0x15b)]!=='local'||!_0xc460ea||this[_0x2cae7c(0x13a)](_0x2cae7c(0xb9),[{'name':_0x2cae7c(0xda),'label':_0x2cae7c(0xbb),'secret':!0x0}],async({password:_0x3fffc4})=>{const _0x56fa85=_0x2cae7c;this[_0x56fa85(0x10a)]({'form':null});const _0x199605=await this[_0x56fa85(0xb4)](_0x56fa85(0x1a5),_0x3875d3=>this[_0x56fa85(0xfa)]['revealPrivateKey'](_0xc460ea,_0x3fffc4,_0x3875d3));_0x199605&&this[_0x56fa85(0x10a)]({'privateKeyView':_0x199605});},{'submit':_0x2cae7c(0x130)});}async[_0x58ce40(0xae)](_0x3a9c3c){const _0x43f808=_0x58ce40;this[_0x43f808(0x10a)]({'selected':-0x1}),this[_0x43f808(0x160)]=_0x3a9c3c,await this[_0x43f808(0xa7)]();}async[_0x58ce40(0x123)](){const _0x343121=_0x58ce40,_0x1442c8=this['selected']();if(!_0x1442c8||this[_0x343121(0x120)]())return;const _0x3c9775=await this[_0x343121(0xb4)]('Switching\x20wallet...',()=>this['services'][_0x343121(0x8a)](_0x1442c8['address']));_0x3c9775&&(await this[_0x343121(0xa7)](),this[_0x343121(0x10a)]({'notice':_0x343121(0x159)+_0x3c9775['address']}));}[_0x58ce40(0x1c1)](_0x531e3a){const _0x6a513=_0x58ce40,_0x44c475=this[_0x6a513(0xfa)][_0x6a513(0x90)]()[_0x6a513(0xd5)]>0x0||this['state'][_0x6a513(0x110)]?.[_0x6a513(0x15b)]==='local',_0x48636e=async({key:_0x2c84f0,password:_0x54f847,repeat:_0x1a2c09})=>{const _0x346bfa=_0x6a513;if(!_0x44c475){if(_0x54f847!==_0x1a2c09)throw new Error(_0x346bfa(0xfe));if(_0x54f847['length']<0x8)throw new Error(_0x346bfa(0x19c));}this['update']({'form':null});const _0x13d845=await this['run'](_0x346bfa(0x1ca),_0x2a02a6=>this[_0x346bfa(0xfa)][_0x346bfa(0x10f)](_0x54f847,_0x2c84f0,_0x2a02a6));_0x13d845&&(await this[_0x346bfa(0xae)](_0x13d845[_0x346bfa(0xa3)]),this[_0x346bfa(0x10a)]({'notice':_0x346bfa(0x174)}));};if(_0x44c475&&!_0x531e3a)return _0x48636e({});this[_0x6a513(0x13a)](_0x531e3a?_0x6a513(0x14d):_0x6a513(0x11a),[..._0x531e3a?[{'name':_0x6a513(0x1f0),'label':'Private\x20key\x20(hidden)','secret':!0x0}]:[],..._0x44c475?[]:[{'name':_0x6a513(0xda),'label':_0x6a513(0xf4),'secret':!0x0},{'name':'repeat','label':_0x6a513(0xc0),'secret':!0x0}]],_0x48636e,{'submit':_0x531e3a?_0x6a513(0x83):'Create\x20wallet'});}[_0x58ce40(0xb6)](){const _0x1e0e55=_0x58ce40;this[_0x1e0e55(0x13a)](_0x1e0e55(0x1c6),[{'name':_0x1e0e55(0x14f),'label':_0x1e0e55(0xde)},{'name':'password','label':_0x1e0e55(0xc8),'secret':!0x0}],async({file:_0x593b06,password:_0x136fa2})=>{const _0x140635=_0x1e0e55;this[_0x140635(0x10a)]({'form':null});const _0x5171c0=await this['run'](_0x140635(0x193),_0x2e491f=>this[_0x140635(0xfa)][_0x140635(0x129)](_0x593b06,_0x136fa2,_0x2e491f));_0x5171c0&&await this[_0x140635(0xae)](_0x5171c0[_0x140635(0xa3)]);},{'submit':'Restore\x20wallet'});}[_0x58ce40(0x1e5)](){const _0x11cd45=_0x58ce40,_0x2bf93f=this[_0x11cd45(0x11c)]()?.[_0x11cd45(0xa3)]??this['state'][_0x11cd45(0x110)]?.[_0x11cd45(0xa3)];_0x2bf93f&&this[_0x11cd45(0x13a)](_0x11cd45(0x165),[{'name':_0x11cd45(0x1d4),'label':'Save\x20encrypted\x20backup\x20to\x20(new\x20file)'}],async({out:_0x36d3a0})=>{const _0x1e7047=_0x11cd45;this[_0x1e7047(0x10a)]({'form':null});const _0xdb65ab=await this[_0x1e7047(0xb4)]('Saving\x20encrypted\x20backup...',()=>this['services'][_0x1e7047(0xe8)](_0x36d3a0,_0x2bf93f));_0xdb65ab&&this[_0x1e7047(0x10a)]({'notice':_0x1e7047(0x163)+_0xdb65ab['path']+'.\x20Keep\x20your\x20password\x20separately.'});},{'submit':_0x11cd45(0x15a)});}async[_0x58ce40(0x1bb)](){const _0x4331ba=_0x58ce40,_0x470473=this[_0x4331ba(0x11c)]()?.['address']??this['state'][_0x4331ba(0x110)]?.[_0x4331ba(0xa3)];_0x470473&&await this['run'](_0x4331ba(0x107),async()=>{const _0xe2ae78=_0x4331ba;this[_0xe2ae78(0x10a)]({'receive':await this[_0xe2ae78(0xfa)][_0xe2ae78(0x19f)](_0x470473)});});}[_0x58ce40(0x189)](){const _0x581450=_0x58ce40,_0x54a4d3=this[_0x581450(0x1af)][_0x581450(0x96)][_0x581450(0xa3)];this['showForm'](_0x581450(0x153),[{'name':_0x581450(0x1d4),'label':_0x581450(0x11b),'placeholder':_0x581450(0x147)}],async({out:_0x2fa416})=>{const _0x5410e7=_0x581450;this[_0x5410e7(0x10a)]({'form':null});const _0x39a915=await this['run']('Saving\x20QR\x20code...',()=>this[_0x5410e7(0xfa)][_0x5410e7(0x1ec)](_0x54a4d3,_0x2fa416));_0x39a915&&this[_0x5410e7(0x10a)]({'notice':_0x5410e7(0xeb)+_0x39a915['path']});},{'submit':_0x581450(0x127)});}[_0x58ce40(0x95)](){const _0x42f96c=_0x58ce40;this[_0x42f96c(0x9b)]('Payment\x20network',this['services'][_0x42f96c(0x1d8)]()[_0x42f96c(0x79)](({key:_0x12244b,name:_0x43eb33})=>({'label':_0x43eb33,'run':async()=>{const _0x3fb16a=_0x42f96c;await this[_0x3fb16a(0xb4)](_0x3fb16a(0x10d)+_0x43eb33+_0x3fb16a(0xe7),()=>this[_0x3fb16a(0xfa)]['selectNetwork'](_0x12244b)),await this[_0x3fb16a(0xa7)]();}})));}[_0x58ce40(0x12c)](){const _0x51af00=_0x58ce40;clearTimeout(this[_0x51af00(0x1f2)]),this['supportReject']?.(h()),this[_0x51af00(0x1dd)]=null,this[_0x51af00(0xbc)]?.(new Error(_0x51af00(0x10c))),this[_0x51af00(0xbc)]=null,_0x1e3d49(),this[_0x51af00(0x10a)]({'form':null,'privateKeyView':null}),this[_0x51af00(0xf3)]=!0x0,this[_0x51af00(0x87)]?.['abort'](),this[_0x51af00(0xf9)]?.[_0x51af00(0xb7)](),this[_0x51af00(0x1bd)]?.[_0x51af00(0xb7)](),this[_0x51af00(0x190)]?.(!0x1),this[_0x51af00(0x191)]?.([]),++this[_0x51af00(0x1d2)],this[_0x51af00(0xb2)][_0x51af00(0xfd)]();}}export{E as DashboardController,f as FILTERS,u as TABS,D as VIEWS,p as visibleItems};
@@ -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
+ const _0x4720e9=_0x163a;import{terminalText as _0x3e4015}from'../lib/terminal-text.mjs';import _0x3c346c from'wrap-ansi';import _0x272511 from'string-width';import{networkWorkerText as _0x1c47ba}from'../lib/network-workers.mjs';function v(_0x1ad280,_0x311516){const _0x238600=_0x163a,_0x141829=_0x3e4015(_0x1ad280)[_0x238600(0x1b6)](/\s+/g,'\x20');if(_0x272511(_0x141829)<=_0x311516)return _0x141829;let _0x59cc4e='';for(const _0x5da27c of _0x141829){if(_0x272511(_0x59cc4e+_0x5da27c)>_0x311516-0x1)break;_0x59cc4e+=_0x5da27c;}return _0x59cc4e+'~';}function b(_0x5a1732,_0x39f92d){const _0x509bbe=_0x163a;return _0x3c346c(_0x3e4015(_0x5a1732),Math[_0x509bbe(0x1a8)](0x1,_0x39f92d),{'hard':!0x0,'trim':!0x1})[_0x509bbe(0x1a2)]('\x0a');}function _0x163a(_0x50ad94,_0x1ad121){_0x50ad94=_0x50ad94-0x18b;const _0x163a1d=_0x1ad1();let _0x5a8639=_0x163a1d[_0x50ad94];return _0x5a8639;}function s(_0x91a17a){const _0x205b02=_0x163a;return typeof _0x91a17a==_0x205b02(0x1b0)?_0x91a17a:_0x91a17a&&_0x205b02(0x1f2)in _0x91a17a?[_0x91a17a['exitCode']?_0x205b02(0x1bf)+_0x91a17a['exitCode']+')':null,_0x91a17a['stdout'],_0x91a17a[_0x205b02(0x190)]]['filter'](Boolean)['join']('\x0a'):JSON[_0x205b02(0x200)](_0x91a17a,null,0x2);}function h(_0x30b6dd){const _0x258be0=_0x163a;return _0x30b6dd===_0x258be0(0x20e)?'Awaiting\x20payment':[_0x258be0(0x198),'payment_failed'][_0x258be0(0x1d8)](_0x30b6dd)?_0x258be0(0x1ee):[_0x258be0(0x1d6),_0x258be0(0x1bd)]['includes'](_0x30b6dd)?'Payment\x20result\x20pending':_0x30b6dd===_0x258be0(0x1ac)?_0x258be0(0x1d2):_0x30b6dd==='cancelled'?_0x258be0(0x1f0):_0x30b6dd;}const y=new Set([_0x4720e9(0x198),_0x4720e9(0x1d7),_0x4720e9(0x1d6),'payment_reconciling']);function k(_0x38d4c2,_0x3bec1b){const _0x1a6858=_0x4720e9;return _0x38d4c2?_0x3bec1b===_0x1a6858(0x18d)?['[d]\x20Files',_0x1a6858(0x1c8)]:_0x38d4c2['jobId']?[_0x1a6858(0x1a3),_0x1a6858(0x1c8),..._0x38d4c2['state']===_0x1a6858(0x1d0)?['[c]\x20Changes']:[],'[m]\x20Actions']:[_0x38d4c2[_0x1a6858(0x1dd)]?_0x1a6858(0x191)+(_0x38d4c2[_0x1a6858(0x192)]?_0x1a6858(0x1b3):_0x1a6858(0x1ed)):null,_0x38d4c2[_0x1a6858(0x192)]?'[x]\x20Cancel':null,_0x1a6858(0x1aa)][_0x1a6858(0x218)](Boolean):[];}function T(_0x44f3c2){const _0x551b00=_0x4720e9,_0x409dd2=_0x44f3c2[_0x551b00(0x1e7)][_0x551b00(0x1a1)](_0x2d9410=>_0x2d9410['id']===_0x44f3c2[_0x551b00(0x1e5)]),_0x1345c6=_0x44f3c2[_0x551b00(0x1dc)];if(_0x44f3c2['detailLoading']&&!(_0x44f3c2[_0x551b00(0x1ab)]===_0x551b00(0x20d)&&_0x1345c6))return _0x551b00(0x1ea);if(!_0x1345c6)return _0x551b00(0x1f9);if(_0x1345c6[_0x551b00(0x1ca)]!==void 0x0)return s(_0x1345c6['output']);if(_0x44f3c2['view']===_0x551b00(0x20d)){if(!_0x1345c6[_0x551b00(0x1bc)])return _0x551b00(0x1a7);const _0x5c318f=_0x1345c6['address']===_0x44f3c2[_0x551b00(0x1d5)];return(_0x5c318f?_0x551b00(0x1e8):'SAVED\x20WALLET\x0a')+_0x1345c6['address']+_0x551b00(0x212)+_0x1345c6[_0x551b00(0x210)]+(_0x1345c6[_0x551b00(0x202)]===_0x551b00(0x1cb)?'':_0x551b00(0x19e))+'\x0a\x0aPAYMENT\x20COINS\x0a'+(_0x44f3c2[_0x551b00(0x1c1)]?'Loading\x20balances...':_0x1345c6[_0x551b00(0x196)]?_0x551b00(0x20c)+_0x1345c6[_0x551b00(0x196)]:(_0x1345c6[_0x551b00(0x1a4)]??[])[_0x551b00(0x194)](_0x24a684=>_0x24a684[_0x551b00(0x1fc)]+':\x20'+_0x24a684['balance'])['join']('\x0a'))+'\x0a\x0a[d]\x20Receive\x20funds\x20/\x20QR\x20code\x0a[b]\x20Back\x20up\x20this\x20wallet'+(_0x5c318f?'':_0x551b00(0x195))+_0x551b00(0x1f8);}if(_0x44f3c2['view']===_0x551b00(0x20f))return _0x1345c6[_0x551b00(0x18b)]===_0x551b00(0x201)?_0x1c47ba(_0x1345c6):_0x1345c6[_0x551b00(0x1c7)]?_0x551b00(0x1e1):_0x1345c6['output']?s(_0x1345c6['output']):_0x551b00(0x205)+s(_0x1345c6[_0x551b00(0x18c)])+'\x0a\x0aSTANDING\x0a'+(_0x1345c6['standing']?s(_0x1345c6['standing']):_0x1345c6[_0x551b00(0x1f7)]??_0x551b00(0x216))+_0x551b00(0x1cf);if(_0x44f3c2['tab']===_0x551b00(0x19c)){if(!_0x409dd2?.[_0x551b00(0x1a0)])return _0x1345c6[_0x551b00(0x1c3)]?'Cancelled\x20requests\x20do\x20not\x20produce\x20files.':_0x551b00(0x1e9);if(!_0x44f3c2[_0x551b00(0x19b)])return _0x551b00(0x199);const _0x3e010a=_0x44f3c2['result'][_0x551b00(0x203)]??[];return'DELIVERED\x20FILES\x0a\x0a'+(_0x3e010a['length']?_0x3e010a['map'](_0x34739f=>_0x34739f[_0x551b00(0x1b5)]+'\x0a'+_0x34739f[_0x551b00(0x1f3)]+_0x551b00(0x1fe)+_0x34739f[_0x551b00(0x1c2)]+'\x0a'+_0x34739f[_0x551b00(0x19d)])[_0x551b00(0x19a)]('\x0a\x0a')+_0x551b00(0x1e4):'No\x20delivered\x20files\x20yet.\x0aTask\x20state:\x20'+_0x44f3c2[_0x551b00(0x19b)]['state']);}if(_0x44f3c2[_0x551b00(0x1d4)]===_0x551b00(0x1ef))return _0x1345c6[_0x551b00(0x1c3)]?'REQUEST\x20CANCELLED\x0a\x0aCancelled\x20locally:\x20'+_0x1345c6[_0x551b00(0x1c3)]+'\x0aNo\x20payment\x20was\x20signed\x20or\x20submitted.':_0x1345c6[_0x551b00(0x1ac)]?_0x551b00(0x20a)+_0x1345c6[_0x551b00(0x1ac)][_0x551b00(0x1de)][_0x551b00(0x194)](_0x3670a4=>_0x3670a4[_0x551b00(0x18b)]['replaceAll']('_','\x20')+':\x20'+(_0x3670a4[_0x551b00(0x1d3)]??'not\x20started')+(_0x3670a4[_0x551b00(0x193)]?'\x0a'+_0x3670a4[_0x551b00(0x193)]:''))[_0x551b00(0x19a)]('\x0a\x0a'):_0x551b00(0x1df)+(_0x1345c6[_0x551b00(0x1ae)]?.[_0x551b00(0x1ad)]?_0x1345c6[_0x551b00(0x1ae)][_0x551b00(0x194)](_0x5c7748=>_0x5c7748[_0x551b00(0x1a6)]+':\x20'+_0x5c7748['state']+_0x551b00(0x20b)+_0x5c7748['attempt']+(_0x5c7748[_0x551b00(0x1c9)]?_0x551b00(0x1a5)+_0x5c7748[_0x551b00(0x1c9)]['status']:''))[_0x551b00(0x19a)]('\x0a\x0a'):_0x551b00(0x1fa))+(_0x1345c6[_0x551b00(0x213)]?.[_0x551b00(0x1ad)]?'\x0a\x0aREVIEWS\x0a'+s(_0x1345c6['reviews']):'');const _0x38d78c=_0x1345c6[_0x551b00(0x1ec)]??_0x1345c6['status']??_0x409dd2?.[_0x551b00(0x1ec)]??_0x551b00(0x1be),_0x2c5ef5=_0x1345c6['pendingTransaction']??_0x1345c6['transaction'],_0x23e586=y['has'](_0x38d78c)||!!_0x2c5ef5?.[_0x551b00(0x193)],_0x55c4d6=['YOUR\x20REQUEST',_0x1345c6[_0x551b00(0x1db)]??_0x409dd2?.[_0x551b00(0x197)]??'','',_0x551b00(0x1e0)+h(_0x38d78c)];_0x1345c6[_0x551b00(0x1b8)]&&_0x55c4d6[_0x551b00(0x214)]('Type:\x20'+_0x1345c6['template']),_0x1345c6['project']&&_0x55c4d6[_0x551b00(0x214)](_0x551b00(0x204)+_0x1345c6[_0x551b00(0x1b4)]['id']),_0x1345c6['paidBy']&&_0x55c4d6[_0x551b00(0x214)](_0x551b00(0x1ce)+_0x1345c6[_0x551b00(0x1cd)]),_0x1345c6[_0x551b00(0x1af)]&&_0x55c4d6['push'](_0x551b00(0x1d9)+_0x1345c6['paymentStatus']),_0x2c5ef5?.[_0x551b00(0x193)]&&_0x55c4d6[_0x551b00(0x214)](_0x551b00(0x215)+_0x2c5ef5['hash']+(_0x2c5ef5[_0x551b00(0x18b)]?'\x20('+_0x2c5ef5[_0x551b00(0x18b)]+')':'')),_0x2c5ef5?.['reason']&&_0x55c4d6[_0x551b00(0x214)](_0x551b00(0x1eb)+_0x2c5ef5[_0x551b00(0x217)]),_0x2c5ef5?.[_0x551b00(0x208)]&&_0x55c4d6[_0x551b00(0x214)](_0x551b00(0x1d1)+_0x2c5ef5['explorerUrl']),_0x23e586&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1e2),_0x551b00(0x1b2));const _0x59f64c=_0x1345c6[_0x551b00(0x1fd)]??_0x409dd2?.[_0x551b00(0x1fd)];return _0x59f64c&&_0x55c4d6['push'](_0x551b00(0x18f)+(_0x59f64c==='robinhood'?_0x551b00(0x1fb):_0x551b00(0x1f4))),_0x1345c6['funding']&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1ff),'Payment\x20coin:\x20'+_0x1345c6[_0x551b00(0x1ac)][_0x551b00(0x206)],_0x551b00(0x209)+_0x1345c6[_0x551b00(0x1ac)][_0x551b00(0x1c5)],'Network\x20fee\x20cap:\x20'+_0x1345c6[_0x551b00(0x1ac)]['networkFeeCap']+_0x551b00(0x1b1),'Activity\x20shows\x20the\x20saved\x20transaction\x20progress.'),_0x1345c6['delivery']&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1e6),s(_0x1345c6['delivery'])),_0x1345c6['launch']&&_0x55c4d6[_0x551b00(0x214)]('','LAUNCH',s(_0x1345c6[_0x551b00(0x1ba)])),_0x1345c6['refusalProblems']?.[_0x551b00(0x1ad)]&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1a9),..._0x1345c6[_0x551b00(0x1b9)][_0x551b00(0x194)](_0x3f29c1=>_0x3f29c1[_0x551b00(0x1dc)]??_0x3f29c1[_0x551b00(0x1da)])),_0x1345c6['lastError']&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1f5),_0x1345c6['lastError']),_0x1345c6[_0x551b00(0x211)]&&_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1cc)+_0x1345c6['orderId']),_0x1345c6[_0x551b00(0x1f1)]&&_0x55c4d6[_0x551b00(0x214)]('Transaction:\x20'+_0x1345c6[_0x551b00(0x1f1)]),_0x409dd2?.['jobId']?_0x44f3c2[_0x551b00(0x1ab)]===_0x551b00(0x1e3)&&_0x55c4d6['push']('',_0x551b00(0x1bb),'Published\x20tasks\x20cannot\x20currently\x20be\x20cancelled\x20or\x20refunded\x20from\x20Colony.'):_0x1345c6[_0x551b00(0x1c3)]?_0x55c4d6[_0x551b00(0x214)]('',_0x551b00(0x1c4),_0x551b00(0x1c0)):(_0x409dd2?.['canResume']&&_0x55c4d6[_0x551b00(0x214)]('',_0x409dd2[_0x551b00(0x192)]?_0x551b00(0x1b7):_0x551b00(0x207),_0x23e586?_0x551b00(0x1c6):_0x551b00(0x1f6)),_0x409dd2?.[_0x551b00(0x192)]&&_0x55c4d6['push'](_0x551b00(0x19f)),!_0x409dd2?.[_0x551b00(0x192)]&&_0x409dd2?.['requestKey']&&_0x55c4d6['push']('',_0x551b00(0x18e))),_0x55c4d6[_0x551b00(0x19a)]('\x0a');}function _0x1ad1(){const _0x3d5390=['kind','service','explore','Check\x20the\x20payment\x20result\x20before\x20retrying.\x20This\x20order\x20cannot\x20currently\x20be\x20cancelled\x20from\x20Colony.','Payment\x20network:\x20','stderr','[o]\x20','canCancel','hash','map','\x0a[u]\x20Use\x20this\x20wallet\x20for\x20payments','balanceError','title','expired','Press\x20d\x20to\x20fetch\x20the\x20result\x20files.','join','result','Files','url','\x0aEnvironment\x20wallet\x20·\x20import\x20it\x20here\x20to\x20save\x20it\x20encrypted','[x]\x20Cancel\x20request\x20·\x20no\x20payment','jobId','find','split','[d]\x20Files','coins','\x0aVerdict:\x20','key','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.','max','REFUSED','[m]\x20Actions','view','funding','length','nodes','paymentStatus','string','\x20ETH','Payment\x20needs\x20review.\x20Continue\x20payment\x20to\x20check\x20the\x20original\x20payment\x20before\x20retrying.','Review\x20&\x20pay','project','path','replace','[o]\x20Review\x20quote\x20and\x20pay','template','refusalProblems','launch','[m]\x20Task\x20actions','configured','payment_reconciling','unknown','Command\x20failed\x20(exit\x20code\x20','[m]\x20Actions\x20·\x20delete\x20local\x20record','detailLoading','mediaType','cancelledAt','Cancelled\x20locally.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','maximumDebit','Continue\x20payment\x20to\x20check\x20the\x20original\x20payment.','notInstalled','[s]\x20Save','verdict','output','local','Order:\x20','paidBy','Paid\x20by:\x20','\x0a\x0a[m]\x20Worker\x20actions\x20·\x20[l]\x20Logs\x20·\x20[g]\x20Diagnostics','completed','Explorer:\x20','Preparing\x20payment','status','tab','address','transaction_pending','payment_failed','includes','Payment:\x20','code','objective','detail','canResume','steps','EXECUTION\x0a\x0a','Status:\x20','Worker\x20not\x20deployed\x0a\x0a[m]\x20Open\x20worker\x20actions\x20to\x20deploy\x20the\x20official\x20release,\x20pair\x20a\x20wallet,\x20register,\x20and\x20install\x20its\x20service.','PAYMENT\x20RECOVERY','tasks','\x0a\x0a[s]\x20Save\x20verified\x20files','selectedId','DELIVERY','items','CURRENT\x20WALLET\x0a','Files\x20become\x20available\x20after\x20payment\x20and\x20task\x20execution.','Loading\x20details...','Payment\x20note:\x20','state','Resume','Payment\x20needs\x20review','Activity','Cancelled','transactionHash','stdout','bytes','Ethereum','LAST\x20ERROR','Continue\x20here\x20after\x20adding\x20funds.\x20Unpaid\x20quotes\x20and\x20exchange\x20rates\x20are\x20refreshed.','standingError','\x0a[m]\x20Selected\x20wallet\x20actions','Select\x20an\x20item\x20to\x20view\x20details.','No\x20execution\x20steps\x20reported\x20yet.','Robinhood\x20Chain','symbol','paymentChain','\x20bytes\x20·\x20','AUTOMATIC\x20CONVERSION','stringify','network-worker','source','files','Project:\x20','SERVICE\x0a','coin','[o]\x20Inspect\x20/\x20resume\x20saved\x20order','explorerUrl','Maximum\x20debit:\x20','PAYMENT\x20PREPARATION\x0a\x0a','\x0aAttempt:\x20','Balances\x20unavailable:\x20','wallet','challenged','workers','chainName','orderId','\x0a\x0aNetwork:\x20','reviews','push','Transaction:\x20','Not\x20available','reason','filter'];_0x1ad1=function(){return _0x3d5390;};return _0x1ad1();}export{_0x3e4015 as clean,T as detailText,b as lines,s as outputText,v as short,h as statusLabel,k as taskActions};