@nuvin/agent-core 0.4.0-rc.4 → 0.4.0-rc.5

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 _0x2dd8(){var _0x3f5e0a=['mKTkuNLkyW','yw50AhjVCgLJ','nde5nJuYvfzZD29Z','B3bLBMfP','mtmZndC1nevwCu1jrq','mtC5mdb2BwPYrfa','nZiYodi0zKH0AvDQ','mJGWzeXQz1vV','mti3mJG0nxHtrufPwa','mJK3nJa4nePJD2z6rW','mZG4nJrctNLXDge','y29KzxG'];_0x2dd8=function(){return _0x3f5e0a;};return _0x2dd8();}(function(_0x3afb30,_0x2d7a7e){var _0x5e9d50={_0x3820ae:0x31a,_0xe10718:0x31c,_0x24a459:0x31b,_0x3831ca:0x322,_0x421ced:0x322,_0x6e7016:0x31c,_0xf7fda3:0x12e,_0x1046b3:0x12c,_0xc5b00:0x324,_0x2450ba:0x32a,_0x176838:0x321,_0x4b6654:0x325,_0x53b3b4:0x327,_0x526477:0x127,_0x46be49:0x122,_0x900a6a:0x128},_0x3987f6={_0x5dd827:0x2f7};function _0x1185a8(_0x5597c2,_0x1b001d,_0x2d689c,_0x435187){return _0x1e4c(_0x5597c2-0x154,_0x435187);}function _0x39d33b(_0xe2e6c0,_0x50daeb,_0x41d2ff,_0x5c140d){return _0x1e4c(_0x5c140d- -_0x3987f6._0x5dd827,_0xe2e6c0);}var _0x42c839=_0x3afb30();while(!![]){try{var _0x5798e4=-parseInt(_0x1185a8(0x31f,0x322,_0x5e9d50._0x3820ae,0x31c))/0x1+parseInt(_0x39d33b(-0x12c,-0x137,-0x135,-0x131))/0x2*(parseInt(_0x1185a8(_0x5e9d50._0xe10718,_0x5e9d50._0xe10718,_0x5e9d50._0x24a459,0x319))/0x3)+parseInt(_0x1185a8(0x320,0x321,_0x5e9d50._0x3831ca,0x324))/0x4+-parseInt(_0x1185a8(_0x5e9d50._0x421ced,0x327,_0x5e9d50._0x6e7016,0x328))/0x5+parseInt(_0x39d33b(-_0x5e9d50._0xf7fda3,-0x127,-_0x5e9d50._0x1046b3,-0x12d))/0x6+parseInt(_0x1185a8(_0x5e9d50._0xc5b00,0x324,0x326,_0x5e9d50._0x2450ba))/0x7*(parseInt(_0x1185a8(_0x5e9d50._0x176838,0x324,_0x5e9d50._0x4b6654,_0x5e9d50._0x53b3b4))/0x8)+-parseInt(_0x39d33b(-_0x5e9d50._0x526477,-0x12e,-_0x5e9d50._0x46be49,-_0x5e9d50._0x900a6a))/0x9;if(_0x5798e4===_0x2d7a7e)break;else _0x42c839['push'](_0x42c839['shift']());}catch(_0x1735f0){_0x42c839['push'](_0x42c839['shift']());}}}(_0x2dd8,0x20c50));function resolveAnthropicReasoningConfig(_0x44b5c8){var _0x52f8a8={_0x24b976:0x148,_0x5c66fd:0x146,_0x5363be:0x14d,_0x78ea9a:0x8d,_0x3385bd:0x8b};function _0x59651c(_0xc5094d,_0x5681d9,_0x100c09,_0x456c93){return _0x1e4c(_0x100c09- -0x7f,_0xc5094d);}function _0x2ee132(_0x5ea79f,_0x22bc71,_0x19572f,_0x2b54b2){return _0x1e4c(_0x2b54b2- -0x254,_0x5ea79f);}return _0x44b5c8?.[_0x59651c(_0x52f8a8._0x24b976,_0x52f8a8._0x5c66fd,_0x52f8a8._0x24b976,_0x52f8a8._0x5363be)]?structuredClone(_0x44b5c8[_0x2ee132(-_0x52f8a8._0x78ea9a,-_0x52f8a8._0x3385bd,-0x87,-0x8d)]):void 0x0;}function _0x1e4c(_0x3e08e4,_0x303f53){_0x3e08e4=_0x3e08e4-0x1c6;var _0x2dd867=_0x2dd8();var _0x1e4ca2=_0x2dd867[_0x3e08e4];if(_0x1e4c['DmIbkP']===undefined){var _0xa270a=function(_0x4ccfc8){var _0x466c1f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x44b5c8='',_0x4fe118='';for(var _0x3a2c1e=0x0,_0x2c8265,_0x48887f,_0x4fc891=0x0;_0x48887f=_0x4ccfc8['charAt'](_0x4fc891++);~_0x48887f&&(_0x2c8265=_0x3a2c1e%0x4?_0x2c8265*0x40+_0x48887f:_0x48887f,_0x3a2c1e++%0x4)?_0x44b5c8+=String['fromCharCode'](0xff&_0x2c8265>>(-0x2*_0x3a2c1e&0x6)):0x0){_0x48887f=_0x466c1f['indexOf'](_0x48887f);}for(var _0x2797e0=0x0,_0x573302=_0x44b5c8['length'];_0x2797e0<_0x573302;_0x2797e0++){_0x4fe118+='%'+('00'+_0x44b5c8['charCodeAt'](_0x2797e0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4fe118);};_0x1e4c['RlcDfr']=_0xa270a,_0x1e4c['HzDPux']={},_0x1e4c['DmIbkP']=!![];}var _0x1fcfa1=_0x2dd867[0x0],_0xebd153=_0x3e08e4+_0x1fcfa1,_0x2f450d=_0x1e4c['HzDPux'][_0xebd153];return!_0x2f450d?(_0x1e4ca2=_0x1e4c['RlcDfr'](_0x1e4ca2),_0x1e4c['HzDPux'][_0xebd153]=_0x1e4ca2):_0x1e4ca2=_0x2f450d,_0x1e4ca2;}function resolveOpenAiReasoningConfig(_0x4fe118){var _0x42e7c2={_0x46ef8f:0x50e,_0x1ef52b:0x511,_0x4ff03d:0x514,_0x46dfa2:0x515,_0x59d3ab:0x511,_0x36d1f8:0x508,_0xfd577f:0x50e,_0x583c93:0x50a};function _0x15cfe6(_0x174fc3,_0x19336f,_0xf49fac,_0x4a3fdc){return _0x1e4c(_0xf49fac-0x343,_0x4a3fdc);}if(_0x4fe118?.[_0x15cfe6(_0x42e7c2._0x46ef8f,_0x42e7c2._0x1ef52b,_0x42e7c2._0x4ff03d,0x511)])return structuredClone(_0x4fe118[_0x15cfe6(0x50f,_0x42e7c2._0x46dfa2,_0x42e7c2._0x4ff03d,0x50f)]);function _0x13f711(_0x2a3492,_0x3203d1,_0x2b9fbd,_0x4c5ecf){return _0x1e4c(_0x2a3492-0x387,_0x3203d1);}return _0x4fe118?.[_0x15cfe6(0x50e,0x50b,0x50c,_0x42e7c2._0x59d3ab)]?structuredClone(_0x4fe118[_0x15cfe6(_0x42e7c2._0x36d1f8,_0x42e7c2._0xfd577f,0x50c,_0x42e7c2._0x583c93)]):void 0x0;}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
1
+ (function(_0x1b58c2,_0x1f1593){var _0x780bc2={_0x3db159:0x463,_0x4515fe:0x46b,_0x4d11f7:0x462,_0x47f06f:0x468,_0x5860e6:0x328,_0x1dbfc7:0x329,_0x2a092d:0x32f,_0x18e3e0:0x46d,_0x5a8d49:0x465,_0x3a8a77:0x462,_0x318082:0x45f,_0x27bad6:0x32c,_0x4a8aef:0x326,_0x1dcfa0:0x320,_0x44b770:0x32e,_0x2e675b:0x32d,_0x513963:0x32e,_0x2c1ae0:0x469};function _0x4c3516(_0x59e9ea,_0x58cbef,_0x1f86c7,_0x90c3b){return _0x4c53(_0x90c3b-0x3e1,_0x1f86c7);}var _0x3f2eb9=_0x1b58c2();function _0x48789c(_0x150aef,_0x1a8e9f,_0x1a17cd,_0x3622fa){return _0x4c53(_0x1a17cd-0x2a7,_0x3622fa);}while(!![]){try{var _0x5419cf=parseInt(_0x4c3516(0x466,_0x780bc2._0x3db159,0x465,0x466))/0x1+parseInt(_0x4c3516(_0x780bc2._0x4515fe,_0x780bc2._0x4d11f7,0x466,_0x780bc2._0x47f06f))/0x2*(-parseInt(_0x48789c(_0x780bc2._0x5860e6,0x320,0x325,0x322))/0x3)+-parseInt(_0x48789c(_0x780bc2._0x1dbfc7,0x32b,0x32b,_0x780bc2._0x2a092d))/0x4+parseInt(_0x4c3516(_0x780bc2._0x18e3e0,_0x780bc2._0x47f06f,_0x780bc2._0x5a8d49,0x46a))/0x5*(-parseInt(_0x4c3516(_0x780bc2._0x3a8a77,0x462,_0x780bc2._0x318082,0x464))/0x6)+parseInt(_0x48789c(_0x780bc2._0x5860e6,_0x780bc2._0x27bad6,_0x780bc2._0x4a8aef,_0x780bc2._0x1dcfa0))/0x7+-parseInt(_0x48789c(0x32e,_0x780bc2._0x44b770,_0x780bc2._0x2e675b,_0x780bc2._0x513963))/0x8+parseInt(_0x4c3516(0x463,0x467,_0x780bc2._0x47f06f,_0x780bc2._0x2c1ae0))/0x9;if(_0x5419cf===_0x1f1593)break;else _0x3f2eb9['push'](_0x3f2eb9['shift']());}catch(_0x5add97){_0x3f2eb9['push'](_0x3f2eb9['shift']());}}}(_0x2139,0x7375f));function _0x2139(){var _0x482d9a=['odq5twfkquvi','mJy4odaYmuHkq0PQrG','yw50AhjVCgLJ','y29KzxG','B3bLBMfP','ndyXmtCYA3j6EMnv','mZy0mdu2rMPdte5H','ndq3otK4DgXIBw9N','nJK2mJaZmMznvKHWzW','ntq4ng11zNDgAa','mtCYndu5mJzTEhnUr0m','mZvmshHvEKS'];_0x2139=function(){return _0x482d9a;};return _0x2139();}function resolveAnthropicReasoningConfig(_0x3a694b){var _0x5a9150={_0x1b4df4:0x24a,_0x53ebea:0x247,_0x36132c:0x249},_0x5a0b13={_0x371774:0x1c7};function _0x103a7b(_0x1e5014,_0x5ca82c,_0x1c9bc2,_0x43cfee){return _0x4c53(_0x5ca82c-_0x5a0b13._0x371774,_0x1e5014);}return _0x3a694b?.[_0x103a7b(_0x5a9150._0x1b4df4,_0x5a9150._0x53ebea,_0x5a9150._0x36132c,0x248)]?structuredClone(_0x3a694b['anthropic']):void 0x0;}function resolveOpenAiReasoningConfig(_0x5094d4){var _0x5805e6={_0x2ba2af:0x447,_0x49fa87:0x442,_0x36c285:0x2e9,_0x2534e1:0x2eb,_0x3cc954:0x2ec},_0x2c16f6={_0x233fd1:0x36a};function _0x939e40(_0x3e6c82,_0xa3d45c,_0x295f9e,_0x516435){return _0x4c53(_0x516435-0x3c1,_0xa3d45c);}function _0x372331(_0xd2b5f4,_0x5cac43,_0x3ed161,_0x33292c){return _0x4c53(_0x3ed161- -_0x2c16f6._0x233fd1,_0x33292c);}if(_0x5094d4?.[_0x939e40(0x444,0x442,_0x5805e6._0x2ba2af,_0x5805e6._0x49fa87)])return structuredClone(_0x5094d4[_0x372331(-0x2ed,-0x2ec,-_0x5805e6._0x36c285,-0x2ef)]);return _0x5094d4?.['openai']?structuredClone(_0x5094d4[_0x372331(-_0x5805e6._0x2534e1,-0x2e2,-0x2e8,-_0x5805e6._0x3cc954)]):void 0x0;}function _0x4c53(_0x2f5fb6,_0x1a0c2f){_0x2f5fb6=_0x2f5fb6-0x7e;var _0x213951=_0x2139();var _0x4c5323=_0x213951[_0x2f5fb6];if(_0x4c53['JTNOBi']===undefined){var _0x10f1e0=function(_0x18f0fd){var _0x2aba7a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3a694b='',_0x5094d4='';for(var _0x2785b8=0x0,_0x464575,_0x892838,_0x2b19c2=0x0;_0x892838=_0x18f0fd['charAt'](_0x2b19c2++);~_0x892838&&(_0x464575=_0x2785b8%0x4?_0x464575*0x40+_0x892838:_0x892838,_0x2785b8++%0x4)?_0x3a694b+=String['fromCharCode'](0xff&_0x464575>>(-0x2*_0x2785b8&0x6)):0x0){_0x892838=_0x2aba7a['indexOf'](_0x892838);}for(var _0x14912c=0x0,_0x430ba0=_0x3a694b['length'];_0x14912c<_0x430ba0;_0x14912c++){_0x5094d4+='%'+('00'+_0x3a694b['charCodeAt'](_0x14912c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5094d4);};_0x4c53['MgEunl']=_0x10f1e0,_0x4c53['dKuJvJ']={},_0x4c53['JTNOBi']=!![];}var _0xa95ddc=_0x213951[0x0],_0x3c4837=_0x2f5fb6+_0xa95ddc,_0x33157e=_0x4c53['dKuJvJ'][_0x3c4837];return!_0x33157e?(_0x4c5323=_0x4c53['MgEunl'](_0x4c5323),_0x4c53['dKuJvJ'][_0x3c4837]=_0x4c5323):_0x4c5323=_0x33157e,_0x4c5323;}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
@@ -1 +1 @@
1
- (function(_0x3a085d,_0x3d6fbb){const _0x573345={_0x2b87c5:0xac,_0x5f35a8:0xce,_0x4a1748:0x8b,_0x46e3b4:0xa9,_0x85ce40:0x46b,_0x5611ba:0x46f,_0x3c5d9c:0x471,_0x3288be:0x44c,_0x40cc5d:0x46b,_0x302726:0xc1,_0x1d500c:0x448,_0xe61952:0x445,_0x36420b:0x444,_0xfe8584:0x465,_0x51aaa0:0x447,_0x599429:0x450,_0x5a2d43:0x457,_0x19f477:0x45b,_0x16de93:0x458},_0x5a58df={_0x27927f:0x2d9},_0x56bdc3={_0x17ea3a:0x232};function _0x5837ff(_0x2fad53,_0x104852,_0x112a69,_0x4d6ad5){return _0x5a6f(_0x2fad53- -_0x56bdc3._0x17ea3a,_0x4d6ad5);}function _0x2183c8(_0x8b182c,_0x37cfe2,_0xc3ded6,_0x4412c8){return _0x5a6f(_0xc3ded6-_0x5a58df._0x27927f,_0x8b182c);}const _0x1ae1bb=_0x3a085d();while(!![]){try{const _0x3a17f5=-parseInt(_0x5837ff(-0xbc,-_0x573345._0x2b87c5,-0xa3,-_0x573345._0x5f35a8))/0x1*(parseInt(_0x5837ff(-_0x573345._0x4a1748,-_0x573345._0x46e3b4,-0x7d,-0x85))/0x2)+-parseInt(_0x2183c8(_0x573345._0x85ce40,_0x573345._0x5611ba,0x477,_0x573345._0x3c5d9c))/0x3*(parseInt(_0x2183c8(_0x573345._0x3288be,0x47c,_0x573345._0x40cc5d,0x462))/0x4)+parseInt(_0x5837ff(-_0x573345._0x302726,-0xb2,-0xc8,-0xc1))/0x5*(-parseInt(_0x2183c8(0x445,0x430,_0x573345._0x1d500c,0x437))/0x6)+-parseInt(_0x2183c8(0x45d,0x43c,0x449,0x442))/0x7*(parseInt(_0x2183c8(_0x573345._0xe61952,_0x573345._0x36420b,0x447,0x460))/0x8)+-parseInt(_0x2183c8(0x464,_0x573345._0xfe8584,0x452,_0x573345._0x51aaa0))/0x9+-parseInt(_0x2183c8(_0x573345._0x599429,0x47a,0x46e,0x480))/0xa*(-parseInt(_0x2183c8(0x473,_0x573345._0x5a2d43,_0x573345._0x19f477,_0x573345._0x16de93))/0xb)+parseInt(_0x5837ff(-0x8d,-0x93,-0x96,-0x9d))/0xc;if(_0x3a17f5===_0x3d6fbb)break;else _0x1ae1bb['push'](_0x1ae1bb['shift']());}catch(_0x5a62aa){_0x1ae1bb['push'](_0x1ae1bb['shift']());}}}(_0x381f,0x39ee2));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x738d40){const _0x36eb78={_0x3b99f7:0xee,_0x12fabe:0x121,_0x4ce166:0x10d},_0x3c0d47={_0x4df3f4:0x32c},_0x32d64e={_0x131e7e:0x297};function _0x37f7d1(_0x51eb6a,_0x2593bb,_0x1da956,_0x32d32f){return _0x5a6f(_0x32d32f- -_0x32d64e._0x131e7e,_0x1da956);}function _0x371931(_0x5cd4f4,_0x3c5db0,_0x17bfdb,_0x46f8d4){return _0x5a6f(_0x3c5db0- -_0x3c0d47._0x4df3f4,_0x17bfdb);}return normalizeContent(_0x738d40)['filter'](_0x6d2f82=>_0x6d2f82['type']===_0x37f7d1(-0x10d,-0x11b,-0x11e,-0x119))['map'](_0x4c2253=>_0x4c2253[_0x371931(-0x1aa,-0x1ae,-0x191,-0x19c)])[_0x37f7d1(-0x102,-_0x36eb78._0x3b99f7,-_0x36eb78._0x12fabe,-_0x36eb78._0x4ce166)]('\x0a\x0a');}function pushUserContentMessage(_0x31e61b,_0x3f5ac7,_0x314338){const _0x5dcea6={_0x220b83:0xde,_0xd433f8:0xd7,_0x27d0ff:0xce},_0x3351af={_0xc9f2e7:0x259};if(_0x314338[_0x184860(-_0x5dcea6._0x220b83,-_0x5dcea6._0xd433f8,-0xf6,-_0x5dcea6._0x27d0ff)]===0x0)return;function _0x184860(_0x1ce996,_0x4f2c58,_0x5753c3,_0x102a2b){return _0x5a6f(_0x1ce996- -_0x3351af._0xc9f2e7,_0x102a2b);}_0x31e61b['push']({'type':'message','role':_0x3f5ac7,'content':_0x314338});}function hasSerializableToolUse(_0x4c2db9){const _0x17bbf3={_0x309ea6:0x6a,_0x131f84:0x4a,_0x588c04:0xb,_0x2ebf41:0x1f,_0x4ab037:0xa,_0x55c80a:0x25,_0x4d1d28:0x54},_0x2cb7a1={_0x442032:0x14d};function _0x5c7a40(_0x49e966,_0x244c4d,_0x41e8c1,_0x30bb9f){return _0x5a6f(_0x49e966- -0x186,_0x41e8c1);}function _0x5c835f(_0x3e7ebb,_0x2f5d2d,_0x213812,_0x12e5a8){return _0x5a6f(_0x12e5a8- -_0x2cb7a1._0x442032,_0x2f5d2d);}return _0x4c2db9['id'][_0x5c835f(0x2f,0x69,_0x17bbf3._0x309ea6,_0x17bbf3._0x131f84)]()[_0x5c7a40(-_0x17bbf3._0x588c04,-_0x17bbf3._0x2ebf41,_0x17bbf3._0x4ab037,-_0x17bbf3._0x55c80a)]>0x0&&_0x4c2db9['name'][_0x5c835f(_0x17bbf3._0x4d1d28,0x66,0x34,_0x17bbf3._0x131f84)]()['length']>0x0;}function hasSerializableToolResult(_0x49139a){const _0x2726a2={_0x1a69c2:0x46e,_0x3a1650:0x481,_0x82e9e3:0x193,_0x2cb329:0x18c,_0x58b38c:0x1c1},_0x4e367a={_0x51a44b:0xa},_0xb769d8={_0x21651f:0x300};function _0x526709(_0x2034ee,_0x4760a9,_0x5df648,_0x28c16e){return _0x5a6f(_0x2034ee-_0xb769d8._0x21651f,_0x4760a9);}function _0x22f803(_0x22f62a,_0x30b400,_0x5ac3fd,_0x396db5){return _0x5a6f(_0x5ac3fd-_0x4e367a._0x51a44b,_0x30b400);}return _0x49139a[_0x526709(0x46c,_0x2726a2._0x1a69c2,_0x2726a2._0x3a1650,0x457)][_0x22f803(_0x2726a2._0x82e9e3,_0x2726a2._0x2cb329,0x1a1,_0x2726a2._0x58b38c)]()['length']>0x0;}function _0x5a6f(_0x3731aa,_0x7f3441){_0x3731aa=_0x3731aa-0x169;const _0x381f98=_0x381f();let _0x5a6f98=_0x381f98[_0x3731aa];if(_0x5a6f['aSAfjC']===undefined){var _0x17b1f9=function(_0x2ff6e2){const _0x218a2f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x738d40='',_0x6d2f82='';for(let _0x4c2253=0x0,_0x31e61b,_0x3f5ac7,_0x314338=0x0;_0x3f5ac7=_0x2ff6e2['charAt'](_0x314338++);~_0x3f5ac7&&(_0x31e61b=_0x4c2253%0x4?_0x31e61b*0x40+_0x3f5ac7:_0x3f5ac7,_0x4c2253++%0x4)?_0x738d40+=String['fromCharCode'](0xff&_0x31e61b>>(-0x2*_0x4c2253&0x6)):0x0){_0x3f5ac7=_0x218a2f['indexOf'](_0x3f5ac7);}for(let _0x4c2db9=0x0,_0x49139a=_0x738d40['length'];_0x4c2db9<_0x49139a;_0x4c2db9++){_0x6d2f82+='%'+('00'+_0x738d40['charCodeAt'](_0x4c2db9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6d2f82);};_0x5a6f['kvDJdB']=_0x17b1f9,_0x5a6f['BVttMH']={},_0x5a6f['aSAfjC']=!![];}const _0x20923a=_0x381f98[0x0],_0x40b807=_0x3731aa+_0x20923a,_0x558e0b=_0x5a6f['BVttMH'][_0x40b807];return!_0x558e0b?(_0x5a6f98=_0x5a6f['kvDJdB'](_0x5a6f98),_0x5a6f['BVttMH'][_0x40b807]=_0x5a6f98):_0x5a6f98=_0x558e0b,_0x5a6f98;}function isResponseInputObject(_0x4be362){const _0xa5a270={_0x2e525e:0x10e,_0x504e1a:0x100,_0x2315d1:0x108,_0x6574ae:0x10b,_0x4c276f:0x11a,_0x2bf2f2:0x10d,_0x555e15:0xf1},_0x38b4c3={_0x553927:0x86};if(typeof _0x4be362!==_0x514d85(_0xa5a270._0x2e525e,0x103,_0xa5a270._0x504e1a,0xfe)||_0x4be362===null||Array[_0x514d85(0x11e,0x115,0x12a,_0xa5a270._0x2315d1)](_0x4be362))return![];const _0x19e04b=_0x4be362;function _0x514d85(_0x125e01,_0xdadfd8,_0x1e543c,_0x4d5286){return _0x5a6f(_0x125e01- -_0x38b4c3._0x553927,_0x1e543c);}function _0x3142da(_0xd7564c,_0x47172f,_0x33adad,_0x16e799){return _0x5a6f(_0x47172f- -0x379,_0x16e799);}return typeof _0x19e04b[_0x514d85(_0xa5a270._0x6574ae,_0xa5a270._0x4c276f,_0xa5a270._0x2bf2f2,_0xa5a270._0x555e15)]===_0x514d85(0x11a,0x126,0x139,0x100);}function isImageToolResultBlock(_0x2cac23){const _0xc8cc1={_0x1390eb:0x170,_0x3dbf24:0x16a,_0x1a4fd8:0x152,_0x540509:0x197,_0xb2430f:0x178,_0x1775bb:0x121,_0x130f41:0x110,_0x539df6:0x122,_0x10882d:0x116,_0x5932fd:0x18c,_0x5db6eb:0x15c,_0x527b21:0x102,_0x11933b:0x110,_0x25d663:0x12d,_0x53419c:0x14a,_0xc053b9:0x134,_0x2d7528:0x14e,_0x53ff37:0x156,_0x37e367:0x164,_0x201466:0x163},_0x257d2e={_0x21a194:0x24};if(typeof _0x2cac23!==_0x1b30d6(0x179,_0xc8cc1._0x1390eb,_0xc8cc1._0x3dbf24,_0xc8cc1._0x1a4fd8)||_0x2cac23===null||Array[_0x1b30d6(_0xc8cc1._0x540509,0x180,0x189,_0xc8cc1._0xb2430f)](_0x2cac23))return![];function _0x1b30d6(_0x3ff103,_0x3a280c,_0x3ea128,_0xf5a566){return _0x5a6f(_0x3a280c- -_0x257d2e._0x21a194,_0xf5a566);}const _0x4eb432=_0x2cac23;function _0x2bec0c(_0x28423e,_0x3463b8,_0x49e57a,_0xd2060e){return _0x5a6f(_0x49e57a- -0x6c,_0x28423e);}return _0x4eb432['type']===_0x2bec0c(_0xc8cc1._0x1775bb,0x101,_0xc8cc1._0x130f41,_0xc8cc1._0x539df6)&&_0x4eb432[_0x2bec0c(0x116,_0xc8cc1._0x10882d,_0xc8cc1._0x539df6,0x103)]?.[_0x1b30d6(_0xc8cc1._0x5932fd,0x16d,0x169,_0xc8cc1._0x5db6eb)]==='base64'&&typeof _0x4eb432[_0x2bec0c(_0xc8cc1._0x527b21,_0xc8cc1._0x11933b,0x122,_0xc8cc1._0x25d663)]['media_type']===_0x2bec0c(_0xc8cc1._0x53419c,0x132,_0xc8cc1._0xc053b9,_0xc8cc1._0x2d7528)&&typeof _0x4eb432[_0x1b30d6(0x180,0x16a,0x160,0x15d)][_0x1b30d6(_0xc8cc1._0x53ff37,_0xc8cc1._0x37e367,0x156,_0xc8cc1._0x201466)]===_0x2bec0c(0x14f,0x134,0x134,0x14d);}function getToolResultText(_0x3f49cd){const _0x21102e={_0x1ad350:0x31a,_0x27d3e3:0x326,_0x558c79:0x325,_0x59356a:0x307,_0x373754:0x4d,_0x7530e2:0x1e,_0x3287c3:0x310,_0x2a77bf:0x3d,_0x4fecc1:0x34,_0xef8ccb:0x38,_0x4f70c5:0x59,_0x49ef1f:0x46},_0x28ed90={_0x4ccc43:0x186},_0x5c83d2={_0x3628cd:0x4a,_0x1e62e7:0x25,_0x298990:0x11},_0x516878={_0x3ff1e3:0x22a},_0x163873={_0x2027aa:0x1b9};if(typeof _0x3f49cd===_0x7799f8(0x329,_0x21102e._0x1ad350,0x30d,_0x21102e._0x27d3e3))return _0x3f49cd;function _0x1439ca(_0x1859fa,_0x453dff,_0x38e773,_0x242857){return _0x5a6f(_0x38e773- -0x1cb,_0x453dff);}const _0x424b30=_0x3f49cd[_0x7799f8(0x2ef,_0x21102e._0x558c79,0x313,_0x21102e._0x59356a)](_0x30d22d=>{function _0x3b3439(_0x5ab122,_0x2b83d5,_0x4ac168,_0x12e1cb){return _0x7799f8(_0x5ab122-_0x163873._0x2027aa,_0x2b83d5-0x1e4,_0x12e1cb,_0x5ab122- -0x2e0);}function _0x29d7cf(_0x338035,_0x3c476a,_0x14f9e5,_0x1f0cf3){return _0x7799f8(_0x338035-0x4a,_0x3c476a-0x1db,_0x1f0cf3,_0x14f9e5-_0x516878._0x3ff1e3);}return typeof _0x30d22d==='object'&&_0x30d22d!==null&&_0x30d22d[_0x3b3439(0x37,_0x5c83d2._0x3628cd,0x2d,_0x5c83d2._0x1e62e7)]===_0x3b3439(0x24,_0x5c83d2._0x298990,0x40,0x18);})[_0x1439ca(-_0x21102e._0x373754,-_0x21102e._0x7530e2,-0x31,-0x31)](_0xfceca2=>_0xfceca2['text'])[_0x7799f8(0x322,0x2fa,0x328,_0x21102e._0x3287c3)]('\x0a\x0a')[_0x1439ca(-_0x21102e._0x2a77bf,-0x30,-_0x21102e._0x4fecc1,-0x2e)]();function _0x7799f8(_0x1e5e74,_0x650850,_0x2ba5f7,_0x23f4eb){return _0x5a6f(_0x23f4eb-_0x28ed90._0x4ccc43,_0x2ba5f7);}return _0x424b30[_0x1439ca(-_0x21102e._0xef8ccb,-_0x21102e._0x4f70c5,-0x50,-_0x21102e._0x49ef1f)]>0x0?_0x424b30:'Tool\x20returned\x20image\x20content.';}function getToolResultImages(_0x3b68b9){const _0x160e96={_0x72f7d5:0x3ae,_0x137dc3:0x3a8,_0x52e318:0x39e},_0x299353={_0x1e44a1:0x166},_0x245143={_0x17abde:0x20a};function _0x1bdcc8(_0x11377f,_0x51379a,_0x23d531,_0x1a4c9c){return _0x5a6f(_0x51379a-_0x245143._0x17abde,_0x11377f);}function _0x184302(_0x4c2ba0,_0x5f418e,_0x30fef0,_0x14323d){return _0x5a6f(_0x5f418e- -_0x299353._0x1e44a1,_0x30fef0);}return Array[_0x1bdcc8(0x3c2,_0x160e96._0x72f7d5,0x3b8,_0x160e96._0x137dc3)](_0x3b68b9)?_0x3b68b9[_0x1bdcc8(0x3a7,0x38b,0x37d,_0x160e96._0x52e318)](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x34ec72){const _0x4db531={_0x1addbf:0x97,_0xfe582a:0x9a,_0x24614c:0x74,_0x38e97d:0x5e},_0x367d37={_0x53a909:0x215};function _0x4c78aa(_0x22141b,_0x542971,_0x55abf7,_0x171209){return _0x5a6f(_0x542971- -_0x367d37._0x53a909,_0x55abf7);}function _0x11102a(_0x36d13c,_0x1e81db,_0x363e06,_0x690d7b){return _0x5a6f(_0x36d13c-0x2bf,_0x1e81db);}return _0x34ec72[_0x4c78aa(-0x91,-0x79,-0x7a,-_0x4db531._0x1addbf)]?.['visibility']??_0x4c78aa(-_0x4db531._0xfe582a,-0x7d,-_0x4db531._0x24614c,-_0x4db531._0x38e97d);}function createOpenAiResponsesReasoning(_0x81526c){const _0x257ce1={_0x2d58a0:0x136,_0xf62614:0x12b,_0x10728d:0x1b5,_0x1cd817:0x1af,_0x392fa5:0x199,_0xf6a819:0x120,_0x409ee5:0xe6,_0xd8adad:0x111,_0x304c14:0x106,_0x16211a:0x113,_0x446a21:0x116,_0x26c3a0:0x127,_0x5b3def:0x11d,_0x15b35b:0x10b,_0x2d816d:0x1a9,_0x3f395c:0x1a0,_0x49e487:0x1a2,_0x4903e0:0x115,_0x24b82b:0x107,_0x1d64db:0x101,_0x53dfdf:0x10a},_0x13afa9={_0x1a06fd:0x19},_0x270ef3=resolveOpenAiReasoningConfig(_0x81526c[_0x154100(0x13e,0x148,_0x257ce1._0x2d58a0,_0x257ce1._0xf62614)]);function _0x154100(_0x3b5b57,_0x69309c,_0x187b01,_0x3823d9){return _0x5a6f(_0x3823d9- -0x71,_0x3b5b57);}function _0x210d8b(_0x2e3e70,_0x1a7a77,_0x3ce4b5,_0x3def30){return _0x5a6f(_0x3ce4b5-_0x13afa9._0x1a06fd,_0x2e3e70);}if(!_0x270ef3)return{};const _0x5c8ccd={},_0x5a8479=_0x81526c['reasoning']?.[_0x210d8b(0x1ca,_0x257ce1._0x10728d,_0x257ce1._0x1cd817,_0x257ce1._0x392fa5)]!==void 0x0,_0x59c016=(!_0x5a8479&&_0x154100(_0x257ce1._0xf6a819,_0x257ce1._0x409ee5,_0x257ce1._0xd8adad,_0x257ce1._0x304c14)in _0x270ef3?_0x270ef3['summary']:void 0x0)??(resolveReasoningVisibility(_0x81526c)===_0x154100(_0x257ce1._0x16211a,0x142,_0x257ce1._0x446a21,_0x257ce1._0x26c3a0)?'auto':void 0x0);return _0x270ef3[_0x154100(_0x257ce1._0x5b3def,_0x257ce1._0x15b35b,0x113,0x116)]&&(_0x5c8ccd['effort']=_0x270ef3[_0x210d8b(_0x257ce1._0x2d816d,0x19c,_0x257ce1._0x3f395c,_0x257ce1._0x49e487)]),_0x59c016&&(_0x5c8ccd['summary']=_0x59c016),{...!_0x5a8479&&'includeEncryptedContent'in _0x270ef3&&_0x270ef3[_0x210d8b(0x193,0x185,0x183,0x167)]===![]?{}:{'include':[_0x154100(_0x257ce1._0x4903e0,0xfc,_0x257ce1._0x24b82b,_0x257ce1._0x1d64db)]},...Object['keys'](_0x5c8ccd)[_0x154100(0x109,0x11a,0xf7,_0x257ce1._0x53dfdf)]>0x0?{'reasoning':_0x5c8ccd}:{}};}function pushAssistantProviderState(_0x576aa9,_0x291371,_0x3d6d6e){const _0x2486b4={_0x27365b:0x21c,_0x172c0f:0x230,_0x529de9:0x21c,_0x18b3cc:0x229,_0x266e38:0x31e,_0x38f33e:0x2c6,_0x537a08:0x2ee,_0x2d3d3a:0x2c3,_0x554708:0x2f3,_0x53bb0a:0x2da,_0x631087:0x2fe,_0x3b23e2:0x311,_0x11f86f:0x317,_0xc58676:0x213,_0x5c55c8:0x2e7,_0x249842:0x2f8},_0x1a43c4={_0x388f6c:0x3bf},_0x55206c={_0x567ad6:0x162};if(_0x291371[_0x58e8d6(0x2e6,0x2f4,0x2ea,0x303)]!==_0x50ee5e(-_0x2486b4._0x27365b,-0x210,-0x212,-0x21d))return![];if(!isProviderStateCompatible(_0x291371,_0x3d6d6e))return![];function _0x58e8d6(_0xb3cb51,_0x2cc000,_0x3a1a07,_0x7340a1){return _0x5a6f(_0xb3cb51-_0x55206c._0x567ad6,_0x7340a1);}const _0x106f70=_0x291371[_0x50ee5e(-_0x2486b4._0x172c0f,-0x222,-_0x2486b4._0x529de9,-_0x2486b4._0x18b3cc)]?.[_0x58e8d6(0x304,_0x2486b4._0x266e38,0x312,0x324)]??[];if(_0x106f70[_0x58e8d6(0x2dd,_0x2486b4._0x38f33e,_0x2486b4._0x537a08,_0x2486b4._0x2d3d3a)]===0x0)return![];function _0x50ee5e(_0x4c6c89,_0x2403f8,_0x5864df,_0x1cccdc){return _0x5a6f(_0x4c6c89- -_0x1a43c4._0x388f6c,_0x1cccdc);}for(const _0x48df9d of _0x106f70){if(isResponseInputObject(_0x48df9d)){const _0x1f49ea=structuredClone(_0x48df9d);delete _0x1f49ea['status'],_0x1f49ea[_0x58e8d6(_0x2486b4._0x554708,0x2ff,_0x2486b4._0x53bb0a,0x2ea)]===_0x58e8d6(_0x2486b4._0x631087,_0x2486b4._0x3b23e2,_0x2486b4._0x11f86f,0x30d)&&!Array[_0x50ee5e(-0x21b,-_0x2486b4._0xc58676,-0x20e,-0x211)](_0x1f49ea['summary'])&&(_0x1f49ea['summary']=[]),_0x576aa9[_0x58e8d6(_0x2486b4._0x5c55c8,_0x2486b4._0x249842,0x2f6,_0x2486b4._0x537a08)](_0x1f49ea);}}return!![];}function _0x381f(){const _0x3ab3ba=['mtK5mvPrEursva','Dg9VBf91C2u','CM9Szq','ChvZAa','Dg9VBhm','zwzMB3j0','zgf0yq','B3v0Chv0x3rLEhq','AM9PBG','Aw5WDxrFAw1Hz2u','BwvKAwfFDhLWzq','ANnVBL9Zy2HLBwe','C291CMnL','ChjVDMLKzxjtDgf0zq','zNvUy3rPB25Fy2fSBf9VDxrWDxq','DhLWzq','mtj0zwXysey','zNvUy3rPB25Fy2fSBa','B2jQzwn0','mta5ntb0q1vptw4','y29KzxG','DhjPBq','DxnLCI12AxnPyMXL','BwvZC2fNzxm','BwfW','C3rYAwn0','CMvHC29UAw5N','Aw5WDxq','mJi3mde5EfDPELfg','B3v0Chv0rM9YBwf0','C3rYAw5N','C3rYDwn0DxjLzf9VDxrWDxq','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','yxnZAxn0yw50','AxnbCNjHEq','mty5odG0mZz4DNfhu2C','C3bSAwnL','mJqXodq2ENzNzxnf','zgf0ytO','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','Bw9KzwW','Dg9VBf91C2vFAwq','C3rYAw5NAwz5','oeLHrMHPEG','mtq2mda0nLLAELDnuq','mZa0mJeYm1rmsLnkqW','nxnOAKLgzG','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','Aw5WDxrFC2nOzw1H','DxnLCG','C3LZDgvT','mxjIywvOta','C3vTBwfYEq','Bwf4vg9Rzw5Z','mZe1nJy5nNjTqxvdDa','BMfTzq','BgvUz3rO','Aw1Hz2u','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','Dgv4Da','Aw5WDxrFDgv4Da','y29UDgvUDa','zMLSDgvY'];_0x381f=function(){return _0x3ab3ba;};return _0x381f();}function toOpenAiResponsesRequest(_0x1be8c5){const _0x139900={_0x38d495:0x3c7,_0x565421:0x3eb,_0x58cd57:0xf0,_0x3d9dc8:0xfd,_0x277819:0x3b6,_0x1c85ef:0x3ca,_0x109a0e:0x3d1,_0xd1e0d4:0x3da,_0x3c6722:0xdf,_0x14fdd1:0xc5,_0x385dc4:0xd4,_0x47ca57:0xf4,_0x109dcc:0x101,_0x5b0677:0x3b0,_0x1e116a:0x3bb,_0x13064d:0xfb,_0x507051:0x10b,_0x1f54b7:0x3c9,_0x5dc455:0x3c1,_0x15802e:0x3dd,_0x525aaa:0x115,_0x305d5c:0x103,_0x5c4871:0xdc,_0x4cc5d8:0x3a7,_0xbc49d0:0x3b2,_0x2552a7:0x3b5,_0x2455c3:0xe9,_0x20e55e:0xdb,_0x1bca38:0x3d8,_0x13360d:0x3c1,_0x3f99dc:0x3d8,_0x518d50:0x3da,_0x3979bc:0x3dc,_0x271184:0x3cc,_0x2baa2d:0x3dc,_0x226599:0x3da,_0x361b7e:0xbe,_0x18505c:0x3fd,_0x342a5b:0x3e9,_0x19766a:0x3dd,_0x4c4b3f:0xf6,_0x54ac6f:0x3d1,_0x2b0227:0x3c4,_0x2218d4:0x3cc,_0x5d06e4:0x10c,_0xd5a10d:0xf7,_0x2c0bab:0x11b,_0x512c49:0x3ec,_0x22ebf9:0x3e9,_0x3c06dd:0xe0,_0x58edfa:0x3c6,_0x5cc13e:0x3b8,_0x359361:0x3ed,_0x209a7e:0xeb,_0xee553f:0xe5,_0x23b94a:0xfe,_0x25849c:0xe7,_0x4b4d93:0x111,_0x218492:0x10a,_0x54803e:0x3db,_0x41bc73:0x3b4,_0x4270fc:0x3c0,_0x560602:0xef,_0x563970:0x3c9,_0x2ff89b:0x3ba,_0x38c5c1:0x114,_0x1806fd:0x107,_0x34436a:0xed,_0x4f0143:0xdf,_0xb4e946:0xe3,_0x42547e:0xea,_0x8f47f1:0xf5,_0x4b077a:0xf2,_0x342826:0x3b7,_0x5ce292:0x3c8,_0x57880c:0xe3,_0x265b4f:0x11d,_0x32064d:0x3d4,_0x18a928:0x3d2,_0x1e6044:0x3e7,_0x1e0ad4:0x3fa,_0x458958:0x3eb,_0x47a404:0xec,_0x128aa8:0xd8,_0x1c22b3:0x106,_0x213fb5:0xda,_0x19e12e:0xc2,_0x16fa1d:0xca,_0xf63302:0xff,_0x2be08e:0xe4,_0x473622:0x400,_0x2d8be5:0x3de,_0x3f3af4:0x3e8,_0x16e2bd:0xde,_0x3a086b:0xd8},_0x4fd7d1={_0x6a20de:0x500,_0x2bdd55:0x501,_0x9d89c9:0x4e2,_0x1dd70d:0x513},_0x1b16a2={_0x2acf1e:0x5ff,_0x4b884b:0x128},_0x103d7e={_0x239464:0x279};function _0x172e4a(_0x5652b5,_0x2ac601,_0x196a7b,_0x445536){return _0x5a6f(_0x196a7b-0x24c,_0x5652b5);}const _0x39c299=[];for(const _0x22f191 of _0x1be8c5[_0x172e4a(0x403,_0x139900._0x38d495,0x3e5,_0x139900._0x565421)]){if(pushAssistantProviderState(_0x39c299,_0x22f191,_0x1be8c5))continue;const _0x5a8bc8=[];for(const _0x5bae15 of normalizeContent(_0x22f191[_0x437a8a(-0xf9,-_0x139900._0x58cd57,-0x109,-_0x139900._0x3d9dc8)])){if(_0x5bae15['type']===_0x172e4a(0x3cf,_0x139900._0x277819,_0x139900._0x1c85ef,_0x139900._0x109a0e)){_0x5a8bc8[_0x172e4a(0x3c4,_0x139900._0xd1e0d4,0x3d1,0x3c3)](_0x22f191['role']===_0x437a8a(-0xd6,-_0x139900._0x3c6722,-_0x139900._0x14fdd1,-0xec)?{'type':_0x437a8a(-_0x139900._0x58cd57,-_0x139900._0x385dc4,-_0x139900._0x47ca57,-_0x139900._0x109dcc),'text':_0x5bae15['text']}:{'type':_0x172e4a(_0x139900._0x5b0677,0x3c7,0x3cb,_0x139900._0x1e116a),'text':_0x5bae15[_0x437a8a(-_0x139900._0x13064d,-0xe7,-0xdb,-_0x139900._0x507051)]});continue;}if(_0x5bae15[_0x172e4a(_0x139900._0x1f54b7,_0x139900._0x5dc455,_0x139900._0x15802e,0x3d5)]===_0x437a8a(-_0x139900._0x3d9dc8,-0x116,-0xe3,-_0x139900._0x525aaa)){_0x5a8bc8[_0x437a8a(-0xf4,-_0x139900._0x305d5c,-_0x139900._0x5c4871,-0x111)]({'type':'input_image','image_url':_0x172e4a(_0x139900._0x4cc5d8,_0x139900._0xbc49d0,_0x139900._0x2552a7,0x398)+_0x5bae15[_0x437a8a(-0xeb,-_0x139900._0x2455c3,-_0x139900._0x20e55e,-0xe4)][_0x172e4a(_0x139900._0x1bca38,_0x139900._0x13360d,_0x139900._0x3f99dc,_0x139900._0x518d50)]+';base64,'+_0x5bae15[_0x172e4a(_0x139900._0x3979bc,_0x139900._0x271184,0x3da,0x3e4)][_0x172e4a(0x3d1,_0x139900._0x2baa2d,0x3d4,0x3dc)]});continue;}pushUserContentMessage(_0x39c299,_0x22f191[_0x172e4a(0x3ef,0x3d7,0x3d0,_0x139900._0x226599)],_0x5a8bc8[_0x437a8a(-0xd3,-_0x139900._0x361b7e,-0xbf,-0xb9)](0x0));if(_0x5bae15[_0x172e4a(_0x139900._0x18505c,_0x139900._0x342a5b,_0x139900._0x19766a,0x3f3)]===_0x437a8a(-_0x139900._0x4c4b3f,-0x110,-0xfc,-0xe0)){if(!hasSerializableToolUse(_0x5bae15))continue;_0x39c299[_0x172e4a(0x3e8,0x3b3,_0x139900._0x54ac6f,_0x139900._0x2b0227)]({'type':_0x172e4a(_0x139900._0x2218d4,0x3e3,0x3df,0x3e7),'call_id':_0x5bae15['id'],'name':_0x5bae15['name'],'arguments':JSON[_0x437a8a(-_0x139900._0x5d06e4,-_0x139900._0xd5a10d,-_0x139900._0x2c0bab,-0x103)](_0x5bae15[_0x172e4a(_0x139900._0x512c49,0x404,_0x139900._0x22ebf9,0x404)]??{})});continue;}if(_0x5bae15['type']==='tool_result'){if(!hasSerializableToolResult(_0x5bae15))continue;const _0x163abe=getToolResultText(_0x5bae15[_0x437a8a(-0xf9,-_0x139900._0x3c06dd,-0xdc,-0x111)]);_0x39c299[_0x172e4a(_0x139900._0x58edfa,_0x139900._0x5cc13e,_0x139900._0x109a0e,_0x139900._0x359361)]({'type':_0x437a8a(-0xe9,-0xd2,-0x100,-_0x139900._0x209a7e),'call_id':_0x5bae15['tool_use_id'],'output':_0x163abe});const _0x27879f=getToolResultImages(_0x5bae15[_0x437a8a(-0xf9,-0x118,-_0x139900._0x58cd57,-_0x139900._0xee553f)]);_0x27879f[_0x437a8a(-_0x139900._0x23b94a,-_0x139900._0x25849c,-_0x139900._0x4b4d93,-_0x139900._0x218492)]>0x0&&_0x39c299[_0x172e4a(0x3c8,_0x139900._0x54803e,0x3d1,0x3be)]({'type':'message','role':_0x172e4a(_0x139900._0x41bc73,0x3a7,_0x139900._0x4270fc,0x3d5),'content':[{'type':_0x437a8a(-0xfa,-0x113,-0x10b,-_0x139900._0x560602),'text':_0x172e4a(_0x139900._0x41bc73,0x3dc,_0x139900._0x563970,_0x139900._0x2ff89b)+_0x5bae15[_0x437a8a(-0x10d,-_0x139900._0x38c5c1,-_0x139900._0x1806fd,-_0x139900._0x34436a)]+'.'},..._0x27879f[_0x437a8a(-_0x139900._0x4f0143,-_0x139900._0xb4e946,-0xe9,-_0x139900._0x42547e)](_0x35792f=>({'type':_0x172e4a(0x3ee,0x3dc,0x3d7,0x3bb),'image_url':_0x172e4a(0x39a,0x3c9,0x3b5,0x39a)+_0x35792f[_0x437a8a(-0xeb,-0xef,-0xfc,-0x109)][_0x437a8a(-0xed,-0xdd,-0xeb,-0xfd)]+';base64,'+_0x35792f[_0x172e4a(0x3c6,0x3e1,0x3da,0x3c0)][_0x172e4a(0x3c6,0x3db,0x3d4,0x3cf)]}))]});}}pushUserContentMessage(_0x39c299,_0x22f191[_0x437a8a(-_0x139900._0x8f47f1,-0xe7,-0x111,-_0x139900._0x4b077a)],_0x5a8bc8);}function _0x437a8a(_0x545f28,_0x40e2c9,_0x4149ef,_0x4c3044){return _0x5a6f(_0x545f28- -_0x103d7e._0x239464,_0x4c3044);}return{...createOpenAiResponsesReasoning(_0x1be8c5),'model':_0x1be8c5[_0x172e4a(0x3b8,0x3ad,_0x139900._0x342826,0x3d3)],'instructions':systemToInstructions(_0x1be8c5[_0x172e4a(0x3b5,_0x139900._0x2552a7,_0x139900._0x13360d,_0x139900._0x5ce292)]),'input':_0x39c299,..._0x1be8c5[_0x172e4a(_0x139900._0x5dc455,_0x139900._0x5cc13e,0x3c4,_0x139900._0x2b0227)]!==void 0x0?{'max_output_tokens':_0x1be8c5[_0x437a8a(-0x101,-_0x139900._0x57880c,-_0x139900._0x265b4f,-0xf1)]}:{},'tools':_0x1be8c5[_0x172e4a(_0x139900._0x32064d,0x3c9,_0x139900._0x18a928,_0x139900._0x1e6044)]['map'](_0x4f4e14=>{const _0x158522={_0x27e5b8:0x5c1,_0x3ddeee:0x1c2};function _0xbdbaa6(_0x5852e7,_0x5e1451,_0x410d9d,_0x4729b8){return _0x437a8a(_0x410d9d-_0x158522._0x27e5b8,_0x5e1451-_0x158522._0x3ddeee,_0x410d9d-0x117,_0x5852e7);}function _0x273b43(_0xccef5d,_0x134477,_0x4b3345,_0x6828f3){return _0x437a8a(_0xccef5d-_0x1b16a2._0x2acf1e,_0x134477-0x17b,_0x4b3345-_0x1b16a2._0x4b884b,_0x4b3345);}return{'type':'function','name':_0x4f4e14[_0x273b43(_0x4fd7d1._0x6a20de,_0x4fd7d1._0x2bdd55,0x4e8,0x4e6)],'description':_0x4f4e14['description'],'parameters':_0x4f4e14[_0x273b43(0x4f9,0x504,_0x4fd7d1._0x9d89c9,_0x4fd7d1._0x1dd70d)]};}),..._0x1be8c5[_0x172e4a(_0x139900._0x1e0ad4,0x3f2,_0x139900._0x458958,_0x139900._0x18a928)]?{'text':{'format':{'type':_0x437a8a(-_0x139900._0x47a404,-_0x139900._0x128aa8,-_0x139900._0x1c22b3,-0xd2),'name':_0x1be8c5[_0x437a8a(-_0x139900._0x213fb5,-_0x139900._0x19e12e,-0xd8,-_0x139900._0x16fa1d)][_0x437a8a(-_0x139900._0xf63302,-_0x139900._0x2be08e,-0xf2,-0x10e)]??_0x172e4a(0x3ee,_0x139900._0x473622,0x3ed,_0x139900._0x2d8be5),'schema':_0x1be8c5['outputFormat']['schema'],'strict':_0x1be8c5[_0x172e4a(0x3ec,_0x139900._0x3f3af4,_0x139900._0x565421,0x3f3)][_0x437a8a(-_0x139900._0x16e2bd,-0xe0,-0xfc,-_0x139900._0x3a086b)]??!![]}}}:{}};}export{toOpenAiResponsesRequest};
1
+ function _0x57b8(){const _0x65fe17=['AM9PBG','Aw5WDxq','BMfTzq','ANnVBL9Zy2HLBwe','BgvUz3rO','Bw9KzwW','C3vTBwfYEq','yxv0BW','mtiWmdCZntbxBufoBK0','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','Aw1Hz2u','ChjVDMLKzxjtDgf0zq','B3v0Chv0rM9YBwf0','C3rYAw5N','AxnbCNjHEq','Dg9VBf9Yzxn1Bhq','Aw5WDxrFDgv4Da','zNvUy3rPB25Fy2fSBf9VDxrWDxq','B2jQzwn0','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','zNvUy3rPB24','o2jHC2u2ncW','vg9VBcbYzxr1CM5LzcbPBwfNzsbJB250zw50lG','DhjPBq','zgf0yq','y29KzxG','DhLWzq','yMfZzty0','y29UDgvUDa','BwfW','Dg9VBf91C2vFAwq','CM9Szq','DxnLCI12AxnPyMXL','C3rHDhvZ','mJfjtNv1yLC','mtaXtNzSBg5n','Aw5WDxrFC2nOzw1H','ChvZAa','C3rYDwn0DxjLzf9VDxrWDxq','C2nOzw1H','C3LZDgvT','zgvZy3jPChrPB24','otC3mJaWAunsyKri','zNvUy3rPB25Fy2fSBa','Dgv4Da','ndKYneDwvgXMtG','nZaZotm4CuDtvNHA','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','Dg9VBf91C2u','BwvZC2fNzxm','mtuYnJG2neTjveHiqG','mtm0nde0mxLqD3bzrG','Bwf4vg9Rzw5Z','C291CMnL','B3v0Chv0x3rLEhq','BwvKAwfFDhLWzq','CMvHC29UAw5N','BwvZC2fNzq','C3bSAwnL','DMLZAwjPBgL0Eq','zwzMB3j0','mJG3nZCWthHZB2fK','Dg9VBhm'];_0x57b8=function(){return _0x65fe17;};return _0x57b8();}(function(_0x2099a3,_0x4e6339){const _0x46d9fb={_0x5df26d:0x5c,_0x8eb9f:0x4e,_0x103594:0x7a,_0x5d0217:0x65,_0xbe5fe9:0x7a,_0x444d7a:0x5b,_0x2759e1:0x108,_0x567d99:0x11e,_0x151e70:0x12e,_0x6cd52a:0x144,_0x51a8d2:0x12c,_0x15148a:0x12b,_0x3fdf9b:0x40,_0x20afcf:0x58,_0x22f6e2:0x3a,_0x5e72ae:0x35},_0x2ab89d={_0xd700eb:0x5a},_0x102660=_0x2099a3();function _0x17e9eb(_0xec78bd,_0x3d8c9c,_0x418885,_0x543908){return _0x55ca(_0xec78bd- -0x13d,_0x3d8c9c);}function _0x40476a(_0x2d7fd5,_0x257e88,_0x16e4b9,_0x2c9be6){return _0x55ca(_0x16e4b9- -_0x2ab89d._0xd700eb,_0x257e88);}while(!![]){try{const _0x296214=parseInt(_0x17e9eb(0x56,0x52,0x3e,0x4e))/0x1*(parseInt(_0x17e9eb(0x60,0x4a,0x68,_0x46d9fb._0x5df26d))/0x2)+parseInt(_0x17e9eb(0x66,0x77,_0x46d9fb._0x8eb9f,_0x46d9fb._0x103594))/0x3+parseInt(_0x17e9eb(_0x46d9fb._0x5d0217,_0x46d9fb._0xbe5fe9,_0x46d9fb._0x444d7a,0x5b))/0x4+parseInt(_0x40476a(0x133,_0x46d9fb._0x2759e1,0x113,_0x46d9fb._0x567d99))/0x5+parseInt(_0x40476a(_0x46d9fb._0x151e70,0x139,_0x46d9fb._0x6cd52a,0x15d))/0x6+-parseInt(_0x40476a(0x135,_0x46d9fb._0x51a8d2,0x138,_0x46d9fb._0x15148a))/0x7*(-parseInt(_0x17e9eb(0x5d,_0x46d9fb._0x3fdf9b,0x5d,_0x46d9fb._0x20afcf))/0x8)+-parseInt(_0x17e9eb(_0x46d9fb._0x22f6e2,_0x46d9fb._0x5e72ae,0x33,0x38))/0x9;if(_0x296214===_0x4e6339)break;else _0x102660['push'](_0x102660['shift']());}catch(_0x25c935){_0x102660['push'](_0x102660['shift']());}}}(_0x57b8,0x45ba2));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x4c0edd){const _0x2cb299={_0x10808b:0x3eb,_0x31b06b:0x3d0,_0x3e6098:0x3a1,_0x99a977:0x3b4},_0x2d2936={_0x2e1e73:0x245},_0x1b61cf={_0x1883e9:0x2};function _0x3d7c91(_0x561b36,_0x24aeed,_0x217cba,_0x320e69){return _0x55ca(_0x320e69-_0x1b61cf._0x1883e9,_0x24aeed);}function _0x28fac2(_0x26d87f,_0x2d013c,_0x1f400a,_0x149e8f){return _0x55ca(_0x149e8f-_0x2d2936._0x2e1e73,_0x26d87f);}return normalizeContent(_0x4c0edd)['filter'](_0x2735e0=>_0x2735e0[_0x28fac2(0x3b0,0x3c2,0x3b0,0x3cf)]==='text')[_0x28fac2(_0x2cb299._0x10808b,0x3be,0x3bd,0x3d2)](_0x2ffef0=>_0x2ffef0['text'])[_0x28fac2(0x3a5,_0x2cb299._0x31b06b,_0x2cb299._0x3e6098,_0x2cb299._0x99a977)]('\x0a\x0a');}function pushUserContentMessage(_0x41209b,_0x3fa06a,_0x30d611){const _0x1af76d={_0x4fe88f:0x366,_0x45f763:0x385,_0x68c4f0:0x4a5,_0x144c8f:0x4b1,_0x50989a:0x4b2,_0x4717b1:0x363,_0x34007c:0x36a},_0x4b9203={_0x3538d2:0x2fd};function _0x451013(_0x2f10d3,_0xf4c4f9,_0x515833,_0x50dd2d){return _0x55ca(_0x2f10d3-_0x4b9203._0x3538d2,_0x50dd2d);}function _0x991838(_0x3cbf0c,_0xdd1360,_0x3717ab,_0x2fd708){return _0x55ca(_0x3cbf0c-0x1f3,_0xdd1360);}if(_0x30d611[_0x991838(_0x1af76d._0x4fe88f,_0x1af76d._0x45f763,0x37a,0x34c)]===0x0)return;_0x41209b[_0x451013(0x492,_0x1af76d._0x68c4f0,_0x1af76d._0x144c8f,_0x1af76d._0x50989a)]({'type':_0x991838(0x35c,_0x1af76d._0x4717b1,_0x1af76d._0x34007c,0x36c),'role':_0x3fa06a,'content':_0x30d611});}function hasSerializableToolUse(_0x5becb0){const _0x43ed6b={_0x20ae50:0x235,_0x2c1f19:0x24d,_0x4788d9:0x22d,_0x2998a7:0x247,_0x4a5825:0x226,_0x46d7c5:0x218},_0x1b6249={_0x4e61df:0x3bc};function _0x11c3b8(_0x47fada,_0xcc8800,_0x1b712d,_0x29ff89){return _0x55ca(_0x47fada- -_0x1b6249._0x4e61df,_0xcc8800);}function _0x8039d8(_0x31b603,_0x14e3ba,_0x16e29b,_0x570fa6){return _0x55ca(_0x570fa6- -0x168,_0x31b603);}return _0x5becb0['id'][_0x11c3b8(-_0x43ed6b._0x20ae50,-0x234,-0x250,-0x255)]()[_0x11c3b8(-0x249,-_0x43ed6b._0x2c1f19,-_0x43ed6b._0x4788d9,-0x231)]>0x0&&_0x5becb0['name'][_0x11c3b8(-_0x43ed6b._0x20ae50,-_0x43ed6b._0x2998a7,-_0x43ed6b._0x4a5825,-_0x43ed6b._0x46d7c5)]()['length']>0x0;}function hasSerializableToolResult(_0x11f725){const _0x54e86c={_0x3c6dd7:0x381,_0x42b844:0x39b,_0x20bfcb:0x422};function _0x438461(_0x24775b,_0x4cb5bd,_0x50f10a,_0x2060c6){return _0x55ca(_0x50f10a-0x29b,_0x24775b);}function _0x2d499a(_0x285e3e,_0x1cb261,_0x4920e7,_0x41a40e){return _0x55ca(_0x1cb261-0x1fa,_0x41a40e);}return _0x11f725['tool_use_id'][_0x2d499a(_0x54e86c._0x3c6dd7,0x381,_0x54e86c._0x42b844,0x38e)]()[_0x438461(_0x54e86c._0x20bfcb,0x3fd,0x40e,0x3fe)]>0x0;}function isResponseInputObject(_0x56c24b){const _0x375df9={_0x55bbb2:0x203,_0x55032e:0x21b,_0x2fe828:0x116,_0x15109b:0x112,_0x3788e6:0x206,_0x2cd25a:0x212,_0x5743c1:0x115,_0xefaaf5:0xfd},_0x353048={_0x51b2f9:0x39c},_0xf02e30={_0xd0a742:0x67};if(typeof _0x56c24b!==_0x2741ff(-0x21a,-_0x375df9._0x55bbb2,-0x21c,-_0x375df9._0x55032e)||_0x56c24b===null||Array[_0x1352c2(_0x375df9._0x2fe828,0x11a,_0x375df9._0x15109b,0x132)](_0x56c24b))return![];function _0x1352c2(_0x3d404c,_0x447fb9,_0x3a1ca0,_0xea69d8){return _0x55ca(_0x3d404c- -_0xf02e30._0xd0a742,_0x447fb9);}function _0x2741ff(_0x1ae556,_0x5dd0f8,_0x57aa97,_0x4f1633){return _0x55ca(_0x4f1633- -_0x353048._0x51b2f9,_0x5dd0f8);}const _0x48e94a=_0x56c24b;return typeof _0x48e94a[_0x2741ff(-0x20c,-_0x375df9._0x3788e6,-0x226,-_0x375df9._0x2cd25a)]===_0x1352c2(_0x375df9._0x5743c1,0x101,0x11e,_0x375df9._0xefaaf5);}function isImageToolResultBlock(_0xb1cd71){const _0x1421b6={_0x15ed18:0x19b,_0x212daa:0x160,_0x30cdad:0x1e6,_0x28cee0:0x1dd,_0x74a52a:0x1fd,_0x491350:0x1e6,_0x359580:0x1e1,_0x451373:0x1fa,_0x51609d:0x19f,_0x504eb0:0x19d,_0x13b733:0x181,_0x4ceaa6:0x1db,_0x25bd13:0x1e9,_0x501cf4:0x1f4,_0x2d6268:0x149,_0x1f492e:0x15b,_0x255561:0x192,_0x277f2d:0x192,_0x51fca1:0x205},_0x274fab={_0x43b85e:0x6d},_0x2f66c7={_0x3672d4:0x306};if(typeof _0xb1cd71!=='object'||_0xb1cd71===null||Array[_0xe13779(-0x189,-0x180,-0x172,-0x198)](_0xb1cd71))return![];function _0xe13779(_0xe6afa1,_0x3235d2,_0x4ac272,_0x4de200){return _0x55ca(_0xe6afa1- -_0x2f66c7._0x3672d4,_0x4ac272);}const _0x2d4af8=_0xb1cd71;function _0x1f6904(_0x242ca1,_0x33b6a6,_0x5f02f9,_0x1b6ba2){return _0x55ca(_0x33b6a6-_0x274fab._0x43b85e,_0x5f02f9);}return _0x2d4af8[_0xe13779(-0x17c,-_0x1421b6._0x15ed18,-0x15c,-_0x1421b6._0x212daa)]===_0x1f6904(0x1ea,_0x1421b6._0x30cdad,0x1f8,_0x1421b6._0x28cee0)&&_0x2d4af8[_0x1f6904(_0x1421b6._0x74a52a,0x212,0x1f9,0x22b)]?.[_0x1f6904(_0x1421b6._0x491350,0x1f7,0x202,_0x1421b6._0x359580)]===_0x1f6904(0x1f5,0x1f8,0x210,_0x1421b6._0x451373)&&typeof _0x2d4af8['source'][_0xe13779(-_0x1421b6._0x51609d,-0x1b3,-_0x1421b6._0x504eb0,-_0x1421b6._0x13b733)]===_0x1f6904(_0x1421b6._0x4ceaa6,_0x1421b6._0x25bd13,0x1e3,_0x1421b6._0x501cf4)&&typeof _0x2d4af8[_0xe13779(-0x161,-0x148,-_0x1421b6._0x2d6268,-_0x1421b6._0x1f492e)][_0xe13779(-0x17e,-_0x1421b6._0x255561,-_0x1421b6._0x277f2d,-0x184)]===_0x1f6904(_0x1421b6._0x51fca1,0x1e9,0x1dc,0x1cc);}function getToolResultText(_0xc436bc){const _0x477672={_0x58c0a5:0xf1,_0x470c51:0xed,_0x314a25:0xf7,_0x2232a3:0x114,_0x4247e7:0x3c8,_0x9a3fb3:0x3c1,_0x59f383:0x3a6,_0x240cde:0x3d2},_0x5243ad={_0x5cfe90:0x23b},_0x4e03ba={_0x48ee6a:0x27e},_0x50eeee={_0x221388:0x4fe,_0x4754b7:0x4d7,_0x5dc5a8:0x4e6,_0x377824:0x54};if(typeof _0xc436bc==='string')return _0xc436bc;const _0x51e02c=_0xc436bc['filter'](_0xdb207=>{function _0x301ce5(_0x1b5ecd,_0x2f4aba,_0x338537,_0x2ebdee){return _0x55ca(_0x2ebdee- -0x161,_0x1b5ecd);}function _0x11efd7(_0x5b7a93,_0x5f3fcb,_0x359ccb,_0x284e86){return _0x55ca(_0x5b7a93-0x365,_0x284e86);}return typeof _0xdb207===_0x11efd7(0x4e6,_0x50eeee._0x221388,_0x50eeee._0x4754b7,_0x50eeee._0x5dc5a8)&&_0xdb207!==null&&_0xdb207[_0x301ce5(0x18,0x1d,0x2c,0x29)]===_0x301ce5(_0x50eeee._0x377824,0x4a,0x22,0x3b);})[_0x4790dd(-0xe3,-_0x477672._0x58c0a5,-_0x477672._0x470c51,-0xfe)](_0x342f4b=>_0x342f4b[_0x4790dd(-0xe0,-0xe2,-0xfc,-0xcc)])['join']('\x0a\x0a')[_0x4790dd(-0x100,-_0x477672._0x314a25,-_0x477672._0x2232a3,-0xfd)]();function _0x4790dd(_0x286d7f,_0x2bce3a,_0x5455db,_0x25124d){return _0x55ca(_0x2bce3a- -_0x4e03ba._0x48ee6a,_0x25124d);}function _0x23c8f6(_0x120d0b,_0x46e501,_0x4c7e04,_0xe94c92){return _0x55ca(_0x120d0b-_0x5243ad._0x5cfe90,_0x4c7e04);}return _0x51e02c[_0x23c8f6(0x3ae,0x3a0,0x39e,_0x477672._0x4247e7)]>0x0?_0x51e02c:_0x23c8f6(_0x477672._0x9a3fb3,0x3cc,_0x477672._0x59f383,_0x477672._0x240cde);}function getToolResultImages(_0x7cd36f){const _0xcc64dc={_0x78f58a:0x40};function _0x433a36(_0x1ec82a,_0x30811e,_0xa0b617,_0x1dd3ac){return _0x55ca(_0x30811e- -0x1ae,_0xa0b617);}return Array[_0x433a36(-_0xcc64dc._0x78f58a,-0x31,-0x24,-0x1f)](_0x7cd36f)?_0x7cd36f['filter'](isImageToolResultBlock):[];}function _0x55ca(_0x59f8fc,_0xf67a19){_0x59f8fc=_0x59f8fc-0x166;const _0x57b87f=_0x57b8();let _0x55ca10=_0x57b87f[_0x59f8fc];if(_0x55ca['XWoixF']===undefined){var _0x4c39a6=function(_0x21fb75){const _0x3b4dbe='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c0edd='',_0x2735e0='';for(let _0x2ffef0=0x0,_0x41209b,_0x3fa06a,_0x30d611=0x0;_0x3fa06a=_0x21fb75['charAt'](_0x30d611++);~_0x3fa06a&&(_0x41209b=_0x2ffef0%0x4?_0x41209b*0x40+_0x3fa06a:_0x3fa06a,_0x2ffef0++%0x4)?_0x4c0edd+=String['fromCharCode'](0xff&_0x41209b>>(-0x2*_0x2ffef0&0x6)):0x0){_0x3fa06a=_0x3b4dbe['indexOf'](_0x3fa06a);}for(let _0x5becb0=0x0,_0x11f725=_0x4c0edd['length'];_0x5becb0<_0x11f725;_0x5becb0++){_0x2735e0+='%'+('00'+_0x4c0edd['charCodeAt'](_0x5becb0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2735e0);};_0x55ca['lzUcji']=_0x4c39a6,_0x55ca['TbplTA']={},_0x55ca['XWoixF']=!![];}const _0x1f28f7=_0x57b87f[0x0],_0x9cfafb=_0x59f8fc+_0x1f28f7,_0x302bd4=_0x55ca['TbplTA'][_0x9cfafb];return!_0x302bd4?(_0x55ca10=_0x55ca['lzUcji'](_0x55ca10),_0x55ca['TbplTA'][_0x9cfafb]=_0x55ca10):_0x55ca10=_0x302bd4,_0x55ca10;}function resolveReasoningVisibility(_0x2ad0d0){const _0x3a1eb5={_0x5402ea:0x20e,_0x3047b6:0x20b,_0x56f9b3:0x21b,_0x6b882f:0x225},_0x27d494={_0x3b15a8:0x95};function _0x5e1047(_0x400972,_0x4eacb7,_0x330543,_0x3bf3ea){return _0x55ca(_0x330543-_0x27d494._0x3b15a8,_0x4eacb7);}function _0x35578d(_0x25680f,_0x5ee688,_0x4d0816,_0x1fe270){return _0x55ca(_0x1fe270- -0x32d,_0x4d0816);}return _0x2ad0d0[_0x5e1047(_0x3a1eb5._0x5402ea,_0x3a1eb5._0x3047b6,0x1fd,0x204)]?.[_0x5e1047(_0x3a1eb5._0x56f9b3,0x21e,0x200,0x209)]??_0x5e1047(0x22f,0x241,_0x3a1eb5._0x6b882f,0x207);}function createOpenAiResponsesReasoning(_0x5170d0){const _0x1e7166={_0x287851:0x3e1,_0x208c04:0x3e4,_0x294c97:0x128,_0x438fca:0x126,_0xd1ab41:0x3e6,_0x306aca:0x3fc,_0x1ff833:0x3fe,_0x48b37c:0x104,_0x42f4a0:0x3f4,_0x1f05e7:0x128,_0xd272cb:0x10b,_0x3856e0:0x12b,_0x3f3088:0x3e3,_0x371ce5:0x3ea,_0x35d7f6:0x3f5,_0x57c168:0x3f9,_0x1378d7:0x414,_0x18499f:0x120,_0x4c7338:0x136,_0x47f82c:0xf5,_0x53202c:0xfc},_0x5e5ab6={_0x34d4d0:0x61},_0x105c65={_0x1a4c8d:0x281},_0x4bb287=resolveOpenAiReasoningConfig(_0x5170d0['reasoning']);if(!_0x4bb287)return{};const _0x22a3cb={},_0x3d8f79=_0x5170d0[_0x3a4ba7(_0x1e7166._0x287851,_0x1e7166._0x208c04,0x3ee,0x3e9)]?.[_0x8ef924(_0x1e7166._0x294c97,0x134,0x122,_0x1e7166._0x438fca)]!==void 0x0,_0x5edbcf=(!_0x3d8f79&&_0x3a4ba7(_0x1e7166._0xd1ab41,_0x1e7166._0x306aca,_0x1e7166._0x1ff833,0x3f6)in _0x4bb287?_0x4bb287[_0x8ef924(0x114,0x132,0x11e,_0x1e7166._0x48b37c)]:void 0x0)??(resolveReasoningVisibility(_0x5170d0)===_0x3a4ba7(0x413,_0x1e7166._0x42f4a0,0x3f6,0x411)?_0x8ef924(0x115,0x110,0x118,_0x1e7166._0x1f05e7):void 0x0);_0x4bb287[_0x8ef924(_0x1e7166._0xd272cb,0x107,_0x1e7166._0x3856e0,0xf0)]&&(_0x22a3cb['effort']=_0x4bb287[_0x3a4ba7(0x3f3,_0x1e7166._0x3f3088,0x3e7,0x3ed)]);_0x5edbcf&&(_0x22a3cb[_0x8ef924(0x114,0x125,0x113,0x12e)]=_0x5edbcf);function _0x3a4ba7(_0x296d0b,_0x1e4862,_0x25f0c1,_0x4a016d){return _0x55ca(_0x4a016d-_0x105c65._0x1a4c8d,_0x1e4862);}function _0x8ef924(_0x16b928,_0x104479,_0x217823,_0x6be4b1){return _0x55ca(_0x16b928- -_0x5e5ab6._0x34d4d0,_0x6be4b1);}return{...!_0x3d8f79&&_0x3a4ba7(_0x1e7166._0x371ce5,_0x1e7166._0x3f3088,_0x1e7166._0x35d7f6,_0x1e7166._0x57c168)in _0x4bb287&&_0x4bb287[_0x3a4ba7(_0x1e7166._0x1378d7,0x3fe,_0x1e7166._0x208c04,0x3f9)]===![]?{}:{'include':[_0x8ef924(0x13e,_0x1e7166._0x18499f,0x123,_0x1e7166._0x4c7338)]},...Object['keys'](_0x22a3cb)[_0x8ef924(0x112,0x106,_0x1e7166._0x47f82c,_0x1e7166._0x53202c)]>0x0?{'reasoning':_0x22a3cb}:{}};}function pushAssistantProviderState(_0xf9f8a7,_0x9a1c30,_0x25ad68){const _0x6d5eb3={_0x4e3f19:0x4df,_0x610579:0x4f6,_0x5d155f:0x500,_0x46a022:0x4cb,_0x577781:0x4e1,_0x2cb539:0x2b3,_0x4c2b68:0x294,_0x1fa655:0x2b9,_0x383384:0x4e1,_0x24e1fb:0x4f9,_0xf0d5fd:0x4c2,_0x8277b7:0x2c5,_0x2f9f40:0x2b5,_0x10e543:0x4e4,_0x42e1d2:0x4e9,_0x4eb82d:0x4fe,_0xcc1299:0x4f1,_0x9773e6:0x2aa,_0x4c742e:0x4dc,_0x32ea86:0x4cb,_0x5374bf:0x4ee},_0x53af72={_0x3725b5:0x12d};function _0x718047(_0x574dd3,_0x1335f1,_0x1ae144,_0x370680){return _0x55ca(_0x370680-0x367,_0x1ae144);}if(_0x9a1c30[_0x718047(0x4eb,_0x6d5eb3._0x4e3f19,0x511,_0x6d5eb3._0x610579)]!=='assistant')return![];if(!isProviderStateCompatible(_0x9a1c30,_0x25ad68))return![];const _0x507570=_0x9a1c30[_0x718047(_0x6d5eb3._0x5d155f,0x4fd,_0x6d5eb3._0x46a022,_0x6d5eb3._0x577781)]?.[_0x5293f4(0x2b0,_0x6d5eb3._0x2cb539,_0x6d5eb3._0x4c2b68,_0x6d5eb3._0x1fa655)]??[];function _0x5293f4(_0x5e964f,_0xa128a,_0x5e2573,_0x55ac05){return _0x55ca(_0x5e964f-_0x53af72._0x3725b5,_0x55ac05);}if(_0x507570[_0x718047(_0x6d5eb3._0x383384,_0x6d5eb3._0x24e1fb,_0x6d5eb3._0xf0d5fd,0x4da)]===0x0)return![];for(const _0x51513d of _0x507570){if(isResponseInputObject(_0x51513d)){const _0x3dde40=structuredClone(_0x51513d);delete _0x3dde40[_0x5293f4(0x2be,_0x6d5eb3._0x8277b7,_0x6d5eb3._0x2f9f40,0x2b3)],_0x3dde40[_0x718047(_0x6d5eb3._0x10e543,_0x6d5eb3._0x42e1d2,_0x6d5eb3._0x4eb82d,_0x6d5eb3._0xcc1299)]===_0x5293f4(0x295,0x283,_0x6d5eb3._0x9773e6,0x2b4)&&!Array[_0x718047(0x4f8,0x4db,0x4d9,0x4e4)](_0x3dde40[_0x718047(0x4f7,0x4e3,0x4cf,_0x6d5eb3._0x4c742e)])&&(_0x3dde40[_0x718047(0x4e4,_0x6d5eb3._0x32ea86,_0x6d5eb3._0x5374bf,_0x6d5eb3._0x4c742e)]=[]),_0xf9f8a7['push'](_0x3dde40);}}return!![];}function toOpenAiResponsesRequest(_0x2d60b0){const _0x5115a3={_0x584a60:0x520,_0x100ea7:0x517,_0x27f468:0x51d,_0x1aaa43:0x502,_0x501a48:0x503,_0x104807:0x504,_0x37699f:0x4f9,_0x454bbe:0x514,_0x2a1757:0x533,_0x215e20:0x513,_0x3437ec:0x52f,_0x26ffcc:0x4e7,_0x5f0dbf:0x4e6,_0x64f7fb:0x501,_0x4bf1c9:0x530,_0x3a9af8:0x4ee,_0x1e053d:0x4f8,_0x21f5a8:0x509,_0x2d7a3b:0x4cb,_0x563c17:0x4e9,_0x45265f:0x4d3,_0x2ae35f:0x504,_0x20f8b3:0x4e4,_0x4489c2:0x509,_0x3ee8fa:0x4f8,_0x2b4c5e:0x50e,_0x3c0615:0x512,_0x158623:0x523,_0xed28ba:0x4e5,_0x2db24f:0x504,_0x3a8f3c:0x500,_0x571c0a:0x506,_0x5a26b5:0x537,_0x562e11:0x501,_0x243a3e:0x50c,_0x4e051b:0x532,_0x3d41c0:0x4d4,_0x285ec6:0x4dc,_0x123de4:0x4ed,_0x5bcd89:0x4e6,_0x4cdc82:0x4fc,_0x427956:0x4f2,_0x206adb:0x4eb,_0x1af27a:0x4d1,_0x4803aa:0x510,_0x3c0679:0x50a,_0x4a9a98:0x4d9,_0x2f1db5:0x4ef,_0x341e38:0x4f2,_0x5cc913:0x4f4,_0x2f6712:0x4f0,_0x57db02:0x505,_0x27ab50:0x4d7,_0x27fdea:0x4c1,_0x59938c:0x519,_0x31d77e:0x4e3,_0x491767:0x4ec,_0x186538:0x4ff,_0x285cc5:0x506,_0x137848:0x4fa,_0x2308b4:0x512,_0x5f5235:0x4fe,_0x3aa37f:0x4e4,_0x3851c4:0x51c,_0x11dc8f:0x528,_0x2cec0d:0x508,_0x59479b:0x511,_0x2b9f97:0x509,_0xf78698:0x4f1,_0x532b2b:0x4fd,_0x54b96a:0x4d4,_0x25298b:0x4f5,_0x152852:0x4d2,_0x1146b4:0x4fb,_0x37447c:0x539,_0x3971a6:0x528,_0x17e428:0x51e},_0x2e2a91={_0x9a0a03:0x199,_0x4348a9:0x18a,_0xb5d232:0x181,_0x370c35:0x1a1,_0x3edd82:0x1c9,_0x4ff4e9:0x1a9,_0x1753c3:0x18e,_0x5965d9:0x1c6};function _0x22251b(_0x2f1431,_0x4f0847,_0x571133,_0x34e966){return _0x55ca(_0x2f1431-0x364,_0x4f0847);}const _0x113b0a=[];for(const _0x1f6038 of _0x2d60b0[_0x5cd109(_0x5115a3._0x584a60,0x525,_0x5115a3._0x100ea7,_0x5115a3._0x27f468)]){if(pushAssistantProviderState(_0x113b0a,_0x1f6038,_0x2d60b0))continue;const _0x23607e=[];for(const _0xe32b6e of normalizeContent(_0x1f6038[_0x5cd109(_0x5115a3._0x1aaa43,0x510,0x4fd,0x4f0)])){if(_0xe32b6e[_0x22251b(0x4ee,_0x5115a3._0x501a48,_0x5115a3._0x104807,0x4f3)]===_0x5cd109(0x517,0x520,0x514,0x524)){_0x23607e[_0x22251b(_0x5115a3._0x37699f,0x4e4,0x515,_0x5115a3._0x454bbe)](_0x1f6038[_0x5cd109(_0x5115a3._0x2a1757,_0x5115a3._0x215e20,0x528,_0x5115a3._0x3437ec)]==='assistant'?{'type':_0x5cd109(_0x5115a3._0x26ffcc,0x4ea,0x4f1,0x4cf),'text':_0xe32b6e['text']}:{'type':_0x5cd109(_0x5115a3._0x5f0dbf,_0x5115a3._0x501a48,0x51c,_0x5115a3._0x454bbe),'text':_0xe32b6e[_0x5cd109(_0x5115a3._0x64f7fb,0x520,_0x5115a3._0x4bf1c9,0x50a)]});continue;}if(_0xe32b6e[_0x22251b(_0x5115a3._0x3a9af8,0x4fb,0x4ed,_0x5115a3._0x1e053d)]==='image'){_0x23607e['push']({'type':'input_image','image_url':'data:'+_0xe32b6e[_0x22251b(_0x5115a3._0x21f5a8,_0x5115a3._0x584a60,0x506,0x50c)][_0x22251b(_0x5115a3._0x2d7a3b,0x4d7,_0x5115a3._0x563c17,_0x5115a3._0x45265f)]+_0x22251b(0x4e9,_0x5115a3._0x2ae35f,0x4d0,_0x5115a3._0x20f8b3)+_0xe32b6e[_0x22251b(_0x5115a3._0x4489c2,0x507,0x50d,0x515)][_0x5cd109(_0x5115a3._0x3ee8fa,0x50c,0x4fd,_0x5115a3._0x2b4c5e)]});continue;}pushUserContentMessage(_0x113b0a,_0x1f6038[_0x5cd109(_0x5115a3._0x3c0615,0x513,_0x5115a3._0x158623,0x50b)],_0x23607e[_0x5cd109(0x4eb,_0x5115a3._0x3a9af8,0x4d4,0x503)](0x0));if(_0xe32b6e[_0x22251b(0x4ee,0x4e4,0x4cf,_0x5115a3._0xed28ba)]===_0x22251b(_0x5115a3._0x2db24f,_0x5115a3._0x3a8f3c,0x50d,0x4f1)){if(!hasSerializableToolUse(_0xe32b6e))continue;_0x113b0a[_0x5cd109(_0x5115a3._0x571c0a,0x519,_0x5115a3._0x5a26b5,_0x5115a3._0x3437ec)]({'type':_0x5cd109(_0x5115a3._0x562e11,0x51f,_0x5115a3._0x243a3e,_0x5115a3._0x4e051b),'call_id':_0xe32b6e['id'],'name':_0xe32b6e['name'],'arguments':JSON['stringify'](_0xe32b6e[_0x22251b(_0x5115a3._0x3d41c0,_0x5115a3._0x285ec6,_0x5115a3._0x123de4,_0x5115a3._0x5bcd89)]??{})});continue;}if(_0xe32b6e[_0x22251b(0x4ee,0x4f6,_0x5115a3._0x4cdc82,_0x5115a3._0x1e053d)]===_0x22251b(0x4e2,_0x5115a3._0x427956,_0x5115a3._0x206adb,_0x5115a3._0x1af27a)){if(!hasSerializableToolResult(_0xe32b6e))continue;const _0x3846e0=getToolResultText(_0xe32b6e[_0x22251b(0x4f0,_0x5115a3._0x4803aa,0x4fe,_0x5115a3._0x3c0679)]);_0x113b0a[_0x22251b(0x4f9,0x505,0x4fe,_0x5115a3._0x4a9a98)]({'type':_0x5cd109(_0x5115a3._0x563c17,0x504,0x509,_0x5115a3._0x2f1db5),'call_id':_0xe32b6e[_0x22251b(_0x5115a3._0x341e38,0x4d9,0x4fd,_0x5115a3._0x5cc913)],'output':_0x3846e0});const _0x56901e=getToolResultImages(_0xe32b6e[_0x22251b(_0x5115a3._0x2f6712,0x4e2,_0x5115a3._0x571c0a,_0x5115a3._0x57db02)]);_0x56901e[_0x22251b(_0x5115a3._0x27ab50,_0x5115a3._0x27fdea,0x4ed,0x4ef)]>0x0&&_0x113b0a[_0x5cd109(_0x5115a3._0x1aaa43,0x519,0x536,_0x5115a3._0x59938c)]({'type':'message','role':'user','content':[{'type':_0x22251b(_0x5115a3._0x31d77e,0x4e0,0x502,_0x5115a3._0x491767),'text':_0x5cd109(_0x5115a3._0x186538,_0x5115a3._0x285cc5,_0x5115a3._0x137848,0x514)+_0xe32b6e[_0x5cd109(0x528,_0x5115a3._0x2308b4,_0x5115a3._0x5f5235,0x50a)]+'.'},..._0x56901e[_0x22251b(0x4f1,0x4f5,_0x5115a3._0x1aaa43,0x4e9)](_0x4ea83f=>({'type':'input_image','image_url':'data:'+_0x4ea83f[_0x5cd109(0x522,0x529,0x537,0x524)][_0x5cd109(0x4cc,0x4eb,0x4df,0x4f3)]+_0x22251b(0x4e9,0x4f5,0x4d2,0x504)+_0x4ea83f['source'][_0x22251b(0x4ec,0x4ee,0x4e0,0x4d9)]}))]});}}pushUserContentMessage(_0x113b0a,_0x1f6038['role'],_0x23607e);}function _0x5cd109(_0x1d83a0,_0x8bbede,_0x4218b0,_0x3e8cbc){return _0x55ca(_0x8bbede-0x384,_0x1d83a0);}return{...createOpenAiResponsesReasoning(_0x2d60b0),'model':_0x2d60b0[_0x5cd109(0x515,0x4f8,0x4df,_0x5115a3._0x3aa37f)],'instructions':systemToInstructions(_0x2d60b0[_0x22251b(0x4fc,_0x5115a3._0x3851c4,_0x5115a3._0x3ee8fa,0x517)]),'input':_0x113b0a,..._0x2d60b0[_0x5cd109(0x527,_0x5115a3._0x11dc8f,_0x5115a3._0x2b4c5e,0x50f)]!==void 0x0?{'max_output_tokens':_0x2d60b0[_0x22251b(_0x5115a3._0x2cec0d,0x503,0x4ea,0x4fe)]}:{},'tools':_0x2d60b0[_0x5cd109(_0x5115a3._0x59479b,0x4f2,0x4eb,_0x5115a3._0x2b9f97)][_0x22251b(_0x5115a3._0xf78698,0x503,_0x5115a3._0x532b2b,_0x5115a3._0x54b96a)](_0x3c3aae=>{const _0x4310db={_0x42d8dd:0x36f,_0x5b8fc5:0x11f},_0x1b61c0={_0x189171:0x374};function _0x4aa3c6(_0x2caf8f,_0x1335a1,_0x306d8c,_0x3456c8){return _0x5cd109(_0x3456c8,_0x2caf8f- -_0x1b61c0._0x189171,_0x306d8c-0x18,_0x3456c8-0x151);}function _0x3dad25(_0x1da0b1,_0x524fb0,_0x565cd6,_0x369af8){return _0x5cd109(_0x565cd6,_0x1da0b1- -_0x4310db._0x42d8dd,_0x565cd6-_0x4310db._0x5b8fc5,_0x369af8-0x17c);}return{'type':_0x3dad25(_0x2e2a91._0x9a0a03,_0x2e2a91._0x4348a9,0x18c,_0x2e2a91._0xb5d232),'name':_0x3c3aae[_0x4aa3c6(0x181,0x164,0x185,_0x2e2a91._0x370c35)],'description':_0x3c3aae[_0x3dad25(0x1ae,0x192,0x1c9,_0x2e2a91._0x3edd82)],'parameters':_0x3c3aae[_0x3dad25(_0x2e2a91._0x4ff4e9,0x18a,_0x2e2a91._0x1753c3,_0x2e2a91._0x5965d9)]};}),..._0x2d60b0[_0x22251b(0x4df,0x4f2,_0x5115a3._0x25298b,0x4db)]?{'text':{'format':{'type':_0x22251b(0x4d6,_0x5115a3._0x152852,0x4f2,0x4db),'name':_0x2d60b0['outputFormat'][_0x5cd109(0x4f6,0x4f5,0x4fb,0x508)]??_0x22251b(0x4fa,_0x5115a3._0x1146b4,_0x5115a3._0x37699f,0x4da),'schema':_0x2d60b0['outputFormat'][_0x5cd109(_0x5115a3._0x37447c,0x51b,_0x5115a3._0x501a48,_0x5115a3._0x3971a6)],'strict':_0x2d60b0[_0x5cd109(_0x5115a3._0x2cec0d,0x4ff,_0x5115a3._0x17e428,0x508)]['strict']??!![]}}}:{}};}export{toOpenAiResponsesRequest};
@@ -1 +1 @@
1
- (function(_0x5bb7b2,_0x5a74c3){var _0x16cba6={_0x4b122f:0x389,_0x30d03f:0x393,_0x3a8267:0x398,_0x35c81a:0x22e,_0x1e626f:0x236,_0x3a7dfa:0x22c,_0x97cf5:0x23f,_0x4d115d:0x241,_0x307877:0x23b,_0x9f343e:0x23a,_0x2c9fad:0x23c,_0x2630a5:0x22f,_0x19b485:0x393,_0x2e90fe:0x39c,_0x39670f:0x232,_0x747f9a:0x239,_0x4fa343:0x384,_0x107b4f:0x38f},_0x1ef0b4={_0x3a34ed:0x290};function _0x55f2f9(_0x590ee7,_0x150de4,_0x3a3b2e,_0x409e11){return _0x33da(_0x3a3b2e- -0x348,_0x590ee7);}function _0x31e40a(_0x129903,_0x83761,_0x4ab676,_0x547915){return _0x33da(_0x547915-_0x1ef0b4._0x3a34ed,_0x83761);}var _0x56515b=_0x5bb7b2();while(!![]){try{var _0x3f744d=parseInt(_0x31e40a(0x392,0x38a,_0x16cba6._0x4b122f,_0x16cba6._0x30d03f))/0x1+-parseInt(_0x31e40a(0x39b,_0x16cba6._0x3a8267,0x39b,0x396))/0x2+parseInt(_0x55f2f9(-0x230,-_0x16cba6._0x35c81a,-_0x16cba6._0x1e626f,-_0x16cba6._0x3a7dfa))/0x3*(-parseInt(_0x55f2f9(-_0x16cba6._0x97cf5,-_0x16cba6._0x4d115d,-_0x16cba6._0x307877,-_0x16cba6._0x9f343e))/0x4)+-parseInt(_0x55f2f9(-0x234,-0x23e,-_0x16cba6._0x2c9fad,-0x244))/0x5+parseInt(_0x55f2f9(-0x23f,-0x23a,-0x238,-_0x16cba6._0x2630a5))/0x6*(-parseInt(_0x31e40a(_0x16cba6._0x19b485,_0x16cba6._0x2e90fe,0x398,0x397))/0x7)+parseInt(_0x55f2f9(-_0x16cba6._0x39670f,-0x236,-0x23d,-0x248))/0x8*(-parseInt(_0x55f2f9(-0x23e,-0x239,-_0x16cba6._0x747f9a,-0x238))/0x9)+-parseInt(_0x31e40a(_0x16cba6._0x4fa343,0x384,0x389,_0x16cba6._0x107b4f))/0xa*(-parseInt(_0x31e40a(_0x16cba6._0x3a8267,_0x16cba6._0x3a8267,0x382,0x38d))/0xb);if(_0x3f744d===_0x5a74c3)break;else _0x56515b['push'](_0x56515b['shift']());}catch(_0x1beefd){_0x56515b['push'](_0x56515b['shift']());}}}(_0x220b,0xd4d83));var OperationAbortedError=class extends Error{[_0x394a67(0x4ef,0x4e5,0x4ef,0x4f0)]=_0x394a67(0x4ef,0x4e1,0x4f5,0x4ea);constructor(_0x1b9047=_0x394a67(0x4f2,0x4dc,0x4e4,0x4e7)){var _0x25b86a={_0x1d5d3c:0x371};function _0x50119b(_0x1f2391,_0x5f2fa6,_0x397037,_0x3c7855){return _0x394a67(_0x1f2391,_0x5f2fa6-0xc1,_0x397037-0x107,_0x397037- -_0x25b86a._0x1d5d3c);}super(_0x1b9047),this['name']=_0x50119b(0x17f,0x181,0x177,0x17f);}};function _0x17ff76(_0x369782,_0x587974,_0x5e023d,_0x311fdb){return _0x33da(_0x311fdb-0x32a,_0x5e023d);}function toAbortError(_0xde70bd){var _0x3b4bb8={_0x4f34d7:0x438,_0x4b1d3d:0x444,_0x3b2f0b:0x439,_0x11c021:0x448,_0x7d2020:0x441,_0x55a085:0x43c},_0x29ebde={_0x568340:0x197};function _0x1f2494(_0x21bfc1,_0x419474,_0x2a8dad,_0x102cfc){return _0x394a67(_0x21bfc1,_0x419474-0x47,_0x2a8dad-_0x29ebde._0x568340,_0x419474- -0x597);}if(isAbortError(_0xde70bd))return _0xde70bd;if(_0xde70bd instanceof Error)return new OperationAbortedError(_0xde70bd['message']);if(typeof _0xde70bd===_0x28ef01(_0x3b4bb8._0x4f34d7,_0x3b4bb8._0x4b1d3d,_0x3b4bb8._0x3b2f0b,0x432)&&_0xde70bd[_0x28ef01(0x440,_0x3b4bb8._0x11c021,_0x3b4bb8._0x7d2020,_0x3b4bb8._0x55a085)]>0x0)return new OperationAbortedError(_0xde70bd);function _0x28ef01(_0x2fed13,_0x9a3f46,_0x6ec5c4,_0xec6a16){return _0x17ff76(_0x2fed13-0x6f,_0x9a3f46-0x1e3,_0x9a3f46,_0x6ec5c4-0xf);}return new OperationAbortedError();}function isAbortError(_0x444f8c){var _0x2fd700={_0x421890:0x33c,_0x45cd85:0x33b,_0x2cc9d1:0x1a4,_0x2ff7be:0x1a1,_0x44fdc0:0x199,_0x2e3460:0x331,_0x5321e0:0x335,_0x394365:0x196,_0x2e59c2:0x1a6},_0x410213={_0x564d4e:0x15,_0xc96d55:0x18f},_0x1d2020={_0x5973eb:0x35,_0x152823:0x5cd};function _0x5736bf(_0x47d237,_0x4c0774,_0x115331,_0x223dfd){return _0x17ff76(_0x47d237-0x42,_0x4c0774-_0x1d2020._0x5973eb,_0x223dfd,_0x115331- -_0x1d2020._0x152823);}function _0x4ae492(_0x3474c8,_0x408b59,_0x529c18,_0x822ba3){return _0x17ff76(_0x3474c8-_0x410213._0x564d4e,_0x408b59-_0x410213._0xc96d55,_0x3474c8,_0x529c18- -0x100);}return _0x444f8c instanceof OperationAbortedError||_0x444f8c instanceof Error&&(_0x444f8c[_0x4ae492(_0x2fd700._0x421890,0x340,_0x2fd700._0x45cd85,0x33b)]===_0x5736bf(-_0x2fd700._0x2cc9d1,-0x1a7,-_0x2fd700._0x2ff7be,-_0x2fd700._0x44fdc0)||_0x4ae492(0x337,_0x2fd700._0x2e3460,0x334,_0x2fd700._0x5321e0)in _0x444f8c&&_0x444f8c[_0x4ae492(0x339,0x334,0x334,0x329)]===_0x5736bf(-_0x2fd700._0x394365,-0x1a5,-0x19f,-_0x2fd700._0x2e59c2));}function _0x394a67(_0x28b91d,_0x47a3f6,_0x3b0968,_0x7afbc6){var _0x484e07={_0x11b9c0:0x3e6};return _0x33da(_0x7afbc6-_0x484e07._0x11b9c0,_0x28b91d);}function _0x33da(_0x51f614,_0x5f48e6){_0x51f614=_0x51f614-0xfd;var _0x220b8a=_0x220b();var _0x33daaf=_0x220b8a[_0x51f614];if(_0x33da['dGFKQW']===undefined){var _0x2c3229=function(_0x47f42a){var _0x575280='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1b9047='',_0xde70bd='';for(var _0x444f8c=0x0,_0xb10ddd,_0x5e9d91,_0x85b85c=0x0;_0x5e9d91=_0x47f42a['charAt'](_0x85b85c++);~_0x5e9d91&&(_0xb10ddd=_0x444f8c%0x4?_0xb10ddd*0x40+_0x5e9d91:_0x5e9d91,_0x444f8c++%0x4)?_0x1b9047+=String['fromCharCode'](0xff&_0xb10ddd>>(-0x2*_0x444f8c&0x6)):0x0){_0x5e9d91=_0x575280['indexOf'](_0x5e9d91);}for(var _0x1940bd=0x0,_0x51c90a=_0x1b9047['length'];_0x1940bd<_0x51c90a;_0x1940bd++){_0xde70bd+='%'+('00'+_0x1b9047['charCodeAt'](_0x1940bd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xde70bd);};_0x33da['YZzZqY']=_0x2c3229,_0x33da['qaHWBz']={},_0x33da['dGFKQW']=!![];}var _0x78a92a=_0x220b8a[0x0],_0x19c3a4=_0x51f614+_0x78a92a,_0x375a4f=_0x33da['qaHWBz'][_0x19c3a4];return!_0x375a4f?(_0x33daaf=_0x33da['YZzZqY'](_0x33daaf),_0x33da['qaHWBz'][_0x19c3a4]=_0x33daaf):_0x33daaf=_0x375a4f,_0x33daaf;}function throwIfAborted(_0xb10ddd){var _0x1624b6={_0x1c445e:0x452,_0x2fb9bc:0x45c},_0x133633={_0x1fb22a:0x95};function _0xe4da1e(_0x38b0b7,_0x5a0bcb,_0x2e42c1,_0x1fa0cb){return _0x394a67(_0x38b0b7,_0x5a0bcb-0x16b,_0x2e42c1-0x73,_0x1fa0cb- -_0x133633._0x1fb22a);}if(!_0xb10ddd?.[_0xe4da1e(0x45a,_0x1624b6._0x1c445e,_0x1624b6._0x2fb9bc,0x45a)])return;throw toAbortError(_0xb10ddd['reason']);}function _0x220b(){var _0x3d3003=['qujpuLrFrvjs','ywrKrxzLBNrmAxn0zw5LCG','mJCZmdGXofjbCgvTBq','otKYnJa2m2HbB3r6Dq','BgvUz3rO','ywjVCNrLza','y29Kzq','mtm2zM9rBurm','odu5mdq2mgfiB0PyCq','mJuZnJCZmNvyCM1Lra','CMvTB3zLrxzLBNrmAxn0zw5LCG','mZC1m1PutuDQCa','nMnxs1Llqq','BMfTzq','m1HgvwP3ta','mJe3ndK5odfgAgzKz1G','ywjVCNq','mZbft25iugu','C3rYAw5N','t3bLCMf0Aw9UigfIB3j0zwq','qwjVCNrfCNjVCG','odi3odbxEu9UuKm'];_0x220b=function(){return _0x3d3003;};return _0x220b();}function addAbortListener(_0x5e9d91,_0x85b85c){var _0x17f4d8={_0x484597:0x314,_0x2e7878:0x311,_0x26906c:0x2f7,_0xfcae4:0x303,_0x200a6a:0x301},_0x4731e2={_0x38f8aa:0x11a,_0x140178:0x176,_0xd2844d:0x17e,_0x82e515:0x170},_0xa0beb6={_0x1a1459:0xe3,_0xb146cb:0x5f,_0x1f4f28:0x1e3},_0x2c3ad9={_0x58a22f:0x6c,_0x304116:0x714};if(!_0x5e9d91)return()=>{};if(_0x5e9d91[_0x598550(0x302,_0x17f4d8._0x484597,0x30c,0x30c)])return _0x85b85c(),()=>{};function _0x34cf8f(_0x1db231,_0x4f65e2,_0x11d1ef,_0x2dc2d5){return _0x394a67(_0x2dc2d5,_0x4f65e2-0xf1,_0x11d1ef-_0x2c3ad9._0x58a22f,_0x1db231- -_0x2c3ad9._0x304116);}const _0x1940bd=()=>{_0x85b85c();};_0x5e9d91[_0x598550(0x313,_0x17f4d8._0x2e7878,0x2fd,0x308)](_0x598550(_0x17f4d8._0x26906c,0x302,_0x17f4d8._0xfcae4,_0x17f4d8._0x200a6a),_0x1940bd,{'once':!![]});function _0x598550(_0x340ba7,_0x2d782c,_0x2b9a28,_0x57e139){return _0x394a67(_0x2d782c,_0x2d782c-_0xa0beb6._0x1a1459,_0x2b9a28-_0xa0beb6._0xb146cb,_0x57e139- -_0xa0beb6._0x1f4f28);}return()=>{var _0x1ceb70={_0x16db81:0x19c},_0x1cabf4={_0x3b39df:0x32f,_0xee4856:0x1d7};function _0x3e9839(_0x15f973,_0x1151be,_0x37df86,_0x304353){return _0x34cf8f(_0x1151be-_0x1cabf4._0x3b39df,_0x1151be-_0x1cabf4._0xee4856,_0x37df86-0x49,_0x304353);}function _0x79cac2(_0x257348,_0x684e25,_0x20a7a2,_0x5e3a2e){return _0x34cf8f(_0x257348-0xba,_0x684e25-_0x1ceb70._0x16db81,_0x20a7a2-0x13a,_0x20a7a2);}_0x5e9d91[_0x3e9839(0x10f,0x10f,_0x4731e2._0x38f8aa,0x105)](_0x79cac2(-_0x4731e2._0x140178,-_0x4731e2._0xd2844d,-0x177,-_0x4731e2._0x82e515),_0x1940bd);};}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
1
+ (function(_0x58fa65,_0x28aa51){var _0x5edf0f={_0x4c91f5:0x197,_0x2ed9a4:0x191,_0x673d51:0x185,_0x5cb585:0x543,_0x28336a:0x553,_0x2c48cf:0x18b,_0x36fca0:0x177,_0x1157ef:0x189,_0x3d8a00:0x195,_0x58474b:0x185,_0x45134c:0x184,_0x110856:0x18e,_0x2e175f:0x54e,_0x69b16c:0x558,_0x56cd48:0x181,_0x115395:0x18a},_0x2f4274={_0x1730c2:0x18};function _0x15b224(_0x15200d,_0x14c682,_0x2abb54,_0x1ef1e0){return _0x528e(_0x15200d-0x3b0,_0x2abb54);}function _0x22b1af(_0xb03d9c,_0x355931,_0x80b3a5,_0x34114b){return _0x528e(_0x355931- -_0x2f4274._0x1730c2,_0x34114b);}var _0x43f9f8=_0x58fa65();while(!![]){try{var _0x298229=-parseInt(_0x22b1af(_0x5edf0f._0x4c91f5,0x18e,_0x5edf0f._0x2ed9a4,_0x5edf0f._0x673d51))/0x1+-parseInt(_0x15b224(0x544,0x54d,0x53f,0x53c))/0x2+-parseInt(_0x15b224(0x54d,_0x5edf0f._0x5cb585,0x54f,_0x5edf0f._0x28336a))/0x3+parseInt(_0x22b1af(0x182,0x18b,_0x5edf0f._0x2c48cf,0x194))/0x4*(parseInt(_0x22b1af(_0x5edf0f._0x36fca0,0x17f,_0x5edf0f._0x1157ef,0x17f))/0x5)+-parseInt(_0x22b1af(0x192,0x190,_0x5edf0f._0x3d8a00,0x192))/0x6*(parseInt(_0x22b1af(_0x5edf0f._0x673d51,0x17d,0x181,_0x5edf0f._0x58474b))/0x7)+parseInt(_0x22b1af(_0x5edf0f._0x45134c,0x189,0x187,_0x5edf0f._0x110856))/0x8+parseInt(_0x15b224(_0x5edf0f._0x2e175f,_0x5edf0f._0x69b16c,0x544,0x54b))/0x9*(parseInt(_0x22b1af(_0x5edf0f._0x56cd48,_0x5edf0f._0x115395,0x18d,_0x5edf0f._0x115395))/0xa);if(_0x298229===_0x28aa51)break;else _0x43f9f8['push'](_0x43f9f8['shift']());}catch(_0x1cd3b5){_0x43f9f8['push'](_0x43f9f8['shift']());}}}(_0x3c4a,0x50726));var OperationAbortedError=class extends Error{[_0x29ccc5(-0x16f,-0x166,-0x169,-0x15f)]=_0x591af0(0x505,0x50a,0x510,0x513);constructor(_0x4cfdea=_0x29ccc5(-0x173,-0x172,-0x171,-0x172)){var _0x274ed4={_0x121b89:0x2e3,_0x9f6f52:0x2e8},_0x460667={_0x33f70a:0xa1};function _0x415da2(_0x58cd4f,_0x7b9d44,_0x441558,_0x4f5b3e){return _0x29ccc5(_0x58cd4f-0x1e8,_0x58cd4f-0x348,_0x441558-0x99,_0x4f5b3e);}function _0x35d8f6(_0xb4e3e9,_0x7df11e,_0x87c7c5,_0x27e459){return _0x591af0(_0xb4e3e9-0x8,_0xb4e3e9,_0x27e459- -0x228,_0x27e459-_0x460667._0x33f70a);}super(_0x4cfdea),this[_0x35d8f6(0x2ee,0x2df,0x2f0,0x2e9)]=_0x35d8f6(_0x274ed4._0x121b89,0x2e0,_0x274ed4._0x9f6f52,0x2e3);}};function toAbortError(_0x3d4f8b){var _0x43bf69={_0xa2d296:0x1a0,_0x4f2816:0x1a8,_0x3798e4:0x1a1,_0x387dfa:0x206,_0x2cc2bc:0x201,_0x36d7db:0x20c,_0x53fb09:0x191,_0x2f5100:0x18e},_0x2cbba8={_0x2e0c78:0x75},_0x4f8848={_0x3895a2:0x35};if(isAbortError(_0x3d4f8b))return _0x3d4f8b;if(_0x3d4f8b instanceof Error)return new OperationAbortedError(_0x3d4f8b[_0x501911(-0x1a8,-_0x43bf69._0xa2d296,-_0x43bf69._0x4f2816,-_0x43bf69._0x3798e4)]);if(typeof _0x3d4f8b===_0x4c347a(0x204,_0x43bf69._0x387dfa,_0x43bf69._0x2cc2bc,_0x43bf69._0x36d7db)&&_0x3d4f8b[_0x501911(-0x18a,-_0x43bf69._0x53fb09,-_0x43bf69._0x2f5100,-0x191)]>0x0)return new OperationAbortedError(_0x3d4f8b);function _0x4c347a(_0x5169c3,_0x895efd,_0x3d1794,_0x45e526){return _0x29ccc5(_0x5169c3-_0x4f8848._0x3895a2,_0x45e526-0x378,_0x3d1794-0x1e2,_0x3d1794);}function _0x501911(_0x3f4ef4,_0x6fa469,_0x1790c7,_0x108dbb){return _0x591af0(_0x3f4ef4-0x61,_0x108dbb,_0x6fa469- -0x6ad,_0x108dbb-_0x2cbba8._0x2e0c78);}return new OperationAbortedError();}function _0x528e(_0x595f73,_0xf17361){_0x595f73=_0x595f73-0x194;var _0x3c4aa7=_0x3c4a();var _0x528e44=_0x3c4aa7[_0x595f73];if(_0x528e['KEOemM']===undefined){var _0x3dc7b2=function(_0x13c4a3){var _0x168df1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4cfdea='',_0x3d4f8b='';for(var _0x92cd92=0x0,_0x168167,_0x4b4a92,_0x4b7075=0x0;_0x4b4a92=_0x13c4a3['charAt'](_0x4b7075++);~_0x4b4a92&&(_0x168167=_0x92cd92%0x4?_0x168167*0x40+_0x4b4a92:_0x4b4a92,_0x92cd92++%0x4)?_0x4cfdea+=String['fromCharCode'](0xff&_0x168167>>(-0x2*_0x92cd92&0x6)):0x0){_0x4b4a92=_0x168df1['indexOf'](_0x4b4a92);}for(var _0x57e677=0x0,_0x1853af=_0x4cfdea['length'];_0x57e677<_0x1853af;_0x57e677++){_0x3d4f8b+='%'+('00'+_0x4cfdea['charCodeAt'](_0x57e677)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d4f8b);};_0x528e['lIQlBw']=_0x3dc7b2,_0x528e['fqxByA']={},_0x528e['KEOemM']=!![];}var _0x30a69f=_0x3c4aa7[0x0],_0x29c18d=_0x595f73+_0x30a69f,_0x4fe7e5=_0x528e['fqxByA'][_0x29c18d];return!_0x4fe7e5?(_0x528e44=_0x528e['lIQlBw'](_0x528e44),_0x528e['fqxByA'][_0x29c18d]=_0x528e44):_0x528e44=_0x4fe7e5,_0x528e44;}function isAbortError(_0x92cd92){var _0xf39088={_0x772baa:0x31b,_0x25705e:0x31d,_0x1e5c2b:0x315,_0x22a889:0x470,_0x5718c4:0x46f},_0x525c0e={_0x29b547:0xaa},_0x27d837={_0xc318e2:0x1f1};function _0x3e24a4(_0x362c31,_0x2ec769,_0x28f004,_0x28d9db){return _0x591af0(_0x362c31-0x102,_0x28f004,_0x362c31- -_0x27d837._0xc318e2,_0x28d9db-0x112);}function _0x22abf2(_0x15a996,_0x306ef4,_0x3c57da,_0x18bff5){return _0x591af0(_0x15a996-0xcb,_0x306ef4,_0x15a996- -_0x525c0e._0x29b547,_0x18bff5-0x11d);}return _0x92cd92 instanceof OperationAbortedError||_0x92cd92 instanceof Error&&(_0x92cd92['name']===_0x3e24a4(0x31a,_0xf39088._0x772baa,_0xf39088._0x25705e,_0xf39088._0x1e5c2b)||'code'in _0x92cd92&&_0x92cd92[_0x22abf2(_0xf39088._0x22a889,_0xf39088._0x5718c4,0x476,0x475)]==='ABORT_ERR');}function _0x3c4a(){var _0x1aaf1a=['nty3mZe1zvfTANzw','mJDqtfLsCfe','C3rYAw5N','ywjVCNq','mtuYotmYogjZzgLqAq','mZCXmdKYmgDxv2vIBG','nhvIy3nxDG','ywrKrxzLBNrmAxn0zw5LCG','y29Kzq','nJm1mdqZCffmB1bg','BgvUz3rO','mZCWmZjSCfjADgW','ndeWnZC4zeDHvNfR','ndLkEfbbs1u','qwjVCNrfCNjVCG','ndG5mdq1uvvuuNPk','BwvZC2fNzq','t3bLCMf0Aw9UigfIB3j0zwq','ywjVCNrLza','qujpuLrFrvjs','BMfTzq'];_0x3c4a=function(){return _0x1aaf1a;};return _0x3c4a();}function _0x591af0(_0x5b8441,_0x1469ac,_0x5a2317,_0x2437c4){var _0x2e6ec1={_0xf25875:0x375};return _0x528e(_0x5a2317-_0x2e6ec1._0xf25875,_0x1469ac);}function throwIfAborted(_0x168167){var _0x580205={_0x29db1f:0x4ca},_0x1bc1dc={_0x2b9fce:0x1b0};if(!_0x168167?.[_0x4425b7(_0x580205._0x29db1f,0x4c8,0x4d1,0x4c7)])return;function _0x4425b7(_0x56111a,_0x3dc73f,_0x4aa0a6,_0x1e3e79){return _0x29ccc5(_0x56111a-_0x1bc1dc._0x2b9fce,_0x56111a-0x63b,_0x4aa0a6-0xc2,_0x3dc73f);}throw toAbortError(_0x168167['reason']);}function addAbortListener(_0x4b4a92,_0x4b7075){var _0x153ed7={_0x123c7d:0x3ab,_0x4421ee:0x1f,_0x515e75:0x3ae},_0x5eeaef={_0x500106:0x519},_0x3eb89c={_0x43f178:0x145};if(!_0x4b4a92)return()=>{};function _0x4878bc(_0x1e8e29,_0x14fbf7,_0x44d106,_0xd81232){return _0x29ccc5(_0x1e8e29-_0x3eb89c._0x43f178,_0x44d106-0x148,_0x44d106-0x8c,_0x14fbf7);}if(_0x4b4a92[_0x5308e4(0x3a8,0x3a0,_0x153ed7._0x123c7d,0x3a0)])return _0x4b7075(),()=>{};function _0x5308e4(_0x47f1b7,_0x14545d,_0x3198fe,_0x43b318){return _0x29ccc5(_0x47f1b7-0x1e7,_0x47f1b7-_0x5eeaef._0x500106,_0x3198fe-0x6,_0x3198fe);}const _0x57e677=()=>{_0x4b7075();};return _0x4b4a92[_0x4878bc(-0x14,-0x27,-0x1f,-_0x153ed7._0x4421ee)](_0x5308e4(_0x153ed7._0x515e75,0x3b2,0x3b1,0x3b2),_0x57e677,{'once':!![]}),()=>{_0x4b4a92['removeEventListener']('abort',_0x57e677);};}function _0x29ccc5(_0x4074e0,_0x559c2a,_0x4df877,_0x4fe6af){return _0x528e(_0x559c2a- -0x30b,_0x4fe6af);}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};