supercolony 0.1.2 → 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/README.md +10 -6
- package/dist/commands/order.mjs +1 -1
- package/dist/commands/task.mjs +1 -1
- package/dist/lib/funding-error.mjs +1 -0
- package/dist/lib/funding-state.mjs +1 -1
- package/dist/lib/funding.mjs +1 -1
- package/dist/lib/onchain-payment.mjs +1 -1
- package/dist/lib/orders.mjs +1 -1
- package/dist/lib/payment-progress.mjs +1 -0
- package/dist/lib/payment-recovery.mjs +1 -0
- package/dist/lib/publish.mjs +1 -1
- package/dist/lib/task-wallet.mjs +1 -0
- package/dist/lib/transaction-fees.mjs +1 -0
- package/dist/lib/transaction-recovery.mjs +1 -0
- package/dist/lib/transactions.mjs +1 -1
- package/dist/planner/local.mjs +1 -1
- package/dist/planner/model-info.mjs +1 -0
- package/dist/planner/progress.mjs +1 -1
- package/dist/tui/app.mjs +1 -1
- package/dist/tui/controller.mjs +1 -1
- package/dist/tui/presentation.mjs +1 -1
- package/dist/tui/services.mjs +1 -1
- package/package.json +2 -1
package/dist/tui/app.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2ca9a5=_0x1420;import{createElement as _0x132ce6,useEffect as _0xe46d99,useState as _0x293832,useSyncExternalStore as _0x45396d}from'react';import{Box as _0x3f5488,Text as _0x1508c5,useApp as _0x90509d,useInput as _0x20ed3b,useWindowSize as _0x5c64d7}from'ink';import _0x73ad69 from'ink-text-input';function _0xa991(){const _0x1af103=['changeTab','includes','hidden','WORKERS','Not\x20deployed','network','\x20·\x20Tab\x20switch\x20field\x20·\x20Esc\x20cancel','Support\x20is\x20sent\x20first;\x20no\x20refund\x20if\x20admission\x20fails.\x20Task\x20completion\x20is\x20not\x20guaranteed.','doctor','workers','Refreshing\x20tasks...','deliverables','tab','\x20(includes\x20gas)','WALLET\x20DETAILS\x20·\x20selected\x20wallet','Saved\x20on\x20this\x20computer\x20for\x20future\x20tasks.','\x20IMD','support','workerMenu','column','Up/down\x20select\x20·\x20Enter\x20open\x20·\x20Esc\x20back','PgUp/PgDn\x20scroll','Resize\x20to\x20at\x20least\x2040\x20columns\x20and\x2020\x20rows.','converted','total','[r]\x20Refresh','title','Quote\x20expires:\x20\x20\x20\x20\x20','gray','payWith','Review\x20saved\x20payment','pageDown','configured','max','then','Asset:\x20','Work','values','Esc\x20hide\x20and\x20return','view','white','field','Confirm','space-between','Admission\x20payment\x20only.\x20Completion\x20is\x20not\x20guaranteed.','leftArrow','walletManagement','showError','[n]\x20New\x20wallet\x20\x20[i]\x20Import\x20wallet','focus','search','download','expiresAt','funding','cancelRequest','PAYMENT\x20DETAILS','PgUp/PgDn\x20scroll\x20·\x20Esc\x20back','ctrl','Convert\x20&\x20publish','help','\x20+\x20support\x20','[m]\x20Actions','rows','chooseMenu','secret','pageUp','Wallets','refreshing','menu','l\x20retry\x20history','networkFeeCap','Mine','fields','label','saveReceiveQr','cancelled','********','Total\x20','form','\x20·\x20i\x20details','Maximum\x20debit:\x20','slice','Overview','modelProgress','yellow','busy','Deployed\x20·\x20status\x20on\x20selection','\x20wallets','list','payment_failed','Browse','\x20in\x20the\x20sending\x20wallet.','Wallet:\x20','confirm','Choose\x20','Private\x20key','wallet','min','stringify','length','[e]\x20Error\x20details','scroll','terminal','columns','return','Pay\x20with:\x20','Cancel\x20/\x20edit','Activity','estimatedAmount','Workers','Could\x20not\x20load\x20items.\x20Press\x20r\x20to\x20retry.','selected','refreshError','Esc\x20back','explore','paymentCoins','privateKeyView','\x20ETH','update','dismissForm','DETAILS','IMD','installed','Esc/Tab\x20list','\x20/\x20','truncate-end','useSelectedWallet','maximumDebit','Keyboard\x20shortcuts','Help\x20us\x20make\x20Colony\x20better.','REQUEST','state','close','files','expired','join','Estimated\x20payment:\x20','minimumImd','cyan','amount','kind','note','Network:\x20','setField','addTarget','[l]\x20Logs','upArrow','\x20entries\x20·\x20Mine\x20+\x20Network','COLONY','\x20+\x20ETH\x20gas','[f]\x20Filter','Enter\x20','[>]','Preparing\x20local\x20LLM','Explore','accepted','[/]\x20Search','red','COLONY\x20\x20get\x20things\x20done.','continueTask','notice','subscribe','Optional\x20support:\x20','row','challenged','\x20tasks','autoRefresh','logs','expanded','items','Files','Coins:\x20','[\x20]\x20tabs','No\x20matching\x20items.','refresh','Included\x20gas\x20cap:\x20','getSnapshot','en-US','[a]\x20Add\x20target','shift','\x20rows,\x20or\x20press\x20s\x20to\x20save\x20the\x20QR.','chainName','Conversion\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','\x20columns\x20and\x20','tasks','ETH','downArrow','Loading...','lines','Wallet\x20not\x20configured','Loading\x20history...','Continue\x20&\x20publish','navigate','floor','1234','prepared','receive','map','walletReceive','cursor','Order:\x20','managed-worker','privateKey','blocked','single','resumeOrder','[n]\x20New\x20task','objective','Mine\x20·\x20','move','error','Convert\x20at\x20most:\x20','walletImport','WORKSPACES\x0a1\x20My\x20tasks\x20·\x202\x20Explore\x20·\x203\x20Workers\x20·\x204\x20Wallet\x0a\x0aTASKS\x0an\x20New\x20task\x20·\x20/\x20Search\x20·\x20f\x20Filter\x20·\x20r\x20Refresh\x0aup/down\x20Select\x20·\x20Enter\x20Details\x20·\x20Esc\x20Back\x0aTab\x20List/details\x20·\x20[\x20/\x20]\x20Detail\x20tab\x0aPgUp/PgDn\x20Scroll\x20details\x20·\x20l\x20More\x20public\x20tasks\x0ad\x20Result\x20files\x20·\x20s\x20Save\x20files\x20·\x20c\x20Request\x20changes\x0ao\x20Review/pay\x20or\x20resume\x20a\x20saved\x20order\x0ax\x20Cancel\x20an\x20unsigned\x20request\x20·\x20m\x20Task\x20actions\x0aCancelled\x20requests:\x20m\x20>\x20Delete\x20local\x20record\x0aSigned\x20payments\x20and\x20published\x20tasks\x20cannot\x20be\x20cancelled\x20through\x20the\x20public\x20API.\x0a\x0aWORKERS\x0aa\x20Add\x20target\x20·\x20m\x20Actions\x20·\x20l\x20Logs\x20·\x20g\x20Diagnostics\x0a\x0aWALLET\x0an\x20Create\x20wallet\x20·\x20i\x20Import\x20wallet\x0ad\x20Receive\x20/\x20QR\x20·\x20b\x20Encrypted\x20backup\x0am\x20Selected\x20wallet\x20actions\x20·\x20g\x20Management\x20·\x20p\x20Network\x0ar\x20Refresh\x20balances\x0a\x0aq\x20Quit\x20·\x20Ctrl+C\x20Cancel\x20and\x20exit\x0aTerminal\x20is\x20restored\x20when\x20you\x20exit.','SERVER\x20PREPARED\x20INPUT','next','Pay\x20','Review\x20the\x20official\x20fee\x20before\x20paying.','Support\x20recipient:\x20','cancelLabel','address','Enter/Tab\x20details','walletNetworkMenu','push','Support\x20and\x20task\x20payment\x20are\x20separate\x20transactions.','green','coin','My\x20tasks','escape','nextField','create','filter','taskMenu','name','detail','submit','Receive\x20on\x20','IMD\x20for\x20this\x20task:\x20','Pay\x20to:\x20','End\x20of\x20history','respond','network-worker','submitForm','Read\x20only','split','[g]\x20Manage\x20wallets\x20\x20[p]\x20Network','walletMenu','Extra\x20gas\x20cap:\x20','cycleFilter','[?]\x20Help\x20\x20[q]\x20Quit','acceptLabel','WALLETS','coins','startsWith','subtitle'];_0xa991=function(){return _0x1af103;};return _0xa991();}import _0x29602a from'string-width';import{visibleItems as _0x976597,VIEWS as _0x2d0915}from'./controller.mjs';import{clean as _0x1ef884,detailText as _0x82a45b,lines as _0x3e7cca,short as _0x41e566,statusLabel as _0x34090,taskActions as _0x57395f}from'./presentation.mjs';import{modelProgressLines as _0x4d7ba2}from'../planner/progress.mjs';const ie={'topLeft':'+','top':'-','topRight':'+','right':'|','bottomRight':'+','bottom':'-','bottomLeft':'+','left':'|'},se={'tasks':_0x2ca9a5(0x279),'explore':_0x2ca9a5(0x230),'workers':_0x2ca9a5(0x203),'wallet':_0x2ca9a5(0x1d8)},ae=_0x3e0b31=>_0x3e0b31===_0x2ca9a5(0x1e1)?_0x2ca9a5(0x1b2):_0x3e0b31==='completed'?_0x2ca9a5(0x277):[_0x2ca9a5(0x23a),_0x2ca9a5(0x261),'refused',_0x2ca9a5(0x1ef),_0x2ca9a5(0x21c)][_0x2ca9a5(0x197)](_0x3e0b31)?'yellow':_0x2ca9a5(0x220),n=(_0x1f106c,_0x2d034a={})=>_0x132ce6(_0x1508c5,_0x2d034a,_0x1ef884(_0x1f106c));function U({label:_0xbb9816}){const _0x2090c4=_0x2ca9a5,[_0x249af0,_0x5aa356]=_0x293832(0x0);return _0xe46d99(()=>{const _0x20743d=setInterval(()=>_0x5aa356(_0x573859=>(_0x573859+0x1)%0x4),0x96);return()=>clearInterval(_0x20743d);},[]),n(['|','/','-','\x5c'][_0x249af0]+'\x20'+_0xbb9816,{'color':_0x2090c4(0x220),'wrap':_0x2090c4(0x213)});}function E({title:_0x2998ce,width:_0x10064f,height:_0x316dda,ascii:_0x2d1589,active:_0x422f46,children:_0x320872}){const _0x35980f=_0x2ca9a5;return _0x132ce6(_0x3f5488,{'width':_0x10064f,'height':_0x316dda,'flexDirection':_0x35980f(0x1a9),'borderStyle':_0x2d1589?ie:_0x35980f(0x262),'borderColor':_0x422f46?_0x35980f(0x220):_0x35980f(0x1b2),'paddingX':0x1,'flexShrink':0x0,'overflow':_0x35980f(0x198)},n(_0x2998ce,{'color':_0x422f46?_0x35980f(0x220):void 0x0,'dimColor':!_0x422f46}),_0x320872);}function _0x1420(_0x45a543,_0xa991e2){_0x45a543=_0x45a543-0x196;const _0x142062=_0xa991();let _0x2e83e2=_0x142062[_0x45a543];return _0x2e83e2;}function R(_0x42568f,_0x73ad34){const _0x2d24b5=_0x2ca9a5,_0x43f135=[];for(const _0x1ef616 of _0x42568f){const _0x58cb2e=_0x43f135['length']-0x1;_0x58cb2e>=0x0&&_0x29602a(_0x43f135[_0x58cb2e]+'\x20\x20'+_0x1ef616)<=_0x73ad34?_0x43f135[_0x58cb2e]+='\x20\x20'+_0x1ef616:_0x43f135[_0x2d24b5(0x275)](_0x1ef616);}return _0x43f135;}function q({rows:_0x98d747,width:_0x32a784,ascii:_0x418134}){const _0x58e5d2=_0x2ca9a5;return _0x98d747[_0x58e5d2(0x1f9)]?_0x132ce6(_0x3f5488,{'flexDirection':_0x58e5d2(0x1a9),'flexShrink':0x0},n((_0x418134?'-':'\u2500')['repeat'](_0x32a784),{'dimColor':!0x0}),..._0x98d747[_0x58e5d2(0x25b)]((_0x46ff39,_0x30831d)=>n(_0x46ff39,{'key':_0x30831d,'color':_0x58e5d2(0x220),'bold':!0x0}))):null;}function le({event:_0x4d3073,width:_0x278c49,height:_0x226047,ascii:_0x234f44}){const _0x1f7244=_0x2ca9a5,_0x498158=_0x4d7ba2(_0x4d3073,{'width':_0x278c49-0x4})[_0x1f7244(0x1e7)](0x2);return _0x132ce6(E,{'title':_0x1f7244(0x22f),'width':_0x278c49,'height':_0x226047,'ascii':_0x234f44,'active':!0x0},_0x132ce6(_0x3f5488,{'flexDirection':_0x1f7244(0x1a9),'marginTop':0x1},..._0x498158[_0x1f7244(0x25b)]((_0x1063f8,_0x359f96)=>_0x1063f8[_0x1f7244(0x293)](_0x1f7244(0x22e))?_0x132ce6(U,{'key':_0x359f96,'label':_0x1063f8[_0x1f7244(0x1e7)](0x4)}):n(_0x1063f8||'\x20',{'key':_0x359f96,'color':_0x1063f8['startsWith']('[+]')?'green':_0x1f7244(0x220)}))),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x1f7244(0x1a5),{'dimColor':!0x0,'wrap':'truncate-end'}));}function P({content:_0x5cbc88,width:_0x4e804e,height:_0x20025f,offset:_0x1c91fd}){const _0x579009=_0x2ca9a5,_0x4837da=_0x3e7cca(_0x5cbc88,_0x4e804e),_0x1b6d16=Math[_0x579009(0x1f7)](_0x1c91fd,Math['max'](0x0,_0x4837da[_0x579009(0x1f9)]-_0x20025f));return _0x132ce6(_0x3f5488,{'flexDirection':_0x579009(0x1a9),'height':_0x20025f,'overflow':'hidden'},..._0x4837da[_0x579009(0x1e7)](_0x1b6d16,_0x1b6d16+_0x20025f)[_0x579009(0x25b)]((_0x342b44,_0xcaf953)=>n(_0x342b44||'\x20',{'key':_0xcaf953})));}function G({state:_0x27bf19,height:_0x5c319e,width:_0x431596,ascii:_0x14637f}){const _0x182cfa=_0x2ca9a5,_0xeb5b2b=_0x976597(_0x27bf19),_0xd9c469=_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x208),_0x43b29b=_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x24e)?[_0x182cfa(0x264),_0x182cfa(0x232),_0x182cfa(0x22c),_0x182cfa(0x1af)]:_0xd9c469?[_0x182cfa(0x264),_0x182cfa(0x232),_0x182cfa(0x1af)]:_0x27bf19['view']===_0x182cfa(0x19f)?[_0x182cfa(0x248),_0x182cfa(0x232),_0x182cfa(0x1af)]:[];_0x27bf19[_0x182cfa(0x1bd)]!=='wallet'&&(_0x27bf19[_0x182cfa(0x268)]||_0x27bf19[_0x182cfa(0x206)])&&_0x43b29b['push'](_0x182cfa(0x1fa));const _0x209f24=R(_0x43b29b,_0x431596),_0x46db56=_0xd9c469?_0x27bf19['total']:_0xeb5b2b[_0x182cfa(0x1f9)],_0x1ebe03=_0xd9c469?_0x46db56===null?_0xeb5b2b['length']+'\x20results\x20loaded':_0x46db56['toLocaleString']('en-US')+(_0x46db56===0x1?'\x20task':_0x182cfa(0x23b)):_0xeb5b2b[_0x182cfa(0x1f9)]+(_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x1f6)?_0x182cfa(0x1ed):_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x19f)?_0x182cfa(0x229):'\x20items\x20\xB7\x20'+_0x27bf19[_0x182cfa(0x27d)]),_0x4c8986=_0x46db56===null?'Item\x20'+(_0x27bf19[_0x182cfa(0x205)]+0x1):_0x27bf19[_0x182cfa(0x205)]+0x1+'/'+_0x46db56['toLocaleString'](_0x182cfa(0x247)),_0x9c1d28=_0xd9c469&&_0x27bf19[_0x182cfa(0x205)]===_0xeb5b2b[_0x182cfa(0x1f9)]-0x1;let _0x33fcd5='up/down';_0x9c1d28&&(_0x27bf19[_0x182cfa(0x1eb)]?_0x33fcd5=_0x182cfa(0x254):_0x27bf19[_0x182cfa(0x268)]&&_0x27bf19[_0x182cfa(0x25d)]?_0x33fcd5=_0x182cfa(0x1db):_0x33fcd5=_0x27bf19[_0x182cfa(0x25d)]?'down\x20loads\x20more':_0x182cfa(0x285));const _0x3c182a=_0xeb5b2b[_0x182cfa(0x1f9)]?R([_0x4c8986,_0x33fcd5,_0x182cfa(0x273)],_0x431596):[],_0x3af5fa=_0x209f24['length']?_0x209f24['length']+0x1:0x0,_0xb10aa7=Math[_0x182cfa(0x1b7)](0x1,Math[_0x182cfa(0x257)]((_0x5c319e-0x4-_0x3c182a[_0x182cfa(0x1f9)]-_0x3af5fa)/0x3)),_0x3fb9fe=Math[_0x182cfa(0x1b7)](0x0,Math[_0x182cfa(0x1f7)](_0x27bf19[_0x182cfa(0x205)]-Math['floor'](_0xb10aa7/0x2),_0xeb5b2b[_0x182cfa(0x1f9)]-_0xb10aa7));return _0x132ce6(_0x3f5488,{'flexDirection':_0x182cfa(0x1a9),'flexGrow':0x1},n(_0x1ebe03,{'dimColor':!0x0}),..._0xeb5b2b[_0x182cfa(0x1e7)](_0x3fb9fe,_0x3fb9fe+_0xb10aa7)[_0x182cfa(0x25b)]((_0x3ef571,_0x5ce1f6)=>_0x132ce6(_0x3f5488,{'key':_0x3ef571['id'],'flexDirection':_0x182cfa(0x1a9)},n((_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6?'>\x20':'\x20\x20')+_0x41e566((_0x3ef571[_0x182cfa(0x222)]===_0x182cfa(0x25f)?_0x182cfa(0x266):'')+_0x3ef571[_0x182cfa(0x1b0)],_0x431596-0x2),{'inverse':_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6,'bold':_0x27bf19[_0x182cfa(0x205)]===_0x3fb9fe+_0x5ce1f6}),n('\x20\x20'+_0x41e566(_0x3ef571[_0x182cfa(0x294)]??_0x34090(_0x3ef571[_0x182cfa(0x219)])??(_0x3ef571[_0x182cfa(0x210)]?_0x182cfa(0x1ec):_0x182cfa(0x19a)),_0x431596-0x2),{'color':ae(_0x3ef571['state'])}),n((_0x14637f?'-':'\u2500')['repeat'](_0x431596),{'dimColor':!0x0}))),_0xeb5b2b[_0x182cfa(0x1f9)]===0x0?n(_0x27bf19['busy']?'Loading...':_0x27bf19[_0x182cfa(0x268)]?_0x182cfa(0x204):_0x27bf19['view']==='wallet'?'No\x20wallets\x20yet.\x20Press\x20n\x20to\x20create\x20or\x20i\x20to\x20import.':_0x27bf19[_0x182cfa(0x1bd)]===_0x182cfa(0x24e)?'No\x20tasks\x20yet.\x20Press\x20n\x20to\x20create\x20one.':_0x182cfa(0x243),{'dimColor':!0x0}):null,_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x3c182a[_0x182cfa(0x25b)]((_0x218f39,_0x31bae9)=>n(_0x218f39,{'key':_0x31bae9,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x209f24,'width':_0x431596,'ascii':_0x14637f}));}function ce({state:_0x375369,width:_0x2a89dd,height:_0x5db4ea,ascii:_0x232ac0,narrow:_0x43628d}){const _0x16c2fd=_0x2ca9a5,_0x49096f=_0x43628d?_0x2a89dd:Math[_0x16c2fd(0x257)](_0x2a89dd*0.43),_0x1b4781=_0x43628d?_0x2a89dd:_0x2a89dd-_0x49096f-0x1,_0xb8d429=0x5,_0x23a98f=_0x5db4ea-_0xb8d429,_0x3c5dcc=_0x375369[_0x16c2fd(0x280)]?.[_0x16c2fd(0x1b6)]?[_0x16c2fd(0x1d3),_0x16c2fd(0x1af)]:[_0x16c2fd(0x1af)];(_0x375369['error']||_0x375369['refreshError'])&&_0x3c5dcc[_0x16c2fd(0x275)](_0x16c2fd(0x1fa));const _0x5e6723=R(_0x3c5dcc,_0x1b4781-0x4),_0x1a32ca=R([_0x16c2fd(0x211),_0x16c2fd(0x1ab)],_0x1b4781-0x4),_0x28c242=_0x132ce6(E,{'title':_0x16c2fd(0x291),'width':_0x49096f,'height':_0x43628d?_0x23a98f:_0x5db4ea,'ascii':_0x232ac0,'active':_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x1ee)},_0x132ce6(G,{'state':_0x375369,'height':_0x43628d?_0x23a98f:_0x5db4ea,'width':_0x49096f-0x4,'ascii':_0x232ac0})),_0x598352=_0x132ce6(E,{'title':_0x16c2fd(0x1a4),'width':_0x1b4781,'height':_0x23a98f,'ascii':_0x232ac0,'active':_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x280)},_0x132ce6(P,{'content':_0x82a45b(_0x375369),'width':_0x1b4781-0x4,'height':_0x23a98f-0x4-_0x1a32ca[_0x16c2fd(0x1f9)]-_0x5e6723['length'],'offset':_0x375369[_0x16c2fd(0x1fb)]}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x1a32ca[_0x16c2fd(0x25b)]((_0x3f39e5,_0xd54691)=>n(_0x3f39e5,{'key':_0xd54691,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x5e6723,'width':_0x1b4781-0x4,'ascii':_0x232ac0})),_0x320902=_0x132ce6(E,{'title':'WALLET\x20MANAGEMENT\x20\xB7\x20'+(_0x375369[_0x16c2fd(0x280)]?.[_0x16c2fd(0x24b)]??_0x16c2fd(0x251)),'width':_0x1b4781,'height':_0xb8d429,'ascii':_0x232ac0,'active':!0x1},n(_0x16c2fd(0x1c6)),n(_0x16c2fd(0x28b)));return _0x43628d?_0x132ce6(_0x3f5488,{'flexDirection':_0x16c2fd(0x1a9),'width':_0x2a89dd,'height':_0x5db4ea},_0x375369[_0x16c2fd(0x1c7)]===_0x16c2fd(0x1ee)?_0x28c242:_0x598352,_0x320902):_0x132ce6(_0x3f5488,{'width':_0x2a89dd,'height':_0x5db4ea,'gap':0x1},_0x28c242,_0x132ce6(_0x3f5488,{'width':_0x1b4781,'flexDirection':_0x16c2fd(0x1a9)},_0x598352,_0x320902));}function de({controller:_0x1eeabd,state:_0x3057b7,width:_0x12ab3e,height:_0x479d56,ascii:_0x3c769d}){const _0x1f7272=_0x2ca9a5,_0x29c92b=_0x3057b7[_0x1f7272(0x1e4)],_0x4c371c=_0x29c92b[_0x1f7272(0x1de)][_0x29c92b['field']],_0x125276=_0x29c92b[_0x1f7272(0x1de)]['slice'](0x0,_0x29c92b[_0x1f7272(0x1bf)])['map'](_0x103c06=>_0x103c06['label']+':\x20'+(_0x103c06['secret']?_0x1f7272(0x1e2):_0x29c92b[_0x1f7272(0x1bb)][_0x103c06[_0x1f7272(0x27f)]]));return _0x132ce6(E,{'title':_0x29c92b[_0x1f7272(0x1b0)],'width':_0x12ab3e,'height':_0x479d56,'ascii':_0x3c769d,'active':!0x0},_0x132ce6(_0x3f5488,{'marginTop':0x1,'flexDirection':_0x1f7272(0x1a9)},_0x29c92b['paymentCoins']?n(_0x1f7272(0x1ff)+_0x29c92b['paymentCoins'][_0x1f7272(0x25b)](_0x2f42b3=>_0x2f42b3===_0x29c92b[_0x1f7272(0x1b3)]?'['+_0x2f42b3+']':_0x2f42b3)['join']('\x20')+'\x20\xB7\x20up/down\x20change',{'color':_0x1f7272(0x220)}):null,..._0x125276[_0x1f7272(0x25b)]((_0x20fc47,_0x290b0d)=>n(_0x41e566(_0x20fc47,_0x12ab3e-0x6),{'key':_0x290b0d,'dimColor':!0x0})),n(_0x4c371c[_0x1f7272(0x1df)],{'bold':!0x0}),_0x132ce6(_0x3f5488,{'marginTop':0x1,'minHeight':0x2,'maxHeight':Math['max'](0x2,_0x479d56-0x9),'overflow':_0x1f7272(0x198)},n('>\x20',{'color':_0x1f7272(0x220)}),_0x132ce6(_0x73ad69,{'key':_0x4c371c[_0x1f7272(0x27f)],'value':_0x29c92b['values'][_0x4c371c[_0x1f7272(0x27f)]],'placeholder':_0x4c371c['placeholder']??'','mask':_0x4c371c[_0x1f7272(0x1d6)]?'*':void 0x0,'onChange':_0x7bfb46=>_0x1eeabd[_0x1f7272(0x225)](_0x7bfb46),'onSubmit':()=>_0x29c92b[_0x1f7272(0x1bf)]===_0x29c92b['fields'][_0x1f7272(0x1f9)]-0x1?void _0x1eeabd[_0x1f7272(0x288)]():_0x1eeabd[_0x1f7272(0x27b)]()})),n(_0x29c92b['error']??'',{'color':_0x1f7272(0x233)}),_0x29c92b[_0x1f7272(0x209)]?n(_0x1f7272(0x26f),{'dimColor':!0x0}):null),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x1f7272(0x22d)+(_0x29c92b[_0x1f7272(0x1bf)]===_0x29c92b['fields'][_0x1f7272(0x1f9)]-0x1?_0x29c92b[_0x1f7272(0x281)]:_0x1f7272(0x26d))+_0x1f7272(0x19c),{'color':_0x1f7272(0x220),'wrap':_0x1f7272(0x213)}));}function ue({state:_0x44f8f4,width:_0x3ea34f,height:_0x365173,ascii:_0x12b1a9}){const _0x13bb22=_0x2ca9a5,_0x481b35=_0x44f8f4['confirm'],_0x55e6fb=_0x481b35['payment'],_0x4b8701=_0x55e6fb?_0x55e6fb[_0x13bb22(0x1a7)]?_0x13bb22(0x1e3)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x1ae)]+'\x20IMD\x20(fee\x20'+_0x55e6fb[_0x13bb22(0x221)]+_0x13bb22(0x1d2)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x221)]+')':'Fee\x20'+_0x55e6fb['amount']+_0x13bb22(0x1a6):null,_0x584a38=_0x55e6fb?.[_0x13bb22(0x1cb)]?'Max\x20debit:\x20'+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x215)]:null,_0x3010a8=_0x55e6fb?_0x13bb22(0x224)+_0x55e6fb[_0x13bb22(0x24b)]:null,_0x1da055=_0x55e6fb?.[_0x13bb22(0x1dc)]?(_0x55e6fb[_0x13bb22(0x1cb)]?.[_0x13bb22(0x278)]===_0x13bb22(0x24f)?_0x13bb22(0x245):_0x13bb22(0x28d))+_0x55e6fb[_0x13bb22(0x1dc)]+_0x13bb22(0x20b):null,_0x431f4e=_0x55e6fb?_0x55e6fb[_0x13bb22(0x1a7)]?_0x13bb22(0x19d):_0x13bb22(0x1c2):null;let _0x2b1d6c=_0x55e6fb?_0x13bb22(0x26e)+(_0x55e6fb['support']?.[_0x13bb22(0x1ae)]??_0x55e6fb[_0x13bb22(0x221)])+'\x20IMD\x20&\x20publish':'';_0x55e6fb?.[_0x13bb22(0x1cb)]&&_0x55e6fb[_0x13bb22(0x1cb)]['coin']!==_0x13bb22(0x20f)&&(_0x2b1d6c=_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x1ad)]?_0x13bb22(0x255):_0x13bb22(0x1d0));const _0x47f94e=0x2+_0x3e7cca(_0x481b35['title']??_0x13bb22(0x1b4),_0x3ea34f-0x4)[_0x13bb22(0x1f9)]+[_0x4b8701,_0x584a38,_0x3010a8,_0x1da055,_0x431f4e][_0x13bb22(0x27d)](Boolean)['reduce']((_0x2d8306,_0x8ec68d)=>_0x2d8306+_0x3e7cca(_0x8ec68d,_0x3ea34f-0x4)[_0x13bb22(0x1f9)],0x0)+(_0x3ea34f<0x46?0x2:0x1)+0x1,_0x43556d=_0x55e6fb?[_0x13bb22(0x218),_0x55e6fb[_0x13bb22(0x265)],'',..._0x55e6fb[_0x13bb22(0x1a1)][_0x13bb22(0x25b)](_0x2fc150=>'-\x20'+_0x2fc150),'',..._0x55e6fb[_0x13bb22(0x1a7)]?[_0x13bb22(0x217),_0x13bb22(0x238)+_0x55e6fb[_0x13bb22(0x1a7)][_0x13bb22(0x221)]+_0x13bb22(0x1a6),_0x13bb22(0x270)+_0x55e6fb[_0x13bb22(0x1a7)]['recipient'],_0x13bb22(0x276),'']:[],..._0x55e6fb[_0x13bb22(0x1cb)]&&_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x278)]!=='IMD'?[(_0x55e6fb['funding'][_0x13bb22(0x1ad)]?'Conversion\x20already\x20confirmed;\x20reviewed\x20limit:\x20':_0x13bb22(0x269))+_0x55e6fb['funding']['amount'],..._0x55e6fb['funding'][_0x13bb22(0x202)]&&!_0x55e6fb[_0x13bb22(0x1cb)]['converted']?[_0x13bb22(0x21e)+_0x55e6fb[_0x13bb22(0x1cb)]['estimatedAmount']]:[],_0x13bb22(0x1e6)+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x215)]+(_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x278)]===_0x13bb22(0x24f)?_0x13bb22(0x1a3):_0x13bb22(0x22b)),_0x13bb22(0x283)+_0x55e6fb[_0x13bb22(0x1cb)][_0x13bb22(0x21f)],_0x13bb22(0x24c),'']:[],_0x13bb22(0x1b1)+_0x55e6fb[_0x13bb22(0x1ca)],..._0x481b35[_0x13bb22(0x23e)]?['',_0x13bb22(0x1cd),'Network:\x20'+_0x55e6fb[_0x13bb22(0x19b)],_0x13bb22(0x1b9)+_0x55e6fb['asset'],_0x13bb22(0x284)+_0x55e6fb['payTo'],_0x13bb22(0x25e)+_0x55e6fb['orderId'],'',_0x13bb22(0x26c),JSON[_0x13bb22(0x1f8)](_0x55e6fb[_0x13bb22(0x259)],null,0x2)]:[]][_0x13bb22(0x21d)]('\x0a'):_0x481b35[_0x13bb22(0x252)][_0x13bb22(0x21d)]('\x0a');return _0x132ce6(E,{'title':_0x481b35[_0x13bb22(0x1b0)]??'Review\x20saved\x20payment','width':_0x3ea34f,'height':_0x365173,'ascii':_0x12b1a9,'active':!0x0},_0x4b8701?n(_0x4b8701,{'color':_0x13bb22(0x220),'bold':!0x0}):null,_0x584a38?n(_0x584a38,{'color':_0x13bb22(0x220),'bold':!0x0}):null,_0x3010a8?n(_0x3010a8,{'color':_0x13bb22(0x220)}):null,_0x1da055?n(_0x1da055,{'color':_0x13bb22(0x1ea)}):null,_0x132ce6(P,{'content':_0x43556d,'width':_0x3ea34f-0x4,'height':Math[_0x13bb22(0x1b7)](0x0,_0x365173-_0x47f94e),'offset':_0x44f8f4[_0x13bb22(0x1fb)]}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),_0x431f4e?n(_0x431f4e,{'color':_0x13bb22(0x1ea)}):null,_0x132ce6(_0x3f5488,{'flexDirection':_0x3ea34f<0x46?'column':_0x13bb22(0x239),'gap':_0x3ea34f<0x46?0x0:0x3},n('[\x20'+(_0x481b35[_0x13bb22(0x271)]??(_0x55e6fb?_0x13bb22(0x200):'Cancel'))+'\x20]',{'inverse':!_0x481b35[_0x13bb22(0x231)]}),n('[\x20'+(_0x55e6fb?_0x2b1d6c:_0x481b35[_0x13bb22(0x290)]??_0x13bb22(0x1c0))+'\x20]',{'inverse':_0x481b35[_0x13bb22(0x231)],'color':_0x13bb22(0x220)})),n('Tab\x20choose\x20\xB7\x20Enter\x20confirm\x20\xB7\x20Esc\x20cancel\x20\xB7\x20PgDn\x20scroll'+(_0x55e6fb?_0x13bb22(0x1e5):''),{'dimColor':!0x0,'wrap':'truncate-end'}));}function fe({state:_0x30596c,width:_0x112244,height:_0x43bc7a,ascii:_0xf5a1b0}){const _0x3caefa=_0x2ca9a5,_0x5c0ee3=_0x30596c[_0x3caefa(0x1da)],_0x1caada=Math[_0x3caefa(0x1b7)](0x1,_0x43bc7a-0x5),_0x29e0d7=Math[_0x3caefa(0x1b7)](0x0,Math[_0x3caefa(0x1f7)](_0x5c0ee3[_0x3caefa(0x205)]-Math['floor'](_0x1caada/0x2),_0x5c0ee3[_0x3caefa(0x23f)][_0x3caefa(0x1f9)]-_0x1caada));return _0x132ce6(E,{'title':_0x5c0ee3['title'],'width':_0x112244,'height':_0x43bc7a,'ascii':_0xf5a1b0,'active':!0x0},..._0x5c0ee3['items'][_0x3caefa(0x1e7)](_0x29e0d7,_0x29e0d7+_0x1caada)[_0x3caefa(0x25b)]((_0x5119ef,_0x2b9d80)=>n((_0x29e0d7+_0x2b9d80===_0x5c0ee3[_0x3caefa(0x205)]?'>\x20':'\x20\x20')+_0x5119ef[_0x3caefa(0x1df)],{'key':_0x2b9d80,'inverse':_0x29e0d7+_0x2b9d80===_0x5c0ee3[_0x3caefa(0x205)]})),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x3caefa(0x1aa),{'dimColor':!0x0}));}const me=_0x2ca9a5(0x26b);function ye({controller:_0x1e34bf,ascii:_0x312dfc=!0x1,dimensions:_0x1cdafa,terminal:_0x162f20,feedback:_0x2708a7}){const _0x3c6c67=_0x2ca9a5,_0x4e3ca3=_0x45396d(_0x1e34bf[_0x3c6c67(0x237)],_0x1e34bf[_0x3c6c67(0x246)]),_0x4c0c60=_0x4e3ca3[_0x3c6c67(0x268)]??_0x4e3ca3[_0x3c6c67(0x206)],_0x193526=_0x5c64d7(),_0x1e8285=_0x1cdafa??_0x193526,_0xb1dd97=_0x1e8285[_0x3c6c67(0x1fd)],_0x328a78=Math[_0x3c6c67(0x1b7)](0x8,_0x1e8285[_0x3c6c67(0x1d4)]-0x1),_0xe0d8e2=_0xb1dd97<0x64,{exit:_0x1c39bc}=_0x90509d();if(_0xe46d99(()=>(_0x1e34bf[_0x3c6c67(0x1fc)]=_0x162f20,_0x1e34bf[_0x3c6c67(0x244)]()[_0x3c6c67(0x1b8)](()=>{const _0x265512=_0x3c6c67;_0x2708a7&&_0x1e34bf[_0x265512(0x20c)](_0x2708a7);}),()=>_0x1e34bf['close']()),[_0x1e34bf,_0x162f20,_0x2708a7]),_0xe46d99(()=>{const _0x54a2b6=setInterval(()=>{const _0x59132c=_0x1420;_0x1e34bf[_0x59132c(0x23c)]();},0x1388);return()=>clearInterval(_0x54a2b6);},[_0x1e34bf]),_0x20ed3b((_0x5918e4,_0x15c753)=>{const _0x4fc7b4=_0x3c6c67;if(_0x15c753[_0x4fc7b4(0x1cf)]&&_0x5918e4==='c'){_0x1e34bf['close'](),_0x1c39bc();return;}if(_0x4e3ca3['privateKeyView']){_0x15c753[_0x4fc7b4(0x27a)]&&_0x1e34bf[_0x4fc7b4(0x20c)]({'privateKeyView':null});return;}if(_0xb1dd97<0x28||_0x1e8285[_0x4fc7b4(0x1d4)]<0x14){_0x4e3ca3['receive']?_0x15c753[_0x4fc7b4(0x27a)]&&_0x1e34bf['update']({'receive':null}):_0x5918e4==='q'&&(_0x1e34bf['close'](),_0x1c39bc());return;}if(_0x4e3ca3['confirm']){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf[_0x4fc7b4(0x286)](!0x1):_0x15c753['tab']||_0x15c753[_0x4fc7b4(0x1c3)]||_0x15c753['rightArrow']?_0x1e34bf['update']({'confirm':{..._0x4e3ca3[_0x4fc7b4(0x1f3)],'accepted':!_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x231)]}}):_0x15c753[_0x4fc7b4(0x1fe)]?_0x1e34bf['respond'](_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x231)]):_0x5918e4==='i'?_0x1e34bf[_0x4fc7b4(0x20c)]({'confirm':{..._0x4e3ca3[_0x4fc7b4(0x1f3)],'expanded':!_0x4e3ca3[_0x4fc7b4(0x1f3)][_0x4fc7b4(0x23e)]},'scroll':0x0}):(_0x15c753[_0x4fc7b4(0x1b5)]||_0x15c753[_0x4fc7b4(0x1d7)])&&_0x1e34bf['update']({'scroll':Math[_0x4fc7b4(0x1b7)](0x0,_0x4e3ca3[_0x4fc7b4(0x1fb)]+(_0x15c753[_0x4fc7b4(0x1b5)]?0x5:-0x5))});return;}if(_0x4e3ca3[_0x4fc7b4(0x1e4)]){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf[_0x4fc7b4(0x20d)]():(_0x15c753['upArrow']||_0x15c753[_0x4fc7b4(0x250)])&&_0x4e3ca3[_0x4fc7b4(0x1e4)][_0x4fc7b4(0x209)]?_0x1e34bf['cyclePaymentCoin'](_0x15c753[_0x4fc7b4(0x228)]):_0x15c753[_0x4fc7b4(0x1a2)]&&_0x1e34bf[_0x4fc7b4(0x27b)](_0x15c753[_0x4fc7b4(0x249)]);return;}if(_0x4e3ca3[_0x4fc7b4(0x25a)]){_0x15c753['escape']&&_0x1e34bf[_0x4fc7b4(0x20c)]({'receive':null}),_0x5918e4==='s'&&_0x1e34bf[_0x4fc7b4(0x1e0)]();return;}if(_0x4e3ca3[_0x4fc7b4(0x1da)]){_0x15c753[_0x4fc7b4(0x27a)]?_0x1e34bf['dismissMenu']():_0x15c753['downArrow']||_0x15c753[_0x4fc7b4(0x228)]?_0x1e34bf[_0x4fc7b4(0x20c)]({'menu':{..._0x4e3ca3[_0x4fc7b4(0x1da)],'selected':Math[_0x4fc7b4(0x1b7)](0x0,Math[_0x4fc7b4(0x1f7)](_0x4e3ca3[_0x4fc7b4(0x1da)][_0x4fc7b4(0x23f)]['length']-0x1,_0x4e3ca3[_0x4fc7b4(0x1da)][_0x4fc7b4(0x205)]+(_0x15c753[_0x4fc7b4(0x250)]?0x1:-0x1)))}}):_0x15c753[_0x4fc7b4(0x1fe)]&&_0x1e34bf[_0x4fc7b4(0x1d5)]();return;}if(_0x5918e4==='q'&&!_0x4e3ca3['busy']){_0x1e34bf[_0x4fc7b4(0x21a)](),_0x1c39bc();return;}if(!_0x4e3ca3[_0x4fc7b4(0x1eb)]){if(_0x5918e4==='e'&&_0x4c0c60){_0x1e34bf[_0x4fc7b4(0x1c5)]();return;}if(_0x4fc7b4(0x258)[_0x4fc7b4(0x197)](_0x5918e4)&&_0x5918e4['length']===0x1){_0x1e34bf[_0x4fc7b4(0x256)](_0x2d0915[Number(_0x5918e4)-0x1]);return;}if(_0x5918e4==='?'){_0x1e34bf[_0x4fc7b4(0x20c)]({'help':!_0x4e3ca3['help'],'scroll':0x0});return;}if(_0x15c753[_0x4fc7b4(0x27a)]){_0x1e34bf['update']({'focus':_0x4fc7b4(0x1ee),'help':!0x1,'scroll':0x0,'error':null,'refreshError':null,'notice':null});return;}if(_0x5918e4==='n'){_0x4e3ca3['view']==='wallet'?_0x1e34bf['walletSetup'](!0x1):_0x1e34bf[_0x4fc7b4(0x27c)]();return;}if(_0x5918e4==='r'){_0x1e34bf[_0x4fc7b4(0x244)]();return;}if(_0x15c753[_0x4fc7b4(0x1b5)]||_0x15c753[_0x4fc7b4(0x1d7)]||_0x4e3ca3['focus']===_0x4fc7b4(0x280)&&(_0x15c753[_0x4fc7b4(0x250)]||_0x15c753[_0x4fc7b4(0x228)])){_0x1e34bf['update']({'scroll':Math[_0x4fc7b4(0x1b7)](0x0,_0x4e3ca3['scroll']+(_0x15c753[_0x4fc7b4(0x1b5)]?0x5:_0x15c753[_0x4fc7b4(0x1d7)]?-0x5:_0x15c753[_0x4fc7b4(0x250)]?0x1:-0x1))});return;}if(_0x4e3ca3['view']===_0x4fc7b4(0x1f6)){(_0x15c753[_0x4fc7b4(0x250)]||_0x15c753[_0x4fc7b4(0x228)])&&_0x1e34bf['move'](_0x15c753['downArrow']?0x1:-0x1),(_0x15c753[_0x4fc7b4(0x1fe)]||_0x15c753[_0x4fc7b4(0x1a2)])&&_0x1e34bf[_0x4fc7b4(0x20c)]({'focus':_0x4e3ca3[_0x4fc7b4(0x1c7)]===_0x4fc7b4(0x1ee)?'detail':'list','scroll':0x0}),_0x5918e4==='u'&&_0x1e34bf[_0x4fc7b4(0x214)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x28c)](),_0x5918e4==='g'&&_0x1e34bf[_0x4fc7b4(0x1c4)](),_0x5918e4==='i'&&_0x1e34bf[_0x4fc7b4(0x26a)](),_0x5918e4==='d'&&_0x1e34bf[_0x4fc7b4(0x25c)](),_0x5918e4==='b'&&_0x1e34bf['walletBackup'](),_0x5918e4==='p'&&_0x1e34bf[_0x4fc7b4(0x274)]();return;}if(_0x15c753['downArrow']||_0x15c753['upArrow']){_0x1e34bf[_0x4fc7b4(0x267)](_0x15c753['downArrow']?0x1:-0x1);return;}if(_0x15c753[_0x4fc7b4(0x1fe)]||_0x15c753['tab']){_0x1e34bf[_0x4fc7b4(0x20c)]({'focus':_0x4e3ca3[_0x4fc7b4(0x1c7)]===_0x4fc7b4(0x1ee)?'detail':_0x4fc7b4(0x1ee),'scroll':0x0});return;}if(_0x4e3ca3['view']===_0x4fc7b4(0x19f)){_0x5918e4==='/'&&_0x1e34bf[_0x4fc7b4(0x1c8)](),_0x5918e4==='a'&&_0x1e34bf[_0x4fc7b4(0x226)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x1a8)](),_0x5918e4==='l'&&_0x1e34bf['workerCommand']([_0x4fc7b4(0x23d)]),_0x5918e4==='g'&&_0x1e34bf['workerCommand']([_0x4fc7b4(0x19e)]);return;}_0x5918e4==='/'&&_0x1e34bf[_0x4fc7b4(0x1c8)](),_0x5918e4==='f'&&_0x4e3ca3[_0x4fc7b4(0x1bd)]===_0x4fc7b4(0x24e)&&_0x1e34bf[_0x4fc7b4(0x28e)](),(_0x5918e4==='['||_0x5918e4===']')&&_0x1e34bf[_0x4fc7b4(0x196)](_0x5918e4==='['?-0x1:0x1),_0x5918e4==='d'&&_0x1e34bf[_0x4fc7b4(0x21b)](),_0x5918e4==='s'&&_0x1e34bf[_0x4fc7b4(0x1c9)](),_0x5918e4==='c'&&_0x1e34bf[_0x4fc7b4(0x235)](),_0x5918e4==='o'&&_0x1e34bf[_0x4fc7b4(0x263)](),_0x5918e4==='x'&&_0x1e34bf[_0x4fc7b4(0x1cc)](),_0x5918e4==='m'&&_0x1e34bf[_0x4fc7b4(0x27e)](),_0x5918e4==='l'&&_0x1e34bf['more']();}}),_0xb1dd97<0x28||_0x1e8285[_0x3c6c67(0x1d4)]<0x14)return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'flexDirection':_0x3c6c67(0x1a9)},n(_0x3c6c67(0x22a),{'color':_0x3c6c67(0x220)}),n(_0x3c6c67(0x1ac)),n(_0x4e3ca3[_0x3c6c67(0x25a)]||_0x4e3ca3['privateKeyView']?_0x3c6c67(0x207):'q\x20quit\x20\xB7\x20commands\x20remain\x20available\x20with\x20--help'));if(_0x4e3ca3[_0x3c6c67(0x20a)])return _0x132ce6(E,{'title':_0x3c6c67(0x1f5),'width':_0xb1dd97,'height':_0x328a78,'ascii':_0x312dfc,'active':!0x0},n(_0x3c6c67(0x1f2)+_0x4e3ca3[_0x3c6c67(0x20a)]['address']),n('Anyone\x20with\x20this\x20key\x20can\x20spend\x20this\x20wallet\u2019s\x20funds.',{'color':_0x3c6c67(0x1ea)}),_0x132ce6(_0x3f5488,{'marginTop':0x1},n(_0x4e3ca3[_0x3c6c67(0x20a)][_0x3c6c67(0x260)])),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),n(_0x3c6c67(0x1bc),{'color':_0x3c6c67(0x220)}));if(_0x4e3ca3[_0x3c6c67(0x25a)]&&!_0x4e3ca3['form']){const _0xb747fd=_0x4e3ca3[_0x3c6c67(0x25a)],_0x5161a8=_0xb747fd['qr'][_0x3c6c67(0x28a)]('\x0a'),_0xcd58bd=_0x5161a8[_0x3c6c67(0x1f9)]+_0x3e7cca(_0xb747fd[_0x3c6c67(0x272)],_0xb1dd97)[_0x3c6c67(0x1f9)]+_0x3e7cca(_0x3c6c67(0x1f4)+_0xb747fd['chainName']+_0x3c6c67(0x1f1),_0xb1dd97)[_0x3c6c67(0x1f9)]+0x3,_0x419b36=_0xb1dd97>=_0x5161a8[0x0][_0x3c6c67(0x1f9)]&&_0x328a78>=_0xcd58bd;return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'height':_0x328a78,'flexDirection':_0x3c6c67(0x1a9)},n(_0x3c6c67(0x282)+_0xb747fd[_0x3c6c67(0x24b)],{'bold':!0x0,'color':'cyan'}),n(_0xb747fd[_0x3c6c67(0x272)]),n(_0x3c6c67(0x241)+_0xb747fd[_0x3c6c67(0x292)]['join'](',\x20')),_0x419b36?n(_0xb747fd['qr'],{'color':'black','backgroundColor':_0x3c6c67(0x1be)}):n('Resize\x20to\x20at\x20least\x20'+Math[_0x3c6c67(0x1b7)](0x28,_0x5161a8[0x0][_0x3c6c67(0x1f9)])+_0x3c6c67(0x24d)+(_0xcd58bd+0x1)+_0x3c6c67(0x24a)),n(_0x3c6c67(0x1f4)+_0xb747fd[_0x3c6c67(0x24b)]+_0x3c6c67(0x1f1),{'color':'yellow'}),n(_0x41e566(_0x4e3ca3[_0x3c6c67(0x268)]??_0x4e3ca3['notice']??'s\x20save\x20QR\x20\xB7\x20Esc\x20back',_0xb1dd97),{'color':_0x4e3ca3[_0x3c6c67(0x268)]?_0x3c6c67(0x233):_0x3c6c67(0x220)}));}const _0x4c70ef=_0x4e3ca3['form']||_0x4e3ca3[_0x3c6c67(0x1f3)]||_0x4e3ca3[_0x3c6c67(0x1e9)],_0x575d85=Math['max'](0x6,_0x328a78-(_0x4c70ef?0x3:0x6)),_0x526529=_0x976597(_0x4e3ca3)[_0x4e3ca3[_0x3c6c67(0x205)]];let _0x1d1b0c;if(_0x4e3ca3[_0x3c6c67(0x1e4)])_0x1d1b0c=_0x132ce6(de,{'controller':_0x1e34bf,'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3['confirm'])_0x1d1b0c=_0x132ce6(ue,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1e9)])_0x1d1b0c=_0x132ce6(le,{'event':_0x4e3ca3[_0x3c6c67(0x1e9)],'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1da)])_0x1d1b0c=_0x132ce6(fe,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc});else{if(_0x4e3ca3[_0x3c6c67(0x1d1)])_0x1d1b0c=_0x132ce6(E,{'title':_0x3c6c67(0x216),'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc,'active':!0x0},_0x132ce6(P,{'content':me,'width':_0xb1dd97-0x4,'height':_0x575d85-0x4,'offset':_0x4e3ca3[_0x3c6c67(0x1fb)]}),n(_0x3c6c67(0x1ce),{'dimColor':!0x0}));else{if(_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x1f6))_0x1d1b0c=_0x132ce6(ce,{'state':_0x4e3ca3,'width':_0xb1dd97,'height':_0x575d85,'ascii':_0x312dfc,'narrow':_0xe0d8e2});else{const _0xffb983=!_0xe0d8e2||_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x1ee),_0x15082d=!_0xe0d8e2||_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x280),_0x500e22=_0xe0d8e2?_0xb1dd97:Math[_0x3c6c67(0x257)](_0xb1dd97*0.43),_0x539f0d=_0xffb983&&!_0xe0d8e2?_0xb1dd97-_0x500e22-0x1:_0xb1dd97,_0x36bd43=_0x82a45b({..._0x4e3ca3,'selectedId':_0x526529?.['id']}),_0x36d7b9=_0x4e3ca3['view']===_0x3c6c67(0x24e)||_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x208),_0x32986e=_0x36d7b9?_0x57395f(_0x526529,_0x4e3ca3[_0x3c6c67(0x1bd)]):_0x526529?_0x526529[_0x3c6c67(0x222)]===_0x3c6c67(0x287)?[_0x3c6c67(0x289)]:[_0x3c6c67(0x1d3),_0x3c6c67(0x227),'[g]\x20Diagnostics']:[];_0x4c0c60&&_0x32986e['push'](_0x3c6c67(0x1fa));const _0x2d8218=R(_0x32986e,_0x539f0d-0x4),_0x2e7b18=_0x2d8218['length']?_0x2d8218['length']+0x1:0x0,_0x22c774=R([_0x3c6c67(0x211),'PgUp/PgDn\x20scroll',..._0x36d7b9?[_0x3c6c67(0x242)]:[]],_0x539f0d-0x4);_0x1d1b0c=_0x132ce6(_0x3f5488,{'height':_0x575d85,'width':_0xb1dd97,'gap':0x1},_0xffb983?_0x132ce6(E,{'title':(_0x4e3ca3[_0x3c6c67(0x1bd)]===_0x3c6c67(0x19f)?_0x3c6c67(0x199):_0x4e3ca3['filter'])+(_0x4e3ca3['query']?_0x3c6c67(0x212)+_0x41e566(_0x4e3ca3['query'],0x16):''),'width':_0x500e22,'height':_0x575d85,'ascii':_0x312dfc,'active':_0x4e3ca3[_0x3c6c67(0x1c7)]===_0x3c6c67(0x1ee)},_0x132ce6(G,{'state':_0x4e3ca3,'height':_0x575d85,'width':_0x500e22-0x4,'ascii':_0x312dfc})):null,_0x15082d?_0x132ce6(E,{'title':_0x41e566(_0x526529?.['id']??_0x3c6c67(0x20e),_0x539f0d-0x7),'width':_0x539f0d,'height':_0x575d85,'ascii':_0x312dfc,'active':_0x4e3ca3['focus']===_0x3c6c67(0x280)},_0x36d7b9?n([_0x3c6c67(0x1e8),_0x3c6c67(0x201),_0x3c6c67(0x240)][_0x3c6c67(0x25b)](_0x3557fa=>_0x3557fa===_0x4e3ca3[_0x3c6c67(0x1a2)]?'['+_0x3557fa+']':_0x3557fa)[_0x3c6c67(0x21d)]('\x20\x20'),{'color':'cyan','wrap':_0x3c6c67(0x213)}):null,_0x132ce6(P,{'content':_0x36bd43,'width':_0x539f0d-0x4,'height':_0x575d85-0x3-Number(_0x36d7b9)-_0x2e7b18-_0x22c774['length'],'offset':_0x4e3ca3['scroll']}),_0x132ce6(_0x3f5488,{'flexGrow':0x1}),..._0x22c774['map']((_0x55fcef,_0x4149a5)=>n(_0x55fcef,{'key':_0x4149a5,'dimColor':!0x0})),_0x132ce6(q,{'rows':_0x2d8218,'width':_0x539f0d-0x4,'ascii':_0x312dfc})):null);}}}}}}const _0x4891e8=_0x4e3ca3[_0x3c6c67(0x1e4)]||_0x4e3ca3[_0x3c6c67(0x1f3)]||_0x4e3ca3[_0x3c6c67(0x1da)]||_0x4e3ca3[_0x3c6c67(0x1eb)]?'[Ctrl+C]\x20Exit':_0x3c6c67(0x28f),_0x3382d6=_0xb1dd97<0x4b?_0x2d0915[_0x3c6c67(0x25b)]((_0x26cce4,_0x160404)=>'['+(_0x160404+0x1)+']'+[_0x3c6c67(0x1dd),_0x3c6c67(0x1f0),_0x3c6c67(0x1ba),_0x3c6c67(0x1d8)][_0x160404])['join']('\x20'):_0x2d0915[_0x3c6c67(0x25b)]((_0x3913c8,_0x25388c)=>(_0x3913c8===_0x4e3ca3['view']?'>\x20':'\x20\x20')+'['+(_0x25388c+0x1)+']\x20'+se[_0x3913c8])['join']('\x20\x20');return _0x132ce6(_0x3f5488,{'width':_0xb1dd97,'height':_0x328a78,'flexDirection':'column'},_0x132ce6(_0x3f5488,{'justifyContent':_0x3c6c67(0x1c1),'height':_0x4c70ef?0x1:0x2},n(_0x3c6c67(0x234),{'color':_0x3c6c67(0x220),'bold':!0x0}),_0xb1dd97>=0x4b?n(_0x4e3ca3['address']?_0x41e566(_0x4e3ca3[_0x3c6c67(0x272)],0x14):_0x3c6c67(0x253),{'dimColor':!0x0}):null),_0x4c70ef?null:n(_0x3382d6,{'color':_0x3c6c67(0x220),'wrap':_0x3c6c67(0x213)}),_0x4c70ef?null:_0x4e3ca3[_0x3c6c67(0x1eb)]||_0x4e3ca3[_0x3c6c67(0x1d9)]?_0x132ce6(U,{'label':_0x4e3ca3[_0x3c6c67(0x1eb)]??_0x3c6c67(0x1a0)}):n(_0x4e3ca3[_0x3c6c67(0x223)],{'dimColor':!0x0,'wrap':_0x3c6c67(0x213)}),_0x1d1b0c,n(_0x41e566(_0x4c0c60??_0x4e3ca3[_0x3c6c67(0x236)]??'',_0xb1dd97),{'color':_0x4c0c60?_0x3c6c67(0x233):_0x3c6c67(0x277)}),n(_0x4891e8,{'dimColor':!0x0,'wrap':_0x3c6c67(0x213)}));}export{ye as DashboardApp};
|
|
1
|
+
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};
|
package/dist/tui/controller.mjs
CHANGED
|
@@ -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
|
-
function _0x41a8(_0x15076b,_0x3529b7){_0x15076b=_0x15076b-0xc4;const _0x41a8ed=_0x3529();let _0x15efe5=_0x41a8ed[_0x15076b];return _0x15efe5;}import{terminalText as _0x36b7ba}from'../lib/terminal-text.mjs';import _0x54a2c9 from'wrap-ansi';import _0x43b324 from'string-width';function _0x3529(){const _0x462311=['Awaiting\x20payment','verdict','\x0a[m]\x20Selected\x20wallet\x20actions','objective','files','PAYMENT\x20PREPARATION\x0a\x0a','[m]\x20Actions\x20·\x20delete\x20local\x20record','Paid\x20by:\x20','No\x20delivered\x20files\x20yet.\x0aTask\x20state:\x20','lastError','Cancelled\x20locally.\x20No\x20payment\x20was\x20signed\x20or\x20submitted.','chainName','bytes','Activity','stringify','requestKey','Payment\x20network:\x20','hash','Payment:\x20','\x0aAttempt:\x20','wallet','networkFeeCap','Press\x20d\x20to\x20fetch\x20the\x20result\x20files.','delivery','not\x20started','map','paymentStatus','Select\x20an\x20item\x20to\x20view\x20details.','notInstalled','cancelledAt','canResume','REQUEST\x20CANCELLED\x0a\x0aCancelled\x20locally:\x20','Activity\x20shows\x20the\x20saved\x20transaction\x20progress.','items','transactionHash','replace','funding','\x0aVerdict:\x20','Review\x20&\x20pay','result','[o]\x20','symbol','key','Resume','maximumDebit','Command\x20failed\x20(exit\x20code\x20','max','filter','standingError','\x20ETH','[x]\x20Cancel\x20request\x20·\x20no\x20payment','nodes','Published\x20tasks\x20cannot\x20currently\x20be\x20cancelled\x20or\x20refunded\x20from\x20Colony.','[o]\x20Inspect\x20/\x20resume\x20saved\x20order','SAVED\x20WALLET\x0a','view','Robinhood\x20Chain','Files\x20become\x20available\x20after\x20payment\x20and\x20task\x20execution.','mediaType','cancelled','\x0a\x0aSTANDING\x0a','replaceAll','status','address','completed','Cancelled\x20requests\x20do\x20not\x20produce\x20files.','\x0aNo\x20payment\x20was\x20signed\x20or\x20submitted.','jobId','DELIVERY','length','Status:\x20','project','[s]\x20Save','Check\x20the\x20payment\x20result\x20before\x20retrying.\x20This\x20order\x20cannot\x20currently\x20be\x20cancelled\x20from\x20Colony.','\x0a\x0aPAYMENT\x20COINS\x0a','template','stdout','canCancel','join','kind','paymentChain','[m]\x20Actions','tab','launch','challenged','Payment\x20coin:\x20','LAST\x20ERROR','SERVICE\x0a','[c]\x20Changes','[d]\x20Files','configured','standing','url','network-worker','Type:\x20','reviews','local','detail','[o]\x20Review\x20quote\x20and\x20pay','balanceError','DELIVERED\x20FILES\x0a\x0a','CURRENT\x20WALLET\x0a','paidBy','title','coins','\x0aEnvironment\x20wallet\x20·\x20import\x20it\x20here\x20to\x20save\x20it\x20encrypted','\x0a\x0a[s]\x20Save\x20verified\x20files','selectedId','\x0a[u]\x20Use\x20this\x20wallet\x20for\x20payments','output','orderId','Loading\x20balances...','Order:\x20','AUTOMATIC\x20CONVERSION','detailLoading','balance','Loading\x20details...','attempt','exitCode','push','No\x20wallet\x20selected.\x0a\x0aUse\x20Wallet\x20management\x20to\x20create,\x20import\x20or\x20restore\x20a\x20wallet.\x0a\x0aYour\x20key\x20is\x20encrypted\x20locally.\x0aBrowsing\x20does\x20not\x20need\x20a\x20wallet.','refusalProblems','explore','No\x20execution\x20steps\x20reported\x20yet.','state','\x0a\x0a[d]\x20Receive\x20funds\x20/\x20QR\x20code\x0a[b]\x20Back\x20up\x20this\x20wallet','stderr','[m]\x20Task\x20actions','find','robinhood','unknown','Files'];_0x3529=function(){return _0x462311;};return _0x3529();}import{networkWorkerText as _0x27dfb4}from'../lib/network-workers.mjs';function g(_0x402d3b,_0x56c796){const _0x4ff111=_0x41a8,_0x2d9ff8=_0x36b7ba(_0x402d3b)[_0x4ff111(0xe7)](/\s+/g,'\x20');if(_0x43b324(_0x2d9ff8)<=_0x56c796)return _0x2d9ff8;let _0x49ad64='';for(const _0x5e32bf of _0x2d9ff8){if(_0x43b324(_0x49ad64+_0x5e32bf)>_0x56c796-0x1)break;_0x49ad64+=_0x5e32bf;}return _0x49ad64+'~';}function E(_0x4891c7,_0x4c27ff){const _0x58e7cf=_0x41a8;return _0x54a2c9(_0x36b7ba(_0x4891c7),Math[_0x58e7cf(0xf2)](0x1,_0x4c27ff),{'hard':!0x0,'trim':!0x1})['split']('\x0a');}function o(_0x4a8c25){const _0x2eae7c=_0x41a8;return typeof _0x4a8c25=='string'?_0x4a8c25:_0x4a8c25&&_0x2eae7c(0x110)in _0x4a8c25?[_0x4a8c25[_0x2eae7c(0x13a)]?_0x2eae7c(0xf1)+_0x4a8c25[_0x2eae7c(0x13a)]+')':null,_0x4a8c25[_0x2eae7c(0x110)],_0x4a8c25[_0x2eae7c(0x142)]][_0x2eae7c(0xf3)](Boolean)['join']('\x0a'):JSON[_0x2eae7c(0xd2)](_0x4a8c25,null,0x2);}function f(_0x1bc72d){const _0x4aeb8e=_0x41a8;return _0x1bc72d===_0x4aeb8e(0x118)?_0x4aeb8e(0xc4):_0x1bc72d===_0x4aeb8e(0xe8)?'Preparing\x20payment':_0x1bc72d===_0x4aeb8e(0xff)?'Cancelled':_0x1bc72d;}function w(_0x144999,_0x2e24fc){const _0x3968f4=_0x41a8;return _0x144999?_0x2e24fc===_0x3968f4(0x13e)?[_0x3968f4(0x11d),_0x3968f4(0x10c)]:_0x144999['jobId']?['[d]\x20Files','[s]\x20Save',..._0x144999[_0x3968f4(0x140)]===_0x3968f4(0x104)?[_0x3968f4(0x11c)]:[],'[m]\x20Actions']:[_0x144999[_0x3968f4(0xe2)]?_0x3968f4(0xec)+(_0x144999[_0x3968f4(0x111)]?_0x3968f4(0xea):_0x3968f4(0xef)):null,_0x144999[_0x3968f4(0x111)]?'[x]\x20Cancel':null,_0x3968f4(0x115)]['filter'](Boolean):[];}function b(_0x27a5b5){const _0x56f35d=_0x41a8,_0x15cf99=_0x27a5b5[_0x56f35d(0xe5)][_0x56f35d(0x144)](_0x4a2e8f=>_0x4a2e8f['id']===_0x27a5b5[_0x56f35d(0x12f)]),_0x3d20c4=_0x27a5b5[_0x56f35d(0x125)];if(_0x27a5b5['detailLoading']&&!(_0x27a5b5[_0x56f35d(0xfb)]===_0x56f35d(0xd8)&&_0x3d20c4))return _0x56f35d(0x138);if(!_0x3d20c4)return _0x56f35d(0xdf);if(_0x3d20c4['output']!==void 0x0)return o(_0x3d20c4[_0x56f35d(0x131)]);if(_0x27a5b5[_0x56f35d(0xfb)]===_0x56f35d(0xd8)){if(!_0x3d20c4[_0x56f35d(0x11e)])return _0x56f35d(0x13c);const _0x46257f=_0x3d20c4['address']===_0x27a5b5[_0x56f35d(0x103)];return(_0x46257f?_0x56f35d(0x129):_0x56f35d(0xfa))+_0x3d20c4[_0x56f35d(0x103)]+'\x0a\x0aNetwork:\x20'+_0x3d20c4[_0x56f35d(0xcf)]+(_0x3d20c4['source']===_0x56f35d(0x124)?'':_0x56f35d(0x12d))+_0x56f35d(0x10e)+(_0x27a5b5[_0x56f35d(0x136)]?_0x56f35d(0x133):_0x3d20c4[_0x56f35d(0x127)]?'Balances\x20unavailable:\x20'+_0x3d20c4[_0x56f35d(0x127)]:(_0x3d20c4[_0x56f35d(0x12c)]??[])[_0x56f35d(0xdd)](_0x5e14e8=>_0x5e14e8[_0x56f35d(0xed)]+':\x20'+_0x5e14e8[_0x56f35d(0x137)])[_0x56f35d(0x112)]('\x0a'))+_0x56f35d(0x141)+(_0x46257f?'':_0x56f35d(0x130))+_0x56f35d(0xc6);}if(_0x27a5b5[_0x56f35d(0xfb)]==='workers')return _0x3d20c4[_0x56f35d(0x113)]===_0x56f35d(0x121)?_0x27dfb4(_0x3d20c4):_0x3d20c4[_0x56f35d(0xe0)]?'Worker\x20not\x20deployed\x0a\x0a[m]\x20Open\x20worker\x20actions\x20to\x20deploy\x20the\x20official\x20release,\x20pair\x20a\x20wallet,\x20register,\x20and\x20install\x20its\x20service.':_0x3d20c4[_0x56f35d(0x131)]?o(_0x3d20c4[_0x56f35d(0x131)]):_0x56f35d(0x11b)+o(_0x3d20c4['service'])+_0x56f35d(0x100)+(_0x3d20c4[_0x56f35d(0x11f)]?o(_0x3d20c4[_0x56f35d(0x11f)]):_0x3d20c4[_0x56f35d(0xf4)]??'Not\x20available')+'\x0a\x0a[m]\x20Worker\x20actions\x20·\x20[l]\x20Logs\x20·\x20[g]\x20Diagnostics';if(_0x27a5b5[_0x56f35d(0x116)]===_0x56f35d(0x147)){if(!_0x15cf99?.[_0x56f35d(0x107)])return _0x3d20c4[_0x56f35d(0xe1)]?_0x56f35d(0x105):_0x56f35d(0xfd);if(!_0x27a5b5[_0x56f35d(0xeb)])return _0x56f35d(0xda);const _0x4c4755=_0x27a5b5[_0x56f35d(0xeb)][_0x56f35d(0xc8)]??[];return _0x56f35d(0x128)+(_0x4c4755['length']?_0x4c4755['map'](_0x46d445=>_0x46d445['path']+'\x0a'+_0x46d445[_0x56f35d(0xd0)]+'\x20bytes\x20\xB7\x20'+_0x46d445[_0x56f35d(0xfe)]+'\x0a'+_0x46d445[_0x56f35d(0x120)])[_0x56f35d(0x112)]('\x0a\x0a')+_0x56f35d(0x12e):_0x56f35d(0xcc)+_0x27a5b5[_0x56f35d(0xeb)][_0x56f35d(0x140)]);}if(_0x27a5b5[_0x56f35d(0x116)]===_0x56f35d(0xd1))return _0x3d20c4[_0x56f35d(0xe1)]?_0x56f35d(0xe3)+_0x3d20c4[_0x56f35d(0xe1)]+_0x56f35d(0x106):_0x3d20c4['funding']?_0x56f35d(0xc9)+_0x3d20c4[_0x56f35d(0xe8)]['steps'][_0x56f35d(0xdd)](_0x3c986a=>_0x3c986a[_0x56f35d(0x113)][_0x56f35d(0x101)]('_','\x20')+':\x20'+(_0x3c986a['status']??_0x56f35d(0xdc))+(_0x3c986a['hash']?'\x0a'+_0x3c986a[_0x56f35d(0xd5)]:''))[_0x56f35d(0x112)]('\x0a\x0a'):'EXECUTION\x0a\x0a'+(_0x3d20c4[_0x56f35d(0xf7)]?.[_0x56f35d(0x109)]?_0x3d20c4[_0x56f35d(0xf7)][_0x56f35d(0xdd)](_0x453c48=>_0x453c48[_0x56f35d(0xee)]+':\x20'+_0x453c48[_0x56f35d(0x140)]+_0x56f35d(0xd7)+_0x453c48[_0x56f35d(0x139)]+(_0x453c48[_0x56f35d(0xc5)]?_0x56f35d(0xe9)+_0x453c48[_0x56f35d(0xc5)][_0x56f35d(0x102)]:''))['join']('\x0a\x0a'):_0x56f35d(0x13f))+(_0x3d20c4[_0x56f35d(0x123)]?.[_0x56f35d(0x109)]?'\x0a\x0aREVIEWS\x0a'+o(_0x3d20c4['reviews']):'');const _0xe645c9=['YOUR\x20REQUEST',_0x3d20c4[_0x56f35d(0xc7)]??_0x15cf99?.[_0x56f35d(0x12b)]??'','',_0x56f35d(0x10a)+f(_0x3d20c4[_0x56f35d(0x140)]??_0x3d20c4[_0x56f35d(0x102)]??_0x15cf99?.['state']??_0x56f35d(0x146))];_0x3d20c4[_0x56f35d(0x10f)]&&_0xe645c9['push'](_0x56f35d(0x122)+_0x3d20c4[_0x56f35d(0x10f)]),_0x3d20c4[_0x56f35d(0x10b)]&&_0xe645c9['push']('Project:\x20'+_0x3d20c4[_0x56f35d(0x10b)]['id']),_0x3d20c4[_0x56f35d(0x12a)]&&_0xe645c9[_0x56f35d(0x13b)](_0x56f35d(0xcb)+_0x3d20c4[_0x56f35d(0x12a)]),_0x3d20c4[_0x56f35d(0xde)]&&_0xe645c9['push'](_0x56f35d(0xd6)+_0x3d20c4[_0x56f35d(0xde)]);const _0x4e5af0=_0x3d20c4[_0x56f35d(0x114)]??_0x15cf99?.['paymentChain'];return _0x4e5af0&&_0xe645c9[_0x56f35d(0x13b)](_0x56f35d(0xd4)+(_0x4e5af0===_0x56f35d(0x145)?_0x56f35d(0xfc):'Ethereum')),_0x3d20c4[_0x56f35d(0xe8)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x135),_0x56f35d(0x119)+_0x3d20c4[_0x56f35d(0xe8)]['coin'],'Maximum\x20debit:\x20'+_0x3d20c4[_0x56f35d(0xe8)][_0x56f35d(0xf0)],'Network\x20fee\x20cap:\x20'+_0x3d20c4[_0x56f35d(0xe8)][_0x56f35d(0xd9)]+_0x56f35d(0xf5),_0x56f35d(0xe4)),_0x3d20c4[_0x56f35d(0xdb)]&&_0xe645c9['push']('',_0x56f35d(0x108),o(_0x3d20c4[_0x56f35d(0xdb)])),_0x3d20c4[_0x56f35d(0x117)]&&_0xe645c9[_0x56f35d(0x13b)]('','LAUNCH',o(_0x3d20c4['launch'])),_0x3d20c4[_0x56f35d(0x13d)]?.[_0x56f35d(0x109)]&&_0xe645c9['push']('','REFUSED',..._0x3d20c4[_0x56f35d(0x13d)][_0x56f35d(0xdd)](_0xea9763=>_0xea9763['detail']??_0xea9763['code'])),_0x3d20c4[_0x56f35d(0xcd)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x11a),_0x3d20c4[_0x56f35d(0xcd)]),_0x3d20c4['orderId']&&_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0x134)+_0x3d20c4[_0x56f35d(0x132)]),_0x3d20c4[_0x56f35d(0xe6)]&&_0xe645c9['push']('Transaction:\x20'+_0x3d20c4[_0x56f35d(0xe6)]),_0x15cf99?.[_0x56f35d(0x107)]?_0x27a5b5['view']==='tasks'&&_0xe645c9['push']('',_0x56f35d(0x143),_0x56f35d(0xf8)):_0x3d20c4['cancelledAt']?_0xe645c9[_0x56f35d(0x13b)]('',_0x56f35d(0xce),_0x56f35d(0xca)):(_0x15cf99?.[_0x56f35d(0xe2)]&&_0xe645c9[_0x56f35d(0x13b)]('',_0x15cf99[_0x56f35d(0x111)]?_0x56f35d(0x126):_0x56f35d(0xf9)),_0x15cf99?.[_0x56f35d(0x111)]&&_0xe645c9['push'](_0x56f35d(0xf6)),!_0x15cf99?.['canCancel']&&_0x15cf99?.[_0x56f35d(0xd3)]&&_0xe645c9['push']('',_0x56f35d(0x10d))),_0xe645c9[_0x56f35d(0x112)]('\x0a');}export{_0x36b7ba as clean,b as detailText,E as lines,o as outputText,g as short,f as statusLabel,w as taskActions};
|
|
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};
|