@nuvin/agent-core 0.3.0-rc.5 → 0.3.0-rc.6
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/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-EQGBU73Q.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-NJFOEZ6V.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/isolate/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +9 -0
- package/dist/tools/index.js +1 -1
- package/package.json +2 -2
package/dist/chunk-X7VAACWY.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xd16657,_0x57c1de){var _0x53a875={_0x596f70:0x24c,_0x383bb0:0x24b,_0x2f963b:0x249,_0x3eabe0:0x245,_0x56badf:0x242,_0x5ba50b:0x77,_0x290564:0x248,_0x52ba0c:0x243,_0x599720:0x247,_0x8f5249:0x78,_0x1d13d1:0x82,_0x2b8448:0x7f,_0x59b5fd:0x24a,_0x3120d0:0x24f,_0x4b5d88:0x251,_0x3ac073:0x254,_0x6a55aa:0x87},_0x23a33b={_0x48a9cb:0x218},_0x222cc0=_0xd16657();function _0x1211b3(_0x4293d0,_0x118009,_0xc72e46,_0x21484a){return _0x32ad(_0x4293d0- -0x3e6,_0xc72e46);}function _0x3ca8cd(_0x1a37cf,_0x299062,_0x926672,_0x3edf59){return _0x32ad(_0x1a37cf- -_0x23a33b._0x48a9cb,_0x926672);}while(!![]){try{var _0x2f5b39=parseInt(_0x1211b3(-_0x53a875._0x596f70,-_0x53a875._0x383bb0,-0x247,-0x24d))/0x1+-parseInt(_0x1211b3(-_0x53a875._0x2f963b,-_0x53a875._0x3eabe0,-_0x53a875._0x56badf,-0x251))/0x2*(parseInt(_0x3ca8cd(-0x7f,-0x77,-0x80,-_0x53a875._0x5ba50b))/0x3)+parseInt(_0x1211b3(-_0x53a875._0x290564,-0x252,-0x248,-0x24f))/0x4+parseInt(_0x1211b3(-_0x53a875._0x52ba0c,-_0x53a875._0x599720,-0x243,-0x23d))/0x5+parseInt(_0x3ca8cd(-0x81,-_0x53a875._0x8f5249,-0x78,-0x77))/0x6*(parseInt(_0x3ca8cd(-_0x53a875._0x1d13d1,-0x82,-0x87,-0x86))/0x7)+-parseInt(_0x3ca8cd(-_0x53a875._0x5ba50b,-_0x53a875._0x2b8448,-0x80,-0x6e))/0x8*(parseInt(_0x1211b3(-_0x53a875._0x59b5fd,-_0x53a875._0x3120d0,-_0x53a875._0x4b5d88,-_0x53a875._0x3ac073))/0x9)+-parseInt(_0x3ca8cd(-_0x53a875._0x6a55aa,-0x88,-0x8c,-0x8c))/0xa;if(_0x2f5b39===_0x57c1de)break;else _0x222cc0['push'](_0x222cc0['shift']());}catch(_0x2b07c4){_0x222cc0['push'](_0x222cc0['shift']());}}}(_0x42f8,0x97590));function _0x5be036(_0x572da8,_0x4d0548,_0x34c301,_0xa22f72){var _0x15105b={_0x320c1e:0x27d};return _0x32ad(_0x34c301-_0x15105b._0x320c1e,_0xa22f72);}var OperationAbortedError=class extends Error{[_0x3a442a(-0xe5,-0xdd,-0xe5,-0xea)]='ABORT_ERR';constructor(_0x142fe9=_0x5be036(0x415,0x41a,0x41f,0x424)){var _0x3dd03b={_0x41ad62:0x3fc,_0x4830ba:0x3f4,_0xbd3c35:0x6e,_0x17ef1f:0x70,_0x35aeaf:0x7e},_0xb9991e={_0xaa2979:0x137},_0x2aac72={_0x5a9870:0x10d,_0x102b21:0xa7};function _0x40e443(_0xeef08d,_0x5454b2,_0x4f7e78,_0x4ed978){return _0x3a442a(_0x5454b2,_0x5454b2-_0x2aac72._0x5a9870,_0xeef08d-0x4f0,_0x4ed978-_0x2aac72._0x102b21);}function _0x1130a5(_0x15c0e1,_0x40de5c,_0x1a9de2,_0x59191e){return _0x3a442a(_0x59191e,_0x40de5c-0x4a,_0x15c0e1-0x15d,_0x59191e-_0xb9991e._0xaa2979);}super(_0x142fe9),this[_0x40e443(_0x3dd03b._0x41ad62,0x3f8,_0x3dd03b._0x4830ba,0x3f4)]=_0x1130a5(0x73,_0x3dd03b._0xbd3c35,_0x3dd03b._0x17ef1f,_0x3dd03b._0x35aeaf);}};function toAbortError(_0x4c016a){var _0x4a7974={_0x221bc4:0x374,_0x1fe08b:0x377,_0x2aebf1:0x375,_0x1141ef:0x36b,_0x1192e0:0x378},_0x414356={_0x393ada:0x44b,_0x3ba189:0x1e4};function _0x515218(_0xa122bd,_0xa96235,_0x2c345c,_0x2d42a7){return _0x3a442a(_0xa96235,_0xa96235-0x16,_0xa122bd-_0x414356._0x393ada,_0x2d42a7-_0x414356._0x3ba189);}if(isAbortError(_0x4c016a))return _0x4c016a;if(_0x4c016a instanceof Error)return new OperationAbortedError(_0x4c016a[_0xda8b92(_0x4a7974._0x221bc4,0x36d,0x375,_0x4a7974._0x1fe08b)]);function _0xda8b92(_0x3f1aa7,_0x1d97f2,_0x2f371c,_0x5d25d7){return _0x5be036(_0x3f1aa7-0xd4,_0x1d97f2-0x176,_0x3f1aa7- -0x9b,_0x1d97f2);}if(typeof _0x4c016a==='string'&&_0x4c016a[_0xda8b92(_0x4a7974._0x2aebf1,_0x4a7974._0x1141ef,0x380,_0x4a7974._0x1192e0)]>0x0)return new OperationAbortedError(_0x4c016a);return new OperationAbortedError();}function isAbortError(_0x1cb203){var _0x52a8d6={_0x544549:0x6e,_0x1cfc4a:0x60,_0x453bfe:0x6a,_0x4f9352:0x65,_0x47d4c4:0x6c},_0x1a3d21={_0x7e5b7d:0x6a,_0x33b7cc:0x4d7},_0x1db2f8={_0x156175:0x34};function _0x43de18(_0x43224b,_0x1e2841,_0x174f63,_0x25d1aa){return _0x3a442a(_0x1e2841,_0x1e2841-0x90,_0x25d1aa-0x14f,_0x25d1aa-_0x1db2f8._0x156175);}function _0x223432(_0x2d818f,_0x1c5f84,_0x40c0d9,_0x32bb8c){return _0x5be036(_0x2d818f-_0x1a3d21._0x7e5b7d,_0x1c5f84-0x187,_0x2d818f- -_0x1a3d21._0x33b7cc,_0x1c5f84);}return _0x1cb203 instanceof OperationAbortedError||_0x1cb203 instanceof Error&&(_0x1cb203['name']===_0x223432(-0xbb,-0xc1,-0xc1,-0xbc)||_0x43de18(_0x52a8d6._0x544549,_0x52a8d6._0x1cfc4a,0x64,_0x52a8d6._0x453bfe)in _0x1cb203&&_0x1cb203[_0x43de18(0x6f,_0x52a8d6._0x4f9352,_0x52a8d6._0x47d4c4,_0x52a8d6._0x453bfe)]==='ABORT_ERR');}function throwIfAborted(_0x11ba3a){var _0x25dbfc={_0x3fa90b:0x376,_0x17c4be:0x36c,_0x438f9a:0x37b,_0x1a8da5:0x36c,_0x270e56:0x4f9,_0x324ac6:0x505},_0x719d28={_0x5addf3:0xb6};function _0x1314ed(_0x334573,_0x33e943,_0x118740,_0x57bfcd){return _0x3a442a(_0x118740,_0x33e943-0x1ec,_0x334573-0x464,_0x57bfcd-_0x719d28._0x5addf3);}function _0x366b84(_0x6903b2,_0x5d3df4,_0x38443b,_0x1c4c03){return _0x3a442a(_0x5d3df4,_0x5d3df4-0x1bf,_0x38443b-0x5f9,_0x1c4c03-0xcc);}if(!_0x11ba3a?.[_0x1314ed(_0x25dbfc._0x3fa90b,_0x25dbfc._0x17c4be,_0x25dbfc._0x438f9a,_0x25dbfc._0x1a8da5)])return;throw toAbortError(_0x11ba3a[_0x366b84(_0x25dbfc._0x270e56,_0x25dbfc._0x324ac6,0x500,0x4fd)]);}function _0x32ad(_0x59b49f,_0x37ba79){_0x59b49f=_0x59b49f-0x190;var _0x42f8e9=_0x42f8();var _0x32ad72=_0x42f8e9[_0x59b49f];if(_0x32ad['OiVRKd']===undefined){var _0x1f5113=function(_0xb22b87){var _0x507d4c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x142fe9='',_0x4c016a='';for(var _0x1cb203=0x0,_0x11ba3a,_0xab60c3,_0x4c4d82=0x0;_0xab60c3=_0xb22b87['charAt'](_0x4c4d82++);~_0xab60c3&&(_0x11ba3a=_0x1cb203%0x4?_0x11ba3a*0x40+_0xab60c3:_0xab60c3,_0x1cb203++%0x4)?_0x142fe9+=String['fromCharCode'](0xff&_0x11ba3a>>(-0x2*_0x1cb203&0x6)):0x0){_0xab60c3=_0x507d4c['indexOf'](_0xab60c3);}for(var _0x1356ca=0x0,_0x3718c3=_0x142fe9['length'];_0x1356ca<_0x3718c3;_0x1356ca++){_0x4c016a+='%'+('00'+_0x142fe9['charCodeAt'](_0x1356ca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c016a);};_0x32ad['sHOvyJ']=_0x1f5113,_0x32ad['HBFBFH']={},_0x32ad['OiVRKd']=!![];}var _0x307d5d=_0x42f8e9[0x0],_0x23a2ab=_0x59b49f+_0x307d5d,_0x20d4d7=_0x32ad['HBFBFH'][_0x23a2ab];return!_0x20d4d7?(_0x32ad72=_0x32ad['sHOvyJ'](_0x32ad72),_0x32ad['HBFBFH'][_0x23a2ab]=_0x32ad72):_0x32ad72=_0x20d4d7,_0x32ad72;}function _0x3a442a(_0x2587cd,_0x1f535a,_0x55d43e,_0x3f5a59){return _0x32ad(_0x55d43e- -0x289,_0x2587cd);}function addAbortListener(_0xab60c3,_0x4c4d82){var _0x12c288={_0x28d1b4:0x52e,_0x3c3f67:0x49b,_0xf58512:0x490},_0x4d1160={_0x3a5a02:0x3d1,_0x3d8156:0x3dc,_0x4e20eb:0x19e,_0xb2d581:0x19a},_0x5eaa78={_0x25b94a:0x1be},_0x1adee9={_0x28d863:0x11c,_0x10bff6:0x61e,_0x32a670:0x180},_0xfca591={_0x1b80a4:0x43,_0x5b0ee0:0x1c1};function _0x24149d(_0x3c33f3,_0x30e795,_0x36d33d,_0x4cf13e){return _0x5be036(_0x3c33f3-_0xfca591._0x1b80a4,_0x30e795-_0xfca591._0x5b0ee0,_0x30e795-0x85,_0x3c33f3);}function _0x3b3709(_0x2abf78,_0x3350d7,_0x175f84,_0x18e96b){return _0x3a442a(_0x18e96b,_0x3350d7-_0x1adee9._0x28d863,_0x175f84-_0x1adee9._0x10bff6,_0x18e96b-_0x1adee9._0x32a670);}if(!_0xab60c3)return()=>{};if(_0xab60c3['aborted'])return _0x4c4d82(),()=>{};const _0x1356ca=()=>{_0x4c4d82();};return _0xab60c3[_0x3b3709(_0x12c288._0x28d1b4,0x52a,0x529,0x520)](_0x24149d(_0x12c288._0x3c3f67,0x49a,0x497,_0x12c288._0xf58512),_0x1356ca,{'once':!![]}),()=>{var _0x457ef5={_0x5c1e3a:0xca,_0x261771:0x141};function _0x3a7ae2(_0x3b30dc,_0x44fff4,_0x23b4a8,_0x14f8e3){return _0x3b3709(_0x3b30dc-_0x5eaa78._0x25b94a,_0x44fff4-0x1,_0x3b30dc- -0x38f,_0x44fff4);}function _0x4a7af5(_0x4b5ec2,_0x44562e,_0x501507,_0x2f2922){return _0x24149d(_0x4b5ec2,_0x44562e- -_0x457ef5._0x5c1e3a,_0x501507-_0x457ef5._0x261771,_0x2f2922-0x186);}_0xab60c3[_0x4a7af5(_0x4d1160._0x3a5a02,0x3d8,0x3db,_0x4d1160._0x3d8156)](_0x3a7ae2(_0x4d1160._0x4e20eb,0x19d,0x1a1,_0x4d1160._0xb2d581),_0x1356ca);};}function _0x42f8(){var _0x846a9=['ohf1yuvruW','t3bLCMf0Aw9UigfIB3j0zwq','mJy5mZuZnwHrAuPcrq','y29Kzq','CMvHC29U','mJm2nZK2mJbOCePpC3C','BwvZC2fNzq','BgvUz3rO','ywrKrxzLBNrmAxn0zw5LCG','BMfTzq','mJaWnte5owDzve5wAq','mJrdDhvbq3a','ywjVCNq','ouDJyxvABW','odK2nZiYuMv1sNHz','ywjVCNrLza','mZK4odm5nw95AwTyCq','ntC2mtrtq1zRvNm','mZC0ndGWnfvHsfzjAq','qwjVCNrfCNjVCG','CMvTB3zLrxzLBNrmAxn0zw5LCG'];_0x42f8=function(){return _0x846a9;};return _0x42f8();}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
|
package/dist/chunk-YNOIG4FD.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x333fd4,_0x1e66ad){const _0x3454e6={_0xe36418:0x14,_0x358646:0x17,_0x32bc54:0xc,_0xa2b30c:0x29,_0x16e7c8:0x35,_0x534bf1:0x202,_0x500a30:0x1f5,_0x3d78ce:0x1e4,_0x1ff6f0:0x1d2,_0x422b55:0x1c1,_0x334e8b:0x1c0,_0x2b9bf5:0xb,_0x11c651:0x8,_0x5ab361:0x13,_0x1e8cde:0x2b,_0x2502ff:0x6,_0x2b2238:0x1,_0x4b400e:0x1e,_0x2f5205:0x210,_0x3bfd27:0x1fc,_0x302d24:0x1f4,_0x2a1ebe:0xf,_0x2aec81:0x3,_0xda771:0x1dd,_0x84f092:0x1f7},_0x1ad8d8={_0x2263d1:0x1bf},_0x53f813={_0x385287:0x1c};function _0x162b82(_0x523351,_0x220d7d,_0x48c9eb,_0x1cafa0){return _0x38cd(_0x1cafa0-_0x53f813._0x385287,_0x48c9eb);}const _0x5a696c=_0x333fd4();function _0x241872(_0x5d92d8,_0x1a998d,_0x4083b0,_0x4cca43){return _0x38cd(_0x5d92d8- -_0x1ad8d8._0x2263d1,_0x4083b0);}while(!![]){try{const _0xfb24da=parseInt(_0x241872(-0x16,-_0x3454e6._0xe36418,0x3,-0x16))/0x1*(parseInt(_0x241872(_0x3454e6._0x358646,_0x3454e6._0x32bc54,_0x3454e6._0xa2b30c,_0x3454e6._0x16e7c8))/0x2)+parseInt(_0x162b82(0x1f4,_0x3454e6._0x534bf1,0x1d2,_0x3454e6._0x500a30))/0x3*(-parseInt(_0x162b82(0x1e6,0x1e1,_0x3454e6._0x3d78ce,0x1cd))/0x4)+parseInt(_0x162b82(_0x3454e6._0x1ff6f0,_0x3454e6._0x422b55,0x1a3,_0x3454e6._0x334e8b))/0x5*(-parseInt(_0x241872(-_0x3454e6._0x2b9bf5,_0x3454e6._0x11c651,_0x3454e6._0x5ab361,-_0x3454e6._0x1e8cde))/0x6)+-parseInt(_0x241872(_0x3454e6._0x2502ff,0x3,-_0x3454e6._0x2b2238,_0x3454e6._0x4b400e))/0x7+parseInt(_0x162b82(_0x3454e6._0x2f5205,0x205,_0x3454e6._0x3bfd27,_0x3454e6._0x302d24))/0x8*(parseInt(_0x241872(_0x3454e6._0x2a1ebe,0x14,_0x3454e6._0x2aec81,0xf))/0x9)+-parseInt(_0x162b82(0x1dd,_0x3454e6._0x1ff6f0,0x1ac,0x1b9))/0xa+parseInt(_0x162b82(0x1f2,_0x3454e6._0xda771,_0x3454e6._0x84f092,0x1e5))/0xb;if(_0xfb24da===_0x1e66ad)break;else _0x5a696c['push'](_0x5a696c['shift']());}catch(_0xd04baf){_0x5a696c['push'](_0x5a696c['shift']());}}}(_0x2cae,0x91aaa));function createTextBlock(_0x18556c){const _0x1b8221={_0x56c4d4:0x470,_0x366244:0x446,_0x5efc63:0x47d};function _0x480d72(_0x1069bd,_0x263563,_0x1d61a0,_0x5dc1ed){return _0x38cd(_0x5dc1ed-0x29b,_0x1069bd);}return{'type':_0x480d72(_0x1b8221._0x56c4d4,_0x1b8221._0x366244,_0x1b8221._0x5efc63,0x463),'text':_0x18556c};}function normalizeTextBlock(_0x2467a1){const _0x6894d1={_0x4152f3:0x412,_0x1444c9:0x433,_0x461fe4:0x43c};function _0x5e4bd4(_0x5693a1,_0x3ca43d,_0x2e138a,_0x20a2e3){return _0x38cd(_0x3ca43d-0x251,_0x2e138a);}return createTextBlock(_0x2467a1[_0x5e4bd4(_0x6894d1._0x4152f3,0x419,_0x6894d1._0x1444c9,_0x6894d1._0x461fe4)]??'');}function _0x2cae(){const _0x18aee1=['B3bLBMfPx3jLyxnVBMLUzW','Dg9VBf91C2vFAwq','DhvYBKLK','zMXHDe1HCa','khjLzgfJDgvKihjLyxnVBMLUzYK','mZqYmtmYzuTAC1H5','ChjPy2LUz1bYB3zPzgvYswq','Dg9VBf91C2u','Dgv4Da','nZi1mte2n0LbBNHHCq','Dg9VBhm','CMvHC29UAw5Nx3rVA2vUCW','ChjPy2LUz19WCM92AwrLCL9Pza','CMvHC29UAw5Nvg9Rzw5Z','mtuZBeDHAM9z','C3rYAw5N','yxnZAxn0yw50','DgHPBMTPBMC','AxnbCNjHEq','DxnLCG','Bwf4vg9Rzw5Z','C3rVCf9YzwfZB24','mJeZmdbUufP1zgq','C3rHDhvZ','ntm4mJGWvw9SALvb','m290txzUDG','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','C2vZC2LVBKLK','DhLWzq','Bwf4x3rVA2vUCW','ChvZAa','AgfZ','y29UDgvUDa','Dg9VBf9Yzxn1Bhq','vg9VBcbLEgvJDxrPB24GD2fZigLUDgvYCNvWDgvKigjLzM9YzsbJB21WBgv0Aw9UigfUzcbWCM9KDwnLzcbUBYbYzxn1BhqU','Bw9KzwXjzgvUDgL0Eq','nZi5mZuYmeHzBxz5za','Bw9KzwXFAwrLBNrPDhK','B3v0Chv0rM9YBwf0','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','BgvUz3rO','DhjPBq','kgvUy3j5ChrLzcbYzwfZB25PBMCP','mJq1mJvrruvTr1i','C3LZDgvT','zxjYB3i','B3v0Chv0','zw5JCNLWDgvKq29UDgvUDa','ntHWtKHyvfG','B3v0Chv0vg9Rzw5Z','Bwv0ywrHDge','Bw9KzwW','yw50AhjVCgLJx3rOAw5RAw5N','CMvHC29UAw5N','CM9Szq','BwfW','mtGWotC2z2T2tgHL','DhvYBL9Pza','AM9PBG','mtiYngvfCgv2sq','zMLSDgvY','BwvZC2fNzxm','Aw5WDxrFDg9Rzw5Z','y2fSBeLK','ywrK','DxnHz2u','ChjVDMLKzxjtDgf0zq','C3rVCfjLyxnVBG','C2vZC2LVBL9Pza','Aw5WDxruB2TLBNm','C3vTBwfYEq'];_0x2cae=function(){return _0x18aee1;};return _0x2cae();}function normalizeContent(_0x57ec9){const _0x3f42de={_0x4ca88d:0x396,_0x167bba:0x390,_0x3c548b:0x369,_0x48dfd2:0x37a,_0x479fb8:0x37f,_0xa8885a:0x3b,_0x11a5c7:0x1d},_0x3cf731={_0x4a420d:0x536,_0x3adc42:0x52d,_0x59d0b4:0x417,_0x346505:0x458},_0x309f5c={_0x29071c:0x19a},_0x7e4459={_0x33c1fb:0x1a8};function _0x72aa91(_0x160b55,_0x38d85,_0x197b58,_0x4b8644){return _0x38cd(_0x160b55-_0x7e4459._0x33c1fb,_0x38d85);}if(typeof _0x57ec9===_0x72aa91(0x377,_0x3f42de._0x4ca88d,_0x3f42de._0x167bba,_0x3f42de._0x3c548b))return[createTextBlock(_0x57ec9)];function _0x1ecb7e(_0x21b0a4,_0x142b95,_0x4d390e,_0x17890d){return _0x38cd(_0x21b0a4- -0x1eb,_0x17890d);}if(!Array[_0x72aa91(_0x3f42de._0x48dfd2,0x37c,0x370,_0x3f42de._0x479fb8)](_0x57ec9))return[];return _0x57ec9[_0x1ecb7e(-_0x3f42de._0xa8885a,-_0x3f42de._0x11a5c7,-0x48,-0x45)](_0x546b3c=>{const _0x495e0c={_0x2ec986:0x1c7,_0x1c8d1f:0xbe,_0x52128b:0x3f};function _0x236207(_0x20eaa5,_0x560ec4,_0x4d4baa,_0x7c782d){return _0x72aa91(_0x4d4baa-_0x495e0c._0x2ec986,_0x7c782d,_0x4d4baa-_0x495e0c._0x1c8d1f,_0x7c782d-_0x495e0c._0x52128b);}if(_0x546b3c[_0x236207(_0x3cf731._0x4a420d,_0x3cf731._0x3adc42,0x54b,0x558)]===_0xd97da1(0x44e,_0x3cf731._0x59d0b4,_0x3cf731._0x346505,0x43b))return normalizeTextBlock(_0x546b3c);function _0xd97da1(_0x2f5c32,_0x3c238c,_0x4c6edf,_0x427089){return _0x72aa91(_0x427089-0xcb,_0x3c238c,_0x4c6edf-_0x309f5c._0x29071c,_0x427089-0x15b);}return structuredClone(_0x546b3c);});}function normalizeSystem(_0x4004e1=[]){const _0x428a2f={_0x47fe7e:0x63};function _0x288226(_0x42b94e,_0x40f5e3,_0xfa0237,_0x24ab7e){return _0x38cd(_0x42b94e- -0x13e,_0xfa0237);}function _0x46ed58(_0x1967a9,_0x468d93,_0x1922c5,_0x5ede95){return _0x38cd(_0x1967a9-0x15,_0x468d93);}return normalizeContent(_0x4004e1)[_0x288226(0x77,0x87,_0x428a2f._0x47fe7e,0x7b)](_0x4fb1ef=>_0x4fb1ef[_0x46ed58(0x1f1,0x1cf,0x201,0x208)]==='text');}function isProviderStateCompatible(_0x12e550,_0x27b16a){const _0x530b5f={_0x35a294:0x70,_0x548586:0x219,_0x31846f:0x22a},_0x579572={_0x38e464:0x7d},_0x86540a={_0x4d7ba7:0x141},_0x36c497=_0x12e550['providerState']?.['originModelIdentity'];function _0x562f0f(_0x49de77,_0x14e46a,_0x461c76,_0x46b231){return _0x38cd(_0x14e46a- -_0x86540a._0x4d7ba7,_0x46b231);}function _0x4f65dc(_0x457cca,_0x4724a2,_0x20677a,_0x3340e5){return _0x38cd(_0x457cca-_0x579572._0x38e464,_0x4724a2);}return _0x36c497===void 0x0||_0x36c497===_0x27b16a[_0x562f0f(0x7a,0x6a,_0x530b5f._0x35a294,0x75)][_0x4f65dc(_0x530b5f._0x548586,0x205,_0x530b5f._0x31846f,0x221)]||_0x36c497===_0x27b16a['model'];}function normalizeMessage(_0x3d09a8){const _0xea3737={_0x1ed6d5:0xe,_0x14b4aa:0x17,_0x402a16:0x3d3,_0x967d24:0x3c2},_0x44e090={_0x482127:0x1ab};function _0x2d71a2(_0x4fde7d,_0x32d195,_0x436dce,_0x5a4f1f){return _0x38cd(_0x436dce-0x207,_0x4fde7d);}function _0x2feba3(_0x260069,_0x52cc69,_0x23a122,_0x245768){return _0x38cd(_0x52cc69- -_0x44e090._0x482127,_0x245768);}return{...typeof _0x3d09a8['id']==='string'?{'id':_0x3d09a8['id']}:{},'role':_0x3d09a8[_0x2feba3(0x16,0x4,_0xea3737._0x1ed6d5,-0x15)],'content':normalizeContent(_0x3d09a8[_0x2feba3(-_0xea3737._0x14b4aa,-0x12,0x5,-0x2f)]),..._0x3d09a8[_0x2d71a2(_0xea3737._0x402a16,0x3de,_0xea3737._0x967d24,0x3e5)]?{'providerState':structuredClone(_0x3d09a8['providerState'])}:{}};}function compileRequest(_0x2be9b5){const _0x2210e0={_0x43f6fa:0x14,_0x5a08f5:0x19d,_0x358d2f:0x1b6,_0x459dcb:0x19,_0x3f340e:0x32,_0x5ae1d6:0x25,_0x3d8563:0x167,_0x2a1d6a:0x181,_0x5bcfd6:0x179,_0x36994d:0x18c,_0x282c9e:0x1c3,_0x45db82:0x1a8,_0x1b7940:0x1a7,_0x40c169:0x37,_0x3c8633:0x17,_0x5b0738:0x38,_0xb8ef68:0x0,_0x51ca1f:0x15,_0x37337e:0x18b,_0x76bb93:0x194},_0x23437b={_0x279eb9:0x356};function _0x1b93df(_0x31fabc,_0x5e585f,_0x1003db,_0x3e6cc0){return _0x38cd(_0x31fabc- -0x1c4,_0x1003db);}function _0x3db017(_0x305bd3,_0x4f71d9,_0x22a626,_0x29b38b){return _0x38cd(_0x29b38b- -_0x23437b._0x279eb9,_0x22a626);}return{'model':_0x2be9b5[_0x1b93df(-0x18,-0x1c,-0x2e,-_0x2210e0._0x43f6fa)]??_0x3db017(-0x1cf,-_0x2210e0._0x5a08f5,-0x1ab,-_0x2210e0._0x358d2f),..._0x2be9b5[_0x1b93df(_0x2210e0._0x459dcb,_0x2210e0._0x3f340e,0x6,_0x2210e0._0x5ae1d6)]!==void 0x0?{'max_tokens':_0x2be9b5[_0x3db017(-_0x2210e0._0x3d8563,-_0x2210e0._0x2a1d6a,-0x168,-_0x2210e0._0x5bcfd6)]}:{},..._0x2be9b5[_0x3db017(-_0x2210e0._0x36994d,-0x198,-_0x2210e0._0x282c9e,-_0x2210e0._0x45db82)]?{'reasoning':structuredClone(_0x2be9b5['reasoning'])}:{},'system':normalizeSystem(_0x2be9b5['system']),'messages':_0x2be9b5[_0x3db017(-0x1a2,-_0x2210e0._0x1b7940,-0x1c3,-0x1a0)][_0x1b93df(-0x14,-0x2a,-0x9,-_0x2210e0._0x40c169)](normalizeMessage),'tools':structuredClone(_0x2be9b5['tools']??[]),'metadata':{'session_id':_0x2be9b5[_0x1b93df(_0x2210e0._0x3c8633,_0x2210e0._0x5b0738,_0x2210e0._0xb8ef68,_0x2210e0._0x51ca1f)],'turn_id':_0x2be9b5[_0x3db017(-0x18d,-_0x2210e0._0x37337e,-0x189,-_0x2210e0._0x76bb93)]}};}function toChatRequest(_0x438db8){const _0x415821={_0x3f20ba:0x4d,_0x1d5e32:0x2a,_0x227580:0x3f,_0x39c74a:0x1c,_0xa40c49:0x2e,_0x565160:0x1d2,_0x1a2b49:0x1b2,_0x43ec56:0x1af,_0x10e1bb:0x1b0,_0x53ff46:0x188,_0x4d9851:0x183,_0x4ea2b8:0x178,_0x41195:0x35,_0x1ec2df:0x180,_0x1b3d31:0x175,_0x503c8f:0x17b,_0xdc9c6d:0x192,_0x4e35bf:0x172,_0x339b9e:0x198,_0x535dfd:0x17c,_0x567609:0x187,_0x5c4b92:0x19e,_0x46ee17:0x45,_0x17d2a4:0x39,_0x54d3ab:0x40,_0x3da5bb:0x79,_0x24e510:0x67,_0x79a1cd:0x58,_0x53f194:0x50,_0x1ccacb:0x196,_0x7f5ad6:0x1bc,_0x534604:0x197,_0x39d1c3:0x177,_0x519dc8:0x2d,_0x33f7ee:0x45,_0x17cf86:0x174,_0x25aab5:0x56,_0x2ff720:0x42},_0x127597={_0x1a5947:0x1f9},_0x2353f4={_0x3603df:0x2b};function _0x37175e(_0xfcd01e,_0xfa3718,_0x48b5ec,_0x45cab8){return _0x38cd(_0xfa3718- -_0x2353f4._0x3603df,_0x48b5ec);}function _0x488f28(_0xd2d4b0,_0x43a1d6,_0xf80704,_0x29d0bb){return _0x38cd(_0xd2d4b0- -_0x127597._0x1a5947,_0x43a1d6);}return{'model':_0x438db8[_0x488f28(-_0x415821._0x3f20ba,-_0x415821._0x1d5e32,-0x4b,-_0x415821._0x227580)],..._0x438db8[_0x488f28(-_0x415821._0x39c74a,-0x9,-0xf,-_0x415821._0xa40c49)]!==void 0x0?{'maxTokens':_0x438db8[_0x37175e(_0x415821._0x565160,_0x415821._0x1a2b49,_0x415821._0x43ec56,_0x415821._0x10e1bb)]}:{},..._0x438db8['reasoning']?{'reasoning':structuredClone(_0x438db8[_0x37175e(_0x415821._0x53ff46,_0x415821._0x4d9851,0x17f,_0x415821._0x4ea2b8)])}:{},'system':structuredClone(_0x438db8[_0x488f28(-0x54,-0x54,-0x34,-_0x415821._0x41195)]),'messages':structuredClone(_0x438db8['messages']),'tools':structuredClone(_0x438db8['tools']),'metadata':{'sessionId':_0x438db8[_0x37175e(0x183,_0x415821._0x1ec2df,_0x415821._0x1b3d31,_0x415821._0x503c8f)][_0x37175e(0x182,_0x415821._0xdc9c6d,_0x415821._0x4e35bf,_0x415821._0x339b9e)],'turnId':_0x438db8[_0x37175e(_0x415821._0x535dfd,0x180,0x195,0x18d)][_0x37175e(0x167,_0x415821._0x567609,0x197,_0x415821._0x5c4b92)],..._0x438db8[_0x488f28(-0x4e,-_0x415821._0x46ee17,-_0x415821._0x17d2a4,-_0x415821._0x54d3ab)][_0x488f28(-0x5b,-0x56,-_0x415821._0x3da5bb,-0x60)]!==void 0x0?{'modelIdentity':_0x438db8['metadata'][_0x488f28(-0x5b,-_0x415821._0x24e510,-_0x415821._0x79a1cd,-_0x415821._0x53f194)]}:{},..._0x438db8['metadata'][_0x37175e(_0x415821._0x1ccacb,0x1a1,0x182,_0x415821._0x7f5ad6)]!==void 0x0?{'pricingProviderId':_0x438db8[_0x37175e(_0x415821._0x534604,0x180,0x192,_0x415821._0x39d1c3)][_0x488f28(-_0x415821._0x519dc8,-0x3b,-_0x415821._0x33f7ee,-0x12)]}:{}},..._0x438db8[_0x37175e(0x18f,_0x415821._0x17cf86,0x177,0x164)]?{'outputFormat':structuredClone(_0x438db8[_0x488f28(-0x5a,-_0x415821._0x25aab5,-0x63,-_0x415821._0x2ff720)])}:{}};}function toModelRequest(_0x595620){const _0x14927f={_0x489d4a:0x57,_0x539a14:0x17e,_0x2eb626:0x164,_0x25f42b:0x15b,_0x573122:0x4c,_0x2753ae:0x8,_0x3fcb4a:0x21,_0x73b2d8:0x2a,_0x4380fa:0x41,_0x80d84d:0x54,_0x10afc4:0xe,_0x1bc893:0x2a,_0xf62fb0:0xb,_0x27d033:0x3c,_0x22cc6a:0x45,_0x16f4a8:0x17,_0x2d08e2:0x17a,_0x6de6dd:0x18d,_0x397769:0x18f,_0xf1d5fb:0x18c},_0x147b56={_0xf252fe:0x32c};function _0xae94ce(_0x3ec2e0,_0x32d977,_0x299343,_0x7f27b3){return _0x38cd(_0x299343- -0x181,_0x3ec2e0);}function _0x306670(_0x58b834,_0x5e0bcd,_0xb626b7,_0x27c1b7){return _0x38cd(_0x58b834- -_0x147b56._0xf252fe,_0xb626b7);}return{'model':_0x595620['model'],..._0x595620['maxTokens']!==void 0x0?{'max_tokens':_0x595620[_0xae94ce(0x5f,_0x14927f._0x489d4a,0x53,0x41)]}:{},..._0x595620[_0x306670(-_0x14927f._0x539a14,-_0x14927f._0x2eb626,-0x15e,-0x15c)]?{'reasoning':structuredClone(_0x595620['reasoning'])}:{},'system':structuredClone(_0x595620['system']),'messages':structuredClone(_0x595620[_0x306670(-0x176,-0x194,-_0x14927f._0x25f42b,-0x184)]),'tools':structuredClone(_0x595620[_0xae94ce(_0x14927f._0x573122,0x2c,0x49,0x49)]),'metadata':{'session_id':_0x595620[_0xae94ce(_0x14927f._0x2753ae,_0x14927f._0x2753ae,0x2a,_0x14927f._0x3fcb4a)]['sessionId'],'turn_id':_0x595620[_0xae94ce(0x2b,0x1e,_0x14927f._0x73b2d8,0x34)][_0xae94ce(0x5f,0x27,_0x14927f._0x4380fa,_0x14927f._0x80d84d)],..._0x595620[_0x306670(-0x181,-0x172,-0x16b,-0x16b)][_0xae94ce(-0x2,0x17,0x1b,-0x2)]!==void 0x0?{'model_identity':_0x595620[_0xae94ce(0x3e,_0x14927f._0x10afc4,_0x14927f._0x1bc893,0x4d)][_0xae94ce(_0x14927f._0xf62fb0,_0x14927f._0x27d033,0x1b,0x35)]}:{},..._0x595620[_0xae94ce(0x12,_0x14927f._0x22cc6a,_0x14927f._0x1bc893,_0x14927f._0x16f4a8)]['pricingProviderId']!==void 0x0?{'pricing_provider_id':_0x595620['metadata'][_0x306670(-0x166,-0x148,-0x158,-_0x14927f._0x2d08e2)]}:{}},..._0x595620['outputFormat']?{'outputFormat':structuredClone(_0x595620[_0x306670(-_0x14927f._0x6de6dd,-_0x14927f._0x397769,-_0x14927f._0xf1d5fb,-0x194)])}:{}};}function toProviderModelRequest(_0x11e439){const _0x443841={_0x5951a4:0x4c0,_0x1772a7:0x4d9,_0x56199b:0x4df,_0x2782db:0x16f,_0x2fd084:0x181,_0x288b69:0x4b5,_0x1fdebc:0x4eb,_0x5ada40:0x4d2,_0x50a141:0x4c3,_0x11d105:0x151,_0x4c66f1:0x162,_0x1512a9:0x16b,_0x44bcfa:0x174,_0x76f56a:0x165},_0x33f845={_0x3b2a3a:0x32d};function _0x2125bf(_0x272141,_0x1208d2,_0x316c92,_0x5c5b37){return _0x38cd(_0x316c92-_0x33f845._0x3b2a3a,_0x272141);}function _0x11277a(_0x49b437,_0x105e00,_0x307412,_0x4028bb){return _0x38cd(_0x105e00- -0x65,_0x307412);}return{'model':_0x11e439[_0x2125bf(_0x443841._0x5951a4,0x4d0,_0x443841._0x1772a7,_0x443841._0x56199b)],..._0x11e439['maxTokens']!==void 0x0?{'max_tokens':_0x11e439[_0x11277a(0x17b,_0x443841._0x2782db,_0x443841._0x2fd084,0x14b)]}:{},'system':structuredClone(_0x11e439[_0x2125bf(_0x443841._0x288b69,_0x443841._0x1fdebc,_0x443841._0x5ada40,_0x443841._0x50a141)]),'messages':structuredClone(_0x11e439[_0x11277a(0x154,_0x443841._0x11d105,_0x443841._0x4c66f1,_0x443841._0x1512a9)]),'tools':structuredClone(_0x11e439[_0x11277a(_0x443841._0x44bcfa,_0x443841._0x76f56a,0x169,0x169)])};}function toChatResponse(_0x25a0c4){const _0x5b8537={_0x4489dd:0x76,_0x37fe66:0x5d,_0xda8a80:0x42,_0x19723a:0x4f,_0x27b3d7:0x5e,_0x4df50d:0x57,_0x39512d:0x3a},_0x2fc701={_0x4b325a:0x1f5};function _0x17c57d(_0x3a2836,_0x2c44c7,_0x1684f0,_0x1268cc){return _0x38cd(_0x2c44c7- -_0x2fc701._0x4b325a,_0x1268cc);}function _0xe211de(_0x1ba51b,_0x12dee5,_0x1ad8ed,_0x12ce33){return _0x38cd(_0x12dee5- -0x214,_0x12ce33);}return{'id':_0x25a0c4['id'],'content':structuredClone(_0x25a0c4['content']),'stopReason':_0x25a0c4[_0xe211de(-0x5f,-0x3f,-0x37,-0x48)],'usage':{'inputTokens':_0x25a0c4['usage'][_0xe211de(-_0x5b8537._0x4489dd,-_0x5b8537._0x37fe66,-_0x5b8537._0xda8a80,-_0x5b8537._0x19723a)],'outputTokens':_0x25a0c4['usage']['output_tokens'],..._0x25a0c4['usage']['reasoning_tokens']!==void 0x0?{'reasoningTokens':_0x25a0c4[_0xe211de(-_0x5b8537._0x27b3d7,-0x5a,-_0x5b8537._0x4df50d,-0x4f)][_0xe211de(-0x37,-0x49,-0x64,-0x62)]}:{}},..._0x25a0c4['providerState']?{'providerState':structuredClone(_0x25a0c4[_0x17c57d(-0x2c,-_0x5b8537._0x39512d,-0x33,-0x50)])}:{}};}function toModelResponse(_0x2fefa3){const _0x46e6da={_0x432c9c:0x3a5,_0x23ab18:0x387,_0x4fca2f:0x39b,_0x355fcd:0x391,_0x1f6ff1:0x376,_0x3976e0:0x36e,_0x39a644:0x391,_0x58928e:0x38f,_0x5ce0ea:0x370,_0x18fbdf:0x150,_0xd49421:0x153,_0x241a9c:0x363,_0x42e348:0x152,_0x5887e5:0x182,_0xafbb21:0x182,_0x4844b8:0x13f,_0x258ff6:0x375,_0x47851d:0x390,_0x5aa1e2:0x377,_0x3e39fa:0x149,_0x3459e3:0x36d,_0x1ab8aa:0x371},_0x572fe0={_0x1a3b22:0x1d5},_0x35cb80={_0x262d67:0x325};function _0x38e3fb(_0x4488a3,_0x479540,_0x33bbff,_0xf2f57a){return _0x38cd(_0x4488a3- -_0x35cb80._0x262d67,_0xf2f57a);}function _0x4d8f87(_0x15b6a1,_0x2a322a,_0x546088,_0x6306df){return _0x38cd(_0x546088-_0x572fe0._0x1a3b22,_0x6306df);}return{'id':_0x2fefa3['id'],'type':'message','role':_0x4d8f87(0x39a,0x3c1,_0x46e6da._0x432c9c,0x3c3),'content':structuredClone(_0x2fefa3[_0x4d8f87(0x38f,_0x46e6da._0x23ab18,0x36e,0x391)]),'stop_reason':_0x2fefa3[_0x4d8f87(0x397,_0x46e6da._0x4fca2f,_0x46e6da._0x355fcd,_0x46e6da._0x1f6ff1)],'stop_sequence':null,'usage':{'input_tokens':_0x2fefa3[_0x4d8f87(_0x46e6da._0x3976e0,_0x46e6da._0x39a644,_0x46e6da._0x58928e,_0x46e6da._0x5ce0ea)][_0x38e3fb(-0x167,-_0x46e6da._0x18fbdf,-_0x46e6da._0xd49421,-0x14b)],'output_tokens':_0x2fefa3[_0x38e3fb(-0x16b,-0x181,-0x14c,-0x157)][_0x4d8f87(0x36c,0x367,0x37f,_0x46e6da._0x241a9c)],..._0x2fefa3[_0x38e3fb(-0x16b,-_0x46e6da._0x42e348,-_0x46e6da._0x5887e5,-_0x46e6da._0xafbb21)][_0x38e3fb(-0x158,-_0x46e6da._0x4844b8,-0x14b,-0x15d)]!==void 0x0?{'reasoning_tokens':_0x2fefa3[_0x4d8f87(_0x46e6da._0x258ff6,_0x46e6da._0x47851d,0x38f,_0x46e6da._0x5aa1e2)][_0x38e3fb(-0x158,-0x15f,-_0x46e6da._0x3e39fa,-0x179)]}:{}},..._0x2fefa3['providerState']?{'providerState':structuredClone(_0x2fefa3[_0x4d8f87(_0x46e6da._0x3459e3,_0x46e6da._0x1ab8aa,0x390,0x3a4)])}:{}};}function responseToAssistantMessage(_0x429e91){const _0x235427={_0x1f21af:0x1ef,_0x11d5a7:0x226,_0x1d2262:0x235,_0x103420:0x177,_0x4812f1:0x17a,_0x467a6a:0x196,_0x58fcd0:0x19a,_0x16f259:0x171},_0x1539ef={_0x353c4f:0x3c5};function _0x3bc204(_0xbffc93,_0x2d04a2,_0x2e2f93,_0x58306a){return _0x38cd(_0x58306a- -_0x1539ef._0x353c4f,_0x2d04a2);}function _0x11d6a5(_0x38c996,_0x240a58,_0x24df5a,_0x474e2f){return _0x38cd(_0x38c996- -0x332,_0x240a58);}return{'role':_0x3bc204(-0x202,-_0x235427._0x1f21af,-0x20e,-0x1f5),'content':normalizeContent(_0x429e91[_0x3bc204(-0x226,-_0x235427._0x11d5a7,-_0x235427._0x1d2262,-0x22c)]),..._0x429e91[_0x11d6a5(-_0x235427._0x103420,-0x162,-_0x235427._0x4812f1,-_0x235427._0x467a6a)]?{'providerState':structuredClone(_0x429e91[_0x11d6a5(-_0x235427._0x103420,-_0x235427._0x58fcd0,-_0x235427._0x16f259,-0x158)])}:{}};}function createReasoningMessage(_0x30dcc9){const _0x17994a={_0x3c2000:0x12c,_0x12583f:0x15d,_0x4504a5:0x11a,_0x46074d:0x129,_0x32445b:0x128,_0xef937f:0x12d,_0x9be89b:0x158,_0x3383b9:0x161},_0x496bed={_0x3a5d8b:0x26d,_0x4c6f17:0x23c,_0x54eef1:0x274,_0x8c9653:0x255,_0x5d6911:0x232,_0x2319c6:0x22a},_0x3a93de={_0x55746d:0x10b,_0x409c27:0x110},_0x213ba2=normalizeContent(_0x30dcc9?.['content'])[_0xb62e39(0x13d,_0x17994a._0x3c2000,_0x17994a._0x12583f,_0x17994a._0x4504a5)](_0x18da80=>{function _0x4f8e08(_0x1e85a9,_0x4c5d67,_0x38a8ad,_0x1a6b2f){return _0xb62e39(_0x38a8ad-0xf1,_0x4c5d67-0x15b,_0x1a6b2f,_0x1a6b2f-0xd0);}function _0x3cb0c1(_0x5a6eb2,_0x1cad62,_0x2152f3,_0x14f6d6){return _0xb62e39(_0x1cad62- -0x14b,_0x1cad62-_0x3a93de._0x55746d,_0x5a6eb2,_0x14f6d6-_0x3a93de._0x409c27);}return _0x18da80['type']===_0x4f8e08(_0x496bed._0x3a5d8b,0x25f,0x253,_0x496bed._0x4c6f17)||_0x18da80[_0x4f8e08(_0x496bed._0x54eef1,0x25d,_0x496bed._0x8c9653,0x277)]===_0x3cb0c1(-0x36,-0x16,0xb,0x6)||_0x18da80['type']===_0x4f8e08(0x23e,_0x496bed._0x5d6911,0x239,_0x496bed._0x2319c6);});function _0x132201(_0x353d0a,_0x30a8ad,_0x5ce55e,_0x3fa81c){return _0x38cd(_0x353d0a-0x38d,_0x30a8ad);}if(_0x213ba2[_0xb62e39(_0x17994a._0x46074d,0x145,_0x17994a._0x32445b,_0x17994a._0xef937f)]===0x0)return void 0x0;function _0xb62e39(_0x15aeba,_0x1668f3,_0x3763ba,_0x30aae6){return _0x38cd(_0x15aeba- -0x78,_0x3763ba);}return{'role':_0xb62e39(_0x17994a._0x9be89b,0x167,0x135,_0x17994a._0x3383b9),'content':_0x213ba2};}function createAssistantTextMessage(_0x4017c2){const _0x43fbbd={_0x471f43:0x513,_0x4b26cb:0x526,_0x53989f:0x537,_0x146534:0x52c},_0x21c25b={_0x1c3b81:0x171,_0x1b2dba:0x160,_0x34f2c8:0x12a,_0x3db6b2:0x144},_0x489768={_0x20e442:0xd4,_0x28d293:0x3f5},_0x431e0b={_0x261055:0x3f},_0x56a9c4=normalizeContent(_0x4017c2?.[_0xb2317e(0x528,0x50a,0x52a,0x511)])[_0xb2317e(_0x43fbbd._0x471f43,_0x43fbbd._0x4b26cb,_0x43fbbd._0x53989f,_0x43fbbd._0x146534)](_0x23fd77=>{function _0x5a4a8e(_0x36823c,_0x55f2b8,_0x53cb26,_0x6262c2){return _0xb2317e(_0x36823c-0x17e,_0x6262c2- -_0x431e0b._0x261055,_0x55f2b8,_0x6262c2-0x6e);}function _0x1e63a0(_0x6b54cd,_0x1d7a18,_0x1882f1,_0x49e5df){return _0xb2317e(_0x6b54cd-_0x489768._0x20e442,_0x49e5df- -_0x489768._0x28d293,_0x1d7a18,_0x49e5df-0x1d9);}return _0x23fd77[_0x1e63a0(0x14c,0x168,_0x21c25b._0x1c3b81,0x158)]===_0x1e63a0(0x168,_0x21c25b._0x1b2dba,_0x21c25b._0x34f2c8,_0x21c25b._0x3db6b2);});function _0x42c379(_0x10ee82,_0x3791b5,_0x6ebb45,_0x101fc7){return _0x38cd(_0x101fc7-0x88,_0x6ebb45);}if(_0x56a9c4['length']===0x0)return void 0x0;function _0xb2317e(_0x5cc1e2,_0x1bff62,_0x4ee74e,_0x5480c2){return _0x38cd(_0x1bff62-0x371,_0x4ee74e);}return{'role':'assistant','content':_0x56a9c4};}function createToolUseMessage(_0x414070){const _0xe88b04={_0x246803:0x45d,_0x1ae7bd:0x474,_0x13ac9c:0x481,_0x3066e1:0x47c,_0x1aace0:0x4cf,_0x19bd5c:0x49c},_0x3688ed={_0x4d1bb4:0x2db},_0x267a1a={_0x510a70:0x47b,_0x35b2bf:0x49c},_0xdf4a13={_0x1376b9:0x157},_0x6e5aa4=normalizeContent(_0x414070?.[_0x128a2a(0x487,_0xe88b04._0x246803,_0xe88b04._0x1ae7bd,0x475)])['filter'](_0xe4b141=>{function _0x2e8860(_0x2d9c1d,_0x3fd568,_0x3beed9,_0x2c68f8){return _0x128a2a(_0x2d9c1d-0x48,_0x3fd568-_0xdf4a13._0x1376b9,_0x3fd568- -0x27,_0x2c68f8);}return _0xe4b141['type']===_0x2e8860(0x48b,_0x267a1a._0x510a70,_0x267a1a._0x35b2bf,0x481);});function _0x22f31e(_0x1ea5a4,_0x3fc1dd,_0x345f26,_0x91f842){return _0x38cd(_0x345f26- -0x389,_0x1ea5a4);}if(_0x6e5aa4[_0x128a2a(0x494,_0xe88b04._0x13ac9c,_0xe88b04._0x3066e1,0x46d)]===0x0)return void 0x0;function _0x128a2a(_0x74373e,_0x3f7f43,_0x36d025,_0x48a220){return _0x38cd(_0x36d025-_0x3688ed._0x4d1bb4,_0x48a220);}return{'role':_0x128a2a(_0xe88b04._0x1aace0,0x4b5,0x4ab,_0xe88b04._0x19bd5c),'content':_0x6e5aa4};}function getTextFromMessage(_0x493ed9){const _0x5b2abd={_0x3cd06c:0x279,_0x52c1ab:0x260,_0x207491:0x261,_0x50d712:0x81,_0x553c12:0x82,_0x4742d8:0x26d,_0x29806a:0x277};function _0x45abc1(_0x54116a,_0x3e15ad,_0x27bdc8,_0x4cfcb9){return _0x38cd(_0x27bdc8-0xc7,_0x3e15ad);}function _0x4b8b9e(_0x5a124e,_0x374c27,_0xdfa85d,_0x5c4fc1){return _0x38cd(_0x5c4fc1- -0x11b,_0xdfa85d);}return normalizeContent(_0x493ed9?.[_0x45abc1(_0x5b2abd._0x3cd06c,0x256,_0x5b2abd._0x52c1ab,_0x5b2abd._0x207491)])[_0x4b8b9e(_0x5b2abd._0x50d712,0xb5,_0x5b2abd._0x553c12,0x9a)](_0x1b84d4=>_0x1b84d4[_0x4b8b9e(0xab,0xc2,0xd6,0xc1)]===_0x4b8b9e(0xb5,0xbf,0xb3,0xad))[_0x45abc1(_0x5b2abd._0x4742d8,0x260,_0x5b2abd._0x29806a,0x26f)](_0x188799=>_0x188799[_0x4b8b9e(0xa5,0xc4,0x8b,0xad)])['join']('\x0a');}function getReasoningTextFromMessage(_0xa9ce95){const _0x43a870={_0x583dbd:0x24b,_0x306725:0x509,_0x22dade:0x4fb},_0x4fe5dc={_0xf010bf:0x12,_0x488063:0x19,_0x43382e:0x65,_0x4a10af:0x56,_0x527a8a:0x45,_0x42ee78:0x76,_0x316bc5:0x3c,_0x4e493d:0x27,_0x388dae:0x66,_0x216a91:0x4b,_0x5dc2fc:0x34,_0x1c78b1:0x7a,_0x2bd13f:0x84,_0x270246:0x7,_0x3901d1:0xa,_0x551847:0x7d,_0x10526c:0xa1,_0x17e14d:0x1c,_0xafbe40:0x53,_0x55e443:0x35,_0x36412a:0x4c,_0x83b4f5:0x68,_0x37d604:0x57,_0xeab226:0x37,_0x1c4b0c:0x4f,_0x30accc:0x46,_0x852533:0x54,_0x57d1b3:0x6b,_0xbe8bce:0x5d,_0xd41fd3:0x2d,_0x3fd3db:0x55,_0x3ce25b:0x4b,_0x36e34a:0x4d,_0x293113:0x73,_0x48c070:0x52,_0x16fc46:0x39};function _0x4afedf(_0x278879,_0x108b7d,_0x1b2198,_0x375ea7){return _0x38cd(_0x375ea7-0xa5,_0x278879);}function _0x3280ca(_0x4aefc9,_0x317fd2,_0x1824d0,_0x48d44e){return _0x38cd(_0x48d44e-0x338,_0x4aefc9);}return normalizeContent(_0xa9ce95?.[_0x4afedf(0x261,0x256,_0x43a870._0x583dbd,0x23e)])[_0x3280ca(0x50f,0x509,_0x43a870._0x306725,_0x43a870._0x22dade)](_0x48efd0=>{const _0x18d1a8={_0x4eadc7:0x1fc},_0x2075ac={_0x2d2920:0x17f,_0x5a82db:0x1cd};if(_0x48efd0[_0x5bfd2e(-0x20,-_0x4fe5dc._0xf010bf,-_0x4fe5dc._0x488063,0x0)]===_0x54fb12(_0x4fe5dc._0x43382e,_0x4fe5dc._0x4a10af,_0x4fe5dc._0x527a8a,_0x4fe5dc._0x42ee78))return _0x48efd0[_0x5bfd2e(-_0x4fe5dc._0x316bc5,-_0x4fe5dc._0x4e493d,-0x24,-0x47)][_0x54fb12(_0x4fe5dc._0x388dae,_0x4fe5dc._0x216a91,_0x4fe5dc._0x5dc2fc,_0x4fe5dc._0x527a8a)]()['length']>0x0?[_0x48efd0[_0x54fb12(0x8a,_0x4fe5dc._0x1c78b1,_0x4fe5dc._0x2bd13f,0x57)]]:[];if(_0x48efd0[_0x5bfd2e(-_0x4fe5dc._0x270246,_0x4fe5dc._0x3901d1,-0x19,-0x1c)]===_0x54fb12(_0x4fe5dc._0x551847,0x83,0xa0,_0x4fe5dc._0x10526c))return[_0x5bfd2e(-0x45,-_0x4fe5dc._0x17e14d,-0x31,-_0x4fe5dc._0xafbe40)];if(_0x48efd0['type']!==_0x5bfd2e(-0x48,-0x45,-_0x4fe5dc._0x55e443,-0x57))return[];const _0x53ecb0=_0x48efd0[_0x54fb12(_0x4fe5dc._0x36412a,_0x4fe5dc._0x83b4f5,0x58,0x68)]['map'](_0x5b2805=>_0x5b2805['text'])[_0x5bfd2e(-_0x4fe5dc._0x37d604,-_0x4fe5dc._0xeab226,-0x40,-_0x4fe5dc._0x1c4b0c)](_0x15de4f=>_0x15de4f[_0x5bfd2e(-0x4f,-0x42,-0x53,-0x5d)]()[_0x5bfd2e(-0x32,-0x50,-0x54,-0x3b)]>0x0)[_0x5bfd2e(-0x50,-0x24,-0x42,-0x31)]('\x0a\x0a');function _0x5bfd2e(_0x9aa794,_0x256182,_0x4006d0,_0x3cf188){return _0x3280ca(_0x9aa794,_0x256182-_0x2075ac._0x2d2920,_0x4006d0-_0x2075ac._0x5a82db,_0x4006d0- -0x52d);}if(_0x53ecb0[_0x5bfd2e(-0x66,-_0x4fe5dc._0x30accc,-_0x4fe5dc._0x852533,-_0x4fe5dc._0x57d1b3)]>0x0)return[_0x53ecb0];if(_0x48efd0[_0x54fb12(_0x4fe5dc._0xbe8bce,0x71,0x6e,0x80)]&&_0x48efd0[_0x5bfd2e(-0x2f,-0x15,-_0x4fe5dc._0xd41fd3,-0x4a)][_0x54fb12(_0x4fe5dc._0x3fd3db,_0x4fe5dc._0x3ce25b,0x42,0x48)]()[_0x54fb12(0x26,0x4a,0x35,0x30)]>0x0)return[_0x48efd0['text']];function _0x54fb12(_0x360aea,_0x38980d,_0x6724cc,_0x3900f6){return _0x4afedf(_0x360aea,_0x38980d-0x31,_0x6724cc-0x9c,_0x38980d- -_0x18d1a8._0x4eadc7);}return _0x48efd0[_0x5bfd2e(-0x6c,-0x61,-_0x4fe5dc._0x36e34a,-0x52)]?[_0x5bfd2e(-_0x4fe5dc._0x293113,-0x3c,-_0x4fe5dc._0x48c070,-_0x4fe5dc._0x16fc46)]:[];})['join']('\x0a\x0a');}function getToolUseBlocks(_0x3e7c8d){const _0x4a3694={_0x2b2ce0:0x3cb,_0x38ea23:0x3e4,_0x4abeae:0xc1,_0x5101c9:0xdb},_0x8dae6e={_0x1b6827:0x24b},_0x26f5a9={_0x550318:0xf4};function _0x5da5ba(_0x20a25b,_0x1d2f60,_0x4d5598,_0x1fa357){return _0x38cd(_0x20a25b- -_0x26f5a9._0x550318,_0x1fa357);}function _0xf951af(_0x2d831d,_0x43cf99,_0x2505d3,_0x475322){return _0x38cd(_0x475322-_0x8dae6e._0x1b6827,_0x2505d3);}return normalizeContent(_0x3e7c8d?.[_0xf951af(_0x4a3694._0x2b2ce0,0x3fa,0x3c1,_0x4a3694._0x38ea23)])[_0x5da5ba(_0x4a3694._0x4abeae,0xd9,0xa4,_0x4a3694._0x5101c9)](_0x5a1d2f=>_0x5a1d2f['type']===_0x5da5ba(0xd3,0xd9,0xd1,0xe3));}function getToolResultBlocks(_0x14c77f){const _0x35edac={_0x348c9f:0x220,_0x5bf64c:0x1ff,_0x929581:0x208},_0x2b81a2={_0x571468:0x3a1};function _0x3583d1(_0x67b0b9,_0x5ba43b,_0x3c20b3,_0x9d2028){return _0x38cd(_0x9d2028- -_0x2b81a2._0x571468,_0x5ba43b);}function _0x12a0e9(_0x21226a,_0x3eb511,_0x193a82,_0x4611c7){return _0x38cd(_0x3eb511- -0x310,_0x21226a);}return normalizeContent(_0x14c77f?.[_0x3583d1(-0x226,-_0x35edac._0x348c9f,-_0x35edac._0x5bf64c,-_0x35edac._0x929581)])[_0x12a0e9(-0x166,-0x15b,-0x13f,-0x14f)](_0x5f9801=>_0x5f9801[_0x3583d1(-0x1c2,-0x1df,-0x1b6,-0x1c5)]===_0x12a0e9(-0x167,-0x176,-0x18d,-0x182));}function createToolResultUserMessage(_0x3d2762){const _0xcfbae={_0x3bb3e4:0x2d4,_0x4f964e:0x2d5},_0x57be61={_0x5e14fc:0x456,_0x494c61:0x45f,_0x5281cd:0x474,_0x2ac65b:0x466,_0x31b8b6:0x46f,_0x18d030:0x441,_0x245c27:0xa8,_0xc78688:0x9f,_0x3dd208:0x43f,_0x41414d:0x453};function _0x38d0fe(_0x8029ca,_0x1392b4,_0x94960b,_0x21bcc1){return _0x38cd(_0x21bcc1-0x133,_0x8029ca);}return{'role':'user','content':_0x3d2762[_0x38d0fe(_0xcfbae._0x3bb3e4,_0xcfbae._0x4f964e,0x2e8,0x2e3)](_0x424168=>{const _0x1e64c0={_0x443fd7:0xd5};function _0x55a95e(_0xc449b3,_0x2a381f,_0x112c09,_0x3a8819){return _0x38d0fe(_0x3a8819,_0x2a381f-0x89,_0x112c09-_0x1e64c0._0x443fd7,_0x2a381f- -0x285);}function _0x556899(_0x571bb6,_0x37e35b,_0x27780c,_0x406013){return _0x38d0fe(_0x406013,_0x37e35b-0x83,_0x27780c-0xad,_0x571bb6-0x189);}return{'type':_0x556899(_0x57be61._0x5e14fc,_0x57be61._0x494c61,0x438,0x461),'tool_use_id':_0x424168[_0x556899(_0x57be61._0x5281cd,0x47f,_0x57be61._0x2ac65b,_0x57be61._0x31b8b6)],'content':_0x424168[_0x556899(0x455,_0x57be61._0x18d030,0x441,0x432)]??_0x424168[_0x556899(0x463,0x466,0x476,0x469)],'is_error':_0x424168[_0x55a95e(_0x57be61._0x245c27,0x85,_0x57be61._0xc78688,0x62)]===_0x556899(0x462,_0x57be61._0x3dd208,_0x57be61._0x41414d,0x44e)};})};}var INTERRUPTED_TOOL_RESULT_TEXT=_0x4a7428(-0x156,-0x17e,-0x161,-0x180);function _0x38cd(_0x53fa1c,_0x3ba1ba){_0x53fa1c=_0x53fa1c-0x197;const _0x2cae28=_0x2cae();let _0x38cdb4=_0x2cae28[_0x53fa1c];if(_0x38cd['CHRdZx']===undefined){var _0x586ff8=function(_0x4fb19b){const _0x5a707c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18556c='',_0x2467a1='';for(let _0x57ec9=0x0,_0x546b3c,_0x4004e1,_0x4fb1ef=0x0;_0x4004e1=_0x4fb19b['charAt'](_0x4fb1ef++);~_0x4004e1&&(_0x546b3c=_0x57ec9%0x4?_0x546b3c*0x40+_0x4004e1:_0x4004e1,_0x57ec9++%0x4)?_0x18556c+=String['fromCharCode'](0xff&_0x546b3c>>(-0x2*_0x57ec9&0x6)):0x0){_0x4004e1=_0x5a707c['indexOf'](_0x4004e1);}for(let _0x12e550=0x0,_0x27b16a=_0x18556c['length'];_0x12e550<_0x27b16a;_0x12e550++){_0x2467a1+='%'+('00'+_0x18556c['charCodeAt'](_0x12e550)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2467a1);};_0x38cd['fUyowV']=_0x586ff8,_0x38cd['mlzmOf']={},_0x38cd['CHRdZx']=!![];}const _0x8a2323=_0x2cae28[0x0],_0x1144cb=_0x53fa1c+_0x8a2323,_0x735155=_0x38cd['mlzmOf'][_0x1144cb];return!_0x735155?(_0x38cdb4=_0x38cd['fUyowV'](_0x38cdb4),_0x38cd['mlzmOf'][_0x1144cb]=_0x38cdb4):_0x38cdb4=_0x735155,_0x38cdb4;}function _0x4a7428(_0x1adb39,_0x31fee1,_0x10aa54,_0x379632){const _0x4c347b={_0x292c37:0x2fc};return _0x38cd(_0x10aa54- -_0x4c347b._0x292c37,_0x1adb39);}function synthesizeMissingToolResults(_0x33726c){const _0x184c5f={_0x509b74:0x213,_0x5d9741:0x206,_0x9f8065:0x21a,_0x424b44:0xf5,_0x1ade6a:0x115,_0x54095c:0x208,_0xe4043f:0x229,_0x41c68b:0x21e,_0x3f84fa:0x236,_0x1c3dda:0xaf,_0x2ac448:0xb9,_0x1cbb6e:0x22d,_0x29c385:0xc3,_0x443972:0xd9},_0x585551={_0x30c1eb:0x29},_0xf3ac35=new Set();function _0xdb10fb(_0x2a1645,_0xdb4a66,_0x5f4afd,_0x300da0){return _0x4a7428(_0x2a1645,_0xdb4a66-0x1d0,_0xdb4a66-0x70,_0x300da0-0x1b7);}function _0x29b402(_0x27183f,_0x46a011,_0x5615b2,_0x4d6a9){return _0x4a7428(_0x27183f,_0x46a011-0xa7,_0x4d6a9- -0xc3,_0x4d6a9-_0x585551._0x30c1eb);}for(const _0xede7b of _0x33726c){for(const _0xe7e88e of getToolResultBlocks(_0xede7b)){_0xf3ac35[_0x29b402(-0x1fc,-0x1f9,-_0x184c5f._0x509b74,-_0x184c5f._0x5d9741)](_0xe7e88e[_0x29b402(-0x1fa,-0x1fa,-_0x184c5f._0x9f8065,-0x1fe)]);}}const _0x3b2e2e=[];for(const _0xd21c55 of _0x33726c){_0x3b2e2e[_0xdb10fb(-0xd9,-_0x184c5f._0x424b44,-_0x184c5f._0x1ade6a,-0xeb)](_0xd21c55);const _0x1ea49d=getToolUseBlocks(_0xd21c55)['filter'](_0x3bdd26=>!_0xf3ac35[_0x29b402(-0x247,-0x20d,-0x215,-0x227)](_0x3bdd26['id']));if(_0x1ea49d[_0x29b402(-_0x184c5f._0x54095c,-_0x184c5f._0xe4043f,-0x22e,-_0x184c5f._0x41c68b)]===0x0)continue;_0x3b2e2e[_0x29b402(-0x249,-0x224,-_0x184c5f._0x3f84fa,-0x228)]({'role':_0xdb10fb(-_0x184c5f._0x1c3dda,-_0x184c5f._0x2ac448,-0xd3,-0x9c),'content':_0x1ea49d[_0x29b402(-_0x184c5f._0x1cbb6e,-0x218,-0x22d,-0x20f)](_0x48c843=>({'type':'tool_result','tool_use_id':_0x48c843['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x39dd99 of _0x1ea49d){_0xf3ac35[_0xdb10fb(-_0x184c5f._0x29c385,-0xd3,-_0x184c5f._0x443972,-0xf0)](_0x39dd99['id']);}}return _0x3b2e2e;}export{createTextBlock,normalizeTextBlock,normalizeContent,normalizeSystem,isProviderStateCompatible,normalizeMessage,compileRequest,toChatRequest,toModelRequest,toProviderModelRequest,toChatResponse,toModelResponse,responseToAssistantMessage,createReasoningMessage,createAssistantTextMessage,createToolUseMessage,getTextFromMessage,getReasoningTextFromMessage,getToolUseBlocks,getToolResultBlocks,createToolResultUserMessage,INTERRUPTED_TOOL_RESULT_TEXT,synthesizeMissingToolResults};
|
|
1
|
+
(function(_0x26d9c7,_0x44ed6e){const _0x2d2769={_0x4b9cd1:0x2ab,_0x519f4b:0x295,_0x1f2230:0x2b2,_0x4b56ab:0x2c8,_0x579eed:0x2c0,_0x3c3398:0x2ab,_0x555eae:0x2e7,_0x275da8:0x2f6,_0x1c9ef6:0x182,_0x4bd1d7:0x18a,_0x24854e:0x189,_0x2fc64e:0x17d,_0x4cd226:0x1ac,_0x5a36a2:0x2cc,_0x3ba81a:0x2bb,_0x282f25:0x29e,_0x5f0330:0x2bd,_0x363bac:0x2b7,_0x5eefc5:0x2bd,_0x57ea21:0x1b7,_0x46a37b:0x1b5,_0x1de9d5:0x2e3,_0x3bf77f:0x2d0,_0x36c83d:0x16d,_0x43d7fa:0x18d,_0x56a1bc:0x175},_0x1e3792={_0x4e4af8:0x79};function _0x1d683b(_0x4b9733,_0x4ef75c,_0x2aec44,_0x41342e){return _0x1b30(_0x2aec44- -_0x1e3792._0x4e4af8,_0x41342e);}const _0x2ba158=_0x26d9c7();function _0x313ea3(_0x4ee64c,_0x2f4a7c,_0x2d81c2,_0x1e1dee){return _0x1b30(_0x1e1dee-0xbb,_0x2f4a7c);}while(!![]){try{const _0x28ad4c=parseInt(_0x313ea3(_0x2d2769._0x4b9cd1,0x2ce,_0x2d2769._0x519f4b,_0x2d2769._0x1f2230))/0x1*(parseInt(_0x313ea3(_0x2d2769._0x4b56ab,_0x2d2769._0x579eed,_0x2d2769._0x3c3398,0x2c6))/0x2)+parseInt(_0x313ea3(_0x2d2769._0x555eae,0x2d4,_0x2d2769._0x275da8,0x2d7))/0x3+-parseInt(_0x1d683b(0x168,0x190,_0x2d2769._0x1c9ef6,_0x2d2769._0x4bd1d7))/0x4+parseInt(_0x1d683b(_0x2d2769._0x24854e,_0x2d2769._0x2fc64e,0x193,_0x2d2769._0x4cd226))/0x5*(parseInt(_0x313ea3(_0x2d2769._0x5a36a2,0x2ca,0x2c0,0x2c5))/0x6)+-parseInt(_0x313ea3(0x2a2,_0x2d2769._0x3ba81a,_0x2d2769._0x282f25,0x2ae))/0x7*(-parseInt(_0x313ea3(_0x2d2769._0x5f0330,_0x2d2769._0x363bac,0x2cc,_0x2d2769._0x5eefc5))/0x8)+-parseInt(_0x1d683b(0x193,_0x2d2769._0x57ea21,0x19f,_0x2d2769._0x46a37b))/0x9*(-parseInt(_0x313ea3(_0x2d2769._0x1de9d5,_0x2d2769._0x3bf77f,0x2a9,0x2c3))/0xa)+-parseInt(_0x1d683b(0x171,_0x2d2769._0x36c83d,_0x2d2769._0x43d7fa,_0x2d2769._0x56a1bc))/0xb;if(_0x28ad4c===_0x44ed6e)break;else _0x2ba158['push'](_0x2ba158['shift']());}catch(_0x383605){_0x2ba158['push'](_0x2ba158['shift']());}}}(_0x3096,0x18f63));function createTextBlock(_0x419590){return{'type':'text','text':_0x419590};}function _0x3096(){const _0x61512a=['mZuZmJK1yvjeyNHS','DhjPBq','DxnHz2u','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','Dg9VBhm','AgfZ','C2vZC2LVBL9Pza','DhvYBKLK','Bwv0ywrHDge','C3rVCfjLyxnVBG','CMvHC29UAw5Nx3rVA2vUCW','DhvYBL9Pza','B3v0Chv0vg9Rzw5Z','DgHPBMTPBMC','Bw9KzwW','CMvHC29UAw5N','ChjPy2LUz19WCM92AwrLCL9Pza','Bw9KzwXFAwrLBNrPDhK','Aw5WDxruB2TLBNm','Bw9KzwXjzgvUDgL0Eq','C3rYAw5N','Dg9VBf91C2vFAwq','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','ChjVDMLKzxjtDgf0zq','mtrzqxbmCva','y2fSBeLK','DhLWzq','BwvZC2fNzxm','ntGZnJD2s1HMquW','ywrK','B3jPz2LUtw9KzwXjzgvUDgL0Eq','yw50AhjVCgLJx3rOAw5RAw5N','nZKZodm2tuPus2rZ','zMLSDgvY','BgvUz3rO','Dg9VBf91C2u','CMvHC29UAw5Nvg9Rzw5Z','ChvZAa','Bwf4vg9Rzw5Z','otq1mdrYwwXKyMm','yxnZAxn0yw50','B3v0Chv0','BwfW','mJC4nZK1zKvQuu9w','C3rVCf9YzwfZB24','mZGZmhzoANDQua','C3rHDhvZ','nJq1mtmYy0rZrM1g','mKnoqMfmBq','nvbIDe14sW','CM9Szq','C2vZC2LVBKLK','y29UDgvUDa','B3v0Chv0rM9YBwf0','ChjPy2LUz1bYB3zPzgvYswq','C3LZDgvT','AM9PBG','B3v0Chv0x3rVA2vUCW','Aw5WDxrFDg9Rzw5Z','Dg9VBf9Yzxn1Bhq','C3vTBwfYEq','ndqXuKPoC2Df','B3bLBMfPx3jLyxnVBMLUzW','Bwf4x3rVA2vUCW','Dgv4Da'];_0x3096=function(){return _0x61512a;};return _0x3096();}function normalizeTextBlock(_0x2f52b5){const _0x129926={_0x123550:0x250,_0x8a3ac9:0x25a,_0x11e542:0x25a},_0xdd6ef7={_0x898225:0x3f};function _0x48f8d1(_0x86bad6,_0x2d3094,_0x4aeefa,_0x311a16){return _0x1b30(_0x2d3094-_0xdd6ef7._0x898225,_0x4aeefa);}return createTextBlock(_0x2f52b5[_0x48f8d1(_0x129926._0x123550,_0x129926._0x8a3ac9,0x258,_0x129926._0x11e542)]??'');}function normalizeContent(_0x57c796){const _0x1952cc={_0x563825:0x161,_0x6707d0:0xf9,_0x39f185:0xe8},_0x312678={_0x5a68a0:0x79,_0x526324:0x71,_0x90ca5b:0x53,_0x12c40e:0x61,_0x41b352:0x64},_0x398752={_0x525f54:0x332};function _0x3a7d50(_0x539967,_0x11b218,_0x3efd53,_0x7e7bcc){return _0x1b30(_0x7e7bcc- -0x2ed,_0x11b218);}if(typeof _0x57c796===_0x56dc72(-0x13f,-0x123,-_0x1952cc._0x563825,-0x143))return[createTextBlock(_0x57c796)];if(!Array['isArray'](_0x57c796))return[];function _0x56dc72(_0x19c61b,_0x5221de,_0x1a59b7,_0x3e1539){return _0x1b30(_0x3e1539- -_0x398752._0x525f54,_0x5221de);}return _0x57c796[_0x3a7d50(-_0x1952cc._0x6707d0,-0x108,-0xe2,-_0x1952cc._0x39f185)](_0x41365f=>{const _0x464e9d={_0x481f98:0xf3},_0x6b8bbc={_0x1b3392:0x8f};if(_0x41365f[_0x1694b0(-_0x312678._0x5a68a0,-0x5b,-_0x312678._0x526324,-0x90)]===_0x1694b0(-_0x312678._0x90ca5b,-_0x312678._0x12c40e,-0x4d,-_0x312678._0x41b352))return normalizeTextBlock(_0x41365f);function _0x3f3c58(_0xf9db0e,_0x32d87c,_0x32c856,_0x35fec5){return _0x56dc72(_0xf9db0e-0x2e,_0x35fec5,_0x32c856-_0x6b8bbc._0x1b3392,_0xf9db0e-0x362);}function _0x1694b0(_0x5f11b8,_0x2a4812,_0x5c2c12,_0x41b355){return _0x56dc72(_0x5f11b8-0xf7,_0x2a4812,_0x5c2c12-_0x464e9d._0x481f98,_0x5f11b8-0xc4);}return structuredClone(_0x41365f);});}function normalizeSystem(_0x545bec=[]){const _0x2bc039={_0x5f2244:0x411,_0x201599:0x3f3},_0x19f4c6={_0x49fcc2:0x215},_0x1d4d1f={_0x378ef9:0x232};function _0x42fd21(_0x5f4f00,_0x581783,_0x5b6642,_0x1b61ab){return _0x1b30(_0x5f4f00- -_0x1d4d1f._0x378ef9,_0x5b6642);}function _0x1e99b5(_0x18ec8a,_0x4432c7,_0x2e6083,_0x575d03){return _0x1b30(_0x18ec8a-_0x19f4c6._0x49fcc2,_0x575d03);}return normalizeContent(_0x545bec)[_0x1e99b5(_0x2bc039._0x5f2244,0x42b,_0x2bc039._0x201599,0x3f2)](_0x13332b=>_0x13332b[_0x42fd21(-0x3d,-0x3f,-0x39,-0x2b)]===_0x42fd21(-0x17,-0x2d,-0x24,-0x36));}function isProviderStateCompatible(_0x758536,_0x4ac123){const _0x7c7ccd={_0x3a6b8f:0x31,_0x331ce0:0x2e,_0x4ae2da:0x102,_0x3b55a4:0xf9,_0x4934ff:0x102,_0xeeadb1:0x125,_0x545fc1:0xfa},_0x25691f={_0x295065:0xe3};function _0x58ad2d(_0x55716a,_0x1a38b6,_0x27e8fb,_0x359121){return _0x1b30(_0x55716a- -0x223,_0x27e8fb);}function _0x5023de(_0x4e7c75,_0x1e3ee5,_0x209f19,_0x452ff1){return _0x1b30(_0x4e7c75- -_0x25691f._0x295065,_0x209f19);}const _0x2c23c8=_0x758536[_0x58ad2d(-_0x7c7ccd._0x3a6b8f,-0x18,-_0x7c7ccd._0x331ce0,-0x42)]?.[_0x5023de(0x116,0x123,_0x7c7ccd._0x4ae2da,0x105)];return _0x2c23c8===void 0x0||_0x2c23c8===_0x4ac123['metadata'][_0x5023de(0x10b,_0x7c7ccd._0x3b55a4,_0x7c7ccd._0x4934ff,0x126)]||_0x2c23c8===_0x4ac123[_0x5023de(0x106,0x10d,_0x7c7ccd._0xeeadb1,_0x7c7ccd._0x545fc1)];}function normalizeMessage(_0x405b3c){const _0x828c30={_0x6bad67:0xad,_0x167976:0x562,_0x5ef476:0x54c,_0x3a8081:0x564,_0x3f3a11:0x557},_0x269f95={_0x26ca99:0x121},_0x47e051={_0x371f4a:0x35a};function _0x56b46b(_0x3e394f,_0x3f56d0,_0x5a47dd,_0x207871){return _0x1b30(_0x3f56d0-_0x47e051._0x371f4a,_0x207871);}function _0x2ecc9b(_0x36e4ab,_0x4509d3,_0x143dd8,_0x4ec616){return _0x1b30(_0x4ec616- -_0x269f95._0x26ca99,_0x143dd8);}return{...typeof _0x405b3c['id']===_0x2ecc9b(0xec,0xd7,_0x828c30._0x6bad67,0xce)?{'id':_0x405b3c['id']}:{},'role':_0x405b3c[_0x2ecc9b(0xe2,0xeb,0xdd,0xec)],'content':normalizeContent(_0x405b3c['content']),..._0x405b3c[_0x56b46b(0x562,0x54c,0x563,0x541)]?{'providerState':structuredClone(_0x405b3c[_0x56b46b(_0x828c30._0x167976,_0x828c30._0x5ef476,_0x828c30._0x3a8081,_0x828c30._0x3f3a11)])}:{}};}function compileRequest(_0x488b5e){const _0x36dc56={_0x20f2c3:0x118,_0x2b615c:0x147,_0xba9e1c:0x87,_0x4aa196:0x169,_0x22ceef:0x155,_0x1d6851:0x155,_0x155d98:0x124,_0x4a7dc3:0x8f,_0x2ef3a7:0x68,_0x3ae647:0x8b,_0x56b8d2:0x8a,_0x1c1d61:0x91,_0x1c1c6c:0x5c,_0x190e63:0x74,_0x1a64e8:0x73,_0x1b55b7:0x5e},_0x31b27b={_0x2e4fc2:0xb1},_0x331046={_0x3d869e:0x281};function _0x3e6b39(_0x5373ca,_0x440528,_0x2ed482,_0x2c290c){return _0x1b30(_0x5373ca- -_0x331046._0x3d869e,_0x440528);}function _0x7eb1d9(_0x2b2299,_0x1670f4,_0x29ed73,_0x39a2ba){return _0x1b30(_0x29ed73- -_0x31b27b._0x2e4fc2,_0x2b2299);}return{'model':_0x488b5e[_0x7eb1d9(_0x36dc56._0x20f2c3,0x148,0x138,_0x36dc56._0x2b615c)]??_0x3e6b39(-0x90,-0x9a,-0x9a,-_0x36dc56._0xba9e1c),..._0x488b5e[_0x7eb1d9(0x185,0x180,_0x36dc56._0x4aa196,0x185)]!==void 0x0?{'max_tokens':_0x488b5e['max_tokens']}:{},..._0x488b5e['reasoning']?{'reasoning':structuredClone(_0x488b5e[_0x7eb1d9(_0x36dc56._0x22ceef,_0x36dc56._0x1d6851,0x139,_0x36dc56._0x155d98)])}:{},'system':normalizeSystem(_0x488b5e[_0x3e6b39(-0x6f,-_0x36dc56._0x4a7dc3,-_0x36dc56._0x2ef3a7,-0x8b)]),'messages':_0x488b5e[_0x3e6b39(-_0x36dc56._0x3ae647,-_0x36dc56._0x56b8d2,-0xa1,-0x87)][_0x3e6b39(-0x7c,-_0x36dc56._0x1c1d61,-_0x36dc56._0x1c1c6c,-_0x36dc56._0x190e63)](normalizeMessage),'tools':structuredClone(_0x488b5e['tools']??[]),'metadata':{'session_id':_0x488b5e[_0x3e6b39(-_0x36dc56._0x1a64e8,-0x87,-_0x36dc56._0x2ef3a7,-_0x36dc56._0x1b55b7)],'turn_id':_0x488b5e[_0x3e6b39(-0x9f,-0x9b,-0xbc,-0x93)]}};}function toChatRequest(_0x19b317){const _0x4c2212={_0x1fbab4:0x36e,_0x3b52c7:0x351,_0x2c2beb:0x1ab,_0x5b3120:0x1a1,_0x185386:0x1db,_0x5d73d5:0x1f5,_0x3b8e60:0x1db,_0x221b1a:0x1d7,_0x5ebf9a:0x1ee,_0x2784fe:0x1f8,_0x5aea38:0x1b3,_0x4412f1:0x1a0,_0x2a8c9f:0x1c5,_0x31288c:0x334,_0x11738a:0x32d,_0x263680:0x33a,_0x51e5fa:0x35e,_0x2cc96e:0x363,_0x472487:0x1e4,_0x5b61ff:0x1c8,_0x57b3d9:0x201,_0x392637:0x1de,_0x5ce736:0x1c3,_0x3569bd:0x200,_0x4f9368:0x203,_0x4e58e5:0x1dc,_0x46ca89:0x31a,_0x51060c:0x1d1,_0x35f3a5:0x1d4,_0x5c35a6:0x1d3,_0x50b7fe:0x1da,_0x265772:0x303,_0x468f79:0x30c,_0x2e1e16:0x35c,_0x574979:0x347},_0x1cf017={_0x2ff07e:0x3c5};function _0x5ce38f(_0x58f641,_0x5a7ac4,_0x22e9da,_0x5ddae4){return _0x1b30(_0x5ddae4-0x137,_0x5a7ac4);}function _0x525dfa(_0x36cddb,_0x1d3100,_0x86f10e,_0x508a57){return _0x1b30(_0x36cddb- -_0x1cf017._0x2ff07e,_0x86f10e);}return{'model':_0x19b317['model'],..._0x19b317[_0x5ce38f(_0x4c2212._0x1fbab4,0x341,0x36e,_0x4c2212._0x3b52c7)]!==void 0x0?{'maxTokens':_0x19b317[_0x525dfa(-_0x4c2212._0x2c2beb,-_0x4c2212._0x5b3120,-0x1c3,-0x19f)]}:{},..._0x19b317[_0x525dfa(-_0x4c2212._0x185386,-0x1d5,-_0x4c2212._0x5d73d5,-0x1ee)]?{'reasoning':structuredClone(_0x19b317[_0x525dfa(-_0x4c2212._0x3b8e60,-_0x4c2212._0x221b1a,-_0x4c2212._0x5ebf9a,-_0x4c2212._0x2784fe)])}:{},'system':structuredClone(_0x19b317[_0x525dfa(-_0x4c2212._0x5aea38,-0x1a7,-_0x4c2212._0x4412f1,-_0x4c2212._0x2a8c9f)]),'messages':structuredClone(_0x19b317[_0x5ce38f(_0x4c2212._0x31288c,0x321,0x32f,_0x4c2212._0x11738a)]),'tools':structuredClone(_0x19b317[_0x5ce38f(_0x4c2212._0x263680,_0x4c2212._0x51e5fa,_0x4c2212._0x2cc96e,0x357)]),'metadata':{'sessionId':_0x19b317[_0x525dfa(-0x1e2,-0x1f5,-0x1d3,-0x1e6)][_0x525dfa(-_0x4c2212._0x472487,-_0x4c2212._0x5b61ff,-_0x4c2212._0x57b3d9,-_0x4c2212._0x392637)],'turnId':_0x19b317[_0x525dfa(-0x1e2,-_0x4c2212._0x5ce736,-_0x4c2212._0x3569bd,-_0x4c2212._0x4f9368)][_0x525dfa(-0x1df,-0x1e8,-0x1d4,-_0x4c2212._0x4e58e5)],..._0x19b317[_0x5ce38f(0x320,0x314,0x314,_0x4c2212._0x46ca89)][_0x525dfa(-0x1d9,-0x1ca,-_0x4c2212._0x51060c,-_0x4c2212._0x35f3a5)]!==void 0x0?{'modelIdentity':_0x19b317[_0x525dfa(-0x1e2,-_0x4c2212._0x5c35a6,-_0x4c2212._0x50b7fe,-0x1c4)][_0x525dfa(-0x1d9,-_0x4c2212._0x5b61ff,-0x1dc,-0x1cd)]}:{},..._0x19b317['metadata']['pricing_provider_id']!==void 0x0?{'pricingProviderId':_0x19b317[_0x5ce38f(_0x4c2212._0x265772,0x302,_0x4c2212._0x468f79,0x31a)][_0x525dfa(-0x1da,-0x1c0,-0x1df,-_0x4c2212._0x4e58e5)]}:{}},..._0x19b317['outputFormat']?{'outputFormat':structuredClone(_0x19b317[_0x5ce38f(0x342,0x34b,_0x4c2212._0x2e1e16,_0x4c2212._0x574979)])}:{}};}function toModelRequest(_0x202dc2){const _0x51f680={_0x139610:0x47,_0x3985f2:0x3e,_0x2f837f:0x4d,_0x4299b9:0x2e,_0x51d4b9:0x3a,_0x34c874:0x1c,_0x517b99:0x25,_0x131e3c:0x7,_0x59d4cb:0x24,_0x3a31b6:0x1c,_0x196860:0x4,_0x5b39f9:0x1d,_0xb61e1d:0x4a,_0x2b857d:0x34,_0x2db8fd:0x1c,_0x4834e6:0xa,_0x270c04:0x45,_0x48b1df:0x12,_0x36b9d4:0x8,_0x3addf3:0xc,_0x324e6e:0x33,_0x48f15a:0x21,_0x1066ae:0x52,_0x50f6ab:0x17,_0x1b30f9:0x13,_0x14481a:0x28,_0x5e6303:0x37,_0x170cb6:0x2a,_0x38a9b3:0x3,_0x318a9c:0x1e,_0x408059:0x22,_0xc5a7b4:0x2,_0x380c2c:0x26,_0x3ec43f:0x5,_0x5bcab8:0x7,_0x5f1ee2:0x4b,_0x3a2fc2:0x48},_0x430ab7={_0x22ec54:0x1c5};function _0x235e01(_0x5abf66,_0x55d7a8,_0x428155,_0x4aba37){return _0x1b30(_0x55d7a8- -_0x430ab7._0x22ec54,_0x5abf66);}function _0x25c8a4(_0x23e328,_0x81f7b3,_0x102188,_0x4cff82){return _0x1b30(_0x102188- -0x216,_0x4cff82);}return{'model':_0x202dc2[_0x25c8a4(-_0x51f680._0x139610,-_0x51f680._0x3985f2,-0x2d,-_0x51f680._0x2f837f)],..._0x202dc2[_0x235e01(_0x51f680._0x4299b9,0x3c,_0x51f680._0x51d4b9,_0x51f680._0x34c874)]!==void 0x0?{'max_tokens':_0x202dc2[_0x235e01(0x2e,0x3c,_0x51f680._0x4299b9,0x27)]}:{},..._0x202dc2[_0x235e01(0x28,_0x51f680._0x517b99,_0x51f680._0x131e3c,_0x51f680._0x59d4cb)]?{'reasoning':structuredClone(_0x202dc2[_0x235e01(0x2e,0x25,_0x51f680._0x3a31b6,0x26)])}:{},'system':structuredClone(_0x202dc2[_0x25c8a4(-0xe,-_0x51f680._0x131e3c,-_0x51f680._0x196860,-_0x51f680._0x5b39f9)]),'messages':structuredClone(_0x202dc2[_0x235e01(0x35,0x31,_0x51f680._0xb61e1d,_0x51f680._0x2b857d)]),'tools':structuredClone(_0x202dc2[_0x25c8a4(_0x51f680._0x2db8fd,0x27,_0x51f680._0x4834e6,_0x51f680._0x196860)]),'metadata':{'session_id':_0x202dc2[_0x25c8a4(-0x54,-0x1b,-0x33,-_0x51f680._0x270c04)][_0x25c8a4(_0x51f680._0x48b1df,0x4,-_0x51f680._0x36b9d4,-_0x51f680._0x3addf3)],'turn_id':_0x202dc2[_0x25c8a4(-0x28,-0x2b,-_0x51f680._0x324e6e,-0x3e)][_0x25c8a4(-0x2d,-_0x51f680._0x48f15a,-_0x51f680._0x2b857d,-_0x51f680._0x1066ae)],..._0x202dc2['metadata'][_0x25c8a4(-0x1f,-0x2c,-0x28,-_0x51f680._0x50f6ab)]!==void 0x0?{'model_identity':_0x202dc2['metadata'][_0x25c8a4(-_0x51f680._0x1b30f9,-0x7,-_0x51f680._0x14481a,-_0x51f680._0x5e6303)]}:{},..._0x202dc2[_0x25c8a4(-0x15,-_0x51f680._0x170cb6,-0x33,-_0x51f680._0x1066ae)]['pricingProviderId']!==void 0x0?{'pricing_provider_id':_0x202dc2[_0x235e01(_0x51f680._0x38a9b3,_0x51f680._0x318a9c,_0x51f680._0x408059,0x1)][_0x25c8a4(_0x51f680._0xc5a7b4,-_0x51f680._0x380c2c,-_0x51f680._0x3ec43f,-_0x51f680._0x5bcab8)]}:{}},..._0x202dc2[_0x235e01(0x35,_0x51f680._0x5f1ee2,0x3b,0x60)]?{'outputFormat':structuredClone(_0x202dc2[_0x235e01(0x4a,_0x51f680._0x5f1ee2,_0x51f680._0x3a2fc2,0x50)])}:{}};}function _0x1b30(_0x5b3fcd,_0x22d1eb){_0x5b3fcd=_0x5b3fcd-0x1e0;const _0x30968b=_0x3096();let _0x1b30eb=_0x30968b[_0x5b3fcd];if(_0x1b30['qQeOWM']===undefined){var _0x30ca43=function(_0x2ebb21){const _0x3b619d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x419590='',_0x2f52b5='';for(let _0x57c796=0x0,_0x41365f,_0x545bec,_0x13332b=0x0;_0x545bec=_0x2ebb21['charAt'](_0x13332b++);~_0x545bec&&(_0x41365f=_0x57c796%0x4?_0x41365f*0x40+_0x545bec:_0x545bec,_0x57c796++%0x4)?_0x419590+=String['fromCharCode'](0xff&_0x41365f>>(-0x2*_0x57c796&0x6)):0x0){_0x545bec=_0x3b619d['indexOf'](_0x545bec);}for(let _0x758536=0x0,_0x4ac123=_0x419590['length'];_0x758536<_0x4ac123;_0x758536++){_0x2f52b5+='%'+('00'+_0x419590['charCodeAt'](_0x758536)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f52b5);};_0x1b30['ZcwQFv']=_0x30ca43,_0x1b30['yaWnBc']={},_0x1b30['qQeOWM']=!![];}const _0x104b6d=_0x30968b[0x0],_0x11b988=_0x5b3fcd+_0x104b6d,_0x448d8f=_0x1b30['yaWnBc'][_0x11b988];return!_0x448d8f?(_0x1b30eb=_0x1b30['ZcwQFv'](_0x1b30eb),_0x1b30['yaWnBc'][_0x11b988]=_0x1b30eb):_0x1b30eb=_0x448d8f,_0x1b30eb;}function toProviderModelRequest(_0x475271){const _0x1815d4={_0x237df7:0x291,_0x3b6de3:0x294,_0x167f12:0x2a7,_0x2c2340:0x2c5,_0x690633:0x2b5,_0x1f7844:0x2ac,_0x1da782:0x1da,_0x45c765:0x1e6,_0x37c4b3:0x1e9,_0x425fe0:0x2bd,_0x58b9ff:0x1fa,_0x146454:0x1ce,_0x498f29:0x1de},_0x294715={_0xee550e:0xab};function _0x44be5e(_0x2367e6,_0x1daca8,_0xcab284,_0x20f568){return _0x1b30(_0x20f568-_0x294715._0xee550e,_0xcab284);}function _0x5670c0(_0x180f5e,_0x51febf,_0x1e68af,_0x2fbb73){return _0x1b30(_0x2fbb73- -0x18,_0x51febf);}return{'model':_0x475271[_0x44be5e(_0x1815d4._0x237df7,0x2b2,0x29b,_0x1815d4._0x3b6de3)],..._0x475271[_0x44be5e(_0x1815d4._0x167f12,_0x1815d4._0x2c2340,_0x1815d4._0x690633,_0x1815d4._0x1f7844)]!==void 0x0?{'max_tokens':_0x475271[_0x5670c0(_0x1815d4._0x1da782,_0x1815d4._0x45c765,0x1f6,_0x1815d4._0x37c4b3)]}:{},'system':structuredClone(_0x475271[_0x44be5e(0x2aa,0x2a0,0x2d6,_0x1815d4._0x425fe0)]),'messages':structuredClone(_0x475271[_0x5670c0(_0x1815d4._0x58b9ff,0x1fd,_0x1815d4._0x146454,_0x1815d4._0x498f29)]),'tools':structuredClone(_0x475271['tools'])};}function toChatResponse(_0x4715c9){const _0x27e4ff={_0xf35c08:0x328,_0x4fcecf:0x332,_0x3aefd6:0x327,_0x3a02f2:0x323,_0x32beca:0x318,_0x202c64:0x322,_0xd83756:0x336,_0x4d9856:0x303,_0x27c519:0x312,_0x131323:0x1d9,_0x1b3f57:0x1d9,_0x1ec731:0x1ca,_0x42ec0e:0x1cb,_0x44f23c:0x1fb,_0x41dd61:0x1e3,_0x375c8a:0x200,_0x16511b:0x1c4,_0x22ddee:0x1aa,_0x2a1d18:0x1b7,_0x4732a8:0x33d,_0x4edeb7:0x324,_0x5ec3e0:0x2ee,_0xeac840:0x2f4,_0x53d137:0x1cc,_0x16cecc:0x1a3},_0x52d787={_0x29a79d:0x109};function _0x69bf82(_0x29e4b1,_0x2cad1d,_0xe131c2,_0x34dc0c){return _0x1b30(_0x2cad1d- -0x3b,_0x29e4b1);}function _0x1cc175(_0x4c30f6,_0x1c1fe5,_0x365a80,_0x167391){return _0x1b30(_0x1c1fe5-_0x52d787._0x29a79d,_0x4c30f6);}return{'id':_0x4715c9['id'],'content':structuredClone(_0x4715c9[_0x1cc175(_0x27e4ff._0xf35c08,0x318,_0x27e4ff._0x4fcecf,_0x27e4ff._0x3aefd6)]),'stopReason':_0x4715c9[_0x1cc175(_0x27e4ff._0x3a02f2,0x310,0x307,_0x27e4ff._0x32beca)],'usage':{'inputTokens':_0x4715c9[_0x1cc175(_0x27e4ff._0x202c64,_0x27e4ff._0x3aefd6,_0x27e4ff._0xd83756,0x338)][_0x1cc175(0x318,0x31e,_0x27e4ff._0x4d9856,_0x27e4ff._0x27c519)],'outputTokens':_0x4715c9[_0x69bf82(_0x27e4ff._0x131323,0x1e3,0x1f7,0x1fe)][_0x69bf82(0x1bc,_0x27e4ff._0x1b3f57,_0x27e4ff._0x1ec731,_0x27e4ff._0x42ec0e)],..._0x4715c9[_0x69bf82(_0x27e4ff._0x44f23c,_0x27e4ff._0x41dd61,0x1dc,_0x27e4ff._0x375c8a)][_0x69bf82(_0x27e4ff._0x16511b,_0x27e4ff._0x22ddee,_0x27e4ff._0x2a1d18,0x1a3)]!==void 0x0?{'reasoningTokens':_0x4715c9[_0x1cc175(0x33e,0x327,_0x27e4ff._0x4732a8,_0x27e4ff._0x4edeb7)][_0x1cc175(0x30a,_0x27e4ff._0x5ec3e0,0x2d0,_0x27e4ff._0xeac840)]}:{}},..._0x4715c9[_0x69bf82(_0x27e4ff._0x53d137,0x1b7,0x1b1,_0x27e4ff._0x16cecc)]?{'providerState':structuredClone(_0x4715c9['providerState'])}:{}};}function toModelResponse(_0x338963){const _0x127302={_0x5487de:0x45d,_0x3f1df9:0x457,_0x13dc13:0x473,_0x3a00f7:0x472,_0xff3e2f:0x176,_0x4acbee:0x170,_0xce2a22:0x43e,_0x1c7980:0x45c,_0xf0b687:0x478,_0x28600f:0x46c,_0x531c02:0x489,_0x39aa05:0x188,_0x4d0b8e:0x1a6,_0x5a5403:0x1a5,_0x50d525:0x161,_0x4180e3:0x185,_0x14d890:0x443,_0x53b550:0x44d,_0xf02441:0x441,_0x4b1bc8:0x497,_0x40582e:0x178,_0x131f8a:0x194,_0x259f45:0x17b,_0x59cbff:0x471,_0x2670fb:0x479,_0x387826:0x43b,_0x490387:0x437},_0xe34d7e={_0x54d4ce:0x25a};function _0x34beed(_0xceed9,_0x2cba59,_0x4a61f5,_0xef75ca){return _0x1b30(_0xceed9-_0xe34d7e._0x54d4ce,_0x4a61f5);}function _0x27a1e4(_0x3cac1e,_0x1d72f8,_0x40f3fa,_0xffcb0){return _0x1b30(_0x1d72f8- -0x393,_0x3cac1e);}return{'id':_0x338963['id'],'type':'message','role':_0x34beed(_0x127302._0x5487de,_0x127302._0x3f1df9,_0x127302._0x13dc13,_0x127302._0x3a00f7),'content':structuredClone(_0x338963[_0x27a1e4(-0x17c,-0x184,-_0x127302._0xff3e2f,-_0x127302._0x4acbee)]),'stop_reason':_0x338963[_0x34beed(_0x127302._0xce2a22,0x457,_0x127302._0x1c7980,0x45d)],'stop_sequence':null,'usage':{'input_tokens':_0x338963[_0x34beed(_0x127302._0xf0b687,_0x127302._0x28600f,_0x127302._0x531c02,0x487)][_0x27a1e4(-_0x127302._0x39aa05,-_0x127302._0x4d0b8e,-_0x127302._0x5a5403,-0x196)],'output_tokens':_0x338963[_0x27a1e4(-_0x127302._0x50d525,-0x175,-_0x127302._0x4180e3,-0x168)][_0x34beed(0x441,_0x127302._0x14d890,_0x127302._0x53b550,_0x127302._0xf02441)],..._0x338963[_0x34beed(_0x127302._0xf0b687,0x480,_0x127302._0x4b1bc8,0x45b)][_0x27a1e4(-_0x127302._0x40582e,-_0x127302._0x131f8a,-_0x127302._0x259f45,-0x18a)]!==void 0x0?{'reasoning_tokens':_0x338963['usage'][_0x34beed(0x459,_0x127302._0x59cbff,_0x127302._0x2670fb,_0x127302._0x387826)]}:{}},..._0x338963[_0x34beed(0x44c,0x453,0x43d,_0x127302._0x490387)]?{'providerState':structuredClone(_0x338963['providerState'])}:{}};}function responseToAssistantMessage(_0x2f7c7a){const _0x4674f7={_0x32a98a:0x1ee,_0x463d60:0x1dc,_0x16c8b2:0x1ca};function _0xa71155(_0x1fb5a6,_0x4f3789,_0x1c3a43,_0x18df23){return _0x1b30(_0x1fb5a6- -0x21,_0x4f3789);}function _0x22e94b(_0x377499,_0x557368,_0x17118d,_0x17e504){return _0x1b30(_0x377499-0x3de,_0x17e504);}return{'role':'assistant','content':normalizeContent(_0x2f7c7a[_0xa71155(_0x4674f7._0x32a98a,0x1ff,0x1d7,_0x4674f7._0x463d60)]),..._0x2f7c7a['providerState']?{'providerState':structuredClone(_0x2f7c7a[_0xa71155(0x1d1,_0x4674f7._0x16c8b2,0x1f1,0x1c7)])}:{}};}function createReasoningMessage(_0xd7a135){const _0x2ed9c4={_0x2f6e7b:0x114,_0x305b6b:0x11e,_0x1df13c:0x124,_0x491c5f:0x10b,_0x4c3169:0x3a2},_0x170a09={_0x411af5:0x1b0},_0x49aae3={_0x4b1b33:0x262,_0xf5f5cd:0x25e,_0x4086d6:0x42,_0x9d66c:0x26,_0x4ba117:0x60,_0x1ea27f:0x6c,_0x5ab543:0x74,_0x1a5994:0x7c},_0x7e57ee={_0x52a740:0x3f},_0x2779c8=normalizeContent(_0xd7a135?.[_0x5f27b3(_0x2ed9c4._0x2f6e7b,0xff,_0x2ed9c4._0x305b6b,0x102)])[_0x5f27b3(0x113,_0x2ed9c4._0x1df13c,_0x2ed9c4._0x491c5f,0x128)](_0x4caa17=>{const _0x4283e7={_0x3c1e61:0x170};function _0x2e03d7(_0x43fc41,_0x560986,_0x1cefe5,_0x4a23b1){return _0x5f27b3(_0x4a23b1,_0x560986-0x18a,_0x43fc41- -_0x4283e7._0x3c1e61,_0x4a23b1-0x19b);}function _0x3efac0(_0x451b20,_0x318667,_0x4d513b,_0x6eef30){return _0x274aad(_0x318667,_0x318667-_0x7e57ee._0x52a740,_0x4d513b-0x71,_0x6eef30- -0x140);}return _0x4caa17[_0x3efac0(_0x49aae3._0x4b1b33,_0x49aae3._0xf5f5cd,0x24a,0x265)]===_0x2e03d7(-_0x49aae3._0x4086d6,-_0x49aae3._0x9d66c,-0x3c,-_0x49aae3._0x4ba117)||_0x4caa17[_0x2e03d7(-_0x49aae3._0x1ea27f,-_0x49aae3._0x5ab543,-_0x49aae3._0x1a5994,-0x85)]==='anthropic_thinking'||_0x4caa17['type']==='openai_reasoning';});function _0x5f27b3(_0x3c14ea,_0x57cb0b,_0x439776,_0x41ad6a){return _0x1b30(_0x439776- -0xf1,_0x3c14ea);}if(_0x2779c8['length']===0x0)return void 0x0;function _0x274aad(_0x17fa48,_0x4438ac,_0x16db4d,_0x5e9d94){return _0x1b30(_0x5e9d94-_0x170a09._0x411af5,_0x17fa48);}return{'role':_0x274aad(_0x2ed9c4._0x4c3169,0x3c0,0x39c,0x3b3),'content':_0x2779c8};}function createAssistantTextMessage(_0xebff){const _0x5dc14f={_0x313918:0x281,_0xf8e4f4:0x279,_0x58c1e6:0x26d,_0x39a7f7:0x257,_0x19db4d:0x29e,_0x7e19b2:0x295},_0x4bf2c9={_0x1737ad:0x2ed,_0x4d3cc4:0x2f6},_0x5b8b11={_0x541ef8:0x71};function _0x2ee026(_0x48f030,_0x104aa5,_0x101a10,_0x5bb410){return _0x1b30(_0x101a10-_0x5b8b11._0x541ef8,_0x5bb410);}const _0x587596=normalizeContent(_0xebff?.[_0x2603e5(_0x5dc14f._0x313918,0x29d,0x2c0,0x2a1)])[_0x2ee026(0x255,_0x5dc14f._0xf8e4f4,_0x5dc14f._0x58c1e6,_0x5dc14f._0x39a7f7)](_0x2b2835=>{const _0x5d6b07={_0xb51912:0x14c,_0x3efdb8:0x34};function _0x376e86(_0x5d2faf,_0x38fb26,_0x1b4f31,_0x408254){return _0x2603e5(_0x5d2faf-_0x5d6b07._0xb51912,_0x38fb26-0x29,_0x38fb26,_0x1b4f31-_0x5d6b07._0x3efdb8);}return _0x2b2835['type']===_0x376e86(0x2ec,_0x4bf2c9._0x1737ad,0x2e1,_0x4bf2c9._0x4d3cc4);});function _0x2603e5(_0x1a9229,_0x538ebc,_0x2abc19,_0x33eceb){return _0x1b30(_0x33eceb-0x92,_0x2abc19);}if(_0x587596['length']===0x0)return void 0x0;return{'role':_0x2603e5(_0x5dc14f._0x19db4d,0x29c,0x2a0,_0x5dc14f._0x7e19b2),'content':_0x587596};}function createToolUseMessage(_0x5f5a45){const _0x5a2a36={_0x3fbdc4:0x1b2,_0x429af4:0x19e,_0x16de86:0x18f,_0x4e5af5:0x18d,_0xc09032:0x19f,_0x52f8bb:0x4dd,_0x2edf9e:0x50e,_0x44bd9a:0x4fb},_0xe5792f={_0x49bea6:0x128},_0x4a4a1d={_0x4cd318:0x71};function _0x58f89d(_0x791c87,_0x5ec6e2,_0x33f6b5,_0x7b6928){return _0x1b30(_0x33f6b5-0x2f8,_0x5ec6e2);}function _0x451794(_0x1b86e6,_0x5417c4,_0x479da3,_0x230fae){return _0x1b30(_0x230fae- -_0x4a4a1d._0x4cd318,_0x5417c4);}const _0x59165f=normalizeContent(_0x5f5a45?.[_0x451794(0x190,0x191,_0x5a2a36._0x3fbdc4,_0x5a2a36._0x429af4)])[_0x451794(_0x5a2a36._0x16de86,_0x5a2a36._0x4e5af5,_0x5a2a36._0xc09032,0x18b)](_0x2ac647=>{const _0xa020b9={_0x1af551:0x176};function _0x466525(_0x3fd55f,_0x2dd19f,_0x37c7e9,_0x49d242){return _0x58f89d(_0x3fd55f-0x9c,_0x3fd55f,_0x37c7e9- -0x61f,_0x49d242-0x12);}function _0x5396ef(_0x596406,_0x45f958,_0x28030b,_0x212f9b){return _0x451794(_0x596406-0xd2,_0x212f9b,_0x28030b-0x137,_0x28030b- -_0xa020b9._0x1af551);}return _0x2ac647[_0x466525(-_0xe5792f._0x49bea6,-0x146,-0x132,-0x122)]===_0x466525(-0x119,-0x125,-0x129,-0x132);});if(_0x59165f['length']===0x0)return void 0x0;return{'role':_0x58f89d(_0x5a2a36._0x52f8bb,_0x5a2a36._0x2edf9e,_0x5a2a36._0x44bd9a,0x4f2),'content':_0x59165f};}function getTextFromMessage(_0x4e9f96){const _0x421620={_0x173e14:0x1fd,_0x513525:0x20c,_0x35e415:0x1e2,_0x595581:0x1e4,_0x4bd4ca:0x2e8,_0x52628e:0x2f3,_0x3cf8b6:0x2fc};function _0x31f29a(_0x9575ea,_0x4ceb43,_0x5d4f2a,_0x1af628){return _0x1b30(_0x4ceb43-0xe9,_0x9575ea);}function _0x465244(_0x4a7b93,_0xf4c803,_0x32408c,_0x4b28d8){return _0x1b30(_0x4b28d8- -0x14,_0x32408c);}return normalizeContent(_0x4e9f96?.[_0x465244(0x200,_0x421620._0x173e14,_0x421620._0x513525,0x1fb)])[_0x465244(_0x421620._0x35e415,_0x421620._0x595581,0x1d6,0x1e8)](_0x5d678c=>_0x5d678c[_0x31f29a(0x2eb,0x2de,0x2e1,0x2c0)]===_0x31f29a(0x320,0x304,0x306,0x2ec))[_0x31f29a(0x2e8,0x2ee,_0x421620._0x4bd4ca,_0x421620._0x52628e)](_0x5c8726=>_0x5c8726[_0x465244(0x218,0x1eb,0x212,0x207)])[_0x31f29a(0x2f6,_0x421620._0x3cf8b6,0x315,0x2e3)]('\x0a');}function getReasoningTextFromMessage(_0x11dc1b){const _0x4943f3={_0x595337:0x4be,_0x3e59ac:0x4cb,_0x2d5337:0x4cc},_0x5a1ebe={_0x7908f9:0x450,_0x482442:0x441,_0x581d36:0x43c,_0x234012:0x33c,_0x284bf1:0x48b,_0x2044bf:0x453,_0x51668b:0x43e,_0x22158b:0x367,_0x2016bd:0x34f,_0x4fcee8:0x47c,_0x2a4d1e:0x475,_0x4e28f9:0x365,_0x43770e:0x34d,_0x1c15f6:0x47f,_0x863c4e:0x46d,_0x45b576:0x48d,_0x6be713:0x47b,_0x313c02:0x45b,_0x3ca780:0x448,_0x58cbde:0x45d,_0x22f276:0x44e,_0x1174d2:0x456,_0x26e455:0x451,_0xb4ac99:0x464,_0x13807d:0x471,_0x23ca9e:0x488},_0xeefcf8={_0x21d10c:0x2a2};function _0x2863ce(_0x4c4f4d,_0x2601c3,_0x7a90d5,_0x1a1adf){return _0x1b30(_0x7a90d5-_0xeefcf8._0x21d10c,_0x1a1adf);}return normalizeContent(_0x11dc1b?.['content'])['flatMap'](_0x379b09=>{const _0x318a64={_0x4b2480:0x256};function _0x129274(_0x21ea8c,_0x24f624,_0x126ad7,_0x1360f6){return _0x1b30(_0x24f624-_0x318a64._0x4b2480,_0x126ad7);}if(_0x379b09[_0x129274(0x45c,0x44b,0x431,0x455)]===_0x129274(0x44e,_0x5a1ebe._0x7908f9,_0x5a1ebe._0x482442,_0x5a1ebe._0x581d36))return _0x379b09[_0x76c4dd(_0x5a1ebe._0x234012,0x34f,0x35d,_0x5a1ebe._0x234012)][_0x129274(0x476,0x473,_0x5a1ebe._0x284bf1,0x482)]()[_0x129274(0x43b,_0x5a1ebe._0x2044bf,_0x5a1ebe._0x51668b,0x463)]>0x0?[_0x379b09[_0x76c4dd(_0x5a1ebe._0x22158b,0x34f,_0x5a1ebe._0x2016bd,0x339)]]:[];if(_0x379b09[_0x76c4dd(0x34d,0x35c,0x34b,0x366)]===_0x129274(_0x5a1ebe._0x4fcee8,_0x5a1ebe._0x2a4d1e,0x470,0x466))return['(redacted\x20reasoning)'];if(_0x379b09[_0x76c4dd(_0x5a1ebe._0x4e28f9,0x35c,0x355,_0x5a1ebe._0x43770e)]!==_0x129274(0x45d,0x46f,0x47f,_0x5a1ebe._0x1c15f6))return[];const _0x294b7c=_0x379b09[_0x129274(0x46a,_0x5a1ebe._0x863c4e,_0x5a1ebe._0x45b576,_0x5a1ebe._0x2044bf)][_0x129274(_0x5a1ebe._0x6be713,_0x5a1ebe._0x313c02,0x447,_0x5a1ebe._0x3ca780)](_0x415c1b=>_0x415c1b[_0x129274(0x462,0x471,0x474,0x469)])[_0x76c4dd(_0x5a1ebe._0x43770e,0x363,0x36b,0x36d)](_0x41b6af=>_0x41b6af[_0x129274(0x484,0x473,0x47d,0x477)]()[_0x76c4dd(0x382,0x364,0x380,0x359)]>0x0)[_0x129274(_0x5a1ebe._0x58cbde,0x469,0x458,_0x5a1ebe._0x22f276)]('\x0a\x0a');function _0x76c4dd(_0x114f29,_0x4e6715,_0x4f0b1b,_0x481680){return _0x1b30(_0x4e6715-0x167,_0x4f0b1b);}if(_0x294b7c[_0x129274(0x464,_0x5a1ebe._0x2044bf,_0x5a1ebe._0x1174d2,_0x5a1ebe._0x26e455)]>0x0)return[_0x294b7c];if(_0x379b09[_0x129274(0x45c,0x471,0x476,_0x5a1ebe._0xb4ac99)]&&_0x379b09[_0x129274(0x459,_0x5a1ebe._0x13807d,0x47d,_0x5a1ebe._0x2044bf)]['trim']()['length']>0x0)return[_0x379b09[_0x129274(_0x5a1ebe._0x23ca9e,0x471,_0x5a1ebe._0x2044bf,0x45d)]];return _0x379b09['encryptedContent']?['(encrypted\x20reasoning)']:[];})[_0x2863ce(_0x4943f3._0x595337,_0x4943f3._0x3e59ac,0x4b5,_0x4943f3._0x2d5337)]('\x0a\x0a');}function getToolUseBlocks(_0x5068cf){const _0x12c4f2={_0x2e815b:0x181,_0xe3e2be:0x188,_0x1f2f77:0x196,_0xba2682:0x438,_0x1470db:0x420,_0x238573:0x410};function _0x45a828(_0x3b3b90,_0x18c403,_0x3bc324,_0xfa7de8){return _0x1b30(_0x18c403- -0x87,_0xfa7de8);}function _0x13ca2b(_0x3e9ce4,_0x4d4a9e,_0x409910,_0x3e3d83){return _0x1b30(_0x409910-0x224,_0x4d4a9e);}return normalizeContent(_0x5068cf?.[_0x45a828(_0x12c4f2._0x2e815b,_0x12c4f2._0xe3e2be,0x16d,_0x12c4f2._0x1f2f77)])[_0x13ca2b(_0x12c4f2._0xba2682,0x409,_0x12c4f2._0x1470db,_0x12c4f2._0x238573)](_0xf3acee=>_0xf3acee['type']===_0x45a828(0x173,0x177,0x161,0x186));}function getToolResultBlocks(_0x53dd0a){const _0x162e05={_0x1b45a9:0xc5,_0x80ef2d:0xad,_0x55c85b:0xc8};function _0x5a19ca(_0x296622,_0x454484,_0x39edfb,_0x405873){return _0x1b30(_0x39edfb- -0x265,_0x405873);}function _0x1f2330(_0xb2d585,_0x240834,_0x57007a,_0x1ab222){return _0x1b30(_0xb2d585- -0x2d4,_0x57007a);}return normalizeContent(_0x53dd0a?.[_0x1f2330(-_0x162e05._0x1b45a9,-0xb0,-_0x162e05._0x80ef2d,-_0x162e05._0x55c85b)])['filter'](_0x3250de=>_0x3250de[_0x5a19ca(-0x7e,-0x8d,-0x70,-0x64)]===_0x5a19ca(-0x42,-0x31,-0x4f,-0x5f));}function createToolResultUserMessage(_0xb046de){const _0x5e2740={_0x40571a:0x590,_0x4d38f3:0x591},_0x4eea66={_0x1789c1:0x30c,_0x2121ca:0x326,_0x151bcc:0x325,_0x33bbb5:0x3f6,_0x54c8b3:0x3f9},_0x148e43={_0x4cb7bc:0x388};function _0xb18ee4(_0x19516c,_0xa2fcf8,_0x269347,_0x37c61c){return _0x1b30(_0x37c61c-_0x148e43._0x4cb7bc,_0x269347);}return{'role':'user','content':_0xb046de[_0xb18ee4(0x589,_0x5e2740._0x40571a,_0x5e2740._0x4d38f3,0x58d)](_0x46b548=>{const _0x199918={_0x3bbf11:0x158},_0x5a76a0={_0x42dfbf:0x198};function _0x31c6f6(_0x3aa5bb,_0x194de9,_0x35e68e,_0x34699c){return _0xb18ee4(_0x3aa5bb-0x1d0,_0x194de9-0x1bc,_0x3aa5bb,_0x34699c- -_0x5a76a0._0x42dfbf);}function _0x8acb0a(_0x417141,_0xc6d414,_0x35788e,_0x5394ce){return _0xb18ee4(_0x417141-0x196,_0xc6d414-_0x199918._0x3bbf11,_0x417141,_0x5394ce- -0x279);}return{'type':_0x8acb0a(_0x4eea66._0x1789c1,0x30f,_0x4eea66._0x2121ca,_0x4eea66._0x151bcc),'tool_use_id':_0x46b548[_0x8acb0a(0x309,0x2e5,0x31e,0x303)],'content':_0x46b548[_0x31c6f6(0x3e5,0x3fa,_0x4eea66._0x33bbb5,0x3ff)]??_0x46b548[_0x31c6f6(0x3fc,0x3fd,0x3f4,0x3f4)],'is_error':_0x46b548[_0x31c6f6(0x401,0x3db,0x40f,_0x4eea66._0x54c8b3)]==='error'};})};}var INTERRUPTED_TOOL_RESULT_TEXT='Tool\x20execution\x20was\x20interrupted\x20before\x20completion\x20and\x20produced\x20no\x20result.';function synthesizeMissingToolResults(_0x3a1806){const _0x49de35={_0x2f0f1b:0xa0,_0x3331f3:0xcb,_0x44c55e:0xbb,_0x9a2aeb:0xc7,_0xfc1350:0xa7,_0x418257:0xd0,_0x576473:0x1bf,_0x48c7c5:0x1b1,_0x1fe917:0x1b4,_0x4ebb7d:0xd3,_0x5c810a:0xc3,_0x5b4cbc:0xce};function _0x4066a8(_0x259fdd,_0x2b8ae3,_0x544d9e,_0x3a81a9){return _0x1b30(_0x2b8ae3- -0x135,_0x3a81a9);}const _0x571a24=new Set();function _0x129a54(_0x42b9d7,_0x4d5ef8,_0x51af59,_0x27d9fd){return _0x1b30(_0x27d9fd- -0x3c9,_0x4d5ef8);}for(const _0x189568 of _0x3a1806){for(const _0x45e843 of getToolResultBlocks(_0x189568)){_0x571a24['add'](_0x45e843[_0x4066a8(_0x49de35._0x2f0f1b,0xbb,0xaf,0xd4)]);}}const _0xfc503f=[];for(const _0x111ec9 of _0x3a1806){_0xfc503f[_0x4066a8(0xdf,_0x49de35._0x3331f3,0xb1,0xcb)](_0x111ec9);const _0x31fb05=getToolUseBlocks(_0x111ec9)[_0x4066a8(_0x49de35._0x44c55e,_0x49de35._0x9a2aeb,_0x49de35._0xfc1350,_0x49de35._0x418257)](_0x17a600=>!_0x571a24[_0x4066a8(0xc3,0xab,0x91,0xa5)](_0x17a600['id']));if(_0x31fb05[_0x129a54(-_0x49de35._0x576473,-0x1df,-_0x49de35._0x48c7c5,-0x1cc)]===0x0)continue;_0xfc503f[_0x129a54(-_0x49de35._0x1fe917,-0x1a8,-0x1e3,-0x1c9)]({'role':'user','content':_0x31fb05['map'](_0x59e50f=>({'type':_0x4066a8(0xfa,0xe1,0xfb,0xf4),'tool_use_id':_0x59e50f['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x327688 of _0x31fb05){_0x571a24[_0x4066a8(_0x49de35._0x4ebb7d,_0x49de35._0x5c810a,_0x49de35._0x5b4cbc,0xb3)](_0x327688['id']);}}return _0xfc503f;}export{createTextBlock,normalizeTextBlock,normalizeContent,normalizeSystem,isProviderStateCompatible,normalizeMessage,compileRequest,toChatRequest,toModelRequest,toProviderModelRequest,toChatResponse,toModelResponse,responseToAssistantMessage,createReasoningMessage,createAssistantTextMessage,createToolUseMessage,getTextFromMessage,getReasoningTextFromMessage,getToolUseBlocks,getToolResultBlocks,createToolResultUserMessage,INTERRUPTED_TOOL_RESULT_TEXT,synthesizeMissingToolResults};
|
package/dist/formats/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4fc8d1,_0x4ddbef){const _0x17f933={_0x5dbead:0xe6,_0x33722c:0xd7,_0x52cae5:0xd2,_0x26b0c0:0xcb,_0x3c03a2:0x454,_0x59d77b:0x44e,_0x4b4fa6:0x459,_0x4ddcbc:0xdb,_0x2647bb:0xdd,_0xf1f85e:0xd3,_0x48f00a:0x451,_0x10f14a:0xd4,_0x262124:0xce,_0x711d93:0xd6,_0x2ac240:0xde,_0x20d595:0xd8,_0x211c2b:0xd7,_0x547fd6:0x452,_0x31cc54:0x457,_0x1536fa:0x462,_0x4e1f02:0x45f,_0x42c38b:0xe8},_0x5d0c30={_0x79fc1a:0x28},_0x3e5c01={_0xc753ec:0x359},_0x1d725c=_0x4fc8d1();function _0x241080(_0x153fa5,_0x5befc1,_0x542138,_0x35abb8){return _0x5802(_0x5befc1-_0x3e5c01._0xc753ec,_0x542138);}function _0x180807(_0x1ad396,_0x333872,_0x446895,_0x415f5d){return _0x5802(_0x333872- -_0x5d0c30._0x79fc1a,_0x1ad396);}while(!![]){try{const _0x58e0f5=parseInt(_0x180807(_0x17f933._0x5dbead,0xdf,0xd9,_0x17f933._0x33722c))/0x1*(parseInt(_0x180807(_0x17f933._0x52cae5,0xd2,0xce,_0x17f933._0x26b0c0))/0x2)+parseInt(_0x241080(0x451,_0x17f933._0x3c03a2,_0x17f933._0x59d77b,_0x17f933._0x4b4fa6))/0x3+parseInt(_0x180807(0xdf,_0x17f933._0x4ddcbc,_0x17f933._0x2647bb,_0x17f933._0xf1f85e))/0x4+-parseInt(_0x241080(_0x17f933._0x48f00a,0x459,0x45f,0x460))/0x5*(parseInt(_0x180807(0xde,_0x17f933._0x10f14a,0xde,_0x17f933._0x262124))/0x6)+-parseInt(_0x180807(_0x17f933._0x711d93,_0x17f933._0x2ac240,_0x17f933._0x20d595,_0x17f933._0x211c2b))/0x7*(parseInt(_0x241080(0x447,_0x17f933._0x547fd6,0x452,_0x17f933._0x31cc54))/0x8)+-parseInt(_0x241080(0x465,_0x17f933._0x1536fa,_0x17f933._0x4e1f02,0x46c))/0x9+parseInt(_0x180807(_0x17f933._0x42c38b,0xe3,0xe2,0xe7))/0xa;if(_0x58e0f5===_0x4ddbef)break;else _0x1d725c['push'](_0x1d725c['shift']());}catch(_0x19c17b){_0x1d725c['push'](_0x1d725c['shift']());}}}(_0x44d0,0x7559d));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';function _0x44d0(){const _0x34441c=['BgvUz3rO','mJeWoti1og5tBxLVva','C2XPy2u','mtuZodqZmePQzgjjrq','ChvZAa','Dgv4Da','zMLSDgvY','mta3nJG0meTjseT3uq','mti4mdHpz0Dsu3q','mtqXmda5mhvnCefXta','otGWne5SDxziyW','DgvZDa','Aw1Hz2uVANbN','Bwf0y2HbBgW','mtKZnwnUsLzfvW','zNjVBq','CMvWBgfJzq','mJK5odK0ohnKBLbpuq','BgfZDeLUzgv4','Aw1Hz2uVANbLzW','mZvTBwfbAhq','mtaXsKLjvxjV'];_0x44d0=function(){return _0x34441c;};return _0x44d0();}import'../chunk-IUZALP6K.js';import{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toProviderModelRequest}from'../chunk-YNOIG4FD.js';function _0x5802(_0xf608f2,_0x25d530){_0xf608f2=_0xf608f2-0xf7;const _0x44d027=_0x44d0();let _0x580232=_0x44d027[_0xf608f2];if(_0x5802['FPwBOK']===undefined){var _0x4cd81c=function(_0x339395){const _0xbd20fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18f59b='',_0x3d7e62='';for(let _0x2353c5=0x0,_0x3996a9,_0x102958,_0x1e80e3=0x0;_0x102958=_0x339395['charAt'](_0x1e80e3++);~_0x102958&&(_0x3996a9=_0x2353c5%0x4?_0x3996a9*0x40+_0x102958:_0x102958,_0x2353c5++%0x4)?_0x18f59b+=String['fromCharCode'](0xff&_0x3996a9>>(-0x2*_0x2353c5&0x6)):0x0){_0x102958=_0xbd20fb['indexOf'](_0x102958);}for(let _0x462518=0x0,_0x3f0922=_0x18f59b['length'];_0x462518<_0x3f0922;_0x462518++){_0x3d7e62+='%'+('00'+_0x18f59b['charCodeAt'](_0x462518)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d7e62);};_0x5802['hLRVXT']=_0x4cd81c,_0x5802['qiqPln']={},_0x5802['FPwBOK']=!![];}const _0x55f69a=_0x44d027[0x0],_0x3b08cd=_0xf608f2+_0x55f69a,_0x2302eb=_0x5802['qiqPln'][_0x3b08cd];return!_0x2302eb?(_0x580232=_0x5802['hLRVXT'](_0x580232),_0x5802['qiqPln'][_0x3b08cd]=_0x580232):_0x580232=_0x2302eb,_0x580232;}var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,((?:[A-Za-z0-9+/]|\r?\n(?!data:))+={0,2})/g;function normalizeMediaType(_0x18f59b){const _0x285d53={_0x29c486:0x3c7,_0x38c511:0x3c3,_0x1ac413:0x3bf,_0x4c938e:0x455,_0x545acb:0x45b,_0x45911e:0x44f},_0x3313be={_0x2996e9:0x350};function _0x5c4cc5(_0x3020c9,_0x1a779c,_0x5ccbc9,_0x1dc87d){return _0x5802(_0x3020c9-_0x3313be._0x2996e9,_0x1a779c);}function _0x6a38e4(_0x208ed8,_0x3f95a1,_0x4b4758,_0x37a453){return _0x5802(_0x4b4758-0x2c1,_0x3f95a1);}return _0x18f59b===_0x6a38e4(_0x285d53._0x29c486,_0x285d53._0x38c511,_0x285d53._0x1ac413,_0x285d53._0x29c486)?_0x5c4cc5(_0x285d53._0x4c938e,0x45e,_0x285d53._0x545acb,_0x285d53._0x45911e):_0x18f59b;}function isValidBase64(_0x3d7e62){const _0x207c94={_0x68bd29:0x12c,_0x591af3:0x136},_0x3ff0c2={_0xaa3656:0x22b};function _0xa21284(_0x1b3c4a,_0x174f42,_0x48f077,_0x2f3b3d){return _0x5802(_0x2f3b3d- -_0x3ff0c2._0xaa3656,_0x48f077);}if(_0x3d7e62['length']===0x0||_0x3d7e62['length']%0x4!==0x0)return![];return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0xa21284(-0x123,-_0x207c94._0x68bd29,-_0x207c94._0x591af3,-0x12e)](_0x3d7e62);}function collectImageMatches(_0x2353c5){const _0x3bbaaf={_0xf6b84b:0x294,_0x33f6b7:0x293,_0x1e2567:0x299,_0x29fe03:0x29d,_0x3ff67b:0x294,_0x4b418c:0x28c,_0x290b71:0x394,_0x3a8f4:0x38d},_0x38931d={_0x1eb7e8:0x2f0,_0x46cc7d:0x2f3,_0x51a974:0x2f9},_0x3da4ab={_0x2ad8cb:0x195};function _0x2ae39e(_0xdbdfc1,_0x52a0a2,_0x17a6f0,_0x42df61){return _0x5802(_0x17a6f0-0x295,_0xdbdfc1);}function _0x20e726(_0xe0dc16,_0x17c9f2,_0x2d64e2,_0x22a20b){return _0x5802(_0x2d64e2-_0x3da4ab._0x2ad8cb,_0xe0dc16);}return DATA_URI_REGEX[_0x20e726(_0x3bbaaf._0xf6b84b,_0x3bbaaf._0x33f6b7,_0x3bbaaf._0x1e2567,_0x3bbaaf._0x29fe03)]=0x0,Array[_0x20e726(0x295,0x293,0x296,0x28c)](_0x2353c5[_0x20e726(0x292,0x299,_0x3bbaaf._0x3ff67b,_0x3bbaaf._0x4b418c)](DATA_URI_REGEX))[_0x2ae39e(0x393,_0x3bbaaf._0x290b71,_0x3bbaaf._0x3a8f4,0x392)](_0x3996a9=>{function _0x89206(_0x4b234e,_0xc31c4a,_0x53a64c,_0x25cd28){return _0x2ae39e(_0x53a64c,_0xc31c4a-0x17a,_0x4b234e- -0xa7,_0x25cd28-0xce);}const _0x102958=(_0x3996a9[0x2]??'')[_0x89206(_0x38931d._0x1eb7e8,0x2ea,_0x38931d._0x46cc7d,_0x38931d._0x51a974)](/[\r\n]/g,'');return isValidBase64(_0x102958);});}function hasPastedImages(_0x1e80e3){const _0x2113e1={_0x394c0d:0x200,_0x5d2aba:0x205},_0x2c7f67={_0x169b8a:0xfb};function _0x323c06(_0x49a74e,_0x2fbb64,_0x5aa525,_0x543570){return _0x5802(_0x543570-_0x2c7f67._0x169b8a,_0x49a74e);}return collectImageMatches(_0x1e80e3)[_0x323c06(_0x2113e1._0x394c0d,0x1fd,_0x2113e1._0x5d2aba,0x203)]>0x0;}function contentFromPastedText(_0x462518){const _0x58edf5={_0x496396:0x26e,_0xd7d330:0x277,_0x1ebc7f:0x26a,_0x18d5e9:0x259,_0x272ce3:0x24e,_0x49f464:0x26b,_0x2b8367:0xf4,_0x347a08:0xec,_0x3d9f12:0xf4,_0x40f2df:0xe5,_0x5a6995:0xe6,_0x324d5b:0xf0,_0x383d1f:0xeb,_0x5967f2:0xf4,_0x456499:0xf1,_0x52d994:0x279,_0x262be0:0x278,_0x530ca0:0xd9,_0xd7385f:0xec,_0x3d99ce:0xfd,_0xb9ef79:0x262,_0x210c86:0xdf,_0x36af03:0xdd},_0x3c118c={_0x12de5c:0x18},_0x3f0922=collectImageMatches(_0x462518),_0x137aac=[];let _0xad3267=0x0;for(const _0x1129ff of _0x3f0922){const _0x4a4b70=_0x1129ff['index']??0x0,[_0x217c31,_0x3e55e5,_0xab0498]=_0x1129ff;_0x4a4b70>_0xad3267&&_0x137aac[_0x71b2ea(_0x58edf5._0x496396,0x276,_0x58edf5._0xd7d330,_0x58edf5._0x1ebc7f)]({'type':_0x71b2ea(_0x58edf5._0x18d5e9,0x252,_0x58edf5._0x272ce3,0x256),'text':_0x462518[_0x71b2ea(0x26c,_0x58edf5._0x49f464,0x272,0x26a)](_0xad3267,_0x4a4b70)}),_0x137aac[_0x2e20ed(_0x58edf5._0x2b8367,0xf7,_0x58edf5._0x347a08,0xf4)]({'type':'image','source':{'type':'base64','media_type':normalizeMediaType(_0x3e55e5),'data':_0xab0498[_0x2e20ed(0xea,_0x58edf5._0x3d9f12,0xe1,_0x58edf5._0x40f2df)](/[\r\n]/g,'')}}),_0xad3267=_0x4a4b70+_0x217c31[_0x2e20ed(0xf0,0xf6,0xe8,_0x58edf5._0x5a6995)];}function _0x2e20ed(_0x3f4bd0,_0x965ccd,_0x23c7d7,_0xff3af5){return _0x5802(_0x3f4bd0- -_0x3c118c._0x12de5c,_0x23c7d7);}_0xad3267<_0x462518[_0x2e20ed(_0x58edf5._0x324d5b,_0x58edf5._0x383d1f,_0x58edf5._0x5967f2,_0x58edf5._0x456499)]&&_0x137aac[_0x71b2ea(0x26e,_0x58edf5._0x52d994,_0x58edf5._0x262be0,0x271)]({'type':_0x2e20ed(0xdf,_0x58edf5._0x530ca0,0xd4,0xda),'text':_0x462518[_0x2e20ed(0xf2,0xf2,_0x58edf5._0xd7385f,_0x58edf5._0x3d99ce)](_0xad3267)});function _0x71b2ea(_0x102c84,_0xe2b713,_0x32e917,_0x21b15c){return _0x5802(_0x102c84-0x162,_0x21b15c);}return _0x137aac[_0x71b2ea(0x26a,0x268,0x263,_0x58edf5._0xb9ef79)]>0x0?_0x137aac:[{'type':_0x2e20ed(_0x58edf5._0x210c86,0xda,_0x58edf5._0x36af03,0xd8),'text':_0x462518}];}export{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,contentFromPastedText,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,hasPastedImages,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toOpenAiResponsesRequest,toProviderModelRequest};
|
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5b8e9b,_0x16eed0){const _0x5460f9={_0x11287c:0x485,_0x52a9f8:0xb,_0x5585d0:0x14,_0x553cca:0x2e,_0x31ea3d:0x1,_0x5d2105:0x1b,_0x5a5356:0x44d,_0x7c8818:0x485,_0x3f6128:0x4ac,_0x11271f:0x24,_0x304729:0x3b},_0x42def6={_0x5b9830:0xf1};function _0x31f09b(_0x2e7f25,_0x1ccdf3,_0x1af2a8,_0x2b3dc8){return _0x2e27(_0x1ccdf3- -_0x42def6._0x5b9830,_0x1af2a8);}const _0x562800=_0x5b8e9b();function _0x25f351(_0x5b1d57,_0x20dc04,_0x4f65c3,_0x2e7a89){return _0x2e27(_0x20dc04-0x36a,_0x4f65c3);}while(!![]){try{const _0x32e6fa=parseInt(_0x25f351(0x474,0x495,0x482,_0x5460f9._0x11287c))/0x1*(-parseInt(_0x31f09b(-_0x5460f9._0x52a9f8,_0x5460f9._0x5585d0,_0x5460f9._0x553cca,-_0x5460f9._0x31ea3d))/0x2)+-parseInt(_0x31f09b(0x2b,0x3e,0x61,0x51))/0x3*(-parseInt(_0x31f09b(0x1e,0x28,0x2e,_0x5460f9._0x5d2105))/0x4)+-parseInt(_0x25f351(0x460,0x46e,_0x5460f9._0x5a5356,0x45c))/0x5+-parseInt(_0x25f351(0x491,0x485,0x496,_0x5460f9._0x7c8818))/0x6+parseInt(_0x25f351(0x477,0x48a,_0x5460f9._0x3f6128,0x497))/0x7+parseInt(_0x31f09b(0x4a,0x31,_0x5460f9._0x11271f,_0x5460f9._0x304729))/0x8+-parseInt(_0x31f09b(0x60,0x49,0x3d,0x55))/0x9*(-parseInt(_0x25f351(0x49f,0x48f,0x474,0x48b))/0xa);if(_0x32e6fa===_0x16eed0)break;else _0x562800['push'](_0x562800['shift']());}catch(_0x4f70ed){_0x562800['push'](_0x562800['shift']());}}}(_0xd588,0xf0a07));function _0xd588(){const _0x31cadc=['A2LSBa','Aw5WDxq','mtK5mdaXmen5sKnzBW','C3rHDhvZ','zgvUEq','Ag9VAZPoB3rPzMLJyxrPB24','BwvZC2fNzq','Ag9VA3m','mvrPCKnYtG','u3rVCa','y29Kzq','zw5K','mtmWmZeZmxPWt1ncEa','C3rYAw5NAwz5','y29TBwfUza','CMvQzwn0','zxjYB3i','D3jPDgu','sg9VAYbLEgL0zwqGD2L0AcbJB2rLia','ywXSB3C','tM90AwzPy2f0Aw9U','y2XVC2u','Bwf0y2HLCG','mtq0uu9zqxj5','DgvZDa','AgfZsg9VA3m','xIG/oG','CgLWzq','uhjLvg9VBfvZzq','sg9VAYbIBg9JA2vKigv4zwn1DgLVBG','zw5Kx3r1CM4','Dg9VBe5HBwu','CgvYBwLZC2LVBKrLy2LZAw9U','ug9ZDfrVB2XvC2u','yMXVy2S','Ag9VAZPqB3n0vg9VBfvZzq','CgfZCW','DgLTzw91Da','mtu0ndq0mfPzshnxrW','mZu3otq1nenOywfPzq','C3rKAw4','B3v0Chv0','ywz0zxjuB29SuMvZDwX0','qwDLBNqGzMLUAxnOzwqGCMvZCg9UzgLUzW','z2v0sg9VA3m','BMfTzq','BM93','BgvUz3rO','zw52','Ag9VAZPtDg9W','DhjPBq','yMvMB3jLrMLUywXpDxrWDxq','zgf0yq','ugvYBwLZC2LVBIbKzw5PzwqGzM9Yia','Ag9VA1nWzwnPzMLJt3v0Chv0','rvbjueu','BwfW','B2jZzxj2zxi','C3rKB3v0','nfL2DMXysq','ywz0zxjuDxjUq29TCgXLDgu','ntG3mZaYmNHluhDnDG','qMXVy2TLzcbIEsbqCMvuB29SvxnLigHVB2SGzM9Yia','CMvHC29U','C3rHDgu','ChvZAa','mtG2mda0qxrlDNHb','C3rKzxjY','mZm0ndC1mMjkCuXqBq'];_0xd588=function(){return _0x31cadc;};return _0xd588();}import{spawn}from'child_process';function _0x2e27(_0x39908b,_0x388525){_0x39908b=_0x39908b-0xfa;const _0xd58886=_0xd588();let _0x2e277e=_0xd58886[_0x39908b];if(_0x2e27['CVtFrA']===undefined){var _0xb0553=function(_0x1178ae){const _0x209b72='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36ebc8='',_0x2c9c43='';for(let _0x4d887c=0x0,_0x493cf7,_0x55017b,_0x569dfd=0x0;_0x55017b=_0x1178ae['charAt'](_0x569dfd++);~_0x55017b&&(_0x493cf7=_0x4d887c%0x4?_0x493cf7*0x40+_0x55017b:_0x55017b,_0x4d887c++%0x4)?_0x36ebc8+=String['fromCharCode'](0xff&_0x493cf7>>(-0x2*_0x4d887c&0x6)):0x0){_0x55017b=_0x209b72['indexOf'](_0x55017b);}for(let _0x5bbc0c=0x0,_0x40b04b=_0x36ebc8['length'];_0x5bbc0c<_0x40b04b;_0x5bbc0c++){_0x2c9c43+='%'+('00'+_0x36ebc8['charCodeAt'](_0x5bbc0c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2c9c43);};_0x2e27['MtaSHG']=_0xb0553,_0x2e27['ZQZNjR']={},_0x2e27['CVtFrA']=!![];}const _0x326b40=_0xd58886[0x0],_0x5d1f3d=_0x39908b+_0x326b40,_0x1b7d73=_0x2e27['ZQZNjR'][_0x5d1f3d];return!_0x1b7d73?(_0x2e277e=_0x2e27['MtaSHG'](_0x2e277e),_0x2e27['ZQZNjR'][_0x5d1f3d]=_0x2e277e):_0x2e277e=_0x1b7d73,_0x2e277e;}var DEFAULT_TIMEOUT_S=0x3c;async function executeCommandHook(_0x36ebc8,_0x2c9c43,_0x4d887c=DEFAULT_TIMEOUT_S,_0x493cf7){const _0x76497b={_0x2506d8:0x4d6,_0x448fe7:0x4b9},_0x1f8672={_0x46c166:0x4cc,_0x27130d:0x4b1,_0x378758:0x49c,_0x2eee4e:0x155,_0x58b772:0x16f,_0x5d6301:0x179,_0x42470f:0x175,_0x4b089b:0x163,_0x58e4f9:0x164,_0x347d10:0x154,_0x10b1c9:0x4ae,_0x3b858b:0x4c5,_0x226775:0x4b0,_0x3af067:0x4e1,_0xa7d06:0x188,_0x4b5c7e:0x15f,_0x40602e:0x4d1,_0x4cfadf:0x153,_0x22a24d:0x165,_0x4ed559:0x14f,_0x598681:0x160,_0xbd0b88:0x132,_0x4845c4:0x154,_0x9e046e:0x16d},_0xa49c66={_0x41439a:0x229,_0x32cbf1:0x217,_0xbec572:0x1ec,_0x373154:0x207,_0x1015f6:0x1e9,_0x5c449b:0x218};function _0x1fb71d(_0x1b6795,_0x2a4cc3,_0x44b215,_0x113692){return _0x2e27(_0x44b215-0x3ad,_0x113692);}const _0x55017b=Date[_0x1fb71d(0x4c0,_0x76497b._0x2506d8,_0x76497b._0x448fe7,0x4a9)]();return new Promise(_0x569dfd=>{const _0x414389={_0x4b0023:0x3a,_0x581fd9:0x48},_0x476530={_0x5e3ee7:0x136,_0x1566bd:0x39},_0x1cb6dd={_0x5a380d:0x14,_0x2bb564:0x33,_0x437936:0xf,_0x574217:0x2c,_0x9ff932:0x9,_0x1b61df:0x59,_0x48b8ca:0x18,_0x2c0dd7:0xd,_0x5e8481:0x2d,_0x38c04b:0x9b,_0x2f9267:0x93,_0x48aab9:0x16,_0x153f39:0x28,_0x37faac:0x8,_0x2d93e3:0x33,_0x55f5bb:0xc,_0x456c81:0x5c,_0x5d71c6:0x73,_0x240a71:0x22,_0x4d5170:0x9,_0x41dccc:0x7e,_0x424dad:0x65,_0x43fdd5:0x45,_0x1d89e1:0x59,_0xe19c7c:0x48,_0x33e897:0x24},_0x6d6cec={_0x487ff5:0x1b9},_0x5bc60d={_0x56d4fc:0x29,_0x3cf27a:0x2,_0x2884ec:0x12},_0x202af5={_0x2fa2c2:0x17d,_0x3beebc:0x134},_0x372ae5={_0xf70eb7:0x40,_0x244111:0x634},_0x5bf5bd={_0x3a1fbc:0x1c7,_0x56d16c:0x1bc,_0x5d1c7d:0x1f};function _0x1b42aa(_0x41cbc1,_0x5e9164,_0x30ef64,_0x42c0bc){return _0x1fb71d(_0x41cbc1-_0x5bf5bd._0x3a1fbc,_0x5e9164-_0x5bf5bd._0x56d16c,_0x41cbc1- -_0x5bf5bd._0x5d1c7d,_0x30ef64);}const _0x5bbc0c=spawn('sh',['-c',_0x36ebc8],{'stdio':['pipe',_0x1b42aa(_0x1f8672._0x46c166,0x4b0,0x4b8,_0x1f8672._0x27130d),_0x1b42aa(0x4cc,0x4ca,0x4d8,0x4c7)],'env':{...process[_0x1b42aa(_0x1f8672._0x378758,0x47b,0x4b4,0x498)],'CLAUDE_PROJECT_DIR':_0x493cf7??process['cwd']()}});let _0x40b04b='',_0x130f76='';_0x5bbc0c[_0x2ca433(-0x17d,-_0x1f8672._0x2eee4e,-_0x1f8672._0x58b772,-0x160)]['on'](_0x2ca433(-0x18a,-_0x1f8672._0x5d6301,-_0x1f8672._0x42470f,-0x155),_0x455ada=>{_0x40b04b+=_0x455ada['toString']();});function _0x2ca433(_0x2cdce2,_0x52968b,_0x50f13a,_0x1ef909){return _0x1fb71d(_0x2cdce2-_0x372ae5._0xf70eb7,_0x52968b-0x193,_0x50f13a- -_0x372ae5._0x244111,_0x2cdce2);}_0x5bbc0c[_0x2ca433(-0x166,-0x152,-0x166,-0x185)]['on'](_0x2ca433(-_0x1f8672._0x4b089b,-_0x1f8672._0x58e4f9,-_0x1f8672._0x42470f,-_0x1f8672._0x347d10),_0x19da4e=>{_0x130f76+=_0x19da4e['toString']();}),_0x5bbc0c[_0x1b42aa(0x494,0x48e,0x49d,_0x1f8672._0x10b1c9)]['on']('error',_0x1daff8=>{const _0x4f4351={_0x479e8f:0x57,_0x153766:0x1cd};function _0x20ce9f(_0x1ce84e,_0x486c9e,_0x44ca5,_0x2670e4){return _0x1b42aa(_0x1ce84e- -0x39d,_0x486c9e-_0x202af5._0x2fa2c2,_0x2670e4,_0x2670e4-_0x202af5._0x3beebc);}function _0x27f4ac(_0x5d44d3,_0x52c97c,_0x44c8e6,_0xc9922b){return _0x2ca433(_0xc9922b,_0x52c97c-_0x4f4351._0x479e8f,_0x44c8e6-0x184,_0xc9922b-_0x4f4351._0x153766);}if(_0x1daff8[_0x27f4ac(0x38,0x46,0x2a,_0x5bc60d._0x56d4fc)]!==_0x27f4ac(_0x5bc60d._0x3cf27a,0x2,_0x5bc60d._0x2884ec,0x23))throw _0x1daff8;}),_0x5bbc0c['stdin'][_0x1b42aa(0x4c2,_0x1f8672._0x3b858b,0x4d9,_0x1f8672._0x226775)](JSON[_0x1b42aa(0x4be,0x4df,0x4cb,_0x1f8672._0x3af067)](_0x2c9c43)),_0x5bbc0c[_0x2ca433(-0x199,-_0x1f8672._0xa7d06,-0x181,-_0x1f8672._0x4b5c7e)][_0x1b42aa(0x4bc,0x4b3,_0x1f8672._0x40602e,0x4a1)]();const _0x3bd7f7=setTimeout(()=>{const _0x591c75={_0x3902c3:0x666},_0x295677={_0x28d988:0x6c8,_0x2c84e4:0x1b,_0xd12a81:0xbb};function _0x21c151(_0x44d2ec,_0x19d3e7,_0x34b476,_0x826a3d){return _0x1b42aa(_0x34b476- -_0x295677._0x28d988,_0x19d3e7-_0x295677._0x2c84e4,_0x826a3d,_0x826a3d-_0x295677._0xd12a81);}_0x5bbc0c[_0x21c151(-_0xa49c66._0x41439a,-0x204,-_0xa49c66._0x32cbf1,-0x234)]('SIGKILL');function _0x17bb21(_0x2971ca,_0x32e40c,_0x4bdb6e,_0x4c2d0e){return _0x1b42aa(_0x4c2d0e- -_0x591c75._0x3902c3,_0x32e40c-0x5b,_0x2971ca,_0x4c2d0e-0x1a8);}_0x569dfd({'status':_0x21c151(-_0xa49c66._0xbec572,-0x211,-_0xa49c66._0x373154,-_0xa49c66._0x1015f6),'error':'Hook\x20timed\x20out\x20after\x20'+_0x4d887c+'s','duration_ms':Date[_0x21c151(-0x222,-_0xa49c66._0x5c449b,-0x22e,-0x222)]()-_0x55017b});},_0x4d887c*0x3e8);_0x5bbc0c['on'](_0x2ca433(-_0x1f8672._0x4cfadf,-_0x1f8672._0x22a24d,-_0x1f8672._0x4ed559,-_0x1f8672._0x598681),_0x6c53d7=>{const _0xc71953={_0x30f001:0x42b,_0x30fa12:0x17a,_0x141474:0xe};clearTimeout(_0x3bd7f7);const _0x4a8ebc=Date['now']()-_0x55017b;if(_0x6c53d7===0x2){_0x569dfd({'status':_0x3de58b(0x7a,0x63,0x4a,0x85),'output':{'decision':_0x1f9b62(-_0x1cb6dd._0x5a380d,-0x26,-_0x1cb6dd._0x2bb564,-_0x1cb6dd._0x437936),'reason':_0x130f76[_0x1f9b62(-0x14,-0x16,-_0x1cb6dd._0x574217,_0x1cb6dd._0x9ff932)]()||_0x3de58b(0x46,0x5e,_0x1cb6dd._0x1b61df,0x67)},'duration_ms':_0x4a8ebc});return;}function _0x3de58b(_0x195070,_0xac664,_0x3918f1,_0xc22a80){return _0x1b42aa(_0xac664- -_0xc71953._0x30f001,_0xac664-_0xc71953._0x30fa12,_0x3918f1,_0xc22a80-_0xc71953._0x141474);}if(_0x6c53d7!==0x0){_0x569dfd({'status':_0x1f9b62(_0x1cb6dd._0x48b8ca,_0x1cb6dd._0x2c0dd7,_0x1cb6dd._0x5e8481,0x0),'error':_0x3de58b(_0x1cb6dd._0x38c04b,0x98,_0x1cb6dd._0x2f9267,0xa3)+_0x6c53d7+(_0x130f76[_0x1f9b62(-0x30,-_0x1cb6dd._0x48aab9,-0x2b,-_0x1cb6dd._0x153f39)]()?':\x20'+_0x130f76[_0x1f9b62(-_0x1cb6dd._0x37faac,-_0x1cb6dd._0x48aab9,-_0x1cb6dd._0x2d93e3,_0x1cb6dd._0x55f5bb)]():''),'duration_ms':_0x4a8ebc});return;}const _0x799734=_0x40b04b[_0x3de58b(_0x1cb6dd._0x456c81,_0x1cb6dd._0x5d71c6,0x7d,0x82)]();function _0x1f9b62(_0x48ab6e,_0x347f1b,_0x3c1a27,_0x23214d){return _0x2ca433(_0x23214d,_0x347f1b-0x39,_0x347f1b-0x161,_0x23214d-_0x6d6cec._0x487ff5);}if(_0x799734[_0x1f9b62(-_0x1cb6dd._0x240a71,-0x19,-0x21,-_0x1cb6dd._0x4d5170)]===0x0){_0x569dfd({'status':_0x3de58b(_0x1cb6dd._0x41dccc,_0x1cb6dd._0x424dad,_0x1cb6dd._0x43fdd5,_0x1cb6dd._0x1d89e1),'duration_ms':_0x4a8ebc});return;}try{const _0x439403=JSON['parse'](_0x799734);_0x569dfd({'status':_0x3de58b(0x42,_0x1cb6dd._0x424dad,_0x1cb6dd._0xe19c7c,0x7a),'output':_0x439403,'duration_ms':_0x4a8ebc});}catch{_0x569dfd({'status':_0x1f9b62(-0x2e,-_0x1cb6dd._0x33e897,-0x1d,-0x17),'duration_ms':_0x4a8ebc});}}),_0x5bbc0c['on'](_0x2ca433(-0x14e,-_0x1f8672._0xbd0b88,-_0x1f8672._0x4845c4,-_0x1f8672._0x9e046e),_0x510107=>{const _0x347a2b={_0x7a169d:0x480,_0x4b25e1:0x18f};function _0x42dc84(_0x71f1ee,_0x3d642a,_0x59e678,_0x1a25cc){return _0x1b42aa(_0x3d642a- -_0x347a2b._0x7a169d,_0x3d642a-0x7,_0x1a25cc,_0x1a25cc-_0x347a2b._0x4b25e1);}function _0x44c60f(_0x570215,_0x1bd54d,_0x45d303,_0x371a57){return _0x1b42aa(_0x45d303- -_0x476530._0x5e3ee7,_0x1bd54d-_0x476530._0x1566bd,_0x371a57,_0x371a57-0x137);}clearTimeout(_0x3bd7f7),_0x569dfd({'status':_0x42dc84(_0x414389._0x4b0023,0x41,0x4c,0x21),'error':_0x510107[_0x42dc84(0x54,0x37,_0x414389._0x581fd9,0x42)],'duration_ms':Date['now']()-_0x55017b});});});}function createHookExtensions(_0x1d82b7,_0xe106ca,_0x28fcdc={}){const _0x456754={_0x5a59cf:0x3b9,_0x1dd9ba:0x3c1,_0x39d9b2:0x283,_0x8083dd:0x29a,_0x538f77:0x2bf,_0x5bcf89:0x27e,_0x369677:0x3b3,_0x211233:0x3dc,_0x14a83a:0x27c,_0x551752:0x3dc,_0x58e22f:0x280,_0x5cb5f3:0x29e,_0x3977a1:0x2b9,_0x35654b:0x297,_0xdc1fb:0x29c,_0x5352d9:0x271,_0x1b65ca:0x286,_0x17eb6c:0x2a3,_0x143ede:0x2ab,_0x5dd3d4:0x3c6,_0xdd66a1:0x288,_0x52ad4c:0x3d1,_0x4e6590:0x3e5},_0x2c389b={_0x528275:0x3c9,_0x590bcd:0x1db,_0x57a5c2:0x3e7,_0x2fd5e2:0x3d9,_0xd98487:0x3de,_0x5dc290:0x1ce,_0xae93d:0x1e1,_0xc5d15:0x1de,_0x2e6c33:0x20f,_0x14b3e3:0x214},_0x531a3d={_0x20fdfe:0x5cc,_0x2658cf:0xd8,_0x4f1483:0x1a9},_0x108785={_0x2e5c71:0x137,_0x1c4a9e:0x156,_0x24643b:0x142,_0x10ecbe:0x12d,_0xdd15a5:0x123,_0x4dbf5a:0x10b,_0x8fefc1:0x11a,_0x2337b0:0x174,_0x570e76:0x160,_0x33833e:0x134},_0x4b8155={_0x665e8b:0x33},_0x5e5318={_0x5991a4:0x359,_0x22c35a:0x345,_0x33c646:0x2f5,_0x32cafb:0x2e8,_0x2bbea6:0x2fa,_0x35cecd:0x319,_0x12d53d:0x2d7,_0x1b3682:0x30a,_0x3b8a4d:0x2de,_0x2a42f7:0x2f6,_0x4baefd:0x311,_0x4be27c:0x315,_0x1bd177:0x323,_0x2a5e83:0x327,_0x1fad29:0x377,_0x1c44a8:0x36d,_0x2466ec:0x30c,_0x23bca5:0x2eb},_0x45cfa5={_0x562b71:0x5f7},_0x59222e=[],{sessionId:_0x5e609b,projectDir:_0x53cad9}=_0x28fcdc;function _0x129b15(_0x301d09,_0x1e68f3,_0x2caa08,_0x1bb949){return _0x2e27(_0x1e68f3- -0x3a8,_0x1bb949);}const _0x9f8735=_0x5320c8=>_0x1d82b7[_0x1fab01(0x3f6,0x40d,0x3f0,0x40e)]?_0x1d82b7['hasHooks'](_0x5320c8):_0x1d82b7[_0x129b15(-0x2ad,-0x29e,-0x292,-0x28e)](_0x5320c8)[_0x129b15(-0x281,-0x29b,-0x293,-0x2b4)]>0x0;_0x9f8735(_0x1fab01(_0x456754._0x5a59cf,_0x456754._0x1dd9ba,0x3a4,0x3cd))&&_0x59222e[_0x129b15(-0x29b,-0x289,-_0x456754._0x39d9b2,-_0x456754._0x8083dd)]({'id':_0x129b15(-0x2bc,-0x2a7,-0x2bc,-0x29d),'stage':_0x129b15(-0x2b7,-0x2a0,-_0x456754._0x538f77,-_0x456754._0x5bcf89),'kind':_0x1fab01(0x3d1,0x3de,_0x456754._0x369677,_0x456754._0x211233),'order':0x0,'enabled':!![],'run':async(_0x5d9275,_0x2c53d2)=>{const _0x2e6968={_0x29f5fd:0x107,_0x47fe09:0x70};function _0x584a1c(_0xd1ecd4,_0x493cd4,_0xdcb48,_0x216b25){return _0x129b15(_0xd1ecd4-0xb9,_0xdcb48-_0x45cfa5._0x562b71,_0xdcb48-0x23,_0x216b25);}const _0x5a2fbd=_0x1d82b7[_0x584a1c(0x343,0x339,_0x5e5318._0x5991a4,_0x5e5318._0x22c35a)](_0x533aa1(0x2fc,0x30b,_0x5e5318._0x33c646,_0x5e5318._0x32cafb),_0x5d9275[_0x533aa1(_0x5e5318._0x2bbea6,_0x5e5318._0x35cecd,_0x5e5318._0x12d53d,_0x5e5318._0x1b3682)]);function _0x533aa1(_0x2ef057,_0x562fba,_0x33a277,_0x5cbbc6){return _0x129b15(_0x2ef057-_0x2e6968._0x29f5fd,_0x2ef057-0x5a5,_0x33a277-_0x2e6968._0x47fe09,_0x562fba);}for(const _0x1d691c of _0x5a2fbd){const _0x52bdc5={'tool_name':_0x5d9275[_0x533aa1(0x2fa,0x2e5,_0x5e5318._0x3b8a4d,_0x5e5318._0x2a42f7)],'tool_input':void 0x0,'tool_output':_0x5d9275[_0x533aa1(0x304,0x2f5,_0x5e5318._0x4baefd,_0x5e5318._0x4be27c)],'tool_result_status':_0x5d9275[_0x533aa1(_0x5e5318._0x1bd177,_0x5e5318._0x2a5e83,_0x5e5318._0x1bd177,0x309)],'session_id':_0x5e609b??_0x2c53d2[_0x584a1c(0x38b,_0x5e5318._0x1fad29,_0x5e5318._0x1c44a8,0x37a)]['sessionId']};await _0xe106ca(_0x1d691c[_0x533aa1(0x32e,0x316,0x33c,0x30e)],_0x52bdc5,_0x1d691c[_0x533aa1(0x300,_0x5e5318._0x2466ec,_0x5e5318._0x23bca5,0x2e7)],_0x53cad9);}}});_0x9f8735(_0x129b15(-0x294,-_0x456754._0x14a83a,-0x270,-0x285))&&_0x59222e[_0x1fab01(0x3d9,0x3d2,0x3d9,_0x456754._0x551752)]({'id':_0x129b15(-0x2a6,-0x299,-_0x456754._0x58e22f,-_0x456754._0x5cb5f3),'stage':_0x129b15(-_0x456754._0x3977a1,-_0x456754._0x35654b,-_0x456754._0xdc1fb,-0x280),'kind':'observer','order':0x0,'enabled':!![],'run':async(_0x16d10d,_0x59a139)=>{function _0x2fcfc8(_0x22d7d8,_0x31ff9d,_0x5a25a5,_0x3e24a6){return _0x1fab01(_0x22d7d8- -0x4fb,_0x5a25a5,_0x5a25a5-0x15c,_0x3e24a6-_0x4b8155._0x665e8b);}function _0x22cd6d(_0x362b01,_0x20d9c5,_0x5c33b4,_0x2bf817){return _0x129b15(_0x362b01-0xd2,_0x2bf817-0x3f1,_0x5c33b4-0x1be,_0x5c33b4);}const _0x4b0f4f=_0x1d82b7[_0x2fcfc8(-_0x108785._0x2e5c71,-0x149,-0x12c,-0x119)]('Stop');for(const _0x310c9c of _0x4b0f4f){const _0xee046e={'stop_reason':_0x2fcfc8(-0x145,-_0x108785._0x1c4a9e,-_0x108785._0x24643b,-_0x108785._0x10ecbe),'session_id':_0x5e609b??_0x59a139[_0x2fcfc8(-_0x108785._0xdd15a5,-_0x108785._0x4dbf5a,-0x111,-_0x108785._0x8fefc1)]['sessionId']};await _0xe106ca(_0x310c9c[_0x22cd6d(0x17e,_0x108785._0x2337b0,_0x108785._0x570e76,0x17a)],_0xee046e,_0x310c9c[_0x22cd6d(0x151,_0x108785._0x33833e,0x12c,0x14c)],_0x53cad9);}}});function _0x1fab01(_0x35889e,_0xd456bd,_0x3a3a8f,_0x4712b2){return _0x2e27(_0x35889e-0x2ba,_0xd456bd);}return _0x9f8735(_0x129b15(-0x25a,-_0x456754._0x5352d9,-0x281,-_0x456754._0x1b65ca))&&_0x59222e[_0x129b15(-_0x456754._0x17eb6c,-0x289,-_0x456754._0x143ede,-0x272)]({'id':_0x1fab01(0x3e2,0x3ce,_0x456754._0x5dd3d4,0x3d6),'stage':_0x129b15(-0x2a0,-0x28e,-_0x456754._0xdd66a1,-0x274),'kind':_0x1fab01(_0x456754._0x52ad4c,_0x456754._0x4e6590,0x3cc,0x3e4),'order':0x0,'enabled':!![],'run':async(_0x2eff8a,_0x34f814)=>{const _0x3069b3={_0x3b60e7:0x1b,_0x9114a5:0x19a,_0x59a334:0x1a9};function _0x5e9bb4(_0x40b8ba,_0x79654f,_0x9e5feb,_0x40ea74){return _0x1fab01(_0x9e5feb- -_0x531a3d._0x20fdfe,_0x79654f,_0x9e5feb-_0x531a3d._0x2658cf,_0x40ea74-_0x531a3d._0x4f1483);}function _0x574577(_0x4241b7,_0x4a2281,_0x1fcb5e,_0x1bbd9){return _0x1fab01(_0x1bbd9-_0x3069b3._0x3b60e7,_0x4241b7,_0x1fcb5e-_0x3069b3._0x9114a5,_0x1bbd9-_0x3069b3._0x59a334);}const _0x15289d=_0x1d82b7[_0x574577(0x3da,0x400,_0x2c389b._0x528275,0x3df)](_0x5e9bb4(-0x1f4,-0x1d9,-_0x2c389b._0x590bcd,-0x1dc));for(const _0x2056b2 of _0x15289d){const _0x4d64f0={'message':_0x574577(0x3de,_0x2c389b._0x57a5c2,_0x2c389b._0x2fd5e2,_0x2c389b._0xd98487),'session_id':_0x5e609b??_0x2eff8a['sessionId']};await _0xe106ca(_0x2056b2[_0x5e9bb4(-0x1f7,-_0x2c389b._0x5dc290,-_0x2c389b._0xae93d,-_0x2c389b._0xc5d15)],_0x4d64f0,_0x2056b2[_0x5e9bb4(-0x232,-0x213,-_0x2c389b._0x2e6c33,-_0x2c389b._0x14b3e3)],_0x53cad9);}}}),_0x59222e;}function createHookOnToolCallMiddleware(_0x233dc0,_0x2849b9,_0x506f18,_0x5c9d88={}){const _0x1ea42d={_0x50244a:0x24,_0x45f178:0x13,_0x16578f:0x42,_0x27a8f1:0x28,_0x47d520:0x19b,_0x21fe52:0x19a,_0x34656a:0x183,_0x594897:0x182,_0xfad40b:0x179,_0x5435fc:0x170,_0x485941:0x185,_0x5f53c5:0x6,_0x379b8d:0x152,_0x47546a:0x142,_0x1ab914:0x15f,_0x52eb75:0x171,_0x26404c:0x189,_0x4e9fc2:0x18d,_0x2af387:0x176,_0x5bd22e:0x17c,_0x4e8c8c:0x7,_0x7c84f4:0x2d,_0x26eb38:0x40,_0x555f7e:0x2e,_0x69872e:0x25,_0x57677b:0x14,_0x3575e5:0x17b,_0x1ee541:0x16a,_0x19d2f9:0x169,_0x27287a:0x2,_0x5b56b9:0xc,_0x4d3d91:0x7,_0x2061f3:0x10,_0x1cd7ec:0x16b,_0x2c6cae:0x16d,_0x89861:0xe,_0x9d76b4:0x19e,_0x5eee0d:0x17d,_0x4005fe:0x17,_0x56a25b:0x33,_0x4be8a5:0x19,_0x12d786:0x22,_0x5b606d:0x18a,_0x200c0c:0x19a,_0x2c0934:0x13,_0x5839bf:0x6,_0x44da0e:0x12},{sessionId:_0x3ec0c5,projectDir:_0x4b6092}=_0x5c9d88;return async(_0x1b76d9,_0x436081)=>{function _0x1a48e8(_0xab8965,_0x1689bf,_0x5af93e,_0x5970e4){return _0x2e27(_0x5970e4- -0x290,_0x1689bf);}function _0x17bb15(_0x17862e,_0x1356e9,_0x215523,_0x4efafd){return _0x2e27(_0x4efafd- -0x122,_0x1356e9);}const _0x10ec89=_0x233dc0['getHooks'](_0x17bb15(-_0x1ea42d._0x50244a,-_0x1ea42d._0x45f178,-_0x1ea42d._0x16578f,-_0x1ea42d._0x27a8f1),_0x1b76d9[_0x1a48e8(-_0x1ea42d._0x47d520,-_0x1ea42d._0x21fe52,-_0x1ea42d._0x34656a,-0x185)]);for(const _0x3f6f5d of _0x10ec89){const _0x5714c4={'tool_name':_0x1b76d9[_0x1a48e8(-_0x1ea42d._0x594897,-_0x1ea42d._0xfad40b,-_0x1ea42d._0x5435fc,-_0x1ea42d._0x485941)],'tool_input':_0x1b76d9[_0x17bb15(-_0x1ea42d._0x5f53c5,0x23,0x11,0x2)],'session_id':_0x3ec0c5},_0x5edd44=await _0x2849b9(_0x3f6f5d[_0x1a48e8(-0x16e,-_0x1ea42d._0x379b8d,-_0x1ea42d._0x47546a,-_0x1ea42d._0x1ab914)],_0x5714c4,_0x3f6f5d['timeout'],_0x4b6092),_0x37f2ad=_0x5edd44[_0x1a48e8(-0x17c,-_0x1ea42d._0x52eb75,-0x19f,-_0x1ea42d._0x26404c)]?.[_0x1a48e8(-0x178,-_0x1ea42d._0x4e9fc2,-_0x1ea42d._0x2af387,-_0x1ea42d._0x5bd22e)]?.[_0x17bb15(-_0x1ea42d._0x4e8c8c,-_0x1ea42d._0x7c84f4,-_0x1ea42d._0x26eb38,-0x24)];if(_0x37f2ad===_0x17bb15(0x23,_0x1ea42d._0x555f7e,_0x1ea42d._0x69872e,_0x1ea42d._0x57677b))break;if(_0x37f2ad===_0x1a48e8(-_0x1ea42d._0x3575e5,-_0x1ea42d._0x1ee541,-0x178,-_0x1ea42d._0x19d2f9))return{'action':_0x17bb15(_0x1ea42d._0x27287a,-_0x1ea42d._0x5b56b9,-_0x1ea42d._0x4d3d91,_0x1ea42d._0x2061f3),'reason':_0x5edd44[_0x1a48e8(-_0x1ea42d._0x1cd7ec,-0x1a0,-_0x1ea42d._0x2c6cae,-_0x1ea42d._0x26404c)]?.[_0x17bb15(-0x23,-0x8,-0x31,-_0x1ea42d._0x89861)]?.['permissionDecisionReason']||_0x1a48e8(-_0x1ea42d._0x9d76b4,-0x19d,-0x19b,-_0x1ea42d._0x5eee0d)+_0x1b76d9[_0x17bb15(-0x21,-0x6,-0x1c,-_0x1ea42d._0x4005fe)]};if(_0x5edd44[_0x17bb15(0x13,-0x12,-0x3,0x4)]===_0x17bb15(-_0x1ea42d._0x56a25b,-_0x1ea42d._0x4be8a5,-0x35,-_0x1ea42d._0x12d786)||_0x5edd44['output']?.['decision']==='block')return{'action':'reject','reason':_0x5edd44[_0x1a48e8(-_0x1ea42d._0x5b606d,-0x1a0,-_0x1ea42d._0x200c0c,-0x189)]?.[_0x17bb15(-0x5,0x1a,-0x5,-0x5)]||_0x17bb15(0x13,-_0x1ea42d._0x2c0934,0x1,-_0x1ea42d._0x5839bf)+_0x1b76d9[_0x17bb15(-0x2f,-_0x1ea42d._0x44da0e,-0x19,-0x17)]};}return _0x506f18(_0x1b76d9,_0x436081);};}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0x1cf724){const _0x3b610d={_0x1be851:0x127,_0x47ace9:0x13c,_0xecf8d5:0x2ed,_0x5edded:0x2f2,_0x159f8b:0x2e3,_0x118809:0x2d3,_0x344a00:0x2c3,_0x4e230b:0x2c0,_0x3d6dc8:0xff,_0x2ac2a3:0x141,_0x253637:0x122,_0x2afff5:0x126,_0x1c6fb3:0x2da,_0x485027:0x2fa,_0x3c6d24:0x300,_0x2df6da:0x2df,_0xf2c647:0x2e7,_0x4f2244:0x2eb,_0x1032aa:0x10d,_0x44024e:0x2ec,_0x1d4581:0x2f8,_0x240c88:0x2ed,_0xf23c53:0x2ca},_0x5b7de8={_0x1b6d61:0x1b4},_0x1803b3={_0x30504c:0x225},_0x38b709={_0x1ac87c:0x33d};return{'hasHooks'(_0x131549){function _0x2bb5f9(_0x1b86b9,_0x200359,_0x1ea6aa,_0x5f73fc){return _0x2e27(_0x200359- -_0x38b709._0x1ac87c,_0x1ea6aa);}return(_0x1cf724[_0x131549]?.[_0x2bb5f9(-_0x1803b3._0x30504c,-0x230,-0x23c,-0x228)]??0x0)>0x0;},'getHooks'(_0x4b35c9,_0x19186f){const _0x5138e6=_0x1cf724[_0x4b35c9];function _0x5816e3(_0x5e0e8f,_0x4e2ca5,_0x2113a7,_0x54dd2d){return _0x2e27(_0x4e2ca5-_0x5b7de8._0x1b6d61,_0x2113a7);}if(!_0x5138e6)return[];const _0x64aa03=[];for(const _0x18ac91 of _0x5138e6){if(!_0x18ac91[_0x59f1a9(_0x3b610d._0x1be851,0x144,0x145,_0x3b610d._0x47ace9)]||_0x18ac91[_0x5816e3(0x2e3,_0x3b610d._0xecf8d5,_0x3b610d._0x5edded,0x2ea)]==='*'){_0x64aa03[_0x5816e3(_0x3b610d._0x159f8b,_0x3b610d._0x118809,_0x3b610d._0x344a00,_0x3b610d._0x4e230b)](..._0x18ac91['hooks'][_0x59f1a9(_0x3b610d._0x3d6dc8,_0x3b610d._0x2ac2a3,_0x3b610d._0x253637,_0x3b610d._0x2afff5)](_0x2865c2=>({'command':_0x2865c2[_0x59f1a9(0x121,0x144,0x13d,0x127)],'timeout':_0x2865c2[_0x59f1a9(0xff,0x122,0x10f,0x10f)]??DEFAULT_TIMEOUT_S2})));continue;}if(_0x19186f===void 0x0)continue;const _0x9aa93b=new RegExp(_0x5816e3(_0x3b610d._0x1c6fb3,0x2f1,0x305,_0x3b610d._0x485027)+_0x18ac91[_0x5816e3(0x30d,0x2ed,_0x3b610d._0x3c6d24,_0x3b610d._0x2df6da)]+')$');_0x9aa93b[_0x5816e3(_0x3b610d._0xf2c647,0x2ef,_0x3b610d._0x4f2244,0x2f9)](_0x19186f)&&_0x64aa03[_0x59f1a9(_0x3b610d._0x1032aa,0x12d,0x12b,0x140)](..._0x18ac91[_0x5816e3(_0x3b610d._0x44024e,0x2de,0x2f6,_0x3b610d._0x1d4581)][_0x5816e3(_0x3b610d._0x240c88,_0x3b610d._0xf23c53,0x2b5,0x2b7)](_0x26afc3=>({'command':_0x26afc3[_0x59f1a9(0x12a,0x15f,0x13d,0x126)],'timeout':_0x26afc3[_0x5816e3(0x29f,0x2b7,0x2ac,0x2da)]??DEFAULT_TIMEOUT_S2})));}function _0x59f1a9(_0x4d9838,_0x3b2f56,_0x2950e4,_0x4d4628){return _0x2e27(_0x2950e4-0xc,_0x4d4628);}return _0x64aa03;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};
|
|
1
|
+
(function(_0x1351d4,_0x487fb1){const _0x40ea71={_0x5f4e7f:0x34b,_0x488688:0x36e,_0x3360ad:0x38f,_0x5c7e27:0x35c,_0x88e7d5:0x398,_0x3efb51:0x5f2,_0xc350f4:0x39a,_0x1529b5:0x39c,_0x49e080:0x397,_0x332a4a:0x58a,_0x47b74b:0x5c7,_0x13a547:0x5c8,_0x412c8c:0x3b9,_0x336825:0x3a8,_0x5d3ef3:0x394,_0x569a50:0x59f,_0x2f54b0:0x5b3,_0x13591c:0x38b,_0xe75a4:0x3a9,_0x589c97:0x5a8,_0x25bc4c:0x58f},_0x196d57={_0x1437c9:0x3d4},_0x4bce81=_0x1351d4();function _0x58d762(_0x4b404b,_0x9398fd,_0x43ea8e,_0x3c3906){return _0x2f45(_0x9398fd-0x1ab,_0x4b404b);}function _0x2f9d9c(_0x189e8e,_0x51a85c,_0xdd4d93,_0x5dd653){return _0x2f45(_0xdd4d93-_0x196d57._0x1437c9,_0x5dd653);}while(!![]){try{const _0x9dff95=parseInt(_0x58d762(_0x40ea71._0x5f4e7f,_0x40ea71._0x488688,_0x40ea71._0x3360ad,0x38f))/0x1+parseInt(_0x58d762(0x389,0x37e,_0x40ea71._0x5c7e27,_0x40ea71._0x88e7d5))/0x2*(-parseInt(_0x2f9d9c(_0x40ea71._0x3efb51,0x5e2,0x5d6,0x5da))/0x3)+-parseInt(_0x58d762(_0x40ea71._0xc350f4,_0x40ea71._0x1529b5,_0x40ea71._0x49e080,0x397))/0x4*(parseInt(_0x2f9d9c(0x5a2,_0x40ea71._0x332a4a,0x5a9,0x5ad))/0x5)+-parseInt(_0x2f9d9c(0x5b5,0x5d4,0x5cf,0x5e1))/0x6+-parseInt(_0x2f9d9c(_0x40ea71._0x47b74b,0x5bf,0x5ba,_0x40ea71._0x13a547))/0x7*(-parseInt(_0x58d762(_0x40ea71._0x412c8c,_0x40ea71._0x336825,_0x40ea71._0x5d3ef3,0x385))/0x8)+parseInt(_0x2f9d9c(0x595,0x583,_0x40ea71._0x569a50,_0x40ea71._0x2f54b0))/0x9*(-parseInt(_0x58d762(0x373,_0x40ea71._0x13591c,0x382,0x393))/0xa)+parseInt(_0x58d762(_0x40ea71._0x88e7d5,_0x40ea71._0xe75a4,0x3c3,0x39e))/0xb*(parseInt(_0x2f9d9c(_0x40ea71._0x589c97,0x5b0,0x592,_0x40ea71._0x25bc4c))/0xc);if(_0x9dff95===_0x487fb1)break;else _0x4bce81['push'](_0x4bce81['shift']());}catch(_0x27ff8a){_0x4bce81['push'](_0x4bce81['shift']());}}}(_0x7f30,0x1e483));function _0x2f45(_0x3ab5be,_0x1882c6){_0x3ab5be=_0x3ab5be-0x1be;const _0x7f308f=_0x7f30();let _0x2f4521=_0x7f308f[_0x3ab5be];if(_0x2f45['ceqTaJ']===undefined){var _0x1eabe3=function(_0x276210){const _0x1d42b3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23a98d='',_0x1679b5='';for(let _0x3669f7=0x0,_0x313dab,_0x191a32,_0x38a15f=0x0;_0x191a32=_0x276210['charAt'](_0x38a15f++);~_0x191a32&&(_0x313dab=_0x3669f7%0x4?_0x313dab*0x40+_0x191a32:_0x191a32,_0x3669f7++%0x4)?_0x23a98d+=String['fromCharCode'](0xff&_0x313dab>>(-0x2*_0x3669f7&0x6)):0x0){_0x191a32=_0x1d42b3['indexOf'](_0x191a32);}for(let _0x30b489=0x0,_0x3694e6=_0x23a98d['length'];_0x30b489<_0x3694e6;_0x30b489++){_0x1679b5+='%'+('00'+_0x23a98d['charCodeAt'](_0x30b489)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1679b5);};_0x2f45['dZGeve']=_0x1eabe3,_0x2f45['nxnxIw']={},_0x2f45['ceqTaJ']=!![];}const _0x7fcf59=_0x7f308f[0x0],_0x5f3f3e=_0x3ab5be+_0x7fcf59,_0x1967c7=_0x2f45['nxnxIw'][_0x5f3f3e];return!_0x1967c7?(_0x2f4521=_0x2f45['dZGeve'](_0x2f4521),_0x2f45['nxnxIw'][_0x5f3f3e]=_0x2f4521):_0x2f4521=_0x1967c7,_0x2f4521;}import{spawn}from'child_process';var DEFAULT_TIMEOUT_S=0x3c;function _0x7f30(){const _0x2cae67=['B3v0Chv0','BwvZC2fNzq','mKX3vhrezG','sg9VAYb0Aw1LzcbVDxqGywz0zxiG','mZy5mtaWvKTKtvLI','B2jZzxj2zxi','zgf0yq','CgLWzq','DgLTzw91Da','u3rVCa','z2v0sg9VA3m','Dg9VBe5HBwu','AgfZsg9VA3m','C2vZC2LVBKLK','Ag9VAZPoB3rPzMLJyxrPB24','ndG0nZeWD0P1uez3','ywz0zxjuB29SuMvZDwX0','CMvQzwn0','A2LSBa','yMvMB3jLrMLUywXpDxrWDxq','Ag9VA1nWzwnPzMLJt3v0Chv0','ndCWmteZu0fir2Hr','tM90AwzPy2f0Aw9U','Aw5WDxq','BMfTzq','yMXVy2S','xIG/oG','sg9VAYbIBg9JA2vKigv4zwn1DgLVBG','zw5Kx3r1CM4','zxjYB3i','zw5K','BgvUz3rO','nfnMzgnZqG','qwDLBNqGzMLUAxnOzwqGCMvZCg9UzgLUzW','C3rHDgu','CgfZCW','CgvYBwLZC2LVBKrLy2LZAw9UuMvHC29U','C3rKAw4','y3DK','C3rYAw5NAwz5','zw52','Ag9VAZPtDg9W','mti5ndeYmMvjy2DkBq','C3rHDhvZ','mtzkALbdq2e','nZeZnJuWm1H0zxfLAq','C3rKzxjY','y29Kzq','CgfYC2u','nZmXmtaZqNDJtunj','ywz0zxjuDxjUq29TCgXLDgu','DgvZDa','mtjLAuP3AgO','ug9ZDfrVB2XvC2u','y2XVC2u','BM93','zgvJAxnPB24','mtK1nJvywuTKAxa','BwfW','rvbjueu','Bwf0y2HLCG','DhjPBq','uhjLvg9VBfvZzq','ChvZAa','C3rKB3v0','mJD2yvzTANe','D3jPDgu','u0Lhs0Lmta','y29TBwfUza','Dg9tDhjPBMC','Ag9VA3m'];_0x7f30=function(){return _0x2cae67;};return _0x7f30();}async function executeCommandHook(_0x23a98d,_0x1679b5,_0x3669f7=DEFAULT_TIMEOUT_S,_0x313dab){const _0x301531={_0x57cac6:0x1fc,_0x374603:0x201},_0x3ba2d3={_0x1f7363:0x515,_0x431dae:0x506,_0x1ff4c7:0x507,_0x1aba31:0x527,_0x52d838:0x525,_0x25c821:0x526,_0x2ad57f:0x50d,_0x144d49:0x8b,_0x42b583:0x4e9,_0x1c52ea:0x505,_0x36cfc4:0x505,_0x22178b:0x8f,_0x353718:0x8b,_0x3d7726:0x59,_0x2d3e5c:0x73,_0x5d327e:0x79,_0x1c6276:0x4e0,_0x431e2f:0x57,_0x477436:0x61,_0x4b2da6:0x75,_0x470b2d:0x51a,_0xea6d97:0x524,_0x1988b0:0x51d,_0x5bec0f:0x5e,_0x353406:0x51c},_0x464387={_0x5728b3:0x45d,_0x585763:0x44c,_0x2ebc2b:0x3e0,_0x2b2574:0x410,_0x56f1a8:0x460,_0x216156:0x42e,_0x2056bb:0x43c},_0x11a2fa={_0x49c328:0x259,_0x4091b3:0x10d,_0x4ab3c8:0x18f},_0x547270={_0x387e0a:0x3dc};function _0x1ac55f(_0x1e9034,_0x48512c,_0x320281,_0x6309c8){return _0x2f45(_0x1e9034- -_0x547270._0x387e0a,_0x48512c);}const _0x191a32=Date[_0x1ac55f(-0x21b,-_0x301531._0x57cac6,-0x209,-_0x301531._0x374603)]();return new Promise(_0x38a15f=>{const _0x390f0d={_0x21f8d7:0xb3,_0x495add:0x1e5},_0x1a7694={_0x52673a:0x1ab,_0x124394:0x1c0,_0xcf916c:0x1b4,_0xa38e17:0x2fc,_0x5d6c23:0x2e6,_0x16db66:0x2fa,_0x2f3ec5:0x305,_0x7e17d2:0x1d6,_0x25457f:0x2d7,_0x43f1d1:0x2d5,_0x45b8db:0x1af,_0x28be19:0x304,_0x464ddf:0x30a,_0x16ef33:0x2f1,_0x40783d:0x311,_0x4b5adf:0x31d,_0x26f2a3:0x312,_0x1a7e3b:0x2f4,_0x3c195c:0x328,_0x725fd0:0x306,_0x256876:0x2e2},_0x82a5ca={_0x16bde6:0xb2,_0x1f56a8:0x293},_0x5eeff6={_0x300556:0x6a9,_0x50f3a0:0x36},_0x4848ca={_0x156a8a:0x37f,_0x189822:0x38c,_0x4c24a3:0x3b1,_0x3de4b4:0x385,_0x48c9ed:0x381,_0x4e7266:0x5cd,_0x1b345f:0x5b7,_0x4a7cce:0x5ae,_0x49e740:0x5c6},_0x4c62f5={_0x5112fe:0x1ef},_0x434c68={_0x14816e:0xaa},_0x5d1938={_0x516c2c:0x5b5,_0x93482f:0x5b4,_0x493fd4:0x383,_0x26124d:0x361},_0x465faa={_0x4c839c:0x7f,_0x100908:0x16b,_0x4b1ba9:0x343},_0x1f936d={_0x89900:0x18a,_0x1f6e6f:0x526},_0x275a46={_0x3f9402:0x196,_0x40e3d9:0x1b3},_0x4d2ac5={_0x5ac4c7:0x107,_0x2faab2:0x128,_0x151a76:0x13f},_0x30b489=spawn('sh',['-c',_0x23a98d],{'stdio':[_0x58695c(_0x3ba2d3._0x1f7363,0x506,0x508,0x4ff),_0x58695c(0x51c,_0x3ba2d3._0x431dae,0x524,_0x3ba2d3._0x1ff4c7),'pipe'],'env':{...process[_0x58695c(0x52f,_0x3ba2d3._0x1aba31,0x522,0x510)],'CLAUDE_PROJECT_DIR':_0x313dab??process[_0x58695c(0x533,_0x3ba2d3._0x52d838,_0x3ba2d3._0x25c821,0x512)]()}});let _0x3694e6='',_0xa04c04='';function _0x5b2f72(_0x584b75,_0x55bdaa,_0x4f4946,_0x2cf9ec){return _0x1ac55f(_0x4f4946-_0x11a2fa._0x49c328,_0x2cf9ec,_0x4f4946-_0x11a2fa._0x4091b3,_0x2cf9ec-_0x11a2fa._0x4ab3c8);}_0x30b489[_0x58695c(0x4f9,0x4f8,0x4f5,0x4d6)]['on'](_0x58695c(0x4f5,0x505,_0x3ba2d3._0x2ad57f,0x4f7),_0x27d7bc=>{const _0x411393={_0x52d1d4:0x1e5};function _0x4809d5(_0x372c84,_0x19df7e,_0x7b046b,_0x324d03){return _0x58695c(_0x372c84-_0x411393._0x52d1d4,_0x7b046b- -0x625,_0x324d03,_0x324d03-0x1e1);}_0x3694e6+=_0x27d7bc[_0x4809d5(-0x135,-_0x4d2ac5._0x5ac4c7,-_0x4d2ac5._0x2faab2,-_0x4d2ac5._0x151a76)]();}),_0x30b489[_0x5b2f72(_0x3ba2d3._0x144d49,0x71,0x7c,0x7e)]['on'](_0x58695c(_0x3ba2d3._0x42b583,_0x3ba2d3._0x1c52ea,0x4e1,_0x3ba2d3._0x36cfc4),_0x5750fd=>{const _0x18069b={_0x165eee:0x6b0};function _0x36b9cb(_0x3109ce,_0x4ae273,_0x22bb4d,_0x1230fa){return _0x58695c(_0x3109ce-0x103,_0x22bb4d- -_0x18069b._0x165eee,_0x1230fa,_0x1230fa-0x117);}_0xa04c04+=_0x5750fd[_0x36b9cb(-_0x275a46._0x3f9402,-0x19e,-_0x275a46._0x40e3d9,-0x1d4)]();}),_0x30b489[_0x5b2f72(_0x3ba2d3._0x22178b,0x8d,0x73,_0x3ba2d3._0x353718)]['on']('error',_0x40eba0=>{function _0x296815(_0x20fab3,_0x29a897,_0x282082,_0x4f6418){return _0x5b2f72(_0x20fab3-_0x1f936d._0x89900,_0x29a897-0x89,_0x29a897-_0x1f936d._0x1f6e6f,_0x282082);}function _0x383ba9(_0x32566b,_0x45c94f,_0x46871a,_0x22702b){return _0x5b2f72(_0x32566b-_0x465faa._0x4c839c,_0x45c94f-_0x465faa._0x100908,_0x32566b-_0x465faa._0x4b1ba9,_0x46871a);}if(_0x40eba0[_0x296815(_0x5d1938._0x516c2c,0x5a3,0x5a0,_0x5d1938._0x93482f)]!==_0x383ba9(0x385,_0x5d1938._0x493fd4,0x383,_0x5d1938._0x26124d))throw _0x40eba0;}),_0x30b489[_0x5b2f72(0x78,_0x3ba2d3._0x3d7726,_0x3ba2d3._0x2d3e5c,_0x3ba2d3._0x5d327e)][_0x58695c(0x501,0x4fa,_0x3ba2d3._0x1c6276,0x4df)](JSON[_0x5b2f72(_0x3ba2d3._0x431e2f,_0x3ba2d3._0x477436,_0x3ba2d3._0x4b2da6,0x96)](_0x1679b5)),_0x30b489[_0x58695c(_0x3ba2d3._0x470b2d,_0x3ba2d3._0xea6d97,0x52b,0x505)][_0x58695c(0x538,_0x3ba2d3._0x1988b0,0x521,0x538)]();const _0xc68e94=setTimeout(()=>{function _0x223b98(_0x3416fd,_0x36bc88,_0x445fff,_0x3764bf){return _0x58695c(_0x3416fd-0x67,_0x3416fd-_0x434c68._0x14816e,_0x445fff,_0x3764bf-0xa7);}_0x30b489[_0x25a755(_0x4848ca._0x156a8a,_0x4848ca._0x189822,0x397,_0x4848ca._0x4c24a3)](_0x25a755(_0x4848ca._0x3de4b4,0x37a,_0x4848ca._0x48c9ed,0x39c));function _0x25a755(_0x3dc03a,_0x1c59e1,_0x3ef6bd,_0x1be3e6){return _0x58695c(_0x3dc03a-0x117,_0x3ef6bd- -0x17a,_0x1be3e6,_0x1be3e6-_0x4c62f5._0x5112fe);}_0x38a15f({'status':_0x223b98(0x5c6,_0x4848ca._0x4e7266,0x5b7,_0x4848ca._0x1b345f),'error':_0x223b98(0x5ac,0x5a9,_0x4848ca._0x4a7cce,_0x4848ca._0x49e740)+_0x3669f7+'s','duration_ms':Date['now']()-_0x191a32});},_0x3669f7*0x3e8);function _0x58695c(_0x85772c,_0x575d35,_0x4fd678,_0x43cb28){return _0x1ac55f(_0x575d35-0x70a,_0x4fd678,_0x4fd678-0x16e,_0x43cb28-0x45);}_0x30b489['on'](_0x5b2f72(0x38,0x51,0x3d,_0x3ba2d3._0x5bec0f),_0x58847c=>{clearTimeout(_0xc68e94);function _0x434411(_0x559452,_0x1483cf,_0x4150cc,_0x18ae0f){return _0x58695c(_0x559452-0x17c,_0x1483cf- -_0x5eeff6._0x300556,_0x4150cc,_0x18ae0f-_0x5eeff6._0x50f3a0);}const _0x22362c=Date[_0x434411(-0x19d,-0x1ba,-_0x1a7694._0x52673a,-_0x1a7694._0x124394)]()-_0x191a32;function _0x58742c(_0x743d65,_0x3d3fe9,_0x413f65,_0x2dfd67){return _0x5b2f72(_0x743d65-0x44,_0x3d3fe9-_0x82a5ca._0x16bde6,_0x743d65-_0x82a5ca._0x1f56a8,_0x3d3fe9);}if(_0x58847c===0x2){_0x38a15f({'status':'block','output':{'decision':'block','reason':_0xa04c04[_0x434411(-_0x1a7694._0xcf916c,-_0x1a7694._0xcf916c,-0x1d1,-0x19f)]()||_0x58742c(_0x1a7694._0xa38e17,_0x1a7694._0x5d6c23,_0x1a7694._0x16db66,_0x1a7694._0x5d6c23)},'duration_ms':_0x22362c});return;}if(_0x58847c!==0x0){_0x38a15f({'status':_0x58742c(0x2fe,_0x1a7694._0x2f3ec5,0x312,0x2fe),'error':'Hook\x20exited\x20with\x20code\x20'+_0x58847c+(_0xa04c04[_0x434411(-0x1a3,-0x1b4,-0x19b,-_0x1a7694._0x7e17d2)]()?':\x20'+_0xa04c04[_0x58742c(_0x1a7694._0x25457f,_0x1a7694._0x43f1d1,0x2e7,0x2ce)]():''),'duration_ms':_0x22362c});return;}const _0x271ad7=_0x3694e6[_0x434411(-0x194,-0x1b4,-0x19c,-_0x1a7694._0x45b8db)]();if(_0x271ad7['length']===0x0){_0x38a15f({'status':_0x58742c(_0x1a7694._0x28be19,0x30a,_0x1a7694._0x464ddf,_0x1a7694._0x16ef33),'duration_ms':_0x22362c});return;}try{const _0xb639b1=JSON[_0x58742c(_0x1a7694._0x40783d,0x30f,_0x1a7694._0x4b5adf,0x318)](_0x271ad7);_0x38a15f({'status':_0x58742c(0x304,_0x1a7694._0x26f2a3,_0x1a7694._0x1a7e3b,_0x1a7694._0x3c195c),'output':_0xb639b1,'duration_ms':_0x22362c});}catch{_0x38a15f({'status':_0x58742c(0x304,_0x1a7694._0x725fd0,_0x1a7694._0x256876,0x2e3),'duration_ms':_0x22362c});}}),_0x30b489['on'](_0x58695c(0x500,_0x3ba2d3._0x353406,0x517,0x529),_0x455fbf=>{function _0x356cd4(_0x1ebba5,_0x414044,_0x470cac,_0xc5c859){return _0x5b2f72(_0x1ebba5-0x1a,_0x414044-0x1a0,_0x470cac-0x3a0,_0x414044);}clearTimeout(_0xc68e94);function _0x5aca66(_0x183769,_0x389c65,_0x5071f6,_0x481241){return _0x58695c(_0x183769-0xb9,_0x5071f6- -_0x390f0d._0x21f8d7,_0x389c65,_0x481241-_0x390f0d._0x495add);}_0x38a15f({'status':_0x5aca66(0x45f,_0x464387._0x5728b3,0x469,_0x464387._0x585763),'error':_0x455fbf[_0x356cd4(_0x464387._0x2ebc2b,_0x464387._0x2b2574,0x3ef,0x3d9)],'duration_ms':Date[_0x5aca66(_0x464387._0x56f1a8,_0x464387._0x216156,_0x464387._0x2056bb,0x456)]()-_0x191a32});});});}function createHookExtensions(_0x52df58,_0x42dbe4,_0x2d7fb4={}){const _0xba16c0={_0x18ecd6:0x2c,_0x1db1fc:0x1cb,_0x27bb6a:0x1b0,_0x7a1fa1:0x4e,_0x2452c9:0x5e,_0x35f03e:0x1dc,_0x2b377c:0x1e0,_0x302cd5:0x1c7,_0x464efb:0x1fc,_0x110066:0x218,_0x56a5c6:0x204,_0x18e62:0x74,_0x2b573d:0x45,_0x163cd8:0x5d,_0x4de936:0x1e9,_0xa437f9:0x1d8,_0x2ffa2c:0x36,_0x8927e2:0x4b,_0x3835c8:0x4c,_0x24c133:0x2f,_0x136260:0x205},_0x45ff4d={_0x17240d:0x14a,_0xfdefb2:0x15f,_0x36d78f:0x13a,_0x1b3255:0x133,_0x29f9da:0x2f4,_0x1098a7:0x312,_0x377692:0x2f3},_0x35f121={_0x5bd89b:0xe3},_0x1d94da={_0x49769a:0x56f,_0x4a2bbd:0x589,_0x5f0d31:0x54c,_0x37f10c:0x56e,_0x219477:0x58c,_0xbfd512:0x581,_0xdff208:0x4a,_0x50687a:0x4e,_0x202e44:0x24,_0x7c210d:0x18,_0x411d40:0x562,_0xa9cc51:0x590},_0x2b42bd={_0x531b57:0x1c8,_0xf775d4:0x17b},_0x50ad3c={_0x48d75e:0x193},_0x41c1b0={_0x88077d:0x1b,_0x2ea309:0x1a2,_0x1a8ee6:0x180,_0x2455e5:0x3f,_0x2bdc37:0x35,_0x3cb45a:0x1e1,_0x255b42:0x1bf,_0x13ac58:0x189,_0x467690:0x1a1},_0x196b61={_0x51d6d4:0x156,_0x2e801d:0x41},_0x29245b=[],{sessionId:_0x2ddf49,projectDir:_0x42beab}=_0x2d7fb4,_0xe19de7=_0x3e934c=>_0x52df58[_0x53c89f(0x1df,0x1e6,0x1e0,0x1e2)]?_0x52df58[_0x53c89f(0x1df,0x1ef,0x1d9,0x1bc)](_0x3e934c):_0x52df58['getHooks'](_0x3e934c)[_0x52fd04(0x5d,0x47,0x67,0x71)]>0x0;_0xe19de7(_0x52fd04(_0xba16c0._0x18ecd6,0x3a,0x3e,0x2e))&&_0x29245b[_0x53c89f(_0xba16c0._0x1db1fc,0x1ce,0x1e2,_0xba16c0._0x27bb6a)]({'id':'hook:PostToolUse','stage':_0x52fd04(_0xba16c0._0x7a1fa1,_0xba16c0._0x2452c9,0x5e,0x3f),'kind':'observer','order':0x0,'enabled':!![],'run':async(_0xf7d45e,_0xb7f97b)=>{const _0x5cb489={_0x296401:0x9a};function _0x25a02c(_0x2ed47e,_0x3dc450,_0x1a0540,_0x113ad1){return _0x52fd04(_0x2ed47e- -0x64,_0x1a0540,_0x1a0540-_0x5cb489._0x296401,_0x113ad1-0x87);}const _0x38fb5a=_0x52df58['getHooks']('PostToolUse',_0xf7d45e[_0x25a02c(-_0x41c1b0._0x88077d,-0x14,-0x1f,-0x8)]);function _0x3c29f0(_0x15779f,_0x267294,_0xd8effe,_0x36d676){return _0x52fd04(_0xd8effe-_0x196b61._0x51d6d4,_0x36d676,_0xd8effe-0x135,_0x36d676-_0x196b61._0x2e801d);}for(const _0x36b308 of _0x38fb5a){const _0x6dbf96={'tool_name':_0xf7d45e[_0x3c29f0(_0x41c1b0._0x2ea309,_0x41c1b0._0x1a8ee6,0x19f,0x18c)],'tool_input':void 0x0,'tool_output':_0xf7d45e[_0x25a02c(-0x26,-0x16,-_0x41c1b0._0x2455e5,-_0x41c1b0._0x2bdc37)],'tool_result_status':_0xf7d45e[_0x3c29f0(0x1cd,_0x41c1b0._0x3cb45a,_0x41c1b0._0x255b42,0x1d3)],'session_id':_0x2ddf49??_0xb7f97b['state'][_0x3c29f0(_0x41c1b0._0x13ac58,0x189,_0x41c1b0._0x467690,0x195)]};await _0x42dbe4(_0x36b308['command'],_0x6dbf96,_0x36b308['timeout'],_0x42beab);}}});function _0x53c89f(_0x4214d2,_0x32930a,_0x4992fa,_0x1ce929){return _0x2f45(_0x4214d2-0x2,_0x4992fa);}function _0x52fd04(_0x38484d,_0x37651f,_0xcec623,_0x3fece4){return _0x2f45(_0x38484d- -_0x50ad3c._0x48d75e,_0x37651f);}return _0xe19de7(_0x53c89f(_0xba16c0._0x35f03e,0x1f9,_0xba16c0._0x2b377c,_0xba16c0._0x302cd5))&&_0x29245b['push']({'id':_0x53c89f(_0xba16c0._0x464efb,0x1f3,_0xba16c0._0x110066,_0xba16c0._0x56a5c6),'stage':_0x52fd04(0x51,0x45,0x34,_0xba16c0._0x18e62),'kind':_0x52fd04(0x43,_0xba16c0._0x2b573d,0x27,_0xba16c0._0x163cd8),'order':0x0,'enabled':!![],'run':async(_0x19ebe4,_0x4b6126)=>{const _0x2e9651={_0x5deec4:0x392,_0x14a720:0xa7};function _0x4766a0(_0x24e88c,_0x5b749c,_0xfce4bf,_0x18625c){return _0x53c89f(_0x18625c- -_0x2b42bd._0x531b57,_0x5b749c-0x5d,_0x5b749c,_0x18625c-_0x2b42bd._0xf775d4);}function _0x41fd57(_0x39ffad,_0x436ab0,_0x46b78c,_0x40477a){return _0x53c89f(_0x436ab0-_0x2e9651._0x5deec4,_0x436ab0-_0x2e9651._0x14a720,_0x39ffad,_0x40477a-0xcf);}const _0x1cab7e=_0x52df58[_0x41fd57(0x554,_0x1d94da._0x49769a,0x54d,_0x1d94da._0x4a2bbd)](_0x41fd57(_0x1d94da._0x5f0d31,_0x1d94da._0x37f10c,0x56d,0x586));for(const _0x31ac02 of _0x1cab7e){const _0x1441c5={'stop_reason':_0x41fd57(_0x1d94da._0x219477,_0x1d94da._0xbfd512,0x56d,0x565),'session_id':_0x2ddf49??_0x4b6126[_0x4766a0(0x40,_0x1d94da._0xdff208,_0x1d94da._0x50687a,0x2d)][_0x4766a0(0x2d,_0x1d94da._0x202e44,_0x1d94da._0x7c210d,_0x1d94da._0x7c210d)]};await _0x42dbe4(_0x31ac02[_0x41fd57(0x55a,_0x1d94da._0x411d40,0x545,0x584)],_0x1441c5,_0x31ac02[_0x41fd57(0x565,0x56d,_0x1d94da._0x411d40,_0x1d94da._0xa9cc51)],_0x42beab);}}}),_0xe19de7(_0x53c89f(_0xba16c0._0x4de936,_0xba16c0._0xa437f9,0x1d5,0x1cf))&&_0x29245b[_0x52fd04(_0xba16c0._0x2ffa2c,_0xba16c0._0x8927e2,0x31,0x43)]({'id':_0x52fd04(_0xba16c0._0x3835c8,0x67,0x32,_0xba16c0._0x24c133),'stage':_0x53c89f(_0xba16c0._0x136260,0x21a,0x20e,_0xba16c0._0x4de936),'kind':_0x52fd04(0x43,0x4b,0x64,0x55),'order':0x0,'enabled':!![],'run':async(_0x471c9d,_0x232e9d)=>{const _0x4aa5c7={_0x5bb47a:0x124,_0x2a50e9:0x14};function _0xaaeedd(_0x4f5f35,_0x3f1e66,_0x277d95,_0x444d1b){return _0x52fd04(_0x277d95- -0x192,_0x444d1b,_0x277d95-0x1a3,_0x444d1b-_0x35f121._0x5bd89b);}const _0x48b8ca=_0x52df58[_0xaaeedd(-0x16d,-0x15a,-_0x45ff4d._0x17240d,-_0x45ff4d._0xfdefb2)]('Notification');function _0x2e3e46(_0x523fa7,_0x82a53f,_0x2e4701,_0x3ff767){return _0x53c89f(_0x523fa7-_0x4aa5c7._0x5bb47a,_0x82a53f-_0x4aa5c7._0x2a50e9,_0x3ff767,_0x3ff767-0xcd);}for(const _0x59e1b3 of _0x48b8ca){const _0x21e57f={'message':_0xaaeedd(-_0x45ff4d._0x36d78f,-0x11a,-_0x45ff4d._0x1b3255,-0x11d),'session_id':_0x2ddf49??_0x471c9d['sessionId']};await _0x42dbe4(_0x59e1b3[_0x2e3e46(_0x45ff4d._0x29f9da,0x316,_0x45ff4d._0x1098a7,_0x45ff4d._0x377692)],_0x21e57f,_0x59e1b3['timeout'],_0x42beab);}}}),_0x29245b;}function createHookOnToolCallMiddleware(_0x2d66b0,_0x5a6842,_0xb2f5ea,_0x5d74d2={}){const _0x405311={_0x466b7c:0x1d0,_0x30dc3c:0x1cd,_0x30bce7:0x1dc,_0x21e843:0x1c1,_0x5bdd75:0xf9,_0x4fae02:0xe1,_0xe2c892:0xfa,_0x21a5ca:0x1c0,_0x45c40b:0x1a4,_0x2f2281:0x110,_0xc0859:0xff,_0x5cf0a2:0xec,_0x253da8:0x1c2,_0x43e340:0x1b2,_0x43f7b2:0x1be,_0x30f21f:0xc9,_0x2d37bb:0xfe,_0x5d35da:0x10b,_0x19825e:0x1ab,_0x2b7969:0x19f,_0x4e798d:0x18d,_0x441e18:0x1ae,_0x25ca64:0x113,_0xfddc0f:0xd3,_0x1750c9:0xd5,_0x307491:0x119,_0x1b9036:0x10d,_0x1b067f:0xe9,_0xc92750:0xf1,_0x1b6b87:0xd1,_0x3083c6:0x1bd,_0xd4f74c:0x1a6,_0x48259e:0x1ae,_0x242ea0:0x1c0},_0x48f257={_0x1163a:0x389},{sessionId:_0x4e3918,projectDir:_0x1e4fbb}=_0x5d74d2;return async(_0xf15f17,_0x180670)=>{const _0x199c47=_0x2d66b0[_0x3fc44c(-0x1c0,-_0x405311._0x466b7c,-0x1ae,-0x1a3)](_0x3fc44c(-_0x405311._0x30dc3c,-_0x405311._0x30bce7,-_0x405311._0x21e843,-0x1c3),_0xf15f17['name']);for(const _0x56cc31 of _0x199c47){const _0x5e43ed={'tool_name':_0xf15f17[_0x3fc44c(-0x19a,-0x1af,-0x1a0,-0x1a4)],'tool_input':_0xf15f17[_0x3fc44c(-0x189,-0x19e,-0x1a1,-0x184)],'session_id':_0x4e3918},_0x1f4321=await _0x5a6842(_0x56cc31['command'],_0x5e43ed,_0x56cc31[_0x4473f9(-_0x405311._0x5bdd75,-_0x405311._0x4fae02,-0x102,-_0x405311._0xe2c892)],_0x1e4fbb),_0x314965=_0x1f4321['output']?.[_0x3fc44c(-_0x405311._0x21a5ca,-0x1ba,-_0x405311._0x45c40b,-0x1b2)]?.['permissionDecision'];if(_0x314965==='allow')break;if(_0x314965==='deny')return{'action':'reject','reason':_0x1f4321[_0x4473f9(-_0x405311._0x2f2281,-_0x405311._0xc0859,-0x10a,-_0x405311._0x5cf0a2)]?.[_0x3fc44c(-_0x405311._0x253da8,-_0x405311._0x43e340,-0x1a4,-_0x405311._0x43f7b2)]?.[_0x4473f9(-_0x405311._0x30f21f,-0xc8,-0xe6,-0x106)]||'Permission\x20denied\x20for\x20'+_0xf15f17[_0x4473f9(-_0x405311._0x2d37bb,-0x116,-0xf2,-_0x405311._0x5d35da)]};if(_0x1f4321[_0x3fc44c(-_0x405311._0x19825e,-_0x405311._0x2b7969,-_0x405311._0x4e798d,-_0x405311._0x441e18)]===_0x4473f9(-_0x405311._0x25ca64,-_0x405311._0xfddc0f,-0xf1,-_0x405311._0x1750c9)||_0x1f4321['output']?.[_0x4473f9(-0x122,-0x128,-_0x405311._0x307491,-_0x405311._0x1b9036)]===_0x4473f9(-_0x405311._0x1b067f,-0xdd,-_0x405311._0xc92750,-_0x405311._0x1b6b87))return{'action':_0x3fc44c(-_0x405311._0x3083c6,-_0x405311._0xd4f74c,-0x1a7,-0x1a2),'reason':_0x1f4321['output']?.['reason']||'Blocked\x20by\x20PreToolUse\x20hook\x20for\x20'+_0xf15f17[_0x3fc44c(-_0x405311._0x48259e,-0x17e,-0x1a0,-_0x405311._0x242ea0)]};}function _0x3fc44c(_0x2fe923,_0x324070,_0x339404,_0x27503f){return _0x2f45(_0x339404- -_0x48f257._0x1163a,_0x2fe923);}function _0x4473f9(_0x48583e,_0x44cd85,_0x48b98b,_0x3fb757){return _0x2f45(_0x48b98b- -0x2db,_0x44cd85);}return _0xb2f5ea(_0xf15f17,_0x180670);};}var DEFAULT_TIMEOUT_S2=0x3c;function createHookRegistry(_0x299109){const _0x1828c2={_0x167abe:0x1f6,_0xe3d7e4:0x1f7,_0x124c8:0xd4,_0x1ccf7c:0xda,_0x42acd6:0xc7,_0x26b2e5:0xb5,_0x2e079b:0xf5,_0xccc7b7:0x1bd,_0x2da810:0xe9,_0x199a02:0xd1,_0x3e3ea8:0xb3,_0x3d79ce:0xc4,_0x11933f:0x87,_0x2b67a4:0x93,_0x3446fb:0x92,_0x2f542d:0x7a,_0x445340:0x20b,_0x195a0c:0x1f4,_0xa6c9fc:0x200,_0x18021b:0xf6,_0x3e0795:0xb0,_0x43d867:0xd5},_0x360ce5={_0x4df278:0x297},_0x4aa631={_0x22f47b:0x2dc,_0x573048:0x2bd};return{'hasHooks'(_0x35e559){function _0x9a7f64(_0x3a07e8,_0x340450,_0x3518f0,_0x50466a){return _0x2f45(_0x340450-0xec,_0x3518f0);}return(_0x299109[_0x35e559]?.[_0x9a7f64(0x2eb,_0x4aa631._0x22f47b,0x2f6,_0x4aa631._0x573048)]??0x0)>0x0;},'getHooks'(_0x36f7bd,_0x294a6b){function _0x4cbca4(_0x1c15b1,_0x2f0e61,_0x32eb34,_0x5e088d){return _0x2f45(_0x2f0e61- -_0x360ce5._0x4df278,_0x32eb34);}function _0x579635(_0x3de6b0,_0x428413,_0x16aabe,_0x5808a3){return _0x2f45(_0x16aabe- -0x3bd,_0x428413);}const _0x30604b=_0x299109[_0x36f7bd];if(!_0x30604b)return[];const _0x339fb0=[];for(const _0x2972a6 of _0x30604b){if(!_0x2972a6['matcher']||_0x2972a6[_0x579635(-0x1ea,-_0x1828c2._0x167abe,-_0x1828c2._0xe3d7e4,-0x1f9)]==='*'){_0x339fb0['push'](..._0x2972a6[_0x4cbca4(-_0x1828c2._0x124c8,-0xc7,-_0x1828c2._0x1ccf7c,-_0x1828c2._0x42acd6)][_0x4cbca4(-0xd5,-0xd3,-_0x1828c2._0x26b2e5,-_0x1828c2._0x2e079b)](_0x1f4a44=>({'command':_0x1f4a44[_0x579635(-0x1f2,-0x212,-0x1ef,-0x1e9)],'timeout':_0x1f4a44['timeout']??DEFAULT_TIMEOUT_S2})));continue;}if(_0x294a6b===void 0x0)continue;const _0x3aa65f=new RegExp(_0x579635(-_0x1828c2._0xccc7b7,-0x1e7,-0x1d2,-0x1b6)+_0x2972a6[_0x4cbca4(-_0x1828c2._0x2da810,-_0x1828c2._0x199a02,-_0x1828c2._0x3e3ea8,-_0x1828c2._0x3d79ce)]+')$');_0x3aa65f[_0x4cbca4(-_0x1828c2._0x11933f,-_0x1828c2._0x2b67a4,-_0x1828c2._0x3446fb,-_0x1828c2._0x2f542d)](_0x294a6b)&&_0x339fb0[_0x579635(-0x210,-_0x1828c2._0x445340,-_0x1828c2._0x195a0c,-_0x1828c2._0xa6c9fc)](..._0x2972a6[_0x4cbca4(-_0x1828c2._0x124c8,-0xc7,-0xd7,-0xdf)][_0x4cbca4(-_0x1828c2._0x18021b,-0xd3,-_0x1828c2._0x3e0795,-_0x1828c2._0x43d867)](_0x4d575a=>({'command':_0x4d575a[_0x579635(-0x1fa,-0x1e2,-0x1ef,-0x20a)],'timeout':_0x4d575a[_0x4cbca4(-0xc9,-0xbe,-0xd5,-0xdc)]??DEFAULT_TIMEOUT_S2})));}return _0x339fb0;}};}export{createHookExtensions,createHookOnToolCallMiddleware,createHookRegistry,executeCommandHook};
|
package/dist/isolate/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2110(){var _0x31ecc9=['nZe1mJu3C3zlz2X5','mJrzDgPWtLK','ndK0mtKZANHMwKPV','mti2nteYofv2EuTPBq','nJi2nJzXvM5TwNC','nunSrg5yBq','mZu4mJu4qvLgDfLd','ntm5mMT6rfbJyW','mtm0mujNuvvzCa','mZG3mtu1mgXwvfP6AW'];_0x2110=function(){return _0x31ecc9;};return _0x2110();}function _0x56a1(_0x423634,_0x412025){_0x423634=_0x423634-0x127;var _0x2110be=_0x2110();var _0x56a148=_0x2110be[_0x423634];if(_0x56a1['tMhxDK']===undefined){var _0x33e0b5=function(_0xf14209){var _0x5391ea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x161bc9='',_0x2ad8da='';for(var _0x21d979=0x0,_0x421ba7,_0x481f9d,_0x45816f=0x0;_0x481f9d=_0xf14209['charAt'](_0x45816f++);~_0x481f9d&&(_0x421ba7=_0x21d979%0x4?_0x421ba7*0x40+_0x481f9d:_0x481f9d,_0x21d979++%0x4)?_0x161bc9+=String['fromCharCode'](0xff&_0x421ba7>>(-0x2*_0x21d979&0x6)):0x0){_0x481f9d=_0x5391ea['indexOf'](_0x481f9d);}for(var _0x377273=0x0,_0x199beb=_0x161bc9['length'];_0x377273<_0x199beb;_0x377273++){_0x2ad8da+='%'+('00'+_0x161bc9['charCodeAt'](_0x377273)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2ad8da);};_0x56a1['BJrukt']=_0x33e0b5,_0x56a1['VDErsL']={},_0x56a1['tMhxDK']=!![];}var _0xc9d77f=_0x2110be[0x0],_0x36cebd=_0x423634+_0xc9d77f,_0x498997=_0x56a1['VDErsL'][_0x36cebd];return!_0x498997?(_0x56a148=_0x56a1['BJrukt'](_0x56a148),_0x56a1['VDErsL'][_0x36cebd]=_0x56a148):_0x56a148=_0x498997,_0x56a148;}(function(_0x4ff33f,_0x2ae0d6){var _0x4212da={_0x56fc29:0x271,_0xa06434:0x273,_0x558089:0x31,_0x455761:0x30,_0x143277:0x26c,_0x9252b9:0x26d,_0x3a1673:0x272,_0x52a48d:0x272,_0x425c3b:0x28,_0x39cdca:0x2b,_0x5978e9:0x2b,_0x2c991a:0x2f,_0x1bfff3:0x32,_0x88cf5a:0x271,_0x6783bd:0x26d},_0x11ec47={_0x4b00bf:0x144},_0x50902e=_0x4ff33f();function _0x2aeb39(_0x15672b,_0x16abf5,_0x3ff3e8,_0x16bc3a){return _0x56a1(_0x15672b- -0x158,_0x16bc3a);}function _0x3b6212(_0x1666a2,_0x50197d,_0x5a5ebf,_0x280c3d){return _0x56a1(_0x280c3d-_0x11ec47._0x4b00bf,_0x1666a2);}while(!![]){try{var _0x19a5f1=-parseInt(_0x3b6212(_0x4212da._0x56fc29,0x26f,0x271,_0x4212da._0xa06434))/0x1+-parseInt(_0x2aeb39(-_0x4212da._0x558089,-0x2c,-_0x4212da._0x455761,-0x33))/0x2+parseInt(_0x3b6212(_0x4212da._0x143277,_0x4212da._0x9252b9,_0x4212da._0x3a1673,0x26f))/0x3+parseInt(_0x3b6212(0x271,_0x4212da._0xa06434,0x26e,_0x4212da._0x52a48d))/0x4*(parseInt(_0x2aeb39(-_0x4212da._0x425c3b,-_0x4212da._0x39cdca,-_0x4212da._0x5978e9,-0x2d))/0x5)+-parseInt(_0x2aeb39(-0x2c,-0x30,-0x2d,-0x31))/0x6*(-parseInt(_0x2aeb39(-0x2b,-0x2a,-_0x4212da._0x5978e9,-_0x4212da._0x2c991a))/0x7)+-parseInt(_0x2aeb39(-_0x4212da._0x455761,-_0x4212da._0x1bfff3,-_0x4212da._0x558089,-0x34))/0x8*(-parseInt(_0x3b6212(_0x4212da._0x56fc29,0x26c,0x26b,_0x4212da._0x9252b9))/0x9)+-parseInt(_0x3b6212(_0x4212da._0x88cf5a,_0x4212da._0x6783bd,0x26d,0x26e))/0xa;if(_0x19a5f1===_0x2ae0d6)break;else _0x50902e['push'](_0x50902e['shift']());}catch(_0xe2770c){_0x50902e['push'](_0x50902e['shift']());}}}(_0x2110,0x4b55d));import{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm}from'../chunk-EQGBU73Q.js';export{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm};
|