mirror of
https://github.com/Wx-2025/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 22:05:50 +00:00
2 lines
16 KiB
JavaScript
2 lines
16 KiB
JavaScript
const _0xcd48a0=_0x2188;(function(_0x1e9375,_0xc42294){const _0x29331f=_0x2188,_0x13c443=_0x1e9375();while(!![]){try{const _0xdba292=parseInt(_0x29331f(0xcb))/0x1*(-parseInt(_0x29331f(0xbc))/0x2)+parseInt(_0x29331f(0x10d))/0x3+parseInt(_0x29331f(0x10e))/0x4+-parseInt(_0x29331f(0xc6))/0x5+-parseInt(_0x29331f(0xc1))/0x6+-parseInt(_0x29331f(0xb8))/0x7*(-parseInt(_0x29331f(0x11d))/0x8)+parseInt(_0x29331f(0x9b))/0x9*(parseInt(_0x29331f(0xb6))/0xa);if(_0xdba292===_0xc42294)break;else _0x13c443['push'](_0x13c443['shift']());}catch(_0x94ba7b){_0x13c443['push'](_0x13c443['shift']());}}}(_0x4fee,0x2ce93));import{extension_settings,getContext}from'/scripts/extensions.js';import{characters}from'/script.js';import{world_names}from'/scripts/world-info.js';import{extensionName}from'../utils/settings.js';import{extractContentByTag,replaceContentByTag,extractFullTagBlock}from'../utils/tagProcessor.js';import{getCombinedWorldbookContent,findLatestSummaryLore,DEDICATED_LOREBOOK_NAME,getChatIdentifier}from'./lore.js';function _0x2188(_0x443b78,_0x36c50c){const _0x4fee97=_0x4fee();return _0x2188=function(_0x2188a7,_0x4a45f9){_0x2188a7=_0x2188a7-0x8e;let _0x4331df=_0x4fee97[_0x2188a7];return _0x4331df;},_0x2188(_0x443b78,_0x36c50c);}const UPDATE_CHECK_URL=_0xcd48a0(0x111);function _0x4fee(){const _0x86f366=['YourUsername','[上下文参考]:\x0a','\x20|\x20模式:\x20','loreActivationMode','/v1beta/openai','X-Custom-Proxy','任务成功','36ooeuME','maxTokens','\x20-\x20','error','无法解析错误响应','API\x20URL\x20未配置。','val','audio','href','similarity','[Amily2号-使节团]\x20第\x20','获取模型','请严格遵循以下指令:基于所有提供的背景和对话内容,生成一段精炼的剧情摘要。直接输出摘要文本,不要包含任何多余的解释、标签或前缀。\x0a\x0a[总结核心要求]:\x0a','[Amily2号-外交部]\x20已派遣使者前往云端获取最新情报...','AMILY2_SYSTEM_PARALYZED',')\x20...','X-goog-api-key','\x20位使节\x20(Key:\x20...','hostname','empty','/chat/completions','[Amily2号-使节团]\x20失败详情汇总:\x0a','apiUrl','json','toLocaleTimeString','陛下,请先赐予\x20API\x20地址与至少一枚\x20API\x20Key。','statusText','2434400FNmRJI','dir','588IrSJWI','groupCollapsed','[Amily2-外交部]\x20已将史册律法附加至国书,准备发往下一站。','summarizationPrompt','212746fpHnph','trim','<i\x20class=\x22fas\x20fa-sync-alt\x22></i>\x20刷新模型','pathname','location','2053296kVYaVj','slice','[Amily2号-外交部]\x20最终国书将发往:\x20','isArray','未知的模型列表格式','1798130VkWDCm','Bearer\x20','disabled','Amily2-外交部','\x20失败:\x20','3gXZSmU','Authorization','apiKey','mainPrompt','replace','/v1','success','groupEnd','lorebookTarget','Amily2-ChatPlugin','loreDepth','#amily2_api_key','user','optimizationEnabled','split','[世界书档案]:\x0a','获取模型失败','[Amily2号-外交部]\x20紧急军情:外交任务失败!','application/json','system','cors','loreInsertionPosition','成功获取\x20','timeEnd','models','summarizationEnabled','[输出格式与附加任务指令]:\x0a你的输出必须严格遵循以下完整结构:\x0a\x0a','worldbookEnabled','push','temperature','world','严重错误','[Amily2号-外交部]\x20使节团尝试使用地址:','love.qinyan.xyz','<option>','time','substring','name1','endsWith','origin','mes','API\x20Key无效','GET','[Amily2号-外交部]\x20情报已成功获取并解析。','\x20个模型!','search','生成一段简短的剧情摘要。','/models','\x0a\x0a###AMILY2-SUMMARY###\x0a\x0a这里是根据对话生成的剧情摘要...\x0a\x0a[总结核心要求]:\x0a','API请求失败:\x20','+总结','status','[Amily2-外交部]\x20目标标签\x20<','choices','Amily2号任务失败:\x20','message','#amily2_model','[Amily2-外交部]\x20发生严重错误:','远方服务器响应异常,状态:\x20','append','loreKeywords','characterId','正在轮换使节团获取模型...','#amily2_api_url','no-store','name','94425GLdDCx','644836xdDNXD','[核心处理内容]:\x0a','#amily2_refresh_models','https://raw.githubusercontent.com/Wx-2025/ST-Amily2-Chat-Optimisation/refs/heads/main/amily2_update_info.json','API返回错误:\x20','Key\x20...','html','string','is_user','外交任务失败','\x20位使节成功带回\x20','length','prop','filter','includes','3664aLevlh','data','[Amily2号-外交任务]\x20','text','外交任务总耗时','info','所有使节均未能完成任务。详情请见控制台(F12)。','join','\x20个Key)','loreSettings','log','这里是优化后的文本内容...','\x20位使节任务失败:','optimizationTargetTag','map','\x20个模型\x20(使用第\x20'];_0x4fee=function(){return _0x86f366;};return _0x4fee();}export async function checkForUpdates(){const _0x4b8bba=_0xcd48a0;if(!UPDATE_CHECK_URL||UPDATE_CHECK_URL[_0x4b8bba(0x11c)](_0x4b8bba(0x94)))return console[_0x4b8bba(0x8e)]('[Amily2号-外交部]\x20任务取消:陛下尚未配置情报来源URL。'),null;try{console['log'](_0x4b8bba(0xa8));const _0x304fb6=await fetch(UPDATE_CHECK_URL,{'method':_0x4b8bba(0xf5),'cache':_0x4b8bba(0x10b),'mode':_0x4b8bba(0xdf)});if(!_0x304fb6['ok'])throw new Error(_0x4b8bba(0x105)+_0x304fb6[_0x4b8bba(0xfe)]);const _0x280fb5=await _0x304fb6[_0x4b8bba(0xb2)]();return console[_0x4b8bba(0x8e)](_0x4b8bba(0xf6)),_0x280fb5;}catch(_0x4a1827){return console[_0x4b8bba(0x9e)](_0x4b8bba(0xdc),_0x4a1827),null;}}let isFetchingModels=![];export async function fetchSupportedModels(){const _0x5a25f3=_0xcd48a0;if(isFetchingModels)return toastr[_0x5a25f3(0x122)]('正在获取模型列表,请稍候...',_0x5a25f3(0xa6)),[];const _0x5420a6=$(_0x5a25f3(0x10a))[_0x5a25f3(0xa1)]()[_0x5a25f3(0xbd)](),_0x36658d=$(_0x5a25f3(0xd6))[_0x5a25f3(0xa1)]()['trim'](),_0x15b2c8=$(_0x5a25f3(0x110)),_0x242b61=$(_0x5a25f3(0x103));if(!_0x5420a6||!_0x36658d)return toastr['error'](_0x5a25f3(0xb4),'配置缺失'),[];isFetchingModels=!![],_0x15b2c8['prop'](_0x5a25f3(0xc8),!![])[_0x5a25f3(0x114)]('<i\x20class=\x22fas\x20fa-spinner\x20fa-spin\x22></i>\x20加载中'),_0x242b61[_0x5a25f3(0xae)]()[_0x5a25f3(0x106)]($('<option>',{'value':'','text':_0x5a25f3(0x109)}));const _0x5f7baa=_0x36658d['split'](',')['map'](_0x51cceb=>_0x51cceb['trim']())[_0x5a25f3(0x11b)](Boolean);if(_0x5f7baa['length']===0x0)return toastr['error']('陛下,您提供的\x20API\x20Key\x20无效或为空。',_0x5a25f3(0xf4)),_0x242b61[_0x5a25f3(0xae)]()['append']($(_0x5a25f3(0xed),{'value':'','text':_0x5a25f3(0xf4)})),isFetchingModels=![],_0x15b2c8['prop'](_0x5a25f3(0xc8),![])[_0x5a25f3(0x114)](_0x5a25f3(0xbe)),[];const _0xae1c44=[];for(let _0x5f1b0f=0x0;_0x5f1b0f<_0x5f7baa[_0x5a25f3(0x119)];_0x5f1b0f++){const _0x49dedf=_0x5f7baa[_0x5f1b0f];console[_0x5a25f3(0x8e)]('[Amily2号-使节团]\x20派遣第\x20'+(_0x5f1b0f+0x1)+'/'+_0x5f7baa[_0x5a25f3(0x119)]+_0x5a25f3(0xac)+_0x49dedf[_0x5a25f3(0xc2)](-0x4)+_0x5a25f3(0xaa));try{let _0x2430a0;const _0x4ddcd8=new URL(_0x5420a6);if(_0x4ddcd8[_0x5a25f3(0xad)][_0x5a25f3(0x11c)]('generativelanguage.googleapis.com'))_0x4ddcd8['pathname']='/v1beta/models',_0x2430a0=_0x4ddcd8[_0x5a25f3(0xa3)];else{let _0x5e69af=_0x4ddcd8[_0x5a25f3(0xbf)];if(_0x5e69af[_0x5a25f3(0xf1)]('/v1/chat/completions'))_0x5e69af=_0x5e69af[_0x5a25f3(0xef)](0x0,_0x5e69af['length']-_0x5a25f3(0xaf)['length']);else{if(_0x5e69af[_0x5a25f3(0xf1)]('/v1/'))_0x5e69af=_0x5e69af['slice'](0x0,-0x1);else!_0x5e69af[_0x5a25f3(0xf1)](_0x5a25f3(0xd0))&&(_0x5e69af=_0x5e69af['replace'](/\/$/,'')+_0x5a25f3(0xd0));}_0x4ddcd8[_0x5a25f3(0xbf)]=_0x5e69af[_0x5a25f3(0xcf)](/\/$/,'')+_0x5a25f3(0xfa),_0x2430a0=_0x4ddcd8[_0x5a25f3(0xa3)];}console[_0x5a25f3(0x8e)](_0x5a25f3(0xeb),_0x2430a0);const _0x3bcf62={'Content-Type':'application/json','Accept':_0x5a25f3(0xdd)};_0x2430a0[_0x5a25f3(0x11c)]('generativelanguage.googleapis.com')?_0x3bcf62[_0x5a25f3(0xab)]=_0x49dedf:_0x3bcf62[_0x5a25f3(0xcc)]=_0x5a25f3(0xc7)+_0x49dedf;_0x2430a0[_0x5a25f3(0x11c)](_0x5a25f3(0xec))&&(_0x3bcf62[_0x5a25f3(0x99)]=_0x5a25f3(0xd4),_0x3bcf62['Origin']=window[_0x5a25f3(0xc0)][_0x5a25f3(0xf2)]);const _0x37f957=await fetch(_0x2430a0,{'method':_0x5a25f3(0xf5),'headers':_0x3bcf62,'mode':_0x5a25f3(0xdf),'credentials':'omit'});if(!_0x37f957['ok']){let _0x368148='';try{const _0x5cda51=await _0x37f957[_0x5a25f3(0xb2)]();_0x368148=_0x5cda51['error']?.[_0x5a25f3(0x102)]?_0x5a25f3(0x9d)+_0x5cda51[_0x5a25f3(0x9e)][_0x5a25f3(0x102)]:await _0x37f957[_0x5a25f3(0x120)]();}catch(_0x190d15){_0x368148=_0x5a25f3(0x9f);}throw new Error(_0x5a25f3(0x112)+_0x37f957['status']+'\x20'+_0x37f957[_0x5a25f3(0xb5)]+_0x368148);}const _0x3996ee=await _0x37f957['json']();let _0x53fc86=[];if(Array[_0x5a25f3(0xc4)](_0x3996ee))_0x53fc86=_0x3996ee['map'](_0x15388a=>_0x15388a['id']||_0x15388a);else{if(_0x3996ee[_0x5a25f3(0x11e)]&&Array[_0x5a25f3(0xc4)](_0x3996ee[_0x5a25f3(0x11e)]))_0x53fc86=_0x3996ee[_0x5a25f3(0x11e)][_0x5a25f3(0x92)](_0x571c35=>_0x571c35['id']);else{if(_0x3996ee[_0x5a25f3(0xe3)]&&Array[_0x5a25f3(0xc4)](_0x3996ee['models']))_0x53fc86=_0x3996ee['models'][_0x5a25f3(0x92)](_0x2c095a=>_0x2c095a[_0x5a25f3(0x10c)]||_0x2c095a['id']);else throw new Error(_0x5a25f3(0xc5));}}const _0x1d75f9=_0x53fc86['filter'](_0x32a4cb=>typeof _0x32a4cb===_0x5a25f3(0x115)&&!_0x32a4cb[_0x5a25f3(0x11c)]('embed')&&!_0x32a4cb[_0x5a25f3(0x11c)](_0x5a25f3(0xf8))&&!_0x32a4cb[_0x5a25f3(0x11c)](_0x5a25f3(0xa4))&&!_0x32a4cb[_0x5a25f3(0x11c)](_0x5a25f3(0xa2)));return _0x1d75f9['sort'](),console[_0x5a25f3(0x8e)](_0x5a25f3(0xa5)+(_0x5f1b0f+0x1)+_0x5a25f3(0x118)+_0x1d75f9[_0x5a25f3(0x119)]+_0x5a25f3(0xf7)),toastr[_0x5a25f3(0xd1)](_0x5a25f3(0xe1)+_0x1d75f9[_0x5a25f3(0x119)]+_0x5a25f3(0x93)+(_0x5f1b0f+0x1)+_0x5a25f3(0x125),_0x5a25f3(0x9a)),isFetchingModels=![],_0x15b2c8[_0x5a25f3(0x11a)](_0x5a25f3(0xc8),![])['html'](_0x5a25f3(0xbe)),_0x1d75f9;}catch(_0x2250a3){const _0x4ff867=_0x5a25f3(0x113)+_0x49dedf[_0x5a25f3(0xc2)](-0x4)+_0x5a25f3(0xca)+_0x2250a3[_0x5a25f3(0x102)];console['error'](_0x5a25f3(0xa5)+(_0x5f1b0f+0x1)+_0x5a25f3(0x90),_0x2250a3),_0xae1c44[_0x5a25f3(0xe7)](_0x4ff867);}}return toastr[_0x5a25f3(0x9e)](_0x5a25f3(0x123),_0x5a25f3(0x117)),console[_0x5a25f3(0x9e)](_0x5a25f3(0xb0)+_0xae1c44[_0x5a25f3(0x124)]('\x0a')),_0x242b61['empty']()[_0x5a25f3(0x106)]($(_0x5a25f3(0xed),{'value':'','text':_0x5a25f3(0xdb)})),isFetchingModels=![],_0x15b2c8[_0x5a25f3(0x11a)]('disabled',![])[_0x5a25f3(0x114)]('<i\x20class=\x22fas\x20fa-sync-alt\x22></i>\x20刷新模型'),[];}export async function checkAndFixWithAPI(_0x18a6ae,_0x34c80a){const _0x48045c=_0xcd48a0;if(window[_0x48045c(0xa9)]===!![])return console['error']('[Amily2-制裁]\x20系统完整性已受损,所有外交活动被无限期中止。'),null;const _0x5269c2=extension_settings[extensionName],_0xcb066c=_0x5269c2[_0x48045c(0xd8)],_0x16f609=_0x5269c2[_0x48045c(0xe4)];if(!_0xcb066c&&!_0x16f609)return null;if(!_0x5269c2[_0x48045c(0xb1)]||!_0x5269c2[_0x48045c(0xb1)][_0x48045c(0xbd)]())return toastr[_0x48045c(0x9e)](_0x48045c(0xa0),_0x48045c(0xc9)),null;console['groupCollapsed'](_0x48045c(0x11f)+new Date()[_0x48045c(0xb3)]()+_0x48045c(0x96)+(_0xcb066c?'优化':'')+(_0x16f609?_0xcb066c?_0x48045c(0xfd):'仅总结':'')),console[_0x48045c(0xee)](_0x48045c(0x121));try{const _0x24c73a=_0x18a6ae[_0x48045c(0xf3)],_0x2d633a=_0x5269c2[_0x48045c(0x91)]||'content';let _0x3a367f;if(_0xcb066c){_0x3a367f=extractFullTagBlock(_0x24c73a,_0x2d633a);if(!_0x3a367f||extractContentByTag(_0x3a367f,_0x2d633a)?.[_0x48045c(0xbd)]()===''){console[_0x48045c(0x8e)](_0x48045c(0xff)+_0x2d633a+'>\x20未找到或为空,优化任务已跳过。'),_0x3a367f=_0x24c73a;if(!_0x16f609)return console[_0x48045c(0xe2)](_0x48045c(0x121)),console[_0x48045c(0xd2)](),{'optimizedContent':_0x24c73a,'summary':null};}}else _0x3a367f=_0x24c73a;const _0x365946=getContext(),_0x4cf635=_0x365946[_0x48045c(0xf0)]||'用户',_0x5a2a51=_0x365946['name2']||'角色',_0x52158b=_0x34c80a['length']>0x0&&_0x34c80a[_0x34c80a['length']-0x1][_0x48045c(0x116)]?_0x34c80a[_0x34c80a[_0x48045c(0x119)]-0x1]:null,_0x54e6dd=_0x52158b?_0x34c80a[_0x48045c(0xc2)](0x0,-0x1):_0x34c80a,_0x581e28=_0x54e6dd[_0x48045c(0x92)](_0x38e028=>_0x38e028[_0x48045c(0xf3)]&&_0x38e028[_0x48045c(0xf3)]['trim']()?(_0x38e028[_0x48045c(0x116)]?_0x4cf635:_0x5a2a51)+':\x20'+_0x38e028[_0x48045c(0xf3)][_0x48045c(0xbd)]():null)[_0x48045c(0x11b)](Boolean)[_0x48045c(0x124)]('\x0a');let _0x2b3a45='';if(_0x5269c2[_0x48045c(0xe6)]){const _0xd77821=characters[_0x365946[_0x48045c(0x108)]];_0xd77821?.[_0x48045c(0x11e)]?.['extensions']?.[_0x48045c(0xe9)]&&(_0x2b3a45=await getCombinedWorldbookContent(_0xd77821[_0x48045c(0x11e)]['extensions']['world']));}const _0xa2db48=[];_0x5269c2[_0x48045c(0xce)]?.['trim']()&&_0xa2db48[_0x48045c(0xe7)]({'role':_0x48045c(0xde),'content':_0x5269c2[_0x48045c(0xce)][_0x48045c(0xbd)]()});if(_0xcb066c){if(_0x5269c2['systemPrompt']?.['trim']())_0xa2db48[_0x48045c(0xe7)]({'role':_0x48045c(0xde),'content':_0x5269c2['systemPrompt'][_0x48045c(0xbd)]()});}if(_0xcb066c&&_0x16f609){const _0x80b1a8=(_0x48045c(0xe5)+_0x3a367f[_0x48045c(0xcf)](extractContentByTag(_0x3a367f,_0x2d633a),_0x48045c(0x8f))+_0x48045c(0xfb)+(_0x5269c2['summarizationPrompt']?.[_0x48045c(0xbd)]()||_0x48045c(0xf9)))[_0x48045c(0xbd)]();_0xa2db48['push']({'role':_0x48045c(0xde),'content':_0x80b1a8});}else{if(!_0xcb066c&&_0x16f609){const _0x1e242a=_0x48045c(0xa7)+_0x5269c2[_0x48045c(0xbb)]['trim']();_0xa2db48[_0x48045c(0xe7)]({'role':_0x48045c(0xde),'content':_0x1e242a});}}if(_0x2b3a45)_0xa2db48[_0x48045c(0xe7)]({'role':_0x48045c(0xd7),'content':_0x48045c(0xda)+_0x2b3a45});if(_0x581e28)_0xa2db48[_0x48045c(0xe7)]({'role':_0x48045c(0xd7),'content':_0x48045c(0x95)+_0x581e28});let _0x5107b5=_0x52158b?_0x4cf635+':\x20'+_0x52158b['mes']+'\x0a'+_0x5a2a51+':\x20'+_0x3a367f:_0x3a367f;_0xa2db48['push']({'role':_0x48045c(0xd7),'content':_0x48045c(0x10f)+_0x5107b5}),console[_0x48045c(0xb9)]('[Amily2号-最终国书内容\x20(发往AI)]'),console[_0x48045c(0xb7)](_0xa2db48),console[_0x48045c(0xd2)]();let _0x47035a=_0x5269c2[_0x48045c(0xb1)][_0x48045c(0xbd)]();const _0x1ca8a9=new URL(_0x47035a),_0xaec721=_0x1ca8a9['pathname'][_0x48045c(0xf1)]('/v1/chat/completions')||_0x1ca8a9[_0x48045c(0xbf)][_0x48045c(0xf1)](_0x48045c(0x98));if(!_0xaec721){let _0x2e14e5=_0x1ca8a9[_0x48045c(0xbf)];if(_0x2e14e5['endsWith']('/v1/'))_0x2e14e5=_0x2e14e5[_0x48045c(0xc2)](0x0,-0x1);else _0x2e14e5[_0x48045c(0xf1)](_0x48045c(0xd0))&&(_0x2e14e5=_0x2e14e5[_0x48045c(0xc2)](0x0,-0x2));_0x1ca8a9['pathname']=_0x2e14e5['replace'](/\/$/,'')+'/v1/chat/completions',_0x47035a=_0x1ca8a9['href'];}const _0x494894=_0x5269c2[_0x48045c(0xcd)]?.['trim'](),_0x4bc21e=_0x5269c2['model'],_0x4cf974=_0x5269c2[_0x48045c(0x9c)],_0x115144=_0x5269c2[_0x48045c(0xe8)];console[_0x48045c(0x8e)](_0x48045c(0xc3)+_0x47035a);const _0xd9be54=await fetch(_0x47035a,{'method':'POST','headers':{'Content-Type':_0x48045c(0xdd),..._0x494894&&{'Authorization':'Bearer\x20'+_0x494894}},'body':JSON['stringify']({'model':_0x4bc21e,'messages':_0xa2db48,'max_tokens':_0x4cf974,'temperature':_0x115144,'stream':![]})});if(!_0xd9be54['ok'])throw new Error(_0x48045c(0xfc)+_0xd9be54[_0x48045c(0xfe)]+'\x20'+_0xd9be54[_0x48045c(0xb5)]+_0x48045c(0x9d)+await _0xd9be54['text']());const _0x2dc893=await _0xd9be54[_0x48045c(0xb2)](),_0x2395c5=_0x2dc893[_0x48045c(0x100)]?.[0x0]?.[_0x48045c(0x102)]?.['content'];if(!_0x2395c5)return null;console['groupCollapsed']('[Amily2号-原始回复]'),console[_0x48045c(0x8e)](_0x2395c5),console[_0x48045c(0xd2)]();let _0x34b18e=_0x24c73a,_0x3bc511=null;if(_0xcb066c&&_0x16f609){const _0x58bb49='###AMILY2-SUMMARY###',_0x5166df=_0x2395c5[_0x48045c(0xd9)](_0x58bb49),_0x1ff4f1=_0x5166df[0x0]?.[_0x48045c(0xbd)]();_0x3bc511=_0x5166df[0x1]?.[_0x48045c(0xbd)]()||null;if(_0x1ff4f1){const _0xc690a6=extractContentByTag(_0x1ff4f1,_0x2d633a);_0xc690a6?.[_0x48045c(0xbd)]()&&(_0x34b18e=replaceContentByTag(_0x24c73a,_0x2d633a,_0xc690a6));}}else{if(_0xcb066c){const _0x11a83f=extractContentByTag(_0x2395c5,_0x2d633a);_0x11a83f?.[_0x48045c(0xbd)]()&&(_0x34b18e=replaceContentByTag(_0x24c73a,_0x2d633a,_0x11a83f));}else _0x3bc511=_0x2395c5[_0x48045c(0xbd)]();}const _0x4a9bb4={'optimizedContent':_0x34b18e,'summary':_0x3bc511};return _0x3bc511&&_0x16f609&&(_0x4a9bb4[_0x48045c(0x126)]={'activationMode':_0x5269c2[_0x48045c(0x97)],'insertionPosition':_0x5269c2[_0x48045c(0xe0)],'depth':_0x5269c2[_0x48045c(0xd5)],'keywords':_0x5269c2[_0x48045c(0x107)],'target':_0x5269c2[_0x48045c(0xd3)]},console[_0x48045c(0x8e)](_0x48045c(0xba),_0x4a9bb4[_0x48045c(0x126)])),console[_0x48045c(0xe2)](_0x48045c(0x121)),console['groupEnd'](),_0x4a9bb4;}catch(_0xdd6122){return console['error'](_0x48045c(0x104),_0xdd6122),toastr[_0x48045c(0x9e)](_0x48045c(0x101)+_0xdd6122['message'],_0x48045c(0xea)),console[_0x48045c(0xe2)](_0x48045c(0x121)),console[_0x48045c(0xd2)](),null;}}
|