@myagentroam/node 0.9.14 → 0.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codex-app-server.js +1 -1
- package/dist/connector.js +1 -1
- package/dist/native-session-history.js +1 -1
- package/dist/runner/abstract-runner.js +1 -1
- package/dist/runner/codex/conversation-parser.js +1 -1
- package/dist/runner/codex/managed-run-controller.js +1 -1
- package/dist/runner/opencode/conversation-parser.js +1 -1
- package/dist/runner/opencode/managed-run-controller.js +1 -1
- package/dist/runner/runner-registry.js +1 -1
- package/dist/runner-command-engine.js +1 -1
- package/dist/runner-profiles.js +1 -1
- package/dist/runtime-state.js +1 -1
- package/dist/service/continuous-run-coordinator.js +1 -1
- package/dist/service/conversation-history-service.js +1 -1
- package/dist/service/external-session-resume-service.js +1 -1
- package/dist/service/mission-mcp-server.js +2 -0
- package/dist/service/mission-mcp-stdio.js +2 -0
- package/dist/service/mission-runtime.js +2 -0
- package/dist/service/native-session-projection-service.js +1 -1
- package/dist/service/native-session-watch-service.js +1 -1
- package/dist/service/node-workspace-coordinator.js +1 -1
- package/dist/service/run-event-service.js +1 -1
- package/dist/service/runner-service.js +1 -1
- package/dist/service/session-catalog-service.js +1 -1
- package/dist/service/session-command-service.js +1 -1
- package/dist/service/session-context-service.js +1 -1
- package/dist/service/session-identity-service.js +1 -1
- package/dist/service/session-lifecycle-service.js +1 -1
- package/dist/service/session-message-service.js +1 -1
- package/dist/service/workspace-queue-workbench-service.js +1 -1
- package/dist/service/workspace-session-service.js +1 -1
- package/dist/service/workspace-watch-controller.js +2 -0
- package/dist/service/workspace-watch-service.js +1 -1
- package/dist/service/workspace-watch-snapshot-service.js +2 -0
- package/dist/service/workspace-workbench-service.js +1 -1
- package/dist/util/runner-native-session-parsers.js +1 -1
- package/package.json +2 -2
package/dist/runtime-state.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
const _0x2d6bcd=_0x2c99;(function(_0x408931,_0x2228d2){const _0x38257a=_0x2c99,_0xba2539=_0x408931();while(!![]){try{const _0x5f3868=-parseInt(_0x38257a(0x146))/(0xa68*-0x3+0x3*-0xd03+0x4642)+parseInt(_0x38257a(0x1b3))/(-0x11*0x179+0x11*-0x1c1+0x36dc)+parseInt(_0x38257a(0x124))/(0x2eb+-0x1a72+0x178a)*(parseInt(_0x38257a(0x160))/(0x328*-0x2+-0x431+0xa85))+-parseInt(_0x38257a(0x118))/(0x11ab+0x2*-0x11fa+0x124e)*(parseInt(_0x38257a(0x195))/(-0x7*0x4fd+-0x5f0+0x5d7*0x7))+-parseInt(_0x38257a(0xf9))/(0x1*0xdbc+-0x300+0xab5*-0x1)+-parseInt(_0x38257a(0x1c0))/(-0x3e9*0x3+-0x10be*0x1+0x1*0x1c81)*(-parseInt(_0x38257a(0x1d4))/(0x843+-0x1*-0x1b29+-0x1*0x2363))+-parseInt(_0x38257a(0x1b7))/(-0xa23+-0x10dc+0x1b09)*(-parseInt(_0x38257a(0x1d9))/(-0x1bd9*0x1+0x1f7*0x13+-0x971));if(_0x5f3868===_0x2228d2)break;else _0xba2539['push'](_0xba2539['shift']());}catch(_0xeeae12){_0xba2539['push'](_0xba2539['shift']());}}}(_0x5066,-0x3*-0x19d4a+0x10da7a+-0xb7614));import{randomUUID}from'node:crypto';export class NodeRuntimeState{[_0x2d6bcd(0x1df)];[_0x2d6bcd(0x1a9)];[_0x2d6bcd(0x18d)];[_0x2d6bcd(0x131)];static [_0x2d6bcd(0x13b)]=-0x191a+0x217+0x170d;[_0x2d6bcd(0x117)]=new Map();[_0x2d6bcd(0x141)]=new Map();[_0x2d6bcd(0x101)]=new Map();[_0x2d6bcd(0x133)]=new Map();[_0x2d6bcd(0x10b)]=new Map();[_0x2d6bcd(0x157)]=new Map();[_0x2d6bcd(0x1bf)]=new Map();[_0x2d6bcd(0xf3)]=new Map();[_0x2d6bcd(0xf5)]=new Map();[_0x2d6bcd(0x1dc)]=new Map();[_0x2d6bcd(0x1be)]=new Map();[_0x2d6bcd(0x14c)]=new Map();[_0x2d6bcd(0x1c2)]=new Map();[_0x2d6bcd(0x194)]=new Set();[_0x2d6bcd(0x1d7)]=new Set();constructor(_0x5d072c,_0x2f27f9,_0x2ca833=Date[_0x2d6bcd(0x18d)],_0xa70ea){const _0xb80472=_0x2d6bcd;this[_0xb80472(0x1df)]=_0x5d072c,this[_0xb80472(0x1a9)]=_0x2f27f9,this[_0xb80472(0x18d)]=_0x2ca833,this[_0xb80472(0x131)]=_0xa70ea;}[_0x2d6bcd(0x190)](){const _0x583204=_0x2d6bcd;return this[_0x583204(0x1be)][_0x583204(0x149)];}[_0x2d6bcd(0x134)](_0x218ee8){const _0x160907=_0x2d6bcd,_0x5da1b6=this[_0x160907(0x1be)][_0x160907(0x11f)](_0x218ee8);return _0x5da1b6===undefined?undefined:this[_0x160907(0x141)][_0x160907(0x11f)](_0x5da1b6);}[_0x2d6bcd(0x183)](_0x32eddf){const _0x439565=_0x2d6bcd;return this[_0x439565(0x1be)][_0x439565(0xfe)](_0x32eddf);}[_0x2d6bcd(0x156)](_0x51cf40){const _0xee8160=_0x2d6bcd;if(this[_0xee8160(0x1a9)](_0x51cf40[_0xee8160(0x17e)])===undefined)throw new Error(_0xee8160(0x159));const _0x3d5f97=this[_0xee8160(0x18d)](),_0x1e9fff=_0x51cf40[_0xee8160(0x19a)]??randomUUID();if(this[_0xee8160(0x117)][_0xee8160(0xfe)](_0x1e9fff))throw new Error(_0xee8160(0x1c1));const _0x5c38ad={'id':_0x1e9fff,'nodeId':this[_0xee8160(0x1df)](),'workspaceId':_0x51cf40[_0xee8160(0x17e)],'runner':_0x51cf40[_0xee8160(0x164)],'externalSessionId':_0x51cf40[_0xee8160(0x19a)]??null,'nativeControl':_0x51cf40[_0xee8160(0x19a)]===undefined?_0xee8160(0x1c5):_0x51cf40[_0xee8160(0x1db)]??_0xee8160(0x13d),'channelToken':null,'cwd':_0x51cf40[_0xee8160(0x139)],'model':_0x51cf40[_0xee8160(0x165)]??null,'effort':_0x51cf40[_0xee8160(0x102)]??null,'access':_0x51cf40[_0xee8160(0x1b0)]??null,'customTitle':null,'runnerTitle':_0x51cf40[_0xee8160(0x151)]?.[_0xee8160(0xd6)]()[_0xee8160(0x1de)](-0x240e+0x1499+0x1*0xf75,-0x832*0x1+0x682*-0x2+0x15d6)||null,'pinnedAt':null,'titleSource':_0xee8160(0x1a0),'lastActivityAt':_0x3d5f97,'createdAt':_0x3d5f97};return this[_0xee8160(0x117)][_0xee8160(0x173)](_0x5c38ad['id'],_0x5c38ad),_0x5c38ad;}[_0x2d6bcd(0x123)](_0x1c5343){const _0x513df0=_0x2d6bcd;if(this[_0x513df0(0x1d7)][_0x513df0(0xfe)](_0x1c5343[_0x513df0(0x178)]))throw new Error(_0x513df0(0x1e6));let _0x5689c9=this[_0x513df0(0x117)][_0x513df0(0x11f)](_0x1c5343[_0x513df0(0xd8)]);if(_0x5689c9===undefined){const _0x48d55e=this[_0x513df0(0x18d)]();_0x5689c9={'id':_0x1c5343[_0x513df0(0xd8)],'nodeId':this[_0x513df0(0x1df)](),'workspaceId':_0x1c5343[_0x513df0(0x17e)]??_0x513df0(0x13f)+_0x1c5343[_0x513df0(0x139)],'runner':_0x1c5343[_0x513df0(0x164)],'externalSessionId':_0x1c5343[_0x513df0(0x19a)]??null,'nativeControl':_0x1c5343[_0x513df0(0x19a)]===undefined?_0x513df0(0x1c5):_0x513df0(0x13d),'channelToken':null,'cwd':_0x1c5343[_0x513df0(0x139)],'model':null,'effort':null,'access':null,'customTitle':null,'runnerTitle':null,'pinnedAt':null,'titleSource':_0x513df0(0x1a0),'lastActivityAt':_0x48d55e,'createdAt':_0x48d55e},this[_0x513df0(0x117)][_0x513df0(0x173)](_0x5689c9['id'],_0x5689c9);}const _0x133733=this[_0x513df0(0x13c)](_0x1c5343[_0x513df0(0x178)]);if(_0x133733!==undefined)return _0x133733;const _0x58ed6c=this[_0x513df0(0x18d)](),_0x351546={'id':_0x1c5343[_0x513df0(0x178)],'sessionId':_0x5689c9['id'],'nodeId':this[_0x513df0(0x1df)](),'workspaceId':_0x5689c9[_0x513df0(0x17e)],'runner':_0x5689c9[_0x513df0(0x164)],'status':_0x513df0(0x162),'recoveryState':_0x513df0(0x1bb),'version':0x0,'clientMessageId':_0x1c5343[_0x513df0(0x19c)]??_0x1c5343[_0x513df0(0x178)],'createdAt':_0x58ed6c,'startedAt':_0x58ed6c,'completedAt':null,'updatedAt':_0x58ed6c};return this[_0x513df0(0x141)][_0x513df0(0x173)](_0x351546['id'],_0x351546),this[_0x513df0(0x1be)][_0x513df0(0x173)](_0x351546[_0x513df0(0xd8)],_0x351546['id']),this[_0x513df0(0x1ce)](_0x351546,_0x5689c9),_0x351546;}[_0x2d6bcd(0x128)](_0x28497c){const _0x20ec68=_0x2d6bcd;return this[_0x20ec68(0x117)][_0x20ec68(0x11f)](_0x28497c)??[...this[_0x20ec68(0x117)][_0x20ec68(0x107)]()][_0x20ec68(0x187)](_0x42f025=>_0x42f025[_0x20ec68(0x19a)]===_0x28497c);}[_0x2d6bcd(0x17b)](){const _0x2b2546=_0x2d6bcd;return[...this[_0x2b2546(0x117)][_0x2b2546(0x107)]()][_0x2b2546(0x1e3)]((_0xc19452,_0x38c96e)=>_0x38c96e[_0x2b2546(0x11c)]-_0xc19452[_0x2b2546(0x11c)]);}[_0x2d6bcd(0x11d)](_0x2bbe3c,_0x25b0b6){const _0xcba4d=_0x2d6bcd;return[...this[_0xcba4d(0x117)][_0xcba4d(0x107)]()][_0xcba4d(0x187)](_0x1a02bd=>_0x1a02bd[_0xcba4d(0x164)]===_0x2bbe3c&&_0x1a02bd[_0xcba4d(0x19a)]===_0x25b0b6);}[_0x2d6bcd(0x121)](_0x429128){const _0x2f0f0e=_0x2d6bcd;return this[_0x2f0f0e(0x193)](_0x429128[_0x2f0f0e(0xd8)],{'model':_0x429128[_0x2f0f0e(0x165)],'effort':_0x429128[_0x2f0f0e(0x102)],'access':_0x429128[_0x2f0f0e(0x1b0)]});}[_0x2d6bcd(0xfa)](_0x24aac2,_0x16367f){const _0x1405a0=_0x2d6bcd;this[_0x1405a0(0x193)](_0x24aac2,{'nativeControl':_0x16367f});}[_0x2d6bcd(0x197)](_0x5aaad1,_0x190f6e){const _0x54228c=_0x2d6bcd;if(_0x190f6e[_0x54228c(0x15b)]===0xa4+0x10cb+0x116f*-0x1)throw new Error(_0x54228c(0x10e));this[_0x54228c(0x1aa)](_0x5aaad1,_0x190f6e);}[_0x2d6bcd(0x1aa)](_0x281b21,_0x3aabdf){const _0x2421a7=_0x2d6bcd;if(_0x3aabdf[_0x2421a7(0x15b)]===-0x2011+-0xe70+0x5*0x94d)throw new Error(_0x2421a7(0x10e));const _0x23690c=this[_0x2421a7(0x167)](_0x281b21);if(_0x281b21===_0x3aabdf)return this[_0x2421a7(0x193)](_0x281b21,{'externalSessionId':_0x3aabdf,'nativeControl':_0x2421a7(0x1c5)});const _0x55d16a=this[_0x2421a7(0x117)][_0x2421a7(0x11f)](_0x3aabdf);if(_0x55d16a!==undefined&&_0x55d16a['id']!==_0x23690c['id'])throw new Error(_0x2421a7(0x1c1));const _0x446608={..._0x23690c,'id':_0x3aabdf,'externalSessionId':_0x3aabdf,'nativeControl':_0x2421a7(0x1c5)},_0x59ce29=this[_0x2421a7(0x1ad)](_0x281b21),_0x8a0f69=this[_0x2421a7(0xf5)][_0x2421a7(0x11f)](_0x281b21)??[],_0x4c708f=this[_0x2421a7(0x14c)][_0x2421a7(0x11f)](_0x281b21),_0x367ab3=this[_0x2421a7(0x1c2)][_0x2421a7(0x11f)](_0x281b21),_0x460c37=this[_0x2421a7(0x1be)][_0x2421a7(0x11f)](_0x281b21),_0x207393=this[_0x2421a7(0x194)][_0x2421a7(0xfe)](_0x281b21);this[_0x2421a7(0x117)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0x117)][_0x2421a7(0x173)](_0x3aabdf,_0x446608);for(const _0x5b5905 of _0x59ce29)this[_0x2421a7(0x141)][_0x2421a7(0x173)](_0x5b5905['id'],{..._0x5b5905,'sessionId':_0x3aabdf});this[_0x2421a7(0xf5)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0xf5)][_0x2421a7(0x173)](_0x3aabdf,_0x8a0f69[_0x2421a7(0xee)](_0xf18ff0=>({..._0xf18ff0,'sessionId':_0x3aabdf,'items':_0xf18ff0[_0x2421a7(0x181)][_0x2421a7(0xee)](_0x437692=>({..._0x437692,'sessionId':_0x3aabdf}))})));if(_0x4c708f!==undefined){this[_0x2421a7(0x14c)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0x14c)][_0x2421a7(0x173)](_0x3aabdf,_0x4c708f);for(const _0x262a46 of _0x4c708f){const _0x10aba7=this[_0x2421a7(0x10b)][_0x2421a7(0x11f)](_0x262a46);if(_0x10aba7!==undefined)this[_0x2421a7(0x10b)][_0x2421a7(0x173)](_0x262a46,{..._0x10aba7,'sessionId':_0x3aabdf});}}_0x367ab3!==undefined&&(this[_0x2421a7(0x1c2)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0x1c2)][_0x2421a7(0x173)](_0x3aabdf,_0x367ab3));_0x460c37!==undefined&&(this[_0x2421a7(0x1be)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0x1be)][_0x2421a7(0x173)](_0x3aabdf,_0x460c37));_0x207393&&(this[_0x2421a7(0x194)][_0x2421a7(0x14d)](_0x281b21),this[_0x2421a7(0x194)][_0x2421a7(0xe6)](_0x3aabdf));for(const [_0x156204,_0x4d4f72]of[...this[_0x2421a7(0x101)]]){if(!_0x156204[_0x2421a7(0x1a6)](_0x281b21+'\x00'))continue;this[_0x2421a7(0x101)][_0x2421a7(0x14d)](_0x156204),this[_0x2421a7(0x101)][_0x2421a7(0x173)](''+_0x3aabdf+_0x156204[_0x2421a7(0x1de)](_0x281b21[_0x2421a7(0x15b)]),_0x4d4f72);}for(const [_0x51b987,_0x36c1c2]of this[_0x2421a7(0x1bf)])if(_0x36c1c2[_0x2421a7(0xd8)]===_0x281b21)this[_0x2421a7(0x1bf)][_0x2421a7(0x173)](_0x51b987,{..._0x36c1c2,'sessionId':_0x3aabdf});for(const _0x2fe097 of _0x59ce29){const _0xa79fd7=this[_0x2421a7(0x14a)](_0x2fe097['id']);this[_0x2421a7(0x1ce)](_0xa79fd7,_0x446608);}return _0x446608;}[_0x2d6bcd(0x104)](_0x4cf39c,_0x170161){const _0x369551=_0x2d6bcd;if(_0x170161[_0x369551(0x15b)]<0xa*-0x1f3+0x26c9+0x1*-0x133b)throw new Error(_0x369551(0xdd));this[_0x369551(0x193)](_0x4cf39c,{'channelToken':_0x170161});}[_0x2d6bcd(0xe9)](_0x164b54){const _0x3b959b=_0x2d6bcd,_0x348505=this[_0x3b959b(0x167)](_0x164b54[_0x3b959b(0xd8)]),_0x39d8f1=_0x164b54[_0x3b959b(0x1b9)]===undefined?_0x348505[_0x3b959b(0x1b9)]:_0x164b54[_0x3b959b(0x1b9)]?.[_0x3b959b(0xd6)]()||null;if(_0x39d8f1!==null&&_0x39d8f1[_0x3b959b(0x15b)]>0x226b+-0x184f+-0x97c)throw new Error(_0x3b959b(0x15c));return this[_0x3b959b(0x193)](_0x348505['id'],{'customTitle':_0x39d8f1,'pinnedAt':_0x164b54[_0x3b959b(0xfb)]===undefined?_0x348505[_0x3b959b(0x103)]:_0x164b54[_0x3b959b(0xfb)]?this[_0x3b959b(0x18d)]():null,'titleSource':_0x39d8f1===null?_0x3b959b(0x1a0):_0x3b959b(0x11a)});}[_0x2d6bcd(0xde)](_0x5cc7a9,_0x3cc23f){const _0x2de359=_0x2d6bcd,_0x403937=this[_0x2de359(0x167)](_0x5cc7a9),_0x5ce0da=_0x3cc23f[_0x2de359(0xd6)]()[_0x2de359(0x15a)](/\s+/g,'\x20')[_0x2de359(0x1de)](-0x9fd+0x1da2+0x2f*-0x6b,-0x216*-0x1+-0x11*-0x215+-0x24db);if(_0x5ce0da[_0x2de359(0x15b)]===0x244c+-0x21a4+0x11*-0x28||_0x403937[_0x2de359(0x1b9)]!==null||_0x403937[_0x2de359(0x1c4)]!==null)return _0x403937;return this[_0x2de359(0x193)](_0x5cc7a9,{'runnerTitle':_0x5ce0da,'titleSource':_0x2de359(0x1a0)});}[_0x2d6bcd(0x17f)](_0x3314ca,_0x5b98d4){const _0x37ca12=_0x2d6bcd,_0x32e6f0=this[_0x37ca12(0x167)](_0x3314ca),_0x2510e0=_0x5b98d4[_0x37ca12(0xd6)]()[_0x37ca12(0x15a)](/\s+/g,'\x20')[_0x37ca12(0x1de)](-0x952+0x9af+-0x5d*0x1,0x2*-0xadc+0x265d*-0x1+0x3cb5);if(_0x2510e0[_0x37ca12(0x15b)]===-0x17*-0x190+0xa1a*0x1+-0xa6*0x47||_0x32e6f0[_0x37ca12(0x1b9)]!==null||_0x32e6f0[_0x37ca12(0x1c4)]===_0x2510e0)return _0x32e6f0;return this[_0x37ca12(0x193)](_0x3314ca,{'runnerTitle':_0x2510e0,'titleSource':_0x37ca12(0x126)});}[_0x2d6bcd(0x112)](_0x14f5cc){const _0x2e418c=_0x2d6bcd,_0x250c57=_0x14f5cc[_0x2e418c(0xd8)]+'\x00'+_0x14f5cc[_0x2e418c(0x19c)],_0x3b800f=this[_0x2e418c(0x101)][_0x2e418c(0x11f)](_0x250c57);if(_0x3b800f!==undefined){if(_0x3b800f[_0x2e418c(0x143)]!==_0x2e418c(0x19b))throw new Error(_0x2e418c(0x12b));return{'run':this[_0x2e418c(0x14a)](_0x3b800f['id']),'created':![]};}const _0x32e970=this[_0x2e418c(0x167)](_0x14f5cc[_0x2e418c(0xd8)]);if(this[_0x2e418c(0x134)](_0x32e970['id'])!==undefined)throw new Error(_0x2e418c(0x16e));const _0x254152=this[_0x2e418c(0x18d)](),_0x1f30e4={'id':_0x14f5cc[_0x2e418c(0x178)]??randomUUID(),'sessionId':_0x32e970['id'],'nodeId':this[_0x2e418c(0x1df)](),'workspaceId':_0x32e970[_0x2e418c(0x17e)],'runner':_0x32e970[_0x2e418c(0x164)],'status':_0x2e418c(0x162),'recoveryState':_0x2e418c(0x1bb),'version':0x0,'clientMessageId':_0x14f5cc[_0x2e418c(0x19c)],..._0x14f5cc[_0x2e418c(0x163)]===undefined?{}:{'initiatedByUserId':_0x14f5cc[_0x2e418c(0x163)]},'createdAt':_0x254152,'startedAt':_0x254152,'completedAt':null,'updatedAt':_0x254152};let _0x11a0b9=-0x628+0x1*-0x2457+0x2a7f;const _0x364439=(_0x14f5cc[_0x2e418c(0x142)]??[])[_0x2e418c(0xee)](({name:_0x41ca3d,mime:_0x50c269,dataBase64:_0x3ccb9f})=>{const _0x1da636=_0x2e418c,_0x58f5c3={'name':_0x41ca3d,'mime':_0x50c269,'byteSize':Buffer[_0x1da636(0x12a)](_0x3ccb9f,_0x1da636(0x108)),'runId':_0x1f30e4['id']};if(!_0x50c269[_0x1da636(0x1a6)](_0x1da636(0x140)))return _0x58f5c3;return{..._0x58f5c3,'imageIndex':_0x11a0b9++};}),_0x5220ec={'id':randomUUID(),'sessionId':_0x32e970['id'],'turnId':'','runId':_0x1f30e4['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x2e418c(0x1d5),'status':_0x2e418c(0x199),'payload':{'clientMessageId':_0x14f5cc[_0x2e418c(0x19c)],'text':_0x14f5cc[_0x2e418c(0x113)],'contexts':[],'attachments':_0x364439,'delivery':_0x2e418c(0x171)},'startedAt':_0x254152,'completedAt':_0x254152},_0xa68649={'id':randomUUID(),'sessionId':_0x32e970['id'],'runId':_0x1f30e4['id'],'userItemId':_0x5220ec['id'],'status':_0x2e418c(0x116),'model':_0x32e970[_0x2e418c(0x165)],'effort':_0x32e970[_0x2e418c(0x102)],'access':_0x32e970[_0x2e418c(0x1b0)],'items':[_0x5220ec],'startedAt':_0x254152,'completedAt':null},_0x4ddd8c={..._0xa68649,'items':[{..._0x5220ec,'turnId':_0xa68649['id']}]};return this[_0x2e418c(0x141)][_0x2e418c(0x173)](_0x1f30e4['id'],_0x1f30e4),this[_0x2e418c(0x101)][_0x2e418c(0x173)](_0x250c57,{'kind':_0x2e418c(0x19b),'id':_0x1f30e4['id']}),this[_0x2e418c(0x1be)][_0x2e418c(0x173)](_0x32e970['id'],_0x1f30e4['id']),this[_0x2e418c(0xf5)][_0x2e418c(0x173)](_0x32e970['id'],[...this[_0x2e418c(0xf5)][_0x2e418c(0x11f)](_0x32e970['id'])??[],_0x4ddd8c]),this[_0x2e418c(0x193)](_0x32e970['id'],{'lastActivityAt':_0x254152}),this[_0x2e418c(0x1ce)](_0x1f30e4,this[_0x2e418c(0x167)](_0x32e970['id'])),{'run':_0x1f30e4,'created':!![]};}[_0x2d6bcd(0x111)](_0x108388){const _0xb48ffc=_0x2d6bcd,_0x205ba8=_0x108388[_0xb48ffc(0xd8)]+'\x00'+_0x108388[_0xb48ffc(0x19c)],_0x3b100c=this[_0xb48ffc(0x101)][_0xb48ffc(0x11f)](_0x205ba8);if(_0x3b100c!==undefined){if(_0x3b100c[_0xb48ffc(0x143)]!==_0xb48ffc(0x179))throw new Error(_0xb48ffc(0x188));return{'item':this[_0xb48ffc(0x1ca)](_0x3b100c['id']),'created':![]};}const _0x13bd57=this[_0xb48ffc(0x167)](_0x108388[_0xb48ffc(0xd8)]),_0x4e2976=this[_0xb48ffc(0x134)](_0x13bd57['id']);if(_0x4e2976!==undefined&&_0x4e2976[_0xb48ffc(0x163)]!==undefined&&_0x108388[_0xb48ffc(0x163)]!==_0x4e2976[_0xb48ffc(0x163)])throw new Error(_0xb48ffc(0x152));const _0x514543=this[_0xb48ffc(0x18d)](),_0x187c53={'id':_0x108388[_0xb48ffc(0x1a5)]??randomUUID(),'sessionId':_0x13bd57['id'],'workspaceId':_0x13bd57[_0xb48ffc(0x17e)],'runner':_0x13bd57[_0xb48ffc(0x164)],'clientMessageId':_0x108388[_0xb48ffc(0x19c)],'content':_0x108388[_0xb48ffc(0x113)],'attachments':_0x108388[_0xb48ffc(0x142)]??[],..._0x108388[_0xb48ffc(0x163)]===undefined?{}:{'initiatedByUserId':_0x108388[_0xb48ffc(0x163)]},'createdAt':_0x514543};return this[_0xb48ffc(0x10b)][_0xb48ffc(0x173)](_0x187c53['id'],_0x187c53),this[_0xb48ffc(0x101)][_0xb48ffc(0x173)](_0x205ba8,{'kind':_0xb48ffc(0x179),'id':_0x187c53['id']}),this[_0xb48ffc(0x14c)][_0xb48ffc(0x173)](_0x13bd57['id'],[...this[_0xb48ffc(0x14c)][_0xb48ffc(0x11f)](_0x13bd57['id'])??[],_0x187c53['id']]),this[_0xb48ffc(0x1b4)](_0x13bd57['id']),{'item':_0x187c53,'created':!![]};}[_0x2d6bcd(0x129)](_0x3d9018){const _0x7c0cee=_0x2d6bcd;return{'version':this[_0x7c0cee(0x1c2)][_0x7c0cee(0x11f)](_0x3d9018)??-0x16*0xcc+0x1*-0x1de9+0x2f71,'paused':this[_0x7c0cee(0x194)][_0x7c0cee(0xfe)](_0x3d9018),'itemIds':this[_0x7c0cee(0x14c)][_0x7c0cee(0x11f)](_0x3d9018)??[]};}[_0x2d6bcd(0x10d)](_0x1ebf0e){const _0x16e88d=_0x2d6bcd;return this[_0x16e88d(0x10b)][_0x16e88d(0x11f)](_0x1ebf0e);}[_0x2d6bcd(0x1a1)](_0x20f53d){const _0x5a9211=_0x2d6bcd;if(this[_0x5a9211(0x194)][_0x5a9211(0xfe)](_0x20f53d))return undefined;const _0x433fe3=this[_0x5a9211(0x134)](_0x20f53d);if(_0x433fe3===undefined)return undefined;const _0x1af10d=this[_0x5a9211(0x14c)][_0x5a9211(0x11f)](_0x20f53d)??[],_0x372b8c=_0x1af10d[-0x2089+0x1e0e+-0x27b*-0x1];if(_0x372b8c===undefined)return undefined;this[_0x5a9211(0x14c)][_0x5a9211(0x173)](_0x20f53d,_0x1af10d[_0x5a9211(0x1de)](0x3*0x405+0x1d50+-0x295e)),this[_0x5a9211(0x1b4)](_0x20f53d);const _0x16a2c2=this[_0x5a9211(0x1ca)](_0x372b8c);this[_0x5a9211(0x10b)][_0x5a9211(0x14d)](_0x372b8c),this[_0x5a9211(0x101)][_0x5a9211(0x173)](_0x16a2c2[_0x5a9211(0xd8)]+'\x00'+_0x16a2c2[_0x5a9211(0x19c)],{'kind':_0x5a9211(0x19b),'id':_0x433fe3['id']});const _0x18789a=this[_0x5a9211(0x12d)](_0x433fe3,_0x16a2c2[_0x5a9211(0x19c)],_0x16a2c2[_0x5a9211(0x113)],_0x16a2c2[_0x5a9211(0x142)]);return{'item':_0x16a2c2,'turn':_0x18789a};}[_0x2d6bcd(0x1a4)](_0x4d7bf7){const _0x33dcba=_0x2d6bcd,_0xaab49e=this[_0x33dcba(0x1ca)](_0x4d7bf7);if(this[_0x33dcba(0x134)](_0xaab49e[_0x33dcba(0xd8)])!==undefined)throw new Error(_0x33dcba(0x16e));const _0x35f06b=this[_0x33dcba(0x14c)][_0x33dcba(0x11f)](_0xaab49e[_0x33dcba(0xd8)])??[];if(_0x35f06b[-0x2660+-0x30*0x83+0x3ef0]!==_0x4d7bf7)throw new Error(_0x33dcba(0xf4));this[_0x33dcba(0x14c)][_0x33dcba(0x173)](_0xaab49e[_0x33dcba(0xd8)],_0x35f06b[_0x33dcba(0x1de)](-0x2129+-0x3b3*0x3+0x3*0xec1)),this[_0x33dcba(0x10b)][_0x33dcba(0x14d)](_0x4d7bf7),this[_0x33dcba(0x101)][_0x33dcba(0x14d)](_0xaab49e[_0x33dcba(0xd8)]+'\x00'+_0xaab49e[_0x33dcba(0x19c)]),this[_0x33dcba(0x1b4)](_0xaab49e[_0x33dcba(0xd8)]);const _0x584df2=this[_0x33dcba(0x112)]({'sessionId':_0xaab49e[_0x33dcba(0xd8)],'clientMessageId':_0xaab49e[_0x33dcba(0x19c)],'content':_0xaab49e[_0x33dcba(0x113)],..._0xaab49e[_0x33dcba(0x142)][_0x33dcba(0x15b)]===-0x211a+0x1a8a+-0xf0*-0x7?{}:{'attachments':_0xaab49e[_0x33dcba(0x142)]},..._0xaab49e[_0x33dcba(0x163)]===undefined?{}:{'initiatedByUserId':_0xaab49e[_0x33dcba(0x163)]}}),_0x486fbf=this[_0x33dcba(0x1e0)](_0x584df2[_0x33dcba(0x19b)]['id']);if(_0x486fbf===undefined)throw new Error(_0x33dcba(0x135));return{'run':_0x584df2[_0x33dcba(0x19b)],'turn':_0x486fbf};}[_0x2d6bcd(0x10c)](_0x28552e){const _0x55c665=_0x2d6bcd;this[_0x55c665(0x194)][_0x55c665(0xe6)](_0x28552e),this[_0x55c665(0x1b4)](_0x28552e);}[_0x2d6bcd(0x175)](_0x5c1404){const _0x58e879=_0x2d6bcd;if(!this[_0x58e879(0x194)][_0x58e879(0x14d)](_0x5c1404))return;this[_0x58e879(0x1b4)](_0x5c1404);}[_0x2d6bcd(0x147)](_0x22158d,_0x320b37,_0xf271fb){const _0x40e48c=_0x2d6bcd,_0x2edc19=this[_0x40e48c(0x14c)][_0x40e48c(0x11f)](_0x22158d)??[];if(this[_0x40e48c(0x129)](_0x22158d)[_0x40e48c(0x1ae)]!==_0x320b37||_0x2edc19[_0x40e48c(0x15b)]!==_0xf271fb[_0x40e48c(0x15b)]||new Set(_0x2edc19)[_0x40e48c(0x149)]!==_0x2edc19[_0x40e48c(0x15b)]||_0x2edc19[_0x40e48c(0x1a7)](_0x16d04e=>!_0xf271fb[_0x40e48c(0x1e2)](_0x16d04e)))throw new Error(_0x40e48c(0xda));if(_0xf271fb[_0x40e48c(0x1a7)](_0x10ed54=>this[_0x40e48c(0x10b)][_0x40e48c(0x11f)](_0x10ed54)?.[_0x40e48c(0xd8)]!==_0x22158d))throw new Error(_0x40e48c(0xf4));this[_0x40e48c(0x14c)][_0x40e48c(0x173)](_0x22158d,[..._0xf271fb]),this[_0x40e48c(0x1b4)](_0x22158d);}[_0x2d6bcd(0x18e)](_0x5ae9ca){const _0x29f14a=_0x2d6bcd,_0x55b184=this[_0x29f14a(0x1ca)](_0x5ae9ca),_0x1df47a=this[_0x29f14a(0x14c)][_0x29f14a(0x11f)](_0x55b184[_0x29f14a(0xd8)])??[];if(!_0x1df47a[_0x29f14a(0x1e2)](_0x5ae9ca))throw new Error(_0x29f14a(0xf4));return this[_0x29f14a(0x14c)][_0x29f14a(0x173)](_0x55b184[_0x29f14a(0xd8)],[_0x5ae9ca,..._0x1df47a[_0x29f14a(0x1ba)](_0xd97eff=>_0xd97eff!==_0x5ae9ca)]),this[_0x29f14a(0x1b4)](_0x55b184[_0x29f14a(0xd8)]),_0x55b184;}[_0x2d6bcd(0x1cd)](_0xec01a0,_0x2c45dd){const _0x39ebd7=_0x2d6bcd,_0x2716ec=this[_0x39ebd7(0x1ca)](_0xec01a0);if(!(this[_0x39ebd7(0x14c)][_0x39ebd7(0x11f)](_0x2716ec[_0x39ebd7(0xd8)])??[])[_0x39ebd7(0x1e2)](_0xec01a0))throw new Error(_0x39ebd7(0xf4));const _0x291f00={..._0x2716ec,'content':_0x2c45dd};return this[_0x39ebd7(0x10b)][_0x39ebd7(0x173)](_0xec01a0,_0x291f00),this[_0x39ebd7(0x1b4)](_0x2716ec[_0x39ebd7(0xd8)]),_0x291f00;}[_0x2d6bcd(0xea)](_0x2f183d,_0x1fb796){const _0x3ffd96=_0x2d6bcd,_0x4cc2b2=this[_0x3ffd96(0x1ca)](_0x2f183d),_0x5e4e23={..._0x4cc2b2,'attachments':_0x1fb796};return this[_0x3ffd96(0x10b)][_0x3ffd96(0x173)](_0x2f183d,_0x5e4e23),_0x5e4e23;}[_0x2d6bcd(0x19f)](_0x15ec12){const _0x23f658=_0x2d6bcd,_0x564a41=this[_0x23f658(0x1ca)](_0x15ec12),_0x147f25=this[_0x23f658(0x14c)][_0x23f658(0x11f)](_0x564a41[_0x23f658(0xd8)])??[];if(!_0x147f25[_0x23f658(0x1e2)](_0x15ec12))throw new Error(_0x23f658(0xf4));this[_0x23f658(0x14c)][_0x23f658(0x173)](_0x564a41[_0x23f658(0xd8)],_0x147f25[_0x23f658(0x1ba)](_0x2274ca=>_0x2274ca!==_0x15ec12)),this[_0x23f658(0x1b4)](_0x564a41[_0x23f658(0xd8)]),this[_0x23f658(0x10b)][_0x23f658(0x14d)](_0x15ec12);for(const [_0x5cc90b,_0x159ded]of this[_0x23f658(0x101)])if(_0x159ded[_0x23f658(0x143)]===_0x23f658(0x179)&&_0x159ded['id']===_0x15ec12)this[_0x23f658(0x101)][_0x23f658(0x14d)](_0x5cc90b);}[_0x2d6bcd(0x176)](_0x417a8f){const _0x44557f=_0x2d6bcd,_0x36c633=this[_0x44557f(0x14a)](_0x417a8f),_0x5b556b=(this[_0x44557f(0xf5)][_0x44557f(0x11f)](_0x36c633[_0x44557f(0xd8)])??[])[_0x44557f(0x1b1)](_0x1f3004=>_0x1f3004[_0x44557f(0x178)]===_0x417a8f),_0x56b002=_0x5b556b?.[_0x44557f(0x181)][_0x44557f(0x187)](_0x5e0136=>_0x5e0136['id']===_0x5b556b[_0x44557f(0x14e)]);return isRecord(_0x56b002?.[_0x44557f(0x13a)])&&typeof _0x56b002[_0x44557f(0x13a)][_0x44557f(0x184)]===_0x44557f(0x17c)?_0x56b002[_0x44557f(0x13a)][_0x44557f(0x184)]:'';}[_0x2d6bcd(0xff)](_0x1cba4c,_0x4a0470){const _0x2506a8=_0x2d6bcd;let _0x3601f6=-0xac0+0x167b+0xd*-0xe7;const _0x45911a=_0x4a0470[_0x2506a8(0xee)](({name:_0x54a2f4,mime:_0x4ddecd,dataBase64:_0x32f25b})=>{const _0x30dadf=_0x2506a8,_0x15529c={'name':_0x54a2f4,'mime':_0x4ddecd,'byteSize':Buffer[_0x30dadf(0x12a)](_0x32f25b,_0x30dadf(0x108)),'runId':_0x1cba4c};if(!_0x4ddecd[_0x30dadf(0x1a6)](_0x30dadf(0x140)))return _0x15529c;return{..._0x15529c,'imageIndex':_0x3601f6++};});this[_0x2506a8(0xf1)](_0x1cba4c,_0x5c2f47=>({..._0x5c2f47,'items':_0x5c2f47[_0x2506a8(0x181)][_0x2506a8(0xee)](_0x92df4b=>_0x92df4b['id']===_0x5c2f47[_0x2506a8(0x14e)]&&isRecord(_0x92df4b[_0x2506a8(0x13a)])?{..._0x92df4b,'payload':{..._0x92df4b[_0x2506a8(0x13a)],'attachments':_0x45911a}}:_0x92df4b)}));}[_0x2d6bcd(0x13c)](_0x201d2a){const _0x6ba4bc=_0x2d6bcd,_0x338ecc=this[_0x6ba4bc(0x157)][_0x6ba4bc(0x11f)](_0x201d2a)?.[_0x6ba4bc(0x178)]??_0x201d2a;return this[_0x6ba4bc(0x141)][_0x6ba4bc(0x11f)](_0x338ecc);}[_0x2d6bcd(0x114)](_0x483316,_0xd2bc4e){const _0x2ba6d1=_0x2d6bcd,_0x353b13=this[_0x2ba6d1(0x101)][_0x2ba6d1(0x11f)](_0x483316+'\x00'+_0xd2bc4e);return _0x353b13?.[_0x2ba6d1(0x143)]===_0x2ba6d1(0x19b)?this[_0x2ba6d1(0x141)][_0x2ba6d1(0x11f)](_0x353b13['id']):undefined;}[_0x2d6bcd(0x12c)](_0x4d4580,_0x1f75e7){const _0x2be715=_0x2d6bcd,_0x1da6ab=this[_0x2be715(0x101)][_0x2be715(0x11f)](_0x4d4580+'\x00'+_0x1f75e7);if(_0x1da6ab===undefined)return undefined;if(_0x1da6ab[_0x2be715(0x143)]===_0x2be715(0x19b))return{'kind':_0x2be715(0x19b),'run':this[_0x2be715(0x14a)](_0x1da6ab['id'])};const _0x44d324=this[_0x2be715(0x1ca)](_0x1da6ab['id']),_0x486c95=this[_0x2be715(0x134)](_0x4d4580);if(_0x486c95===undefined)throw new Error(_0x2be715(0xe0));return{'kind':_0x2be715(0x179),'item':_0x44d324,'run':_0x486c95};}[_0x2d6bcd(0x136)](_0x5c47ad,_0x959780){const _0x34be70=_0x2d6bcd;return this[_0x34be70(0x133)][_0x34be70(0x11f)](_0x5c47ad+'\x00'+_0x959780);}[_0x2d6bcd(0x158)](_0x2ab606,_0x486697){const _0x5d7322=_0x2d6bcd,_0x4c503b=[...this[_0x5d7322(0x101)]][_0x5d7322(0x187)](([,_0x18f5c0])=>_0x18f5c0['id']===_0x2ab606);if(_0x4c503b===undefined)return;this[_0x5d7322(0x133)][_0x5d7322(0x173)](_0x4c503b[0x12*0x125+-0xf39*0x2+0x9d8],_0x486697);if(this[_0x5d7322(0x133)][_0x5d7322(0x149)]>-0x19e8+-0x133*-0x1f+-0x1*0x745)this[_0x5d7322(0x133)][_0x5d7322(0x14d)](this[_0x5d7322(0x133)][_0x5d7322(0x18c)]()[_0x5d7322(0x105)]()[_0x5d7322(0x100)]);}[_0x2d6bcd(0x1ad)](_0x17545a){const _0x36c916=_0x2d6bcd;return[...this[_0x36c916(0x141)][_0x36c916(0x107)]()][_0x36c916(0x1ba)](_0x520453=>_0x520453[_0x36c916(0xd8)]===_0x17545a)[_0x36c916(0x1e3)]((_0x5f4ba7,_0x23e31b)=>_0x23e31b[_0x36c916(0x1ab)]-_0x5f4ba7[_0x36c916(0x1ab)]);}[_0x2d6bcd(0xed)](_0x4977c8,_0xfee3bb){const _0x4a9923=_0x2d6bcd,_0x43d054=this[_0x4a9923(0x157)][_0x4a9923(0x11f)](_0x4977c8)?.[_0x4a9923(0x178)]??_0x4977c8,_0x4f9935=this[_0x4a9923(0x14a)](_0x43d054);if(!transitionAllowed(_0x4f9935[_0x4a9923(0xdb)],_0xfee3bb))throw new Error(_0x4a9923(0x1e8));const _0x45541d=this[_0x4a9923(0x18d)](),_0xbbadfe={..._0x4f9935,'status':_0xfee3bb,'version':_0x4f9935[_0x4a9923(0x1ae)]+(-0x239+-0x1f8c+0x21c6),'completedAt':terminal(_0xfee3bb)?_0x45541d:_0x4f9935[_0x4a9923(0xd3)],'updatedAt':_0x45541d};this[_0x4a9923(0x141)][_0x4a9923(0x173)](_0x43d054,_0xbbadfe),this[_0x4a9923(0x1ce)](_0xbbadfe,this[_0x4a9923(0x167)](_0xbbadfe[_0x4a9923(0xd8)]));if(terminal(_0xfee3bb)&&this[_0x4a9923(0x1be)][_0x4a9923(0x11f)](_0xbbadfe[_0x4a9923(0xd8)])===_0xbbadfe['id'])this[_0x4a9923(0x1be)][_0x4a9923(0x14d)](_0xbbadfe[_0x4a9923(0xd8)]);return this[_0x4a9923(0xf1)](_0xbbadfe['id'],_0x5d2682=>({..._0x5d2682,'status':_0xfee3bb,'completedAt':terminal(_0xfee3bb)?this[_0x4a9923(0x18d)]():_0x5d2682[_0x4a9923(0xd3)],'items':terminal(_0xfee3bb)?_0x5d2682[_0x4a9923(0x181)][_0x4a9923(0xee)](_0x27ec46=>activeConversationItem(_0x27ec46[_0x4a9923(0xdb)])?{..._0x27ec46,'status':completedStatusForRun(_0xfee3bb),'completedAt':this[_0x4a9923(0x18d)]()}:_0x27ec46):_0x5d2682[_0x4a9923(0x181)]})),_0xbbadfe;}[_0x2d6bcd(0x1d1)](_0x2115bf){const _0x47aa05=_0x2d6bcd,_0x3c357a=this[_0x47aa05(0x157)][_0x47aa05(0x11f)](_0x2115bf[_0x47aa05(0x178)]),_0x5334e6=_0x3c357a?.[_0x47aa05(0x178)]??_0x2115bf[_0x47aa05(0x178)];this[_0x47aa05(0x14a)](_0x5334e6);const _0x26f185=this[_0x47aa05(0xf3)][_0x47aa05(0x11f)](_0x5334e6)??-0x1*0x71e+-0x17cf+0x1eed;if(_0x2115bf[_0x47aa05(0x155)]<=_0x26f185)return undefined;if(_0x2115bf[_0x47aa05(0x155)]>_0x26f185+(-0x86e+0x511*-0x5+0x4*0x871))throw new Error(_0x47aa05(0x132));const _0x3281e9={'runId':_0x5334e6,'sequence':_0x2115bf[_0x47aa05(0x155)],'eventType':_0x2115bf[_0x47aa05(0x12f)],'payload':_0x2115bf[_0x47aa05(0x13a)],..._0x2115bf[_0x47aa05(0xdb)]===undefined?{}:{'status':_0x2115bf[_0x47aa05(0xdb)]},'createdAt':this[_0x47aa05(0x18d)]()};this[_0x47aa05(0xf3)][_0x47aa05(0x173)](_0x5334e6,_0x2115bf[_0x47aa05(0x155)]);if(_0x3c357a!==undefined&&_0x2115bf[_0x47aa05(0xdb)]!==undefined){const _0x53f007=executionStatusForRun(_0x2115bf[_0x47aa05(0xdb)]);this[_0x47aa05(0x157)][_0x47aa05(0x173)](_0x2115bf[_0x47aa05(0x178)],{..._0x3c357a,'status':_0x53f007,'completedAt':terminal(_0x2115bf[_0x47aa05(0xdb)])?_0x3281e9[_0x47aa05(0x1ab)]:_0x3c357a[_0x47aa05(0xd3)]});}if(_0x2115bf[_0x47aa05(0xdb)]!==undefined&&!terminal(_0x2115bf[_0x47aa05(0xdb)]))this[_0x47aa05(0xed)](_0x5334e6,_0x2115bf[_0x47aa05(0xdb)]);this[_0x47aa05(0x19d)](_0x3281e9,_0x3c357a?.[_0x47aa05(0xdc)]);if(_0x2115bf[_0x47aa05(0xdb)]!==undefined&&terminal(_0x2115bf[_0x47aa05(0xdb)])&&_0x3c357a!==undefined)this[_0x47aa05(0x109)](_0x3c357a[_0x47aa05(0xdc)],_0x2115bf[_0x47aa05(0xdb)],_0x3281e9[_0x47aa05(0x1ab)]);return _0x3281e9;}[_0x2d6bcd(0x1d2)](_0x1e0824){const _0x9ea30f=_0x2d6bcd,_0x502c0e=this[_0x9ea30f(0x1e0)](_0x1e0824);if(_0x502c0e===undefined)return undefined;for(const [_0x210a21,_0x2b7f62]of this[_0x9ea30f(0x157)])if(_0x2b7f62[_0x9ea30f(0x178)]===_0x1e0824&&_0x2b7f62[_0x9ea30f(0xdc)]===_0x502c0e['id']&&!terminalExecution(_0x2b7f62[_0x9ea30f(0xdb)]))return _0x210a21;return undefined;}[_0x2d6bcd(0x161)](_0xd1cf67){const _0x1d4532=_0x2d6bcd,_0x46f2d0=this[_0x1d4532(0x191)](_0xd1cf67),_0x36f601=this[_0x1d4532(0x1e0)](_0x46f2d0);if(_0x36f601===undefined||_0x36f601[_0x1d4532(0xdb)]!==_0x1d4532(0x116))throw new Error(_0x1d4532(0x13e));const _0x22c0e=[...this[_0x1d4532(0x157)][_0x1d4532(0x107)]()][_0x1d4532(0x187)](_0x37abed=>_0x37abed[_0x1d4532(0x178)]===_0x46f2d0&&_0x37abed[_0x1d4532(0xdc)]===_0x36f601['id']);if(_0x22c0e!==undefined)return _0x22c0e;const _0x4d4458=this[_0x1d4532(0x18d)](),_0x50f241={'id':randomUUID(),'runId':_0x46f2d0,'turnId':_0x36f601['id'],'status':_0x1d4532(0x162),'startedAt':_0x4d4458,'completedAt':null};return this[_0x1d4532(0x157)][_0x1d4532(0x173)](_0x50f241['id'],_0x50f241),this[_0x1d4532(0xf1)](_0x46f2d0,_0x5ef302=>({..._0x5ef302,'items':_0x5ef302[_0x1d4532(0x181)][_0x1d4532(0xee)](_0x3f0064=>_0x3f0064['id']===_0x5ef302[_0x1d4532(0x14e)]&&isRecord(_0x3f0064[_0x1d4532(0x13a)])&&Array[_0x1d4532(0x137)](_0x3f0064[_0x1d4532(0x13a)][_0x1d4532(0x142)])?{..._0x3f0064,'payload':{..._0x3f0064[_0x1d4532(0x13a)],'attachments':_0x3f0064[_0x1d4532(0x13a)][_0x1d4532(0x142)][_0x1d4532(0xee)](_0xf47479=>isRecord(_0xf47479)&&typeof _0xf47479[_0x1d4532(0x14b)]===_0x1d4532(0x169)?{..._0xf47479,'runId':_0x50f241['id']}:_0xf47479)}}:_0x3f0064)})),_0x50f241;}[_0x2d6bcd(0x191)](_0x424daa){const _0x5c86f2=_0x2d6bcd;return this[_0x5c86f2(0x157)][_0x5c86f2(0x11f)](_0x424daa)?.[_0x5c86f2(0x178)]??_0x424daa;}[_0x2d6bcd(0x168)](_0x4e00c7,_0x3b0e8c){const _0x4079d4=_0x2d6bcd;return this[_0x4079d4(0xed)](this[_0x4079d4(0x191)](_0x4e00c7),_0x3b0e8c);}[_0x2d6bcd(0x17a)](_0x3728f0){const _0x246509=_0x2d6bcd;this[_0x246509(0x167)](_0x3728f0[_0x246509(0xd8)]);const _0x5864d=[...this[_0x246509(0xf5)][_0x246509(0x11f)](_0x3728f0[_0x246509(0xd8)])??[]][_0x246509(0xee)]((_0x5a0a11,_0x517624)=>({'turn':_0x5a0a11,'index':_0x517624}))[_0x246509(0x1e3)]((_0x2ac3d4,_0x5c7c2d)=>{const _0x2866ed=_0x246509,_0x1249c1=_0x1d89ba=>_0x1d89ba[_0x2866ed(0x181)][_0x2866ed(0x187)](_0xa78e42=>_0xa78e42['id']===_0x1d89ba[_0x2866ed(0x14e)])?.[_0x2866ed(0x1d3)]??_0x1d89ba[_0x2866ed(0x1d3)]??_0x1d89ba[_0x2866ed(0xd3)]??-0xe3e*-0x1+0x79e+0x577*-0x4;return _0x1249c1(_0x2ac3d4[_0x2866ed(0x1e1)])-_0x1249c1(_0x5c7c2d[_0x2866ed(0x1e1)])||_0x2ac3d4[_0x2866ed(0x15e)]-_0x5c7c2d[_0x2866ed(0x15e)];})[_0x246509(0xee)](({turn:_0x30217f})=>_0x30217f),_0x55f2f1=_0x3728f0[_0x246509(0x14f)]===undefined?_0x5864d[_0x246509(0x15b)]:decodeCursor(_0x3728f0[_0x246509(0x14f)],_0x3728f0[_0x246509(0xd8)]),_0x31fe9e=Math[_0x246509(0x1bc)](Math[_0x246509(0x11e)](_0x3728f0[_0x246509(0x122)]??-0x2*0x52f+-0x1*0x1f9b+0x2a17,0x1894+0x15*0x8e+-0x2439*0x1),-0x9c6*0x3+-0x1d6*-0x13+-0x39c),_0x1067d1=Math[_0x246509(0x11e)](-0x2*0x743+0x1*-0x1e71+-0xefd*-0x3,_0x55f2f1-_0x31fe9e),_0x495435=_0x5864d[_0x246509(0x1de)](_0x1067d1,_0x55f2f1);return{'turns':_0x495435,'nextCursor':_0x1067d1>-0x13*0x69+0x1*0xbc6+0x1*-0x3fb?encodeCursor(_0x3728f0[_0x246509(0xd8)],_0x1067d1):null};}[_0x2d6bcd(0x189)](_0x29c9a8){const _0x1cdb66=_0x2d6bcd;for(const _0x3d4056 of this[_0x1cdb66(0xf5)][_0x1cdb66(0x107)]()){const _0x4f7817=_0x3d4056[_0x1cdb66(0x1b1)](_0x15dcb8=>_0x15dcb8[_0x1cdb66(0x178)]===this[_0x1cdb66(0x191)](_0x29c9a8));if(_0x4f7817!==undefined)return _0x4f7817;}return undefined;}[_0x2d6bcd(0x185)](_0x3e5449){const _0x2a1359=_0x2d6bcd,_0x3ff375=this[_0x2a1359(0x157)][_0x2a1359(0x11f)](_0x3e5449),_0x2fb27d=_0x3ff375===undefined?this[_0x2a1359(0x1bf)][_0x2a1359(0x11f)](_0x3e5449):{'sessionId':this[_0x2a1359(0x14a)](_0x3ff375[_0x2a1359(0x178)])[_0x2a1359(0xd8)],'turnId':_0x3ff375[_0x2a1359(0xdc)]};if(_0x2fb27d===undefined)return undefined;return(this[_0x2a1359(0xf5)][_0x2a1359(0x11f)](_0x2fb27d[_0x2a1359(0xd8)])??[])[_0x2a1359(0x187)](_0x4380ae=>_0x4380ae['id']===_0x2fb27d[_0x2a1359(0xdc)]);}[_0x2d6bcd(0x1e4)](_0x15058a){const _0x473b62=_0x2d6bcd,_0x116105=this[_0x473b62(0x17a)](_0x15058a)[_0x473b62(0xf5)];return{'items':_0x116105[_0x473b62(0x15d)](_0x3b51c5=>_0x3b51c5[_0x473b62(0x181)]),'nextCursor':null};}[_0x2d6bcd(0x1d0)](_0x12a14e){const _0x4f4b25=_0x2d6bcd,_0x27615e=this[_0x4f4b25(0x167)](_0x12a14e[_0x4f4b25(0xd8)]),_0x1a1a5f=this[_0x4f4b25(0x18d)](),_0x4df076={'id':randomUUID(),'sessionId':_0x12a14e[_0x4f4b25(0xd8)],'turnId':'','runId':null,'parentItemId':null,'sourceSequence':null,'revision':0x1,'kind':_0x4f4b25(0x120),'status':_0x12a14e[_0x4f4b25(0x110)]?_0x4f4b25(0x1c6):_0x4f4b25(0x199),'payload':{'command':_0x12a14e[_0x4f4b25(0xf8)],'cwd':_0x12a14e[_0x4f4b25(0x139)],'outputPreview':_0x12a14e[_0x4f4b25(0xf2)][_0x4f4b25(0x1de)](-0x244a+-0x6*0x18a+0x2*0x16c3,0x43*-0x32+-0xb*-0x66e+-0x74*0x29),'outputRef':null,'exitCode':_0x12a14e[_0x4f4b25(0x110)]?-0x7ec+-0x877*-0x1+-0x8a:-0x1*-0x247f+-0x17d1+-0x1*0xcae,'durationMs':0x0,'truncated':![]},'startedAt':_0x1a1a5f,'completedAt':_0x1a1a5f},_0x429fa3={'id':randomUUID(),'sessionId':_0x12a14e[_0x4f4b25(0xd8)],'runId':null,'userItemId':null,'status':_0x12a14e[_0x4f4b25(0x110)]?_0x4f4b25(0x1c6):_0x4f4b25(0x1da),'model':_0x27615e[_0x4f4b25(0x165)],'effort':_0x27615e[_0x4f4b25(0x102)],'access':_0x27615e[_0x4f4b25(0x1b0)],'items':[],'startedAt':_0x1a1a5f,'completedAt':_0x1a1a5f},_0x4c8106={..._0x4df076,'turnId':_0x429fa3['id']},_0x40d869={..._0x429fa3,'items':[_0x4c8106]};return this[_0x4f4b25(0xf5)][_0x4f4b25(0x173)](_0x12a14e[_0x4f4b25(0xd8)],[...this[_0x4f4b25(0xf5)][_0x4f4b25(0x11f)](_0x12a14e[_0x4f4b25(0xd8)])??[],_0x40d869]),this[_0x4f4b25(0x193)](_0x27615e['id'],{'lastActivityAt':_0x1a1a5f}),_0x40d869;}[_0x2d6bcd(0x1dd)](_0x205cdb){const _0x90f681=_0x2d6bcd,_0x17ada2=this[_0x90f681(0x13c)](_0x205cdb[_0x90f681(0x178)]);if(_0x17ada2===undefined)throw new Error(_0x90f681(0xe0));if(_0x205cdb[_0x90f681(0x178)]!==_0x17ada2['id']&&this[_0x90f681(0x1d2)](_0x17ada2['id'])!==_0x205cdb[_0x90f681(0x178)])throw new Error(_0x90f681(0xe8));if(this[_0x90f681(0x1dc)][_0x90f681(0xfe)](_0x205cdb[_0x90f681(0xfd)]))throw new Error(_0x90f681(0x1c8));if(_0x205cdb[_0x90f681(0x1d8)]<=this[_0x90f681(0x18d)]())throw new Error(_0x90f681(0x115));const _0x48bb2d={'id':_0x205cdb[_0x90f681(0xfd)],'runId':_0x205cdb[_0x90f681(0x178)],'status':_0x90f681(0x1e7),'payload':_0x205cdb[_0x90f681(0x13a)],'expiresAt':_0x205cdb[_0x90f681(0x1d8)],'createdAt':this[_0x90f681(0x18d)](),'decidedAt':null};return this[_0x90f681(0x1dc)][_0x90f681(0x173)](_0x48bb2d['id'],_0x48bb2d),_0x48bb2d;}[_0x2d6bcd(0x10f)](_0x5bf1c7){const _0x129fd3=_0x2d6bcd,_0x5c4951=this[_0x129fd3(0x1dc)][_0x129fd3(0x11f)](_0x5bf1c7);if(_0x5c4951?.[_0x129fd3(0xdb)]===_0x129fd3(0x1e7)&&_0x5c4951[_0x129fd3(0x1d8)]<=this[_0x129fd3(0x18d)]())return this[_0x129fd3(0xd5)](_0x5bf1c7);return _0x5c4951;}[_0x2d6bcd(0x170)](_0x6b6ad){const _0x2a259e=_0x2d6bcd,_0x17f604=this[_0x2a259e(0x191)](_0x6b6ad);return[...this[_0x2a259e(0x1dc)][_0x2a259e(0x107)]()][_0x2a259e(0x1ba)](_0x31fb39=>this[_0x2a259e(0x191)](_0x31fb39[_0x2a259e(0x178)])===_0x17f604)[_0x2a259e(0xee)](_0x402c07=>this[_0x2a259e(0x10f)](_0x402c07['id']));}[_0x2d6bcd(0xd5)](_0x5c105c){const _0x191039=_0x2d6bcd,_0x3ff8e1=this[_0x191039(0x127)](_0x5c105c);if(_0x3ff8e1[_0x191039(0xdb)]!==_0x191039(0x1e7))return _0x3ff8e1;if(_0x3ff8e1[_0x191039(0x1d8)]>this[_0x191039(0x18d)]())throw new Error(_0x191039(0xf7));const _0x2a84ec={..._0x3ff8e1,'status':_0x191039(0xe7),'decidedAt':this[_0x191039(0x18d)]()};return this[_0x191039(0x1dc)][_0x191039(0x173)](_0x5c105c,_0x2a84ec),_0x2a84ec;}[_0x2d6bcd(0x1c9)](_0x474e1b,_0x5a01c2){const _0x32af13=_0x2d6bcd,_0x5b7e8e=this[_0x32af13(0x10f)](_0x474e1b);if(_0x5b7e8e===undefined)throw new Error(_0x32af13(0xef));if(_0x5b7e8e[_0x32af13(0xdb)]===_0x32af13(0xe7))throw new Error(_0x32af13(0x115));if(_0x5b7e8e[_0x32af13(0xdb)]!==_0x32af13(0x1e7))throw new Error(_0x32af13(0xe2));const _0x4db426={..._0x5b7e8e,'status':_0x5a01c2,'decidedAt':this[_0x32af13(0x18d)]()};return this[_0x32af13(0x1dc)][_0x32af13(0x173)](_0x474e1b,_0x4db426),_0x4db426;}[_0x2d6bcd(0x1b5)](){const _0x1233f3=_0x2d6bcd;return[...this[_0x1233f3(0x1dc)][_0x1233f3(0x107)]()][_0x1233f3(0x1ba)](_0xf5fa42=>_0xf5fa42[_0x1233f3(0xdb)]===_0x1233f3(0x1e7)&&_0xf5fa42[_0x1233f3(0x1d8)]<=this[_0x1233f3(0x18d)]())[_0x1233f3(0xee)](_0x5067b7=>this[_0x1233f3(0xd5)](_0x5067b7['id']));}[_0x2d6bcd(0x19e)](){const _0x1f3c80=_0x2d6bcd;return[...this[_0x1f3c80(0x141)][_0x1f3c80(0x107)]()][_0x1f3c80(0x1ba)](_0x2e21da=>!terminal(_0x2e21da[_0x1f3c80(0xdb)]));}[_0x2d6bcd(0x180)](_0x4f5d51){const _0x56ee83=_0x2d6bcd;return this[_0x56ee83(0xf3)][_0x56ee83(0x11f)](_0x4f5d51)??0x198b+0x3*0x332+-0x2321;}[_0x2d6bcd(0x1cc)](_0x4028a7){const _0x58218d=_0x2d6bcd,_0x4d22c8=this[_0x58218d(0x14a)](_0x4028a7);if(!terminal(_0x4d22c8[_0x58218d(0xdb)]))throw new Error(_0x58218d(0x1ac));this[_0x58218d(0x1d7)][_0x58218d(0xe6)](_0x4028a7);if(this[_0x58218d(0x1d7)][_0x58218d(0x149)]>0x1fe+0xd3d*0x1+-0xb3b*0x1)this[_0x58218d(0x1d7)][_0x58218d(0x14d)](this[_0x58218d(0x1d7)][_0x58218d(0x107)]()[_0x58218d(0x105)]()[_0x58218d(0x100)]);const _0x25be5c=new Set([...this[_0x58218d(0x157)][_0x58218d(0x107)]()][_0x58218d(0x1ba)](_0x263696=>_0x263696[_0x58218d(0x178)]===_0x4028a7)[_0x58218d(0xee)](_0x58c291=>_0x58c291['id'])),_0x14564e=(this[_0x58218d(0xf5)][_0x58218d(0x11f)](_0x4d22c8[_0x58218d(0xd8)])??[])[_0x58218d(0x1ba)](_0x47900e=>{const _0x5f30e8=_0x58218d,_0x116129=_0x47900e[_0x5f30e8(0x181)][_0x5f30e8(0x1a7)](_0x24e06f=>_0x24e06f[_0x5f30e8(0x143)]===_0x5f30e8(0x16a));if(_0x47900e[_0x5f30e8(0x178)]===_0x4028a7)return _0x4d22c8[_0x5f30e8(0xdb)]===_0x5f30e8(0x1da)||_0x4d22c8[_0x5f30e8(0xdb)]===_0x5f30e8(0x1a8)||_0x116129;const _0x44173a=_0x116129&&_0x47900e[_0x5f30e8(0xdb)]!==_0x5f30e8(0x1da)&&_0x47900e[_0x5f30e8(0xdb)]!==_0x5f30e8(0x1a8);return _0x4d22c8[_0x5f30e8(0xdb)]!==_0x5f30e8(0x1da)||!_0x44173a;}),_0x43e505=_0x14564e[_0x58218d(0x1ba)](_0x4e88aa=>terminalTurn(_0x4e88aa[_0x58218d(0xdb)])),_0x1c3597=new Set(_0x43e505[_0x58218d(0x1de)](-NodeRuntimeState[_0x58218d(0x13b)])[_0x58218d(0xee)](_0x2782e7=>_0x2782e7['id'])),_0x84c304=_0x14564e[_0x58218d(0x1ba)](_0x530445=>!terminalTurn(_0x530445[_0x58218d(0xdb)])||_0x1c3597[_0x58218d(0xfe)](_0x530445['id'])),_0xc0be48=new Set(_0x84c304[_0x58218d(0xee)](_0x4edbe9=>_0x4edbe9['id']));this[_0x58218d(0xf5)][_0x58218d(0x173)](_0x4d22c8[_0x58218d(0xd8)],_0x84c304);for(const [_0x4406be,_0x116cbb]of this[_0x58218d(0x157)]){if(_0x116cbb[_0x58218d(0x178)]!==_0x4028a7)continue;this[_0x58218d(0x157)][_0x58218d(0x14d)](_0x4406be);if(_0xc0be48[_0x58218d(0xfe)](_0x116cbb[_0x58218d(0xdc)]))this[_0x58218d(0x1bf)][_0x58218d(0x173)](_0x4406be,{'sessionId':_0x4d22c8[_0x58218d(0xd8)],'turnId':_0x116cbb[_0x58218d(0xdc)]});}this[_0x58218d(0xd9)](_0x4d22c8[_0x58218d(0xd8)],_0xc0be48),this[_0x58218d(0x141)][_0x58218d(0x14d)](_0x4028a7),this[_0x58218d(0xf3)][_0x58218d(0x14d)](_0x4028a7);for(const [_0x920218,_0x2340c5]of this[_0x58218d(0x101)])if(_0x2340c5[_0x58218d(0x143)]===_0x58218d(0x19b)&&_0x2340c5['id']===_0x4028a7)this[_0x58218d(0x101)][_0x58218d(0x14d)](_0x920218);for(const [_0x5baa6,_0x3afc32]of this[_0x58218d(0x1dc)])if(_0x3afc32[_0x58218d(0x178)]===_0x4028a7||_0x25be5c[_0x58218d(0xfe)](_0x3afc32[_0x58218d(0x178)]))this[_0x58218d(0x1dc)][_0x58218d(0x14d)](_0x5baa6);}[_0x2d6bcd(0x196)](_0x1654b1){const _0x455f85=_0x2d6bcd;return[...this[_0x455f85(0x1be)][_0x455f85(0x107)]()][_0x455f85(0xee)](_0x410cae=>this[_0x455f85(0x141)][_0x455f85(0x11f)](_0x410cae))[_0x455f85(0x1a7)](_0x55657=>_0x55657?.[_0x455f85(0x17e)]===_0x1654b1);}[_0x2d6bcd(0xf6)](_0xd73469){const _0x31e733=_0x2d6bcd;this[_0x31e733(0x167)](_0xd73469);const _0x55d343=this[_0x31e733(0x1ad)](_0xd73469);if(_0x55d343[_0x31e733(0x1a7)](_0x827e56=>!terminal(_0x827e56[_0x31e733(0xdb)])))throw new Error(_0x31e733(0x10a));const _0xcbc108=new Set(_0x55d343[_0x31e733(0xee)](_0x811e82=>_0x811e82['id'])),_0x657705=new Set([...this[_0x31e733(0x157)][_0x31e733(0x107)]()][_0x31e733(0x1ba)](_0x219180=>_0xcbc108[_0x31e733(0xfe)](_0x219180[_0x31e733(0x178)]))[_0x31e733(0xee)](_0x4e4947=>_0x4e4947['id']));this[_0x31e733(0x117)][_0x31e733(0x14d)](_0xd73469),this[_0x31e733(0xf5)][_0x31e733(0x14d)](_0xd73469),this[_0x31e733(0xd9)](_0xd73469,new Set());const _0x22d9d1=this[_0x31e733(0x14c)][_0x31e733(0x11f)](_0xd73469)??[];this[_0x31e733(0x14c)][_0x31e733(0x14d)](_0xd73469);for(const _0xc11f3f of _0x22d9d1)this[_0x31e733(0x10b)][_0x31e733(0x14d)](_0xc11f3f);this[_0x31e733(0x1c2)][_0x31e733(0x14d)](_0xd73469),this[_0x31e733(0x194)][_0x31e733(0x14d)](_0xd73469),this[_0x31e733(0x1be)][_0x31e733(0x14d)](_0xd73469);for(const _0x1c1903 of _0xcbc108){this[_0x31e733(0x141)][_0x31e733(0x14d)](_0x1c1903),this[_0x31e733(0xf3)][_0x31e733(0x14d)](_0x1c1903);}for(const _0x1040df of _0x657705)this[_0x31e733(0x157)][_0x31e733(0x14d)](_0x1040df);for(const [_0x5ceaad,_0x1322e1]of this[_0x31e733(0x101)])if(_0x1322e1[_0x31e733(0x143)]===_0x31e733(0x19b)&&_0xcbc108[_0x31e733(0xfe)](_0x1322e1['id'])||_0x1322e1[_0x31e733(0x143)]===_0x31e733(0x179)&&_0x22d9d1[_0x31e733(0x1e2)](_0x1322e1['id']))this[_0x31e733(0x101)][_0x31e733(0x14d)](_0x5ceaad);for(const _0x3c8a3e of this[_0x31e733(0x133)][_0x31e733(0x18c)]())if(_0x3c8a3e[_0x31e733(0x1a6)](_0xd73469+'\x00'))this[_0x31e733(0x133)][_0x31e733(0x14d)](_0x3c8a3e);for(const [_0x2cf522,_0xc5769a]of this[_0x31e733(0x1dc)])if(_0xcbc108[_0x31e733(0xfe)](_0xc5769a[_0x31e733(0x178)])||_0x657705[_0x31e733(0xfe)](_0xc5769a[_0x31e733(0x178)]))this[_0x31e733(0x1dc)][_0x31e733(0x14d)](_0x2cf522);}[_0x2d6bcd(0x16f)](_0xccf7ac){const _0x1896cf=_0x2d6bcd;if(this[_0x1896cf(0x196)](_0xccf7ac))throw new Error(_0x1896cf(0x12e));const _0x33f77b=new Set([...this[_0x1896cf(0x117)][_0x1896cf(0x107)]()][_0x1896cf(0x1ba)](_0x4995fa=>_0x4995fa[_0x1896cf(0x17e)]===_0xccf7ac)[_0x1896cf(0xee)](_0x3c0057=>_0x3c0057['id'])),_0x44bfee=new Set([...this[_0x1896cf(0x141)][_0x1896cf(0x107)]()][_0x1896cf(0x1ba)](_0x25ab66=>_0x25ab66[_0x1896cf(0x17e)]===_0xccf7ac)[_0x1896cf(0xee)](_0x452a6b=>_0x452a6b['id'])),_0x39f61a=new Set([...this[_0x1896cf(0x157)][_0x1896cf(0x107)]()][_0x1896cf(0x1ba)](_0x381c60=>_0x44bfee[_0x1896cf(0xfe)](_0x381c60[_0x1896cf(0x178)]))[_0x1896cf(0xee)](_0x95e044=>_0x95e044['id'])),_0x39645c=new Set([..._0x33f77b][_0x1896cf(0x15d)](_0x3250b4=>this[_0x1896cf(0x14c)][_0x1896cf(0x11f)](_0x3250b4)??[]));for(const _0x183da6 of _0x33f77b){this[_0x1896cf(0x117)][_0x1896cf(0x14d)](_0x183da6),this[_0x1896cf(0xf5)][_0x1896cf(0x14d)](_0x183da6),this[_0x1896cf(0xd9)](_0x183da6,new Set());}for(const _0x4e3fe5 of _0x44bfee){this[_0x1896cf(0x141)][_0x1896cf(0x14d)](_0x4e3fe5),this[_0x1896cf(0xf3)][_0x1896cf(0x14d)](_0x4e3fe5);}for(const _0x5e332f of _0x39f61a)this[_0x1896cf(0x157)][_0x1896cf(0x14d)](_0x5e332f);for(const [_0x440c2e,_0x615073]of this[_0x1896cf(0x101)])if(_0x615073[_0x1896cf(0x143)]===_0x1896cf(0x19b)&&_0x44bfee[_0x1896cf(0xfe)](_0x615073['id'])||_0x615073[_0x1896cf(0x143)]===_0x1896cf(0x179)&&_0x39645c[_0x1896cf(0xfe)](_0x615073['id']))this[_0x1896cf(0x101)][_0x1896cf(0x14d)](_0x440c2e);for(const _0x96335b of this[_0x1896cf(0x133)][_0x1896cf(0x18c)]()){const _0x4ae7a5=_0x96335b[_0x1896cf(0xfc)]('\u0000');if(_0x4ae7a5>=0x29*-0x97+-0x20b9*0x1+0x38e8&&_0x33f77b[_0x1896cf(0xfe)](_0x96335b[_0x1896cf(0x1de)](0x57*0x1+0x49a+-0xfd*0x5,_0x4ae7a5)))this[_0x1896cf(0x133)][_0x1896cf(0x14d)](_0x96335b);}for(const [_0xcfa4b5,_0x2d744f]of this[_0x1896cf(0x1dc)])if(_0x44bfee[_0x1896cf(0xfe)](_0x2d744f[_0x1896cf(0x178)])||_0x39f61a[_0x1896cf(0xfe)](_0x2d744f[_0x1896cf(0x178)]))this[_0x1896cf(0x1dc)][_0x1896cf(0x14d)](_0xcfa4b5);for(const _0x196c04 of _0x33f77b){const _0x47e28e=this[_0x1896cf(0x14c)][_0x1896cf(0x11f)](_0x196c04)??[];this[_0x1896cf(0x14c)][_0x1896cf(0x14d)](_0x196c04);for(const _0x325ed1 of _0x47e28e)this[_0x1896cf(0x10b)][_0x1896cf(0x14d)](_0x325ed1);this[_0x1896cf(0x1c2)][_0x1896cf(0x14d)](_0x196c04),this[_0x1896cf(0x194)][_0x1896cf(0x14d)](_0x196c04),this[_0x1896cf(0x1be)][_0x1896cf(0x14d)](_0x196c04);}}[_0x2d6bcd(0x16c)](_0x41d2a1,_0xc5db62){void _0x41d2a1,void _0xc5db62;}[_0x2d6bcd(0x193)](_0x158eac,_0x46b52d){const _0x5d00d6=_0x2d6bcd,_0x2af473=this[_0x5d00d6(0x167)](_0x158eac),_0x50f538={..._0x2af473,..._0x46b52d};this[_0x5d00d6(0x117)][_0x5d00d6(0x173)](_0x158eac,_0x50f538);if(_0x2af473[_0x5d00d6(0x1b9)]!==_0x50f538[_0x5d00d6(0x1b9)]||_0x2af473[_0x5d00d6(0x1c4)]!==_0x50f538[_0x5d00d6(0x1c4)]){for(const _0x3721d6 of this[_0x5d00d6(0x1ad)](_0x158eac))this[_0x5d00d6(0x1ce)](_0x3721d6,_0x50f538);}return _0x50f538;}[_0x2d6bcd(0x1ce)](_0x14a4ca,_0x20662e){const _0x36e132=_0x2d6bcd,_0x2a1e57=this[_0x36e132(0x176)](_0x14a4ca['id']);this[_0x36e132(0x131)]?.(_0x14a4ca,_0x20662e,_0x2a1e57[_0x36e132(0x15b)]===0xbcd+0x1e03+-0x1*0x29d0?undefined:_0x2a1e57);}[_0x2d6bcd(0x1b4)](_0x1f39e1){const _0x219b0f=_0x2d6bcd;this[_0x219b0f(0x1c2)][_0x219b0f(0x173)](_0x1f39e1,(this[_0x219b0f(0x1c2)][_0x219b0f(0x11f)](_0x1f39e1)??0x125*0x22+0x544+-0x2c2e)+(-0x6*-0x470+0x57*-0x4e+0x1d*-0x1));}[_0x2d6bcd(0xd9)](_0x3c7f27,_0x494f62){const _0x27efa4=_0x2d6bcd;for(const [_0x494e01,_0xc5522]of this[_0x27efa4(0x1bf)])if(_0xc5522[_0x27efa4(0xd8)]===_0x3c7f27&&!_0x494f62[_0x27efa4(0xfe)](_0xc5522[_0x27efa4(0xdc)]))this[_0x27efa4(0x1bf)][_0x27efa4(0x14d)](_0x494e01);}[_0x2d6bcd(0x167)](_0xdbf73){const _0x3e7317=_0x2d6bcd,_0x56ce71=this[_0x3e7317(0x117)][_0x3e7317(0x11f)](_0xdbf73);if(_0x56ce71===undefined)throw new Error(_0x3e7317(0x17d));return _0x56ce71;}[_0x2d6bcd(0x14a)](_0x1009e8){const _0x34ee6d=_0x2d6bcd,_0x16134e=this[_0x34ee6d(0x141)][_0x34ee6d(0x11f)](_0x1009e8);if(_0x16134e===undefined)throw new Error(_0x34ee6d(0xe0));return _0x16134e;}[_0x2d6bcd(0x1ca)](_0x450a93){const _0x269724=_0x2d6bcd,_0x35f5d7=this[_0x269724(0x10b)][_0x269724(0x11f)](_0x450a93);if(_0x35f5d7===undefined)throw new Error(_0x269724(0xf4));return _0x35f5d7;}[_0x2d6bcd(0x127)](_0x5cd470){const _0x4f3a35=_0x2d6bcd,_0x180cc4=this[_0x4f3a35(0x1dc)][_0x4f3a35(0x11f)](_0x5cd470);if(_0x180cc4===undefined)throw new Error(_0x4f3a35(0xef));return _0x180cc4;}[_0x2d6bcd(0x166)](_0x1237cb,_0x15c16a){const _0x3b2f27=_0x2d6bcd,_0x132596=this[_0x3b2f27(0x14a)](_0x1237cb),_0x4a07f8=this[_0x3b2f27(0xf5)][_0x3b2f27(0x11f)](_0x132596[_0x3b2f27(0xd8)])??[];this[_0x3b2f27(0xf5)][_0x3b2f27(0x173)](_0x132596[_0x3b2f27(0xd8)],_0x4a07f8[_0x3b2f27(0xee)](_0xab013f=>_0xab013f[_0x3b2f27(0x178)]===_0x1237cb?_0x15c16a(_0xab013f):_0xab013f));}[_0x2d6bcd(0xf1)](_0x9c1ad,_0x7b809a){const _0x371567=_0x2d6bcd,_0x2e9179=this[_0x371567(0x14a)](_0x9c1ad),_0x291b84=this[_0x371567(0xf5)][_0x371567(0x11f)](_0x2e9179[_0x371567(0xd8)])??[],_0x13fe4b=_0x291b84[_0x371567(0x1b8)](_0x5c40a2=>_0x5c40a2[_0x371567(0x178)]===_0x9c1ad);if(_0x13fe4b<-0x1*-0x194e+0x4e9+0x1*-0x1e37)return;this[_0x371567(0xf5)][_0x371567(0x173)](_0x2e9179[_0x371567(0xd8)],_0x291b84[_0x371567(0xee)]((_0x4098c3,_0x473825)=>_0x473825===_0x13fe4b?_0x7b809a(_0x4098c3):_0x4098c3));}[_0x2d6bcd(0x1e0)](_0x287c07){const _0x485250=_0x2d6bcd,_0x15c6a5=this[_0x485250(0x14a)](_0x287c07);return(this[_0x485250(0xf5)][_0x485250(0x11f)](_0x15c6a5[_0x485250(0xd8)])??[])[_0x485250(0x1b1)](_0x44c2b0=>_0x44c2b0[_0x485250(0x178)]===_0x287c07);}[_0x2d6bcd(0x12d)](_0x57b81e,_0x1efb0,_0x3190ef,_0x2b195f){const _0x245bf9=_0x2d6bcd,_0x380afe=this[_0x245bf9(0x167)](_0x57b81e[_0x245bf9(0xd8)]),_0x2754e7=this[_0x245bf9(0x18d)](),_0x2251e5=randomUUID(),_0x11ba76=randomUUID(),_0x1c0713={'id':_0x11ba76,'sessionId':_0x380afe['id'],'turnId':_0x2251e5,'runId':_0x57b81e['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x245bf9(0x1d5),'status':_0x245bf9(0x199),'payload':{'clientMessageId':_0x1efb0,'text':_0x3190ef,'contexts':[],'attachments':_0x2b195f,'delivery':_0x245bf9(0x171)},'startedAt':_0x2754e7,'completedAt':_0x2754e7},_0x124b12={'id':_0x2251e5,'sessionId':_0x380afe['id'],'runId':_0x57b81e['id'],'userItemId':_0x11ba76,'status':_0x245bf9(0x116),'model':_0x380afe[_0x245bf9(0x165)],'effort':_0x380afe[_0x245bf9(0x102)],'access':_0x380afe[_0x245bf9(0x1b0)],'items':[_0x1c0713],'startedAt':_0x2754e7,'completedAt':null};return this[_0x245bf9(0xf5)][_0x245bf9(0x173)](_0x380afe['id'],[...this[_0x245bf9(0xf5)][_0x245bf9(0x11f)](_0x380afe['id'])??[],_0x124b12]),this[_0x245bf9(0x193)](_0x380afe['id'],{'lastActivityAt':_0x2754e7}),_0x124b12;}[_0x2d6bcd(0x109)](_0x57bda7,_0x3f10ac,_0x50fc52){const _0x5b217c=_0x2d6bcd;for(const [_0x3f582f,_0x35f291]of this[_0x5b217c(0xf5)]){if(!_0x35f291[_0x5b217c(0x1a7)](_0x17f8bb=>_0x17f8bb['id']===_0x57bda7))continue;this[_0x5b217c(0xf5)][_0x5b217c(0x173)](_0x3f582f,_0x35f291[_0x5b217c(0xee)](_0x52253e=>_0x52253e['id']===_0x57bda7?{..._0x52253e,'status':_0x3f10ac,'completedAt':_0x50fc52,'items':_0x52253e[_0x5b217c(0x181)][_0x5b217c(0xee)](_0x51c5a4=>activeConversationItem(_0x51c5a4[_0x5b217c(0xdb)])?{..._0x51c5a4,'status':completedStatusForRun(_0x3f10ac),'completedAt':_0x50fc52}:_0x51c5a4)}:_0x52253e));return;}}[_0x2d6bcd(0x19d)](_0x272456,_0x362f40){const _0x24a088=_0x2d6bcd,_0xcd1893=this[_0x24a088(0x14a)](_0x272456[_0x24a088(0x178)]),_0x2d6bbf=_0x2245b3=>{const _0x5a1edd=_0x24a088;if(_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0xe1)&&isRecord(_0x272456[_0x5a1edd(0x13a)])&&typeof _0x272456[_0x5a1edd(0x13a)][_0x5a1edd(0x184)]===_0x5a1edd(0x17c)){const _0x337d42=typeof _0x272456[_0x5a1edd(0x13a)][_0x5a1edd(0x16d)]===_0x5a1edd(0x17c)&&_0x272456[_0x5a1edd(0x13a)][_0x5a1edd(0x16d)][_0x5a1edd(0x15b)]<=-0x4*-0x65b+-0x1d24+0x410?_0x272456[_0x5a1edd(0x13a)][_0x5a1edd(0x16d)]:undefined,_0x4bfe20=_0x337d42===undefined?undefined:_0x272456[_0x5a1edd(0x178)]+':'+_0x337d42,_0x29875a=_0x2245b3[_0x5a1edd(0x181)]['at'](-(-0x2679+0x1390+-0x9*-0x21a)),_0x3f2142=_0x4bfe20===undefined?_0x29875a?.[_0x5a1edd(0x143)]===_0x5a1edd(0x1c3)&&activeConversationItem(_0x29875a[_0x5a1edd(0xdb)])?_0x29875a:undefined:_0x2245b3[_0x5a1edd(0x181)][_0x5a1edd(0x187)](_0x2efee8=>_0x2efee8['id']===_0x4bfe20&&_0x2efee8[_0x5a1edd(0x143)]===_0x5a1edd(0x1c3)),_0x43012e=''+(_0x3f2142===undefined?'':readableText(_0x3f2142[_0x5a1edd(0x13a)]))+_0x272456[_0x5a1edd(0x13a)][_0x5a1edd(0x184)],_0x26fe13={'id':_0x3f2142?.['id']??_0x4bfe20??_0x272456[_0x5a1edd(0x178)]+_0x5a1edd(0x1af)+_0x272456[_0x5a1edd(0x155)],'sessionId':_0xcd1893[_0x5a1edd(0xd8)],'turnId':_0x2245b3['id'],'runId':_0x272456[_0x5a1edd(0x178)],'parentItemId':null,'sourceSequence':_0x3f2142?.[_0x5a1edd(0xe5)]??_0x272456[_0x5a1edd(0x155)],'revision':_0x272456[_0x5a1edd(0x155)],'kind':_0x5a1edd(0x1c3),'status':_0x5a1edd(0x138),'payload':{'text':_0x43012e,'format':_0x5a1edd(0x182),'model':null},'startedAt':_0x3f2142?.[_0x5a1edd(0x1d3)]??_0x272456[_0x5a1edd(0x1ab)],'completedAt':null};return{..._0x2245b3,'status':_0x5a1edd(0xd4),'startedAt':_0x2245b3[_0x5a1edd(0x1d3)]??_0x272456[_0x5a1edd(0x1ab)],'items':_0x3f2142===undefined?[..._0x2245b3[_0x5a1edd(0x181)],_0x26fe13]:_0x2245b3[_0x5a1edd(0x181)][_0x5a1edd(0xee)](_0x437c73=>_0x437c73['id']===_0x26fe13['id']?_0x26fe13:_0x437c73)};}const _0x4b4930=conversationItemFromEvent(_0x272456);if(_0x4b4930!==undefined){const _0x5e4ecf=_0x2245b3[_0x5a1edd(0x181)]['at'](-(-0x115f+-0x2c1*0x1+0x1421)),_0x155046=_0x5e4ecf?.[_0x5a1edd(0x143)]===_0x5a1edd(0x1c3)&&activeConversationItem(_0x5e4ecf[_0x5a1edd(0xdb)])?_0x2245b3[_0x5a1edd(0x181)][_0x5a1edd(0xee)](_0x5e2ba0=>_0x5e2ba0['id']===_0x5e4ecf['id']?{..._0x5e2ba0,'status':_0x5a1edd(0x199),'completedAt':_0x272456[_0x5a1edd(0x1ab)]}:_0x5e2ba0):_0x2245b3[_0x5a1edd(0x181)],_0x40b35b=_0x155046[_0x5a1edd(0x187)](_0x237cd5=>_0x237cd5['id']===_0x272456[_0x5a1edd(0x178)]+':'+_0x4b4930[_0x5a1edd(0x16d)])??(_0x4b4930[_0x5a1edd(0x143)]===_0x5a1edd(0x1c3)&&_0x4b4930[_0x5a1edd(0x16d)][_0x5a1edd(0x1a6)](_0x5a1edd(0xf0))&&_0x5e4ecf?.[_0x5a1edd(0x143)]===_0x5a1edd(0x1c3)&&_0x5e4ecf['id'][_0x5a1edd(0x1a6)](_0x272456[_0x5a1edd(0x178)]+_0x5a1edd(0x1af))&&activeConversationItem(_0x5e4ecf[_0x5a1edd(0xdb)])?_0x5e4ecf:undefined),_0x78e1ca=_0x4b4930[_0x5a1edd(0xdb)],_0x232aa9={'id':_0x272456[_0x5a1edd(0x178)]+':'+_0x4b4930[_0x5a1edd(0x16d)],'sessionId':_0xcd1893[_0x5a1edd(0xd8)],'turnId':_0x2245b3['id'],'runId':_0x272456[_0x5a1edd(0x178)],'parentItemId':null,'sourceSequence':_0x40b35b?.[_0x5a1edd(0xe5)]??_0x272456[_0x5a1edd(0x155)],'revision':(_0x40b35b?.[_0x5a1edd(0x18a)]??-(0xe05+0x33f+-0x1143))+(0x103a+-0xd14*-0x1+-0x1d4d),'kind':_0x4b4930[_0x5a1edd(0x143)],'status':_0x78e1ca,'payload':mergeConversationItemPayload(_0x40b35b?.[_0x5a1edd(0x13a)],_0x4b4930),'startedAt':_0x40b35b?.[_0x5a1edd(0x1d3)]??_0x272456[_0x5a1edd(0x1ab)],'completedAt':completedConversationItem(_0x78e1ca)?_0x272456[_0x5a1edd(0x1ab)]:null};return{..._0x2245b3,'status':terminal(_0xcd1893[_0x5a1edd(0xdb)])?_0xcd1893[_0x5a1edd(0xdb)]:_0x5a1edd(0xd4),'startedAt':_0x2245b3[_0x5a1edd(0x1d3)]??_0x272456[_0x5a1edd(0x1ab)],'items':_0x40b35b===undefined?[..._0x155046,_0x232aa9]:_0x155046[_0x5a1edd(0xee)](_0x337717=>_0x337717['id']===_0x40b35b['id']?_0x232aa9:_0x337717)};}if(_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0x198)||_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0x172))return{..._0x2245b3,'status':_0x5a1edd(0xd4),'startedAt':_0x2245b3[_0x5a1edd(0x1d3)]??_0x272456[_0x5a1edd(0x1ab)]};if(_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0x1a2)||_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0x1e5)||_0x272456[_0x5a1edd(0x12f)]===_0x5a1edd(0xe3))return{..._0x2245b3,'status':this[_0x5a1edd(0x14a)](_0x272456[_0x5a1edd(0x178)])[_0x5a1edd(0xdb)],'completedAt':_0x272456[_0x5a1edd(0x1ab)],'items':_0x2245b3[_0x5a1edd(0x181)][_0x5a1edd(0xee)](_0x17016f=>activeConversationItem(_0x17016f[_0x5a1edd(0xdb)])?{..._0x17016f,'status':completedStatusForRun(this[_0x5a1edd(0x14a)](_0x272456[_0x5a1edd(0x178)])[_0x5a1edd(0xdb)]),'completedAt':_0x272456[_0x5a1edd(0x1ab)]}:_0x17016f)};return _0x2245b3;};if(_0x362f40===undefined)this[_0x24a088(0xf1)](_0x272456[_0x24a088(0x178)],_0x2d6bbf);else{const _0x341a16=this[_0x24a088(0xf5)][_0x24a088(0x11f)](_0xcd1893[_0x24a088(0xd8)])??[];this[_0x24a088(0xf5)][_0x24a088(0x173)](_0xcd1893[_0x24a088(0xd8)],_0x341a16[_0x24a088(0xee)](_0x4a4feb=>_0x4a4feb['id']===_0x362f40?_0x2d6bbf(_0x4a4feb):_0x4a4feb));}}}function terminal(_0x175ab3){const _0xaf2104=_0x2d6bcd;return[_0xaf2104(0x1da),_0xaf2104(0x1c6),_0xaf2104(0x145),_0xaf2104(0x1a8),_0xaf2104(0x125)][_0xaf2104(0x1e2)](_0x175ab3);}function terminalTurn(_0x418e10){const _0xb7fed6=_0x2d6bcd;return[_0xb7fed6(0x1da),_0xb7fed6(0x1c6),_0xb7fed6(0x145),_0xb7fed6(0x1a8),_0xb7fed6(0x125)][_0xb7fed6(0x1e2)](_0x418e10);}function transitionAllowed(_0x4ccb01,_0x138c08){return!terminal(_0x4ccb01)||_0x4ccb01===_0x138c08;}function isRecord(_0x227a99){const _0x4620e1=_0x2d6bcd;return typeof _0x227a99===_0x4620e1(0x18b)&&_0x227a99!==null;}function readableText(_0x198ce5){const _0x4e3d37=_0x2d6bcd;return isRecord(_0x198ce5)&&typeof _0x198ce5[_0x4e3d37(0x184)]===_0x4e3d37(0x17c)?_0x198ce5[_0x4e3d37(0x184)]:'';}function conversationItemFromEvent(_0x3eeafc){const _0xcb31b6=_0x2d6bcd;if(isRecord(_0x3eeafc[_0xcb31b6(0x13a)])){const _0x5599d3=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0xfd)];if(typeof _0x5599d3===_0xcb31b6(0x17c)&&_0x5599d3[_0xcb31b6(0x15b)]>-0x30*-0x47+-0x1f20+0x11d0){if(_0x3eeafc[_0xcb31b6(0x12f)]===_0xcb31b6(0x1cf))return{'itemId':_0xcb31b6(0x148)+_0x5599d3,'kind':_0xcb31b6(0xeb),'status':_0xcb31b6(0x1e7),'payload':{'approvalId':_0x5599d3,'approvalStatus':_0xcb31b6(0x1e7),'approval':_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x13a)],'expiresAt':_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x1d8)]},'merge':![]};if(_0x3eeafc[_0xcb31b6(0x12f)]===_0xcb31b6(0x11b)){const _0x5d44c8=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x1a3)];if(_0x5d44c8===_0xcb31b6(0x1bd)||_0x5d44c8===_0xcb31b6(0x1d6))return{'itemId':_0xcb31b6(0x148)+_0x5599d3,'kind':_0xcb31b6(0xeb),'status':_0x5d44c8===_0xcb31b6(0x1bd)?_0xcb31b6(0x199):_0xcb31b6(0xd7),'payload':{'approvalId':_0x5599d3,'approvalStatus':_0x5d44c8},'merge':!![]};}if(_0x3eeafc[_0xcb31b6(0x12f)]===_0xcb31b6(0x186))return{'itemId':_0xcb31b6(0x148)+_0x5599d3,'kind':_0xcb31b6(0xeb),'status':_0xcb31b6(0x145),'payload':{'approvalId':_0x5599d3,'approvalStatus':_0xcb31b6(0xe7)},'merge':!![]};}}if(_0x3eeafc[_0xcb31b6(0x12f)]!==_0xcb31b6(0x177)||!isRecord(_0x3eeafc[_0xcb31b6(0x13a)]))return undefined;const _0x4cfb69=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x16d)],_0x3c2fe1=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x143)],_0x1abdf9=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0xdb)],_0x1f8f70=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x13a)];if(typeof _0x4cfb69!==_0xcb31b6(0x17c)||_0x4cfb69[_0xcb31b6(0x15b)]===0x2*-0x923+0x1*-0x205+-0x5*-0x40f||_0x4cfb69[_0xcb31b6(0x15b)]>0x1726+-0x1a02+0x334||typeof _0x3c2fe1!==_0xcb31b6(0x17c)||!projectableConversationKind(_0x3c2fe1)||typeof _0x1abdf9!==_0xcb31b6(0x17c)||!projectableConversationStatus(_0x1abdf9)||!isRecord(_0x1f8f70))return undefined;const _0x36adda=_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x154)];return{'itemId':_0x4cfb69,'kind':_0x3c2fe1,'status':_0x1abdf9,'payload':_0x1f8f70,'merge':_0x3eeafc[_0xcb31b6(0x13a)][_0xcb31b6(0x130)]===!![],..._0x36adda===_0xcb31b6(0x1b6)||_0x36adda===_0xcb31b6(0xf2)||_0x36adda===_0xcb31b6(0x1cb)?{'append':_0x36adda}:{}};}function _0x5066(){const _0x27cd3e=['C2XPy2u','BM9KzuLK','y3vYCMvUDfr1CM5gB3jsDw4','DhvYBG','Aw5JBhvKzxm','C29YDa','BgLZDenVBNzLCNnHDgLVBKL0zw1Z','CNvUlMzHAwXLza','uLvox1rfuK1jtKfm','uevoreLorW','uLvox1nuqvrfx0LovKfmsuq','zMLSzv9JAgfUz2u','y29TCgXLDgvKqxq','uLvotKLorW','zxHWAxjLqxbWCM92ywW','DhjPBq','revdteLoruq','C2vZC2LVBKLK','Chj1BMvszxrHAw5Lzev4zwn1DgLVBLr1CM5Z','uvvfvuvFvKvsu0LptL9dt05gteLdva','C3rHDhvZ','DhvYBKLK','u0vtu0LptL9dsefotKvmx1rps0vox0LovKfmsuq','C2v0vgvTCg9Yyxj5vgL0BgvjzK1PC3nPBMC','DxnLCL9PBNb1Df9Yzxf1zxn0','uLvox05pvf9gt1vora','Dgv4Dc5KzwX0yq','qvbquK9wquXFquXsrufewv9erunjreve','CNvUlNjLAMvJDgvK','AxnjBNrLz2vY','C291CMnLu2vXDwvUy2u','ywrK','rvHqsvjfra','uLvox0vyrunvveLptL9ot1rFq1vsuKvova','DxbKyxrLu2vZC2LVBK1LDgfKyxrH','DxbKyxrLuxvLDwvjDgvTqxr0ywnOBwvUDhm','yxbWCM92ywXFCMvXDwvZDa','CgfYC2u','DhjHBNnPDgLVBLj1BG','BwfW','qvbquK9wquXFtK9ux0zpvu5e','y29KzxG6','DxbKyxrLq3vYCMvUDfr1CM5gB3jsDw4','B3v0Chv0uhjLDMLLDW','CNvUu2vXDwvUy2vZ','uvvfvuvFsvrftv9jtLzbteLe','DhvYBNm','CMvTB3zLqwDLBNrtzxnZAw9U','qvbquK9wquXFtK9ux0vyueLsruq','y29TBwfUza','ode4mZC0ouT3y2D0ta','C2v0tMf0AxzLq29UDhjVBa','CgLUBMvK','Aw5KzxHpzG','yxbWCM92ywXjza','AgfZ','DxbKyxrLuhjLCgfYAw5NvhvYBKf0DgfJAg1LBNrZ','DMfSDwu','BwvZC2fNzvn1yM1PC3nPB25Z','zwzMB3j0','CgLUBMvKqxq','C2v0q2HHBM5LBfrVA2vU','BMv4Da','D2fYBMLUzW','DMfSDwvZ','yMfZzty0','y29TCgXLDgvuDxjU','u0vtu0LptL9bq1rjvKu','CxvLDwvjDgvTCW','Cgf1C2vtzxnZAw9UuxvLDwu','z2v0uxvLDwvjDgvT','u0vtu0LptL9fwfrfuK5btf9jrf9jtLzbteLe','z2v0qxbWCM92ywW','zMfPBgvK','y3jLyxrLuxvLDwvjDgvT','y3jLyxrLtwvZC2fNzvj1BG','y29UDgvUDa','zMLUze1LC3nHz2vsDw4','qvbquK9wquXFrvHqsvjfra','ufjfuefssu5h','C2vZC2LVBNm','otaYnwXPu3LPua','C3rYAw5NAwz5','q1vtve9n','yxbWCM92ywWUzgvJAwrLza','BgfZDefJDgL2Axr5qxq','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','Bwf4','z2v0','y29TBwfUzf9LEgvJDxrPB24','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','BgLTAxq','ywrVChrsDw4','nLLsCLj0AG','te9tva','uLvotKvs','CMvXDwLYzufWChjVDMfS','z2v0qwDLBNrtzxnZAw9U','C2vZC2LVBLf1zxvL','yNL0zuXLBMD0Aa','tuvtu0fhrv9btfjfqurzx1fvrvvfra','zMLUze1LC3nHz2vtDwjTAxnZAw9U','y3jLyxrLvhvYBG','v09ss1nqqunfx0jvu1K','zxzLBNruExbL','BwvYz2u','B25sDw5dAgfUz2vK','rvzftLrFu0vrvuvoq0vFr0fq','zMfPBgvKtwvZC2fNzvn1yM1PC3nPB25Z','ywn0AxzLu2vZC2LVBLj1BG','uLvox1rvuK5FtK9ux0zpvu5e','BwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','AxnbCNjHEq','su5Fufjpr1jfu1m','y3DK','Cgf5Bg9Hza','tufyx0nptvbmrvrfrf9uvvjou19qrvjFu0vtu0LptG','z2v0uNvU','rvHurvjoquW','uLvox1rvuK5FtK9ux1jfqurz','CNvUDgLTztO','Aw1Hz2uV','CNvUCW','yxr0ywnOBwvUDhm','A2LUza','DxrMoa','q0foq0vmteve','mtiZmtKYnMHQv3bNCG','CMvVCMrLCLnLC3nPB25rDwv1zq','yxbWCM92ywW6','C2L6zq','CMvXDwLYzvj1BG','Aw1Hz2vjBMrLEa','CxvLDwvKsxrLBxm','zgvSzxrL','DxnLCKL0zw1jza','y3vYC29Y','Dg9tDhjPBMC','DgL0Bgu','uLvox09xtKvex0jzx0fot1rirvjFvvnfuG','CMvHC29UAw5Nx3n1Bw1HCNK','yxbWzw5K','C2vXDwvUy2u','y3jLyxrLqwDLBNrtzxnZAw9U','zxHLy3v0Aw9UCW','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','v09ss1nqqunfx05pvf9gt1vora','CMvWBgfJzq','BgvUz3rO','u0vtu0LptL9usvrmrv9jtLzbteLe','zMXHDe1HCa','Aw5KzxG','Dg9VBf9JywXS','odGXodK2BxPUrMjj','y3jLyxrLrxHLy3v0Aw9U','u1rbuLrjtKC','Aw5PDgLHDgvKqNLvC2vYswq','CNvUBMvY','Bw9KzwW','DxbKyxrLvhvYBKzVCLj1BG','CMvXDwLYzvnLC3nPB24','zMLUAxnOuNvU','BNvTyMvY','zxjYB3i','y29UDgv4Df9JB21Wywn0Aw9U','CMvJB25JAwXLuNvU','AxrLBuLK','uLvox0fmuKvbrfLFqunusvzf','CMvTB3zLv29YA3nWywnL','BgLZDefWChjVDMfSCW','qundrvburuq','CNvUlNj1BM5PBMC','C2v0','yMfZzty0DxjS','CMvZDw1Lu2vZC2LVBLf1zxvL','y3vYCMvUDfj1BK1LC3nHz2vuzxH0','y29UDMvYC2f0Aw9UlML0zw0','CNvUswq','CxvLDwu','BgLZDenVBNzLCNnHDgLVBLr1CM5Z','BgLZDefNzw50u2vZC2LVBNm','C3rYAw5N','u0vtu0LptL9ot1rFrK9vtKq','D29YA3nWywnLswq','C2v0uNvUBMvYvgL0BgvgCM9TtMf0AxzL','BgfZDfj1BLnLCxvLBMnL','AxrLBxm','BwfYA2rVD24','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','Dgv4Da','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','yxbWCM92ywWUzxHWAxjLza','zMLUza','tuvtu0fhrv9btfjfqurzx1nuqvjuruq','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','CMv2AxnPB24','B2jQzwn0','A2v5CW','BM93','ChjPB3jPDgL6zvf1zxvLsxrLBq','C2nVCgu','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y2fUB25Py2fSuNvUswq','CgXHBG','CMvWBgfJzvnLC3nPB24','Cgf1C2vKuxvLDwvZ','mZyZmhnqq09kqq','AgfZqwn0AxzLv29YA3nWywnLtgvHC2u','C2v0rxH0zxjUywXtzxnZAw9Uswq','CNvUlNn0yxj0zwq','q09nueXfveve','zxH0zxjUywXtzxnZAw9Uswq','CNvU','y2XPzw50twvZC2fNzuLK','ChjVAMvJDev2zw50','BgLZDe5VBNrLCM1PBMfSuNvUCW','zgvSzxrLuxvLDwvjDgvT','qvvutW','y2XHAw1ozxH0uxvLDwvjDgvT','CNvUlMnVBxbSzxrLza','zgvJAxnPB24','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','CxvLDwvjDgvTswq','C3rHCNrZv2L0Aa','C29Tzq','su5urvjsvvburuq','z2v0v29YA3nWywnL','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','y3jLyxrLzef0','uLvox0fdveLwrq','BgLZDfj1BNngB3jtzxnZAw9U','DMvYC2LVBG','oMfZC2LZDgfUDdO','ywnJzxnZ','zMLUzeXHC3q','Dw5RBM93BG','ntiZnZG2uej5D0TY','yNvTCff1zxvLvMvYC2LVBG','zxHWAxjLrhvLqxbWCM92ywXZ','C2vJDgLVBNm','mJeYndq2nZbnEfPhqxq','zMLUzeXHC3rjBMrLEa','y3vZDg9TvgL0Bgu','zMLSDgvY','qunusvzf','BwLU','qvbquK9wruq','BgvHC2vZ','CMv0ywLUzwrfEgvJDxrPB25uDxjUCW','mteYsNHxELj0','u0vtu0LptL9jrf9dt05gteLdva','CxvLDwvwzxjZAw9UCW','yxnZAxn0yw50x21LC3nHz2u','CNvUBMvYvgL0Bgu','tufsx01btKfhruq','rKfjteve','zNjVBq','qvbquK9wquXFquXsrufewv9fweLtvfm','zgvJAwrLqxbWCM92ywW','CMvXDwLYzvf1zxvLsxrLBq','B3v0Chv0u3vTBwfYEq','CMvTB3zLvgvYBwLUywXsDw4','DxbKyxrLuxvLDwvjDgvT','zw1PDfj1BKnOyw5Nzwq','yxbWCM92ywWUCMvXDwvZDa','CMvJB3jKq29TBwfUzev4zwn1DgLVBG','yxbWzw5KuNvUrxzLBNq','y3vYCMvUDev4zwn1DgLVBKLK','C3rHCNrLzef0','odu5mJaZBK1yAuTi','DxnLCL9TzxnZywDL','uKvkrunuruq','DgvYBwLUywXsDw5jzhm','zxHWAxjLC0f0','mtfYvufmELy','u1vdq0vfreve','BMf0AxzLq29UDhjVBa','yxbWCM92ywXZ','y3jLyxrLqxbWCM92ywW'];_0x5066=function(){return _0x27cd3e;};return _0x5066();}function projectableConversationKind(_0x5569d6){const _0x3066a4=_0x2d6bcd;return _0x5569d6===_0x3066a4(0x1c3)||_0x5569d6===_0x3066a4(0x153)||_0x5569d6===_0x3066a4(0x15f)||_0x5569d6===_0x3066a4(0x120)||_0x5569d6===_0x3066a4(0xeb)||_0x5569d6===_0x3066a4(0xdf)||_0x5569d6===_0x3066a4(0x192)||_0x5569d6===_0x3066a4(0xd2)||_0x5569d6===_0x3066a4(0x16b)||_0x5569d6===_0x3066a4(0x1b2)||_0x5569d6===_0x3066a4(0x106)||_0x5569d6===_0x3066a4(0x16a);}function _0x2c99(_0x282d30,_0x356526){_0x282d30=_0x282d30-(-0x1*0xe82+0xaf+0xea5);const _0x8dfaa3=_0x5066();let _0x39eec4=_0x8dfaa3[_0x282d30];if(_0x2c99['nxobOI']===undefined){var _0x358bd8=function(_0xb2e80a){const _0x52d838='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21b626='',_0x36484e='';for(let _0x2fc4a4=0x2519*0x1+-0x1bed+-0x496*0x2,_0x250967,_0x7facd8,_0x545e9b=-0x14cb+-0x5*0x663+0x34ba;_0x7facd8=_0xb2e80a['charAt'](_0x545e9b++);~_0x7facd8&&(_0x250967=_0x2fc4a4%(0xdf0+0x66c+-0x1458*0x1)?_0x250967*(0x8f0+0x4*0x8cb+-0x2bdc)+_0x7facd8:_0x7facd8,_0x2fc4a4++%(-0x14cf*0x1+0x10d3+0x400))?_0x21b626+=String['fromCharCode'](-0x5c*0x62+0x18b3*0x1+-0x86*-0x16&_0x250967>>(-(-0xd3*-0x23+0xf5+-0x1dcc)*_0x2fc4a4&-0x1*0x4c7+-0x9fd+0x3*0x4ee)):-0x216*-0x1+-0x11*-0x215+-0x257b){_0x7facd8=_0x52d838['indexOf'](_0x7facd8);}for(let _0x127a73=0x244c+-0x21a4+0x11*-0x28,_0x291b83=_0x21b626['length'];_0x127a73<_0x291b83;_0x127a73++){_0x36484e+='%'+('00'+_0x21b626['charCodeAt'](_0x127a73)['toString'](-0x952+0x9af+-0x4d*0x1))['slice'](-(0x2*-0xadc+0x265d*-0x1+0x3c17));}return decodeURIComponent(_0x36484e);};_0x2c99['ewfMJD']=_0x358bd8,_0x2c99['LaqADZ']={},_0x2c99['nxobOI']=!![];}const _0x2e9b1b=_0x8dfaa3[-0x17*-0x190+0xa1a*0x1+-0xa6*0x47];_0x2c99['RjedWB']!==_0x2e9b1b&&(_0x2c99['LaqADZ']={},_0x2c99['RjedWB']=_0x2e9b1b);const _0x1a4a49=_0x2c99['LaqADZ'][_0x282d30];return _0x1a4a49===undefined?(_0x39eec4=_0x2c99['ewfMJD'](_0x39eec4),_0x2c99['LaqADZ'][_0x282d30]=_0x39eec4):_0x39eec4=_0x1a4a49,_0x39eec4;}function projectableConversationStatus(_0x5ed417){const _0x199e0e=_0x2d6bcd;return[_0x199e0e(0x1e7),_0x199e0e(0x138),_0x199e0e(0x199),_0x199e0e(0x1c6),_0x199e0e(0xd7),_0x199e0e(0x145),_0x199e0e(0x1a8)][_0x199e0e(0x1e2)](_0x5ed417);}function mergeConversationItemPayload(_0x1e0fc8,_0x1ca423){const _0x5e8487=_0x2d6bcd,_0x453686=_0x1ca423[_0x5e8487(0x130)]&&isRecord(_0x1e0fc8)?_0x1e0fc8:{},_0x16e7e7={..._0x453686,..._0x1ca423[_0x5e8487(0x13a)]};if(_0x1ca423[_0x5e8487(0x154)]===_0x5e8487(0x1b6)){const _0x185faf=Array[_0x5e8487(0x137)](_0x453686[_0x5e8487(0x1b6)])?_0x453686[_0x5e8487(0x1b6)]:[],_0x4dddd1=Array[_0x5e8487(0x137)](_0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0x1b6)])?_0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0x1b6)]:[],_0x479c9b=new Map();for(const _0x112cd8 of[..._0x185faf,..._0x4dddd1]){if(!isRecord(_0x112cd8)||typeof _0x112cd8[_0x5e8487(0x15e)]!==_0x5e8487(0x169)||!Number[_0x5e8487(0xe4)](_0x112cd8[_0x5e8487(0x15e)])||_0x112cd8[_0x5e8487(0x15e)]<-0x21c1+-0x4a*-0x33+0x1303||typeof _0x112cd8[_0x5e8487(0x184)]!==_0x5e8487(0x17c))continue;_0x479c9b[_0x5e8487(0x173)](_0x112cd8[_0x5e8487(0x15e)],appendProjectionText(_0x479c9b[_0x5e8487(0x11f)](_0x112cd8[_0x5e8487(0x15e)])??'',_0x112cd8[_0x5e8487(0x184)]));}_0x16e7e7[_0x5e8487(0x1b6)]=[..._0x479c9b][_0x5e8487(0x1e3)](([_0x5e31ce],[_0x3751da])=>_0x5e31ce-_0x3751da)[_0x5e8487(0xee)](([_0x5ac13a,_0x51814b])=>({'index':_0x5ac13a,'text':_0x51814b}));}if(_0x1ca423[_0x5e8487(0x154)]===_0x5e8487(0xf2)){const _0x36252b=typeof _0x453686[_0x5e8487(0xf2)]===_0x5e8487(0x17c)?_0x453686[_0x5e8487(0xf2)]:'',_0x441f73=typeof _0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0xf2)]===_0x5e8487(0x17c)?_0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0xf2)]:'';_0x16e7e7[_0x5e8487(0xf2)]=appendProjectionText(_0x36252b,_0x441f73);}if(_0x1ca423[_0x5e8487(0x154)]===_0x5e8487(0x1cb)){const _0x468b5d=typeof _0x453686[_0x5e8487(0x1cb)]===_0x5e8487(0x17c)?_0x453686[_0x5e8487(0x1cb)]:'',_0x3a61a6=typeof _0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0x1cb)]===_0x5e8487(0x17c)?_0x1ca423[_0x5e8487(0x13a)][_0x5e8487(0x1cb)]:'';_0x16e7e7[_0x5e8487(0x1cb)]=appendProjectionText(_0x468b5d,_0x3a61a6);}return _0x16e7e7;}function appendProjectionText(_0x487a5f,_0x982f60){const _0x52b524=_0x2d6bcd,_0x3fe01b=''+_0x487a5f+_0x982f60;return _0x3fe01b[_0x52b524(0x15b)]<=0x3*-0x8a1+-0xbb*-0x5+0x3d4c?_0x3fe01b:_0x3fe01b[_0x52b524(0x1de)](0x2*-0x24e+-0x780+-0x3e*-0x32,-0x2ffa+-0x28e2+0x7feb)+'…';}function activeConversationItem(_0x5d033f){const _0xfc4edf=_0x2d6bcd;return _0x5d033f===_0xfc4edf(0x1e7)||_0x5d033f===_0xfc4edf(0x138);}function completedConversationItem(_0x3e012c){return!activeConversationItem(_0x3e012c);}function completedStatusForRun(_0x48311b){const _0xdee1d1=_0x2d6bcd;if(_0x48311b===_0xdee1d1(0x1a8))return _0xdee1d1(0x1a8);if(_0x48311b===_0xdee1d1(0x145))return _0xdee1d1(0x145);if(_0x48311b===_0xdee1d1(0x1c6))return _0xdee1d1(0x1c6);return _0xdee1d1(0x199);}function executionStatusForRun(_0x3d3773){const _0x515ed9=_0x2d6bcd;if(_0x3d3773===_0x515ed9(0x1c6))return _0x515ed9(0x1c6);if(_0x3d3773===_0x515ed9(0x1a8)||_0x3d3773===_0x515ed9(0x145))return _0x515ed9(0x1a8);if(_0x3d3773===_0x515ed9(0x1da))return _0x515ed9(0x1da);if(_0x3d3773===_0x515ed9(0xd4))return _0x515ed9(0xd4);return _0x515ed9(0x162);}function terminalExecution(_0x562ab7){const _0x10d2c1=_0x2d6bcd;return _0x562ab7===_0x10d2c1(0x1da)||_0x562ab7===_0x10d2c1(0x1c6)||_0x562ab7===_0x10d2c1(0x1a8);}function encodeCursor(_0x4600bd,_0x155ebd){const _0x39373d=_0x2d6bcd;return Buffer[_0x39373d(0x1c7)](JSON[_0x39373d(0x119)]({'scope':_0x4600bd,'value':_0x155ebd}))[_0x39373d(0x150)](_0x39373d(0x174));}function decodeCursor(_0x36e905,_0x410209){const _0xac5b3c=_0x2d6bcd;if(_0x36e905===undefined)return 0x1327*-0x2+-0x1*-0x58f+0x53*0x65;try{const _0x2c1121=JSON[_0xac5b3c(0xec)](Buffer[_0xac5b3c(0x1c7)](_0x36e905,_0xac5b3c(0x174))[_0xac5b3c(0x150)](_0xac5b3c(0x144)));return _0x2c1121[_0xac5b3c(0x18f)]===_0x410209&&Number[_0xac5b3c(0xe4)](_0x2c1121[_0xac5b3c(0x100)])&&_0x2c1121[_0xac5b3c(0x100)]>=-0x1e83+-0x1*-0xa9f+0x13e4?_0x2c1121[_0xac5b3c(0x100)]:0x71*-0x49+0xe45*-0x1+0x2e7e;}catch{return-0x1e0+0xb2*-0x29+0x1e62;}}
|
|
2
|
+
const _0x4cca08=_0x3e83;(function(_0x3075bd,_0x2c1da0){const _0x35d84a=_0x3e83,_0x254285=_0x3075bd();while(!![]){try{const _0x5929f5=-parseInt(_0x35d84a(0x130))/(0xcf1*0x3+-0x3b*0x24+-0x1e86)*(parseInt(_0x35d84a(0x1a5))/(0x7cc+0x1*0x16ca+-0x26*0xce))+parseInt(_0x35d84a(0x16d))/(-0x235+0x1*0x1655+-0x141d)*(-parseInt(_0x35d84a(0x132))/(0x33c+-0x15b+0x9f*-0x3))+parseInt(_0x35d84a(0x13d))/(-0x1*0x11ab+0xbba+0x2fb*0x2)+-parseInt(_0x35d84a(0x152))/(-0x40f*-0x1+-0x2113+0x7*0x426)*(-parseInt(_0x35d84a(0x153))/(0x21dc+-0x37*0x59+0x2*-0x75b))+parseInt(_0x35d84a(0x134))/(-0x2367+0x29*-0x68+0x3417)*(-parseInt(_0x35d84a(0x140))/(-0xcb6+0x191c+-0xc5d))+parseInt(_0x35d84a(0x17e))/(-0x734+-0x36+0x774)*(-parseInt(_0x35d84a(0x108))/(-0x1*0x263b+-0x20ab+0x46f1))+parseInt(_0x35d84a(0x101))/(0x5b2+0x21cd+-0x2773);if(_0x5929f5===_0x2c1da0)break;else _0x254285['push'](_0x254285['shift']());}catch(_0xb8a9e7){_0x254285['push'](_0x254285['shift']());}}}(_0x1a55,0x15f*-0x6c3+0x704c4+0xe5b28));import{randomUUID}from'node:crypto';export class NodeRuntimeState{[_0x4cca08(0x17d)];[_0x4cca08(0x165)];[_0x4cca08(0xf6)];[_0x4cca08(0x10f)];static [_0x4cca08(0x1ef)]=0x2704+-0x9*0x99+0x3*-0xb33;[_0x4cca08(0x1c4)]=new Map();[_0x4cca08(0x13c)]=new Map();[_0x4cca08(0x196)]=new Map();[_0x4cca08(0x1fa)]=new Map();[_0x4cca08(0x113)]=new Map();[_0x4cca08(0x162)]=new Map();[_0x4cca08(0x193)]=new Map();[_0x4cca08(0x15a)]=new Map();[_0x4cca08(0x11a)]=new Map();[_0x4cca08(0x16a)]=new Map();[_0x4cca08(0x1c7)]=new Map();[_0x4cca08(0xff)]=new Map();[_0x4cca08(0x173)]=new Map();[_0x4cca08(0x14a)]=new Set();[_0x4cca08(0x1b9)]=new Set();constructor(_0x1372b2,_0x169a8e,_0x2eb11f=Date[_0x4cca08(0xf6)],_0x55eee9){const _0x52a448=_0x4cca08;this[_0x52a448(0x17d)]=_0x1372b2,this[_0x52a448(0x165)]=_0x169a8e,this[_0x52a448(0xf6)]=_0x2eb11f,this[_0x52a448(0x10f)]=_0x55eee9;}[_0x4cca08(0x1cf)](){const _0x323f71=_0x4cca08;return this[_0x323f71(0x1c7)][_0x323f71(0x1da)];}[_0x4cca08(0x1c2)](_0x4ea88a){const _0x12b064=_0x4cca08,_0x28e3cd=this[_0x12b064(0x1c7)][_0x12b064(0x116)](_0x4ea88a);return _0x28e3cd===undefined?undefined:this[_0x12b064(0x13c)][_0x12b064(0x116)](_0x28e3cd);}[_0x4cca08(0x112)](_0x9b4736){const _0x5b1b72=_0x4cca08;return this[_0x5b1b72(0x1c7)][_0x5b1b72(0xfb)](_0x9b4736);}[_0x4cca08(0x137)](_0x48e402){const _0x34e3c5=_0x4cca08;if(this[_0x34e3c5(0x165)](_0x48e402[_0x34e3c5(0x194)])===undefined)throw new Error(_0x34e3c5(0x104));const _0x1ced4f=this[_0x34e3c5(0xf6)](),_0x39c0f9=_0x48e402[_0x34e3c5(0x1ce)]??randomUUID();if(this[_0x34e3c5(0x1c4)][_0x34e3c5(0xfb)](_0x39c0f9))throw new Error(_0x34e3c5(0x1db));const _0x1a9e28={'id':_0x39c0f9,'nodeId':this[_0x34e3c5(0x17d)](),'workspaceId':_0x48e402[_0x34e3c5(0x194)],'runner':_0x48e402[_0x34e3c5(0xea)],'externalSessionId':_0x48e402[_0x34e3c5(0x1ce)]??null,'nativeControl':_0x48e402[_0x34e3c5(0x1ce)]===undefined?_0x34e3c5(0x14b):_0x48e402[_0x34e3c5(0x1ea)]??_0x34e3c5(0x19c),'channelToken':null,'cwd':_0x48e402[_0x34e3c5(0x121)],'model':_0x48e402[_0x34e3c5(0x19f)]??null,'effort':_0x48e402[_0x34e3c5(0x1f2)]??null,'access':_0x48e402[_0x34e3c5(0x179)]??null,'customTitle':null,'runnerTitle':_0x48e402[_0x34e3c5(0x150)]?.[_0x34e3c5(0x12b)]()[_0x34e3c5(0x166)](0x2*0x117c+-0x4da+-0x1e1e,0x2b1*-0x4+0x19a0+-0xe3c)||null,'pinnedAt':null,'titleSource':_0x34e3c5(0xfd),'lastActivityAt':_0x1ced4f,'createdAt':_0x1ced4f};return this[_0x34e3c5(0x1c4)][_0x34e3c5(0x100)](_0x1a9e28['id'],_0x1a9e28),_0x1a9e28;}[_0x4cca08(0xe5)](_0x3939af){const _0x2dc290=_0x4cca08;if(this[_0x2dc290(0x1b9)][_0x2dc290(0xfb)](_0x3939af[_0x2dc290(0x106)]))throw new Error(_0x2dc290(0x127));let _0x258d6d=this[_0x2dc290(0x1c4)][_0x2dc290(0x116)](_0x3939af[_0x2dc290(0x139)]);if(_0x258d6d===undefined){const _0x143173=this[_0x2dc290(0xf6)]();_0x258d6d={'id':_0x3939af[_0x2dc290(0x139)],'nodeId':this[_0x2dc290(0x17d)](),'workspaceId':_0x3939af[_0x2dc290(0x194)]??_0x2dc290(0x149)+_0x3939af[_0x2dc290(0x121)],'runner':_0x3939af[_0x2dc290(0xea)],'externalSessionId':_0x3939af[_0x2dc290(0x1ce)]??null,'nativeControl':_0x3939af[_0x2dc290(0x1ce)]===undefined?_0x2dc290(0x14b):_0x2dc290(0x19c),'channelToken':null,'cwd':_0x3939af[_0x2dc290(0x121)],'model':null,'effort':null,'access':null,'customTitle':null,'runnerTitle':null,'pinnedAt':null,'titleSource':_0x2dc290(0xfd),'lastActivityAt':_0x143173,'createdAt':_0x143173},this[_0x2dc290(0x1c4)][_0x2dc290(0x100)](_0x258d6d['id'],_0x258d6d);}const _0x25a7b1=this[_0x2dc290(0x184)](_0x3939af[_0x2dc290(0x106)]);if(_0x25a7b1!==undefined)return _0x25a7b1;const _0x5952ce=this[_0x2dc290(0xf6)](),_0x27ab4e={'id':_0x3939af[_0x2dc290(0x106)],'sessionId':_0x258d6d['id'],'nodeId':this[_0x2dc290(0x17d)](),'workspaceId':_0x258d6d[_0x2dc290(0x194)],'runner':_0x258d6d[_0x2dc290(0xea)],'status':_0x2dc290(0x10d),'recoveryState':_0x2dc290(0x131),'version':0x0,'clientMessageId':_0x3939af[_0x2dc290(0x111)]??_0x3939af[_0x2dc290(0x106)],'createdAt':_0x5952ce,'startedAt':_0x5952ce,'completedAt':null,'updatedAt':_0x5952ce};return this[_0x2dc290(0x13c)][_0x2dc290(0x100)](_0x27ab4e['id'],_0x27ab4e),this[_0x2dc290(0x1c7)][_0x2dc290(0x100)](_0x27ab4e[_0x2dc290(0x139)],_0x27ab4e['id']),this[_0x2dc290(0x1e1)](_0x27ab4e,_0x258d6d),_0x27ab4e;}[_0x4cca08(0x1a4)](_0x12eaaf){const _0x5a3f55=_0x4cca08;return this[_0x5a3f55(0x1c4)][_0x5a3f55(0x116)](_0x12eaaf)??[...this[_0x5a3f55(0x1c4)][_0x5a3f55(0x119)]()][_0x5a3f55(0xfc)](_0x7080fa=>_0x7080fa[_0x5a3f55(0x1ce)]===_0x12eaaf);}[_0x4cca08(0x195)](){const _0x4acf8d=_0x4cca08;return[...this[_0x4acf8d(0x1c4)][_0x4acf8d(0x119)]()][_0x4acf8d(0x1b4)]((_0x4a6c53,_0x530c33)=>_0x530c33[_0x4acf8d(0x1ed)]-_0x4a6c53[_0x4acf8d(0x1ed)]);}[_0x4cca08(0x11c)](_0x405c7a,_0x40bda3){const _0xc0fa98=_0x4cca08;return[...this[_0xc0fa98(0x1c4)][_0xc0fa98(0x119)]()][_0xc0fa98(0xfc)](_0x4adba5=>_0x4adba5[_0xc0fa98(0xea)]===_0x405c7a&&_0x4adba5[_0xc0fa98(0x1ce)]===_0x40bda3);}[_0x4cca08(0x169)](_0xfe2017){const _0x3ef7ae=_0x4cca08;return this[_0x3ef7ae(0x102)](_0xfe2017[_0x3ef7ae(0x139)],{'model':_0xfe2017[_0x3ef7ae(0x19f)],'effort':_0xfe2017[_0x3ef7ae(0x1f2)],'access':_0xfe2017[_0x3ef7ae(0x179)]});}[_0x4cca08(0x115)](_0x401f05,_0x5a26d8){const _0x12aafa=_0x4cca08;return this[_0x12aafa(0x102)](_0x401f05,{'access':_0x5a26d8});}[_0x4cca08(0x12c)](_0x50773d,_0x442c4d){const _0x57206a=_0x4cca08;this[_0x57206a(0x102)](_0x50773d,{'nativeControl':_0x442c4d});}[_0x4cca08(0x1d6)](_0x2f311d,_0x4f0eac){const _0x259f3e=_0x4cca08;if(_0x4f0eac[_0x259f3e(0xe7)]===-0xb5*-0x9+-0xe8a+-0x82d*-0x1)throw new Error(_0x259f3e(0x14e));this[_0x259f3e(0x1c9)](_0x2f311d,_0x4f0eac);}[_0x4cca08(0x1c9)](_0x223885,_0x5739c0){const _0x1b91b5=_0x4cca08;if(_0x5739c0[_0x1b91b5(0xe7)]===-0x4d*-0x17+-0x34*0x1+-0x3*0x23d)throw new Error(_0x1b91b5(0x14e));const _0x4ed2e7=this[_0x1b91b5(0x10a)](_0x223885);if(_0x223885===_0x5739c0)return this[_0x1b91b5(0x102)](_0x223885,{'externalSessionId':_0x5739c0,'nativeControl':_0x1b91b5(0x14b)});const _0x404945=this[_0x1b91b5(0x1c4)][_0x1b91b5(0x116)](_0x5739c0);if(_0x404945!==undefined&&_0x404945['id']!==_0x4ed2e7['id'])throw new Error(_0x1b91b5(0x1db));const _0x12c719={..._0x4ed2e7,'id':_0x5739c0,'externalSessionId':_0x5739c0,'nativeControl':_0x1b91b5(0x14b)},_0x54e663=this[_0x1b91b5(0xeb)](_0x223885),_0x57cf3e=this[_0x1b91b5(0x11a)][_0x1b91b5(0x116)](_0x223885)??[],_0x1a95d7=this[_0x1b91b5(0xff)][_0x1b91b5(0x116)](_0x223885),_0xa882ea=this[_0x1b91b5(0x173)][_0x1b91b5(0x116)](_0x223885),_0x52e1f7=this[_0x1b91b5(0x1c7)][_0x1b91b5(0x116)](_0x223885),_0x29efe6=this[_0x1b91b5(0x14a)][_0x1b91b5(0xfb)](_0x223885);this[_0x1b91b5(0x1c4)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x1c4)][_0x1b91b5(0x100)](_0x5739c0,_0x12c719);for(const _0xe94e8 of _0x54e663)this[_0x1b91b5(0x13c)][_0x1b91b5(0x100)](_0xe94e8['id'],{..._0xe94e8,'sessionId':_0x5739c0});this[_0x1b91b5(0x11a)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x11a)][_0x1b91b5(0x100)](_0x5739c0,_0x57cf3e[_0x1b91b5(0x1ca)](_0x1d8d75=>({..._0x1d8d75,'sessionId':_0x5739c0,'items':_0x1d8d75[_0x1b91b5(0x18a)][_0x1b91b5(0x1ca)](_0xbe6eca=>({..._0xbe6eca,'sessionId':_0x5739c0}))})));if(_0x1a95d7!==undefined){this[_0x1b91b5(0xff)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0xff)][_0x1b91b5(0x100)](_0x5739c0,_0x1a95d7);for(const _0x2b8bf6 of _0x1a95d7){const _0x19e8c9=this[_0x1b91b5(0x113)][_0x1b91b5(0x116)](_0x2b8bf6);if(_0x19e8c9!==undefined)this[_0x1b91b5(0x113)][_0x1b91b5(0x100)](_0x2b8bf6,{..._0x19e8c9,'sessionId':_0x5739c0});}}_0xa882ea!==undefined&&(this[_0x1b91b5(0x173)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x173)][_0x1b91b5(0x100)](_0x5739c0,_0xa882ea));_0x52e1f7!==undefined&&(this[_0x1b91b5(0x1c7)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x1c7)][_0x1b91b5(0x100)](_0x5739c0,_0x52e1f7));_0x29efe6&&(this[_0x1b91b5(0x14a)][_0x1b91b5(0x12d)](_0x223885),this[_0x1b91b5(0x14a)][_0x1b91b5(0x189)](_0x5739c0));for(const [_0x4fdcd5,_0x2529d2]of[...this[_0x1b91b5(0x196)]]){if(!_0x4fdcd5[_0x1b91b5(0x1c0)](_0x223885+'\x00'))continue;this[_0x1b91b5(0x196)][_0x1b91b5(0x12d)](_0x4fdcd5),this[_0x1b91b5(0x196)][_0x1b91b5(0x100)](''+_0x5739c0+_0x4fdcd5[_0x1b91b5(0x166)](_0x223885[_0x1b91b5(0xe7)]),_0x2529d2);}for(const [_0x43a598,_0x8b81d3]of this[_0x1b91b5(0x193)])if(_0x8b81d3[_0x1b91b5(0x139)]===_0x223885)this[_0x1b91b5(0x193)][_0x1b91b5(0x100)](_0x43a598,{..._0x8b81d3,'sessionId':_0x5739c0});for(const _0x30f61c of _0x54e663){const _0x42d3c8=this[_0x1b91b5(0x122)](_0x30f61c['id']);this[_0x1b91b5(0x1e1)](_0x42d3c8,_0x12c719);}return _0x12c719;}[_0x4cca08(0x154)](_0x537b13,_0xc6c24a){const _0x4ed041=_0x4cca08;if(_0xc6c24a[_0x4ed041(0xe7)]<-0x3b*0x28+0x1*0x13d9+-0xa91)throw new Error(_0x4ed041(0x174));this[_0x4ed041(0x102)](_0x537b13,{'channelToken':_0xc6c24a});}[_0x4cca08(0x1d5)](_0x277ac8){const _0x581890=_0x4cca08,_0x30019f=this[_0x581890(0x10a)](_0x277ac8[_0x581890(0x139)]),_0x54595e=_0x277ac8[_0x581890(0x1a0)]===undefined?_0x30019f[_0x581890(0x1a0)]:_0x277ac8[_0x581890(0x1a0)]?.[_0x581890(0x12b)]()||null;if(_0x54595e!==null&&_0x54595e[_0x581890(0xe7)]>-0x1*0x1df+-0xbc5+0x2c*0x53)throw new Error(_0x581890(0x1a6));return this[_0x581890(0x102)](_0x30019f['id'],{'customTitle':_0x54595e,'pinnedAt':_0x277ac8[_0x581890(0x1e9)]===undefined?_0x30019f[_0x581890(0x15b)]:_0x277ac8[_0x581890(0x1e9)]?this[_0x581890(0xf6)]():null,'titleSource':_0x54595e===null?_0x581890(0xfd):_0x581890(0x15d)});}[_0x4cca08(0x1d3)](_0xfc9b34,_0x36c30d){const _0x37fb7a=_0x4cca08,_0x200f1d=this[_0x37fb7a(0x10a)](_0xfc9b34),_0x1cecdc=_0x36c30d[_0x37fb7a(0x12b)]()[_0x37fb7a(0x13b)](/\s+/g,'\x20')[_0x37fb7a(0x166)](-0x907+0x121e+0xb3*-0xd,-0x3*-0x203+0x1*-0xcc7+0x75e);if(_0x1cecdc[_0x37fb7a(0xe7)]===-0x127d+0x23d5+0x5*-0x378||_0x200f1d[_0x37fb7a(0x1a0)]!==null||_0x200f1d[_0x37fb7a(0x1aa)]!==null)return _0x200f1d;return this[_0x37fb7a(0x102)](_0xfc9b34,{'runnerTitle':_0x1cecdc,'titleSource':_0x37fb7a(0xfd)});}[_0x4cca08(0x1fd)](_0xb89e45,_0x333045){const _0xb25660=_0x4cca08,_0x18716c=this[_0xb25660(0x10a)](_0xb89e45),_0x5a9e71=_0x333045[_0xb25660(0x12b)]()[_0xb25660(0x13b)](/\s+/g,'\x20')[_0xb25660(0x166)](0x1*0xa6f+-0x18*-0x20+0x1*-0xd6f,-0x178e+-0x405+0x1c33);if(_0x5a9e71[_0xb25660(0xe7)]===-0x33*0x65+0xe97+0x588||_0x18716c[_0xb25660(0x1a0)]!==null||_0x18716c[_0xb25660(0x1aa)]===_0x5a9e71)return _0x18716c;return this[_0xb25660(0x102)](_0xb89e45,{'runnerTitle':_0x5a9e71,'titleSource':_0xb25660(0x17f)});}[_0x4cca08(0x1d0)](_0x286362){const _0x45ed76=_0x4cca08,_0x52e9c5=_0x286362[_0x45ed76(0x139)]+'\x00'+_0x286362[_0x45ed76(0x111)],_0x15b1d8=this[_0x45ed76(0x196)][_0x45ed76(0x116)](_0x52e9c5);if(_0x15b1d8!==undefined){if(_0x15b1d8[_0x45ed76(0x158)]!==_0x45ed76(0x129))throw new Error(_0x45ed76(0xe9));return{'run':this[_0x45ed76(0x122)](_0x15b1d8['id']),'created':![]};}const _0x46e94e=this[_0x45ed76(0x10a)](_0x286362[_0x45ed76(0x139)]);if(this[_0x45ed76(0x1c2)](_0x46e94e['id'])!==undefined)throw new Error(_0x45ed76(0x176));const _0x1782a5=this[_0x45ed76(0xf6)](),_0x3d5232={'id':_0x286362[_0x45ed76(0x106)]??randomUUID(),'sessionId':_0x46e94e['id'],'nodeId':this[_0x45ed76(0x17d)](),'workspaceId':_0x46e94e[_0x45ed76(0x194)],'runner':_0x46e94e[_0x45ed76(0xea)],'status':_0x45ed76(0x10d),'recoveryState':_0x45ed76(0x131),'version':0x0,'clientMessageId':_0x286362[_0x45ed76(0x111)],..._0x286362[_0x45ed76(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x286362[_0x45ed76(0x1dc)]},'createdAt':_0x1782a5,'startedAt':_0x1782a5,'completedAt':null,'updatedAt':_0x1782a5},_0x1cb290=this[_0x45ed76(0x160)](_0x3d5232['id'],_0x286362[_0x45ed76(0x1f3)]??[]),_0x2c998f={'id':randomUUID(),'sessionId':_0x46e94e['id'],'turnId':'','runId':_0x3d5232['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x45ed76(0x138),'status':_0x45ed76(0x163),'payload':{'clientMessageId':_0x286362[_0x45ed76(0x111)],'text':_0x286362[_0x45ed76(0x118)],'contexts':[],'attachments':_0x1cb290,'delivery':_0x45ed76(0x1a2)},'startedAt':_0x1782a5,'completedAt':_0x1782a5},_0x4e9e10={'id':randomUUID(),'sessionId':_0x46e94e['id'],'runId':_0x3d5232['id'],'userItemId':_0x2c998f['id'],'status':_0x45ed76(0x1b3),'model':_0x46e94e[_0x45ed76(0x19f)],'effort':_0x46e94e[_0x45ed76(0x1f2)],'access':_0x46e94e[_0x45ed76(0x179)],'items':[_0x2c998f],'startedAt':_0x1782a5,'completedAt':null},_0x1f9e20={..._0x4e9e10,'items':[{..._0x2c998f,'turnId':_0x4e9e10['id']}]};return this[_0x45ed76(0x13c)][_0x45ed76(0x100)](_0x3d5232['id'],_0x3d5232),this[_0x45ed76(0x196)][_0x45ed76(0x100)](_0x52e9c5,{'kind':_0x45ed76(0x129),'id':_0x3d5232['id']}),this[_0x45ed76(0x1c7)][_0x45ed76(0x100)](_0x46e94e['id'],_0x3d5232['id']),this[_0x45ed76(0x11a)][_0x45ed76(0x100)](_0x46e94e['id'],[...this[_0x45ed76(0x11a)][_0x45ed76(0x116)](_0x46e94e['id'])??[],_0x1f9e20]),this[_0x45ed76(0x102)](_0x46e94e['id'],{'lastActivityAt':_0x1782a5}),this[_0x45ed76(0x1e1)](_0x3d5232,this[_0x45ed76(0x10a)](_0x46e94e['id'])),{'run':_0x3d5232,'created':!![]};}[_0x4cca08(0x1e3)](_0x218801){const _0x29d08e=_0x4cca08,_0x252cd7=_0x218801[_0x29d08e(0x139)]+'\x00'+_0x218801[_0x29d08e(0x111)],_0x3e2216=this[_0x29d08e(0x196)][_0x29d08e(0x116)](_0x252cd7);if(_0x3e2216!==undefined){if(_0x3e2216[_0x29d08e(0x158)]!==_0x29d08e(0x1b2))throw new Error(_0x29d08e(0x143));return{'item':this[_0x29d08e(0x17c)](_0x3e2216['id']),'created':![]};}const _0x4b64f7=this[_0x29d08e(0x10a)](_0x218801[_0x29d08e(0x139)]),_0x23e1bb=this[_0x29d08e(0x1c2)](_0x4b64f7['id']);if(_0x23e1bb!==undefined&&_0x23e1bb[_0x29d08e(0x1dc)]!==undefined&&_0x218801[_0x29d08e(0x1dc)]!==_0x23e1bb[_0x29d08e(0x1dc)])throw new Error(_0x29d08e(0x1e2));const _0x313036=this[_0x29d08e(0xf6)](),_0x18c6ff={'id':_0x218801[_0x29d08e(0x18e)]??randomUUID(),'sessionId':_0x4b64f7['id'],'workspaceId':_0x4b64f7[_0x29d08e(0x194)],'runner':_0x4b64f7[_0x29d08e(0xea)],'clientMessageId':_0x218801[_0x29d08e(0x111)],'content':_0x218801[_0x29d08e(0x118)],'attachments':_0x218801[_0x29d08e(0x1f3)]??[],..._0x218801[_0x29d08e(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x218801[_0x29d08e(0x1dc)]},'createdAt':_0x313036};return this[_0x29d08e(0x113)][_0x29d08e(0x100)](_0x18c6ff['id'],_0x18c6ff),this[_0x29d08e(0x196)][_0x29d08e(0x100)](_0x252cd7,{'kind':_0x29d08e(0x1b2),'id':_0x18c6ff['id']}),this[_0x29d08e(0xff)][_0x29d08e(0x100)](_0x4b64f7['id'],[...this[_0x29d08e(0xff)][_0x29d08e(0x116)](_0x4b64f7['id'])??[],_0x18c6ff['id']]),this[_0x29d08e(0x177)](_0x4b64f7['id']),{'item':_0x18c6ff,'created':!![]};}[_0x4cca08(0x1b0)](_0x28430d){const _0x122fd6=_0x4cca08;return{'version':this[_0x122fd6(0x173)][_0x122fd6(0x116)](_0x28430d)??0x220+0x65*0x4+0x1*-0x3b4,'paused':this[_0x122fd6(0x14a)][_0x122fd6(0xfb)](_0x28430d),'itemIds':this[_0x122fd6(0xff)][_0x122fd6(0x116)](_0x28430d)??[]};}[_0x4cca08(0x10b)](_0x363002){const _0x4f2141=_0x4cca08;return this[_0x4f2141(0x113)][_0x4f2141(0x116)](_0x363002);}[_0x4cca08(0x13e)](_0x258f18){const _0x40a0c8=_0x4cca08;if(this[_0x40a0c8(0x14a)][_0x40a0c8(0xfb)](_0x258f18))return undefined;const _0x304ee5=this[_0x40a0c8(0x1c2)](_0x258f18);if(_0x304ee5===undefined)return undefined;const _0x5a4fbd=this[_0x40a0c8(0xff)][_0x40a0c8(0x116)](_0x258f18)??[],_0x99dcfd=_0x5a4fbd[-0xaf8+0x18c2+0x5*-0x2c2];if(_0x99dcfd===undefined)return undefined;this[_0x40a0c8(0xff)][_0x40a0c8(0x100)](_0x258f18,_0x5a4fbd[_0x40a0c8(0x166)](-0xfce+-0x72*-0x2e+-0x4ad)),this[_0x40a0c8(0x177)](_0x258f18);const _0x2f97f9=this[_0x40a0c8(0x17c)](_0x99dcfd);this[_0x40a0c8(0x113)][_0x40a0c8(0x12d)](_0x99dcfd),this[_0x40a0c8(0x196)][_0x40a0c8(0x100)](_0x2f97f9[_0x40a0c8(0x139)]+'\x00'+_0x2f97f9[_0x40a0c8(0x111)],{'kind':_0x40a0c8(0x129),'id':_0x304ee5['id']});const _0x5ab6cc=this[_0x40a0c8(0x125)](_0x304ee5,_0x2f97f9[_0x40a0c8(0x111)],_0x2f97f9[_0x40a0c8(0x118)],_0x2f97f9[_0x40a0c8(0x1f3)]);return{'item':_0x2f97f9,'turn':_0x5ab6cc};}[_0x4cca08(0x12f)](_0x3ee2cb){const _0x59e5b4=_0x4cca08,_0x51e467=this[_0x59e5b4(0x17c)](_0x3ee2cb);if(this[_0x59e5b4(0x1c2)](_0x51e467[_0x59e5b4(0x139)])!==undefined)throw new Error(_0x59e5b4(0x176));const _0x202ecf=this[_0x59e5b4(0xff)][_0x59e5b4(0x116)](_0x51e467[_0x59e5b4(0x139)])??[];if(_0x202ecf[0x629+-0x1c28+0x15ff]!==_0x3ee2cb)throw new Error(_0x59e5b4(0x1d8));this[_0x59e5b4(0xff)][_0x59e5b4(0x100)](_0x51e467[_0x59e5b4(0x139)],_0x202ecf[_0x59e5b4(0x166)](-0x62f*0x4+0xde+0x17df*0x1)),this[_0x59e5b4(0x113)][_0x59e5b4(0x12d)](_0x3ee2cb),this[_0x59e5b4(0x196)][_0x59e5b4(0x12d)](_0x51e467[_0x59e5b4(0x139)]+'\x00'+_0x51e467[_0x59e5b4(0x111)]),this[_0x59e5b4(0x177)](_0x51e467[_0x59e5b4(0x139)]);const _0x50a164=this[_0x59e5b4(0x1d0)]({'sessionId':_0x51e467[_0x59e5b4(0x139)],'clientMessageId':_0x51e467[_0x59e5b4(0x111)],'content':_0x51e467[_0x59e5b4(0x118)],..._0x51e467[_0x59e5b4(0x1f3)][_0x59e5b4(0xe7)]===0x25*0x37+-0x1d5e+0x156b?{}:{'attachments':_0x51e467[_0x59e5b4(0x1f3)]},..._0x51e467[_0x59e5b4(0x1dc)]===undefined?{}:{'initiatedByUserId':_0x51e467[_0x59e5b4(0x1dc)]}}),_0x3c410d=this[_0x59e5b4(0x123)](_0x50a164[_0x59e5b4(0x129)]['id']);if(_0x3c410d===undefined)throw new Error(_0x59e5b4(0x1a7));return{'run':_0x50a164[_0x59e5b4(0x129)],'turn':_0x3c410d};}[_0x4cca08(0x19e)](_0x36f7f2){const _0x26648a=_0x4cca08;this[_0x26648a(0x14a)][_0x26648a(0x189)](_0x36f7f2),this[_0x26648a(0x177)](_0x36f7f2);}[_0x4cca08(0xf9)](_0x2d0e3d){const _0x2f2387=_0x4cca08;if(!this[_0x2f2387(0x14a)][_0x2f2387(0x12d)](_0x2d0e3d))return;this[_0x2f2387(0x177)](_0x2d0e3d);}[_0x4cca08(0x18f)](_0x40f672,_0xab5f0f,_0x57e853){const _0xa7fc1c=_0x4cca08,_0x3ae31e=this[_0xa7fc1c(0xff)][_0xa7fc1c(0x116)](_0x40f672)??[];if(this[_0xa7fc1c(0x1b0)](_0x40f672)[_0xa7fc1c(0x172)]!==_0xab5f0f||_0x3ae31e[_0xa7fc1c(0xe7)]!==_0x57e853[_0xa7fc1c(0xe7)]||new Set(_0x3ae31e)[_0xa7fc1c(0x1da)]!==_0x3ae31e[_0xa7fc1c(0xe7)]||_0x3ae31e[_0xa7fc1c(0xf7)](_0x23f031=>!_0x57e853[_0xa7fc1c(0x1d9)](_0x23f031)))throw new Error(_0xa7fc1c(0x18c));if(_0x57e853[_0xa7fc1c(0xf7)](_0x2aabc8=>this[_0xa7fc1c(0x113)][_0xa7fc1c(0x116)](_0x2aabc8)?.[_0xa7fc1c(0x139)]!==_0x40f672))throw new Error(_0xa7fc1c(0x1d8));this[_0xa7fc1c(0xff)][_0xa7fc1c(0x100)](_0x40f672,[..._0x57e853]),this[_0xa7fc1c(0x177)](_0x40f672);}[_0x4cca08(0x1f7)](_0x183528){const _0x3ac4e3=_0x4cca08,_0x1c2a09=this[_0x3ac4e3(0x17c)](_0x183528),_0x369605=this[_0x3ac4e3(0xff)][_0x3ac4e3(0x116)](_0x1c2a09[_0x3ac4e3(0x139)])??[];if(!_0x369605[_0x3ac4e3(0x1d9)](_0x183528))throw new Error(_0x3ac4e3(0x1d8));return this[_0x3ac4e3(0xff)][_0x3ac4e3(0x100)](_0x1c2a09[_0x3ac4e3(0x139)],[_0x183528,..._0x369605[_0x3ac4e3(0xee)](_0x55df81=>_0x55df81!==_0x183528)]),this[_0x3ac4e3(0x177)](_0x1c2a09[_0x3ac4e3(0x139)]),_0x1c2a09;}[_0x4cca08(0x1fb)](_0x34f10c,_0x270944){const _0x456dc2=_0x4cca08,_0x4096bd=this[_0x456dc2(0x17c)](_0x34f10c);if(!(this[_0x456dc2(0xff)][_0x456dc2(0x116)](_0x4096bd[_0x456dc2(0x139)])??[])[_0x456dc2(0x1d9)](_0x34f10c))throw new Error(_0x456dc2(0x1d8));const _0x69a7ca={..._0x4096bd,'content':_0x270944};return this[_0x456dc2(0x113)][_0x456dc2(0x100)](_0x34f10c,_0x69a7ca),this[_0x456dc2(0x177)](_0x4096bd[_0x456dc2(0x139)]),_0x69a7ca;}[_0x4cca08(0x178)](_0x48d2ec,_0x438ebf){const _0x1dc1ca=_0x4cca08,_0x429cc4=this[_0x1dc1ca(0x17c)](_0x48d2ec),_0x268eea={..._0x429cc4,'attachments':_0x438ebf};return this[_0x1dc1ca(0x113)][_0x1dc1ca(0x100)](_0x48d2ec,_0x268eea),_0x268eea;}[_0x4cca08(0x182)](_0xd41657){const _0x15981f=_0x4cca08,_0x284eb6=this[_0x15981f(0x17c)](_0xd41657),_0x339367=this[_0x15981f(0xff)][_0x15981f(0x116)](_0x284eb6[_0x15981f(0x139)])??[];if(!_0x339367[_0x15981f(0x1d9)](_0xd41657))throw new Error(_0x15981f(0x1d8));this[_0x15981f(0xff)][_0x15981f(0x100)](_0x284eb6[_0x15981f(0x139)],_0x339367[_0x15981f(0xee)](_0x34112e=>_0x34112e!==_0xd41657)),this[_0x15981f(0x177)](_0x284eb6[_0x15981f(0x139)]),this[_0x15981f(0x113)][_0x15981f(0x12d)](_0xd41657);for(const [_0x4f83b9,_0x111e85]of this[_0x15981f(0x196)])if(_0x111e85[_0x15981f(0x158)]===_0x15981f(0x1b2)&&_0x111e85['id']===_0xd41657)this[_0x15981f(0x196)][_0x15981f(0x12d)](_0x4f83b9);}[_0x4cca08(0xf0)](_0xa23421){const _0x20770d=_0x4cca08,_0x134140=this[_0x20770d(0x122)](_0xa23421),_0x2bf78d=(this[_0x20770d(0x11a)][_0x20770d(0x116)](_0x134140[_0x20770d(0x139)])??[])[_0x20770d(0x1af)](_0x4c686b=>_0x4c686b[_0x20770d(0x106)]===_0xa23421),_0x3e51c6=_0x2bf78d?.[_0x20770d(0x18a)][_0x20770d(0xfc)](_0x56d18a=>_0x56d18a['id']===_0x2bf78d[_0x20770d(0x1ba)]);return isRecord(_0x3e51c6?.[_0x20770d(0x114)])&&typeof _0x3e51c6[_0x20770d(0x114)][_0x20770d(0x124)]===_0x20770d(0xf8)?_0x3e51c6[_0x20770d(0x114)][_0x20770d(0x124)]:'';}[_0x4cca08(0x168)](_0x56158a,_0x5a66d6){const _0x4f06df=_0x4cca08,_0x5aa816=this[_0x4f06df(0x160)](_0x56158a,_0x5a66d6);this[_0x4f06df(0x19a)](_0x56158a,_0x5d6b50=>({..._0x5d6b50,'items':_0x5d6b50[_0x4f06df(0x18a)][_0x4f06df(0x1ca)](_0x4e3f02=>_0x4e3f02['id']===_0x5d6b50[_0x4f06df(0x1ba)]&&isRecord(_0x4e3f02[_0x4f06df(0x114)])?{..._0x4e3f02,'payload':{..._0x4e3f02[_0x4f06df(0x114)],'attachments':_0x5aa816}}:_0x4e3f02)}));}[_0x4cca08(0x184)](_0x475067){const _0x11f63e=_0x4cca08,_0x132b7e=this[_0x11f63e(0x162)][_0x11f63e(0x116)](_0x475067)?.[_0x11f63e(0x106)]??_0x475067;return this[_0x11f63e(0x13c)][_0x11f63e(0x116)](_0x132b7e);}[_0x4cca08(0x13a)](_0x5b5275,_0x34b20c){const _0xb734be=_0x4cca08,_0x1c452d=this[_0xb734be(0x196)][_0xb734be(0x116)](_0x5b5275+'\x00'+_0x34b20c);return _0x1c452d?.[_0xb734be(0x158)]===_0xb734be(0x129)?this[_0xb734be(0x13c)][_0xb734be(0x116)](_0x1c452d['id']):undefined;}[_0x4cca08(0xf2)](_0x196e9b,_0x34cb42){const _0x43b595=_0x4cca08,_0x3996fe=this[_0x43b595(0x196)][_0x43b595(0x116)](_0x196e9b+'\x00'+_0x34cb42);if(_0x3996fe===undefined)return undefined;if(_0x3996fe[_0x43b595(0x158)]===_0x43b595(0x129))return{'kind':_0x43b595(0x129),'run':this[_0x43b595(0x122)](_0x3996fe['id'])};const _0x4f39c9=this[_0x43b595(0x17c)](_0x3996fe['id']),_0x3e2291=this[_0x43b595(0x1c2)](_0x196e9b);if(_0x3e2291===undefined)throw new Error(_0x43b595(0x1c3));return{'kind':_0x43b595(0x1b2),'item':_0x4f39c9,'run':_0x3e2291};}[_0x4cca08(0x110)](_0x3462c9,_0x3fd810){const _0x488d18=_0x4cca08;return this[_0x488d18(0x1fa)][_0x488d18(0x116)](_0x3462c9+'\x00'+_0x3fd810);}[_0x4cca08(0x1bd)](_0x901ab,_0x5b5c3f){const _0x1c802b=_0x4cca08,_0x4695f4=[...this[_0x1c802b(0x196)]][_0x1c802b(0xfc)](([,_0x111d3e])=>_0x111d3e['id']===_0x901ab);if(_0x4695f4===undefined)return;this[_0x1c802b(0x1fa)][_0x1c802b(0x100)](_0x4695f4[0x15a1+0x23b3+-0x3954],_0x5b5c3f);if(this[_0x1c802b(0x1fa)][_0x1c802b(0x1da)]>-0x1fdc+0x1*0x2375+0x67)this[_0x1c802b(0x1fa)][_0x1c802b(0x12d)](this[_0x1c802b(0x1fa)][_0x1c802b(0x180)]()[_0x1c802b(0x17a)]()[_0x1c802b(0x11d)]);}[_0x4cca08(0xeb)](_0x320cfb){const _0x53248e=_0x4cca08;return[...this[_0x53248e(0x13c)][_0x53248e(0x119)]()][_0x53248e(0xee)](_0x37ac10=>_0x37ac10[_0x53248e(0x139)]===_0x320cfb)[_0x53248e(0x1b4)]((_0x41607a,_0x444b89)=>_0x444b89[_0x53248e(0x10e)]-_0x41607a[_0x53248e(0x10e)]);}[_0x4cca08(0xef)](_0x42ae07,_0xbb3474){const _0x4a2f89=_0x4cca08,_0x3bef96=this[_0x4a2f89(0x162)][_0x4a2f89(0x116)](_0x42ae07)?.[_0x4a2f89(0x106)]??_0x42ae07,_0x44aaa2=this[_0x4a2f89(0x122)](_0x3bef96);if(!transitionAllowed(_0x44aaa2[_0x4a2f89(0x1a8)],_0xbb3474))throw new Error(_0x4a2f89(0xe6));const _0x518ac0=this[_0x4a2f89(0xf6)](),_0x24d740={..._0x44aaa2,'status':_0xbb3474,'version':_0x44aaa2[_0x4a2f89(0x172)]+(-0x7eb*-0x3+-0xb*-0x3+-0x17e1),'completedAt':terminal(_0xbb3474)?_0x518ac0:_0x44aaa2[_0x4a2f89(0x1f1)],'updatedAt':_0x518ac0};this[_0x4a2f89(0x13c)][_0x4a2f89(0x100)](_0x3bef96,_0x24d740),this[_0x4a2f89(0x1e1)](_0x24d740,this[_0x4a2f89(0x10a)](_0x24d740[_0x4a2f89(0x139)]));if(terminal(_0xbb3474)&&this[_0x4a2f89(0x1c7)][_0x4a2f89(0x116)](_0x24d740[_0x4a2f89(0x139)])===_0x24d740['id'])this[_0x4a2f89(0x1c7)][_0x4a2f89(0x12d)](_0x24d740[_0x4a2f89(0x139)]);return this[_0x4a2f89(0x19a)](_0x24d740['id'],_0x45064c=>({..._0x45064c,'status':_0xbb3474,'completedAt':terminal(_0xbb3474)?this[_0x4a2f89(0xf6)]():_0x45064c[_0x4a2f89(0x1f1)],'items':terminal(_0xbb3474)?_0x45064c[_0x4a2f89(0x18a)][_0x4a2f89(0x1ca)](_0x3c49b4=>activeConversationItem(_0x3c49b4[_0x4a2f89(0x1a8)])?{..._0x3c49b4,'status':completedStatusForRun(_0xbb3474),'completedAt':this[_0x4a2f89(0xf6)]()}:_0x3c49b4):_0x45064c[_0x4a2f89(0x18a)]})),_0x24d740;}[_0x4cca08(0x157)](_0x3e1a12){const _0xf2fc95=_0x4cca08,_0x5c95eb=this[_0xf2fc95(0x162)][_0xf2fc95(0x116)](_0x3e1a12[_0xf2fc95(0x106)]),_0x2a6260=_0x5c95eb?.[_0xf2fc95(0x106)]??_0x3e1a12[_0xf2fc95(0x106)];this[_0xf2fc95(0x122)](_0x2a6260);const _0x167c0a=this[_0xf2fc95(0x15a)][_0xf2fc95(0x116)](_0x2a6260)??0x97*0x1f+0xc0a+0x455*-0x7;if(_0x3e1a12[_0xf2fc95(0x1eb)]<=_0x167c0a)return undefined;if(_0x3e1a12[_0xf2fc95(0x1eb)]>_0x167c0a+(-0x1154*0x1+-0x2625+0x377a))throw new Error(_0xf2fc95(0xf3));const _0x444f72={'runId':_0x2a6260,'sequence':_0x3e1a12[_0xf2fc95(0x1eb)],'eventType':_0x3e1a12[_0xf2fc95(0x19d)],'payload':_0x3e1a12[_0xf2fc95(0x114)],..._0x3e1a12[_0xf2fc95(0x1a8)]===undefined?{}:{'status':_0x3e1a12[_0xf2fc95(0x1a8)]},'createdAt':this[_0xf2fc95(0xf6)]()};this[_0xf2fc95(0x15a)][_0xf2fc95(0x100)](_0x2a6260,_0x3e1a12[_0xf2fc95(0x1eb)]);if(_0x5c95eb!==undefined&&_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined){const _0x587b1e=executionStatusForRun(_0x3e1a12[_0xf2fc95(0x1a8)]);this[_0xf2fc95(0x162)][_0xf2fc95(0x100)](_0x3e1a12[_0xf2fc95(0x106)],{..._0x5c95eb,'status':_0x587b1e,'completedAt':terminal(_0x3e1a12[_0xf2fc95(0x1a8)])?_0x444f72[_0xf2fc95(0x10e)]:_0x5c95eb[_0xf2fc95(0x1f1)]});}if(_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined&&!terminal(_0x3e1a12[_0xf2fc95(0x1a8)]))this[_0xf2fc95(0xef)](_0x2a6260,_0x3e1a12[_0xf2fc95(0x1a8)]);this[_0xf2fc95(0x11b)](_0x444f72,_0x5c95eb?.[_0xf2fc95(0x126)]);if(_0x3e1a12[_0xf2fc95(0x1a8)]!==undefined&&terminal(_0x3e1a12[_0xf2fc95(0x1a8)])&&_0x5c95eb!==undefined)this[_0xf2fc95(0x1be)](_0x5c95eb[_0xf2fc95(0x126)],_0x3e1a12[_0xf2fc95(0x1a8)],_0x444f72[_0xf2fc95(0x10e)]);return _0x444f72;}[_0x4cca08(0x155)](_0x36b541){const _0x276afe=_0x4cca08,_0xfac270=this[_0x276afe(0x123)](_0x36b541);if(_0xfac270===undefined)return undefined;for(const [_0xbb3f43,_0x59af30]of this[_0x276afe(0x162)])if(_0x59af30[_0x276afe(0x106)]===_0x36b541&&_0x59af30[_0x276afe(0x126)]===_0xfac270['id']&&!terminalExecution(_0x59af30[_0x276afe(0x1a8)]))return _0xbb3f43;return undefined;}[_0x4cca08(0x15f)](_0x46d91b){const _0xf8e533=_0x4cca08,_0x4d4954=this[_0xf8e533(0x146)](_0x46d91b),_0x31fa9f=this[_0xf8e533(0x123)](_0x4d4954);if(_0x31fa9f===undefined||_0x31fa9f[_0xf8e533(0x1a8)]!==_0xf8e533(0x1b3))throw new Error(_0xf8e533(0x16c));const _0x228be6=[...this[_0xf8e533(0x162)][_0xf8e533(0x119)]()][_0xf8e533(0xfc)](_0x1fd737=>_0x1fd737[_0xf8e533(0x106)]===_0x4d4954&&_0x1fd737[_0xf8e533(0x126)]===_0x31fa9f['id']);if(_0x228be6!==undefined)return _0x228be6;const _0x12c287=this[_0xf8e533(0xf6)](),_0x43bfd1={'id':randomUUID(),'runId':_0x4d4954,'turnId':_0x31fa9f['id'],'status':_0xf8e533(0x10d),'startedAt':_0x12c287,'completedAt':null};return this[_0xf8e533(0x162)][_0xf8e533(0x100)](_0x43bfd1['id'],_0x43bfd1),this[_0xf8e533(0x19a)](_0x4d4954,_0x3a3c55=>({..._0x3a3c55,'items':_0x3a3c55[_0xf8e533(0x18a)][_0xf8e533(0x1ca)](_0x86d5bd=>_0x86d5bd['id']===_0x3a3c55[_0xf8e533(0x1ba)]&&isRecord(_0x86d5bd[_0xf8e533(0x114)])&&Array[_0xf8e533(0xe8)](_0x86d5bd[_0xf8e533(0x114)][_0xf8e533(0x1f3)])?{..._0x86d5bd,'payload':{..._0x86d5bd[_0xf8e533(0x114)],'attachments':_0x86d5bd[_0xf8e533(0x114)][_0xf8e533(0x1f3)][_0xf8e533(0x1ca)](_0x5cd152=>isRecord(_0x5cd152)&&typeof _0x5cd152[_0xf8e533(0x197)]===_0xf8e533(0x1c1)?{..._0x5cd152,'runId':_0x43bfd1['id']}:_0x5cd152)}}:_0x86d5bd)})),_0x43bfd1;}[_0x4cca08(0x146)](_0x1ce4cb){const _0x454ba3=_0x4cca08;return this[_0x454ba3(0x162)][_0x454ba3(0x116)](_0x1ce4cb)?.[_0x454ba3(0x106)]??_0x1ce4cb;}[_0x4cca08(0x1ac)](_0x2e6b4c,_0x2e591e){const _0x2a1fe3=_0x4cca08;return this[_0x2a1fe3(0xef)](this[_0x2a1fe3(0x146)](_0x2e6b4c),_0x2e591e);}[_0x4cca08(0x183)](_0x51da4e){const _0x55eef5=_0x4cca08;this[_0x55eef5(0x10a)](_0x51da4e[_0x55eef5(0x139)]);const _0x10bcf2=[...this[_0x55eef5(0x11a)][_0x55eef5(0x116)](_0x51da4e[_0x55eef5(0x139)])??[]][_0x55eef5(0x1ca)]((_0x53e380,_0x450c71)=>({'turn':_0x53e380,'index':_0x450c71}))[_0x55eef5(0x1b4)]((_0x291900,_0x3160bd)=>{const _0x43f306=_0x55eef5,_0x5876a0=_0x4c7363=>_0x4c7363[_0x43f306(0x18a)][_0x43f306(0xfc)](_0x16881d=>_0x16881d['id']===_0x4c7363[_0x43f306(0x1ba)])?.[_0x43f306(0xed)]??_0x4c7363[_0x43f306(0xed)]??_0x4c7363[_0x43f306(0x1f1)]??0x1110+-0x50+-0x8*0x218;return _0x5876a0(_0x291900[_0x43f306(0x1a9)])-_0x5876a0(_0x3160bd[_0x43f306(0x1a9)])||_0x291900[_0x43f306(0x187)]-_0x3160bd[_0x43f306(0x187)];})[_0x55eef5(0x1ca)](({turn:_0x27d980})=>_0x27d980),_0x59e7df=_0x51da4e[_0x55eef5(0x145)]===undefined?_0x10bcf2[_0x55eef5(0xe7)]:decodeCursor(_0x51da4e[_0x55eef5(0x145)],_0x51da4e[_0x55eef5(0x139)]),_0x48d9a6=Math[_0x55eef5(0x1bc)](Math[_0x55eef5(0x1a3)](_0x51da4e[_0x55eef5(0x1bf)]??0x52f*-0x6+-0x1*0x6b3+-0x25eb*-0x1,-0x5e9+0x1*-0x9c1+0x539*0x3),0x1063+0x23de+0x4f*-0xa3),_0x23dab4=Math[_0x55eef5(0x1a3)](0xb1e*0x2+0xa04+0x56*-0x60,_0x59e7df-_0x48d9a6),_0x1142a9=_0x10bcf2[_0x55eef5(0x166)](_0x23dab4,_0x59e7df);return{'turns':_0x1142a9,'nextCursor':_0x23dab4>-0x193a+-0x1*0x259b+0x3ed5?encodeCursor(_0x51da4e[_0x55eef5(0x139)],_0x23dab4):null};}[_0x4cca08(0x16f)](_0x21c4a4){const _0x365718=_0x4cca08;for(const _0x36651b of this[_0x365718(0x11a)][_0x365718(0x119)]()){const _0x5aa2e7=_0x36651b[_0x365718(0x1af)](_0x29c0f8=>_0x29c0f8[_0x365718(0x106)]===this[_0x365718(0x146)](_0x21c4a4));if(_0x5aa2e7!==undefined)return _0x5aa2e7;}return undefined;}[_0x4cca08(0xf5)](_0x3dbc64){const _0x327335=_0x4cca08,_0x2fef01=this[_0x327335(0x162)][_0x327335(0x116)](_0x3dbc64),_0x54821d=_0x2fef01===undefined?this[_0x327335(0x193)][_0x327335(0x116)](_0x3dbc64):{'sessionId':this[_0x327335(0x122)](_0x2fef01[_0x327335(0x106)])[_0x327335(0x139)],'turnId':_0x2fef01[_0x327335(0x126)]};if(_0x54821d===undefined)return undefined;return(this[_0x327335(0x11a)][_0x327335(0x116)](_0x54821d[_0x327335(0x139)])??[])[_0x327335(0xfc)](_0x172c3f=>_0x172c3f['id']===_0x54821d[_0x327335(0x126)]);}[_0x4cca08(0x1ec)](_0x4d582a){const _0x3c758c=_0x4cca08,_0x169987=this[_0x3c758c(0x183)](_0x4d582a)[_0x3c758c(0x11a)];return{'items':_0x169987[_0x3c758c(0x170)](_0x2b091d=>_0x2b091d[_0x3c758c(0x18a)]),'nextCursor':null};}[_0x4cca08(0x1cd)](_0xca088b){const _0x5f0906=_0x4cca08,_0x550540=this[_0x5f0906(0x10a)](_0xca088b[_0x5f0906(0x139)]),_0x33f7be=this[_0x5f0906(0xf6)](),_0x4fe1f4={'id':randomUUID(),'sessionId':_0xca088b[_0x5f0906(0x139)],'turnId':'','runId':null,'parentItemId':null,'sourceSequence':null,'revision':0x1,'kind':_0x5f0906(0x1ad),'status':_0xca088b[_0x5f0906(0x14f)]?_0x5f0906(0x117):_0x5f0906(0x163),'payload':{'command':_0xca088b[_0x5f0906(0x1ee)],'cwd':_0xca088b[_0x5f0906(0x121)],'outputPreview':_0xca088b[_0x5f0906(0x1b5)][_0x5f0906(0x166)](-0x919+0x256a+0x293*-0xb,0x25c*0x2+-0x8*0x23c+0x3438),'outputRef':null,'exitCode':_0xca088b[_0x5f0906(0x14f)]?-0xd*0x2d9+0x3e*0x74+0x8ee:-0x7f*0x31+0x14a1*0x1+0x1*0x3ae,'durationMs':0x0,'truncated':![]},'startedAt':_0x33f7be,'completedAt':_0x33f7be},_0x2e30c0={'id':randomUUID(),'sessionId':_0xca088b[_0x5f0906(0x139)],'runId':null,'userItemId':null,'status':_0xca088b[_0x5f0906(0x14f)]?_0x5f0906(0x117):_0x5f0906(0x17b),'model':_0x550540[_0x5f0906(0x19f)],'effort':_0x550540[_0x5f0906(0x1f2)],'access':_0x550540[_0x5f0906(0x179)],'items':[],'startedAt':_0x33f7be,'completedAt':_0x33f7be},_0x36c9ca={..._0x4fe1f4,'turnId':_0x2e30c0['id']},_0x5a2a8b={..._0x2e30c0,'items':[_0x36c9ca]};return this[_0x5f0906(0x11a)][_0x5f0906(0x100)](_0xca088b[_0x5f0906(0x139)],[...this[_0x5f0906(0x11a)][_0x5f0906(0x116)](_0xca088b[_0x5f0906(0x139)])??[],_0x5a2a8b]),this[_0x5f0906(0x102)](_0x550540['id'],{'lastActivityAt':_0x33f7be}),_0x5a2a8b;}[_0x4cca08(0x164)](_0x2c303c){const _0x351f3c=_0x4cca08,_0x14920a=this[_0x351f3c(0x184)](_0x2c303c[_0x351f3c(0x106)]);if(_0x14920a===undefined)throw new Error(_0x351f3c(0x1c3));if(_0x2c303c[_0x351f3c(0x106)]!==_0x14920a['id']&&this[_0x351f3c(0x155)](_0x14920a['id'])!==_0x2c303c[_0x351f3c(0x106)])throw new Error(_0x351f3c(0x18b));if(this[_0x351f3c(0x16a)][_0x351f3c(0xfb)](_0x2c303c[_0x351f3c(0x1fe)]))throw new Error(_0x351f3c(0x109));if(_0x2c303c[_0x351f3c(0x1e7)]<=this[_0x351f3c(0xf6)]())throw new Error(_0x351f3c(0x1b1));const _0x3d8385={'id':_0x2c303c[_0x351f3c(0x1fe)],'runId':_0x2c303c[_0x351f3c(0x106)],'status':_0x351f3c(0x199),'payload':_0x2c303c[_0x351f3c(0x114)],'expiresAt':_0x2c303c[_0x351f3c(0x1e7)],'createdAt':this[_0x351f3c(0xf6)](),'decidedAt':null};return this[_0x351f3c(0x16a)][_0x351f3c(0x100)](_0x3d8385['id'],_0x3d8385),_0x3d8385;}[_0x4cca08(0x18d)](_0x721ea4){const _0x3f72a1=_0x4cca08,_0x2c6a1f=this[_0x3f72a1(0x16a)][_0x3f72a1(0x116)](_0x721ea4);if(_0x2c6a1f?.[_0x3f72a1(0x1a8)]===_0x3f72a1(0x199)&&_0x2c6a1f[_0x3f72a1(0x1e7)]<=this[_0x3f72a1(0xf6)]())return this[_0x3f72a1(0x1e6)](_0x721ea4);return _0x2c6a1f;}[_0x4cca08(0x1f8)](_0xc66a05){const _0x3a4746=_0x4cca08,_0xd4645d=this[_0x3a4746(0x146)](_0xc66a05);return[...this[_0x3a4746(0x16a)][_0x3a4746(0x119)]()][_0x3a4746(0xee)](_0xe047b6=>this[_0x3a4746(0x146)](_0xe047b6[_0x3a4746(0x106)])===_0xd4645d)[_0x3a4746(0x1ca)](_0x1f558f=>this[_0x3a4746(0x18d)](_0x1f558f['id']));}[_0x4cca08(0x1e6)](_0x4484c3){const _0xd898fc=_0x4cca08,_0xba5340=this[_0xd898fc(0x141)](_0x4484c3);if(_0xba5340[_0xd898fc(0x1a8)]!==_0xd898fc(0x199))return _0xba5340;if(_0xba5340[_0xd898fc(0x1e7)]>this[_0xd898fc(0xf6)]())throw new Error(_0xd898fc(0x185));const _0x3cb39e={..._0xba5340,'status':_0xd898fc(0x1dd),'decidedAt':this[_0xd898fc(0xf6)]()};return this[_0xd898fc(0x16a)][_0xd898fc(0x100)](_0x4484c3,_0x3cb39e),_0x3cb39e;}[_0x4cca08(0x16b)](_0x28b9d1,_0x1d0a03){const _0x1824d6=_0x4cca08,_0x42546f=this[_0x1824d6(0x18d)](_0x28b9d1);if(_0x42546f===undefined)throw new Error(_0x1824d6(0x1c5));if(_0x42546f[_0x1824d6(0x1a8)]===_0x1824d6(0x1dd))throw new Error(_0x1824d6(0x1b1));if(_0x42546f[_0x1824d6(0x1a8)]!==_0x1824d6(0x199))throw new Error(_0x1824d6(0x181));const _0x573058={..._0x42546f,'status':_0x1d0a03,'decidedAt':this[_0x1824d6(0xf6)]()};return this[_0x1824d6(0x16a)][_0x1824d6(0x100)](_0x28b9d1,_0x573058),_0x573058;}[_0x4cca08(0x161)](){const _0x3b6554=_0x4cca08;return[...this[_0x3b6554(0x16a)][_0x3b6554(0x119)]()][_0x3b6554(0xee)](_0x4ff301=>_0x4ff301[_0x3b6554(0x1a8)]===_0x3b6554(0x199)&&_0x4ff301[_0x3b6554(0x1e7)]<=this[_0x3b6554(0xf6)]())[_0x3b6554(0x1ca)](_0x4d234f=>this[_0x3b6554(0x1e6)](_0x4d234f['id']));}[_0x4cca08(0x128)](){const _0x4ae18e=_0x4cca08;return[...this[_0x4ae18e(0x13c)][_0x4ae18e(0x119)]()][_0x4ae18e(0xee)](_0x150944=>!terminal(_0x150944[_0x4ae18e(0x1a8)]));}[_0x4cca08(0x103)](_0x28d95b){const _0x9256cb=_0x4cca08;return this[_0x9256cb(0x15a)][_0x9256cb(0x116)](_0x28d95b)??0x1fd0+-0x89b+0x1*-0x1735;}[_0x4cca08(0x192)](_0x5d55eb){const _0x14c0e3=_0x4cca08,_0xa2c68e=this[_0x14c0e3(0x122)](_0x5d55eb);if(!terminal(_0xa2c68e[_0x14c0e3(0x1a8)]))throw new Error(_0x14c0e3(0x1e0));this[_0x14c0e3(0x1b9)][_0x14c0e3(0x189)](_0x5d55eb);if(this[_0x14c0e3(0x1b9)][_0x14c0e3(0x1da)]>0xa4*0xd+-0x1f3*-0xb+-0x19c5*0x1)this[_0x14c0e3(0x1b9)][_0x14c0e3(0x12d)](this[_0x14c0e3(0x1b9)][_0x14c0e3(0x119)]()[_0x14c0e3(0x17a)]()[_0x14c0e3(0x11d)]);const _0x4e3eea=new Set([...this[_0x14c0e3(0x162)][_0x14c0e3(0x119)]()][_0x14c0e3(0xee)](_0x282006=>_0x282006[_0x14c0e3(0x106)]===_0x5d55eb)[_0x14c0e3(0x1ca)](_0x4aca17=>_0x4aca17['id'])),_0x1b6155=(this[_0x14c0e3(0x11a)][_0x14c0e3(0x116)](_0xa2c68e[_0x14c0e3(0x139)])??[])[_0x14c0e3(0xee)](_0x988d96=>{const _0x1db15e=_0x14c0e3,_0x5513bd=_0x988d96[_0x1db15e(0x18a)][_0x1db15e(0xf7)](_0x9698da=>_0x9698da[_0x1db15e(0x158)]===_0x1db15e(0x1e5));if(_0x988d96[_0x1db15e(0x106)]===_0x5d55eb)return _0xa2c68e[_0x1db15e(0x1a8)]===_0x1db15e(0x17b)||_0xa2c68e[_0x1db15e(0x1a8)]===_0x1db15e(0x1ae)||_0x5513bd;const _0x10267d=_0x5513bd&&_0x988d96[_0x1db15e(0x1a8)]!==_0x1db15e(0x17b)&&_0x988d96[_0x1db15e(0x1a8)]!==_0x1db15e(0x1ae);return _0xa2c68e[_0x1db15e(0x1a8)]!==_0x1db15e(0x17b)||!_0x10267d;}),_0x3f9c52=_0x1b6155[_0x14c0e3(0xee)](_0x45807b=>terminalTurn(_0x45807b[_0x14c0e3(0x1a8)])),_0x398aba=new Set(_0x3f9c52[_0x14c0e3(0x166)](-NodeRuntimeState[_0x14c0e3(0x1ef)])[_0x14c0e3(0x1ca)](_0x3d0ef5=>_0x3d0ef5['id'])),_0x28511f=_0x1b6155[_0x14c0e3(0xee)](_0x5da85f=>!terminalTurn(_0x5da85f[_0x14c0e3(0x1a8)])||_0x398aba[_0x14c0e3(0xfb)](_0x5da85f['id'])),_0x3af322=new Set(_0x28511f[_0x14c0e3(0x1ca)](_0x21c70f=>_0x21c70f['id']));this[_0x14c0e3(0x11a)][_0x14c0e3(0x100)](_0xa2c68e[_0x14c0e3(0x139)],_0x28511f);for(const [_0x124801,_0x3d9f94]of this[_0x14c0e3(0x162)]){if(_0x3d9f94[_0x14c0e3(0x106)]!==_0x5d55eb)continue;this[_0x14c0e3(0x162)][_0x14c0e3(0x12d)](_0x124801);if(_0x3af322[_0x14c0e3(0xfb)](_0x3d9f94[_0x14c0e3(0x126)]))this[_0x14c0e3(0x193)][_0x14c0e3(0x100)](_0x124801,{'sessionId':_0xa2c68e[_0x14c0e3(0x139)],'turnId':_0x3d9f94[_0x14c0e3(0x126)]});}this[_0x14c0e3(0x1f9)](_0xa2c68e[_0x14c0e3(0x139)],_0x3af322),this[_0x14c0e3(0x13c)][_0x14c0e3(0x12d)](_0x5d55eb),this[_0x14c0e3(0x15a)][_0x14c0e3(0x12d)](_0x5d55eb);for(const [_0x1b5f41,_0x18395b]of this[_0x14c0e3(0x196)])if(_0x18395b[_0x14c0e3(0x158)]===_0x14c0e3(0x129)&&_0x18395b['id']===_0x5d55eb)this[_0x14c0e3(0x196)][_0x14c0e3(0x12d)](_0x1b5f41);for(const [_0x258044,_0x4962fc]of this[_0x14c0e3(0x16a)])if(_0x4962fc[_0x14c0e3(0x106)]===_0x5d55eb||_0x4e3eea[_0x14c0e3(0xfb)](_0x4962fc[_0x14c0e3(0x106)]))this[_0x14c0e3(0x16a)][_0x14c0e3(0x12d)](_0x258044);}[_0x4cca08(0x12e)](_0x32ecad){const _0x9da812=_0x4cca08;return[...this[_0x9da812(0x1c7)][_0x9da812(0x119)]()][_0x9da812(0x1ca)](_0x22124c=>this[_0x9da812(0x13c)][_0x9da812(0x116)](_0x22124c))[_0x9da812(0xf7)](_0x543e99=>_0x543e99?.[_0x9da812(0x194)]===_0x32ecad);}[_0x4cca08(0x15e)](_0x3a4f6f){const _0x5942e7=_0x4cca08;this[_0x5942e7(0x10a)](_0x3a4f6f);const _0x45948b=this[_0x5942e7(0xeb)](_0x3a4f6f);if(_0x45948b[_0x5942e7(0xf7)](_0x28034d=>!terminal(_0x28034d[_0x5942e7(0x1a8)])))throw new Error(_0x5942e7(0x1f6));const _0x555662=new Set(_0x45948b[_0x5942e7(0x1ca)](_0x1b5dfa=>_0x1b5dfa['id'])),_0x18a757=new Set([...this[_0x5942e7(0x162)][_0x5942e7(0x119)]()][_0x5942e7(0xee)](_0x3a7d2b=>_0x555662[_0x5942e7(0xfb)](_0x3a7d2b[_0x5942e7(0x106)]))[_0x5942e7(0x1ca)](_0x50cc82=>_0x50cc82['id']));this[_0x5942e7(0x1c4)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x11a)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x1f9)](_0x3a4f6f,new Set());const _0x392ea1=this[_0x5942e7(0xff)][_0x5942e7(0x116)](_0x3a4f6f)??[];this[_0x5942e7(0xff)][_0x5942e7(0x12d)](_0x3a4f6f);for(const _0x51895f of _0x392ea1)this[_0x5942e7(0x113)][_0x5942e7(0x12d)](_0x51895f);this[_0x5942e7(0x173)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x14a)][_0x5942e7(0x12d)](_0x3a4f6f),this[_0x5942e7(0x1c7)][_0x5942e7(0x12d)](_0x3a4f6f);for(const _0x32bb1d of _0x555662){this[_0x5942e7(0x13c)][_0x5942e7(0x12d)](_0x32bb1d),this[_0x5942e7(0x15a)][_0x5942e7(0x12d)](_0x32bb1d);}for(const _0x5658e8 of _0x18a757)this[_0x5942e7(0x162)][_0x5942e7(0x12d)](_0x5658e8);for(const [_0x454e67,_0x467e11]of this[_0x5942e7(0x196)])if(_0x467e11[_0x5942e7(0x158)]===_0x5942e7(0x129)&&_0x555662[_0x5942e7(0xfb)](_0x467e11['id'])||_0x467e11[_0x5942e7(0x158)]===_0x5942e7(0x1b2)&&_0x392ea1[_0x5942e7(0x1d9)](_0x467e11['id']))this[_0x5942e7(0x196)][_0x5942e7(0x12d)](_0x454e67);for(const _0x2826b9 of this[_0x5942e7(0x1fa)][_0x5942e7(0x180)]())if(_0x2826b9[_0x5942e7(0x1c0)](_0x3a4f6f+'\x00'))this[_0x5942e7(0x1fa)][_0x5942e7(0x12d)](_0x2826b9);for(const [_0x228c97,_0x20129a]of this[_0x5942e7(0x16a)])if(_0x555662[_0x5942e7(0xfb)](_0x20129a[_0x5942e7(0x106)])||_0x18a757[_0x5942e7(0xfb)](_0x20129a[_0x5942e7(0x106)]))this[_0x5942e7(0x16a)][_0x5942e7(0x12d)](_0x228c97);}[_0x4cca08(0x133)](_0x5b4589){const _0x5b2685=_0x4cca08;if(this[_0x5b2685(0x12e)](_0x5b4589))throw new Error(_0x5b2685(0xfa));const _0x4e410a=new Set([...this[_0x5b2685(0x1c4)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x537e84=>_0x537e84[_0x5b2685(0x194)]===_0x5b4589)[_0x5b2685(0x1ca)](_0x43bc2e=>_0x43bc2e['id'])),_0x1da4f2=new Set([...this[_0x5b2685(0x13c)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x280381=>_0x280381[_0x5b2685(0x194)]===_0x5b4589)[_0x5b2685(0x1ca)](_0x51eb08=>_0x51eb08['id'])),_0x321afa=new Set([...this[_0x5b2685(0x162)][_0x5b2685(0x119)]()][_0x5b2685(0xee)](_0x4e3c88=>_0x1da4f2[_0x5b2685(0xfb)](_0x4e3c88[_0x5b2685(0x106)]))[_0x5b2685(0x1ca)](_0x197232=>_0x197232['id'])),_0x2d5ced=new Set([..._0x4e410a][_0x5b2685(0x170)](_0x491608=>this[_0x5b2685(0xff)][_0x5b2685(0x116)](_0x491608)??[]));for(const _0x48ff8e of _0x4e410a){this[_0x5b2685(0x1c4)][_0x5b2685(0x12d)](_0x48ff8e),this[_0x5b2685(0x11a)][_0x5b2685(0x12d)](_0x48ff8e),this[_0x5b2685(0x1f9)](_0x48ff8e,new Set());}for(const _0x361691 of _0x1da4f2){this[_0x5b2685(0x13c)][_0x5b2685(0x12d)](_0x361691),this[_0x5b2685(0x15a)][_0x5b2685(0x12d)](_0x361691);}for(const _0x4262b4 of _0x321afa)this[_0x5b2685(0x162)][_0x5b2685(0x12d)](_0x4262b4);for(const [_0x1670b1,_0x3c5fe2]of this[_0x5b2685(0x196)])if(_0x3c5fe2[_0x5b2685(0x158)]===_0x5b2685(0x129)&&_0x1da4f2[_0x5b2685(0xfb)](_0x3c5fe2['id'])||_0x3c5fe2[_0x5b2685(0x158)]===_0x5b2685(0x1b2)&&_0x2d5ced[_0x5b2685(0xfb)](_0x3c5fe2['id']))this[_0x5b2685(0x196)][_0x5b2685(0x12d)](_0x1670b1);for(const _0x1f556f of this[_0x5b2685(0x1fa)][_0x5b2685(0x180)]()){const _0x66b949=_0x1f556f[_0x5b2685(0x1c8)]('\u0000');if(_0x66b949>=0x1971+0x2*0x92a+-0x2bc5&&_0x4e410a[_0x5b2685(0xfb)](_0x1f556f[_0x5b2685(0x166)](0x1cd6+-0x1*0xc95+-0x1041,_0x66b949)))this[_0x5b2685(0x1fa)][_0x5b2685(0x12d)](_0x1f556f);}for(const [_0x5e8b79,_0xcc7c41]of this[_0x5b2685(0x16a)])if(_0x1da4f2[_0x5b2685(0xfb)](_0xcc7c41[_0x5b2685(0x106)])||_0x321afa[_0x5b2685(0xfb)](_0xcc7c41[_0x5b2685(0x106)]))this[_0x5b2685(0x16a)][_0x5b2685(0x12d)](_0x5e8b79);for(const _0x53b426 of _0x4e410a){const _0x139255=this[_0x5b2685(0xff)][_0x5b2685(0x116)](_0x53b426)??[];this[_0x5b2685(0xff)][_0x5b2685(0x12d)](_0x53b426);for(const _0x1922b7 of _0x139255)this[_0x5b2685(0x113)][_0x5b2685(0x12d)](_0x1922b7);this[_0x5b2685(0x173)][_0x5b2685(0x12d)](_0x53b426),this[_0x5b2685(0x14a)][_0x5b2685(0x12d)](_0x53b426),this[_0x5b2685(0x1c7)][_0x5b2685(0x12d)](_0x53b426);}}[_0x4cca08(0x151)](_0x2f2357,_0x40e99a){void _0x2f2357,void _0x40e99a;}[_0x4cca08(0x102)](_0x5d6f92,_0xd05303){const _0x304c77=_0x4cca08,_0x58f18e=this[_0x304c77(0x10a)](_0x5d6f92),_0x173893={..._0x58f18e,..._0xd05303};this[_0x304c77(0x1c4)][_0x304c77(0x100)](_0x5d6f92,_0x173893);if(_0x58f18e[_0x304c77(0x1a0)]!==_0x173893[_0x304c77(0x1a0)]||_0x58f18e[_0x304c77(0x1aa)]!==_0x173893[_0x304c77(0x1aa)]){for(const _0x2eabf7 of this[_0x304c77(0xeb)](_0x5d6f92))this[_0x304c77(0x1e1)](_0x2eabf7,_0x173893);}return _0x173893;}[_0x4cca08(0x1e1)](_0x36c88f,_0x52399c){const _0x59ce3d=_0x4cca08,_0x37861e=this[_0x59ce3d(0xf0)](_0x36c88f['id']);this[_0x59ce3d(0x10f)]?.(_0x36c88f,_0x52399c,_0x37861e[_0x59ce3d(0xe7)]===0x5*-0x375+0x247*0x5+0x5e6*0x1?undefined:_0x37861e);}[_0x4cca08(0x177)](_0x21a421){const _0x48e1fd=_0x4cca08;this[_0x48e1fd(0x173)][_0x48e1fd(0x100)](_0x21a421,(this[_0x48e1fd(0x173)][_0x48e1fd(0x116)](_0x21a421)??0xa34*0x2+0x322+0x83*-0x2e)+(0x10af+-0x5d4+0x3*-0x39e));}[_0x4cca08(0x1f9)](_0xeb4920,_0x42ac92){const _0x510ab6=_0x4cca08;for(const [_0x2d4f2a,_0x1a30a8]of this[_0x510ab6(0x193)])if(_0x1a30a8[_0x510ab6(0x139)]===_0xeb4920&&!_0x42ac92[_0x510ab6(0xfb)](_0x1a30a8[_0x510ab6(0x126)]))this[_0x510ab6(0x193)][_0x510ab6(0x12d)](_0x2d4f2a);}[_0x4cca08(0x10a)](_0x34ea26){const _0x2cceba=_0x4cca08,_0x3c22b9=this[_0x2cceba(0x1c4)][_0x2cceba(0x116)](_0x34ea26);if(_0x3c22b9===undefined)throw new Error(_0x2cceba(0x190));return _0x3c22b9;}[_0x4cca08(0x122)](_0x1516ce){const _0x28f074=_0x4cca08,_0x1955e5=this[_0x28f074(0x13c)][_0x28f074(0x116)](_0x1516ce);if(_0x1955e5===undefined)throw new Error(_0x28f074(0x1c3));return _0x1955e5;}[_0x4cca08(0x17c)](_0x12ad5a){const _0x2d0906=_0x4cca08,_0x2378af=this[_0x2d0906(0x113)][_0x2d0906(0x116)](_0x12ad5a);if(_0x2378af===undefined)throw new Error(_0x2d0906(0x1d8));return _0x2378af;}[_0x4cca08(0x141)](_0x557648){const _0x1494ef=_0x4cca08,_0x13f5af=this[_0x1494ef(0x16a)][_0x1494ef(0x116)](_0x557648);if(_0x13f5af===undefined)throw new Error(_0x1494ef(0x1c5));return _0x13f5af;}[_0x4cca08(0x14c)](_0x109ee1,_0x2880b0){const _0x527f01=_0x4cca08,_0x113ed5=this[_0x527f01(0x122)](_0x109ee1),_0x522ad4=this[_0x527f01(0x11a)][_0x527f01(0x116)](_0x113ed5[_0x527f01(0x139)])??[];this[_0x527f01(0x11a)][_0x527f01(0x100)](_0x113ed5[_0x527f01(0x139)],_0x522ad4[_0x527f01(0x1ca)](_0x355f12=>_0x355f12[_0x527f01(0x106)]===_0x109ee1?_0x2880b0(_0x355f12):_0x355f12));}[_0x4cca08(0x19a)](_0x4f5ba4,_0x5f2dcc){const _0x5cd149=_0x4cca08,_0x581c12=this[_0x5cd149(0x122)](_0x4f5ba4),_0x1dfa34=this[_0x5cd149(0x11a)][_0x5cd149(0x116)](_0x581c12[_0x5cd149(0x139)])??[],_0x215c38=_0x1dfa34[_0x5cd149(0xf1)](_0x45874f=>_0x45874f[_0x5cd149(0x106)]===_0x4f5ba4);if(_0x215c38<-0x4*0x84f+0x4*0x51+-0x84*-0x3e)return;this[_0x5cd149(0x11a)][_0x5cd149(0x100)](_0x581c12[_0x5cd149(0x139)],_0x1dfa34[_0x5cd149(0x1ca)]((_0x485acb,_0x5976ca)=>_0x5976ca===_0x215c38?_0x5f2dcc(_0x485acb):_0x485acb));}[_0x4cca08(0x123)](_0x5b3732){const _0x12a815=_0x4cca08,_0x2b07de=this[_0x12a815(0x122)](_0x5b3732);return(this[_0x12a815(0x11a)][_0x12a815(0x116)](_0x2b07de[_0x12a815(0x139)])??[])[_0x12a815(0x1af)](_0x515de6=>_0x515de6[_0x12a815(0x106)]===_0x5b3732);}[_0x4cca08(0x125)](_0x224e98,_0x53ea8c,_0x39f74e,_0x4f5cd8){const _0x2a437a=_0x4cca08,_0x401f1c=this[_0x2a437a(0x10a)](_0x224e98[_0x2a437a(0x139)]),_0x42e9cd=this[_0x2a437a(0xf6)](),_0x2097c3=randomUUID(),_0x457095=randomUUID(),_0x5558ee={'id':_0x457095,'sessionId':_0x401f1c['id'],'turnId':_0x2097c3,'runId':_0x224e98['id'],'parentItemId':null,'sourceSequence':null,'revision':0x0,'kind':_0x2a437a(0x138),'status':_0x2a437a(0x163),'payload':{'clientMessageId':_0x53ea8c,'text':_0x39f74e,'contexts':[],'attachments':this[_0x2a437a(0x160)](_0x224e98['id'],_0x4f5cd8),'delivery':_0x2a437a(0x1a2)},'startedAt':_0x42e9cd,'completedAt':_0x42e9cd},_0x4df277={'id':_0x2097c3,'sessionId':_0x401f1c['id'],'runId':_0x224e98['id'],'userItemId':_0x457095,'status':_0x2a437a(0x1b3),'model':_0x401f1c[_0x2a437a(0x19f)],'effort':_0x401f1c[_0x2a437a(0x1f2)],'access':_0x401f1c[_0x2a437a(0x179)],'items':[_0x5558ee],'startedAt':_0x42e9cd,'completedAt':null};return this[_0x2a437a(0x11a)][_0x2a437a(0x100)](_0x401f1c['id'],[...this[_0x2a437a(0x11a)][_0x2a437a(0x116)](_0x401f1c['id'])??[],_0x4df277]),this[_0x2a437a(0x102)](_0x401f1c['id'],{'lastActivityAt':_0x42e9cd}),_0x4df277;}[_0x4cca08(0x160)](_0x3dce94,_0x4ac1d8){const _0x34d27c=_0x4cca08;let _0x24de38=0xa71+0xb*0x17+0x9a*-0x13;return _0x4ac1d8[_0x34d27c(0x1ca)](({name:_0x55145e,mime:_0x22c192,dataBase64:_0x293ddd})=>{const _0x5deb25=_0x34d27c,_0x2b8a4e={'name':_0x55145e,'mime':_0x22c192,'byteSize':Buffer[_0x5deb25(0x13f)](_0x293ddd,_0x5deb25(0x1c6)),'runId':_0x3dce94};if(!_0x22c192[_0x5deb25(0x1c0)](_0x5deb25(0x19b)))return _0x2b8a4e;return{..._0x2b8a4e,'imageIndex':_0x24de38++};});}[_0x4cca08(0x1be)](_0x2732d2,_0x2b5405,_0xf35638){const _0x7c4126=_0x4cca08;for(const [_0x39b734,_0x36790f]of this[_0x7c4126(0x11a)]){if(!_0x36790f[_0x7c4126(0xf7)](_0x20327d=>_0x20327d['id']===_0x2732d2))continue;this[_0x7c4126(0x11a)][_0x7c4126(0x100)](_0x39b734,_0x36790f[_0x7c4126(0x1ca)](_0x10544d=>_0x10544d['id']===_0x2732d2?{..._0x10544d,'status':_0x2b5405,'completedAt':_0xf35638,'items':_0x10544d[_0x7c4126(0x18a)][_0x7c4126(0x1ca)](_0xb753ff=>activeConversationItem(_0xb753ff[_0x7c4126(0x1a8)])?{..._0xb753ff,'status':completedStatusForRun(_0x2b5405),'completedAt':_0xf35638}:_0xb753ff)}:_0x10544d));return;}}[_0x4cca08(0x11b)](_0x22cee1,_0x2169d5){const _0x3a2e66=_0x4cca08,_0x465300=this[_0x3a2e66(0x122)](_0x22cee1[_0x3a2e66(0x106)]),_0x2f326c=_0x7fb844=>{const _0x4e87d9=_0x3a2e66;if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x167)&&isRecord(_0x22cee1[_0x4e87d9(0x114)])&&typeof _0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x124)]===_0x4e87d9(0xf8)){const _0x36bf7e=typeof _0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)]===_0x4e87d9(0xf8)&&_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)][_0x4e87d9(0xe7)]<=-0xf8*-0x1f+0x1*0x1173+-0x2f23?_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x147)]:undefined,_0x5f4b95=_0x36bf7e===undefined?undefined:_0x22cee1[_0x4e87d9(0x106)]+':'+_0x36bf7e,_0x168310=_0x7fb844[_0x4e87d9(0x18a)]['at'](-(-0x1c13*0x1+0x26dd+-0xac9)),_0x1b8aeb=_0x5f4b95===undefined?_0x168310?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&activeConversationItem(_0x168310[_0x4e87d9(0x1a8)])?_0x168310:undefined:_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0xfc)](_0x2fc15a=>_0x2fc15a['id']===_0x5f4b95&&_0x2fc15a[_0x4e87d9(0x158)]===_0x4e87d9(0xec)),_0x3aae1e=''+(_0x1b8aeb===undefined?'':readableText(_0x1b8aeb[_0x4e87d9(0x114)]))+_0x22cee1[_0x4e87d9(0x114)][_0x4e87d9(0x124)],_0x450c9c={'id':_0x1b8aeb?.['id']??_0x5f4b95??_0x22cee1[_0x4e87d9(0x106)]+_0x4e87d9(0x188)+_0x22cee1[_0x4e87d9(0x1eb)],'sessionId':_0x465300[_0x4e87d9(0x139)],'turnId':_0x7fb844['id'],'runId':_0x22cee1[_0x4e87d9(0x106)],'parentItemId':null,'sourceSequence':_0x1b8aeb?.[_0x4e87d9(0x148)]??_0x22cee1[_0x4e87d9(0x1eb)],'revision':_0x22cee1[_0x4e87d9(0x1eb)],'kind':_0x4e87d9(0xec),'status':_0x4e87d9(0x142),'payload':{'text':_0x3aae1e,'format':_0x4e87d9(0xfe),'model':null},'startedAt':_0x1b8aeb?.[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'completedAt':null};return{..._0x7fb844,'status':_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'items':_0x1b8aeb===undefined?[..._0x7fb844[_0x4e87d9(0x18a)],_0x450c9c]:_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0x369e67=>_0x369e67['id']===_0x450c9c['id']?_0x450c9c:_0x369e67)};}const _0x253c3f=conversationItemFromEvent(_0x22cee1);if(_0x253c3f!==undefined){const _0x4afeee=_0x7fb844[_0x4e87d9(0x18a)]['at'](-(-0x3*0x331+-0x490+0xe24)),_0x221bcb=_0x4afeee?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&activeConversationItem(_0x4afeee[_0x4e87d9(0x1a8)])?_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0x388cf9=>_0x388cf9['id']===_0x4afeee['id']?{..._0x388cf9,'status':_0x4e87d9(0x163),'completedAt':_0x22cee1[_0x4e87d9(0x10e)]}:_0x388cf9):_0x7fb844[_0x4e87d9(0x18a)],_0x271d81=_0x221bcb[_0x4e87d9(0xfc)](_0x4b562c=>_0x4b562c['id']===_0x22cee1[_0x4e87d9(0x106)]+':'+_0x253c3f[_0x4e87d9(0x147)])??(_0x253c3f[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&_0x253c3f[_0x4e87d9(0x147)][_0x4e87d9(0x1c0)](_0x4e87d9(0x1b7))&&_0x4afeee?.[_0x4e87d9(0x158)]===_0x4e87d9(0xec)&&_0x4afeee['id'][_0x4e87d9(0x1c0)](_0x22cee1[_0x4e87d9(0x106)]+_0x4e87d9(0x188))&&activeConversationItem(_0x4afeee[_0x4e87d9(0x1a8)])?_0x4afeee:undefined),_0x1526e8=_0x253c3f[_0x4e87d9(0x1a8)],_0x113a1c={'id':_0x22cee1[_0x4e87d9(0x106)]+':'+_0x253c3f[_0x4e87d9(0x147)],'sessionId':_0x465300[_0x4e87d9(0x139)],'turnId':_0x7fb844['id'],'runId':_0x22cee1[_0x4e87d9(0x106)],'parentItemId':null,'sourceSequence':_0x271d81?.[_0x4e87d9(0x148)]??_0x22cee1[_0x4e87d9(0x1eb)],'revision':(_0x271d81?.[_0x4e87d9(0x107)]??-(0x1470+0xc*-0x73+0xf0b*-0x1))+(0xe*0x194+-0xd98+-0x87f),'kind':_0x253c3f[_0x4e87d9(0x158)],'status':_0x1526e8,'payload':mergeConversationItemPayload(_0x271d81?.[_0x4e87d9(0x114)],_0x253c3f),'startedAt':_0x271d81?.[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'completedAt':completedConversationItem(_0x1526e8)?_0x22cee1[_0x4e87d9(0x10e)]:null};return{..._0x7fb844,'status':terminal(_0x465300[_0x4e87d9(0x1a8)])?_0x465300[_0x4e87d9(0x1a8)]:_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)],'items':_0x271d81===undefined?[..._0x221bcb,_0x113a1c]:_0x221bcb[_0x4e87d9(0x1ca)](_0x5a2104=>_0x5a2104['id']===_0x271d81['id']?_0x113a1c:_0x5a2104)};}if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0xf4)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1a1))return{..._0x7fb844,'status':_0x4e87d9(0x1de),'startedAt':_0x7fb844[_0x4e87d9(0xed)]??_0x22cee1[_0x4e87d9(0x10e)]};if(_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1d4)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x1ab)||_0x22cee1[_0x4e87d9(0x19d)]===_0x4e87d9(0x10c))return{..._0x7fb844,'status':this[_0x4e87d9(0x122)](_0x22cee1[_0x4e87d9(0x106)])[_0x4e87d9(0x1a8)],'completedAt':_0x22cee1[_0x4e87d9(0x10e)],'items':_0x7fb844[_0x4e87d9(0x18a)][_0x4e87d9(0x1ca)](_0xb0d898=>activeConversationItem(_0xb0d898[_0x4e87d9(0x1a8)])?{..._0xb0d898,'status':completedStatusForRun(this[_0x4e87d9(0x122)](_0x22cee1[_0x4e87d9(0x106)])[_0x4e87d9(0x1a8)]),'completedAt':_0x22cee1[_0x4e87d9(0x10e)]}:_0xb0d898)};return _0x7fb844;};if(_0x2169d5===undefined)this[_0x3a2e66(0x19a)](_0x22cee1[_0x3a2e66(0x106)],_0x2f326c);else{const _0x728a9d=this[_0x3a2e66(0x11a)][_0x3a2e66(0x116)](_0x465300[_0x3a2e66(0x139)])??[];this[_0x3a2e66(0x11a)][_0x3a2e66(0x100)](_0x465300[_0x3a2e66(0x139)],_0x728a9d[_0x3a2e66(0x1ca)](_0x2f977e=>_0x2f977e['id']===_0x2169d5?_0x2f326c(_0x2f977e):_0x2f977e));}}}function terminal(_0x2d0f0e){const _0x3c86f7=_0x4cca08;return[_0x3c86f7(0x17b),_0x3c86f7(0x117),_0x3c86f7(0x105),_0x3c86f7(0x1ae),_0x3c86f7(0x171)][_0x3c86f7(0x1d9)](_0x2d0f0e);}function terminalTurn(_0x11cf83){const _0x53030d=_0x4cca08;return[_0x53030d(0x17b),_0x53030d(0x117),_0x53030d(0x105),_0x53030d(0x1ae),_0x53030d(0x171)][_0x53030d(0x1d9)](_0x11cf83);}function transitionAllowed(_0x3012ce,_0x23ca3b){return!terminal(_0x3012ce)||_0x3012ce===_0x23ca3b;}function isRecord(_0x1a3d00){const _0x18956d=_0x4cca08;return typeof _0x1a3d00===_0x18956d(0x136)&&_0x1a3d00!==null;}function readableText(_0x40f70e){const _0x4f5327=_0x4cca08;return isRecord(_0x40f70e)&&typeof _0x40f70e[_0x4f5327(0x124)]===_0x4f5327(0xf8)?_0x40f70e[_0x4f5327(0x124)]:'';}function conversationItemFromEvent(_0x49ee7f){const _0x48f3b3=_0x4cca08;if(isRecord(_0x49ee7f[_0x48f3b3(0x114)])){const _0x5da640=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1fe)];if(typeof _0x5da640===_0x48f3b3(0xf8)&&_0x5da640[_0x48f3b3(0xe7)]>-0x987*0x3+-0xe67*-0x2+0x1*-0x39){if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x175))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0x48f3b3(0x199),'payload':{'approvalId':_0x5da640,'approvalStatus':_0x48f3b3(0x199),'approval':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x114)],'expiresAt':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1e7)]},'merge':![]};if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x159)){const _0xbdd78b=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1e8)];if(_0xbdd78b===_0x48f3b3(0x1f0)||_0xbdd78b===_0x48f3b3(0x11f))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0xbdd78b===_0x48f3b3(0x1f0)?_0x48f3b3(0x163):_0x48f3b3(0x1df),'payload':{'approvalId':_0x5da640,'approvalStatus':_0xbdd78b},'merge':!![]};}if(_0x49ee7f[_0x48f3b3(0x19d)]===_0x48f3b3(0x1f5))return{'itemId':_0x48f3b3(0x1cc)+_0x5da640,'kind':_0x48f3b3(0x1cb),'status':_0x48f3b3(0x105),'payload':{'approvalId':_0x5da640,'approvalStatus':_0x48f3b3(0x1dd)},'merge':!![]};}}if(_0x49ee7f[_0x48f3b3(0x19d)]!==_0x48f3b3(0x15c)||!isRecord(_0x49ee7f[_0x48f3b3(0x114)]))return undefined;const _0x40ff4f=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x147)],_0x52b700=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x158)],_0x3dd6f1=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1a8)],_0x3ac48e=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x114)];if(typeof _0x40ff4f!==_0x48f3b3(0xf8)||_0x40ff4f[_0x48f3b3(0xe7)]===-0xc68+-0x1*0x15e1+-0x2249*-0x1||_0x40ff4f[_0x48f3b3(0xe7)]>0x1e6b+0x28*0xbe+-0x3bc3||typeof _0x52b700!==_0x48f3b3(0xf8)||!projectableConversationKind(_0x52b700)||typeof _0x3dd6f1!==_0x48f3b3(0xf8)||!projectableConversationStatus(_0x3dd6f1)||!isRecord(_0x3ac48e))return undefined;const _0x539547=_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x12a)];return{'itemId':_0x40ff4f,'kind':_0x52b700,'status':_0x3dd6f1,'payload':_0x3ac48e,'merge':_0x49ee7f[_0x48f3b3(0x114)][_0x48f3b3(0x1bb)]===!![],..._0x539547===_0x48f3b3(0x1fc)||_0x539547===_0x48f3b3(0x1b5)||_0x539547===_0x48f3b3(0x186)?{'append':_0x539547}:{}};}function _0x1a55(){const _0xf77dc=['CxvLDwvjDgvTswq','CMvVCMrLCLnLC3nPB25rDwv1zq','u0vtu0LptL9ot1rFrK9vtKq','DxnLCL9PBNb1Df9Yzxf1zxn0','CMvTB3zLvgvYBwLUywXsDw4','CMv0ywLUzwrfEgvJDxrPB25uDxjUCW','D29YA3nWywnLswq','BgLZDefNzw50u2vZC2LVBNm','BwvZC2fNzvn1yM1PC3nPB25Z','Aw1Hz2vjBMrLEa','C3rYAw5NAwz5','uevoreLorW','DxbKyxrLq3vYCMvUDfr1CM5gB3jsDw4','Aw1Hz2uV','rvHurvjoquW','zxzLBNruExbL','Cgf1C2vtzxnZAw9UuxvLDwu','Bw9KzwW','y3vZDg9TvgL0Bgu','CNvUlNj1BM5PBMC','qundrvburuq','Bwf4','z2v0qwDLBNrtzxnZAw9U','oteYntHdwxDfELy','u0vtu0LptL9usvrmrv9jtLzbteLe','uLvox1rvuK5FtK9ux0zpvu5e','C3rHDhvZ','DhvYBG','CNvUBMvYvgL0Bgu','CNvUlMzHAwXLza','zMLUAxnOuNvU','y29TBwfUzf9LEgvJDxrPB24','su5urvjsvvburuq','zMLUzeXHC3q','C2vZC2LVBLf1zxvL','qvbquK9wquXFrvHqsvjfra','CxvLDwu','ufjfuefssu5h','C29YDa','B3v0Chv0uhjLDMLLDW','Dg9tDhjPBMC','y29KzxG6','zMLSzv9JAgfUz2u','DgvYBwLUywXsDw5jzhm','DxnLCKL0zw1jza','BwvYz2u','BwLU','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','y29TCgXLDgvuDxjU','BgLTAxq','C3rHCNrZv2L0Aa','BNvTyMvY','ywn0AxzLu2vZC2LVBLj1BG','uLvox05pvf9gt1vora','C2vZC2LVBNm','qvbquK9wquXFtK9ux0zpvu5e','yMfZzty0','BgvHC2vZ','Aw5KzxHpzG','ChjVBw90zvnLC3nPB25jzgvUDgL0Eq','BwfW','yxbWCM92ywXFCMvXDwvZDa','yxbWCM92ywW6','CMvJB3jKq29TBwfUzev4zwn1DgLVBG','zxH0zxjUywXtzxnZAw9Uswq','ywn0AxzLv29YA3nWywnLtgvHC2vdB3vUDa','y3jLyxrLtwvZC2fNzvj1BG','D2fYBMLUzW','yMfZzty0DxjS','C2v0vgvTCg9Yyxj5vgL0BgvjzK1PC3nPBMC','CNvUlMnVBxbSzxrLza','DxbKyxrLu2vZC2LVBK1LDgfKyxrH','C2v0rxH0zxjUywXtzxnZAw9Uswq','Dw5RBM93BG','uvvfvuvFsvrftv9jtLzbteLe','Aw5JBhvKzxm','C2L6zq','u0vtu0LptL9jrf9dt05gteLdva','Aw5PDgLHDgvKqNLvC2vYswq','rvHqsvjfra','uLvotKLorW','revdteLoruq','uLvox0fdveLwrq','zw1PDfj1BKnOyw5Nzwq','uLvox09xtKvex0jzx0fot1rirvjFvvnfuG','y3jLyxrLuxvLDwvjDgvT','CgfYC2u','zxjYB3i','zxHWAxjLqxbWCM92ywW','zxHWAxjLC0f0','zgvJAxnPB24','CgLUBMvK','BMf0AxzLq29UDhjVBa','C2vXDwvUy2u','BgLZDenVBNzLCNnHDgLVBKL0zw1Z','BgfZDefJDgL2Axr5qxq','y29TBwfUza','tufyx0nptvbmrvrfrf9uvvjou19qrvjFu0vtu0LptG','qvbquK9wruq','y29TCgXLDgvKqxq','zwzMB3j0','yxr0ywnOBwvUDhm','Dg9VBf9JywXS','yxbWCM92ywWUzxHWAxjLza','u0vtu0LptL9bq1rjvKu','ChjPB3jPDgL6zvf1zxvLsxrLBq','BgLZDefWChjVDMfSCW','Chj1BMvszxrHAw5Lzev4zwn1DgLVBLr1CM5Z','zMfPBgvKtwvZC2fNzvn1yM1PC3nPB25Z','DxbKyxrLuxvLDwvjDgvT','C2vJDgLVBNm','C2v0uNvUBMvYvgL0BgvgCM9TtMf0AxzL','yxbWCM92ywXjza','ywrVChrsDw4','uLvox1nuqvrfx0LovKfmsuq','BgvUz3rO','AxnbCNjHEq','tuvtu0fhrv9btfjfqurzx1fvrvvfra','CNvUBMvY','BgLZDfj1BNngB3jtzxnZAw9U','yxnZAxn0yw50x21LC3nHz2u','C3rHCNrLzef0','zMLSDgvY','DhjHBNnPDgLVBLj1BG','y3vYCMvUDfj1BK1LC3nHz2vuzxH0','zMLUzeXHC3rjBMrLEa','zMLUze1LC3nHz2vtDwjTAxnZAw9U','rvzftLrFu0vrvuvoq0vFr0fq','CNvUlNn0yxj0zwq','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','BM93','C29Tzq','C3rYAw5N','CMvZDw1Lu2vZC2LVBLf1zxvL','v09ss1nqqunfx0jvu1K','AgfZ','zMLUza','qvvutW','BwfYA2rVD24','CxvLDwvKsxrLBxm','C2v0','otu5ndeZmNb5tw1XEa','CMvWBgfJzvnLC3nPB24','BgfZDfj1BLnLCxvLBMnL','v09ss1nqqunfx05pvf9gt1vora','q0foq0vmteve','CNvUswq','CMv2AxnPB24','mJa1n3jTBvLkDq','qvbquK9wquXFquXsrufewv9fweLtvfm','CMvXDwLYzvnLC3nPB24','z2v0uxvLDwvjDgvT','CNvUlNjLAMvJDgvK','u1rbuLrjtKC','y3jLyxrLzef0','B25sDw5dAgfUz2vK','BwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','y2XPzw50twvZC2fNzuLK','AgfZqwn0AxzLu2vZC2LVBKXLyxnL','CxvLDwvjDgvTCW','Cgf5Bg9Hza','DxbKyxrLqwDLBNrtzxnZAw9UqwnJzxnZ','z2v0','rKfjteve','y29UDgvUDa','DMfSDwvZ','DhvYBNm','ChjVAMvJDev2zw50','zMLUzefNzw50u2vZC2LVBKj5rxH0zxjUywXtzxnZAw9U','DMfSDwu','y29UDgv4Df9JB21Wywn0Aw9U','uKvkrunuruq','zNjVBq','y3DK','CMvXDwLYzvj1BG','y3vYCMvUDfr1CM5gB3jsDw4','Dgv4Da','y3jLyxrLvhvYBG','DhvYBKLK','uLvox1rfuK1jtKfm','BgLZDe5VBNrLCM1PBMfSuNvUCW','CNvU','yxbWzw5K','DhjPBq','C2v0tMf0AxzLq29UDhjVBa','zgvSzxrL','AgfZqwn0AxzLv29YA3nWywnLtgvHC2u','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','mxrYwfbOBa','qunusvzf','nJboDwrorei','CMvTB3zLv29YA3nWywnL','nda2nfvLCLDovq','CMvHC29UAw5Nx3n1Bw1HCNK','B2jQzwn0','y3jLyxrLqwDLBNrtzxnZAw9U','DxnLCL9TzxnZywDL','C2vZC2LVBKLK','zMLUze1LC3nHz2vsDw4','CMvWBgfJzq','CNvUCW','mZu1nJu2mgDTENbHwq','y2XHAw1ozxH0uxvLDwvjDgvT','yNL0zuXLBMD0Aa','mtaYnZHTCKv0u08','CMvXDwLYzufWChjVDMfS','su5Fufjpr1jfu1m','tuvtu0fhrv9btfjfqurzx1nuqvjuruq','C2nVCgu','y3vYC29Y','y2fUB25Py2fSuNvUswq','AxrLBuLK','C291CMnLu2vXDwvUy2u','CNvUDgLTztO','Cgf1C2vKuxvLDwvZ','tufsx01btKfhruq','DxbKyxrLvhvYBKzVCLj1BG','CgXHBG','u0vtu0LptL9fwfrfuK5btf9jrf9jtLzbteLe','zMfPBgvK','DgL0Bgu','CMvJB25JAwXLuNvU','ndi0nZrYwxnZwhe','mtmZn1PvuMXcBq','C2v0q2HHBM5LBfrVA2vU','y3vYCMvUDev4zwn1DgLVBKLK','DxrMoa','yxbWzw5KuNvUrxzLBNq','A2LUza','yxbWCM92ywWUzgvJAwrLza','CNvUu2vXDwvUy2vZ','CgLUBMvKqxq','y29UDMvYC2f0Aw9UlML0zw0','q1vtve9n','CMvTB3zLqwDLBNrtzxnZAw9U','y3jLyxrLrxHLy3v0Aw9U','ChjVAMvJDe1LC3nHz2vbDhrHy2HTzw50CW','zxHWAxjLrhvLqxbWCM92ywXZ','zxHLy3v0Aw9UCW','q09nueXfveve','y3jLyxrLqxbWCM92ywW','z2v0v29YA3nWywnL','C2XPy2u','Dgv4Dc5KzwX0yq','DxbKyxrLuhjLCgfYAw5NvhvYBKf0DgfJAg1LBNrZ','DxbKyxrLqwDLBNrtzxnZAw9Uq29UzMLNDxjHDgLVBG','yxbWCM92ywXZ','zgvJAwrLqxbWCM92ywW','uLvox1rvuK5FtK9ux1jfqurz','mte3nZuZzujJzhrU','AxnjBNrLz2vY','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','zMXHDe1HCa','te9tva','DMvYC2LVBG','CxvLDwvwzxjZAw9UCW','u0vtu0LptL9dsefotKvmx1rps0vox0LovKfmsuq','yxbWCM92ywWUCMvXDwvZDa','uLvox0fmuKvbrfLFqunusvzf','yNvTCff1zxvLvMvYC2LVBG','DxbKyxrLuxvLDwvjDgvTqxr0ywnOBwvUDhm','ywnJzxnZ','BMv4Da','u1vdq0vfreve','CMvXDwLYzvf1zxvLsxrLBq','BM9KzuLK','ndu3mZbgqNPzA0y','uLvotKvs','A2v5CW','qvbquK9wquXFquXsrufewv9erunjreve','zgvSzxrLuxvLDwvjDgvT','BgLZDenVBNzLCNnHDgLVBLr1CM5Z','z2v0uNvU','qvbquK9wquXFtK9ux0vyueLsruq','B3v0Chv0u3vTBwfYEq','Aw5KzxG','oMfZC2LZDgfUDdO','ywrK','AxrLBxm','uLvox0vyrunvveLptL9ot1rFq1vsuKvova','uvvfvuvFvKvsu0LptL9dt05gteLdva','z2v0qxbWCM92ywW'];_0x1a55=function(){return _0xf77dc;};return _0x1a55();}function projectableConversationKind(_0x3045b3){const _0x5d6e0a=_0x4cca08;return _0x3045b3===_0x5d6e0a(0xec)||_0x3045b3===_0x5d6e0a(0x135)||_0x3045b3===_0x5d6e0a(0x1f4)||_0x3045b3===_0x5d6e0a(0x1ad)||_0x3045b3===_0x5d6e0a(0x1cb)||_0x3045b3===_0x5d6e0a(0x191)||_0x3045b3===_0x5d6e0a(0x14d)||_0x3045b3===_0x5d6e0a(0x1b8)||_0x3045b3===_0x5d6e0a(0x11e)||_0x3045b3===_0x5d6e0a(0x1d7)||_0x3045b3===_0x5d6e0a(0x1d1)||_0x3045b3===_0x5d6e0a(0x1e5);}function projectableConversationStatus(_0x1d3d9b){const _0x134083=_0x4cca08;return[_0x134083(0x199),_0x134083(0x142),_0x134083(0x163),_0x134083(0x117),_0x134083(0x1df),_0x134083(0x105),_0x134083(0x1ae)][_0x134083(0x1d9)](_0x1d3d9b);}function mergeConversationItemPayload(_0x6f1bb6,_0x1e5087){const _0xf7dcc0=_0x4cca08,_0x2c2969=_0x1e5087[_0xf7dcc0(0x1bb)]&&isRecord(_0x6f1bb6)?_0x6f1bb6:{},_0x4f2d6e={..._0x2c2969,..._0x1e5087[_0xf7dcc0(0x114)]};if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x1fc)){const _0x548892=Array[_0xf7dcc0(0xe8)](_0x2c2969[_0xf7dcc0(0x1fc)])?_0x2c2969[_0xf7dcc0(0x1fc)]:[],_0x452bb8=Array[_0xf7dcc0(0xe8)](_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1fc)])?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1fc)]:[],_0x3410e4=new Map();for(const _0x4a81ec of[..._0x548892,..._0x452bb8]){if(!isRecord(_0x4a81ec)||typeof _0x4a81ec[_0xf7dcc0(0x187)]!==_0xf7dcc0(0x1c1)||!Number[_0xf7dcc0(0x16e)](_0x4a81ec[_0xf7dcc0(0x187)])||_0x4a81ec[_0xf7dcc0(0x187)]<0x1768+0x1085+-0x27ed||typeof _0x4a81ec[_0xf7dcc0(0x124)]!==_0xf7dcc0(0xf8))continue;_0x3410e4[_0xf7dcc0(0x100)](_0x4a81ec[_0xf7dcc0(0x187)],appendProjectionText(_0x3410e4[_0xf7dcc0(0x116)](_0x4a81ec[_0xf7dcc0(0x187)])??'',_0x4a81ec[_0xf7dcc0(0x124)]));}_0x4f2d6e[_0xf7dcc0(0x1fc)]=[..._0x3410e4][_0xf7dcc0(0x1b4)](([_0x368278],[_0x51e2b6])=>_0x368278-_0x51e2b6)[_0xf7dcc0(0x1ca)](([_0x4189c1,_0x2486b2])=>({'index':_0x4189c1,'text':_0x2486b2}));}if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x1b5)){const _0x267c90=typeof _0x2c2969[_0xf7dcc0(0x1b5)]===_0xf7dcc0(0xf8)?_0x2c2969[_0xf7dcc0(0x1b5)]:'',_0x5b405d=typeof _0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1b5)]===_0xf7dcc0(0xf8)?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x1b5)]:'';_0x4f2d6e[_0xf7dcc0(0x1b5)]=appendProjectionText(_0x267c90,_0x5b405d);}if(_0x1e5087[_0xf7dcc0(0x12a)]===_0xf7dcc0(0x186)){const _0x2f73c8=typeof _0x2c2969[_0xf7dcc0(0x186)]===_0xf7dcc0(0xf8)?_0x2c2969[_0xf7dcc0(0x186)]:'',_0x1209a1=typeof _0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x186)]===_0xf7dcc0(0xf8)?_0x1e5087[_0xf7dcc0(0x114)][_0xf7dcc0(0x186)]:'';_0x4f2d6e[_0xf7dcc0(0x186)]=appendProjectionText(_0x2f73c8,_0x1209a1);}return _0x4f2d6e;}function appendProjectionText(_0x3799ae,_0x2c32fb){const _0x1dc4d0=_0x4cca08,_0x4fc3d2=''+_0x3799ae+_0x2c32fb;return _0x4fc3d2[_0x1dc4d0(0xe7)]<=-0x3*0x70b+0x26bb+0x1576?_0x4fc3d2:_0x4fc3d2[_0x1dc4d0(0x166)](-0x13*0x115+0x1f2a+0xb5*-0xf,-0x1113+-0x69+0x19*0x243)+'…';}function activeConversationItem(_0x1f2ac1){const _0x23aa87=_0x4cca08;return _0x1f2ac1===_0x23aa87(0x199)||_0x1f2ac1===_0x23aa87(0x142);}function completedConversationItem(_0x2c8cc2){return!activeConversationItem(_0x2c8cc2);}function completedStatusForRun(_0x4bcc91){const _0x29fd77=_0x4cca08;if(_0x4bcc91===_0x29fd77(0x1ae))return _0x29fd77(0x1ae);if(_0x4bcc91===_0x29fd77(0x105))return _0x29fd77(0x105);if(_0x4bcc91===_0x29fd77(0x117))return _0x29fd77(0x117);return _0x29fd77(0x163);}function _0x3e83(_0x172122,_0x417f76){_0x172122=_0x172122-(-0x7bc+0x1f5f*0x1+-0x16be);const _0x5c8993=_0x1a55();let _0x1aaabc=_0x5c8993[_0x172122];if(_0x3e83['hEoorQ']===undefined){var _0x1a3a62=function(_0x319d61){const _0x128316='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36f448='',_0x4c8621='';for(let _0x42768c=0x20d2+0x832*-0x1+-0x18a0,_0x32c659,_0x224cf2,_0x4de863=-0x2111+0x1*0x1523+-0x1*-0xbee;_0x224cf2=_0x319d61['charAt'](_0x4de863++);~_0x224cf2&&(_0x32c659=_0x42768c%(0x1be8+0x4d2+-0x20b6)?_0x32c659*(-0x52*-0x50+0x17a1+-0xd*0x3c5)+_0x224cf2:_0x224cf2,_0x42768c++%(0x19ae+-0x1715*0x1+-0x1*0x295))?_0x36f448+=String['fromCharCode'](-0x10fd*-0x1+-0x2*0xa2e+0x45e&_0x32c659>>(-(0x13d9+0x8*0x31d+-0x2cbf)*_0x42768c&-0x1*0x1df+-0xbc5+0x21*0x6a)):-0x907+0x121e+0xb3*-0xd){_0x224cf2=_0x128316['indexOf'](_0x224cf2);}for(let _0x2559b5=-0x3*-0x203+0x1*-0xcc7+0x6be,_0x2d1f6a=_0x36f448['length'];_0x2559b5<_0x2d1f6a;_0x2559b5++){_0x4c8621+='%'+('00'+_0x36f448['charCodeAt'](_0x2559b5)['toString'](-0x127d+0x23d5+0x4*-0x452))['slice'](-(0x1*0xa6f+-0x18*-0x20+0x1*-0xd6d));}return decodeURIComponent(_0x4c8621);};_0x3e83['CxgVne']=_0x1a3a62,_0x3e83['LizEml']={},_0x3e83['hEoorQ']=!![];}const _0x29e1b9=_0x5c8993[-0x178e+-0x405+0x1b93];_0x3e83['LvBsMh']!==_0x29e1b9&&(_0x3e83['LizEml']={},_0x3e83['LvBsMh']=_0x29e1b9);const _0x3247f9=_0x3e83['LizEml'][_0x172122];return _0x3247f9===undefined?(_0x1aaabc=_0x3e83['CxgVne'](_0x1aaabc),_0x3e83['LizEml'][_0x172122]=_0x1aaabc):_0x1aaabc=_0x3247f9,_0x1aaabc;}function executionStatusForRun(_0x3da345){const _0x1052a6=_0x4cca08;if(_0x3da345===_0x1052a6(0x117))return _0x1052a6(0x117);if(_0x3da345===_0x1052a6(0x1ae)||_0x3da345===_0x1052a6(0x105))return _0x1052a6(0x1ae);if(_0x3da345===_0x1052a6(0x17b))return _0x1052a6(0x17b);if(_0x3da345===_0x1052a6(0x1de))return _0x1052a6(0x1de);return _0x1052a6(0x10d);}function terminalExecution(_0x43c460){const _0x125bac=_0x4cca08;return _0x43c460===_0x125bac(0x17b)||_0x43c460===_0x125bac(0x117)||_0x43c460===_0x125bac(0x1ae);}function encodeCursor(_0x23fcdb,_0x30ffad){const _0x453e92=_0x4cca08;return Buffer[_0x453e92(0x120)](JSON[_0x453e92(0x198)]({'scope':_0x23fcdb,'value':_0x30ffad}))[_0x453e92(0x1b6)](_0x453e92(0x1d2));}function decodeCursor(_0x2ff0dd,_0x38451f){const _0x2dcc1e=_0x4cca08;if(_0x2ff0dd===undefined)return-0x217e+0x524+0x1c5a;try{const _0x173eec=JSON[_0x2dcc1e(0x1e4)](Buffer[_0x2dcc1e(0x120)](_0x2ff0dd,_0x2dcc1e(0x1d2))[_0x2dcc1e(0x1b6)](_0x2dcc1e(0x156)));return _0x173eec[_0x2dcc1e(0x144)]===_0x38451f&&Number[_0x2dcc1e(0x16e)](_0x173eec[_0x2dcc1e(0x11d)])&&_0x173eec[_0x2dcc1e(0x11d)]>=-0xf44+-0x1*0x188b+0x1*0x27cf?_0x173eec[_0x2dcc1e(0x11d)]:0x292*0x1+-0x56c*-0x3+-0x12d6;}catch{return-0x3*-0xaa4+-0x222e+0x22*0x11;}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mar-release-protected */
|
|
2
|
-
function _0x348c(_0x594680,_0x150ee6){_0x594680=_0x594680-(0x17a7+0x3*0x859+-0x2f4a);const _0x2fdd65=_0x2db2();let _0x14d01f=_0x2fdd65[_0x594680];if(_0x348c['JdGYut']===undefined){var _0x455cb4=function(_0x4ea1b4){const _0x1d7f33='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11d057='',_0x513fe2='';for(let _0x1e20fe=-0xf0b+-0x239*-0x2+0xa99,_0x33c5cb,_0xd58a96,_0x698016=-0x1b81*0x1+0xea6+0xcdb;_0xd58a96=_0x4ea1b4['charAt'](_0x698016++);~_0xd58a96&&(_0x33c5cb=_0x1e20fe%(0x187*-0x3+-0xd*0x9b+0x428*0x3)?_0x33c5cb*(0x476*0x4+-0x14c8+0x330)+_0xd58a96:_0xd58a96,_0x1e20fe++%(0x73d*0x2+-0x1*-0x12a1+0xc5*-0x2b))?_0x11d057+=String['fromCharCode'](0x2659+0x700+-0x2c5a&_0x33c5cb>>(-(-0x2*-0xe32+-0x2390+-0x397*-0x2)*_0x1e20fe&0xd3b+0x70b*0x3+-0x2256)):0x5*-0x463+-0x2*0x575+0x20d9){_0xd58a96=_0x1d7f33['indexOf'](_0xd58a96);}for(let _0x576219=0x12e5+-0x14fc+0x1*0x217,_0x2ba536=_0x11d057['length'];_0x576219<_0x2ba536;_0x576219++){_0x513fe2+='%'+('00'+_0x11d057['charCodeAt'](_0x576219)['toString'](0x17b*-0xd+0x26*0x48+0x89f))['slice'](-(-0x1*-0x25cd+0x5b*-0x7+0x11a7*-0x2));}return decodeURIComponent(_0x513fe2);};_0x348c['BrSKjl']=_0x455cb4,_0x348c['BMEsSD']={},_0x348c['JdGYut']=!![];}const _0x2c9f89=_0x2fdd65[0x7a5+-0x18*-0xfe+0x1f75*-0x1];_0x348c['Gqxdwy']!==_0x2c9f89&&(_0x348c['BMEsSD']={},_0x348c['Gqxdwy']=_0x2c9f89);const _0x2a0d7d=_0x348c['BMEsSD'][_0x594680];return _0x2a0d7d===undefined?(_0x14d01f=_0x348c['BrSKjl'](_0x14d01f),_0x348c['BMEsSD'][_0x594680]=_0x14d01f):_0x14d01f=_0x2a0d7d,_0x14d01f;}const _0x1bad2a=_0x348c;(function(_0x53d198,_0x9af955){const _0x47cab2=_0x348c,_0x47cd25=_0x53d198();while(!![]){try{const _0x4c05ca=-parseInt(_0x47cab2(0x184))/(0x2350+0xc74+-0x2fc3*0x1)+-parseInt(_0x47cab2(0x19b))/(-0x266f*0x1+0xc0+-0x25b1*-0x1)+-parseInt(_0x47cab2(0x191))/(0xf53*0x1+0x36b+0x89*-0x23)+-parseInt(_0x47cab2(0x176))/(-0x23c7+0x270d+0x342*-0x1)*(parseInt(_0x47cab2(0x179))/(0x2504*0x1+0x251e*-0x1+0x1f))+-parseInt(_0x47cab2(0x18e))/(-0x7*-0x22a+-0x1*0xc4d+-0x2d3)+parseInt(_0x47cab2(0x1d2))/(0xb7*-0x2d+-0x9*0x2b1+-0x1*-0x386b)+parseInt(_0x47cab2(0x1c5))/(0x129e+0x2695+-0x392b)*(parseInt(_0x47cab2(0x1c9))/(-0xf9d+-0x1044*-0x1+-0x9e*0x1));if(_0x4c05ca===_0x9af955)break;else _0x47cd25['push'](_0x47cd25['shift']());}catch(_0x59fb29){_0x47cd25['push'](_0x47cd25['shift']());}}}(_0x2db2,0x21d97*-0x2+-0x15dde0+0xb3*0x368f));function _0x2db2(){const _0x5bf51b=['CgvYC29UywXjBNn0CNvJDgLVBNm','zgvSzxrLuxvLDwvjDgvT','C2nOzwr1Bgu','AxrLBuLKCW','CMvZDw1L','z2v0qwDLBNrtzxnZAw9U','ChvIBgLZAa','Aw50zw50','nJrMzgjIB2y','ywnJzxb0','y3jLyxrLrxHLy3v0Aw9U','AgfZ','mZC0nJmYmK5VrLLXsG','y2XHAw1ozxH0uxvLDwvjDgvT','tuvtu0fhrv9trvntsu9ox01ju01bveni','zw1PDenVBNzLCNnHDgLVBG','y3jLyxrLuxvLDwvjDgvT','Cgf1C2vK','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','y2XLyxjjBwfNzxm','y29UDhjVBa','mta4mta1nZzXDfLvuhm','DhvYBG','C2nOzwr1BgvKu2vZC2LVBNm','ywn0AxzLu2vZC2LVBLj1BG','zxHLy3v0zvf1zxvLsxrLBq','BwfYA0LUDgvYCNvWDgvK','y29UDgvUDa','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','BwLNCMf0zufZC2v0CW','uvvfvuu','u0vora','Dw5Yzwy','zgLZCgf0y2HLzev4zwn1DgLVBNm','CNvUDgLTzq','C3vIBwLZC2LVBKLK','y3jLyxrLtwvZC2fNzvj1BG','CMvZDw1Lu2vZC2LVBLf1zxvL','ywn0AxzLuNvUswq','nhPKvM9ktW','ChjLCgfYzwrjBNb1Dhm','C2v0DgXL','mteZntqWnxvtDMPNyW','C3rHCNrjzgXLuxvLDwu','y2XLyxi','Aw5WDxq','rKfjteve','CgvUzgLUzW','C2vZC2LVBLf1zxvL','y2XPzw50twvZC2fNzuLK','uvvfvuvFsu5qvvrFte9tva','uLvox05pvf9gt1vora','ywnJzxnZ','nteWmZKYDuvKzxvJ','DMfSDwvZ','C2vZC2LVBKLK','y3DK','CMvTB3zL','ChjPB3jPDgL6zvf1zxvLsxrLBq','Aw5PDgLHDgvKqNLvC2vYswq','CNvUlMLUDgvYCNvWDa','C3rVChbLza','Bw9KzwW','ndyZnZC5mgDkwfLLuG','y2XLyw51Cef0DgfJAg1LBNrZ','y3vYCMvUDev4zwn1DgLVBKLK','ndeXmJa0m3vIA05mza','uKvtvefsveLorW','z2v0uNvU','ChjLCgfYzq','CMvWBgfJzq','u1rbuLrfra','yxr0ywnOBwvUDhm','CNvUlNn0yxj0','BwnWCW','BwLNCMf0zvnLC3nPB24','mJqWnZe0mg5zqLjiDW','BgvUz3rO','zgLZCgf0y2G','B3b0Aw9UCW','CxvLDwvczwzVCMu','uvvfvuve','AxrLBq','y29SBgfIB3jHDgLVBK1Vzgu','u0vtu0LptL9ot1rFrK9vtKq','zgvSzxrL','z2v0uxvLDwvjDgvT','CNvUBMvY','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','uLvox0vyrunvveLptL9ot1rFrK9vtKq','uLvox1nuqvjux0zbsuXfra','y3jLyxrLza','ChvIBgLZAen1CNjLBNruDxjU','zw1PDfj1BG','C2vJCMv0rw52AxjVBM1LBNq','C2vYDMLJzvrPzxi','zw1PDff1zxvL','CMvXDwLYzvbYzxbHCMvKsxrLBq','zwzMB3j0','CNvUlNjLAMvJDgvK','C2v0','ywrK','CNvUswq','DxbKyxrLuhjLCgfYzwrjBNb1Da','zxH0zxjUywXtzxnZAw9Uswq','zMfPBfbYzxbHCMf0Aw9U','uvvfvuvFsvrftv9jtLzbteLe','z2v0','tuvtu0fhrv9ot1rFrK9vtKq','D29YA3nWywnLswq'];_0x2db2=function(){return _0x5bf51b;};return _0x2db2();}import{safeErrorCode}from'../util/safe-error.js';export class ContinuousRunCoordinator{[_0x1bad2a(0x19e)];[_0x1bad2a(0x177)]=new Map();[_0x1bad2a(0x170)]=new Set();[_0x1bad2a(0x1d4)]=new Map();constructor(_0x2de6a5){const _0x52b1ea=_0x1bad2a;this[_0x52b1ea(0x19e)]=_0x2de6a5;}[_0x1bad2a(0x1c6)](_0x5256b6){const _0xddfd23=_0x1bad2a,_0x4489d4=this[_0xddfd23(0x19e)][_0xddfd23(0x171)][_0xddfd23(0x1d5)](_0x5256b6[_0xddfd23(0x186)]);if(_0x4489d4===undefined)return this[_0xddfd23(0x19e)][_0xddfd23(0x171)][_0xddfd23(0x173)](_0x5256b6);const _0x4c298b=this[_0xddfd23(0x19e)][_0xddfd23(0x171)][_0xddfd23(0x1cd)]({'queueItemId':_0x5256b6[_0xddfd23(0x1b5)],'sessionId':_0x5256b6[_0xddfd23(0x186)],'clientMessageId':_0x5256b6[_0xddfd23(0x180)],'content':_0x5256b6[_0xddfd23(0x16a)],..._0x5256b6[_0xddfd23(0x18a)]===undefined?{}:{'initiatedByUserId':_0x5256b6[_0xddfd23(0x18a)]},..._0x5256b6[_0xddfd23(0x197)]===undefined?{}:{'attachments':_0x5256b6[_0xddfd23(0x197)]}});return{'run':_0x4489d4,'queueItem':_0x4c298b[_0xddfd23(0x1a1)],'created':_0x4c298b[_0xddfd23(0x1aa)]};}[_0x1bad2a(0x194)](_0x29581a,_0x4fcb2d){const _0xf89d88=_0x1bad2a,_0x43a5ec=this[_0xf89d88(0x19e)][_0xf89d88(0x171)][_0xf89d88(0x193)](_0x29581a),_0xe07aeb=this[_0xf89d88(0x19e)][_0xf89d88(0x171)][_0xf89d88(0x1a5)](_0x29581a);if(_0x43a5ec===undefined&&_0xe07aeb===undefined)throw new Error(_0xf89d88(0x1bb));if((_0x43a5ec?.[_0xf89d88(0x186)]??_0xe07aeb?.[_0xf89d88(0x186)])!==_0x4fcb2d[_0xf89d88(0x186)])throw new Error(_0xf89d88(0x1cb));this[_0xf89d88(0x177)][_0xf89d88(0x1b3)](_0x29581a,_0x4fcb2d);}[_0x1bad2a(0x17e)](_0x3fd68f){const _0x331490=_0x1bad2a;return this[_0x331490(0x177)][_0x331490(0x1ba)](_0x3fd68f);}[_0x1bad2a(0x1b8)](_0x49797d,_0x10c9b3){const _0x511016=_0x1bad2a;this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x16b)](_0x49797d,_0x10c9b3);const _0x439e09=this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x1a5)](_0x49797d);if(_0x439e09!==undefined){const _0xd2083f=_0x439e09[_0x511016(0x186)];this[_0x511016(0x1be)](_0x439e09['id']);const _0x14ea78=this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x1d5)](_0xd2083f);if(_0x14ea78===undefined||this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x190)](_0x14ea78['id'])!==undefined)return;if(this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x17f)](_0xd2083f)[_0x511016(0x1c0)][_0x511016(0x19c)]>-0x1515+0x2*-0xa08+0x2925){this[_0x511016(0x1bf)](_0xd2083f);return;}this[_0x511016(0x19e)][_0x511016(0x1ac)](_0x14ea78['id'],_0x511016(0x1b2),{'code':_0x10c9b3},_0x511016(0x17d));return;}const _0x5639c5=this[_0x511016(0x19e)][_0x511016(0x171)][_0x511016(0x193)](_0x49797d);if(_0x5639c5!==undefined)this[_0x511016(0x19e)][_0x511016(0x1ac)](_0x5639c5['id'],_0x511016(0x1b2),{'code':_0x10c9b3},_0x511016(0x17d));}[_0x1bad2a(0x178)](_0x225e3f){const _0x171e63=_0x1bad2a,_0x593fd5=this[_0x171e63(0x177)][_0x171e63(0x1ba)](_0x225e3f[_0x171e63(0x172)]),_0x40f569=this[_0x171e63(0x19e)][_0x171e63(0x171)][_0x171e63(0x1a5)](_0x225e3f[_0x171e63(0x172)]),_0x42a82f=_0x593fd5?.[_0x171e63(0x186)]??_0x40f569?.[_0x171e63(0x186)];if(_0x42a82f===undefined)throw new Error(_0x171e63(0x1a3));const _0x287e38=this[_0x171e63(0x19e)][_0x171e63(0x171)][_0x171e63(0x1d5)](_0x42a82f);if(!_0x225e3f[_0x171e63(0x19f)][_0x171e63(0x1ce)]||_0x225e3f[_0x171e63(0x1c4)]!==_0x171e63(0x16d))this[_0x171e63(0x19e)][_0x171e63(0x171)][_0x171e63(0x174)](_0x42a82f);if(_0x225e3f[_0x171e63(0x175)]!==undefined&&_0x287e38?.['id']===_0x225e3f[_0x171e63(0x175)])return this[_0x171e63(0x195)](_0x225e3f[_0x171e63(0x172)],_0x287e38['id']),_0x171e63(0x192);if(_0x287e38!==undefined&&_0x225e3f[_0x171e63(0x172)]===_0x287e38['id'])return this[_0x171e63(0x1bf)](_0x42a82f),_0x171e63(0x196);if(_0x287e38===undefined&&_0x40f569!==undefined){if(_0x225e3f[_0x171e63(0x19f)][_0x171e63(0x1ce)]&&_0x225e3f[_0x171e63(0x1c4)]===_0x171e63(0x16e))this[_0x171e63(0x19e)][_0x171e63(0x171)][_0x171e63(0x189)](_0x40f569['id']);return this[_0x171e63(0x17a)](_0x42a82f),_0x171e63(0x196);}return this[_0x171e63(0x1c3)](_0x42a82f),_0x171e63(0x1a0);}[_0x1bad2a(0x168)](_0x2db831){const _0x199f1f=_0x1bad2a,_0x46bfc2=this[_0x199f1f(0x1b0)](_0x2db831);this[_0x199f1f(0x19e)][_0x199f1f(0x171)][_0x199f1f(0x174)](_0x46bfc2[_0x199f1f(0x186)]),this[_0x199f1f(0x19e)][_0x199f1f(0x171)][_0x199f1f(0x189)](_0x46bfc2['id']);const _0x161429=this[_0x199f1f(0x19e)][_0x199f1f(0x171)][_0x199f1f(0x1d5)](_0x46bfc2[_0x199f1f(0x186)]);if(_0x161429!==undefined)return this[_0x199f1f(0x195)](_0x46bfc2['id'],_0x161429['id'],![]),{'run':_0x161429,'delivery':_0x199f1f(0x192)};this[_0x199f1f(0x17a)](_0x46bfc2[_0x199f1f(0x186)]);const _0x1abf20=this[_0x199f1f(0x19e)][_0x199f1f(0x171)][_0x199f1f(0x1d5)](_0x46bfc2[_0x199f1f(0x186)]);if(_0x1abf20===undefined)throw new Error(_0x199f1f(0x182));return{'run':_0x1abf20,'delivery':_0x199f1f(0x196)};}[_0x1bad2a(0x1b6)](_0x2baebf,_0x3669e4){const _0x36f05a=_0x1bad2a,_0x332227=this[_0x36f05a(0x177)][_0x36f05a(0x1ba)](_0x2baebf);if(_0x332227===undefined)return;this[_0x36f05a(0x177)][_0x36f05a(0x1b3)](_0x2baebf,{..._0x332227,'input':_0x3669e4});}[_0x1bad2a(0x1be)](_0x183332){const _0x389443=_0x1bad2a,_0x3cbba2=this[_0x389443(0x19e)][_0x389443(0x171)][_0x389443(0x1a5)](_0x183332);if(_0x3cbba2===undefined)throw new Error(_0x389443(0x1b9));this[_0x389443(0x19e)][_0x389443(0x171)][_0x389443(0x1be)](_0x3cbba2['id']),this[_0x389443(0x188)](_0x3cbba2['id']),this[_0x389443(0x19e)][_0x389443(0x1d0)](_0x3cbba2['id']),this[_0x389443(0x19e)][_0x389443(0x18f)](_0x3cbba2['id']),this[_0x389443(0x19e)][_0x389443(0x1af)](_0x3cbba2[_0x389443(0x1bc)],_0x3cbba2[_0x389443(0x186)]);}[_0x1bad2a(0x1ab)](_0x31608b){const _0x1efa3c=_0x1bad2a,_0x50c782=this[_0x1efa3c(0x19e)][_0x1efa3c(0x171)][_0x1efa3c(0x1a7)](_0x31608b);if(_0x50c782!==undefined)this[_0x1efa3c(0x19e)][_0x1efa3c(0x1cc)](_0x50c782);}[_0x1bad2a(0x1c3)](_0x4202ef){const _0x39e84b=_0x1bad2a,_0x45806c=this[_0x39e84b(0x19e)][_0x39e84b(0x171)][_0x39e84b(0x1c2)](_0x4202ef);if(_0x45806c===undefined)throw new Error(_0x39e84b(0x1a3));this[_0x39e84b(0x19e)][_0x39e84b(0x1af)](_0x45806c[_0x39e84b(0x1bc)],_0x45806c['id']);}[_0x1bad2a(0x195)](_0x2b59ee,_0x5dd369,_0x2ca633=!![]){const _0x30ede8=_0x1bad2a,_0x4ff1ac=this[_0x30ede8(0x1b0)](_0x2b59ee),_0x1ed71d=this[_0x30ede8(0x19e)][_0x30ede8(0x171)][_0x30ede8(0x193)](_0x5dd369);if(_0x1ed71d===undefined||_0x4ff1ac[_0x30ede8(0x186)]!==_0x1ed71d[_0x30ede8(0x186)])throw new Error(_0x30ede8(0x1b9));if(_0x2ca633)this[_0x30ede8(0x19e)][_0x30ede8(0x171)][_0x30ede8(0x189)](_0x4ff1ac['id']);this[_0x30ede8(0x1c3)](_0x4ff1ac[_0x30ede8(0x186)]);const _0x3fd97f=this[_0x30ede8(0x19e)][_0x30ede8(0x171)][_0x30ede8(0x190)](_0x1ed71d['id']);if(_0x3fd97f===undefined)throw new Error(_0x30ede8(0x1a8));this[_0x30ede8(0x19e)][_0x30ede8(0x169)](_0x3fd97f),this[_0x30ede8(0x19e)][_0x30ede8(0x1d1)](_0x30ede8(0x18b),{'runId':_0x3fd97f});}[_0x1bad2a(0x1c1)](_0x4ff8aa){const _0x740615=_0x1bad2a;this[_0x740615(0x19e)][_0x740615(0x171)][_0x740615(0x174)](_0x4ff8aa),this[_0x740615(0x17a)](_0x4ff8aa);}[_0x1bad2a(0x1bf)](_0x4544a5){const _0x15bd71=_0x1bad2a;if(this[_0x15bd71(0x1d4)][_0x15bd71(0x1c8)](_0x4544a5))return;const _0x4df3b6=setTimeout(()=>{const _0x4b59e7=_0x15bd71;this[_0x4b59e7(0x1d4)][_0x4b59e7(0x1a4)](_0x4544a5);if(!this[_0x4b59e7(0x19e)][_0x4b59e7(0x18c)]())void this[_0x4b59e7(0x19d)](_0x4544a5);},-0x1c90+-0x6e7+0x2377*0x1);this[_0x15bd71(0x1d4)][_0x15bd71(0x1b3)](_0x4544a5,_0x4df3b6),_0x4df3b6[_0x15bd71(0x16f)]();}async[_0x1bad2a(0x19d)](_0x3904dd){const _0xb74e94=_0x1bad2a,_0x4cc033=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x1d5)](_0x3904dd);if(_0x4cc033===undefined)return;let _0xaaca50=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x190)](_0x4cc033['id']);if(_0xaaca50!==undefined&&this[_0xb74e94(0x170)][_0xb74e94(0x1c8)](_0xaaca50))return;let _0x38fa11=_0xaaca50===undefined?this[_0xb74e94(0x177)][_0xb74e94(0x1ba)](_0x4cc033['id']):this[_0xb74e94(0x177)][_0xb74e94(0x1ba)](_0xaaca50);if(_0xaaca50===undefined&&_0x38fa11===undefined){const _0x1af92f=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x17f)](_0x3904dd)[_0xb74e94(0x1c0)][0x212f*0x1+-0x5f*0x26+0x3d1*-0x5];if(_0x1af92f===undefined)return;_0x38fa11=this[_0xb74e94(0x177)][_0xb74e94(0x1ba)](_0x1af92f);if(_0x38fa11===undefined)return;const _0x53fd20=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x1ca)](_0x3904dd);if(_0x53fd20===undefined)return;const _0x4f590e=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x1c7)](_0x4cc033['id']);_0xaaca50=_0x4f590e['id'],this[_0xb74e94(0x177)][_0xb74e94(0x1a4)](_0x1af92f),this[_0xb74e94(0x177)][_0xb74e94(0x1b3)](_0x4f590e['id'],{..._0x38fa11,'runId':_0x4f590e['id']}),this[_0xb74e94(0x19e)][_0xb74e94(0x16c)](_0x1af92f,_0x4f590e['id']),this[_0xb74e94(0x1c3)](_0x3904dd),this[_0xb74e94(0x19e)][_0xb74e94(0x1cc)](_0x53fd20[_0xb74e94(0x1d3)]);}else{if(_0xaaca50===undefined&&_0x38fa11!==undefined){const _0x594680=this[_0xb74e94(0x19e)][_0xb74e94(0x171)][_0xb74e94(0x1c7)](_0x4cc033['id']);_0xaaca50=_0x594680['id'],this[_0xb74e94(0x177)][_0xb74e94(0x1a4)](_0x4cc033['id']),this[_0xb74e94(0x177)][_0xb74e94(0x1b3)](_0x594680['id'],{..._0x38fa11,'runId':_0x594680['id']}),this[_0xb74e94(0x19e)][_0xb74e94(0x16c)](_0x4cc033['id'],_0x594680['id']);}}if(_0xaaca50===undefined||_0x38fa11===undefined)return;if(this[_0xb74e94(0x170)][_0xb74e94(0x1c8)](_0xaaca50))return;this[_0xb74e94(0x170)][_0xb74e94(0x1b4)](_0xaaca50);try{this[_0xb74e94(0x19e)][_0xb74e94(0x1d1)](_0xb74e94(0x198),{'runId':_0xaaca50,'sessionId':_0x38fa11[_0xb74e94(0x186)],'workspaceId':_0x38fa11[_0xb74e94(0x1bc)],'runner':_0x38fa11[_0xb74e94(0x1a6)],'input':_0x38fa11[_0xb74e94(0x17c)],..._0x38fa11[_0xb74e94(0x197)][_0xb74e94(0x19c)]===0x52*-0x54+0x619*-0x5+-0x1*-0x3965?{}:{'attachments':_0x38fa11[_0xb74e94(0x197)]},'cwd':_0x38fa11[_0xb74e94(0x187)],..._0x38fa11[_0xb74e94(0x1b7)]===null?{}:{'externalSessionId':_0x38fa11[_0xb74e94(0x1b7)]},..._0x38fa11[_0xb74e94(0x18d)]===null?{}:{'model':_0x38fa11[_0xb74e94(0x18d)]},..._0x38fa11[_0xb74e94(0x1b1)]===null?{}:{'effort':_0x38fa11[_0xb74e94(0x1b1)]},..._0x38fa11[_0xb74e94(0x183)]===null?{}:{'access':_0x38fa11[_0xb74e94(0x183)]},'collaborationMode':_0x38fa11[_0xb74e94(0x1a2)],..._0x38fa11[_0xb74e94(0x1ae)]===undefined?{}:{'serviceTier':_0x38fa11[_0xb74e94(0x1ae)]},'secretEnvironment':_0x38fa11[_0xb74e94(0x1ad)],..._0x38fa11[_0xb74e94(0x1bd)]===undefined?{}:{'personalInstructions':_0x38fa11[_0xb74e94(0x1bd)]},'mcpInstallations':this[_0xb74e94(0x19e)][_0xb74e94(0x199)](_0x38fa11[_0xb74e94(0x1bc)])});}catch(_0x150ee6){this[_0xb74e94(0x19e)][_0xb74e94(0x1ac)](_0xaaca50,_0xb74e94(0x1b2),{'code':safeErrorCode(_0x150ee6,_0xb74e94(0x1a9))},_0xb74e94(0x17d));}}[_0x1bad2a(0x19a)](_0x2fdd65,_0x14d01f){const _0x209795=_0x1bad2a;for(const [_0x2c9f89,_0x2a0d7d]of this[_0x209795(0x177)])if(_0x2a0d7d[_0x209795(0x186)]===_0x2fdd65)this[_0x209795(0x177)][_0x209795(0x1b3)](_0x2c9f89,{..._0x2a0d7d,'sessionId':_0x14d01f,'externalSessionId':_0x14d01f});const _0x455cb4=this[_0x209795(0x1d4)][_0x209795(0x1ba)](_0x2fdd65);_0x455cb4!==undefined&&(clearTimeout(_0x455cb4),this[_0x209795(0x1d4)][_0x209795(0x1a4)](_0x2fdd65),this[_0x209795(0x1bf)](_0x14d01f));}[_0x1bad2a(0x188)](_0x4ea1b4){const _0x3d86ff=_0x1bad2a;this[_0x3d86ff(0x177)][_0x3d86ff(0x1a4)](_0x4ea1b4),this[_0x3d86ff(0x170)][_0x3d86ff(0x1a4)](_0x4ea1b4);}[_0x1bad2a(0x17b)](){const _0x4a5715=_0x1bad2a;this[_0x4a5715(0x177)][_0x4a5715(0x17b)](),this[_0x4a5715(0x170)][_0x4a5715(0x17b)]();for(const _0x1d7f33 of this[_0x4a5715(0x1d4)][_0x4a5715(0x185)]())clearTimeout(_0x1d7f33);this[_0x4a5715(0x1d4)][_0x4a5715(0x17b)]();}[_0x1bad2a(0x17a)](_0x11d057){const _0x142afd=_0x1bad2a;if(this[_0x142afd(0x19e)][_0x142afd(0x171)][_0x142afd(0x1d5)](_0x11d057)!==undefined){this[_0x142afd(0x1bf)](_0x11d057);return;}const _0x513fe2=this[_0x142afd(0x19e)][_0x142afd(0x171)][_0x142afd(0x17f)](_0x11d057),_0x1e20fe=_0x513fe2[_0x142afd(0x1ce)]?undefined:_0x513fe2[_0x142afd(0x1c0)][0x1*0x1e9e+0x1a17+-0x38b5];if(_0x1e20fe===undefined)return;const _0x33c5cb=this[_0x142afd(0x177)][_0x142afd(0x1ba)](_0x1e20fe);if(_0x33c5cb===undefined)throw new Error(_0x142afd(0x181));const {run:_0xd58a96,turn:_0x698016}=this[_0x142afd(0x19e)][_0x142afd(0x171)][_0x142afd(0x1cf)](_0x1e20fe);this[_0x142afd(0x177)][_0x142afd(0x1a4)](_0x1e20fe),this[_0x142afd(0x177)][_0x142afd(0x1b3)](_0xd58a96['id'],{..._0x33c5cb,'runId':_0xd58a96['id']}),this[_0x142afd(0x19e)][_0x142afd(0x1af)](_0xd58a96[_0x142afd(0x1bc)],_0x11d057),this[_0x142afd(0x19e)][_0x142afd(0x1cc)](_0x698016),this[_0x142afd(0x1bf)](_0x11d057);}[_0x1bad2a(0x1b0)](_0x576219){const _0x28e99c=_0x1bad2a,_0x2ba536=this[_0x28e99c(0x19e)][_0x28e99c(0x171)][_0x28e99c(0x1a5)](_0x576219);if(_0x2ba536===undefined)throw new Error(_0x28e99c(0x1b9));if(!this[_0x28e99c(0x177)][_0x28e99c(0x1c8)](_0x576219))throw new Error(_0x28e99c(0x181));return _0x2ba536;}}
|
|
2
|
+
function _0x1e03(_0x1592da,_0x5c56b9){_0x1592da=_0x1592da-(-0x1*0x11d7+-0x901*0x3+0x2de4);const _0xe5fa06=_0x5e0f();let _0x55a4df=_0xe5fa06[_0x1592da];if(_0x1e03['CEFSbD']===undefined){var _0x43e85e=function(_0xe5c6db){const _0x439055='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30956f='',_0x29b663='';for(let _0x5471fa=-0xf*-0x211+0x1*0x2065+-0x3f64,_0x1cf8c5,_0x11283b,_0x38fc12=-0x87c+0x5*0x52d+-0x1165;_0x11283b=_0xe5c6db['charAt'](_0x38fc12++);~_0x11283b&&(_0x1cf8c5=_0x5471fa%(0x13*0xf9+0x167f+0xd6*-0x31)?_0x1cf8c5*(0x1aaf+-0x9b9+-0x10b6)+_0x11283b:_0x11283b,_0x5471fa++%(0x3*-0x238+0x1290+-0x2*0x5f2))?_0x30956f+=String['fromCharCode'](-0x1d7c+-0x16cb+0x11c2*0x3&_0x1cf8c5>>(-(-0xd72+0x218a+-0x1416*0x1)*_0x5471fa&-0x1159+-0x87c+0x19db)):0x4c2+0x918+0x9*-0x18a){_0x11283b=_0x439055['indexOf'](_0x11283b);}for(let _0x575c2f=0x158*0x16+-0x21cb+0x43b,_0x43a357=_0x30956f['length'];_0x575c2f<_0x43a357;_0x575c2f++){_0x29b663+='%'+('00'+_0x30956f['charCodeAt'](_0x575c2f)['toString'](0x53*-0xd+-0xba3+0xfea*0x1))['slice'](-(-0xb07*0x3+-0x1c2+-0x1*-0x22d9));}return decodeURIComponent(_0x29b663);};_0x1e03['aEPIJa']=_0x43e85e,_0x1e03['tpfEWq']={},_0x1e03['CEFSbD']=!![];}const _0x112575=_0xe5fa06[-0x1132+0x1e1e+-0xcec];_0x1e03['OLzmMs']!==_0x112575&&(_0x1e03['tpfEWq']={},_0x1e03['OLzmMs']=_0x112575);const _0x6fe9d7=_0x1e03['tpfEWq'][_0x1592da];return _0x6fe9d7===undefined?(_0x55a4df=_0x1e03['aEPIJa'](_0x55a4df),_0x1e03['tpfEWq'][_0x1592da]=_0x55a4df):_0x55a4df=_0x6fe9d7,_0x55a4df;}const _0x2a0c55=_0x1e03;(function(_0x558244,_0xc1348c){const _0x1043e3=_0x1e03,_0x467766=_0x558244();while(!![]){try{const _0x201519=-parseInt(_0x1043e3(0x147))/(0x5*-0xce+-0x1ba9+0x1fb0)*(-parseInt(_0x1043e3(0x138))/(0x1cd*-0x4+-0x15a1+0x1cd7))+parseInt(_0x1043e3(0x119))/(0xb*0xa7+-0x409+0x3*-0x10b)+parseInt(_0x1043e3(0x155))/(-0x21c2+-0x34*0x47+0x3032)+parseInt(_0x1043e3(0x14c))/(-0x9*0x1eb+0x2205+-0x10bd)*(parseInt(_0x1043e3(0x167))/(0x20d8+0x1be5+0x9*-0x6bf))+parseInt(_0x1043e3(0x11c))/(-0x10e1+0x1c4e+-0xb66)+parseInt(_0x1043e3(0x16c))/(0x1*-0x136f+-0x19ae+-0x7*-0x673)*(parseInt(_0x1043e3(0x158))/(-0xd*-0x65+-0x2*0xd5b+0x2*0xacf))+parseInt(_0x1043e3(0x176))/(0x17ee+-0xbfd+-0xbe7)*(-parseInt(_0x1043e3(0x136))/(-0x50f+0x5e+0x4bc));if(_0x201519===_0xc1348c)break;else _0x467766['push'](_0x467766['shift']());}catch(_0x18a43d){_0x467766['push'](_0x467766['shift']());}}}(_0x5e0f,-0x1*0x69133+-0x196cfd+-0x1*-0x2dfdcd));import{safeErrorCode}from'../util/safe-error.js';export class ContinuousRunCoordinator{[_0x2a0c55(0x12b)];[_0x2a0c55(0x175)]=new Map();[_0x2a0c55(0x11a)]=new Set();[_0x2a0c55(0x171)]=new Set();[_0x2a0c55(0x15c)]=new Map();constructor(_0xac4193){const _0x20af71=_0x2a0c55;this[_0x20af71(0x12b)]=_0xac4193;}[_0x2a0c55(0x156)](_0x41d5da){const _0x4a5b60=_0x2a0c55,_0x4e6abb=this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x113)](_0x41d5da[_0x4a5b60(0x17c)]);if(_0x4e6abb===undefined)return this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x123)](_0x41d5da);const _0x1f4796=this[_0x4a5b60(0x12b)][_0x4a5b60(0x13c)][_0x4a5b60(0x15e)]({'queueItemId':_0x41d5da[_0x4a5b60(0x183)],'sessionId':_0x41d5da[_0x4a5b60(0x17c)],'clientMessageId':_0x41d5da[_0x4a5b60(0x11f)],'content':_0x41d5da[_0x4a5b60(0x164)],..._0x41d5da[_0x4a5b60(0x10b)]===undefined?{}:{'initiatedByUserId':_0x41d5da[_0x4a5b60(0x10b)]},..._0x41d5da[_0x4a5b60(0x135)]===undefined?{}:{'attachments':_0x41d5da[_0x4a5b60(0x135)]}});if(_0x1f4796[_0x4a5b60(0x128)])this[_0x4a5b60(0x12b)][_0x4a5b60(0x15f)](_0x1f4796[_0x4a5b60(0x17f)][_0x4a5b60(0x172)],_0x1f4796[_0x4a5b60(0x17f)][_0x4a5b60(0x17c)]);return{'run':_0x4e6abb,'queueItem':_0x1f4796[_0x4a5b60(0x17f)],'created':_0x1f4796[_0x4a5b60(0x128)]};}[_0x2a0c55(0x14a)](_0x589f82,_0x253936){const _0x295b2=_0x2a0c55,_0x1fadee=this[_0x295b2(0x12b)][_0x295b2(0x13c)][_0x295b2(0x12e)](_0x589f82),_0x4d2fb1=this[_0x295b2(0x12b)][_0x295b2(0x13c)][_0x295b2(0x169)](_0x589f82);if(_0x1fadee===undefined&&_0x4d2fb1===undefined)throw new Error(_0x295b2(0x16d));if((_0x1fadee?.[_0x295b2(0x17c)]??_0x4d2fb1?.[_0x295b2(0x17c)])!==_0x253936[_0x295b2(0x17c)])throw new Error(_0x295b2(0x115));this[_0x295b2(0x175)][_0x295b2(0x126)](_0x589f82,_0x253936);}[_0x2a0c55(0x180)](_0xa028){const _0x168a16=_0x2a0c55;return this[_0x168a16(0x175)][_0x168a16(0x149)](_0xa028);}[_0x2a0c55(0x131)](_0x1a8459,_0x255546){const _0x3acd4f=_0x2a0c55;this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x124)](_0x1a8459,_0x255546);const _0x2ddb71=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x169)](_0x1a8459);if(_0x2ddb71!==undefined){const _0x4d5804=_0x2ddb71[_0x3acd4f(0x17c)];this[_0x3acd4f(0x166)](_0x2ddb71['id']);const _0x357e88=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x113)](_0x4d5804);if(_0x357e88===undefined||this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x177)](_0x357e88['id'])!==undefined)return;if(this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x161)](_0x4d5804)[_0x3acd4f(0x151)][_0x3acd4f(0x116)]>-0x5b*0x1f+0x6f8+-0x1*-0x40d){this[_0x3acd4f(0x144)](_0x4d5804);return;}this[_0x3acd4f(0x12b)][_0x3acd4f(0x10e)](_0x357e88['id'],_0x3acd4f(0x10f),{'code':_0x255546},_0x3acd4f(0x174));return;}const _0x7090d6=this[_0x3acd4f(0x12b)][_0x3acd4f(0x13c)][_0x3acd4f(0x12e)](_0x1a8459);if(_0x7090d6!==undefined)this[_0x3acd4f(0x12b)][_0x3acd4f(0x10e)](_0x7090d6['id'],_0x3acd4f(0x10f),{'code':_0x255546},_0x3acd4f(0x174));}[_0x2a0c55(0x14d)](_0x3ac953){const _0x5734db=_0x2a0c55,_0x2ef836=this[_0x5734db(0x175)][_0x5734db(0x149)](_0x3ac953[_0x5734db(0x130)]),_0x2f0a6f=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x169)](_0x3ac953[_0x5734db(0x130)]),_0x5c0e14=_0x2ef836?.[_0x5734db(0x17c)]??_0x2f0a6f?.[_0x5734db(0x17c)];if(_0x5c0e14===undefined)throw new Error(_0x5734db(0x134));const _0x422788=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x113)](_0x5c0e14),_0x53c49d=this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x161)](_0x5c0e14)[_0x5734db(0x145)],_0x67205f=_0x422788!==undefined&&_0x3ac953[_0x5734db(0x130)]===_0x422788['id'];if(_0x67205f||!_0x3ac953[_0x5734db(0x121)][_0x5734db(0x118)]||_0x3ac953[_0x5734db(0x165)]!==_0x5734db(0x122))this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x168)](_0x5c0e14);if(_0x3ac953[_0x5734db(0x12d)]!==undefined&&_0x422788?.['id']===_0x3ac953[_0x5734db(0x12d)])return this[_0x5734db(0x139)](_0x3ac953[_0x5734db(0x130)],_0x422788['id']),_0x5734db(0x127);if(_0x67205f)return this[_0x5734db(0x144)](_0x5c0e14),_0x5734db(0x133);if(_0x422788===undefined&&_0x2f0a6f!==undefined){if(_0x3ac953[_0x5734db(0x121)][_0x5734db(0x118)]&&_0x3ac953[_0x5734db(0x165)]===_0x5734db(0x125))this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x173)](_0x2f0a6f['id']);return this[_0x5734db(0x181)](_0x5c0e14),_0x5734db(0x133);}if(this[_0x5734db(0x12b)][_0x5734db(0x13c)][_0x5734db(0x161)](_0x5c0e14)[_0x5734db(0x145)]!==_0x53c49d)this[_0x5734db(0x17d)](_0x5c0e14);return _0x5734db(0x11d);}[_0x2a0c55(0x10a)](_0x47848b){const _0x25c920=_0x2a0c55,_0x506967=this[_0x25c920(0x14b)](_0x47848b);this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x168)](_0x506967[_0x25c920(0x17c)]),this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x173)](_0x506967['id']);const _0x111538=this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x113)](_0x506967[_0x25c920(0x17c)]);if(_0x111538!==undefined)return this[_0x25c920(0x139)](_0x506967['id'],_0x111538['id'],![]),{'run':_0x111538,'delivery':_0x25c920(0x127)};this[_0x25c920(0x181)](_0x506967[_0x25c920(0x17c)]);const _0x11af8f=this[_0x25c920(0x12b)][_0x25c920(0x13c)][_0x25c920(0x113)](_0x506967[_0x25c920(0x17c)]);if(_0x11af8f===undefined)throw new Error(_0x25c920(0x12a));return{'run':_0x11af8f,'delivery':_0x25c920(0x133)};}[_0x2a0c55(0x154)](_0x2a8ad4,_0x217c7d){const _0x397d0d=_0x2a0c55,_0x386d21=this[_0x397d0d(0x175)][_0x397d0d(0x149)](_0x2a8ad4);if(_0x386d21===undefined)return;this[_0x397d0d(0x175)][_0x397d0d(0x126)](_0x2a8ad4,{..._0x386d21,'input':_0x217c7d});}[_0x2a0c55(0x166)](_0x5313c7){const _0x456807=_0x2a0c55,_0x15c6b7=this[_0x456807(0x12b)][_0x456807(0x13c)][_0x456807(0x169)](_0x5313c7);if(_0x15c6b7===undefined)throw new Error(_0x456807(0x12c));this[_0x456807(0x12b)][_0x456807(0x13c)][_0x456807(0x166)](_0x15c6b7['id']),this[_0x456807(0x112)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x184)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x132)](_0x15c6b7['id']),this[_0x456807(0x12b)][_0x456807(0x15f)](_0x15c6b7[_0x456807(0x172)],_0x15c6b7[_0x456807(0x17c)]);}[_0x2a0c55(0x13d)](_0x5a1cb1){const _0x3af830=_0x2a0c55,_0x5dab5b=this[_0x3af830(0x12b)][_0x3af830(0x13c)][_0x3af830(0x163)](_0x5a1cb1);if(_0x5dab5b!==undefined)this[_0x3af830(0x12b)][_0x3af830(0x13f)](_0x5dab5b);}[_0x2a0c55(0x17d)](_0x74f292){const _0x1ad994=_0x2a0c55,_0x2d8ad9=this[_0x1ad994(0x12b)][_0x1ad994(0x13c)][_0x1ad994(0x16b)](_0x74f292);if(_0x2d8ad9===undefined)throw new Error(_0x1ad994(0x134));this[_0x1ad994(0x12b)][_0x1ad994(0x15f)](_0x2d8ad9[_0x1ad994(0x172)],_0x2d8ad9['id']);}[_0x2a0c55(0x139)](_0x558810,_0xd97dcb,_0x67d73d=!![]){const _0xdd4f41=_0x2a0c55,_0x4d6a59=this[_0xdd4f41(0x14b)](_0x558810),_0x2bf1d8=this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x12e)](_0xd97dcb);if(_0x2bf1d8===undefined||_0x4d6a59[_0xdd4f41(0x17c)]!==_0x2bf1d8[_0xdd4f41(0x17c)])throw new Error(_0xdd4f41(0x12c));if(_0x67d73d)this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x173)](_0x4d6a59['id']);this[_0xdd4f41(0x17d)](_0x4d6a59[_0xdd4f41(0x17c)]);const _0x1ab421=this[_0xdd4f41(0x12b)][_0xdd4f41(0x13c)][_0xdd4f41(0x177)](_0x2bf1d8['id']);if(_0x1ab421===undefined)throw new Error(_0xdd4f41(0x120));if(!this[_0xdd4f41(0x171)][_0xdd4f41(0x15d)](_0x1ab421)){const _0x547292=this[_0xdd4f41(0x175)][_0xdd4f41(0x149)](_0x1ab421),_0x7ccd1e=this[_0xdd4f41(0x175)][_0xdd4f41(0x149)](_0x4d6a59['id']);if(_0x547292!==undefined&&_0x7ccd1e!==undefined)this[_0xdd4f41(0x175)][_0xdd4f41(0x126)](_0x4d6a59['id'],{..._0x7ccd1e,'input':_0x547292[_0xdd4f41(0x170)]+'\x0a\x0a'+_0x7ccd1e[_0xdd4f41(0x170)]});}this[_0xdd4f41(0x12b)][_0xdd4f41(0x129)](_0x1ab421),this[_0xdd4f41(0x12b)][_0xdd4f41(0x148)](_0xdd4f41(0x11e),{'runId':_0x1ab421});}[_0x2a0c55(0x150)](_0x115cd6){const _0x50e045=_0x2a0c55;this[_0x50e045(0x12b)][_0x50e045(0x13c)][_0x50e045(0x168)](_0x115cd6),this[_0x50e045(0x181)](_0x115cd6);}[_0x2a0c55(0x144)](_0x10418f,_0x1592da=0x1ac5+0x5a7*0x1+0x14*-0x19f){const _0x37829e=_0x2a0c55;if(this[_0x37829e(0x15c)][_0x37829e(0x15d)](_0x10418f))return;const _0x5c56b9=setTimeout(()=>{const _0x20abf7=_0x37829e;this[_0x20abf7(0x15c)][_0x20abf7(0x137)](_0x10418f);if(!this[_0x20abf7(0x12b)][_0x20abf7(0x15a)]())void this[_0x20abf7(0x153)](_0x10418f);},_0x1592da);this[_0x37829e(0x15c)][_0x37829e(0x126)](_0x10418f,_0x5c56b9),_0x5c56b9[_0x37829e(0x117)]();}async[_0x2a0c55(0x153)](_0xe5fa06){const _0x4a1500=_0x2a0c55,_0x55a4df=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x113)](_0xe5fa06);if(_0x55a4df===undefined)return;let _0x43e85e=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x177)](_0x55a4df['id']);if(_0x43e85e!==undefined&&this[_0x4a1500(0x11a)][_0x4a1500(0x15d)](_0x43e85e))return;let _0x112575=_0x43e85e===undefined?this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x55a4df['id']):this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x43e85e);if(_0x43e85e===undefined&&_0x112575===undefined){const _0x6fe9d7=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x161)](_0xe5fa06)[_0x4a1500(0x151)][0x100a*-0x2+0x431+0x1be3];if(_0x6fe9d7===undefined)return;_0x112575=this[_0x4a1500(0x175)][_0x4a1500(0x149)](_0x6fe9d7);if(_0x112575===undefined)return;if(this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x13b)](_0xe5fa06)===undefined)return;const _0xe5c6db=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x142)](_0x55a4df['id']);_0x43e85e=_0xe5c6db['id'],this[_0x4a1500(0x175)][_0x4a1500(0x137)](_0x6fe9d7),this[_0x4a1500(0x175)][_0x4a1500(0x126)](_0xe5c6db['id'],{..._0x112575,'runId':_0xe5c6db['id']}),this[_0x4a1500(0x12b)][_0x4a1500(0x159)](_0x6fe9d7,_0xe5c6db['id']),this[_0x4a1500(0x17d)](_0xe5fa06);const _0x439055=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x152)](_0xe5c6db['id']);if(_0x439055===undefined)throw new Error(_0x4a1500(0x178));this[_0x4a1500(0x12b)][_0x4a1500(0x13f)](_0x439055);}else{if(_0x43e85e===undefined&&_0x112575!==undefined){const _0x30956f=this[_0x4a1500(0x12b)][_0x4a1500(0x13c)][_0x4a1500(0x142)](_0x55a4df['id']);_0x43e85e=_0x30956f['id'],this[_0x4a1500(0x175)][_0x4a1500(0x137)](_0x55a4df['id']),this[_0x4a1500(0x175)][_0x4a1500(0x126)](_0x30956f['id'],{..._0x112575,'runId':_0x30956f['id']}),this[_0x4a1500(0x12b)][_0x4a1500(0x159)](_0x55a4df['id'],_0x30956f['id']);}}if(_0x43e85e===undefined||_0x112575===undefined)return;if(this[_0x4a1500(0x11a)][_0x4a1500(0x15d)](_0x43e85e))return;this[_0x4a1500(0x11a)][_0x4a1500(0x114)](_0x43e85e);try{const _0x29b663=_0x112575[_0x4a1500(0x17a)]===undefined?undefined:await this[_0x4a1500(0x12b)][_0x4a1500(0x182)]?.(_0x112575);this[_0x4a1500(0x12b)][_0x4a1500(0x148)](_0x4a1500(0x141),{'runId':_0x43e85e,'sessionId':_0x112575[_0x4a1500(0x17c)],'workspaceId':_0x112575[_0x4a1500(0x172)],'runner':_0x112575[_0x4a1500(0x10d)],'input':_0x112575[_0x4a1500(0x170)],..._0x112575[_0x4a1500(0x135)][_0x4a1500(0x116)]===-0x58e+0x458*-0x7+-0x23f6*-0x1?{}:{'attachments':_0x112575[_0x4a1500(0x135)]},'cwd':_0x112575[_0x4a1500(0x10c)],..._0x112575[_0x4a1500(0x17b)]===null?{}:{'externalSessionId':_0x112575[_0x4a1500(0x17b)]},..._0x112575[_0x4a1500(0x13a)]===null?{}:{'model':_0x112575[_0x4a1500(0x13a)]},..._0x112575[_0x4a1500(0x162)]===null?{}:{'effort':_0x112575[_0x4a1500(0x162)]},..._0x112575[_0x4a1500(0x185)]===null?{}:{'access':_0x112575[_0x4a1500(0x185)]},'collaborationMode':_0x112575[_0x4a1500(0x16f)],..._0x112575[_0x4a1500(0x12f)]===undefined?{}:{'serviceTier':_0x112575[_0x4a1500(0x12f)]},'secretEnvironment':{..._0x112575[_0x4a1500(0x146)],..._0x29b663?.[_0x4a1500(0x14e)]??{}},..._0x112575[_0x4a1500(0x160)]===undefined?{}:{'personalInstructions':_0x112575[_0x4a1500(0x160)]},'mcpInstallations':[...this[_0x4a1500(0x12b)][_0x4a1500(0x16e)](_0x112575[_0x4a1500(0x172)]),..._0x29b663===undefined?[]:[_0x29b663[_0x4a1500(0x111)]]]});}catch(_0x5471fa){this[_0x4a1500(0x12b)][_0x4a1500(0x10e)](_0x43e85e,_0x4a1500(0x10f),{'code':safeErrorCode(_0x5471fa,_0x4a1500(0x16a))},_0x4a1500(0x174));}}[_0x2a0c55(0x110)](_0x1cf8c5){const _0x2a418c=_0x2a0c55;if(this[_0x2a418c(0x171)][_0x2a418c(0x15d)](_0x1cf8c5))return;const _0x11283b=this[_0x2a418c(0x175)][_0x2a418c(0x149)](_0x1cf8c5);if(_0x11283b===undefined)return;this[_0x2a418c(0x171)][_0x2a418c(0x114)](_0x1cf8c5),void this[_0x2a418c(0x12b)][_0x2a418c(0x143)]?.(_0x11283b)[_0x2a418c(0x15b)](()=>undefined);}[_0x2a0c55(0x179)](_0x38fc12){const _0x2ded8a=_0x2a0c55;return this[_0x2ded8a(0x171)][_0x2ded8a(0x15d)](_0x38fc12);}[_0x2a0c55(0x11b)](_0x575c2f,_0x43a357){const _0x1b1aa5=_0x2a0c55;for(const [_0x9a325c,_0x3660ec]of this[_0x1b1aa5(0x175)])if(_0x3660ec[_0x1b1aa5(0x17c)]===_0x575c2f)this[_0x1b1aa5(0x175)][_0x1b1aa5(0x126)](_0x9a325c,{..._0x3660ec,'sessionId':_0x43a357,'externalSessionId':_0x43a357});const _0x456692=this[_0x1b1aa5(0x15c)][_0x1b1aa5(0x149)](_0x575c2f);_0x456692!==undefined&&(clearTimeout(_0x456692),this[_0x1b1aa5(0x15c)][_0x1b1aa5(0x137)](_0x575c2f),this[_0x1b1aa5(0x144)](_0x43a357));}[_0x2a0c55(0x112)](_0x33020d){const _0x4b177e=_0x2a0c55;this[_0x4b177e(0x175)][_0x4b177e(0x137)](_0x33020d),this[_0x4b177e(0x11a)][_0x4b177e(0x137)](_0x33020d),this[_0x4b177e(0x171)][_0x4b177e(0x137)](_0x33020d);}[_0x2a0c55(0x186)](_0x252747){const _0x1e7485=_0x2a0c55;for(const [_0x37af79,_0x474970]of this[_0x1e7485(0x175)]){if(_0x474970[_0x1e7485(0x17c)]!==_0x252747||_0x474970[_0x1e7485(0x17a)]===undefined)continue;const _0x575f52=this[_0x1e7485(0x12b)][_0x1e7485(0x13c)][_0x1e7485(0x169)](_0x37af79);if(_0x575f52!==undefined)this[_0x1e7485(0x166)](_0x37af79);}}[_0x2a0c55(0x140)](_0x35dab4,_0x254d74){const _0x119cdb=_0x2a0c55;for(const _0x3cd9e8 of[...this[_0x119cdb(0x12b)][_0x119cdb(0x13c)][_0x119cdb(0x161)](_0x35dab4)[_0x119cdb(0x151)]]){if(_0x3cd9e8===_0x254d74)continue;this[_0x119cdb(0x166)](_0x3cd9e8);}}[_0x2a0c55(0x157)](){const _0x457e3a=_0x2a0c55;this[_0x457e3a(0x175)][_0x457e3a(0x157)](),this[_0x457e3a(0x11a)][_0x457e3a(0x157)](),this[_0x457e3a(0x171)][_0x457e3a(0x157)]();for(const _0xf62f6c of this[_0x457e3a(0x15c)][_0x457e3a(0x13e)]())clearTimeout(_0xf62f6c);this[_0x457e3a(0x15c)][_0x457e3a(0x157)]();}[_0x2a0c55(0x181)](_0x4868c3){const _0x49cf3a=_0x2a0c55;if(this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x113)](_0x4868c3)!==undefined){this[_0x49cf3a(0x144)](_0x4868c3);return;}const _0x20eca9=this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x161)](_0x4868c3),_0x3f341a=_0x20eca9[_0x49cf3a(0x118)]?undefined:_0x20eca9[_0x49cf3a(0x151)][0x1d9d+-0xa1c+-0x1381];if(_0x3f341a===undefined)return;const _0x1c5294=this[_0x49cf3a(0x175)][_0x49cf3a(0x149)](_0x3f341a);if(_0x1c5294===undefined)throw new Error(_0x49cf3a(0x17e));const {run:_0x1b40ea,turn:_0x5433ce}=this[_0x49cf3a(0x12b)][_0x49cf3a(0x13c)][_0x49cf3a(0x14f)](_0x3f341a);this[_0x49cf3a(0x175)][_0x49cf3a(0x137)](_0x3f341a),this[_0x49cf3a(0x175)][_0x49cf3a(0x126)](_0x1b40ea['id'],{..._0x1c5294,'runId':_0x1b40ea['id']}),this[_0x49cf3a(0x12b)][_0x49cf3a(0x15f)](_0x1b40ea[_0x49cf3a(0x172)],_0x4868c3),this[_0x49cf3a(0x12b)][_0x49cf3a(0x13f)](_0x5433ce),this[_0x49cf3a(0x144)](_0x4868c3);}[_0x2a0c55(0x14b)](_0x1b117a){const _0x286af5=_0x2a0c55,_0x17da43=this[_0x286af5(0x12b)][_0x286af5(0x13c)][_0x286af5(0x169)](_0x1b117a);if(_0x17da43===undefined)throw new Error(_0x286af5(0x12c));if(!this[_0x286af5(0x175)][_0x286af5(0x15d)](_0x1b117a))throw new Error(_0x286af5(0x17e));return _0x17da43;}}function _0x5e0f(){const _0x444d7b=['C2vJCMv0rw52AxjVBM1LBNq','mJi5ELnvz0f4','y29UDhjVBa','z2v0','ChjLCgfYzq','CMvXDwLYzvbYzxbHCMvKsxrLBq','nxPPzhzbBW','C2v0DgXL','C2vJCMv0CW','C3rHCNrsDw5gCM9TuxvLDwvjDgvT','CMvZDw1L','AxrLBuLKCW','y29UDMvYC2f0Aw9UvhvYBKzVCKv4zwn1DgLVBG','zgLZCgf0y2G','DxbKyxrLuhjLCgfYzwrjBNb1Da','mZa0nZa0ngrvzuPKEG','ywnJzxb0','y2XLyxi','mZzlv1npC0e','BwLNCMf0zufZC2v0CW','C3rVChbLza','y2f0y2G','C2nOzwr1BgvKu2vZC2LVBNm','AgfZ','y3jLyxrLuxvLDwvjDgvT','zw1PDff1zxvL','CgvYC29UywXjBNn0CNvJDgLVBNm','C2vZC2LVBLf1zxvL','zwzMB3j0','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','y29UDgvUDa','Aw50zw50','zgvSzxrLuxvLDwvjDgvT','mJa3mZG1ohjOve5dCa','CMvZDw1Lu2vZC2LVBLf1zxvL','z2v0uxvLDwvjDgvT','uLvox1nuqvjux0zbsuXfra','z2v0qwDLBNrtzxnZAw9U','mZmXmtu0nhfsugLmCq','tuvtu0fhrv9ot1rFrK9vtKq','BwnWCW','y29SBgfIB3jHDgLVBK1Vzgu','Aw5WDxq','C3rHCNrLzev4zwn1DgLVBNm','D29YA3nWywnLswq','ChjPB3jPDgL6zvf1zxvLsxrLBq','rKfjteve','ChjLCgfYzwrjBNb1Dhm','odqYmfLgthLywa','y3vYCMvUDev4zwn1DgLVBKLK','uLvox1rvuK5FtK9ux0zpvu5e','AgfZrxHLy3v0Aw9Uu3rHCNrLza','BwLZC2LVBG','zxH0zxjUywXtzxnZAw9Uswq','C2vZC2LVBKLK','ChvIBgLZAa','uvvfvuvFsu5qvvrFte9tva','AxrLBq','CgvUzgLUzW','C3rHCNrjzgXLuxvLDwu','BwLZC2LVBK1JCa','CNvUswq','y2XLyxjjBwfNzxm','ywnJzxnZ','CMvTB3zLtwLZC2LVBLf1zxvL','zxHLy3v0zvf1zxvLsxrLBq','Aw5PDgLHDgvKqNLvC2vYswq','y3DK','CNvUBMvY','zw1PDfj1BG','CNvUlNjLAMvJDgvK','zxHLy3v0Aw9Uu3rHCNrLza','Aw5ZDgfSBgf0Aw9U','CMvTB3zL','ywn0AxzLu2vZC2LVBLj1BG','ywrK','tuvtu0fhrv9trvntsu9ox01ju01bveni','BgvUz3rO','Dw5Yzwy','Cgf1C2vK','mJG3ndaWoxviwMDABa','zgLZCgf0y2HLzev4zwn1DgLVBNm','BwLNCMf0zvnLC3nPB24','mteWnJq4mtz0DNnjsfq','uvvfvuve','CNvUlMLUDgvYCNvWDa','y2XPzw50twvZC2fNzuLK','uLvox0vyrunvveLptL9ot1rFrK9vtKq','CxvLDwvczwzVCMu','uvvfvuu','y3jLyxrLtwvZC2fNzvj1BG','CMvJB3jKtwvZC2fNzvbYzxbHCMf0Aw9UrMfPBhvYzq','u0vora','C2v0','uKvtvefsveLorW','y3jLyxrLza','BwfYA0LUDgvYCNvWDgvK','uLvox05pvf9gt1vora','B3b0Aw9UCW','uvvfvuvFsvrftv9jtLzbteLe','ywn0AxzLuNvUswq','z2v0uNvU','C2vYDMLJzvrPzxi','C3vIBwLZC2LVBKLK','zMfPBfbYzxbHCMf0Aw9U','y2XLyw51Cef0DgfJAg1LBNrZ','u1rbuLrfra','u0vtu0LptL9ot1rFrK9vtKq','yxr0ywnOBwvUDhm','nJmXmdDmCLP6whu','zgvSzxrL','mZG5nLnfDfLbzG','CMvWBgfJzq','Bw9KzwW','y2XHAw1ozxH0uxvLDwvjDgvT','CNvUDgLTzq','ChvIBgLZAen1CNjLBNruDxjU','DMfSDwvZ','zw1PDenVBNzLCNnHDgLVBG','CMvTB3zLugvUzgLUz1f1zxvL','CNvUlNn0yxj0','y3jLyxrLrxHLy3v0Aw9U','ywz0zxjfEgvJDxrPB25tDgfYDgvK','C2nOzwr1Bgu','DMvYC2LVBG'];_0x5e0f=function(){return _0x444d7b;};return _0x5e0f();}
|