@nuvin/agent-core 0.2.0-rc.12 → 0.2.0-rc.13

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.
@@ -1 +1 @@
1
- (function(_0x118ab9,_0x513ca1){const _0x2671af={_0x2b67a8:0x5a5,_0x431689:0x5ac,_0x1454f0:0x5b5,_0x91bc9e:0x5b3,_0x41e641:0x5a8,_0x4d4a38:0x5b2,_0x209d7e:0x10f,_0x8fbd1e:0x11a,_0x480dfa:0x129,_0xf76acc:0x12f,_0x5cad2c:0x118,_0x2b1f85:0x5b7,_0x423b34:0x11b,_0x4ac14a:0x5a4,_0x32ff61:0x5af,_0x5cf584:0x119,_0x5bc0ff:0x124,_0x247ca1:0x117,_0x23616b:0x5be,_0x5de682:0x5b5,_0x5bfa1f:0x5c1,_0x3fdb0c:0x136,_0x4cd3c4:0x125,_0x4496d7:0x139},_0x49ff72={_0x1cf760:0x3c6};function _0x53947d(_0x95190b,_0x380622,_0x1ab1f6,_0x26694d){return _0x763d(_0x1ab1f6-_0x49ff72._0x1cf760,_0x380622);}function _0xa7281b(_0x124e78,_0x146228,_0x30e6f8,_0x103885){return _0x763d(_0x146228- -0x30c,_0x103885);}const _0x3dfcac=_0x118ab9();while(!![]){try{const _0x4104c7=parseInt(_0x53947d(0x5aa,_0x2671af._0x2b67a8,_0x2671af._0x431689,0x5ab))/0x1*(parseInt(_0x53947d(0x5bf,_0x2671af._0x1454f0,_0x2671af._0x91bc9e,0x5b5))/0x2)+-parseInt(_0x53947d(0x5b0,_0x2671af._0x41e641,_0x2671af._0x4d4a38,0x5b7))/0x3*(parseInt(_0xa7281b(-_0x2671af._0x209d7e,-_0x2671af._0x8fbd1e,-0x119,-0x110))/0x4)+-parseInt(_0xa7281b(-_0x2671af._0x480dfa,-0x125,-_0x2671af._0xf76acc,-_0x2671af._0x5cad2c))/0x5+parseInt(_0x53947d(0x5b0,0x5be,_0x2671af._0x2b1f85,0x5b1))/0x6*(parseInt(_0xa7281b(-_0x2671af._0x423b34,-_0x2671af._0x5cad2c,-0x119,-0x11f))/0x7)+-parseInt(_0x53947d(0x59d,0x59f,_0x2671af._0x4ac14a,_0x2671af._0x32ff61))/0x8+parseInt(_0xa7281b(-_0x2671af._0x5cf584,-0x123,-_0x2671af._0x5bc0ff,-_0x2671af._0x247ca1))/0x9+-parseInt(_0x53947d(0x5aa,_0x2671af._0x23616b,_0x2671af._0x5de682,_0x2671af._0x5bfa1f))/0xa*(-parseInt(_0xa7281b(-_0x2671af._0x3fdb0c,-0x12d,-_0x2671af._0x4cd3c4,-_0x2671af._0x4496d7))/0xb);if(_0x4104c7===_0x513ca1)break;else _0x3dfcac['push'](_0x3dfcac['shift']());}catch(_0x14426f){_0x3dfcac['push'](_0x3dfcac['shift']());}}}(_0x2294,0x4b06d));import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';function _0x2294(){const _0x437911=['mJntB2HjBwe','mtm2ntaWnunjreXhsq','CMvQzwn0','ndi1mte1u3vZv2PK','AxngAw5PDgu','CMvTB3zLqwjVCNrmAxn0zw5LCG','mJm5otfgAu15uNe','ntiWnZHpEfj6CMy','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','nJqZmhDSBw1oEG','AxnjBNrLz2vY','mJm3mZmWrgnvv2Pf','mJrrq2XhAMe','C3bSAwnL','mJfvvMHOt1C','ywjVCNrLza','CMvZB2X2zq','mZG3ndK0neH3uuL0wa','ntK1mw16vuHMBa','CMvHC29U','BgvUz3rO','y2fUy2vSBgvK','C2HPzNq','ChvZAa','Aw5KzxHpzG'];_0x2294=function(){return _0x437911;};return _0x2294();}import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function _0x763d(_0x489332,_0x27f6d7){_0x489332=_0x489332-0x1de;const _0x229401=_0x2294();let _0x763d01=_0x229401[_0x489332];if(_0x763d['pUJXvg']===undefined){var _0x5d8be9=function(_0x3b1d75){const _0x44b9da='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37a10e='',_0x2a45f8='';for(let _0x39acf9=0x0,_0x3cdbae,_0x4a2230,_0x14b1dc=0x0;_0x4a2230=_0x3b1d75['charAt'](_0x14b1dc++);~_0x4a2230&&(_0x3cdbae=_0x39acf9%0x4?_0x3cdbae*0x40+_0x4a2230:_0x4a2230,_0x39acf9++%0x4)?_0x37a10e+=String['fromCharCode'](0xff&_0x3cdbae>>(-0x2*_0x39acf9&0x6)):0x0){_0x4a2230=_0x44b9da['indexOf'](_0x4a2230);}for(let _0x8b6dbd=0x0,_0x4274b7=_0x37a10e['length'];_0x8b6dbd<_0x4274b7;_0x8b6dbd++){_0x2a45f8+='%'+('00'+_0x37a10e['charCodeAt'](_0x8b6dbd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2a45f8);};_0x763d['MEKDAT']=_0x5d8be9,_0x763d['njuuBS']={},_0x763d['pUJXvg']=!![];}const _0x5e310d=_0x229401[0x0],_0x458e5f=_0x489332+_0x5e310d,_0x3eda89=_0x763d['njuuBS'][_0x458e5f];return!_0x3eda89?(_0x763d01=_0x763d['MEKDAT'](_0x763d01),_0x763d['njuuBS'][_0x458e5f]=_0x763d01):_0x763d01=_0x3eda89,_0x763d01;}function createAbortAwareSemaphore(_0x37a10e){const _0x51d018={_0x26f3d8:0x1e7,_0x4d44d9:0x1f1,_0x2af31c:0x1f3,_0x54612b:0x1e8,_0x44dd1c:0x1f0,_0x23e928:0x2c4},_0x3aac24={_0x5d079c:0xd4,_0x105fc4:0xd3,_0x53ddc3:0xe3,_0x5b553f:0xc7,_0x34e0a2:0xd5},_0x564a7f={_0x4a0efa:0x532,_0x54f5d2:0x534},_0x1bb071={_0x2f3874:0x1a1},_0x546fc3={_0x102ce9:0x239},_0x95ce1={_0x390aa1:0x277,_0x3d62a1:0x27e,_0x232de7:0x34f,_0x75206a:0x34a,_0x5548c0:0x278,_0x288b68:0x27d,_0x29091a:0x27e,_0x12fc6b:0x277,_0x2db9d7:0x294},_0x38819d={_0x3e7816:0x32},_0x264871={_0x511aaa:0xcc,_0x3cafad:0x14c};function _0x502dba(_0x5b1028,_0x1970d7,_0x490364,_0x5a5641){return _0x763d(_0x5a5641-0x0,_0x490364);}if(!Number[_0x502dba(0x1e9,_0x51d018._0x26f3d8,_0x51d018._0x4d44d9,0x1ea)](_0x37a10e)||!Number[_0x502dba(_0x51d018._0x2af31c,0x1f1,_0x51d018._0x54612b,_0x51d018._0x44dd1c)](_0x37a10e)||_0x37a10e<=0x0)throw new Error(_0x205ca7(_0x51d018._0x23e928,0x2c7,0x2c5,0x2c9));let _0x2a45f8=0x0;const _0x39acf9=[],_0x3cdbae=()=>{let _0x14b1dc=![];return()=>{if(_0x14b1dc)return;_0x14b1dc=!![],_0x2a45f8-=0x1,_0x4a2230();};};function _0x205ca7(_0x5c2d11,_0x46f57f,_0x825015,_0x282935){return _0x763d(_0x282935-0xdb,_0x5c2d11);}const _0x4a2230=()=>{function _0x43d343(_0x5d396f,_0x56e47b,_0x378440,_0xecdb22){return _0x205ca7(_0x378440,_0x56e47b-_0x264871._0x511aaa,_0x378440-_0x264871._0x3cafad,_0x5d396f- -0x45);}function _0x5f2d53(_0x878dc4,_0x344598,_0x30674d,_0x43b7da){return _0x205ca7(_0x878dc4,_0x344598-0x8,_0x30674d-_0x38819d._0x3e7816,_0x30674d-0x92);}while(_0x39acf9[_0x43d343(_0x95ce1._0x390aa1,0x27b,0x26a,_0x95ce1._0x3d62a1)]>0x0){const _0x8b6dbd=_0x39acf9[_0x5f2d53(0x343,_0x95ce1._0x232de7,0x350,_0x95ce1._0x75206a)]();if(!_0x8b6dbd||_0x8b6dbd['cancelled'])continue;_0x8b6dbd[_0x43d343(_0x95ce1._0x5548c0,_0x95ce1._0x288b68,_0x95ce1._0x29091a,_0x95ce1._0x12fc6b)]=!![],_0x8b6dbd['removeAbortListener'](),_0x2a45f8+=0x1,_0x8b6dbd[_0x43d343(0x28c,0x285,0x294,_0x95ce1._0x2db9d7)](_0x3cdbae());return;}};return{'acquire'(_0x4274b7){const _0x373461={_0x3b98fe:0x11e,_0x573f71:0x4f3,_0x49176c:0x504,_0x338c9b:0x4fe,_0x520bcb:0x50c,_0x33662c:0x507,_0x3b9c13:0x500,_0x3461f0:0x4f4,_0x4ea7d2:0x501,_0x16c070:0x109,_0x3550b5:0x10d,_0x44ea0d:0x113,_0x12a0a1:0x11b,_0x11ede3:0x11f},_0x1b5575={_0x1e823e:0xa2};function _0x3c77ce(_0x4cd203,_0x386b1a,_0x11098b,_0x1438ae){return _0x502dba(_0x4cd203-0xb1,_0x386b1a-0x176,_0x1438ae,_0x386b1a-_0x546fc3._0x102ce9);}if(_0x4274b7?.[_0x5cf547(-_0x3aac24._0x5d079c,-_0x3aac24._0x105fc4,-0xe1,-0xdc)])return Promise[_0x5cf547(-0xe1,-_0x3aac24._0x53ddc3,-0xe3,-0xe0)](toAbortError(_0x4274b7['reason']));if(_0x2a45f8<_0x37a10e)return _0x2a45f8+=0x1,Promise[_0x5cf547(-0xd3,-0xde,-_0x3aac24._0x5b553f,-_0x3aac24._0x34e0a2)](_0x3cdbae());function _0x5cf547(_0x1fdb7d,_0x272b8c,_0x4fb5b7,_0x25d532){return _0x205ca7(_0x272b8c,_0x272b8c-_0x1bb071._0x2f3874,_0x4fb5b7-0x172,_0x1fdb7d- -0x3a4);}return new Promise((_0x3211b6,_0x1dbea8)=>{const _0x4969de={_0x57b582:0x124,_0x3fb031:0x650},_0x5862d0={_0x285a27:0x84},_0x53a8d7={'resolve':_0x3211b6,'reject':_0x1dbea8,'cancelled':![],'removeAbortListener':()=>{}};_0x39acf9[_0x287733(0x53c,_0x564a7f._0x4a0efa,0x52a,_0x564a7f._0x54f5d2)](_0x53a8d7);function _0x287733(_0x33af37,_0x4e7944,_0x20b36e,_0x277c61){return _0x5cf547(_0x277c61-0x619,_0x20b36e,_0x20b36e-0x3e,_0x277c61-_0x1b5575._0x1e823e);}_0x53a8d7['removeAbortListener']=addAbortListener(_0x4274b7,()=>{if(_0x53a8d7[_0x3b7572(-_0x373461._0x3b98fe,-0x11c,-0x129,-0x121)])return;_0x53a8d7[_0x28c3aa(0x4f3,_0x373461._0x573f71,_0x373461._0x49176c,0x4fe)]=!![],_0x53a8d7[_0x28c3aa(_0x373461._0x338c9b,_0x373461._0x520bcb,0x50d,_0x373461._0x33662c)]();const _0x5d04d1=_0x39acf9[_0x28c3aa(_0x373461._0x3b9c13,0x501,_0x373461._0x3461f0,_0x373461._0x4ea7d2)](_0x53a8d7);function _0x28c3aa(_0xe8e8f2,_0x107de4,_0x2947c8,_0x57c2fd){return _0x287733(_0xe8e8f2-0x1de,_0x107de4-_0x5862d0._0x285a27,_0x107de4,_0x57c2fd- -0x34);}function _0x3b7572(_0x5716ba,_0x1bc043,_0x4f8af0,_0x4f56d2){return _0x287733(_0x5716ba-0x116,_0x1bc043-_0x4969de._0x57b582,_0x4f56d2,_0x5716ba- -_0x4969de._0x3fb031);}if(_0x5d04d1>=0x0)_0x39acf9[_0x3b7572(-0x10d,-_0x373461._0x16c070,-_0x373461._0x3550b5,-_0x373461._0x44ea0d)](_0x5d04d1,0x1);_0x53a8d7['reject'](toAbortError(_0x4274b7?.[_0x3b7572(-0x120,-0x129,-_0x373461._0x12a0a1,-_0x373461._0x11ede3)]));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};
1
+ (function(_0x471d08,_0xb70432){const _0x2c7a1d={_0x23e542:0x465,_0x924ae5:0x45b,_0x5e024d:0x452,_0x1a8145:0x453,_0x70513b:0x9f,_0x308895:0x91,_0x2d677a:0x9d,_0x2ea4a4:0x91,_0x3416e9:0x8e,_0x30557c:0x9f,_0x23e27e:0x95,_0x277adc:0x8d,_0x5dcbd8:0x463,_0x3e65f3:0x457,_0xde10b4:0x9d,_0x5946ab:0x45c,_0x96da6f:0x450,_0x2e3ca6:0x44e},_0x454bb4={_0x507b7a:0x26d},_0x2229e9={_0x264e32:0x27d};function _0x161b68(_0x354f3d,_0x2c8f76,_0x206443,_0x40b1ba){return _0x539e(_0x40b1ba- -_0x2229e9._0x264e32,_0x206443);}function _0xb19516(_0x33e37a,_0x5caea7,_0x2a7321,_0x5f63db){return _0x539e(_0x33e37a-_0x454bb4._0x507b7a,_0x5caea7);}const _0x1d8c70=_0x471d08();while(!![]){try{const _0x3fdbed=parseInt(_0xb19516(0x45d,0x461,_0x2c7a1d._0x23e542,_0x2c7a1d._0x924ae5))/0x1*(-parseInt(_0xb19516(0x44a,_0x2c7a1d._0x5e024d,_0x2c7a1d._0x1a8145,0x43f))/0x2)+-parseInt(_0x161b68(-_0x2c7a1d._0x70513b,-0xa2,-0x94,-0x9f))/0x3*(-parseInt(_0x161b68(-_0x2c7a1d._0x308895,-0xa2,-_0x2c7a1d._0x2d677a,-0x98))/0x4)+parseInt(_0x161b68(-_0x2c7a1d._0x2ea4a4,-_0x2c7a1d._0x3416e9,-0x93,-0x96))/0x5+parseInt(_0x161b68(-0x93,-_0x2c7a1d._0x30557c,-0x8f,-0x99))/0x6+-parseInt(_0x161b68(-_0x2c7a1d._0x23e27e,-_0x2c7a1d._0x277adc,-_0x2c7a1d._0x2d677a,-0x94))/0x7+-parseInt(_0xb19516(0x45a,_0x2c7a1d._0x5dcbd8,0x453,_0x2c7a1d._0x3e65f3))/0x8*(parseInt(_0x161b68(-0x9a,-0xa5,-0xa7,-_0x2c7a1d._0xde10b4))/0x9)+-parseInt(_0xb19516(_0x2c7a1d._0x5946ab,0x454,0x45e,0x465))/0xa*(-parseInt(_0xb19516(_0x2c7a1d._0x96da6f,0x459,0x459,_0x2c7a1d._0x2e3ca6))/0xb);if(_0x3fdbed===_0xb70432)break;else _0x1d8c70['push'](_0x1d8c70['shift']());}catch(_0x7c7411){_0x1d8c70['push'](_0x1d8c70['shift']());}}}(_0x3cca,0x48548));function _0x539e(_0xf8c62c,_0x56a472){_0xf8c62c=_0xf8c62c-0x1dc;const _0x3cca3e=_0x3cca();let _0x539ee1=_0x3cca3e[_0xf8c62c];if(_0x539e['KkndTQ']===undefined){var _0x21291a=function(_0x13a61f){const _0x3f078f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x15de8d='',_0x581a9d='';for(let _0x1d7050=0x0,_0x5afd4e,_0x2a4c0e,_0x1de006=0x0;_0x2a4c0e=_0x13a61f['charAt'](_0x1de006++);~_0x2a4c0e&&(_0x5afd4e=_0x1d7050%0x4?_0x5afd4e*0x40+_0x2a4c0e:_0x2a4c0e,_0x1d7050++%0x4)?_0x15de8d+=String['fromCharCode'](0xff&_0x5afd4e>>(-0x2*_0x1d7050&0x6)):0x0){_0x2a4c0e=_0x3f078f['indexOf'](_0x2a4c0e);}for(let _0x60b626=0x0,_0x392c80=_0x15de8d['length'];_0x60b626<_0x392c80;_0x60b626++){_0x581a9d+='%'+('00'+_0x15de8d['charCodeAt'](_0x60b626)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x581a9d);};_0x539e['gQsjoD']=_0x21291a,_0x539e['NHToEu']={},_0x539e['KkndTQ']=!![];}const _0x25e5d1=_0x3cca3e[0x0],_0x454358=_0xf8c62c+_0x25e5d1,_0xf72993=_0x539e['NHToEu'][_0x454358];return!_0xf72993?(_0x539ee1=_0x539e['gQsjoD'](_0x539ee1),_0x539e['NHToEu'][_0x454358]=_0x539ee1):_0x539ee1=_0xf72993,_0x539ee1;}import{modelIdentityFromParts}from'../chunk-D5IVWJHX.js';function _0x3cca(){const _0x49e4da=['AxngAw5PDgu','mJG4mJa2ohDYzez6uW','Bwf4q29Uy3vYCMvUy3KGBxvZDcbIzsbHigzPBML0zsbWB3nPDgL2zsbPBNrLz2vY','CMvQzwn0','BgvUz3rO','mti4weP3EvzM','CMvTB3zLqwjVCNrmAxn0zw5LCG','mJe5ntGYmhHZwvnACa','mZuZrxDtu0n1','C3bSAwnL','y2fUy2vSBgvK','mtC3ohLZALrmza','nteZmdLPCu1pvgm','ywjVCNrLza','mtC4nduYsgfsv3zg','CMvHC29U','CMvZB2X2zq','mZnMCvDZDxm','odu2ntu0rfL6C3fc','nfPyy1fQvG','ChvZAa','mJyWmJiYnxHOBefvAa'];_0x3cca=function(){return _0x49e4da;};return _0x3cca();}import{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig}from'../chunk-IUZALP6K.js';import{TurnFailedError}from'../chunk-FFIZ6TKW.js';import{OperationAbortedError,addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';function createAbortAwareSemaphore(_0x15de8d){const _0x6dec0={_0x40150e:0x543,_0x156cf1:0x551,_0x32885b:0x548,_0x3674dd:0x35,_0x42c4e8:0x30,_0x469e7a:0x34},_0x1c3e0b={_0xc0ca26:0x415,_0x2a266b:0x410,_0x1ecbf1:0x40b,_0xe65580:0x1d7,_0x374adf:0x1d5,_0x10124a:0x40e},_0x37939f={_0x1e0cd4:0x66},_0x2c0e03={_0x49ceb0:0x11e,_0x58c365:0xff,_0x3bc200:0x365},_0x319c51={_0x4a101b:0x440,_0x1ff362:0x42c,_0x2d9eb5:0xa2,_0x45f9c8:0x9d,_0x21788d:0x436},_0x4ffa7e={_0x1b4421:0x96,_0x3518c1:0xce},_0x5e5548={_0x456903:0x360};function _0x552ee1(_0x4300a4,_0x2f956f,_0x7f099f,_0x2d83ac){return _0x539e(_0x2d83ac-_0x5e5548._0x456903,_0x4300a4);}if(!Number[_0x552ee1(0x542,_0x6dec0._0x40150e,_0x6dec0._0x156cf1,_0x6dec0._0x32885b)](_0x15de8d)||!Number['isInteger'](_0x15de8d)||_0x15de8d<=0x0)throw new Error(_0x29b867(0x2f,_0x6dec0._0x3674dd,_0x6dec0._0x42c4e8,_0x6dec0._0x469e7a));let _0x581a9d=0x0;const _0x1d7050=[];function _0x29b867(_0x39d4ac,_0x58c9e3,_0x16b20e,_0x2f5f3a){return _0x539e(_0x2f5f3a- -0x1b6,_0x39d4ac);}const _0x5afd4e=()=>{let _0x1de006=![];return()=>{if(_0x1de006)return;_0x1de006=!![],_0x581a9d-=0x1,_0x2a4c0e();};},_0x2a4c0e=()=>{const _0x49b61e={_0x1e3954:0x136};function _0x449c4a(_0x70a07d,_0x2b6a22,_0x368613,_0xea42bd){return _0x29b867(_0x368613,_0x2b6a22-0x64,_0x368613-_0x4ffa7e._0x1b4421,_0xea42bd- -_0x4ffa7e._0x3518c1);}function _0x947edd(_0x48e9ca,_0x271d5e,_0x48d420,_0x159da6){return _0x552ee1(_0x48d420,_0x271d5e-0x113,_0x48d420-_0x49b61e._0x1e3954,_0x48e9ca- -0x110);}while(_0x1d7050[_0x947edd(0x43c,0x436,0x432,_0x319c51._0x4a101b)]>0x0){const _0x60b626=_0x1d7050['shift']();if(!_0x60b626||_0x60b626[_0x947edd(_0x319c51._0x1ff362,0x425,0x428,0x433)])continue;_0x60b626[_0x449c4a(-_0x319c51._0x2d9eb5,-0xa3,-_0x319c51._0x45f9c8,-0xa8)]=!![],_0x60b626[_0x947edd(0x43e,0x440,0x438,_0x319c51._0x21788d)](),_0x581a9d+=0x1,_0x60b626['resolve'](_0x5afd4e());return;}};return{'acquire'(_0x392c80){const _0x100286={_0x4800e0:0x125},_0x43b8ed={_0x27d18c:0x82,_0x4da010:0x7f,_0x24eb16:0x7e,_0x2d647c:0x7e,_0x590880:0x7b,_0x356ae3:0x58,_0x19c054:0x5e,_0xdab0f8:0x56,_0x3e4fe1:0x65,_0xe0949b:0x6f,_0x51316:0x70,_0x3e8e78:0x78};if(_0x392c80?.[_0xddd572(_0x1c3e0b._0xc0ca26,0x416,_0x1c3e0b._0x2a266b,_0x1c3e0b._0x1ecbf1)])return Promise['reject'](toAbortError(_0x392c80[_0x57b129(_0x1c3e0b._0xe65580,_0x1c3e0b._0x374adf,0x1dc,0x1d1)]));if(_0x581a9d<_0x15de8d)return _0x581a9d+=0x1,Promise[_0xddd572(0x405,0x414,0x411,_0x1c3e0b._0x10124a)](_0x5afd4e());function _0x57b129(_0x4e0069,_0x395d17,_0x1cd4e5,_0x37a812){return _0x552ee1(_0x37a812,_0x395d17-_0x2c0e03._0x49ceb0,_0x1cd4e5-_0x2c0e03._0x58c365,_0x1cd4e5- -_0x2c0e03._0x3bc200);}function _0xddd572(_0x4e0dd9,_0x4cc4c6,_0x33b28a,_0x212f7a){return _0x552ee1(_0x33b28a,_0x4cc4c6-_0x37939f._0x1e0cd4,_0x33b28a-0xa7,_0x212f7a- -0x134);}return new Promise((_0x4903d4,_0x2eb7e3)=>{const _0x2590b3={_0x2de9ea:0x1b4,_0x502e2b:0xa2},_0xe1973c={_0x47549a:0xb7},_0x5e15c1={'resolve':_0x4903d4,'reject':_0x2eb7e3,'cancelled':![],'removeAbortListener':()=>{}};function _0x39fd17(_0x3d90a4,_0x33fa4f,_0x4f21b2,_0x218f94){return _0x57b129(_0x3d90a4-0x11b,_0x33fa4f-0x4f,_0x4f21b2- -_0xe1973c._0x47549a,_0x218f94);}_0x1d7050[_0x39fd17(_0x100286._0x4800e0,0x12e,0x12a,0x129)](_0x5e15c1),_0x5e15c1['removeAbortListener']=addAbortListener(_0x392c80,()=>{if(_0x5e15c1[_0x573d90(_0x43b8ed._0x27d18c,_0x43b8ed._0x4da010,_0x43b8ed._0x24eb16,0x78)])return;_0x5e15c1[_0x573d90(0x77,0x7f,_0x43b8ed._0x2d647c,_0x43b8ed._0x590880)]=!![],_0x5e15c1[_0x51dbee(-0x62,-_0x43b8ed._0x356ae3,-_0x43b8ed._0x19c054,-0x5b)]();function _0x573d90(_0x2a091f,_0x1c370f,_0x1a11e4,_0x4b1bf6){return _0x39fd17(_0x2a091f-_0x2590b3._0x2de9ea,_0x1c370f-0x1a9,_0x1a11e4- -_0x2590b3._0x502e2b,_0x1c370f);}const _0x471d80=_0x1d7050['indexOf'](_0x5e15c1);if(_0x471d80>=0x0)_0x1d7050[_0x51dbee(-0x5f,-_0x43b8ed._0xdab0f8,-0x69,-0x59)](_0x471d80,0x1);function _0x51dbee(_0x2fc720,_0x3d131d,_0x55ce87,_0x430caa){return _0x39fd17(_0x2fc720-0xfc,_0x3d131d-0x1b6,_0x2fc720- -0x194,_0x55ce87);}_0x5e15c1[_0x51dbee(-_0x43b8ed._0x3e4fe1,-_0x43b8ed._0xe0949b,-0x5b,-0x65)](toAbortError(_0x392c80?.[_0x51dbee(-0x6f,-_0x43b8ed._0x51316,-_0x43b8ed._0x3e8e78,-0x6c)]));});});}};}export{OperationAbortedError,TurnFailedError,addAbortListener,createAbortAwareSemaphore,isAbortError,modelIdentityFromParts,resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig,throwIfAborted,toAbortError};