@nuvin/agent-core 0.2.0-rc.4 → 0.2.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.
@@ -1 +1 @@
1
- function _0x5b30(){var _0x57e7d4=['odHVruTrvLO','Aw5JBhvKzxm','owXdzhPrzG','ow5ftvfmua','ndyYntmWne5pAwDICG','mJe3mMTICwXbCa','otKYmZGWzfHMuhfe','nteWnZCWmfDms1jrBG','mJG0odiWmeDAsurQsa','nde4odm4mKjJA2z6ta','nJa2vw9Ku3fY','mtu2mJy4vfL1B2T3'];_0x5b30=function(){return _0x57e7d4;};return _0x5b30();}(function(_0x1e4616,_0x5e63d6){var _0x30b95c={_0x120fd5:0xcc,_0x53b92b:0xc9,_0x18bf20:0xc7,_0x290aab:0xcc,_0x454751:0x183,_0x1743a4:0x17d,_0xa9f680:0x183,_0x1da9a1:0xcb,_0x3567ef:0xce,_0x3e6a63:0xcd,_0x3577b8:0xce,_0x4a0086:0xca,_0x144de6:0xc3,_0xa55cbf:0x187,_0x3e4f6e:0x182,_0x52f0a:0x185,_0x453a62:0x180,_0x590d1b:0xc3,_0x35bb97:0xc6,_0x4050fe:0xcf},_0x40207d={_0xc97990:0x1c9};function _0x203ebd(_0x5d855e,_0x4e5f00,_0x30dee1,_0x5a3ce1){return _0x4841(_0x4e5f00- -_0x40207d._0xc97990,_0x5d855e);}function _0x5dfac7(_0x1094f1,_0x109525,_0x4c87b2,_0x81aff5){return _0x4841(_0x1094f1- -0x28a,_0x109525);}var _0x2cb919=_0x1e4616();while(!![]){try{var _0x597075=parseInt(_0x203ebd(-0xc6,-_0x30b95c._0x120fd5,-_0x30b95c._0x53b92b,-0xca))/0x1*(-parseInt(_0x203ebd(-0xc6,-_0x30b95c._0x18bf20,-0xc7,-_0x30b95c._0x290aab))/0x2)+parseInt(_0x5dfac7(-_0x30b95c._0x454751,-0x17f,-_0x30b95c._0x1743a4,-_0x30b95c._0xa9f680))/0x3*(parseInt(_0x203ebd(-0xc7,-_0x30b95c._0x1da9a1,-_0x30b95c._0x3567ef,-_0x30b95c._0x3e6a63))/0x4)+-parseInt(_0x203ebd(-_0x30b95c._0x3577b8,-_0x30b95c._0x4a0086,-0xce,-0xce))/0x5+parseInt(_0x203ebd(-0xbe,-0xc1,-0xc6,-_0x30b95c._0x144de6))/0x6+parseInt(_0x5dfac7(-_0x30b95c._0xa55cbf,-_0x30b95c._0x3e4f6e,-_0x30b95c._0x3e4f6e,-_0x30b95c._0x52f0a))/0x7*(parseInt(_0x5dfac7(-0x186,-0x183,-_0x30b95c._0x453a62,-0x188))/0x8)+parseInt(_0x203ebd(-_0x30b95c._0x590d1b,-0xc3,-0xbe,-0xc5))/0x9*(parseInt(_0x203ebd(-_0x30b95c._0x35bb97,-0xc9,-_0x30b95c._0x4050fe,-_0x30b95c._0x144de6))/0xa)+parseInt(_0x203ebd(-0xca,-0xc8,-_0x30b95c._0x144de6,-0xca))/0xb;if(_0x597075===_0x5e63d6)break;else _0x2cb919['push'](_0x2cb919['shift']());}catch(_0x5ef699){_0x2cb919['push'](_0x2cb919['shift']());}}}(_0x5b30,0xb64a3));function _0x4841(_0x506f8d,_0x163cad){_0x506f8d=_0x506f8d-0xfd;var _0x5b30dd=_0x5b30();var _0x4841f1=_0x5b30dd[_0x506f8d];if(_0x4841['MQwktL']===undefined){var _0x3650a3=function(_0x41565c){var _0x400ba0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x94d03b='',_0x4f6b1f='';for(var _0x44866b=0x0,_0x1aad0f,_0x4773bf,_0xf1292f=0x0;_0x4773bf=_0x41565c['charAt'](_0xf1292f++);~_0x4773bf&&(_0x1aad0f=_0x44866b%0x4?_0x1aad0f*0x40+_0x4773bf:_0x4773bf,_0x44866b++%0x4)?_0x94d03b+=String['fromCharCode'](0xff&_0x1aad0f>>(-0x2*_0x44866b&0x6)):0x0){_0x4773bf=_0x400ba0['indexOf'](_0x4773bf);}for(var _0x484d29=0x0,_0x378766=_0x94d03b['length'];_0x484d29<_0x378766;_0x484d29++){_0x4f6b1f+='%'+('00'+_0x94d03b['charCodeAt'](_0x484d29)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f6b1f);};_0x4841['EBMaFK']=_0x3650a3,_0x4841['usBSiG']={},_0x4841['MQwktL']=!![];}var _0x338c4c=_0x5b30dd[0x0],_0x3358a9=_0x506f8d+_0x338c4c,_0x158eae=_0x4841['usBSiG'][_0x3358a9];return!_0x158eae?(_0x4841f1=_0x4841['EBMaFK'](_0x4841f1),_0x4841['usBSiG'][_0x3358a9]=_0x4841f1):_0x4841f1=_0x158eae,_0x4841f1;}function modelIdentityFromParts(_0x94d03b,_0x4f6b1f){var _0x5d20a1={_0x2e8773:0x4d9};function _0x3e8e55(_0x13072d,_0x50aea4,_0x5679b8,_0x167907){return _0x4841(_0x13072d-0x3d4,_0x5679b8);}if(_0x94d03b)return _0x94d03b+':'+_0x4f6b1f;return _0x4f6b1f[_0x3e8e55(_0x5d20a1._0x2e8773,0x4de,0x4df,0x4d3)](':')?':'+_0x4f6b1f:_0x4f6b1f;}export{modelIdentityFromParts};
1
+ function _0x3065(_0x243c6c,_0x439d13){_0x243c6c=_0x243c6c-0xde;var _0x5176c4=_0x5176();var _0x306534=_0x5176c4[_0x243c6c];if(_0x3065['GHKwfN']===undefined){var _0x43a295=function(_0x4b1de9){var _0x1d4b3e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3363dd='',_0x48897d='';for(var _0x1e0b90=0x0,_0x386e33,_0x32635d,_0x2a068e=0x0;_0x32635d=_0x4b1de9['charAt'](_0x2a068e++);~_0x32635d&&(_0x386e33=_0x1e0b90%0x4?_0x386e33*0x40+_0x32635d:_0x32635d,_0x1e0b90++%0x4)?_0x3363dd+=String['fromCharCode'](0xff&_0x386e33>>(-0x2*_0x1e0b90&0x6)):0x0){_0x32635d=_0x1d4b3e['indexOf'](_0x32635d);}for(var _0x21e4ef=0x0,_0xe804a0=_0x3363dd['length'];_0x21e4ef<_0xe804a0;_0x21e4ef++){_0x48897d+='%'+('00'+_0x3363dd['charCodeAt'](_0x21e4ef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x48897d);};_0x3065['DWxCrj']=_0x43a295,_0x3065['Tcejqo']={},_0x3065['GHKwfN']=!![];}var _0x5cccd0=_0x5176c4[0x0],_0x45f4ac=_0x243c6c+_0x5cccd0,_0x1c2ce3=_0x3065['Tcejqo'][_0x45f4ac];return!_0x1c2ce3?(_0x306534=_0x3065['DWxCrj'](_0x306534),_0x3065['Tcejqo'][_0x45f4ac]=_0x306534):_0x306534=_0x1c2ce3,_0x306534;}(function(_0x24029c,_0x2b6376){var _0x82839d={_0x3e463c:0x1e5,_0x2e1736:0x1eb,_0x391b46:0x1ed,_0x47e283:0x1ec,_0x58303b:0x21a,_0x22cc47:0x219,_0x1b46ef:0x21a,_0xf410a3:0x1e8,_0x2657d0:0x1e3,_0xbb0c11:0x1e1,_0xda448d:0x1ea,_0x201fba:0x1e7,_0x2ea7f0:0x1e4,_0x5926e0:0x1e8,_0x38210d:0x1df,_0x25eae3:0x21c,_0x3630dd:0x225,_0x5dbc25:0x223,_0x5f5762:0x1e6};function _0x2b5de6(_0x3f57cd,_0x139eb8,_0x31e877,_0x47f0ac){return _0x3065(_0x31e877- -0x2cb,_0x3f57cd);}function _0x89af76(_0x521af7,_0x54a08d,_0xb921a9,_0x237768){return _0x3065(_0x521af7-0x139,_0x54a08d);}var _0x4c4730=_0x24029c();while(!![]){try{var _0x17e869=-parseInt(_0x2b5de6(-0x1f1,-_0x82839d._0x3e463c,-_0x82839d._0x2e1736,-0x1eb))/0x1*(-parseInt(_0x2b5de6(-0x1e6,-0x1e6,-0x1e9,-0x1e8))/0x2)+parseInt(_0x2b5de6(-0x1ef,-0x1f2,-_0x82839d._0x391b46,-0x1eb))/0x3+parseInt(_0x2b5de6(-0x1ea,-_0x82839d._0x47e283,-0x1e6,-0x1e4))/0x4*(-parseInt(_0x89af76(_0x82839d._0x58303b,0x218,_0x82839d._0x22cc47,_0x82839d._0x1b46ef))/0x5)+parseInt(_0x2b5de6(-0x1e4,-0x1e5,-_0x82839d._0xf410a3,-_0x82839d._0x2657d0))/0x6*(-parseInt(_0x2b5de6(-_0x82839d._0xbb0c11,-_0x82839d._0xda448d,-_0x82839d._0x3e463c,-_0x82839d._0x201fba))/0x7)+-parseInt(_0x89af76(0x21d,0x21c,0x21b,0x219))/0x8*(parseInt(_0x2b5de6(-_0x82839d._0x2ea7f0,-_0x82839d._0x5926e0,-0x1e3,-_0x82839d._0x38210d))/0x9)+-parseInt(_0x89af76(0x222,_0x82839d._0x25eae3,_0x82839d._0x3630dd,_0x82839d._0x5dbc25))/0xa+parseInt(_0x2b5de6(-0x1ea,-_0x82839d._0x5f5762,-0x1e4,-0x1e5))/0xb;if(_0x17e869===_0x2b6376)break;else _0x4c4730['push'](_0x4c4730['shift']());}catch(_0x42f976){_0x4c4730['push'](_0x4c4730['shift']());}}}(_0x5176,0x5d9f8));function modelIdentityFromParts(_0x3363dd,_0x48897d){var _0x3ae92f={_0x40bb4b:0x3bd,_0x51a1cc:0x3bb,_0x26ba90:0x3b5};if(_0x3363dd)return _0x3363dd+':'+_0x48897d;function _0x67cf3c(_0xf4428c,_0x1cef87,_0xb9c5d,_0x1754ca){return _0x3065(_0xb9c5d-0x2dc,_0xf4428c);}return _0x48897d[_0x67cf3c(_0x3ae92f._0x40bb4b,0x3b6,_0x3ae92f._0x51a1cc,_0x3ae92f._0x26ba90)](':')?':'+_0x48897d:_0x48897d;}export{modelIdentityFromParts};function _0x5176(){var _0x3470c2=['nJm4mtiZmfLKzuTOBa','mtmWmJGXsMTQAgXi','Aw5JBhvKzxm','mvDfwgnHDW','nJqXnxr0DfveBq','mJGXmJq2quP0ANLf','mtmZmtm1oeDPyxfjsq','mJrqCePXtgm','mJG0wfrLvxbL','n0nTANLdsq','mtG1mJGYnZLKqMPNue0','mtyWmtu1meHVBLjnDa'];_0x5176=function(){return _0x3470c2;};return _0x5176();}
@@ -1 +1 @@
1
- function _0x4b3c(){var _0x49273c=['vhvYBKzHAwXLzevYCM9Y','mJeZntqYn1ffEgzbqW','C3rHDgu','nJm4ntKYAxj0BMLS','ndG0mJHLtgLhtKm','mJa3odq4oeH4rxjUzW','mZu1nJC4yu1KEMr5','ntmZmZu4shfpuLnj','ndb0wwPJwe0','nMj4vK5zBG','mJaZntK1DMfNwg9k','BwvZC2fNzq'];_0x4b3c=function(){return _0x49273c;};return _0x4b3c();}(function(_0x255ab0,_0x408f95){var _0x45f392={_0x3d5e1e:0x6,_0x248c37:0x66,_0x4f9ec2:0x6a,_0xf4d913:0xb,_0x37eebf:0xc,_0x13dbd0:0x70,_0x54c1be:0x12,_0x486403:0x7,_0x43d5a2:0x67,_0x433af5:0xa,_0x5ed4c2:0x9,_0x41f189:0x6f,_0x200477:0x6d},_0x47780d={_0x4c1804:0x167};function _0xc2665c(_0xe99fa0,_0x4621a4,_0x3cca6c,_0x1bf111){return _0x3a48(_0x1bf111- -0x1c9,_0x3cca6c);}var _0x15dbec=_0x255ab0();function _0x3327c2(_0x226928,_0x38d6e4,_0x2abd55,_0xb009d5){return _0x3a48(_0xb009d5- -_0x47780d._0x4c1804,_0x2abd55);}while(!![]){try{var _0x3ca6b8=parseInt(_0xc2665c(_0x45f392._0x3d5e1e,0xd,0xb,0xa))/0x1+-parseInt(_0x3327c2(0x6a,0x6b,_0x45f392._0x248c37,_0x45f392._0x4f9ec2))/0x2+parseInt(_0xc2665c(0xd,0x4,_0x45f392._0xf4d913,0x7))/0x3+-parseInt(_0xc2665c(0x9,0xd,_0x45f392._0x37eebf,0xc))/0x4*(parseInt(_0x3327c2(0x74,0x72,0x6a,_0x45f392._0x13dbd0))/0x5)+parseInt(_0xc2665c(_0x45f392._0x54c1be,_0x45f392._0x486403,0x12,0xd))/0x6*(parseInt(_0x3327c2(0x6a,0x63,0x6a,_0x45f392._0x43d5a2))/0x7)+-parseInt(_0xc2665c(0xb,_0x45f392._0x433af5,0x6,_0x45f392._0x5ed4c2))/0x8+parseInt(_0x3327c2(_0x45f392._0x43d5a2,0x6f,_0x45f392._0x41f189,_0x45f392._0x200477))/0x9;if(_0x3ca6b8===_0x408f95)break;else _0x15dbec['push'](_0x15dbec['shift']());}catch(_0x2c4ad8){_0x15dbec['push'](_0x15dbec['shift']());}}}(_0x4b3c,0x3aff2));function _0x3a48(_0x49b4c0,_0x4fed51){_0x49b4c0=_0x49b4c0-0x1cd;var _0x4b3cf5=_0x4b3c();var _0x3a48f3=_0x4b3cf5[_0x49b4c0];if(_0x3a48['AGKsEJ']===undefined){var _0x4e8465=function(_0x5d3db5){var _0x1b9e9f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5ee9d9='',_0xd6b282='';for(var _0xf048fd=0x0,_0x52c6f2,_0x2d4cba,_0x44b02a=0x0;_0x2d4cba=_0x5d3db5['charAt'](_0x44b02a++);~_0x2d4cba&&(_0x52c6f2=_0xf048fd%0x4?_0x52c6f2*0x40+_0x2d4cba:_0x2d4cba,_0xf048fd++%0x4)?_0x5ee9d9+=String['fromCharCode'](0xff&_0x52c6f2>>(-0x2*_0xf048fd&0x6)):0x0){_0x2d4cba=_0x1b9e9f['indexOf'](_0x2d4cba);}for(var _0x784a20=0x0,_0x4dc899=_0x5ee9d9['length'];_0x784a20<_0x4dc899;_0x784a20++){_0xd6b282+='%'+('00'+_0x5ee9d9['charCodeAt'](_0x784a20)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xd6b282);};_0x3a48['yKLWCn']=_0x4e8465,_0x3a48['eYHJRI']={},_0x3a48['AGKsEJ']=!![];}var _0x18b482=_0x4b3cf5[0x0],_0x1a164f=_0x49b4c0+_0x18b482,_0x2a7cd1=_0x3a48['eYHJRI'][_0x1a164f];return!_0x2a7cd1?(_0x3a48f3=_0x3a48['yKLWCn'](_0x3a48f3),_0x3a48['eYHJRI'][_0x1a164f]=_0x3a48f3):_0x3a48f3=_0x2a7cd1,_0x3a48f3;}var TurnFailedError=class extends Error{[_0x4a3561(-0x15b,-0x15c,-0x15e,-0x156)];constructor(_0x5ee9d9,_0xd6b282){var _0xc86114={_0x5e4f93:0x1a3,_0x23f9b8:0x1a8,_0x914c3b:0x198,_0x12489a:0x192,_0x3b359a:0x1a0,_0x1f8482:0x196},_0x5855bf={_0x4de7a6:0x100,_0x4878e7:0x8f},_0x1a7825={_0x535ef5:0x3f2,_0x8b4472:0x38};super(_0x5ee9d9 instanceof Error?_0x5ee9d9[_0x520fa3(_0xc86114._0x5e4f93,0x19f,0x1a6,_0xc86114._0x23f9b8)]:'Turn\x20failed',{'cause':_0x5ee9d9});function _0x3f15ae(_0x329661,_0x1ae4b6,_0x156b1c,_0x94b2e4){return _0x4a3561(_0x1ae4b6-_0x1a7825._0x535ef5,_0x1ae4b6-_0x1a7825._0x8b4472,_0x94b2e4,_0x94b2e4-0x1c0);}this['name']=_0x520fa3(0x198,_0xc86114._0x914c3b,_0xc86114._0x12489a,0x197);function _0x520fa3(_0x363f70,_0x202c03,_0x68a2b7,_0x1569e2){return _0x4a3561(_0x363f70-0x2f5,_0x202c03-_0x5855bf._0x4de7a6,_0x1569e2,_0x1569e2-_0x5855bf._0x4878e7);}this[_0x520fa3(0x19a,_0xc86114._0x3b359a,0x19f,_0xc86114._0x1f8482)]=_0xd6b282;}};function _0x4a3561(_0x53688d,_0x4a51d7,_0x364a52,_0x3ab4e0){return _0x3a48(_0x53688d- -0x32a,_0x364a52);}export{TurnFailedError};
1
+ function _0xa584(){var _0x277638=['BMfTzq','mZC1mJa3n3fZze1LrG','mJaXnJi1nvPXzgPJBa','nKLMu1rJvW','nwHjDfzUDG','vhvYBKzHAwXLzevYCM9Y','owvmqvPSqG','C3rHDgu','mZy0mJKXmhvXEw9LyW','nJK3mJjyvvPvyNO','mtiXntq4DLjsDvzc','mZm0nJm4nffuy3HUBG','ntK4nZG0y1zrwLfq','vhvYBIbMywLSzwq'];_0xa584=function(){return _0x277638;};return _0xa584();}function _0x5e42(_0x59813b,_0x3cb883){_0x59813b=_0x59813b-0xba;var _0xa58422=_0xa584();var _0x5e423e=_0xa58422[_0x59813b];if(_0x5e42['GDJitF']===undefined){var _0x1f7caa=function(_0x441910){var _0x35b945='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x940e95='',_0x45cfe2='';for(var _0x1c3ac4=0x0,_0x245883,_0x325334,_0x25f27b=0x0;_0x325334=_0x441910['charAt'](_0x25f27b++);~_0x325334&&(_0x245883=_0x1c3ac4%0x4?_0x245883*0x40+_0x325334:_0x325334,_0x1c3ac4++%0x4)?_0x940e95+=String['fromCharCode'](0xff&_0x245883>>(-0x2*_0x1c3ac4&0x6)):0x0){_0x325334=_0x35b945['indexOf'](_0x325334);}for(var _0x49edfb=0x0,_0xccee09=_0x940e95['length'];_0x49edfb<_0xccee09;_0x49edfb++){_0x45cfe2+='%'+('00'+_0x940e95['charCodeAt'](_0x49edfb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x45cfe2);};_0x5e42['oGzhHe']=_0x1f7caa,_0x5e42['lCHgzj']={},_0x5e42['GDJitF']=!![];}var _0x29701f=_0xa58422[0x0],_0x3c21cc=_0x59813b+_0x29701f,_0x1bcd64=_0x5e42['lCHgzj'][_0x3c21cc];return!_0x1bcd64?(_0x5e423e=_0x5e42['oGzhHe'](_0x5e423e),_0x5e42['lCHgzj'][_0x3c21cc]=_0x5e423e):_0x5e423e=_0x1bcd64,_0x5e423e;}(function(_0x373bfd,_0x5584ae){var _0x55fac5={_0x24be82:0x1f0,_0x4faaf9:0x1ed,_0x1d4696:0x1ee,_0x2a17a2:0x1f0,_0x189cb7:0x69,_0x489731:0x68,_0x2cc683:0x6a,_0x27ef33:0x1f6,_0x41ac55:0x1f2,_0x26bae6:0x1f3,_0x18068e:0x5c,_0x293b3f:0x62,_0x533dcb:0x1f7,_0x46317a:0x1f1,_0x5f395f:0x1f2,_0x309c65:0x1ea};function _0x5b8378(_0x25e109,_0x5c6280,_0x4130f7,_0x1b7c35){return _0x5e42(_0x4130f7- -0x124,_0x1b7c35);}var _0x3af069=_0x373bfd();function _0x2358fd(_0x3d06e3,_0xda521c,_0xd75ea2,_0x553e20){return _0x5e42(_0x3d06e3- -0x2b3,_0xda521c);}while(!![]){try{var _0x2a49ce=parseInt(_0x2358fd(-_0x55fac5._0x24be82,-_0x55fac5._0x4faaf9,-_0x55fac5._0x1d4696,-_0x55fac5._0x2a17a2))/0x1*(-parseInt(_0x5b8378(-0x6f,-_0x55fac5._0x189cb7,-0x6a,-0x6c))/0x2)+parseInt(_0x5b8378(-_0x55fac5._0x489731,-_0x55fac5._0x2cc683,-0x69,-0x63))/0x3+-parseInt(_0x2358fd(-_0x55fac5._0x27ef33,-0x1f6,-_0x55fac5._0x41ac55,-0x1f3))/0x4+parseInt(_0x2358fd(-0x1f2,-0x1ed,-0x1f8,-_0x55fac5._0x26bae6))/0x5*(parseInt(_0x5b8378(-0x66,-_0x55fac5._0x18068e,-_0x55fac5._0x293b3f,-0x69))/0x6)+-parseInt(_0x2358fd(-0x1f3,-_0x55fac5._0x26bae6,-0x1f3,-0x1f7))/0x7+parseInt(_0x2358fd(-_0x55fac5._0x533dcb,-0x1f0,-_0x55fac5._0x46317a,-0x1f1))/0x8+parseInt(_0x5b8378(-0x5a,-0x66,-0x5f,-0x63))/0x9*(parseInt(_0x2358fd(-0x1ec,-_0x55fac5._0x5f395f,-_0x55fac5._0x309c65,-_0x55fac5._0x2a17a2))/0xa);if(_0x2a49ce===_0x5584ae)break;else _0x3af069['push'](_0x3af069['shift']());}catch(_0x844ccd){_0x3af069['push'](_0x3af069['shift']());}}}(_0xa584,0x59708));var TurnFailedError=class extends Error{[_0x288348(-0x205,-0x203,-0x208,-0x201)];constructor(_0x940e95,_0x45cfe2){var _0x15ab0e={_0x35a10f:0x473,_0x4cf874:0x475,_0x5cf282:0x480,_0x5d6b5b:0x47a,_0x918a3b:0x481,_0x3a5108:0x473,_0x4cbdab:0x480,_0x411b1d:0x471,_0x23e908:0x470},_0x319c16={_0x5ae21d:0x189},_0x439b8f={_0x992a32:0x672};super(_0x940e95 instanceof Error?_0x940e95['message']:_0x37edd6(0x479,_0x15ab0e._0x35a10f,_0x15ab0e._0x4cf874,_0x15ab0e._0x5cf282),{'cause':_0x940e95});function _0x5ea062(_0x2da9ec,_0x42e8fa,_0xdc22aa,_0x130a13){return _0x288348(_0x2da9ec-_0x439b8f._0x992a32,_0x42e8fa-0xd8,_0xdc22aa-0x8a,_0xdc22aa);}this[_0x37edd6(_0x15ab0e._0x5d6b5b,0x481,_0x15ab0e._0x918a3b,_0x15ab0e._0x3a5108)]=_0x37edd6(0x47f,0x482,_0x15ab0e._0x4cbdab,0x47a);function _0x37edd6(_0x285c8a,_0x2c4980,_0x33dab8,_0x505aee){return _0x288348(_0x285c8a-0x686,_0x2c4980-_0x319c16._0x5ae21d,_0x33dab8-0x1c6,_0x505aee);}this[_0x5ea062(0x46d,_0x15ab0e._0x411b1d,0x46b,_0x15ab0e._0x23e908)]=_0x45cfe2;}};function _0x288348(_0x271801,_0x37af39,_0x3a493b,_0x24e671){return _0x5e42(_0x271801- -0x2cb,_0x24e671);}export{TurnFailedError};
@@ -1 +1 @@
1
- (function(_0x1c7e8e,_0x3759a4){var _0x1fbf45={_0x1a7043:0xb2,_0x435fa0:0xb1,_0x5dde9c:0x14a,_0x27157d:0x142,_0x3f3e1b:0xb5,_0xd4f1f2:0xbc,_0x532b1b:0x14a,_0x14f7a1:0x149,_0x5d6894:0x144,_0x2a56ff:0x142,_0x4f2371:0x146,_0x47a422:0x144,_0x45cc8c:0x13f,_0x1a2940:0x14b,_0x4e33fe:0x144,_0x2129ae:0xb6,_0x134fd8:0x146};function _0x42984c(_0x134b02,_0x51728a,_0x684675,_0x274017){return _0xaada(_0x274017- -0x14d,_0x684675);}var _0x584867=_0x1c7e8e();function _0x216e15(_0x307880,_0x23660d,_0x13a817,_0x5d38a5){return _0xaada(_0x23660d- -0x1e1,_0x307880);}while(!![]){try{var _0x9adc6c=-parseInt(_0x42984c(-_0x1fbf45._0x1a7043,-0xb3,-_0x1fbf45._0x1a7043,-0xae))/0x1+parseInt(_0x42984c(-0xb7,-0xb9,-_0x1fbf45._0x435fa0,-0xb3))/0x2*(parseInt(_0x216e15(-_0x1fbf45._0x5dde9c,-0x145,-_0x1fbf45._0x27157d,-0x14b))/0x3)+parseInt(_0x42984c(-_0x1fbf45._0x3f3e1b,-_0x1fbf45._0xd4f1f2,-_0x1fbf45._0x3f3e1b,-0xb7))/0x4*(-parseInt(_0x216e15(-_0x1fbf45._0x532b1b,-_0x1fbf45._0x14f7a1,-0x147,-_0x1fbf45._0x5d6894))/0x5)+-parseInt(_0x216e15(-_0x1fbf45._0x2a56ff,-_0x1fbf45._0x4f2371,-_0x1fbf45._0x47a422,-_0x1fbf45._0x45cc8c))/0x6+parseInt(_0x216e15(-0x153,-0x14e,-0x14b,-0x150))/0x7*(-parseInt(_0x216e15(-_0x1fbf45._0x1a2940,-_0x1fbf45._0x4e33fe,-0x141,-_0x1fbf45._0x5dde9c))/0x8)+parseInt(_0x42984c(-0xbd,-_0x1fbf45._0x2129ae,-_0x1fbf45._0xd4f1f2,-0xb9))/0x9+parseInt(_0x216e15(-_0x1fbf45._0x134fd8,-0x14a,-0x14d,-_0x1fbf45._0x14f7a1))/0xa;if(_0x9adc6c===_0x3759a4)break;else _0x584867['push'](_0x584867['shift']());}catch(_0x2f9677){_0x584867['push'](_0x584867['shift']());}}}(_0x4c11,0x8e2fd));function resolveAnthropicReasoningConfig(_0x16e8a7){var _0x4b48cf={_0x10e307:0x156,_0x449a26:0x15d,_0x59c43f:0x15a,_0x2b383a:0x158,_0x5eecfd:0x160,_0x29579a:0x164};function _0x2f938e(_0xbe5251,_0x26e4a7,_0x3d364a,_0x1cdd2d){return _0xaada(_0x26e4a7- -0x1fb,_0x3d364a);}function _0x25a688(_0x2a41b4,_0x1c7d4f,_0x57ecd5,_0xb951e2){return _0xaada(_0x2a41b4-0x31d,_0xb951e2);}return _0x16e8a7?.[_0x2f938e(-_0x4b48cf._0x10e307,-_0x4b48cf._0x449a26,-0x15e,-_0x4b48cf._0x59c43f)]?structuredClone(_0x16e8a7[_0x2f938e(-_0x4b48cf._0x2b383a,-0x15d,-_0x4b48cf._0x5eecfd,-_0x4b48cf._0x29579a)]):void 0x0;}function _0x4c11(){var _0x247df7=['mtv1s0vfCMi','y29KzxG','mZm4D0LHBxLO','mtKZodG1mKLjsxPguW','nde3DNPQzg5J','ndaXmZG0z3Lvt0Hp','yw50AhjVCgLJ','mte0mty0mMn6qNfyuW','mtrvu2TAq20','ndC2nZq1m2rRs2fdwG','B3bLBMfP','mtaXmda5mMXuEMvQAq','mJm1mtG4odbzCKXJDe8'];_0x4c11=function(){return _0x247df7;};return _0x4c11();}function resolveOpenAiReasoningConfig(_0x5a091a){var _0x18822e={_0x3c71b8:0x1d4,_0x526f6b:0x1da,_0x5b45c7:0x1dc,_0xf1f5c3:0x1db,_0x7df8db:0x1de};function _0x5667c2(_0x3f603c,_0x2aeac1,_0x5da088,_0x4e6da4){return _0xaada(_0x3f603c- -0x26d,_0x4e6da4);}if(_0x5a091a?.[_0x5667c2(-_0x18822e._0x3c71b8,-_0x18822e._0x526f6b,-0x1d1,-0x1d2)])return structuredClone(_0x5a091a['codex']);function _0x54e73e(_0x308594,_0x4c07b5,_0x50c2ce,_0x1f970a){return _0xaada(_0x4c07b5- -0x34,_0x308594);}return _0x5a091a?.['openai']?structuredClone(_0x5a091a[_0x5667c2(-0x1d8,-_0x18822e._0x5b45c7,-_0x18822e._0xf1f5c3,-_0x18822e._0x7df8db)]):void 0x0;}function _0xaada(_0x109934,_0x5deaab){_0x109934=_0x109934-0x93;var _0x4c11c2=_0x4c11();var _0xaada13=_0x4c11c2[_0x109934];if(_0xaada['NdnUmt']===undefined){var _0x371ae3=function(_0x1a5f45){var _0x28ce54='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16e8a7='',_0x5a091a='';for(var _0x331efa=0x0,_0xf50e1,_0x30a669,_0x10adbc=0x0;_0x30a669=_0x1a5f45['charAt'](_0x10adbc++);~_0x30a669&&(_0xf50e1=_0x331efa%0x4?_0xf50e1*0x40+_0x30a669:_0x30a669,_0x331efa++%0x4)?_0x16e8a7+=String['fromCharCode'](0xff&_0xf50e1>>(-0x2*_0x331efa&0x6)):0x0){_0x30a669=_0x28ce54['indexOf'](_0x30a669);}for(var _0x227610=0x0,_0x2b94bc=_0x16e8a7['length'];_0x227610<_0x2b94bc;_0x227610++){_0x5a091a+='%'+('00'+_0x16e8a7['charCodeAt'](_0x227610)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a091a);};_0xaada['VlaVWi']=_0x371ae3,_0xaada['eSqMex']={},_0xaada['NdnUmt']=!![];}var _0x26b020=_0x4c11c2[0x0],_0x4b4b99=_0x109934+_0x26b020,_0x310e94=_0xaada['eSqMex'][_0x4b4b99];return!_0x310e94?(_0xaada13=_0xaada['VlaVWi'](_0xaada13),_0xaada['eSqMex'][_0x4b4b99]=_0xaada13):_0xaada13=_0x310e94,_0xaada13;}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
1
+ (function(_0x496fa0,_0x4507dd){var _0xe4436={_0x29107c:0x1ef,_0x1cc316:0x1e8,_0xe5691e:0x1ea,_0x3453bf:0x243,_0x5c318c:0x23b,_0x3d7cfc:0x23d,_0x4b6a91:0x1e6,_0x2ff9df:0x241,_0x50e962:0x23c,_0x5ab957:0x238,_0x47488c:0x1e2,_0x3247e9:0x242,_0x186528:0x240,_0x406da3:0x23e,_0x1acada:0x1ed,_0x396388:0x1ec},_0x140cb8={_0xb43765:0x278},_0x551381=_0x496fa0();function _0x53fb2e(_0xe27a08,_0x5403c3,_0x3de076,_0x173d7b){return _0xeac4(_0x3de076- -_0x140cb8._0xb43765,_0xe27a08);}function _0x160018(_0x46149c,_0x522c70,_0x309ba7,_0x4cdee7){return _0xeac4(_0x309ba7- -0x2cc,_0x522c70);}while(!![]){try{var _0x34a4ed=-parseInt(_0x53fb2e(-_0xe4436._0x29107c,-_0xe4436._0x1cc316,-_0xe4436._0xe5691e,-0x1ea))/0x1*(parseInt(_0x160018(-_0xe4436._0x3453bf,-0x23a,-_0xe4436._0x5c318c,-_0xe4436._0x3d7cfc))/0x2)+parseInt(_0x53fb2e(-0x1e5,-0x1ec,-0x1e6,-_0xe4436._0x4b6a91))/0x3*(parseInt(_0x160018(-0x23b,-0x243,-_0xe4436._0x2ff9df,-0x243))/0x4)+parseInt(_0x160018(-0x237,-0x23e,-_0xe4436._0x50e962,-_0xe4436._0x5ab957))/0x5*(parseInt(_0x53fb2e(-0x1e2,-_0xe4436._0x47488c,-0x1e9,-0x1e9))/0x6)+-parseInt(_0x160018(-0x241,-_0xe4436._0x3247e9,-_0xe4436._0x186528,-0x23c))/0x7+-parseInt(_0x160018(-0x23a,-0x23b,-0x23f,-0x244))/0x8*(-parseInt(_0x160018(-0x231,-0x235,-0x238,-0x232))/0x9)+parseInt(_0x53fb2e(-0x1e5,-0x1de,-_0xe4436._0x47488c,-0x1e6))/0xa*(-parseInt(_0x160018(-0x240,-_0xe4436._0x406da3,-0x239,-0x239))/0xb)+-parseInt(_0x53fb2e(-_0xe4436._0x1acada,-_0xe4436._0x396388,-0x1ee,-0x1f5))/0xc;if(_0x34a4ed===_0x4507dd)break;else _0x551381['push'](_0x551381['shift']());}catch(_0x5f0d9e){_0x551381['push'](_0x551381['shift']());}}}(_0x5e07,0xe78b8));function resolveAnthropicReasoningConfig(_0x17285f){var _0x5580d9={_0x447e3b:0x3aa,_0x19e59a:0x39e};function _0x208c1a(_0x46c32b,_0x18233b,_0x51ed71,_0x239218){return _0xeac4(_0x51ed71-0x31c,_0x239218);}return _0x17285f?.[_0x208c1a(_0x5580d9._0x447e3b,0x3a8,0x3a5,_0x5580d9._0x19e59a)]?structuredClone(_0x17285f['anthropic']):void 0x0;}function _0xeac4(_0x2662d4,_0x53ad61){_0x2662d4=_0x2662d4-0x88;var _0x5e077a=_0x5e07();var _0xeac454=_0x5e077a[_0x2662d4];if(_0xeac4['wGVjBa']===undefined){var _0x30c1bb=function(_0x679853){var _0xa735a8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x17285f='',_0x367631='';for(var _0x59e6aa=0x0,_0x21b8b6,_0x57273f,_0x310477=0x0;_0x57273f=_0x679853['charAt'](_0x310477++);~_0x57273f&&(_0x21b8b6=_0x59e6aa%0x4?_0x21b8b6*0x40+_0x57273f:_0x57273f,_0x59e6aa++%0x4)?_0x17285f+=String['fromCharCode'](0xff&_0x21b8b6>>(-0x2*_0x59e6aa&0x6)):0x0){_0x57273f=_0xa735a8['indexOf'](_0x57273f);}for(var _0x2bea88=0x0,_0x44d0b6=_0x17285f['length'];_0x2bea88<_0x44d0b6;_0x2bea88++){_0x367631+='%'+('00'+_0x17285f['charCodeAt'](_0x2bea88)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x367631);};_0xeac4['hlYoSK']=_0x30c1bb,_0xeac4['BhHrVr']={},_0xeac4['wGVjBa']=!![];}var _0x1a9ae8=_0x5e077a[0x0],_0x2e4f32=_0x2662d4+_0x1a9ae8,_0x436767=_0xeac4['BhHrVr'][_0x2e4f32];return!_0x436767?(_0xeac454=_0xeac4['hlYoSK'](_0xeac454),_0xeac4['BhHrVr'][_0x2e4f32]=_0xeac454):_0xeac454=_0x436767,_0xeac454;}function resolveOpenAiReasoningConfig(_0x367631){var _0x18316f={_0x5a6a48:0x3f7,_0x3a8b99:0x3ff,_0x10d9a7:0x9d,_0x36f729:0x9f,_0x2d30d7:0x3f2};function _0x296ac4(_0x4c9778,_0x39120a,_0x3b98f5,_0x58abb9){return _0xeac4(_0x58abb9- -0x134,_0x3b98f5);}if(_0x367631?.[_0x5ead1c(_0x18316f._0x5a6a48,0x3fa,0x403,_0x18316f._0x3a8b99)])return structuredClone(_0x367631[_0x296ac4(-0x99,-_0x18316f._0x10d9a7,-0xa3,-_0x18316f._0x36f729)]);function _0x5ead1c(_0x32f604,_0x2f30e9,_0x3c5235,_0x2ba482){return _0xeac4(_0x2ba482-0x36a,_0x2f30e9);}return _0x367631?.['openai']?structuredClone(_0x367631[_0x5ead1c(0x3f5,0x3f1,0x3f1,_0x18316f._0x2d30d7)]):void 0x0;}function _0x5e07(){var _0x4907f0=['yw50AhjVCgLJ','nte0mtiWoe5ruvLywG','nfzPwgPMza','mta1mduYnvjTDejQrW','nJCYmZKYmerjvgjZDW','mwH2thHzwG','mZbuz1blwve','nti4nZbTrvPRruy','mteXmti5ofrQBwjxva','ndCXmdeWmMTTEKjhBW','ndi3ndzIuK9gy2O','owvYsunfzW','y29KzxG','otGWCNbitgfz','B3bLBMfP'];_0x5e07=function(){return _0x4907f0;};return _0x5e07();}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
@@ -1 +1 @@
1
- (function(_0x2b60cf,_0x4a3cc7){const _0x3746f5={_0x225a81:0x16d,_0x39634b:0x178,_0x11b6eb:0x167,_0x3d66fa:0x16c,_0xeef087:0x16f,_0x236063:0x4d9,_0x11444c:0x4c0,_0x4d3b38:0x4c8,_0x1d2676:0x4e2,_0x339989:0x4d7,_0x5a39d9:0x4e1,_0x1be11b:0x4de,_0x2b89ca:0x4df,_0x23c5ea:0x4d0,_0x1da6f5:0x507,_0x330a71:0x51a,_0x3607dd:0x189,_0x3d239a:0x179,_0x3e2615:0x18a,_0x42382b:0x4e8,_0x56b3a2:0x4ed,_0x352e0e:0x4d1,_0x2b3899:0x171,_0x36dca6:0x153,_0x16dc40:0x17d},_0x281078={_0xf9be9b:0x311};function _0x41c452(_0x4bf7c0,_0x1fe56e,_0x80ed46,_0x348749){return _0x4b6e(_0x4bf7c0- -0x5c,_0x348749);}const _0x1893bc=_0x2b60cf();function _0x25bb0d(_0x49af92,_0x441594,_0x387317,_0x11a32b){return _0x4b6e(_0x49af92-_0x281078._0xf9be9b,_0x387317);}while(!![]){try{const _0xa3fd57=parseInt(_0x41c452(0x162,_0x3746f5._0x225a81,0x17b,_0x3746f5._0x39634b))/0x1+parseInt(_0x41c452(_0x3746f5._0x11b6eb,_0x3746f5._0x3d66fa,_0x3746f5._0xeef087,_0x3746f5._0xeef087))/0x2*(-parseInt(_0x25bb0d(_0x3746f5._0x236063,0x4d5,_0x3746f5._0x11444c,0x4c0))/0x3)+-parseInt(_0x25bb0d(0x4e7,_0x3746f5._0x4d3b38,_0x3746f5._0x1d2676,_0x3746f5._0x339989))/0x4+-parseInt(_0x25bb0d(_0x3746f5._0x5a39d9,0x4f7,_0x3746f5._0x1be11b,_0x3746f5._0x4d3b38))/0x5+-parseInt(_0x25bb0d(_0x3746f5._0x2b89ca,0x4f3,_0x3746f5._0x23c5ea,0x4ee))/0x6*(-parseInt(_0x25bb0d(_0x3746f5._0x1da6f5,0x503,_0x3746f5._0x330a71,0x503))/0x7)+-parseInt(_0x41c452(_0x3746f5._0x3607dd,_0x3746f5._0x3d239a,0x1a8,_0x3746f5._0x3e2615))/0x8*(parseInt(_0x25bb0d(_0x3746f5._0x42382b,0x501,_0x3746f5._0x56b3a2,_0x3746f5._0x352e0e))/0x9)+parseInt(_0x41c452(_0x3746f5._0x2b3899,_0x3746f5._0x36dca6,_0x3746f5._0x16dc40,0x164))/0xa;if(_0xa3fd57===_0x4a3cc7)break;else _0x1893bc['push'](_0x1893bc['shift']());}catch(_0x18452c){_0x1893bc['push'](_0x1893bc['shift']());}}}(_0x4587,0x4141b));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x53098a){const _0x4b233c={_0x5e2462:0x1c9,_0x539f53:0x1af,_0x592c38:0x1cc,_0x50c17f:0x1fe,_0x44e7f1:0x1e6,_0x368819:0x1ef,_0x142029:0x444,_0x1f34b8:0x431},_0x37f221={_0x18fff8:0x265},_0x192e7a={_0x3a9567:0x3};function _0x53ca1d(_0x33f0b2,_0xc0f3e6,_0x4c03d9,_0x6999d0){return _0x4b6e(_0x6999d0- -_0x192e7a._0x3a9567,_0xc0f3e6);}function _0x2e0a07(_0x3c23e0,_0x342665,_0x5a08cd,_0x38959f){return _0x4b6e(_0x342665-_0x37f221._0x18fff8,_0x3c23e0);}return normalizeContent(_0x53098a)[_0x53ca1d(_0x4b233c._0x5e2462,_0x4b233c._0x539f53,_0x4b233c._0x592c38,0x1c7)](_0x31275c=>_0x31275c['type']==='text')[_0x53ca1d(_0x4b233c._0x50c17f,_0x4b233c._0x44e7f1,_0x4b233c._0x368819,0x1f9)](_0x5722e2=>_0x5722e2[_0x2e0a07(0x436,0x44b,0x455,0x447)])[_0x2e0a07(0x438,_0x4b233c._0x142029,_0x4b233c._0x1f34b8,0x447)]('\x0a\x0a');}function pushUserContentMessage(_0x30fa06,_0x59aa3e,_0x2116dc){if(_0x2116dc['length']===0x0)return;_0x30fa06['push']({'type':'message','role':_0x59aa3e,'content':_0x2116dc});}function hasSerializableToolUse(_0x5732d1){const _0x44ea3a={_0x54eb3a:0x4a0,_0x19e80d:0x4b4,_0x240325:0x498,_0x22368a:0x484,_0x8b5d60:0x4a7,_0x125e1b:0x47f,_0x3d4e44:0x478,_0x18bd8c:0x4a1},_0x4d9b60={_0x20bd8b:0x299};function _0x5b02ff(_0x27bf87,_0xa37bac,_0x5e1790,_0x25515f){return _0x4b6e(_0x25515f-0x2bf,_0xa37bac);}function _0xd1c98b(_0x4504d6,_0x45a191,_0x102572,_0x283715){return _0x4b6e(_0x45a191-_0x4d9b60._0x20bd8b,_0x102572);}return _0x5732d1['id']['trim']()[_0x5b02ff(0x4c7,_0x44ea3a._0x54eb3a,0x4c8,_0x44ea3a._0x19e80d)]>0x0&&_0x5732d1[_0x5b02ff(_0x44ea3a._0x240325,_0x44ea3a._0x22368a,0x49a,0x481)][_0x5b02ff(_0x44ea3a._0x8b5d60,_0x44ea3a._0x125e1b,_0x44ea3a._0x240325,0x493)]()[_0xd1c98b(_0x44ea3a._0x3d4e44,0x48e,_0x44ea3a._0x18bd8c,0x4ae)]>0x0;}function hasSerializableToolResult(_0x3eed7c){return _0x3eed7c['tool_use_id']['trim']()['length']>0x0;}function isResponseInputObject(_0x582077){const _0x41775b={_0x1f0de2:0x4cb,_0x2e8e30:0x4e6,_0x1b976b:0x4d1,_0x57176b:0x4b6,_0x3f3215:0x4c1,_0x45761d:0x4ce,_0x115cc8:0x4c0},_0x3a1409={_0x286a11:0x2df},_0x316588={_0x1cccc7:0x2b2};function _0x3bf939(_0x11dd51,_0x38c1c8,_0x34c0a7,_0x535f39){return _0x4b6e(_0x11dd51- -_0x316588._0x1cccc7,_0x38c1c8);}function _0x415ac3(_0x30d496,_0x3e4186,_0x51a5e7,_0x10b735){return _0x4b6e(_0x30d496-_0x3a1409._0x286a11,_0x10b735);}if(typeof _0x582077!==_0x415ac3(0x49c,0x481,0x4a8,0x486)||_0x582077===null||Array[_0x415ac3(_0x41775b._0x1f0de2,_0x41775b._0x2e8e30,0x4ba,_0x41775b._0x1b976b)](_0x582077))return![];const _0x5a0ca3=_0x582077;return typeof _0x5a0ca3[_0x415ac3(0x4b9,_0x41775b._0x57176b,0x4bd,0x4c3)]===_0x415ac3(_0x41775b._0x3f3215,_0x41775b._0x45761d,0x4b3,_0x41775b._0x115cc8);}function _0x4b6e(_0x5794f8,_0x238f21){_0x5794f8=_0x5794f8-0x1bd;const _0x458754=_0x4587();let _0x4b6e10=_0x458754[_0x5794f8];if(_0x4b6e['hRfzzH']===undefined){var _0x371912=function(_0xf7cfde){const _0x244102='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53098a='',_0x31275c='';for(let _0x5722e2=0x0,_0x30fa06,_0x59aa3e,_0x2116dc=0x0;_0x59aa3e=_0xf7cfde['charAt'](_0x2116dc++);~_0x59aa3e&&(_0x30fa06=_0x5722e2%0x4?_0x30fa06*0x40+_0x59aa3e:_0x59aa3e,_0x5722e2++%0x4)?_0x53098a+=String['fromCharCode'](0xff&_0x30fa06>>(-0x2*_0x5722e2&0x6)):0x0){_0x59aa3e=_0x244102['indexOf'](_0x59aa3e);}for(let _0x5732d1=0x0,_0x3eed7c=_0x53098a['length'];_0x5732d1<_0x3eed7c;_0x5732d1++){_0x31275c+='%'+('00'+_0x53098a['charCodeAt'](_0x5732d1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31275c);};_0x4b6e['WuXTNi']=_0x371912,_0x4b6e['evZUOx']={},_0x4b6e['hRfzzH']=!![];}const _0x1e8f30=_0x458754[0x0],_0x4a0529=_0x5794f8+_0x1e8f30,_0x20b4ad=_0x4b6e['evZUOx'][_0x4a0529];return!_0x20b4ad?(_0x4b6e10=_0x4b6e['WuXTNi'](_0x4b6e10),_0x4b6e['evZUOx'][_0x4a0529]=_0x4b6e10):_0x4b6e10=_0x20b4ad,_0x4b6e10;}function isImageToolResultBlock(_0x53b564){const _0x187505={_0x5de87b:0x33a,_0x3293c9:0x31e,_0x58f47f:0x332,_0x4cf0c7:0x369,_0x472aec:0x35e,_0x2143db:0x4e4,_0x478500:0x4ef,_0x2d76ee:0x4d6,_0x1357f2:0x4ca,_0x2ddd9c:0x4bf,_0x446c59:0x503,_0x5ebad3:0x513,_0x5bfc19:0x4c9,_0x3c627b:0x4ca,_0x5979ed:0x376,_0xd02df5:0x359,_0x1bde99:0x36a,_0x1ec791:0x358,_0x4e497d:0x517,_0x4d39a9:0x4ef,_0x396c45:0x360};function _0x418d3d(_0x2b358c,_0x1a4426,_0xc87b9b,_0x40c508){return _0x4b6e(_0x2b358c-0x17d,_0x40c508);}if(typeof _0x53b564!==_0x418d3d(_0x187505._0x5de87b,0x350,_0x187505._0x3293c9,_0x187505._0x58f47f)||_0x53b564===null||Array[_0x418d3d(_0x187505._0x4cf0c7,_0x187505._0x472aec,0x361,0x368)](_0x53b564))return![];function _0x55fd69(_0x35667e,_0x2a274d,_0x160299,_0x57d9dc){return _0x4b6e(_0x35667e-0x30a,_0x2a274d);}const _0xaeed75=_0x53b564;return _0xaeed75[_0x55fd69(_0x187505._0x2143db,0x4d0,_0x187505._0x478500,0x4d4)]===_0x55fd69(_0x187505._0x2d76ee,_0x187505._0x1357f2,0x4c8,_0x187505._0x2ddd9c)&&_0xaeed75[_0x55fd69(_0x187505._0x446c59,0x51d,_0x187505._0x5ebad3,0x4f5)]?.['type']===_0x55fd69(_0x187505._0x5bfc19,0x4ad,0x4d6,_0x187505._0x3c627b)&&typeof _0xaeed75[_0x418d3d(_0x187505._0x5979ed,0x368,0x35c,_0x187505._0xd02df5)][_0x418d3d(_0x187505._0x1bde99,0x35e,0x364,_0x187505._0x1ec791)]==='string'&&typeof _0xaeed75[_0x55fd69(0x503,_0x187505._0x4e497d,_0x187505._0x4d39a9,0x519)][_0x418d3d(_0x187505._0x396c45,0x35c,0x377,0x36b)]==='string';}function getToolResultText(_0x2949a7){const _0x5b6740={_0x3ef1a2:0x17b,_0x6cfc76:0x348,_0x11bbf7:0x190,_0x232c9c:0x19a,_0x2c29f8:0x362},_0x44e779={_0x4939b1:0xee,_0x55df8c:0x1,_0x5d55b9:0x1b},_0x3bf883={_0x9ce226:0x373};function _0x368472(_0x3e39bd,_0x3ea9a9,_0x35db81,_0x56628e){return _0x4b6e(_0x3e39bd- -_0x3bf883._0x9ce226,_0x3ea9a9);}function _0x280b44(_0x217ff9,_0x4ccf43,_0x2ae363,_0x2f287f){return _0x4b6e(_0x4ccf43-0x156,_0x2ae363);}if(typeof _0x2949a7===_0x368472(-0x191,-0x1a8,-0x175,-_0x5b6740._0x3ef1a2))return _0x2949a7;const _0x1d038e=_0x2949a7['filter'](_0x1f8f1b=>{const _0xd6221b={_0x31becc:0x6};function _0x20b43c(_0x3a159a,_0x72a4af,_0x181f1e,_0x55c6e5){return _0x368472(_0x181f1e-0xc8,_0x3a159a,_0x181f1e-0xaf,_0x55c6e5-0x2c);}function _0x34e097(_0x6bd016,_0x452268,_0x1474d1,_0x417809){return _0x368472(_0x6bd016-0x1ba,_0x1474d1,_0x1474d1-0x62,_0x417809-_0xd6221b._0x31becc);}return typeof _0x1f8f1b===_0x20b43c(-0xfb,-0xdd,-_0x44e779._0x4939b1,-0xf8)&&_0x1f8f1b!==null&&_0x1f8f1b[_0x34e097(0x21,_0x44e779._0x55df8c,_0x44e779._0x5d55b9,0x3f)]==='text';})['map'](_0x20ea17=>_0x20ea17[_0x368472(-0x18d,-0x17e,-0x186,-0x188)])[_0x280b44(0x346,0x335,0x334,_0x5b6740._0x6cfc76)]('\x0a\x0a')[_0x368472(-0x19f,-0x1a0,-_0x5b6740._0x11bbf7,-_0x5b6740._0x232c9c)]();return _0x1d038e[_0x280b44(_0x5b6740._0x2c29f8,0x34b,0x35b,0x365)]>0x0?_0x1d038e:'Tool\x20returned\x20image\x20content.';}function getToolResultImages(_0x547c8f){const _0x4c0e65={_0x307119:0xb7,_0x5ec7f3:0xaf};function _0x5561a3(_0x5bfcc9,_0x38a7bd,_0x1d9787,_0x578da3){return _0x4b6e(_0x5bfcc9- -0x2a3,_0x38a7bd);}function _0xdd5ce1(_0x32aa33,_0x57577d,_0x154dc4,_0x5d9e59){return _0x4b6e(_0x57577d-0x286,_0x32aa33);}return Array[_0x5561a3(-0xb7,-0x9c,-_0x4c0e65._0x307119,-_0x4c0e65._0x5ec7f3)](_0x547c8f)?_0x547c8f[_0x5561a3(-0xd9,-0xd1,-0xbd,-0xd5)](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x244420){const _0x2bcc84={_0x3e4f28:0xa6,_0x420363:0xcc,_0x5e997d:0xc2,_0x198197:0x2e3,_0x5282e8:0x2d6,_0x303367:0x2ce,_0x537d33:0x2c8,_0xf4518:0x2dc,_0x4b0051:0x2db};function _0xaa2ae8(_0x5d83f4,_0x808362,_0x59063a,_0x223b99){return _0x4b6e(_0x808362-0x118,_0x5d83f4);}function _0x58c5ad(_0x4d1a7a,_0x46d96c,_0x482d93,_0x523307){return _0x4b6e(_0x523307- -0x29f,_0x46d96c);}return _0x244420[_0x58c5ad(-_0x2bcc84._0x3e4f28,-_0x2bcc84._0x420363,-0xdc,-_0x2bcc84._0x5e997d)]?.[_0xaa2ae8(_0x2bcc84._0x198197,0x2e1,_0x2bcc84._0x5282e8,_0x2bcc84._0x303367)]??_0xaa2ae8(_0x2bcc84._0x537d33,_0x2bcc84._0xf4518,_0x2bcc84._0x4b0051,0x2dd);}function createOpenAiResponsesReasoning(_0x37cb3f){const _0x43a349={_0xd8ce28:0x44f,_0x46c624:0x440,_0x2e1860:0x44d,_0x244e15:0x466,_0x54b0fa:0x193,_0x556dbb:0x1a7,_0x413f6c:0x1ba,_0x33f232:0x1a3,_0x11cb68:0x1c1,_0x3d2629:0x41f,_0x136cbc:0x436,_0x567b79:0x1d8,_0x208441:0x1c0,_0x5df267:0x445,_0x1f0095:0x429,_0x5c71d1:0x1a6,_0x12584d:0x1ba,_0x30d912:0x1a5,_0x311c33:0x184,_0x433cbc:0x19c,_0x245e12:0x195,_0x3d746c:0x1a2,_0x4ed374:0x17a,_0x12ce8f:0x1b5,_0x40cf24:0x17a,_0x3664bd:0x17e,_0x18023c:0x19f},_0x3ec2bc={_0x5238bc:0x270},_0x37f20a=resolveOpenAiReasoningConfig(_0x37cb3f[_0x3d6d50(0x433,0x44d,0x42d,_0x43a349._0xd8ce28)]);if(!_0x37f20a)return{};const _0x3c2bb4={},_0x42274c=_0x37cb3f[_0x3d6d50(_0x43a349._0x46c624,_0x43a349._0x2e1860,0x44d,_0x43a349._0x244e15)]?.[_0x1064ed(-0x18f,-_0x43a349._0x54b0fa,-0x19d,-0x1ac)]!==void 0x0;function _0x3d6d50(_0x282327,_0x5ea11e,_0x3d26a9,_0x2657b7){return _0x4b6e(_0x5ea11e-_0x3ec2bc._0x5238bc,_0x3d26a9);}const _0x379fc3=(!_0x42274c&&_0x1064ed(-0x1a6,-0x19a,-0x18e,-_0x43a349._0x556dbb)in _0x37f20a?_0x37f20a['summary']:void 0x0)??(resolveReasoningVisibility(_0x37cb3f)===_0x1064ed(-_0x43a349._0x413f6c,-_0x43a349._0x33f232,-0x1cc,-_0x43a349._0x11cb68)?'auto':void 0x0);function _0x1064ed(_0x29c657,_0x3fd3dc,_0x3c746c,_0x57731a){return _0x4b6e(_0x29c657- -0x37e,_0x57731a);}return _0x37f20a[_0x3d6d50(_0x43a349._0x3d2629,_0x43a349._0x136cbc,0x429,0x456)]&&(_0x3c2bb4[_0x1064ed(-0x1b8,-_0x43a349._0x567b79,-0x1cc,-_0x43a349._0x208441)]=_0x37f20a[_0x3d6d50(_0x43a349._0x5df267,0x436,_0x43a349._0x1f0095,0x44a)]),_0x379fc3&&(_0x3c2bb4[_0x1064ed(-_0x43a349._0x5c71d1,-0x19b,-_0x43a349._0x12584d,-_0x43a349._0x30d912)]=_0x379fc3),{...!_0x42274c&&_0x1064ed(-_0x43a349._0x311c33,-0x18f,-0x182,-_0x43a349._0x433cbc)in _0x37f20a&&_0x37f20a['includeEncryptedContent']===![]?{}:{'include':[_0x1064ed(-_0x43a349._0x245e12,-_0x43a349._0x3d746c,-_0x43a349._0x4ed374,-_0x43a349._0x12ce8f)]},...Object[_0x1064ed(-0x18c,-_0x43a349._0x40cf24,-_0x43a349._0x3664bd,-_0x43a349._0x18023c)](_0x3c2bb4)['length']>0x0?{'reasoning':_0x3c2bb4}:{}};}function _0x4587(){const _0x4646e7=['DxnLCI12AxnPyMXL','C3rYDwn0DxjLzf9VDxrWDxq','zwzMB3j0','ChjVDMLKzxjtDgf0zq','nZa3n3jVrvvXAW','DMLZAwjPBgL0Eq','zMLSDgvY','C3rYAw5NAwz5','Aw1Hz2u','otuXoduZmej0wwvkBW','ndK4AfvkC1DA','Dg9VBf91C2vFAwq','mtC2mtaZnwDWsg13qq','ANnVBL9Zy2HLBwe','zNvUy3rPB25Fy2fSBa','Dg9VBf9Yzxn1Bhq','DhjPBq','Bwf4vg9Rzw5Z','mtuWodqXnKrpAwPgwq','owfhvenOsG','C3vTBwfYEq','o2jHC2u2ncW','DhLWzq','C3rHDhvZ','CM9Szq','CMvHC29UAw5N','Aw5WDxq','AM9PBG','C3bSAwnL','y29UDgvUDa','C3rYAw5N','zgf0yq','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','mte3odGWofzzDwTuqG','Dgv4Da','C3LZDgvT','zgf0ytO','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','Aw5WDxrFAw1Hz2u','AxnbCNjHEq','BwvKAwfFDhLWzq','yxnZAxn0yw50','y29KzxG','B3v0Chv0rM9YBwf0','Aw5WDxrFDgv4Da','A2v5CW','C2nOzw1H','DxnLCG','BgvUz3rO','nZCWn0jmBvnVta','ChvZAa','B3v0Chv0x3rLEhq','C291CMnL','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','zNvUy3rPB25Fy2fSBf9VDxrWDxq','BwfW','B2jQzwn0','mtuWmJu2C2Dwy2rh','yMfZzty0','zgvZy3jPChrPB24','zNvUy3rPB24','BMfTzq','ndjsuKnNsNu'];_0x4587=function(){return _0x4646e7;};return _0x4587();}function pushAssistantProviderState(_0x326252,_0x2aa89a,_0x488728){const _0x1f306f={_0x569740:0x187,_0x549977:0x199,_0x18d78f:0x18d,_0x55811b:0x19e,_0x56d593:0x17c,_0x4fc99c:0x195,_0x1e2cf8:0x19c,_0x2e0fab:0x189,_0x5a0f3a:0x1aa,_0x275b20:0x1b2,_0x537623:0x190,_0x3d5194:0x1ae,_0x1144f1:0x194,_0xdcfb99:0x183,_0x596647:0x182,_0x3807b5:0x19d,_0x12ba68:0x189,_0x4e6234:0x178,_0x54ac62:0x1a2,_0x5af347:0x189,_0xe93e0c:0x1a5},_0x1ab8b6={_0x4bfeb6:0x55};if(_0x2aa89a[_0xe80ead(_0x1f306f._0x569740,0x167,0x19e,0x1a5)]!==_0xe80ead(_0x1f306f._0x549977,_0x1f306f._0x18d78f,_0x1f306f._0x55811b,0x1a2))return![];function _0x3ffb85(_0x5a3f4f,_0x58c03e,_0x5f1ea5,_0x17c151){return _0x4b6e(_0x58c03e- -0x4b,_0x5a3f4f);}function _0xe80ead(_0x3c6215,_0x178ea4,_0x42c226,_0x307ac6){return _0x4b6e(_0x3c6215- -_0x1ab8b6._0x4bfeb6,_0x307ac6);}if(!isProviderStateCompatible(_0x2aa89a,_0x488728))return![];const _0x5e2a65=_0x2aa89a[_0x3ffb85(0x190,_0x1f306f._0x56d593,0x173,0x193)]?.[_0xe80ead(_0x1f306f._0x4fc99c,_0x1f306f._0x1e2cf8,0x1a3,_0x1f306f._0x2e0fab)]??[];if(_0x5e2a65[_0x3ffb85(0x1b1,_0x1f306f._0x5a0f3a,_0x1f306f._0x275b20,0x18a)]===0x0)return![];for(const _0x1c562e of _0x5e2a65){if(isResponseInputObject(_0x1c562e)){const _0x373f42=structuredClone(_0x1c562e);delete _0x373f42[_0x3ffb85(0x1a6,_0x1f306f._0x537623,_0x1f306f._0x3d5194,0x1a5)],_0x373f42['type']==='reasoning'&&!Array[_0x3ffb85(0x191,0x1a1,_0x1f306f._0x1144f1,0x190)](_0x373f42[_0xe80ead(_0x1f306f._0xdcfb99,_0x1f306f._0x596647,_0x1f306f._0x3807b5,_0x1f306f._0x12ba68)])&&(_0x373f42[_0x3ffb85(0x187,_0x1f306f._0x18d78f,_0x1f306f._0x4e6234,0x18e)]=[]),_0x326252[_0xe80ead(_0x1f306f._0x54ac62,_0x1f306f._0x5af347,0x1b3,_0x1f306f._0xe93e0c)](_0x373f42);}}return!![];}function toOpenAiResponsesRequest(_0xa405dd){const _0x31dd3c={_0xee625f:0x4af,_0x302550:0x4dc,_0x598599:0x30c,_0x428c21:0x308,_0x3e9b0f:0x2fa,_0x3e8dc2:0x30e,_0x3c7edc:0x31a,_0x1bbee1:0x4f2,_0x3329f9:0x4da,_0x396d6d:0x4e6,_0x5539d5:0x500,_0x2d4436:0x4e0,_0x4189e5:0x4c7,_0x5baada:0x4d4,_0x23df9e:0x4d0,_0x4ece6a:0x4bf,_0x4088b2:0x4b7,_0x542f41:0x4c8,_0x890fc0:0x4d1,_0xe6b9c5:0x505,_0x136cbe:0x2ff,_0x166ceb:0x328,_0x30227a:0x30b,_0x4eaa8b:0x32a,_0x50a760:0x4d7,_0x277208:0x504,_0x56a17e:0x4bc,_0x5b6314:0x4c5,_0x1fc405:0x4d1,_0x522849:0x4ec,_0x4e0ac8:0x301,_0x346f71:0x30e,_0x2b24f9:0x30c,_0x120267:0x4dd,_0x355cc4:0x4ce,_0xf5dac5:0x4d9,_0x4016fa:0x4c0,_0x21ec3f:0x4b0,_0x313f6e:0x49a,_0x51c721:0x4c8,_0x2b8369:0x312,_0x178ab2:0x323,_0x1c2c68:0x305,_0x2b2b4b:0x30b,_0x36a5c4:0x313,_0x32de13:0x31e,_0x3514bc:0x33f,_0x269a66:0x329,_0x177156:0x508,_0x8fe302:0x4e9,_0x2ef1e0:0x4e7,_0x2d0aed:0x4cf,_0xd942a:0x4d6,_0x565d0c:0x4e2,_0x10663a:0x4c2,_0x4a5635:0x4df,_0x86caab:0x303,_0x3367d1:0x4bd,_0x283b73:0x4ab,_0x70ca19:0x327,_0x5b8847:0x329,_0x177edc:0x32e,_0xa2238c:0x342,_0x5639a1:0x2e7,_0x4e2745:0x307,_0x5aca78:0x31f,_0x2b7e4f:0x4de,_0x5a77e0:0x2fb,_0x47c327:0x2fe,_0xba06c7:0x2f4,_0x4459d4:0x2ee,_0x1c28ef:0x49f,_0x4f6434:0x306,_0xc3197e:0x333,_0x4bd5c8:0x340,_0x45a6a6:0x320},_0x1600c5={_0x207df9:0x106,_0x126d66:0x117,_0x271c5c:0x10d,_0x3b57d5:0x107,_0x1d69c9:0x116,_0x483499:0x120},_0x10068e={_0x31ae98:0x53,_0x139282:0x3a9},_0x23ff93={_0x561e0d:0x1b7},_0x175f5f={_0x23150e:0x132},_0x5e19e3={_0x53f325:0x2ee};function _0x4d350c(_0x126c73,_0x513e1b,_0x430a5f,_0x480c1e){return _0x4b6e(_0x430a5f-_0x5e19e3._0x53f325,_0x126c73);}const _0x2a9a0f=[];for(const _0x4c7515 of _0xa405dd['messages']){if(pushAssistantProviderState(_0x2a9a0f,_0x4c7515,_0xa405dd))continue;const _0x198fd8=[];for(const _0x155ca1 of normalizeContent(_0x4c7515[_0x4d350c(_0x31dd3c._0xee625f,0x4c2,0x4cf,_0x31dd3c._0x302550)])){if(_0x155ca1[_0x1131e2(0x31b,0x2f0,_0x31dd3c._0x598599,0x31f)]==='text'){_0x198fd8['push'](_0x4c7515[_0x1131e2(_0x31dd3c._0x428c21,_0x31dd3c._0x3e9b0f,_0x31dd3c._0x3e8dc2,_0x31dd3c._0x3c7edc)]===_0x4d350c(0x4e8,0x4fa,0x4dc,_0x31dd3c._0x1bbee1)?{'type':_0x4d350c(_0x31dd3c._0x3329f9,0x4ee,_0x31dd3c._0x396d6d,_0x31dd3c._0x5539d5),'text':_0x155ca1[_0x4d350c(_0x31dd3c._0x2d4436,_0x31dd3c._0x4189e5,_0x31dd3c._0x5baada,_0x31dd3c._0x23df9e)]}:{'type':'input_text','text':_0x155ca1['text']});continue;}if(_0x155ca1[_0x4d350c(_0x31dd3c._0x4ece6a,_0x31dd3c._0x4088b2,_0x31dd3c._0x542f41,0x4c7)]===_0x4d350c(0x4a6,_0x31dd3c._0x890fc0,0x4ba,0x4ac)){_0x198fd8[_0x4d350c(_0x31dd3c._0xe6b9c5,0x4e1,0x4e5,0x4ff)]({'type':'input_image','image_url':_0x1131e2(_0x31dd3c._0x136cbe,_0x31dd3c._0x166ceb,_0x31dd3c._0x3c7edc,0x329)+_0x155ca1['source']['media_type']+_0x1131e2(0x2f7,0x326,_0x31dd3c._0x30227a,_0x31dd3c._0x4eaa8b)+_0x155ca1[_0x4d350c(_0x31dd3c._0x50a760,0x4f5,0x4e7,_0x31dd3c._0x277208)][_0x4d350c(_0x31dd3c._0x56a17e,_0x31dd3c._0x5b6314,_0x31dd3c._0x1fc405,_0x31dd3c._0x522849)]});continue;}pushUserContentMessage(_0x2a9a0f,_0x4c7515[_0x1131e2(_0x31dd3c._0x4e0ac8,0x30a,_0x31dd3c._0x346f71,_0x31dd3c._0x2b24f9)],_0x198fd8[_0x4d350c(0x4c3,_0x31dd3c._0x120267,_0x31dd3c._0x355cc4,_0x31dd3c._0x56a17e)](0x0));if(_0x155ca1[_0x4d350c(0x4db,0x4ae,0x4c8,0x4aa)]==='tool_use'){if(!hasSerializableToolUse(_0x155ca1))continue;_0x2a9a0f['push']({'type':_0x4d350c(_0x31dd3c._0xf5dac5,0x4d4,_0x31dd3c._0x4016fa,0x4a2),'call_id':_0x155ca1['id'],'name':_0x155ca1[_0x4d350c(0x4ce,0x4bd,_0x31dd3c._0x21ec3f,0x4b1)],'arguments':JSON[_0x4d350c(_0x31dd3c._0x313f6e,_0x31dd3c._0x51c721,0x4b9,0x4ae)](_0x155ca1[_0x1131e2(0x310,0x32c,0x310,_0x31dd3c._0x2b8369)]??{})});continue;}if(_0x155ca1['type']===_0x1131e2(_0x31dd3c._0x178ab2,0x30e,_0x31dd3c._0x1c2c68,_0x31dd3c._0x2b2b4b)){if(!hasSerializableToolResult(_0x155ca1))continue;const _0x5de967=getToolResultText(_0x155ca1[_0x1131e2(0x322,0x2f4,_0x31dd3c._0x36a5c4,0x324)]);_0x2a9a0f[_0x1131e2(_0x31dd3c._0x32de13,_0x31dd3c._0x3514bc,_0x31dd3c._0x269a66,0x33c)]({'type':_0x4d350c(0x4d8,_0x31dd3c._0x177156,_0x31dd3c._0x8fe302,0x4de),'call_id':_0x155ca1[_0x1131e2(0x303,0x31a,0x301,0x2f4)],'output':_0x5de967});const _0x52a6e6=getToolResultImages(_0x155ca1[_0x4d350c(0x4d1,_0x31dd3c._0x2ef1e0,_0x31dd3c._0x2d0aed,_0x31dd3c._0x50a760)]);_0x52a6e6['length']>0x0&&_0x2a9a0f['push']({'type':'message','role':_0x4d350c(_0x31dd3c._0xd942a,0x4c8,_0x31dd3c._0x565d0c,0x500),'content':[{'type':_0x4d350c(0x4ea,_0x31dd3c._0x10663a,_0x31dd3c._0x4a5635,_0x31dd3c._0x4189e5),'text':_0x1131e2(0x31d,_0x31dd3c._0x86caab,0x316,0x318)+_0x155ca1[_0x4d350c(0x4cf,0x4ac,_0x31dd3c._0x3367d1,_0x31dd3c._0x283b73)]+'.'},..._0x52a6e6[_0x1131e2(_0x31dd3c._0x70ca19,_0x31dd3c._0x5b8847,_0x31dd3c._0x177edc,_0x31dd3c._0xa2238c)](_0x334213=>({'type':_0x4d350c(0x4ce,0x4d2,0x4d9,0x4eb),'image_url':_0x4d350c(0x4e2,0x4e4,0x4d6,0x4d6)+_0x334213['source'][_0x1131e2(0x311,0x307,0x31f,0x303)]+_0x1131e2(0x30c,0x325,0x30b,0x324)+_0x334213[_0x1131e2(0x332,0x32b,0x32b,0x315)][_0x1131e2(0x325,0x2f9,0x315,0x2f9)]}))]});}}pushUserContentMessage(_0x2a9a0f,_0x4c7515[_0x1131e2(0x31a,0x32b,0x30e,0x322)],_0x198fd8);}function _0x1131e2(_0x55d9b2,_0x1888e4,_0x25927c,_0x58ed2b){return _0x4b6e(_0x25927c-_0x175f5f._0x23150e,_0x55d9b2);}return{...createOpenAiResponsesReasoning(_0xa405dd),'model':_0xa405dd['model'],'instructions':systemToInstructions(_0xa405dd[_0x1131e2(0x31c,0x330,0x319,_0x31dd3c._0x36a5c4)]),'input':_0x2a9a0f,..._0xa405dd['maxTokens']!==void 0x0?{'max_output_tokens':_0xa405dd[_0x1131e2(_0x31dd3c._0x5639a1,0x2f8,_0x31dd3c._0x4e2745,_0x31dd3c._0x5aca78)]}:{},'tools':_0xa405dd['tools'][_0x4d350c(0x4d2,_0x31dd3c._0x2b7e4f,0x4ea,_0x31dd3c._0x302550)](_0xaac817=>{function _0xf5e258(_0x1e84d8,_0x2e43ff,_0xbe8fd0,_0x26f8e1){return _0x4d350c(_0xbe8fd0,_0x2e43ff-0xed,_0x26f8e1- -0x3fb,_0x26f8e1-_0x23ff93._0x561e0d);}function _0x66c32b(_0x47f0fa,_0x136cc8,_0x2c9cdb,_0x467bf3){return _0x4d350c(_0x2c9cdb,_0x136cc8-_0x10068e._0x31ae98,_0x47f0fa- -_0x10068e._0x139282,_0x467bf3-0x2f);}return{'type':_0x66c32b(_0x1600c5._0x207df9,_0x1600c5._0x126d66,0x11d,_0x1600c5._0x271c5c),'name':_0xaac817[_0x66c32b(_0x1600c5._0x3b57d5,_0x1600c5._0x1d69c9,0xfe,_0x1600c5._0x483499)],'description':_0xaac817[_0x66c32b(0x105,0xef,0x103,0xe5)],'parameters':_0xaac817['input_schema']};}),..._0xa405dd['outputFormat']?{'text':{'format':{'type':_0x1131e2(_0x31dd3c._0x5a77e0,0x30b,0x303,_0x31dd3c._0x47c327),'name':_0xa405dd[_0x4d350c(_0x31dd3c._0x565d0c,0x4cf,_0x31dd3c._0x2b7e4f,0x4e1)][_0x1131e2(0x2d6,0x303,_0x31dd3c._0xba06c7,_0x31dd3c._0x4459d4)]??_0x4d350c(_0x31dd3c._0x890fc0,_0x31dd3c._0x1c28ef,0x4b3,0x496),'schema':_0xa405dd[_0x1131e2(0x33c,_0x31dd3c._0x4f6434,0x322,0x314)][_0x1131e2(_0x31dd3c._0xc3197e,_0x31dd3c._0x4bd5c8,0x325,_0x31dd3c._0x45a6a6)],'strict':_0xa405dd['outputFormat']['strict']??!![]}}}:{}};}export{toOpenAiResponsesRequest};
1
+ (function(_0x21236a,_0x3ad641){const _0xc51529={_0x5ba9bf:0x42e,_0x1f6be2:0x41e,_0x203fd0:0x435,_0x58cfcd:0x42a,_0x1f66d3:0x448,_0x334b3e:0x423,_0x43cfa9:0x43f,_0x5e36c3:0x42f,_0x1ae227:0x433,_0x3bce1c:0x424,_0x44b79b:0x40f,_0x40e734:0x450,_0x4f9440:0x431,_0x1c8dd1:0x455},_0x58b2a2={_0x4737c2:0x2ef};function _0x544a24(_0x100847,_0x5685d0,_0x4ae736,_0x30f1e0){return _0x41d1(_0x100847-0x2f7,_0x5685d0);}const _0x3b14b3=_0x21236a();function _0x4542f0(_0x3e182b,_0x1ec355,_0x40da8a,_0x5e7559){return _0x41d1(_0x1ec355-_0x58b2a2._0x4737c2,_0x5e7559);}while(!![]){try{const _0x82288d=-parseInt(_0x544a24(0x418,0x428,_0xc51529._0x5ba9bf,0x413))/0x1+-parseInt(_0x544a24(_0xc51529._0x1f6be2,0x427,0x43a,0x43d))/0x2+parseInt(_0x4542f0(0x439,_0xc51529._0x203fd0,_0xc51529._0x58cfcd,_0xc51529._0x1f66d3))/0x3*(parseInt(_0x544a24(0x442,0x432,0x436,_0xc51529._0x334b3e))/0x4)+parseInt(_0x4542f0(_0xc51529._0x43cfa9,0x42d,0x449,_0xc51529._0x5e36c3))/0x5+-parseInt(_0x4542f0(0x436,_0xc51529._0x1ae227,_0xc51529._0x3bce1c,0x44e))/0x6+-parseInt(_0x4542f0(0x40c,_0xc51529._0x44b79b,0x3f5,0x3f7))/0x7+parseInt(_0x544a24(_0xc51529._0x40e734,0x46b,_0xc51529._0x4f9440,_0xc51529._0x1c8dd1))/0x8;if(_0x82288d===_0x3ad641)break;else _0x3b14b3['push'](_0x3b14b3['shift']());}catch(_0x4aa570){_0x3b14b3['push'](_0x3b14b3['shift']());}}}(_0x58fe,0xc9b37));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x302b84){const _0x478d46={_0x403fe0:0x2ca,_0x3c6bde:0x19,_0xa670a5:0x1,_0x284dec:0x34,_0x14caac:0xe},_0x139d0d={_0x8e0f43:0x178};function _0x177855(_0x46618c,_0x206df6,_0x54dd4d,_0x370f43){return _0x41d1(_0x206df6- -0x13c,_0x370f43);}function _0x1933f7(_0x1ee4be,_0x246bbd,_0x2da8bd,_0x581c2c){return _0x41d1(_0x1ee4be-_0x139d0d._0x8e0f43,_0x581c2c);}return normalizeContent(_0x302b84)[_0x1933f7(0x2ce,0x2ba,0x2e4,_0x478d46._0x403fe0)](_0x288199=>_0x288199[_0x177855(-0xc,-0x6,-0x18,0xc)]===_0x1933f7(0x2c4,0x2c4,0x2b8,0x2b0))[_0x177855(-0x33,-_0x478d46._0x3c6bde,-_0x478d46._0xa670a5,-_0x478d46._0x284dec)](_0x43e3c0=>_0x43e3c0[_0x1933f7(0x2c4,0x2bc,0x2c7,0x2d1)])[_0x177855(_0x478d46._0x14caac,0x0,0x5,-0x10)]('\x0a\x0a');}function pushUserContentMessage(_0x53e9bb,_0x1b9445,_0x583b84){const _0x1fbd5a={_0x2328e1:0x3b,_0x49202d:0x36,_0x47b801:0x8a,_0x5dddd5:0x6c,_0x3aeb6f:0x71,_0x3fc73d:0x79},_0x2c277b={_0x114b5d:0x1ab};if(_0x583b84[_0x2ff929(_0x1fbd5a._0x2328e1,_0x1fbd5a._0x49202d,0x2c,0x2f)]===0x0)return;function _0x2ff929(_0x22c479,_0xe8d9f6,_0x45b3a6,_0x4e2223){return _0x41d1(_0xe8d9f6- -0x117,_0x4e2223);}function _0x3e9574(_0x42523b,_0x428fda,_0x2c6be7,_0x2e4b40){return _0x41d1(_0x428fda- -_0x2c277b._0x114b5d,_0x2e4b40);}_0x53e9bb['push']({'type':_0x3e9574(-_0x1fbd5a._0x47b801,-_0x1fbd5a._0x5dddd5,-_0x1fbd5a._0x3aeb6f,-_0x1fbd5a._0x3fc73d),'role':_0x1b9445,'content':_0x583b84});}function hasSerializableToolUse(_0x5641cb){const _0x2addd5={_0x1bf354:0x18e,_0x37f141:0x196,_0x2be01d:0x1b0,_0x4deaaf:0x1a9,_0x298187:0x18b,_0x25af5f:0x1e2};function _0x47431e(_0x2a733e,_0x929d95,_0x110540,_0x33bd16){return _0x41d1(_0x929d95- -0x2d0,_0x33bd16);}function _0x249e11(_0x2881c4,_0x415dc2,_0x22212f,_0x21c677){return _0x41d1(_0x415dc2- -0x337,_0x22212f);}return _0x5641cb['id'][_0x47431e(-_0x2addd5._0x1bf354,-_0x2addd5._0x37f141,-_0x2addd5._0x2be01d,-_0x2addd5._0x4deaaf)]()[_0x47431e(-0x19d,-0x183,-0x165,-_0x2addd5._0x298187)]>0x0&&_0x5641cb['name'][_0x249e11(-0x1f2,-0x1fd,-0x1fa,-_0x2addd5._0x25af5f)]()[_0x249e11(-0x1d2,-0x1ea,-0x1ed,-0x205)]>0x0;}function hasSerializableToolResult(_0x5e4244){const _0x4e7214={_0x127dcc:0x12a,_0x267c64:0x13b,_0xad1373:0x132,_0x107305:0x156,_0x5e63bd:0x14e};function _0x1326a4(_0x424543,_0xdc0803,_0x2833ca,_0x328707){return _0x41d1(_0x424543-0x2f,_0xdc0803);}function _0x5beab4(_0x3ad501,_0x234621,_0x16112d,_0x4471ec){return _0x41d1(_0x16112d-0x1,_0x3ad501);}return _0x5e4244['tool_use_id'][_0x5beab4(0x156,_0x4e7214._0x127dcc,_0x4e7214._0x267c64,_0x4e7214._0xad1373)]()[_0x5beab4(_0x4e7214._0x107305,0x13f,_0x4e7214._0x5e63bd,0x154)]>0x0;}function isResponseInputObject(_0x202012){const _0x593282={_0x3dfbcc:0x47,_0x650166:0x3f,_0x3214c9:0x57,_0xef47b3:0x86,_0x562b97:0x5c};function _0x5d6144(_0x20a313,_0x1c2b4f,_0x377393,_0x27f1cc){return _0x41d1(_0x377393- -0x176,_0x20a313);}if(typeof _0x202012!=='object'||_0x202012===null||Array[_0x18de9d(-0x5b,-_0x593282._0x3dfbcc,-_0x593282._0x650166,-0x2c)](_0x202012))return![];const _0x736705=_0x202012;function _0x18de9d(_0x3aa656,_0x23f9e9,_0x15d395,_0x116df4){return _0x41d1(_0x23f9e9- -0x197,_0x15d395);}return typeof _0x736705[_0x5d6144(-0x37,-0x4f,-0x40,-_0x593282._0x3214c9)]===_0x18de9d(-0x60,-0x79,-_0x593282._0xef47b3,-_0x593282._0x562b97);}function isImageToolResultBlock(_0x71fbc5){const _0x2b097b={_0x603711:0x190,_0x3024e2:0x18e,_0x2e78ed:0x19c,_0x434ac1:0x1a9,_0x3d2cdf:0x45d,_0x5243c5:0x451,_0x32e428:0x428,_0x72af12:0x41a,_0x131f8a:0x471,_0x151016:0x460,_0x239cdb:0x444,_0x1e62f6:0x198,_0x33f1b0:0x176,_0x72876d:0x422,_0x302668:0x424,_0x58e831:0x434,_0xebaccf:0x429,_0x1f86ea:0x19f,_0x20ad06:0x1b4,_0x11a07d:0x1b6},_0x192c9e={_0x58b52c:0x6e},_0x57d9b0={_0x357692:0x301};function _0x4822fc(_0x5c5d86,_0x474c1f,_0x240f1e,_0x392959){return _0x41d1(_0x240f1e-_0x57d9b0._0x357692,_0x392959);}function _0x5d0905(_0x55a399,_0x1359a5,_0x462424,_0x389fe8){return _0x41d1(_0x389fe8-_0x192c9e._0x58b52c,_0x462424);}if(typeof _0x71fbc5!==_0x5d0905(_0x2b097b._0x603711,_0x2b097b._0x3024e2,_0x2b097b._0x2e78ed,_0x2b097b._0x434ac1)||_0x71fbc5===null||Array[_0x4822fc(_0x2b097b._0x3d2cdf,0x44c,_0x2b097b._0x5243c5,0x467)](_0x71fbc5))return![];const _0x2413f7=_0x71fbc5;return _0x2413f7[_0x4822fc(_0x2b097b._0x32e428,_0x2b097b._0x72af12,0x437,0x454)]===_0x4822fc(_0x2b097b._0x131f8a,0x470,0x456,_0x2b097b._0x151016)&&_0x2413f7[_0x5d0905(0x1af,0x183,0x1a1,0x1a1)]?.['type']==='base64'&&typeof _0x2413f7[_0x4822fc(_0x2b097b._0x239cdb,0x42b,0x434,0x443)][_0x5d0905(0x1d6,0x1aa,_0x2b097b._0x1e62f6,0x1b7)]===_0x5d0905(0x175,0x19a,_0x2b097b._0x33f1b0,0x18c)&&typeof _0x2413f7[_0x4822fc(_0x2b097b._0x72876d,_0x2b097b._0x302668,_0x2b097b._0x58e831,_0x2b097b._0xebaccf)][_0x5d0905(_0x2b097b._0x1f86ea,0x1d5,_0x2b097b._0x20ad06,_0x2b097b._0x11a07d)]==='string';}function getToolResultText(_0x4922a3){const _0x2479c3={_0x2d4d24:0xd0,_0x418540:0x1ac,_0x437175:0x19f,_0x39a52b:0xec,_0x33f0f0:0xdc,_0x3d3859:0x1ad,_0x41af8a:0x193,_0x3c9d76:0xd4,_0x3aede1:0xeb},_0x1b772f={_0x3ad696:0x60},_0x26b0b0={_0x5b4058:0x22a,_0x4088f5:0x251,_0xb0c888:0x226,_0x4e6ca1:0x243,_0x4ecddd:0x155},_0x568924={_0x2fbbf0:0x41},_0x17102f={_0x2f6db5:0xab};function _0x3764aa(_0x4002bc,_0x3ca7b7,_0x3d4730,_0x4fd190){return _0x41d1(_0x4002bc- -0x4e,_0x3d4730);}if(typeof _0x4922a3===_0x3764aa(_0x2479c3._0x2d4d24,0xdf,0xe8,0xc6))return _0x4922a3;const _0x2b4b9=_0x4922a3[_0x57b130(_0x2479c3._0x418540,0x1b6,0x1b6,_0x2479c3._0x437175)](_0x382240=>{function _0x4dc885(_0x58d22d,_0x2c385a,_0x156d09,_0x526c96){return _0x3764aa(_0x526c96-0x15b,_0x2c385a-0x14d,_0x156d09,_0x526c96-_0x17102f._0x2f6db5);}function _0x219ba6(_0x562239,_0x4e8cec,_0x31ec86,_0x4a2847){return _0x57b130(_0x562239-0xa,_0x4e8cec-_0x568924._0x2fbbf0,_0x31ec86- -0x2f8,_0x562239);}return typeof _0x382240===_0x4dc885(_0x26b0b0._0x5b4058,_0x26b0b0._0x4088f5,0x234,0x248)&&_0x382240!==null&&_0x382240[_0x4dc885(0x245,_0x26b0b0._0xb0c888,0x25a,_0x26b0b0._0x4e6ca1)]===_0x219ba6(-0x152,-_0x26b0b0._0x4ecddd,-0x14c,-0x15e);})['map'](_0xa91bf3=>_0xa91bf3[_0x3764aa(0xfe,0x118,0x106,0xf2)])['join']('\x0a\x0a')[_0x3764aa(_0x2479c3._0x39a52b,0xdc,0x104,_0x2479c3._0x33f0f0)]();function _0x57b130(_0x167c10,_0x5581f3,_0x30f003,_0x1fb804){return _0x41d1(_0x30f003-_0x1b772f._0x3ad696,_0x1fb804);}return _0x2b4b9[_0x57b130(0x1ae,0x190,_0x2479c3._0x3d3859,_0x2479c3._0x41af8a)]>0x0?_0x2b4b9:_0x3764aa(0xdc,_0x2479c3._0x3c9d76,_0x2479c3._0x3aede1,0xca);}function getToolResultImages(_0x4f8555){const _0x17698d={_0x2a8da6:0x51d,_0x288803:0x4f4,_0x43d086:0x4e9,_0x5d30ae:0x4f0};function _0x51f894(_0x37f1a2,_0x3fb14a,_0x39147d,_0xf8d45b){return _0x41d1(_0x3fb14a-0x33f,_0xf8d45b);}function _0x8dd72f(_0x1d74ff,_0x48ca60,_0x2e65c0,_0x4a352d){return _0x41d1(_0x48ca60-0x3b2,_0x4a352d);}return Array[_0x8dd72f(_0x17698d._0x2a8da6,0x502,0x4f4,_0x17698d._0x288803)](_0x4f8555)?_0x4f8555[_0x8dd72f(_0x17698d._0x43d086,0x508,_0x17698d._0x5d30ae,0x51c)](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0xa66f48){const _0xe39c49={_0x7cd55a:0x44d,_0xcb6f69:0x450},_0x529080={_0x4f9f38:0x2f8};function _0x284399(_0x1f9f1c,_0x5b542f,_0x29a0d0,_0x354414){return _0x41d1(_0x354414-_0x529080._0x4f9f38,_0x29a0d0);}return _0xa66f48[_0x284399(0x469,0x443,_0xe39c49._0x7cd55a,_0xe39c49._0xcb6f69)]?.['visibility']??'user-visible';}function createOpenAiResponsesReasoning(_0x49a2f6){const _0x979ccb={_0x59f3a5:0x88,_0x224bc5:0x82,_0x43165a:0x72,_0x4ea587:0x61,_0x303cec:0xad,_0x2d7bb2:0xb5,_0x319114:0xaa,_0x3e71d2:0xb7,_0x41ee57:0x52,_0x4f19fd:0x36,_0x46be52:0x51,_0x294d97:0x59,_0x1e5216:0x75,_0x1ac1bf:0x3b,_0x1eb8c5:0xa9,_0x4bff11:0xb9,_0x1b1f49:0xa4,_0x2a211d:0x4f,_0x421f83:0x71,_0xeb1aa5:0x55,_0x229496:0x5f,_0x2c6580:0x7d},_0x32d09d={_0x4a9eda:0x1d6};function _0x31b40a(_0x3a385d,_0x285e28,_0x229fec,_0x1dc577){return _0x41d1(_0x3a385d- -0xd0,_0x229fec);}const _0x41cc40=resolveOpenAiReasoningConfig(_0x49a2f6[_0x31b40a(_0x979ccb._0x59f3a5,0x6a,_0x979ccb._0x224bc5,0x7f)]);if(!_0x41cc40)return{};const _0x1b7e64={},_0xf7f66f=_0x49a2f6[_0xd218d0(-0x7e,-0x68,-0x70,-0x9d)]?.[_0x31b40a(0x72,_0x979ccb._0x43165a,0x6c,_0x979ccb._0x4ea587)]!==void 0x0,_0x2b9cc0=(!_0xf7f66f&&_0xd218d0(-_0x979ccb._0x303cec,-0x9d,-0x96,-0x92)in _0x41cc40?_0x41cc40[_0xd218d0(-0xad,-_0x979ccb._0x2d7bb2,-0xb4,-0xc7)]:void 0x0)??(resolveReasoningVisibility(_0x49a2f6)===_0xd218d0(-_0x979ccb._0x319114,-0x97,-_0x979ccb._0x3e71d2,-0xad)?_0x31b40a(0x69,0x84,0x7d,0x6c):void 0x0);_0x41cc40[_0x31b40a(_0x979ccb._0x41ee57,_0x979ccb._0x4f19fd,0x5a,0x62)]&&(_0x1b7e64[_0x31b40a(0x52,0x64,_0x979ccb._0x46be52,0x5f)]=_0x41cc40[_0xd218d0(-0xb4,-_0x979ccb._0x303cec,-0xb5,-0xb2)]);_0x2b9cc0&&(_0x1b7e64[_0x31b40a(_0x979ccb._0x294d97,_0x979ccb._0x1e5216,0x73,_0x979ccb._0x1ac1bf)]=_0x2b9cc0);function _0xd218d0(_0x51084c,_0x1b4922,_0x291372,_0x5afaf2){return _0x41d1(_0x51084c- -_0x32d09d._0x4a9eda,_0x291372);}return{...!_0xf7f66f&&_0xd218d0(-_0x979ccb._0x1eb8c5,-_0x979ccb._0x4bff11,-_0x979ccb._0x1b1f49,-0x9c)in _0x41cc40&&_0x41cc40[_0x31b40a(0x5d,_0x979ccb._0x2a211d,0x51,0x63)]===![]?{}:{'include':[_0x31b40a(_0x979ccb._0x421f83,0x8f,_0x979ccb._0xeb1aa5,0x84)]},...Object[_0x31b40a(_0x979ccb._0x229496,0x73,_0x979ccb._0x2c6580,0x44)](_0x1b7e64)['length']>0x0?{'reasoning':_0x1b7e64}:{}};}function pushAssistantProviderState(_0x550ab5,_0x2b1885,_0x5c4089){const _0x493631={_0x358c20:0x41d,_0x17f7f6:0x43e,_0x5e159b:0x494,_0x7d5551:0x492,_0x279220:0x44f,_0x1f8010:0x473,_0x171f9c:0x455,_0x290657:0x48d,_0x3de09f:0x477,_0x57b523:0x45a,_0x1e585c:0x45c,_0x2129ae:0x472,_0x1ca472:0x46f,_0x42575b:0x479,_0x42b08:0x47c,_0x12e1f0:0x436,_0xddf613:0x448};function _0x11ba7a(_0x4757f0,_0x45b986,_0x4474ff,_0x5a448d){return _0x41d1(_0x45b986-0x357,_0x5a448d);}if(_0x2b1885[_0x1911a8(_0x493631._0x358c20,_0x493631._0x17f7f6,0x41f,0x43c)]!=='assistant')return![];if(!isProviderStateCompatible(_0x2b1885,_0x5c4089))return![];const _0x23cc1d=_0x2b1885[_0x11ba7a(0x4b3,_0x493631._0x5e159b,0x492,0x479)]?.[_0x11ba7a(0x48e,0x47b,_0x493631._0x7d5551,0x492)]??[];if(_0x23cc1d['length']===0x0)return![];for(const _0x191635 of _0x23cc1d){if(isResponseInputObject(_0x191635)){const _0x46d439=structuredClone(_0x191635);delete _0x46d439['status'],_0x46d439[_0x1911a8(0x43b,_0x493631._0x279220,_0x493631._0x1f8010,_0x493631._0x171f9c)]===_0x1911a8(0x492,_0x493631._0x290657,0x483,_0x493631._0x3de09f)&&!Array[_0x1911a8(_0x493631._0x57b523,_0x493631._0x1e585c,_0x493631._0x2129ae,_0x493631._0x1ca472)](_0x46d439[_0x11ba7a(_0x493631._0x42575b,0x480,0x493,_0x493631._0x42b08)])&&(_0x46d439[_0x1911a8(0x467,_0x493631._0x12e1f0,0x459,_0x493631._0xddf613)]=[]),_0x550ab5['push'](_0x46d439);}}function _0x1911a8(_0x3f436c,_0x427bce,_0x1917c6,_0x4afad1){return _0x41d1(_0x4afad1-0x31f,_0x1917c6);}return!![];}function _0x58fe(){const _0x3c4fe7=['otK5nJmWmxjksu53zq','otG4nJfvzgnwz2y','zwzMB3j0','BwfW','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','C3rYAw5NAwz5','Bw9KzwW','mZa1ndG5mhH0Bgn1Dq','DxnLCG','C3vTBwfYEq','vg9VBcbYzxr1CM5LzcbPBwfNzsbJB250zw50lG','zNvUy3rPB25Fy2fSBf9VDxrWDxq','DxnLCI12AxnPyMXL','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','o2jHC2u2ncW','A2v5CW','C3bSAwnL','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','B3v0Chv0rM9YBwf0','C291CMnL','B3v0Chv0x3rLEhq','Bwf4vg9Rzw5Z','DhLWzq','yxnZAxn0yw50','BwvZC2fNzxm','yxv0BW','DhjPBq','B2jQzwn0','AM9PBG','ChjVDMLKzxjtDgf0zq','ndG3odC2mhDKELndBW','BwvZC2fNzq','Dg9VBhm','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','y29KzxG','Aw5WDxrFAw1Hz2u','mJa4mtK0me5Wu3rssW','zgf0ytO','mtvoyNblrwS','ChvZAa','zgf0yq','BwvKAwfFDhLWzq','C3rYDwn0DxjLzf9VDxrWDxq','mtuXmJy4uMvoufbj','Dgv4Da','BgvUz3rO','zgvZy3jPChrPB24','y29UDgvUDa','AxnbCNjHEq','Dg9VBf91C2u','Aw5WDxrFDgv4Da','Dg9VBf91C2vFAwq','ANnVBL9Zy2HLBwe','Aw1Hz2u','zMLSDgvY','BMfTzq','CMvHC29UAw5N','mJq1mdeZntjKrfnztNi','zNvUy3rPB24','CM9Szq','C3rYAw5N','C2nOzw1H'];_0x58fe=function(){return _0x3c4fe7;};return _0x58fe();}function toOpenAiResponsesRequest(_0x5db25a){const _0x3d12d7={_0x4d27a8:0x378,_0x48f1c4:0x38f,_0x332043:0x376,_0x53aa69:0x241,_0x92ec4c:0x223,_0x463c86:0x227,_0x53659e:0x392,_0x3a2012:0x348,_0x1ad04c:0x360,_0x5600fc:0x24d,_0xbd07c0:0x242,_0x4ffd2a:0x25f,_0x5e0da7:0x359,_0x4a2fc9:0x374,_0x29f540:0x390,_0x4e0713:0x238,_0x1e2ef3:0x22b,_0x5b7f8f:0x229,_0x5ecf47:0x381,_0x4493b1:0x37d,_0xed83fa:0x238,_0xa9a5:0x220,_0x35fd88:0x22a,_0x13d23d:0x266,_0x2fede7:0x38a,_0x3c555b:0x3af,_0x54deaf:0x241,_0xb2e87c:0x233,_0x1a38d6:0x258,_0x1e409d:0x382,_0x5a9d51:0x373,_0x25ef3f:0x23c,_0x46ff98:0x24b,_0x47bd0b:0x362,_0x57a9aa:0x36d,_0x471cf2:0x370,_0x3c4617:0x368,_0x4c517d:0x38b,_0x4bb218:0x239,_0xa63cff:0x231,_0x1a2695:0x25f,_0x3e3a24:0x24e,_0x2666e2:0x25a,_0x227b68:0x38b,_0x44e25c:0x237,_0x52d4bf:0x36b,_0x3caf7d:0x364,_0x3e2bcb:0x391,_0x16505c:0x389,_0x345b22:0x3ae,_0x293432:0x235,_0x9bbada:0x243,_0x36d5d7:0x23a,_0x5094f0:0x367,_0x1608c1:0x25c,_0x37dcb8:0x274,_0x4311bd:0x379,_0x4b5b81:0x37e,_0x277ad2:0x384,_0x4b3feb:0x25e,_0x922c1e:0x249,_0x555350:0x279,_0xe6d86b:0x255,_0x543ed3:0x266,_0x255b50:0x34d,_0x1d2bde:0x363,_0x91dc31:0x252,_0x1836e7:0x377,_0x5294d7:0x372,_0x3ebb93:0x371,_0x258940:0x39d,_0x4a454c:0x397,_0x584cdf:0x228,_0x56f045:0x361,_0x2b1e04:0x381,_0x5896cf:0x372,_0xd42a80:0x376},_0x18d788={_0x38b7c3:0x238,_0x44b1ad:0x25d,_0x1fef9c:0x217,_0x32bcfa:0x222,_0x93466:0x239,_0x10c117:0x237},_0x32444d={_0x415fe2:0x240},_0x1e67eb=[];function _0x461761(_0x278fe9,_0x386e6e,_0x66ba40,_0x1d4b73){return _0x41d1(_0x278fe9- -0x384,_0x1d4b73);}for(const _0x25a565 of _0x5db25a[_0x1a5d60(0x37e,0x35b,_0x3d12d7._0x4d27a8,_0x3d12d7._0x48f1c4)]){if(pushAssistantProviderState(_0x1e67eb,_0x25a565,_0x5db25a))continue;const _0x4e2560=[];for(const _0x1c2644 of normalizeContent(_0x25a565['content'])){if(_0x1c2644[_0x1a5d60(0x376,0x376,0x376,_0x3d12d7._0x332043)]===_0x461761(-0x238,-_0x3d12d7._0x53aa69,-_0x3d12d7._0x92ec4c,-_0x3d12d7._0x463c86)){_0x4e2560[_0x1a5d60(0x3a6,_0x3d12d7._0x53659e,0x387,0x39f)](_0x25a565[_0x1a5d60(_0x3d12d7._0x3a2012,_0x3d12d7._0x1ad04c,0x35d,0x364)]===_0x461761(-_0x3d12d7._0x5600fc,-_0x3d12d7._0xbd07c0,-_0x3d12d7._0x4ffd2a,-0x262)?{'type':_0x1a5d60(0x380,_0x3d12d7._0x5e0da7,_0x3d12d7._0x4a2fc9,_0x3d12d7._0x29f540),'text':_0x1c2644[_0x461761(-_0x3d12d7._0x4e0713,-0x225,-_0x3d12d7._0x1e2ef3,-_0x3d12d7._0x5b7f8f)]}:{'type':_0x1a5d60(_0x3d12d7._0x5ecf47,_0x3d12d7._0x4493b1,_0x3d12d7._0x53659e,0x3ae),'text':_0x1c2644[_0x461761(-_0x3d12d7._0xed83fa,-_0x3d12d7._0xa9a5,-_0x3d12d7._0xa9a5,-_0x3d12d7._0x35fd88)]});continue;}if(_0x1c2644[_0x461761(-0x24e,-0x256,-_0x3d12d7._0x13d23d,-0x25d)]===_0x1a5d60(_0x3d12d7._0x2fede7,_0x3d12d7._0x3c555b,0x395,0x3b4)){_0x4e2560[_0x1a5d60(0x39f,0x3a1,0x387,0x36d)]({'type':_0x461761(-_0x3d12d7._0x54deaf,-_0x3d12d7._0xb2e87c,-0x260,-_0x3d12d7._0x1a38d6),'image_url':'data:'+_0x1c2644[_0x1a5d60(_0x3d12d7._0x1e409d,0x38b,_0x3d12d7._0x5a9d51,0x392)]['media_type']+';base64,'+_0x1c2644[_0x1a5d60(0x367,0x375,_0x3d12d7._0x5a9d51,0x381)][_0x461761(-_0x3d12d7._0x25ef3f,-_0x3d12d7._0x46ff98,-0x242,-0x22a)]});continue;}pushUserContentMessage(_0x1e67eb,_0x25a565[_0x1a5d60(_0x3d12d7._0x47bd0b,_0x3d12d7._0x57a9aa,0x35d,0x353)],_0x4e2560[_0x1a5d60(0x382,0x36e,_0x3d12d7._0x471cf2,0x36e)](0x0));if(_0x1c2644[_0x1a5d60(_0x3d12d7._0x3c4617,_0x3d12d7._0x4c517d,0x376,0x383)]===_0x461761(-_0x3d12d7._0xb2e87c,-0x242,-_0x3d12d7._0x4bb218,-0x21d)){if(!hasSerializableToolUse(_0x1c2644))continue;_0x1e67eb['push']({'type':'function_call','call_id':_0x1c2644['id'],'name':_0x1c2644[_0x461761(-0x22d,-0x221,-_0x3d12d7._0xa63cff,-0x244)],'arguments':JSON[_0x461761(-_0x3d12d7._0x1a2695,-0x279,-0x278,-0x277)](_0x1c2644['input']??{})});continue;}if(_0x1c2644[_0x461761(-_0x3d12d7._0x3e3a24,-0x25d,-0x240,-_0x3d12d7._0x2666e2)]==='tool_result'){if(!hasSerializableToolResult(_0x1c2644))continue;const _0x20dd33=getToolResultText(_0x1c2644[_0x1a5d60(0x388,0x39a,0x38f,_0x3d12d7._0x227b68)]);_0x1e67eb[_0x461761(-0x23d,-0x21e,-0x247,-_0x3d12d7._0x44e25c)]({'type':_0x1a5d60(0x382,0x369,_0x3d12d7._0x52d4bf,_0x3d12d7._0x3caf7d),'call_id':_0x1c2644[_0x1a5d60(_0x3d12d7._0x3e2bcb,_0x3d12d7._0x16505c,0x393,_0x3d12d7._0x345b22)],'output':_0x20dd33});const _0x5b7912=getToolResultImages(_0x1c2644[_0x461761(-_0x3d12d7._0x293432,-_0x3d12d7._0x9bbada,-0x24a,-_0x3d12d7._0x36d5d7)]);_0x5b7912[_0x1a5d60(0x379,0x374,0x38d,0x383)]>0x0&&_0x1e67eb['push']({'type':_0x1a5d60(_0x3d12d7._0x5094f0,0x37f,0x37f,0x393),'role':_0x461761(-_0x3d12d7._0x1608c1,-_0x3d12d7._0x1608c1,-0x24a,-_0x3d12d7._0x37dcb8),'content':[{'type':_0x1a5d60(_0x3d12d7._0x4311bd,_0x3d12d7._0x4b5b81,0x392,_0x3d12d7._0x277ad2),'text':_0x1a5d60(0x38d,_0x3d12d7._0x5ecf47,0x371,0x36d)+_0x1c2644[_0x1a5d60(0x37b,0x3a6,0x393,_0x3d12d7._0x4d27a8)]+'.'},..._0x5b7912[_0x461761(-0x261,-0x24b,-0x27f,-0x24b)](_0x4f2a8d=>({'type':_0x461761(-0x241,-0x238,-0x237,-0x22e),'image_url':_0x1a5d60(0x387,0x392,0x385,0x36e)+_0x4f2a8d[_0x461761(-0x251,-0x26a,-0x23e,-0x237)][_0x1a5d60(0x3a2,0x37c,0x389,0x395)]+_0x461761(-0x256,-0x240,-0x242,-0x243)+_0x4f2a8d[_0x461761(-0x251,-0x238,-0x26b,-0x25b)]['data']}))]});}}pushUserContentMessage(_0x1e67eb,_0x25a565['role'],_0x4e2560);}function _0x1a5d60(_0x42da2e,_0x1548d4,_0x83419c,_0x44a1ab){return _0x41d1(_0x83419c-_0x32444d._0x415fe2,_0x1548d4);}return{...createOpenAiResponsesReasoning(_0x5db25a),'model':_0x5db25a[_0x461761(-_0x3d12d7._0x4b3feb,-_0x3d12d7._0x922c1e,-0x25d,-_0x3d12d7._0x555350)],'instructions':systemToInstructions(_0x5db25a['system']),'input':_0x1e67eb,..._0x5db25a['maxTokens']!==void 0x0?{'max_output_tokens':_0x5db25a[_0x461761(-0x24f,-_0x3d12d7._0xe6d86b,-_0x3d12d7._0x543ed3,-0x245)]}:{},'tools':_0x5db25a[_0x1a5d60(_0x3d12d7._0x332043,0x387,0x380,0x371)][_0x1a5d60(_0x3d12d7._0x255b50,0x36d,_0x3d12d7._0x1d2bde,0x36a)](_0x2f11bd=>{const _0x1350e4={_0x2f0246:0x1c6,_0x1822ba:0x5ab,_0x1f63f1:0x152},_0x2a8246={_0x149693:0x1ea};function _0x4458e9(_0x3c8baf,_0x40a4aa,_0x5c7a7a,_0x24292f){return _0x461761(_0x3c8baf-0x516,_0x40a4aa-_0x2a8246._0x149693,_0x5c7a7a-0xc0,_0x5c7a7a);}function _0x531213(_0x170fd2,_0x552d15,_0xb0d8f,_0x3d7db1){return _0x1a5d60(_0x170fd2-_0x1350e4._0x2f0246,_0x170fd2,_0x3d7db1- -_0x1350e4._0x1822ba,_0x3d7db1-_0x1350e4._0x1f63f1);}return{'type':_0x531213(-_0x18d788._0x38b7c3,-_0x18d788._0x44b1ad,-0x23d,-0x24f),'name':_0x2f11bd[_0x531213(-0x205,-_0x18d788._0x1fef9c,-_0x18d788._0x32bcfa,-0x214)],'description':_0x2f11bd[_0x531213(-0x20d,-_0x18d788._0x93466,-_0x18d788._0x10c117,-0x21d)],'parameters':_0x2f11bd['input_schema']};}),..._0x5db25a[_0x461761(-_0x3d12d7._0x91dc31,-0x25a,-0x24a,-0x261)]?{'text':{'format':{'type':_0x1a5d60(0x377,0x38f,0x394,0x38b),'name':_0x5db25a[_0x1a5d60(0x381,_0x3d12d7._0x1836e7,_0x3d12d7._0x5294d7,_0x3d12d7._0x3ebb93)][_0x1a5d60(0x3a1,_0x3d12d7._0x258940,_0x3d12d7._0x4a454c,0x3a1)]??_0x461761(-0x23a,-_0x3d12d7._0x293432,-_0x3d12d7._0x584cdf,-_0x3d12d7._0x4bb218),'schema':_0x5db25a[_0x1a5d60(0x383,_0x3d12d7._0x1836e7,0x372,_0x3d12d7._0x56f045)][_0x1a5d60(_0x3d12d7._0x1836e7,0x37c,0x35f,0x349)],'strict':_0x5db25a[_0x1a5d60(0x375,_0x3d12d7._0x2b1e04,_0x3d12d7._0x5896cf,_0x3d12d7._0xd42a80)]['strict']??!![]}}}:{}};}function _0x41d1(_0x52da42,_0x51e9d5){_0x52da42=_0x52da42-0x11c;const _0x58fed7=_0x58fe();let _0x41d136=_0x58fed7[_0x52da42];if(_0x41d1['BkThme']===undefined){var _0x2c87d2=function(_0x384748){const _0x51e363='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x302b84='',_0x288199='';for(let _0x43e3c0=0x0,_0x53e9bb,_0x1b9445,_0x583b84=0x0;_0x1b9445=_0x384748['charAt'](_0x583b84++);~_0x1b9445&&(_0x53e9bb=_0x43e3c0%0x4?_0x53e9bb*0x40+_0x1b9445:_0x1b9445,_0x43e3c0++%0x4)?_0x302b84+=String['fromCharCode'](0xff&_0x53e9bb>>(-0x2*_0x43e3c0&0x6)):0x0){_0x1b9445=_0x51e363['indexOf'](_0x1b9445);}for(let _0x5641cb=0x0,_0x5e4244=_0x302b84['length'];_0x5641cb<_0x5e4244;_0x5641cb++){_0x288199+='%'+('00'+_0x302b84['charCodeAt'](_0x5641cb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x288199);};_0x41d1['kZuqwm']=_0x2c87d2,_0x41d1['UscZkD']={},_0x41d1['BkThme']=!![];}const _0x14e758=_0x58fed7[0x0],_0x3529cb=_0x52da42+_0x14e758,_0x457cc7=_0x41d1['UscZkD'][_0x3529cb];return!_0x457cc7?(_0x41d136=_0x41d1['kZuqwm'](_0x41d136),_0x41d1['UscZkD'][_0x3529cb]=_0x41d136):_0x41d136=_0x457cc7,_0x41d136;}export{toOpenAiResponsesRequest};
@@ -1 +1 @@
1
- (function(_0x436a98,_0x29cf4e){var _0x5e85c0={_0x512795:0x4d2,_0x51ea10:0x4c9,_0x4cd4af:0x4dd,_0x345e76:0x4d4,_0x28f2b3:0x46b,_0x277a54:0x461,_0x3a2e3a:0x4cc,_0x5c6a81:0x4d7,_0x54175b:0x4c5,_0x22cd16:0x4c5,_0x3a86e5:0x4cf,_0x5343b0:0x4bf,_0x34cb96:0x4c5,_0x25957a:0x4c2,_0x141d8d:0x4cd,_0x205fbe:0x466,_0x2d5034:0x471,_0x4ae48f:0x467,_0x498ad2:0x45f,_0x1a2722:0x468,_0x33d91d:0x466,_0x20afbc:0x4c3,_0x55fa7c:0x4c1,_0x35e520:0x450},_0x17a15b={_0x6ad4ca:0x3d4};function _0x5ea4c0(_0x2daea8,_0x39102c,_0x374dfa,_0x345c2b){return _0x3e60(_0x345c2b-0x36b,_0x39102c);}function _0xbd6d79(_0x506986,_0x635121,_0x556ddd,_0x27568b){return _0x3e60(_0x506986-_0x17a15b._0x6ad4ca,_0x27568b);}var _0x102d56=_0x436a98();while(!![]){try{var _0x9e9fd6=parseInt(_0xbd6d79(_0x5e85c0._0x512795,_0x5e85c0._0x51ea10,0x4d0,_0x5e85c0._0x4cd4af))/0x1*(parseInt(_0xbd6d79(0x4cd,_0x5e85c0._0x345e76,0x4ce,0x4c9))/0x2)+-parseInt(_0x5ea4c0(_0x5e85c0._0x28f2b3,0x45c,_0x5e85c0._0x277a54,0x462))/0x3*(-parseInt(_0xbd6d79(_0x5e85c0._0x3a2e3a,0x4ce,0x4c2,_0x5e85c0._0x5c6a81))/0x4)+-parseInt(_0xbd6d79(_0x5e85c0._0x54175b,0x4c5,_0x5e85c0._0x22cd16,_0x5e85c0._0x3a86e5))/0x5*(parseInt(_0xbd6d79(_0x5e85c0._0x5343b0,_0x5e85c0._0x34cb96,0x4b7,0x4b8))/0x6)+parseInt(_0xbd6d79(_0x5e85c0._0x25957a,0x4bb,_0x5e85c0._0x141d8d,0x4bf))/0x7+parseInt(_0x5ea4c0(0x460,_0x5e85c0._0x205fbe,_0x5e85c0._0x2d5034,_0x5e85c0._0x4ae48f))/0x8+-parseInt(_0x5ea4c0(0x45f,_0x5e85c0._0x498ad2,_0x5e85c0._0x1a2722,_0x5e85c0._0x33d91d))/0x9+-parseInt(_0xbd6d79(_0x5e85c0._0x20afbc,0x4bf,_0x5e85c0._0x55fa7c,0x4be))/0xa*(parseInt(_0x5ea4c0(_0x5e85c0._0x35e520,0x457,0x453,0x455))/0xb);if(_0x9e9fd6===_0x29cf4e)break;else _0x102d56['push'](_0x102d56['shift']());}catch(_0x3ba85e){_0x102d56['push'](_0x102d56['shift']());}}}(_0x13e4,0xe5e35));var OperationAbortedError=class extends Error{['code']=_0x47aafb(-0x57,-0x51,-0x58,-0x4a);constructor(_0x3d6fb3='Operation\x20aborted'){var _0x17a8f8={_0x542b22:0x36e,_0x18e021:0x37e,_0x4973a4:0x36f,_0x399549:0x1e0,_0x4ab0d9:0x1ea},_0x3898ec={_0x53dd00:0x108},_0x495c90={_0x3cad50:0xd8,_0x59f45b:0x3c0,_0x52335e:0x123};super(_0x3d6fb3);function _0x1a0a3e(_0x3d43eb,_0x48640c,_0x17e8ed,_0x10d64f){return _0x47aafb(_0x3d43eb-_0x495c90._0x3cad50,_0x10d64f-_0x495c90._0x59f45b,_0x48640c,_0x10d64f-_0x495c90._0x52335e);}function _0x5d683c(_0x316d75,_0x2ee0bc,_0x3fdb15,_0x2384ab){return _0x47aafb(_0x316d75-_0x3898ec._0x53dd00,_0x2384ab-0x241,_0x2ee0bc,_0x2384ab-0x192);}this[_0x1a0a3e(_0x17a8f8._0x542b22,_0x17a8f8._0x18e021,_0x17a8f8._0x4973a4,0x376)]=_0x5d683c(0x1f1,_0x17a8f8._0x399549,0x1e4,_0x17a8f8._0x4ab0d9);}};function toAbortError(_0x541731){var _0x30bcf4={_0x134ea0:0xb5,_0xcd53c9:0x3d1,_0x28b909:0x3cf,_0x26de78:0x3c7},_0x4d9756={_0x55375f:0x69},_0x5dcfcf={_0x24d97e:0x49};if(isAbortError(_0x541731))return _0x541731;if(_0x541731 instanceof Error)return new OperationAbortedError(_0x541731[_0x5e613e(-0xb7,-_0x30bcf4._0x134ea0,-0xc1,-0xbb)]);function _0x1be7fc(_0x211505,_0x35421f,_0x3f5401,_0x5c6da1){return _0x47aafb(_0x211505-0x120,_0x3f5401-0x42a,_0x35421f,_0x5c6da1-_0x5dcfcf._0x24d97e);}if(typeof _0x541731==='string'&&_0x541731[_0x1be7fc(0x3d2,_0x30bcf4._0xcd53c9,_0x30bcf4._0x28b909,_0x30bcf4._0x26de78)]>0x0)return new OperationAbortedError(_0x541731);function _0x5e613e(_0x3f692b,_0x4146d2,_0x3af6db,_0x4a5c53){return _0x47aafb(_0x3f692b-0x99,_0x3f692b- -_0x4d9756._0x55375f,_0x3af6db,_0x4a5c53-0x144);}return new OperationAbortedError();}function isAbortError(_0x32caea){var _0x47e067={_0x28b366:0x13f,_0x572dc8:0x5e},_0x254102={_0x32617e:0x80,_0x2b91a4:0x9c},_0x43ee0e={_0x1846e6:0xc5,_0x1798a7:0x1b2};function _0x123091(_0xeba9d4,_0x3a1179,_0x60adcb,_0x150a6a){return _0x47aafb(_0xeba9d4-_0x43ee0e._0x1846e6,_0xeba9d4- -0xf,_0x60adcb,_0x150a6a-_0x43ee0e._0x1798a7);}function _0x5730f2(_0x1315f9,_0xde9df6,_0x4bbce0,_0x38627a){return _0x47aafb(_0x1315f9-_0x254102._0x32617e,_0x1315f9-0x18e,_0x38627a,_0x38627a-_0x254102._0x2b91a4);}return _0x32caea instanceof OperationAbortedError||_0x32caea instanceof Error&&(_0x32caea[_0x5730f2(0x144,0x14e,_0x47e067._0x28b366,0x13f)]===_0x123091(-0x66,-0x69,-0x5e,-0x6f)||'code'in _0x32caea&&_0x32caea[_0x123091(-_0x47e067._0x572dc8,-0x61,-0x66,-0x66)]==='ABORT_ERR');}function _0x3e60(_0x57551e,_0x42a40d){_0x57551e=_0x57551e-0xe9;var _0x13e443=_0x13e4();var _0x3e6000=_0x13e443[_0x57551e];if(_0x3e60['kmXCqC']===undefined){var _0x4d93ee=function(_0x4c56b8){var _0x108fa6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3d6fb3='',_0x541731='';for(var _0x32caea=0x0,_0x32e7b1,_0x108e93,_0x5ce46c=0x0;_0x108e93=_0x4c56b8['charAt'](_0x5ce46c++);~_0x108e93&&(_0x32e7b1=_0x32caea%0x4?_0x32e7b1*0x40+_0x108e93:_0x108e93,_0x32caea++%0x4)?_0x3d6fb3+=String['fromCharCode'](0xff&_0x32e7b1>>(-0x2*_0x32caea&0x6)):0x0){_0x108e93=_0x108fa6['indexOf'](_0x108e93);}for(var _0x2e5851=0x0,_0x592e93=_0x3d6fb3['length'];_0x2e5851<_0x592e93;_0x2e5851++){_0x541731+='%'+('00'+_0x3d6fb3['charCodeAt'](_0x2e5851)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x541731);};_0x3e60['LqSJmk']=_0x4d93ee,_0x3e60['zvoEIW']={},_0x3e60['kmXCqC']=!![];}var _0x4325ad=_0x13e443[0x0],_0x513d33=_0x57551e+_0x4325ad,_0x29dd31=_0x3e60['zvoEIW'][_0x513d33];return!_0x29dd31?(_0x3e6000=_0x3e60['LqSJmk'](_0x3e6000),_0x3e60['zvoEIW'][_0x513d33]=_0x3e6000):_0x3e6000=_0x29dd31,_0x3e6000;}function _0x47aafb(_0x352087,_0x376c81,_0x4800fd,_0x2afc8d){return _0x3e60(_0x376c81- -0x144,_0x4800fd);}function _0x13e4(){var _0x537fe1=['mZK4nwzNtK1lta','BgvUz3rO','nJm4wLvvD0Pz','mJu4AMr6AMj2','ywjVCNrLza','qwjVCNrfCNjVCG','mta2mJC5nJD1vurhEee','ntaZodeWwejWq3Db','ywjVCNq','oty3mZv4y3D1zfG','CMvHC29U','qujpuLrFrvjs','CMvTB3zLrxzLBNrmAxn0zw5LCG','y29Kzq','BwvZC2fNzq','nKLxsM5Zza','mtqZotGWofHztejsBG','nZm0EvHWCezn','BMfTzq','nZKYndG2t3jNsLD5','ody2ndeXmNbUtwjtBa','ywrKrxzLBNrmAxn0zw5LCG'];_0x13e4=function(){return _0x537fe1;};return _0x13e4();}function throwIfAborted(_0x32e7b1){var _0x44013c={_0x39f71a:0x4b4,_0xcd7123:0x4bf,_0x237996:0x10d,_0x270615:0x114},_0x44df53={_0x234a77:0x165,_0x3e73bd:0x15f},_0x26f6c0={_0x3b3df8:0x512,_0x2b3991:0xc8};function _0x31a636(_0x39da84,_0x3697ad,_0x3f6e21,_0x29915a){return _0x47aafb(_0x39da84-0xb9,_0x29915a-_0x26f6c0._0x3b3df8,_0x3f6e21,_0x29915a-_0x26f6c0._0x2b3991);}if(!_0x32e7b1?.[_0x31a636(0x4b3,_0x44013c._0x39f71a,_0x44013c._0xcd7123,0x4ba)])return;function _0x116f4b(_0x4809c2,_0x3424dc,_0x492957,_0x36cd43){return _0x47aafb(_0x4809c2-_0x44df53._0x234a77,_0x4809c2-_0x44df53._0x3e73bd,_0x3424dc,_0x36cd43-0x176);}throw toAbortError(_0x32e7b1[_0x116f4b(_0x44013c._0x237996,_0x44013c._0x270615,0x102,0x108)]);}function addAbortListener(_0x108e93,_0x5ce46c){var _0x4b8904={_0x44ec74:0xc2},_0x4d3cc0={_0x4e254d:0xc0,_0x548ddb:0xca,_0x479587:0x42a,_0x169a32:0x422},_0x41987c={_0x29438c:0x9c,_0x20b202:0x4f5},_0x2a4684={_0x162ac2:0x13a,_0x3bdc99:0x81,_0x502c10:0x2a};if(!_0x108e93)return()=>{};if(_0x108e93['aborted'])return _0x5ce46c(),()=>{};const _0x2e5851=()=>{_0x5ce46c();};function _0x144799(_0x37d808,_0x13ec0d,_0x4ec8c8,_0x1f62f3){return _0x47aafb(_0x37d808-_0x2a4684._0x162ac2,_0x1f62f3- -_0x2a4684._0x3bdc99,_0x37d808,_0x1f62f3-_0x2a4684._0x502c10);}return _0x108e93[_0x144799(-_0x4b8904._0x44ec74,-0xd0,-0xc7,-0xc8)]('abort',_0x2e5851,{'once':!![]}),()=>{var _0x321aa5={_0x49e8a7:0x123};function _0x15b057(_0x3f486a,_0x39ccca,_0xe80b57,_0x471157){return _0x144799(_0x3f486a,_0x39ccca-0x5d,_0xe80b57-_0x41987c._0x29438c,_0x39ccca-_0x41987c._0x20b202);}function _0x2b7448(_0x3a2e73,_0x5d1212,_0x1862e5,_0x1204fc){return _0x144799(_0x5d1212,_0x5d1212-_0x321aa5._0x49e8a7,_0x1862e5-0x15e,_0x1862e5-0x7);}_0x108e93[_0x2b7448(-_0x4d3cc0._0x4e254d,-0xd5,-_0x4d3cc0._0x548ddb,-0xc6)](_0x15b057(_0x4d3cc0._0x479587,0x420,0x420,_0x4d3cc0._0x169a32),_0x2e5851);};}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
1
+ function _0xc985e5(_0x1a69fa,_0x2d7db8,_0x4ddbaa,_0xc666da){return _0x181d(_0x2d7db8- -0x99,_0xc666da);}function _0x41698c(_0x2c64a1,_0x248597,_0x24db8c,_0x323b63){var _0x55709b={_0xb3c57:0x2dd};return _0x181d(_0x24db8c-_0x55709b._0xb3c57,_0x248597);}(function(_0x5b9ef8,_0x1dafaa){var _0xce306c={_0x32c8a4:0x4a,_0x1b319a:0x535,_0x5a7069:0x534,_0x56099f:0x48,_0x53ac1d:0x52b,_0x24247e:0x524,_0x52af15:0x522,_0x3daf0b:0x535,_0x5f4601:0x52c,_0xaa2b7:0x531,_0xdb42f:0x532,_0xe87ce8:0x533,_0x11df82:0x52f,_0x183337:0x533,_0x974d6a:0x52f,_0x2338bc:0x52a,_0x4e5a5e:0x528,_0x2f295a:0x5d,_0x50bb67:0x52c,_0xf09999:0x57},_0x594ca1={_0x13f9d0:0x3ce};function _0x7fa7f1(_0x1de63f,_0x3cf8cd,_0x27b422,_0xae5a00){return _0x181d(_0x1de63f- -0x1b0,_0x3cf8cd);}var _0x3eea3a=_0x5b9ef8();function _0x247051(_0x7384b7,_0xefcff3,_0x22dd7b,_0x225fdc){return _0x181d(_0xefcff3-_0x594ca1._0x13f9d0,_0x225fdc);}while(!![]){try{var _0x18f8f6=parseInt(_0x7fa7f1(-0x48,-0x3d,-_0xce306c._0x32c8a4,-0x41))/0x1*(parseInt(_0x247051(_0xce306c._0x1b319a,_0xce306c._0x5a7069,0x52e,0x532))/0x2)+parseInt(_0x7fa7f1(-0x4c,-_0xce306c._0x56099f,-0x4a,-0x43))/0x3*(parseInt(_0x247051(_0xce306c._0x53ac1d,0x526,_0xce306c._0x24247e,_0xce306c._0x52af15))/0x4)+parseInt(_0x247051(0x53f,0x538,0x53a,0x541))/0x5*(-parseInt(_0x247051(_0xce306c._0x3daf0b,_0xce306c._0x5f4601,_0xce306c._0xaa2b7,_0xce306c._0xdb42f))/0x6)+-parseInt(_0x247051(_0xce306c._0x5f4601,0x530,0x537,_0xce306c._0x3daf0b))/0x7+parseInt(_0x247051(_0xce306c._0xe87ce8,_0xce306c._0x11df82,_0xce306c._0x183337,_0xce306c._0x974d6a))/0x8*(parseInt(_0x247051(_0xce306c._0x2338bc,_0xce306c._0x4e5a5e,0x530,_0xce306c._0x2338bc))/0x9)+-parseInt(_0x7fa7f1(-0x57,-_0xce306c._0x2f295a,-0x5e,-0x53))/0xa+parseInt(_0x247051(0x522,0x52d,_0xce306c._0x50bb67,0x536))/0xb*(parseInt(_0x7fa7f1(-0x54,-_0xce306c._0xf09999,-_0xce306c._0x2f295a,-0x5c))/0xc);if(_0x18f8f6===_0x1dafaa)break;else _0x3eea3a['push'](_0x3eea3a['shift']());}catch(_0x5e8e97){_0x3eea3a['push'](_0x3eea3a['shift']());}}}(_0x15c1,0x62bf7));var OperationAbortedError=class extends Error{[_0x41698c(0x43b,0x442,0x43a,0x43a)]=_0x41698c(0x42d,0x441,0x438,0x439);constructor(_0x138953=_0xc985e5(0xd9,0xce,0xca,0xc8)){var _0x20227f={_0x2fcca3:0xd7};super(_0x138953);function _0x3ce9fa(_0x28689a,_0x326422,_0x408190,_0x4eeffa){return _0x41698c(_0x28689a-0xeb,_0x326422,_0x4eeffa- -0x51e,_0x4eeffa-0x54);}this[_0x3ce9fa(-_0x20227f._0x2fcca3,-0xd0,-0xd0,-0xd4)]='AbortError';}};function toAbortError(_0x35552b){var _0x4848c2={_0x26f22c:0x192,_0x48c3cf:0x188,_0x3384ed:0x185,_0x49233c:0x18a},_0x42702f={_0x17d432:0x1af},_0x44dec4={_0x2dcce4:0x81,_0x667699:0x5ce,_0x1bf473:0xad};if(isAbortError(_0x35552b))return _0x35552b;function _0xc985a1(_0x4e43e6,_0x218a11,_0x22078b,_0x5ca9be){return _0x41698c(_0x4e43e6-_0x44dec4._0x2dcce4,_0x218a11,_0x22078b- -_0x44dec4._0x667699,_0x5ca9be-_0x44dec4._0x1bf473);}if(_0x35552b instanceof Error)return new OperationAbortedError(_0x35552b[_0xc985a1(-0x187,-_0x4848c2._0x26f22c,-0x18c,-0x186)]);function _0x134349(_0x226101,_0x41f7a7,_0x43247f,_0x52204d){return _0xc985e5(_0x226101-_0x42702f._0x17d432,_0x41f7a7- -0x17,_0x43247f-0x1b3,_0x52204d);}if(typeof _0x35552b===_0xc985a1(-_0x4848c2._0x48c3cf,-0x17d,-_0x4848c2._0x3384ed,-_0x4848c2._0x49233c)&&_0x35552b['length']>0x0)return new OperationAbortedError(_0x35552b);return new OperationAbortedError();}function isAbortError(_0x33b225){var _0x4b647f={_0x4f8674:0xcc,_0x1982cd:0xc0,_0x5cfe60:0xd9,_0x57f8d3:0xe3,_0x362539:0x4f9,_0x6d2efa:0x4fc,_0x3955eb:0xdc,_0x2cfb61:0xdb},_0x1de546={_0x1f860a:0x19d,_0x394dc2:0x6c},_0x350e2d={_0x39d772:0x15d,_0x2aa22e:0x438,_0xa24309:0x135};function _0x14a5b7(_0x3a9451,_0x2eecdf,_0x161b95,_0x15c2c6){return _0xc985e5(_0x3a9451-_0x350e2d._0x39d772,_0x161b95-_0x350e2d._0x2aa22e,_0x161b95-_0x350e2d._0xa24309,_0x2eecdf);}function _0x1c006d(_0x57c546,_0x2ddee1,_0x33c9e3,_0x227993){return _0xc985e5(_0x57c546-0xd2,_0x33c9e3- -_0x1de546._0x1f860a,_0x33c9e3-_0x1de546._0x394dc2,_0x2ddee1);}return _0x33b225 instanceof OperationAbortedError||_0x33b225 instanceof Error&&(_0x33b225[_0x1c006d(-_0x4b647f._0x4f8674,-_0x4b647f._0x4f8674,-0xc9,-_0x4b647f._0x1982cd)]==='AbortError'||_0x1c006d(-0xdb,-0xd0,-_0x4b647f._0x5cfe60,-_0x4b647f._0x57f8d3)in _0x33b225&&_0x33b225[_0x14a5b7(_0x4b647f._0x362539,0x505,_0x4b647f._0x6d2efa,0x502)]===_0x1c006d(-_0x4b647f._0x3955eb,-0xe6,-_0x4b647f._0x2cfb61,-0xd2));}function _0x181d(_0x8bee24,_0x1d9610){_0x8bee24=_0x8bee24-0x158;var _0x15c128=_0x15c1();var _0x181d7b=_0x15c128[_0x8bee24];if(_0x181d['OTIRAI']===undefined){var _0x123250=function(_0x3f4a3a){var _0x4544cf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x138953='',_0x35552b='';for(var _0x33b225=0x0,_0x14cdba,_0x18746e,_0x340e19=0x0;_0x18746e=_0x3f4a3a['charAt'](_0x340e19++);~_0x18746e&&(_0x14cdba=_0x33b225%0x4?_0x14cdba*0x40+_0x18746e:_0x18746e,_0x33b225++%0x4)?_0x138953+=String['fromCharCode'](0xff&_0x14cdba>>(-0x2*_0x33b225&0x6)):0x0){_0x18746e=_0x4544cf['indexOf'](_0x18746e);}for(var _0x1cd762=0x0,_0x2044ec=_0x138953['length'];_0x1cd762<_0x2044ec;_0x1cd762++){_0x35552b+='%'+('00'+_0x138953['charCodeAt'](_0x1cd762)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35552b);};_0x181d['IsgsAH']=_0x123250,_0x181d['NkeRRP']={},_0x181d['OTIRAI']=!![];}var _0x41d2b9=_0x15c128[0x0],_0x237fec=_0x8bee24+_0x41d2b9,_0x180706=_0x181d['NkeRRP'][_0x237fec];return!_0x180706?(_0x181d7b=_0x181d['IsgsAH'](_0x181d7b),_0x181d['NkeRRP'][_0x237fec]=_0x181d7b):_0x181d7b=_0x180706,_0x181d7b;}function throwIfAborted(_0x14cdba){var _0x44e328={_0x70a292:0x269},_0x10dfa0={_0x270251:0x10d},_0x4d1c15={_0x4ffcb3:0x98,_0x14bb64:0x1c9,_0x3a8b2c:0x2c};function _0x304923(_0x48b2f7,_0x10007b,_0x4ea44d,_0x37f827){return _0x41698c(_0x48b2f7-_0x4d1c15._0x4ffcb3,_0x4ea44d,_0x48b2f7- -_0x4d1c15._0x14bb64,_0x37f827-_0x4d1c15._0x3a8b2c);}function _0xfb84ab(_0x953ff6,_0x2fb5c6,_0x193f0d,_0x5d15fd){return _0x41698c(_0x953ff6-0x120,_0x953ff6,_0x2fb5c6- -0x448,_0x5d15fd-_0x10dfa0._0x270251);}if(!_0x14cdba?.[_0xfb84ab(-0x9,0x0,-0x4,0x4)])return;throw toAbortError(_0x14cdba[_0x304923(0x274,0x276,_0x44e328._0x70a292,0x270)]);}function _0x15c1(){var _0x38cf00=['mte1DxDYD2fu','ywjVCNrLza','C3rYAw5N','BMfTzq','mZyXndbRt1n6seW','ndi3ntm3mgr5EK1utW','ntm4ndi2ogjmD1fHuW','qujpuLrFrvjs','mZiZnJi1nLvAEMHhyG','y29Kzq','mteYnZqWyxHvyvzq','mJjAA2PXv0m','CMvHC29U','oeDTEMjMua','ntK1ndi3sK1wDxLN','ywrKrxzLBNrmAxn0zw5LCG','mtHzA0TtB0e','BwvZC2fNzq','mZe0odaYtNHUCwvv','t3bLCMf0Aw9UigfIB3j0zwq','mxngDMzdzq','ywjVCNq'];_0x15c1=function(){return _0x38cf00;};return _0x15c1();}function addAbortListener(_0x18746e,_0x340e19){var _0x4acfb8={_0x36d6f8:0x443,_0x4d50f5:0x447,_0x57f685:0x444,_0x1b9774:0xdc,_0x1ded1e:0xe6},_0x48b73c={_0x419a5e:0x347},_0x1f6a74={_0x10e61a:0x116,_0x1121ea:0x4,_0x40d3a1:0x148},_0x49986b={_0x577e15:0xc9,_0x153d11:0xc};function _0x5177a5(_0x24da6a,_0x2a287d,_0x1019b2,_0x1b7d3c){return _0xc985e5(_0x24da6a-_0x49986b._0x577e15,_0x2a287d-_0x49986b._0x153d11,_0x1019b2-0x33,_0x1019b2);}function _0x5630a8(_0x55285f,_0x3ffa03,_0x85818d,_0x264d41){return _0x41698c(_0x55285f-_0x1f6a74._0x10e61a,_0x55285f,_0x264d41-_0x1f6a74._0x1121ea,_0x264d41-_0x1f6a74._0x40d3a1);}if(!_0x18746e)return()=>{};if(_0x18746e['aborted'])return _0x340e19(),()=>{};const _0x1cd762=()=>{_0x340e19();};return _0x18746e[_0x5630a8(_0x4acfb8._0x36d6f8,0x448,_0x4acfb8._0x4d50f5,_0x4acfb8._0x57f685)](_0x5177a5(0xdf,_0x4acfb8._0x1b9774,_0x4acfb8._0x1b9774,_0x4acfb8._0x1ded1e),_0x1cd762,{'once':!![]}),()=>{function _0x50da3f(_0x4b289f,_0xb8c457,_0x500a66,_0x35c70b){return _0x5630a8(_0x500a66,_0xb8c457-0x1c1,_0x500a66-0xf9,_0x4b289f- -0x10c);}_0x18746e['removeEventListener'](_0x50da3f(0x33e,_0x48b73c._0x419a5e,0x349,0x339),_0x1cd762);};}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
@@ -1 +1 @@
1
- (function(_0x52829e,_0x21b539){const _0x23bce2={_0x5d35f0:0x209,_0x6c21bc:0x1e9,_0xddebb0:0x218,_0x3ffab6:0x209,_0x2a0600:0x213,_0x25c7cf:0x4f7,_0x2e0f22:0x4eb,_0xb431a5:0x4d1,_0x1c48bf:0x1f1,_0x27d363:0x1f4,_0x3b9e94:0x212,_0x43e2c7:0x1f3,_0x421630:0x4a8,_0x4d73bc:0x4e7,_0x4f69d3:0x4c9,_0xa7b6d7:0x1f3,_0x33ef56:0x1e3,_0x368a39:0x208,_0x1a1fdc:0x1f8,_0x1a6056:0x1ff,_0x9a51a1:0x4da,_0x4b2f75:0x4f1},_0x3d7b99={_0x5bb203:0x339},_0x348150=_0x52829e();function _0x177a41(_0x45aff1,_0xba4d13,_0x2ecb83,_0x4909d6){return _0x4ff5(_0x2ecb83-_0x3d7b99._0x5bb203,_0x4909d6);}function _0x22ef6f(_0x2563b1,_0x143b83,_0x27651f,_0x458799){return _0x4ff5(_0x143b83- -0x38e,_0x27651f);}while(!![]){try{const _0x5c9f0a=-parseInt(_0x22ef6f(-0x210,-_0x23bce2._0x5d35f0,-_0x23bce2._0x6c21bc,-_0x23bce2._0xddebb0))/0x1+-parseInt(_0x22ef6f(-_0x23bce2._0x3ffab6,-0x201,-_0x23bce2._0x2a0600,-0x1e9))/0x2*(-parseInt(_0x177a41(_0x23bce2._0x25c7cf,_0x23bce2._0x2e0f22,0x4d7,_0x23bce2._0xb431a5))/0x3)+parseInt(_0x22ef6f(-_0x23bce2._0x1c48bf,-0x1e1,-0x1e2,-0x1f7))/0x4*(parseInt(_0x22ef6f(-0x215,-_0x23bce2._0x27d363,-_0x23bce2._0x3b9e94,-_0x23bce2._0x43e2c7))/0x5)+parseInt(_0x177a41(0x4e0,0x506,0x4ed,0x4d4))/0x6*(-parseInt(_0x177a41(0x4b3,0x4a4,0x4bd,_0x23bce2._0x421630))/0x7)+parseInt(_0x177a41(_0x23bce2._0x4d73bc,0x4f1,0x4d8,_0x23bce2._0x4f69d3))/0x8*(-parseInt(_0x22ef6f(-0x1fa,-_0x23bce2._0xa7b6d7,-_0x23bce2._0x33ef56,-_0x23bce2._0x368a39))/0x9)+-parseInt(_0x22ef6f(-_0x23bce2._0x1a1fdc,-_0x23bce2._0x1a6056,-0x1f9,-0x1e8))/0xa+parseInt(_0x177a41(_0x23bce2._0x9a51a1,0x4f3,_0x23bce2._0x4b2f75,0x506))/0xb;if(_0x5c9f0a===_0x21b539)break;else _0x348150['push'](_0x348150['shift']());}catch(_0xe1518c){_0x348150['push'](_0x348150['shift']());}}}(_0x48b9,0x27d8e));function createTextBlock(_0x4f2072){const _0xb17a67={_0x50cabe:0x507,_0x3fbe62:0x4fe},_0xf7a997={_0x14a47d:0x387};function _0x8700ce(_0x4884ee,_0x2f189c,_0x3e6360,_0x136b39){return _0x4ff5(_0x2f189c-_0xf7a997._0x14a47d,_0x4884ee);}return{'type':_0x8700ce(0x500,_0xb17a67._0x50cabe,0x51c,_0xb17a67._0x3fbe62),'text':_0x4f2072};}function normalizeTextBlock(_0x277824){const _0xfe4b3c={_0x2a0721:0x1d3,_0x51d65d:0x1d8,_0x154225:0x1de},_0x581d2e={_0x40390b:0x34d};function _0x71dc7f(_0x7b7fb1,_0x114939,_0x15b1a5,_0x48dcf0){return _0x4ff5(_0x114939- -_0x581d2e._0x40390b,_0x7b7fb1);}return createTextBlock(_0x277824[_0x71dc7f(-_0xfe4b3c._0x2a0721,-0x1cd,-_0xfe4b3c._0x51d65d,-_0xfe4b3c._0x154225)]??'');}function normalizeContent(_0x27ede7){const _0xa2fb56={_0x2de4a3:0xd1,_0x54065b:0x99,_0x287013:0x9a,_0x4f3711:0x82},_0xe56b98={_0x285126:0x4e9,_0x318df1:0x506},_0x42753e={_0x9d39b5:0x1d9};function _0xdb258e(_0x2ab29d,_0x3faee6,_0x5ee31f,_0x1b702f){return _0x4ff5(_0x2ab29d- -0x212,_0x5ee31f);}if(typeof _0x27ede7===_0xdb1be2(0xb8,_0xa2fb56._0x2de4a3,0xc7,0x9d))return[createTextBlock(_0x27ede7)];function _0xdb1be2(_0x486e99,_0xf8987d,_0x3346b1,_0x392ad0){return _0x4ff5(_0x486e99- -0x104,_0xf8987d);}if(!Array[_0xdb1be2(_0xa2fb56._0x54065b,_0xa2fb56._0x287013,_0xa2fb56._0x4f3711,0xb5)](_0x27ede7))return[];return _0x27ede7['map'](_0x3ae3f2=>{function _0x24c347(_0x111b90,_0x1e7c78,_0x1495e2,_0x4683a5){return _0xdb258e(_0x1495e2-0x58f,_0x1e7c78-0x7,_0x4683a5,_0x4683a5-_0x42753e._0x9d39b5);}if(_0x3ae3f2['type']===_0x24c347(_0xe56b98._0x285126,0x4f1,0x4fd,_0xe56b98._0x318df1))return normalizeTextBlock(_0x3ae3f2);return structuredClone(_0x3ae3f2);});}function _0x4ff5(_0x266e03,_0x47fb4e){_0x266e03=_0x266e03-0x17d;const _0x48b928=_0x48b9();let _0x4ff560=_0x48b928[_0x266e03];if(_0x4ff5['VdSwBb']===undefined){var _0x44b9aa=function(_0x4c409b){const _0x3b69b4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f2072='',_0x277824='';for(let _0x27ede7=0x0,_0x3ae3f2,_0x471802,_0xe77d5d=0x0;_0x471802=_0x4c409b['charAt'](_0xe77d5d++);~_0x471802&&(_0x3ae3f2=_0x27ede7%0x4?_0x3ae3f2*0x40+_0x471802:_0x471802,_0x27ede7++%0x4)?_0x4f2072+=String['fromCharCode'](0xff&_0x3ae3f2>>(-0x2*_0x27ede7&0x6)):0x0){_0x471802=_0x3b69b4['indexOf'](_0x471802);}for(let _0xee1f6=0x0,_0x38c172=_0x4f2072['length'];_0xee1f6<_0x38c172;_0xee1f6++){_0x277824+='%'+('00'+_0x4f2072['charCodeAt'](_0xee1f6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x277824);};_0x4ff5['QQLfOY']=_0x44b9aa,_0x4ff5['ALaWzw']={},_0x4ff5['VdSwBb']=!![];}const _0x41070d=_0x48b928[0x0],_0x3993bd=_0x266e03+_0x41070d,_0x3b2f76=_0x4ff5['ALaWzw'][_0x3993bd];return!_0x3b2f76?(_0x4ff560=_0x4ff5['QQLfOY'](_0x4ff560),_0x4ff5['ALaWzw'][_0x3993bd]=_0x4ff560):_0x4ff560=_0x3b2f76,_0x4ff560;}function normalizeSystem(_0x471802=[]){const _0x121e2a={_0x332775:0x221,_0x5be83d:0x241},_0x2faa25={_0x2c26c5:0x1fc};function _0x20115c(_0x361b0c,_0x3d294b,_0x227b1d,_0x278d0b){return _0x4ff5(_0x361b0c-0x95,_0x227b1d);}function _0x50e200(_0x288ddd,_0x3c3dd1,_0x172b46,_0x110512){return _0x4ff5(_0x172b46-_0x2faa25._0x2c26c5,_0x3c3dd1);}return normalizeContent(_0x471802)[_0x20115c(_0x121e2a._0x332775,0x206,_0x121e2a._0x5be83d,0x224)](_0xe77d5d=>_0xe77d5d[_0x20115c(0x22a,0x211,0x244,0x22e)]==='text');}function isProviderStateCompatible(_0xee1f6,_0x38c172){const _0x5c9476={_0x548265:0x4c1,_0x46ff9d:0x4fb,_0x3df98e:0x4bd},_0x5673e5={_0x244c65:0x31c};function _0x2a46a6(_0x430d1e,_0x2e95c1,_0x5e69bc,_0x574366){return _0x4ff5(_0x574366-0x33a,_0x2e95c1);}const _0x3da21f=_0xee1f6['providerState']?.[_0x2a46a6(0x4df,0x4bb,0x4df,0x4d6)];function _0x54e582(_0x3a8f61,_0x3b7680,_0x5d99a3,_0x29a245){return _0x4ff5(_0x3a8f61- -_0x5673e5._0x244c65,_0x5d99a3);}return _0x3da21f===void 0x0||_0x3da21f===_0x38c172[_0x2a46a6(_0x5c9476._0x548265,0x4e7,_0x5c9476._0x46ff9d,0x4dc)]['modelIdentity']||_0x3da21f===_0x38c172[_0x2a46a6(0x4bc,0x4a3,_0x5c9476._0x3df98e,0x4c2)];}function normalizeMessage(_0x5db522){const _0x31b6b5={_0x23d6b6:0x6f,_0xca49bb:0x5a,_0x11cc7c:0x70,_0x250857:0x4f,_0x29a6d0:0x5d};function _0x484679(_0x34ee89,_0x1e6a84,_0x2e81f5,_0x20d5eb){return _0x4ff5(_0x1e6a84- -0x216,_0x2e81f5);}function _0x1aed4a(_0x4a582e,_0x525099,_0x3e84a6,_0x52f069){return _0x4ff5(_0x525099- -0x37a,_0x52f069);}return{...typeof _0x5db522['id']===_0x484679(-_0x31b6b5._0x23d6b6,-_0x31b6b5._0xca49bb,-0x5f,-_0x31b6b5._0x11cc7c)?{'id':_0x5db522['id']}:{},'role':_0x5db522['role'],'content':normalizeContent(_0x5db522['content']),..._0x5db522[_0x484679(-0x75,-0x67,-0x56,-0x50)]?{'providerState':structuredClone(_0x5db522[_0x484679(-0x6d,-0x67,-_0x31b6b5._0x250857,-_0x31b6b5._0x29a6d0)])}:{}};}function compileRequest(_0x25ff7a){const _0x4339bc={_0x3f1626:0x149,_0x4db4b8:0x15b,_0x4abb95:0x15a,_0xb27079:0x12c,_0x4a92a8:0xed,_0x1b69d9:0xef,_0x3eeb49:0xe1,_0x36dfd6:0xe6,_0x5b870e:0xb5,_0x5d8585:0xd7,_0x26bcfb:0xd4,_0xe38e3:0x114,_0x5c5038:0x118,_0x43746b:0x11a,_0x220d14:0x11b,_0x4c92bf:0x11d,_0x4da4b1:0xee,_0x399140:0x12e,_0x2b846d:0x13d,_0x32b00a:0x143},_0x1fef61={_0x36f43f:0x2d1},_0x410cd0={_0x176f43:0xcb};function _0x415678(_0x3f6b1f,_0xbbfc77,_0x2bf7d1,_0xc304a){return _0x4ff5(_0xbbfc77- -_0x410cd0._0x176f43,_0x2bf7d1);}function _0x2509ff(_0x1c5f07,_0x3e9896,_0x3d0d7c,_0x52e27e){return _0x4ff5(_0x3e9896- -_0x1fef61._0x36f43f,_0x52e27e);}return{'model':_0x25ff7a[_0x2509ff(-0x149,-_0x4339bc._0x3f1626,-_0x4339bc._0x4db4b8,-0x15d)]??_0x2509ff(-0x161,-0x147,-_0x4339bc._0x4abb95,-_0x4339bc._0xb27079),..._0x25ff7a[_0x415678(_0x4339bc._0x4a92a8,_0x4339bc._0x1b69d9,0xce,0x102)]!==void 0x0?{'max_tokens':_0x25ff7a['max_tokens']}:{},..._0x25ff7a['reasoning']?{'reasoning':structuredClone(_0x25ff7a[_0x415678(_0x4339bc._0x3eeb49,_0x4339bc._0x36dfd6,0xf4,0xf1)])}:{},'system':normalizeSystem(_0x25ff7a[_0x415678(_0x4339bc._0x5b870e,0xb8,_0x4339bc._0x5d8585,_0x4339bc._0x26bcfb)]),'messages':_0x25ff7a[_0x2509ff(-0x112,-_0x4339bc._0xe38e3,-_0x4339bc._0x5c5038,-_0x4339bc._0x43746b)][_0x2509ff(-0xfd,-_0x4339bc._0x220d14,-0x105,-_0x4339bc._0x4c92bf)](normalizeMessage),'tools':structuredClone(_0x25ff7a['tools']??[]),'metadata':{'session_id':_0x25ff7a[_0x415678(0xba,0xda,0xc5,_0x4339bc._0x4da4b1)],'turn_id':_0x25ff7a[_0x2509ff(-_0x4339bc._0x399140,-_0x4339bc._0x2b846d,-0x14a,-_0x4339bc._0x32b00a)]}};}function toChatRequest(_0x19fa56){const _0x26232f={_0x567d91:0xd6,_0x3e5014:0x10c,_0x3ba939:0xf9,_0x1b115e:0x120,_0x41eede:0x21e,_0x47a8e5:0x240,_0x1eb3e1:0x248,_0x59116d:0x21a,_0x4c09cb:0x21e,_0x47def1:0xdb,_0x2b26f4:0xcd,_0x45bc56:0xf4,_0xd08634:0x10d,_0x2c34f1:0x21e,_0x56f13d:0x117,_0x213cf4:0x123,_0x2ccb0c:0x214,_0x2283cb:0x21e,_0x2b2cd0:0xf3,_0x4dc29c:0xec,_0x5a43f9:0xe0,_0x117bd0:0x242,_0x2153fc:0x22f},_0x172954={_0x524c0a:0xae};function _0x2cb4ee(_0xa70ff7,_0x29b0f4,_0xd73f8d,_0xa82b68){return _0x4ff5(_0xa82b68- -0x3c0,_0xd73f8d);}function _0x380941(_0x909136,_0x17cca0,_0x2b5bda,_0xe8c7ac){return _0x4ff5(_0x909136- -_0x172954._0x524c0a,_0x17cca0);}return{'model':_0x19fa56[_0x380941(0xda,0xde,_0x26232f._0x567d91,0xcf)],..._0x19fa56[_0x380941(_0x26232f._0x3e5014,_0x26232f._0x3ba939,_0x26232f._0x1b115e,0x110)]!==void 0x0?{'maxTokens':_0x19fa56['max_tokens']}:{},..._0x19fa56['reasoning']?{'reasoning':structuredClone(_0x19fa56['reasoning'])}:{},'system':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x41eede,-0x25b,-_0x26232f._0x41eede,-0x23d)]),'messages':structuredClone(_0x19fa56['messages']),'tools':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x47a8e5,-_0x26232f._0x1eb3e1,-0x230,-0x232)]),'metadata':{'sessionId':_0x19fa56[_0x2cb4ee(-0x209,-0x215,-0x203,-0x21e)]['session_id'],'turnId':_0x19fa56[_0x2cb4ee(-0x214,-_0x26232f._0x59116d,-0x20f,-_0x26232f._0x4c09cb)][_0x380941(_0x26232f._0x47def1,0xc7,_0x26232f._0x2b26f4,0xe5)],..._0x19fa56[_0x380941(_0x26232f._0x45bc56,0xd4,0xfe,0xd5)][_0x380941(_0x26232f._0xd08634,0x123,0x11a,0x126)]!==void 0x0?{'modelIdentity':_0x19fa56[_0x2cb4ee(-_0x26232f._0x41eede,-0x22a,-0x214,-_0x26232f._0x2c34f1)][_0x380941(0x10d,0xfa,_0x26232f._0x56f13d,_0x26232f._0x213cf4)]}:{},..._0x19fa56[_0x2cb4ee(-0x21b,-0x1fd,-_0x26232f._0x2ccb0c,-_0x26232f._0x2283cb)][_0x380941(_0x26232f._0x2b2cd0,_0x26232f._0x4dc29c,0x114,_0x26232f._0x5a43f9)]!==void 0x0?{'pricingProviderId':_0x19fa56['metadata']['pricing_provider_id']}:{}},..._0x19fa56[_0x2cb4ee(-_0x26232f._0x117bd0,-0x24c,-0x216,-0x22d)]?{'outputFormat':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x2153fc,-0x22f,-0x245,-0x22d)])}:{}};}function toModelRequest(_0xd50150){const _0x4cc449={_0x295101:0x4cb,_0x558309:0x4d3,_0x3fd6bd:0x4e9,_0x3687d6:0x4e3,_0x1d4605:0x512,_0x1aafbb:0x546,_0xe24eb:0x4d5,_0x4dab9b:0x4b4,_0x25b544:0x52c,_0x3e17b6:0x4fd,_0x5da6d4:0x50c,_0x3e8c90:0x50e,_0x4dbd96:0x4d5,_0x20d865:0x4c6,_0x187f56:0x4fe,_0x34cfb5:0x4d8,_0x4280ab:0x4e2,_0x3fd82e:0x4eb,_0x3a46f8:0x4b2,_0x25800f:0x4a5,_0x5e4ec6:0x4e2,_0x2b2d37:0x4df,_0x545e71:0x4f8,_0x546093:0x4cd,_0x2de2a3:0x4eb,_0x4752f2:0x4f1,_0x1dbdb0:0x4fd};function _0x3964ff(_0x85751e,_0x1b5cf4,_0x1cda9e,_0x3525bf){return _0x4ff5(_0x1cda9e-0x340,_0x3525bf);}function _0x5c9be6(_0x1e564c,_0x50b1ef,_0x1d01d4,_0xfd247e){return _0x4ff5(_0x1d01d4-0x36a,_0x1e564c);}return{'model':_0xd50150[_0x3964ff(_0x4cc449._0x295101,_0x4cc449._0x558309,0x4c8,0x4e9)],..._0xd50150['maxTokens']!==void 0x0?{'max_tokens':_0xd50150[_0x3964ff(_0x4cc449._0x3fd6bd,0x4e1,_0x4cc449._0x3687d6,0x4e9)]}:{},..._0xd50150[_0x5c9be6(0x51b,0x533,0x51b,_0x4cc449._0x1d4605)]?{'reasoning':structuredClone(_0xd50150['reasoning'])}:{},'system':structuredClone(_0xd50150['system']),'messages':structuredClone(_0xd50150[_0x5c9be6(0x517,_0x4cc449._0x1aafbb,0x527,0x522)]),'tools':structuredClone(_0xd50150[_0x3964ff(0x4e9,_0x4cc449._0xe24eb,0x4ce,_0x4cc449._0x4dab9b)]),'metadata':{'session_id':_0xd50150[_0x3964ff(0x4fb,0x4f1,0x4e2,_0x4cc449._0x295101)][_0x5c9be6(0x525,0x50a,0x50f,0x52c)],'turn_id':_0xd50150[_0x5c9be6(_0x4cc449._0x25b544,_0x4cc449._0x3e17b6,_0x4cc449._0x5da6d4,_0x4cc449._0x5da6d4)][_0x3964ff(0x4b5,0x4c2,0x4d4,0x4dd)],..._0xd50150[_0x5c9be6(_0x4cc449._0x3e8c90,0x50b,0x50c,0x50f)][_0x3964ff(0x4bd,_0x4cc449._0x4dbd96,_0x4cc449._0x20d865,0x4e5)]!==void 0x0?{'model_identity':_0xd50150[_0x3964ff(_0x4cc449._0x187f56,_0x4cc449._0x34cfb5,_0x4cc449._0x4280ab,_0x4cc449._0x3fd82e)][_0x3964ff(0x4ad,_0x4cc449._0x3a46f8,_0x4cc449._0x20d865,_0x4cc449._0x25800f)]}:{},..._0xd50150[_0x3964ff(0x4ff,0x4ce,_0x4cc449._0x5e4ec6,_0x4cc449._0x2b2d37)][_0x5c9be6(_0x4cc449._0x545e71,_0x4cc449._0x546093,_0x4cc449._0x2de2a3,0x4e9)]!==void 0x0?{'pricing_provider_id':_0xd50150['metadata'][_0x5c9be6(0x4ec,0x4df,0x4eb,0x4e2)]}:{}},..._0xd50150[_0x5c9be6(0x4f8,_0x4cc449._0x4752f2,_0x4cc449._0x1dbdb0,0x506)]?{'outputFormat':structuredClone(_0xd50150['outputFormat'])}:{}};}function toProviderModelRequest(_0x22363f){const _0x3fbb41={_0x2d207b:0x160,_0x5f282a:0x163,_0x132729:0x161,_0x7b1ab6:0x157,_0x43bced:0x160,_0x55243a:0x159,_0x3cbf78:0x15a,_0x8c81e5:0x172,_0x234cae:0x17d,_0x1ec8eb:0x153,_0x3a9e23:0x15d,_0x4f5a38:0x180,_0x7b6b67:0x176,_0x14666c:0x1aa};function _0x4ff8c5(_0xa08523,_0x50af2f,_0x3dbd99,_0x21aae7){return _0x4ff5(_0x3dbd99-0x2a2,_0xa08523);}function _0xf99c10(_0xfe6444,_0x21cb32,_0x1839a6,_0x5d208b){return _0x4ff5(_0x5d208b- -0x31,_0x1839a6);}return{'model':_0x22363f[_0xf99c10(_0x3fbb41._0x2d207b,_0x3fbb41._0x5f282a,_0x3fbb41._0x132729,_0x3fbb41._0x7b1ab6)],..._0x22363f[_0xf99c10(_0x3fbb41._0x43bced,_0x3fbb41._0x55243a,_0x3fbb41._0x3cbf78,_0x3fbb41._0x8c81e5)]!==void 0x0?{'max_tokens':_0x22363f[_0xf99c10(_0x3fbb41._0x234cae,_0x3fbb41._0x1ec8eb,_0x3fbb41._0x3a9e23,0x172)]}:{},'system':structuredClone(_0x22363f[_0xf99c10(0x164,0x173,0x15d,0x152)]),'messages':structuredClone(_0x22363f[_0xf99c10(_0x3fbb41._0x4f5a38,_0x3fbb41._0x7b6b67,_0x3fbb41._0x14666c,0x18c)]),'tools':structuredClone(_0x22363f['tools'])};}function _0x48b9(){const _0x5f0fb2=['zMLSDgvY','mtaZofrWAg5mtW','Dg9VBhm','mJK3mJG1merYC2jTBq','CMvHC29UAw5Nvg9Rzw5Z','yxnZAxn0yw50','zw5JCNLWDgvKq29UDgvUDa','B3v0Chv0rM9YBwf0','DhvYBKLK','DhLWzq','y2fSBeLK','AgfZ','Dg9VBf91C2u','Aw5WDxruB2TLBNm','ndGZnuHysLbcua','odu3ntC0rfPABKji','B3jPz2LUtw9KzwXjzgvUDgL0Eq','AxnbCNjHEq','mJiYDuLzqMD4','oejxAhbZDW','BwvZC2fNzq','ChjPy2LUz19WCM92AwrLCL9Pza','Bwv0ywrHDge','Bwf4vg9Rzw5Z','B3v0Chv0x3rVA2vUCW','C2vZC2LVBKLK','DhjPBq','DxnHz2u','vg9VBcbLEgvJDxrPB24GD2fZigLUDgvYCNvWDgvKigjLzM9YzsbJB21WBgv0Aw9UigfUzcbWCM9KDwnLzcbUBYbYzxn1BhqU','C3rVCf9YzwfZB24','C3vTBwfYEq','y29UDgvUDa','B3bLBMfPx3jLyxnVBMLUzW','mJG0sgf2uLze','C3rVCfjLyxnVBG','ChjVDMLKzxjtDgf0zq','yw50AhjVCgLJx3rOAw5RAw5N','CMvHC29UAw5N','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','ChvZAa','nduWCxbLwLrK','zxjYB3i','BwfW','CMvHC29UAw5Nx3rVA2vUCW','mta0odaYnZjoA0Pcrgu','Dg9VBf91C2vFAwq','Bwf4x3rVA2vUCW','Bw9KzwXFAwrLBNrPDhK','C3rYAw5N','BwvZC2fNzxm','Dg9VBf9Yzxn1Bhq','DgHPBMTPBMC','khjLzgfJDgvKihjLyxnVBMLUzYK','Dgv4Da','ChjPy2LUz1bYB3zPzgvYswq','AM9PBG','C3LZDgvT','mtCZnJbcr1DWyxy','mZe4mdmWD2rozez6','Bw9KzwXjzgvUDgL0Eq','BgvUz3rO','Bw9KzwW','DhvYBL9Pza','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','ywrK'];_0x48b9=function(){return _0x5f0fb2;};return _0x48b9();}function toChatResponse(_0x56e4b9){const _0x3b2e7c={_0x25c4eb:0x1c6,_0x4dabe8:0x1a8,_0x282320:0x1c4,_0x3340c9:0x328,_0x578be2:0x32d,_0x553ec6:0x312,_0x528ffc:0x1bf,_0x2b2b12:0x1cd,_0x3d3a15:0x1b9,_0x36eb56:0x342,_0x3fecdf:0x340,_0x412f2b:0x33d,_0x25e056:0x319,_0x4a70ff:0x336,_0x1c039a:0x33a},_0x26ebe5={_0x4c3b2e:0x1b},_0x4ab3bd={_0x3622cb:0x17f};function _0xe6abbc(_0x26051d,_0x46a0f0,_0x1d4248,_0x372813){return _0x4ff5(_0x372813-_0x4ab3bd._0x3622cb,_0x26051d);}function _0x4fe227(_0x57ca3e,_0x35eba9,_0x22fef5,_0x2cde13){return _0x4ff5(_0x57ca3e-_0x26ebe5._0x4c3b2e,_0x22fef5);}return{'id':_0x56e4b9['id'],'content':structuredClone(_0x56e4b9[_0x4fe227(_0x3b2e7c._0x25c4eb,0x1de,_0x3b2e7c._0x4dabe8,0x1d6)]),'stopReason':_0x56e4b9[_0x4fe227(_0x3b2e7c._0x282320,0x1a5,0x1ad,0x1bf)],'usage':{'inputTokens':_0x56e4b9[_0xe6abbc(0x31c,_0x3b2e7c._0x3340c9,_0x3b2e7c._0x578be2,0x326)]['input_tokens'],'outputTokens':_0x56e4b9[_0xe6abbc(0x31d,_0x3b2e7c._0x553ec6,0x324,0x326)][_0x4fe227(_0x3b2e7c._0x528ffc,0x1c0,_0x3b2e7c._0x2b2b12,_0x3b2e7c._0x3d3a15)],..._0x56e4b9[_0xe6abbc(0x32a,_0x3b2e7c._0x36eb56,0x333,0x326)][_0xe6abbc(_0x3b2e7c._0x3fecdf,_0x3b2e7c._0x412f2b,_0x3b2e7c._0x25e056,_0x3b2e7c._0x4a70ff)]!==void 0x0?{'reasoningTokens':_0x56e4b9[_0xe6abbc(0x343,0x337,0x319,0x326)][_0xe6abbc(0x349,_0x3b2e7c._0x1c039a,0x351,0x336)]}:{}},..._0x56e4b9['providerState']?{'providerState':structuredClone(_0x56e4b9['providerState'])}:{}};}function toModelResponse(_0x5f17cb){const _0x226b10={_0xcbb5:0x6f,_0x12b4e4:0x6c,_0x48c3d8:0x73,_0x256661:0x52,_0x46350e:0x44,_0x2c497c:0x89,_0x4e1b8e:0x174,_0x4e7faa:0x176,_0x517cbb:0x176,_0x1d0b92:0x159,_0x5711c7:0x164,_0x513746:0x18a,_0x3899de:0x17e,_0x4b104a:0x74,_0x677dcd:0x77,_0x1a5434:0x8f,_0x5e8c80:0x7f},_0x4b56f4={_0xc10dac:0x31};function _0x12c63e(_0x40d619,_0x3600a5,_0x4bde5d,_0x3a6f9c){return _0x4ff5(_0x3a6f9c- -0x130,_0x3600a5);}function _0x5d7571(_0xa03382,_0x417a9a,_0x505fc3,_0x2ef1db){return _0x4ff5(_0x505fc3- -_0x4b56f4._0xc10dac,_0x417a9a);}return{'id':_0x5f17cb['id'],'type':_0x12c63e(_0x226b10._0xcbb5,_0x226b10._0x12b4e4,_0x226b10._0x48c3d8,0x70),'role':_0x12c63e(_0x226b10._0x256661,0x75,_0x226b10._0x46350e,0x61),'content':structuredClone(_0x5f17cb['content']),'stop_reason':_0x5f17cb[_0x12c63e(0x8e,_0x226b10._0x2c497c,0x6f,0x7e)],'stop_sequence':null,'usage':{'input_tokens':_0x5f17cb['usage'][_0x5d7571(0x163,0x17f,0x168,_0x226b10._0x4e1b8e)],'output_tokens':_0x5f17cb[_0x5d7571(0x189,0x189,_0x226b10._0x4e7faa,0x18c)]['outputTokens'],..._0x5f17cb[_0x5d7571(0x176,0x168,_0x226b10._0x517cbb,0x16c)]['reasoningTokens']!==void 0x0?{'reasoning_tokens':_0x5f17cb[_0x5d7571(_0x226b10._0x1d0b92,0x17b,0x176,0x167)][_0x5d7571(0x150,_0x226b10._0x5711c7,0x15f,0x144)]}:{}},..._0x5f17cb[_0x5d7571(_0x226b10._0x513746,0x192,_0x226b10._0x3899de,0x17d)]?{'providerState':structuredClone(_0x5f17cb[_0x12c63e(_0x226b10._0x4b104a,_0x226b10._0x677dcd,_0x226b10._0x1a5434,_0x226b10._0x5e8c80)])}:{}};}function responseToAssistantMessage(_0x515377){const _0x56d584={_0x12b90e:0x115,_0x57a279:0x114,_0x2a23f:0x3c5,_0x36d5e9:0x3b6};function _0x37ee2f(_0x5ecbd8,_0xe650fd,_0x4da25a,_0xbc63d3){return _0x4ff5(_0x4da25a-0x216,_0xbc63d3);}function _0xe92996(_0x5a7e46,_0x2362bc,_0x5a5f31,_0x38b5c8){return _0x4ff5(_0x5a7e46- -0x2c4,_0x5a5f31);}return{'role':_0xe92996(-0x133,-0x123,-0x13a,-0x124),'content':normalizeContent(_0x515377[_0x37ee2f(0x3ba,0x3a6,0x3c1,0x3d3)]),..._0x515377[_0xe92996(-_0x56d584._0x12b90e,-0x126,-_0x56d584._0x57a279,-0xfb)]?{'providerState':structuredClone(_0x515377[_0x37ee2f(0x3cd,0x3e5,_0x56d584._0x2a23f,_0x56d584._0x36d5e9)])}:{}};}function createReasoningMessage(_0x316c87){const _0x33fab2={_0x14b0f6:0x1e0,_0xa130d5:0x1f1,_0x58c4da:0x1f7,_0x366fd8:0x206,_0x5a127b:0x212,_0x512f06:0x21a,_0x53ba5e:0x1e4,_0x367ac0:0x1fb,_0x1132a5:0x1ee,_0x5dff89:0x1e1},_0x1ee467={_0xf2430a:0x2ea,_0x2d4aa1:0x305,_0x3dc66a:0x305,_0x58eb0d:0x2fd,_0x482983:0x2cf,_0x4e9169:0x2e0,_0x4bf74c:0x2eb,_0x16d3cc:0x2ed,_0x4e5402:0x306,_0x3a3b15:0x300,_0x69ed74:0x302},_0x43177b={_0x49bdf3:0x10b},_0x415232={_0x491f99:0x12f};function _0x3e2151(_0x4e9651,_0x1bc371,_0x4b8b44,_0x5642a5){return _0x4ff5(_0x4b8b44- -0x383,_0x1bc371);}function _0x561ef4(_0x5e431b,_0x2ec228,_0x24bd09,_0x558d37){return _0x4ff5(_0x24bd09- -_0x415232._0x491f99,_0x2ec228);}const _0x2242ca=normalizeContent(_0x316c87?.[_0x3e2151(-0x1d9,-_0x33fab2._0x14b0f6,-0x1d8,-0x1bb)])[_0x3e2151(-_0x33fab2._0xa130d5,-_0x33fab2._0x58c4da,-0x1f7,-_0x33fab2._0x366fd8)](_0x479228=>{const _0x1f6321={_0x357fe4:0x285,_0x2c8783:0x1ab};function _0x4918f2(_0x316c79,_0x312701,_0x1d1c71,_0xa485e5){return _0x3e2151(_0x316c79-0x1d4,_0x1d1c71,_0xa485e5-0x300,_0xa485e5-_0x43177b._0x49bdf3);}function _0x206d67(_0x5c00b6,_0x463c42,_0x37df5c,_0x15b845){return _0x561ef4(_0x5c00b6-0x17d,_0x463c42,_0x15b845-_0x1f6321._0x357fe4,_0x15b845-_0x1f6321._0x2c8783);}return _0x479228[_0x206d67(_0x1ee467._0xf2430a,0x2da,_0x1ee467._0x2d4aa1,0x2eb)]===_0x206d67(_0x1ee467._0x3dc66a,0x30c,_0x1ee467._0x58eb0d,0x308)||_0x479228[_0x206d67(_0x1ee467._0x482983,0x2f7,_0x1ee467._0x4e9169,_0x1ee467._0x4bf74c)]===_0x206d67(0x2e7,_0x1ee467._0x16d3cc,0x315,_0x1ee467._0x4e5402)||_0x479228['type']===_0x206d67(_0x1ee467._0x3a3b15,0x2e9,0x2e3,_0x1ee467._0x69ed74);});if(_0x2242ca[_0x3e2151(-_0x33fab2._0x5a127b,-_0x33fab2._0x512f06,-0x1fc,-_0x33fab2._0x53ba5e)]===0x0)return void 0x0;return{'role':_0x3e2151(-_0x33fab2._0x367ac0,-_0x33fab2._0x1132a5,-0x1f2,-_0x33fab2._0x5dff89),'content':_0x2242ca};}function createAssistantTextMessage(_0x198d70){const _0x59ce7b={_0x46eecc:0x1cc,_0x5a0126:0x1bb,_0x3873ac:0x1bd,_0x42c346:0x1b6,_0x3513c5:0x1b0},_0xbdec05={_0x2e7436:0x4ac,_0x424efb:0x4cc},_0x35279f={_0xfdf937:0x1e5};function _0x1d89c1(_0x577a9d,_0x2e8138,_0x2004d8,_0x1ec8dd){return _0x4ff5(_0x1ec8dd-_0x35279f._0xfdf937,_0x2e8138);}function _0x45e406(_0x18ab12,_0x1f27eb,_0x5bfc15,_0x290505){return _0x4ff5(_0x18ab12- -0x358,_0x1f27eb);}const _0x465ca0=normalizeContent(_0x198d70?.['content'])[_0x45e406(-_0x59ce7b._0x46eecc,-0x1b4,-0x1c1,-0x1e8)](_0x3d12d3=>{const _0x193a59={_0x3d12c0:0x68f};function _0x5dc7ac(_0x510541,_0x19bdbe,_0x2e3bd5,_0x790311){return _0x45e406(_0x790311-_0x193a59._0x3d12c0,_0x2e3bd5,_0x2e3bd5-0x1e5,_0x790311-0x11b);}return _0x3d12d3[_0x5dc7ac(0x4e6,_0xbdec05._0x2e7436,0x4b3,_0xbdec05._0x424efb)]==='text';});if(_0x465ca0[_0x45e406(-0x1d1,-0x1cd,-_0x59ce7b._0x5a0126,-0x1c5)]===0x0)return void 0x0;return{'role':_0x45e406(-0x1c7,-_0x59ce7b._0x3873ac,-_0x59ce7b._0x42c346,-_0x59ce7b._0x3513c5),'content':_0x465ca0};}function createToolUseMessage(_0x5a6f72){const _0xe509e6={_0x2a967c:0xe6,_0x282ab4:0xff,_0x41ba85:0xcc,_0x253873:0xfc,_0x4ecaf7:0xf3,_0x4fc932:0xf4,_0x5d5b97:0xd7},_0x2c61e2={_0x48778c:0xa9},_0x22e1d9={_0x3760ae:0x278},_0x4b4e2c={_0x3f6ebf:0x1f9,_0x3bae28:0x20b,_0x520a59:0x11c,_0xdae887:0x13c},_0x5581ed=normalizeContent(_0x5a6f72?.[_0x16b8b1(_0xe509e6._0x2a967c,0x11d,0x102,_0xe509e6._0x282ab4)])[_0x16b8b1(_0xe509e6._0x41ba85,_0xe509e6._0x253873,0xe3,_0xe509e6._0x4ecaf7)](_0x44d481=>{const _0x2825fa={_0x546333:0x102};function _0xcb359b(_0x44d9fa,_0xc0cf03,_0x2979c7,_0x26a217){return _0x16b8b1(_0x44d9fa-0x19a,_0xc0cf03-_0x2825fa._0x546333,_0xc0cf03-0x127,_0x2979c7);}function _0x362940(_0x1d83ba,_0x191869,_0x11a8fe,_0x10b541){return _0x16b8b1(_0x1d83ba-0x122,_0x191869-0xd6,_0x10b541- -0x22b,_0x191869);}return _0x44d481[_0xcb359b(_0x4b4e2c._0x3f6ebf,0x213,0x229,_0x4b4e2c._0x3bae28)]===_0x362940(-0x159,-0x125,-_0x4b4e2c._0x520a59,-_0x4b4e2c._0xdae887);});if(_0x5581ed[_0x1732d5(-_0xe509e6._0x4fc932,-0xf1,-0xe2,-_0xe509e6._0x4fc932)]===0x0)return void 0x0;function _0x1732d5(_0xbee8f5,_0x2f3b41,_0x15b8ed,_0x55928b){return _0x4ff5(_0x2f3b41- -_0x22e1d9._0x3760ae,_0x55928b);}function _0x16b8b1(_0x39820e,_0x4e0937,_0x31fff2,_0x43dc68){return _0x4ff5(_0x31fff2- -_0x2c61e2._0x48778c,_0x43dc68);}return{'role':_0x1732d5(-_0xe509e6._0x5d5b97,-0xe7,-0xe3,-0xf7),'content':_0x5581ed};}function getTextFromMessage(_0x15886f){const _0x359a2c={_0x1ccd88:0x19f,_0x540990:0x1bf,_0x3d0dd5:0x1b4,_0x37075a:0x1ad,_0x12c476:0x278,_0x29eaf2:0x184,_0x590af6:0x196,_0x51bb02:0x177},_0x28f740={_0x5cc744:0xb9};function _0x5e95fd(_0x5408cb,_0x22c4c4,_0x2eda23,_0x536cbf){return _0x4ff5(_0x22c4c4-0x14,_0x2eda23);}function _0x193b3c(_0xc4d3e,_0x5a2e25,_0x8e8643,_0x3fc393){return _0x4ff5(_0x3fc393-_0x28f740._0x5cc744,_0x5a2e25);}return normalizeContent(_0x15886f?.[_0x5e95fd(_0x359a2c._0x1ccd88,_0x359a2c._0x540990,_0x359a2c._0x3d0dd5,0x1bc)])[_0x5e95fd(0x196,0x1a0,_0x359a2c._0x37075a,0x1be)](_0x4983a5=>_0x4983a5[_0x193b3c(0x251,0x258,0x233,0x24e)]===_0x193b3c(0x242,0x25a,0x21a,0x239))[_0x193b3c(_0x359a2c._0x12c476,0x260,0x282,0x26f)](_0x13de3d=>_0x13de3d[_0x193b3c(0x22a,0x21e,0x256,0x239)])[_0x5e95fd(_0x359a2c._0x29eaf2,_0x359a2c._0x590af6,0x1a4,_0x359a2c._0x51bb02)]('\x0a');}function _0x57ad46(_0x2250b6,_0x30cb53,_0x1829ed,_0x5144bd){const _0x378ed7={_0x35ba14:0x23e};return _0x4ff5(_0x5144bd- -_0x378ed7._0x35ba14,_0x2250b6);}function getReasoningTextFromMessage(_0x3114f2){const _0x3b8fd9={_0xaf6aca:0x38b,_0x5c9ab2:0x37f,_0x31253b:0x191,_0x7fdfa2:0x194},_0x33dff8={_0x51ed6b:0x175,_0x22df3a:0x7b,_0x518ebf:0x65,_0x4ec106:0x78,_0x265642:0x50,_0x9c8d7d:0x6d,_0x5fcb5e:0x95,_0x570b9e:0x52,_0x40aec5:0x6e,_0x3d9cef:0x178,_0xc2db7f:0x160,_0x44243a:0x53,_0x5d79ac:0x7f,_0x293949:0x7c,_0x152d9b:0x17b,_0x3b4231:0x180,_0x22a082:0x143,_0x153bd1:0x165,_0x128c92:0x169,_0x11e225:0x19c,_0x205db4:0x170,_0x384898:0x18b,_0x5efef4:0x4a,_0x302760:0x16c,_0x46d7ea:0x186,_0x593604:0x185,_0x4e2399:0x17f,_0x264ebf:0x18d,_0x238db0:0x17b},_0x52bb23={_0xf6624e:0x1e0},_0x3380f5={_0xdc1669:0x313};function _0x288223(_0x46a050,_0x145e6e,_0x330721,_0x1edb6f){return _0x4ff5(_0x46a050- -_0x3380f5._0xdc1669,_0x330721);}function _0x45f771(_0x32c794,_0x6e8037,_0x3bdf5c,_0x413ac2){return _0x4ff5(_0x32c794-_0x52bb23._0xf6624e,_0x3bdf5c);}return normalizeContent(_0x3114f2?.[_0x45f771(_0x3b8fd9._0xaf6aca,0x3a7,0x39a,_0x3b8fd9._0x5c9ab2)])['flatMap'](_0x558772=>{const _0x1cfe86={_0x2eb784:0x4ed,_0x5140a7:0x14b};if(_0x558772[_0x404871(-0x183,-_0x33dff8._0x51ed6b,-0x178,-0x15b)]==='anthropic_thinking')return _0x558772[_0x4671fc(_0x33dff8._0x22df3a,_0x33dff8._0x518ebf,_0x33dff8._0x4ec106,_0x33dff8._0x265642)][_0x4671fc(_0x33dff8._0x9c8d7d,0x8d,_0x33dff8._0x5fcb5e,0x7f)]()[_0x4671fc(_0x33dff8._0x570b9e,_0x33dff8._0x40aec5,0x61,0x84)]>0x0?[_0x558772['thinking']]:[];function _0x4671fc(_0x4a141a,_0xc03888,_0x5971c6,_0xed6f48){return _0x45f771(_0xc03888- -0x2f9,_0xc03888-0x96,_0xed6f48,_0xed6f48-0x1be);}if(_0x558772[_0x404871(-0x184,-0x183,-_0x33dff8._0x3d9cef,-_0x33dff8._0xc2db7f)]===_0x404871(-0x179,-0x16b,-0x15b,-0x178))return[_0x4671fc(0x7b,0x66,_0x33dff8._0x44243a,0x66)];if(_0x558772[_0x4671fc(_0x33dff8._0x5d79ac,_0x33dff8._0x293949,0x66,0x5c)]!==_0x404871(-_0x33dff8._0x152d9b,-0x179,-0x161,-_0x33dff8._0x3b4231))return[];const _0x3178a4=_0x558772[_0x404871(-_0x33dff8._0x22a082,-_0x33dff8._0x153bd1,-0x163,-0x173)]['map'](_0xc88c39=>_0xc88c39['text'])[_0x404871(-_0x33dff8._0x128c92,-_0x33dff8._0x11e225,-0x181,-_0x33dff8._0x205db4)](_0x4eae66=>_0x4eae66['trim']()['length']>0x0)[_0x404871(-0x181,-0x186,-_0x33dff8._0x384898,-0x182)]('\x0a\x0a');if(_0x3178a4['length']>0x0)return[_0x3178a4];if(_0x558772[_0x4671fc(0x7b,0x67,_0x33dff8._0x5efef4,0x70)]&&_0x558772[_0x404871(-0x17a,-_0x33dff8._0x302760,-0x18d,-0x19b)]['trim']()[_0x404871(-0x16d,-0x186,-_0x33dff8._0x46d7ea,-_0x33dff8._0x593604)]>0x0)return[_0x558772[_0x404871(-_0x33dff8._0x4e2399,-0x199,-_0x33dff8._0x264ebf,-0x181)]];function _0x404871(_0x4da2bc,_0x58c73b,_0x131e9d,_0x25a362){return _0x45f771(_0x131e9d- -_0x1cfe86._0x2eb784,_0x58c73b-0x6,_0x25a362,_0x25a362-_0x1cfe86._0x5140a7);}return _0x558772[_0x404871(-0x182,-0x183,-_0x33dff8._0x238db0,-0x176)]?['(encrypted\x20reasoning)']:[];})[_0x288223(-_0x3b8fd9._0x31253b,-_0x3b8fd9._0x7fdfa2,-_0x3b8fd9._0x31253b,-0x194)]('\x0a\x0a');}function getToolUseBlocks(_0x447208){const _0x455052={_0xe9724c:0x33d,_0xd5fdec:0x351},_0x1d0f56={_0x16b191:0x30e},_0x487910={_0x511f92:0x192};function _0x510a6c(_0x5b9d91,_0x3b1b55,_0x10b3dd,_0x204818){return _0x4ff5(_0x5b9d91-_0x487910._0x511f92,_0x3b1b55);}function _0x1ce519(_0x4fc182,_0xd972a0,_0x312000,_0x1bed37){return _0x4ff5(_0x312000-_0x1d0f56._0x16b191,_0xd972a0);}return normalizeContent(_0x447208?.[_0x510a6c(_0x455052._0xe9724c,_0x455052._0xd5fdec,0x335,0x342)])[_0x1ce519(0x498,0x4ba,0x49a,0x4b9)](_0x4919e7=>_0x4919e7[_0x1ce519(0x4a6,0x4c1,0x4a3,0x4c2)]==='tool_use');}function getToolResultBlocks(_0x4a3436){const _0x5663ca={_0x4fa269:0x587,_0x8331a4:0x58a,_0x52f3eb:0x57b,_0x205455:0x216,_0x2db6b6:0x205},_0x3420ae={_0x39f2e0:0x391};function _0x5ad839(_0x396e44,_0x1280c4,_0x1d555a,_0x291bc8){return _0x4ff5(_0x1d555a- -_0x3420ae._0x39f2e0,_0x1280c4);}function _0x572dc4(_0x387268,_0x5795a0,_0x5bd3e4,_0x42f6d4){return _0x4ff5(_0x5bd3e4-0x3df,_0x5795a0);}return normalizeContent(_0x4a3436?.[_0x572dc4(0x575,_0x5663ca._0x4fa269,_0x5663ca._0x8331a4,_0x5663ca._0x52f3eb)])[_0x5ad839(-0x220,-_0x5663ca._0x205455,-_0x5663ca._0x2db6b6,-0x21c)](_0xc82fab=>_0xc82fab[_0x572dc4(0x579,0x581,0x574,0x582)]===_0x572dc4(0x553,0x57b,0x55c,0x55f));}function createToolResultUserMessage(_0x658d43){const _0x5c0535={_0x59d9e4:0x379,_0x1f1a64:0x363,_0x157f6d:0x34b},_0x1229ac={_0x18b410:0x505,_0x3d027f:0x4df,_0x5db0ae:0x4ff,_0x446030:0x4fd,_0x3e1b05:0x81,_0x1895ae:0x6e,_0x325d91:0x6a},_0x3a205d={_0x52eecb:0x1a7},_0xbb876f={_0x678ca4:0x134,_0x69a191:0x3d0},_0x1ffca6={_0x123314:0x1ad};function _0x56daa0(_0x5b4301,_0x35d17c,_0x50a7dc,_0x2ec1b7){return _0x4ff5(_0x35d17c-_0x1ffca6._0x123314,_0x2ec1b7);}return{'role':'user','content':_0x658d43[_0x56daa0(_0x5c0535._0x59d9e4,_0x5c0535._0x1f1a64,_0x5c0535._0x157f6d,0x366)](_0x1b2d02=>{function _0xe62b5(_0x505440,_0x157888,_0x19a6af,_0x7c9a6d){return _0x56daa0(_0x505440-_0xbb876f._0x678ca4,_0x157888- -_0xbb876f._0x69a191,_0x19a6af-0x164,_0x505440);}function _0x26dee6(_0x1ba7ae,_0xc8cb94,_0x2372ed,_0x391c69){return _0x56daa0(_0x1ba7ae-0x1b7,_0xc8cb94-_0x3a205d._0x52eecb,_0x2372ed-0x18c,_0x2372ed);}return{'type':'tool_result','tool_use_id':_0x1b2d02[_0x26dee6(0x4d9,0x4ea,_0x1229ac._0x18b410,0x4e6)],'content':_0x1b2d02[_0x26dee6(_0x1229ac._0x3d027f,_0x1229ac._0x5db0ae,_0x1229ac._0x446030,0x4f2)]??_0x1b2d02['output'],'is_error':_0x1b2d02['status']===_0xe62b5(-_0x1229ac._0x3e1b05,-_0x1229ac._0x1895ae,-0x7f,-_0x1229ac._0x325d91)};})};}var INTERRUPTED_TOOL_RESULT_TEXT=_0x57ad46(-0xa4,-0x94,-0xae,-0x96);function synthesizeMissingToolResults(_0x2d34c1){const _0x220123={_0x4878a4:0x307,_0x584ee2:0x2e9,_0x10e932:0xcd,_0x5c114b:0xea,_0xe1bc76:0xd1,_0x236fab:0x2f3,_0x23482a:0x2f0,_0x9aa215:0x2ee,_0x1ae9b6:0x301,_0x2d08aa:0x307,_0x587fa8:0x31a,_0x1db519:0x315,_0x244c41:0xf0,_0x170289:0xe7,_0x4b8da0:0xfb,_0x282a7c:0xfd},_0x273143={_0x132c8a:0xc4,_0xebc0e9:0x16f},_0x3179c7={_0x14cd2f:0x125,_0xa7b85c:0x3a5};function _0x390db7(_0x2ecd67,_0x5f45f5,_0x41dad6,_0xf3363b){return _0x57ad46(_0x5f45f5,_0x5f45f5-_0x3179c7._0x14cd2f,_0x41dad6-0x56,_0x2ecd67-_0x3179c7._0xa7b85c);}const _0x4d1619=new Set();for(const _0x4e5eab of _0x2d34c1){for(const _0x5f7a2b of getToolResultBlocks(_0x4e5eab)){_0x4d1619[_0x390db7(0x2f2,_0x220123._0x4878a4,_0x220123._0x584ee2,0x308)](_0x5f7a2b[_0x4db718(_0x220123._0x10e932,_0x220123._0x5c114b,_0x220123._0xe1bc76,0x108)]);}}function _0x4db718(_0xaeb3c8,_0x2ce099,_0x11354d,_0x350443){return _0x57ad46(_0xaeb3c8,_0x2ce099-0x5a,_0x11354d-_0x273143._0x132c8a,_0x2ce099-_0x273143._0xebc0e9);}const _0x5742eb=[];for(const _0x368e3f of _0x2d34c1){_0x5742eb[_0x4db718(0xfb,0xe4,0x103,0xfc)](_0x368e3f);const _0xc76115=getToolUseBlocks(_0x368e3f)[_0x390db7(_0x220123._0x236fab,_0x220123._0x23482a,0x2fa,0x2f7)](_0x44e246=>!_0x4d1619[_0x390db7(0x2fe,0x313,0x30d,0x2eb)](_0x44e246['id']));if(_0xc76115[_0x390db7(_0x220123._0x9aa215,0x2db,_0x220123._0x1ae9b6,_0x220123._0x2d08aa)]===0x0)continue;_0x5742eb[_0x390db7(_0x220123._0x587fa8,_0x220123._0x1db519,0x308,0x2fd)]({'role':'user','content':_0xc76115[_0x4db718(_0x220123._0x244c41,_0x220123._0x170289,_0x220123._0x4b8da0,_0x220123._0x282a7c)](_0xa715ec=>({'type':'tool_result','tool_use_id':_0xa715ec['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x36e7d1 of _0xc76115){_0x4d1619['add'](_0x36e7d1['id']);}}return _0x5742eb;}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(_0x3ef200,_0x4e7a4c){const _0x483c73={_0x24f719:0x4db,_0x1fc7e7:0x4d7,_0x2ba63a:0x4d4,_0x51fd43:0x4d1,_0x222780:0x4e3,_0xf5cd27:0x485,_0x6fba99:0x495,_0x3b7609:0x4a7,_0x5a68c1:0x17f,_0x32d07f:0x187,_0xbe1253:0x189,_0x49ca55:0x18a,_0xb0dcaa:0x4af,_0x2ec4ce:0x4d2,_0x4e7013:0x4c5,_0x46f385:0x184,_0x568e8a:0x18d,_0x3a67d2:0x166,_0x5bc47:0x19b,_0x40d224:0x186},_0x38c0f6={_0x4cdba4:0x2df},_0x1b72bd={_0x372b5d:0x343};function _0xc13b2d(_0x5a54d4,_0x22694b,_0x2673a2,_0x5cd2b4){return _0x4017(_0x5cd2b4- -_0x1b72bd._0x372b5d,_0x22694b);}const _0x327fb9=_0x3ef200();function _0x1e5034(_0x330161,_0x46d974,_0xbcd8c1,_0x6f3917){return _0x4017(_0x330161-_0x38c0f6._0x4cdba4,_0x46d974);}while(!![]){try{const _0x28affb=-parseInt(_0x1e5034(0x4d4,_0x483c73._0x24f719,_0x483c73._0x1fc7e7,_0x483c73._0x2ba63a))/0x1*(-parseInt(_0x1e5034(_0x483c73._0x51fd43,0x4ca,0x4c5,_0x483c73._0x222780))/0x2)+-parseInt(_0x1e5034(0x49b,_0x483c73._0xf5cd27,_0x483c73._0x6fba99,_0x483c73._0x3b7609))/0x3+parseInt(_0xc13b2d(-_0x483c73._0x5a68c1,-_0x483c73._0x32d07f,-_0x483c73._0xbe1253,-_0x483c73._0x49ca55))/0x4+parseInt(_0x1e5034(0x4be,0x4b6,_0x483c73._0xb0dcaa,_0x483c73._0x2ec4ce))/0x5+-parseInt(_0x1e5034(0x4cb,0x4ae,0x4e7,0x4cc))/0x6*(parseInt(_0x1e5034(_0x483c73._0x4e7013,0x4d5,0x4a7,0x4d2))/0x7)+-parseInt(_0xc13b2d(-_0x483c73._0x46f385,-_0x483c73._0x568e8a,-0x168,-0x180))/0x8*(parseInt(_0xc13b2d(-0x198,-_0x483c73._0x3a67d2,-0x18e,-0x181))/0x9)+parseInt(_0xc13b2d(-0x16f,-0x1a3,-_0x483c73._0x5bc47,-_0x483c73._0x40d224))/0xa;if(_0x28affb===_0x4e7a4c)break;else _0x327fb9['push'](_0x327fb9['shift']());}catch(_0x5f16b7){_0x327fb9['push'](_0x327fb9['shift']());}}}(_0x5767,0x3fcdd));function createTextBlock(_0x6ad339){const _0x1528dd={_0x1cf981:0x78},_0x8dc1be={_0x16f12e:0x178};function _0x27e821(_0x3b5a69,_0x532072,_0x4cc895,_0x5ac8bf){return _0x4017(_0x5ac8bf- -_0x8dc1be._0x16f12e,_0x3b5a69);}return{'type':_0x27e821(0x48,_0x1528dd._0x1cf981,0x54,0x63),'text':_0x6ad339};}function normalizeTextBlock(_0x5be60f){const _0x596486={_0x1db874:0x116,_0x323741:0x114};function _0x343888(_0x392513,_0x342940,_0xb970f0,_0x5543da){return _0x4017(_0xb970f0- -0x305,_0x5543da);}return createTextBlock(_0x5be60f[_0x343888(-_0x596486._0x1db874,-_0x596486._0x323741,-0x12a,-0x136)]??'');}function normalizeContent(_0x16b6ed){const _0x53e8d9={_0x291495:0x265,_0x59b316:0x25e,_0x2774eb:0x19c,_0x8ea146:0x191},_0x4d482e={_0x914d94:0x40f,_0x5cf682:0x3ea},_0x31ec0d={_0x556941:0x88};if(typeof _0x16b6ed===_0x4528a5(_0x53e8d9._0x291495,0x25b,_0x53e8d9._0x59b316,0x262))return[createTextBlock(_0x16b6ed)];function _0x3ec5b1(_0x58051d,_0x4588fd,_0x38641a,_0x356b41){return _0x4017(_0x38641a- -0x35e,_0x356b41);}if(!Array['isArray'](_0x16b6ed))return[];function _0x4528a5(_0x2a4719,_0x3820e8,_0x37fe4b,_0x3e51bf){return _0x4017(_0x2a4719-_0x31ec0d._0x556941,_0x37fe4b);}return _0x16b6ed[_0x3ec5b1(-_0x53e8d9._0x2774eb,-0x185,-_0x53e8d9._0x8ea146,-0x17f)](_0xe75fc5=>{const _0x442467={_0x549214:0x587},_0x2712b6={_0x324f17:0x32b,_0x106685:0x19e,_0x3bfa31:0x1ad};function _0x5d5422(_0x550102,_0x5b3f36,_0x34e9f7,_0x49e72b){return _0x4528a5(_0x34e9f7-_0x2712b6._0x324f17,_0x5b3f36-_0x2712b6._0x106685,_0x550102,_0x49e72b-_0x2712b6._0x3bfa31);}if(_0xe75fc5[_0x5d71de(_0x4d482e._0x914d94,0x405,0x405,0x40e)]===_0x5d71de(0x3fd,0x403,_0x4d482e._0x5cf682,0x404))return normalizeTextBlock(_0xe75fc5);function _0x5d71de(_0x32c709,_0x1d5e9c,_0xcf90d1,_0x34b15a){return _0x3ec5b1(_0x32c709-0x172,_0x1d5e9c-0xdf,_0x34b15a-_0x442467._0x549214,_0x1d5e9c);}return structuredClone(_0xe75fc5);});}function normalizeSystem(_0x5127d4=[]){const _0x591ce0={_0xb3efef:0x1d4},_0x36f022={_0x5730c7:0x3af};function _0x2cdca8(_0x55144c,_0x15f603,_0x238f2d,_0x5a979a){return _0x4017(_0x238f2d-_0x36f022._0x5730c7,_0x55144c);}function _0x273d5e(_0x371d4b,_0x98ed66,_0x475f8a,_0x1eb9cd){return _0x4017(_0x475f8a-_0x591ce0._0xb3efef,_0x371d4b);}return normalizeContent(_0x5127d4)['filter'](_0x25d605=>_0x25d605[_0x2cdca8(0x575,0x5a8,0x594,0x5b3)]===_0x2cdca8(0x57e,0x581,0x58a,0x589));}function _0x4017(_0x4f2aa4,_0x5956af){_0x4f2aa4=_0x4f2aa4-0x1b9;const _0x5767a6=_0x5767();let _0x401711=_0x5767a6[_0x4f2aa4];if(_0x4017['jfRRds']===undefined){var _0x543de1=function(_0x56c7a7){const _0x8fc52a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x6ad339='',_0x5be60f='';for(let _0x16b6ed=0x0,_0xe75fc5,_0x5127d4,_0x25d605=0x0;_0x5127d4=_0x56c7a7['charAt'](_0x25d605++);~_0x5127d4&&(_0xe75fc5=_0x16b6ed%0x4?_0xe75fc5*0x40+_0x5127d4:_0x5127d4,_0x16b6ed++%0x4)?_0x6ad339+=String['fromCharCode'](0xff&_0xe75fc5>>(-0x2*_0x16b6ed&0x6)):0x0){_0x5127d4=_0x8fc52a['indexOf'](_0x5127d4);}for(let _0x3f6632=0x0,_0x298b97=_0x6ad339['length'];_0x3f6632<_0x298b97;_0x3f6632++){_0x5be60f+='%'+('00'+_0x6ad339['charCodeAt'](_0x3f6632)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5be60f);};_0x4017['HHCsLZ']=_0x543de1,_0x4017['RKhVIb']={},_0x4017['jfRRds']=!![];}const _0x496322=_0x5767a6[0x0],_0x28b313=_0x4f2aa4+_0x496322,_0x5a7a7f=_0x4017['RKhVIb'][_0x28b313];return!_0x5a7a7f?(_0x401711=_0x4017['HHCsLZ'](_0x401711),_0x4017['RKhVIb'][_0x28b313]=_0x401711):_0x401711=_0x5a7a7f,_0x401711;}function isProviderStateCompatible(_0x3f6632,_0x298b97){const _0x478462={_0x310c27:0x19f,_0x58a398:0x1a3,_0x426faa:0x14e,_0x19f9ec:0x15b,_0x49285b:0x16a,_0x452ed0:0x1a2,_0x234a43:0x18b,_0x1ca256:0x191,_0x510adf:0x1a6},_0x1850a3={_0xb85bca:0x53};function _0x3eb7bb(_0x2e90a3,_0x9727dc,_0x116f25,_0x18d97b){return _0x4017(_0x18d97b- -_0x1850a3._0xb85bca,_0x116f25);}const _0x3523aa=_0x3f6632[_0x3eb7bb(0x1ba,0x1b7,_0x478462._0x310c27,_0x478462._0x58a398)]?.['originModelIdentity'];function _0x5e62ee(_0x3970a3,_0x33367e,_0x5dc8ef,_0x483257){return _0x4017(_0x5dc8ef- -0x35b,_0x3970a3);}return _0x3523aa===void 0x0||_0x3523aa===_0x298b97[_0x5e62ee(-_0x478462._0x426faa,-0x159,-0x16d,-_0x478462._0x19f9ec)][_0x5e62ee(-_0x478462._0x49285b,-0x180,-0x164,-0x150)]||_0x3523aa===_0x298b97[_0x5e62ee(-_0x478462._0x452ed0,-_0x478462._0x234a43,-_0x478462._0x1ca256,-_0x478462._0x510adf)];}function normalizeMessage(_0xe6379d){const _0x17d927={_0x39cb4a:0x8b,_0xa08cd5:0x3c,_0x528bda:0x43};function _0x17b88b(_0x28d158,_0x19f637,_0x5ea27b,_0x5cc02e){return _0x4017(_0x5ea27b- -0x239,_0x19f637);}function _0x234a0a(_0x50681a,_0x2c7047,_0xb966b0,_0x2b4c99){return _0x4017(_0x2c7047- -0xcc,_0x2b4c99);}return{...typeof _0xe6379d['id']==='string'?{'id':_0xe6379d['id']}:{},'role':_0xe6379d[_0x17b88b(-0x5d,-0x65,-0x52,-0x5a)],'content':normalizeContent(_0xe6379d[_0x17b88b(-_0x17d927._0x39cb4a,-0x62,-0x75,-0x85)]),..._0xe6379d['providerState']?{'providerState':structuredClone(_0xe6379d[_0x17b88b(-0x5a,-_0x17d927._0xa08cd5,-_0x17d927._0x528bda,-_0x17d927._0xa08cd5)])}:{}};}function compileRequest(_0x30c25a){const _0x37a6f3={_0x7f2fbf:0x97,_0xfe6ffc:0x8b,_0x385863:0xa2,_0x517f4a:0xda,_0x37ec02:0xbb,_0x45bac4:0x90,_0xa5c675:0x89,_0x43fa52:0x9f,_0x1de127:0x7c,_0x6db27a:0x9c,_0x2fbfbf:0xb8,_0x278f38:0xa9,_0x2f85f0:0x8f,_0x373cbf:0x8f,_0x5975a2:0x8d,_0x1f5681:0x94,_0x22b7d7:0x71},_0x5493bd={_0x4b7929:0x2a3};function _0x275704(_0x23bf8c,_0x5d0119,_0x49338c,_0x2474d9){return _0x4017(_0x5d0119- -0x144,_0x2474d9);}function _0x1d1698(_0x43a1f4,_0x328709,_0x1cfab6,_0x1cfb5a){return _0x4017(_0x1cfab6- -_0x5493bd._0x4b7929,_0x328709);}return{'model':_0x30c25a[_0x275704(_0x37a6f3._0x7f2fbf,0x86,_0x37a6f3._0xfe6ffc,_0x37a6f3._0x385863)]??'claude-sonnet-4-20250514',..._0x30c25a['max_tokens']!==void 0x0?{'max_tokens':_0x30c25a['max_tokens']}:{},..._0x30c25a[_0x1d1698(-_0x37a6f3._0x517f4a,-0xcb,-0xcf,-_0x37a6f3._0x37ec02)]?{'reasoning':structuredClone(_0x30c25a[_0x275704(0x97,_0x37a6f3._0x45bac4,_0x37a6f3._0xa5c675,_0x37a6f3._0x43fa52)])}:{},'system':normalizeSystem(_0x30c25a['system']),'messages':_0x30c25a['messages'][_0x275704(0xa8,0x89,0x81,_0x37a6f3._0x1de127)](normalizeMessage),'tools':structuredClone(_0x30c25a[_0x1d1698(-_0x37a6f3._0x6db27a,-0xc4,-_0x37a6f3._0x2fbfbf,-0xa6)]??[]),'metadata':{'session_id':_0x30c25a[_0x275704(0xbb,_0x37a6f3._0x278f38,0xba,_0x37a6f3._0x2f85f0)],'turn_id':_0x30c25a[_0x275704(_0x37a6f3._0x373cbf,_0x37a6f3._0x5975a2,_0x37a6f3._0x1f5681,_0x37a6f3._0x22b7d7)]}};}function toChatRequest(_0x12ea5d){const _0x48a83a={_0x4e69ef:0x38a,_0x4f7e54:0x4f4,_0x125c3b:0x4fd,_0x452be1:0x4f7,_0x1d7780:0x4f4,_0x4793b5:0x502,_0x571334:0x390,_0x333fd3:0x394,_0x530261:0x4e2,_0x395b8e:0x502,_0x32c5c8:0x4f2,_0x1ee9b5:0x509,_0x59853b:0x4d7,_0x40cb76:0x4fc,_0x431abf:0x4bd,_0x23e3b3:0x4c6,_0x1b21c4:0x3be,_0x504e42:0x395,_0x5843d0:0x504,_0xe931c:0x4f2,_0x2cde5e:0x4ea,_0x3107db:0x504,_0x4555f9:0x4a9,_0x33ee0f:0x4aa};function _0x5b6c71(_0x3d868f,_0x1b7e71,_0x3fde08,_0x15f4f0){return _0x4017(_0x3d868f-0x304,_0x3fde08);}function _0x5d68c5(_0x51448d,_0x5b6fe7,_0x31e9d1,_0x1699f5){return _0x4017(_0x31e9d1-0x1c0,_0x5b6fe7);}return{'model':_0x12ea5d[_0x5d68c5(0x396,0x36d,_0x48a83a._0x4e69ef,0x3a1)],..._0x12ea5d[_0x5b6c71(_0x48a83a._0x4f7e54,_0x48a83a._0x125c3b,0x4ef,_0x48a83a._0x452be1)]!==void 0x0?{'maxTokens':_0x12ea5d[_0x5b6c71(_0x48a83a._0x1d7780,0x500,_0x48a83a._0x4793b5,0x4e3)]}:{},..._0x12ea5d[_0x5d68c5(0x3ae,_0x48a83a._0x571334,_0x48a83a._0x333fd3,0x3a5)]?{'reasoning':structuredClone(_0x12ea5d[_0x5b6c71(0x4d8,0x4bd,0x4c7,0x4df)])}:{},'system':structuredClone(_0x12ea5d['system']),'messages':structuredClone(_0x12ea5d[_0x5b6c71(0x4d0,0x4ed,0x4ca,_0x48a83a._0x530261)]),'tools':structuredClone(_0x12ea5d[_0x5b6c71(0x4ef,_0x48a83a._0x395b8e,0x4f7,0x4e6)]),'metadata':{'sessionId':_0x12ea5d[_0x5b6c71(_0x48a83a._0x32c5c8,_0x48a83a._0x1ee9b5,0x511,_0x48a83a._0x452be1)][_0x5b6c71(0x4de,_0x48a83a._0x59853b,0x4ef,_0x48a83a._0x40cb76)],'turnId':_0x12ea5d[_0x5b6c71(0x4f2,0x4eb,_0x48a83a._0x59853b,0x4e6)][_0x5b6c71(0x4d3,0x4e9,_0x48a83a._0x431abf,_0x48a83a._0x23e3b3)],..._0x12ea5d[_0x5d68c5(0x391,_0x48a83a._0x1b21c4,0x3ae,0x3c2)][_0x5d68c5(0x384,0x3a0,0x399,_0x48a83a._0x504e42)]!==void 0x0?{'modelIdentity':_0x12ea5d[_0x5b6c71(0x4f2,_0x48a83a._0x5843d0,0x510,_0x48a83a._0x530261)]['model_identity']}:{},..._0x12ea5d[_0x5b6c71(_0x48a83a._0xe931c,0x4ed,0x4df,0x4ef)][_0x5b6c71(0x4e5,0x4fb,0x4d0,_0x48a83a._0x2cde5e)]!==void 0x0?{'pricingProviderId':_0x12ea5d[_0x5b6c71(0x4f2,0x4f6,0x4e3,_0x48a83a._0x3107db)]['pricing_provider_id']}:{}},..._0x12ea5d[_0x5b6c71(0x4c2,0x4b6,_0x48a83a._0x4555f9,_0x48a83a._0x33ee0f)]?{'outputFormat':structuredClone(_0x12ea5d['outputFormat'])}:{}};}function toModelRequest(_0x5a9d25){const _0x1c5a55={_0x1479df:0x37,_0x1fa4fb:0x34,_0xd6db84:0x3f,_0x2d3b52:0x1b,_0x9c734:0x25,_0x51caf3:0x173,_0x337662:0x198,_0x1d5b66:0x17e,_0x4a9825:0x179,_0x538dcf:0x179,_0x1ad945:0x4a,_0x14c062:0x32,_0x3396c9:0x8,_0x4ce4e0:0x154,_0x3e8f61:0x151,_0x34e726:0x15f,_0x98a8b2:0x2,_0x5400fe:0x31,_0x24639e:0x2d,_0x1d089e:0x23,_0x557234:0x160,_0x192e10:0x163,_0x3e2f76:0xa,_0x36cfd7:0x1b,_0x5c7feb:0x152,_0x48ee51:0x17d,_0x5213fd:0x163,_0x21e36b:0x1b,_0x538e18:0x2,_0x2eeaa5:0x30},_0x5ec5c3={_0x34d8b8:0x34d},_0x2aff5e={_0x580d08:0x1fe};function _0x28ed83(_0x1cd916,_0x185f1b,_0x2495fc,_0x4db3c1){return _0x4017(_0x2495fc- -_0x2aff5e._0x580d08,_0x4db3c1);}function _0x167c4a(_0x590377,_0x422974,_0x2e152d,_0x435975){return _0x4017(_0x435975- -_0x5ec5c3._0x34d8b8,_0x2e152d);}return{'model':_0x5a9d25[_0x28ed83(-0x37,-_0x1c5a55._0x1479df,-_0x1c5a55._0x1fa4fb,-_0x1c5a55._0xd6db84)],..._0x5a9d25[_0x28ed83(-0x6,-0x37,-_0x1c5a55._0x2d3b52,-_0x1c5a55._0x9c734)]!==void 0x0?{'max_tokens':_0x5a9d25[_0x167c4a(-0x185,-0x174,-_0x1c5a55._0x51caf3,-0x16a)]}:{},..._0x5a9d25['reasoning']?{'reasoning':structuredClone(_0x5a9d25[_0x167c4a(-_0x1c5a55._0x337662,-_0x1c5a55._0x1d5b66,-_0x1c5a55._0x4a9825,-_0x1c5a55._0x538dcf)])}:{},'system':structuredClone(_0x5a9d25['system']),'messages':structuredClone(_0x5a9d25[_0x28ed83(-_0x1c5a55._0x1ad945,-0x2e,-_0x1c5a55._0x14c062,-0x1d)]),'tools':structuredClone(_0x5a9d25[_0x28ed83(-0x2b,-0x4,-0x13,-_0x1c5a55._0x3396c9)]),'metadata':{'session_id':_0x5a9d25[_0x167c4a(-_0x1c5a55._0x4ce4e0,-0x14a,-_0x1c5a55._0x3e8f61,-_0x1c5a55._0x34e726)][_0x28ed83(_0x1c5a55._0x98a8b2,-0x1b,-0x11,0x7)],'turn_id':_0x5a9d25['metadata'][_0x28ed83(-_0x1c5a55._0x5400fe,-0x1b,-_0x1c5a55._0x24639e,-_0x1c5a55._0x1d089e)],..._0x5a9d25['metadata'][_0x167c4a(-0x16a,-_0x1c5a55._0x557234,-_0x1c5a55._0x192e10,-0x156)]!==void 0x0?{'model_identity':_0x5a9d25['metadata']['modelIdentity']}:{},..._0x5a9d25[_0x28ed83(-_0x1c5a55._0x3e2f76,-_0x1c5a55._0x36cfd7,-0x10,0x7)][_0x167c4a(-_0x1c5a55._0x5c7feb,-0x178,-_0x1c5a55._0x48ee51,-_0x1c5a55._0x5213fd)]!==void 0x0?{'pricing_provider_id':_0x5a9d25[_0x28ed83(-0x7,-_0x1c5a55._0x21e36b,-0x10,-_0x1c5a55._0x538e18)][_0x28ed83(-0x7,0x6,-0x14,-_0x1c5a55._0x2eeaa5)]}:{}},..._0x5a9d25['outputFormat']?{'outputFormat':structuredClone(_0x5a9d25['outputFormat'])}:{}};}function toProviderModelRequest(_0x311cef){const _0xda37d6={_0x57d0b6:0xdf,_0x50df9e:0xf6,_0x21e643:0xe1,_0x329fcc:0x10a,_0x295939:0xf7,_0x9e9d52:0xd7,_0x213852:0xe7,_0x5cf752:0xcd},_0x2801e2={_0x4c9f60:0x231};function _0x2734b6(_0x369ddf,_0x505fd8,_0x5e2ced,_0x1f3528){return _0x4017(_0x5e2ced- -_0x2801e2._0x4c9f60,_0x1f3528);}function _0x26585e(_0x397c80,_0x56f2fb,_0x34129d,_0x512c6d){return _0x4017(_0x56f2fb- -0x2c2,_0x397c80);}return{'model':_0x311cef['model'],..._0x311cef['maxTokens']!==void 0x0?{'max_tokens':_0x311cef[_0x26585e(-0xfb,-_0xda37d6._0x57d0b6,-_0xda37d6._0x50df9e,-0xd5)]}:{},'system':structuredClone(_0x311cef['system']),'messages':structuredClone(_0x311cef[_0x26585e(-_0xda37d6._0x21e643,-0xf6,-_0xda37d6._0x329fcc,-0xfc)]),'tools':structuredClone(_0x311cef[_0x26585e(-_0xda37d6._0x295939,-_0xda37d6._0x9e9d52,-_0xda37d6._0x213852,-_0xda37d6._0x5cf752)])};}function toChatResponse(_0x3a213a){const _0x473788={_0x39d8d8:0x458,_0x5ae4cb:0x43f,_0x1ca7bc:0x43e,_0x90de09:0x478,_0xd4e47d:0x447,_0xe88ab9:0xf5,_0x2738b9:0xf2,_0x2e8e8e:0x103,_0x57e0f0:0x480,_0x39b0a1:0x476,_0x194d48:0xc8,_0x2e150e:0xaa,_0x2f18ac:0xd4,_0x7a47dc:0xdd,_0x3df3e8:0x488,_0x49a993:0x48a,_0x5396f3:0x47a,_0x5ad0b4:0x46b,_0x587811:0x467,_0x123faf:0x45f,_0x52ea7a:0x46a,_0x3e7118:0x481},_0x43eff1={_0x328fd8:0x294},_0x4698da={_0x284437:0x2b0};function _0x2a6971(_0x5d7df4,_0x28d774,_0x460f9d,_0x10fee6){return _0x4017(_0x5d7df4- -_0x4698da._0x284437,_0x28d774);}function _0xadf437(_0x59f7db,_0xe48046,_0x2d5535,_0x1a4b45){return _0x4017(_0x2d5535-_0x43eff1._0x328fd8,_0x59f7db);}return{'id':_0x3a213a['id'],'content':structuredClone(_0x3a213a[_0xadf437(_0x473788._0x39d8d8,_0x473788._0x5ae4cb,0x458,_0x473788._0x1ca7bc)]),'stopReason':_0x3a213a[_0xadf437(_0x473788._0x90de09,_0x473788._0xd4e47d,0x45a,0x43a)],'usage':{'inputTokens':_0x3a213a['usage'][_0x2a6971(-_0x473788._0xe88ab9,-_0x473788._0x2738b9,-0xfd,-_0x473788._0x2e8e8e)],'outputTokens':_0x3a213a[_0xadf437(0x48a,0x480,0x47c,0x45d)][_0xadf437(_0x473788._0x57e0f0,_0x473788._0x39b0a1,0x485,0x488)],..._0x3a213a[_0x2a6971(-_0x473788._0x194d48,-_0x473788._0x2e150e,-_0x473788._0x2f18ac,-_0x473788._0x7a47dc)][_0xadf437(_0x473788._0x3df3e8,0x459,0x46a,_0x473788._0x49a993)]!==void 0x0?{'reasoningTokens':_0x3a213a[_0xadf437(_0x473788._0x5396f3,0x497,0x47c,_0x473788._0x5ad0b4)][_0xadf437(_0x473788._0x587811,_0x473788._0x123faf,_0x473788._0x52ea7a,0x44f)]}:{}},..._0x3a213a['providerState']?{'providerState':structuredClone(_0x3a213a[_0xadf437(0x487,0x49e,_0x473788._0x49a993,_0x473788._0x3e7118)])}:{}};}function toModelResponse(_0x105c7a){const _0x1c6969={_0x20dd6b:0x395,_0x26fd66:0x38c,_0xe29c78:0x3d8,_0x52d98c:0x3a0,_0x1d6a01:0x3cb,_0x42db12:0x3c5,_0x16f825:0x3a5,_0x3d7e74:0x3a9,_0x1a903c:0x3b4,_0xcfef4c:0x3f9,_0x40253e:0x3be,_0x4668df:0x3c3,_0xf14413:0x39f,_0xca0a1c:0x3d4,_0xa6b998:0x3de,_0x3838d8:0x3dc,_0x159c2a:0x3f2,_0x17b65d:0x3dd,_0x554403:0x390,_0x5da85b:0x386,_0x4b47a9:0x393},_0x2cbd7f={_0x4e3d04:0x1f5};function _0x3fd8f0(_0x17e251,_0xaf824f,_0x498649,_0x4f4ee8){return _0x4017(_0x4f4ee8-_0x2cbd7f._0x4e3d04,_0xaf824f);}function _0x4d5c7f(_0x47f98d,_0x1cf2f9,_0x135b71,_0x298999){return _0x4017(_0x1cf2f9-0x1a2,_0x47f98d);}return{'id':_0x105c7a['id'],'type':_0x4d5c7f(0x38c,_0x1c6969._0x20dd6b,_0x1c6969._0x26fd66,0x38c),'role':_0x3fd8f0(0x3b2,_0x1c6969._0xe29c78,_0x1c6969._0x52d98c,0x3ba),'content':structuredClone(_0x105c7a[_0x3fd8f0(_0x1c6969._0x1d6a01,_0x1c6969._0x42db12,0x3d9,0x3b9)]),'stop_reason':_0x105c7a[_0x3fd8f0(0x3a5,_0x1c6969._0x16f825,_0x1c6969._0x3d7e74,_0x1c6969._0x1a903c)],'stop_sequence':null,'usage':{'input_tokens':_0x105c7a['usage']['inputTokens'],'output_tokens':_0x105c7a[_0x3fd8f0(_0x1c6969._0xcfef4c,0x3f7,_0x1c6969._0x40253e,0x3dd)][_0x3fd8f0(0x3be,_0x1c6969._0x4668df,_0x1c6969._0xf14413,0x3bd)],..._0x105c7a[_0x3fd8f0(0x3d1,_0x1c6969._0xca0a1c,_0x1c6969._0xa6b998,0x3dd)]['reasoningTokens']!==void 0x0?{'reasoning_tokens':_0x105c7a[_0x3fd8f0(_0x1c6969._0x3838d8,_0x1c6969._0x159c2a,0x3dd,_0x1c6969._0x17b65d)][_0x4d5c7f(_0x1c6969._0x554403,_0x1c6969._0x5da85b,_0x1c6969._0x4b47a9,0x3a3)]}:{}},..._0x105c7a['providerState']?{'providerState':structuredClone(_0x105c7a[_0x4d5c7f(0x3a2,0x398,0x3b2,0x38b)])}:{}};}function responseToAssistantMessage(_0x1029d4){const _0x27073f={_0x1beb13:0x11,_0x4a7d3d:0x27,_0x4f6723:0x303,_0x1f60d4:0xe,_0x101e9e:0x21,_0x2fa430:0xd};function _0x21b801(_0x5642f9,_0x214cc5,_0x254eb8,_0x5a6315){return _0x4017(_0x254eb8- -0x1ec,_0x5642f9);}function _0x57fc3e(_0x461cfc,_0x15687d,_0x42bd7d,_0x4d4426){return _0x4017(_0x4d4426-0xed,_0x42bd7d);}return{'role':_0x21b801(-_0x27073f._0x1beb13,-0x30,-_0x27073f._0x4a7d3d,-0xc),'content':normalizeContent(_0x1029d4['content']),..._0x1029d4[_0x57fc3e(0x2ea,0x2ec,_0x27073f._0x4f6723,0x2e3)]?{'providerState':structuredClone(_0x1029d4[_0x21b801(-_0x27073f._0x1f60d4,_0x27073f._0x101e9e,0xa,_0x27073f._0x2fa430)])}:{}};}function createReasoningMessage(_0x53845d){const _0x4157e6={_0x2a2032:0x64,_0x204316:0x69,_0x2a0a1b:0x73,_0x544761:0x74},_0x3bb4a3={_0x5de644:0x2f2,_0x4a380a:0x300,_0x479438:0x2d8,_0x4ef883:0x2f5,_0x173a02:0x2cc},_0x56a313={_0x7ae59c:0xe2},_0x6a53c6={_0x2ab6ce:0xcf,_0x2433a3:0x1a4};function _0x3cb0ca(_0x3599c0,_0x1c587c,_0x3f3acc,_0x2e719a){return _0x4017(_0x3599c0- -0x15c,_0x2e719a);}const _0x4b703c=normalizeContent(_0x53845d?.[_0x3cb0ca(0x68,0x80,_0x4157e6._0x2a2032,0x81)])[_0xbe6378(0x215,0x20a,0x21a,0x1fb)](_0x3c503d=>{function _0x343ba3(_0x5af535,_0xbb0270,_0xdba63e,_0x1bc7be){return _0xbe6378(_0xdba63e,_0x1bc7be-_0x6a53c6._0x2ab6ce,_0xdba63e-0xca,_0x1bc7be-_0x6a53c6._0x2433a3);}function _0x291a8b(_0x4d30e1,_0x20996e,_0xa662d5,_0x2bb05a){return _0xbe6378(_0x2bb05a,_0x4d30e1-0x39f,_0xa662d5-_0x56a313._0x7ae59c,_0x2bb05a-0x28);}return _0x3c503d['type']==='anthropic_redacted_thinking'||_0x3c503d['type']==='anthropic_thinking'||_0x3c503d[_0x343ba3(_0x3bb4a3._0x5de644,_0x3bb4a3._0x4a380a,_0x3bb4a3._0x479438,_0x3bb4a3._0x4ef883)]===_0x343ba3(_0x3bb4a3._0x173a02,0x2d1,0x2d7,0x2e7);});function _0xbe6378(_0x772173,_0x5f4050,_0x384f20,_0x2953cb){return _0x4017(_0x5f4050-0x41,_0x772173);}if(_0x4b703c['length']===0x0)return void 0x0;return{'role':_0x3cb0ca(_0x4157e6._0x204316,_0x4157e6._0x2a0a1b,_0x4157e6._0x544761,0x7b),'content':_0x4b703c};}function createAssistantTextMessage(_0x142eab){const _0x20565c={_0x2a94c4:0x305,_0x5a7e59:0x31e,_0x163221:0x328,_0x341d91:0x333,_0x3e444c:0x338,_0x53e3a3:0x321,_0x11eab5:0x331,_0x5a4e81:0x364,_0x1e9e5e:0x336,_0x502c97:0x277},_0x90bd2b={_0x2dde13:0xb2},_0x5313b3={_0x3df7a8:0x1c0,_0x5c8ba7:0x1ca,_0x2bce08:0x1c7},_0x331e52={_0x543ef9:0x457,_0x3556e1:0x1dd};function _0x44441f(_0x94eb0b,_0x4bd647,_0x1c17de,_0x3f3f8a){return _0x4017(_0x3f3f8a-0x158,_0x4bd647);}const _0x56ab0b=normalizeContent(_0x142eab?.[_0x44441f(_0x20565c._0x2a94c4,_0x20565c._0x5a7e59,_0x20565c._0x163221,0x31c)])[_0x44441f(_0x20565c._0x341d91,0x336,_0x20565c._0x3e444c,_0x20565c._0x53e3a3)](_0x5b023f=>{function _0x255b24(_0x2f845d,_0x4182ba,_0x2c03f1,_0x5d0590){return _0x3dfcd9(_0x4182ba- -0x309,_0x4182ba-0xf,_0x2c03f1-0x38,_0x5d0590);}function _0x37048b(_0x53751c,_0x4c5b7a,_0x31b37f,_0xde6152){return _0x3dfcd9(_0x53751c- -_0x331e52._0x543ef9,_0x4c5b7a-_0x331e52._0x3556e1,_0x31b37f-0xf4,_0x4c5b7a);}return _0x5b023f[_0x37048b(-_0x5313b3._0x3df7a8,-0x1e0,-0x1b3,-0x1d9)]===_0x37048b(-_0x5313b3._0x5c8ba7,-0x1cb,-0x1d3,-_0x5313b3._0x2bce08);});if(_0x56ab0b[_0x44441f(_0x20565c._0x11eab5,_0x20565c._0x5a4e81,_0x20565c._0x1e9e5e,0x34c)]===0x0)return void 0x0;function _0x3dfcd9(_0x4f565b,_0x5ec668,_0x5d85d1,_0x24b1eb){return _0x4017(_0x4f565b-_0x90bd2b._0x2dde13,_0x24b1eb);}return{'role':_0x3dfcd9(_0x20565c._0x502c97,0x297,0x28f,0x289),'content':_0x56ab0b};}function createToolUseMessage(_0xc65793){const _0x51da8f={_0x290c82:0x534,_0x42e972:0x52d,_0x5c95fe:0x568,_0x3707b4:0x53f,_0x450c5a:0x57a,_0x5f4bde:0x52e},_0x235466={_0x13cc74:0x35d,_0x143619:0x37a,_0x336a1e:0x360,_0x4d9f3b:0x377,_0x488bf:0x99,_0x1216ee:0x8a},_0x167c78=normalizeContent(_0xc65793?.[_0x23a637(0x525,_0x51da8f._0x290c82,_0x51da8f._0x42e972,0x51a)])[_0x252db7(0x477,0x452,0x45e,0x45f)](_0x371929=>{const _0xe474f2={_0x501b77:0x167,_0x222214:0x5b3};function _0x14098b(_0x298c8f,_0x12ba37,_0x40b2cf,_0x3cc0c6){return _0x23a637(_0x298c8f-0x153,_0x12ba37-0x19d,_0x3cc0c6- -0x1d7,_0x298c8f);}function _0x36a378(_0x2b3b34,_0x58d91f,_0x10df4d,_0x2169cf){return _0x23a637(_0x2b3b34-_0xe474f2._0x501b77,_0x58d91f-0x1a5,_0x10df4d- -_0xe474f2._0x222214,_0x58d91f);}return _0x371929[_0x14098b(_0x235466._0x13cc74,_0x235466._0x143619,_0x235466._0x336a1e,_0x235466._0x4d9f3b)]===_0x36a378(-_0x235466._0x488bf,-0x92,-_0x235466._0x1216ee,-0x9c);});if(_0x167c78[_0x23a637(_0x51da8f._0x5c95fe,_0x51da8f._0x3707b4,0x55d,_0x51da8f._0x450c5a)]===0x0)return void 0x0;function _0x23a637(_0x47c7f1,_0x17ea1a,_0x5bff03,_0x2e9374){return _0x4017(_0x5bff03-0x369,_0x2e9374);}function _0x252db7(_0xbc13e1,_0x41f877,_0x17d8d4,_0x51f86e){return _0x4017(_0x51f86e-0x296,_0x41f877);}return{'role':_0x23a637(0x53c,0x51e,_0x51da8f._0x5f4bde,0x52a),'content':_0x167c78};}function getTextFromMessage(_0x2e48a2){const _0x521dcc={_0x2cdce9:0x2fd,_0x43fdc0:0x2f2,_0x2e1ec5:0x5a5,_0x824ecb:0x572,_0x26b1fd:0x2f3},_0x5df6ef={_0x4ca9fd:0x139},_0x1ff5ac={_0x3e030e:0x3be};function _0x2aaa80(_0x48b02f,_0x1e0550,_0x355c90,_0x4ac038){return _0x4017(_0x4ac038-_0x1ff5ac._0x3e030e,_0x1e0550);}function _0x22f34e(_0x2fbacf,_0x2f2f2c,_0x2fa92b,_0x2b8537){return _0x4017(_0x2fbacf-_0x5df6ef._0x4ca9fd,_0x2fa92b);}return normalizeContent(_0x2e48a2?.[_0x22f34e(_0x521dcc._0x2cdce9,_0x521dcc._0x43fdc0,0x306,0x2e6)])[_0x2aaa80(0x575,_0x521dcc._0x2e1ec5,_0x521dcc._0x824ecb,0x587)](_0x4c7788=>_0x4c7788[_0x2aaa80(0x5ac,0x5a0,0x590,0x5a3)]===_0x2aaa80(0x5a4,0x5a0,0x593,0x599))[_0x22f34e(0x306,0x2fe,0x31f,_0x521dcc._0x26b1fd)](_0x1457c7=>_0x1457c7['text'])['join']('\x0a');}function getReasoningTextFromMessage(_0x5c3521){const _0x60782c={_0x503edd:0x186,_0x27be1e:0x1a3,_0x451902:0x176,_0x137e08:0x5d,_0x320f12:0x48},_0x4ef0d5={_0x3b5def:0x7f,_0x697d21:0x45d,_0x22f19a:0x444,_0x29db1c:0x444,_0x4b89f4:0x43b,_0xd9d48e:0x59,_0x45786e:0x6c,_0x170b90:0x56,_0x473bbf:0x92,_0x51e1a3:0x99,_0x347cc8:0xb4,_0xf682a9:0x45f,_0x55338e:0x469,_0x12814c:0x46f,_0x4b6ad4:0x459,_0x4dd735:0x45b,_0x4bffb8:0x474,_0x39cb78:0x458,_0x7b355f:0x451,_0x494571:0x86,_0x51d296:0x6a,_0xd53da1:0x9f,_0x10241c:0x8b,_0x1f50f9:0x75,_0x214d9c:0x47d,_0xafa857:0x465,_0x303370:0x450,_0x408083:0x451,_0x10890f:0x444,_0xd47b77:0x454,_0x45861f:0x79,_0x1519c1:0x6c,_0x5e8f45:0x71,_0x23dab6:0x86,_0x113df7:0x9c,_0xd76e33:0x88};function _0x3a20bb(_0x17aeef,_0x417226,_0x1a24e5,_0x22097a){return _0x4017(_0x17aeef- -0x243,_0x417226);}function _0x52d668(_0x49ea82,_0x35775f,_0x52edd2,_0x338380){return _0x4017(_0x49ea82- -0x348,_0x35775f);}return normalizeContent(_0x5c3521?.[_0x52d668(-0x184,-_0x60782c._0x503edd,-0x188,-_0x60782c._0x27be1e)])[_0x52d668(-_0x60782c._0x451902,-0x170,-0x179,-0x16e)](_0x5b9946=>{const _0xffad7={_0x111d3a:0x1d,_0x54a17e:0x150,_0x5bf985:0x1f};if(_0x5b9946[_0x176f50(-0x6f,-0x7b,-_0x4ef0d5._0x3b5def,-0x67)]==='anthropic_thinking')return _0x5b9946[_0x27f985(0x442,0x451,0x444,_0x4ef0d5._0x697d21)][_0x27f985(_0x4ef0d5._0x22f19a,_0x4ef0d5._0x29db1c,0x446,_0x4ef0d5._0x4b89f4)]()[_0x176f50(-_0x4ef0d5._0xd9d48e,-_0x4ef0d5._0x45786e,-_0x4ef0d5._0x170b90,-0x5e)]>0x0?[_0x5b9946[_0x176f50(-_0x4ef0d5._0x473bbf,-_0x4ef0d5._0x51e1a3,-_0x4ef0d5._0x347cc8,-_0x4ef0d5._0x347cc8)]]:[];if(_0x5b9946[_0x27f985(_0x4ef0d5._0xf682a9,0x46f,_0x4ef0d5._0x55338e,_0x4ef0d5._0x12814c)]===_0x27f985(_0x4ef0d5._0x4b6ad4,0x45a,0x474,0x447))return[_0x27f985(_0x4ef0d5._0x4dd735,0x466,0x46e,_0x4ef0d5._0x4bffb8)];if(_0x5b9946[_0x27f985(_0x4ef0d5._0x39cb78,0x46f,_0x4ef0d5._0x7b355f,0x461)]!==_0x176f50(-0x81,-0x89,-_0x4ef0d5._0x494571,-_0x4ef0d5._0x51d296))return[];const _0x4f4558=_0x5b9946['summary']['map'](_0x11bead=>_0x11bead[_0x176f50(-0x9c,-0x85,-0x8a,-0xa0)])[_0x176f50(-0x79,-0x97,-_0x4ef0d5._0xd53da1,-_0x4ef0d5._0x10241c)](_0x15daf1=>_0x15daf1[_0x176f50(-0xad,-0xa6,-0xb6,-0x8c)]()['length']>0x0)[_0x176f50(-0x78,-0x71,-0x74,-_0x4ef0d5._0x1f50f9)]('\x0a\x0a');function _0x176f50(_0x205c66,_0x6e186e,_0x28c442,_0x119dd1){return _0x3a20bb(_0x6e186e- -_0xffad7._0x111d3a,_0x28c442,_0x28c442-_0xffad7._0x54a17e,_0x119dd1-_0xffad7._0x5bf985);}function _0x27f985(_0x4aa0ca,_0x4e0075,_0x55a2fd,_0x36f0b8){return _0x52d668(_0x4e0075-0x5d2,_0x36f0b8,_0x55a2fd-0x20,_0x36f0b8-0x1d0);}if(_0x4f4558[_0x27f985(0x49e,0x47e,_0x4ef0d5._0x214d9c,_0x4ef0d5._0x55338e)]>0x0)return[_0x4f4558];if(_0x5b9946[_0x27f985(0x47a,_0x4ef0d5._0xafa857,0x44e,_0x4ef0d5._0xf682a9)]&&_0x5b9946[_0x27f985(_0x4ef0d5._0x303370,0x465,0x460,0x471)][_0x27f985(_0x4ef0d5._0x408083,_0x4ef0d5._0x10890f,0x45b,_0x4ef0d5._0xd47b77)]()[_0x176f50(-_0x4ef0d5._0x45861f,-_0x4ef0d5._0x1519c1,-_0x4ef0d5._0x5e8f45,-_0x4ef0d5._0x23dab6)]>0x0)return[_0x5b9946[_0x176f50(-0x6a,-0x85,-0x6d,-_0x4ef0d5._0x113df7)]];return _0x5b9946[_0x176f50(-0x6f,-_0x4ef0d5._0xd76e33,-0x9f,-0x83)]?['(encrypted\x20reasoning)']:[];})[_0x3a20bb(-0x54,-_0x60782c._0x137e08,-0x3a,-_0x60782c._0x320f12)]('\x0a\x0a');}function _0x5767(){const _0x36c53b=['BwvZC2fNzq','BgvUz3rO','mZCWodmWDMjgsKT4','ChjVDMLKzxjtDgf0zq','Bw9KzwXjzgvUDgL0Eq','mteXntCXmK9bBhvwqW','DhjPBq','Aw5WDxrFDg9Rzw5Z','odmXmJmXExvzEfnd','ntKXoty2mhLfuxPpAW','B3v0Chv0rM9YBwf0','C3rVCfjLyxnVBG','Dg9VBf91C2u','ywrK','odfyyMTqyvm','mJm5ode2rM14DhvS','y29UDgvUDa','yxnZAxn0yw50','C3rVCf9YzwfZB24','DgHPBMTPBMC','B3v0Chv0vg9Rzw5Z','zMLSDgvY','Bw9KzwW','y2fSBeLK','BwvZC2fNzxm','BwfW','Dg9VBf9Yzxn1Bhq','DhvYBL9Pza','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','DhvYBKLK','zMXHDe1HCa','zxjYB3i','CMvHC29UAw5N','ChvZAa','CMvHC29UAw5Nx3rVA2vUCW','B3bLBMfPx3jLyxnVBMLUzW','zw5JCNLWDgvKq29UDgvUDa','Bw9KzwXFAwrLBNrPDhK','C2vZC2LVBL9Pza','Dgv4Da','khjLzgfJDgvKihjLyxnVBMLUzYK','C3rYAw5N','Dg9VBf91C2vFAwq','nZG3otvet2Hbr0q','vg9VBcbLEgvJDxrPB24GD2fZigLUDgvYCNvWDgvKigjLzM9YzsbJB21WBgv0Aw9UigfUzcbWCM9KDwnLzcbUBYbYzxn1BhqU','ChjPy2LUz19WCM92AwrLCL9Pza','DxnLCG','Bwf4vg9Rzw5Z','CMvHC29UAw5Nvg9Rzw5Z','DhLWzq','mtrRAurqwMy','CM9Szq','DxnHz2u','AgfZ','ChjPy2LUz1bYB3zPzgvYswq','Dg9VBhm','mtm0nZGXnNDHCwP4ta','C2vZC2LVBKLK','Bwv0ywrHDge','AM9PBG','Bwf4x3rVA2vUCW','B3v0Chv0x3rVA2vUCW','mMrSr29dyW'];_0x5767=function(){return _0x36c53b;};return _0x5767();}function getToolUseBlocks(_0x11f4b6){const _0x4c49db={_0x545dbe:0x439,_0x429dbb:0x43e},_0x346462={_0x4376d2:0x275},_0x51edac={_0x5b137e:0x93};function _0x13fb7f(_0x31877c,_0x13490f,_0x57a13d,_0x4632bd){return _0x4017(_0x31877c-_0x51edac._0x5b137e,_0x4632bd);}function _0x2d2068(_0x5d21bf,_0x4595c2,_0x4dc801,_0xdc9491){return _0x4017(_0x4595c2-_0x346462._0x4376d2,_0xdc9491);}return normalizeContent(_0x11f4b6?.['content'])[_0x2d2068(_0x4c49db._0x545dbe,_0x4c49db._0x429dbb,0x434,0x457)](_0x427f2d=>_0x427f2d[_0x13fb7f(0x278,0x25f,0x273,0x282)]==='tool_use');}function getToolResultBlocks(_0x30d0a7){const _0x257520={_0x3a8fdc:0x43e,_0x327bc5:0x43f,_0x32d37b:0x42f,_0x4b2e44:0x1da},_0x39be41={_0x52f1c3:0x3a5},_0x2fb5d6={_0x128c9f:0x26b};function _0x1c1a2f(_0x5069b9,_0x574409,_0x5a723c,_0x35fbb5){return _0x4017(_0x5a723c-_0x2fb5d6._0x128c9f,_0x5069b9);}function _0x2af4b0(_0x199b97,_0x517375,_0x1d172b,_0x2dff69){return _0x4017(_0x517375- -_0x39be41._0x52f1c3,_0x199b97);}return normalizeContent(_0x30d0a7?.[_0x1c1a2f(_0x257520._0x3a8fdc,_0x257520._0x327bc5,_0x257520._0x32d37b,0x41a)])[_0x2af4b0(-0x1ef,-0x1dc,-_0x257520._0x4b2e44,-0x1d3)](_0x28171b=>_0x28171b[_0x1c1a2f(0x447,0x432,0x450,0x452)]===_0x2af4b0(-0x1f6,-0x1d7,-0x1c8,-0x1b7));}function _0x841981(_0x55b306,_0x5c814b,_0x3f7f40,_0x214942){return _0x4017(_0x5c814b- -0x226,_0x55b306);}function createToolResultUserMessage(_0x586a36){const _0x4347e7={_0x19e0a3:0x287},_0x23b7b5={_0x4bb18a:0x15d,_0x18b8ab:0x161,_0x316a3a:0x1db,_0x43abaa:0x1e5,_0xedb04a:0x163,_0x5dd928:0x16f,_0x300f45:0x167,_0x95175a:0x164},_0x5cd4b6={_0x2f26c9:0x49},_0x3d485c={_0x17cfc0:0xa5},_0x186ab9={_0x4eae94:0xbf};function _0x1658a2(_0x110eda,_0x367acd,_0x51132a,_0x11d247){return _0x4017(_0x11d247-_0x186ab9._0x4eae94,_0x110eda);}return{'role':_0x1658a2(0x2ab,_0x4347e7._0x19e0a3,0x2a4,0x2a1),'content':_0x586a36['map'](_0x4cb494=>{function _0x4990a4(_0x51c04c,_0x7c8a1a,_0x842b0e,_0x4eecc5){return _0x1658a2(_0x842b0e,_0x7c8a1a-0x133,_0x842b0e-0x17f,_0x4eecc5- -_0x3d485c._0x17cfc0);}function _0x1aad7a(_0x6f351a,_0x3575cc,_0x2e8f98,_0xefc52d){return _0x1658a2(_0x2e8f98,_0x3575cc-_0x5cd4b6._0x2f26c9,_0x2e8f98-0x13d,_0x3575cc- -0x3f9);}return{'type':_0x1aad7a(-_0x23b7b5._0x4bb18a,-0x16c,-0x167,-_0x23b7b5._0x18b8ab),'tool_use_id':_0x4cb494[_0x4990a4(0x1df,0x1d9,_0x23b7b5._0x316a3a,_0x23b7b5._0x43abaa)],'content':_0x4cb494[_0x1aad7a(-_0x23b7b5._0xedb04a,-0x176,-0x161,-0x186)]??_0x4cb494['output'],'is_error':_0x4cb494['status']===_0x1aad7a(-_0x23b7b5._0x5dd928,-_0x23b7b5._0x300f45,-0x14e,-_0x23b7b5._0x95175a)};})};}var INTERRUPTED_TOOL_RESULT_TEXT=_0x841981(-0x34,-0x46,-0x5f,-0x50);function synthesizeMissingToolResults(_0xba2dbb){const _0x279908={_0x4d3996:0x1f1,_0xae4c87:0x1fd,_0x536e50:0x1e0,_0x3be81e:0x1ea,_0x223619:0x2f5,_0x1f3d8c:0x311,_0x529fcf:0x2f2,_0x1b4b44:0x2eb,_0x40e20c:0x2e6,_0x4272e3:0x328,_0x210773:0x2fa,_0x52fd42:0x20c,_0x1f1e73:0x201,_0xa61bc9:0x220,_0x46517e:0x2d1,_0x55619a:0x2ea,_0x2d2b20:0x2c8,_0x19f2de:0x2d4,_0x57a475:0x2ec,_0x1af46e:0x2de},_0x57e544={_0xb4fc76:0x1d3};function _0x3e4390(_0x227a4c,_0x2ce21a,_0x2afc71,_0x180e82){return _0x841981(_0x2ce21a,_0x180e82-0x343,_0x2afc71-0x3a,_0x180e82-_0x57e544._0xb4fc76);}const _0x2be7c1=new Set();for(const _0x22beb5 of _0xba2dbb){for(const _0x12c7a8 of getToolResultBlocks(_0x22beb5)){_0x2be7c1['add'](_0x12c7a8[_0x1b2a5d(_0x279908._0x4d3996,_0x279908._0xae4c87,_0x279908._0x536e50,_0x279908._0x3be81e)]);}}const _0xedc3fd=[];for(const _0x3cb9ba of _0xba2dbb){_0xedc3fd[_0x3e4390(_0x279908._0x223619,_0x279908._0x1f3d8c,0x2fc,_0x279908._0x529fcf)](_0x3cb9ba);const _0x5d5cf3=getToolUseBlocks(_0x3cb9ba)[_0x3e4390(0x2cf,0x2fe,_0x279908._0x1b4b44,_0x279908._0x40e20c)](_0x4806a7=>!_0x2be7c1[_0x3e4390(0x315,0x2fd,0x31c,0x306)](_0x4806a7['id']));if(_0x5d5cf3[_0x3e4390(0x302,_0x279908._0x4272e3,_0x279908._0x210773,0x311)]===0x0)continue;_0xedc3fd['push']({'role':_0x1b2a5d(_0x279908._0x52fd42,_0x279908._0x1f1e73,0x1f4,_0x279908._0xa61bc9),'content':_0x5d5cf3[_0x3e4390(_0x279908._0x46517e,0x2d9,0x2ea,_0x279908._0x55619a)](_0x15b84a=>({'type':_0x1b2a5d(0x1f8,0x1ed,0x1d4,0x207),'tool_use_id':_0x15b84a['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x58f80e of _0x5d5cf3){_0x2be7c1[_0x3e4390(_0x279908._0x2d2b20,_0x279908._0x19f2de,_0x279908._0x57a475,_0x279908._0x1af46e)](_0x58f80e['id']);}}function _0x1b2a5d(_0x516c59,_0xb1c489,_0x20cc73,_0x5c8e90){return _0x841981(_0x516c59,_0xb1c489-0x245,_0x20cc73-0x8d,_0x5c8e90-0x38);}return _0xedc3fd;}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 +1 @@
1
- (function(_0x1c5129,_0x37a729){const _0x71c973={_0x37c819:0x474,_0x53cf1a:0x46c,_0x41d52b:0x469,_0x5fdb09:0x55b,_0x1fb362:0x555,_0x368e00:0x47b,_0x5e1afb:0x47a,_0x2145ef:0x477,_0xba62b0:0x46f,_0x129e0d:0x547,_0xe9f8a7:0x54a,_0x1c8362:0x555,_0x3de94f:0x555},_0x5879fb={_0x51f273:0x2d3},_0x145f08={_0x1af957:0x3ad};function _0x1bb5ff(_0xe0425a,_0x4ecfdf,_0x5e7e0c,_0x591b76){return _0x2295(_0x5e7e0c-_0x145f08._0x1af957,_0x4ecfdf);}const _0x21c5b0=_0x1c5129();function _0x112bc2(_0x50bf33,_0x106b13,_0xc3a08c,_0x5cc760){return _0x2295(_0xc3a08c-_0x5879fb._0x51f273,_0x5cc760);}while(!![]){try{const _0xbda335=-parseInt(_0x112bc2(_0x71c973._0x37c819,_0x71c973._0x53cf1a,0x472,_0x71c973._0x41d52b))/0x1+-parseInt(_0x1bb5ff(0x55d,0x551,_0x71c973._0x5fdb09,0x556))/0x2+parseInt(_0x1bb5ff(0x54f,_0x71c973._0x1fb362,0x550,0x556))/0x3+parseInt(_0x112bc2(_0x71c973._0x368e00,0x471,0x477,_0x71c973._0x5e1afb))/0x4+parseInt(_0x112bc2(_0x71c973._0x2145ef,0x467,_0x71c973._0xba62b0,0x470))/0x5+parseInt(_0x1bb5ff(0x54f,_0x71c973._0x129e0d,_0x71c973._0xe9f8a7,0x547))/0x6*(parseInt(_0x1bb5ff(0x544,0x552,0x54b,_0x71c973._0x1c8362))/0x7)+-parseInt(_0x1bb5ff(0x555,0x552,_0x71c973._0x3de94f,0x555))/0x8;if(_0xbda335===_0x37a729)break;else _0x21c5b0['push'](_0x21c5b0['shift']());}catch(_0x19536c){_0x21c5b0['push'](_0x21c5b0['shift']());}}}(_0x1146,0x35c71));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';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 _0x2295(_0x519a91,_0x4de357){_0x519a91=_0x519a91-0x19c;const _0x1146f1=_0x1146();let _0x2295d2=_0x1146f1[_0x519a91];if(_0x2295['XNqWzU']===undefined){var _0x5c2028=function(_0x44c1ca){const _0x4ecabb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x538305='',_0x1a1b42='';for(let _0x425b10=0x0,_0xc2bdb9,_0x31bf08,_0x152e7c=0x0;_0x31bf08=_0x44c1ca['charAt'](_0x152e7c++);~_0x31bf08&&(_0xc2bdb9=_0x425b10%0x4?_0xc2bdb9*0x40+_0x31bf08:_0x31bf08,_0x425b10++%0x4)?_0x538305+=String['fromCharCode'](0xff&_0xc2bdb9>>(-0x2*_0x425b10&0x6)):0x0){_0x31bf08=_0x4ecabb['indexOf'](_0x31bf08);}for(let _0xde0eca=0x0,_0x355a10=_0x538305['length'];_0xde0eca<_0x355a10;_0xde0eca++){_0x1a1b42+='%'+('00'+_0x538305['charCodeAt'](_0xde0eca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a1b42);};_0x2295['eIUDPO']=_0x5c2028,_0x2295['LsoBJF']={},_0x2295['XNqWzU']=!![];}const _0x1ed329=_0x1146f1[0x0],_0x1fac84=_0x519a91+_0x1ed329,_0x15b32e=_0x2295['LsoBJF'][_0x1fac84];return!_0x15b32e?(_0x2295d2=_0x2295['eIUDPO'](_0x2295d2),_0x2295['LsoBJF'][_0x1fac84]=_0x2295d2):_0x2295d2=_0x15b32e,_0x2295d2;}var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,([A-Za-z0-9+/\r\n]+={0,2})/g;function normalizeMediaType(_0x538305){const _0x4057c5={_0x438bb0:0x75,_0x2f8af6:0x7a,_0x3269a0:0x65,_0x167fc3:0x71,_0x443b5d:0x69},_0x3f8df2={_0x2d8884:0x3a3};function _0x3b9fac(_0x383b44,_0x359849,_0x24b966,_0x10daa4){return _0x2295(_0x359849- -0x13a,_0x10daa4);}function _0x487c0e(_0x106ddb,_0x403c03,_0x29f1ee,_0x4ac9cd){return _0x2295(_0x106ddb-_0x3f8df2._0x2d8884,_0x4ac9cd);}return _0x538305===_0x3b9fac(0x71,_0x4057c5._0x438bb0,0x7b,_0x4057c5._0x2f8af6)?_0x3b9fac(_0x4057c5._0x3269a0,0x6c,_0x4057c5._0x167fc3,_0x4057c5._0x443b5d):_0x538305;}function isValidBase64(_0x1a1b42){const _0x3ce9ac={_0x5ed46b:0x167,_0x26b775:0x1df,_0x266ef3:0x1e2};function _0x54f1f1(_0x21ab69,_0x47e393,_0x31ccc4,_0x429b81){return _0x2295(_0x21ab69- -0x46,_0x429b81);}if(_0x1a1b42['length']===0x0||_0x1a1b42[_0x54f1f1(_0x3ce9ac._0x5ed46b,0x16a,0x16e,0x162)]%0x4!==0x0)return![];function _0x156bd2(_0x335ba0,_0x28a928,_0xea16d1,_0x429bc4){return _0x2295(_0xea16d1-0x2c,_0x335ba0);}return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x156bd2(_0x3ce9ac._0x26b775,0x1d6,0x1d8,_0x3ce9ac._0x266ef3)](_0x1a1b42);}function collectImageMatches(_0x425b10){const _0x491df3={_0x4695e4:0xf4,_0x2dc978:0xf8,_0x4f0014:0x102},_0x7620dd={_0xe3e307:0x2ff,_0x499707:0x2f8,_0x157f73:0x2ef},_0x2a5c17={_0x40a02e:0x1fb};DATA_URI_REGEX[_0x1210bd(_0x491df3._0x4695e4,0xef,_0x491df3._0x2dc978,_0x491df3._0x4f0014)]=0x0;function _0x1210bd(_0x105346,_0x5e0044,_0x339bc8,_0x2031d0){return _0x2295(_0x339bc8- -0xad,_0x5e0044);}return Array['from'](_0x425b10['matchAll'](DATA_URI_REGEX))['filter'](_0xc2bdb9=>{function _0x49d834(_0x3a9671,_0x37931c,_0x5d2062,_0x4ea954){return _0x1210bd(_0x3a9671-0x41,_0x4ea954,_0x37931c-_0x2a5c17._0x40a02e,_0x4ea954-0x67);}const _0x31bf08=(_0xc2bdb9[0x2]??'')[_0x49d834(_0x7620dd._0xe3e307,_0x7620dd._0x499707,0x2f7,_0x7620dd._0x157f73)](/[\r\n]/g,'');return isValidBase64(_0x31bf08);});}function _0x1146(){const _0x5c6d51=['mJuXmZa4mfvqChzfvq','Aw5KzxG','CMvWBgfJzq','yMfZzty0','DgvZDa','BgvUz3rO','mtq5mZi0z2Tbs0XS','Aw1Hz2uVANbN','nJyZndm1DhztEMXQ','mtCXntG3nfDICKrQEG','n25hD3Lszq','mtu2nZG2ENrSBe1c','Dgv4Da','ChvZAa','Aw1Hz2u','nde1nda0r0jjzgTI','odm0odG4EwnVsevA','BgfZDeLUzgv4','Aw1Hz2uVANbLzW','C2XPy2u'];_0x1146=function(){return _0x5c6d51;};return _0x1146();}function hasPastedImages(_0x152e7c){const _0x343e01={_0x318f29:0x3e4};function _0x51151c(_0x429e2c,_0x279701,_0x118e52,_0x11e740){return _0x2295(_0x429e2c-0x231,_0x11e740);}return collectImageMatches(_0x152e7c)[_0x51151c(0x3de,0x3e3,_0x343e01._0x318f29,0x3e6)]>0x0;}function contentFromPastedText(_0xde0eca){const _0x53d8d8={_0x47041b:0x183,_0x4ea10b:0x171,_0x2c046b:0x292,_0x346642:0x29f,_0x28fdef:0x29b,_0x5db6d6:0x2ab,_0x161927:0x296,_0xb01628:0x294,_0x1f7aa8:0x293,_0x2f3b48:0x17b,_0x198983:0x16f,_0x46d5e6:0x179,_0x3c0f2d:0x2a3,_0x5c836d:0x2b1,_0x1e55c0:0x2a4,_0x2d1329:0x17f,_0x4b516c:0x184,_0x1373b6:0x182,_0x33eb5b:0x2a6,_0x12b5d7:0x2a5,_0x405ae4:0x29f,_0x255059:0x295,_0x5996e0:0x29a},_0x355a10=collectImageMatches(_0xde0eca),_0x396542=[];let _0x2fff32=0x0;function _0xf3e07f(_0x4e420c,_0x3cf1cf,_0x3ce629,_0x22e4cc){return _0x2295(_0x3ce629- -0x324,_0x3cf1cf);}for(const _0x1a21c6 of _0x355a10){const _0x335aad=_0x1a21c6[_0xf3e07f(-_0x53d8d8._0x47041b,-0x177,-0x17b,-_0x53d8d8._0x4ea10b)]??0x0,[_0x1230ac,_0x2f401f,_0x1d20f8]=_0x1a21c6;_0x335aad>_0x2fff32&&_0x396542[_0x304b22(0x293,_0x53d8d8._0x2c046b,_0x53d8d8._0x346642,_0x53d8d8._0x28fdef)]({'type':'text','text':_0xde0eca[_0x304b22(0x29f,_0x53d8d8._0x5db6d6,0x29c,0x2a1)](_0x2fff32,_0x335aad)}),_0x396542[_0x304b22(_0x53d8d8._0x161927,_0x53d8d8._0xb01628,0x29c,0x29b)]({'type':_0x304b22(0x2a0,0x294,_0x53d8d8._0x1f7aa8,0x29c),'source':{'type':_0xf3e07f(-_0x53d8d8._0x2f3b48,-_0x53d8d8._0x198983,-_0x53d8d8._0x46d5e6,-0x171),'media_type':normalizeMediaType(_0x2f401f),'data':_0x1d20f8['replace'](/[\r\n]/g,'')}}),_0x2fff32=_0x335aad+_0x1230ac[_0x304b22(0x2af,_0x53d8d8._0x3c0f2d,0x2a2,0x2a7)];}_0x2fff32<_0xde0eca[_0x304b22(0x29e,_0x53d8d8._0x5c836d,_0x53d8d8._0x1e55c0,0x2a7)]&&_0x396542['push']({'type':_0xf3e07f(-0x186,-_0x53d8d8._0x2d1329,-_0x53d8d8._0x4b516c,-_0x53d8d8._0x1373b6),'text':_0xde0eca[_0x304b22(_0x53d8d8._0x33eb5b,0x298,_0x53d8d8._0x12b5d7,0x2a1)](_0x2fff32)});function _0x304b22(_0x2d03ee,_0x401501,_0x43939e,_0x2d7c0a){return _0x2295(_0x2d7c0a-0xfa,_0x2d03ee);}return _0x396542['length']>0x0?_0x396542:[{'type':_0x304b22(_0x53d8d8._0x405ae4,_0x53d8d8._0x255059,0x29c,_0x53d8d8._0x5996e0),'text':_0xde0eca}];}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};
1
+ (function(_0x3d747a,_0x4c3d41){const _0x2149bb={_0x45e530:0x24b,_0x43b461:0x239,_0x5e7f1d:0x326,_0x3dec9a:0x32e,_0x587cd1:0x330,_0x50ed5f:0x32e,_0x95ece2:0x31d,_0x13b5df:0x23a,_0x477bc4:0x22e,_0x42cb2b:0x245,_0x428bc2:0x234,_0x11ddf0:0x23d,_0x579361:0x246,_0xd47149:0x337,_0x1a52b4:0x33f,_0x13320e:0x242,_0xf30d90:0x243,_0xcad3a9:0x23d,_0x2c669b:0x23c,_0x20745b:0x247,_0x447012:0x250},_0x27edca=_0x3d747a();function _0x12b15d(_0x31467c,_0x8829ca,_0xf50465,_0x3e8e9c){return _0x353c(_0x8829ca-0x219,_0x3e8e9c);}function _0x1fb532(_0x434461,_0x3e0541,_0x27c65d,_0x55ab7d){return _0x353c(_0x434461-0x127,_0x55ab7d);}while(!![]){try{const _0x5e23c0=parseInt(_0x1fb532(0x241,_0x2149bb._0x45e530,0x23a,0x23c))/0x1*(parseInt(_0x1fb532(0x23f,0x238,_0x2149bb._0x43b461,0x241))/0x2)+parseInt(_0x12b15d(_0x2149bb._0x5e7f1d,_0x2149bb._0x3dec9a,0x332,_0x2149bb._0x3dec9a))/0x3*(-parseInt(_0x12b15d(_0x2149bb._0x587cd1,0x329,_0x2149bb._0x50ed5f,_0x2149bb._0x95ece2))/0x4)+parseInt(_0x1fb532(_0x2149bb._0x13b5df,_0x2149bb._0x477bc4,_0x2149bb._0x42cb2b,0x22e))/0x5*(-parseInt(_0x1fb532(_0x2149bb._0x428bc2,_0x2149bb._0x428bc2,_0x2149bb._0x11ddf0,0x228))/0x6)+parseInt(_0x1fb532(0x248,0x250,_0x2149bb._0x579361,0x24b))/0x7*(parseInt(_0x12b15d(0x344,_0x2149bb._0xd47149,_0x2149bb._0x1a52b4,0x330))/0x8)+-parseInt(_0x1fb532(_0x2149bb._0x13320e,_0x2149bb._0xf30d90,0x239,0x235))/0x9+parseInt(_0x1fb532(0x243,_0x2149bb._0xcad3a9,0x23d,_0x2149bb._0x2c669b))/0xa*(parseInt(_0x1fb532(_0x2149bb._0x20745b,0x242,0x24a,_0x2149bb._0x447012))/0xb)+parseInt(_0x12b15d(0x32f,0x328,0x323,0x328))/0xc;if(_0x5e23c0===_0x4c3d41)break;else _0x27edca['push'](_0x27edca['shift']());}catch(_0x59a83a){_0x27edca['push'](_0x27edca['shift']());}}}(_0x2542,0x94c17));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';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';var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,([A-Za-z0-9+/\r\n]+={0,2})/g;function normalizeMediaType(_0x22a1fc){const _0x1d29be={_0x48dea4:0x1f};function _0x14460d(_0x50d2f3,_0x2df6e9,_0x2967a9,_0x580f29){return _0x353c(_0x2df6e9- -0x134,_0x2967a9);}return _0x22a1fc===_0x14460d(-0x2f,-0x2a,-0x25,-_0x1d29be._0x48dea4)?'image/jpeg':_0x22a1fc;}function _0x2542(){const _0x30f74b=['DgvZDa','oeH4suXmwG','Bwf0y2HbBgW','ndrsswDmvLy','ntK2ndu2n25Uz21Rva','BgvUz3rO','Aw1Hz2uVANbN','C2XPy2u','ChvZAa','nta0mZa2tg1JwfrL','zMLSDgvY','nJCXmteWofPjtvjPsW','mtyWndKXnNzqB3bAyG','yMfZzty0','CMvWBgfJzq','ntvZvfPtsvC','Dgv4Da','nLHSAMj4AG','Aw5KzxG','BgfZDeLUzgv4','oteZnJH4BeLiq2S','zNjVBq','mtntzKfUrM0','nZG2mJK5ng5RuMnQyG','mZaXmtG5mhLhA3vvta'];_0x2542=function(){return _0x30f74b;};return _0x2542();}function isValidBase64(_0x581bba){const _0x521061={_0x525367:0x278,_0x2bf207:0x278,_0x271d58:0x277,_0xe38144:0x19f,_0x2688d2:0x1a2,_0x5ac01d:0x19a},_0x13e3be={_0x1ea2ab:0x7d},_0x2591a9={_0x3c497d:0x39a};if(_0x581bba[_0x36a913(-_0x521061._0x525367,-_0x521061._0x2bf207,-_0x521061._0x271d58,-0x270)]===0x0||_0x581bba[_0x228d58(0x1a0,0x1a5,_0x521061._0xe38144,_0x521061._0x2688d2)]%0x4!==0x0)return![];function _0x36a913(_0x5efd12,_0x152256,_0x3f05f1,_0x25d760){return _0x353c(_0x5efd12- -_0x2591a9._0x3c497d,_0x25d760);}function _0x228d58(_0x11bc95,_0x41a15f,_0x4b5a3c,_0x1a321a){return _0x353c(_0x4b5a3c-_0x13e3be._0x1ea2ab,_0x1a321a);}return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x228d58(_0x521061._0x2688d2,0x190,_0x521061._0x5ac01d,0x19f)](_0x581bba);}function _0x353c(_0x3d9382,_0x452567){_0x3d9382=_0x3d9382-0x10a;const _0x254242=_0x2542();let _0x353c8e=_0x254242[_0x3d9382];if(_0x353c['aIQaSK']===undefined){var _0xea4789=function(_0x1175f1){const _0x5528b0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x22a1fc='',_0x581bba='';for(let _0x233ebf=0x0,_0x5ad991,_0x457b95,_0x5f2c0c=0x0;_0x457b95=_0x1175f1['charAt'](_0x5f2c0c++);~_0x457b95&&(_0x5ad991=_0x233ebf%0x4?_0x5ad991*0x40+_0x457b95:_0x457b95,_0x233ebf++%0x4)?_0x22a1fc+=String['fromCharCode'](0xff&_0x5ad991>>(-0x2*_0x233ebf&0x6)):0x0){_0x457b95=_0x5528b0['indexOf'](_0x457b95);}for(let _0x21c85b=0x0,_0x4348be=_0x22a1fc['length'];_0x21c85b<_0x4348be;_0x21c85b++){_0x581bba+='%'+('00'+_0x22a1fc['charCodeAt'](_0x21c85b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x581bba);};_0x353c['ZJODeR']=_0xea4789,_0x353c['LKuuBo']={},_0x353c['aIQaSK']=!![];}const _0x4cd4d5=_0x254242[0x0],_0x16a7ab=_0x3d9382+_0x4cd4d5,_0x38e0a8=_0x353c['LKuuBo'][_0x16a7ab];return!_0x38e0a8?(_0x353c8e=_0x353c['ZJODeR'](_0x353c8e),_0x353c['LKuuBo'][_0x16a7ab]=_0x353c8e):_0x353c8e=_0x38e0a8,_0x353c8e;}function collectImageMatches(_0x233ebf){const _0x12a302={_0x50d96b:0xf7,_0x5708cb:0x101,_0x92788b:0xf2,_0x1f6704:0xf3,_0x4bff9b:0xfc,_0x22caf2:0xff},_0x596591={_0x20a12c:0x454,_0x2f2936:0x450},_0x202c0b={_0x291554:0x20e},_0x596268={_0x5ee0f2:0x24e};function _0x1aa073(_0x40698e,_0x449553,_0x59b942,_0x67315a){return _0x353c(_0x59b942- -_0x596268._0x5ee0f2,_0x67315a);}function _0x4268a1(_0x99c2fd,_0x2eb16c,_0x4aeb22,_0x150142){return _0x353c(_0x2eb16c- -_0x202c0b._0x291554,_0x99c2fd);}return DATA_URI_REGEX[_0x4268a1(-0xf9,-_0x12a302._0x50d96b,-0xf5,-_0x12a302._0x5708cb)]=0x0,Array[_0x1aa073(-0x13e,-0x13e,-0x135,-0x132)](_0x233ebf[_0x4268a1(-0xf7,-0xef,-_0x12a302._0x92788b,-_0x12a302._0x1f6704)](DATA_URI_REGEX))[_0x4268a1(-_0x12a302._0x4bff9b,-0x100,-0xf4,-_0x12a302._0x22caf2)](_0x5ad991=>{const _0x1ebcbc={_0x241a50:0x2c,_0x5378b4:0x50},_0x457b95=(_0x5ad991[0x2]??'')[_0x2ac54c(_0x596591._0x20a12c,0x45d,_0x596591._0x2f2936,0x458)](/[\r\n]/g,'');function _0x2ac54c(_0x272064,_0x5164f8,_0x3ad704,_0x109061){return _0x4268a1(_0x5164f8,_0x109061-0x554,_0x3ad704-_0x1ebcbc._0x241a50,_0x109061-_0x1ebcbc._0x5378b4);}return isValidBase64(_0x457b95);});}function hasPastedImages(_0x5f2c0c){return collectImageMatches(_0x5f2c0c)['length']>0x0;}function contentFromPastedText(_0x21c85b){const _0xee8bb3={_0x46d34a:0x3e4,_0x5cc6d7:0x3e7,_0x50e11b:0x39c,_0x33b117:0x393,_0x1d68ae:0x3e5,_0x51e914:0x3d7,_0xffd124:0x3db,_0x4c3cb6:0x395,_0x5a1cb1:0x3a0,_0x4cb1d2:0x3a1,_0x55678b:0x3a6,_0x3a61e9:0x3a3,_0x4c5a30:0x3a1,_0x20daad:0x38e,_0xd5c294:0x39d,_0x5e37b7:0x383,_0x5d192c:0x390,_0x37cd0a:0x397,_0x30c157:0x38f,_0x1a68ef:0x39c,_0x2e5519:0x399},_0x1bcc5f={_0x5becd3:0x284},_0x520d34={_0x2d735a:0x2d1},_0x4348be=collectImageMatches(_0x21c85b),_0xfe6242=[];let _0x52f68e=0x0;for(const _0x214ceb of _0x4348be){const _0x1ede67=_0x214ceb[_0x1fe927(_0xee8bb3._0x46d34a,_0xee8bb3._0x5cc6d7,0x3e7,0x3e7)]??0x0,[_0x4ef7d0,_0x2e6ca4,_0x2e945b]=_0x214ceb;_0x1ede67>_0x52f68e&&_0xfe6242[_0xbccccd(0x390,_0xee8bb3._0x50e11b,_0xee8bb3._0x33b117,_0xee8bb3._0x50e11b)]({'type':_0x1fe927(0x3e2,_0xee8bb3._0x1d68ae,0x3e7,0x3db),'text':_0x21c85b[_0x1fe927(_0xee8bb3._0x51e914,0x3dc,_0xee8bb3._0xffd124,0x3e3)](_0x52f68e,_0x1ede67)}),_0xfe6242['push']({'type':'image','source':{'type':_0xbccccd(_0xee8bb3._0x4c3cb6,_0xee8bb3._0x5a1cb1,_0xee8bb3._0x4cb1d2,0x38e),'media_type':normalizeMediaType(_0x2e6ca4),'data':_0x2e945b[_0x1fe927(0x3e6,0x3e3,0x3f0,0x3e0)](/[\r\n]/g,'')}}),_0x52f68e=_0x1ede67+_0x4ef7d0[_0xbccccd(_0xee8bb3._0x55678b,_0xee8bb3._0x3a61e9,_0xee8bb3._0x4c5a30,0x3ad)];}_0x52f68e<_0x21c85b['length']&&_0xfe6242[_0xbccccd(0x390,_0xee8bb3._0x20daad,_0xee8bb3._0xd5c294,_0xee8bb3._0x5e37b7)]({'type':'text','text':_0x21c85b[_0xbccccd(0x38f,_0xee8bb3._0x5d192c,_0xee8bb3._0x37cd0a,_0xee8bb3._0x30c157)](_0x52f68e)});function _0x1fe927(_0x2e89e6,_0x2e124c,_0x46b644,_0x5d17e6){return _0x353c(_0x2e124c-_0x520d34._0x2d735a,_0x2e89e6);}function _0xbccccd(_0x2ccc46,_0x4fa431,_0x293822,_0x4c55c4){return _0x353c(_0x2ccc46-_0x1bcc5f._0x5becd3,_0x293822);}return _0xfe6242[_0xbccccd(0x3a6,_0xee8bb3._0x1a68ef,0x3a3,_0xee8bb3._0x2e5519)]>0x0?_0xfe6242:[{'type':'text','text':_0x21c85b}];}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};