/*
一个强大的推送通知库，主要用于汇总多条账号消息后集中推送通知
默认情况下账号消息指的是单一账号的消息，它由“<前缀><用户名><消息内容>”组成，其中消息内容由一条或多条组成最后用指定字符拼接成一条合并内容
脚本最终汇总多条账号消息后集中触发推送通知业务，每个账号的消息占用一行，排列顺序以优先触发记录为原则
此库封装了多条方法，推送通知业务调用自 sendNotify.js，可引用此模块来平替引用它，支持单消息推送

账号消息自定义功能如下（环境变量）
1。关键词过滤，触发时不推送对应单条账号消息 JD_NOTIFY_FILTER_KEYWORDS
  例：export JD_NOTIFY_FILTER_KEYWORDS="空气@会员"，多个关键词用@分割
2。消息内容分隔符 JD_NOTIFY_DELIMITER，默认为中文逗号
  例：export JD_NOTIFY_DELIMITER="、"，此分隔符用于分隔多条账号消息
3。设置替换用户名为昵称 JD_NOTIFY_NICKNAMES
  例：export JD_NOTIFY_NICKNAMES="userpin_α@哥哥,userpin_β@弟弟"，多个昵称配置用英文逗号分割，用户名和昵称用@分割
4。是否显示用户名 JD_NOTIFY_SHOW_USERNAME（true/false），默认显示
  例：export JD_NOTIFY_SHOW_USERNAME="false"
5. 设置推送通知的用户名是否脱敏 JD_NOTIFY_USERNAME_DESENSITIZATION（true/false），默认不脱敏，根据用户名长度动态将部分字符用*替换
  例：JD_NOTIFY_USERNAME_DESENSITIZATION="true"
6。设置消息前缀格式 JD_NOTIFY_PREFIX_FORMATA，默认为 "【京东账号<序号>】"
  例：export JD_NOTIFY_PREFIX_FORMATA="[账号%]"，%代表账号序号
7。设置自动合并消息中用数字开头表示数量的内容 JD_NOTIFY_AUTO_MERGE_TYPE
  例：export JD_NOTIFY_AUTO_MERGE_TYPE="积分 🎟️"，多个规则用@分割，正则匹配

new Env('Rebels_sendJDNotify');
*/

var iｉl='jsjiami.com.v7';const l1iIl1=iii1II;(function(l1i1II,ili111,Ii1I11,IllIli,ii1Ii,ii1Il,l1iII){return l1i1II=l1i1II>>0x9,ii1Il='hs',l1iII='hs',function(iI1Ill,lilI1,IIIi1,i1llli,i1llll){const iI111I=iii1II;i1llli='tfi',ii1Il=i1llli+ii1Il,i1llll='up',l1iII+=i1llll,ii1Il=IIIi1(ii1Il),l1iII=IIIi1(l1iII),IIIi1=0x0;const iI1Ili=iI1Ill();while(!![]&&--IllIli+lilI1){try{i1llli=parseInt(iI111I(0x25a,'s)5@'))/0x1*(-parseInt(iI111I(0x26d,'H$)x'))/0x2)+-parseInt(iI111I(0x2bf,'#q[#'))/0x3+parseInt(iI111I(0x259,'OO6@'))/0x4+parseInt(iI111I(0x290,'kkyG'))/0x5*(-parseInt(iI111I(0x29d,'kBaD'))/0x6)+parseInt(iI111I(0x297,'O(NM'))/0x7*(parseInt(iI111I(0x235,'%!&c'))/0x8)+parseInt(iI111I(0x21a,'4ty6'))/0x9*(parseInt(iI111I(0x27a,'9*ax'))/0xa)+parseInt(iI111I(0x270,'sW]m'))/0xb*(parseInt(iI111I(0x2bb,'ppUN'))/0xc);}catch(llIIiI){i1llli=IIIi1;}finally{i1llll=iI1Ili[ii1Il]();if(l1i1II<=IllIli)IIIi1?ii1Ii?i1llli=i1llll:ii1Ii=i1llll:IIIi1=i1llll;else{if(IIIi1==ii1Ii['replace'](/[ekdIhTxflpVbRKytHnO=]/g,'')){if(i1llli===lilI1){iI1Ili['un'+ii1Il](i1llll);break;}iI1Ili[l1iII](i1llll);}}}}}(Ii1I11,ili111,function(iI1111,IIIl1,ii1ii,Iii1,I1I1lI,ii1il,l1iIlI){return IIIl1='\x73\x70\x6c\x69\x74',iI1111=arguments[0x0],iI1111=iI1111[IIIl1](''),ii1ii=`\x72\x65\x76\x65\x72\x73\x65`,iI1111=iI1111[ii1ii]('\x76'),Iii1=`\x6a\x6f\x69\x6e`,(0x14f56a,iI1111[Iii1](''));});}(0x17e00,0x581bd,Iii11l,0xc1),Iii11l)&&(iｉl=`\x93e`);function Iii11l(){const llIl11=(function(){return[...[iｉl,'TKnjKsjeiRpaOmi.yctolm.lepvKh7HIdkVbdxfT==','t8ojW4TNWPBcRq','W6xcTCkpdejZW5dcHfTrzCkYwSoqWOpcMqPlscmWW6FdSeG','WOvnWQJcRwK','W5LceSkACW','WQ81h8kGgCopbfDLW6pcMComExbKW47dPCo8tSkYW6u+dG','vxmJBYblsIfjumkvWOZcNdK','W6xcOCkjhv9WW5tcM1LWvmk4t8oB','WOrClmkKtCoux0Ckd8oEumo+gY3dPCkN','utNdSmouWQ3dPf/cGW','W495WQ5juG','WPfJCeu+','sgLxdMBcLmkCWPhdMSowWQpdSq','W4pcK8o8kv/dILm0W5JdNf8','WPpdNHi','WOerECoGWQSuCSkVtLubW6XQqW','W6xcRCkzgKnCW5BcJhPWBmkOuSoxWOtcLqW','C8oBWOZdLN5XmSozEtpdGXdcNq','bSo/y3q','WPJdLexcUeTpcmkuW6ZdH8omW7/cGW','W7ZdN1rFiSoaW5lcTZuRu8klvSoqWPv+W5BcMmkpvZvYWPaVW54','W6SvkmkfW5lcLG','W5hdLvFcImof','W64zeCkhW60','BCojWPNdKmo+','W5TzWOjJqJS','z8oRWRZdGSoSoG','WQ/dOb0f','W6O8kmkSW7i','W4BdRNH5','w8kGWQ3dOmot','W65iWP19m8khnwhcGSkExZBcVSkJW5JdKIi','WRuXaCkXW5/cHSk5','qCojWPddMMe','D8k3WPVdMSoceCkFkszQWRdcTwSjW4OEoG','W4W0W5JdVdKzhG95W6aa','bSodzfPD','sJfFmsa','W5HoWOvJxZ3dM1ilwmk0aSknW4i','WRRdH0BcNhq','WQ7dOq0sWRhdGmo3W4C','WOWFjmkllG','WRhdGMhcVrRdVmoMtCofmgTGghi','WQ7dHSkOBGNdR3meW67dNhn4W7NdKSkctmkCWO9VWO7cJqm','W6mwWR8mcG','W6G0mCkJprj5otm','BZddSmoxWOi','zfRcNJBdIa','44ol5lI+5lM06lwg5yYiWOtJGOS','tcNdSmop','AmoLxbldH8kEo8olWOhdKmonWPJcGvK','W5VdM0VcR8oouSolW4ugW4tdQmo7xwe','WQJdKtrdWQemlmknW6VcP0NcINbfymoeW58','WQ/cJmkIr8ok','WRK6W5tdRxXzjmkOzCkV','WOtdKdHtWRC','W6ZcGtddR0lcQ8kCuCoYmLjMoa','WOmEmSkRn8o4jq','aCo9zNbC','vr9Zuaq','A8ohWPddNuq','dSkcbSoQW5a','W7Wutmojkf/dOW','WQHDimk0wW','u8ovW4qdW53dNCkpW742W7ddI8oBz8o8BIeeWRJdMa','aCoPW5/cTcZcIhCC','W590v8k1W6a','uqJcR8kdxSosz0/cK1SUW6pdTq','WP1AW6hdU8kgvmk4','WQ06W47dHa','AtLZxXNdSG','amoPW4lcOdNcHW','h8ouW5tdHtHyC8oapW','s8k1WPddNCouhSkm','WP0QWP7cNCoofCo9W50vfHbNFW','rSoWW645W73dHmkJW4OiW4RdKCoRvmos','eSk5bmokW5bxWO86W4NdRIddNSk1wHZcICkboWZcSYtdPG'],...(function(){return[...['WQ/dQX4XWPq','hSoOzh5Cqq','WQtcHCkYzJ4','pCoTWRZdL8oWfCoP','amoaFu1X','ctGWwJu','tCoEWRFdSCok','A8k1W59Xjq','Dmo0W6G+W7pdRSkJW4S','W5NcKN5dWRCdl8kMW4dcTKZcHwq','W4fwW6hdRSkr','W5BcPCksdKrv','WPeynmkcmW','WOz0WQBdU0FcStxdVmoShmo1Cc/dVHy+uSoKvxpcHCorW4qW','Fmo/W60','vaOSWO4','D8k7WP3dISoEbCkwobfoWQ7cRMCz','W4hdTCkzWPNdM8kGm8kWWPmWW61ncHK','eqmpBCkx','arSeCmkPWO3cOW','vXm2WOxdGq','b8kGiSo7W6i','W4C1W5hdSZLBhIHXW5WIWOy','W4jjWPfTjq','oHWEy8kTWPdcP8kFBmoQ','WPJdGd81WPC','jwZdU8oMpa','BZHR','W5jYWR5paq','arSeCmkPWO3cO8kWCmoqWRm5C8kJ','WOBdQaeBeW','WRqFzCo6','WOtcMSkuFc0','eSkFWPDwWOxcRmofW79v','W4pdM1ZcQ8o+','tCo6W79AWOG','WOjNz8kIba','W6zbpmkIW7XOzSkYBeuAW7S','yrC8WRhdQa','WQOczCo5','W7TIzmkbW61Jb8kx','WPJdL0tcQ3fljSkE','wCoBWOhdI0Dflmoz','WPbcxSkpcbjzfXJcUX1qW6bwhbRdNmoHWPK','WRnOzCkKpW','W4z1W4ldJCkh','W4edWO88iG','WRSEW6uEWPZcOa','W5DekCknxG','W4jvWPrNna','rSoHW6KOW7tdOmk+W74aW53dQmoZua','W7KMWOu9fW','W4rtWOfH','WR9CWPddLM0','W7SGWR/dKwK','WRldVaSmWORdHCo/W5e','W5TXe8kK','xSonWPtdNgHq','bvxdSSogc8kw','peZdRmoxcmknl37cUK4QW4hdLa','m8oTW5NcSYlcONCDzmkTWP0Zf8oW','W4RcTCkpaq','WO1OWRJcI3a','W7pdLSkyWR/dQa','WPRdLqOekgG','W5vkm8kHvq','W6NdUMHYaSoHW7xcHr81z8kWE8o9','imkxamoZW7K','WRCEAmoXWRW','WQNdNqeql2hcL8kSkmk7DSoCWRBcPmo8ErRcHdC0cCkO','WQLEWO8','EmorWO7dJxK','EXi6WPtdGWJcPfhdGCkeW5VcICobW7y','imkXeSokW4jrWO0S','WR3dSt1tWQe','WPyElCkl','ycbUsH0','zNCUAZTw'],...(function(){return['W4eaamkTW6S','W75/WPPMaG','tZddQSoeWQK','ASoYrGBdJ8kxe8oD','W4hdNLfxba','W4FdOeNcJSoA','WQpdG2pcLv0','WRBdSXG','WQRdGMhcTW','wSopW6P0WPC','WQCiW504WO4','WQbXWPlcOhmKdIPrW60iWPVdN8k8o8o7WQeOWRfBdJpdP8kw','ySkEWQhdP8o+jmkXcJTqWPRcLuO0W7SPf8ofwSoGWRdcK8oIWO7cPq','WPbxWO3cV08','W7yJbmkiW78','Dszeaq4','WQXlg8keDuldPSkiWQ/dTM0','WP/cQf8Ctq','gZeq','WRDJCSkYjIf1iG','W4DjWP9S','W4xdQ2D4gq','WPacjCkCgmo6ihq','WRWKn8odWPeXjCk2W4agm8ki','WPyAW7yyWPlcOqtcUCoKlCoSWOpcKHS','ymkfW6D4dKpdNW/cTHK','WRRdTCkJvHq','WOX0WO3cRgip','WOZcSKilz8kuW77dMa','C8ooWOVdI2rfnCo9AbldLXpcJgSrcuedWQuYWOO','k8k9d8oD','W70VWQZdNwu','WPbcxSkpcbjzfXJcUWnlW6zBgWpdJSoIWOxcVmoWsqGd','WR8PW7hdPwe','WR3dUa5+WP05aSkUW7BcNwhcPLfLwCoOW7NcJYK','BhS4AsS','WP3cQCks','qSkDWONdVmoI','eJOiusRdHa','WOhdL8k+Dq','dZqBASko','WOrqkSk0uCoavLy9k8oas8oYcW','WQ5KwKW9','WQNdKqCam3xcNSk9hCktAmoAWRlcRW','pSkKdCoqW5C','W6WEtmoz','vxm1EcbZqsDDDmkZWOFcJsu','zmobW5D2WRu','strama','W6dcR8kMj34','WPDcc8kIwCkgBq','vCoBW4jMWPq','W7b6W4xdI8kqwCkKW5aIjJP0wXi','WOeVW5ldHx9dl8kpBCk4t3nO','WRjaFea','m8oTW4/cPclcMNWBCmkjWRS4bSoS','uCojW5vSWOpcPSoU','EszXubpdSa','o8o7yvrP','WP1/tSk1dmklhmksW4u','WRXPC8kejIv4','WQJdVGedWPO','WOxdNa0aoq','W4PTda','W7SsuConiKldSG','WOxdLqOheM/cHmkGcmkR','vcrakZxcO2a1','bH0zDmkJWPdcSG','FG1MotW','vmoJWRFdL8o/n8odkmooW5ddHCkOWOpcTa','WRaSW6JdO2O','zxRcMX8','W6BdNhjIlW','W5majCkQW7C','WQFcQSkbumoRWOlcPgLOkCkUuNddIG3dO307bmoVCwm'];}())];}())];}());Iii11l=function(){return llIl11;};return Iii11l();}function iii1II(_0x59531d,_0x4b2767){const _0x3666b7=Iii11l();return iii1II=function(_0x5750fc,_0x3d64c1){_0x5750fc=_0x5750fc-0x1f1;let _0x30b903=_0x3666b7[_0x5750fc];if(iii1II['cqQQQb']===undefined){var _0x154b6a=function(_0x5adddb){const _0x18f8f2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x567fa3='',_0x36c6ac='';for(let _0x4e2bf1=0x0,_0x436d58,_0x47cce3,_0x29dedd=0x0;_0x47cce3=_0x5adddb['charAt'](_0x29dedd++);~_0x47cce3&&(_0x436d58=_0x4e2bf1%0x4?_0x436d58*0x40+_0x47cce3:_0x47cce3,_0x4e2bf1++%0x4)?_0x567fa3+=String['fromCharCode'](0xff&_0x436d58>>(-0x2*_0x4e2bf1&0x6)):0x0){_0x47cce3=_0x18f8f2['indexOf'](_0x47cce3);}for(let _0x52f95c=0x0,_0x5c9212=_0x567fa3['length'];_0x52f95c<_0x5c9212;_0x52f95c++){_0x36c6ac+='%'+('00'+_0x567fa3['charCodeAt'](_0x52f95c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x36c6ac);};const _0x24bf28=function(_0x21955c,_0x5726ca){let _0x235ac4=[],_0x22bea9=0x0,_0x5d7015,_0x8a9ddc='';_0x21955c=_0x154b6a(_0x21955c);let _0x450db6;for(_0x450db6=0x0;_0x450db6<0x100;_0x450db6++){_0x235ac4[_0x450db6]=_0x450db6;}for(_0x450db6=0x0;_0x450db6<0x100;_0x450db6++){_0x22bea9=(_0x22bea9+_0x235ac4[_0x450db6]+_0x5726ca['charCodeAt'](_0x450db6%_0x5726ca['length']))%0x100,_0x5d7015=_0x235ac4[_0x450db6],_0x235ac4[_0x450db6]=_0x235ac4[_0x22bea9],_0x235ac4[_0x22bea9]=_0x5d7015;}_0x450db6=0x0,_0x22bea9=0x0;for(let _0x3d7171=0x0;_0x3d7171<_0x21955c['length'];_0x3d7171++){_0x450db6=(_0x450db6+0x1)%0x100,_0x22bea9=(_0x22bea9+_0x235ac4[_0x450db6])%0x100,_0x5d7015=_0x235ac4[_0x450db6],_0x235ac4[_0x450db6]=_0x235ac4[_0x22bea9],_0x235ac4[_0x22bea9]=_0x5d7015,_0x8a9ddc+=String['fromCharCode'](_0x21955c['charCodeAt'](_0x3d7171)^_0x235ac4[(_0x235ac4[_0x450db6]+_0x235ac4[_0x22bea9])%0x100]);}return _0x8a9ddc;};iii1II['qMATiy']=_0x24bf28,_0x59531d=arguments,iii1II['cqQQQb']=!![];}const _0x1f4368=_0x3666b7[0x0],_0x10026c=_0x5750fc+_0x1f4368,_0x54d305=_0x59531d[_0x10026c];return!_0x54d305?(iii1II['USCaCg']===undefined&&(iii1II['USCaCg']=!![]),_0x30b903=iii1II['qMATiy'](_0x30b903,_0x3d64c1),_0x59531d[_0x10026c]=_0x30b903):_0x30b903=_0x54d305,_0x30b903;},iii1II(_0x59531d,_0x4b2767);};class lI1IIl{constructor(){const IIIlI1=iii1II,i1ilI={'TpcHQ':'4|10|2|0|6|7|5|3|9|1|11|8','jncUR':function(Iiilii,Iil1li){return Iiilii(Iil1li);}},iii1lI=i1ilI[IIIlI1(0x24c,'H$)x')][IIIlI1(0x287,'MA)h')]('|');let i1ilI1=0x0;while(!![]){switch(iii1lI[i1ilI1++]){case'0':this[IIIlI1(0x1f7,'R63K')]=[];continue;case'1':this[IIIlI1(0x2cc,'m!q&')]=IIIlI1(0x27d,'sY!*');continue;case'2':this[IIIlI1(0x21c,'VT9W')]=i1ilI['jncUR'](require,IIIlI1(0x2a3,'UhNi'))[IIIlI1(0x244,'2X&g')];continue;case'3':this[IIIlI1(0x20e,'sW]m')]=![];continue;case'4':this['title']='';continue;case'5':this['_showUserName']=!![];continue;case'6':this[IIIlI1(0x255,'GNPP')]='';continue;case'7':this[IIIlI1(0x1fa,'2X&g')]=[];continue;case'8':this[IIIlI1(0x288,'sfHP')]();continue;case'9':this['_nicknames']={};continue;case'10':this[IIIlI1(0x28b,'yLD#')]='';continue;case'11':this['_autoMergeType']='';continue;}break;}}['_Init'](){const i1lIiI=iii1II,Iiilil={'xGSDc':function(Iil1ll,iillI){return Iil1ll<iillI;},'WKFdR':function(lI1III,IIliIi){return lI1III+IIliIi;},'CRWUh':function(IllIiI,i1il1){return IllIiI+i1il1;},'jgumf':function(I1l111,IIii1l){return I1l111+IIii1l;},'GLUah':function(I1iIII,liiI11){return I1iIII-liiI11;},'SlspN':function(ililI1,IIii1i){return ililI1(IIii1i);},'mLnNT':function(i1ili,Iiill1){return i1ili!==Iiill1;},'fGKuf':i1lIiI(0x232,'ppUN'),'keuTG':function(I1iII1,lilII1){return I1iII1===lilII1;},'wEZFi':function(iill1,iii1l1){return iill1!==iii1l1;},'DpuWE':i1lIiI(0x1f6,'%!&c'),'xUZnJ':'false','JtCBA':function(IIliIl,II11ll){return IIliIl===II11ll;},'IzxMm':i1lIiI(0x2be,'9*ax')};if(process['env'][i1lIiI(0x20f,'0YCp')]){if(Iiilil[i1lIiI(0x207,'R63K')](Iiilil['DpuWE'],i1lIiI(0x250,'sW]m'))){if(Iiilil[i1lIiI(0x2ca,'%!&c')](IllIII[i1lIiI(0x266,'mBvD')],0x5))switch(lilil[i1lIiI(0x202,'NRU1')]){case 0x1:return I1ilIi;case 0x2:return IiiiI[i1lIiI(0x2ae,'Ot@[')](0x0,0x1)+'*';case 0x3:return Iiilil[i1lIiI(0x282,'RtbR')](Iiilil['WKFdR'](llIlli[i1lIiI(0x284,'UhNi')](0x0,0x1),'*'),llIlll[i1lIiI(0x2c8,'Dz9e')](-0x1));case 0x4:return Iiilil[i1lIiI(0x2b3,'sY!*')](lliii1['slice'](0x0,0x2),'**');}else return Iiilil['jgumf'](Iiii1[i1lIiI(0x2c8,'Dz9e')](0x0,0x2)+'*'[i1lIiI(0x2c9,'nOsN')](Iiilil[i1lIiI(0x247,'3m[x')](lIIili[i1lIiI(0x1f5,'2X&g')],0x4)),IiiIil[i1lIiI(0x240,'sY!*')](-0x2));}else this[i1lIiI(0x299,'QhNr')]=process['env'][i1lIiI(0x261,'R63K')]['split']('@')[i1lIiI(0x20a,'sY!*')](ililII=>ililII['trim']())['filter'](Boolean);}this[i1lIiI(0x26c,'czA1')]=process[i1lIiI(0x25b,'2X&g')][i1lIiI(0x225,'UhNi')]||'，';if(process['env'][i1lIiI(0x2c5,'9*ax')]){const lI1II1=process[i1lIiI(0x227,'RtbR')][i1lIiI(0x28d,'m!q&')]['split'](',');lI1II1[i1lIiI(0x23f,'9*ax')](i1ilII=>{const IiiIl=i1lIiI;if(Iiilil['mLnNT'](Iiilil[IiiIl(0x265,'kBaD')],IiiIl(0x2bc,'xr#K'))){const IllIi1=IiilII[IiiIl(0x26e,'A761')](/(\d+)(.+)/);return IllIi1?{'count':Iiilil[IiiIl(0x27b,'[rWQ')](IliI1I,IllIi1[0x1]),'name':IllIi1[0x2][IiiIl(0x2c1,'#q[#')]()}:{'count':null,'name':lI1Iii};}else{let lilIII=i1ilII[IiiIl(0x272,'3m[x')]('@');Iiilil['keuTG'](lilIII['length'],0x2)&&lilIII[0x0]&&lilIII[0x1]&&(this['_nicknames'][lilIII[0x0]]=lilIII[0x1]);}});}this['_showUserName']=!(process[i1lIiI(0x2a8,'m!q&')][i1lIiI(0x252,'^xn@')]===Iiilil['xUZnJ']),this[i1lIiI(0x24f,'CiuS')]=Iiilil[i1lIiI(0x2af,'QhNr')](process['env']['JD_NOTIFY_USERNAME_DESENSITIZATION'],i1lIiI(0x268,'sY!*')),process[i1lIiI(0x1fb,'a1#H')][i1lIiI(0x2a7,'a1#H')]&&(Iiilil[i1lIiI(0x269,'H$)x')]('XafcC',Iiilil['IzxMm'])?illIli[i1lIiI(0x286,'^xn@')](II11i1=>{const ii1l1l=i1lIiI;II11i1['messages']=this['_mergeMessages'](II11i1['messages'],this[ii1l1l(0x254,'CiuS')]);}):this['_prefixFormat']=process[i1lIiI(0x242,'%!&c')]['JD_NOTIFY_PREFIX_FORMATA']),process[i1lIiI(0x2b5,'sfHP')]['JD_NOTIFY_AUTO_MERGE_TYPE']&&(this[i1lIiI(0x298,'m!q&')]=process[i1lIiI(0x242,'%!&c')]['JD_NOTIFY_AUTO_MERGE_TYPE']);}['_mergeMessages'](iliIil,iliIii){const l1lli1=iii1II,lill1i={'KIcbP':function(iIIill,iilii){return iIIill!==iilii;},'AZEjr':l1lli1(0x274,'@1Nm'),'UNTRH':function(Ill11i,iilil){return Ill11i(iilil);},'TYFYX':'jGwUS','mNdTT':function(Ill11l,il1ll){return Ill11l<il1ll;},'nsHCs':function(i1ilIi,lill1l){return i1ilIi===lill1l;},'hVOaK':l1lli1(0x251,'%!&c'),'cWFAA':function(l1l1i1,i1iiI){return l1l1i1(i1iiI);},'UcyUl':function(i1ilIl,llI11I){return i1ilIl!==llI11I;},'IvkMA':l1lli1(0x28a,'QhNr'),'LEasi':function(Il1i11,iii1li){return Il1i11+iii1li;},'EhcWL':l1lli1(0x279,'Dz9e'),'DALSq':function(Iil1i1,IIii11){return Iil1i1(IIii11);},'tyvQk':function(iliIl1,Ii1il1){return iliIl1+Ii1il1;}},il1li=iliIil;try{if(l1lli1(0x228,'0YCp')!==lill1i['TYFYX'])l11i1i[l1lli1(0x27e,'[rWQ')]({'userName':lI11I1,'index':l1il11,'messages':IiI1});else{function IIliI1(IliIIl){const IiiIi=l1lli1;if(lill1i[IiiIi(0x2cd,'Dz9e')](IiiIi(0x2a1,'VT9W'),lill1i['AZEjr'])){const I1il1l=IliIIl[IiiIi(0x26e,'A761')](/(\d+)(.+)/);return I1il1l?{'count':lill1i['UNTRH'](parseInt,I1il1l[0x1]),'name':I1il1l[0x2][IiiIi(0x20b,'ShkK')]()}:{'count':null,'name':IliIIl};}else IiI1i['index']=''+llll1;}function il1lI(IIliII,iiliI,Ill11I){const ii1l1i=l1lli1;return iiliI!==null&&Ill11I['split']('@')[ii1l1i(0x2d1,'sY!*')](IIliII);}for(let I1il1i=0x0;lill1i[l1lli1(0x1f4,'7*oZ')](I1il1i,iliIil[l1lli1(0x2a5,'CiuS')]);I1il1i++){if(lill1i[l1lli1(0x249,'Mr)J')](lill1i[l1lli1(0x22d,'7QOp')],'UdknA'))illlIi=this[l1lli1(0x2ab,'7*oZ')](I1lIii,this['_autoMergeType']);else{const {count:lI1l1i,name:i1iil}=lill1i[l1lli1(0x2b6,'czA1')](IIliI1,iliIil[I1il1i]);if(il1lI(i1iil,lI1l1i,iliIii)){if(lill1i[l1lli1(0x263,'xr#K')](lill1i[l1lli1(0x23d,'MA)h')],l1lli1(0x208,'xr#K')))this[l1lli1(0x2a6,'^xn@')]=IllI1I;else for(let I1llIl=lill1i['LEasi'](I1il1i,0x1);I1llIl<iliIil['length'];I1llIl++){if(lill1i[l1lli1(0x2c0,'Ot@[')]!==l1lli1(0x24b,'R63K')){const {count:i1iii,name:I1llIi}=lill1i['DALSq'](IIliI1,iliIil[I1llIl]);lill1i[l1lli1(0x20d,'nOsN')](i1iil,I1llIi)&&(iliIil[I1il1i]=''+lill1i[l1lli1(0x29a,'sY!*')](lI1l1i,i1iii)+i1iil,iliIil[l1lli1(0x21e,'sW]m')](I1llIl,0x1),I1llIl--);}else{const llI11i=this['_accountsArray']['find'](i1iIi1=>i1iIi1[l1lli1(0x276,'^xn@')]===''+IliiiI);llI11i&&this[l1lli1(0x2ad,'B)(I')](llI11i);}}}}}return iliIil;}}catch{return il1li;}}[l1iIl1(0x278,'s)5@')](l1l1il){const ii1iI=l1iIl1,I11i1I={'xEBMd':ii1iI(0x23e,'%!&c'),'oSlzN':function(iliIi1,l1l1ii){return iliIi1>l1l1ii;},'OZbhB':function(Il1i1I,Ii1iii){return Il1i1I<Ii1iii;},'UblUE':'VFiBT','GotdM':function(iIIilI,il1l1){return iIIilI+il1l1;},'QeVFC':'CXotB','pXexO':function(Ii1iil,Ilil1i){return Ii1iil-Ilil1i;}};if(I11i1I[ii1iI(0x204,'czA1')](l1l1il[ii1iI(0x262,'H$)x')],0x5)){if(I11i1I['UblUE']===ii1iI(0x26b,'0YCp')){const II11ii=I11i1I[ii1iI(0x257,'mBvD')][ii1iI(0x22f,'QhNr')]('|');let Iil1iI=0x0;while(!![]){switch(II11ii[Iil1iI++]){case'0':iIII1I[ii1iI(0x256,'[rWQ')]=[ilil1i];continue;case'1':iil1iI[ii1iI(0x27f,'[2bf')]=[IlIllI];continue;case'2':if(!i1i1II)return;continue;case'3':if(I11i1I[ii1iI(0x210,'sW]m')](il1i1I[ii1iI(0x294,'T()c')],0x0)&&lI1li1[ii1iI(0x2ce,'mBvD')](II11il=>IlIIi['includes'](II11il)))return;continue;case'4':liiIIl[ii1iI(0x214,'NYD*')]=!![];continue;}break;}}else switch(l1l1il[ii1iI(0x29b,'MA)h')]){case 0x1:return l1l1il;case 0x2:return l1l1il[ii1iI(0x2cf,'a1#H')](0x0,0x1)+'*';case 0x3:return I11i1I['GotdM'](l1l1il[ii1iI(0x222,'p!OE')](0x0,0x1)+'*',l1l1il[ii1iI(0x2b1,'czA1')](-0x1));case 0x4:return l1l1il[ii1iI(0x205,'[rWQ')](0x0,0x2)+'**';}}else{if(I11i1I[ii1iI(0x28f,'4ty6')]!==ii1iI(0x29c,'e*Vh'))return I11i1I[ii1iI(0x289,'A761')](l1l1il[ii1iI(0x28c,'GNPP')](0x0,0x2)+'*'[ii1iI(0x2d3,'A761')](I11i1I[ii1iI(0x2b8,'2X&g')](l1l1il['length'],0x4)),l1l1il[ii1iI(0x241,'2X&g')](-0x2));else this['_prefixFormat']=II1Ii[ii1iI(0x215,'OO6@')][ii1iI(0x223,'9*ax')];}}['_formatAcountsMessage'](){const IIIil=l1iIl1,IlllII={'Tyjtp':function(II111,lI1l1I){return II111===lI1l1I;},'NgBLb':function(lill11,liI1i1){return lill11>liI1i1;}};let I1il1I=[];for(let {userName:I11i11,index:I1llII,messages:Iil1il}of this['_accountsArray']){Iil1il=Iil1il['filter'](l1l1iI=>l1l1iI!==null&&l1l1iI!==undefined&&l1l1iI!=='');const I11i1i=I1il1I[IIIil(0x221,'QhNr')](I1llI1=>I1llI1[IIIil(0x219,'^xn@')]===I11i11);I11i1i?(IlllII[IIIil(0x1fc,'A761')](I11i1i['index'],'')&&(I11i1i[IIIil(0x1f9,'#q[#')]=I1llII),IlllII[IIIil(0x209,'@1Nm')](Iil1il[IIIil(0x2a5,'CiuS')],0x0)&&I11i1i[IIIil(0x206,'[2bf')][IIIil(0x22a,'s)5@')](...Iil1il)):I1il1I[IIIil(0x1f2,'CiuS')]({'userName':I11i11,'index':I1llII,'messages':Iil1il});}I1il1I=I1il1I[IIIil(0x2d4,'kkyG')](I11i1l=>I11i1l[IIIil(0x216,'9*ax')]['length']>0x0),this[IIIil(0x25c,'#q[#')]&&I1il1I['forEach'](il1il=>{const IIIii=IIIil;il1il[IIIii(0x1fe,'QhNr')]=this[IIIii(0x280,'xr#K')](il1il[IIIii(0x28e,'T()c')],this['_autoMergeType']);}),this[IIIil(0x237,'O(NM')]=I1il1I;}[l1iIl1(0x293,'sfHP')]({title:Il1i1i,content:iIIili,messageDelimiter:Ii1iiI}){const iI111i=l1iIl1,Ilil1I={'rlYNq':function(iliIiI,II11iI){return iliIiI(II11iI);},'lfTIn':function(Il1i1l,Iil1ii){return Il1i1l||Iil1ii;},'wgVlk':function(lill1I,Ii1ii1){return lill1I!==Ii1ii1;},'LgwYZ':function(Ilil11,i1ii1){return Ilil11!==i1ii1;},'qSBjY':iI111i(0x2b4,'kkyG'),'CSJVb':function(il1ii,llI111){return il1ii!==llI111;},'avQEx':function(i1iIiI,IlllI1){return i1iIiI===IlllI1;},'iiWeK':iI111i(0x22b,'B)(I')};if(Ilil1I[iI111i(0x29f,'OO6@')](Il1i1i,undefined)){if(Ilil1I[iI111i(0x212,'3m[x')](iI111i(0x2a0,'kBaD'),Ilil1I[iI111i(0x211,'H$)x')])){let lI1l11=this['originMessages'][iI111i(0x24a,'])c4')](this[iI111i(0x281,'UhNi')])['trim']();this['_autoMergeType']&&(lI1l11=this[iI111i(0x248,'kBaD')](lI1l11,this['_autoMergeType']));const II11l=iI11Ii['replace']('%',this[iI111i(0x2c6,'9*ax')]),II11i=Ilil1I[iI111i(0x1f3,'sW]m')](iIII1l,lllil[this[iI111i(0x2c2,'4ty6')]]||this[iI111i(0x21f,'NYD*')]),iI1Iii=iI11Il?II11i+'：':'';return''+II11l+iI1Iii+Ilil1I['lfTIn'](lI1l11,'无');}else this['title']=Il1i1i;}iIIili!==undefined&&(this['content']=iIIili);if(Ilil1I['CSJVb'](Ii1iiI,undefined)){if(Ilil1I[iI111i(0x224,'Mr)J')](Ilil1I[iI111i(0x264,'H$)x')],Ilil1I['iiWeK']))this[iI111i(0x25d,'CiuS')]=Ii1iiI;else{let lIIiIl=II11Il[iI111i(0x2cb,'czA1')]('@');lIIiIl['length']===0x2&&lIIiIl[0x0]&&lIIiIl[0x1]&&(this['_nicknames'][lIIiIl[0x0]]=lIIiIl[0x1]);}}}['updateTitle'](iI1Iil){this['title']=iI1Iil;}[l1iIl1(0x260,'@1Nm')](il1iI){const I1I1l1=l1iIl1;this[I1I1l1(0x28b,'yLD#')]=il1iI;}['create'](i1iIii,i1iIil){const iI111l=l1iIl1,liI1il={'FpFOM':function(liI1iI,iI1Il1){return liI1iI!==iI1Il1;},'mCaJZ':'Nrmep','nMGFn':function(i1iIl1,i1lli1){return i1iIl1>i1lli1;},'Vqipg':function(llIlII,IIlII){return llIlII+IIlII;},'tqxmQ':function(lIIiII,i1iIlI){return lIIiII===i1iIlI;},'KWnKx':iI111l(0x1ff,'UhNi'),'uczoi':function(li111,liI1lI){return li111(liI1lI);},'kOlGQ':function(lIIiI1,ll1I1){return lIIiI1||ll1I1;},'ycOtu':function(Ii1ili,iI1Ii1){return Ii1ili===iI1Ii1;},'UPlPm':'qtmdK'},llIlIi=this[iI111l(0x24d,'RtbR')],llIlIl=this[iI111l(0x2d5,'kkyG')],II11I=this['_nicknames'],il1i1=this['_showUserName'];liI1il[iI111l(0x20c,'ppUN')](i1iIii,undefined)&&(liI1il['UPlPm']!==iI111l(0x2bd,'ppUN')?i1iIii='':this['content']=II1ll1);const lIIiIi={'index':''+i1iIii,'userName':i1iIil,'fixed':![],'messages':[],'originMessages':[],'insert'(llIlI1){const i1lIii=iI111l;if(liI1il[i1lIii(0x203,'H$)x')](liI1il[i1lIii(0x1f8,'QhNr')],'zcBBg')){if(!llIlI1)return;if(lIIiIi['fixed'])return;lIIiIi[i1lIii(0x277,'ShkK')][i1lIii(0x26a,'R63K')](llIlI1);if(liI1il['nMGFn'](llIlIi[i1lIii(0x267,'kBaD')],0x0)&&llIlIi['some'](iI1IiI=>llIlI1['includes'](iI1IiI)))return;lIIiIi['messages'][i1lIii(0x2a9,'Ot@[')](llIlI1);}else ii1I11[i1lIii(0x245,'3m[x')]=this['_mergeMessages'](liIi1[i1lIii(0x2a2,'m!q&')],this['_autoMergeType']);},'fix'(i1iIli){const III11i=iI111l,i1iIll=III11i(0x295,'A761')[III11i(0x218,'R63K')]('|');let i1lliI=0x0;while(!![]){switch(i1iIll[i1lliI++]){case'0':lIIiIi[III11i(0x226,'NRU1')]=!![];continue;case'1':lIIiIi[III11i(0x273,'mBvD')]=[i1iIli];continue;case'2':if(liI1il[III11i(0x2a4,'O(NM')](llIlIi[III11i(0x24e,'ppUN')],0x0)&&llIlIi[III11i(0x200,'^xn@')](liI1l1=>i1iIli[III11i(0x2d1,'sY!*')](liI1l1)))return;continue;case'3':if(!i1iIli)return;continue;case'4':lIIiIi['messages']=[i1iIli];continue;}break;}},'updateIndex'(IllIlI){const i1lIil=iI111l;lIIiIi[i1lIil(0x2c7,'O(NM')]=''+IllIlI;},'updateUsername'(IiillI){const III11l=iI111l;liI1il[III11l(0x2ac,'B)(I')](liI1il[III11l(0x21d,'s)5@')],'VbJwr')?(lIIii1[ll1i1]=''+liI1il['Vqipg'](IIli1i,I1iIi1)+lliil1,IIllI[III11l(0x23c,'sfHP')](lliilI,0x1),lili1--):lIIiIi['userName']=IiillI;},'getInlineContent'(){const llIl1i=iI111l;let li11l=this['originMessages'][llIl1i(0x2b9,'#q[#')](this['_messageDelimiter'])[llIl1i(0x20b,'ShkK')]();this[llIl1i(0x231,'NRU1')]&&(li11l=this[llIl1i(0x1fd,'Ot@[')](li11l,this[llIl1i(0x1f1,'T()c')]));const lliiIl=llIlIl[llIl1i(0x23b,'ppUN')]('%',this[llIl1i(0x1f9,'#q[#')]),li11i=liI1il[llIl1i(0x2d0,'p!OE')](decodeURIComponent,II11I[this[llIl1i(0x2c4,'A761')]]||this[llIl1i(0x275,'sY!*')]),lliiIi=il1i1?li11i+'：':'';return''+lliiIl+lliiIi+liI1il[llIl1i(0x27c,'])c4')](li11l,'无');}};return this[iI111l(0x253,'NRU1')][iI111l(0x217,'mBvD')](lIIiIi),lIIiIi;}[l1iIl1(0x243,'yLD#')](iiIi1I){const llIl1l=l1iIl1;this[llIl1l(0x22e,'2X&g')]=this[llIl1l(0x22c,'GNPP')]['filter'](IllIl1=>IllIl1!==iiIi1I);}['disposeByUsername'](ll1Ii){const IiiII=l1iIl1,ll1Il={'jvssm':function(ill1II,i1llil){return ill1II!==i1llil;},'ZoZNN':IiiII(0x236,'ppUN'),'tNnCu':'XGqOO'},iiIi11=this['_accountsArray']['find'](i1llii=>decodeURIComponent(i1llii[IiiII(0x2c3,'@1Nm')])===decodeURIComponent(ll1Ii));iiIi11&&(ll1Il[IiiII(0x201,'sfHP')](ll1Il[IiiII(0x234,'CiuS')],ll1Il[IiiII(0x271,'MA)h')])?this['dispose'](iiIi11):this['_nicknames'][lilIlI[0x0]]=iIIIIi[0x1]);}[l1iIl1(0x2b7,'B)(I')](llIIil){const Iiil=l1iIl1,llIIii=this[Iiil(0x21b,'nOsN')][Iiil(0x221,'QhNr')](Ii1I1i=>Ii1I1i[Iiil(0x2c7,'O(NM')]===''+llIIil);llIIii&&this['dispose'](llIIii);}[l1iIl1(0x283,'Mr)J')](llIIlI=![]){const IIIli=l1iIl1,Ii1I1l={'RoKqr':function(ili11l,Iiilll){return ili11l===Iiilll;},'WQehH':function(Iiilli,IIlIi){return Iiilli(IIlIi);}};if(Ii1I1l[IIIli(0x2ba,'e*Vh')](this[IIIli(0x23a,'T()c')]['length'],0x0))return'';this[IIIli(0x220,'A761')]();if(this['_accountsArray'][IIIli(0x229,'OO6@')]===0x0)return'';let IIlIl='';for(const {userName:ili11i,index:iiIi1l,messages:li11I}of this[IIIli(0x2aa,'0YCp')]){const lliiII=this[IIIli(0x238,'Mr)J')]['replace']('%',iiIi1l),iiIi1i=Ii1I1l[IIIli(0x258,'7QOp')](decodeURIComponent,this[IIIli(0x2b2,'B)(I')][ili11i]||ili11i),liI1ll=this[IIIli(0x25e,'A761')]?(this['_userNameDesensitization']&&llIIlI?this['_desensitizingUserName'](iiIi1i):iiIi1i)+'：':'',ll1II=li11I['join'](this[IIIli(0x26f,'0YCp')])[IIIli(0x239,'7QOp')]();IIlIl+=''+lliiII+liI1ll+ll1II+'\x0a';}return IIlIl[IIIli(0x2d2,'%!&c')]();}async[l1iIl1(0x292,'Mr)J')](IllIii,liI1li){await this['sendNotify'](IllIii,liI1li);}async['sendNotify'](IllIil,ill1Ii){const ii1i1=l1iIl1;await this[ii1i1(0x230,'yLD#')](IllIil,ill1Ii);}async[l1iIl1(0x233,'3m[x')](){const Iiii=l1iIl1,llIIl1={'rMwTY':function(Ii1I1I,l1i1Ii){return Ii1I1I+l1i1Ii;}};this[Iiii(0x246,'B)(I')]=this[Iiii(0x296,'0YCp')][Iiii(0x25f,'MA)h')]();let ill1Il=this['content'];const i1lll1=this['getMessage'](!![]);if(i1lll1)ill1Il=llIIl1[Iiii(0x29e,'MA)h')](i1lll1['trim']()+'\x0a\x0a',ill1Il);await this['send'](this['title'],ill1Il);}}module['exports']=new lI1IIl();var version_ = 'jsjiami.com.v7';
