From 3e698981fdf790e2c5efa4def44706dd6e8e5d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 9 Jun 2024 14:26:02 +0800 Subject: [PATCH] chore: sync core --- docs/develop/Msg常量NTAndroid.md | 449 ++++++++++++++++++ src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.d.ts | 4 + src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIKernelGroupService.d.ts | 2 +- .../src/services/NodeIKernelMsgService.d.ts | 30 +- .../services/NodeIKernelProfileService.d.ts | 44 +- .../services/NodeIKernelRichMediaService.d.ts | 12 +- .../src/services/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- 47 files changed, 551 insertions(+), 72 deletions(-) create mode 100644 docs/develop/Msg常量NTAndroid.md diff --git a/docs/develop/Msg常量NTAndroid.md b/docs/develop/Msg常量NTAndroid.md new file mode 100644 index 00000000..df17ac81 --- /dev/null +++ b/docs/develop/Msg常量NTAndroid.md @@ -0,0 +1,449 @@ +```java +public final class MsgConstant { + public static final int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMMINIAPP = 1; + public static final int ARKSTRUCTELEMENTSUBTYPETENCENTDOCFROMPLUSPANEL = 2; + public static final int ARKSTRUCTELEMENTSUBTYPEUNKNOWN = 0; + public static final int ATTYPEALL = 1; + public static final int ATTYPECATEGORY = 512; + public static final int ATTYPECHANNEL = 16; + public static final int ATTYPEME = 4; + public static final int ATTYPEONE = 2; + public static final int ATTYPEONLINE = 64; + public static final int ATTYPEROLE = 8; + public static final int ATTYPESUMMON = 32; + public static final int ATTYPESUMMONONLINE = 128; + public static final int ATTYPESUMMONROLE = 256; + public static final int ATTYPEUNKNOWN = 0; + public static final int CALENDARELEMSUBTYPECOMMON = 3; + public static final int CALENDARELEMSUBTYPESTRONG = 1; + public static final int CALENDARELEMSUBTYPEUNKNOWN = 0; + public static final int CALENDARELEMSUBTYPEWEAK = 2; + public static final int FACEBUBBLEELEMSUBTYPENORMAL = 1; + public static final int FACEBUBBLEELEMSUBTYPEUNKNOWN = 0; + public static final int FETCHLONGMSGERRCODEMSGEXPIRED = 196; + public static final int FILEELEMENTSUBTYPEAI = 16; + public static final int FILEELEMENTSUBTYPEAPP = 11; + public static final int FILEELEMENTSUBTYPEAUDIO = 3; + public static final int FILEELEMENTSUBTYPEDOC = 4; + public static final int FILEELEMENTSUBTYPEEMOTICON = 15; + public static final int FILEELEMENTSUBTYPEEXCEL = 6; + public static final int FILEELEMENTSUBTYPEFOLDER = 13; + public static final int FILEELEMENTSUBTYPEHTML = 10; + public static final int FILEELEMENTSUBTYPEIPA = 14; + public static final int FILEELEMENTSUBTYPENORMAL = 0; + public static final int FILEELEMENTSUBTYPEPDF = 7; + public static final int FILEELEMENTSUBTYPEPIC = 1; + public static final int FILEELEMENTSUBTYPEPPT = 5; + public static final int FILEELEMENTSUBTYPEPSD = 12; + public static final int FILEELEMENTSUBTYPETXT = 8; + public static final int FILEELEMENTSUBTYPEVIDEO = 2; + public static final int FILEELEMENTSUBTYPEZIP = 9; + public static final int GRAYTIPELEMENTSUBTYPEAIOOP = 15; + public static final int GRAYTIPELEMENTSUBTYPEBLOCK = 14; + public static final int GRAYTIPELEMENTSUBTYPEBUDDY = 5; + public static final int GRAYTIPELEMENTSUBTYPEBUDDYNOTIFY = 9; + public static final int GRAYTIPELEMENTSUBTYPEEMOJIREPLY = 3; + public static final int GRAYTIPELEMENTSUBTYPEESSENCE = 7; + public static final int GRAYTIPELEMENTSUBTYPEFEED = 6; + public static final int GRAYTIPELEMENTSUBTYPEFEEDCHANNELMSG = 11; + public static final int GRAYTIPELEMENTSUBTYPEFILE = 10; + public static final int GRAYTIPELEMENTSUBTYPEGROUP = 4; + public static final int GRAYTIPELEMENTSUBTYPEGROUPNOTIFY = 8; + public static final int GRAYTIPELEMENTSUBTYPEJSON = 17; + public static final int GRAYTIPELEMENTSUBTYPELOCALMSG = 13; + public static final int GRAYTIPELEMENTSUBTYPEPROCLAMATION = 2; + public static final int GRAYTIPELEMENTSUBTYPEREVOKE = 1; + public static final int GRAYTIPELEMENTSUBTYPEUNKNOWN = 0; + public static final int GRAYTIPELEMENTSUBTYPEWALLET = 16; + public static final int GRAYTIPELEMENTSUBTYPEXMLMSG = 12; + public static final int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBLACKGROUND = 4; + public static final int INLINEKEYBOARDBUTTONRENDERSTYLEBLUEBORDER = 1; + public static final int INLINEKEYBOARDBUTTONRENDERSTYLEGRAYBORDER = 0; + public static final int INLINEKEYBOARDBUTTONRENDERSTYLENOBORDER = 2; + public static final int INLINEKEYBOARDBUTTONRENDERSTYLEREDCHARACTER = 3; + public static final int INPUTSTATUSTYPECANCEL = 2; + public static final int INPUTSTATUSTYPESPEAK = 3; + public static final int INPUTSTATUSTYPETEXT = 1; + public static final int KACTIVITYMSG = 22; + public static final int KADDLOCALMSGEXTINFOTYPEPROLOGUEMSG = 1; + public static final int KANONYMOUSATMEMSGTYPEINMSGBOX = 1001; + public static final int KANONYMOUSFLAGFROMOTHERPEOPLE = 1; + public static final int KANONYMOUSFLAGFROMOWN = 2; + public static final int KANONYMOUSFLAGINVALID = 0; + public static final int KAPPCHANNELMSG = 16; + public static final int KATALLMSGTYPEINMSGBOX = 2000; + public static final int KATMEMSGTYPEINMSGBOX = 1000; + public static final int KATTRIBUTETYPEADELIEMSG = 16; + public static final int KATTRIBUTETYPEEXTENDBUSINESS = 13; + public static final int KATTRIBUTETYPEFEEDBACKSTATE = 17; + public static final int KATTRIBUTETYPEGROUPHONOR = 2; + public static final int KATTRIBUTETYPEKINGHONOR = 3; + public static final int KATTRIBUTETYPELONGMSG = 8; + public static final int KATTRIBUTETYPEMEMORYSTATEMSGINFO = 18; + public static final int KATTRIBUTETYPEMSG = 0; + public static final int KATTRIBUTETYPEMSGBOXEVENTTYPE = 14; + public static final int KATTRIBUTETYPEPERSONAL = 1; + public static final int KATTRIBUTETYPEPUBLICACCOUNT = 4; + public static final int KATTRIBUTETYPEQQCONNECT = 12; + public static final int KATTRIBUTETYPESENDMSGRSPTRANSSVRINFO = 15; + public static final int KATTRIBUTETYPESHAREDMSGINFO = 5; + public static final int KATTRIBUTETYPETEMPCHATGAMESESSION = 6; + public static final int KATTRIBUTETYPETOROBOTMSG = 9; + public static final int KATTRIBUTETYPEUININFO = 7; + public static final int KATTRIBUTETYPEZPLAN = 11; + public static final int KAUTOREPLYTEXTNONEINDEX = -1; + public static final int KAVRECORDMSG = 19; + public static final int KBUSINESSTYPGUILD = 1; + public static final int KBUSINESSTYPNT = 0; + public static final int KCHATTYPEADELIE = 42; + public static final int KCHATTYPEBUDDYNOTIFY = 5; + public static final int KCHATTYPEC2C = 1; + public static final int KCHATTYPECIRCLE = 113; + public static final int KCHATTYPEDATALINE = 8; + public static final int KCHATTYPEDATALINEMQQ = 134; + public static final int KCHATTYPEDISC = 3; + public static final int KCHATTYPEFAV = 41; + public static final int KCHATTYPEGAMEMESSAGE = 105; + public static final int KCHATTYPEGAMEMESSAGEFOLDER = 116; + public static final int KCHATTYPEGROUP = 2; + public static final int KCHATTYPEGROUPBLESS = 133; + public static final int KCHATTYPEGROUPGUILD = 9; + public static final int KCHATTYPEGROUPHELPER = 7; + public static final int KCHATTYPEGROUPNOTIFY = 6; + public static final int KCHATTYPEGUILD = 4; + public static final int KCHATTYPEGUILDMETA = 16; + public static final int KCHATTYPEMATCHFRIEND = 104; + public static final int KCHATTYPEMATCHFRIENDFOLDER = 109; + public static final int KCHATTYPENEARBY = 106; + public static final int KCHATTYPENEARBYASSISTANT = 107; + public static final int KCHATTYPENEARBYFOLDER = 110; + public static final int KCHATTYPENEARBYHELLOFOLDER = 112; + public static final int KCHATTYPENEARBYINTERACT = 108; + public static final int KCHATTYPEQQNOTIFY = 132; + public static final int KCHATTYPERELATEACCOUNT = 131; + public static final int KCHATTYPESERVICEASSISTANT = 118; + public static final int KCHATTYPESERVICEASSISTANTSUB = 201; + public static final int KCHATTYPESQUAREPUBLIC = 115; + public static final int KCHATTYPESUBSCRIBEFOLDER = 30; + public static final int KCHATTYPETEMPADDRESSBOOK = 111; + public static final int KCHATTYPETEMPBUSSINESSCRM = 102; + public static final int KCHATTYPETEMPC2CFROMGROUP = 100; + public static final int KCHATTYPETEMPC2CFROMUNKNOWN = 99; + public static final int KCHATTYPETEMPFRIENDVERIFY = 101; + public static final int KCHATTYPETEMPNEARBYPRO = 119; + public static final int KCHATTYPETEMPPUBLICACCOUNT = 103; + public static final int KCHATTYPETEMPWPA = 117; + public static final int KCHATTYPEUNKNOWN = 0; + public static final int KCHATTYPEWEIYUN = 40; + public static final int KCOMMONREDENVELOPEMSGTYPEINMSGBOX = 1007; + public static final int KDOWNSOURCETYPEAIOINNER = 1; + public static final int KDOWNSOURCETYPEBIGSCREEN = 2; + public static final int KDOWNSOURCETYPEHISTORY = 3; + public static final int KDOWNSOURCETYPEUNKNOWN = 0; + public static final int KELEMTYPEACTIVITY = 25; + public static final int KELEMTYPEACTIVITYSTATE = 41; + public static final int KELEMTYPEACTIVITYSUBTYPECREATEMOBATEAM = 12; + public static final int KELEMTYPEACTIVITYSUBTYPEDISBANDMOBATEAM = 11; + public static final int KELEMTYPEACTIVITYSUBTYPEFEEDSQUARE = 10001; + public static final int KELEMTYPEACTIVITYSUBTYPEFINISHGAME = 16; + public static final int KELEMTYPEACTIVITYSUBTYPEFINISHMATCHTEAM = 14; + public static final int KELEMTYPEACTIVITYSUBTYPEHOTCHAT = 10000; + public static final int KELEMTYPEACTIVITYSUBTYPEMINIGAME = 18; + public static final int KELEMTYPEACTIVITYSUBTYPEMUSICPLAY = 17; + public static final int KELEMTYPEACTIVITYSUBTYPENEWSMOBA = 9; + public static final int KELEMTYPEACTIVITYSUBTYPENOLIVE = 2; + public static final int KELEMTYPEACTIVITYSUBTYPENOSCREENSHARE = 7; + public static final int KELEMTYPEACTIVITYSUBTYPENOVOICE = 3; + public static final int KELEMTYPEACTIVITYSUBTYPEONLIVE = 1; + public static final int KELEMTYPEACTIVITYSUBTYPEONSCREENSHARE = 6; + public static final int KELEMTYPEACTIVITYSUBTYPEONVOICE = 4; + public static final int KELEMTYPEACTIVITYSUBTYPESTARTMATCHTEAM = 13; + public static final int KELEMTYPEACTIVITYSUBTYPETARTGAME = 15; + public static final int KELEMTYPEACTIVITYSUBTYPEUNKNOWN = 0; + public static final int KELEMTYPEADELIEACTIONBAR = 44; + public static final int KELEMTYPEADELIERECOMMENDEDMSG = 43; + public static final int KELEMTYPEARKSTRUCT = 10; + public static final int KELEMTYPEAVRECORD = 21; + public static final int KELEMTYPECALENDAR = 19; + public static final int KELEMTYPEFACE = 6; + public static final int KELEMTYPEFACEBUBBLE = 27; + public static final int KELEMTYPEFEED = 22; + public static final int KELEMTYPEFILE = 3; + public static final int KELEMTYPEGIPHY = 15; + public static final int KELEMTYPEGRAYTIP = 8; + public static final int KELEMTYPEINLINEKEYBOARD = 17; + public static final int KELEMTYPEINTEXTGIFT = 18; + public static final int KELEMTYPELIVEGIFT = 12; + public static final int KELEMTYPEMARKDOWN = 14; + public static final int KELEMTYPEMARKETFACE = 11; + public static final int KELEMTYPEMULTIFORWARD = 16; + public static final int KELEMTYPEONLINEFILE = 23; + public static final int KELEMTYPEPIC = 2; + public static final int KELEMTYPEPROLOGUE = 46; + public static final int KELEMTYPEPTT = 4; + public static final int KELEMTYPEREPLY = 7; + public static final int KELEMTYPESHARELOCATION = 28; + public static final int KELEMTYPESTRUCTLONGMSG = 13; + public static final int KELEMTYPETASKTOPMSG = 29; + public static final int KELEMTYPETEXT = 1; + public static final int KELEMTYPETOFU = 26; + public static final int KELEMTYPEUNKNOWN = 0; + public static final int KELEMTYPEVIDEO = 5; + public static final int KELEMTYPEWALLET = 9; + public static final int KELEMTYPEYOLOGAMERESULT = 20; + public static final int KENTERAIO = 1; + public static final int KEXITAIO = 2; + public static final int KFEEDBACKBUTTONTYPEDISLIKE = 2; + public static final int KFEEDBACKBUTTONTYPELIKE = 1; + public static final int KFEEDBACKBUTTONTYPEPROMPTCLICK = 5; + public static final int KFEEDBACKBUTTONTYPEREGENERATE = 4; + public static final int KFEEDBACKBUTTONTYPEUNKNOWN = 0; + public static final int KFEEDBACKOPTLIKE = 1; + public static final int KFEEDBACKOPTUNKNOWN = 0; + public static final int KFEEDBACKOPTUNLIKE = 2; + public static final int KFRIENDNEWADDEDMSGTYPEINMSGBOX = 1008; + public static final int KGAMEBOXNEWMSGTYPEINMSGBOX = 3000; + public static final int KGIFTATMEMSGTYPEINMSGBOX = 1005; + public static final int KGROUPFILEATALLMSGTYPEINMSGBOX = 2001; + public static final int KGROUPHOMEWORK = 20000; + public static final int KGROUPHOMEWORKTASK = 20001; + public static final int KGROUPKEYWORDMSGTYPEINMSGBOX = 2006; + public static final int KGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2004; + public static final int KGROUPTASKATALLMSGTYPEINMSGBOX = 2003; + public static final int KGROUPUNREADTYPEINMSGBOX = 2007; + public static final int KGUILDCHANNELLIST = 10; + public static final int KHIGHLIGHTWORDINTEMPCHATTYPEINMSGBOX = 1009; + public static final int KHOMEWORKREMINDER = 10000; + public static final int KLIKEORDISLIKESTATEDISLIKE = 2; + public static final int KLIKEORDISLIKESTATELIKE = 1; + public static final int KLIKEORDISLIKESTATENONESELECTED = 0; + public static final int KMARKETFACE = 17; + public static final int KMEMORYSTATEMSGTYPEADELIEWELCOME = 1; + public static final int KMEMORYSTATEMSGTYPEUNKNOWN = 0; + public static final int KMINIPROGRAMNOTICE = 114; + public static final int KMSGSUBTYPEARKGROUPANNOUNCE = 3; + public static final int KMSGSUBTYPEARKGROUPANNOUNCECONFIRMREQUIRED = 4; + public static final int KMSGSUBTYPEARKGROUPGIFTATME = 5; + public static final int KMSGSUBTYPEARKGROUPTASKATALL = 6; + public static final int KMSGSUBTYPEARKMULTIMSG = 7; + public static final int KMSGSUBTYPEARKNORMAL = 0; + public static final int KMSGSUBTYPEARKTENCENTDOCFROMMINIAPP = 1; + public static final int KMSGSUBTYPEARKTENCENTDOCFROMPLUSPANEL = 2; + public static final int KMSGSUBTYPEEMOTICON = 15; + public static final int KMSGSUBTYPEFILEAPP = 11; + public static final int KMSGSUBTYPEFILEAUDIO = 3; + public static final int KMSGSUBTYPEFILEDOC = 4; + public static final int KMSGSUBTYPEFILEEXCEL = 6; + public static final int KMSGSUBTYPEFILEFOLDER = 13; + public static final int KMSGSUBTYPEFILEHTML = 10; + public static final int KMSGSUBTYPEFILEIPA = 14; + public static final int KMSGSUBTYPEFILENORMAL = 0; + public static final int KMSGSUBTYPEFILEPDF = 7; + public static final int KMSGSUBTYPEFILEPIC = 1; + public static final int KMSGSUBTYPEFILEPPT = 5; + public static final int KMSGSUBTYPEFILEPSD = 12; + public static final int KMSGSUBTYPEFILETXT = 8; + public static final int KMSGSUBTYPEFILEVIDEO = 2; + public static final int KMSGSUBTYPEFILEZIP = 9; + public static final int KMSGSUBTYPELINK = 5; + public static final int KMSGSUBTYPEMARKETFACE = 1; + public static final int KMSGSUBTYPEMIXEMOTICON = 7; + public static final int KMSGSUBTYPEMIXFACE = 3; + public static final int KMSGSUBTYPEMIXMARKETFACE = 2; + public static final int KMSGSUBTYPEMIXPIC = 1; + public static final int KMSGSUBTYPEMIXREPLY = 4; + public static final int KMSGSUBTYPEMIXTEXT = 0; + public static final int KMSGSUBTYPETENCENTDOC = 6; + public static final int KMSGTYPEARKSTRUCT = 11; + public static final int KMSGTYPEFACEBUBBLE = 24; + public static final int KMSGTYPEFILE = 3; + public static final int KMSGTYPEGIFT = 14; + public static final int KMSGTYPEGIPHY = 13; + public static final int KMSGTYPEGRAYTIPS = 5; + public static final int KMSGTYPEMIX = 2; + public static final int KMSGTYPEMULTIMSGFORWARD = 8; + public static final int KMSGTYPENULL = 1; + public static final int KMSGTYPEONLINEFILE = 21; + public static final int KMSGTYPEONLINEFOLDER = 27; + public static final int KMSGTYPEPROLOGUE = 29; + public static final int KMSGTYPEPTT = 6; + public static final int KMSGTYPEREPLY = 9; + public static final int KMSGTYPESHARELOCATION = 25; + public static final int KMSGTYPESTRUCT = 4; + public static final int KMSGTYPESTRUCTLONGMSG = 12; + public static final int KMSGTYPETEXTGIFT = 15; + public static final int KMSGTYPEUNKNOWN = 0; + public static final int KMSGTYPEVIDEO = 7; + public static final int KMSGTYPEWALLET = 10; + public static final int KNEEDCONFIRMGROUPMANNOUNCEATALLMSGTYPEINMSGBOX = 2005; + public static final int KNOTPASSTHROUGHEVENTTYPEUPPERBOUNDARY = 9999; + public static final int KPTTFORMATTYPEAMR = 0; + public static final int KPTTFORMATTYPESILK = 1; + public static final int KPTTTRANSLATESTATUSFAIL = 3; + public static final int KPTTTRANSLATESTATUSSUC = 2; + public static final int KPTTTRANSLATESTATUSTRANSLATING = 1; + public static final int KPTTTRANSLATESTATUSUNKNOWN = 0; + public static final int KPTTVIPLEVELTYPENONE = 0; + public static final int KPTTVIPLEVELTYPEQQVIP = 0; + public static final int KPTTVIPLEVELTYPESVIP = 0; + public static final int KPTTVOICECHANGETYPEBEASTMACHINE = 7; + public static final int KPTTVOICECHANGETYPEBOY = 2; + public static final int KPTTVOICECHANGETYPECATCHCOLD = 13; + public static final int KPTTVOICECHANGETYPEECHO = 5; + public static final int KPTTVOICECHANGETYPEFATGUY = 16; + public static final int KPTTVOICECHANGETYPEFLASHING = 9; + public static final int KPTTVOICECHANGETYPEGIRL = 1; + public static final int KPTTVOICECHANGETYPEHORRIBLE = 3; + public static final int KPTTVOICECHANGETYPEKINDERGARTEN = 6; + public static final int KPTTVOICECHANGETYPEMEDAROT = 15; + public static final int KPTTVOICECHANGETYPENONE = 0; + public static final int KPTTVOICECHANGETYPEOPTIMUSPRIME = 8; + public static final int KPTTVOICECHANGETYPEOUTOFDATE = 14; + public static final int KPTTVOICECHANGETYPEPAPI = 11; + public static final int KPTTVOICECHANGETYPEQUICK = 4; + public static final int KPTTVOICECHANGETYPESTUTTER = 10; + public static final int KPTTVOICECHANGETYPETRAPPEDBEAST = 12; + public static final int KPTTVOICETYPEINTERCOM = 1; + public static final int KPTTVOICETYPESOUNDRECORD = 2; + public static final int KPTTVOICETYPEUNKNOW = 0; + public static final int KPTTVOICETYPEVOICECHANGE = 3; + public static final int KPUBLICACCOUNTTIANSHUHIGHLIGHTWORDTYPEINMSGBOX = 1010; + public static final int KREPLYABSELEMTYPEFACE = 2; + public static final int KREPLYABSELEMTYPEPIC = 3; + public static final int KREPLYABSELEMTYPETEXT = 1; + public static final int KREPLYABSELEMTYPEUNKNOWN = 0; + public static final int KREPLYATMEMSGTYPEINMSGBOX = 1002; + public static final int KRMDOWNTYPEORIG = 1; + public static final int KRMDOWNTYPETHUMB = 2; + public static final int KRMDOWNTYPEUNKNOWN = 0; + public static final int KRMFILETHUMBSIZE128 = 128; + public static final int KRMFILETHUMBSIZE320 = 320; + public static final int KRMFILETHUMBSIZE384 = 384; + public static final int KRMFILETHUMBSIZE750 = 750; + public static final int KRMPICAIOTHUMBSIZE = 0; + public static final int KRMPICTHUMBSIZE198 = 198; + public static final int KRMPICTHUMBSIZE720 = 720; + public static final int KRMPICTYPEBMP = 3; + public static final int KRMPICTYPECHECKOTHER = 900; + public static final int KRMPICTYPEGIF = 2; + public static final int KRMPICTYPEJPG = 0; + public static final int KRMPICTYPENEWPICAPNG = 2001; + public static final int KRMPICTYPENEWPICBMP = 1005; + public static final int KRMPICTYPENEWPICGIF = 2000; + public static final int KRMPICTYPENEWPICJPEG = 1000; + public static final int KRMPICTYPENEWPICPNG = 1001; + public static final int KRMPICTYPENEWPICPROGERSSIVJPEG = 1003; + public static final int KRMPICTYPENEWPICSHARPP = 1004; + public static final int KRMPICTYPENEWPICWEBP = 1002; + public static final int KRMPICTYPEPNG = 1; + public static final int KRMPICTYPEUNKOWN = 0; + public static final int KRMTHUMBSIZEZERO = 0; + public static final int KRMTRNASFERSTATUSDOWNLOADING = 3; + public static final int KRMTRNASFERSTATUSFAIL = 5; + public static final int KRMTRNASFERSTATUSINIT = 1; + public static final int KRMTRNASFERSTATUSSUC = 4; + public static final int KRMTRNASFERSTATUSUNKOW = 0; + public static final int KRMTRNASFERSTATUSUPLOADING = 2; + public static final int KRMTRNASFERSTATUSUSERCANCEL = 6; + public static final int KSEEKINGPARTNERFLAGSEEKING = 1; + public static final int KSEEKINGPARTNERFLAGUNKNOWN = 0; + public static final int KSENDSTATUSFAILED = 0; + public static final int KSENDSTATUSSENDING = 1; + public static final int KSENDSTATUSSUCCESS = 2; + public static final int KSENDSTATUSSUCCESSNOSEQ = 3; + public static final int KSENDTYPEDROPPED = 6; + public static final int KSENDTYPELOCAL = 3; + public static final int KSENDTYPEOTHERDEVICE = 2; + public static final int KSENDTYPERECV = 0; + public static final int KSENDTYPESELF = 1; + public static final int KSENDTYPESELFFORWARD = 4; + public static final int KSENDTYPESELFMULTIFORWARD = 5; + public static final int KSESSIONTYPEADDRESSBOOK = 5; + public static final int KSESSIONTYPEC2C = 1; + public static final int KSESSIONTYPEDISC = 3; + public static final int KSESSIONTYPEFAV = 41; + public static final int KSESSIONTYPEGROUP = 2; + public static final int KSESSIONTYPEGROUPBLESS = 52; + public static final int KSESSIONTYPEGUILD = 4; + public static final int KSESSIONTYPEGUILDMETA = 16; + public static final int KSESSIONTYPENEARBYPRO = 54; + public static final int KSESSIONTYPEQQNOTIFY = 51; + public static final int KSESSIONTYPERELATEACCOUNT = 50; + public static final int KSESSIONTYPESERVICEASSISTANT = 19; + public static final int KSESSIONTYPESUBSCRIBEFOLDER = 30; + public static final int KSESSIONTYPETYPEBUDDYNOTIFY = 7; + public static final int KSESSIONTYPETYPEGROUPHELPER = 9; + public static final int KSESSIONTYPETYPEGROUPNOTIFY = 8; + public static final int KSESSIONTYPEUNKNOWN = 0; + public static final int KSESSIONTYPEWEIYUN = 40; + public static final int KSPECIALCAREMSGTYPEINMSGBOX = 1006; + public static final int KSPECIFIEDREDENVELOPEATMEMSGTYPEINMSGBOX = 1004; + public static final int KSPECIFIEDREDENVELOPEATONEMSGTYPEINMSGBOX = 1003; + public static final int KTENCENTDOCTYPEADDON = 110; + public static final int KTENCENTDOCTYPEDOC = 0; + public static final int KTENCENTDOCTYPEDRAWING = 89; + public static final int KTENCENTDOCTYPEDRIVE = 101; + public static final int KTENCENTDOCTYPEFILE = 100; + public static final int KTENCENTDOCTYPEFLOWCHART = 91; + public static final int KTENCENTDOCTYPEFOLDER = 3; + public static final int KTENCENTDOCTYPEFORM = 2; + public static final int KTENCENTDOCTYPEMIND = 90; + public static final int KTENCENTDOCTYPENOTES = 5; + public static final int KTENCENTDOCTYPEPDF = 6; + public static final int KTENCENTDOCTYPEPROGRAM = 7; + public static final int KTENCENTDOCTYPESHEET = 1; + public static final int KTENCENTDOCTYPESLIDE = 4; + public static final int KTENCENTDOCTYPESMARTCANVAS = 8; + public static final int KTENCENTDOCTYPESMARTSHEET = 9; + public static final int KTENCENTDOCTYPESPEECH = 102; + public static final int KTENCENTDOCTYPEUNKNOWN = 10; + public static final int KTOFURECORDMSG = 23; + public static final int KTOPMSGTYPETASK = 1; + public static final int KTOPMSGTYPEUNKNOWN = 0; + public static final int KTRIGGERTYPEAUTO = 1; + public static final int KTRIGGERTYPEMANUAL = 0; + public static final int KUNKNOWN = 0; + public static final int KUNKNOWNTYPEINMSGBOX = 0; + public static final int KUNREADCNTUPTYPEALLDIRECTSESSION = 4; + public static final int KUNREADCNTUPTYPEALLFEEDSINGUILD = 6; + public static final int KUNREADCNTUPTYPEALLGUILD = 3; + public static final int KUNREADCNTUPTYPECATEGORY = 5; + public static final int KUNREADCNTUPTYPECHANNEL = 1; + public static final int KUNREADCNTUPTYPECONTACT = 0; + public static final int KUNREADCNTUPTYPEGUILD = 2; + public static final int KUNREADCNTUPTYPEGUILDGROUP = 7; + public static final int KUNREADSHOWTTYPEGRAYPOINT = 2; + public static final int KUNREADSHOWTYPEREDPOINT = 1; + public static final int KUNREADSHOWTYPESMALLGRAYPOINT = 4; + public static final int KUNREADSHOWTYPESMALLREDPOINT = 3; + public static final int KUNREADSHOWTYPEUNKNOWN = 0; + public static final int KVASGIFTCOINTYPECOIN = 0; + public static final int KVASGIFTCOINTYPEMARKETCOIN = 1; + public static final int KYOLOGAMERESULTMSG = 18; + public static final int PIC_800_RECOMMENDED = 7; + public static final int PIC_AIGC_EMOJI = 14; + public static final int PIC_ALBUM_GIF = 11; + public static final int PIC_COMMERCIAL_ADVERTISING = 9; + public static final int PIC_FIND = 10; + public static final int PIC_HOT = 2; + public static final int PIC_HOT_EMOJI = 13; + public static final int PIC_NORMAL = 0; + public static final int PIC_PK = 3; + public static final int PIC_QQZONE = 5; + public static final int PIC_SELFIE_GIF = 8; + public static final int PIC_SEND_FROM_TAB_SEARCH_BOX = 12; + public static final int PIC_USER = 1; + public static final int PIC_WISDOM_FIGURE = 4; + public static final int REPLYORIGINALMSGSTATEHASRECALL = 1; + public static final int REPLYORIGINALMSGSTATEUNKNOWN = 0; + public static final int SHARELOCATIONELEMSUBTYPENORMAL = 1; + public static final int SHARELOCATIONELEMSUBTYPEUNKNOWN = 0; + public static final int TEXTELEMENTSUBTYPELINK = 1; + public static final int TEXTELEMENTSUBTYPETENCENTDOC = 2; + public static final int TEXTELEMENTSUBTYPEUNKNOWN = 0; + + public String toString() { + return "MsgConstant{}"; + } +} +``` \ No newline at end of file diff --git a/src/core b/src/core index 560889a9..1fec921c 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 560889a937161423e03bfe1cf55ec805725011d5 +Subproject commit 1fec921c01103323f1bc7945036ad571444a3832 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 197348b9..f512dbd4 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x348973=_0x3c1e;function _0x3c1e(_0x5ee745,_0x337c0d){var _0x2cbd1f=_0x2cbd();return _0x3c1e=function(_0x3c1e92,_0x3b810c){_0x3c1e92=_0x3c1e92-0x1ab;var _0x37b802=_0x2cbd1f[_0x3c1e92];return _0x37b802;},_0x3c1e(_0x5ee745,_0x337c0d);}function _0x2cbd(){var _0x351c54=['217VpbvZf','623028XLabrC','4201110oWJQHv','4686344hsQdLM','60384cRWWDI','getGroupCode','5753820UbkJGg','onMSFSsoError','8523315Vdgnzi','845698CoLuKP','50iwlXfY','9ENDphd'];_0x2cbd=function(){return _0x351c54;};return _0x2cbd();}(function(_0x137249,_0xf1ab75){var _0x1c8973=_0x3c1e,_0x43f0c9=_0x137249();while(!![]){try{var _0x1b956d=-parseInt(_0x1c8973(0x1ad))/0x1+-parseInt(_0x1c8973(0x1b5))/0x2*(parseInt(_0x1c8973(0x1ab))/0x3)+-parseInt(_0x1c8973(0x1b2))/0x4+-parseInt(_0x1c8973(0x1ae))/0x5+-parseInt(_0x1c8973(0x1b0))/0x6*(parseInt(_0x1c8973(0x1ac))/0x7)+parseInt(_0x1c8973(0x1af))/0x8+parseInt(_0x1c8973(0x1b4))/0x9*(parseInt(_0x1c8973(0x1b6))/0xa);if(_0x1b956d===_0xf1ab75)break;else _0x43f0c9['push'](_0x43f0c9['shift']());}catch(_0x48c912){_0x43f0c9['push'](_0x43f0c9['shift']());}}}(_0x2cbd,0xccc4c));export class DependsAdapter{['onMSFStatusChange'](_0x4a8bc4,_0x2ae48d){}[_0x348973(0x1b3)](_0x2fd458){}[_0x348973(0x1b1)](_0x309ac2){}} \ No newline at end of file +var _0x5a98eb=_0x1b48;function _0x1142(){var _0x2104a9=['5199UAEAlW','1188EmnPIH','2782840rBKigY','24AIISmi','18138LclmiN','onMSFStatusChange','10875680YCKAVb','1032282lRZueb','1315HYnwVN','45301MTTLHI','1649249TcIYRK','onMSFSsoError'];_0x1142=function(){return _0x2104a9;};return _0x1142();}function _0x1b48(_0x250b99,_0x1b164){var _0x1142b4=_0x1142();return _0x1b48=function(_0x1b480c,_0x1ba7b1){_0x1b480c=_0x1b480c-0x1e5;var _0x36f145=_0x1142b4[_0x1b480c];return _0x36f145;},_0x1b48(_0x250b99,_0x1b164);}(function(_0x584d9b,_0x41a83e){var _0x4616a9=_0x1b48,_0x2b121d=_0x584d9b();while(!![]){try{var _0x4b3b91=-parseInt(_0x4616a9(0x1e7))/0x1+-parseInt(_0x4616a9(0x1eb))/0x2*(parseInt(_0x4616a9(0x1ea))/0x3)+-parseInt(_0x4616a9(0x1ec))/0x4+-parseInt(_0x4616a9(0x1e6))/0x5*(-parseInt(_0x4616a9(0x1ee))/0x6)+parseInt(_0x4616a9(0x1e8))/0x7+-parseInt(_0x4616a9(0x1ed))/0x8*(-parseInt(_0x4616a9(0x1e5))/0x9)+parseInt(_0x4616a9(0x1f0))/0xa;if(_0x4b3b91===_0x41a83e)break;else _0x2b121d['push'](_0x2b121d['shift']());}catch(_0x48ad26){_0x2b121d['push'](_0x2b121d['shift']());}}}(_0x1142,0xa8ec1));export class DependsAdapter{[_0x5a98eb(0x1ef)](_0x106c27,_0x343b9d){}[_0x5a98eb(0x1e9)](_0x1bb71b){}['getGroupCode'](_0x4e65c5){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index 33cca19e..0327bd42 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x5a55(_0x2e45c5,_0x12f27b){var _0xc2cfaa=_0xc2cf();return _0x5a55=function(_0x5a552b,_0x9c1933){_0x5a552b=_0x5a552b-0xe7;var _0x34153b=_0xc2cfaa[_0x5a552b];return _0x34153b;},_0x5a55(_0x2e45c5,_0x12f27b);}var _0x3e8271=_0x5a55;function _0xc2cf(){var _0x5b8906=['dispatchCallWithJson','597285VrcfBe','1413zhUlMy','dispatchRequest','8210685mqBWYB','304168qDyUuR','6017376KwvHtv','2283784VxTjMw','171408VAMbvH','5Rlkgti','1951736RdKeNO'];_0xc2cf=function(){return _0x5b8906;};return _0xc2cf();}(function(_0x4ac8f5,_0x4564a7){var _0x3dce5d=_0x5a55,_0x1d3e23=_0x4ac8f5();while(!![]){try{var _0x46add1=parseInt(_0x3dce5d(0xed))/0x1+-parseInt(_0x3dce5d(0xef))/0x2+-parseInt(_0x3dce5d(0xe9))/0x3+parseInt(_0x3dce5d(0xe7))/0x4*(parseInt(_0x3dce5d(0xf1))/0x5)+-parseInt(_0x3dce5d(0xee))/0x6+-parseInt(_0x3dce5d(0xec))/0x7+-parseInt(_0x3dce5d(0xf0))/0x8*(-parseInt(_0x3dce5d(0xea))/0x9);if(_0x46add1===_0x4564a7)break;else _0x1d3e23['push'](_0x1d3e23['shift']());}catch(_0x4f3f26){_0x1d3e23['push'](_0x1d3e23['shift']());}}}(_0xc2cf,0x9c0aa));export class DispatcherAdapter{[_0x3e8271(0xeb)](_0x297547){}['dispatchCall'](_0x2410c6){}[_0x3e8271(0xe8)](_0x2f95c2){}} \ No newline at end of file +(function(_0x3f3b58,_0x49f8b8){var _0x475af6=_0x5804,_0x251f53=_0x3f3b58();while(!![]){try{var _0x36b345=-parseInt(_0x475af6(0x141))/0x1+-parseInt(_0x475af6(0x139))/0x2*(-parseInt(_0x475af6(0x13b))/0x3)+-parseInt(_0x475af6(0x140))/0x4*(-parseInt(_0x475af6(0x13c))/0x5)+parseInt(_0x475af6(0x13e))/0x6+-parseInt(_0x475af6(0x13f))/0x7+-parseInt(_0x475af6(0x138))/0x8*(-parseInt(_0x475af6(0x13a))/0x9)+parseInt(_0x475af6(0x13d))/0xa*(-parseInt(_0x475af6(0x137))/0xb);if(_0x36b345===_0x49f8b8)break;else _0x251f53['push'](_0x251f53['shift']());}catch(_0x277ec8){_0x251f53['push'](_0x251f53['shift']());}}}(_0x1732,0x4e952));function _0x5804(_0x1c7390,_0x41ff06){var _0x17325d=_0x1732();return _0x5804=function(_0x58043c,_0x18efbc){_0x58043c=_0x58043c-0x137;var _0x26a638=_0x17325d[_0x58043c];return _0x26a638;},_0x5804(_0x1c7390,_0x41ff06);}function _0x1732(){var _0x5a9070=['600387TNOnSM','33cutBHS','1089512aWXOEk','18926AKcmzd','18VAKZQf','111yhXbSu','65GHnECt','656500aSxNOr','3024714WsUKjX','105700SYhYTk','2364iPysDR'];_0x1732=function(){return _0x5a9070;};return _0x1732();}export class DispatcherAdapter{['dispatchRequest'](_0x397291){}['dispatchCall'](_0x270803){}['dispatchCallWithJson'](_0x4b2ead){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index cf686eb7..18396e76 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x4414(_0x491bbb,_0x4da3f5){var _0x47f06d=_0x47f0();return _0x4414=function(_0x441472,_0x1e87d4){_0x441472=_0x441472-0xce;var _0x1001cf=_0x47f06d[_0x441472];return _0x1001cf;},_0x4414(_0x491bbb,_0x4da3f5);}var _0x51e847=_0x4414;function _0x47f0(){var _0x5c4679=['3146440GkbGwK','onInstallFinished','getAppSetting','63770GrUMQh','354fswJOf','22brvXmU','3360240pOwJim','onGetOfflineMsg','2041956JywvWB','fixPicImgType','onShowErrUITips','2125010prfoPf','9QEsUAh','542338WDZURK','onUpdateGeneralFlag','3JqkKyP','10943824cvtLlO','onLog','8Tsgshb'];_0x47f0=function(){return _0x5c4679;};return _0x47f0();}(function(_0x1b8f36,_0x3f89c4){var _0x510ad6=_0x4414,_0x3766ac=_0x1b8f36();while(!![]){try{var _0x581e43=parseInt(_0x510ad6(0xdd))/0x1*(-parseInt(_0x510ad6(0xdb))/0x2)+parseInt(_0x510ad6(0xd4))/0x3+parseInt(_0x510ad6(0xe0))/0x4*(-parseInt(_0x510ad6(0xd9))/0x5)+parseInt(_0x510ad6(0xd2))/0x6*(parseInt(_0x510ad6(0xd1))/0x7)+parseInt(_0x510ad6(0xde))/0x8+-parseInt(_0x510ad6(0xda))/0x9*(parseInt(_0x510ad6(0xce))/0xa)+parseInt(_0x510ad6(0xd3))/0xb*(-parseInt(_0x510ad6(0xd6))/0xc);if(_0x581e43===_0x3f89c4)break;else _0x3766ac['push'](_0x3766ac['shift']());}catch(_0x5046e9){_0x3766ac['push'](_0x3766ac['shift']());}}}(_0x47f0,0xac9fb));export class GlobalAdapter{[_0x51e847(0xdf)](..._0x2e8508){}['onGetSrvCalTime'](..._0x4019cc){}[_0x51e847(0xd8)](..._0x25499a){}[_0x51e847(0xd7)](..._0x32fd06){}[_0x51e847(0xd0)](..._0x58e97f){}[_0x51e847(0xcf)](..._0x5c8ba6){}[_0x51e847(0xdc)](..._0x5b9901){}[_0x51e847(0xd5)](..._0x4e5be4){}} \ No newline at end of file +function _0x43bf(){var _0x24da4e=['49938GsGLTD','onGetOfflineMsg','1561032pTRTAF','fixPicImgType','onLog','5wlNjIM','77GGSNWI','1012935GLIcvJ','125919kqphVh','511UATsfs','640fnuNji','348dwMEjX','getAppSetting','684968smnswS','494mlAdPF','68puMLBq','onShowErrUITips','onUpdateGeneralFlag','238706nIfJBY'];_0x43bf=function(){return _0x24da4e;};return _0x43bf();}function _0x3b23(_0x100dee,_0x92dae5){var _0x43bf7d=_0x43bf();return _0x3b23=function(_0x3b23d8,_0x1f3b52){_0x3b23d8=_0x3b23d8-0x13e;var _0x3cb424=_0x43bf7d[_0x3b23d8];return _0x3cb424;},_0x3b23(_0x100dee,_0x92dae5);}var _0x4ef1f3=_0x3b23;(function(_0x163b21,_0x3540ff){var _0x34ead0=_0x3b23,_0x3492cc=_0x163b21();while(!![]){try{var _0x55d14f=-parseInt(_0x34ead0(0x149))/0x1*(-parseInt(_0x34ead0(0x14e))/0x2)+-parseInt(_0x34ead0(0x140))/0x3*(parseInt(_0x34ead0(0x14f))/0x4)+parseInt(_0x34ead0(0x145))/0x5*(parseInt(_0x34ead0(0x142))/0x6)+parseInt(_0x34ead0(0x146))/0x7*(-parseInt(_0x34ead0(0x14d))/0x8)+parseInt(_0x34ead0(0x148))/0x9*(parseInt(_0x34ead0(0x14a))/0xa)+-parseInt(_0x34ead0(0x147))/0xb+-parseInt(_0x34ead0(0x14b))/0xc*(-parseInt(_0x34ead0(0x13f))/0xd);if(_0x55d14f===_0x3540ff)break;else _0x3492cc['push'](_0x3492cc['shift']());}catch(_0x5dad62){_0x3492cc['push'](_0x3492cc['shift']());}}}(_0x43bf,0x79705));export class GlobalAdapter{[_0x4ef1f3(0x144)](..._0x3c4dd7){}['onGetSrvCalTime'](..._0x1cbfaa){}[_0x4ef1f3(0x150)](..._0x42a611){}[_0x4ef1f3(0x143)](..._0x102ce1){}[_0x4ef1f3(0x14c)](..._0x3205a4){}['onInstallFinished'](..._0x2d6902){}[_0x4ef1f3(0x13e)](..._0x16abe5){}[_0x4ef1f3(0x141)](..._0x1356fb){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 85f4c2dd..3011dc79 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x4106(_0x7539dd,_0x3a31d1){var _0x4df8c6=_0x4df8();return _0x4106=function(_0x4106af,_0x110401){_0x4106af=_0x4106af-0x178;var _0x4de855=_0x4df8c6[_0x4106af];return _0x4de855;},_0x4106(_0x7539dd,_0x3a31d1);}function _0x4df8(){var _0x2b6efc=['6120051YJJKtM','3620730kzdjzf','412231qRQCEq','11ZtMrdw','3081875IlllMC','4170250PzmiBP','486256eEBBoC','45PcRnsD','3akBsgX','4abIkrd','556246nSTeYg'];_0x4df8=function(){return _0x2b6efc;};return _0x4df8();}(function(_0x4af822,_0x380352){var _0x58b117=_0x4106,_0x5bfcf9=_0x4af822();while(!![]){try{var _0x5e6778=parseInt(_0x58b117(0x181))/0x1+-parseInt(_0x58b117(0x17e))/0x2*(-parseInt(_0x58b117(0x17c))/0x3)+-parseInt(_0x58b117(0x17d))/0x4*(parseInt(_0x58b117(0x178))/0x5)+-parseInt(_0x58b117(0x180))/0x6+parseInt(_0x58b117(0x17f))/0x7+-parseInt(_0x58b117(0x17a))/0x8*(parseInt(_0x58b117(0x17b))/0x9)+-parseInt(_0x58b117(0x179))/0xa*(-parseInt(_0x58b117(0x182))/0xb);if(_0x5e6778===_0x380352)break;else _0x5bfcf9['push'](_0x5bfcf9['shift']());}catch(_0x109686){_0x5bfcf9['push'](_0x5bfcf9['shift']());}}}(_0x4df8,0x6fccc));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x160105,_0xeb965b){var _0x2cdb78=_0xc284,_0x1a4d59=_0x160105();while(!![]){try{var _0x52a770=-parseInt(_0x2cdb78(0xb1))/0x1*(parseInt(_0x2cdb78(0xb3))/0x2)+-parseInt(_0x2cdb78(0xaa))/0x3*(-parseInt(_0x2cdb78(0xb5))/0x4)+parseInt(_0x2cdb78(0xb2))/0x5+parseInt(_0x2cdb78(0xab))/0x6*(parseInt(_0x2cdb78(0xae))/0x7)+parseInt(_0x2cdb78(0xb4))/0x8*(-parseInt(_0x2cdb78(0xb0))/0x9)+parseInt(_0x2cdb78(0xac))/0xa*(-parseInt(_0x2cdb78(0xaf))/0xb)+parseInt(_0x2cdb78(0xad))/0xc;if(_0x52a770===_0xeb965b)break;else _0x1a4d59['push'](_0x1a4d59['shift']());}catch(_0xec84d5){_0x1a4d59['push'](_0x1a4d59['shift']());}}}(_0x438d,0xe1364));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0xc284(_0x4e28c5,_0x2630c2){var _0x438d10=_0x438d();return _0xc284=function(_0xc28457,_0x7ce872){_0xc28457=_0xc28457-0xaa;var _0x138cf0=_0x438d10[_0xc28457];return _0x138cf0;},_0xc284(_0x4e28c5,_0x2630c2);}function _0x438d(){var _0x37fc15=['1287uhAAmA','18EMkILE','424795aZYGjr','5861365TVeMxt','2GcaRyy','4271536ILRvpY','4hekQom','4358907yRUmNl','270438NEUept','69010rXKbdP','5004360idwpXd','28cAIfUq'];_0x438d=function(){return _0x37fc15;};return _0x438d();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index 3c55a667..ab65430c 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x3e315b=_0x42d0;(function(_0x200e88,_0x1c4231){const _0x52a654=_0x42d0,_0x569632=_0x200e88();while(!![]){try{const _0x52e819=parseInt(_0x52a654(0x16a))/0x1+parseInt(_0x52a654(0x168))/0x2+-parseInt(_0x52a654(0x177))/0x3+parseInt(_0x52a654(0x181))/0x4+parseInt(_0x52a654(0x171))/0x5+parseInt(_0x52a654(0x17d))/0x6+-parseInt(_0x52a654(0x179))/0x7*(parseInt(_0x52a654(0x153))/0x8);if(_0x52e819===_0x1c4231)break;else _0x569632['push'](_0x569632['shift']());}catch(_0x1c45f1){_0x569632['push'](_0x569632['shift']());}}}(_0x336c,0x766f8));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x321826 from'path';import _0x320991 from'fs';import _0x2abfc6 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x32f6a0 from'file-type';import{MsgListener}from'@/core/listeners';import _0x42fdf5 from'image-size';function _0x42d0(_0x24fde7,_0xdf9c7c){const _0x336c3a=_0x336c();return _0x42d0=function(_0x42d0d3,_0x3b410d){_0x42d0d3=_0x42d0d3-0x14f;let _0x10bf2b=_0x336c3a[_0x42d0d3];return _0x10bf2b;},_0x42d0(_0x24fde7,_0xdf9c7c);}function _0x336c(){const _0x48af0f=['getChatCacheList','fileUuid','下载超时','bUMzx','clearChatCache','eokiy','set','1334094mPAjXE','ext','632476LnRoBg','md5HexStr','indexOf','getImageUrl','private_rkey','hotUpdate','scanCache','3437320AyYczl','fileTypeFromFile','/gchatpic_new/0/0-0-','join','clearCache','existsSync','1717983afZsdK','delete','476wIbXyi','getStorageCleanService','iARkv','ajJIj','2282886uUYxjA','msgId','toUpperCase','vQfcW','3686084djmEYp','startsWith','clearChatCacheInfo','ladrQ','getChatCacheInfo','copyFile','getMsgService','onLoginSuccess','util','unlink','uploadFile','addCacheScanedPaths','/download','ygwIm','session','图片url获取失败','getImageSize','basename','addListener','GWEtr','262496SLIjMW','getFileSize','&rkey=','fnTNC','fYMvF','PIC','getDesktopTmpPath','OEoZw','getRkey','filePath','jjPLN','downloadMedia','setCacheSilentScan','getRichMediaFilePathForGuild'];_0x336c=function(){return _0x48af0f;};return _0x336c();}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x41d282=>{const _0x4554a4=_0x42d0;for(const [_0x37a6e5,_0x3f7416]of downloadMediaTasks){_0x3f7416(_0x41d282),downloadMediaTasks[_0x4554a4(0x178)](_0x37a6e5);}},setTimeout(()=>{const _0x56939c=_0x42d0;napCatCore[_0x56939c(0x188)](()=>{const _0x3aa370=_0x56939c;napCatCore[_0x3aa370(0x151)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x3059d6){const _0x5f0aef=_0x42d0;return _0x32f6a0[_0x5f0aef(0x172)](_0x3059d6);}static async[_0x3e315b(0x186)](_0x3b2a2d,_0x501a6c){const _0xb010be=_0x3e315b;await napCatCore[_0xb010be(0x189)]['copyFile'](_0x3b2a2d,_0x501a6c);}static async[_0x3e315b(0x154)](_0x32f1da){const _0x3f9e2d=_0x3e315b;return await napCatCore[_0x3f9e2d(0x189)][_0x3f9e2d(0x154)](_0x32f1da);}static async[_0x3e315b(0x18b)](_0x2422b0,_0x137eca=ElementType[_0x3e315b(0x158)],_0x3e4859=0x0){const _0x4c401f=_0x3e315b,_0x41216a={'jjPLN':function(_0x2abe29,_0x38ad8d){return _0x2abe29===_0x38ad8d;}},_0x85f768=await calculateFileMD5(_0x2422b0);let _0x2c43ec=(await NTQQFileApi['getFileType'](_0x2422b0))?.[_0x4c401f(0x169)]||'';_0x2c43ec&&(_0x2c43ec='.'+_0x2c43ec);let _0x289e2a=''+_0x321826[_0x4c401f(0x150)](_0x2422b0);_0x41216a[_0x4c401f(0x15d)](_0x289e2a[_0x4c401f(0x16c)]('.'),-0x1)&&(_0x289e2a+=_0x2c43ec);const _0x134f12=napCatCore['session'][_0x4c401f(0x187)]()[_0x4c401f(0x160)]({'md5HexStr':_0x85f768,'fileName':_0x289e2a,'elementType':_0x137eca,'elementSubType':_0x3e4859,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x4c401f(0x186)](_0x2422b0,_0x134f12);const _0x4dcaac=await NTQQFileApi[_0x4c401f(0x154)](_0x2422b0);return{'md5':_0x85f768,'fileName':_0x289e2a,'path':_0x134f12,'fileSize':_0x4dcaac,'ext':_0x2c43ec};}static async[_0x3e315b(0x15e)](_0xcd4ba2,_0x2c4b06,_0x4065af,_0x5c8565,_0x4c40a6,_0x4a25ae,_0x41077f=0x3e8*0x3c*0x2,_0x54a70a=![]){const _0x11bc65=_0x3e315b,_0xab7095={'fYMvF':function(_0xdd66e4,_0x2f2c11){return _0xdd66e4(_0x2f2c11);},'GWEtr':_0x11bc65(0x163),'eokiy':function(_0x531576){return _0x531576();},'iARkv':function(_0x173418,_0x1f2875,_0x2f4954){return _0x173418(_0x1f2875,_0x2f4954);}};if(_0x4a25ae&&_0x320991[_0x11bc65(0x176)](_0x4a25ae)){if(_0x54a70a)try{await _0x2abfc6[_0x11bc65(0x18a)](_0x4a25ae);}catch(_0x47e307){}else return _0x4a25ae;}return new Promise((_0x29781c,_0x516605)=>{const _0x5ba31a=_0x11bc65;let _0x4fafa7=![];const _0x46fbb4=_0x384825=>{const _0x51a83e=_0x42d0;if(_0x384825[_0x51a83e(0x17e)]===_0xcd4ba2){_0x4fafa7=!![];let _0x362a6d=_0x384825[_0x51a83e(0x15c)];if(_0x362a6d[_0x51a83e(0x182)]('\x5c')){const _0x24f185=sessionConfig['defaultFileDownloadPath'];_0x362a6d=_0x321826[_0x51a83e(0x174)](_0x24f185,_0x362a6d);}_0xab7095[_0x51a83e(0x157)](_0x29781c,_0x362a6d);}};downloadMediaTasks[_0x5ba31a(0x167)](_0xab7095[_0x5ba31a(0x166)](randomUUID),_0x46fbb4),_0xab7095[_0x5ba31a(0x17b)](setTimeout,()=>{const _0x17374a=_0x5ba31a;!_0x4fafa7&&_0xab7095[_0x17374a(0x157)](_0x516605,_0xab7095[_0x17374a(0x152)]);},_0x41077f),napCatCore['session']['getMsgService']()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xcd4ba2,'chatType':_0x2c4b06,'peerUid':_0x4065af,'elementId':_0x5c8565,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4c40a6});});}static async[_0x3e315b(0x14f)](_0x3cfa4){const _0x44dde1={'OEoZw':function(_0x4198ac,_0x47bc35){return _0x4198ac(_0x47bc35);},'bUMzx':function(_0x19b251,_0x449bdd){return _0x19b251(_0x449bdd);},'ajJIj':function(_0x2f8bc1,_0xc98426,_0x126c5f){return _0x2f8bc1(_0xc98426,_0x126c5f);}};return new Promise((_0x2ae695,_0x36cf23)=>{const _0x51bb0b=_0x42d0;_0x44dde1[_0x51bb0b(0x17c)](_0x42fdf5,_0x3cfa4,(_0x4425cf,_0x13381a)=>{const _0x1c9be9=_0x51bb0b;_0x4425cf?_0x44dde1[_0x1c9be9(0x15a)](_0x36cf23,_0x4425cf):_0x44dde1[_0x1c9be9(0x164)](_0x2ae695,_0x13381a);});});}static async[_0x3e315b(0x16d)](_0x5bec2c,_0x8c2055){const _0x5655b9=_0x3e315b,_0x4417e0={'fnTNC':_0x5655b9(0x18d),'TCrkn':_0x5655b9(0x155),'ladrQ':function(_0x31f190,_0x4a710d){return _0x31f190+_0x4a710d;},'vQfcW':function(_0x5a1645,_0x501997){return _0x5a1645||_0x501997;},'ygwIm':function(_0x100ef3,_0x8a77a1,_0x388d88){return _0x100ef3(_0x8a77a1,_0x388d88);},'wPUlV':_0x5655b9(0x190)};if(!_0x5bec2c)return'';const _0x21cc7b=_0x5bec2c['originImageUrl'],_0x507474=_0x5bec2c[_0x5655b9(0x16b)],_0x206c5d=_0x5bec2c[_0x5655b9(0x16b)],_0x35d013=_0x5bec2c[_0x5655b9(0x162)];if(_0x21cc7b){if(_0x21cc7b['startsWith'](_0x4417e0[_0x5655b9(0x156)])){if(_0x21cc7b['includes'](_0x4417e0['TCrkn']))return IMAGE_HTTP_HOST_NT+_0x21cc7b;const _0x48d90d=await rkeyManager[_0x5655b9(0x15b)](),_0x4e3f5c=_0x8c2055?_0x48d90d[_0x5655b9(0x16e)]:_0x48d90d['group_rkey'];return _0x4417e0[_0x5655b9(0x184)](IMAGE_HTTP_HOST_NT,_0x21cc7b)+(''+_0x4e3f5c);}else return IMAGE_HTTP_HOST+_0x21cc7b;}else{if(_0x206c5d||_0x507474)return IMAGE_HTTP_HOST+_0x5655b9(0x173)+_0x4417e0[_0x5655b9(0x180)](_0x206c5d,_0x507474)[_0x5655b9(0x17f)]()+'/0';}return _0x4417e0[_0x5655b9(0x18e)](logDebug,_0x4417e0['wPUlV'],_0x5bec2c),'';}}export class NTQQFileCacheApi{static async[_0x3e315b(0x15f)](_0x47e404=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x3e315b(0x175)](_0x2d90ca=['tmp',_0x3e315b(0x16f)]){const _0x4293fd=_0x3e315b;return napCatCore[_0x4293fd(0x18f)][_0x4293fd(0x17a)]()['clearCacheDataByKeys'](_0x2d90ca);}static['addCacheScannedPaths'](_0xe49dc2={}){const _0x496618=_0x3e315b;return napCatCore[_0x496618(0x18f)][_0x496618(0x17a)]()[_0x496618(0x18c)](_0xe49dc2);}static[_0x3e315b(0x170)](){const _0x2911c7=_0x3e315b;return napCatCore['session'][_0x2911c7(0x17a)]()[_0x2911c7(0x170)]();}static['getHotUpdateCachePath'](){return'';}static[_0x3e315b(0x159)](){return'';}static[_0x3e315b(0x161)](_0x32115f,_0x5d64dd=0x3e8,_0x4231fa=0x0){const _0x43557b=_0x3e315b;return napCatCore[_0x43557b(0x18f)][_0x43557b(0x17a)]()[_0x43557b(0x185)](_0x32115f,_0x5d64dd,0x1,_0x4231fa);}static['getFileCacheInfo'](_0x257003,_0x4efcb6=0x3e8,_0x925936){const _0x4f93c8=_0x925936?_0x925936:{'fileType':_0x257003};}static async[_0x3e315b(0x165)](_0x12c7cd=[],_0x2abff9=[]){const _0x1f15f7=_0x3e315b;return napCatCore[_0x1f15f7(0x18f)][_0x1f15f7(0x17a)]()[_0x1f15f7(0x183)](_0x12c7cd,_0x2abff9);}} \ No newline at end of file +const _0x5296ff=_0x32a2;(function(_0x31a4d6,_0x4df530){const _0x1a3d25=_0x32a2,_0x4a156e=_0x31a4d6();while(!![]){try{const _0x29d5be=-parseInt(_0x1a3d25(0xfc))/0x1+-parseInt(_0x1a3d25(0xf4))/0x2*(-parseInt(_0x1a3d25(0x102))/0x3)+-parseInt(_0x1a3d25(0xfb))/0x4+-parseInt(_0x1a3d25(0xc3))/0x5+-parseInt(_0x1a3d25(0xd9))/0x6*(-parseInt(_0x1a3d25(0xe3))/0x7)+-parseInt(_0x1a3d25(0xbf))/0x8+-parseInt(_0x1a3d25(0xd5))/0x9*(-parseInt(_0x1a3d25(0xcb))/0xa);if(_0x29d5be===_0x4df530)break;else _0x4a156e['push'](_0x4a156e['shift']());}catch(_0x491d46){_0x4a156e['push'](_0x4a156e['shift']());}}}(_0x496b,0xf31a6));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2e915c from'path';import _0x57e56d from'fs';import _0x19efc1 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';function _0x496b(){const _0x4465d6=['KFEUC','OtYrh','basename','onRichMediaDownloadComplete','join','clearCacheDataByKeys','clearCache','vJpcG','hLTXa','kBAYU','10KbvdKM','getRichMediaFilePathForGuild','YZkGN','nkKuA','getImageUrl','setCacheSilentScan','tmp','7675988KcQEBB','1520883nCrehB','lvlae','copyFile','VhRyb','defaultFileDownloadPath','getChatCacheInfo','972501mKMNUq','getFileCacheInfo','onLoginSuccess','private_rkey','getMsgService','OTzjI','9908408MCRJnL','nLYbV','msgId','addCacheScanedPaths','3083950kzgaPt','existsSync','toUpperCase','hotUpdate','getFileSize','fileUuid','LktTo','includes','4551500Llienf','getCacheSessionPathList','filePath','jNSGH','/download','downloadMedia','set','unlink','getDesktopTmpPath','scanCache','81TpEULS','IznvL','startsWith','getStorageCleanService','573786LpHmXi','getFileType','PIC','fileTypeFromFile','util','delete','getRkey','getImageSize','clearChatCacheInfo','nsKbs','42WMXvLd','addListener','clearChatCache','md5HexStr','downloadRichMedia','下载超时','session'];_0x496b=function(){return _0x4465d6;};return _0x496b();}import{calculateFileMD5}from'@/common/utils/file';import*as _0x3053e5 from'file-type';import{MsgListener}from'@/core/listeners';import _0x6a80cc from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x5296ff(0xed)]=_0x3266f7=>{const _0x3f6621=_0x5296ff;for(const [_0x570e3f,_0x4e4799]of downloadMediaTasks){_0x4e4799(_0x3266f7),downloadMediaTasks[_0x3f6621(0xde)](_0x570e3f);}},setTimeout(()=>{const _0x50ce86=_0x5296ff;napCatCore[_0x50ce86(0xbb)](()=>{const _0x257bfc=_0x50ce86;napCatCore[_0x257bfc(0xe4)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x5296ff(0xda)](_0x10b684){const _0x40e9bc=_0x5296ff;return _0x3053e5[_0x40e9bc(0xdc)](_0x10b684);}static async[_0x5296ff(0xfe)](_0x53e496,_0x2123d1){const _0x4e7577=_0x5296ff;await napCatCore[_0x4e7577(0xdd)]['copyFile'](_0x53e496,_0x2123d1);}static async[_0x5296ff(0xc7)](_0x5d811f){const _0x4dc65f=_0x5296ff;return await napCatCore['util'][_0x4dc65f(0xc7)](_0x5d811f);}static async['uploadFile'](_0x150a88,_0x5c3e46=ElementType[_0x5296ff(0xdb)],_0x32aeb9=0x0){const _0x41688d=_0x5296ff,_0x103c0f={'VhRyb':function(_0x55a939,_0x251463){return _0x55a939+_0x251463;},'DzDqz':function(_0x272be1,_0xdedf00){return _0x272be1===_0xdedf00;}},_0x5ec0d1=await calculateFileMD5(_0x150a88);let _0x5913b0=(await NTQQFileApi['getFileType'](_0x150a88))?.['ext']||'';_0x5913b0&&(_0x5913b0=_0x103c0f[_0x41688d(0xff)]('.',_0x5913b0));let _0xfec204=''+_0x2e915c[_0x41688d(0xec)](_0x150a88);_0x103c0f['DzDqz'](_0xfec204['indexOf']('.'),-0x1)&&(_0xfec204+=_0x5913b0);const _0x59bd39=napCatCore['session'][_0x41688d(0xbd)]()[_0x41688d(0xf5)]({'md5HexStr':_0x5ec0d1,'fileName':_0xfec204,'elementType':_0x5c3e46,'elementSubType':_0x32aeb9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x41688d(0xfe)](_0x150a88,_0x59bd39);const _0x4bc496=await NTQQFileApi['getFileSize'](_0x150a88);return{'md5':_0x5ec0d1,'fileName':_0xfec204,'path':_0x59bd39,'fileSize':_0x4bc496,'ext':_0x5913b0};}static async[_0x5296ff(0xd0)](_0x1f9ac2,_0x292af6,_0x187083,_0x4f49ce,_0x1dc122,_0x3a9ec9,_0x5d3cc7=0x3e8*0x3c*0x2,_0x4f6b46=![]){const _0x15c292=_0x5296ff,_0x318a38={'vJpcG':_0x15c292(0xe8),'hLTXa':function(_0x1bfa07,_0x180cd4){return _0x1bfa07===_0x180cd4;},'lvlae':function(_0x6e21bf,_0x4e11b3){return _0x6e21bf(_0x4e11b3);},'TWHoE':function(_0x48827e){return _0x48827e();},'YZkGN':function(_0x5cd0d1,_0x4b1859,_0x45e83e){return _0x5cd0d1(_0x4b1859,_0x45e83e);}};if(_0x3a9ec9&&_0x57e56d[_0x15c292(0xc4)](_0x3a9ec9)){if(_0x4f6b46)try{await _0x19efc1[_0x15c292(0xd2)](_0x3a9ec9);}catch(_0x52e2c1){}else return _0x3a9ec9;}return new Promise((_0xd1862b,_0x21b80c)=>{const _0x12cc16=_0x15c292,_0xfeac29={'KFEUC':function(_0x432c83,_0x4da84b){const _0x42900a=_0x32a2;return _0x318a38[_0x42900a(0xf2)](_0x432c83,_0x4da84b);},'OTzjI':function(_0x368f2e,_0x539b3b){const _0x8a47e7=_0x32a2;return _0x318a38[_0x8a47e7(0xfd)](_0x368f2e,_0x539b3b);}};let _0x5399c1=![];const _0x265efb=_0x51113f=>{const _0x4e6d77=_0x32a2;if(_0xfeac29[_0x4e6d77(0xea)](_0x51113f[_0x4e6d77(0xc1)],_0x1f9ac2)){_0x5399c1=!![];let _0x2b386f=_0x51113f[_0x4e6d77(0xcd)];if(_0x2b386f[_0x4e6d77(0xd7)]('\x5c')){const _0x3346f9=sessionConfig[_0x4e6d77(0x100)];_0x2b386f=_0x2e915c[_0x4e6d77(0xee)](_0x3346f9,_0x2b386f);}_0xfeac29[_0x4e6d77(0xbe)](_0xd1862b,_0x2b386f);}};downloadMediaTasks[_0x12cc16(0xd1)](_0x318a38['TWHoE'](randomUUID),_0x265efb),_0x318a38[_0x12cc16(0xf6)](setTimeout,()=>{const _0x12f5f0=_0x12cc16;!_0x5399c1&&_0x21b80c(_0x318a38[_0x12f5f0(0xf1)]);},_0x5d3cc7),napCatCore[_0x12cc16(0xe9)][_0x12cc16(0xbd)]()[_0x12cc16(0xe7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1f9ac2,'chatType':_0x292af6,'peerUid':_0x187083,'elementId':_0x4f49ce,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1dc122});});}static async[_0x5296ff(0xe0)](_0x44e525){const _0x3e7384={'nsKbs':function(_0x22640d,_0x52d6a7){return _0x22640d(_0x52d6a7);},'LktTo':function(_0x440f55,_0x18ec94,_0x47e263){return _0x440f55(_0x18ec94,_0x47e263);}};return new Promise((_0x4832f9,_0x4bf112)=>{const _0x17fba5=_0x32a2;_0x3e7384[_0x17fba5(0xc9)](_0x6a80cc,_0x44e525,(_0x2d4aa9,_0x1a8b55)=>{const _0x25542c=_0x17fba5;_0x2d4aa9?_0x4bf112(_0x2d4aa9):_0x3e7384[_0x25542c(0xe2)](_0x4832f9,_0x1a8b55);});});}static async[_0x5296ff(0xf8)](_0x4ac6b1,_0x112c20){const _0x44bfa8=_0x5296ff,_0xded42b={'nkKuA':_0x44bfa8(0xcf),'kBAYU':function(_0x4157b4,_0x157d0b){return _0x4157b4+_0x157d0b;},'JZSvy':function(_0x34e3af,_0x5e75ea){return _0x34e3af+_0x5e75ea;},'OtYrh':function(_0x46c447,_0x50b43c){return _0x46c447+_0x50b43c;},'nLYbV':function(_0x370706,_0x1aa36b){return _0x370706+_0x1aa36b;},'yybkq':function(_0x511551,_0xa55743){return _0x511551||_0xa55743;},'jNSGH':function(_0xfec297,_0x14d19f,_0x839cfa){return _0xfec297(_0x14d19f,_0x839cfa);},'IznvL':'图片url获取失败'};if(!_0x4ac6b1)return'';const _0x5ba6a7=_0x4ac6b1['originImageUrl'],_0x52b038=_0x4ac6b1[_0x44bfa8(0xe6)],_0x5a91eb=_0x4ac6b1[_0x44bfa8(0xe6)],_0x37c710=_0x4ac6b1[_0x44bfa8(0xc8)];if(_0x5ba6a7){if(_0x5ba6a7['startsWith'](_0xded42b[_0x44bfa8(0xf7)])){if(_0x5ba6a7[_0x44bfa8(0xca)]('&rkey='))return _0xded42b[_0x44bfa8(0xf3)](IMAGE_HTTP_HOST_NT,_0x5ba6a7);const _0x564806=await rkeyManager[_0x44bfa8(0xdf)](),_0x3505b0=_0x112c20?_0x564806[_0x44bfa8(0xbc)]:_0x564806['group_rkey'];return _0xded42b['JZSvy'](_0xded42b[_0x44bfa8(0xeb)](IMAGE_HTTP_HOST_NT,_0x5ba6a7),''+_0x3505b0);}else return _0xded42b[_0x44bfa8(0xc0)](IMAGE_HTTP_HOST,_0x5ba6a7);}else{if(_0x5a91eb||_0x52b038)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0xded42b['yybkq'](_0x5a91eb,_0x52b038)[_0x44bfa8(0xc5)]()+'/0';}return _0xded42b[_0x44bfa8(0xce)](logDebug,_0xded42b[_0x44bfa8(0xd6)],_0x4ac6b1),'';}}function _0x32a2(_0x9be6a9,_0x586f63){const _0x496b6f=_0x496b();return _0x32a2=function(_0x32a2e4,_0x36fdde){_0x32a2e4=_0x32a2e4-0xbb;let _0x15ae52=_0x496b6f[_0x32a2e4];return _0x15ae52;},_0x32a2(_0x9be6a9,_0x586f63);}export class NTQQFileCacheApi{static async[_0x5296ff(0xf9)](_0x1f592d=!![]){return'';}static[_0x5296ff(0xcc)](){return'';}static[_0x5296ff(0xf0)](_0x236731=[_0x5296ff(0xfa),_0x5296ff(0xc6)]){const _0x2f2abe=_0x5296ff;return napCatCore[_0x2f2abe(0xe9)]['getStorageCleanService']()[_0x2f2abe(0xef)](_0x236731);}static['addCacheScannedPaths'](_0x43da65={}){const _0x3616a7=_0x5296ff;return napCatCore[_0x3616a7(0xe9)][_0x3616a7(0xd8)]()[_0x3616a7(0xc2)](_0x43da65);}static[_0x5296ff(0xd4)](){const _0x5edcb6=_0x5296ff;return napCatCore[_0x5edcb6(0xe9)][_0x5edcb6(0xd8)]()[_0x5edcb6(0xd4)]();}static['getHotUpdateCachePath'](){return'';}static[_0x5296ff(0xd3)](){return'';}static['getChatCacheList'](_0x2566e7,_0x539ea2=0x3e8,_0x1e1f77=0x0){const _0x39b1cd=_0x5296ff;return napCatCore[_0x39b1cd(0xe9)][_0x39b1cd(0xd8)]()[_0x39b1cd(0x101)](_0x2566e7,_0x539ea2,0x1,_0x1e1f77);}static[_0x5296ff(0x103)](_0x34227b,_0x4eb01c=0x3e8,_0x58c91f){const _0x4b4ce4=_0x58c91f?_0x58c91f:{'fileType':_0x34227b};}static async[_0x5296ff(0xe5)](_0x3173a4=[],_0xccf75f=[]){const _0x4ef475=_0x5296ff;return napCatCore[_0x4ef475(0xe9)][_0x4ef475(0xd8)]()[_0x4ef475(0xe1)](_0x3173a4,_0xccf75f);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index a9e83bb0..2cf3f47d 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x3c82(_0x3fd853,_0x4cb6e5){const _0x538841=_0x5388();return _0x3c82=function(_0x3c82a0,_0x4a5df6){_0x3c82a0=_0x3c82a0-0xc7;let _0x30abd8=_0x538841[_0x3c82a0];return _0x30abd8;},_0x3c82(_0x3fd853,_0x4cb6e5);}const _0x1fe2d5=_0x3c82;function _0x5388(){const _0x17a9ee=['NodeIKernelBuddyService/getBuddyList','1305220sZeNas','266cjVgkN','CallNormalEvent','getBuddyService','buddyList','222330CpXfiv','handleFriendRequest','approvalFriendRequest','60YuzgNB','reqTime','104UDnoed','13266702kwojoW','837194QFdtwx','getFriends','2224MtsrPy','session','friendUid','2517996WTTyfP','NodeIKernelBuddyListener/onBuddyListChange'];_0x5388=function(){return _0x17a9ee;};return _0x5388();}(function(_0x4be9cb,_0x2084c9){const _0x56a2b7=_0x3c82,_0x4ebde2=_0x4be9cb();while(!![]){try{const _0x44d578=-parseInt(_0x56a2b7(0xd6))/0x1+parseInt(_0x56a2b7(0xd8))/0x2+-parseInt(_0x56a2b7(0xc7))/0x3+parseInt(_0x56a2b7(0xca))/0x4+parseInt(_0x56a2b7(0xd2))/0x5*(parseInt(_0x56a2b7(0xcf))/0x6)+parseInt(_0x56a2b7(0xcb))/0x7*(-parseInt(_0x56a2b7(0xd4))/0x8)+parseInt(_0x56a2b7(0xd5))/0x9;if(_0x44d578===_0x2084c9)break;else _0x4ebde2['push'](_0x4ebde2['shift']());}catch(_0x4ba01c){_0x4ebde2['push'](_0x4ebde2['shift']());}}}(_0x5388,0x8af2f));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x1fe2d5(0xd7)](_0x205af9=![]){const _0x5b6c9c=_0x1fe2d5,_0x2e3bec={'GPfXK':_0x5b6c9c(0xc8)};let [_0x3a5459,_0x75506f]=await NTEventDispatch[_0x5b6c9c(0xcc)](_0x5b6c9c(0xc9),_0x2e3bec['GPfXK'],0x1,0x1388,_0x205af9);const _0x5d27a5=[];for(const _0x4e31a3 of _0x75506f){for(const _0x1d77b1 of _0x4e31a3[_0x5b6c9c(0xce)]){_0x5d27a5['push'](_0x1d77b1);}}return _0x5d27a5;}static async[_0x1fe2d5(0xd0)](_0x2a6601,_0x37f3c7){const _0x529800=_0x1fe2d5;napCatCore[_0x529800(0xd9)][_0x529800(0xcd)]()?.[_0x529800(0xd1)]({'friendUid':_0x2a6601[_0x529800(0xda)],'reqTime':_0x2a6601[_0x529800(0xd3)],'accept':_0x37f3c7});}} \ No newline at end of file +function _0x5def(_0x29930b,_0x42ec4b){const _0x452a5b=_0x452a();return _0x5def=function(_0x5def09,_0x47ffb1){_0x5def09=_0x5def09-0xde;let _0x2d5feb=_0x452a5b[_0x5def09];return _0x2d5feb;},_0x5def(_0x29930b,_0x42ec4b);}const _0x6ca25e=_0x5def;function _0x452a(){const _0x53f258=['1944754GkgpuP','getBuddyService','friendUid','142470oxebZS','getFriends','NodeIKernelBuddyListener/onBuddyListChange','buddyList','push','2296vukdSg','526PvGIQW','201156yjjnOC','225628GdRBOC','269SZEOrB','712788rcTbBq','reqTime','17217BMCZkV'];_0x452a=function(){return _0x53f258;};return _0x452a();}(function(_0x403ef3,_0x5ec930){const _0x48b9de=_0x5def,_0x2e256a=_0x403ef3();while(!![]){try{const _0x422354=parseInt(_0x48b9de(0xe2))/0x1*(parseInt(_0x48b9de(0xdf))/0x2)+parseInt(_0x48b9de(0xe3))/0x3+parseInt(_0x48b9de(0xe1))/0x4+parseInt(_0x48b9de(0xe9))/0x5+parseInt(_0x48b9de(0xe0))/0x6+parseInt(_0x48b9de(0xe6))/0x7+parseInt(_0x48b9de(0xde))/0x8*(-parseInt(_0x48b9de(0xe5))/0x9);if(_0x422354===_0x5ec930)break;else _0x2e256a['push'](_0x2e256a['shift']());}catch(_0x413046){_0x2e256a['push'](_0x2e256a['shift']());}}}(_0x452a,0x25fa9));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x6ca25e(0xea)](_0x4159ba=![]){const _0x46f302=_0x6ca25e;let [_0x5b3bf5,_0x3d88bd]=await NTEventDispatch['CallNormalEvent']('NodeIKernelBuddyService/getBuddyList',_0x46f302(0xeb),0x1,0x1388,_0x4159ba);const _0x2302c6=[];for(const _0x303147 of _0x3d88bd){for(const _0x3a5d35 of _0x303147[_0x46f302(0xec)]){_0x2302c6[_0x46f302(0xed)](_0x3a5d35);}}return _0x2302c6;}static async['handleFriendRequest'](_0x31764a,_0x44b53e){const _0x4d59e1=_0x6ca25e;napCatCore['session'][_0x4d59e1(0xe7)]()?.['approvalFriendRequest']({'friendUid':_0x31764a[_0x4d59e1(0xe8)],'reqTime':_0x31764a[_0x4d59e1(0xe4)],'accept':_0x44b53e});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 0689ec4e..fc7b78ec 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x24e769=_0x3573;function _0x3573(_0x1efdfd,_0x4989d6){const _0x8dc709=_0x8dc7();return _0x3573=function(_0x357333,_0x41680e){_0x357333=_0x357333-0x79;let _0x379420=_0x8dc709[_0x357333];return _0x379420;},_0x3573(_0x1efdfd,_0x4989d6);}function _0x8dc7(){const _0x48c901=['errCode','NodeIKernelGroupListener/onGroupListUpdate','createMemberListScene','CallNormalEvent','setGroupShutUp','1765060OAOFsH','quitGroup','49878fCpnZt','getGroupRemainAtTimes','type','EiHuP','750813FmRQgx','getSingleScreenNotifies','getRichMediaService','3623950yxADuk','arkJson','CreatGroupFileFolder','publishGroupBulletin','seq','Mybrk','group','setMemberCard','DelGroupFile','182538ztBNGN','qun.qq.com','9XuCvKr','kickMember','modifyMemberRole','getArkJsonGroupShare','operateSysNotify','session','GetGroupFileCount','getGroupService','groupCode','banGroup','8cKdtHt','getPSkey','RwbGi','240608LDjkyf','NpqVi','batchGetGroupFileCount','groupMemberList_MainWindow','getMemberExtInfo','getGroups','infos','uploadGroupBulletinPic','6rtzCmR','获取群成员列表出错,','NodeIKernelGroupService/getGroupList','setGroupTitle','NodeIKernelGroupService/getSingleScreenNotifies','deleteGroupFile','modifyMemberCardName','541335UOVKkJ','1vohNqP','result','handleGroupRequest','woWxl','DelGroupFileFolder'];_0x8dc7=function(){return _0x48c901;};return _0x8dc7();}(function(_0x1399f8,_0x33442b){const _0x53570=_0x3573,_0x4114e2=_0x1399f8();while(!![]){try{const _0x42fa0a=parseInt(_0x53570(0xa9))/0x1*(parseInt(_0x53570(0x8a))/0x2)+-parseInt(_0x53570(0x7a))/0x3+parseInt(_0x53570(0x96))/0x4*(-parseInt(_0x53570(0xa8))/0x5)+-parseInt(_0x53570(0xa1))/0x6*(-parseInt(_0x53570(0x7e))/0x7)+parseInt(_0x53570(0x99))/0x8+parseInt(_0x53570(0x8c))/0x9*(-parseInt(_0x53570(0xb3))/0xa)+parseInt(_0x53570(0x81))/0xb;if(_0x42fa0a===_0x33442b)break;else _0x4114e2['push'](_0x4114e2['shift']());}catch(_0x25e642){_0x4114e2['push'](_0x4114e2['shift']());}}}(_0x8dc7,0x243a4));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x24e769(0x9e)](_0x57fe4d=![]){const _0x3deac3=_0x24e769,_0x15d2fe={'Mybrk':_0x3deac3(0xa3),'woWxl':_0x3deac3(0xaf)};let [_0x41d890,_0x2ae18e,_0x135136]=await NTEventDispatch[_0x3deac3(0xb1)](_0x15d2fe[_0x3deac3(0x86)],_0x15d2fe[_0x3deac3(0xac)],0x1,0x1388,_0x57fe4d);return _0x135136;}static async[_0x24e769(0x83)](_0x4868b9,_0x44b43d){const _0x489a5d=_0x24e769;return napCatCore[_0x489a5d(0x91)]['getRichMediaService']()['createGroupFolder'](_0x4868b9,_0x44b43d);}static async[_0x24e769(0x89)](_0x563c90,_0x2db3dc){const _0xfcba60=_0x24e769;return napCatCore[_0xfcba60(0x91)][_0xfcba60(0x80)]()[_0xfcba60(0xa6)](_0x563c90,[0x66],_0x2db3dc);}static async[_0x24e769(0xad)](_0x5dfd97,_0x527513){const _0x50bce0=_0x24e769;return napCatCore[_0x50bce0(0x91)][_0x50bce0(0x80)]()['deleteGroupFolder'](_0x5dfd97,_0x527513);}static async[_0x24e769(0x7f)](_0x34acf0){const _0x325931=_0x24e769,_0x2b611b={'EiHuP':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x47d14f,_0x8dc868,_0x435ad3,_0x358ba1]=await NTEventDispatch['CallNormalEvent'](_0x325931(0xa5),_0x2b611b[_0x325931(0x7d)],0x1,0x1388,![],'',_0x34acf0);return _0x358ba1;}static async['getGroupMembers'](_0x4ed997,_0x2d4de6=0xbb8){const _0x5aca06=_0x24e769,_0xa5318e={'RwbGi':_0x5aca06(0xa2)},_0x39f594=napCatCore['session'][_0x5aca06(0x93)](),_0x309ccc=_0x39f594[_0x5aca06(0xb0)](_0x4ed997,_0x5aca06(0x9c)),_0x711435=await _0x39f594['getNextMemberList'](_0x309ccc,undefined,_0x2d4de6);if(_0x711435[_0x5aca06(0xae)]!==0x0)throw _0xa5318e[_0x5aca06(0x98)]+_0x711435['errMsg'];return _0x711435[_0x5aca06(0xaa)][_0x5aca06(0x9f)];}static async['getGroupNotifies'](){}static async[_0x24e769(0x92)](_0x263cac){const _0xe6cf6e=_0x24e769;return napCatCore[_0xe6cf6e(0x91)][_0xe6cf6e(0x80)]()[_0xe6cf6e(0x9b)](_0x263cac);}static async['getGroupIgnoreNotifies'](){}static async[_0x24e769(0x8f)](_0x52d027){const _0x503718=_0x24e769;let _0x405063=await NTEventDispatch['CallNoListenerEvent']('NodeIKernelGroupService/getGroupRecommendContactArkJson',0x1388,_0x52d027);return _0x405063[_0x503718(0x82)];}static async['uploadGroupBulletinPic'](_0x4b2caf,_0x37e32c){const _0x48e430=_0x24e769,_0x52babe={'Ohbgf':_0x48e430(0x8b)},_0x320294=(await NTQQUserApi[_0x48e430(0x97)]([_0x52babe['Ohbgf']]))[_0x48e430(0x8b)];return napCatCore[_0x48e430(0x91)]['getGroupService']()[_0x48e430(0xa0)](_0x4b2caf,_0x320294,_0x37e32c);}static async[_0x24e769(0xab)](_0x2462de,_0x5e653d,_0x5272a1){const _0x3819b9=_0x24e769;return napCatCore['session'][_0x3819b9(0x93)]()[_0x3819b9(0x90)](![],{'operateType':_0x5e653d,'targetMsg':{'seq':_0x2462de[_0x3819b9(0x85)],'type':_0x2462de[_0x3819b9(0x7c)],'groupCode':_0x2462de[_0x3819b9(0x87)][_0x3819b9(0x94)],'postscript':_0x5272a1||''}});}static async[_0x24e769(0x79)](_0x5dc1e1){const _0x527873=_0x24e769;return napCatCore[_0x527873(0x91)][_0x527873(0x93)]()['quitGroup'](_0x5dc1e1);}static async[_0x24e769(0x8d)](_0x38daf9,_0x4b9b1b,_0x9d2977=![],_0xe6a67=''){const _0x2c6aec=_0x24e769;return napCatCore['session'][_0x2c6aec(0x93)]()['kickMember'](_0x38daf9,_0x4b9b1b,_0x9d2977,_0xe6a67);}static async['banMember'](_0x167b1c,_0x4f5af4){const _0x37a2b8=_0x24e769;return napCatCore[_0x37a2b8(0x91)][_0x37a2b8(0x93)]()['setMemberShutUp'](_0x167b1c,_0x4f5af4);}static async[_0x24e769(0x95)](_0x24f475,_0x46be2c){const _0x2fa9b4=_0x24e769;return napCatCore[_0x2fa9b4(0x91)][_0x2fa9b4(0x93)]()[_0x2fa9b4(0xb2)](_0x24f475,_0x46be2c);}static async[_0x24e769(0x88)](_0xc0043c,_0xba594b,_0x2c9b7b){const _0x4f0bf3=_0x24e769;return napCatCore[_0x4f0bf3(0x91)][_0x4f0bf3(0x93)]()[_0x4f0bf3(0xa7)](_0xc0043c,_0xba594b,_0x2c9b7b);}static async['setMemberRole'](_0x4f02b9,_0x5ab76b,_0x26745a){const _0x3c2783=_0x24e769;return napCatCore[_0x3c2783(0x91)][_0x3c2783(0x93)]()[_0x3c2783(0x8e)](_0x4f02b9,_0x5ab76b,_0x26745a);}static async['setGroupName'](_0x1ae1b4,_0x394871){const _0xe4df02=_0x24e769;return napCatCore[_0xe4df02(0x91)]['getGroupService']()['modifyGroupName'](_0x1ae1b4,_0x394871,![]);}static async[_0x24e769(0xa4)](_0x2af60f,_0x4b6058,_0x2de8eb){}static async[_0x24e769(0x84)](_0xd2268e,_0x55cc96,_0x4a89f9=undefined,_0x5d3eab=0x0,_0x541e7e=0x0){const _0x3d53c3=_0x24e769,_0x97b14a={'NpqVi':_0x3d53c3(0x8b),'bFIqW':function(_0xefaf2c,_0x2dcdd5){return _0xefaf2c(_0x2dcdd5);}},_0x2e2b27=(await NTQQUserApi[_0x3d53c3(0x97)]([_0x97b14a[_0x3d53c3(0x9a)]]))[_0x97b14a[_0x3d53c3(0x9a)]];let _0x30eb16={'text':_0x97b14a['bFIqW'](encodeURI,_0x55cc96),'picInfo':_0x4a89f9,'oldFeedsId':'','pinned':_0x5d3eab,'confirmRequired':_0x541e7e};return napCatCore[_0x3d53c3(0x91)][_0x3d53c3(0x93)]()[_0x3d53c3(0x84)](_0xd2268e,_0x2e2b27,_0x30eb16);}static async[_0x24e769(0x7b)](_0x131b10){const _0x473fba=_0x24e769;napCatCore[_0x473fba(0x91)]['getGroupService']()[_0x473fba(0x7b)](_0x131b10);}static async[_0x24e769(0x9d)](_0x214c21,_0x1bb1d4){const _0x40f990=_0x24e769;return napCatCore['session'][_0x40f990(0x93)]()['getMemberExtInfo']({'groupCode':_0x214c21,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x1bb1d4],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file +const _0x31cbc3=_0x5ec4;(function(_0x391b7d,_0x18ea17){const _0x2de394=_0x5ec4,_0x41b8e4=_0x391b7d();while(!![]){try{const _0x3e6433=-parseInt(_0x2de394(0xad))/0x1+-parseInt(_0x2de394(0x9f))/0x2+-parseInt(_0x2de394(0xbc))/0x3+parseInt(_0x2de394(0x98))/0x4+-parseInt(_0x2de394(0xbd))/0x5*(parseInt(_0x2de394(0x97))/0x6)+-parseInt(_0x2de394(0xa2))/0x7*(parseInt(_0x2de394(0xb9))/0x8)+-parseInt(_0x2de394(0xca))/0x9*(-parseInt(_0x2de394(0xb7))/0xa);if(_0x3e6433===_0x18ea17)break;else _0x41b8e4['push'](_0x41b8e4['shift']());}catch(_0x45a6c5){_0x41b8e4['push'](_0x41b8e4['shift']());}}}(_0x4b03,0x7da74));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x4b03(){const _0x58eef3=['getGroupService','type','getNextMemberList','uploadGroupBulletinPic','handleGroupRequest','batchGetGroupFileCount','publishGroupBulletin','getRichMediaService','arkJson','1021271XQUsWJ','createMemberListScene','DelGroupFileFolder','kickMember','CallNormalEvent','setGroupTitle','CallNoListenerEvent','NodeIKernelGroupListener/onGroupSingleScreenNotifies','qun.qq.com','modifyGroupName','23549270Ztbjoh','banMember','725072Ishhtz','zhNwZ','deleteGroupFile','950253TFcBNa','5lynNqs','NodeIKernelGroupListener/onGroupListUpdate','EfRxW','NodeIKernelGroupService/getGroupRecommendContactArkJson','result','xahox','modifyMemberCardName','获取群成员列表出错,','setGroupShutUp','banGroup','jtNIH','NodeIKernelGroupService/getGroupList','getGroupMembers','9eUGZVM','kwcsl','getArkJsonGroupShare','quitGroup','getGroupIgnoreNotifies','GetGroupFileCount','setMemberRole','deleteGroupFolder','setMemberShutUp','modifyMemberRole','DelGroupFile','groupMemberList_MainWindow','setGroupName','getGroupNotifies','getPSkey','getSingleScreenNotifies','session','getMemberExtInfo','2573898NSccpV','2686952yqKhcZ','seq','iwUll','errCode','errMsg','mOMaG','NodeIKernelGroupService/getSingleScreenNotifies','402360aoqqBF','operateSysNotify','group','42gVHimI','HJYkS'];_0x4b03=function(){return _0x58eef3;};return _0x4b03();}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5ec4(_0x1f24d2,_0x34c891){const _0x4b033f=_0x4b03();return _0x5ec4=function(_0x5ec48b,_0x340552){_0x5ec48b=_0x5ec48b-0x8e;let _0x25b69c=_0x4b033f[_0x5ec48b];return _0x25b69c;},_0x5ec4(_0x1f24d2,_0x34c891);}export class NTQQGroupApi{static async['getGroups'](_0x79e70=![]){const _0x43dcc7=_0x5ec4,_0x3787ef={'mPJgg':_0x43dcc7(0xbe)};let [_0x47d905,_0x341a48,_0x53e1e3]=await NTEventDispatch[_0x43dcc7(0xb1)](_0x43dcc7(0xc8),_0x3787ef['mPJgg'],0x1,0x1388,_0x79e70);return _0x53e1e3;}static async['CreatGroupFileFolder'](_0x5314f6,_0x3dec0b){const _0x114c03=_0x5ec4;return napCatCore[_0x114c03(0x95)][_0x114c03(0xab)]()['createGroupFolder'](_0x5314f6,_0x3dec0b);}static async[_0x31cbc3(0x8f)](_0x3ca7a2,_0x3318eb){const _0x3e26ed=_0x31cbc3;return napCatCore[_0x3e26ed(0x95)]['getRichMediaService']()[_0x3e26ed(0xbb)](_0x3ca7a2,[0x66],_0x3318eb);}static async[_0x31cbc3(0xaf)](_0x3d5196,_0x3599a1){const _0x367435=_0x31cbc3;return napCatCore['session']['getRichMediaService']()[_0x367435(0xd1)](_0x3d5196,_0x3599a1);}static async[_0x31cbc3(0x94)](_0x9d5068){const _0x1477ac=_0x31cbc3,_0x57ee09={'xahox':_0x1477ac(0x9e),'mOMaG':_0x1477ac(0xb4)};let [_0x404973,_0x286cda,_0x23aaec,_0x376581]=await NTEventDispatch[_0x1477ac(0xb1)](_0x57ee09[_0x1477ac(0xc2)],_0x57ee09[_0x1477ac(0x9d)],0x1,0x1388,![],'',_0x9d5068);return _0x376581;}static async[_0x31cbc3(0xc9)](_0x4d316f,_0x3be6fc=0xbb8){const _0x539824=_0x31cbc3,_0x4ec796={'jtNIH':_0x539824(0x90),'PvrDL':function(_0x58b3ee,_0x1f7279){return _0x58b3ee!==_0x1f7279;},'HJYkS':function(_0x2b8abc,_0x152fd7){return _0x2b8abc+_0x152fd7;},'kwcsl':_0x539824(0xc4)},_0x8a5355=napCatCore[_0x539824(0x95)][_0x539824(0xa4)](),_0x1dc944=_0x8a5355[_0x539824(0xae)](_0x4d316f,_0x4ec796[_0x539824(0xc7)]),_0x53bcea=await _0x8a5355[_0x539824(0xa6)](_0x1dc944,undefined,_0x3be6fc);if(_0x4ec796['PvrDL'](_0x53bcea[_0x539824(0x9b)],0x0))throw _0x4ec796[_0x539824(0xa3)](_0x4ec796[_0x539824(0xcb)],_0x53bcea[_0x539824(0x9c)]);return _0x53bcea[_0x539824(0xc1)]['infos'];}static async[_0x31cbc3(0x92)](){}static async[_0x31cbc3(0xcf)](_0x102037){const _0x4f4459=_0x31cbc3;return napCatCore[_0x4f4459(0x95)][_0x4f4459(0xab)]()[_0x4f4459(0xa9)](_0x102037);}static async[_0x31cbc3(0xce)](){}static async[_0x31cbc3(0xcc)](_0x3e0197){const _0x12dc1b=_0x31cbc3,_0x41f19a={'hzyeU':_0x12dc1b(0xc0)};let _0x12c0f6=await NTEventDispatch[_0x12dc1b(0xb3)](_0x41f19a['hzyeU'],0x1388,_0x3e0197);return _0x12c0f6[_0x12dc1b(0xac)];}static async['uploadGroupBulletinPic'](_0x42c4b0,_0x33813f){const _0x28781e=_0x31cbc3,_0x47a1fe={'EfRxW':_0x28781e(0xb5)},_0x502483=(await NTQQUserApi[_0x28781e(0x93)]([_0x28781e(0xb5)]))[_0x47a1fe[_0x28781e(0xbf)]];return napCatCore[_0x28781e(0x95)][_0x28781e(0xa4)]()[_0x28781e(0xa7)](_0x42c4b0,_0x502483,_0x33813f);}static async[_0x31cbc3(0xa8)](_0x1533a4,_0x14677c,_0x357466){const _0x2072f0=_0x31cbc3,_0x43ab04={'zhNwZ':function(_0x2b18d0,_0x58888a){return _0x2b18d0||_0x58888a;}};return napCatCore['session'][_0x2072f0(0xa4)]()[_0x2072f0(0xa0)](![],{'operateType':_0x14677c,'targetMsg':{'seq':_0x1533a4[_0x2072f0(0x99)],'type':_0x1533a4[_0x2072f0(0xa5)],'groupCode':_0x1533a4[_0x2072f0(0xa1)]['groupCode'],'postscript':_0x43ab04[_0x2072f0(0xba)](_0x357466,'')}});}static async[_0x31cbc3(0xcd)](_0x426959){const _0x57ecb2=_0x31cbc3;return napCatCore[_0x57ecb2(0x95)][_0x57ecb2(0xa4)]()[_0x57ecb2(0xcd)](_0x426959);}static async[_0x31cbc3(0xb0)](_0x123357,_0x1d5a53,_0x3470e8=![],_0x5e41cc=''){const _0x176ab3=_0x31cbc3;return napCatCore[_0x176ab3(0x95)][_0x176ab3(0xa4)]()[_0x176ab3(0xb0)](_0x123357,_0x1d5a53,_0x3470e8,_0x5e41cc);}static async[_0x31cbc3(0xb8)](_0x172fcf,_0x28a96c){const _0x2fb292=_0x31cbc3;return napCatCore[_0x2fb292(0x95)][_0x2fb292(0xa4)]()[_0x2fb292(0xd2)](_0x172fcf,_0x28a96c);}static async[_0x31cbc3(0xc6)](_0x585a1c,_0x27e477){const _0x796739=_0x31cbc3;return napCatCore[_0x796739(0x95)][_0x796739(0xa4)]()[_0x796739(0xc5)](_0x585a1c,_0x27e477);}static async['setMemberCard'](_0x2f9cd1,_0x56baf9,_0x4ae40d){const _0x545f84=_0x31cbc3;return napCatCore[_0x545f84(0x95)][_0x545f84(0xa4)]()[_0x545f84(0xc3)](_0x2f9cd1,_0x56baf9,_0x4ae40d);}static async[_0x31cbc3(0xd0)](_0x4e65fa,_0x9b1700,_0xb92c71){const _0x113c4a=_0x31cbc3;return napCatCore[_0x113c4a(0x95)][_0x113c4a(0xa4)]()[_0x113c4a(0x8e)](_0x4e65fa,_0x9b1700,_0xb92c71);}static async[_0x31cbc3(0x91)](_0x273f86,_0x34c965){const _0xefa56b=_0x31cbc3;return napCatCore[_0xefa56b(0x95)]['getGroupService']()[_0xefa56b(0xb6)](_0x273f86,_0x34c965,![]);}static async[_0x31cbc3(0xb2)](_0x56686c,_0x4c211f,_0x7be2b7){}static async['publishGroupBulletin'](_0x5cdf82,_0xe3e2a6,_0x2fe3e6=undefined,_0x1f9863=0x0,_0x142714=0x0){const _0x2533ee=_0x31cbc3,_0x48867a={'iwUll':_0x2533ee(0xb5)},_0x321918=(await NTQQUserApi[_0x2533ee(0x93)]([_0x2533ee(0xb5)]))[_0x48867a[_0x2533ee(0x9a)]];let _0x4d4230={'text':encodeURI(_0xe3e2a6),'picInfo':_0x2fe3e6,'oldFeedsId':'','pinned':_0x1f9863,'confirmRequired':_0x142714};return napCatCore['session']['getGroupService']()[_0x2533ee(0xaa)](_0x5cdf82,_0x321918,_0x4d4230);}static async['getGroupRemainAtTimes'](_0x2a1114){const _0x3f3fbb=_0x31cbc3;napCatCore[_0x3f3fbb(0x95)]['getGroupService']()['getGroupRemainAtTimes'](_0x2a1114);}static async['getMemberExtInfo'](_0x3d5041,_0x434783){const _0x4e6566=_0x31cbc3;return napCatCore[_0x4e6566(0x95)]['getGroupService']()[_0x4e6566(0x96)]({'groupCode':_0x3d5041,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x434783],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index e2c72c10..85c308f9 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x3cee53,_0xa4e83b){var _0x48dcea=_0x1ec8,_0x8a73c3=_0x3cee53();while(!![]){try{var _0x511bbb=parseInt(_0x48dcea(0x125))/0x1+-parseInt(_0x48dcea(0x11c))/0x2*(-parseInt(_0x48dcea(0x121))/0x3)+-parseInt(_0x48dcea(0x127))/0x4*(parseInt(_0x48dcea(0x11e))/0x5)+-parseInt(_0x48dcea(0x120))/0x6*(-parseInt(_0x48dcea(0x11d))/0x7)+parseInt(_0x48dcea(0x124))/0x8+-parseInt(_0x48dcea(0x123))/0x9*(parseInt(_0x48dcea(0x126))/0xa)+-parseInt(_0x48dcea(0x11f))/0xb*(parseInt(_0x48dcea(0x122))/0xc);if(_0x511bbb===_0xa4e83b)break;else _0x8a73c3['push'](_0x8a73c3['shift']());}catch(_0x50ca5c){_0x8a73c3['push'](_0x8a73c3['shift']());}}}(_0x1e1c,0x762fa));export*from'./file';export*from'./friend';function _0x1ec8(_0x27b2d1,_0x5e6919){var _0x1e1ca2=_0x1e1c();return _0x1ec8=function(_0x1ec8f9,_0x96813d){_0x1ec8f9=_0x1ec8f9-0x11c;var _0x67dfeb=_0x1e1ca2[_0x1ec8f9];return _0x67dfeb;},_0x1ec8(_0x27b2d1,_0x5e6919);}export*from'./group';function _0x1e1c(){var _0x4b2abc=['1575664hSwZuK','325088ttRLLx','87190PHmdfY','364OYkZcx','530ZuTCeU','56zRuySM','31730yTzfEA','11fGTxOx','247068dsJSPd','8046EKkqLQ','252948vCPMnB','495PHfdQC'];_0x1e1c=function(){return _0x4b2abc;};return _0x1e1c();}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x155fe0,_0x2880c6){var _0x33032b=_0x19cf,_0x1782a8=_0x155fe0();while(!![]){try{var _0x1f97c7=parseInt(_0x33032b(0x1d4))/0x1+-parseInt(_0x33032b(0x1d7))/0x2+parseInt(_0x33032b(0x1da))/0x3*(parseInt(_0x33032b(0x1db))/0x4)+parseInt(_0x33032b(0x1dd))/0x5*(-parseInt(_0x33032b(0x1d9))/0x6)+parseInt(_0x33032b(0x1d8))/0x7+parseInt(_0x33032b(0x1d5))/0x8*(-parseInt(_0x33032b(0x1d6))/0x9)+-parseInt(_0x33032b(0x1d3))/0xa*(parseInt(_0x33032b(0x1dc))/0xb);if(_0x1f97c7===_0x2880c6)break;else _0x1782a8['push'](_0x1782a8['shift']());}catch(_0x2fb023){_0x1782a8['push'](_0x1782a8['shift']());}}}(_0x5486,0x7f087));export*from'./file';export*from'./friend';export*from'./group';function _0x5486(){var _0x538614=['3008019juMeWZ','4YGzPXY','13008611FeDUfW','703780xfsaby','10wUmYvs','76695dkzjbg','1087264Nxwvsr','9dZdbbQ','160878nHBgWm','6864641RDFsoc','6ETygtu'];_0x5486=function(){return _0x538614;};return _0x5486();}export*from'./msg';function _0x19cf(_0xd2ded8,_0x5085d7){var _0x548682=_0x5486();return _0x19cf=function(_0x19cfc5,_0x11e4b3){_0x19cfc5=_0x19cfc5-0x1d3;var _0x270f15=_0x548682[_0x19cfc5];return _0x270f15;},_0x19cf(_0xd2ded8,_0x5085d7);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index a9153cac..4a203556 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x5ef461=_0x1e1c;(function(_0x25c8c3,_0x3e58ad){const _0x32a64a=_0x1e1c,_0x3bae18=_0x25c8c3();while(!![]){try{const _0x123fc6=parseInt(_0x32a64a(0x110))/0x1+parseInt(_0x32a64a(0xef))/0x2+parseInt(_0x32a64a(0xf6))/0x3*(-parseInt(_0x32a64a(0x119))/0x4)+-parseInt(_0x32a64a(0xee))/0x5*(parseInt(_0x32a64a(0xe9))/0x6)+-parseInt(_0x32a64a(0x11a))/0x7*(-parseInt(_0x32a64a(0xf0))/0x8)+-parseInt(_0x32a64a(0xf4))/0x9+-parseInt(_0x32a64a(0xfb))/0xa*(-parseInt(_0x32a64a(0xdf))/0xb);if(_0x123fc6===_0x3e58ad)break;else _0x3bae18['push'](_0x3bae18['shift']());}catch(_0x55ebf4){_0x3bae18['push'](_0x3bae18['shift']());}}}(_0x2cd0,0x55add));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';function _0x1e1c(_0x52db58,_0x52b146){const _0x2cd041=_0x2cd0();return _0x1e1c=function(_0x1e1cf3,_0x3eb39a){_0x1e1cf3=_0x1e1cf3-0xda;let _0x3bed63=_0x2cd041[_0x1e1cf3];return _0x3bed63;},_0x1e1c(_0x52db58,_0x52b146);}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5ef461(0x112)]=_0x278971=>{const _0x3c8011={'DVSxZ':function(_0x59a33a,_0x5c165f){return _0x59a33a(_0x5c165f);}};for(const [_0x550a87,_0x18fb18]of GroupFileInfoUpdateTasks){_0x3c8011['DVSxZ'](_0x18fb18,_0x278971),GroupFileInfoUpdateTasks['delete'](_0x550a87);}},msgListener[_0x5ef461(0x10d)]=_0x2bbb09=>{const _0x549518=_0x5ef461,_0x229afa={'dAZYw':function(_0x8421cd,_0x2ddde3){return _0x8421cd(_0x2ddde3);},'YmrNW':function(_0x511431,_0x5e7b65){return _0x511431 instanceof _0x5e7b65;}};for(const [_0x9895a0,_0x1423e7]of sentMsgTasks){_0x229afa[_0x549518(0xde)](_0x1423e7,_0x2bbb09),sentMsgTasks['delete'](_0x9895a0);}if(sendMessagePool[_0x2bbb09[_0x549518(0x101)]]){const _0x4b0512=sendMessagePool[_0x2bbb09[_0x549518(0x101)]]?.(_0x2bbb09);_0x229afa[_0x549518(0x10a)](_0x4b0512,Promise)&&_0x4b0512[_0x549518(0xf2)]()[_0x549518(0x111)](logError);}},msgListener[_0x5ef461(0xf3)]=_0x4472b1=>{const _0x47c937={'FRaWd':function(_0xddd3a1,_0x31670a){return _0xddd3a1(_0x31670a);},'ZnEbx':function(_0xa8a83c,_0x58688b){return _0xa8a83c instanceof _0x58688b;}};_0x4472b1['forEach'](_0x1d7b70=>{const _0x61bcd6=_0x1e1c;new Promise((_0x18b49e,_0x166844)=>{const _0x5f4c6e=_0x1e1c;for(const _0x5e7f9f in sendSuccessCBMap){const _0x1d28ff=sendSuccessCBMap[_0x5e7f9f],_0x44d170=_0x47c937[_0x5f4c6e(0x116)](_0x1d28ff,_0x1d7b70),_0x45c693=_0x11edaf=>{_0x11edaf&&delete sendSuccessCBMap[_0x5e7f9f];};_0x47c937[_0x5f4c6e(0x10c)](_0x44d170,Promise)?_0x44d170[_0x5f4c6e(0xf2)](_0x45c693):_0x45c693(_0x44d170);}})[_0x61bcd6(0xf2)]()[_0x61bcd6(0x111)](log);});},setTimeout(()=>{const _0x10a331=_0x5ef461;napCatCore[_0x10a331(0xe5)](()=>{const _0x2dfd70=_0x10a331;napCatCore[_0x2dfd70(0x10f)](msgListener);});},0x64);function _0x2cd0(){const _0x1d6e75=['egkiW','msgId','CSwqs','aLPmy','75TZzWPZ','92874anHjCh','167576ARwCOp','map','then','onMsgInfoListUpdate','4705614ZrTCTm','XkSAz','3wjCutr','sendStatus','item','app','mDytH','5790pdVdpV','RicWG','getMsgService','getMsgHistory','activateChat','set','peerUid','sendMsg','senderUid','chatType','parse','getMsgsByMsgId','mvGIQ','recallMsg','uid','YmrNW','fetchRecentContact','ZnEbx','onAddSendMsg','VlxqA','addListener','98896uqsgDG','catch','onGroupFileInfoUpdate','session','getRichMediaService','setMsgRead','FRaWd','GKwHw','转发消息超时','1424892jewzzl','21ziLNtV','获取群文件列表超时','pilLW','setEmojiLike','getMsgsBySeqAndCount','elements','arkElement','getMultiMsg','dAZYw','26939mmXlrH','UFcXt','UvIyj','com.tencent.multimsg','multiForwardMsg','multiForwardMsgWithComment','onLoginSuccess','getGroupFileList','find','GVLOK','158454tKXBQI'];_0x2cd0=function(){return _0x1d6e75;};return _0x2cd0();}export class NTQQMsgApi{static async[_0x5ef461(0x11d)](_0x52beee,_0x2105aa,_0x2d332e,_0x4b03ff=!![]){const _0x5b72c2=_0x5ef461;return _0x2d332e=_0x2d332e['toString'](),napCatCore[_0x5b72c2(0x113)]['getMsgService']()['setMsgEmojiLikes'](_0x52beee,_0x2105aa,_0x2d332e,_0x2d332e['length']>0x3?'2':'1',_0x4b03ff);}static async[_0x5ef461(0xdd)](_0x5cdc08,_0x5b76fc,_0x2018ca){const _0x1a27dd=_0x5ef461;return napCatCore[_0x1a27dd(0x113)][_0x1a27dd(0xfd)]()['getMultiMsg'](_0x5cdc08,_0x5b76fc,_0x2018ca);}static async[_0x5ef461(0x106)](_0x61caa6,_0x5e6a15){const _0x5f5b14=_0x5ef461;return await napCatCore[_0x5f5b14(0x113)][_0x5f5b14(0xfd)]()['getMsgsByMsgId'](_0x61caa6,_0x5e6a15);}static async['getMsgsBySeqAndCount'](_0x26bdcd,_0x5b09b8,_0x40830e,_0x5d3c1c,_0x388fc2){const _0x41553b=_0x5ef461;return await napCatCore[_0x41553b(0x113)][_0x41553b(0xfd)]()[_0x41553b(0xda)](_0x26bdcd,_0x5b09b8,_0x40830e,_0x5d3c1c,_0x388fc2);}static async[_0x5ef461(0xff)](_0x41f51c){}static async['activateChatAndGetHistory'](_0x38dc06){}static async[_0x5ef461(0x115)](_0x4680bc){const _0x26f833=_0x5ef461;return napCatCore[_0x26f833(0x113)]['getMsgService']()['setMsgRead'](_0x4680bc);}static async[_0x5ef461(0xe6)](_0x4f3673,_0x4de54d){const _0x563606={'pilLW':function(_0x58bb06,_0x825c58,_0x23546e){return _0x58bb06(_0x825c58,_0x23546e);},'CSwqs':function(_0x388735){return _0x388735();}};return new Promise(async(_0x1f9b63,_0x570a4e)=>{const _0x22acb3=_0x1e1c;let _0x13ee2d=![];_0x563606[_0x22acb3(0x11c)](setTimeout,()=>{const _0x587512=_0x22acb3;!_0x13ee2d&&_0x570a4e(_0x587512(0x11b));},0x1388);const _0x13daf6=_0x155c92=>{const _0x24c3bb=_0x22acb3;_0x13ee2d=!![],_0x1f9b63(_0x155c92[_0x24c3bb(0xf8)]);};GroupFileInfoUpdateTasks[_0x22acb3(0x100)](_0x563606[_0x22acb3(0xec)](randomUUID),_0x13daf6),await napCatCore[_0x22acb3(0x113)][_0x22acb3(0x114)]()[_0x22acb3(0xe6)](_0x4f3673,_0x4de54d);});}static async[_0x5ef461(0xfe)](_0x548925,_0x57b616,_0xa1324c){const _0x45f7c5=_0x5ef461;return napCatCore[_0x45f7c5(0x113)][_0x45f7c5(0xfd)]()['getMsgsIncludeSelf'](_0x548925,_0x57b616,_0xa1324c,!![]);}static async[_0x5ef461(0x10b)](){}static async[_0x5ef461(0x108)](_0x5e4501,_0xc49139){const _0x305251=_0x5ef461;await napCatCore[_0x305251(0x113)]['getMsgService']()[_0x305251(0x108)]({'chatType':_0x5e4501[_0x305251(0x104)],'peerUid':_0x5e4501[_0x305251(0x101)]},_0xc49139);}static async[_0x5ef461(0x102)](_0x1fa733,_0x1375ee,_0x4840f2=!![],_0x184e97=0x2710){const _0x2f6a12=_0x5ef461,_0x447cb6={'RicWG':function(_0x5c15e5,_0x3c4b1f){return _0x5c15e5>_0x3c4b1f;},'mDytH':'发送超时','aLPmy':function(_0x4696c2,_0x16844f){return _0x4696c2(_0x16844f);},'UvIyj':function(_0x38aa5f){return _0x38aa5f();},'UFcXt':function(_0x12cc76,_0x17f88d){return _0x12cc76===_0x17f88d;},'VlxqA':function(_0x417d4d,_0x69b4dd,_0x4407cc){return _0x417d4d(_0x69b4dd,_0x4407cc);}},_0x52a2d2=_0x1fa733[_0x2f6a12(0x101)];let _0x58f32c=0x0;const _0x30452a=async()=>{const _0x19c248=_0x2f6a12;if(_0x447cb6[_0x19c248(0xfc)](_0x58f32c,_0x184e97))throw _0x447cb6[_0x19c248(0xfa)];const _0x556291=sendMessagePool[_0x1fa733['peerUid']];if(_0x556291)return await _0x447cb6['aLPmy'](sleep,0x1f4),_0x58f32c+=0x1f4,await _0x447cb6['UvIyj'](_0x30452a);else return;};return await _0x30452a(),new Promise((_0x1dfbb2,_0x13d045)=>{const _0x4aa0ce=_0x2f6a12;let _0x2854f3=![],_0x2b7f05=null;const _0xe66d05=_0x447cb6[_0x4aa0ce(0xe1)](randomUUID);sendSuccessCBMap[_0xe66d05]=_0x4cf8c9=>{const _0x38dab8=_0x4aa0ce;if(_0x447cb6[_0x38dab8(0xe0)](_0x4cf8c9[_0x38dab8(0xeb)],_0x2b7f05?.[_0x38dab8(0xeb)])){if(_0x447cb6[_0x38dab8(0xe0)](_0x4cf8c9[_0x38dab8(0xf7)],0x2))return delete sendSuccessCBMap[_0xe66d05],_0x2854f3=!![],_0x447cb6[_0x38dab8(0xed)](_0x1dfbb2,_0x4cf8c9),!![];return![];}return![];},sendMessagePool[_0x52a2d2]=async _0x3316e4=>{delete sendMessagePool[_0x52a2d2],_0x2b7f05=_0x3316e4;},_0x447cb6[_0x4aa0ce(0x10e)](setTimeout,()=>{const _0x199adc=_0x4aa0ce;if(_0x2854f3)return;delete sendMessagePool[_0x52a2d2],delete sendSuccessCBMap[_0xe66d05],_0x447cb6[_0x199adc(0xed)](_0x13d045,'发送超时');},_0x184e97);const _0x3688dc=napCatCore['session'][_0x4aa0ce(0xfd)]()[_0x4aa0ce(0x102)]('0',_0x1fa733,_0x1375ee,new Map());});}static async['forwardMsg'](_0x16fea9,_0x135cb8,_0x4f4cc0){const _0x2b5702=_0x5ef461;return napCatCore['session'][_0x2b5702(0xfd)]()['forwardMsg'](_0x4f4cc0,_0x16fea9,[_0x135cb8],new Map());}static async[_0x5ef461(0xe3)](_0x393efa,_0x5da67d,_0x1d0f9f){const _0x38b3a9=_0x5ef461,_0x460b1a={'zGJmi':_0x38b3a9(0xe2),'mvGIQ':function(_0x48e1a1,_0x58f4c9){return _0x48e1a1==_0x58f4c9;},'egkiW':function(_0x4e0daa,_0x141416){return _0x4e0daa==_0x141416;},'BSBsH':function(_0x42a278,_0x2182a1){return _0x42a278(_0x2182a1);},'GKwHw':_0x38b3a9(0x118),'GVLOK':function(_0x5e8884){return _0x5e8884();},'XkSAz':function(_0x365839,_0x1ccb9a,_0x784239){return _0x365839(_0x1ccb9a,_0x784239);}},_0x2606d6=_0x1d0f9f[_0x38b3a9(0xf1)](_0x4cdf2e=>{return{'msgId':_0x4cdf2e,'senderShowName':selfInfo['nick']};});return new Promise((_0x21d093,_0xa09a90)=>{const _0x1ef2c9=_0x38b3a9;let _0x22260d=![];const _0x53d251=_0x1382fd=>{const _0x7f5c59=_0x1e1c,_0x1703fb=_0x1382fd[_0x7f5c59(0xdb)][_0x7f5c59(0xe7)](_0x188da2=>_0x188da2[_0x7f5c59(0xdc)]);if(!_0x1703fb)return;const _0x207aef=JSON[_0x7f5c59(0x105)](_0x1703fb[_0x7f5c59(0xdc)]['bytesData']);if(_0x207aef[_0x7f5c59(0xf9)]!=_0x460b1a['zGJmi'])return;_0x460b1a[_0x7f5c59(0x107)](_0x1382fd[_0x7f5c59(0x101)],_0x5da67d[_0x7f5c59(0x101)])&&_0x460b1a[_0x7f5c59(0xea)](_0x1382fd[_0x7f5c59(0x103)],selfInfo[_0x7f5c59(0x109)])&&(_0x22260d=!![],_0x21d093(_0x1382fd));};sentMsgTasks[_0x1ef2c9(0x100)](_0x460b1a[_0x1ef2c9(0xe8)](randomUUID),_0x53d251),_0x460b1a[_0x1ef2c9(0xf5)](setTimeout,()=>{const _0x4e9dcf=_0x1ef2c9;!_0x22260d&&_0x460b1a['BSBsH'](_0xa09a90,_0x460b1a[_0x4e9dcf(0x117)]);},0x1388),napCatCore[_0x1ef2c9(0x113)][_0x1ef2c9(0xfd)]()[_0x1ef2c9(0xe4)](_0x2606d6,_0x393efa,_0x5da67d,[],new Map());});}} \ No newline at end of file +const _0x1da4cc=_0x570d;(function(_0x5e8591,_0x28f3c0){const _0x86d82=_0x570d,_0x2550b0=_0x5e8591();while(!![]){try{const _0x4dac6f=parseInt(_0x86d82(0xce))/0x1*(-parseInt(_0x86d82(0xaf))/0x2)+parseInt(_0x86d82(0xe8))/0x3+parseInt(_0x86d82(0xf3))/0x4+parseInt(_0x86d82(0xee))/0x5*(parseInt(_0x86d82(0xd7))/0x6)+-parseInt(_0x86d82(0xae))/0x7*(-parseInt(_0x86d82(0xd1))/0x8)+parseInt(_0x86d82(0xe0))/0x9*(parseInt(_0x86d82(0xf7))/0xa)+-parseInt(_0x86d82(0xbd))/0xb*(parseInt(_0x86d82(0xcc))/0xc);if(_0x4dac6f===_0x28f3c0)break;else _0x2550b0['push'](_0x2550b0['shift']());}catch(_0x25cb27){_0x2550b0['push'](_0x2550b0['shift']());}}}(_0x1c8c,0xb475f));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x1c8c(){const _0x31cf40=['3744020rPafUK','uPuwU','delete','cvmVE','27050sjcJka','iwLZC','GxvjP','77EMUfIz','7386rofyZF','转发消息超时','getGroupFileList','setMsgRead','doUzy','getMsgsBySeqAndCount','getMultiMsg','EAcIL','qlEyd','YbDsG','AlJbk','发送超时','iDcwI','catch','36462602dSirHF','sendStatus','EeXdg','multiForwardMsgWithComment','onMsgInfoListUpdate','senderUid','MiEYI','activateChat','session','find','length','bytesData','XthhC','parse','gXEFx','12RIrdPA','nick','127HpJjxX','oxGZT','activateChatAndGetHistory','328096RPXskT','onLoginSuccess','getMsgService','getRichMediaService','then','multiForwardMsg','2916dPUYdf','com.tencent.multimsg','KapZf','chatType','app','map','recallMsg','QhpXG','ERQFD','4410BVBhaZ','sendMsg','forwardMsg','GNpsa','PmsRG','arkElement','elements','TZahk','2303709jpreeV','peerUid','OPVdL','getMsgsByMsgId','onAddSendMsg','toString','10725cAilqF','forEach','set','getMsgsIncludeSelf','uzDUI'];_0x1c8c=function(){return _0x31cf40;};return _0x1c8c();}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x570d(_0x437f45,_0x5567a4){const _0x1c8c5d=_0x1c8c();return _0x570d=function(_0x570dde,_0x396009){_0x570dde=_0x570dde-0xad;let _0x352cf0=_0x1c8c5d[_0x570dde];return _0x352cf0;},_0x570d(_0x437f45,_0x5567a4);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x3e075f=>{const _0x1adb7b=_0x570d,_0x38d8c0={'uzDUI':function(_0x247c01,_0x4da9b7){return _0x247c01(_0x4da9b7);}};for(const [_0x143ef7,_0xc2f100]of GroupFileInfoUpdateTasks){_0x38d8c0[_0x1adb7b(0xf2)](_0xc2f100,_0x3e075f),GroupFileInfoUpdateTasks[_0x1adb7b(0xf5)](_0x143ef7);}},msgListener[_0x1da4cc(0xec)]=_0x413992=>{const _0x4f32d3=_0x1da4cc,_0x1acd7c={'ERQFD':function(_0x33c271,_0x4325fa){return _0x33c271 instanceof _0x4325fa;}};for(const [_0x44fa4d,_0x9b47e9]of sentMsgTasks){_0x9b47e9(_0x413992),sentMsgTasks[_0x4f32d3(0xf5)](_0x44fa4d);}if(sendMessagePool[_0x413992[_0x4f32d3(0xe9)]]){const _0x4eb0f4=sendMessagePool[_0x413992[_0x4f32d3(0xe9)]]?.(_0x413992);_0x1acd7c[_0x4f32d3(0xdf)](_0x4eb0f4,Promise)&&_0x4eb0f4[_0x4f32d3(0xd5)]()[_0x4f32d3(0xbc)](logError);}},msgListener[_0x1da4cc(0xc1)]=_0x4dc0b6=>{const _0x51302a=_0x1da4cc,_0x37969c={'EeXdg':function(_0x249f0f,_0x52c244){return _0x249f0f(_0x52c244);},'KapZf':function(_0x3e2967,_0x51d592){return _0x3e2967(_0x51d592);}};_0x4dc0b6[_0x51302a(0xef)](_0x59bab4=>{const _0x44b657=_0x51302a;new Promise((_0x378e60,_0x321a13)=>{const _0x3463ad=_0x570d;for(const _0x39957a in sendSuccessCBMap){const _0x3ee94f=sendSuccessCBMap[_0x39957a],_0x20766c=_0x37969c[_0x3463ad(0xbf)](_0x3ee94f,_0x59bab4),_0x3c4997=_0x1cd190=>{_0x1cd190&&delete sendSuccessCBMap[_0x39957a];};_0x20766c instanceof Promise?_0x20766c['then'](_0x3c4997):_0x37969c[_0x3463ad(0xd9)](_0x3c4997,_0x20766c);}})[_0x44b657(0xd5)]()['catch'](log);});},setTimeout(()=>{const _0x3ea0f9=_0x1da4cc;napCatCore[_0x3ea0f9(0xd2)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async['setEmojiLike'](_0x2e5a37,_0x13caea,_0xd39a21,_0x4b1a58=!![]){const _0x323ac4=_0x1da4cc,_0x3460fc={'QhpXG':function(_0x396b72,_0x110d1e){return _0x396b72>_0x110d1e;}};return _0xd39a21=_0xd39a21[_0x323ac4(0xed)](),napCatCore['session']['getMsgService']()['setMsgEmojiLikes'](_0x2e5a37,_0x13caea,_0xd39a21,_0x3460fc[_0x323ac4(0xde)](_0xd39a21[_0x323ac4(0xc7)],0x3)?'2':'1',_0x4b1a58);}static async[_0x1da4cc(0xb5)](_0xba05d6,_0x4e79b4,_0x5a9091){const _0x5dd9ec=_0x1da4cc;return napCatCore[_0x5dd9ec(0xc5)][_0x5dd9ec(0xd3)]()[_0x5dd9ec(0xb5)](_0xba05d6,_0x4e79b4,_0x5a9091);}static async[_0x1da4cc(0xeb)](_0x3dd5b9,_0x27d50c){const _0x3448e2=_0x1da4cc;return await napCatCore[_0x3448e2(0xc5)][_0x3448e2(0xd3)]()[_0x3448e2(0xeb)](_0x3dd5b9,_0x27d50c);}static async[_0x1da4cc(0xb4)](_0x2ff39f,_0x3229fc,_0xb07bf1,_0x496554,_0x1b80d6){const _0xda3ede=_0x1da4cc;return await napCatCore[_0xda3ede(0xc5)][_0xda3ede(0xd3)]()[_0xda3ede(0xb4)](_0x2ff39f,_0x3229fc,_0xb07bf1,_0x496554,_0x1b80d6);}static async[_0x1da4cc(0xc4)](_0x2c48f4){}static async[_0x1da4cc(0xd0)](_0x5429f1){}static async[_0x1da4cc(0xb2)](_0x5e9714){const _0x2d53cb=_0x1da4cc;return napCatCore[_0x2d53cb(0xc5)][_0x2d53cb(0xd3)]()[_0x2d53cb(0xb2)](_0x5e9714);}static async[_0x1da4cc(0xb1)](_0x384590,_0x222bb7){const _0x224a87={'GxvjP':function(_0x228939,_0x13203a){return _0x228939(_0x13203a);},'aBtFI':function(_0x47213b,_0x52c01d,_0x18269e){return _0x47213b(_0x52c01d,_0x18269e);},'TkfZK':function(_0x568783){return _0x568783();}};return new Promise(async(_0x36f85d,_0x3fd6de)=>{const _0x157bdd=_0x570d,_0x55fbd3={'cvmVE':function(_0x8439f0,_0x4b9c0e){const _0x4d10e5=_0x570d;return _0x224a87[_0x4d10e5(0xad)](_0x8439f0,_0x4b9c0e);}};let _0x4506f1=![];_0x224a87['aBtFI'](setTimeout,()=>{const _0x5e70c1=_0x570d;!_0x4506f1&&_0x55fbd3[_0x5e70c1(0xf6)](_0x3fd6de,'获取群文件列表超时');},0x1388);const _0x172bcb=_0x4f111b=>{_0x4506f1=!![],_0x36f85d(_0x4f111b['item']);};GroupFileInfoUpdateTasks['set'](_0x224a87['TkfZK'](randomUUID),_0x172bcb),await napCatCore[_0x157bdd(0xc5)][_0x157bdd(0xd4)]()[_0x157bdd(0xb1)](_0x384590,_0x222bb7);});}static async['getMsgHistory'](_0x51763e,_0x44ba0b,_0x2e004c){const _0x2560d5=_0x1da4cc;return napCatCore[_0x2560d5(0xc5)][_0x2560d5(0xd3)]()[_0x2560d5(0xf1)](_0x51763e,_0x44ba0b,_0x2e004c,!![]);}static async['fetchRecentContact'](){}static async[_0x1da4cc(0xdd)](_0x3b7f62,_0x1a909f){const _0x489068=_0x1da4cc;await napCatCore[_0x489068(0xc5)][_0x489068(0xd3)]()[_0x489068(0xdd)]({'chatType':_0x3b7f62[_0x489068(0xda)],'peerUid':_0x3b7f62['peerUid']},_0x1a909f);}static async[_0x1da4cc(0xe1)](_0x4fe21b,_0x5b92e5,_0x29b4d8=!![],_0x54f503=0x2710){const _0x2f1bab=_0x1da4cc,_0x449777={'YbDsG':function(_0x1f7e8f,_0x4e06e6){return _0x1f7e8f>_0x4e06e6;},'PmsRG':function(_0x18acba,_0x4414d4){return _0x18acba(_0x4414d4);},'iDcwI':function(_0x38cd6b){return _0x38cd6b();},'MiEYI':'发送超时','qlEyd':function(_0x20659e){return _0x20659e();},'AlJbk':function(_0x30961b,_0x10fadf,_0x2ca252){return _0x30961b(_0x10fadf,_0x2ca252);}},_0x31ff1d=_0x4fe21b[_0x2f1bab(0xe9)];let _0x4a3936=0x0;const _0xc66118=async()=>{const _0x2f012d=_0x2f1bab;if(_0x449777[_0x2f012d(0xb8)](_0x4a3936,_0x54f503))throw _0x2f012d(0xba);const _0x2a6ccd=sendMessagePool[_0x4fe21b[_0x2f012d(0xe9)]];if(_0x2a6ccd)return await _0x449777['PmsRG'](sleep,0x1f4),_0x4a3936+=0x1f4,await _0x449777[_0x2f012d(0xbb)](_0xc66118);else return;};return await _0x449777['iDcwI'](_0xc66118),new Promise((_0x14a404,_0x51dd74)=>{const _0x460da8=_0x2f1bab,_0x5ce13e={'doUzy':function(_0x1b88cc,_0x52c0fd){return _0x1b88cc===_0x52c0fd;},'XthhC':function(_0x38971e,_0x3d0e03){const _0x2a3baa=_0x570d;return _0x449777[_0x2a3baa(0xe4)](_0x38971e,_0x3d0e03);}};let _0x5ca589=![],_0x21297e=null;const _0x718717=_0x449777[_0x460da8(0xb7)](randomUUID);sendSuccessCBMap[_0x718717]=_0x14af23=>{const _0x532c15=_0x460da8;if(_0x5ce13e[_0x532c15(0xb3)](_0x14af23['msgId'],_0x21297e?.['msgId'])){if(_0x14af23[_0x532c15(0xbe)]===0x2)return delete sendSuccessCBMap[_0x718717],_0x5ca589=!![],_0x5ce13e[_0x532c15(0xc9)](_0x14a404,_0x14af23),!![];return![];}return![];},sendMessagePool[_0x31ff1d]=async _0x36a4da=>{delete sendMessagePool[_0x31ff1d],_0x21297e=_0x36a4da;},_0x449777[_0x460da8(0xb9)](setTimeout,()=>{const _0x3ce5e8=_0x460da8;if(_0x5ca589)return;delete sendMessagePool[_0x31ff1d],delete sendSuccessCBMap[_0x718717],_0x449777[_0x3ce5e8(0xe4)](_0x51dd74,_0x449777[_0x3ce5e8(0xc3)]);},_0x54f503);const _0xa5e072=napCatCore[_0x460da8(0xc5)][_0x460da8(0xd3)]()['sendMsg']('0',_0x4fe21b,_0x5b92e5,new Map());});}static async[_0x1da4cc(0xe2)](_0x2e87bc,_0x11c10f,_0x52e456){const _0x5669db=_0x1da4cc;return napCatCore[_0x5669db(0xc5)][_0x5669db(0xd3)]()[_0x5669db(0xe2)](_0x52e456,_0x2e87bc,[_0x11c10f],new Map());}static async[_0x1da4cc(0xd6)](_0x23c3c,_0x3ec460,_0x4a364c){const _0x5dc39c=_0x1da4cc,_0x5312d5={'oxGZT':function(_0x3e0fd4,_0xa6bc71){return _0x3e0fd4(_0xa6bc71);},'OPVdL':_0x5dc39c(0xb0),'GNpsa':function(_0x693d45,_0x5a999e){return _0x693d45!=_0x5a999e;},'EAcIL':_0x5dc39c(0xd8),'uPuwU':function(_0x11ce67,_0x41234f){return _0x11ce67==_0x41234f;},'TZahk':function(_0x1f94a1){return _0x1f94a1();},'RcOcS':function(_0x569b4c,_0x3540e6,_0x2e81dc){return _0x569b4c(_0x3540e6,_0x2e81dc);}},_0x242067=_0x4a364c[_0x5dc39c(0xdc)](_0x24e007=>{const _0x1e5e47=_0x5dc39c;return{'msgId':_0x24e007,'senderShowName':selfInfo[_0x1e5e47(0xcd)]};});return new Promise((_0x3dc313,_0x1a5963)=>{const _0x3f3582=_0x5dc39c,_0x155340={'gXEFx':function(_0x26e0bb,_0x3f76f7){const _0x1eca32=_0x570d;return _0x5312d5[_0x1eca32(0xe3)](_0x26e0bb,_0x3f76f7);},'gkUnE':_0x5312d5[_0x3f3582(0xb6)],'iwLZC':function(_0x49f532,_0x56f5e9){const _0xc5060=_0x3f3582;return _0x5312d5[_0xc5060(0xf4)](_0x49f532,_0x56f5e9);}};let _0x523cb1=![];const _0x4d9d32=_0x180bf0=>{const _0x1dc173=_0x3f3582,_0x18e035=_0x180bf0[_0x1dc173(0xe6)][_0x1dc173(0xc6)](_0x2ad326=>_0x2ad326[_0x1dc173(0xe5)]);if(!_0x18e035)return;const _0x363e1f=JSON[_0x1dc173(0xca)](_0x18e035[_0x1dc173(0xe5)][_0x1dc173(0xc8)]);if(_0x155340[_0x1dc173(0xcb)](_0x363e1f[_0x1dc173(0xdb)],_0x155340['gkUnE']))return;_0x180bf0[_0x1dc173(0xe9)]==_0x3ec460['peerUid']&&_0x155340[_0x1dc173(0xf8)](_0x180bf0[_0x1dc173(0xc2)],selfInfo['uid'])&&(_0x523cb1=!![],_0x3dc313(_0x180bf0));};sentMsgTasks[_0x3f3582(0xf0)](_0x5312d5[_0x3f3582(0xe7)](randomUUID),_0x4d9d32),_0x5312d5['RcOcS'](setTimeout,()=>{const _0x306b97=_0x3f3582;!_0x523cb1&&_0x5312d5[_0x306b97(0xcf)](_0x1a5963,_0x5312d5[_0x306b97(0xea)]);},0x1388),napCatCore[_0x3f3582(0xc5)][_0x3f3582(0xd3)]()[_0x3f3582(0xc0)](_0x242067,_0x23c3c,_0x3ec460,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index b5e68331..a1a9b65a 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x4f5a6e,_0x4580a2){const _0x40b5d5=_0x2790,_0x597bb7=_0x4f5a6e();while(!![]){try{const _0x38934b=parseInt(_0x40b5d5(0x1a4))/0x1*(-parseInt(_0x40b5d5(0x190))/0x2)+-parseInt(_0x40b5d5(0x187))/0x3+parseInt(_0x40b5d5(0x196))/0x4+-parseInt(_0x40b5d5(0x1a7))/0x5*(-parseInt(_0x40b5d5(0x19d))/0x6)+parseInt(_0x40b5d5(0x18e))/0x7+parseInt(_0x40b5d5(0x195))/0x8+parseInt(_0x40b5d5(0x18f))/0x9*(-parseInt(_0x40b5d5(0x179))/0xa);if(_0x38934b===_0x4580a2)break;else _0x597bb7['push'](_0x597bb7['shift']());}catch(_0x25e27a){_0x597bb7['push'](_0x597bb7['shift']());}}}(_0x27ab,0xa8b9c));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x27ab(){const _0xe68c7f=['https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','MfyFs','replace','signed_ark','tianxuan.imgJumpArk','tagIcon','title','PyTLi','&ark=','uin','miniapp','source','2046378pxuMfC','preview','sourcelogo','tag','genBkn',';\x20uin=o','YhsCN','2085349YaWtdH','487206qKukLr','482QZnXGE','hDOkm',';\x20p_uin=o','data','JbHBz','4495352aIRrZU','372252CFYXtz','OPnoJ','stringify','\x5c/\x5c/','XQHzA','sgFnx','NSHLx','924xrWlpU','normal','skey','getSkey','ZkCZS','GET','xiRjZ','1747kxerqP','com.tencent.miniapp.lua','p_skey','36105yAncNf','ggOjD','50TpZjth',';\x20skey='];_0x27ab=function(){return _0xe68c7f;};return _0x27ab();}function _0x2790(_0x13fdcf,_0x50f8d8){const _0x27ab4d=_0x27ab();return _0x2790=function(_0x2790a8,_0x4e5c48){_0x2790a8=_0x2790a8-0x179;let _0x178420=_0x27ab4d[_0x2790a8];return _0x178420;},_0x2790(_0x13fdcf,_0x50f8d8);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x232664){const _0x21a46c=_0x2790,_0x397da3={'ggOjD':_0x21a46c(0x1a5),'iHfKS':_0x21a46c(0x17f),'PyTLi':_0x21a46c(0x19e),'MfyFs':_0x21a46c(0x199),'XQHzA':function(_0x9ae3ea,_0x24eed7){return _0x9ae3ea+_0x24eed7;},'sgFnx':function(_0x21d358,_0x16d9a6){return _0x21d358+_0x16d9a6;},'NSHLx':function(_0x12cdf0,_0x1fa5d1){return _0x12cdf0+_0x1fa5d1;},'xiRjZ':'p_skey=','WBeAb':_0x21a46c(0x17a),'YhsCN':_0x21a46c(0x192),'OPnoJ':_0x21a46c(0x18c),'NXDYa':function(_0x5708e9,_0x1c82ea){return _0x5708e9+_0x1c82ea;},'ZkCZS':function(_0x3a4d13,_0x51be20){return _0x3a4d13+_0x51be20;},'JbHBz':function(_0x115522,_0x300352){return _0x115522(_0x300352);},'hDOkm':_0x21a46c(0x1a2),'nyOHa':function(_0x450d4f,_0x43e312,_0x1ed97f){return _0x450d4f(_0x43e312,_0x1ed97f);}};let _0x24b13a={'app':_0x397da3[_0x21a46c(0x1a8)],'bizsrc':_0x397da3['iHfKS'],'view':_0x21a46c(0x185),'prompt':_0x232664['prompt'],'config':{'type':_0x397da3[_0x21a46c(0x182)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x232664[_0x21a46c(0x181)],'preview':_0x232664[_0x21a46c(0x188)]['replace'](/\\/g,_0x397da3[_0x21a46c(0x17c)]),'jumpUrl':_0x232664['jumpUrl'][_0x21a46c(0x17d)](/\\/g,_0x397da3[_0x21a46c(0x17c)]),'tag':_0x232664[_0x21a46c(0x18a)],'tagIcon':_0x232664[_0x21a46c(0x180)]['replace'](/\\/g,_0x21a46c(0x199)),'source':_0x232664[_0x21a46c(0x186)],'sourcelogo':_0x232664[_0x21a46c(0x189)][_0x21a46c(0x17d)](/\\/g,_0x397da3[_0x21a46c(0x17c)])}}};const _0x13a351=await NTQQUserApi[_0x21a46c(0x1a0)]();let _0x36d8d7=await NTQQUserApi['getQzoneCookies']();const _0x4aac9e=WebApi[_0x21a46c(0x18b)](_0x36d8d7[_0x21a46c(0x1a6)]),_0x29dbe9=_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x19b)](_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x19c)](_0x397da3[_0x21a46c(0x19a)](_0x397da3[_0x21a46c(0x1a3)],_0x36d8d7['p_skey']),_0x397da3['WBeAb']),_0x36d8d7[_0x21a46c(0x19f)])+_0x397da3[_0x21a46c(0x18d)],selfInfo[_0x21a46c(0x184)]),_0x397da3[_0x21a46c(0x197)])+selfInfo[_0x21a46c(0x184)];let _0x25122d=_0x397da3['NXDYa'](_0x397da3[_0x21a46c(0x1a1)](_0x21a46c(0x17b),_0x4aac9e),_0x21a46c(0x183))+_0x397da3[_0x21a46c(0x194)](encodeURIComponent,JSON[_0x21a46c(0x198)](_0x24b13a)),_0x1be9c8='';try{let _0x2e54fe=await RequestUtil['HttpGetJson'](_0x25122d,_0x397da3[_0x21a46c(0x191)],undefined,{'Cookie':_0x29dbe9});_0x1be9c8=_0x2e54fe[_0x21a46c(0x193)][_0x21a46c(0x17e)];}catch(_0x24ad5a){_0x397da3['nyOHa'](logDebug,'MiniApp\x20JSON\x20消息生成失败',_0x24ad5a);}return _0x1be9c8;} \ No newline at end of file +function _0x3b42(_0x5a704d,_0x1f302d){const _0x552aac=_0x552a();return _0x3b42=function(_0x3b42af,_0x47cec7){_0x3b42af=_0x3b42af-0x6e;let _0x50ea84=_0x552aac[_0x3b42af];return _0x50ea84;},_0x3b42(_0x5a704d,_0x1f302d);}(function(_0x5ae99d,_0x14309a){const _0x3e098f=_0x3b42,_0x344600=_0x5ae99d();while(!![]){try{const _0x56888f=-parseInt(_0x3e098f(0x95))/0x1+parseInt(_0x3e098f(0x6e))/0x2+parseInt(_0x3e098f(0x72))/0x3+-parseInt(_0x3e098f(0x74))/0x4*(-parseInt(_0x3e098f(0x89))/0x5)+parseInt(_0x3e098f(0x8e))/0x6*(-parseInt(_0x3e098f(0x97))/0x7)+-parseInt(_0x3e098f(0x8f))/0x8+-parseInt(_0x3e098f(0x86))/0x9*(parseInt(_0x3e098f(0x80))/0xa);if(_0x56888f===_0x14309a)break;else _0x344600['push'](_0x344600['shift']());}catch(_0x4675d5){_0x344600['push'](_0x344600['shift']());}}}(_0x552a,0x42d65));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x5e1218){const _0x2711bb=_0x3b42,_0x326c0c={'DaLHz':_0x2711bb(0x93),'uUtAI':_0x2711bb(0x6f),'ozory':_0x2711bb(0x96),'PGKum':_0x2711bb(0x73),'vFTnt':function(_0x188126,_0xc280e9){return _0x188126+_0xc280e9;},'wBzyM':function(_0x393ace,_0x23b4ac){return _0x393ace+_0x23b4ac;},'aVqtS':function(_0x7dd5f,_0x53db90){return _0x7dd5f+_0x53db90;},'Dlnem':function(_0x3a6d77,_0x5b9977){return _0x3a6d77+_0x5b9977;},'uOdwv':function(_0x26d330,_0x1cda79){return _0x26d330+_0x1cda79;},'jSjuE':_0x2711bb(0x84),'ioJoR':';\x20p_uin=o','FEvcz':_0x2711bb(0x8a),'HYYsz':_0x2711bb(0x7c),'JctUc':function(_0x5b6ed8,_0x7d5a2c,_0x4e5511){return _0x5b6ed8(_0x7d5a2c,_0x4e5511);},'QjLRT':_0x2711bb(0x81)};let _0x3396d2={'app':_0x326c0c['DaLHz'],'bizsrc':_0x326c0c['uUtAI'],'view':_0x326c0c[_0x2711bb(0x77)],'prompt':_0x5e1218[_0x2711bb(0x70)],'config':{'type':_0x2711bb(0x94),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x5e1218[_0x2711bb(0x99)],'preview':_0x5e1218[_0x2711bb(0x7e)][_0x2711bb(0x82)](/\\/g,_0x326c0c['PGKum']),'jumpUrl':_0x5e1218['jumpUrl'][_0x2711bb(0x82)](/\\/g,_0x2711bb(0x73)),'tag':_0x5e1218[_0x2711bb(0x75)],'tagIcon':_0x5e1218[_0x2711bb(0x78)][_0x2711bb(0x82)](/\\/g,_0x326c0c[_0x2711bb(0x71)]),'source':_0x5e1218[_0x2711bb(0x8b)],'sourcelogo':_0x5e1218['sourcelogo'][_0x2711bb(0x82)](/\\/g,_0x326c0c[_0x2711bb(0x71)])}}};const _0x36ad98=await NTQQUserApi[_0x2711bb(0x83)]();let _0x183ed6=await NTQQUserApi['getQzoneCookies']();const _0x179e53=WebApi['genBkn'](_0x183ed6[_0x2711bb(0x7b)]),_0x2f33a1=_0x326c0c['vFTnt'](_0x326c0c[_0x2711bb(0x79)](_0x326c0c[_0x2711bb(0x92)](_0x326c0c[_0x2711bb(0x92)](_0x326c0c['Dlnem'](_0x326c0c[_0x2711bb(0x8c)](_0x326c0c['jSjuE'],_0x183ed6[_0x2711bb(0x7b)]),_0x2711bb(0x98))+_0x183ed6[_0x2711bb(0x8d)],_0x326c0c[_0x2711bb(0x91)]),selfInfo[_0x2711bb(0x7a)]),_0x326c0c[_0x2711bb(0x90)]),selfInfo[_0x2711bb(0x7a)]);let _0x45da53=_0x326c0c[_0x2711bb(0x76)](_0x2711bb(0x7f)+_0x179e53,'&ark=')+encodeURIComponent(JSON[_0x2711bb(0x87)](_0x3396d2)),_0x103d22='';try{let _0x3d2828=await RequestUtil[_0x2711bb(0x85)](_0x45da53,_0x326c0c['HYYsz'],undefined,{'Cookie':_0x2f33a1});_0x103d22=_0x3d2828['data']['signed_ark'];}catch(_0x4b3ef1){_0x326c0c[_0x2711bb(0x7d)](logDebug,_0x326c0c[_0x2711bb(0x88)],_0x4b3ef1);}return _0x103d22;}function _0x552a(){const _0x48b0fa=['com.tencent.miniapp.lua','normal','156634iRArtj','miniapp','1430443GMBuRU',';\x20skey=','title','894396HKFago','tianxuan.imgJumpArk','prompt','PGKum','1074795pCrpvV','\x5c/\x5c/','300AweZOt','tag','vFTnt','ozory','tagIcon','wBzyM','uin','p_skey','GET','JctUc','preview','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','10dEahvp','MiniApp\x20JSON\x20消息生成失败','replace','getSkey','p_skey=','HttpGetJson','4445937UJfPFP','stringify','QjLRT','22910sUfpyP',';\x20uin=o','source','uOdwv','skey','6viwZJh','162976rYjLDe','FEvcz','ioJoR','aVqtS'];_0x552a=function(){return _0x48b0fa;};return _0x552a();} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 76c948f2..97544fe0 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x137c62=_0x2534;(function(_0x5f41f6,_0x4af588){const _0x7cb8e9=_0x2534,_0x114515=_0x5f41f6();while(!![]){try{const _0x44a530=-parseInt(_0x7cb8e9(0x1f2))/0x1*(-parseInt(_0x7cb8e9(0x1ed))/0x2)+parseInt(_0x7cb8e9(0x1f6))/0x3+parseInt(_0x7cb8e9(0x1ec))/0x4+parseInt(_0x7cb8e9(0x1f3))/0x5*(parseInt(_0x7cb8e9(0x1ee))/0x6)+-parseInt(_0x7cb8e9(0x1f4))/0x7+-parseInt(_0x7cb8e9(0x1ea))/0x8*(-parseInt(_0x7cb8e9(0x1fc))/0x9)+parseInt(_0x7cb8e9(0x1fa))/0xa*(-parseInt(_0x7cb8e9(0x1f1))/0xb);if(_0x44a530===_0x4af588)break;else _0x114515['push'](_0x114515['shift']());}catch(_0x1d3194){_0x114515['push'](_0x114515['shift']());}}}(_0x3eb3,0x5e729));function _0x2534(_0x5af6e0,_0x2254b4){const _0x3eb321=_0x3eb3();return _0x2534=function(_0x253463,_0x29b08f){_0x253463=_0x253463-0x1ea;let _0x5262f9=_0x3eb321[_0x253463];return _0x5262f9;},_0x2534(_0x5af6e0,_0x2254b4);}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x3eb3(){const _0x11ebd8=['330262iwaLYH','151885EcoZCj','5072718mHiyDo','getOnLineDev','581160sJfncj','getOnlineDev','NodeIKernelCollectionService/collectionArkShare','hasOtherRunningQQProcess','10338630dWupqf','wantWinScreenOCR','30807WtIkGX','getRichMediaService','util','128XwtfSH','getNodeMiscService','2636876AHVAQy','4wOdHtx','114hizssS','1717662698058','session','11rHlOtT'];_0x3eb3=function(){return _0x11ebd8;};return _0x3eb3();}export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x338b99=_0x2534;return napCatCore[_0x338b99(0x1fe)][_0x338b99(0x1f9)]();}static async['ORCImage'](_0x594e1b){const _0x214e95=_0x2534;return napCatCore['session'][_0x214e95(0x1eb)]()[_0x214e95(0x1fb)](_0x594e1b);}static async['translateEnWordToZn'](_0xaea10d){const _0xe55ec0=_0x2534;return napCatCore['session'][_0xe55ec0(0x1fd)]()['translateEnWordToZn'](_0xaea10d);}static async[_0x137c62(0x1f7)](){const _0x617c3=_0x137c62;return napCatCore[_0x617c3(0x1f0)]['getMsgService']()[_0x617c3(0x1f5)]();}static async['getArkJsonCollection'](_0x2535dd){const _0x27ffe8=_0x137c62,_0x3a4c86={'aAVVU':_0x27ffe8(0x1ef)};let _0xe499a0=await NTEventDispatch['CallNoListenerEvent'](_0x27ffe8(0x1f8),0x1388,_0x3a4c86['aAVVU']);return _0xe499a0;}} \ No newline at end of file +function _0x3a63(){const _0x274dc5=['getOnlineDev','1356120oecDsT','translateEnWordToZn','fimoV','2pdOrvJ','2238vQIhVe','1551cLONob','getMsgService','session','158986kCAHLd','getRichMediaService','OVTby','161QSJMWM','hasOtherRunningQQProcess','983600lAThKM','18nVRybT','getNodeMiscService','wantWinScreenOCR','274168gDVJHv','1717662698058','ORCImage','511960Rytamw','CallNoListenerEvent','util','53712MrpeTF','6KuMmSz','NodeIKernelCollectionService/collectionArkShare','getOnLineDev'];_0x3a63=function(){return _0x274dc5;};return _0x3a63();}function _0x1632(_0x4cb1bc,_0x59ac70){const _0x3a6300=_0x3a63();return _0x1632=function(_0x16322f,_0x2827a8){_0x16322f=_0x16322f-0xa2;let _0x5c69ca=_0x3a6300[_0x16322f];return _0x5c69ca;},_0x1632(_0x4cb1bc,_0x59ac70);}const _0x5966c2=_0x1632;(function(_0x521438,_0x3b904c){const _0x56f562=_0x1632,_0x3d398d=_0x521438();while(!![]){try{const _0x10d3a8=-parseInt(_0x56f562(0xb8))/0x1*(-parseInt(_0x56f562(0xbd))/0x2)+-parseInt(_0x56f562(0xb1))/0x3*(parseInt(_0x56f562(0xaa))/0x4)+-parseInt(_0x56f562(0xad))/0x5+-parseInt(_0x56f562(0xb9))/0x6*(parseInt(_0x56f562(0xa4))/0x7)+parseInt(_0x56f562(0xa6))/0x8*(-parseInt(_0x56f562(0xa7))/0x9)+-parseInt(_0x56f562(0xb5))/0xa+parseInt(_0x56f562(0xba))/0xb*(parseInt(_0x56f562(0xb0))/0xc);if(_0x10d3a8===_0x3b904c)break;else _0x3d398d['push'](_0x3d398d['shift']());}catch(_0x37fa6f){_0x3d398d['push'](_0x3d398d['shift']());}}}(_0x3a63,0x27317));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x5966c2(0xa5)](){const _0x4fc9b5=_0x5966c2;return napCatCore[_0x4fc9b5(0xaf)]['hasOtherRunningQQProcess']();}static async[_0x5966c2(0xac)](_0x98eae2){const _0x5cc484=_0x5966c2;return napCatCore[_0x5cc484(0xbc)][_0x5cc484(0xa8)]()[_0x5cc484(0xa9)](_0x98eae2);}static async[_0x5966c2(0xb6)](_0x4333f4){const _0x1da35f=_0x5966c2;return napCatCore[_0x1da35f(0xbc)][_0x1da35f(0xa2)]()['translateEnWordToZn'](_0x4333f4);}static async[_0x5966c2(0xb4)](){const _0x1c6893=_0x5966c2;return napCatCore[_0x1c6893(0xbc)][_0x1c6893(0xbb)]()[_0x1c6893(0xb3)]();}static async['getArkJsonCollection'](_0x7fbd8d){const _0x589ed7=_0x5966c2,_0x1c8668={'OVTby':_0x589ed7(0xb2),'fimoV':_0x589ed7(0xab)};let _0x2a5a56=await NTEventDispatch[_0x589ed7(0xae)](_0x1c8668[_0x589ed7(0xa3)],0x1388,_0x1c8668[_0x589ed7(0xb7)]);return _0x2a5a56;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 9b573b90..b3b5be9a 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x328945=_0x3a10;(function(_0x4b43a8,_0x36348e){const _0x549ed2=_0x3a10,_0x3d609a=_0x4b43a8();while(!![]){try{const _0x532814=-parseInt(_0x549ed2(0x14a))/0x1+parseInt(_0x549ed2(0x153))/0x2*(parseInt(_0x549ed2(0x152))/0x3)+-parseInt(_0x549ed2(0x13b))/0x4+parseInt(_0x549ed2(0x120))/0x5+parseInt(_0x549ed2(0x11a))/0x6+-parseInt(_0x549ed2(0x151))/0x7*(parseInt(_0x549ed2(0x12e))/0x8)+-parseInt(_0x549ed2(0x114))/0x9;if(_0x532814===_0x36348e)break;else _0x3d609a['push'](_0x3d609a['shift']());}catch(_0x1ff5dd){_0x3d609a['push'](_0x3d609a['shift']());}}}(_0x58d8,0xa999d));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x3a10(_0x345901,_0x4055dd){const _0x58d806=_0x58d8();return _0x3a10=function(_0x3a1030,_0x2ba2b7){_0x3a1030=_0x3a1030-0xf4;let _0x565eb0=_0x58d806[_0x3a1030];return _0x565eb0;},_0x3a10(_0x345901,_0x4055dd);}function _0x58d8(){const _0x4c433d=['delete','10318dYuCdI','3pCuzpf','1545550JcOjBY','UyXiU','PskeyData','getPskey','getProfileService','uinInfo','vfXai','session','ClientKey','AryDS','CallNoListenerEvent','EXHWn','setHeader','forEach','CreatTime','vIhNj','lHrDk','getRobotService','haobv','getMsgService','HttpsGetCookies','vnfvj','GGOAk','%2Finfocenter&keyindex=19%27','getQzoneCookies','getBuddyService','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','wOBtu','fromEntries','onLoginSuccess','getRobotUinRange','setStatus','NodeIKernelProfileService/getUserDetailInfoByUin','getUserDetailInfo\x20timeout','13553334JiDiGS','WyBNL','qCawR','result','UObZb','MVGcH','6485928wtVJDQ','push','uidInfo','getUserInfo','getUserDetailInfoWithBizInfo','TnHBP','5723165OaFhXu','OKurw','getBuddyRecommendContactArkJson','获取Pskey失败','domainPskeyMap','like','KeyIndex','NPeSF','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','now','addListener','get','entries','3776Ehcrlb','Skey','getUidByUin','SAGqu','getPSkey','forceFetchClientKey','Eznkx','PskeyTime','&clientkey=','HKOcd','TwrXb','onProfileDetailInfoChanged','getUinByUid','179048FDIpKL','errMsg','then','setSelfOnlineStatus','uid','QlVsC','XTAgo','uin','set','rqtIK','XWTnn','length','getTipOffService','rcKcW','response','57295IiKOCD','getSelfInfo','clientKey','skey','getUserDetailInfo','getProfileLikeService'];_0x58d8=function(){return _0x4c433d;};return _0x58d8();}profileListener[_0x328945(0x139)]=_0x420cb1=>{const _0x24b556=_0x328945;userInfoCache[_0x420cb1[_0x24b556(0x13f)]]=_0x420cb1,userDetailHandlers[_0x24b556(0xff)](_0x55a149=>_0x55a149(_0x420cb1));},setTimeout(()=>{const _0x6bf42b=_0x328945;napCatCore[_0x6bf42b(0x10f)](()=>{const _0x53d5f9=_0x6bf42b;napCatCore[_0x53d5f9(0x12b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x328945(0x13e)](_0x49025a,_0x3ef031,_0x566385){const _0x3610c9=_0x328945;return napCatCore['session'][_0x3610c9(0x105)]()[_0x3610c9(0x111)]({'status':_0x49025a,'extStatus':_0x3ef031,'batteryStatus':_0x566385});}static async[_0x328945(0x122)](_0x342d9c,_0x544959=''){const _0xc99e6=_0x328945;return napCatCore[_0xc99e6(0xf9)][_0xc99e6(0x10b)]()[_0xc99e6(0x122)](_0x342d9c,_0x544959);}static async[_0x328945(0x125)](_0x23cf57,_0x13eb75=0x1){const _0xa56852=_0x328945;return napCatCore[_0xa56852(0xf9)][_0xa56852(0x14f)]()['setBuddyProfileLike']({'friendUid':_0x23cf57,'sourceId':0x47,'doLikeCount':_0x13eb75,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x1fdbac){const _0x1c2ad1=_0x328945,_0x328e8a=napCatCore[_0x1c2ad1(0xf9)][_0x1c2ad1(0xf6)]()[_0x1c2ad1(0xfe)](_0x1fdbac);return{'result':_0x328e8a?.[_0x1c2ad1(0x117)],'errMsg':_0x328e8a?.[_0x1c2ad1(0x13c)]};}static async[_0x328945(0x14b)](){}static async[_0x328945(0x11d)](_0x3c0564){}static async[_0x328945(0x14e)](_0x25c6a0){const _0xca6ed5=_0x328945,_0x2d02b3={'XTAgo':function(_0x233a0a,_0x1f636e){return _0x233a0a===_0x1f636e;},'rcKcW':function(_0x2123e5,_0x5a9fe1){return _0x2123e5(_0x5a9fe1);},'SAGqu':_0xca6ed5(0x113),'njyAZ':function(_0x4c6807){return _0x4c6807();},'NPeSF':function(_0x2b0ec6,_0x3e6432,_0x16f814){return _0x2b0ec6(_0x3e6432,_0x16f814);}},_0x4b097d=napCatCore[_0xca6ed5(0xf9)][_0xca6ed5(0xf6)]();return new Promise((_0x217609,_0x22d133)=>{const _0xf1d41a=_0xca6ed5,_0x155b25={'lHrDk':function(_0x14afc5,_0x1c4533){const _0x526524=_0x3a10;return _0x2d02b3[_0x526524(0x148)](_0x14afc5,_0x1c4533);},'AryDS':_0x2d02b3[_0xf1d41a(0x131)]},_0x2ba2a8=_0x2d02b3['njyAZ'](randomUUID);let _0x1f4418=![],_0x1b4636=undefined,_0xc7617a=!![];_0x2d02b3[_0xf1d41a(0x127)](setTimeout,()=>{const _0x5666fb=_0xf1d41a;!_0x1f4418&&(_0x1b4636?_0x217609(_0x1b4636):_0x155b25[_0x5666fb(0x102)](_0x22d133,_0x155b25[_0x5666fb(0xfb)])),userDetailHandlers[_0x5666fb(0x150)](_0x2ba2a8);},0x1388),userDetailHandlers[_0xf1d41a(0x143)](_0x2ba2a8,_0x5bf056=>{const _0x3d88be=_0xf1d41a;_0x2d02b3[_0x3d88be(0x141)](_0x5bf056[_0x3d88be(0x13f)],_0x25c6a0)&&(_0xc7617a?(_0x1b4636=_0x5bf056,_0xc7617a=![]):(_0x1f4418=!![],_0x217609(_0x5bf056)));}),_0x4b097d[_0xf1d41a(0x11e)](_0x25c6a0,[0x0])[_0xf1d41a(0x13d)](_0x1231c7=>{});});}static async['modifySelfProfile'](_0x5d3a19){const _0x3d3102=_0x328945;return napCatCore[_0x3d3102(0xf9)][_0x3d3102(0xf6)]()['modifyDesktopMiniProfile'](_0x5d3a19);}static async[_0x328945(0x132)](_0x23a695,_0x53091e=!![]){const _0x567ee1=_0x328945,_0x176955={'HKOcd':function(_0x3b9e10,_0x11814c){return _0x3b9e10||_0x11814c;},'LWysf':function(_0x473fce,_0x5cabb6){return _0x473fce>_0x5cabb6;},'TwrXb':function(_0xf56cc9,_0xb332a0){return _0xf56cc9-_0xb332a0;},'UObZb':function(_0x11d53b,_0x576e16){return _0x11d53b*_0x576e16;},'vIhNj':function(_0x55a419,_0x5444ec){return _0x55a419===_0x5444ec;},'vnfvj':function(_0x322fd1,_0x4c1390,_0x3cbd0e){return _0x322fd1(_0x4c1390,_0x3cbd0e);},'whPME':_0x567ee1(0x123)},_0x5da64f=[],_0x138418={};for(const _0x3c5e28 in _0x23a695){const _0xd1ef74=Credentials[_0x567ee1(0xf4)][_0x567ee1(0x12c)](_0x23a695[_0x3c5e28]),_0x44279e=Credentials[_0x567ee1(0x135)][_0x567ee1(0x12c)](_0x23a695[_0x3c5e28]);_0x176955[_0x567ee1(0x137)](!_0xd1ef74,!_0x44279e)||_0x176955['LWysf'](_0x176955[_0x567ee1(0x138)](Date[_0x567ee1(0x12a)](),_0x44279e),_0x176955[_0x567ee1(0x118)](0x708,0x3e8))||!_0x53091e?_0x5da64f[_0x567ee1(0x11b)](_0x23a695[_0x3c5e28]):_0x138418[_0x23a695[_0x3c5e28]]=_0xd1ef74;}let _0x54c23d={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x5da64f[_0x567ee1(0x146)]>0x0&&(_0x54c23d=await napCatCore[_0x567ee1(0xf9)][_0x567ee1(0x147)]()[_0x567ee1(0xf5)](_0x5da64f,!![]));const _0x476ce5=_0x54c23d[_0x567ee1(0x124)];for(const _0x4791c9 of _0x476ce5[_0x567ee1(0x12d)]()){Credentials[_0x567ee1(0xf4)]['set'](_0x4791c9[0x0],_0x4791c9[0x1]),Credentials[_0x567ee1(0x135)][_0x567ee1(0x143)](_0x4791c9[0x0],Date[_0x567ee1(0x12a)]());}const _0x3c2ca6=Object['assign'](Object[_0x567ee1(0x10e)](_0x476ce5),_0x138418);if(_0x176955[_0x567ee1(0x101)](_0x54c23d[_0x567ee1(0x117)],0x0))return _0x3c2ca6;else _0x176955[_0x567ee1(0x107)](logError,_0x176955['whPME'],_0x54c23d['errMsg']);return{};}static async[_0x328945(0x110)](){const _0x35e4d8=_0x328945,_0xc9f393=await napCatCore['session'][_0x35e4d8(0x103)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xc9f393?.[_0x35e4d8(0x149)]?.['robotUinRanges'];}static async[_0x328945(0x10a)](){const _0x58a777=_0x328945,_0x38de7d={'WyBNL':function(_0x3ebaca,_0x31cd01){return _0x3ebaca+_0x31cd01;},'EXHWn':function(_0x1d98f9,_0x445ec2){return _0x1d98f9+_0x445ec2;},'FkENh':_0x58a777(0x129),'haobv':'&clientkey=','cXkwx':_0x58a777(0x10c),'MVGcH':_0x58a777(0x109),'GGOAk':function(_0x1e528e,_0x5a9ceb,_0x9b443d){return _0x1e528e(_0x5a9ceb,_0x9b443d);},'GmGFx':'请求获取Cookies时失败'},_0x24b6ac=_0x38de7d[_0x58a777(0x115)](_0x38de7d[_0x58a777(0xfd)](_0x38de7d['EXHWn'](_0x38de7d[_0x58a777(0xfd)](_0x38de7d['FkENh']+selfInfo['uin']+_0x38de7d[_0x58a777(0x104)],Credentials[_0x58a777(0xfa)]),_0x38de7d['cXkwx']),selfInfo['uin']),_0x38de7d[_0x58a777(0x119)]);let _0x39317b={};try{_0x39317b=await RequestUtil[_0x58a777(0x106)](_0x24b6ac);}catch(_0x366b25){_0x38de7d[_0x58a777(0x108)](logDebug,_0x38de7d['GmGFx'],_0x366b25),_0x39317b={};}return _0x39317b;}static async['getSkey'](_0xf55ebb=!![]){const _0x3c28ae=_0x328945,_0x39a50e={'XWTnn':function(_0x23505f,_0x40f63e){return _0x23505f>_0x40f63e;},'quAbt':function(_0x3240ef,_0x535e05){return _0x3240ef*_0x535e05;},'OKurw':function(_0x1eb448,_0x2277af){return _0x1eb448!==_0x2277af;},'Eznkx':function(_0x8045e5,_0x215a35){return _0x8045e5+_0x215a35;},'wOBtu':function(_0x36925f,_0xaa0c79){return _0x36925f+_0xaa0c79;},'TnHBP':_0x3c28ae(0x129),'KdcxE':_0x3c28ae(0x128),'qCawR':function(_0x53e340,_0x1848e1,_0x4b7e70){return _0x53e340(_0x1848e1,_0x4b7e70);},'vfXai':'请求获取Skey时失败','rqtIK':_0x3c28ae(0x14d)};try{if(Credentials['CreatTime']==0x0||_0x39a50e[_0x3c28ae(0x145)](Date[_0x3c28ae(0x12a)]()-Credentials['CreatTime'],_0x39a50e['quAbt'](0x3e8,0xe10))||!_0xf55ebb){const _0x18ae49=await napCatCore[_0x3c28ae(0xf9)]['getTicketService']()[_0x3c28ae(0x133)]('');if(_0x39a50e[_0x3c28ae(0x121)](_0x18ae49[_0x3c28ae(0x117)],0x0))return'';const _0x1f20e5=_0x18ae49[_0x3c28ae(0x14c)],_0x2cc7cc=_0x18ae49['keyIndex'],_0x49727f=_0x39a50e[_0x3c28ae(0x134)](_0x39a50e[_0x3c28ae(0x134)](_0x39a50e[_0x3c28ae(0x10d)](_0x39a50e[_0x3c28ae(0x10d)](_0x39a50e[_0x3c28ae(0x11f)]+selfInfo[_0x3c28ae(0x142)],_0x3c28ae(0x136)),_0x1f20e5),_0x39a50e['KdcxE']),_0x2cc7cc);let _0x5bc9a9={};try{_0x5bc9a9=await RequestUtil[_0x3c28ae(0x106)](_0x49727f);}catch(_0x4b40d6){_0x39a50e[_0x3c28ae(0x116)](logDebug,_0x39a50e[_0x3c28ae(0xf8)],_0x4b40d6),_0x5bc9a9={};}const _0x5e0ab0=_0x5bc9a9[_0x39a50e[_0x3c28ae(0x144)]];if(!_0x5e0ab0)return'';return Credentials[_0x3c28ae(0xfa)]=_0x1f20e5,Credentials[_0x3c28ae(0x126)]=_0x2cc7cc,Credentials[_0x3c28ae(0x100)]=Date[_0x3c28ae(0x12a)](),Credentials[_0x3c28ae(0x12f)]=_0x5e0ab0,_0x5e0ab0;}return Credentials[_0x3c28ae(0x12f)];}catch(_0x3bbde5){}return undefined;}static async[_0x328945(0x130)](_0x125410){const _0x1fd237=_0x328945,_0x407eac={'QlVsC':'NodeIKernelUixConvertService/getUid'};let _0x424c0a=await NTEventDispatch[_0x1fd237(0xfc)](_0x407eac[_0x1fd237(0x140)],0x1388,[_0x125410]);return _0x424c0a[_0x1fd237(0x11c)][_0x1fd237(0x12c)](_0x125410);}static async[_0x328945(0x13a)](_0x5c6f5e){const _0x3f31e7=_0x328945;if(!_0x5c6f5e)return'';let _0x3d3cb8=await NTEventDispatch[_0x3f31e7(0xfc)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x5c6f5e]);return _0x3d3cb8[_0x3f31e7(0xf7)]['get'](_0x5c6f5e);}static async['getUserDetailInfoByUin'](_0xcada22){const _0x229008=_0x328945,_0x3e1242={'UyXiU':_0x229008(0x112)};return NTEventDispatch[_0x229008(0xfc)](_0x3e1242[_0x229008(0x154)],0x1388,_0xcada22);}} \ No newline at end of file +const _0x2d81b2=_0x34d2;(function(_0x2b935c,_0x4927eb){const _0x468e52=_0x34d2,_0x48a9db=_0x2b935c();while(!![]){try{const _0x595b18=parseInt(_0x468e52(0x1e4))/0x1+-parseInt(_0x468e52(0x19a))/0x2+-parseInt(_0x468e52(0x1a8))/0x3*(parseInt(_0x468e52(0x1da))/0x4)+-parseInt(_0x468e52(0x1cb))/0x5*(parseInt(_0x468e52(0x1cc))/0x6)+-parseInt(_0x468e52(0x1d5))/0x7+parseInt(_0x468e52(0x1d8))/0x8+-parseInt(_0x468e52(0x1e0))/0x9*(-parseInt(_0x468e52(0x1f4))/0xa);if(_0x595b18===_0x4927eb)break;else _0x48a9db['push'](_0x48a9db['shift']());}catch(_0x1d96c1){_0x48a9db['push'](_0x48a9db['shift']());}}}(_0x58fd,0x6da06));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x34d2(_0x558d3d,_0x1c524a){const _0x58fdfa=_0x58fd();return _0x34d2=function(_0x34d2cf,_0x4126f9){_0x34d2cf=_0x34d2cf-0x19a;let _0x3c8265=_0x58fdfa[_0x34d2cf];return _0x3c8265;},_0x34d2(_0x558d3d,_0x1c524a);}import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2d81b2(0x1c9)]=_0x203cf1=>{userInfoCache[_0x203cf1['uid']]=_0x203cf1,userDetailHandlers['forEach'](_0x4c8642=>_0x4c8642(_0x203cf1));},setTimeout(()=>{const _0x4a5687=_0x2d81b2;napCatCore[_0x4a5687(0x1e5)](()=>{const _0x1c98c7=_0x4a5687;napCatCore[_0x1c98c7(0x1b1)](profileListener);});},0x64);function _0x58fd(){const _0x34c5b6=['onProfileDetailInfoChanged','getPSkey','77710CXQvcB','120FYUoud','push','iDbBr','then','uinInfo','modifyDesktopMiniProfile','getProfileLikeService','CallNoListenerEvent','session','2792293eHAlRs','RdDWO','PskeyData','3301592Fwgmqn','skey','8HxnWPs','keyIndex','NodeIKernelProfileService/getUserDetailInfoByUin','ecULi','请求获取Cookies时失败','KeyIndex','4509QZWKhg','bJUzd','getSelfInfo','uin','192118cTzqMf','onLoginSuccess','eTjuJ','OqCfJ','请求获取Skey时失败','getSkey','mMjlO','getMsgService','tUzpY','getUserDetailInfoByUin','getBuddyService','setHeader','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','forceFetchClientKey','uid','rJIjp','26900RSUsvZ','GMxAo','qEpnf','zqWhS','errMsg','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','result','1100904dmWipp','NodeIKernelUixConvertService/getUin','DQtSY','setSelfOnlineStatus','modifySelfProfile','getUinByUid','getProfileService','getQzoneCookies','获取Pskey失败','entries','get','PskeyTime','opfnB','getUserDetailInfo','364929wBaEhN','getUidByUin','Skey','&clientkey=','pFmWz','ClientKey','YMeJO','%2Finfocenter&keyindex=19%27','HttpsGetCookies','addListener','getUserDetailInfo\x20timeout','fromEntries','getUserInfo','PhLxH','XtYoz','TJdVk','vEMqK','getTicketService','OGaGP','kUzAP','length','gHRdx','CreatTime','getRobotUinRange','setBuddyProfileLike','delete','uidInfo','JFLze','set','setQQAvatar','LBZtC','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now'];_0x58fd=function(){return _0x34c5b6;};return _0x58fd();}export class NTQQUserApi{static async[_0x2d81b2(0x19d)](_0x4561ce,_0x645300,_0xb145cd){const _0x41eb6e=_0x2d81b2;return napCatCore[_0x41eb6e(0x1d4)][_0x41eb6e(0x1eb)]()['setStatus']({'status':_0x4561ce,'extStatus':_0x645300,'batteryStatus':_0xb145cd});}static async['getBuddyRecommendContactArkJson'](_0x2c8a1e,_0x23fc8e=''){const _0x50924e=_0x2d81b2;return napCatCore[_0x50924e(0x1d4)][_0x50924e(0x1ee)]()['getBuddyRecommendContactArkJson'](_0x2c8a1e,_0x23fc8e);}static async['like'](_0x1d686f,_0x4143e2=0x1){const _0x24140e=_0x2d81b2;return napCatCore[_0x24140e(0x1d4)][_0x24140e(0x1d2)]()[_0x24140e(0x1c0)]({'friendUid':_0x1d686f,'sourceId':0x47,'doLikeCount':_0x4143e2,'doLikeTollCount':0x0});}static async[_0x2d81b2(0x1c5)](_0x1539a6){const _0x33aaf3=_0x2d81b2,_0x540074=await napCatCore[_0x33aaf3(0x1d4)][_0x33aaf3(0x1a0)]()[_0x33aaf3(0x1ef)](_0x1539a6);return{'result':_0x540074?.[_0x33aaf3(0x1fa)],'errMsg':_0x540074?.[_0x33aaf3(0x1f8)]};}static async[_0x2d81b2(0x1e2)](){}static async[_0x2d81b2(0x1b4)](_0x34e8b4){}static async[_0x2d81b2(0x1a7)](_0x289a7c){const _0x1e864d=_0x2d81b2,_0x1849f3={'bJUzd':function(_0x1b8920,_0x44cdff){return _0x1b8920(_0x44cdff);},'tUzpY':function(_0x3be868,_0xc98cff){return _0x3be868===_0xc98cff;},'PhLxH':function(_0x1a749a){return _0x1a749a();}},_0x793f8d=napCatCore[_0x1e864d(0x1d4)]['getProfileService']();return new Promise((_0x2ad4bd,_0x3dc097)=>{const _0x4fc5a4=_0x1e864d,_0x4d494d=_0x1849f3[_0x4fc5a4(0x1b5)](randomUUID);let _0x242256=![],_0x513c7f=undefined,_0x44bfaf=!![];setTimeout(()=>{const _0x23344e=_0x4fc5a4;!_0x242256&&(_0x513c7f?_0x1849f3['bJUzd'](_0x2ad4bd,_0x513c7f):_0x1849f3[_0x23344e(0x1e1)](_0x3dc097,_0x23344e(0x1b2))),userDetailHandlers[_0x23344e(0x1c1)](_0x4d494d);},0x1388),userDetailHandlers['set'](_0x4d494d,_0x2f5259=>{const _0x239fbd=_0x4fc5a4;_0x1849f3[_0x239fbd(0x1ec)](_0x2f5259[_0x239fbd(0x1f2)],_0x289a7c)&&(_0x44bfaf?(_0x513c7f=_0x2f5259,_0x44bfaf=![]):(_0x242256=!![],_0x2ad4bd(_0x2f5259)));}),_0x793f8d['getUserDetailInfoWithBizInfo'](_0x289a7c,[0x0])[_0x4fc5a4(0x1cf)](_0x3e5ae5=>{});});}static async[_0x2d81b2(0x19e)](_0x48986a){const _0x349fc0=_0x2d81b2;return napCatCore[_0x349fc0(0x1d4)][_0x349fc0(0x1a0)]()[_0x349fc0(0x1d1)](_0x48986a);}static async[_0x2d81b2(0x1ca)](_0x21c1a0,_0x4f9e7c=!![]){const _0x249100=_0x2d81b2,_0x595a15={'rJIjp':function(_0x22a7aa,_0xd3cde5){return _0x22a7aa||_0xd3cde5;},'GMxAo':function(_0xd279d8,_0x5094b7){return _0xd279d8-_0x5094b7;},'YMeJO':function(_0x5b9038,_0x253a66){return _0x5b9038*_0x253a66;},'TJdVk':function(_0x39527f,_0x35cdfb){return _0x39527f>_0x35cdfb;},'OqCfJ':function(_0x44a657,_0x4860b3){return _0x44a657===_0x4860b3;},'DQtSY':function(_0x55e952,_0x1eda33,_0x5e7140){return _0x55e952(_0x1eda33,_0x5e7140);},'RdDWO':_0x249100(0x1a2)},_0x148499=[],_0x80684c={};for(const _0x26d355 in _0x21c1a0){const _0x3271d3=Credentials[_0x249100(0x1d7)][_0x249100(0x1a4)](_0x21c1a0[_0x26d355]),_0xd56936=Credentials[_0x249100(0x1a5)]['get'](_0x21c1a0[_0x26d355]);_0x595a15[_0x249100(0x1f3)](!_0x3271d3,!_0xd56936)||_0x595a15[_0x249100(0x1f5)](Date[_0x249100(0x1c8)](),_0xd56936)>_0x595a15[_0x249100(0x1ae)](0x708,0x3e8)||!_0x4f9e7c?_0x148499[_0x249100(0x1cd)](_0x21c1a0[_0x26d355]):_0x80684c[_0x21c1a0[_0x26d355]]=_0x3271d3;}let _0x5d541d={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x595a15[_0x249100(0x1b7)](_0x148499[_0x249100(0x1bc)],0x0)&&(_0x5d541d=await napCatCore['session']['getTipOffService']()['getPskey'](_0x148499,!![]));const _0x3c0b52=_0x5d541d['domainPskeyMap'];for(const _0x2fdd3f of _0x3c0b52[_0x249100(0x1a3)]()){Credentials[_0x249100(0x1d7)][_0x249100(0x1c4)](_0x2fdd3f[0x0],_0x2fdd3f[0x1]),Credentials[_0x249100(0x1a5)][_0x249100(0x1c4)](_0x2fdd3f[0x0],Date[_0x249100(0x1c8)]());}const _0x1431e5=Object['assign'](Object[_0x249100(0x1b3)](_0x3c0b52),_0x80684c);if(_0x595a15[_0x249100(0x1e7)](_0x5d541d['result'],0x0))return _0x1431e5;else _0x595a15[_0x249100(0x19c)](logError,_0x595a15[_0x249100(0x1d6)],_0x5d541d[_0x249100(0x1f8)]);return{};}static async[_0x2d81b2(0x1bf)](){const _0x158ccc=_0x2d81b2,_0x7fb4c0=await napCatCore['session']['getRobotService']()[_0x158ccc(0x1bf)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x7fb4c0?.['response']?.['robotUinRanges'];}static async[_0x2d81b2(0x1a1)](){const _0x434052=_0x2d81b2,_0x4659ca={'zqWhS':function(_0x46e525,_0x56e0ee){return _0x46e525+_0x56e0ee;},'opfnB':function(_0x2dc2b0,_0x61f49){return _0x2dc2b0+_0x61f49;},'kUzAP':function(_0x512e8c,_0x358e62){return _0x512e8c+_0x358e62;},'qEpnf':_0x434052(0x1f0),'OGaGP':'&clientkey=','eTjuJ':_0x434052(0x1f9),'mMjlO':_0x434052(0x1af),'gHRdx':function(_0x53af4c,_0x38929a,_0x2f40c5){return _0x53af4c(_0x38929a,_0x2f40c5);}},_0x1d1297=_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1f7)](_0x4659ca[_0x434052(0x1a6)](_0x4659ca[_0x434052(0x1a6)](_0x4659ca[_0x434052(0x1bb)](_0x4659ca[_0x434052(0x1f6)],selfInfo[_0x434052(0x1e3)]),_0x4659ca[_0x434052(0x1ba)]),Credentials['ClientKey']),_0x4659ca[_0x434052(0x1e6)]),selfInfo[_0x434052(0x1e3)]),_0x4659ca[_0x434052(0x1ea)]);let _0x1c8137={};try{_0x1c8137=await RequestUtil[_0x434052(0x1b0)](_0x1d1297);}catch(_0x430276){_0x4659ca[_0x434052(0x1bd)](logDebug,_0x434052(0x1de),_0x430276),_0x1c8137={};}return _0x1c8137;}static async[_0x2d81b2(0x1e9)](_0x298453=!![]){const _0x21b87a=_0x2d81b2,_0x1f99a2={'iDbBr':function(_0x272ee3,_0x1cce55){return _0x272ee3==_0x1cce55;},'XtYoz':function(_0x24b6bf,_0x35df96){return _0x24b6bf>_0x35df96;},'vEMqK':function(_0x5c05e9,_0x569892){return _0x5c05e9-_0x569892;},'vjOhW':function(_0x366117,_0x222352){return _0x366117!==_0x222352;},'JFLze':function(_0xbdd77a,_0x5bb0fc){return _0xbdd77a+_0x5bb0fc;},'ecULi':function(_0x2bc159,_0x23b153){return _0x2bc159+_0x23b153;},'iznNJ':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','LBZtC':_0x21b87a(0x1e8)};try{if(_0x1f99a2[_0x21b87a(0x1ce)](Credentials['CreatTime'],0x0)||_0x1f99a2[_0x21b87a(0x1b6)](_0x1f99a2[_0x21b87a(0x1b8)](Date[_0x21b87a(0x1c8)](),Credentials[_0x21b87a(0x1be)]),0x3e8*0xe10)||!_0x298453){const _0xcf3936=await napCatCore[_0x21b87a(0x1d4)][_0x21b87a(0x1b9)]()[_0x21b87a(0x1f1)]('');if(_0x1f99a2['vjOhW'](_0xcf3936['result'],0x0))return'';const _0xa7ebbb=_0xcf3936['clientKey'],_0x1ca59c=_0xcf3936[_0x21b87a(0x1db)],_0x36ebd6=_0x1f99a2['JFLze'](_0x1f99a2[_0x21b87a(0x1c3)](_0x1f99a2[_0x21b87a(0x1dd)](_0x1f99a2['iznNJ']+selfInfo[_0x21b87a(0x1e3)],_0x21b87a(0x1ab)),_0xa7ebbb)+_0x21b87a(0x1c7),_0x1ca59c);let _0x47f4c8={};try{_0x47f4c8=await RequestUtil[_0x21b87a(0x1b0)](_0x36ebd6);}catch(_0x33c423){logDebug(_0x1f99a2[_0x21b87a(0x1c6)],_0x33c423),_0x47f4c8={};}const _0x1e1783=_0x47f4c8[_0x21b87a(0x1d9)];if(!_0x1e1783)return'';return Credentials[_0x21b87a(0x1ad)]=_0xa7ebbb,Credentials[_0x21b87a(0x1df)]=_0x1ca59c,Credentials[_0x21b87a(0x1be)]=Date[_0x21b87a(0x1c8)](),Credentials[_0x21b87a(0x1aa)]=_0x1e1783,_0x1e1783;}return Credentials[_0x21b87a(0x1aa)];}catch(_0x59c80e){}return undefined;}static async[_0x2d81b2(0x1a9)](_0x8ff1cd){const _0x354742=_0x2d81b2,_0x421022={'pFmWz':'NodeIKernelUixConvertService/getUid'};let _0x33b054=await NTEventDispatch['CallNoListenerEvent'](_0x421022[_0x354742(0x1ac)],0x1388,[_0x8ff1cd]);return _0x33b054[_0x354742(0x1c2)]['get'](_0x8ff1cd);}static async[_0x2d81b2(0x19f)](_0x420a86){const _0xcf2004=_0x2d81b2;if(!_0x420a86)return'';let _0xd82180=await NTEventDispatch[_0xcf2004(0x1d3)](_0xcf2004(0x19b),0x1388,[_0x420a86]);return _0xd82180[_0xcf2004(0x1d0)][_0xcf2004(0x1a4)](_0x420a86);}static async[_0x2d81b2(0x1ed)](_0x2b03c0){const _0x5175c1=_0x2d81b2,_0x4763b3={'JZpPu':_0x5175c1(0x1dc)};return NTEventDispatch[_0x5175c1(0x1d3)](_0x4763b3['JZpPu'],0x1388,_0x2b03c0);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 84afe9ff..5e235385 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x5d358=_0xbbd1;function _0xbbd1(_0x1914d4,_0x41a8da){const _0x1f5896=_0x1f58();return _0xbbd1=function(_0xbbd104,_0x216b69){_0xbbd104=_0xbbd104-0x18d;let _0xd6d7c1=_0x1f5896[_0xbbd104];return _0xd6d7c1;},_0xbbd1(_0x1914d4,_0x41a8da);}(function(_0x240bcc,_0x5b2224){const _0x1a2370=_0xbbd1,_0x24fc6e=_0x240bcc();while(!![]){try{const _0x41c01e=-parseInt(_0x1a2370(0x1dd))/0x1+parseInt(_0x1a2370(0x1c3))/0x2+-parseInt(_0x1a2370(0x21d))/0x3+-parseInt(_0x1a2370(0x19e))/0x4+parseInt(_0x1a2370(0x20a))/0x5*(parseInt(_0x1a2370(0x203))/0x6)+parseInt(_0x1a2370(0x211))/0x7*(parseInt(_0x1a2370(0x1c0))/0x8)+-parseInt(_0x1a2370(0x201))/0x9*(-parseInt(_0x1a2370(0x1fb))/0xa);if(_0x41c01e===_0x5b2224)break;else _0x24fc6e['push'](_0x24fc6e['shift']());}catch(_0x11edd4){_0x24fc6e['push'](_0x24fc6e['shift']());}}}(_0x1f58,0x39465));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x1f58(){const _0x38f3eb=['YgvKN','setGroupNotice','TvuAJ','dVIwX','获取当前群荣耀失败','GGEbi','ZIVJh','ANcFp','KaYzH','QZUoO','bneeT','LEGEND','push','KlgLT','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','UnCBg','&group_code=','toString','LUHOc','BoZSj','talkative','128436ayyHuG','&type=','length','cWhZP','name',';\x20skey=','MEDyE','HttpGetJson','&sort=1&gc=','EMOTION','https://qun.qq.com/interactive/honorlist?gc=','count','LDdtY','all','TALKACTIVE','qCwDD','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','Wtitd','xpqQM','HsblT','trim','CUYLs','talkative_list','DVPxj','description','GET','EDnbm','TPfIu',';\x20p_uin=o',';\x20uin=o','retcode','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','strong_newbie','OSEtN','24gPQuaj','pEXtr','&end=','222718WYpKHC','获取群聊炽焰失败','MKJLl','FKgly','get','lUHzc','EMKTD','parse','p_skey=','HwQQd','set','&page_start=','VTEGB','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','nwnEL','fWuLW','mems','LoVfG','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','getSkey','avatar','getPSkey','emotion_list','FTHzq','GroupTime','mRbvX','385422qUWweX','XgfYH','kPWTS','yHOLd','zSYSv','match','LOJNf','nptVS','getGroupMembers','qun.qq.com','pYGdh','charCodeAt','errcode','legend_list','lmhEU','PERFROMER','&qid=','SEMOV','performer','lgomS','vKwRx','RNdho','getGroupEssenceMsg','eEsLt','fnvgU','emotion','npClX','KiYpG','dZnDc','Cbunv','10caKQlm','myqDC','CUFBn','strong_newbie_list','rjVPg','MDQef','427563ItUnso','performer_list','48tnupRm','split','ALL','&text=','uin','kvdid','XBxYu','112615XvzHUx','zsLva','&page_limit=20','QUIBV','HkScJ','desc','neKsz','825867xrwXyU','vSmGI','GroupData','gzSgz','UhGgU','cuaox','OUCiK','&bkn=','current_talkative','UKcFY','xLUHw','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','122595PxaJsk','GPRMp','ifQiC','getGroupHonorInfo','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','genBkn','FVtFo','XxZDg','talkativeList','now','aNqiC'];_0x1f58=function(){return _0x38f3eb;};return _0x1f58();}(function(_0x45faae){const _0x4e99f5=_0xbbd1,_0x5e9581={'LOJNf':'3|2|4|0|1|5','HkScJ':_0x4e99f5(0x194),'LoVfG':'legend','ogUdU':'STORONGE_NEWBI','nwnEL':_0x4e99f5(0x1be),'UhGgU':_0x4e99f5(0x1ac),'Cbunv':_0x4e99f5(0x19d),'Yfgup':_0x4e99f5(0x205),'vBalW':_0x4e99f5(0x1ab),'LeeeC':_0x4e99f5(0x1ec),'YgvKN':_0x4e99f5(0x1ef),'phtwO':_0x4e99f5(0x1f6)},_0x433753=_0x5e9581[_0x4e99f5(0x1e3)][_0x4e99f5(0x204)]('|');let _0x4ca02e=0x0;while(!![]){switch(_0x433753[_0x4ca02e++]){case'0':_0x45faae[_0x5e9581[_0x4e99f5(0x20e)]]=_0x5e9581[_0x4e99f5(0x1d4)];continue;case'1':_0x45faae[_0x5e9581['ogUdU']]=_0x5e9581[_0x4e99f5(0x1d1)];continue;case'2':_0x45faae[_0x5e9581[_0x4e99f5(0x215)]]=_0x5e9581[_0x4e99f5(0x1fa)];continue;case'3':_0x45faae[_0x5e9581['Yfgup']]=_0x5e9581['vBalW'];continue;case'4':_0x45faae[_0x5e9581['LeeeC']]=_0x5e9581[_0x4e99f5(0x228)];continue;case'5':_0x45faae[_0x4e99f5(0x1a7)]=_0x5e9581['phtwO'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x5d358(0x1f3)](_0x2944cf,_0x20e751){const _0x213499=_0x5d358,_0x57e7c4={'ANcFp':'qun.qq.com','rjVPg':function(_0x28cdb7,_0x2569f2){return _0x28cdb7+_0x2569f2;},'EMKTD':function(_0x52a78a,_0x565ffa){return _0x52a78a+_0x565ffa;},'nptVS':function(_0x602d2a,_0xb220fb){return _0x602d2a+_0xb220fb;},'dVIwX':function(_0x309e4b,_0x10d0c3){return _0x309e4b+_0x10d0c3;},'gzSgz':';\x20p_uin=o','lmhEU':_0x213499(0x1bb),'eEsLt':function(_0x16159d,_0x7940fc){return _0x16159d||_0x7940fc;},'xvAOP':function(_0x1293ac,_0x2e2c58){return _0x1293ac+_0x2e2c58;},'vSmGI':function(_0x28ec63,_0x88dbfc){return _0x28ec63+_0x88dbfc;},'HsblT':_0x213499(0x1d0),'VXrCp':_0x213499(0x199),'QUIBV':_0x213499(0x1ce),'gQSSX':_0x213499(0x1b7),'wUSHi':function(_0x4802ca,_0x277da5){return _0x4802ca!==_0x277da5;}},_0x101e89=(await NTQQUserApi[_0x213499(0x1d8)]([_0x57e7c4[_0x213499(0x190)]]))[_0x57e7c4[_0x213499(0x190)]],_0x24e3ed=await NTQQUserApi[_0x213499(0x1d6)](),_0x35790c=_0x57e7c4[_0x213499(0x1ff)](_0x57e7c4[_0x213499(0x1c9)](_0x57e7c4[_0x213499(0x1e4)](_0x57e7c4[_0x213499(0x22b)](_0x57e7c4[_0x213499(0x1e4)](_0x213499(0x1cb),_0x101e89)+_0x213499(0x1a3)+_0x24e3ed,_0x57e7c4[_0x213499(0x214)]),selfInfo[_0x213499(0x207)]),_0x57e7c4[_0x213499(0x1eb)]),selfInfo[_0x213499(0x207)]);if(_0x57e7c4[_0x213499(0x1f4)](!_0x24e3ed,!_0x101e89))return undefined;const _0x1f9ba5=WebApi[_0x213499(0x222)](_0x24e3ed),_0x73f039=_0x57e7c4['xvAOP'](_0x57e7c4[_0x213499(0x212)](_0x57e7c4[_0x213499(0x1b1)],_0x1f9ba5)+_0x57e7c4['VXrCp']+_0x2944cf,_0x57e7c4[_0x213499(0x20d)])+_0x20e751+_0x213499(0x20c);let _0x5c13ad;try{_0x5c13ad=await RequestUtil[_0x213499(0x1a5)](_0x73f039,_0x57e7c4['gQSSX'],'',{'Cookie':_0x35790c});}catch{return undefined;}if(_0x57e7c4['wUSHi'](_0x5c13ad[_0x213499(0x1bc)],0x0))return undefined;return _0x5c13ad;}static async[_0x5d358(0x1e5)](_0x126c45,_0x1ea87b=!![]){const _0x24f1ab=_0x5d358,_0x5e51b3={'faETH':function(_0x5393af,_0x1d8e71){return _0x5393af-_0x1d8e71;},'TPfIu':function(_0x44c907,_0x1d89b3){return _0x44c907*_0x1d89b3;},'pEXtr':_0x24f1ab(0x1e6),'HwQQd':function(_0x33cce3,_0x25c4a3){return _0x33cce3+_0x25c4a3;},'CUYLs':function(_0x5dfa12,_0x45bbb5){return _0x5dfa12+_0x45bbb5;},'UKcFY':function(_0x3d71aa,_0x12f97e){return _0x3d71aa+_0x12f97e;},'aNqiC':_0x24f1ab(0x1cb),'OUCiK':';\x20skey=','LLRXq':function(_0x4cbf45,_0x55e182){return _0x4cbf45||_0x55e182;},'ZIVJh':function(_0x271679,_0xcaee9){return _0x271679+_0xcaee9;},'pYGdh':function(_0x34893e,_0x2d940e){return _0x34893e+_0x2d940e;},'Wtitd':_0x24f1ab(0x21c),'lgomS':_0x24f1ab(0x218),'MKJLl':'POST','FVtFo':function(_0x4ec488,_0x586786){return _0x4ec488!==_0x586786;},'DlTDT':function(_0x9a2240,_0x1ae01e){return _0x9a2240/_0x1ae01e;},'tYzRN':function(_0xd202b0,_0x34d2fd){return _0xd202b0<=_0x34d2fd;},'QZUoO':function(_0x466d57,_0x739273){return _0x466d57+_0x739273;},'LDdtY':function(_0x426107,_0x1dbd02){return _0x426107+_0x1dbd02;},'XMciA':function(_0x21dc93,_0x95f4ce){return _0x21dc93+_0x95f4ce;},'twAEK':_0x24f1ab(0x197),'cWhZP':_0x24f1ab(0x1a6),'XxZDg':function(_0x1d7e50,_0x54e6d){return _0x1d7e50<=_0x54e6d;}};let _0x51f6ce=new Array();try{let _0x2e3e20=WebGroupData['GroupData'][_0x24f1ab(0x1c7)](_0x126c45),_0x3550c8=WebGroupData[_0x24f1ab(0x1db)][_0x24f1ab(0x1c7)](_0x126c45);if(!_0x3550c8||_0x5e51b3['faETH'](Date[_0x24f1ab(0x226)](),_0x3550c8)>_0x5e51b3[_0x24f1ab(0x1b9)](0x708,0x3e8)||!_0x1ea87b){const _0x1894df=(await NTQQUserApi[_0x24f1ab(0x1d8)]([_0x5e51b3[_0x24f1ab(0x1c1)]]))[_0x5e51b3[_0x24f1ab(0x1c1)]],_0x3cb33f=await NTQQUserApi[_0x24f1ab(0x1d6)](),_0x3e2667=_0x5e51b3[_0x24f1ab(0x1cc)](_0x5e51b3[_0x24f1ab(0x1cc)](_0x5e51b3[_0x24f1ab(0x1b3)](_0x5e51b3[_0x24f1ab(0x21a)](_0x5e51b3[_0x24f1ab(0x1b3)](_0x5e51b3[_0x24f1ab(0x227)],_0x1894df),_0x5e51b3[_0x24f1ab(0x217)]),_0x3cb33f),';\x20p_uin=o'),selfInfo[_0x24f1ab(0x207)]);if(_0x5e51b3['LLRXq'](!_0x3cb33f,!_0x1894df))return _0x51f6ce;const _0x21682b=WebApi[_0x24f1ab(0x222)](_0x3cb33f),_0x171b94=[],_0x430582=await RequestUtil[_0x24f1ab(0x1a5)](_0x5e51b3[_0x24f1ab(0x18f)](_0x5e51b3[_0x24f1ab(0x1e7)](_0x5e51b3[_0x24f1ab(0x1af)]+_0x126c45,_0x5e51b3['lgomS']),_0x21682b),_0x5e51b3[_0x24f1ab(0x1c5)],'',{'Cookie':_0x3e2667});if(!_0x430582?.[_0x24f1ab(0x1a9)]||_0x5e51b3[_0x24f1ab(0x223)](_0x430582?.[_0x24f1ab(0x1e9)],0x0)||!_0x430582?.['mems'])return[];else for(const _0x1230aa in _0x430582[_0x24f1ab(0x1d3)]){_0x51f6ce['push'](_0x430582[_0x24f1ab(0x1d3)][_0x1230aa]);}const _0x5125d5=Math['ceil'](_0x5e51b3['DlTDT'](_0x430582[_0x24f1ab(0x1a9)],0x28));for(let _0x1d1bbc=0x2;_0x5e51b3['tYzRN'](_0x1d1bbc,_0x5125d5);_0x1d1bbc++){const _0x2377e4=RequestUtil[_0x24f1ab(0x1a5)](_0x5e51b3[_0x24f1ab(0x192)](_0x5e51b3[_0x24f1ab(0x1aa)](_0x5e51b3['XMciA'](_0x5e51b3['UKcFY'](_0x5e51b3['ZIVJh'](_0x5e51b3['twAEK']+_0x5e51b3[_0x24f1ab(0x1b9)](_0x1d1bbc-0x1,0x28),_0x24f1ab(0x1c2)),_0x1d1bbc*0x28),_0x5e51b3[_0x24f1ab(0x1a1)])+_0x126c45,_0x5e51b3[_0x24f1ab(0x1f0)]),_0x21682b),_0x5e51b3['MKJLl'],'',{'Cookie':_0x3e2667});_0x171b94[_0x24f1ab(0x195)](_0x2377e4);}for(let _0x4356f9=0x1;_0x5e51b3[_0x24f1ab(0x224)](_0x4356f9,_0x5125d5);_0x4356f9++){const _0x4b5305=await _0x171b94[_0x4356f9];if(!_0x4b5305?.[_0x24f1ab(0x1a9)]||_0x5e51b3[_0x24f1ab(0x223)](_0x4b5305?.[_0x24f1ab(0x1e9)],0x0)||!_0x4b5305?.['mems'])continue;for(const _0x22871f in _0x4b5305[_0x24f1ab(0x1d3)]){_0x51f6ce[_0x24f1ab(0x195)](_0x4b5305['mems'][_0x22871f]);}}WebGroupData[_0x24f1ab(0x213)][_0x24f1ab(0x1cd)](_0x126c45,_0x51f6ce),WebGroupData[_0x24f1ab(0x1db)][_0x24f1ab(0x1cd)](_0x126c45,Date[_0x24f1ab(0x226)]());}else _0x51f6ce=_0x2e3e20;}catch{return _0x51f6ce;}return _0x51f6ce;}static async[_0x5d358(0x229)](_0x5e4a41,_0x29bd9e=''){const _0x1da618=_0x5d358,_0x51705c={'CUFBn':function(_0x2ceead,_0x4616e9){return _0x2ceead+_0x4616e9;},'neKsz':_0x1da618(0x1cb),'bneeT':_0x1da618(0x1a3),'KlgLT':_0x1da618(0x1ba),'EDnbm':function(_0x5ee9cc,_0x703c00){return _0x5ee9cc+_0x703c00;},'kvdid':function(_0x330358,_0x512f2d){return _0x330358+_0x512f2d;},'SEMOV':'qid=','dZnDc':'&bkn=','fnvgU':_0x1da618(0x221),'GFSyk':_0x1da618(0x1ae),'TCrQN':_0x1da618(0x1b7)},_0x5e5fac=(await NTQQUserApi[_0x1da618(0x1d8)]([_0x1da618(0x1e6)]))[_0x1da618(0x1e6)],_0x2ffec5=await NTQQUserApi[_0x1da618(0x1d6)](),_0x1c64cd=_0x51705c[_0x1da618(0x1fd)](_0x51705c['CUFBn'](_0x51705c[_0x1da618(0x1fd)](_0x51705c[_0x1da618(0x210)],_0x5e5fac),_0x51705c[_0x1da618(0x193)]),_0x2ffec5)+_0x51705c[_0x1da618(0x196)]+selfInfo['uin'];let _0x20c3fe=undefined;if(!_0x2ffec5||!_0x5e5fac)return undefined;const _0xc78dc4=WebApi[_0x1da618(0x222)](_0x2ffec5),_0x267661=_0x51705c[_0x1da618(0x1b8)](_0x51705c[_0x1da618(0x208)](_0x51705c[_0x1da618(0x1ee)]+_0x5e4a41+_0x51705c[_0x1da618(0x1f9)]+_0xc78dc4+_0x1da618(0x206),_0x29bd9e),_0x51705c[_0x1da618(0x1f5)]),_0x49c041=_0x51705c[_0x1da618(0x1b8)](_0x51705c['GFSyk'],_0xc78dc4);try{return _0x20c3fe=await RequestUtil[_0x1da618(0x1a5)](_0x49c041,_0x51705c['TCrQN'],'',{'Cookie':_0x1c64cd}),_0x20c3fe;}catch(_0x305159){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3706ef){const _0x599f0b=_0x5d358,_0x14320c={'UnCBg':'qun.qq.com','xLUHw':function(_0x5f425c,_0x5e6cf7){return _0x5f425c+_0x5e6cf7;},'lUHzc':function(_0x4bc222,_0x3781b3){return _0x4bc222+_0x3781b3;},'mRbvX':_0x599f0b(0x1a3),'XBxYu':';\x20p_uin=o','cuaox':function(_0x5a696f,_0x3cb156){return _0x5a696f||_0x3cb156;},'wLuga':function(_0x5b9e10,_0x2068bd){return _0x5b9e10+_0x2068bd;},'gXBIr':_0x599f0b(0x1bd),'FKgly':_0x599f0b(0x1ed),'fWuLW':_0x599f0b(0x1d5),'MDQef':_0x599f0b(0x1b7),'BoZSj':function(_0x1bad8e,_0x46c460){return _0x1bad8e!==_0x46c460;}},_0x435c89=(await NTQQUserApi[_0x599f0b(0x1d8)]([_0x14320c[_0x599f0b(0x198)]]))[_0x599f0b(0x1e6)],_0x207886=await NTQQUserApi[_0x599f0b(0x1d6)](),_0x1ce586=_0x14320c['xLUHw'](_0x14320c[_0x599f0b(0x1c8)]('p_skey=',_0x435c89)+_0x14320c[_0x599f0b(0x1dc)],_0x207886)+_0x14320c[_0x599f0b(0x209)]+selfInfo[_0x599f0b(0x207)];let _0x5d95d7=undefined;if(_0x14320c[_0x599f0b(0x216)](!_0x207886,!_0x435c89))return undefined;const _0x2a2212=WebApi[_0x599f0b(0x222)](_0x207886),_0x59c6bb=_0x14320c['wLuga'](_0x14320c[_0x599f0b(0x21b)](_0x14320c[_0x599f0b(0x1c8)](_0x14320c['gXBIr'],_0x2a2212),_0x14320c[_0x599f0b(0x1c6)]),_0x3706ef)+_0x14320c[_0x599f0b(0x1d2)];try{_0x5d95d7=await RequestUtil[_0x599f0b(0x1a5)](_0x59c6bb,_0x14320c[_0x599f0b(0x200)],'',{'Cookie':_0x1ce586});if(_0x14320c[_0x599f0b(0x19c)](_0x5d95d7?.['ec'],0x0))return undefined;return _0x5d95d7;}catch(_0x38f29f){return undefined;}return undefined;}static[_0x5d358(0x222)](_0x251391){const _0x388045=_0x5d358,_0x37948d={'quakk':function(_0x321968,_0x2c21ab){return _0x321968||_0x2c21ab;},'MEDyE':function(_0x10fc64,_0x35bdd4){return _0x10fc64<_0x35bdd4;},'FTHzq':function(_0x20334b,_0x824f7e){return _0x20334b+_0x824f7e;},'npClX':function(_0x3c2799,_0x4eeb68){return _0x3c2799<<_0x4eeb68;},'PhrFF':function(_0x4818ad,_0x5ee19d){return _0x4818ad&_0x5ee19d;}};_0x251391=_0x37948d['quakk'](_0x251391,'');let _0x3428b9=0x1505;for(let _0x4a2a47=0x0;_0x37948d[_0x388045(0x1a4)](_0x4a2a47,_0x251391[_0x388045(0x1a0)]);_0x4a2a47++){const _0x4adadf=_0x251391[_0x388045(0x1e8)](_0x4a2a47);_0x3428b9=_0x37948d[_0x388045(0x1da)](_0x3428b9,_0x37948d[_0x388045(0x1f7)](_0x3428b9,0x5))+_0x4adadf;}return _0x37948d['PhrFF'](_0x3428b9,0x7fffffff)[_0x388045(0x19a)]();}static async[_0x5d358(0x220)](_0x34ad0d,_0xcf09f){const _0xa0d1b=_0x5d358,_0x2f6b50={'OSEtN':function(_0x391470,_0x2cdc2c){return _0x391470+_0x2cdc2c;},'KiYpG':function(_0x286790,_0xd7dd64){return _0x286790+_0xd7dd64;},'XgfYH':function(_0x5f5c51,_0x515db3){return _0x5f5c51+_0x515db3;},'ifQiC':_0xa0d1b(0x1a8),'RNdho':_0xa0d1b(0x19f),'GGEbi':_0xa0d1b(0x1b7),'KaYzH':function(_0x677bb2,_0x51a6ab){return _0x677bb2===_0x51a6ab;},'zSYSv':function(_0x5a42a1,_0x5a11f4,_0x361763,_0x51d7a2){return _0x5a42a1(_0x5a11f4,_0x361763,_0x51d7a2);},'SVAJu':_0xa0d1b(0x18d),'xpqQM':_0xa0d1b(0x1e6),'vKwRx':function(_0x13933a,_0x3b637a){return _0x13933a+_0x3b637a;},'myqDC':function(_0x342b7a,_0xd63964){return _0x342b7a+_0xd63964;},'DVPxj':_0xa0d1b(0x1cb),'TvuAJ':';\x20p_uin=o','kPWTS':_0xa0d1b(0x1bb),'nyMfU':function(_0x1a033d,_0xd00c4f,_0x29865c){return _0x1a033d(_0xd00c4f,_0x29865c);},'ecnFY':function(_0x26726f,_0x19c7d5){return _0x26726f(_0x19c7d5);},'zsLva':'获取群聊之火失败','VTEGB':function(_0x2c88c5,_0x1269bd){return _0x2c88c5===_0x1269bd;},'yHOLd':function(_0x2889c9,_0x32c8c2){return _0x2889c9===_0x32c8c2;},'GPRMp':function(_0x196bea,_0x876a28,_0x164ea6){return _0x196bea(_0x876a28,_0x164ea6);},'tUMeS':function(_0x5c7b93,_0x1ecfd2,_0x37b239){return _0x5c7b93(_0x1ecfd2,_0x37b239);},'qCwDD':_0xa0d1b(0x1c4),'ElbxB':function(_0x3d61ad,_0x30c26f){return _0x3d61ad===_0x30c26f;},'LUHOc':'获取快乐源泉失败'},_0x3655b9=(await NTQQUserApi['getPSkey']([_0x2f6b50[_0xa0d1b(0x1b0)]]))[_0x2f6b50[_0xa0d1b(0x1b0)]],_0x117bb3=await NTQQUserApi[_0xa0d1b(0x1d6)]();if(!_0x117bb3||!_0x3655b9)return undefined;async function _0x57c055(_0x5c01f7,_0x4167c5){const _0x5ba5b5=_0xa0d1b;let _0x5ab94=_0x2f6b50[_0x5ba5b5(0x1bf)](_0x2f6b50[_0x5ba5b5(0x1f8)](_0x2f6b50[_0x5ba5b5(0x1de)](_0x2f6b50[_0x5ba5b5(0x21f)],_0x5c01f7),_0x2f6b50[_0x5ba5b5(0x1f2)]),_0x4167c5[_0x5ba5b5(0x19a)]()),_0x3e1c24='',_0x4a64cd;try{_0x3e1c24=await RequestUtil['HttpGetText'](_0x5ab94,_0x2f6b50[_0x5ba5b5(0x18e)],'',{'Cookie':_0xd43b16});const _0x55ccc1=_0x3e1c24[_0x5ba5b5(0x1e2)](/window\.__INITIAL_STATE__=(.*?);/);return _0x55ccc1&&(_0x4a64cd=JSON[_0x5ba5b5(0x1ca)](_0x55ccc1[0x1][_0x5ba5b5(0x1b2)]())),_0x2f6b50[_0x5ba5b5(0x191)](_0x4167c5,0x1)?_0x4a64cd?.[_0x5ba5b5(0x225)]:_0x4a64cd?.['actorList'];}catch(_0x46dc1c){_0x2f6b50[_0x5ba5b5(0x1e1)](logDebug,_0x2f6b50['SVAJu'],_0x5ab94,_0x46dc1c);}return undefined;}let _0x33fb57={'group_id':_0x34ad0d};const _0xd43b16=_0x2f6b50[_0xa0d1b(0x1f1)](_0x2f6b50['XgfYH'](_0x2f6b50['XgfYH'](_0x2f6b50[_0xa0d1b(0x1f8)](_0x2f6b50[_0xa0d1b(0x1fc)](_0x2f6b50[_0xa0d1b(0x1b5)],_0x3655b9),_0xa0d1b(0x1a3))+_0x117bb3,_0x2f6b50[_0xa0d1b(0x22a)]),selfInfo[_0xa0d1b(0x207)]),_0x2f6b50[_0xa0d1b(0x1df)])+selfInfo[_0xa0d1b(0x207)];if(_0xcf09f===WebHonorType[_0xa0d1b(0x1ac)]||_0x2f6b50[_0xa0d1b(0x191)](_0xcf09f,WebHonorType['ALL']))try{let _0x2e0e6a=await _0x2f6b50['nyMfU'](_0x57c055,_0x34ad0d,0x1);if(!_0x2e0e6a)throw new Error('获取龙王信息失败');_0x33fb57[_0xa0d1b(0x219)]={'user_id':_0x2e0e6a[0x0]?.[_0xa0d1b(0x207)],'avatar':_0x2e0e6a[0x0]?.[_0xa0d1b(0x1d7)],'nickname':_0x2e0e6a[0x0]?.['name'],'day_count':0x0,'description':_0x2e0e6a[0x0]?.['desc']},_0x33fb57[_0xa0d1b(0x1b4)]=[];for(const _0x39ba12 of _0x2e0e6a){_0x33fb57[_0xa0d1b(0x1b4)][_0xa0d1b(0x195)]({'user_id':_0x39ba12?.[_0xa0d1b(0x207)],'avatar':_0x39ba12?.[_0xa0d1b(0x1d7)],'description':_0x39ba12?.['desc'],'day_count':0x0,'nickname':_0x39ba12?.['name']});}}catch(_0x5ccd6b){_0x2f6b50['ecnFY'](logDebug,_0x5ccd6b);}if(_0x2f6b50[_0xa0d1b(0x191)](_0xcf09f,WebHonorType[_0xa0d1b(0x1ec)])||_0x2f6b50['KaYzH'](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x281554=await _0x2f6b50['nyMfU'](_0x57c055,_0x34ad0d,0x2);if(!_0x281554)throw new Error(_0x2f6b50[_0xa0d1b(0x20b)]);_0x33fb57[_0xa0d1b(0x202)]=[];for(const _0x5b8a3a of _0x281554){_0x33fb57[_0xa0d1b(0x202)][_0xa0d1b(0x195)]({'user_id':_0x5b8a3a?.[_0xa0d1b(0x207)],'nickname':_0x5b8a3a?.[_0xa0d1b(0x1a2)],'avatar':_0x5b8a3a?.[_0xa0d1b(0x1d7)],'description':_0x5b8a3a?.[_0xa0d1b(0x20f)]});}}catch(_0x3056a9){logDebug(_0x3056a9);}if(_0x2f6b50[_0xa0d1b(0x1cf)](_0xcf09f,WebHonorType[_0xa0d1b(0x1ec)])||_0x2f6b50[_0xa0d1b(0x1e0)](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x3a1deb=await _0x2f6b50[_0xa0d1b(0x21e)](_0x57c055,_0x34ad0d,0x3);if(!_0x3a1deb)throw new Error(_0xa0d1b(0x1c4));_0x33fb57[_0xa0d1b(0x1ea)]=[];for(const _0x5dd0b4 of _0x3a1deb){_0x33fb57[_0xa0d1b(0x1ea)][_0xa0d1b(0x195)]({'user_id':_0x5dd0b4?.['uin'],'nickname':_0x5dd0b4?.[_0xa0d1b(0x1a2)],'avatar':_0x5dd0b4?.[_0xa0d1b(0x1d7)],'desc':_0x5dd0b4?.['description']});}}catch(_0x359d16){_0x2f6b50['tUMeS'](logDebug,_0x2f6b50[_0xa0d1b(0x1ad)],_0x359d16);}if(_0x2f6b50[_0xa0d1b(0x1cf)](_0xcf09f,WebHonorType['EMOTION'])||_0x2f6b50['ElbxB'](_0xcf09f,WebHonorType[_0xa0d1b(0x205)]))try{let _0x34a466=await _0x57c055(_0x34ad0d,0x6);if(!_0x34a466)throw new Error('获取快乐源泉失败');_0x33fb57[_0xa0d1b(0x1d9)]=[];for(const _0x4c4a92 of _0x34a466){_0x33fb57[_0xa0d1b(0x1d9)][_0xa0d1b(0x195)]({'user_id':_0x4c4a92?.[_0xa0d1b(0x207)],'nickname':_0x4c4a92?.[_0xa0d1b(0x1a2)],'avatar':_0x4c4a92?.[_0xa0d1b(0x1d7)],'desc':_0x4c4a92?.[_0xa0d1b(0x1b6)]});}}catch(_0x1d91b6){logDebug(_0x2f6b50[_0xa0d1b(0x19b)],_0x1d91b6);}return(_0x2f6b50['VTEGB'](_0xcf09f,WebHonorType[_0xa0d1b(0x1a7)])||_0xcf09f===WebHonorType['ALL'])&&(_0x33fb57[_0xa0d1b(0x1fe)]=[]),_0x33fb57;}} \ No newline at end of file +const _0xd91a7e=_0x1036;(function(_0x31b868,_0x13295c){const _0x57a1a9=_0x1036,_0x616f2d=_0x31b868();while(!![]){try{const _0x193798=parseInt(_0x57a1a9(0x153))/0x1*(-parseInt(_0x57a1a9(0x162))/0x2)+parseInt(_0x57a1a9(0x131))/0x3*(-parseInt(_0x57a1a9(0x116))/0x4)+-parseInt(_0x57a1a9(0x123))/0x5+-parseInt(_0x57a1a9(0x11e))/0x6*(-parseInt(_0x57a1a9(0x139))/0x7)+parseInt(_0x57a1a9(0x174))/0x8*(-parseInt(_0x57a1a9(0x10d))/0x9)+parseInt(_0x57a1a9(0x181))/0xa*(-parseInt(_0x57a1a9(0x14a))/0xb)+parseInt(_0x57a1a9(0x132))/0xc*(parseInt(_0x57a1a9(0x165))/0xd);if(_0x193798===_0x13295c)break;else _0x616f2d['push'](_0x616f2d['shift']());}catch(_0x847a75){_0x616f2d['push'](_0x616f2d['shift']());}}}(_0x53bf,0x21b6c));function _0x1036(_0x19f994,_0x5d1cf1){const _0x53bf6c=_0x53bf();return _0x1036=function(_0x1036c5,_0x444271){_0x1036c5=_0x1036c5-0xea;let _0x4a08aa=_0x53bf6c[_0x1036c5];return _0x4a08aa;},_0x1036(_0x19f994,_0x5d1cf1);}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x53bf(){const _0x51baad=['6UONIbm','OubFh','getGrouptNotice','xiOkF','获取当前群荣耀失败','476145uZCiHv','dYign','tJWnL',';\x20skey=','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','TXKCY','RfISU','zySTS','ttUJq','getSkey','QiPgq','AMfYP','qun.qq.com','ZxWnY','12YgzWth','13164mdeYYe','ZPluD','STORONGE_NEWBI','hQDNa','&page_start=','rhUQK','PERFROMER','779303WvteCa','talkative_list','mXwBc','PwySt','current_talkative','HttpGetJson','length','https://qun.qq.com/interactive/honorlist?gc=','aqNGP','GroupData','genBkn','获取龙王信息失败','actorList','avatar','Yykwz',';\x20uin=o','mems','11WdVluH','&text=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','JrwNT','aYxrD','LFhnF','desc','p_skey=','Lhpxt','1rPJYsz','AIlrL','xgYWq','SxFzn','performer_list','FKbwh','lzgzf','&type=','KWZmQ','GroupTime','GvVGI','ZusAp','UFzBg','strong_newbie_list','LEGEND','159906kFxWnN','IFCUQ','getPSkey','8983twTAmr','GpsDh','parse','aWqbK','luUVW','lajjU','getGroupHonorInfo','jFFgH','gPEfF','count','kZLEO','JZiDR','NbLEj','getGroupEssenceMsg','dgWxq','6544LlhLhG','BYPDV','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','YEEKK','push','talkativeList','toString','bixYK','gDKHZ','name','bfzjY','JBZFK','qIoGJ','1449640gedsCq','&qid=','legend_list','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','GET','yPOmO','DWYdq','bQXqz','now','&group_code=','ZkeHU','QMZdy','emotion_list','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','EMOTION','ALL','trim','lNxDl','errcode','HttpGetText','wZBgf','charCodeAt','获取群聊之火失败','FhRpg','TALKACTIVE','POST','meWMZ','&sort=1&gc=',';\x20p_uin=o','mfPnb','uin','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','&bkn=','description','&end=','lqWrd','VsFvB','&page_limit=20','hOWuQ','RSmCD','xLNzk','1737ljYoNK','feqNE','LuylW','获取快乐源泉失败','retcode','MKfzD','match','talkative','ceil','253244eJUbKk','gQaRp','IVPJT','all','qdXOW','OLNFk','setGroupNotice','kXbvp'];_0x53bf=function(){return _0x51baad;};return _0x53bf();}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x3fad5b){const _0x632c34=_0x1036,_0x201a87={'OubFh':_0x632c34(0x119),'ZusAp':'PERFROMER','invrN':'performer','bREbR':_0x632c34(0x161),'riAjV':'legend','kZLEO':_0x632c34(0x134),'hOWuQ':_0x632c34(0xf2),'RUcQJ':'emotion'};_0x3fad5b[_0x632c34(0xf3)]=_0x201a87[_0x632c34(0x11f)],_0x3fad5b[_0x632c34(0xfc)]=_0x632c34(0x114),_0x3fad5b[_0x201a87[_0x632c34(0x15e)]]=_0x201a87['invrN'],_0x3fad5b[_0x201a87['bREbR']]=_0x201a87['riAjV'],_0x3fad5b[_0x201a87[_0x632c34(0x16f)]]='strong_newbie',_0x3fad5b[_0x201a87[_0x632c34(0x10a)]]=_0x201a87['RUcQJ'];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0xd91a7e(0x172)](_0x48abf4,_0x2b252c){const _0x5e1fb4=_0xd91a7e,_0x2385ab={'AMfYP':'qun.qq.com','dgWxq':function(_0x2f6c12,_0x1ac515){return _0x2f6c12+_0x1ac515;},'meWMZ':function(_0x34f0bc,_0x1b7498){return _0x34f0bc+_0x1b7498;},'VsFvB':';\x20skey=','SFebQ':';\x20p_uin=o','dYign':_0x5e1fb4(0x148),'yPOmO':function(_0x512cf5,_0x46f6a0){return _0x512cf5||_0x46f6a0;},'FhRpg':_0x5e1fb4(0xed),'xLNzk':_0x5e1fb4(0x136),'lqWrd':_0x5e1fb4(0x109),'wISON':'GET','RfISU':function(_0xf13da3,_0xb3c0eb){return _0xf13da3!==_0xb3c0eb;}},_0x5a9f7f=(await NTQQUserApi[_0x5e1fb4(0x164)]([_0x2385ab[_0x5e1fb4(0x12e)]]))[_0x2385ab[_0x5e1fb4(0x12e)]],_0x59c62c=await NTQQUserApi[_0x5e1fb4(0x12c)](),_0x2c98fd=_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab['dgWxq'](_0x2385ab[_0x5e1fb4(0xfe)](_0x2385ab[_0x5e1fb4(0xfe)](_0x5e1fb4(0x151),_0x5a9f7f)+_0x2385ab[_0x5e1fb4(0x108)],_0x59c62c),_0x2385ab['SFebQ'])+selfInfo['uin'],_0x2385ab[_0x5e1fb4(0x124)]),selfInfo[_0x5e1fb4(0x102)]);if(_0x2385ab[_0x5e1fb4(0x186)](!_0x59c62c,!_0x5a9f7f))return undefined;const _0x17250b=WebApi['genBkn'](_0x59c62c),_0x43bb53=_0x2385ab['dgWxq'](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab[_0x5e1fb4(0x173)](_0x2385ab['meWMZ'](_0x5e1fb4(0xf1)+_0x17250b,_0x2385ab[_0x5e1fb4(0xfb)]),_0x48abf4),_0x2385ab[_0x5e1fb4(0x10c)]),_0x2b252c)+_0x2385ab[_0x5e1fb4(0x107)];let _0x4ec31c;try{_0x4ec31c=await RequestUtil[_0x5e1fb4(0x13e)](_0x43bb53,_0x2385ab['wISON'],'',{'Cookie':_0x2c98fd});}catch{return undefined;}if(_0x2385ab[_0x5e1fb4(0x129)](_0x4ec31c[_0x5e1fb4(0x111)],0x0))return undefined;return _0x4ec31c;}static async['getGroupMembers'](_0x3b14b6,_0x39ecbb=!![]){const _0x2610b4=_0xd91a7e,_0xbfb067={'Yykwz':function(_0x23daa3,_0x195d55){return _0x23daa3>_0x195d55;},'gDKHZ':function(_0x59fc4f,_0x4ebcf9){return _0x59fc4f*_0x4ebcf9;},'lNxDl':_0x2610b4(0x12f),'lajjU':function(_0xc60efb,_0x18c40){return _0xc60efb+_0x18c40;},'bfzjY':function(_0x3ac5c5,_0x3d3d7f){return _0x3ac5c5+_0x3d3d7f;},'rRfaZ':function(_0x20e27f,_0x4819fe){return _0x20e27f+_0x4819fe;},'ZPluD':function(_0x5dc822,_0xc2e16b){return _0x5dc822+_0xc2e16b;},'BYPDV':_0x2610b4(0x151),'Lhpxt':_0x2610b4(0x126),'DWYdq':_0x2610b4(0x100),'OLNFk':function(_0x5e49fd,_0xbf022d){return _0x5e49fd||_0xbf022d;},'PwySt':function(_0x4f14a1,_0x445388){return _0x4f14a1+_0x445388;},'luUVW':function(_0x155384,_0x52a5b5){return _0x155384+_0x52a5b5;},'kXbvp':_0x2610b4(0x184),'rUryo':_0x2610b4(0x104),'mXwBc':_0x2610b4(0xfd),'QiPgq':function(_0x389086,_0x475ab8){return _0x389086!==_0x475ab8;},'lzgzf':_0x2610b4(0x14c),'nxsXb':_0x2610b4(0x106),'jFFgH':_0x2610b4(0xff),'ttUJq':function(_0x403e4c,_0x91867c){return _0x403e4c<=_0x91867c;}};let _0x2c7f99=new Array();try{let _0x19fded=WebGroupData[_0x2610b4(0x142)]['get'](_0x3b14b6),_0x34734c=WebGroupData['GroupTime']['get'](_0x3b14b6);if(!_0x34734c||_0xbfb067[_0x2610b4(0x147)](Date[_0x2610b4(0xec)]()-_0x34734c,_0xbfb067[_0x2610b4(0x17c)](0x708,0x3e8))||!_0x39ecbb){const _0x673b87=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0xbfb067[_0x2610b4(0xf5)]],_0x4a6236=await NTQQUserApi[_0x2610b4(0x12c)](),_0x32fa94=_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067['rRfaZ'](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067[_0x2610b4(0x133)](_0xbfb067[_0x2610b4(0x175)],_0x673b87),_0xbfb067[_0x2610b4(0x152)]),_0x4a6236),_0xbfb067[_0x2610b4(0xea)]),selfInfo[_0x2610b4(0x102)]);if(_0xbfb067[_0x2610b4(0x11b)](!_0x4a6236,!_0x673b87))return _0x2c7f99;const _0x4fb71d=WebApi[_0x2610b4(0x143)](_0x4a6236),_0x380c79=[],_0x3a7ca2=await RequestUtil[_0x2610b4(0x13e)](_0xbfb067[_0x2610b4(0x13c)](_0xbfb067[_0x2610b4(0x13c)](_0xbfb067[_0x2610b4(0x169)](_0xbfb067[_0x2610b4(0x11d)],_0x3b14b6),_0xbfb067['rUryo']),_0x4fb71d),_0xbfb067[_0x2610b4(0x13b)],'',{'Cookie':_0x32fa94});if(!_0x3a7ca2?.[_0x2610b4(0x16e)]||_0xbfb067[_0x2610b4(0x12d)](_0x3a7ca2?.[_0x2610b4(0xf6)],0x0)||!_0x3a7ca2?.[_0x2610b4(0x149)])return[];else for(const _0x51561a in _0x3a7ca2[_0x2610b4(0x149)]){_0x2c7f99[_0x2610b4(0x178)](_0x3a7ca2[_0x2610b4(0x149)][_0x51561a]);}const _0x13262c=Math[_0x2610b4(0x115)](_0x3a7ca2['count']/0x28);for(let _0x437744=0x2;_0x437744<=_0x13262c;_0x437744++){const _0x38a941=RequestUtil[_0x2610b4(0x13e)](_0xbfb067[_0x2610b4(0x169)](_0xbfb067[_0x2610b4(0x133)](_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x17e)](_0xbfb067[_0x2610b4(0x16a)](_0xbfb067[_0x2610b4(0x159)],_0xbfb067[_0x2610b4(0x17c)](_0x437744-0x1,0x28)),_0xbfb067['nxsXb']),_0xbfb067[_0x2610b4(0x17c)](_0x437744,0x28))+_0xbfb067[_0x2610b4(0x16c)],_0x3b14b6)+_0xbfb067['rUryo'],_0x4fb71d),_0x2610b4(0xfd),'',{'Cookie':_0x32fa94});_0x380c79['push'](_0x38a941);}for(let _0x46d0d5=0x1;_0xbfb067[_0x2610b4(0x12b)](_0x46d0d5,_0x13262c);_0x46d0d5++){const _0x5c3602=await _0x380c79[_0x46d0d5];if(!_0x5c3602?.[_0x2610b4(0x16e)]||_0x5c3602?.[_0x2610b4(0xf6)]!==0x0||!_0x5c3602?.['mems'])continue;for(const _0x1347eb in _0x5c3602['mems']){_0x2c7f99['push'](_0x5c3602[_0x2610b4(0x149)][_0x1347eb]);}}WebGroupData['GroupData']['set'](_0x3b14b6,_0x2c7f99),WebGroupData[_0x2610b4(0x15c)]['set'](_0x3b14b6,Date[_0x2610b4(0xec)]());}else _0x2c7f99=_0x19fded;}catch{return _0x2c7f99;}return _0x2c7f99;}static async[_0xd91a7e(0x11c)](_0x2f00f3,_0x2f863c=''){const _0x11b3ee=_0xd91a7e,_0x2e1de3={'GvVGI':_0x11b3ee(0x12f),'aYxrD':function(_0x25be35,_0x4f840b){return _0x25be35+_0x4f840b;},'cWFrX':_0x11b3ee(0x151),'JJynb':_0x11b3ee(0x126),'DjRiY':_0x11b3ee(0x100),'Pvtwj':function(_0x527a14,_0x14c8c1){return _0x527a14||_0x14c8c1;},'xgYWq':function(_0x1e5474,_0xe6bbe9){return _0x1e5474+_0xe6bbe9;},'JrwNT':function(_0x2ed753,_0x42862d){return _0x2ed753+_0x42862d;},'aqNGP':function(_0x19d4bb,_0x209054){return _0x19d4bb+_0x209054;},'mfPnb':_0x11b3ee(0x14b),'bixYK':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','hQDNa':_0x11b3ee(0x176),'AIlrL':_0x11b3ee(0x185)},_0x24b06=(await NTQQUserApi[_0x11b3ee(0x164)]([_0x2e1de3[_0x11b3ee(0x15d)]]))[_0x2e1de3['GvVGI']],_0x4d2f17=await NTQQUserApi['getSkey'](),_0x3e63c8=_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3[_0x11b3ee(0x14e)](_0x2e1de3['cWFrX']+_0x24b06,_0x2e1de3['JJynb']),_0x4d2f17),_0x2e1de3['DjRiY']),selfInfo[_0x11b3ee(0x102)]);let _0x469946=undefined;if(_0x2e1de3['Pvtwj'](!_0x4d2f17,!_0x24b06))return undefined;const _0x310e7b=WebApi[_0x11b3ee(0x143)](_0x4d2f17),_0x45165a=_0x2e1de3[_0x11b3ee(0x155)](_0x2e1de3[_0x11b3ee(0x14d)](_0x2e1de3[_0x11b3ee(0x155)](_0x2e1de3[_0x11b3ee(0x141)](_0x2e1de3[_0x11b3ee(0x141)]('qid=',_0x2f00f3),_0x11b3ee(0x104)),_0x310e7b),_0x2e1de3[_0x11b3ee(0x101)])+_0x2f863c,_0x2e1de3[_0x11b3ee(0x17b)]),_0x5b6277=_0x2e1de3[_0x11b3ee(0x141)](_0x2e1de3[_0x11b3ee(0x135)],_0x310e7b);try{return _0x469946=await RequestUtil[_0x11b3ee(0x13e)](_0x5b6277,_0x2e1de3[_0x11b3ee(0x154)],'',{'Cookie':_0x3e63c8}),_0x469946;}catch(_0x38081d){return undefined;}return undefined;}static async[_0xd91a7e(0x120)](_0x566077){const _0x5504a0=_0xd91a7e,_0xa3f80a={'SxFzn':_0x5504a0(0x12f),'wZBgf':function(_0x4253e5,_0x27234c){return _0x4253e5+_0x27234c;},'qIoGJ':function(_0x4e64a8,_0x5be51c){return _0x4e64a8+_0x5be51c;},'ZBLmU':'p_skey=','IVPJT':_0x5504a0(0x126),'LFhnF':_0x5504a0(0x100),'zySTS':function(_0x258776,_0x206d71){return _0x258776+_0x206d71;},'QMZdy':_0x5504a0(0x127),'ZkeHU':_0x5504a0(0x182),'fWioZ':_0x5504a0(0x103)},_0x34ff04=(await NTQQUserApi[_0x5504a0(0x164)]([_0xa3f80a[_0x5504a0(0x156)]]))[_0xa3f80a[_0x5504a0(0x156)]],_0x425833=await NTQQUserApi['getSkey'](),_0x322cc6=_0xa3f80a[_0x5504a0(0xf8)](_0xa3f80a['qIoGJ'](_0xa3f80a['ZBLmU']+_0x34ff04+_0xa3f80a[_0x5504a0(0x118)]+_0x425833,_0xa3f80a[_0x5504a0(0x14f)]),selfInfo[_0x5504a0(0x102)]);let _0x31561e=undefined;if(!_0x425833||!_0x34ff04)return undefined;const _0x41a70f=WebApi[_0x5504a0(0x143)](_0x425833),_0x374ead=_0xa3f80a[_0x5504a0(0x180)](_0xa3f80a['qIoGJ'](_0xa3f80a['qIoGJ'](_0xa3f80a[_0x5504a0(0x12a)](_0xa3f80a[_0x5504a0(0xef)],_0x41a70f),_0xa3f80a[_0x5504a0(0xee)]),_0x566077),_0xa3f80a['fWioZ']);try{_0x31561e=await RequestUtil[_0x5504a0(0x13e)](_0x374ead,_0x5504a0(0x185),'',{'Cookie':_0x322cc6});if(_0x31561e?.['ec']!==0x0)return undefined;return _0x31561e;}catch(_0xefd87b){return undefined;}return undefined;}static[_0xd91a7e(0x143)](_0x3573f1){const _0x365a1b=_0xd91a7e,_0x4541aa={'LuylW':function(_0x24a9cb,_0x48a998){return _0x24a9cb<_0x48a998;},'CQGjX':function(_0x33167b,_0x9e0b0c){return _0x33167b+_0x9e0b0c;},'ZxWnY':function(_0x1c7b6b,_0x23e247){return _0x1c7b6b<<_0x23e247;},'xiOkF':function(_0x1af049,_0x504eb0){return _0x1af049&_0x504eb0;}};_0x3573f1=_0x3573f1||'';let _0x2673d7=0x1505;for(let _0xf2a964=0x0;_0x4541aa[_0x365a1b(0x10f)](_0xf2a964,_0x3573f1[_0x365a1b(0x13f)]);_0xf2a964++){const _0x5414bc=_0x3573f1[_0x365a1b(0xf9)](_0xf2a964);_0x2673d7=_0x4541aa['CQGjX'](_0x2673d7,_0x4541aa[_0x365a1b(0x130)](_0x2673d7,0x5))+_0x5414bc;}return _0x4541aa[_0x365a1b(0x121)](_0x2673d7,0x7fffffff)['toString']();}static async[_0xd91a7e(0x16b)](_0x3d34ff,_0x430ca7){const _0x504621=_0xd91a7e,_0x480342={'feqNE':function(_0x252e45,_0x54a607){return _0x252e45+_0x54a607;},'rhUQK':function(_0x511415,_0x3c8ef2){return _0x511415+_0x3c8ef2;},'gPEfF':function(_0x56669e,_0x5a86d4){return _0x56669e+_0x5a86d4;},'GpsDh':_0x504621(0x140),'tJWnL':_0x504621(0x15a),'aWqbK':_0x504621(0x185),'FBzmg':function(_0x245a7a,_0x40c7b3,_0x2bb9a2,_0x26a026){return _0x245a7a(_0x40c7b3,_0x2bb9a2,_0x26a026);},'IFCUQ':_0x504621(0x122),'qdXOW':_0x504621(0x12f),'MKfzD':function(_0x47941f,_0x2b99e9){return _0x47941f||_0x2b99e9;},'JZiDR':function(_0x40ab92,_0x59a00b){return _0x40ab92+_0x59a00b;},'gQaRp':_0x504621(0x151),'sbwTA':_0x504621(0x100),'Lviyg':';\x20uin=o','YEEKK':function(_0x33e004,_0x3c0f18){return _0x33e004===_0x3c0f18;},'FKbwh':function(_0x492b46,_0x34d56e){return _0x492b46===_0x34d56e;},'TXKCY':function(_0x56a06f,_0x17c670,_0x1e8584){return _0x56a06f(_0x17c670,_0x1e8584);},'RSmCD':_0x504621(0x144),'UFzBg':function(_0x56ade4,_0x36b7bf){return _0x56ade4(_0x36b7bf);},'NbLEj':function(_0x1e0d52,_0x56e99f){return _0x1e0d52===_0x56e99f;},'KWZmQ':'获取群聊炽焰失败','JBZFK':_0x504621(0x110),'bQXqz':function(_0x5a951f,_0x54601d){return _0x5a951f===_0x54601d;}},_0x1a7812=(await NTQQUserApi[_0x504621(0x164)]([_0x504621(0x12f)]))[_0x480342[_0x504621(0x11a)]],_0xe743ea=await NTQQUserApi['getSkey']();if(_0x480342[_0x504621(0x112)](!_0xe743ea,!_0x1a7812))return undefined;async function _0x8d3ee3(_0x22763d,_0x3aa16b){const _0x4bba73=_0x504621;let _0x24d9f8=_0x480342[_0x4bba73(0x10e)](_0x480342[_0x4bba73(0x137)](_0x480342[_0x4bba73(0x16d)](_0x480342[_0x4bba73(0x166)],_0x22763d),_0x480342[_0x4bba73(0x125)]),_0x3aa16b[_0x4bba73(0x17a)]()),_0x283bdd='',_0x30a04c;try{_0x283bdd=await RequestUtil[_0x4bba73(0xf7)](_0x24d9f8,_0x480342[_0x4bba73(0x168)],'',{'Cookie':_0x2a9723});const _0x5984df=_0x283bdd[_0x4bba73(0x113)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5984df&&(_0x30a04c=JSON[_0x4bba73(0x167)](_0x5984df[0x1][_0x4bba73(0xf4)]())),_0x3aa16b===0x1?_0x30a04c?.[_0x4bba73(0x179)]:_0x30a04c?.[_0x4bba73(0x145)];}catch(_0x1b1284){_0x480342['FBzmg'](logDebug,_0x480342[_0x4bba73(0x163)],_0x24d9f8,_0x1b1284);}return undefined;}let _0x24162f={'group_id':_0x3d34ff};const _0x2a9723=_0x480342['rhUQK'](_0x480342['rhUQK'](_0x480342[_0x504621(0x16d)](_0x480342[_0x504621(0x137)](_0x480342[_0x504621(0x170)](_0x480342[_0x504621(0x10e)](_0x480342[_0x504621(0x117)]+_0x1a7812,_0x504621(0x126)),_0xe743ea),_0x480342['sbwTA']),selfInfo[_0x504621(0x102)]),_0x480342['Lviyg']),selfInfo['uin']);if(_0x480342[_0x504621(0x177)](_0x430ca7,WebHonorType[_0x504621(0xfc)])||_0x480342[_0x504621(0x158)](_0x430ca7,WebHonorType['ALL']))try{let _0x181da5=await _0x480342[_0x504621(0x128)](_0x8d3ee3,_0x3d34ff,0x1);if(!_0x181da5)throw new Error(_0x480342[_0x504621(0x10b)]);_0x24162f[_0x504621(0x13d)]={'user_id':_0x181da5[0x0]?.[_0x504621(0x102)],'avatar':_0x181da5[0x0]?.[_0x504621(0x146)],'nickname':_0x181da5[0x0]?.['name'],'day_count':0x0,'description':_0x181da5[0x0]?.[_0x504621(0x150)]},_0x24162f[_0x504621(0x13a)]=[];for(const _0x1095a1 of _0x181da5){_0x24162f[_0x504621(0x13a)][_0x504621(0x178)]({'user_id':_0x1095a1?.['uin'],'avatar':_0x1095a1?.[_0x504621(0x146)],'description':_0x1095a1?.['desc'],'day_count':0x0,'nickname':_0x1095a1?.[_0x504621(0x17d)]});}}catch(_0x59e308){_0x480342[_0x504621(0x15f)](logDebug,_0x59e308);}if(_0x480342['FKbwh'](_0x430ca7,WebHonorType[_0x504621(0x138)])||_0x480342[_0x504621(0x171)](_0x430ca7,WebHonorType[_0x504621(0xf3)]))try{let _0x34e00b=await _0x480342[_0x504621(0x128)](_0x8d3ee3,_0x3d34ff,0x2);if(!_0x34e00b)throw new Error(_0x504621(0xfa));_0x24162f[_0x504621(0x157)]=[];for(const _0x329da6 of _0x34e00b){_0x24162f[_0x504621(0x157)][_0x504621(0x178)]({'user_id':_0x329da6?.[_0x504621(0x102)],'nickname':_0x329da6?.[_0x504621(0x17d)],'avatar':_0x329da6?.[_0x504621(0x146)],'description':_0x329da6?.[_0x504621(0x150)]});}}catch(_0x374fba){_0x480342[_0x504621(0x15f)](logDebug,_0x374fba);}if(_0x430ca7===WebHonorType[_0x504621(0x138)]||_0x480342['NbLEj'](_0x430ca7,WebHonorType[_0x504621(0xf3)]))try{let _0x40b177=await _0x8d3ee3(_0x3d34ff,0x3);if(!_0x40b177)throw new Error(_0x480342[_0x504621(0x15b)]);_0x24162f['legend_list']=[];for(const _0x1d489c of _0x40b177){_0x24162f[_0x504621(0x183)][_0x504621(0x178)]({'user_id':_0x1d489c?.[_0x504621(0x102)],'nickname':_0x1d489c?.[_0x504621(0x17d)],'avatar':_0x1d489c?.[_0x504621(0x146)],'desc':_0x1d489c?.['description']});}}catch(_0x2f68f9){logDebug(_0x480342[_0x504621(0x15b)],_0x2f68f9);}if(_0x430ca7===WebHonorType[_0x504621(0xf2)]||_0x430ca7===WebHonorType[_0x504621(0xf3)])try{let _0x38ec55=await _0x8d3ee3(_0x3d34ff,0x6);if(!_0x38ec55)throw new Error(_0x480342[_0x504621(0x17f)]);_0x24162f[_0x504621(0xf0)]=[];for(const _0x132057 of _0x38ec55){_0x24162f[_0x504621(0xf0)][_0x504621(0x178)]({'user_id':_0x132057?.[_0x504621(0x102)],'nickname':_0x132057?.['name'],'avatar':_0x132057?.['avatar'],'desc':_0x132057?.[_0x504621(0x105)]});}}catch(_0x19a389){_0x480342[_0x504621(0x128)](logDebug,'获取快乐源泉失败',_0x19a389);}return(_0x430ca7===WebHonorType['EMOTION']||_0x480342[_0x504621(0xeb)](_0x430ca7,WebHonorType['ALL']))&&(_0x24162f[_0x504621(0x160)]=[]),_0x24162f;}} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index eff2abc3..e64e5756 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x427b55=_0x4b23;function _0x538c(){const _0x29bb48=['KfdnB','isDelete','onQRCodeSessionFailed','HPczS','[KickedOffLine]\x20[','dataPathGlobal','floor','BVsAc','296680natAJw','129815PYEujq','数据库初始化失败','initDataListener','onMemberInfoChange','IvYpR','./.config/QQ','addKernelBuddyListener','-v2.db','GroupListener','nlIDD','启动失败:\x20','md5','getLoginList','onProfileDetailInfoChanged','Xshrl','ghYOb','oWNEu','addKernelMsgListener','buddyList','当前账号(','./nt_qq/global','stringify','fMhRJ','fileLog','proxyHandler','tzjtE','memberCount','addListener','loginService','pngBase64QrcodeData','onLoginFailed','find','forEach','length','fECAH','BuddyListener','pmalO','uin','onLoginSuccessFuncList','Mbcdk','NodeIQQNTWrapperEngine','NodeQQNTWrapperUtil',')\x20在线状态变更','sceneId','onLoginSuccess','onQRCodeLoginSucceed','NodeIKernelMsgListener','快速登录失败\x20','curVersion','dataPath','220705IluBrf','getGroupService','init\x20failed\x20','ProfileListener','VwCzQ','startNT','本账号数据/缓存目录:','mkdirSync','140022008','KzOTG','base64','initWithDeskTopConfig','engine','uid','addKernelGroupListener','没有可快速登录的QQ号','resolve','onLineDev','init','util','xyRLp','jeSBp','1870372YTOvjE','catch','consoleLogLevel','NodeIGlobalAdapter','VagVJ','initSession','loginListener','LocalLoginInfoList','packet_received','15992870kQZouG','CXzyD','fileLogLevel','FpmNb','packet_sent','onBuddyListChange','initSession\x20failed','mFlAy','hXcHd','split','_GW_B','errMsg','qrcodeUrl','114IBFFXh','assign','NodeIQQNTWrapperSession','yRhcp','digest','consoleLog','BLTXq','update','getNTUserDataInfoConfig','loginErrorInfo','then','initConfig','564samFhC','getQRCodePicture','constructor','onQRCodeGetPicture','syuqu','vzdcx','getNextMemberList','push','SuPnh','result','jPJEz','onSessionInitComplete','CFQNu','groupCode','mIrAL','onGroupListUpdate','addKernelLoginListener','207vSlLSt','GIHki','getBuddyService','NodeIKernelLoginListener','iHwyd','GBHVt','onRecvMsg','onRecvSysMsg','jEsxl','createMemberListScene','NodeIKernelProfileListener','782832ncaeFG','tXzjt','has','XPcmQ','tipsDesc','now','clientType','kNBbf','map','MRcZR','passwordLogin','NodeIKernelSessionListener','./NapCat/data','qHsTq','set','session','V1_WIN_NQ_','tipsTitle','账号设备(','isQuickLogin','infos','getBuddyList','devUid','get','getMsgService','undefined','NodeIKernelGroupListener','message_sent','TgxuO','登录失败','140022013','OAPDo','quickLogin','LPNNl','groupMemberList_MainWindow','NodeIDependsAdapter','4228NBjIUO','MsgListener','last_message_time','Windows\x2010\x20Pro'];_0x538c=function(){return _0x29bb48;};return _0x538c();}(function(_0x1fafc9,_0x2b1d27){const _0x1fa75a=_0x4b23,_0x5e1d28=_0x1fafc9();while(!![]){try{const _0xc86d5d=-parseInt(_0x1fa75a(0x1fd))/0x1+-parseInt(_0x1fa75a(0x1f0))/0x2*(-parseInt(_0x1fa75a(0x1b0))/0x3)+-parseInt(_0x1fa75a(0x1cc))/0x4+-parseInt(_0x1fa75a(0x22f))/0x5*(-parseInt(_0x1fa75a(0x1a4))/0x6)+parseInt(_0x1fa75a(0x18e))/0x7+parseInt(_0x1fa75a(0x1fc))/0x8*(parseInt(_0x1fa75a(0x1c1))/0x9)+-parseInt(_0x1fa75a(0x197))/0xa;if(_0xc86d5d===_0x2b1d27)break;else _0x5e1d28['push'](_0x5e1d28['shift']());}catch(_0x4968ed){_0x5e1d28['push'](_0x5e1d28['shift']());}}}(_0x538c,0x6955c));import _0x538e6c from'@/core/wrapper';function _0x4b23(_0x29b768,_0x59dc61){const _0x538cf0=_0x538c();return _0x4b23=function(_0x4b23d4,_0x4f0e7){_0x4b23d4=_0x4b23d4-0x186;let _0x7b9eaa=_0x538cf0[_0x4b23d4];return _0x7b9eaa;},_0x4b23(_0x29b768,_0x59dc61);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x45cda8 from'node:path';import _0x1ca66 from'node:os';import _0x4d3892 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x323502 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x427b55(0x1db)];[_0x427b55(0x18b)];['engine'];[_0x427b55(0x194)];[_0x427b55(0x219)];[_0x427b55(0x223)]=[];[_0x427b55(0x215)]={'get'(target,prop,receiver){const _0x514806=_0x427b55,YibxBj={'fMhRJ':function(callee,param1){return callee(param1);},'OAPDo':_0x514806(0x1e5)};if(typeof target[prop]===YibxBj[_0x514806(0x1eb)])return(...args)=>{const _0x5e24e8=_0x514806;YibxBj[_0x5e24e8(0x213)](logDebug,target[_0x5e24e8(0x1b2)]['name']+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x514806(0x1e3)](target,prop,receiver);}};constructor(){const _0xe01f42=_0x427b55,_0x5e9e0b={'GIHki':function(_0x2110ca,_0x345e94){return _0x2110ca+_0x345e94;},'sXvuG':_0xe01f42(0x210),'fZAeT':')已登录,无法重复登录','iHwyd':function(_0x356404,_0x55075c,_0x193004){return _0x356404(_0x55075c,_0x193004);},'ghYOb':function(_0x38a53e,_0x4cb6b1){return _0x38a53e(_0x4cb6b1);},'unZUF':function(_0x49dce0,_0x182c66){return _0x49dce0(_0x182c66);},'hXcHd':function(_0x4f17f0,_0x341214){return _0x4f17f0(_0x341214);},'FpmNb':_0xe01f42(0x1d8),'BLTXq':function(_0x294a50,_0x369f67,_0x79f4b2){return _0x294a50(_0x369f67,_0x79f4b2);},'mFlAy':_0xe01f42(0x235),'tzjtE':_0xe01f42(0x19d),'KzOTG':'登录失败','pmalO':function(_0x4a86f4,_0x9e0373){return _0x4a86f4==_0x9e0373;}};this[_0xe01f42(0x23b)]=new _0x538e6c[(_0xe01f42(0x225))](),this[_0xe01f42(0x18b)]=new _0x538e6c[(_0xe01f42(0x226))](),this[_0xe01f42(0x219)]=new _0x538e6c['NodeIKernelLoginService'](),this[_0xe01f42(0x1db)]=new _0x538e6c[(_0xe01f42(0x1a6))](),this['loginListener']=new LoginListener(),this[_0xe01f42(0x194)]['onUserLoggedIn']=_0x565213=>{const _0x26bc23=_0xe01f42;logError(_0x5e9e0b[_0x26bc23(0x1c2)](_0x5e9e0b['sXvuG']+_0x565213,_0x5e9e0b['fZAeT']));},this['loginListener'][_0xe01f42(0x22a)]=_0x32c7e2=>{const _0x5f4890=_0xe01f42,_0x563fe9={'mPZLz':function(_0x4bec5c,_0x1d674c,_0x17ddce){const _0x30996b=_0x4b23;return _0x5e9e0b[_0x30996b(0x1aa)](_0x4bec5c,_0x1d674c,_0x17ddce);}};this['initSession'](_0x32c7e2['uin'],_0x32c7e2[_0x5f4890(0x23c)])[_0x5f4890(0x1ae)](_0x4179a0=>{const _0x5a3ef2=_0x5f4890;selfInfo[_0x5a3ef2(0x222)]=_0x32c7e2[_0x5a3ef2(0x222)],selfInfo[_0x5a3ef2(0x23c)]=_0x32c7e2[_0x5a3ef2(0x23c)],napCatConfig['read'](),_0x5e9e0b[_0x5a3ef2(0x1c5)](setLogLevel,napCatConfig[_0x5a3ef2(0x199)],napCatConfig[_0x5a3ef2(0x190)]),_0x5e9e0b[_0x5a3ef2(0x20c)](enableFileLog,napCatConfig[_0x5a3ef2(0x214)]),_0x5e9e0b['unZUF'](enableConsoleLog,napCatConfig[_0x5a3ef2(0x1a9)]),_0x5e9e0b[_0x5a3ef2(0x19f)](setLogSelfInfo,selfInfo);const _0x398c6=_0x45cda8[_0x5a3ef2(0x188)](this['dataPath'],_0x5e9e0b[_0x5a3ef2(0x19a)]);_0x4d3892['mkdirSync'](_0x398c6,{'recursive':!![]}),_0x5e9e0b['BLTXq'](logDebug,_0x5e9e0b[_0x5a3ef2(0x19e)],_0x398c6),dbUtil[_0x5a3ef2(0x18a)](_0x45cda8[_0x5a3ef2(0x188)](_0x398c6,'./'+_0x32c7e2['uin']+_0x5a3ef2(0x204)))[_0x5a3ef2(0x1ae)](()=>{const _0xd96d2f=_0x5a3ef2,_0x10589e={'TgxuO':function(_0x491b2e,_0x1af48a,_0x3a81b5){return _0x491b2e(_0x1af48a,_0x3a81b5);},'Mbcdk':function(_0x2a43ed,_0x387880){return _0x2a43ed instanceof _0x387880;}};this['initDataListener'](),this['onLoginSuccessFuncList'][_0xd96d2f(0x1d4)](_0x6f62a2=>{const _0x19f0bb=_0xd96d2f;new Promise((_0xaf2ad6,_0x12f7ad)=>{const _0x4b78ec=_0x4b23,_0x63ab39=_0x10589e[_0x4b78ec(0x1e8)](_0x6f62a2,_0x32c7e2[_0x4b78ec(0x222)],_0x32c7e2[_0x4b78ec(0x23c)]);_0x10589e[_0x4b78ec(0x224)](_0x63ab39,Promise)&&_0x63ab39['then'](_0xaf2ad6)['catch'](_0x12f7ad);})[_0x19f0bb(0x1ae)]();});})[_0x5a3ef2(0x18f)](_0x4621de=>{const _0x3bc623=_0x5a3ef2;_0x563fe9['mPZLz'](logError,_0x3bc623(0x1fe),_0x4621de);});})[_0x5f4890(0x18f)](_0x48b5e9=>{const _0x432cbf=_0x5f4890;_0x5e9e0b[_0x432cbf(0x1c5)](logError,_0x5e9e0b[_0x432cbf(0x216)],_0x48b5e9);throw new Error(_0x432cbf(0x207)+JSON[_0x432cbf(0x212)](_0x48b5e9));});},this[_0xe01f42(0x194)][_0xe01f42(0x1f6)]=(_0x3a66d0,_0x56cac6,_0x48c19c)=>{const _0x2a3a44=_0xe01f42;_0x5e9e0b[_0x2a3a44(0x1aa)](logError,_0x5e9e0b[_0x2a3a44(0x238)],_0x48c19c),_0x5e9e0b[_0x2a3a44(0x221)](_0x3a66d0,0x1)&&_0x56cac6==0x3&&this[_0x2a3a44(0x219)][_0x2a3a44(0x1b1)]();},this[_0xe01f42(0x194)][_0xe01f42(0x21b)]=_0x1200a5=>{const _0x477ade=_0xe01f42;_0x5e9e0b[_0x477ade(0x1c5)](logError,_0x477ade(0x1e9),_0x1200a5);},this['loginListener']=new Proxy(this[_0xe01f42(0x194)],this['proxyHandler']),this[_0xe01f42(0x219)][_0xe01f42(0x1c0)](new _0x538e6c[(_0xe01f42(0x1c4))](this['loginListener'])),this[_0xe01f42(0x1af)]();}get['dataPath'](){const _0x521e20=_0x427b55;let _0x195a14=this['util'][_0x521e20(0x1ac)]();return!_0x195a14&&(_0x195a14=_0x45cda8['resolve'](_0x1ca66['homedir'](),_0x521e20(0x202)),_0x4d3892[_0x521e20(0x236)](_0x195a14,{'recursive':!![]})),_0x195a14;}get[_0x427b55(0x1f9)](){const _0x3a97bc=_0x427b55,_0x2d9fa3={'MRcZR':_0x3a97bc(0x211)};return _0x45cda8[_0x3a97bc(0x188)](this[_0x3a97bc(0x22e)],_0x2d9fa3[_0x3a97bc(0x1d5)]);}['initConfig'](){const _0x626af8=_0x427b55,_0x5d3a65={'nmgLG':_0x626af8(0x1f3)};this[_0x626af8(0x23b)][_0x626af8(0x23a)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x5d3a65['nmgLG'],'use_xlog':!![],'qua':_0x626af8(0x1dc)+qqVersionConfigInfo[_0x626af8(0x22d)]['replace']('-','_')+_0x626af8(0x1a1),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x538e6c[(_0x626af8(0x191))](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x626af8(0x22d)],'hostName':hostname});}[_0x427b55(0x193)](_0x1c79b7,_0x3af611){const _0x462226={'HPczS':function(_0x11c1c6,_0x17ac83){return _0x11c1c6===_0x17ac83;},'IvYpR':function(_0x3b2f26,_0xc46fa1){return _0x3b2f26(_0xc46fa1);},'EDKSL':function(_0x3e60dc,_0x141b93){return _0x3e60dc(_0x141b93);},'kNBbf':function(_0x126f21,_0x10ca80,_0x4a5d85,_0xd1d4b3){return _0x126f21(_0x10ca80,_0x4a5d85,_0xd1d4b3);}};return new Promise(async(_0x649eda,_0x33d6c3)=>{const _0x4f92fd=_0x4b23,_0x5a6232=await _0x462226[_0x4f92fd(0x1d3)](genSessionConfig,_0x1c79b7,_0x3af611,this['dataPath']),_0x350011=new SessionListener();_0x350011[_0x4f92fd(0x1bb)]=_0x1db4e9=>{const _0x28cc13=_0x4f92fd;if(_0x462226[_0x28cc13(0x1f7)](_0x1db4e9,0x0))return _0x462226[_0x28cc13(0x201)](_0x649eda,0x0);_0x462226['EDKSL'](_0x33d6c3,_0x1db4e9);},this[_0x4f92fd(0x1db)][_0x4f92fd(0x18a)](_0x5a6232,new _0x538e6c[(_0x4f92fd(0x1ef))](new DependsAdapter()),new _0x538e6c['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x538e6c[(_0x4f92fd(0x1d7))](_0x350011));try{this[_0x4f92fd(0x1db)][_0x4f92fd(0x234)](0x0);}catch(_0x1ac35a){try{this['session'][_0x4f92fd(0x234)]();}catch(_0x11d9fb){_0x33d6c3(_0x4f92fd(0x231)+_0x11d9fb);}}});}[_0x427b55(0x1ff)](){const _0x4faa72=_0x427b55,_0x3ac05a={'CXzyD':function(_0x34415e,_0x4e3126){return _0x34415e===_0x4e3126;},'jPJEz':function(_0x5f5a38,_0x14d6c4){return _0x5f5a38(_0x14d6c4);},'jeSBp':function(_0x2e9fa5,_0x27377f){return _0x2e9fa5+_0x27377f;},'FoksG':_0x4faa72(0x1de),'WQlkA':_0x4faa72(0x227),'yRhcp':function(_0x4c74bd,_0x602a51){return _0x4c74bd+_0x602a51;},'YEdsa':function(_0x4ad7f2,_0x43f5f5){return _0x4ad7f2+_0x43f5f5;},'oWNEu':_0x4faa72(0x1f8),'Xshrl':function(_0x2f143f,_0x13663d){return _0x2f143f/_0x13663d;},'LPNNl':_0x4faa72(0x1ee),'CFQNu':function(_0x3c9e0a,_0x2978e1,_0x1fe506){return _0x3c9e0a(_0x2978e1,_0x1fe506);}},_0x2e73d5=new MsgListener();_0x2e73d5[_0x4faa72(0x189)]=_0x16991a=>{_0x16991a['map'](_0x44c41d=>{const _0x2f4925=_0x4b23;_0x3ac05a[_0x2f4925(0x198)](_0x44c41d[_0x2f4925(0x1d2)],0x2)&&_0x3ac05a[_0x2f4925(0x1ba)](log,_0x3ac05a[_0x2f4925(0x18d)](_0x3ac05a[_0x2f4925(0x18d)](_0x3ac05a['FoksG'],_0x44c41d[_0x2f4925(0x1e2)]),_0x3ac05a['WQlkA']));});},_0x2e73d5['onKickedOffLine']=_0x1c2cc3=>{const _0x4bfc86=_0x4faa72;_0x3ac05a[_0x4bfc86(0x1ba)](log,_0x3ac05a[_0x4bfc86(0x1a7)](_0x3ac05a['YEdsa'](_0x3ac05a[_0x4bfc86(0x20d)],_0x1c2cc3[_0x4bfc86(0x1dd)]),']\x20')+_0x1c2cc3[_0x4bfc86(0x1d0)]);},_0x2e73d5['onAddSendMsg']=_0x2786e7=>{const _0xf7c7a3=_0x4faa72;stat[_0xf7c7a3(0x19b)]+=0x1,stat[_0xf7c7a3(0x1e7)]+=0x1,stat['last_message_time']=Math[_0xf7c7a3(0x1fa)](_0x3ac05a[_0xf7c7a3(0x20b)](Date[_0xf7c7a3(0x1d1)](),0x3e8));},_0x2e73d5[_0x4faa72(0x1c7)]=_0x2a3e36=>{const _0x356452=_0x4faa72;stat[_0x356452(0x196)]+=0x1,stat['message_received']+=_0x2a3e36[_0x356452(0x21e)],stat[_0x356452(0x1f2)]=Math[_0x356452(0x1fa)](_0x3ac05a[_0x356452(0x20b)](Date['now'](),0x3e8));},_0x2e73d5[_0x4faa72(0x1c8)]=(..._0x5aea9c)=>{const _0x148a9d=_0x4faa72;stat[_0x148a9d(0x196)]+=0x1;},this[_0x4faa72(0x218)](_0x2e73d5);const _0x9c7be2=new BuddyListener();_0x9c7be2[_0x4faa72(0x19c)]=_0x2c8c61=>{const _0x435c82=_0x4faa72;rawFriends[_0x435c82(0x21e)]=0x0,rawFriends['push'](..._0x2c8c61);for(const _0x1ad749 of _0x2c8c61){for(const _0xba4ac0 of _0x1ad749[_0x435c82(0x20f)]){const _0x27bf5a=friends[_0x435c82(0x1e3)](_0xba4ac0[_0x435c82(0x23c)]);_0x27bf5a?Object['assign'](_0x27bf5a,_0xba4ac0):friends[_0x435c82(0x1da)](_0xba4ac0[_0x435c82(0x23c)],_0xba4ac0);}}},this[_0x4faa72(0x218)](_0x9c7be2),this[_0x4faa72(0x1db)][_0x4faa72(0x1c3)]()[_0x4faa72(0x1e1)](!![])[_0x4faa72(0x1ae)](_0x3a29ce=>{});const _0x4fb328=new ProfileListener();_0x4fb328[_0x4faa72(0x20a)]=_0x40590f=>{const _0x206c0e=_0x4faa72;_0x40590f[_0x206c0e(0x23c)]===selfInfo['uid']&&Object[_0x206c0e(0x1a5)](selfInfo,_0x40590f);},_0x4fb328['onSelfStatusChanged']=_0x42ebe3=>{},this[_0x4faa72(0x218)](_0x4fb328);const _0x13b647=new GroupListener();_0x13b647[_0x4faa72(0x1bf)]=(_0x3f07ee,_0x340b3d)=>{const _0x117ba6=_0x4faa72,_0x4492c8={'SuPnh':_0x3ac05a[_0x117ba6(0x1ed)]};_0x340b3d[_0x117ba6(0x1d4)](_0x8bd78a=>{const _0x11abff=_0x117ba6,_0x31852f=groups[_0x11abff(0x1e3)](_0x8bd78a[_0x11abff(0x1bd)]);_0x31852f&&_0x8bd78a[_0x11abff(0x217)]===_0x31852f[_0x11abff(0x217)]?Object['assign'](_0x31852f,_0x8bd78a):groups[_0x11abff(0x1da)](_0x8bd78a[_0x11abff(0x1bd)],_0x8bd78a);const _0x3ce785=this[_0x11abff(0x1db)][_0x11abff(0x230)]()[_0x11abff(0x1ca)](_0x8bd78a[_0x11abff(0x1bd)],_0x4492c8[_0x11abff(0x1b8)]);this['session'][_0x11abff(0x230)]()[_0x11abff(0x1b6)](_0x3ce785,undefined,0xbb8)[_0x11abff(0x1ae)](_0x40334a=>{});});},_0x13b647['onMemberListChange']=_0x32f9e8=>{const _0x405ea5=_0x4faa72,_0x48e224=_0x32f9e8[_0x405ea5(0x228)]['split']('_')[0x0];if(groupMembers[_0x405ea5(0x1ce)](_0x48e224)){const _0x5cb66d=groupMembers[_0x405ea5(0x1e3)](_0x48e224);_0x32f9e8['infos'][_0x405ea5(0x21d)]((_0x60468b,_0x348620)=>{const _0x4eedb6=_0x405ea5,_0x1dd25e=_0x5cb66d[_0x4eedb6(0x1e3)](_0x348620);_0x1dd25e?Object[_0x4eedb6(0x1a5)](_0x1dd25e,_0x60468b):_0x5cb66d[_0x4eedb6(0x1da)](_0x348620,_0x60468b);});}else groupMembers[_0x405ea5(0x1da)](_0x48e224,_0x32f9e8[_0x405ea5(0x1e0)]);},_0x13b647[_0x4faa72(0x200)]=(_0x2973af,_0x1c7288,_0x1c1d8a)=>{const _0x47c690=_0x4faa72;_0x3ac05a[_0x47c690(0x198)](_0x1c7288,0x0)&&_0x1c1d8a[_0x47c690(0x1e3)](selfInfo[_0x47c690(0x23c)])&&_0x1c1d8a['get'](selfInfo[_0x47c690(0x23c)])?.[_0x47c690(0x1f5)]&&_0x3ac05a[_0x47c690(0x1bc)](setTimeout,()=>{groups['delete'](_0x2973af);},0x1388);const _0x2373fe=groupMembers[_0x47c690(0x1e3)](_0x2973af);_0x2373fe?_0x1c1d8a[_0x47c690(0x21d)]((_0x2cf75a,_0x2172c5)=>{const _0x1b27f9=_0x47c690,_0x515e68=_0x2373fe[_0x1b27f9(0x1e3)](_0x2172c5);_0x515e68?Object[_0x1b27f9(0x1a5)](_0x515e68,_0x2cf75a):_0x2373fe[_0x1b27f9(0x1da)](_0x2172c5,_0x2cf75a);}):groupMembers['set'](_0x2973af,_0x1c1d8a);},this['addListener'](_0x13b647);}[_0x427b55(0x218)](_0x406851){const _0x391235=_0x427b55,_0x45ef34={'syuqu':_0x391235(0x205),'xyRLp':_0x391235(0x1f1),'nlIDD':_0x391235(0x232)};_0x406851=new Proxy(_0x406851,this[_0x391235(0x215)]);switch(_0x406851['constructor']['name']){case _0x391235(0x220):{return this[_0x391235(0x1db)][_0x391235(0x1c3)]()[_0x391235(0x203)](new _0x538e6c['NodeIKernelBuddyListener'](_0x406851));}case _0x45ef34[_0x391235(0x1b4)]:{return this[_0x391235(0x1db)][_0x391235(0x230)]()[_0x391235(0x186)](new _0x538e6c[(_0x391235(0x1e6))](_0x406851));}case _0x45ef34[_0x391235(0x18c)]:{return this['session'][_0x391235(0x1e4)]()[_0x391235(0x20e)](new _0x538e6c[(_0x391235(0x22b))](_0x406851));}case _0x45ef34[_0x391235(0x206)]:{return this['session']['getProfileService']()['addKernelProfileListener'](new _0x538e6c[(_0x391235(0x1cb))](_0x406851));}default:return-0x1;}}[_0x427b55(0x229)](_0x43e920){const _0x195025=_0x427b55;NTEventDispatch[_0x195025(0x18a)]({'ListenerMap':_0x538e6c,'WrapperSession':this[_0x195025(0x1db)]}),this[_0x195025(0x223)][_0x195025(0x1b7)](_0x43e920);}async[_0x427b55(0x1ec)](_0x182049){const _0x126fea=_0x427b55,_0x4c9bcf={'GBHVt':function(_0xa4ae8a,_0x53fb70){return _0xa4ae8a!==_0x53fb70;},'KfdnB':_0x126fea(0x187),'vzdcx':function(_0x745c49,_0x5c3259){return _0x745c49(_0x5c3259);},'BVsAc':_0x126fea(0x22c)},_0x1f946f=await this[_0x126fea(0x219)][_0x126fea(0x209)]();if(_0x4c9bcf[_0x126fea(0x1c6)](_0x1f946f[_0x126fea(0x1b9)],0x0))throw new Error(_0x4c9bcf[_0x126fea(0x1f4)]);const _0x496b74=_0x1f946f[_0x126fea(0x195)][_0x126fea(0x21c)](_0x400ea2=>_0x400ea2['uin']===_0x182049);if(!_0x496b74||!_0x496b74?.[_0x126fea(0x1df)])throw new Error(_0x182049+'快速登录不可用');await _0x4c9bcf[_0x126fea(0x1b5)](sleep,0x3e8);const _0x12ae4d=await this[_0x126fea(0x219)]['quickLoginWithUin'](_0x182049);if(!_0x12ae4d[_0x126fea(0x1b9)])throw new Error(_0x4c9bcf[_0x126fea(0x1fb)]+_0x12ae4d[_0x126fea(0x1ad)][_0x126fea(0x1a2)]);return _0x12ae4d;}async['qrLogin'](_0x433518){const _0x1f2f8e={'tXzjt':function(_0x51e0d5,_0x3e25bd,_0xf2f742,_0x513c48){return _0x51e0d5(_0x3e25bd,_0xf2f742,_0x513c48);}};return new Promise((_0x122e35,_0x3b9866)=>{const _0x292b31=_0x4b23,_0x4974b7={'jEsxl':_0x292b31(0x239),'VagVJ':function(_0x236854,_0x505c08,_0x2c6398,_0x49d66a){const _0x2057ba=_0x292b31;return _0x1f2f8e[_0x2057ba(0x1cd)](_0x236854,_0x505c08,_0x2c6398,_0x49d66a);}};this[_0x292b31(0x194)][_0x292b31(0x1b3)]=_0x20c87b=>{const _0x4667a8=_0x292b31,_0x867c3=_0x20c87b[_0x4667a8(0x21a)][_0x4667a8(0x1a0)]('data:image/png;base64,')[0x1],_0x198190=Buffer['from'](_0x867c3,_0x4974b7[_0x4667a8(0x1c9)]);_0x4974b7[_0x4667a8(0x192)](_0x433518,_0x20c87b[_0x4667a8(0x1a3)],_0x20c87b['pngBase64QrcodeData'],_0x198190);},this[_0x292b31(0x219)][_0x292b31(0x1b1)]();});}async[_0x427b55(0x1d6)](_0x2bc3be,_0x11331a,_0x13de44,_0x89ec92,_0xa280c3){const _0x435e15=_0x427b55,_0x530ba9={'RYcWu':_0x435e15(0x208),'XPcmQ':'hex','qHsTq':function(_0x40d4b9,_0x1ea98c){return _0x40d4b9&&_0x1ea98c;},'mIrAL':function(_0x5b350a,_0x4aced5){return _0x5b350a||_0x4aced5;},'fECAH':function(_0x3b1407,_0x661520){return _0x3b1407(_0x661520);},'VwCzQ':_0x435e15(0x1ea)},_0x5a9894=_0x323502['createHash'](_0x530ba9['RYcWu'])[_0x435e15(0x1ab)](_0x11331a)[_0x435e15(0x1a8)](_0x530ba9[_0x435e15(0x1cf)]),_0x1fa02c={'uin':_0x2bc3be,'passwordMd5':_0x5a9894,'step':_0x530ba9[_0x435e15(0x1d9)](_0x13de44,_0x89ec92)&&_0xa280c3?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x530ba9[_0x435e15(0x1be)](_0x13de44,''),'proofWaterRand':_0x89ec92||'','proofWaterSid':_0x530ba9[_0x435e15(0x1be)](_0xa280c3,'')};await this[_0x435e15(0x219)]['getLoginList'](),await _0x530ba9[_0x435e15(0x21f)](sleep,0x3e8);const _0x2d2701=await this['loginService'][_0x435e15(0x1d6)](_0x1fa02c);switch(_0x2d2701[_0x435e15(0x1b9)]){case'0':{break;}case _0x435e15(0x237):{break;}case'4':case _0x530ba9[_0x435e15(0x233)]:default:}}async['getQuickLoginList'](){const _0x2d3651=_0x427b55,_0x4f1ff2=await this['loginService'][_0x2d3651(0x209)]();return _0x4f1ff2;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x49c14f=_0x3b4b;(function(_0x6ac628,_0x2e2347){const _0xc98fc6=_0x3b4b,_0x284caf=_0x6ac628();while(!![]){try{const _0x244235=parseInt(_0xc98fc6(0x233))/0x1+parseInt(_0xc98fc6(0x1ff))/0x2+-parseInt(_0xc98fc6(0x253))/0x3+parseInt(_0xc98fc6(0x222))/0x4+parseInt(_0xc98fc6(0x239))/0x5*(-parseInt(_0xc98fc6(0x284))/0x6)+-parseInt(_0xc98fc6(0x1f7))/0x7*(parseInt(_0xc98fc6(0x22f))/0x8)+-parseInt(_0xc98fc6(0x275))/0x9;if(_0x244235===_0x2e2347)break;else _0x284caf['push'](_0x284caf['shift']());}catch(_0x2c10d7){_0x284caf['push'](_0x284caf['shift']());}}}(_0x3ec6,0xec2f8));import _0x146d48 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3c7b3f from'node:path';import _0x1c3e52 from'node:os';import _0x1fce66 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x3b4b(_0x41a13b,_0x260bd9){const _0x3ec6dc=_0x3ec6();return _0x3b4b=function(_0x3b4b53,_0x4dbe3e){_0x3b4b53=_0x3b4b53-0x1ec;let _0x59f1dc=_0x3ec6dc[_0x3b4b53];return _0x59f1dc;},_0x3b4b(_0x41a13b,_0x260bd9);}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x278f55 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x49c14f(0x259)];[_0x49c14f(0x255)];[_0x49c14f(0x261)];[_0x49c14f(0x27e)];[_0x49c14f(0x258)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x192660=_0x49c14f,sDUOBL={'OAAZM':function(x,y){return x===y;},'caBRh':_0x192660(0x269)};if(sDUOBL[_0x192660(0x218)](typeof target[prop],sDUOBL[_0x192660(0x211)]))return(...args)=>{const _0x52e383=_0x192660;logDebug(target[_0x52e383(0x221)]['name']+_0x52e383(0x280)+prop);};return Reflect[_0x192660(0x273)](target,prop,receiver);}};constructor(){const _0x4ae22b=_0x49c14f,_0x2c88ec={'iHNGT':function(_0x3bd50a,_0x38a7e7){return _0x3bd50a+_0x38a7e7;},'jVvNT':'当前账号(','LBqnV':_0x4ae22b(0x24b),'qSMXJ':_0x4ae22b(0x225),'LwvrT':function(_0x1a92b3,_0x4d7a55){return _0x1a92b3 instanceof _0x4d7a55;},'FYOIV':_0x4ae22b(0x22c),'zIGcr':function(_0x55f3e,_0x4d29b2){return _0x55f3e==_0x4d29b2;},'GFPUc':function(_0xa7d393,_0x5abf85){return _0xa7d393==_0x5abf85;},'aonTk':function(_0x159321,_0x3434e7,_0x38fe76){return _0x159321(_0x3434e7,_0x38fe76);},'QFKsB':_0x4ae22b(0x24e)};this['engine']=new _0x146d48[(_0x4ae22b(0x26a))](),this['util']=new _0x146d48['NodeQQNTWrapperUtil'](),this[_0x4ae22b(0x27e)]=new _0x146d48[(_0x4ae22b(0x267))](),this[_0x4ae22b(0x28a)]=new _0x146d48['NodeIQQNTWrapperSession'](),this[_0x4ae22b(0x261)]=new LoginListener(),this[_0x4ae22b(0x261)]['onUserLoggedIn']=_0x577a0a=>{const _0x1f101a=_0x4ae22b;logError(_0x2c88ec[_0x1f101a(0x237)](_0x2c88ec['jVvNT'],_0x577a0a)+_0x2c88ec[_0x1f101a(0x204)]);},this[_0x4ae22b(0x261)][_0x4ae22b(0x287)]=_0x101e5f=>{const _0x348eca=_0x4ae22b,_0x56550f={'LJkdY':_0x2c88ec[_0x348eca(0x227)],'FQCYK':function(_0x116543,_0x3c2cf9){return _0x2c88ec['LwvrT'](_0x116543,_0x3c2cf9);},'bpJuO':function(_0x3ad191,_0xc738a9){return _0x3ad191(_0xc738a9);},'nnfCq':_0x348eca(0x270),'OBBHw':function(_0x418744,_0x16f53c,_0x1b571d){return _0x418744(_0x16f53c,_0x1b571d);},'eaoUJ':_0x2c88ec[_0x348eca(0x265)]};this[_0x348eca(0x26c)](_0x101e5f['uin'],_0x101e5f[_0x348eca(0x28d)])['then'](_0x108112=>{const _0x13749d=_0x348eca,_0x2ecb60={'IVoTd':function(_0x53e039,_0x3182c6,_0x527948){return _0x53e039(_0x3182c6,_0x527948);},'FqCQN':function(_0x8274db,_0x360fd7){return _0x56550f['FQCYK'](_0x8274db,_0x360fd7);}};selfInfo['uin']=_0x101e5f['uin'],selfInfo[_0x13749d(0x28d)]=_0x101e5f[_0x13749d(0x28d)],napCatConfig[_0x13749d(0x25f)](),setLogLevel(napCatConfig['fileLogLevel'],napCatConfig[_0x13749d(0x1fa)]),enableFileLog(napCatConfig[_0x13749d(0x229)]),enableConsoleLog(napCatConfig[_0x13749d(0x26d)]),_0x56550f[_0x13749d(0x23d)](setLogSelfInfo,selfInfo);const _0x31dbd8=_0x3c7b3f['resolve'](this[_0x13749d(0x24c)],_0x13749d(0x282));_0x1fce66['mkdirSync'](_0x31dbd8,{'recursive':!![]}),logDebug(_0x56550f['nnfCq'],_0x31dbd8),dbUtil[_0x13749d(0x23e)](_0x3c7b3f['resolve'](_0x31dbd8,'./'+_0x101e5f[_0x13749d(0x215)]+_0x13749d(0x27f)))[_0x13749d(0x1ef)](()=>{const _0x1c9c5f=_0x13749d;this['initDataListener'](),this[_0x1c9c5f(0x258)][_0x1c9c5f(0x1f2)](_0x1032d4=>{const _0x473904=_0x1c9c5f,_0x2a3d98={'EbZbg':function(_0x300231,_0x2f8582,_0x271a05){const _0x352e96=_0x3b4b;return _0x2ecb60[_0x352e96(0x1fc)](_0x300231,_0x2f8582,_0x271a05);},'jizcn':function(_0x17ebf8,_0x11d587){return _0x2ecb60['FqCQN'](_0x17ebf8,_0x11d587);}};new Promise((_0x34852d,_0x44e13b)=>{const _0x43e1fe=_0x3b4b,_0x28e8c1=_0x2a3d98[_0x43e1fe(0x281)](_0x1032d4,_0x101e5f[_0x43e1fe(0x215)],_0x101e5f['uid']);_0x2a3d98[_0x43e1fe(0x208)](_0x28e8c1,Promise)&&_0x28e8c1[_0x43e1fe(0x1ef)](_0x34852d)[_0x43e1fe(0x274)](_0x44e13b);})[_0x473904(0x1ef)]();});})[_0x13749d(0x274)](_0x2a4ba5=>{logError(_0x56550f['LJkdY'],_0x2a4ba5);});})['catch'](_0x3818c8=>{const _0x569f43=_0x348eca;_0x56550f['OBBHw'](logError,_0x56550f['eaoUJ'],_0x3818c8);throw new Error('启动失败:\x20'+JSON[_0x569f43(0x21a)](_0x3818c8));});},this[_0x4ae22b(0x261)][_0x4ae22b(0x21c)]=(_0xec5d87,_0x872d75,_0x407363)=>{const _0x72e95d=_0x4ae22b;logError(_0x72e95d(0x24e),_0x407363),_0x2c88ec[_0x72e95d(0x1f0)](_0xec5d87,0x1)&&_0x2c88ec[_0x72e95d(0x203)](_0x872d75,0x3)&&this[_0x72e95d(0x27e)][_0x72e95d(0x1f9)]();},this['loginListener'][_0x4ae22b(0x257)]=_0x39d059=>{const _0x468675=_0x4ae22b;_0x2c88ec[_0x468675(0x243)](logError,_0x2c88ec[_0x468675(0x246)],_0x39d059);},this[_0x4ae22b(0x261)]=new Proxy(this['loginListener'],this[_0x4ae22b(0x213)]),this['loginService'][_0x4ae22b(0x276)](new _0x146d48[(_0x4ae22b(0x230))](this['loginListener'])),this[_0x4ae22b(0x238)]();}get[_0x49c14f(0x24c)](){const _0x4efb5f=_0x49c14f,_0x1c72e3={'IwdIi':_0x4efb5f(0x244)};let _0x43bda3=this[_0x4efb5f(0x259)][_0x4efb5f(0x254)]();return!_0x43bda3&&(_0x43bda3=_0x3c7b3f[_0x4efb5f(0x22e)](_0x1c3e52[_0x4efb5f(0x27d)](),_0x1c72e3[_0x4efb5f(0x216)]),_0x1fce66[_0x4efb5f(0x286)](_0x43bda3,{'recursive':!![]})),_0x43bda3;}get[_0x49c14f(0x202)](){const _0x713d66=_0x49c14f;return _0x3c7b3f['resolve'](this[_0x713d66(0x24c)],'./nt_qq/global');}[_0x49c14f(0x238)](){const _0x438908=_0x49c14f;this[_0x438908(0x255)][_0x438908(0x224)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x438908(0x20e),'use_xlog':!![],'qua':_0x438908(0x235)+qqVersionConfigInfo['curVersion'][_0x438908(0x23b)]('-','_')+_0x438908(0x27b),'global_path_config':{'desktopGlobalPath':this[_0x438908(0x202)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x146d48[(_0x438908(0x21e))](new GlobalAdapter())),this[_0x438908(0x27e)][_0x438908(0x238)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x438908(0x202)],'clientVer':qqVersionConfigInfo[_0x438908(0x25d)],'hostName':hostname});}[_0x49c14f(0x26c)](_0x26f98c,_0x142d5c){const _0x3bf5ce={'gZtTe':function(_0x4c84cb,_0x437a28){return _0x4c84cb===_0x437a28;},'yIAxb':function(_0x1bdbe0,_0x450129){return _0x1bdbe0(_0x450129);},'CnUvQ':function(_0x4e1bbd,_0x4ff368,_0x4c29f8,_0x5e9a24){return _0x4e1bbd(_0x4ff368,_0x4c29f8,_0x5e9a24);},'yTTMx':function(_0x883abb,_0x1ae49c){return _0x883abb+_0x1ae49c;}};return new Promise(async(_0x380a22,_0xe716a0)=>{const _0x332aa5=_0x3b4b,_0x417965={'UpwyZ':function(_0x1940aa,_0x46a0e6){const _0x1e4f88=_0x3b4b;return _0x3bf5ce[_0x1e4f88(0x248)](_0x1940aa,_0x46a0e6);},'mTXzj':function(_0x3cbec9,_0x566144){const _0x29a469=_0x3b4b;return _0x3bf5ce[_0x29a469(0x249)](_0x3cbec9,_0x566144);}},_0x574254=await _0x3bf5ce[_0x332aa5(0x226)](genSessionConfig,_0x26f98c,_0x142d5c,this[_0x332aa5(0x24c)]),_0x51a478=new SessionListener();_0x51a478[_0x332aa5(0x223)]=_0x46f4fe=>{const _0x537b84=_0x332aa5;if(_0x417965[_0x537b84(0x234)](_0x46f4fe,0x0))return _0x380a22(0x0);_0x417965[_0x537b84(0x21f)](_0xe716a0,_0x46f4fe);},this[_0x332aa5(0x28a)]['init'](_0x574254,new _0x146d48[(_0x332aa5(0x1fe))](new DependsAdapter()),new _0x146d48[(_0x332aa5(0x212))](new DispatcherAdapter()),new _0x146d48['NodeIKernelSessionListener'](_0x51a478));try{this[_0x332aa5(0x28a)]['startNT'](0x0);}catch(_0x45a45b){try{this[_0x332aa5(0x28a)][_0x332aa5(0x25c)]();}catch(_0x581d5f){_0x3bf5ce['yIAxb'](_0xe716a0,_0x3bf5ce[_0x332aa5(0x21d)]('init\x20failed\x20',_0x581d5f));}}});}['initDataListener'](){const _0x26a3ba=_0x49c14f,_0x3641fa={'KNMGf':function(_0x44428a,_0x370c37){return _0x44428a===_0x370c37;},'PmLTy':function(_0x30b9eb,_0x1546c5){return _0x30b9eb(_0x1546c5);},'HSWvj':function(_0x48e206,_0x3556ad){return _0x48e206+_0x3556ad;},'uNYMN':_0x26a3ba(0x217),'KiIkw':_0x26a3ba(0x20f),'bcfCy':function(_0x423a2b,_0xac8c77){return _0x423a2b+_0xac8c77;},'npYkT':'[KickedOffLine]\x20[','yCkSv':function(_0x591477,_0xb16416){return _0x591477/_0xb16416;},'NModQ':function(_0x3a8d8b,_0x196563){return _0x3a8d8b===_0x196563;},'mWMGK':function(_0x29e76d,_0x3bdbd0,_0x505b64){return _0x29e76d(_0x3bdbd0,_0x505b64);}},_0x113a92=new MsgListener();_0x113a92['onLineDev']=_0x51b4be=>{const _0x53e53d=_0x26a3ba;_0x51b4be[_0x53e53d(0x1f2)](_0xc802ee=>{const _0x563268=_0x53e53d;_0x3641fa[_0x563268(0x1ee)](_0xc802ee[_0x563268(0x1fd)],0x2)&&_0x3641fa[_0x563268(0x240)](log,_0x3641fa[_0x563268(0x231)](_0x3641fa['uNYMN'],_0xc802ee[_0x563268(0x266)])+_0x3641fa[_0x563268(0x271)]);});},_0x113a92[_0x26a3ba(0x1f5)]=_0x10fa7d=>{const _0x10bfed=_0x26a3ba;log(_0x3641fa['HSWvj'](_0x3641fa[_0x10bfed(0x256)](_0x3641fa['npYkT']+_0x10fa7d[_0x10bfed(0x25e)],']\x20'),_0x10fa7d[_0x10bfed(0x28e)]));},_0x113a92[_0x26a3ba(0x20c)]=_0x26ff74=>{const _0x575df9=_0x26a3ba;stat[_0x575df9(0x209)]+=0x1,stat[_0x575df9(0x210)]+=0x1,stat['last_message_time']=Math[_0x575df9(0x23f)](_0x3641fa[_0x575df9(0x1fb)](Date[_0x575df9(0x251)](),0x3e8));},_0x113a92[_0x26a3ba(0x289)]=_0x137785=>{const _0x15eac4=_0x26a3ba;stat['packet_received']+=0x1,stat[_0x15eac4(0x232)]+=_0x137785['length'],stat[_0x15eac4(0x228)]=Math[_0x15eac4(0x23f)](Date[_0x15eac4(0x251)]()/0x3e8);},_0x113a92['onRecvSysMsg']=(..._0x28a86a)=>{const _0x14a2d9=_0x26a3ba;stat[_0x14a2d9(0x268)]+=0x1;},this[_0x26a3ba(0x262)](_0x113a92);const _0x70823d=new BuddyListener();_0x70823d[_0x26a3ba(0x283)]=_0xa55470=>{const _0x23fa23=_0x26a3ba;rawFriends['length']=0x0,rawFriends['push'](..._0xa55470);for(const _0x2175cd of _0xa55470){for(const _0x15ed1d of _0x2175cd[_0x23fa23(0x1f4)]){const _0x13dd8d=friends[_0x23fa23(0x273)](_0x15ed1d[_0x23fa23(0x28d)]);_0x13dd8d?Object[_0x23fa23(0x28f)](_0x13dd8d,_0x15ed1d):friends[_0x23fa23(0x236)](_0x15ed1d['uid'],_0x15ed1d);}}},this[_0x26a3ba(0x262)](_0x70823d),this['session']['getBuddyService']()[_0x26a3ba(0x1f6)](!![])['then'](_0x3cd8ed=>{});const _0x381170=new ProfileListener();_0x381170['onProfileDetailInfoChanged']=_0x145d67=>{const _0x4fc02e=_0x26a3ba;_0x3641fa['KNMGf'](_0x145d67[_0x4fc02e(0x28d)],selfInfo[_0x4fc02e(0x28d)])&&Object['assign'](selfInfo,_0x145d67);},_0x381170[_0x26a3ba(0x20b)]=_0x1c3c02=>{},this[_0x26a3ba(0x262)](_0x381170);const _0x3da2d8=new GroupListener();_0x3da2d8[_0x26a3ba(0x25a)]=(_0x2f9744,_0x28f331)=>{const _0x7abb2f=_0x26a3ba;_0x28f331[_0x7abb2f(0x1f2)](_0x44e2d1=>{const _0x7b5fca=_0x7abb2f,_0x5d85b6=groups[_0x7b5fca(0x273)](_0x44e2d1['groupCode']);_0x5d85b6&&_0x44e2d1[_0x7b5fca(0x1f3)]===_0x5d85b6[_0x7b5fca(0x1f3)]?Object[_0x7b5fca(0x28f)](_0x5d85b6,_0x44e2d1):groups[_0x7b5fca(0x236)](_0x44e2d1[_0x7b5fca(0x245)],_0x44e2d1);const _0x5dd84b=this[_0x7b5fca(0x28a)][_0x7b5fca(0x26b)]()[_0x7b5fca(0x242)](_0x44e2d1[_0x7b5fca(0x245)],'groupMemberList_MainWindow');this[_0x7b5fca(0x28a)][_0x7b5fca(0x26b)]()[_0x7b5fca(0x28b)](_0x5dd84b,undefined,0xbb8)[_0x7b5fca(0x1ef)](_0xf353f7=>{});});},_0x3da2d8[_0x26a3ba(0x27c)]=_0x1af85f=>{const _0x364df3=_0x26a3ba,_0xbe3ec7=_0x1af85f[_0x364df3(0x206)][_0x364df3(0x272)]('_')[0x0];if(groupMembers[_0x364df3(0x288)](_0xbe3ec7)){const _0x29c5e4=groupMembers[_0x364df3(0x273)](_0xbe3ec7);_0x1af85f['infos'][_0x364df3(0x25b)]((_0x520b23,_0x387125)=>{const _0x9aa10=_0x364df3,_0x521265=_0x29c5e4[_0x9aa10(0x273)](_0x387125);_0x521265?Object[_0x9aa10(0x28f)](_0x521265,_0x520b23):_0x29c5e4['set'](_0x387125,_0x520b23);});}else groupMembers['set'](_0xbe3ec7,_0x1af85f[_0x364df3(0x23c)]);},_0x3da2d8[_0x26a3ba(0x20d)]=(_0x4df47f,_0x46035e,_0x2b0d79)=>{const _0x144890=_0x26a3ba;_0x3641fa[_0x144890(0x247)](_0x46035e,0x0)&&_0x2b0d79[_0x144890(0x273)](selfInfo[_0x144890(0x28d)])&&_0x2b0d79[_0x144890(0x273)](selfInfo[_0x144890(0x28d)])?.[_0x144890(0x26f)]&&_0x3641fa[_0x144890(0x219)](setTimeout,()=>{const _0x1fdbc1=_0x144890;groups[_0x1fdbc1(0x241)](_0x4df47f);},0x1388);const _0x8deb95=groupMembers['get'](_0x4df47f);_0x8deb95?_0x2b0d79[_0x144890(0x25b)]((_0x4567fa,_0x555322)=>{const _0x547871=_0x144890,_0x4d77a5=_0x8deb95[_0x547871(0x273)](_0x555322);_0x4d77a5?Object['assign'](_0x4d77a5,_0x4567fa):_0x8deb95[_0x547871(0x236)](_0x555322,_0x4567fa);}):groupMembers[_0x144890(0x236)](_0x4df47f,_0x2b0d79);},this[_0x26a3ba(0x262)](_0x3da2d8);}[_0x49c14f(0x262)](_0x1c5fd8){const _0x2f3c9b=_0x49c14f,_0x1ca4dd={'nHqdv':_0x2f3c9b(0x205),'wOLCW':_0x2f3c9b(0x24d),'JLYhE':'MsgListener'};_0x1c5fd8=new Proxy(_0x1c5fd8,this['proxyHandler']);switch(_0x1c5fd8['constructor']['name']){case _0x1ca4dd['nHqdv']:{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x200)]()[_0x2f3c9b(0x22a)](new _0x146d48['NodeIKernelBuddyListener'](_0x1c5fd8));}case _0x1ca4dd['wOLCW']:{return this['session'][_0x2f3c9b(0x26b)]()[_0x2f3c9b(0x260)](new _0x146d48[(_0x2f3c9b(0x1ec))](_0x1c5fd8));}case _0x1ca4dd['JLYhE']:{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x214)]()['addKernelMsgListener'](new _0x146d48['NodeIKernelMsgListener'](_0x1c5fd8));}case _0x2f3c9b(0x201):{return this[_0x2f3c9b(0x28a)][_0x2f3c9b(0x252)]()['addKernelProfileListener'](new _0x146d48[(_0x2f3c9b(0x20a))](_0x1c5fd8));}default:return-0x1;}}['onLoginSuccess'](_0x4bf55b){const _0x56861a=_0x49c14f;NTEventDispatch[_0x56861a(0x23e)]({'ListenerMap':_0x146d48,'WrapperSession':this[_0x56861a(0x28a)]}),this[_0x56861a(0x258)][_0x56861a(0x1f8)](_0x4bf55b);}async['quickLogin'](_0x28dcba){const _0x11227f=_0x49c14f,_0x3459e0={'VqSqS':_0x11227f(0x278),'bOZDO':function(_0x5372dd,_0x1a0c44){return _0x5372dd(_0x1a0c44);},'nDpEF':function(_0x1e8ee1,_0x439f8c){return _0x1e8ee1+_0x439f8c;},'pPVGv':'快速登录失败\x20'},_0x1b4e8e=await this[_0x11227f(0x27e)][_0x11227f(0x21b)]();if(_0x1b4e8e[_0x11227f(0x220)]!==0x0)throw new Error(_0x3459e0[_0x11227f(0x279)]);const _0x305aba=_0x1b4e8e['LocalLoginInfoList'][_0x11227f(0x23a)](_0x337d4b=>_0x337d4b[_0x11227f(0x215)]===_0x28dcba);if(!_0x305aba||!_0x305aba?.['isQuickLogin'])throw new Error(_0x28dcba+'快速登录不可用');await _0x3459e0[_0x11227f(0x22d)](sleep,0x3e8);const _0x2df17e=await this[_0x11227f(0x27e)]['quickLoginWithUin'](_0x28dcba);if(!_0x2df17e[_0x11227f(0x220)])throw new Error(_0x3459e0[_0x11227f(0x250)](_0x3459e0['pPVGv'],_0x2df17e['loginErrorInfo'][_0x11227f(0x263)]));return _0x2df17e;}async[_0x49c14f(0x24f)](_0x1c5513){const _0x375527={'SEQYi':function(_0x31e405,_0x268404,_0x540175,_0x470328){return _0x31e405(_0x268404,_0x540175,_0x470328);}};return new Promise((_0xe2ef79,_0x5eeb8b)=>{const _0x5d3b01=_0x3b4b;this[_0x5d3b01(0x261)]['onQRCodeGetPicture']=_0xb547f6=>{const _0x3bf419=_0x5d3b01,_0xa8e1f7=_0xb547f6['pngBase64QrcodeData'][_0x3bf419(0x272)]('data:image/png;base64,')[0x1],_0x55fa04=Buffer['from'](_0xa8e1f7,'base64');_0x375527['SEQYi'](_0x1c5513,_0xb547f6[_0x3bf419(0x207)],_0xb547f6['pngBase64QrcodeData'],_0x55fa04);},this[_0x5d3b01(0x27e)]['getQRCodePicture']();});}async[_0x49c14f(0x27a)](_0x3ee9f1,_0x2987dc,_0x279b6a,_0x3c7e13,_0x149217){const _0x4b937b=_0x49c14f,_0x227325={'VOUhF':'md5','Kkprn':function(_0x3cc028,_0x4912db){return _0x3cc028&&_0x4912db;},'rYYXs':function(_0x395381,_0x19e783){return _0x395381||_0x19e783;},'QgVGa':function(_0x48194b,_0x5c1fb7){return _0x48194b(_0x5c1fb7);},'NAajH':_0x4b937b(0x22b),'glbmT':'140022013'},_0x5525ca=_0x278f55['createHash'](_0x227325[_0x4b937b(0x277)])['update'](_0x2987dc)[_0x4b937b(0x28c)](_0x4b937b(0x1f1)),_0x3b5a42={'uin':_0x3ee9f1,'passwordMd5':_0x5525ca,'step':_0x227325[_0x4b937b(0x264)](_0x279b6a,_0x3c7e13)&&_0x149217?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x279b6a||'','proofWaterRand':_0x3c7e13||'','proofWaterSid':_0x227325[_0x4b937b(0x1ed)](_0x149217,'')};await this['loginService'][_0x4b937b(0x21b)](),await _0x227325[_0x4b937b(0x285)](sleep,0x3e8);const _0x2f87a7=await this['loginService'][_0x4b937b(0x27a)](_0x3b5a42);switch(_0x2f87a7['result']){case'0':{break;}case _0x227325[_0x4b937b(0x24a)]:{break;}case'4':case _0x227325[_0x4b937b(0x26e)]:default:}}async['getQuickLoginList'](){const _0x3e8cc5=_0x49c14f,_0x9f02a2=await this[_0x3e8cc5(0x27e)][_0x3e8cc5(0x21b)]();return _0x9f02a2;}}function _0x3ec6(){const _0x282e85=['140022008','initSession\x20failed','bOZDO','resolve','32KhfZga','NodeIKernelLoginListener','HSWvj','message_received','1005538SprJXJ','UpwyZ','V1_WIN_NQ_','set','iHNGT','initConfig','335DqFeSV','find','replace','infos','bpJuO','init','floor','PmLTy','delete','createMemberListScene','aonTk','./.config/QQ','groupCode','QFKsB','NModQ','gZtTe','yIAxb','NAajH',')已登录,无法重复登录','dataPath','GroupListener','登录失败','qrLogin','nDpEF','now','getProfileService','1555617Abrelm','getNTUserDataInfoConfig','engine','bcfCy','onLoginFailed','onLoginSuccessFuncList','util','onGroupListUpdate','forEach','startNT','curVersion','tipsTitle','read','addKernelGroupListener','loginListener','addListener','errMsg','Kkprn','FYOIV','devUid','NodeIKernelLoginService','packet_received','undefined','NodeIQQNTWrapperEngine','getGroupService','initSession','consoleLog','glbmT','isDelete','本账号数据/缓存目录:','KiIkw','split','get','catch','13017771CpJIBz','addKernelLoginListener','VOUhF','没有可快速登录的QQ号','VqSqS','passwordLogin','_GW_B','onMemberListChange','homedir','loginService','-v2.db','\x20has\x20no\x20method\x20','EbZbg','./NapCat/data','onBuddyListChange','83958KvHkGp','QgVGa','mkdirSync','onQRCodeLoginSucceed','has','onRecvMsg','session','getNextMemberList','digest','uid','tipsDesc','assign','NodeIKernelGroupListener','rYYXs','KNMGf','then','zIGcr','hex','map','memberCount','buddyList','onKickedOffLine','getBuddyList','330127UYFEOB','push','getQRCodePicture','consoleLogLevel','yCkSv','IVoTd','clientType','NodeIDependsAdapter','3821184VAQoHu','getBuddyService','ProfileListener','dataPathGlobal','GFPUc','LBqnV','BuddyListener','sceneId','qrcodeUrl','jizcn','packet_sent','NodeIKernelProfileListener','onSelfStatusChanged','onAddSendMsg','onMemberInfoChange','Windows\x2010\x20Pro',')\x20在线状态变更','message_sent','caBRh','NodeIDispatcherAdapter','proxyHandler','getMsgService','uin','IwdIi','账号设备(','OAAZM','mWMGK','stringify','getLoginList','onQRCodeSessionFailed','yTTMx','NodeIGlobalAdapter','mTXzj','result','constructor','4569676aQEBBu','onSessionInitComplete','initWithDeskTopConfig','数据库初始化失败','CnUvQ','qSMXJ','last_message_time','fileLog','addKernelBuddyListener'];_0x3ec6=function(){return _0x282e85;};return _0x3ec6();}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 34df0080..7d1c70b6 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x555a4a,_0x33809a){const _0x23dc30=_0x2da6,_0x4d410e=_0x555a4a();while(!![]){try{const _0x22368a=-parseInt(_0x23dc30(0x74))/0x1+parseInt(_0x23dc30(0x76))/0x2*(parseInt(_0x23dc30(0x7f))/0x3)+-parseInt(_0x23dc30(0x6f))/0x4*(-parseInt(_0x23dc30(0x6e))/0x5)+-parseInt(_0x23dc30(0x7c))/0x6*(parseInt(_0x23dc30(0x7d))/0x7)+-parseInt(_0x23dc30(0x70))/0x8+-parseInt(_0x23dc30(0x78))/0x9+parseInt(_0x23dc30(0x77))/0xa*(parseInt(_0x23dc30(0x7b))/0xb);if(_0x22368a===_0x33809a)break;else _0x4d410e['push'](_0x4d410e['shift']());}catch(_0x486757){_0x4d410e['push'](_0x4d410e['shift']());}}}(_0x2fdd,0x68ca3));function _0x2da6(_0x1ad1ea,_0x4ae645){const _0x2fdd08=_0x2fdd();return _0x2da6=function(_0x2da689,_0x3e693b){_0x2da689=_0x2da689-0x6c;let _0x242802=_0x2fdd08[_0x2da689];return _0x242802;},_0x2da6(_0x1ad1ea,_0x4ae645);}import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x2d56eb){const _0x3ac5f9=_0x2da6;groups[_0x3ac5f9(0x7e)](_0x2d56eb),groupMembers['delete'](_0x2d56eb);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export async function getFriend(_0x4a693e){const _0xf4980c=_0x2da6;_0x4a693e=_0x4a693e[_0xf4980c(0x73)]();if(isNumeric(_0x4a693e)){const _0xdda956=Array[_0xf4980c(0x79)](friends[_0xf4980c(0x80)]());return _0xdda956['find'](_0x2e7920=>_0x2e7920[_0xf4980c(0x6d)]===_0x4a693e);}else return friends['get'](_0x4a693e);}function _0x2fdd(){const _0x26b8f1=['13252jXfeoC','1381328btMkWx','get','YJFiY','toString','408452DHUMUQ','forEach','2728fOSJPk','30PpQdQC','6805899LskMXF','from','getGroupMembers','5666606CSfERR','33084wpUFQr','462IhQyWY','delete','48PRKBMt','values','find','uin','850LCicVP'];_0x2fdd=function(){return _0x26b8f1;};return _0x2fdd();}export async function getGroup(_0x82c25e){const _0x22895b=_0x2da6;let _0xbbf060=groups[_0x22895b(0x71)](_0x82c25e['toString']());if(!_0xbbf060)try{const _0x121d19=await NTQQGroupApi['getGroups']();_0x121d19['length']&&_0x121d19[_0x22895b(0x75)](_0x4765fc=>{groups['set'](_0x4765fc['groupCode'],_0x4765fc);});}catch(_0x4ede98){return undefined;}return _0xbbf060=groups[_0x22895b(0x71)](_0x82c25e[_0x22895b(0x73)]()),_0xbbf060;}export async function getGroupMember(_0x158a45,_0x28fc4d){const _0x5a5376=_0x2da6,_0x47eca1={'YJFiY':function(_0x33d8c5){return _0x33d8c5();}};_0x158a45=_0x158a45['toString'](),_0x28fc4d=_0x28fc4d[_0x5a5376(0x73)]();let _0x1135fa=groupMembers[_0x5a5376(0x71)](_0x158a45);if(!_0x1135fa)try{_0x1135fa=await NTQQGroupApi[_0x5a5376(0x7a)](_0x158a45),groupMembers['set'](_0x158a45,_0x1135fa);}catch(_0xaae308){return null;}const _0x1829d9=()=>{const _0x50a903=_0x5a5376;let _0x7a30e9=undefined;return isNumeric(_0x28fc4d)?_0x7a30e9=Array['from'](_0x1135fa['values']())[_0x50a903(0x6c)](_0x38a2f3=>_0x38a2f3[_0x50a903(0x6d)]===_0x28fc4d):_0x7a30e9=_0x1135fa[_0x50a903(0x71)](_0x28fc4d),_0x7a30e9;};let _0xee124f=_0x1829d9();return!_0xee124f&&(_0x1135fa=await NTQQGroupApi[_0x5a5376(0x7a)](_0x158a45),_0xee124f=_0x47eca1[_0x5a5376(0x72)](_0x1829d9)),_0xee124f;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x25ad36,_0x44511e){const _0x5014bf=_0x236c,_0x139b98=_0x25ad36();while(!![]){try{const _0x4a1046=parseInt(_0x5014bf(0x18a))/0x1*(parseInt(_0x5014bf(0x18e))/0x2)+-parseInt(_0x5014bf(0x18b))/0x3+parseInt(_0x5014bf(0x198))/0x4*(-parseInt(_0x5014bf(0x192))/0x5)+parseInt(_0x5014bf(0x19c))/0x6+-parseInt(_0x5014bf(0x18c))/0x7+-parseInt(_0x5014bf(0x19e))/0x8+-parseInt(_0x5014bf(0x19d))/0x9*(-parseInt(_0x5014bf(0x18d))/0xa);if(_0x4a1046===_0x44511e)break;else _0x139b98['push'](_0x139b98['shift']());}catch(_0x59b899){_0x139b98['push'](_0x139b98['shift']());}}}(_0x8865,0x989e9));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x20b010){const _0x479fa7=_0x236c;groups[_0x479fa7(0x194)](_0x20b010),groupMembers[_0x479fa7(0x194)](_0x20b010);}function _0x8865(){const _0x5c3568=['toString','length','4395qglUFt','from','delete','forEach','get','set','2864cyPQJp','uin','getGroups','values','6158712QfKoFE','1021401qtKBFa','489264tnaMBL','find','MfaXZ','2mYRXBP','2252184ztaqKP','7280476lVmVAk','130uZNLYO','604638tFjwwd','getGroupMembers'];_0x8865=function(){return _0x5c3568;};return _0x8865();}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x236c(_0x2b3554,_0x125ca3){const _0x8865c9=_0x8865();return _0x236c=function(_0x236cad,_0x4abe7e){_0x236cad=_0x236cad-0x188;let _0x527255=_0x8865c9[_0x236cad];return _0x527255;},_0x236c(_0x2b3554,_0x125ca3);}export async function getFriend(_0x35df6f){const _0x5b5736=_0x236c;_0x35df6f=_0x35df6f[_0x5b5736(0x190)]();if(isNumeric(_0x35df6f)){const _0x1ec635=Array[_0x5b5736(0x193)](friends['values']());return _0x1ec635['find'](_0x3e89ed=>_0x3e89ed[_0x5b5736(0x199)]===_0x35df6f);}else return friends[_0x5b5736(0x196)](_0x35df6f);}export async function getGroup(_0x4bb731){const _0x547f77=_0x236c;let _0x117676=groups[_0x547f77(0x196)](_0x4bb731[_0x547f77(0x190)]());if(!_0x117676)try{const _0x5a5c6f=await NTQQGroupApi[_0x547f77(0x19a)]();_0x5a5c6f[_0x547f77(0x191)]&&_0x5a5c6f[_0x547f77(0x195)](_0x5bf4ee=>{const _0x1e4dac=_0x547f77;groups[_0x1e4dac(0x197)](_0x5bf4ee['groupCode'],_0x5bf4ee);});}catch(_0x154cce){return undefined;}return _0x117676=groups[_0x547f77(0x196)](_0x4bb731[_0x547f77(0x190)]()),_0x117676;}export async function getGroupMember(_0x395ec1,_0x5ddbbb){const _0x518666=_0x236c,_0x3d6586={'MfaXZ':function(_0x202433,_0x25c7f3){return _0x202433(_0x25c7f3);},'GqRwF':function(_0x1f7626){return _0x1f7626();}};_0x395ec1=_0x395ec1['toString'](),_0x5ddbbb=_0x5ddbbb['toString']();let _0x4463f5=groupMembers[_0x518666(0x196)](_0x395ec1);if(!_0x4463f5)try{_0x4463f5=await NTQQGroupApi['getGroupMembers'](_0x395ec1),groupMembers[_0x518666(0x197)](_0x395ec1,_0x4463f5);}catch(_0x232996){return null;}const _0x3a67be=()=>{const _0x56307b=_0x518666;let _0x3272b9=undefined;return _0x3d6586[_0x56307b(0x189)](isNumeric,_0x5ddbbb)?_0x3272b9=Array[_0x56307b(0x193)](_0x4463f5[_0x56307b(0x19b)]())[_0x56307b(0x188)](_0x3cc32d=>_0x3cc32d[_0x56307b(0x199)]===_0x5ddbbb):_0x3272b9=_0x4463f5['get'](_0x5ddbbb),_0x3272b9;};let _0x258076=_0x3d6586['GqRwF'](_0x3a67be);return!_0x258076&&(_0x4463f5=await NTQQGroupApi[_0x518666(0x18f)](_0x395ec1),_0x258076=_0x3a67be()),_0x258076;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index b6e88f6c..ab12ec4a 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x96c2(){var _0x3e36e8=['192WPekjH','DOCUMENT','plrXj','669924TWbxYk','GIMdC','817798akGxBG','IMAGE','7900480YTGTxr','26463IWXaxS','4198292gthBQD','LyQvw','IWkMr','2591070doYGQt','VIDEO','25372494maBjDn','12EJcHGf'];_0x96c2=function(){return _0x3e36e8;};return _0x96c2();}(function(_0x2b19a9,_0xc7ed21){var _0x11789b=_0x23a1,_0x245319=_0x2b19a9();while(!![]){try{var _0x2ae602=-parseInt(_0x11789b(0xe6))/0x1+-parseInt(_0x11789b(0xe8))/0x2+parseInt(_0x11789b(0xeb))/0x3*(-parseInt(_0x11789b(0xe3))/0x4)+parseInt(_0x11789b(0xef))/0x5*(-parseInt(_0x11789b(0xe2))/0x6)+-parseInt(_0x11789b(0xec))/0x7+parseInt(_0x11789b(0xea))/0x8+parseInt(_0x11789b(0xe1))/0x9;if(_0x2ae602===_0xc7ed21)break;else _0x245319['push'](_0x245319['shift']());}catch(_0x1c6854){_0x245319['push'](_0x245319['shift']());}}}(_0x96c2,0xa3297));;function _0x23a1(_0x272bb,_0x1400e1){var _0x96c21a=_0x96c2();return _0x23a1=function(_0x23a12e,_0xd6e518){_0x23a12e=_0x23a12e-0xe0;var _0x517de0=_0x96c21a[_0x23a12e];return _0x517de0;},_0x23a1(_0x272bb,_0x1400e1);}export var CacheFileType;(function(_0x2e9be1){var _0x5b43fb=_0x23a1,_0x158ae1={'IWkMr':_0x5b43fb(0xe9),'GIMdC':_0x5b43fb(0xe0),'LyQvw':'AUDIO','kmTVl':_0x5b43fb(0xe4),'plrXj':'OTHER'};_0x2e9be1[_0x2e9be1[_0x158ae1[_0x5b43fb(0xee)]]=0x0]=_0x158ae1[_0x5b43fb(0xee)],_0x2e9be1[_0x2e9be1[_0x158ae1[_0x5b43fb(0xe7)]]=0x1]='VIDEO',_0x2e9be1[_0x2e9be1[_0x158ae1['LyQvw']]=0x2]=_0x158ae1[_0x5b43fb(0xed)],_0x2e9be1[_0x2e9be1[_0x158ae1['kmTVl']]=0x3]=_0x5b43fb(0xe4),_0x2e9be1[_0x2e9be1[_0x158ae1['plrXj']]=0x4]=_0x158ae1[_0x5b43fb(0xe5)];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +(function(_0x1418ca,_0x1a87f3){var _0x252c0a=_0x4469,_0x1f4802=_0x1418ca();while(!![]){try{var _0x416995=-parseInt(_0x252c0a(0xad))/0x1*(parseInt(_0x252c0a(0xb5))/0x2)+-parseInt(_0x252c0a(0xbc))/0x3+-parseInt(_0x252c0a(0xb0))/0x4+-parseInt(_0x252c0a(0xbb))/0x5+-parseInt(_0x252c0a(0xb9))/0x6*(-parseInt(_0x252c0a(0xb4))/0x7)+parseInt(_0x252c0a(0xb2))/0x8+parseInt(_0x252c0a(0xba))/0x9;if(_0x416995===_0x1a87f3)break;else _0x1f4802['push'](_0x1f4802['shift']());}catch(_0x3b0337){_0x1f4802['push'](_0x1f4802['shift']());}}}(_0x4acf,0xea763));;export var CacheFileType;(function(_0x66415e){var _0x213b0d=_0x4469,_0x275191={'wWrLC':'IMAGE','RyFwe':_0x213b0d(0xb6),'RixpL':_0x213b0d(0xb7),'ZwKFg':_0x213b0d(0xb1),'KNHVD':'OTHER'};_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xb3)]]=0x0]=_0x275191[_0x213b0d(0xb3)],_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xab)]]=0x1]=_0x275191[_0x213b0d(0xab)],_0x66415e[_0x66415e[_0x275191['RixpL']]=0x2]=_0x275191[_0x213b0d(0xac)],_0x66415e[_0x66415e[_0x275191[_0x213b0d(0xae)]]=0x3]=_0x275191['ZwKFg'],_0x66415e[_0x66415e[_0x213b0d(0xaf)]=0x4]=_0x275191[_0x213b0d(0xb8)];}(CacheFileType||(CacheFileType={})));function _0x4469(_0x41ea10,_0x4e3e26){var _0x4acf27=_0x4acf();return _0x4469=function(_0x446955,_0x286c37){_0x446955=_0x446955-0xab;var _0x5328c3=_0x4acf27[_0x446955];return _0x5328c3;},_0x4469(_0x41ea10,_0x4e3e26);}function _0x4acf(){var _0x186dd1=['DOCUMENT','7426168IrJvTb','wWrLC','21wYMYCw','14uKoPrF','VIDEO','AUDIO','KNHVD','1882410veBQwL','22288995rwCvuQ','2919720qtwQEf','403980urKyID','RyFwe','RixpL','182218nfuDhL','ZwKFg','OTHER','5566184OSHwcF'];_0x4acf=function(){return _0x186dd1;};return _0x4acf();} \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 01c07475..8e7efe0b 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x10b31b=_0x188f;(function(_0x3c01a0,_0xc2f464){const _0x2c22fe=_0x188f,_0x739fca=_0x3c01a0();while(!![]){try{const _0x4975b7=parseInt(_0x2c22fe(0x17b))/0x1*(-parseInt(_0x2c22fe(0x149))/0x2)+parseInt(_0x2c22fe(0x166))/0x3*(-parseInt(_0x2c22fe(0x180))/0x4)+-parseInt(_0x2c22fe(0x14d))/0x5*(-parseInt(_0x2c22fe(0x165))/0x6)+-parseInt(_0x2c22fe(0x15e))/0x7*(-parseInt(_0x2c22fe(0x189))/0x8)+parseInt(_0x2c22fe(0x13e))/0x9*(parseInt(_0x2c22fe(0x14f))/0xa)+-parseInt(_0x2c22fe(0x159))/0xb+parseInt(_0x2c22fe(0x161))/0xc;if(_0x4975b7===_0xc2f464)break;else _0x739fca['push'](_0x739fca['shift']());}catch(_0x13181f){_0x739fca['push'](_0x739fca['shift']());}}}(_0x286b,0x2d315));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x30d1e5}from'node:fs';import _0x185399 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4dc413 from'./face_config.json';import*as _0x2ed34a from'node:path';function _0x188f(_0x1d5ac6,_0x133903){const _0x286b3c=_0x286b();return _0x188f=function(_0x188fee,_0x390b62){_0x188fee=_0x188fee-0x12e;let _0x5e3252=_0x286b3c[_0x188fee];return _0x5e3252;},_0x188f(_0x1d5ac6,_0x133903);}import{SignMiniApp}from'../apis';function _0x286b(){const _0x281063=['kqOmo','5naDCnu','mKsFN','2128580mdGHdk','stat','MARKDOWN','DbOvo','FACE','mKMiq','WMODp','getImageSize','[包剪锤]','_0.png','2098756FXKaEB','mp4','zGUyq','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','XMTgF','2365923eCwGrY','gPifQ','unlink','3505260UTKDwK','https://www.bilibili.com/','gif','Ori','58062yPvRvt','11478iQhTgh','markdown','error','end','find','QSid','xIson','uploadFile','width','PIC','file','mhTaI','文件异常,大小为0','gfFhn','ark','aOnSl','then','xZxZa','join','emoji','mface','14RCsmUO','sysface','IOZBU','toString','NMWVe','332lwiHeh','Thumb','pic','set','jgTBf','ARK','PTT','语音转换失败,\x20请检查语音文件是否正常','XWPCc','8TcOGVz','bgFQR','SZZby','QDes','miniapp','ByGBk','size','catch','dice','PSNYD','gXUGP','MFACE','REPLY','rps','text','RPS','height','VIDEO','get','notAt','JuXPw','replace','dirname','获取视频封面失败,使用默认封面','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','9dKTfsx','FILE','face','AniStickerType','TSCaP','Bot\x20Test','nNXST','sep','dVxwD','ptt','NFWab','22738sHiBIc','AniStickerPackId','jpg'];_0x286b=function(){return _0x281063;};return _0x286b();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x10b31b(0x133)](_0xa6f3b5){const _0x1b5418=_0x10b31b;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xa6f3b5,'atType':AtType[_0x1b5418(0x138)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x12a461,_0x17cd4c,_0x362dac,_0x23c5c6){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x23c5c6,'atType':_0x362dac,'atUid':_0x12a461,'atTinyId':'','atNtUid':_0x17cd4c}};}static['reply'](_0x42200c,_0x1b25c3,_0x933d6a,_0x52d7c9){const _0x1d482e=_0x10b31b;return{'elementType':ElementType[_0x1d482e(0x131)],'elementId':'','replyElement':{'replayMsgSeq':_0x42200c,'replayMsgId':_0x1b25c3,'senderUin':_0x933d6a,'senderUinStr':_0x52d7c9}};}static async[_0x10b31b(0x182)](_0x38e693,_0x3691fa='',_0x2fc1a8=0x0){const _0x2197e8=_0x10b31b,_0x2e73e0={'mhTaI':function(_0xcf08f7,_0x60e024){return _0xcf08f7===_0x60e024;},'TSCaP':'文件异常,大小为0','NFWab':function(_0x5beafd,_0x5596f5){return _0x5beafd(_0x5596f5);}},{md5:_0x2fa1e6,fileName:_0x1fc787,path:_0xcc6aa7,fileSize:_0x1c91fb}=await NTQQFileApi['uploadFile'](_0x38e693,ElementType[_0x2197e8(0x16f)],_0x2fc1a8);if(_0x2e73e0[_0x2197e8(0x171)](_0x1c91fb,0x0))throw _0x2e73e0[_0x2197e8(0x142)];const _0x555235=await NTQQFileApi[_0x2197e8(0x156)](_0x38e693),_0x54157a={'md5HexStr':_0x2fa1e6,'fileSize':_0x1c91fb[_0x2197e8(0x17e)](),'picWidth':_0x555235?.[_0x2197e8(0x16e)],'picHeight':_0x555235?.['height'],'fileName':_0x1fc787,'sourcePath':_0xcc6aa7,'original':!![],'picType':_0x2e73e0[_0x2197e8(0x148)](isGIF,_0x38e693)?PicType[_0x2197e8(0x163)]:PicType[_0x2197e8(0x14b)],'picSubType':_0x2fc1a8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3691fa};return{'elementType':ElementType[_0x2197e8(0x16f)],'elementId':'','picElement':_0x54157a};}static async[_0x10b31b(0x170)](_0xd23165,_0x482eac='',_0xd11249=''){const _0x27cd5f=_0x10b31b,_0x5b9898={'kqOmo':function(_0x3cca18,_0x49d827){return _0x3cca18===_0x49d827;},'dVxwD':_0x27cd5f(0x172),'QRfnI':function(_0x422d48,_0x11326d){return _0x422d48||_0x11326d;}},{md5:_0x45a623,fileName:_0x22b7cc,path:_0xcd6789,fileSize:_0x79769e}=await NTQQFileApi['uploadFile'](_0xd23165,ElementType[_0x27cd5f(0x13f)]);if(_0x5b9898[_0x27cd5f(0x14c)](_0x79769e,0x0))throw _0x5b9898[_0x27cd5f(0x146)];const _0x309ce6={'elementType':ElementType[_0x27cd5f(0x13f)],'elementId':'','fileElement':{'fileName':_0x5b9898['QRfnI'](_0x482eac,_0x22b7cc),'folderId':_0xd11249,'filePath':_0xcd6789,'fileSize':_0x79769e['toString']()}};return _0x309ce6;}static async['video'](_0x342c54,_0x2f802a='',_0x4d60f8=''){const _0x3ab55d=_0x10b31b,_0x452da4={'IdiBf':_0x3ab55d(0x13c),'jgTBf':function(_0x594576,_0x581a78){return _0x594576(_0x581a78);},'PSNYD':_0x3ab55d(0x169),'xIson':_0x3ab55d(0x168),'zGUyq':function(_0x4a99d4,_0x346aae){return _0x4a99d4+_0x346aae;},'XMTgF':function(_0x1f6358,_0x11d762){return _0x1f6358===_0x11d762;},'IOZBU':_0x3ab55d(0x172),'bgFQR':_0x3ab55d(0x15a),'gfFhn':function(_0x28bb76,_0x1f23cb,_0x387b53){return _0x28bb76(_0x1f23cb,_0x387b53);},'UUWsQ':function(_0x2a7660,_0x3c2454){return _0x2a7660(_0x3c2454);},'gXUGP':function(_0x154534,_0x2d33cd){return _0x154534||_0x2d33cd;},'DbOvo':function(_0x256d93,_0x244439){return _0x256d93+_0x244439;}},{fileName:_0x3f5af4,path:_0x4d91e0,fileSize:_0x28a6c1,md5:_0x29c659}=await NTQQFileApi[_0x3ab55d(0x16d)](_0x342c54,ElementType['VIDEO']);if(_0x452da4[_0x3ab55d(0x15d)](_0x28a6c1,0x0))throw _0x452da4[_0x3ab55d(0x17d)];let _0x1bdf0f=_0x4d91e0[_0x3ab55d(0x13a)](_0x2ed34a[_0x3ab55d(0x145)]+_0x3ab55d(0x164)+_0x2ed34a['sep'],_0x2ed34a[_0x3ab55d(0x145)]+_0x3ab55d(0x181)+_0x2ed34a[_0x3ab55d(0x145)]);_0x1bdf0f=_0x2ed34a[_0x3ab55d(0x13b)](_0x1bdf0f);let _0x2a090e={'width':0x780,'height':0x438,'time':0xf,'format':_0x452da4[_0x3ab55d(0x18a)],'size':_0x28a6c1,'filePath':_0x342c54};try{_0x2a090e=await _0x452da4['jgTBf'](getVideoInfo,_0x4d91e0);}catch(_0x478c55){_0x452da4[_0x3ab55d(0x173)](logError,'获取视频信息失败',_0x478c55);}const _0x9ef66c=new Promise((_0x58b559,_0xafb66c)=>{const _0x2032a6=_0x3ab55d,_0x1e795c={'JuXPw':function(_0x14d2e1,_0x31c482){const _0x87b90f=_0x188f;return _0x452da4[_0x87b90f(0x184)](_0x14d2e1,_0x31c482);}},_0x4a2e6b=_0x29c659+_0x2032a6(0x158),_0x2bd327=_0x2ed34a[_0x2032a6(0x178)](_0x1bdf0f,_0x4a2e6b);_0x452da4[_0x2032a6(0x184)](_0x185399,_0x342c54)['on'](_0x452da4[_0x2032a6(0x12e)],()=>{})['on'](_0x452da4[_0x2032a6(0x16c)],_0x21325b=>{const _0x1512ac=_0x2032a6;logDebug(_0x452da4['IdiBf'],_0x21325b),_0x4d60f8?_0x30d1e5['copyFile'](_0x4d60f8,_0x2bd327)[_0x1512ac(0x176)](()=>{_0x58b559(_0x2bd327);})[_0x1512ac(0x190)](_0xafb66c):_0x30d1e5['writeFile'](_0x2bd327,defaultVideoThumb)[_0x1512ac(0x176)](()=>{const _0x3e8e1d=_0x1512ac;_0x1e795c[_0x3e8e1d(0x139)](_0x58b559,_0x2bd327);})[_0x1512ac(0x190)](_0xafb66c);})['screenshots']({'timestamps':[0x0],'filename':_0x4a2e6b,'folder':_0x1bdf0f,'size':_0x452da4[_0x2032a6(0x15b)](_0x2a090e['width'],'x')+_0x2a090e[_0x2032a6(0x135)]})['on'](_0x452da4['PSNYD'],()=>{_0x1e795c['JuXPw'](_0x58b559,_0x2bd327);});}),_0x1cce02=new Map(),_0x107ad0=await _0x9ef66c,_0x29508a=(await _0x30d1e5[_0x3ab55d(0x150)](_0x107ad0))[_0x3ab55d(0x18f)];_0x1cce02[_0x3ab55d(0x183)](0x0,_0x107ad0);const _0x3dca77=await _0x452da4['UUWsQ'](calculateFileMD5,_0x107ad0),_0x3a6bc0={'elementType':ElementType[_0x3ab55d(0x136)],'elementId':'','videoElement':{'fileName':_0x452da4[_0x3ab55d(0x12f)](_0x2f802a,_0x3f5af4),'filePath':_0x4d91e0,'videoMd5':_0x29c659,'thumbMd5':_0x3dca77,'fileTime':_0x2a090e['time'],'thumbPath':_0x1cce02,'thumbSize':_0x29508a,'thumbWidth':_0x2a090e[_0x3ab55d(0x16e)],'thumbHeight':_0x2a090e[_0x3ab55d(0x135)],'fileSize':_0x452da4[_0x3ab55d(0x152)]('',_0x28a6c1)}};return _0x3a6bc0;}static async[_0x10b31b(0x147)](_0x3c316d){const _0x52ff53=_0x10b31b,_0x290674={'NMWVe':function(_0x58a9fe,_0x4422ba){return _0x58a9fe(_0x4422ba);},'EQcqO':_0x52ff53(0x187),'dkGKT':function(_0x34ed6e,_0x2146bc){return _0x34ed6e===_0x2146bc;},'aOnSl':function(_0x2c9120,_0x5f5594){return _0x2c9120||_0x5f5594;}},{converted:_0x443e1c,path:_0x3a33d2,duration:_0x226378}=await _0x290674[_0x52ff53(0x17f)](encodeSilk,_0x3c316d);if(!_0x3a33d2)throw _0x290674['EQcqO'];const {md5:_0x525980,fileName:_0x5803fe,path:_0xb894f3,fileSize:_0x327495}=await NTQQFileApi[_0x52ff53(0x16d)](_0x3a33d2,ElementType[_0x52ff53(0x186)]);if(_0x290674['dkGKT'](_0x327495,0x0))throw _0x52ff53(0x172);return _0x443e1c&&_0x30d1e5[_0x52ff53(0x160)](_0x3a33d2)[_0x52ff53(0x176)](),{'elementType':ElementType[_0x52ff53(0x186)],'elementId':'','pttElement':{'fileName':_0x5803fe,'filePath':_0xb894f3,'md5HexStr':_0x525980,'fileSize':_0x327495,'duration':_0x290674[_0x52ff53(0x175)](_0x226378,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x10b31b(0x140)](_0x24a50e){const _0x58f2c2=_0x10b31b,_0x179c3c={'SZZby':function(_0x37eb86,_0x2ba951){return _0x37eb86(_0x2ba951);}},_0x4f1c6f=_0x4dc413[_0x58f2c2(0x17c)],_0x45370c=_0x4dc413[_0x58f2c2(0x179)],_0x253cc2=_0x4f1c6f[_0x58f2c2(0x16a)](_0x4b78c8=>_0x4b78c8[_0x58f2c2(0x16b)]===_0x24a50e[_0x58f2c2(0x17e)]());_0x24a50e=_0x179c3c[_0x58f2c2(0x18b)](parseInt,_0x24a50e[_0x58f2c2(0x17e)]());let _0x3b02cf=0x1;return _0x24a50e>=0xde&&(_0x3b02cf=0x2),_0x253cc2[_0x58f2c2(0x141)]&&(_0x3b02cf=0x3),{'elementType':ElementType[_0x58f2c2(0x153)],'elementId':'','faceElement':{'faceIndex':_0x24a50e,'faceType':_0x3b02cf,'faceText':_0x253cc2[_0x58f2c2(0x18c)],'stickerId':_0x253cc2['AniStickerId'],'stickerType':_0x253cc2[_0x58f2c2(0x141)],'packId':_0x253cc2[_0x58f2c2(0x14a)],'sourceType':0x1}};}static[_0x10b31b(0x17a)](_0x308dce,_0x4e3536,_0x4109b3,_0x20b5cf){const _0x2fa207=_0x10b31b,_0x3ab63e={'nNXST':'[商城表情]'};return{'elementType':ElementType[_0x2fa207(0x130)],'marketFaceElement':{'emojiPackageId':_0x308dce,'emojiId':_0x4e3536,'key':_0x4109b3,'faceName':_0x20b5cf||mFaceCache[_0x2fa207(0x137)](_0x4e3536)||_0x3ab63e[_0x2fa207(0x144)]}};}static['dice'](_0x4a813f){const _0x5a5b83=_0x10b31b,_0x2c712e={'xZxZa':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5a5b83(0x191)],'faceType':FaceType[_0x5a5b83(0x191)],'faceText':_0x2c712e[_0x5a5b83(0x177)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10b31b(0x132)](_0x5349c0){const _0x5707a6=_0x10b31b,_0x41072d={'mKsFN':_0x5707a6(0x157)};return{'elementType':ElementType[_0x5707a6(0x153)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x5707a6(0x134)],'faceText':_0x41072d[_0x5707a6(0x14e)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x10b31b(0x174)](_0x3d0735){const _0x5eb862=_0x10b31b,_0x11ba24={'mKMiq':'string'};return typeof _0x3d0735!==_0x11ba24[_0x5eb862(0x154)]&&(_0x3d0735=JSON['stringify'](_0x3d0735)),{'elementType':ElementType[_0x5eb862(0x185)],'elementId':'','arkElement':{'bytesData':_0x3d0735,'linkInfo':null,'subElementType':null}};}static[_0x10b31b(0x167)](_0x52a93a){const _0xdba129=_0x10b31b;return{'elementType':ElementType[_0xdba129(0x151)],'elementId':'','markdownElement':{'content':_0x52a93a}};}static async[_0x10b31b(0x18d)](){const _0x413823=_0x10b31b,_0x16b67f={'WMODp':_0x413823(0x143),'gPifQ':_0x413823(0x13d),'XWPCc':_0x413823(0x162),'ByGBk':_0x413823(0x15c)};let _0x45f142=await SignMiniApp({'prompt':_0x16b67f[_0x413823(0x155)],'title':_0x16b67f[_0x413823(0x155)],'preview':_0x16b67f[_0x413823(0x15f)],'jumpUrl':_0x16b67f[_0x413823(0x188)],'tag':_0x413823(0x143),'tagIcon':_0x413823(0x15c),'source':_0x413823(0x143),'sourcelogo':_0x16b67f[_0x413823(0x18e)]});return{'elementType':ElementType[_0x413823(0x185)],'elementId':'','arkElement':{'bytesData':_0x45f142,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x2b1e51=_0x53e0;(function(_0x54cf5f,_0x2bfc5f){const _0xd90fc2=_0x53e0,_0x21d1a0=_0x54cf5f();while(!![]){try{const _0x30497e=parseInt(_0xd90fc2(0x1f5))/0x1+-parseInt(_0xd90fc2(0x1f8))/0x2+parseInt(_0xd90fc2(0x1d5))/0x3+-parseInt(_0xd90fc2(0x1e2))/0x4*(-parseInt(_0xd90fc2(0x1ce))/0x5)+-parseInt(_0xd90fc2(0x210))/0x6*(-parseInt(_0xd90fc2(0x1e1))/0x7)+-parseInt(_0xd90fc2(0x1fe))/0x8+-parseInt(_0xd90fc2(0x1de))/0x9;if(_0x30497e===_0x2bfc5f)break;else _0x21d1a0['push'](_0x21d1a0['shift']());}catch(_0x132392){_0x21d1a0['push'](_0x21d1a0['shift']());}}}(_0x2d97,0x64db7));function _0x53e0(_0xe79374,_0x4ee8bb){const _0x2d97f2=_0x2d97();return _0x53e0=function(_0x53e0d0,_0x49a94a){_0x53e0d0=_0x53e0d0-0x1c6;let _0x1624c0=_0x2d97f2[_0x53e0d0];return _0x1624c0;},_0x53e0(_0xe79374,_0x4ee8bb);}function _0x2d97(){const _0x5c6dc7=['iiGdG','face','rpzkw','bckue','uploadFile','end','pic','PTT','DZPfX','Ori','video','sysface','ptt','TEXT','get','ARK','4778694krZtpC','获取视频信息失败','获取视频封面失败,使用默认封面','unlink','文件异常,大小为0','time','join','RPS','QSid','file','lczrN','toString','getImageSize','then','_0.png','FRRUU','mp4','sep','EbXDX','FILE','reply','stat','VIDEO','writeFile','replace','gif','2980DxAXMV','UfpTW','FACE','RNSNK','XYOOi','Thumb','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','2252472SmiibT','[骰子]','AniStickerPackId','string','ZjPvu','AniStickerType','find','catch','height','19312317nYYdqe','copyFile','[包剪锤]','7EBSTgD','3604iJcDUa','Bot\x20Test','MARKDOWN','width','tLeea','PIC','jpg','stringify','dvRvN','REPLY','rps','tMkcz','MFACE','ZMxlI','screenshots','SMWHQ','dice','jesep','mface','754051VqnvVF','qMlUz','语音转换失败,\x20请检查语音文件是否正常','398418FrSqBe','trlEc','YolIg','size','hzmXc','ZnyyW','641496CNFnwu','markdown'];_0x2d97=function(){return _0x5c6dc7;};return _0x2d97();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x39151b}from'node:fs';import _0x35f2dd from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x55295e from'./face_config.json';import*as _0x35301f from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x5174ac){const _0x6cbe35=_0x53e0;return{'elementType':ElementType[_0x6cbe35(0x20d)],'elementId':'','textElement':{'content':_0x5174ac,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x88c26,_0x441957,_0x3af8c0,_0x255f3a){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x255f3a,'atType':_0x3af8c0,'atUid':_0x88c26,'atTinyId':'','atNtUid':_0x441957}};}static[_0x2b1e51(0x1c8)](_0x41f691,_0x427b76,_0x21c0b7,_0x47c705){const _0x4dc9f5=_0x2b1e51;return{'elementType':ElementType[_0x4dc9f5(0x1eb)],'elementId':'','replyElement':{'replayMsgSeq':_0x41f691,'replayMsgId':_0x427b76,'senderUin':_0x21c0b7,'senderUinStr':_0x47c705}};}static async[_0x2b1e51(0x206)](_0x4800e0,_0x29497c='',_0x93ff3e=0x0){const _0x5bc5d0=_0x2b1e51,_0x2f98b3={'qQdOF':function(_0x57f00e,_0x511898){return _0x57f00e===_0x511898;},'XYOOi':'文件异常,大小为0','lczrN':function(_0xea791b,_0x49ce32){return _0xea791b(_0x49ce32);}},{md5:_0x3dc29e,fileName:_0x4cc014,path:_0x26cf5d,fileSize:_0x41c8f0}=await NTQQFileApi['uploadFile'](_0x4800e0,ElementType[_0x5bc5d0(0x1e7)],_0x93ff3e);if(_0x2f98b3['qQdOF'](_0x41c8f0,0x0))throw _0x2f98b3[_0x5bc5d0(0x1d2)];const _0x1255ac=await NTQQFileApi[_0x5bc5d0(0x21c)](_0x4800e0),_0x519895={'md5HexStr':_0x3dc29e,'fileSize':_0x41c8f0['toString'](),'picWidth':_0x1255ac?.[_0x5bc5d0(0x1e5)],'picHeight':_0x1255ac?.[_0x5bc5d0(0x1dd)],'fileName':_0x4cc014,'sourcePath':_0x26cf5d,'original':!![],'picType':_0x2f98b3[_0x5bc5d0(0x21a)](isGIF,_0x4800e0)?PicType[_0x5bc5d0(0x1cd)]:PicType[_0x5bc5d0(0x1e8)],'picSubType':_0x93ff3e,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x29497c};return{'elementType':ElementType[_0x5bc5d0(0x1e7)],'elementId':'','picElement':_0x519895};}static async[_0x2b1e51(0x219)](_0x213329,_0x867b01='',_0x1447d0=''){const _0x202c97=_0x2b1e51,_0x190c56={'UfpTW':_0x202c97(0x214),'YaHQZ':function(_0x13453f,_0x48ce45){return _0x13453f||_0x48ce45;}},{md5:_0x1741b8,fileName:_0x15e0e7,path:_0x258e0a,fileSize:_0xeb2522}=await NTQQFileApi[_0x202c97(0x204)](_0x213329,ElementType[_0x202c97(0x1c7)]);if(_0xeb2522===0x0)throw _0x190c56[_0x202c97(0x1cf)];const _0x1db23a={'elementType':ElementType[_0x202c97(0x1c7)],'elementId':'','fileElement':{'fileName':_0x190c56['YaHQZ'](_0x867b01,_0x15e0e7),'folderId':_0x1447d0,'filePath':_0x258e0a,'fileSize':_0xeb2522[_0x202c97(0x21b)]()}};return _0x1db23a;}static async[_0x2b1e51(0x20a)](_0x56112f,_0x3f0dc3='',_0x220bcc=''){const _0x168f7b=_0x2b1e51,_0x586d9a={'EbXDX':function(_0x4fe7ba,_0x3670cc,_0x3ef63e){return _0x4fe7ba(_0x3670cc,_0x3ef63e);},'iiGdG':_0x168f7b(0x212),'tLeea':function(_0x5e2b70,_0x154a85){return _0x5e2b70(_0x154a85);},'rpzkw':'error','IgauL':function(_0x159ad9,_0xbce91f){return _0x159ad9+_0xbce91f;},'SMWHQ':function(_0x37de2c,_0x1bca4b){return _0x37de2c===_0x1bca4b;},'tMkcz':_0x168f7b(0x214),'bckue':_0x168f7b(0x220),'RNSNK':_0x168f7b(0x211),'qMlUz':function(_0x3a111e,_0x3f17ab){return _0x3a111e||_0x3f17ab;}},{fileName:_0x2e469b,path:_0x1003cd,fileSize:_0x4451e2,md5:_0x47a983}=await NTQQFileApi[_0x168f7b(0x204)](_0x56112f,ElementType[_0x168f7b(0x1ca)]);if(_0x586d9a[_0x168f7b(0x1f1)](_0x4451e2,0x0))throw _0x586d9a[_0x168f7b(0x1ed)];let _0x1e315b=_0x1003cd[_0x168f7b(0x1cc)](_0x35301f['sep']+_0x168f7b(0x209)+_0x35301f[_0x168f7b(0x221)],_0x35301f[_0x168f7b(0x221)]+_0x168f7b(0x1d3)+_0x35301f[_0x168f7b(0x221)]);_0x1e315b=_0x35301f['dirname'](_0x1e315b);let _0x382378={'width':0x780,'height':0x438,'time':0xf,'format':_0x586d9a[_0x168f7b(0x203)],'size':_0x4451e2,'filePath':_0x56112f};try{_0x382378=await getVideoInfo(_0x1003cd);}catch(_0x400f4c){logError(_0x586d9a[_0x168f7b(0x1d1)],_0x400f4c);}const _0x2e59d0=new Promise((_0xbdaa95,_0x51ffbe)=>{const _0x38ce28=_0x168f7b,_0x1a67ff={'YolIg':function(_0x47f1ee,_0x3bc04e){const _0x44ed61=_0x53e0;return _0x586d9a[_0x44ed61(0x1e6)](_0x47f1ee,_0x3bc04e);}},_0x439440=_0x47a983+_0x38ce28(0x21e),_0x2b4ed1=_0x35301f[_0x38ce28(0x216)](_0x1e315b,_0x439440);_0x586d9a[_0x38ce28(0x1e6)](_0x35f2dd,_0x56112f)['on']('end',()=>{})['on'](_0x586d9a[_0x38ce28(0x202)],_0x126e54=>{const _0x197d21=_0x38ce28;_0x586d9a[_0x197d21(0x1c6)](logDebug,_0x586d9a[_0x197d21(0x200)],_0x126e54),_0x220bcc?_0x39151b[_0x197d21(0x1df)](_0x220bcc,_0x2b4ed1)[_0x197d21(0x21d)](()=>{const _0x81e3ec=_0x197d21;_0x1a67ff[_0x81e3ec(0x1fa)](_0xbdaa95,_0x2b4ed1);})['catch'](_0x51ffbe):_0x39151b[_0x197d21(0x1cb)](_0x2b4ed1,defaultVideoThumb)[_0x197d21(0x21d)](()=>{_0xbdaa95(_0x2b4ed1);})[_0x197d21(0x1dc)](_0x51ffbe);})[_0x38ce28(0x1f0)]({'timestamps':[0x0],'filename':_0x439440,'folder':_0x1e315b,'size':_0x586d9a['IgauL'](_0x382378[_0x38ce28(0x1e5)],'x')+_0x382378[_0x38ce28(0x1dd)]})['on'](_0x38ce28(0x205),()=>{_0xbdaa95(_0x2b4ed1);});}),_0x1326c4=new Map(),_0x3e0448=await _0x2e59d0,_0x3958a5=(await _0x39151b[_0x168f7b(0x1c9)](_0x3e0448))[_0x168f7b(0x1fb)];_0x1326c4['set'](0x0,_0x3e0448);const _0xac7284=await _0x586d9a[_0x168f7b(0x1e6)](calculateFileMD5,_0x3e0448),_0x2ec9c8={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x586d9a[_0x168f7b(0x1f6)](_0x3f0dc3,_0x2e469b),'filePath':_0x1003cd,'videoMd5':_0x47a983,'thumbMd5':_0xac7284,'fileTime':_0x382378[_0x168f7b(0x215)],'thumbPath':_0x1326c4,'thumbSize':_0x3958a5,'thumbWidth':_0x382378['width'],'thumbHeight':_0x382378[_0x168f7b(0x1dd)],'fileSize':''+_0x4451e2}};return _0x2ec9c8;}static async[_0x2b1e51(0x20c)](_0x14d532){const _0x3765ac=_0x2b1e51,_0x29ba02={'ZjPvu':function(_0x47489d,_0x368818){return _0x47489d(_0x368818);},'afkco':_0x3765ac(0x1f7),'nHGAn':function(_0x5948da,_0xc36f4c){return _0x5948da===_0xc36f4c;},'trlEc':_0x3765ac(0x214),'ZMxlI':function(_0x11392a,_0x297254){return _0x11392a||_0x297254;}},{converted:_0x2f04c4,path:_0x4187f5,duration:_0x115ae6}=await _0x29ba02[_0x3765ac(0x1d9)](encodeSilk,_0x14d532);if(!_0x4187f5)throw _0x29ba02['afkco'];const {md5:_0x40042c,fileName:_0x2703a5,path:_0x2c4d42,fileSize:_0x136dde}=await NTQQFileApi[_0x3765ac(0x204)](_0x4187f5,ElementType[_0x3765ac(0x207)]);if(_0x29ba02['nHGAn'](_0x136dde,0x0))throw _0x29ba02[_0x3765ac(0x1f9)];return _0x2f04c4&&_0x39151b[_0x3765ac(0x213)](_0x4187f5)['then'](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x2703a5,'filePath':_0x2c4d42,'md5HexStr':_0x40042c,'fileSize':_0x136dde,'duration':_0x29ba02[_0x3765ac(0x1ef)](_0x115ae6,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x2b1e51(0x201)](_0x115390){const _0x358570=_0x2b1e51,_0x30c8ac={'dvRvN':function(_0x2154ce,_0x2f1777){return _0x2154ce>=_0x2f1777;}},_0x9255de=_0x55295e[_0x358570(0x20b)],_0x2991d3=_0x55295e['emoji'],_0xe387ab=_0x9255de[_0x358570(0x1db)](_0x290c06=>_0x290c06[_0x358570(0x218)]===_0x115390['toString']());_0x115390=parseInt(_0x115390[_0x358570(0x21b)]());let _0x15c319=0x1;return _0x30c8ac[_0x358570(0x1ea)](_0x115390,0xde)&&(_0x15c319=0x2),_0xe387ab['AniStickerType']&&(_0x15c319=0x3),{'elementType':ElementType[_0x358570(0x1d0)],'elementId':'','faceElement':{'faceIndex':_0x115390,'faceType':_0x15c319,'faceText':_0xe387ab['QDes'],'stickerId':_0xe387ab['AniStickerId'],'stickerType':_0xe387ab[_0x358570(0x1da)],'packId':_0xe387ab[_0x358570(0x1d7)],'sourceType':0x1}};}static[_0x2b1e51(0x1f4)](_0x3e7e83,_0x258046,_0x5801c3,_0x5ec15f){const _0x4c1889=_0x2b1e51,_0x148710={'jesep':'[商城表情]'};return{'elementType':ElementType[_0x4c1889(0x1ee)],'marketFaceElement':{'emojiPackageId':_0x3e7e83,'emojiId':_0x258046,'key':_0x5801c3,'faceName':_0x5ec15f||mFaceCache[_0x4c1889(0x20e)](_0x258046)||_0x148710[_0x4c1889(0x1f3)]}};}static[_0x2b1e51(0x1f2)](_0x1e7a24){const _0x2808ac=_0x2b1e51;return{'elementType':ElementType[_0x2808ac(0x1d0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x2808ac(0x1f2)],'faceText':_0x2808ac(0x1d6),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2b1e51(0x1ec)](_0x378102){const _0x3518f5=_0x2b1e51,_0x2c6116={'FawxQ':_0x3518f5(0x1e0)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x3518f5(0x217)],'faceText':_0x2c6116['FawxQ'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x2770ca){const _0x34c2d5=_0x2b1e51,_0x4d4d75={'DZPfX':function(_0x546716,_0x3fbfa3){return _0x546716!==_0x3fbfa3;},'FRRUU':_0x34c2d5(0x1d8)};return _0x4d4d75[_0x34c2d5(0x208)](typeof _0x2770ca,_0x4d4d75[_0x34c2d5(0x21f)])&&(_0x2770ca=JSON[_0x34c2d5(0x1e9)](_0x2770ca)),{'elementType':ElementType[_0x34c2d5(0x20f)],'elementId':'','arkElement':{'bytesData':_0x2770ca,'linkInfo':null,'subElementType':null}};}static[_0x2b1e51(0x1ff)](_0x439ed5){const _0x375eed=_0x2b1e51;return{'elementType':ElementType[_0x375eed(0x1e4)],'elementId':'','markdownElement':{'content':_0x439ed5}};}static async['miniapp'](){const _0x39a05a=_0x2b1e51,_0x5b6d2a={'ZnyyW':_0x39a05a(0x1e3),'uqwLI':'https://www.bilibili.com/','hzmXc':'https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png'};let _0xf1efd8=await SignMiniApp({'prompt':_0x5b6d2a[_0x39a05a(0x1fd)],'title':_0x39a05a(0x1e3),'preview':_0x39a05a(0x1d4),'jumpUrl':_0x5b6d2a['uqwLI'],'tag':_0x5b6d2a[_0x39a05a(0x1fd)],'tagIcon':_0x5b6d2a['hzmXc'],'source':_0x5b6d2a['ZnyyW'],'sourcelogo':_0x5b6d2a[_0x39a05a(0x1fc)]});return{'elementType':ElementType[_0x39a05a(0x20f)],'elementId':'','arkElement':{'bytesData':_0xf1efd8,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index d9d2cf4d..30a2d64f 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x204729,_0x37c77b){var _0x1d72d0=_0x12c4,_0x464809=_0x204729();while(!![]){try{var _0x2e36de=parseInt(_0x1d72d0(0x17e))/0x1*(parseInt(_0x1d72d0(0x177))/0x2)+-parseInt(_0x1d72d0(0x175))/0x3*(parseInt(_0x1d72d0(0x176))/0x4)+parseInt(_0x1d72d0(0x179))/0x5+parseInt(_0x1d72d0(0x173))/0x6*(-parseInt(_0x1d72d0(0x181))/0x7)+-parseInt(_0x1d72d0(0x17c))/0x8+parseInt(_0x1d72d0(0x182))/0x9*(-parseInt(_0x1d72d0(0x17d))/0xa)+-parseInt(_0x1d72d0(0x17f))/0xb*(-parseInt(_0x1d72d0(0x180))/0xc);if(_0x2e36de===_0x37c77b)break;else _0x464809['push'](_0x464809['shift']());}catch(_0xb37446){_0x464809['push'](_0x464809['shift']());}}}(_0x4093,0x9c055));function _0x4093(){var _0x322082=['owner','31345mXJHIR','admin','normal','2888800JRCRXb','10vxLdur','76627AcAEEr','81202FbbLTa','4200DTkXFs','84SeIWCM','6588261fneEjd','xnZuS','254622fTomXr','PHetd','3lwGQfr','2007156EznjhR','4nuVCkl'];_0x4093=function(){return _0x322082;};return _0x4093();}function _0x12c4(_0x3202ab,_0x37eebb){var _0x409391=_0x4093();return _0x12c4=function(_0x12c44b,_0x663350){_0x12c44b=_0x12c44b-0x173;var _0x4ef161=_0x409391[_0x12c44b];return _0x4ef161;},_0x12c4(_0x3202ab,_0x37eebb);}export var GroupMemberRole;(function(_0x4d7c2f){var _0x234129=_0x12c4,_0x38fe6a={'PHetd':_0x234129(0x17b),'xnZuS':_0x234129(0x17a),'erzet':'owner'};_0x4d7c2f[_0x4d7c2f[_0x38fe6a['PHetd']]=0x2]=_0x38fe6a[_0x234129(0x174)],_0x4d7c2f[_0x4d7c2f[_0x38fe6a[_0x234129(0x183)]]=0x3]=_0x38fe6a[_0x234129(0x183)],_0x4d7c2f[_0x4d7c2f[_0x38fe6a['erzet']]=0x4]=_0x234129(0x178);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +function _0x361e(){var _0x3a450a=['5385840rYjMpJ','740650howzCl','3490778VxhGJX','yoghs','ymqXU','4463340CSIOwt','admin','426ocniDh','owner','1949264flRriu','77371ZdjUVm','4028865DfOAul'];_0x361e=function(){return _0x3a450a;};return _0x361e();}(function(_0x2c3f15,_0x25cfa8){var _0x34c76c=_0x4817,_0xff83e9=_0x2c3f15();while(!![]){try{var _0x5bfd1f=parseInt(_0x34c76c(0x171))/0x1+parseInt(_0x34c76c(0x172))/0x2+-parseInt(_0x34c76c(0x170))/0x3+-parseInt(_0x34c76c(0x169))/0x4+parseInt(_0x34c76c(0x16f))/0x5+parseInt(_0x34c76c(0x16b))/0x6*(parseInt(_0x34c76c(0x16e))/0x7)+-parseInt(_0x34c76c(0x16d))/0x8;if(_0x5bfd1f===_0x25cfa8)break;else _0xff83e9['push'](_0xff83e9['shift']());}catch(_0x3129e3){_0xff83e9['push'](_0xff83e9['shift']());}}}(_0x361e,0xe10ca));export var GroupMemberRole;function _0x4817(_0x2ae5df,_0x58e12c){var _0x361e6f=_0x361e();return _0x4817=function(_0x481723,_0x12e99f){_0x481723=_0x481723-0x169;var _0xf31851=_0x361e6f[_0x481723];return _0xf31851;},_0x4817(_0x2ae5df,_0x58e12c);}(function(_0x317e45){var _0x3498b7=_0x4817,_0x5c3f61={'yoghs':_0x3498b7(0x16a),'ymqXU':_0x3498b7(0x16c)};_0x317e45[_0x317e45['normal']=0x2]='normal',_0x317e45[_0x317e45['admin']=0x3]=_0x5c3f61[_0x3498b7(0x173)],_0x317e45[_0x317e45[_0x5c3f61[_0x3498b7(0x174)]]=0x4]=_0x5c3f61['ymqXU'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index c7c70df6..cfd40186 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -function _0x5cb6(_0x83e5b6,_0x31bc30){var _0x21c3f5=_0x21c3();return _0x5cb6=function(_0x5cb67f,_0x3cb5aa){_0x5cb67f=_0x5cb67f-0xd6;var _0x30a36a=_0x21c3f5[_0x5cb67f];return _0x30a36a;},_0x5cb6(_0x83e5b6,_0x31bc30);}(function(_0x1d2749,_0x12ad40){var _0x5a05aa=_0x5cb6,_0x1d67e2=_0x1d2749();while(!![]){try{var _0x5c8480=-parseInt(_0x5a05aa(0xdf))/0x1+-parseInt(_0x5a05aa(0xd8))/0x2+parseInt(_0x5a05aa(0xd9))/0x3+-parseInt(_0x5a05aa(0xd7))/0x4*(-parseInt(_0x5a05aa(0xde))/0x5)+parseInt(_0x5a05aa(0xd6))/0x6+-parseInt(_0x5a05aa(0xdc))/0x7*(parseInt(_0x5a05aa(0xdb))/0x8)+-parseInt(_0x5a05aa(0xda))/0x9*(parseInt(_0x5a05aa(0xdd))/0xa);if(_0x5c8480===_0x12ad40)break;else _0x1d67e2['push'](_0x1d67e2['shift']());}catch(_0x358605){_0x1d67e2['push'](_0x1d67e2['shift']());}}}(_0x21c3,0x54e03));export*from'./user';export*from'./group';function _0x21c3(){var _0x2d292f=['2903176ePDhpd','7HFTEEK','620qgQfdk','1731490xeuGBH','365811qoyNjQ','3224736HKGszR','4FcbjnI','184510UDQSHk','2033262DHfCYO','57033LCaVWr'];_0x21c3=function(){return _0x2d292f;};return _0x21c3();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0xa9614,_0x35d3fc){var _0x1d4072=_0x2f84,_0x768ea7=_0xa9614();while(!![]){try{var _0x3c8f53=parseInt(_0x1d4072(0x166))/0x1+parseInt(_0x1d4072(0x162))/0x2+-parseInt(_0x1d4072(0x167))/0x3*(parseInt(_0x1d4072(0x164))/0x4)+parseInt(_0x1d4072(0x160))/0x5+-parseInt(_0x1d4072(0x161))/0x6+-parseInt(_0x1d4072(0x15f))/0x7+parseInt(_0x1d4072(0x165))/0x8*(parseInt(_0x1d4072(0x163))/0x9);if(_0x3c8f53===_0x35d3fc)break;else _0x768ea7['push'](_0x768ea7['shift']());}catch(_0x5ccf81){_0x768ea7['push'](_0x768ea7['shift']());}}}(_0x320d,0xd9319));function _0x320d(){var _0x50fe3c=['1819248UKeMzc','1294721lyDodx','21JiXtuJ','9863469LmIcne','6521930hgAgyh','2265234UxNmHs','131090sqvOea','18SRvFIo','253276LMyRuJ'];_0x320d=function(){return _0x50fe3c;};return _0x320d();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x2f84(_0xeb99d6,_0x23315e){var _0x320d12=_0x320d();return _0x2f84=function(_0x2f8495,_0x3a101f){_0x2f8495=_0x2f8495-0x15f;var _0x3b52da=_0x320d12[_0x2f8495];return _0x3b52da;},_0x2f84(_0xeb99d6,_0x23315e);}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 211e45e8..70862fc4 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0xe491d6=_0x28c4;(function(_0x3dc1a2,_0x41964d){var _0xdcf107=_0x28c4,_0xb2c930=_0x3dc1a2();while(!![]){try{var _0xa1b675=parseInt(_0xdcf107(0x1ef))/0x1+parseInt(_0xdcf107(0x212))/0x2+parseInt(_0xdcf107(0x23f))/0x3+-parseInt(_0xdcf107(0x1ed))/0x4*(-parseInt(_0xdcf107(0x23a))/0x5)+parseInt(_0xdcf107(0x223))/0x6*(-parseInt(_0xdcf107(0x1e6))/0x7)+parseInt(_0xdcf107(0x20c))/0x8*(parseInt(_0xdcf107(0x1f4))/0x9)+-parseInt(_0xdcf107(0x24a))/0xa*(parseInt(_0xdcf107(0x245))/0xb);if(_0xa1b675===_0x41964d)break;else _0xb2c930['push'](_0xb2c930['shift']());}catch(_0x219e20){_0xb2c930['push'](_0xb2c930['shift']());}}}(_0x5888,0x7472b));export var ElementType;(function(_0x20116d){var _0x5d386e=_0x28c4,_0x89b00e={'Bmudh':'PTT','LGzSx':_0x5d386e(0x1f5),'rSJRr':_0x5d386e(0x214),'kwjxp':_0x5d386e(0x218),'KIcXY':_0x5d386e(0x217),'KVSPI':_0x5d386e(0x21d),'OlIuR':_0x5d386e(0x20f),'fdJXy':'PIC','CTYIf':_0x5d386e(0x221),'HRguX':_0x5d386e(0x1f0)},_0x31ddfc=_0x5d386e(0x1e5)[_0x5d386e(0x23c)]('|'),_0x9147ce=0x0;while(!![]){switch(_0x31ddfc[_0x9147ce++]){case'0':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x227)]]=0x4]=_0x5d386e(0x1d2);continue;case'1':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x248)]]=0x5]=_0x89b00e['LGzSx'];continue;case'2':_0x20116d[_0x20116d[_0x5d386e(0x214)]=0x7]=_0x89b00e[_0x5d386e(0x1da)];continue;case'3':_0x20116d[_0x20116d['TEXT']=0x1]=_0x89b00e[_0x5d386e(0x1f6)];continue;case'4':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1e2)]]=0x3]=_0x89b00e['KIcXY'];continue;case'5':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1d6)]]=0xe]=_0x89b00e[_0x5d386e(0x1d6)];continue;case'6':_0x20116d[_0x20116d[_0x89b00e['OlIuR']]=0x6]=_0x89b00e[_0x5d386e(0x1ff)];continue;case'7':_0x20116d[_0x20116d[_0x89b00e[_0x5d386e(0x1cb)]]=0x2]=_0x89b00e['fdJXy'];continue;case'8':_0x20116d[_0x20116d['ARK']=0xa]=_0x89b00e[_0x5d386e(0x1e0)];continue;case'9':_0x20116d[_0x20116d['MFACE']=0xb]=_0x89b00e[_0x5d386e(0x1ca)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x55edaf){var _0xe6d619=_0x28c4,_0x2b084a={'hCxSp':_0xe6d619(0x211),'fJtfQ':_0xe6d619(0x250)};_0x55edaf[_0x55edaf[_0xe6d619(0x211)]=0x7d0]=_0x2b084a[_0xe6d619(0x1ea)],_0x55edaf[_0x55edaf[_0xe6d619(0x250)]=0x3e8]=_0x2b084a['fJtfQ'];}(PicType||(PicType={})));export var PicSubType;(function(_0x267dc0){var _0x4fc29c=_0x28c4,_0x32c32b={'brRzS':'normal','KdVbM':'face'};_0x267dc0[_0x267dc0[_0x32c32b[_0x4fc29c(0x23e)]]=0x0]=_0x32c32b['brRzS'],_0x267dc0[_0x267dc0[_0x32c32b[_0x4fc29c(0x1d9)]]=0x1]=_0x32c32b[_0x4fc29c(0x1d9)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x20f65f){var _0x107dbe=_0x28c4,_0x18e567={'SOLUU':_0x107dbe(0x1cc),'rQDRt':_0x107dbe(0x1e3),'wQPvk':_0x107dbe(0x234)};_0x20f65f[_0x20f65f[_0x107dbe(0x1cc)]=0x0]=_0x18e567[_0x107dbe(0x1d7)],_0x20f65f[_0x20f65f[_0x18e567[_0x107dbe(0x201)]]=0x1]=_0x107dbe(0x1e3),_0x20f65f[_0x20f65f[_0x18e567[_0x107dbe(0x1fc)]]=0x2]=_0x18e567['wQPvk'];}(AtType||(AtType={})));export var ChatType;function _0x5888(){var _0x35040d=['rSJRr','KCHATTYPETEMPFRIENDVERIFY','ZYSYm','AeNHl','INVITE_NEW_MEMBER','chIty','CTYIf','mcRtX','KIcXY','atAll','kicked','3|7|4|0|1|6|2|8|9|5','11081jdqXhC','KCHATTYPETEMPWPA','KCHATTYPEGROUPNOTIFY','normal2','hCxSp','oAlBA','KCHATTYPESERVICEASSISTANTSUB','1107904depHzG','KCHATTYPEGROUPGUILD','440683LSEmSb','MFACE','WKSKT','15|1|26|22|27|14|37|10|19|11|6|33|32|31|21|13|23|28|34|9|38|24|0|3|18|29|7|35|25|16|12|30|2|5|8|20|39|17|4|36','https://multimedia.nt.qq.com.cn','36fbplHZ','VIDEO','kwjxp','VIDEO_FORMAT_MTS','VIDEO_FORMAT_MKV','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEUNKNOWN','KCHATTYPETEMPBUSSINESSCRM','wQPvk','KYAWG','KjoPV','OlIuR','KCHATTYPENEARBYFOLDER','rQDRt','KCHATTYPEDATALINEMQQ','group','zEAMG','EzCjR','RPS','aomQy','ZXDvS','oaCLu','normal','KCHATTYPENEARBYHELLOFOLDER','775048sMcUAl','yTAdt','MEMBER_NEW_TITLE','FACE','bKiiK','gif','600036wOueve','SUKEp','REPLY','KCHATTYPEGROUPHELPER','OcacZ','FILE','TEXT','satmd','KCHATTYPEGAMEMESSAGE','temp','psBeE','MARKDOWN','KCHATTYPETEMPPUBLICACCOUNT','eVXKz','TbjUu','ARK','VIDEO_FORMAT_MOD','3546AdSkRa','nNOoQ','KCHATTYPESQUAREPUBLIC','KCHATTYPEGUILD','Bmudh','chatDevice','KmOcm','VIDEO_FORMAT_RM','HRHXj','VIDEO_FORMAT_WMV','KCHATTYPESERVICEASSISTANT','TGSam','MVpRC','KCHATTYPEADELIE','friend','FXocC','VIDEO_FORMAT_TS','atUser','OjQoo','KCHATTYPENEARBYASSISTANT','ngUPY','KCHATTYPEDATALINE','KCHATTYPERELATEACCOUNT','10vsKBeS','UDogq','split','iZOOe','brRzS','1172076ILyIvi','NxeyG','KCHATTYPEGROUPBLESS','xTYry','wkNCg','KCHATTYPEMATCHFRIENDFOLDER','2421265hEJGzN','JWbaa','QqGOR','LGzSx','ban','30NiDohX','KCHATTYPEGROUP','VIDEO_FORMAT_RMVB','NwKFZ','KCHATTYPEWEIYUN','hHFih','jpg','lkRRh','KCHATTYPEMATCHFRIEND','KCHATTYPEDISC','FZyjP','BvnMP','dice','KCHATTYPETEMPC2CFROMGROUP','FBDAA','KCHATTYPENEARBYINTERACT','QlHit','KCHATTYPENEARBY','HgdIa','WyHzX','HZUpu','HRguX','fdJXy','notAt','alvlV','RBzGr','oIHCB','KCHATTYPETEMPNEARBYPRO','JqeTg','PTT','KCHATTYPEFAV','VIDEO_FORMAT_MOV','jroAo','KVSPI','SOLUU','VIDEO_FORMAT_MP4','KdVbM'];_0x5888=function(){return _0x35040d;};return _0x5888();}(function(_0xa22997){var _0x40e70f=_0x28c4,_0x20ece9={'NxeyG':_0x40e70f(0x231),'hHFih':_0x40e70f(0x203),'FZyjP':_0x40e70f(0x21b)};_0xa22997[_0xa22997[_0x20ece9[_0x40e70f(0x240)]]=0x1]=_0x40e70f(0x231),_0xa22997[_0xa22997[_0x20ece9['hHFih']]=0x2]=_0x20ece9[_0x40e70f(0x24f)],_0xa22997[_0xa22997[_0x40e70f(0x228)]=0x8]=_0x40e70f(0x228),_0xa22997[_0xa22997[_0x20ece9['FZyjP']]=0x64]=_0x20ece9[_0x40e70f(0x1bf)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x2ad2ac){var _0x51adc4=_0x28c4,_0x5b88c3={'OcacZ':_0x51adc4(0x1f2),'SUKEp':_0x51adc4(0x20b),'VFzMA':'KCHATTYPEBUDDYNOTIFY','oazew':_0x51adc4(0x1c2),'EzCjR':_0x51adc4(0x1c4),'MVpRC':_0x51adc4(0x1fa),'UDogq':'KCHATTYPETEMPC2CFROMUNKNOWN','ejFSc':_0x51adc4(0x24b),'ZYSYm':_0x51adc4(0x22d),'ZXDvS':_0x51adc4(0x1db),'mcRtX':_0x51adc4(0x1c6),'wkNCg':_0x51adc4(0x1d3),'bKiiK':'KCHATTYPEGAMEMESSAGEFOLDER','WyHzX':'KCHATTYPETEMPADDRESSBOOK','oaCLu':_0x51adc4(0x202),'JqeTg':_0x51adc4(0x230),'FXocC':_0x51adc4(0x1f9),'psBeE':_0x51adc4(0x1e7),'KYAWG':'KCHATTYPEQQNOTIFY','FBDAA':_0x51adc4(0x21a),'chIty':_0x51adc4(0x1e8),'satmd':'KCHATTYPECIRCLE','QlHit':'KCHATTYPEGUILDMETA','nNOoQ':_0x51adc4(0x200),'BvnMP':_0x51adc4(0x225),'alvlV':'KCHATTYPEC2C','OjQoo':_0x51adc4(0x238),'xTYry':_0x51adc4(0x1bd),'zEAMG':_0x51adc4(0x239),'HRHXj':_0x51adc4(0x1fb),'jroAo':'KCHATTYPEGROUPHELPER','aomQy':_0x51adc4(0x1ee),'oAlBA':_0x51adc4(0x241),'lNhSu':'KCHATTYPEMATCHFRIENDFOLDER','QqGOR':_0x51adc4(0x1ec),'eDijN':_0x51adc4(0x24e),'JWbaa':_0x51adc4(0x1be),'WKSKT':_0x51adc4(0x236),'IsPeL':_0x51adc4(0x21e)},_0x4e13ff=_0x5b88c3[_0x51adc4(0x216)][_0x51adc4(0x23c)]('|'),_0x46213f=0x0;while(!![]){switch(_0x4e13ff[_0x46213f++]){case'0':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x213)]]=0x70]=_0x5b88c3['SUKEp'];continue;case'1':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['VFzMA']]=0x5]=_0x5b88c3['VFzMA'];continue;case'2':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['oazew']]=0x64]='KCHATTYPETEMPC2CFROMGROUP';continue;case'3':_0x2ad2ac[_0x2ad2ac['KCHATTYPENEARBYINTERACT']=0x6c]=_0x5b88c3[_0x51adc4(0x205)];continue;case'4':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x22f)]]=0x0]=_0x5b88c3[_0x51adc4(0x22f)];continue;case'5':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['UDogq']]=0x63]=_0x5b88c3[_0x51adc4(0x23b)];continue;case'6':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x24b)]=0x2]=_0x5b88c3['ejFSc'];continue;case'7':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1dc)]]=0x76]=_0x5b88c3[_0x51adc4(0x1dc)];continue;case'8':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x208)]]=0x65]=_0x5b88c3[_0x51adc4(0x208)];continue;case'9':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['mcRtX']]=0x6a]=_0x5b88c3[_0x51adc4(0x1e1)];continue;case'10':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x243)]]=0x29]=_0x5b88c3[_0x51adc4(0x243)];continue;case'11':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x210)]]=0x74]=_0x5b88c3['bKiiK'];continue;case'12':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c8)]]=0x6f]=_0x5b88c3[_0x51adc4(0x1c8)];continue;case'13':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x226)]=0x4]=_0x51adc4(0x226);continue;case'14':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x209)]]=0x86]='KCHATTYPEDATALINEMQQ';continue;case'15':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['JqeTg']]=0x2a]=_0x5b88c3[_0x51adc4(0x1d1)];continue;case'16':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x232)]]=0x1e]=_0x5b88c3[_0x51adc4(0x232)];continue;case'17':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['psBeE']]=0x75]=_0x5b88c3[_0x51adc4(0x21c)];continue;case'18':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1fd)]]=0x84]=_0x5b88c3[_0x51adc4(0x1fd)];continue;case'19':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c3)]]=0x69]=_0x5b88c3['FBDAA'];continue;case'20':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x1d0)]=0x77]=_0x51adc4(0x1d0);continue;case'21':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1df)]]=0x6]='KCHATTYPEGROUPNOTIFY';continue;case'22':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x219)]]=0x71]=_0x5b88c3['satmd'];continue;case'23':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c5)]]=0x10]=_0x5b88c3['QlHit'];continue;case'24':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x224)]]=0x6e]=_0x51adc4(0x200);continue;case'25':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1c0)]]=0x73]=_0x5b88c3[_0x51adc4(0x1c0)];continue;case'26':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1cd)]]=0x1]=_0x5b88c3[_0x51adc4(0x1cd)];continue;case'27':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x235)]]=0x8]='KCHATTYPEDATALINE';continue;case'28':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x242)]]=0x68]=_0x5b88c3[_0x51adc4(0x242)];continue;case'29':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x204)]]=0x83]=_0x5b88c3[_0x51adc4(0x204)];continue;case'30':_0x2ad2ac[_0x2ad2ac['KCHATTYPETEMPBUSSINESSCRM']=0x66]=_0x5b88c3[_0x51adc4(0x22b)];continue;case'31':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1d5)]]=0x7]=_0x51adc4(0x215);continue;case'32':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['aomQy']]=0x9]=_0x5b88c3[_0x51adc4(0x207)];continue;case'33':_0x2ad2ac[_0x2ad2ac['KCHATTYPEGROUPBLESS']=0x85]=_0x5b88c3[_0x51adc4(0x1eb)];continue;case'34':_0x2ad2ac[_0x2ad2ac[_0x51adc4(0x244)]=0x6d]=_0x5b88c3['lNhSu'];continue;case'35':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x247)]]=0xc9]=_0x5b88c3[_0x51adc4(0x247)];continue;case'36':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['eDijN']]=0x28]=_0x51adc4(0x24e);continue;case'37':_0x2ad2ac[_0x2ad2ac['KCHATTYPEDISC']=0x3]=_0x5b88c3[_0x51adc4(0x246)];continue;case'38':_0x2ad2ac[_0x2ad2ac[_0x5b88c3[_0x51adc4(0x1f1)]]=0x6b]=_0x5b88c3[_0x51adc4(0x1f1)];continue;case'39':_0x2ad2ac[_0x2ad2ac[_0x5b88c3['IsPeL']]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0xe491d6(0x1f3);export var GrayTipElementSubType;(function(_0x820136){var _0x2632cd=_0xe491d6,_0x442a18={'eVXKz':_0x2632cd(0x1de),'HZUpu':_0x2632cd(0x20e)};_0x820136[_0x820136['INVITE_NEW_MEMBER']=0xc]=_0x442a18[_0x2632cd(0x21f)],_0x820136[_0x820136[_0x442a18[_0x2632cd(0x1c9)]]=0x11]=_0x442a18[_0x2632cd(0x1c9)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x7442b9){var _0x7bbc46=_0xe491d6,_0x3ac7a9={'TbjUu':_0x7bbc46(0x20a),'HgdIa':'normal2','oIHCB':_0x7bbc46(0x1c1)};_0x7442b9[_0x7442b9[_0x7bbc46(0x20a)]=0x1]=_0x3ac7a9[_0x7bbc46(0x220)],_0x7442b9[_0x7442b9[_0x3ac7a9[_0x7bbc46(0x1c7)]]=0x2]=_0x7bbc46(0x1e9),_0x7442b9[_0x7442b9[_0x3ac7a9['oIHCB']]=0x3]=_0x3ac7a9[_0x7bbc46(0x1cf)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x177237){var _0x568f11=_0xe491d6,_0x1a32cb={'KmOcm':_0x568f11(0x1c1)};_0x177237[_0x177237[_0x1a32cb[_0x568f11(0x229)]]=0x166]=_0x1a32cb[_0x568f11(0x229)],_0x177237[_0x177237[_0x568f11(0x206)]=0x167]=_0x568f11(0x206);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x58d42c){var _0x4cf713=_0xe491d6,_0x341ece={'EXPJQ':'VIDEO_FORMAT_MKV','NwKFZ':_0x4cf713(0x1f7),'ngUPY':_0x4cf713(0x233),'KjoPV':_0x4cf713(0x22c),'iZOOe':_0x4cf713(0x1d8),'lkRRh':_0x4cf713(0x24c),'yTAdt':'VIDEO_FORMAT_AVI','RBzGr':_0x4cf713(0x222),'AeNHl':_0x4cf713(0x1d4)},_0x439c51='8|7|0|9|10|5|1|2|6|3|4'[_0x4cf713(0x23c)]('|'),_0x17fea3=0x0;while(!![]){switch(_0x439c51[_0x17fea3++]){case'0':_0x58d42c[_0x58d42c[_0x4cf713(0x1f8)]=0x4]=_0x341ece['EXPJQ'];continue;case'1':_0x58d42c[_0x58d42c[_0x4cf713(0x1f7)]=0xb]=_0x341ece[_0x4cf713(0x24d)];continue;case'2':_0x58d42c[_0x58d42c[_0x4cf713(0x22a)]=0x6]=_0x4cf713(0x22a);continue;case'3':_0x58d42c[_0x58d42c[_0x4cf713(0x233)]=0xa]=_0x341ece[_0x4cf713(0x237)];continue;case'4':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x1fe)]]=0x3]=_0x341ece[_0x4cf713(0x1fe)];continue;case'5':_0x58d42c[_0x58d42c['VIDEO_FORMAT_MP4']=0x2]=_0x341ece[_0x4cf713(0x23d)];continue;case'6':_0x58d42c[_0x58d42c[_0x341ece['lkRRh']]=0x5]=_0x341ece[_0x4cf713(0x1bc)];continue;case'7':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x20d)]]=0x1]=_0x341ece[_0x4cf713(0x20d)];continue;case'8':_0x58d42c[_0x58d42c['VIDEO_FORMAT_AFS']=0x7]='VIDEO_FORMAT_AFS';continue;case'9':_0x58d42c[_0x58d42c[_0x341ece['RBzGr']]=0x9]=_0x341ece[_0x4cf713(0x1ce)];continue;case'10':_0x58d42c[_0x58d42c[_0x341ece[_0x4cf713(0x1dd)]]=0x8]=_0x4cf713(0x1d4);continue;}break;}}(viedo_type||(viedo_type={})));function _0x28c4(_0x1a2797,_0x22bd1d){var _0x588826=_0x5888();return _0x28c4=function(_0x28c426,_0x31a1d7){_0x28c426=_0x28c426-0x1bc;var _0x1ae34e=_0x588826[_0x28c426];return _0x1ae34e;},_0x28c4(_0x1a2797,_0x22bd1d);}export var TipGroupElementType;(function(_0x4f699f){var _0x7e86a6=_0xe491d6,_0x2e1bb6={'TGSam':'memberIncrease','tUklP':'kicked'};_0x4f699f[_0x4f699f[_0x2e1bb6['TGSam']]=0x1]=_0x2e1bb6[_0x7e86a6(0x22e)],_0x4f699f[_0x4f699f[_0x2e1bb6['tUklP']]=0x3]=_0x7e86a6(0x1e4),_0x4f699f[_0x4f699f[_0x7e86a6(0x249)]=0x8]='ban';}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +function _0x192e(){var _0x30ce52=['EdYYO','FACE','KCHATTYPEGUILDMETA','DFWXs','KCHATTYPENEARBY','KCHATTYPESERVICEASSISTANT','32456ZMRnWi','1338074cIhaRT','VIDEO_FORMAT_WMV','Xiqpf','KCHATTYPEGROUPGUILD','KCHATTYPETEMPFRIENDVERIFY','cugfU','KCHATTYPEGAMEMESSAGEFOLDER','VIDEO','VIDEO_FORMAT_MKV','BNULi','atUser','85572MXORMf','KCHATTYPEQQNOTIFY','gif','face','WESjW','MfsJO','ban','chatDevice','SvqMu','XXIKt','KCHATTYPEMATCHFRIEND','gRUXK','weNwd','HSaIM','KCHATTYPEGROUPBLESS','YxQoE','friend','VIDEO_FORMAT_AFS','mpkyn','wAtsW','zZzTC','7|4|2|8|6|5|3|9|0|10|1','KCHATTYPESQUAREPUBLIC','KCHATTYPEGUILD','TEXT','KCHATTYPEGROUP','TYFaf','GVrok','5085014AXMyoZ','tslFO','39arwShy','iIMKx','KCHATTYPENEARBYFOLDER','KCHATTYPENEARBYASSISTANT','notAt','vlORf','VIDEO_FORMAT_MTS','KCHATTYPEFAV','REPLY','wwlHs','VIDEO_FORMAT_AVI','KCHATTYPETEMPC2CFROMGROUP','faRBK','clBRj','VIDEO_FORMAT_TS','VIDEO_FORMAT_MP4','ARK','KCHATTYPEWEIYUN','Dphpe','PIC','atAll','KCHATTYPESUBSCRIBEFOLDER','gnPft','LacXA','HpeUR','3424035HpNLfq','ThCjc','mzzQN','ozvGa','1969652OenMRO','LgIpL','IBgTW','RPS','qMPol','GUMJb','KCHATTYPETEMPWPA','AcaUk','KCHATTYPEGROUPNOTIFY','1191708diwWqK','1211nhUEsh','VIDEO_FORMAT_RM','skwIj','temp','PYzWy','iNwoT','3XnSCoN','MFACE','IWmHa','split','RNkNk','lfseW','7|6|4|5|8|3|0|9|1|2','FILE','vpRIP','KCHATTYPERELATEACCOUNT','KCHATTYPEGROUPHELPER','KCHATTYPEC2C','dice','group','jpg','KCHATTYPENEARBYINTERACT','EGxEQ','KCHATTYPEMATCHFRIENDFOLDER','normal','KCHATTYPEBUDDYNOTIFY','KCHATTYPEDATALINEMQQ','kwzbY','VNuTJ','kicked','normal2','1XPQbzR','VIDEO_FORMAT_MOD','KWDjN','PjuWi','MARKDOWN','lcQJf','lGWLR','LZlnH','RLGjf','IQhGY','ZBwHp','uItaQ','KCHATTYPEDISC','MEMBER_NEW_TITLE','KCHATTYPETEMPPUBLICACCOUNT','dDbrH','PTT','VIDEO_FORMAT_RMVB','fzZRz','memberIncrease','mpRor','agYwf','KCHATTYPECIRCLE','KCHATTYPEADELIE','XFoZl','INVITE_NEW_MEMBER','6pfChpH','KCHATTYPETEMPADDRESSBOOK','DUSKZ','KCHATTYPENEARBYHELLOFOLDER','MSvJq','20cADglo','KCHATTYPETEMPBUSSINESSCRM','KCHATTYPETEMPNEARBYPRO','fJKRt','DEroq','brdVS'];_0x192e=function(){return _0x30ce52;};return _0x192e();}(function(_0x19365c,_0x2e978b){var _0x49b115=_0x1548,_0xc6f5c5=_0x19365c();while(!![]){try{var _0x42d333=-parseInt(_0x49b115(0xb0))/0x1*(-parseInt(_0x49b115(0xdc))/0x2)+-parseInt(_0x49b115(0x132))/0x3*(parseInt(_0x49b115(0x122))/0x4)+parseInt(_0x49b115(0x11e))/0x5*(parseInt(_0x49b115(0xca))/0x6)+-parseInt(_0x49b115(0x12c))/0x7*(parseInt(_0x49b115(0xdb))/0x8)+parseInt(_0x49b115(0x12b))/0x9*(-parseInt(_0x49b115(0xcf))/0xa)+parseInt(_0x49b115(0x103))/0xb+-parseInt(_0x49b115(0xe7))/0xc*(-parseInt(_0x49b115(0x105))/0xd);if(_0x42d333===_0x2e978b)break;else _0xc6f5c5['push'](_0xc6f5c5['shift']());}catch(_0x541a57){_0xc6f5c5['push'](_0xc6f5c5['shift']());}}}(_0x192e,0x5c62d));export var ElementType;(function(_0x9eb155){var _0x18431d=_0x1548,_0x3a0a61={'aQwUs':_0x18431d(0x138),'BNULi':_0x18431d(0x10d),'wAtsW':_0x18431d(0x133),'IQhGY':_0x18431d(0xb4),'faRBK':'FACE','Xslce':_0x18431d(0x139),'KWDjN':_0x18431d(0xc0),'EGxEQ':_0x18431d(0x118),'tslFO':_0x18431d(0xff),'scJUv':_0x18431d(0xe3),'uItaQ':_0x18431d(0x115)},_0x33ddbe=_0x3a0a61['aQwUs'][_0x18431d(0x135)]('|'),_0x1ebe7e=0x0;while(!![]){switch(_0x33ddbe[_0x1ebe7e++]){case'0':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0xe5)]]=0x7]=_0x18431d(0x10d);continue;case'1':_0x9eb155[_0x9eb155[_0x3a0a61['wAtsW']]=0xb]=_0x3a0a61[_0x18431d(0xfa)];continue;case'2':_0x9eb155[_0x9eb155[_0x18431d(0xb4)]=0xe]=_0x3a0a61[_0x18431d(0xb9)];continue;case'3':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0x111)]]=0x6]=_0x18431d(0xd6);continue;case'4':_0x9eb155[_0x9eb155[_0x3a0a61['Xslce']]=0x3]='FILE';continue;case'5':_0x9eb155[_0x9eb155[_0x18431d(0xc0)]=0x4]=_0x3a0a61[_0x18431d(0xb2)];continue;case'6':_0x9eb155[_0x9eb155['PIC']=0x2]=_0x3a0a61[_0x18431d(0xa7)];continue;case'7':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0x104)]]=0x1]='TEXT';continue;case'8':_0x9eb155[_0x9eb155[_0x3a0a61['scJUv']]=0x5]=_0x18431d(0xe3);continue;case'9':_0x9eb155[_0x9eb155[_0x3a0a61[_0x18431d(0xbb)]]=0xa]=_0x3a0a61[_0x18431d(0xbb)];continue;}break;}}(ElementType||(ElementType={})));function _0x1548(_0x8ed8cf,_0x259c05){var _0x192eae=_0x192e();return _0x1548=function(_0x15481c,_0x2843f2){_0x15481c=_0x15481c-0xa2;var _0x1e17eb=_0x192eae[_0x15481c];return _0x1e17eb;},_0x1548(_0x8ed8cf,_0x259c05);}export var PicType;(function(_0x10da51){var _0x197f1f=_0x1548,_0x4d9e22={'dDbrH':'gif','LZlnH':_0x197f1f(0xa5)};_0x10da51[_0x10da51[_0x4d9e22[_0x197f1f(0xbf)]]=0x7d0]=_0x197f1f(0xe9),_0x10da51[_0x10da51[_0x4d9e22[_0x197f1f(0xb7)]]=0x3e8]=_0x4d9e22[_0x197f1f(0xb7)];}(PicType||(PicType={})));export var PicSubType;(function(_0x351b68){var _0x1f41c2=_0x1548,_0x99f6f6={'Xiqpf':'normal','SvqMu':'face'};_0x351b68[_0x351b68[_0x99f6f6[_0x1f41c2(0xde)]]=0x0]=_0x99f6f6[_0x1f41c2(0xde)],_0x351b68[_0x351b68[_0x1f41c2(0xea)]=0x1]=_0x99f6f6[_0x1f41c2(0xef)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x1d10ac){var _0x393775=_0x1548,_0x2bdf81={'khDXj':_0x393775(0x109),'Dphpe':_0x393775(0x119)};_0x1d10ac[_0x1d10ac[_0x2bdf81['khDXj']]=0x0]='notAt',_0x1d10ac[_0x1d10ac['atAll']=0x1]=_0x2bdf81[_0x393775(0x117)],_0x1d10ac[_0x1d10ac[_0x393775(0xe6)]=0x2]=_0x393775(0xe6);}(AtType||(AtType={})));export var ChatType;(function(_0x44f280){var _0x2c17be=_0x1548,_0x19aaff={'IBgTW':_0x2c17be(0xa4),'gnPft':'temp'};_0x44f280[_0x44f280[_0x2c17be(0xf7)]=0x1]='friend',_0x44f280[_0x44f280[_0x19aaff[_0x2c17be(0x124)]]=0x2]=_0x19aaff[_0x2c17be(0x124)],_0x44f280[_0x44f280[_0x2c17be(0xee)]=0x8]=_0x2c17be(0xee),_0x44f280[_0x44f280[_0x2c17be(0x12f)]=0x64]=_0x19aaff[_0x2c17be(0x11b)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x51927c){var _0x570c13=_0x1548,_0x235dc5={'MfsJO':'KCHATTYPEUNKNOWN','fzZRz':_0x570c13(0x128),'RLGjf':_0x570c13(0x11a),'VNuTJ':_0x570c13(0x107),'mzzQN':_0x570c13(0xaa),'kwzbY':'KCHATTYPEDISC','gRUXK':'KCHATTYPEGAMEMESSAGE','ThCjc':_0x570c13(0xd9),'RNkNk':_0x570c13(0xfe),'AcaUk':_0x570c13(0xa2),'LacXA':_0x570c13(0xe8),'lGWLR':_0x570c13(0xd0),'TYFaf':_0x570c13(0xa6),'mpRor':_0x570c13(0xda),'iIMKx':'KCHATTYPESERVICEASSISTANTSUB','mpkyn':_0x570c13(0xfd),'PYzWy':_0x570c13(0xc6),'ofUAN':'KCHATTYPEGROUPBLESS','PjuWi':_0x570c13(0xe2),'wwlHs':_0x570c13(0x13b),'cugfU':_0x570c13(0xa8),'lscqE':_0x570c13(0x13c),'brdVS':'KCHATTYPETEMPC2CFROMUNKNOWN','EdYYO':_0x570c13(0xcb),'lobxv':_0x570c13(0x10c),'weNwd':'KCHATTYPEDATALINE','GVrok':_0x570c13(0x12a),'HSaIM':_0x570c13(0xd7),'YxQoE':_0x570c13(0xab),'DFWXs':_0x570c13(0xcd),'zZzTC':_0x570c13(0xbe),'iNwoT':_0x570c13(0xe0),'HpeUR':_0x570c13(0x110),'lfseW':_0x570c13(0xf1),'MSvJq':_0x570c13(0x100),'fJKRt':_0x570c13(0x108)},_0x434f50='33|4|10|19|28|31|5|27|6|21|38|20|8|24|29|9|30|37|23|7|39|3|32|15|11|22|16|17|18|2|26|12|36|25|35|13|34|1|0|14'[_0x570c13(0x135)]('|'),_0x266698=0x0;while(!![]){switch(_0x434f50[_0x266698++]){case'0':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xec)]]=0x0]=_0x235dc5[_0x570c13(0xec)];continue;case'1':_0x51927c[_0x51927c[_0x235dc5['fzZRz']]=0x75]=_0x235dc5[_0x570c13(0xc2)];continue;case'2':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb8)]]=0x1e]=_0x570c13(0x11a);continue;case'3':_0x51927c[_0x51927c[_0x570c13(0x107)]=0x6e]=_0x235dc5[_0x570c13(0xad)];continue;case'4':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x120)]]=0x5]=_0x235dc5[_0x570c13(0x120)];continue;case'5':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xac)]]=0x3]=_0x570c13(0xbc);continue;case'6':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf2)]]=0x69]=_0x235dc5[_0x570c13(0xf2)];continue;case'7':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11f)]]=0x6a]=_0x235dc5[_0x570c13(0x11f)];continue;case'8':_0x51927c[_0x51927c[_0x570c13(0xdf)]=0x9]=_0x570c13(0xdf);continue;case'9':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x136)]]=0x4]=_0x570c13(0xfe);continue;case'10':_0x51927c[_0x51927c[_0x570c13(0xa2)]=0x1]=_0x235dc5[_0x570c13(0x129)];continue;case'11':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11c)]]=0x84]=_0x235dc5[_0x570c13(0x11c)];continue;case'12':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb6)]]=0x66]=_0x235dc5[_0x570c13(0xb6)];continue;case'13':_0x51927c[_0x51927c[_0x570c13(0xd1)]=0x77]=_0x570c13(0xd1);continue;case'14':_0x51927c[_0x51927c[_0x570c13(0x116)]=0x28]=_0x570c13(0x116);continue;case'15':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x101)]]=0x6c]=_0x235dc5['TYFaf'];continue;case'16':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xc4)]]=0x76]=_0x235dc5[_0x570c13(0xc4)];continue;case'17':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x106)]]=0xc9]=_0x235dc5['iIMKx'];continue;case'18':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf9)]]=0x73]=_0x235dc5['mpkyn'];continue;case'19':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x130)]]=0x71]=_0x235dc5[_0x570c13(0x130)];continue;case'20':_0x51927c[_0x51927c[_0x570c13(0xf5)]=0x85]=_0x235dc5['ofUAN'];continue;case'21':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xb3)]]=0x74]=_0x235dc5[_0x570c13(0xb3)];continue;case'22':_0x51927c[_0x51927c[_0x235dc5['wwlHs']]=0x83]=_0x235dc5[_0x570c13(0x10e)];continue;case'23':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xe1)]]=0x6d]=_0x235dc5['cugfU'];continue;case'24':_0x51927c[_0x51927c['KCHATTYPEGROUPHELPER']=0x7]=_0x235dc5['lscqE'];continue;case'25':_0x51927c[_0x51927c[_0x235dc5['brdVS']]=0x63]=_0x235dc5[_0x570c13(0xd4)];continue;case'26':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xd5)]]=0x6f]=_0x570c13(0xcb);continue;case'27':_0x51927c[_0x51927c['KCHATTYPEFAV']=0x29]=_0x235dc5['lobxv'];continue;case'28':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf3)]]=0x8]=_0x235dc5[_0x570c13(0xf3)];continue;case'29':_0x51927c[_0x51927c[_0x235dc5['GVrok']]=0x6]=_0x235dc5[_0x570c13(0x102)];continue;case'30':_0x51927c[_0x51927c[_0x235dc5['HSaIM']]=0x10]=_0x235dc5[_0x570c13(0xf4)];continue;case'31':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xf6)]]=0x86]=_0x235dc5[_0x570c13(0xf6)];continue;case'32':_0x51927c[_0x51927c[_0x570c13(0xcd)]=0x70]=_0x235dc5[_0x570c13(0xd8)];continue;case'33':_0x51927c[_0x51927c['KCHATTYPEADELIE']=0x2a]=_0x570c13(0xc7);continue;case'34':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xfb)]]=0x67]=_0x235dc5[_0x570c13(0xfb)];continue;case'35':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x131)]]=0x65]=_0x235dc5[_0x570c13(0x131)];continue;case'36':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0x11d)]]=0x64]=_0x235dc5[_0x570c13(0x11d)];continue;case'37':_0x51927c[_0x51927c[_0x235dc5['lfseW']]=0x68]=_0x235dc5[_0x570c13(0x137)];continue;case'38':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xce)]]=0x2]=_0x235dc5[_0x570c13(0xce)];continue;case'39':_0x51927c[_0x51927c[_0x235dc5[_0x570c13(0xd2)]]=0x6b]=_0x235dc5[_0x570c13(0xd2)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x56f1eb){var _0x59e90d=_0x1548,_0x3a0dee={'vpRIP':_0x59e90d(0xc9),'clBRj':_0x59e90d(0xbd)};_0x56f1eb[_0x56f1eb[_0x3a0dee[_0x59e90d(0x13a)]]=0xc]=_0x59e90d(0xc9),_0x56f1eb[_0x56f1eb[_0x59e90d(0xbd)]=0x11]=_0x3a0dee[_0x59e90d(0x112)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x2d3e9a){var _0xbe459b=_0x1548,_0x4af31b={'DUSKZ':_0xbe459b(0xa9),'tKcIO':_0xbe459b(0xaf),'WCPcM':_0xbe459b(0xa3)};_0x2d3e9a[_0x2d3e9a[_0x4af31b[_0xbe459b(0xcc)]]=0x1]=_0x4af31b[_0xbe459b(0xcc)],_0x2d3e9a[_0x2d3e9a[_0xbe459b(0xaf)]=0x2]=_0x4af31b['tKcIO'],_0x2d3e9a[_0x2d3e9a[_0x4af31b['WCPcM']]=0x3]=_0x4af31b['WCPcM'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x5e1291){var _0x21c2b8=_0x1548,_0xd5bd6f={'qMPol':_0x21c2b8(0xa3)};_0x5e1291[_0x5e1291[_0xd5bd6f[_0x21c2b8(0x126)]]=0x166]=_0x21c2b8(0xa3),_0x5e1291[_0x5e1291[_0x21c2b8(0x125)]=0x167]=_0x21c2b8(0x125);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x377faf){var _0x10867b=_0x1548,_0x645da1={'XFoZl':_0x10867b(0xfc),'ozvGa':_0x10867b(0xc1),'XXIKt':_0x10867b(0xdd),'skwIj':_0x10867b(0xe4),'LgIpL':'VIDEO_FORMAT_MTS','agYwf':_0x10867b(0x10f),'lcQJf':'VIDEO_FORMAT_MOV','IWmHa':_0x10867b(0xf8),'ZBwHp':'VIDEO_FORMAT_MOD','GUMJb':_0x10867b(0x12d),'DEroq':'VIDEO_FORMAT_TS'},_0x29a3f8=_0x645da1[_0x10867b(0xc8)][_0x10867b(0x135)]('|'),_0x59dbf0=0x0;while(!![]){switch(_0x29a3f8[_0x59dbf0++]){case'0':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x121)]]=0x5]=_0x645da1[_0x10867b(0x121)];continue;case'1':_0x377faf[_0x377faf['VIDEO_FORMAT_WMV']=0x3]=_0x645da1[_0x10867b(0xf0)];continue;case'2':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x12e)]]=0x4]='VIDEO_FORMAT_MKV';continue;case'3':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x123)]]=0xb]=_0x10867b(0x10b);continue;case'4':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0xc5)]]=0x1]=_0x645da1[_0x10867b(0xc5)];continue;case'5':_0x377faf[_0x377faf[_0x10867b(0x114)]=0x2]=_0x10867b(0x114);continue;case'6':_0x377faf[_0x377faf[_0x645da1['lcQJf']]=0x8]=_0x645da1[_0x10867b(0xb5)];continue;case'7':_0x377faf[_0x377faf[_0x645da1['IWmHa']]=0x7]=_0x645da1[_0x10867b(0x134)];continue;case'8':_0x377faf[_0x377faf[_0x10867b(0xb1)]=0x9]=_0x645da1[_0x10867b(0xba)];continue;case'9':_0x377faf[_0x377faf[_0x645da1[_0x10867b(0x127)]]=0x6]=_0x645da1[_0x10867b(0x127)];continue;case'10':_0x377faf[_0x377faf[_0x10867b(0x113)]=0xa]=_0x645da1[_0x10867b(0xd3)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x445316){var _0x238e1e=_0x1548,_0x3523dc={'WESjW':_0x238e1e(0xc3),'vlORf':_0x238e1e(0xae),'hWlzn':'ban'};_0x445316[_0x445316[_0x3523dc[_0x238e1e(0xeb)]]=0x1]=_0x3523dc[_0x238e1e(0xeb)],_0x445316[_0x445316[_0x3523dc['vlORf']]=0x3]=_0x3523dc[_0x238e1e(0x10a)],_0x445316[_0x445316[_0x238e1e(0xed)]=0x8]=_0x3523dc['hWlzn'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index aeb854be..11f4a234 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x2ee626,_0x27d9ee){var _0x72cc1a=_0x2cef,_0x121b4e=_0x2ee626();while(!![]){try{var _0x5090a0=-parseInt(_0x72cc1a(0x206))/0x1+parseInt(_0x72cc1a(0x200))/0x2*(-parseInt(_0x72cc1a(0x1df))/0x3)+-parseInt(_0x72cc1a(0x1f0))/0x4+-parseInt(_0x72cc1a(0x1dd))/0x5*(-parseInt(_0x72cc1a(0x203))/0x6)+parseInt(_0x72cc1a(0x1f5))/0x7+parseInt(_0x72cc1a(0x1e0))/0x8*(parseInt(_0x72cc1a(0x1e1))/0x9)+parseInt(_0x72cc1a(0x1ee))/0xa*(-parseInt(_0x72cc1a(0x1f1))/0xb);if(_0x5090a0===_0x27d9ee)break;else _0x121b4e['push'](_0x121b4e['shift']());}catch(_0x33745b){_0x121b4e['push'](_0x121b4e['shift']());}}}(_0x231f,0x9cba8));export var GroupNotifyTypes;(function(_0x32ad13){var _0x5244c1=_0x2cef,_0x5c20c5={'phcyM':'INVITE_ME','JHGJs':'INVITED_JOIN','zkcsX':_0x5244c1(0x1ec),'KfPpT':'ADMIN_SET','SAguL':'KICK_MEMBER','DSpCG':_0x5244c1(0x1ea),'ZGKKm':_0x5244c1(0x201),'KRaCy':_0x5244c1(0x1e4)};_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x204)]]=0x1]=_0x5244c1(0x1fb),_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x202)]]=0x4]=_0x5c20c5['JHGJs'],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1ff)]]=0x7]=_0x5c20c5[_0x5244c1(0x1ff)],_0x32ad13[_0x32ad13['ADMIN_SET']=0x8]=_0x5c20c5[_0x5244c1(0x1fc)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1eb)]]=0x9]=_0x5c20c5[_0x5244c1(0x1eb)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1e7)]]=0xb]=_0x5c20c5[_0x5244c1(0x1e7)],_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1f6)]]=0xc]=_0x5244c1(0x201),_0x32ad13[_0x32ad13[_0x5c20c5[_0x5244c1(0x1f3)]]=0xd]=_0x5c20c5[_0x5244c1(0x1f3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4ce02b){var _0x5bc659=_0x2cef,_0x477844={'sZziP':_0x5bc659(0x1e8),'hHZdP':_0x5bc659(0x1f9),'HSFde':_0x5bc659(0x1fe),'KzNud':_0x5bc659(0x1ef)};_0x4ce02b[_0x4ce02b[_0x477844['sZziP']]=0x0]=_0x477844[_0x5bc659(0x1f8)],_0x4ce02b[_0x4ce02b[_0x477844[_0x5bc659(0x1e5)]]=0x1]=_0x477844[_0x5bc659(0x1e5)],_0x4ce02b[_0x4ce02b[_0x477844[_0x5bc659(0x1de)]]=0x2]=_0x477844['HSFde'],_0x4ce02b[_0x4ce02b[_0x477844['KzNud']]=0x3]=_0x477844[_0x5bc659(0x1ed)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x231f(){var _0x4cf2ea=['yaktg','MEMBER_EXIT','SAguL','JOIN_REQUEST','KzNud','50sJhxsS','REJECT','3892472qOcJRV','781814YEbVyA','TITLETYPE','KRaCy','dWnYc','8470413MmXWfu','ZGKKm','NIWhj','sZziP','WAIT_HANDLE','reject','INVITE_ME','KfPpT','uSUmO','APPROVE','zkcsX','2446OcsAFj','ADMIN_UNSET','JHGJs','6234222fnOUby','phcyM','NEWGROUPTYPE','1123860traaZe','5ZtboAz','HSFde','807KeEaCS','722584Lbaikw','117cPiZKa','MJYnY','approve','ADMIN_UNSET_OTHER','hHZdP','DEFAULTTYPE','DSpCG','IGNORE'];_0x231f=function(){return _0x4cf2ea;};return _0x231f();}function _0x2cef(_0x805cba,_0x3c8670){var _0x231fb6=_0x231f();return _0x2cef=function(_0x2cef7d,_0x45049e){_0x2cef7d=_0x2cef7d-0x1dd;var _0x4f3a25=_0x231fb6[_0x2cef7d];return _0x4f3a25;},_0x2cef(_0x805cba,_0x3c8670);}export var GroupRequestOperateTypes;(function(_0x5699ae){var _0xc8152b=_0x2cef,_0x5334ca={'dWnYc':_0xc8152b(0x1e3),'MJYnY':_0xc8152b(0x1fa)};_0x5699ae[_0x5699ae[_0x5334ca[_0xc8152b(0x1f4)]]=0x1]=_0x5334ca[_0xc8152b(0x1f4)],_0x5699ae[_0x5699ae[_0x5334ca['MJYnY']]=0x2]=_0x5334ca[_0xc8152b(0x1e2)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x43f326){var _0x34a50d=_0x2cef,_0x4595a0={'uSUmO':_0x34a50d(0x1e6),'NIWhj':_0x34a50d(0x1f2),'yaktg':_0x34a50d(0x205)};_0x43f326[_0x43f326['DEFAULTTYPE']=0x0]=_0x4595a0[_0x34a50d(0x1fd)],_0x43f326[_0x43f326[_0x4595a0[_0x34a50d(0x1f7)]]=0x1]=_0x4595a0[_0x34a50d(0x1f7)],_0x43f326[_0x43f326[_0x34a50d(0x205)]=0x2]=_0x4595a0[_0x34a50d(0x1e9)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x53bc90,_0x4a7999){var _0x149cec=_0x4b2a,_0xdc2a6a=_0x53bc90();while(!![]){try{var _0x32286b=parseInt(_0x149cec(0xf3))/0x1+-parseInt(_0x149cec(0x101))/0x2*(-parseInt(_0x149cec(0xf6))/0x3)+-parseInt(_0x149cec(0xfb))/0x4*(parseInt(_0x149cec(0x109))/0x5)+-parseInt(_0x149cec(0xf4))/0x6+-parseInt(_0x149cec(0x10c))/0x7+parseInt(_0x149cec(0x107))/0x8+parseInt(_0x149cec(0xef))/0x9*(parseInt(_0x149cec(0x10a))/0xa);if(_0x32286b===_0x4a7999)break;else _0xdc2a6a['push'](_0xdc2a6a['shift']());}catch(_0x53a31b){_0xdc2a6a['push'](_0xdc2a6a['shift']());}}}(_0x4f8a,0xa0eb2));function _0x4b2a(_0xb679c7,_0x53d123){var _0x4f8aac=_0x4f8a();return _0x4b2a=function(_0x4b2a1b,_0x24be88){_0x4b2a1b=_0x4b2a1b-0xe8;var _0x979237=_0x4f8aac[_0x4b2a1b];return _0x979237;},_0x4b2a(_0xb679c7,_0x53d123);}export var GroupNotifyTypes;(function(_0x2fb17b){var _0x3ed83e=_0x4b2a,_0x7274d1={'KLArb':_0x3ed83e(0xed),'nNtty':_0x3ed83e(0xeb),'EomcD':_0x3ed83e(0xea),'Cdsbq':_0x3ed83e(0x10b),'RxCsC':'MEMBER_EXIT','mybrs':'ADMIN_UNSET','XNAXd':_0x3ed83e(0x108)};_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xe9)]]=0x1]=_0x7274d1[_0x3ed83e(0xe9)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xf2)]]=0x4]=_0x7274d1[_0x3ed83e(0xf2)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x104)]]=0x7]=_0x7274d1['EomcD'],_0x2fb17b[_0x2fb17b[_0x3ed83e(0xf8)]=0x8]=_0x3ed83e(0xf8),_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x10d)]]=0x9]=_0x7274d1[_0x3ed83e(0x10d)],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xfe)]]=0xb]=_0x3ed83e(0xfa),_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0xfc)]]=0xc]=_0x7274d1['mybrs'],_0x2fb17b[_0x2fb17b[_0x7274d1[_0x3ed83e(0x102)]]=0xd]=_0x7274d1[_0x3ed83e(0x102)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x4f8a(){var _0x52b2fc=['mybrs','IGNORE','RxCsC','deGvG','LeAWo','156884mcNXRb','XNAXd','APPROVE','EomcD','TITLETYPE','inXmO','5538128xyzDhi','ADMIN_UNSET_OTHER','100UeXWlo','7560ubzjeh','KICK_MEMBER','8849904xbGMqS','Cdsbq','DEFAULTTYPE','rRRQU','WAIT_HANDLE','KLArb','JOIN_REQUEST','INVITED_JOIN','ScfsT','INVITE_ME','xWStF','25344hTnasp','reject','REJECT','nNtty','86850SHzHxY','3968664BlPvlt','irUwz','9WsupkD','NEWGROUPTYPE','ADMIN_SET','approve','MEMBER_EXIT','111700klqZgk'];_0x4f8a=function(){return _0x52b2fc;};return _0x4f8a();}(function(_0xf1da82){var _0x2b5cc7=_0x4b2a,_0x4943dd={'inXmO':_0x2b5cc7(0xfd),'VaEYf':_0x2b5cc7(0xe8),'LeAWo':_0x2b5cc7(0x103),'deGvG':_0x2b5cc7(0xf1)};_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0x106)]]=0x0]=_0x4943dd[_0x2b5cc7(0x106)],_0xf1da82[_0xf1da82[_0x4943dd['VaEYf']]=0x1]=_0x4943dd['VaEYf'],_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0x100)]]=0x2]=_0x4943dd[_0x2b5cc7(0x100)],_0xf1da82[_0xf1da82[_0x4943dd[_0x2b5cc7(0xff)]]=0x3]=_0x4943dd[_0x2b5cc7(0xff)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5c2bb9){var _0xab70d5=_0x4b2a,_0xefa600={'xWStF':_0xab70d5(0xf9),'rRRQU':_0xab70d5(0xf0)};_0x5c2bb9[_0x5c2bb9[_0xefa600[_0xab70d5(0xee)]]=0x1]=_0xefa600['xWStF'],_0x5c2bb9[_0x5c2bb9[_0xab70d5(0xf0)]=0x2]=_0xefa600[_0xab70d5(0x10f)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var MemberExtSourceType;(function(_0x43260b){var _0x1434ce=_0x4b2a,_0x365a26={'irUwz':_0x1434ce(0x10e),'IKUKT':_0x1434ce(0x105),'ScfsT':_0x1434ce(0xf7)};_0x43260b[_0x43260b[_0x365a26[_0x1434ce(0xf5)]]=0x0]=_0x365a26[_0x1434ce(0xf5)],_0x43260b[_0x43260b[_0x365a26['IKUKT']]=0x1]=_0x1434ce(0x105),_0x43260b[_0x43260b[_0x1434ce(0xf7)]=0x2]=_0x365a26[_0x1434ce(0xec)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.d.ts b/src/core.lib/src/entities/user.d.ts index 003391da..1c134c05 100644 --- a/src/core.lib/src/entities/user.d.ts +++ b/src/core.lib/src/entities/user.d.ts @@ -98,6 +98,10 @@ export interface SelfInfo extends User { } export interface Friend extends User { } +export declare enum BizKey { + KPRIVILEGEICON = 0, + KPHOTOWALL = 1 +} export interface UserDetailInfoByUin { result: number; errMsg: string; diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 47dde227..3ec32046 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0xfeae24,_0x5cf149){var _0x4ccaea=_0x4746,_0x2cd54c=_0xfeae24();while(!![]){try{var _0x2c859b=-parseInt(_0x4ccaea(0x9b))/0x1+-parseInt(_0x4ccaea(0xa2))/0x2*(-parseInt(_0x4ccaea(0x99))/0x3)+parseInt(_0x4ccaea(0xa1))/0x4*(parseInt(_0x4ccaea(0x96))/0x5)+-parseInt(_0x4ccaea(0x9d))/0x6*(parseInt(_0x4ccaea(0x9c))/0x7)+-parseInt(_0x4ccaea(0x9f))/0x8*(parseInt(_0x4ccaea(0xa3))/0x9)+parseInt(_0x4ccaea(0x98))/0xa+-parseInt(_0x4ccaea(0xa0))/0xb;if(_0x2c859b===_0x5cf149)break;else _0x2cd54c['push'](_0x2cd54c['shift']());}catch(_0x4ae779){_0x2cd54c['push'](_0x2cd54c['shift']());}}}(_0x589e,0x1f5ac));function _0x589e(){var _0x20a572=['2mKvTQr','468657RbkXCK','kwwSE','32650LRpDdR','male','1803860pMItEh','723189ypPmAr','female','176685VmsgLm','84wbbEmN','7386BpcfGm','unknown','32HQbWnf','262592rZFYOT','80RLokhx'];_0x589e=function(){return _0x20a572;};return _0x589e();}export var Sex;function _0x4746(_0x36fc85,_0x28814e){var _0x589e18=_0x589e();return _0x4746=function(_0x474685,_0x585278){_0x474685=_0x474685-0x95;var _0x3436a4=_0x589e18[_0x474685];return _0x3436a4;},_0x4746(_0x36fc85,_0x28814e);}(function(_0x43cdf4){var _0x473d1e=_0x4746,_0x39232f={'kwwSE':'male','IpzCW':_0x473d1e(0x9e)};_0x43cdf4[_0x43cdf4[_0x39232f[_0x473d1e(0x95)]]=0x1]=_0x473d1e(0x97),_0x43cdf4[_0x43cdf4[_0x473d1e(0x9a)]=0x2]=_0x473d1e(0x9a),_0x43cdf4[_0x43cdf4[_0x473d1e(0x9e)]=0xff]=_0x39232f['IpzCW'];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x197d14,_0xc8f0af){var _0x4ab2ad=_0xa3a5,_0x35edcc=_0x197d14();while(!![]){try{var _0x79ff36=-parseInt(_0x4ab2ad(0x124))/0x1+parseInt(_0x4ab2ad(0x12a))/0x2*(-parseInt(_0x4ab2ad(0x129))/0x3)+-parseInt(_0x4ab2ad(0x125))/0x4+parseInt(_0x4ab2ad(0x126))/0x5+-parseInt(_0x4ab2ad(0x12c))/0x6+parseInt(_0x4ab2ad(0x12d))/0x7*(parseInt(_0x4ab2ad(0x123))/0x8)+parseInt(_0x4ab2ad(0x12b))/0x9;if(_0x79ff36===_0xc8f0af)break;else _0x35edcc['push'](_0x35edcc['shift']());}catch(_0x4ec61f){_0x35edcc['push'](_0x35edcc['shift']());}}}(_0x1f84,0x9905d));export var Sex;function _0xa3a5(_0x17249f,_0x580a19){var _0x1f8413=_0x1f84();return _0xa3a5=function(_0xa3a5a5,_0x256cd4){_0xa3a5a5=_0xa3a5a5-0x121;var _0x62625c=_0x1f8413[_0xa3a5a5];return _0x62625c;},_0xa3a5(_0x17249f,_0x580a19);}(function(_0x1fa5c9){var _0x52b5f2=_0xa3a5,_0x2e8667={'fGUAT':_0x52b5f2(0x122),'aTZRI':'female','Oafkx':_0x52b5f2(0x128)};_0x1fa5c9[_0x1fa5c9[_0x2e8667['fGUAT']]=0x1]=_0x2e8667['fGUAT'],_0x1fa5c9[_0x1fa5c9[_0x2e8667[_0x52b5f2(0x12e)]]=0x2]=_0x2e8667['aTZRI'],_0x1fa5c9[_0x1fa5c9[_0x52b5f2(0x128)]=0xff]=_0x2e8667[_0x52b5f2(0x121)];}(Sex||(Sex={})));export var BizKey;function _0x1f84(){var _0x35dfc5=['9508808zwWINM','856438RfXLyH','4341308jZjuTx','903900mVAYJG','yobyd','unknown','6291auAVSi','278pyuFEr','22792320sBTiiX','6250992jVGvQs','7IZjsIe','aTZRI','KPHOTOWALL','KPRIVILEGEICON','Oafkx','male'];_0x1f84=function(){return _0x35dfc5;};return _0x1f84();}(function(_0x15beaa){var _0x2c969a=_0xa3a5,_0x1cc035={'yobyd':'KPHOTOWALL'};_0x15beaa[_0x15beaa[_0x2c969a(0x130)]=0x0]=_0x2c969a(0x130),_0x15beaa[_0x15beaa[_0x2c969a(0x12f)]=0x1]=_0x1cc035[_0x2c969a(0x127)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index b1f740b7..ca884aca 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x52fe78,_0x191236){var _0x2d0c1c=_0x25a8,_0x2c8c5d=_0x52fe78();while(!![]){try{var _0x49487d=parseInt(_0x2d0c1c(0x192))/0x1*(parseInt(_0x2d0c1c(0x194))/0x2)+-parseInt(_0x2d0c1c(0x197))/0x3+parseInt(_0x2d0c1c(0x191))/0x4+parseInt(_0x2d0c1c(0x18f))/0x5*(-parseInt(_0x2d0c1c(0x198))/0x6)+parseInt(_0x2d0c1c(0x190))/0x7*(parseInt(_0x2d0c1c(0x196))/0x8)+parseInt(_0x2d0c1c(0x193))/0x9+-parseInt(_0x2d0c1c(0x195))/0xa;if(_0x49487d===_0x191236)break;else _0x2c8c5d['push'](_0x2c8c5d['shift']());}catch(_0x25c3f3){_0x2c8c5d['push'](_0x2c8c5d['shift']());}}}(_0x43bc,0xbef50));import _0x1eb0a9 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x43bc(){var _0x28962a=['1269180jGuByi','199XOlylB','4613121cAkJbZ','11262ujAmPd','4916120sSwoRH','24odRsXt','578688cwAYOk','60kGUSVz','271815AKADBa','139685VeAJUB'];_0x43bc=function(){return _0x28962a;};return _0x43bc();}export*from'./entities';export*from'./listeners';export*from'./services';function _0x25a8(_0x5f5a29,_0x3c73b1){var _0x43bc04=_0x43bc();return _0x25a8=function(_0x25a899,_0x214b16){_0x25a899=_0x25a899-0x18f;var _0x2756a0=_0x43bc04[_0x25a899];return _0x2756a0;},_0x25a8(_0x5f5a29,_0x3c73b1);}export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1eb0a9 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x4eacb3,_0x5df08d){var _0x472c2d=_0x5f22,_0x101b8b=_0x4eacb3();while(!![]){try{var _0x228622=parseInt(_0x472c2d(0xd1))/0x1+-parseInt(_0x472c2d(0xd4))/0x2+-parseInt(_0x472c2d(0xca))/0x3*(-parseInt(_0x472c2d(0xcc))/0x4)+parseInt(_0x472c2d(0xd3))/0x5*(-parseInt(_0x472c2d(0xd2))/0x6)+-parseInt(_0x472c2d(0xcf))/0x7+-parseInt(_0x472c2d(0xcb))/0x8*(-parseInt(_0x472c2d(0xce))/0x9)+parseInt(_0x472c2d(0xcd))/0xa*(parseInt(_0x472c2d(0xd0))/0xb);if(_0x228622===_0x5df08d)break;else _0x101b8b['push'](_0x101b8b['shift']());}catch(_0x4c8c26){_0x101b8b['push'](_0x101b8b['shift']());}}}(_0x7829,0xdadbd));import _0x5f541c from'./wrapper';function _0x7829(){var _0x1a008a=['783KpoptK','2522765wGUPgS','33mPyFOC','1505958JbWWgi','36vSWjtS','731330jrKNmm','1745620clQlBT','473028UqkJfv','13912UnPsXj','20NEHJWz','1872050VoIjAR'];_0x7829=function(){return _0x1a008a;};return _0x7829();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x5f22(_0x331525,_0x4afd37){var _0x7829e1=_0x7829();return _0x5f22=function(_0x5f22aa,_0x21accb){_0x5f22aa=_0x5f22aa-0xca;var _0x574bae=_0x7829e1[_0x5f22aa];return _0x574bae;},_0x5f22(_0x331525,_0x4afd37);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x5f541c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 525f2848..a737b575 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x49345d=_0x53be;(function(_0x4b6c86,_0x3c8232){var _0x29c726=_0x53be,_0x1e854f=_0x4b6c86();while(!![]){try{var _0x461716=-parseInt(_0x29c726(0x1e8))/0x1*(parseInt(_0x29c726(0x1eb))/0x2)+parseInt(_0x29c726(0x1fa))/0x3+parseInt(_0x29c726(0x1f0))/0x4+-parseInt(_0x29c726(0x1ea))/0x5+-parseInt(_0x29c726(0x1fd))/0x6*(parseInt(_0x29c726(0x1f5))/0x7)+-parseInt(_0x29c726(0x1f7))/0x8+parseInt(_0x29c726(0x1f1))/0x9*(parseInt(_0x29c726(0x1f9))/0xa);if(_0x461716===_0x3c8232)break;else _0x1e854f['push'](_0x1e854f['shift']());}catch(_0x439b8a){_0x1e854f['push'](_0x1e854f['shift']());}}}(_0x46d3,0x643e9));function _0x46d3(){var _0x2295ca=['onSmartInfos','3777616rPDPOv','onAddMeSettingChanged','13651730OOEMXW','387519MRTrZI','onAvatarUrlUpdated','onSpacePermissionInfos','1083864SjGfyp','onBuddyDetailInfoChange','onBuddyRemarkUpdated','31399VYNwNH','onDoubtBuddyReqUnreadNumChange','1000755SKNppr','2xhlGcg','onDelBatchBuddyInfos','onDoubtBuddyReqChange','onNickUpdated','onBuddyInfoChange','647756YXbSVA','9lzKIOW','onBuddyReqUnreadCntChange','onBlockChanged','onAddBuddyNeedVerify','21RsmPVJ'];_0x46d3=function(){return _0x2295ca;};return _0x46d3();}function _0x53be(_0x497dd1,_0x384ef4){var _0x46d33e=_0x46d3();return _0x53be=function(_0x53be7e,_0x3025af){_0x53be7e=_0x53be7e-0x1e7;var _0x5a38b0=_0x46d33e[_0x53be7e];return _0x5a38b0;},_0x53be(_0x497dd1,_0x384ef4);}export class BuddyListener{[_0x49345d(0x1f4)](_0x4222e2){}[_0x49345d(0x1f8)](_0x2cdfb3){}[_0x49345d(0x1fb)](_0x182cb3){}[_0x49345d(0x1f3)](_0x4f38c9){}[_0x49345d(0x1fe)](_0x53b14c){}[_0x49345d(0x1ef)](_0x14ee2e){}['onBuddyListChange'](_0x3ecf7c){}[_0x49345d(0x1e7)](_0x57147c){}['onBuddyReqChange'](_0x3300d4){}[_0x49345d(0x1f2)](_0x48289){}['onCheckBuddySettingResult'](_0x54de62){}[_0x49345d(0x1ec)](_0xaccc32){}[_0x49345d(0x1ed)](_0x57bef7){}[_0x49345d(0x1e9)](_0x360d3d){}[_0x49345d(0x1ee)](_0x3c98e5){}[_0x49345d(0x1f6)](_0x2c67cd){}[_0x49345d(0x1fc)](_0x3174ee){}} \ No newline at end of file +function _0x31ff(_0x3df261,_0x57063c){var _0x32c047=_0x32c0();return _0x31ff=function(_0x31ff3b,_0x1ad38b){_0x31ff3b=_0x31ff3b-0x9f;var _0x89e4c2=_0x32c047[_0x31ff3b];return _0x89e4c2;},_0x31ff(_0x3df261,_0x57063c);}function _0x32c0(){var _0x27d891=['582920ZpSiRf','56675ijseqh','onDoubtBuddyReqUnreadNumChange','91hCIiDF','8IKdjZy','onBuddyReqChange','onBuddyDetailInfoChange','5299800jUufTS','6eKXiNp','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','onSmartInfos','onAddMeSettingChanged','onBuddyRemarkUpdated','755367zRPfSc','1561590ZJqpRI','onNickUpdated','onAddBuddyNeedVerify','onBuddyInfoChange','onBuddyListChange','3320379SUivgb','onSpacePermissionInfos','755775GzKIlH','onDelBatchBuddyInfos','onCheckBuddySettingResult'];_0x32c0=function(){return _0x27d891;};return _0x32c0();}var _0x31b41b=_0x31ff;(function(_0x50369c,_0x169c4c){var _0x1466ad=_0x31ff,_0xdf92af=_0x50369c();while(!![]){try{var _0x575dec=-parseInt(_0x1466ad(0xa9))/0x1+-parseInt(_0x1466ad(0xb7))/0x2+-parseInt(_0x1466ad(0xb6))/0x3*(-parseInt(_0x1466ad(0xac))/0x4)+parseInt(_0x1466ad(0xa5))/0x5*(parseInt(_0x1466ad(0xb0))/0x6)+parseInt(_0x1466ad(0xab))/0x7*(parseInt(_0x1466ad(0xa8))/0x8)+parseInt(_0x1466ad(0xa3))/0x9+-parseInt(_0x1466ad(0xaf))/0xa;if(_0x575dec===_0x169c4c)break;else _0xdf92af['push'](_0xdf92af['shift']());}catch(_0x2a6aeb){_0xdf92af['push'](_0xdf92af['shift']());}}}(_0x32c0,0x93543));export class BuddyListener{[_0x31b41b(0xa0)](_0x3494af){}[_0x31b41b(0xb4)](_0x2d5e5d){}['onAvatarUrlUpdated'](_0x4f8dda){}['onBlockChanged'](_0x2c082d){}[_0x31b41b(0xae)](_0xe3b5e5){}[_0x31b41b(0xa1)](_0x3980a9){}[_0x31b41b(0xa2)](_0x413369){}[_0x31b41b(0xb5)](_0x33cb35){}[_0x31b41b(0xad)](_0x4b296a){}[_0x31b41b(0xb2)](_0x535223){}[_0x31b41b(0xa7)](_0x27a6c2){}[_0x31b41b(0xa6)](_0x3faaa2){}[_0x31b41b(0xb1)](_0x5241db){}[_0x31b41b(0xaa)](_0x2c81ef){}[_0x31b41b(0x9f)](_0x2e4bd9){}[_0x31b41b(0xb3)](_0x24e338){}[_0x31b41b(0xa4)](_0x4c38a1){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index b1a7aa60..c3880b52 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x55f3(_0x542801,_0x593c59){var _0x18790a=_0x1879();return _0x55f3=function(_0x55f3e9,_0x4f9434){_0x55f3e9=_0x55f3e9-0xfd;var _0x1a5931=_0x18790a[_0x55f3e9];return _0x1a5931;},_0x55f3(_0x542801,_0x593c59);}function _0x1879(){var _0x1ea460=['onFileListChanged','277164qWIeLK','735284WLnDnx','500742GrxkKO','onFileStatusChanged','793pzNuso','4944357syLtxg','1129808DDWiPD','onSessionChanged','35JTbrQP','onSessionListChanged','258wPKCeq','33888fnytnA','249rEnGfq','1jLYYEK','20WkpmBU','161845EaGZhg'];_0x1879=function(){return _0x1ea460;};return _0x1879();}var _0x4cb28a=_0x55f3;(function(_0x1a92f8,_0x7b0774){var _0x5f380a=_0x55f3,_0x5517de=_0x1a92f8();while(!![]){try{var _0x1a842d=-parseInt(_0x5f380a(0x10c))/0x1*(parseInt(_0x5f380a(0x100))/0x2)+-parseInt(_0x5f380a(0x10b))/0x3*(parseInt(_0x5f380a(0x10a))/0x4)+-parseInt(_0x5f380a(0xfd))/0x5*(-parseInt(_0x5f380a(0x109))/0x6)+-parseInt(_0x5f380a(0x107))/0x7*(-parseInt(_0x5f380a(0x105))/0x8)+parseInt(_0x5f380a(0x104))/0x9*(parseInt(_0x5f380a(0x10d))/0xa)+parseInt(_0x5f380a(0x101))/0xb+parseInt(_0x5f380a(0xff))/0xc*(-parseInt(_0x5f380a(0x103))/0xd);if(_0x1a842d===_0x7b0774)break;else _0x5517de['push'](_0x5517de['shift']());}catch(_0x3b9652){_0x5517de['push'](_0x5517de['shift']());}}}(_0x1879,0xba2a2));export class KernelFileAssistantListener{[_0x4cb28a(0x102)](..._0x269a30){}[_0x4cb28a(0x108)](..._0x4b4ff5){}[_0x4cb28a(0x106)](..._0x277975){}[_0x4cb28a(0xfe)](..._0x35e7f5){}['onFileSearch'](..._0x359661){}} \ No newline at end of file +var _0x2ab7c2=_0x2a87;function _0x2a87(_0x4b2ed5,_0x4bba26){var _0x34e188=_0x34e1();return _0x2a87=function(_0x2a87c7,_0x514f3e){_0x2a87c7=_0x2a87c7-0x155;var _0x4b1498=_0x34e188[_0x2a87c7];return _0x4b1498;},_0x2a87(_0x4b2ed5,_0x4bba26);}function _0x34e1(){var _0x2fe20d=['72suYwkU','509319wwaCKz','40NBmBpM','139813gVlkzb','1177772JupjCM','2793854dRFRAY','onSessionChanged','onSessionListChanged','482814dKMjwI','144990aREOgn','303978zJcDzv','onFileListChanged','onFileSearch','onFileStatusChanged'];_0x34e1=function(){return _0x2fe20d;};return _0x34e1();}(function(_0x19d4c1,_0x417a97){var _0x31c0a3=_0x2a87,_0x44dc59=_0x19d4c1();while(!![]){try{var _0x24c51d=-parseInt(_0x31c0a3(0x158))/0x1+parseInt(_0x31c0a3(0x15d))/0x2+parseInt(_0x31c0a3(0x15e))/0x3+-parseInt(_0x31c0a3(0x159))/0x4+parseInt(_0x31c0a3(0x157))/0x5*(-parseInt(_0x31c0a3(0x15f))/0x6)+parseInt(_0x31c0a3(0x15a))/0x7+parseInt(_0x31c0a3(0x155))/0x8*(parseInt(_0x31c0a3(0x156))/0x9);if(_0x24c51d===_0x417a97)break;else _0x44dc59['push'](_0x44dc59['shift']());}catch(_0x370f35){_0x44dc59['push'](_0x44dc59['shift']());}}}(_0x34e1,0x578da));export class KernelFileAssistantListener{[_0x2ab7c2(0x162)](..._0x104a19){}[_0x2ab7c2(0x15c)](..._0x5f1b80){}[_0x2ab7c2(0x15b)](..._0x10fe22){}[_0x2ab7c2(0x160)](..._0x4d3e77){}[_0x2ab7c2(0x161)](..._0x675eb){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index a585759d..cfec1e3a 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x1f91(){var _0x48addd=['265405hOdsaK','onJoinGroupNotify','709621UHOcpz','104846yOxqxV','jhsUT','onGroupStatisticInfoChange','uliwX','onGroupBulletinRemindNotify:','2646348kPUXpg','onGroupListUpdate:','onGroupNotifiesUnreadCountUpdated:','onMemberInfoChange','onGroupAllInfoChange:','onJoinGroupNotify:','onGroupNotifiesUpdated:','uWyZX','ZsWek','onSearchMemberChange:','yamsy','onJoinGroupNoVerifyFlag:','hbawF','onGroupDetailInfoChange:','2060775GaQKJl','onGroupDetailInfoChange','onGetGroupBulletinListResult','onGroupExtListUpdate','10gfMXhf','rPCuC','onGroupArkInviteStateResult','312XfitoR','QYllQ','onGroupStatisticInfoChange:','onShutUpMemberListChanged','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRichMediaDownloadComplete','qvCSs','onGroupArkInviteStateResult:','2JgSOPC','onGroupBulletinChange','onGroupConfMemberChange','onGroupSingleScreenNotifies:','log','84jtMnLe','onGroupBulletinRichMediaProgressUpdate:','onGroupFirstBulletinNotify:','onMemberInfoChange:','onGroupAllInfoChange','9wTgUjA','onSearchMemberChange','onGroupMemberLevelInfoChange:','syoSz','NlJOG','onGroupListUpdate','onGroupExtListUpdate:','onGroupBulletinRichMediaDownloadComplete:','1610008lMyKSv','xUQej','oLEPr','onGroupsMsgMaskResult','onMemberListChange:','onGroupSingleScreenNotifies','onShutUpMemberListChanged:','onMemberListChange','onGroupMemberLevelInfoChange','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify','1313073uiilup'];_0x1f91=function(){return _0x48addd;};return _0x1f91();}var _0x3a8ed4=_0x3e66;(function(_0x4816e1,_0x3cb48b){var _0x2bec6c=_0x3e66,_0x1233ff=_0x4816e1();while(!![]){try{var _0x29d7be=parseInt(_0x2bec6c(0x174))/0x1*(-parseInt(_0x2bec6c(0x19b))/0x2)+parseInt(_0x2bec6c(0x18b))/0x3+parseInt(_0x2bec6c(0x1a0))/0x4*(parseInt(_0x2bec6c(0x175))/0x5)+-parseInt(_0x2bec6c(0x192))/0x6*(-parseInt(_0x2bec6c(0x178))/0x7)+parseInt(_0x2bec6c(0x169))/0x8*(-parseInt(_0x2bec6c(0x1a5))/0x9)+-parseInt(_0x2bec6c(0x18f))/0xa*(parseInt(_0x2bec6c(0x177))/0xb)+-parseInt(_0x2bec6c(0x17d))/0xc;if(_0x29d7be===_0x3cb48b)break;else _0x1233ff['push'](_0x1233ff['shift']());}catch(_0x117099){_0x1233ff['push'](_0x1233ff['shift']());}}}(_0x1f91,0xbeb3e));function _0x3e66(_0x4fa9d1,_0x47bebb){var _0x1f911e=_0x1f91();return _0x3e66=function(_0x3e6619,_0x3fd335){_0x3e6619=_0x3e6619-0x163;var _0xeedbf6=_0x1f911e[_0x3e6619];return _0xeedbf6;},_0x3e66(_0x4fa9d1,_0x47bebb);}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x3225c1){}[_0x3a8ed4(0x18d)](..._0xa72a70){}[_0x3a8ed4(0x1a4)](..._0x129648){}[_0x3a8ed4(0x19c)](..._0x1ccd58){}[_0x3a8ed4(0x172)](..._0x1e605a){}[_0x3a8ed4(0x191)](..._0x44995b){}[_0x3a8ed4(0x198)](..._0x5a88d3){}['onGroupConfMemberChange'](..._0xb38b0a){}[_0x3a8ed4(0x18c)](..._0x336274){}[_0x3a8ed4(0x18e)](..._0x25f53c){}[_0x3a8ed4(0x173)](..._0x344822){}['onGroupListUpdate'](_0x277a90,_0x487973){}['onGroupNotifiesUpdated'](_0x589425,_0x390806){}['onGroupBulletinRichMediaProgressUpdate'](..._0x342896){}[_0x3a8ed4(0x197)](..._0xb4fdbe){}['onGroupSingleScreenNotifies'](_0x531446,_0x5c9541,_0x2e4948){}['onGroupsMsgMaskResult'](..._0x600607){}['onGroupStatisticInfoChange'](..._0x4d7fad){}[_0x3a8ed4(0x176)](..._0x442353){}['onJoinGroupNoVerifyFlag'](..._0x5d85e8){}['onMemberInfoChange'](_0x1660c7,_0x9c7d70,_0x158b62){}[_0x3a8ed4(0x170)](_0xafa6d2){}[_0x3a8ed4(0x1a6)](..._0x48cb0b){}[_0x3a8ed4(0x195)](..._0x28a0b3){}}export class DebugGroupListener{[_0x3a8ed4(0x171)](..._0x1936de){var _0x78ea6=_0x3a8ed4,_0x363970={'QYllQ':_0x78ea6(0x163)};console[_0x78ea6(0x19f)](_0x363970[_0x78ea6(0x193)],..._0x1936de);}['onGetGroupBulletinListResult'](..._0x54793f){var _0x1824aa=_0x3a8ed4,_0x370698={'bvHpF':'onGetGroupBulletinListResult:'};console[_0x1824aa(0x19f)](_0x370698['bvHpF'],..._0x54793f);}[_0x3a8ed4(0x1a4)](..._0x51c8a8){var _0x27febd=_0x3a8ed4,_0x58ad6c={'jhsUT':_0x27febd(0x181)};console[_0x27febd(0x19f)](_0x58ad6c[_0x27febd(0x179)],..._0x51c8a8);}[_0x3a8ed4(0x19c)](..._0xb5edbb){var _0x98b7f0=_0x3a8ed4,_0x40ea5c={'syoSz':'onGroupBulletinChange:'};console[_0x98b7f0(0x19f)](_0x40ea5c[_0x98b7f0(0x164)],..._0xb5edbb);}['onGroupBulletinRemindNotify'](..._0x4c5e74){var _0x49f87e=_0x3a8ed4,_0x59f7dc={'oLEPr':_0x49f87e(0x17c)};console[_0x49f87e(0x19f)](_0x59f7dc[_0x49f87e(0x16b)],..._0x4c5e74);}[_0x3a8ed4(0x191)](..._0x3a15e5){var _0x52c5d7=_0x3a8ed4,_0x17cae9={'ZsWek':_0x52c5d7(0x19a)};console['log'](_0x17cae9[_0x52c5d7(0x185)],..._0x3a15e5);}[_0x3a8ed4(0x198)](..._0x35b47d){var _0x1c3d16=_0x3a8ed4;console[_0x1c3d16(0x19f)](_0x1c3d16(0x168),..._0x35b47d);}[_0x3a8ed4(0x19d)](..._0x44f9b9){var _0x43d065=_0x3a8ed4;console[_0x43d065(0x19f)]('onGroupConfMemberChange:',..._0x44f9b9);}['onGroupDetailInfoChange'](..._0x16bd11){var _0x1e9a00=_0x3a8ed4,_0xefc585={'yamsy':_0x1e9a00(0x18a)};console[_0x1e9a00(0x19f)](_0xefc585[_0x1e9a00(0x187)],..._0x16bd11);}[_0x3a8ed4(0x18e)](..._0x45ea34){var _0x1a827a=_0x3a8ed4,_0x21f01b={'uliwX':_0x1a827a(0x167)};console['log'](_0x21f01b[_0x1a827a(0x17b)],..._0x45ea34);}[_0x3a8ed4(0x173)](..._0x405c98){var _0x47da68=_0x3a8ed4,_0x59ee0d={'uWyZX':_0x47da68(0x1a2)};console[_0x47da68(0x19f)](_0x59ee0d[_0x47da68(0x184)],..._0x405c98);}[_0x3a8ed4(0x166)](..._0x355c18){var _0x26451c=_0x3a8ed4,_0x5f08fc={'HRUFb':_0x26451c(0x17e)};console[_0x26451c(0x19f)](_0x5f08fc['HRUFb'],..._0x355c18);}['onGroupNotifiesUpdated'](..._0xd0c01c){var _0x103315=_0x3a8ed4;console[_0x103315(0x19f)](_0x103315(0x183),..._0xd0c01c);}[_0x3a8ed4(0x196)](..._0x43e564){var _0xe23798=_0x3a8ed4,_0x168b3d={'qvCSs':_0xe23798(0x1a1)};console['log'](_0x168b3d[_0xe23798(0x199)],..._0x43e564);}[_0x3a8ed4(0x197)](..._0x1f9b79){var _0x182cb8=_0x3a8ed4;console[_0x182cb8(0x19f)](_0x182cb8(0x17f),..._0x1f9b79);}[_0x3a8ed4(0x16e)](_0x5a9be8,_0x4ee41c,_0x156221){var _0x3da64e=_0x3a8ed4,_0x13c1cb={'DyaEA':_0x3da64e(0x19e)};console['log'](_0x13c1cb['DyaEA']);}[_0x3a8ed4(0x16c)](..._0x304ffc){var _0x4b23b3=_0x3a8ed4,_0x362d45={'hbawF':'onGroupsMsgMaskResult:'};console[_0x4b23b3(0x19f)](_0x362d45[_0x4b23b3(0x189)],..._0x304ffc);}[_0x3a8ed4(0x17a)](..._0x179ac8){var _0x2ec1ef=_0x3a8ed4,_0xf1c6b5={'NlJOG':_0x2ec1ef(0x194)};console[_0x2ec1ef(0x19f)](_0xf1c6b5[_0x2ec1ef(0x165)],..._0x179ac8);}[_0x3a8ed4(0x176)](..._0x3776e9){var _0x584463=_0x3a8ed4,_0x1cf3e2={'xUQej':_0x584463(0x182)};console[_0x584463(0x19f)](_0x1cf3e2[_0x584463(0x16a)],..._0x3776e9);}['onJoinGroupNoVerifyFlag'](..._0x6764e9){var _0x50c582=_0x3a8ed4;console[_0x50c582(0x19f)](_0x50c582(0x188),..._0x6764e9);}[_0x3a8ed4(0x180)](_0x433988,_0x5c781f,_0x23d47a){var _0x544d3b=_0x3a8ed4,_0x3483a7={'LabFB':_0x544d3b(0x1a3)};console[_0x544d3b(0x19f)](_0x3483a7['LabFB'],_0x433988,_0x5c781f,_0x23d47a);}[_0x3a8ed4(0x170)](..._0x4a4209){var _0x3563bb=_0x3a8ed4;console[_0x3563bb(0x19f)](_0x3563bb(0x16d),..._0x4a4209);}['onSearchMemberChange'](..._0x31bcb3){var _0x3c3533=_0x3a8ed4;console[_0x3c3533(0x19f)](_0x3c3533(0x186),..._0x31bcb3);}[_0x3a8ed4(0x195)](..._0x17a2f9){var _0x383a92=_0x3a8ed4,_0x5bf7d1={'rPCuC':_0x383a92(0x16f)};console[_0x383a92(0x19f)](_0x5bf7d1[_0x383a92(0x190)],..._0x17a2f9);}} \ No newline at end of file +function _0x2350(_0x2e938d,_0x23c0d8){var _0x517cd7=_0x517c();return _0x2350=function(_0x2350a1,_0x30ab0c){_0x2350a1=_0x2350a1-0x6b;var _0x505c8f=_0x517cd7[_0x2350a1];return _0x505c8f;},_0x2350(_0x2e938d,_0x23c0d8);}var _0x181468=_0x2350;(function(_0xfa2720,_0x188af2){var _0x1f26d0=_0x2350,_0x579f83=_0xfa2720();while(!![]){try{var _0x5252eb=parseInt(_0x1f26d0(0x94))/0x1+-parseInt(_0x1f26d0(0x97))/0x2*(-parseInt(_0x1f26d0(0x93))/0x3)+parseInt(_0x1f26d0(0x99))/0x4+parseInt(_0x1f26d0(0x73))/0x5*(-parseInt(_0x1f26d0(0x92))/0x6)+parseInt(_0x1f26d0(0x70))/0x7+parseInt(_0x1f26d0(0x6c))/0x8+-parseInt(_0x1f26d0(0x6d))/0x9*(parseInt(_0x1f26d0(0x7d))/0xa);if(_0x5252eb===_0x188af2)break;else _0x579f83['push'](_0x579f83['shift']());}catch(_0x537c4d){_0x579f83['push'](_0x579f83['shift']());}}}(_0x517c,0xf0c8d));export class GroupListener{[_0x181468(0xa0)](..._0x4e26e4){}[_0x181468(0xa2)](..._0x33c619){}[_0x181468(0x72)](..._0x16707f){}[_0x181468(0xa1)](..._0x235c3d){}[_0x181468(0x75)](..._0x4143c6){}['onGroupArkInviteStateResult'](..._0x26da63){}[_0x181468(0x6b)](..._0x1dfe5c){}[_0x181468(0x9c)](..._0x2f626b){}[_0x181468(0x9a)](..._0x52809f){}[_0x181468(0x8c)](..._0x82aede){}[_0x181468(0x80)](..._0x986d90){}[_0x181468(0x8b)](_0x4c1885,_0x5e3044){}['onGroupNotifiesUpdated'](_0x111607,_0x39e43c){}['onGroupBulletinRichMediaProgressUpdate'](..._0x5c374f){}[_0x181468(0x79)](..._0x281aee){}[_0x181468(0x98)](_0x4c816a,_0x56f326,_0x36bd36){}['onGroupsMsgMaskResult'](..._0x522dd8){}[_0x181468(0xa6)](..._0xd9abee){}[_0x181468(0x84)](..._0x55cf2e){}[_0x181468(0x74)](..._0x12363d){}[_0x181468(0xa5)](_0x6d97a6,_0x25ff82,_0x5e93b6){}[_0x181468(0x91)](_0x4fc0e0){}[_0x181468(0x6f)](..._0x2029a6){}[_0x181468(0x7f)](..._0xfe41b9){}}export class DebugGroupListener{[_0x181468(0xa0)](..._0x437187){var _0x537ea3=_0x181468,_0xc2d8da={'cbkMx':_0x537ea3(0x82)};console[_0x537ea3(0x76)](_0xc2d8da[_0x537ea3(0x71)],..._0x437187);}[_0x181468(0xa2)](..._0xb1b355){var _0x56567a=_0x181468,_0x6ccbe3={'vrsMo':'onGetGroupBulletinListResult:'};console['log'](_0x6ccbe3[_0x56567a(0x7a)],..._0xb1b355);}[_0x181468(0x72)](..._0x4c2609){var _0x326a40=_0x181468,_0x45dd1d={'tDkLY':_0x326a40(0x90)};console[_0x326a40(0x76)](_0x45dd1d[_0x326a40(0x6e)],..._0x4c2609);}[_0x181468(0xa1)](..._0x1c418d){var _0x97a85b=_0x181468;console[_0x97a85b(0x76)](_0x97a85b(0x8d),..._0x1c418d);}[_0x181468(0x75)](..._0x1b54c4){var _0x8953eb=_0x181468;console['log'](_0x8953eb(0x81),..._0x1b54c4);}[_0x181468(0xa9)](..._0x108bf0){var _0x434768=_0x181468;console[_0x434768(0x76)](_0x434768(0xa7),..._0x108bf0);}[_0x181468(0x6b)](..._0x5585fc){var _0x313787=_0x181468,_0x10cd17={'VsSJN':_0x313787(0x7e)};console[_0x313787(0x76)](_0x10cd17['VsSJN'],..._0x5585fc);}[_0x181468(0x9c)](..._0x55fe6d){var _0x24014f=_0x181468,_0x2cba66={'zJEXP':_0x24014f(0x89)};console['log'](_0x2cba66[_0x24014f(0xa4)],..._0x55fe6d);}[_0x181468(0x9a)](..._0x507a5a){var _0x4553af=_0x181468,_0x58ca46={'Bisqh':_0x4553af(0x86)};console[_0x4553af(0x76)](_0x58ca46['Bisqh'],..._0x507a5a);}['onGroupExtListUpdate'](..._0x5ddc3c){var _0x149426=_0x181468,_0x4c542c={'sjMXt':_0x149426(0xa3)};console[_0x149426(0x76)](_0x4c542c[_0x149426(0x8f)],..._0x5ddc3c);}[_0x181468(0x80)](..._0x1260ac){var _0x47f6e6=_0x181468,_0x2db04b={'KqIJr':_0x47f6e6(0x9f)};console[_0x47f6e6(0x76)](_0x2db04b[_0x47f6e6(0x9d)],..._0x1260ac);}[_0x181468(0x8b)](..._0x1c9922){var _0x50f6ec=_0x181468,_0x5f2e38={'sZCfn':'onGroupListUpdate:'};console[_0x50f6ec(0x76)](_0x5f2e38[_0x50f6ec(0x7b)],..._0x1c9922);}['onGroupNotifiesUpdated'](..._0x3f489f){var _0x567fe0=_0x181468,_0x112397={'tgzbA':_0x567fe0(0x77)};console[_0x567fe0(0x76)](_0x112397[_0x567fe0(0x88)],..._0x3f489f);}[_0x181468(0x96)](..._0xc69243){var _0x459615=_0x181468,_0x41024f={'UXIGr':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x459615(0x76)](_0x41024f['UXIGr'],..._0xc69243);}['onGroupNotifiesUnreadCountUpdated'](..._0x256fc5){var _0x3584a1=_0x181468;console[_0x3584a1(0x76)](_0x3584a1(0x8a),..._0x256fc5);}[_0x181468(0x98)](_0x36651b,_0x539b68,_0x41ec32){var _0x4dfd99=_0x181468,_0x3b3b00={'eHMSc':'onGroupSingleScreenNotifies:'};console['log'](_0x3b3b00[_0x4dfd99(0x9e)]);}[_0x181468(0x85)](..._0x1aaf45){var _0x40804c=_0x181468,_0x145f07={'PpnUh':_0x40804c(0x95)};console[_0x40804c(0x76)](_0x145f07['PpnUh'],..._0x1aaf45);}['onGroupStatisticInfoChange'](..._0x5e113c){console['log']('onGroupStatisticInfoChange:',..._0x5e113c);}[_0x181468(0x84)](..._0xbd18ad){var _0x31df9c=_0x181468;console[_0x31df9c(0x76)](_0x31df9c(0xa8),..._0xbd18ad);}['onJoinGroupNoVerifyFlag'](..._0x1d01df){var _0x4b04be=_0x181468,_0x13e64c={'JwFyO':_0x4b04be(0x83)};console[_0x4b04be(0x76)](_0x13e64c[_0x4b04be(0x7c)],..._0x1d01df);}[_0x181468(0xa5)](_0x21a916,_0x5bec27,_0x4366d7){var _0x162789=_0x181468,_0x10b0f3={'pTwPd':_0x162789(0x9b)};console[_0x162789(0x76)](_0x10b0f3[_0x162789(0x8e)],_0x21a916,_0x5bec27,_0x4366d7);}[_0x181468(0x91)](..._0x445e4b){var _0x14829f=_0x181468;console[_0x14829f(0x76)](_0x14829f(0x87),..._0x445e4b);}[_0x181468(0x6f)](..._0x112818){console['log']('onSearchMemberChange:',..._0x112818);}['onShutUpMemberListChanged'](..._0x528b96){var _0x398e01=_0x181468,_0x9ac6bb={'ldxxq':_0x398e01(0x78)};console['log'](_0x9ac6bb['ldxxq'],..._0x528b96);}}function _0x517c(){var _0x3b2228=['onMemberListChange:','tgzbA','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate','onGroupExtListUpdate','onGroupBulletinChange:','pTwPd','sjMXt','onGroupAllInfoChange:','onMemberListChange','7220886oJmRKw','6qAbpOw','648503CFnfEK','onGroupsMsgMaskResult:','onGroupBulletinRichMediaProgressUpdate','1309458SgepVn','onGroupSingleScreenNotifies','7013104KkTaTE','onGroupDetailInfoChange','onMemberInfoChange:','onGroupConfMemberChange','KqIJr','eHMSc','onGroupFirstBulletinNotify:','onGroupMemberLevelInfoChange','onGroupBulletinChange','onGetGroupBulletinListResult','onGroupExtListUpdate:','zJEXP','onMemberInfoChange','onGroupStatisticInfoChange','onGroupArkInviteStateResult:','onJoinGroupNotify:','onGroupArkInviteStateResult','onGroupBulletinRichMediaDownloadComplete','14611624pBTjnP','27cqoHEV','tDkLY','onSearchMemberChange','4817729hqlRqZ','cbkMx','onGroupAllInfoChange','5CNuapv','onJoinGroupNoVerifyFlag','onGroupBulletinRemindNotify','log','onGroupNotifiesUpdated:','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated','vrsMo','sZCfn','JwFyO','13454010QOTjam','onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','onGroupFirstBulletinNotify','onGroupBulletinRemindNotify:','onGroupMemberLevelInfoChange:','onJoinGroupNoVerifyFlag:','onJoinGroupNotify','onGroupsMsgMaskResult','onGroupDetailInfoChange:'];_0x517c=function(){return _0x3b2228;};return _0x517c();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 52a1618d..183e8a61 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0xa2356=_0x1812;function _0x1812(_0x2fc721,_0x3c30e1){var _0x4893f0=_0x4893();return _0x1812=function(_0x181276,_0x2505f7){_0x181276=_0x181276-0x13b;var _0x3f4b28=_0x4893f0[_0x181276];return _0x3f4b28;},_0x1812(_0x2fc721,_0x3c30e1);}(function(_0x2e7765,_0x427a4e){var _0x240e40=_0x1812,_0x7d8325=_0x2e7765();while(!![]){try{var _0x1312c7=-parseInt(_0x240e40(0x14a))/0x1*(-parseInt(_0x240e40(0x140))/0x2)+parseInt(_0x240e40(0x13b))/0x3+parseInt(_0x240e40(0x14b))/0x4+parseInt(_0x240e40(0x14c))/0x5+parseInt(_0x240e40(0x150))/0x6*(-parseInt(_0x240e40(0x145))/0x7)+parseInt(_0x240e40(0x13e))/0x8*(-parseInt(_0x240e40(0x151))/0x9)+parseInt(_0x240e40(0x13f))/0xa;if(_0x1312c7===_0x427a4e)break;else _0x7d8325['push'](_0x7d8325['shift']());}catch(_0x47e977){_0x7d8325['push'](_0x7d8325['shift']());}}}(_0x4893,0x83939));export class LoginListener{[_0xa2356(0x14e)](..._0x57cc08){}[_0xa2356(0x146)](..._0x147b19){}[_0xa2356(0x149)](..._0x3760ff){}[_0xa2356(0x141)](_0x446318){}['onQRCodeLoginPollingStarted'](..._0x4b0086){}[_0xa2356(0x13d)](..._0x5e9694){}[_0xa2356(0x144)](_0x277ea7){}[_0xa2356(0x152)](..._0x426962){}[_0xa2356(0x13c)](..._0x3cf1bf){}[_0xa2356(0x14d)](..._0x23c07e){}[_0xa2356(0x147)](..._0x5e763e){}['onUserLoggedIn'](..._0x210967){}[_0xa2356(0x14f)](..._0x43dcdc){}[_0xa2356(0x148)](..._0x44e7f5){}[_0xa2356(0x142)](..._0x4e81aa){}[_0xa2356(0x143)](..._0x4d4fa9){}['onLoginState'](..._0x5796f0){}}function _0x4893(){var _0x15c6ff=['onLoginConnected','onQRCodeSessionQuickLoginFailed','365160itXJnN','9HCoYjP','onQRCodeSessionFailed','532374lPUmQs','onLoginFailed','onQRCodeSessionUserScaned','7409712BfKggS','4564210idDxEI','906442SqFCTB','onQRCodeGetPicture','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','onQRCodeLoginSucceed','35USOLdB','onLoginDisConnected','onLogoutFailed','onPasswordLoginFailed','onLoginConnecting','1DzrbFc','1539064gkcFYW','1487925liEfAB','onLogoutSucceed'];_0x4893=function(){return _0x15c6ff;};return _0x4893();} \ No newline at end of file +var _0xcf306d=_0x5a1f;function _0xcca4(){var _0x1854c3=['1324475mslloR','2356056wXxKRP','onQRCodeLoginPollingStarted','onLogoutSucceed','9fOemKv','onLogoutFailed','onPasswordLoginFailed','2246142BBSTHh','14148aydEkk','onQRCodeLoginSucceed','75oxSEJN','onUserLoggedIn','onLoginDisConnected','onQQLoginNumLimited','5964552cWUwWm','10473673OgewZH','OnConfirmUnusualDeviceFailed','onLoginConnecting','317084trVzOI','onQRCodeSessionQuickLoginFailed'];_0xcca4=function(){return _0x1854c3;};return _0xcca4();}(function(_0x4745d5,_0x4e74ed){var _0x2500fa=_0x5a1f,_0x4c433f=_0x4745d5();while(!![]){try{var _0x1d6be5=parseInt(_0x2500fa(0xca))/0x1+-parseInt(_0x2500fa(0xc8))/0x2+parseInt(_0x2500fa(0xb7))/0x3+-parseInt(_0x2500fa(0xbe))/0x4*(parseInt(_0x2500fa(0xc0))/0x5)+-parseInt(_0x2500fa(0xbd))/0x6+-parseInt(_0x2500fa(0xc5))/0x7+-parseInt(_0x2500fa(0xc4))/0x8*(-parseInt(_0x2500fa(0xba))/0x9);if(_0x1d6be5===_0x4e74ed)break;else _0x4c433f['push'](_0x4c433f['shift']());}catch(_0x308194){_0x4c433f['push'](_0x4c433f['shift']());}}}(_0xcca4,0xbcc53));function _0x5a1f(_0x46c5ae,_0xaec46f){var _0xcca4ae=_0xcca4();return _0x5a1f=function(_0x5a1f60,_0x4fac31){_0x5a1f60=_0x5a1f60-0xb7;var _0x456d74=_0xcca4ae[_0x5a1f60];return _0x456d74;},_0x5a1f(_0x46c5ae,_0xaec46f);}export class LoginListener{['onLoginConnected'](..._0x912b9e){}[_0xcf306d(0xc2)](..._0x5bb84d){}[_0xcf306d(0xc7)](..._0x5b2bd6){}['onQRCodeGetPicture'](_0x32aa6b){}[_0xcf306d(0xb8)](..._0x58911a){}['onQRCodeSessionUserScaned'](..._0xdb74d9){}[_0xcf306d(0xbf)](_0x4cba81){}['onQRCodeSessionFailed'](..._0x5d5eeb){}['onLoginFailed'](..._0x68d187){}[_0xcf306d(0xb9)](..._0x224096){}[_0xcf306d(0xbb)](..._0x3e2cdd){}[_0xcf306d(0xc1)](..._0x4a5c5b){}[_0xcf306d(0xc9)](..._0x2e7d54){}[_0xcf306d(0xbc)](..._0x20ecd9){}[_0xcf306d(0xc6)](..._0x1f0a40){}[_0xcf306d(0xc3)](..._0x40b185){}['onLoginState'](..._0x3ee95b){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 22c64ea7..b02d4d80 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0xc80aa6=_0x116d;(function(_0x316f84,_0x357552){var _0x1ec1a4=_0x116d,_0x371c77=_0x316f84();while(!![]){try{var _0x4e5b83=parseInt(_0x1ec1a4(0x120))/0x1*(parseInt(_0x1ec1a4(0x114))/0x2)+-parseInt(_0x1ec1a4(0x118))/0x3*(parseInt(_0x1ec1a4(0x13a))/0x4)+parseInt(_0x1ec1a4(0x140))/0x5+parseInt(_0x1ec1a4(0x117))/0x6+parseInt(_0x1ec1a4(0x12c))/0x7*(parseInt(_0x1ec1a4(0x125))/0x8)+parseInt(_0x1ec1a4(0x145))/0x9*(parseInt(_0x1ec1a4(0x12d))/0xa)+-parseInt(_0x1ec1a4(0x13e))/0xb;if(_0x4e5b83===_0x357552)break;else _0x371c77['push'](_0x371c77['shift']());}catch(_0x37a06d){_0x371c77['push'](_0x371c77['shift']());}}}(_0x11d4,0xdb10a));export class MsgListener{['onAddSendMsg'](_0x305718){}[_0xc80aa6(0x141)](_0x3f10d6){}['onBroadcastHelperProgressUpdate'](_0x37731b){}[_0xc80aa6(0x123)](_0x1e09c1,_0x5aea6a,_0xf42aaa){}[_0xc80aa6(0x126)](_0x2e6867){}[_0xc80aa6(0x116)](_0x4b48b9){}[_0xc80aa6(0x128)](_0x28ec20,_0x1ff8b3,_0x563b9f){}['onEmojiDownloadComplete'](_0x1d82be){}['onEmojiResourceUpdate'](_0x57f39c){}[_0xc80aa6(0x12a)](_0x5693ae){}[_0xc80aa6(0x122)](_0x352528){}[_0xc80aa6(0x12e)](_0x471f7b){}[_0xc80aa6(0x11b)](_0x1dd51e){}[_0xc80aa6(0x127)](_0x21a380,_0x3d3f8b,_0x7bfffa,_0xe8967,_0x54200d){}[_0xc80aa6(0x115)](_0x11d7bb){}['onGroupFileInfoUpdate'](_0x355588){}[_0xc80aa6(0x11d)](_0x14ca94){}['onGroupTransferInfoAdd'](_0x13263c){}[_0xc80aa6(0x11f)](_0x31f4b3){}[_0xc80aa6(0x135)](_0x14195f){}['onGuildMsgAbFlagChanged'](_0xcba814){}['onGuildNotificationAbstractUpdate'](_0x2a7797){}[_0xc80aa6(0x112)](_0x965426){}[_0xc80aa6(0x129)](_0x5f5573){}['onHitRelatedEmojiResult'](_0x44461b){}['onImportOldDbProgressUpdate'](_0x5ca662){}[_0xc80aa6(0x121)](_0x510120){}[_0xc80aa6(0x139)](_0x1ff138){}['onLineDev'](_0x587bed){}['onLogLevelChanged'](_0x12e002){}[_0xc80aa6(0x119)](_0x503fc1){}[_0xc80aa6(0x11c)](_0x25444f){}[_0xc80aa6(0x124)](_0x50fac9,_0x43f670){}['onMsgEventListUpdate'](_0x3fdb0f){}['onMsgInfoListAdd'](_0x1d388d){}['onMsgInfoListUpdate'](_0x37a97d){}[_0xc80aa6(0x12f)](_0x408fd7){}[_0xc80aa6(0x13c)](_0x13527a,_0x1dbb9e,_0x3e11da){}['onMsgSecurityNotify'](_0x299a92){}[_0xc80aa6(0x131)](_0x38c142){}[_0xc80aa6(0x146)](){}['onNtMsgSyncEnd'](){}[_0xc80aa6(0x13d)](){}['onReadFeedEventUpdate'](_0x626467){}[_0xc80aa6(0x142)](_0x13bba5){}[_0xc80aa6(0x132)](_0x8befc){}[_0xc80aa6(0x113)](_0x1dd64a,_0x1d7b6f,_0x301825,_0x3bc2e6,_0x19eee3,_0x2126a8){}[_0xc80aa6(0x133)](_0x2e90ea){}[_0xc80aa6(0x13f)](_0x48dcfd){}[_0xc80aa6(0x13b)](_0x4a4a26){}[_0xc80aa6(0x137)](_0x17c958){}[_0xc80aa6(0x136)](_0x1ad6df){}['onRichMediaProgerssUpdate'](_0x5dc13a){}[_0xc80aa6(0x144)](_0x5c36fc){}[_0xc80aa6(0x138)](_0x3f8352){}['onSendMsgError'](_0x31a7d1,_0x591356,_0x1da589,_0x452620){}[_0xc80aa6(0x12b)](_0x1ca615,_0x6f94,_0x4bd245,_0x43ac67){}['onTempChatInfoUpdate'](_0x5d5e62){}['onUnreadCntAfterFirstView'](_0x209580){}[_0xc80aa6(0x11e)](_0x2d5394){}[_0xc80aa6(0x134)](_0x1b9624){}['onUserOnlineStatusChanged'](_0xf02bd8){}['onUserTabStatusChanged'](_0x516fc6){}[_0xc80aa6(0x11a)](_0x38b573,_0x57bdac,_0xf50818){}[_0xc80aa6(0x143)](_0x53dd05,_0x57331a,_0x32d659){}['onUserSecQualityChanged'](..._0x4d54e9){}['onMsgWithRichLinkInfoUpdate'](..._0x4c9c6f){}['onRedTouchChanged'](..._0x6217c3){}[_0xc80aa6(0x130)](..._0x2cc693){}}function _0x116d(_0x37176e,_0x2aa8c6){var _0x11d433=_0x11d4();return _0x116d=function(_0x116d0f,_0x552761){_0x116d0f=_0x116d0f-0x112;var _0x11b839=_0x11d433[_0x116d0f];return _0x11b839;},_0x116d(_0x37176e,_0x2aa8c6);}function _0x11d4(){var _0x29be0f=['onDraftUpdate','onHitEmojiKeywordResult','onFeedEventUpdate','onSysMsgNotification','20426anlBcl','30Ngtsrz','onFirstViewDirectMsgUpdate','onMsgQRCodeStatusChanged','onBroadcastHelperProgerssUpdate','onMsgSettingUpdate','onRecvMsg','onRecvOnlineFileMsg','onUserChannelTabStatusChanged','onGuildInteractiveUpdate','onRichMediaDownloadComplete','onRecvUDCFlag','onSearchGroupFileInfoUpdate','onKickedOffLine','24qiOpOb','onRecvSysMsg','onMsgRecall','onNtMsgSyncStart','47983430uLEban','onRecvS2CMsg','4475230JSnQbF','onBroadcastHelperDownloadComplete','onRecvGroupGuildFlag','onlineStatusSmallIconDownloadPush','onRichMediaUploadComplete','2659203tsJADp','onNtFirstViewMsgSyncEnd','onHitCsRelatedEmojiResult','onRecvMsgSvrRspTransInfo','196424GXTnqw','onGroupFileInfoAdd','onCustomWithdrawConfigUpdate','7102242piDvMs','406956ipXrnv','onMsgAbstractUpdate','onlineStatusBigIconDownloadPush','onFirstViewGroupGuildMapping','onMsgBoxChanged','onGroupGuildUpdate','onUnreadCntUpdate','onGroupTransferInfoUpdate','17MXrkLf','onInputStatusPush','onFileMsgCome','onChannelFreqLimitInfoUpdate','onMsgDelete','3944mKxkFh','onContactUnreadCntUpdate','onGrabPasswordRedBag'];_0x11d4=function(){return _0x29be0f;};return _0x11d4();} \ No newline at end of file +function _0x3251(){var _0xf9b67d=['onGroupGuildUpdate','1091045dVfNCC','onReadFeedEventUpdate','4xoeaTv','onDraftUpdate','2517SGaHfe','onMsgRecall','571698FaqwLq','270bfMomd','onImportOldDbProgressUpdate','onLineDev','onCustomWithdrawConfigUpdate','onRedTouchChanged','onRecvOnlineFileMsg','onChannelFreqLimitInfoUpdate','onSendMsgError','onHitEmojiKeywordResult','onHitCsRelatedEmojiResult','onBroadcastHelperProgressUpdate','onUserTabStatusChanged','onMsgSecurityNotify','onKickedOffLine','onRecvMsg','onSysMsgNotification','onNtFirstViewMsgSyncEnd','13374hTXqEU','onRichMediaUploadComplete','onInputStatusPush','onGuildInteractiveUpdate','onBroadcastHelperDownloadComplete','onUserChannelTabStatusChanged','onNtMsgSyncEnd','onGroupFileInfoUpdate','onGroupFileInfoAdd','onRecvGroupGuildFlag','onMsgSettingUpdate','onRecvSysMsg','onUnreadCntUpdate','onGuildNotificationAbstractUpdate','onRecvMsgSvrRspTransInfo','1488522wCqIww','onMsgWithRichLinkInfoUpdate','onMsgAbstractUpdate','onlineStatusSmallIconDownloadPush','onEmojiDownloadComplete','onFileMsgCome','8443RZNZIg','onAddSendMsg','onFirstViewGroupGuildMapping','onLogLevelChanged','62lxYjyG','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onMsgQRCodeStatusChanged','onUserOnlineStatusChanged','1648632TuFHCE','onEmojiResourceUpdate','onSearchGroupFileInfoUpdate','onMsgEventListUpdate','onMsgBoxChanged','onContactUnreadCntUpdate','onGroupTransferInfoAdd','onGrabPasswordRedBag','onMsgInfoListUpdate','onFeedEventUpdate','onUserSecQualityChanged','onRecvUDCFlag'];_0x3251=function(){return _0xf9b67d;};return _0x3251();}var _0xd04b9a=_0x3697;function _0x3697(_0x56faf1,_0x402bba){var _0x32515d=_0x3251();return _0x3697=function(_0x3697b3,_0x3734c8){_0x3697b3=_0x3697b3-0xb9;var _0x34348e=_0x32515d[_0x3697b3];return _0x34348e;},_0x3697(_0x56faf1,_0x402bba);}(function(_0x3e8f1c,_0x398be3){var _0x1f8f92=_0x3697,_0x267e52=_0x3e8f1c();while(!![]){try{var _0x911cf0=-parseInt(_0x1f8f92(0xe4))/0x1+-parseInt(_0x1f8f92(0xe8))/0x2*(-parseInt(_0x1f8f92(0xbb))/0x3)+-parseInt(_0x1f8f92(0xb9))/0x4*(parseInt(_0x1f8f92(0xfa))/0x5)+-parseInt(_0x1f8f92(0xbd))/0x6+parseInt(_0x1f8f92(0xde))/0x7+parseInt(_0x1f8f92(0xed))/0x8+parseInt(_0x1f8f92(0xcf))/0x9*(parseInt(_0x1f8f92(0xbe))/0xa);if(_0x911cf0===_0x398be3)break;else _0x267e52['push'](_0x267e52['shift']());}catch(_0x2a19f8){_0x267e52['push'](_0x267e52['shift']());}}}(_0x3251,0x27c69));export class MsgListener{[_0xd04b9a(0xe5)](_0x33176f){}[_0xd04b9a(0xd3)](_0x5d8dd9){}[_0xd04b9a(0xc8)](_0x3f1f5e){}[_0xd04b9a(0xc4)](_0x36b349,_0x4a5154,_0x15d6d3){}[_0xd04b9a(0xf2)](_0x195f0d){}[_0xd04b9a(0xc1)](_0x435872){}[_0xd04b9a(0xba)](_0x5e8c3c,_0x5eab81,_0x13582){}[_0xd04b9a(0xe2)](_0xf9ed56){}[_0xd04b9a(0xee)](_0x2d38ab){}[_0xd04b9a(0xf6)](_0x4866a0){}[_0xd04b9a(0xe3)](_0x32a715){}['onFirstViewDirectMsgUpdate'](_0x3fb49e){}[_0xd04b9a(0xe6)](_0x51648b){}[_0xd04b9a(0xf4)](_0x5d4051,_0x4afe7b,_0x49fb8f,_0x576739,_0x13ccb4){}[_0xd04b9a(0xd7)](_0x40032d){}[_0xd04b9a(0xd6)](_0x128f30){}[_0xd04b9a(0xf9)](_0x56f0b7){}[_0xd04b9a(0xf3)](_0x1a06d2){}[_0xd04b9a(0xea)](_0xe7cce){}[_0xd04b9a(0xd2)](_0x369e5f){}['onGuildMsgAbFlagChanged'](_0xd48b94){}[_0xd04b9a(0xdc)](_0x8aae3e){}[_0xd04b9a(0xc7)](_0xb09e0f){}[_0xd04b9a(0xc6)](_0x52d94c){}['onHitRelatedEmojiResult'](_0x53e789){}[_0xd04b9a(0xbf)](_0x5d7c5e){}[_0xd04b9a(0xd1)](_0x219566){}[_0xd04b9a(0xcb)](_0x59f962){}[_0xd04b9a(0xc0)](_0x2cb971){}[_0xd04b9a(0xe7)](_0x37af3f){}[_0xd04b9a(0xe0)](_0xefe461){}[_0xd04b9a(0xf1)](_0x4a8f97){}['onMsgDelete'](_0x2039df,_0x8d782f){}[_0xd04b9a(0xf0)](_0x7bd087){}['onMsgInfoListAdd'](_0x32ee4b){}[_0xd04b9a(0xf5)](_0x3cfb37){}[_0xd04b9a(0xeb)](_0x530c1f){}[_0xd04b9a(0xbc)](_0x4cc416,_0x1b3fdd,_0x4d8c6b){}[_0xd04b9a(0xca)](_0x41d3f0){}[_0xd04b9a(0xd9)](_0x3c35b4){}[_0xd04b9a(0xce)](){}[_0xd04b9a(0xd5)](){}['onNtMsgSyncStart'](){}[_0xd04b9a(0xfb)](_0x136e82){}[_0xd04b9a(0xd8)](_0x47db38){}[_0xd04b9a(0xcc)](_0x10676a){}[_0xd04b9a(0xdd)](_0x4aca49,_0x48b87c,_0x3aa6e1,_0x2cab15,_0x22e963,_0x435b99){}[_0xd04b9a(0xc3)](_0x1dd09d){}['onRecvS2CMsg'](_0x42badc){}[_0xd04b9a(0xda)](_0x34c0f9){}[_0xd04b9a(0xf8)](_0x40e839){}['onRichMediaDownloadComplete'](_0x5af59d){}['onRichMediaProgerssUpdate'](_0x180284){}[_0xd04b9a(0xd0)](_0x36c5c8){}[_0xd04b9a(0xef)](_0x3af4c8){}[_0xd04b9a(0xc5)](_0x5510fc,_0xe3646c,_0x127b66,_0x2b2d23){}[_0xd04b9a(0xcd)](_0x430294,_0x4e7c79,_0x414240,_0xbf2b54){}['onTempChatInfoUpdate'](_0x11dd35){}['onUnreadCntAfterFirstView'](_0xac0f46){}[_0xd04b9a(0xdb)](_0x124f40){}[_0xd04b9a(0xd4)](_0x4e6775){}[_0xd04b9a(0xec)](_0x572756){}[_0xd04b9a(0xc9)](_0x1870a1){}[_0xd04b9a(0xe9)](_0x46ae00,_0x24b96e,_0x176c27){}[_0xd04b9a(0xe1)](_0x750d7b,_0x1d3bab,_0x5f15e0){}[_0xd04b9a(0xf7)](..._0x539e67){}[_0xd04b9a(0xdf)](..._0x29c57f){}[_0xd04b9a(0xc2)](..._0x118fcf){}['onBroadcastHelperProgerssUpdate'](..._0x5b7fb8){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index 4267fa9d..03e98182 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0xfbd8(_0x5c0468,_0x2a7b33){var _0x211409=_0x2114();return _0xfbd8=function(_0xfbd839,_0x56b06e){_0xfbd839=_0xfbd839-0xaf;var _0x267906=_0x211409[_0xfbd839];return _0x267906;},_0xfbd8(_0x5c0468,_0x2a7b33);}var _0x15700c=_0xfbd8;function _0x2114(){var _0x3bf7b1=['381033zWMlpt','80GGzeTI','onStrangerRemarkChanged','onProfileSimpleChanged','onProfileDetailInfoChanged','5229091oefZgE','11814CdHHQM','5570MvoDtC','34ZCXooj','1740828UWAYhC','47318Klbeza','240552Uqtufu','onStatusUpdate','onSelfStatusChanged','24qbECiM','1483560RaPEGl'];_0x2114=function(){return _0x3bf7b1;};return _0x2114();}(function(_0x51ec55,_0x1128a0){var _0x7c9eea=_0xfbd8,_0x3b1299=_0x51ec55();while(!![]){try{var _0x5ed936=parseInt(_0x7c9eea(0xbb))/0x1*(-parseInt(_0x7c9eea(0xb9))/0x2)+parseInt(_0x7c9eea(0xba))/0x3+parseInt(_0x7c9eea(0xbc))/0x4*(parseInt(_0x7c9eea(0xb2))/0x5)+-parseInt(_0x7c9eea(0xb0))/0x6+parseInt(_0x7c9eea(0xb6))/0x7+parseInt(_0x7c9eea(0xaf))/0x8*(-parseInt(_0x7c9eea(0xb1))/0x9)+parseInt(_0x7c9eea(0xb8))/0xa*(-parseInt(_0x7c9eea(0xb7))/0xb);if(_0x5ed936===_0x1128a0)break;else _0x3b1299['push'](_0x3b1299['shift']());}catch(_0x290456){_0x3b1299['push'](_0x3b1299['shift']());}}}(_0x2114,0x7d25a));export class ProfileListener{[_0x15700c(0xb4)](..._0x3bcd29){}[_0x15700c(0xb5)](_0x3e95be){}[_0x15700c(0xbd)](..._0x521d48){}[_0x15700c(0xbe)](..._0x54bf0d){}[_0x15700c(0xb3)](..._0x55c6e1){}} \ No newline at end of file +var _0x24a31b=_0x8164;(function(_0x4b2dac,_0x218db5){var _0x251246=_0x8164,_0xa80bd4=_0x4b2dac();while(!![]){try{var _0x20f0fe=parseInt(_0x251246(0x147))/0x1+-parseInt(_0x251246(0x150))/0x2+parseInt(_0x251246(0x144))/0x3*(parseInt(_0x251246(0x146))/0x4)+-parseInt(_0x251246(0x142))/0x5*(-parseInt(_0x251246(0x14a))/0x6)+parseInt(_0x251246(0x14f))/0x7+parseInt(_0x251246(0x14e))/0x8*(-parseInt(_0x251246(0x14c))/0x9)+-parseInt(_0x251246(0x143))/0xa*(parseInt(_0x251246(0x145))/0xb);if(_0x20f0fe===_0x218db5)break;else _0xa80bd4['push'](_0xa80bd4['shift']());}catch(_0xd7841a){_0xa80bd4['push'](_0xa80bd4['shift']());}}}(_0x3c9f,0x86901));export class ProfileListener{[_0x24a31b(0x141)](..._0x175841){}[_0x24a31b(0x14b)](_0x32c0d8){}[_0x24a31b(0x148)](..._0x56b6ad){}[_0x24a31b(0x149)](..._0x52d6bb){}[_0x24a31b(0x14d)](..._0x4b1772){}}function _0x8164(_0x457102,_0x23c21f){var _0x3c9ffb=_0x3c9f();return _0x8164=function(_0x8164f0,_0x5ae537){_0x8164f0=_0x8164f0-0x141;var _0x407d0b=_0x3c9ffb[_0x8164f0];return _0x407d0b;},_0x8164(_0x457102,_0x23c21f);}function _0x3c9f(){var _0x5e001f=['3818388nlsNcA','507064iEmAZB','onProfileSimpleChanged','585rzRWYW','10oekUcM','1212nQTtvV','24524203BSRyQR','5416nOYGQv','1090124gQAOpb','onStatusUpdate','onSelfStatusChanged','43824eljpxa','onProfileDetailInfoChanged','13581ccOqMK','onStrangerRemarkChanged','16xAxlSl'];_0x3c9f=function(){return _0x5e001f;};return _0x3c9f();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index 8a4afc96..f77e7932 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0xe48bca=_0x71b5;function _0x1522(){var _0x17c738=['1264032TDEltb','1747792DjCPnF','2519605EdcSVD','323621nJikuz','2813928MBLvIe','2523684bhPlox','onRobotListChanged','1149465NblMMm','onRobotProfileChanged','onRobotFriendListChanged','2KcyLBV'];_0x1522=function(){return _0x17c738;};return _0x1522();}function _0x71b5(_0x3fa398,_0x2ef7e5){var _0x1522f5=_0x1522();return _0x71b5=function(_0x71b513,_0x7c985f){_0x71b513=_0x71b513-0x177;var _0x3424f8=_0x1522f5[_0x71b513];return _0x3424f8;},_0x71b5(_0x3fa398,_0x2ef7e5);}(function(_0x3a7d3a,_0x431e44){var _0x4179ee=_0x71b5,_0x1dec0b=_0x3a7d3a();while(!![]){try{var _0x44cb46=-parseInt(_0x4179ee(0x180))/0x1*(-parseInt(_0x4179ee(0x17c))/0x2)+-parseInt(_0x4179ee(0x179))/0x3+parseInt(_0x4179ee(0x17e))/0x4+parseInt(_0x4179ee(0x17f))/0x5+-parseInt(_0x4179ee(0x177))/0x6+parseInt(_0x4179ee(0x17d))/0x7+-parseInt(_0x4179ee(0x181))/0x8;if(_0x44cb46===_0x431e44)break;else _0x1dec0b['push'](_0x1dec0b['shift']());}catch(_0x4b234d){_0x1dec0b['push'](_0x1dec0b['shift']());}}}(_0x1522,0x46b14));export class KernelRobotListener{[_0xe48bca(0x17b)](..._0x136277){}[_0xe48bca(0x178)](..._0x175403){}[_0xe48bca(0x17a)](..._0xe43d59){}} \ No newline at end of file +function _0x12b6(){var _0x178321=['12829dnUksI','1463352EhAoOy','2466325wOXXSS','1039140xBGiZv','26vtxCuz','8KRrEsh','6294609iPFzPt','1652284dcHWBh','onRobotListChanged','490777MekFNu'];_0x12b6=function(){return _0x178321;};return _0x12b6();}var _0x3598a6=_0x42ef;function _0x42ef(_0x3495b0,_0x33b96b){var _0x12b61c=_0x12b6();return _0x42ef=function(_0x42efd8,_0x3a4db7){_0x42efd8=_0x42efd8-0xcc;var _0x451a84=_0x12b61c[_0x42efd8];return _0x451a84;},_0x42ef(_0x3495b0,_0x33b96b);}(function(_0x393be9,_0x101235){var _0x4f89ec=_0x42ef,_0x4bba43=_0x393be9();while(!![]){try{var _0xdf71f2=parseInt(_0x4f89ec(0xd1))/0x1*(parseInt(_0x4f89ec(0xd5))/0x2)+-parseInt(_0x4f89ec(0xd4))/0x3+-parseInt(_0x4f89ec(0xce))/0x4+parseInt(_0x4f89ec(0xd3))/0x5+-parseInt(_0x4f89ec(0xd2))/0x6+-parseInt(_0x4f89ec(0xd0))/0x7+-parseInt(_0x4f89ec(0xcc))/0x8*(-parseInt(_0x4f89ec(0xcd))/0x9);if(_0xdf71f2===_0x101235)break;else _0x4bba43['push'](_0x4bba43['shift']());}catch(_0xaa1314){_0x4bba43['push'](_0x4bba43['shift']());}}}(_0x12b6,0x45d25));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x5259d8){}[_0x3598a6(0xcf)](..._0x17c92d){}['onRobotProfileChanged'](..._0x4c8cf9){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index 21dcf2da..baca473b 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x2205b5=_0x31e0;(function(_0x5467dd,_0x26d6f4){var _0x1476ab=_0x31e0,_0x58a672=_0x5467dd();while(!![]){try{var _0x4b78b1=-parseInt(_0x1476ab(0xb1))/0x1+parseInt(_0x1476ab(0xaf))/0x2+parseInt(_0x1476ab(0xae))/0x3*(parseInt(_0x1476ab(0xba))/0x4)+parseInt(_0x1476ab(0xad))/0x5*(-parseInt(_0x1476ab(0xb3))/0x6)+parseInt(_0x1476ab(0xb7))/0x7+parseInt(_0x1476ab(0xb8))/0x8*(parseInt(_0x1476ab(0xb6))/0x9)+-parseInt(_0x1476ab(0xb0))/0xa;if(_0x4b78b1===_0x26d6f4)break;else _0x58a672['push'](_0x58a672['shift']());}catch(_0x5cc9f7){_0x58a672['push'](_0x58a672['shift']());}}}(_0x51c5,0x5ef41));export class SessionListener{[_0x2205b5(0xbb)](_0x2f3956){}[_0x2205b5(0xb9)](_0x5c69e7){}[_0x2205b5(0xb5)](_0x2ba17e){}[_0x2205b5(0xb2)](_0x193916){}[_0x2205b5(0xac)](_0x24444c){}[_0x2205b5(0xb4)](_0x59c568){}}function _0x31e0(_0x1a634c,_0xde3cd){var _0x51c53a=_0x51c5();return _0x31e0=function(_0x31e0a9,_0x34a4b4){_0x31e0a9=_0x31e0a9-0xac;var _0xed7775=_0x51c53a[_0x31e0a9];return _0xed7775;},_0x31e0(_0x1a634c,_0xde3cd);}function _0x51c5(){var _0x2a7f97=['onSessionInitComplete','18yJsfzL','2766904zbuPYN','1581376HvuKSY','onGProSessionCreate','22412BxBtIl','onNTSessionCreate','onUserOnlineResult','473505VMovgg','408UeLYZV','1021848YuXDDQ','8007240jXZlcy','589792QzyeJq','onOpentelemetryInit','18YQESJn','onGetSelfTinyId'];_0x51c5=function(){return _0x2a7f97;};return _0x51c5();} \ No newline at end of file +function _0x26b9(_0x23e1a5,_0x5871ef){var _0x1e1882=_0x1e18();return _0x26b9=function(_0x26b978,_0x48bd1d){_0x26b978=_0x26b978-0x1b1;var _0x407e0e=_0x1e1882[_0x26b978];return _0x407e0e;},_0x26b9(_0x23e1a5,_0x5871ef);}var _0x47ddcf=_0x26b9;function _0x1e18(){var _0x12d76d=['177448YtwNHJ','3onEDxX','onUserOnlineResult','onGetSelfTinyId','onGProSessionCreate','216gwddpS','2157450rNgdoC','13746150VmtuTM','2196404sAJusi','535772mYQksn','129644TbjAIB','onNTSessionCreate','45XWHQlc','180454pXilzw'];_0x1e18=function(){return _0x12d76d;};return _0x1e18();}(function(_0x4cac57,_0x3001a5){var _0xcae90f=_0x26b9,_0x8f2bd0=_0x4cac57();while(!![]){try{var _0x4e82ee=-parseInt(_0xcae90f(0x1b3))/0x1+-parseInt(_0xcae90f(0x1b7))/0x2*(parseInt(_0xcae90f(0x1b9))/0x3)+-parseInt(_0xcae90f(0x1b4))/0x4*(parseInt(_0xcae90f(0x1b6))/0x5)+-parseInt(_0xcae90f(0x1be))/0x6+-parseInt(_0xcae90f(0x1b2))/0x7+parseInt(_0xcae90f(0x1b8))/0x8*(parseInt(_0xcae90f(0x1bd))/0x9)+parseInt(_0xcae90f(0x1b1))/0xa;if(_0x4e82ee===_0x3001a5)break;else _0x8f2bd0['push'](_0x8f2bd0['shift']());}catch(_0x4c0e93){_0x8f2bd0['push'](_0x8f2bd0['shift']());}}}(_0x1e18,0x4d20a));export class SessionListener{[_0x47ddcf(0x1b5)](_0x129820){}[_0x47ddcf(0x1bc)](_0x367ca6){}['onSessionInitComplete'](_0x16041e){}['onOpentelemetryInit'](_0x1ae321){}[_0x47ddcf(0x1ba)](_0x3a106f){}[_0x47ddcf(0x1bb)](_0xede1ef){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index d5fe5d02..05024dea 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x4938b6=_0x2522;(function(_0x2c6ba9,_0xbefc5e){var _0x2ede0c=_0x2522,_0x504aa9=_0x2c6ba9();while(!![]){try{var _0x1cdb78=parseInt(_0x2ede0c(0x1a4))/0x1+parseInt(_0x2ede0c(0x1a0))/0x2*(-parseInt(_0x2ede0c(0x1a6))/0x3)+-parseInt(_0x2ede0c(0x19d))/0x4+-parseInt(_0x2ede0c(0x1a2))/0x5+parseInt(_0x2ede0c(0x1a1))/0x6+parseInt(_0x2ede0c(0x19b))/0x7+-parseInt(_0x2ede0c(0x19c))/0x8*(-parseInt(_0x2ede0c(0x1a5))/0x9);if(_0x1cdb78===_0xbefc5e)break;else _0x504aa9['push'](_0x504aa9['shift']());}catch(_0x12de4f){_0x504aa9['push'](_0x504aa9['shift']());}}}(_0x38d4,0x50a39));function _0x2522(_0x1e1ae5,_0x5365b1){var _0x38d489=_0x38d4();return _0x2522=function(_0x2522ee,_0x1c6c87){_0x2522ee=_0x2522ee-0x19b;var _0x4764e8=_0x38d489[_0x2522ee];return _0x4764e8;},_0x2522(_0x1e1ae5,_0x5365b1);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x1d9330){}['onScanCacheProgressChanged'](_0x5af6e8){}[_0x4938b6(0x1a3)](_0x4d007b){}[_0x4938b6(0x19f)](_0x17769f){}[_0x4938b6(0x19e)](_0x245708){}}function _0x38d4(){var _0x445aae=['28404nUVHMA','1508316JKJIrM','3931886UGjFDY','1144McVFvF','1060420jVWROm','onChatCleanDone','onFinishScan','2ciUjvL','129828ZEBBIe','2695535HquOka','onCleanCacheStorageChanged','602637WsTlbu'];_0x38d4=function(){return _0x445aae;};return _0x38d4();} \ No newline at end of file +var _0x48efe1=_0x2cfb;function _0x2cfb(_0x288a00,_0x4269f6){var _0x306e35=_0x306e();return _0x2cfb=function(_0x2cfb04,_0x1c047f){_0x2cfb04=_0x2cfb04-0x1a2;var _0x50c97f=_0x306e35[_0x2cfb04];return _0x50c97f;},_0x2cfb(_0x288a00,_0x4269f6);}(function(_0x5ddd2e,_0x445720){var _0x48f419=_0x2cfb,_0x1f4a01=_0x5ddd2e();while(!![]){try{var _0x267411=parseInt(_0x48f419(0x1b1))/0x1+-parseInt(_0x48f419(0x1a3))/0x2+parseInt(_0x48f419(0x1aa))/0x3*(parseInt(_0x48f419(0x1ae))/0x4)+-parseInt(_0x48f419(0x1a5))/0x5*(-parseInt(_0x48f419(0x1ab))/0x6)+-parseInt(_0x48f419(0x1a2))/0x7*(-parseInt(_0x48f419(0x1b0))/0x8)+-parseInt(_0x48f419(0x1af))/0x9*(-parseInt(_0x48f419(0x1b2))/0xa)+parseInt(_0x48f419(0x1a6))/0xb*(-parseInt(_0x48f419(0x1a4))/0xc);if(_0x267411===_0x445720)break;else _0x1f4a01['push'](_0x1f4a01['shift']());}catch(_0x171017){_0x1f4a01['push'](_0x1f4a01['shift']());}}}(_0x306e,0x85fcf));function _0x306e(){var _0x23aa52=['onCleanCacheStorageChanged','onChatCleanDone','1135152VTOFcq','102nhMZlg','onFinishScan','onCleanCacheProgressChanged','8szQqwS','179433EdweNd','8434184JfkfIo','895661KQuvId','20nfrwUH','7ocsRWv','1186660rTzWLI','23814204pjfkXS','111790LksIbA','11mAAjTD','onScanCacheProgressChanged'];_0x306e=function(){return _0x23aa52;};return _0x306e();}export class StorageCleanListener{[_0x48efe1(0x1ad)](_0x330554){}[_0x48efe1(0x1a7)](_0x9458fd){}[_0x48efe1(0x1a8)](_0x4b1b99){}[_0x48efe1(0x1ac)](_0x249031){}[_0x48efe1(0x1a9)](_0x49868a){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 54e3ad29..9d90a4fa 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x53e34f,_0x58e739){var _0x141611=_0x4e9d,_0x43501a=_0x53e34f();while(!![]){try{var _0x4d00b8=-parseInt(_0x141611(0xc0))/0x1*(-parseInt(_0x141611(0xbd))/0x2)+-parseInt(_0x141611(0xbb))/0x3+parseInt(_0x141611(0xba))/0x4+-parseInt(_0x141611(0xbe))/0x5+-parseInt(_0x141611(0xb9))/0x6*(-parseInt(_0x141611(0xbc))/0x7)+-parseInt(_0x141611(0xc2))/0x8*(-parseInt(_0x141611(0xc3))/0x9)+parseInt(_0x141611(0xc1))/0xa*(-parseInt(_0x141611(0xbf))/0xb);if(_0x4d00b8===_0x58e739)break;else _0x43501a['push'](_0x43501a['shift']());}catch(_0x4f49a8){_0x43501a['push'](_0x43501a['shift']());}}}(_0x1204,0xa2bde));function _0x1204(){var _0xc88a63=['35tbqJfz','1538094mcGTdW','6349410XRkhCH','5962WirXxU','1HASGNB','16270UDpTMF','9448pZxMCf','1494nTqxuw','1495488ZWzwhC','2738968KOvEac','233307nYXtxQ'];_0x1204=function(){return _0xc88a63;};return _0x1204();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x4e9d(_0x289271,_0x3ba478){var _0x120407=_0x1204();return _0x4e9d=function(_0x4e9d7e,_0x41439c){_0x4e9d7e=_0x4e9d7e-0xb9;var _0x5ebfa9=_0x120407[_0x4e9d7e];return _0x5ebfa9;},_0x4e9d(_0x289271,_0x3ba478);}export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x346d4f,_0x5bdd13){var _0x8530a9=_0x3f54,_0x22a4c0=_0x346d4f();while(!![]){try{var _0x5e6ad4=parseInt(_0x8530a9(0xfc))/0x1*(-parseInt(_0x8530a9(0xfb))/0x2)+parseInt(_0x8530a9(0x100))/0x3*(parseInt(_0x8530a9(0xfd))/0x4)+-parseInt(_0x8530a9(0x101))/0x5+-parseInt(_0x8530a9(0xfa))/0x6+-parseInt(_0x8530a9(0x103))/0x7*(parseInt(_0x8530a9(0x105))/0x8)+parseInt(_0x8530a9(0xff))/0x9*(-parseInt(_0x8530a9(0xfe))/0xa)+parseInt(_0x8530a9(0x102))/0xb*(parseInt(_0x8530a9(0x104))/0xc);if(_0x5e6ad4===_0x5bdd13)break;else _0x22a4c0['push'](_0x22a4c0['shift']());}catch(_0x15a426){_0x22a4c0['push'](_0x22a4c0['shift']());}}}(_0x3793,0x2da0f));function _0x3793(){var _0x366301=['49660GPFLNe','432FFkxJG','12iRascD','595895npHdRI','186681sgFDoA','50421SqDUPh','720WxiJxz','136LwbCKp','1274520gWNWbj','645766QAEhoG','1FhfZbJ','183936ISBUHN'];_0x3793=function(){return _0x366301;};return _0x3793();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x3f54(_0x7e6d35,_0x5e8a1a){var _0x379343=_0x3793();return _0x3f54=function(_0x3f5448,_0x264917){_0x3f5448=_0x3f5448-0xfa;var _0x6f5c76=_0x379343[_0x3f5448];return _0x6f5c76;},_0x3f54(_0x7e6d35,_0x5e8a1a);}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelGroupService.d.ts b/src/core.lib/src/services/NodeIKernelGroupService.d.ts index 3ef1dce7..67c4a0e7 100644 --- a/src/core.lib/src/services/NodeIKernelGroupService.d.ts +++ b/src/core.lib/src/services/NodeIKernelGroupService.d.ts @@ -28,7 +28,7 @@ export interface NodeIKernelGroupService { getGroupList(force: boolean): Promise; getGroupExtList(force: boolean): Promise; getGroupDetailInfo(groupCode: string): unknown; - getMemberExtInfo(arg: GroupExtParam): Promise; + getMemberExtInfo(param: GroupExtParam): Promise; getGroupAllInfo(): unknown; getDiscussExistInfo(): unknown; getGroupConfMember(): unknown; diff --git a/src/core.lib/src/services/NodeIKernelMsgService.d.ts b/src/core.lib/src/services/NodeIKernelMsgService.d.ts index d88a7dd4..082030c8 100644 --- a/src/core.lib/src/services/NodeIKernelMsgService.d.ts +++ b/src/core.lib/src/services/NodeIKernelMsgService.d.ts @@ -105,7 +105,19 @@ export interface NodeIKernelMsgService { getMsgsByTypeFilters(...args: unknown[]): unknown; getMsgWithAbstractByFilterParam(...args: unknown[]): unknown; queryMsgsWithFilter(...args: unknown[]): unknown; - queryMsgsWithFilterVer2(...args: unknown[]): unknown; + queryMsgsWithFilterVer2(MsgId: string, MsgTime: string, param: { + chatInfo: { + chatType: number; + peerUid: string; + }; + filterMsgType: []; + filterSendersUid: []; + filterMsgFromTime: string; + filterMsgToTime: string; + pageLimit: number; + isReverseOrder: boolean; + isIncludeCurrent: boolean; + }): Promise; queryMsgsWithFilterEx(msgId: string, msgTime: string, megSeq: string, param: { chatInfo: { chatType: number; @@ -118,10 +130,22 @@ export interface NodeIKernelMsgService { pageLimit: number; isReverseOrder: boolean; isIncludeCurrent: boolean; - }): unknown; + }): Promise; queryFileMsgsDesktop(...args: unknown[]): unknown; setMsgRichInfoFlag(...args: unknown[]): unknown; - queryPicOrVideoMsgs(...args: unknown[]): unknown; + queryPicOrVideoMsgs(msgId: string, msgTime: string, megSeq: string, param: { + chatInfo: { + chatType: number; + peerUid: string; + }; + filterMsgType: []; + filterSendersUid: []; + filterMsgFromTime: string; + filterMsgToTime: string; + pageLimit: number; + isReverseOrder: boolean; + isIncludeCurrent: boolean; + }): Promise; queryPicOrVideoMsgsDesktop(...args: unknown[]): unknown; queryEmoticonMsgs(...args: unknown[]): unknown; queryTroopEmoticonMsgs(...args: unknown[]): unknown; diff --git a/src/core.lib/src/services/NodeIKernelProfileService.d.ts b/src/core.lib/src/services/NodeIKernelProfileService.d.ts index 464b5c26..91982b50 100644 --- a/src/core.lib/src/services/NodeIKernelProfileService.d.ts +++ b/src/core.lib/src/services/NodeIKernelProfileService.d.ts @@ -1,33 +1,35 @@ -import { ModifyProfileParams, UserDetailInfoByUin } from '../entities'; +/// +import { AnyCnameRecord } from 'node:dns'; +import { BizKey, ModifyProfileParams, UserDetailInfoByUin } from '../entities'; import { NodeIKernelProfileListener } from '../listeners'; import { GeneralCallResult } from '@/core/services/common'; export interface NodeIKernelProfileService { addKernelProfileListener(listener: NodeIKernelProfileListener): number; removeKernelProfileListener(listenerId: number): void; prepareRegionConfig(...args: unknown[]): unknown; - getLocalStrangerRemark(...args: unknown[]): unknown; - enumCountryOptions(...args: unknown[]): unknown; - enumProvinceOptions(...args: unknown[]): unknown; - enumCityOptions(...args: unknown[]): unknown; + getLocalStrangerRemark(): Promise; + enumCountryOptions(): Array; + enumProvinceOptions(Country: string): Array; + enumCityOptions(Country: string, Province: string): unknown; enumAreaOptions(...args: unknown[]): unknown; - modifySelfProfile(...args: unknown[]): unknown; + modifySelfProfile(...args: unknown[]): Promise; modifyDesktopMiniProfile(param: ModifyProfileParams): Promise; - setNickName(...args: unknown[]): unknown; - setLongNick(...args: unknown[]): unknown; - setBirthday(...args: unknown[]): unknown; - setGander(...args: unknown[]): unknown; - setHeader(...args: unknown[]): unknown; - setRecommendImgFlag(...args: unknown[]): unknown; - getUserSimpleInfo(...args: unknown[]): unknown; - getUserDetailInfo(...args: unknown[]): unknown; - getUserDetailInfoWithBizInfo(uid: string, arg2: number[]): Promise; + setNickName(NickName: string): Promise; + setLongNick(longNick: string): Promise; + setBirthday(...args: unknown[]): Promise; + setGander(...args: unknown[]): Promise; + setHeader(arg: string): Promise; + setRecommendImgFlag(...args: unknown[]): Promise; + getUserSimpleInfo(force: boolean, uids: string[]): Promise; + getUserDetailInfo(uid: string): Promise; + getUserDetailInfoWithBizInfo(uid: string, Biz: BizKey[]): Promise; getUserDetailInfoByUin(uin: string): Promise; - getZplanAvatarInfos(...args: unknown[]): unknown; - getStatus(...args: unknown[]): unknown; - startStatusPolling(...args: unknown[]): unknown; - getSelfStatus(...args: unknown[]): unknown; + getZplanAvatarInfos(args: string[]): Promise; + getStatus(uid: string): Promise; + startStatusPolling(isForceReset: boolean): Promise; + getSelfStatus(): Promise; setdisableEmojiShortCuts(...args: unknown[]): unknown; - getProfileQzonePicInfo(...args: unknown[]): unknown; - getCoreInfo(...args: unknown[]): unknown; + getProfileQzonePicInfo(uid: string, type: number, force: boolean): Promise; + getCoreInfo(name: string, arg: any[]): unknown; isNull(): boolean; } diff --git a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts b/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts index e5475f34..ff3fcd08 100644 --- a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts +++ b/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts @@ -1,8 +1,8 @@ -import { GetFileListParam } from "../entities"; +import { GetFileListParam, Peer } from "../entities"; import { GeneralCallResult } from "./common"; export interface NodeIKernelRichMediaService { - getVideoPlayUrl(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown; - getVideoPlayUrlV2(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown; + getVideoPlayUrl(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, VideoRequestWay: number): Promise; + getVideoPlayUrlV2(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, exParams: unknown): unknown; getRichMediaFileDir(arg1: unknown, arg2: unknown, arg3: unknown): unknown; getVideoPlayUrlInVisit(arg: unknown): unknown; isFileExpired(arg: unknown): unknown; @@ -14,8 +14,8 @@ export interface NodeIKernelRichMediaService { }; }>; downloadRichMediaInVisit(arg: unknown): unknown; - downloadFileForModelId(arg1: unknown, arg2: unknown, arg3: unknown): unknown; - downloadFileForFileUuid(arg1: unknown, arg2: unknown, arg3: unknown): unknown; + downloadFileForModelId(peer: Peer, arg: unknown[], arg3: string): unknown; + downloadFileForFileUuid(peer: Peer, arg1: string, arg3: unknown[]): unknown; downloadFileByUrlListtransgroupfile(arg1: unknown, arg2: unknown): unknown; downloadFileForFileInfotransgroupfile(arg1: unknown, arg2: unknown): unknown; createGroupFolder(GroupCode: string, FolderName: string): Promise; - getScreenOCR(arg: unknown): unknown; + getScreenOCR(path: string): Promise; batchGetGroupFileCount(Gids: Array): Promise; groupFileCounts: Array; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index c2b12300..80185d85 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x2fcd(){var _0x3355d6=['9rilFFA','77468OpfWji','2114542hHesag','2469400HvGfhk','15155PiMAVp','1832tMNRPo','331266TuEEAB','10WrdBNT','19219860pXULGr','1205940qiHqjz'];_0x2fcd=function(){return _0x3355d6;};return _0x2fcd();}(function(_0x3de1af,_0x4f906d){var _0x3ce9a0=_0x4f93,_0x59886f=_0x3de1af();while(!![]){try{var _0x2fd8b3=-parseInt(_0x3ce9a0(0x156))/0x1+-parseInt(_0x3ce9a0(0x152))/0x2+-parseInt(_0x3ce9a0(0x15a))/0x3*(-parseInt(_0x3ce9a0(0x15b))/0x4)+parseInt(_0x3ce9a0(0x153))/0x5+-parseInt(_0x3ce9a0(0x159))/0x6+parseInt(_0x3ce9a0(0x154))/0x7*(-parseInt(_0x3ce9a0(0x155))/0x8)+parseInt(_0x3ce9a0(0x158))/0x9*(parseInt(_0x3ce9a0(0x157))/0xa);if(_0x2fd8b3===_0x4f906d)break;else _0x59886f['push'](_0x59886f['shift']());}catch(_0x5141c8){_0x59886f['push'](_0x59886f['shift']());}}}(_0x2fcd,0x93061));function _0x4f93(_0xc4b45b,_0x9cb45d){var _0x2fcd36=_0x2fcd();return _0x4f93=function(_0x4f93eb,_0x5d0862){_0x4f93eb=_0x4f93eb-0x152;var _0x4ff901=_0x2fcd36[_0x4f93eb];return _0x4ff901;},_0x4f93(_0xc4b45b,_0x9cb45d);} \ No newline at end of file +'use strict';(function(_0x47f8c5,_0x4c3b03){var _0x1e7208=_0x22c0,_0x568617=_0x47f8c5();while(!![]){try{var _0x4cf1b4=-parseInt(_0x1e7208(0xea))/0x1+parseInt(_0x1e7208(0xe2))/0x2+-parseInt(_0x1e7208(0xe7))/0x3*(-parseInt(_0x1e7208(0xe4))/0x4)+-parseInt(_0x1e7208(0xe9))/0x5*(parseInt(_0x1e7208(0xe5))/0x6)+parseInt(_0x1e7208(0xe3))/0x7*(-parseInt(_0x1e7208(0xe8))/0x8)+parseInt(_0x1e7208(0xec))/0x9+parseInt(_0x1e7208(0xeb))/0xa*(-parseInt(_0x1e7208(0xe6))/0xb);if(_0x4cf1b4===_0x4c3b03)break;else _0x568617['push'](_0x568617['shift']());}catch(_0x379799){_0x568617['push'](_0x568617['shift']());}}}(_0x96fc,0xc9336));function _0x22c0(_0x300c73,_0x5ca2c4){var _0x96fcfd=_0x96fc();return _0x22c0=function(_0x22c095,_0x5bb26b){_0x22c095=_0x22c095-0xe2;var _0x1a4ecf=_0x96fcfd[_0x22c095];return _0x1a4ecf;},_0x22c0(_0x300c73,_0x5ca2c4);}function _0x96fc(){var _0x190ff1=['611694RYfsOa','9808590XGpZhm','12119454kJZrng','2880226bvWGyw','10186666AXaeYl','237128qJPlWO','2832aKVsgJ','11tmcOgR','81jEiYHh','8zYTHtq','5460wZsotq'];_0x96fc=function(){return _0x190ff1;};return _0x96fc();} \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 23ac85e0..2f93105b 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x59eace,_0x13d3f3){var _0x277ad5=_0x5f2f,_0x54e482=_0x59eace();while(!![]){try{var _0x3ef670=parseInt(_0x277ad5(0xb3))/0x1+-parseInt(_0x277ad5(0xac))/0x2*(parseInt(_0x277ad5(0xaf))/0x3)+parseInt(_0x277ad5(0xb1))/0x4*(-parseInt(_0x277ad5(0xae))/0x5)+-parseInt(_0x277ad5(0xb4))/0x6*(parseInt(_0x277ad5(0xb5))/0x7)+-parseInt(_0x277ad5(0xad))/0x8+parseInt(_0x277ad5(0xb0))/0x9+parseInt(_0x277ad5(0xb2))/0xa;if(_0x3ef670===_0x13d3f3)break;else _0x54e482['push'](_0x54e482['shift']());}catch(_0x56b9f5){_0x54e482['push'](_0x54e482['shift']());}}}(_0x27ab,0x34259));function _0x27ab(){var _0x588796=['48CXmtaH','122822hSCioc','22ZKjVnv','2440624eaFeKO','82330aSrSoJ','58497UhDYLq','3677571DpPWtM','4XzDIvn','4300300MOYKlU','51345TmmtGu'];_0x27ab=function(){return _0x588796;};return _0x27ab();}export var GeneralCallResultStatus;function _0x5f2f(_0x292645,_0x36a2a2){var _0x27ab56=_0x27ab();return _0x5f2f=function(_0x5f2f77,_0x25ee3a){_0x5f2f77=_0x5f2f77-0xac;var _0x7d255d=_0x27ab56[_0x5f2f77];return _0x7d255d;},_0x5f2f(_0x292645,_0x36a2a2);}(function(_0x4a14bd){_0x4a14bd[_0x4a14bd['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x1d53(_0x5b6224,_0x628e5b){var _0x2098ff=_0x2098();return _0x1d53=function(_0x1d535e,_0x1d82de){_0x1d535e=_0x1d535e-0x1df;var _0x7d5bc1=_0x2098ff[_0x1d535e];return _0x7d5bc1;},_0x1d53(_0x5b6224,_0x628e5b);}(function(_0x135804,_0x15d9fb){var _0x2637e8=_0x1d53,_0x2a7760=_0x135804();while(!![]){try{var _0x48a696=parseInt(_0x2637e8(0x1e2))/0x1+-parseInt(_0x2637e8(0x1e7))/0x2+-parseInt(_0x2637e8(0x1e1))/0x3+-parseInt(_0x2637e8(0x1df))/0x4*(parseInt(_0x2637e8(0x1e4))/0x5)+parseInt(_0x2637e8(0x1e3))/0x6*(-parseInt(_0x2637e8(0x1e5))/0x7)+-parseInt(_0x2637e8(0x1e8))/0x8+-parseInt(_0x2637e8(0x1e6))/0x9*(-parseInt(_0x2637e8(0x1e0))/0xa);if(_0x48a696===_0x15d9fb)break;else _0x2a7760['push'](_0x2a7760['shift']());}catch(_0xf7a085){_0x2a7760['push'](_0x2a7760['shift']());}}}(_0x2098,0x4f0c5));export var GeneralCallResultStatus;(function(_0x5bd826){_0x5bd826[_0x5bd826['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x2098(){var _0x5b2574=['203KlSRYk','9xHSNbV','153242zLpPaK','3324944jYJWFH','1140728QqaOHh','13933810UQjrrj','420684UehBbj','469312GeQOAK','69534xuWtpF','10ippmFN'];_0x2098=function(){return _0x5b2574;};return _0x2098();} \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index ee15418b..48d1a562 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4e88cf,_0x3d2f47){var _0x2154d9=_0x1460,_0x429f96=_0x4e88cf();while(!![]){try{var _0x2c3f4b=-parseInt(_0x2154d9(0x194))/0x1*(parseInt(_0x2154d9(0x19a))/0x2)+-parseInt(_0x2154d9(0x192))/0x3*(parseInt(_0x2154d9(0x190))/0x4)+parseInt(_0x2154d9(0x198))/0x5+parseInt(_0x2154d9(0x197))/0x6+parseInt(_0x2154d9(0x199))/0x7*(-parseInt(_0x2154d9(0x195))/0x8)+parseInt(_0x2154d9(0x196))/0x9*(parseInt(_0x2154d9(0x191))/0xa)+parseInt(_0x2154d9(0x193))/0xb;if(_0x2c3f4b===_0x3d2f47)break;else _0x429f96['push'](_0x429f96['shift']());}catch(_0x180611){_0x429f96['push'](_0x429f96['shift']());}}}(_0xa50d,0x6419c));export*from'./common';function _0xa50d(){var _0xe415e3=['3369330YlQSWN','1423280dYGGWM','5400934bgYbOG','1568846szyiTq','152416JpWUbN','7980NCILik','39XNxSml','15089228EQtgQi','1MebxDz','8NVICxk','2745aZRcys'];_0xa50d=function(){return _0xe415e3;};return _0xa50d();}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x1460(_0x14838e,_0x53dc5c){var _0xa50dc2=_0xa50d();return _0x1460=function(_0x1460af,_0x1903cb){_0x1460af=_0x1460af-0x190;var _0x123f91=_0xa50dc2[_0x1460af];return _0x123f91;},_0x1460(_0x14838e,_0x53dc5c);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0xa1aef9,_0x5ddcb6){var _0x2c8ff9=_0x4923,_0xb77c5a=_0xa1aef9();while(!![]){try{var _0x4777be=parseInt(_0x2c8ff9(0x10c))/0x1+-parseInt(_0x2c8ff9(0x110))/0x2*(-parseInt(_0x2c8ff9(0x108))/0x3)+-parseInt(_0x2c8ff9(0x10a))/0x4+-parseInt(_0x2c8ff9(0x10f))/0x5*(parseInt(_0x2c8ff9(0x10e))/0x6)+parseInt(_0x2c8ff9(0x109))/0x7*(parseInt(_0x2c8ff9(0x10b))/0x8)+parseInt(_0x2c8ff9(0x107))/0x9+-parseInt(_0x2c8ff9(0x10d))/0xa;if(_0x4777be===_0x5ddcb6)break;else _0xb77c5a['push'](_0xb77c5a['shift']());}catch(_0x496a01){_0xb77c5a['push'](_0xb77c5a['shift']());}}}(_0x2f9f,0xf2654));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x4923(_0x38b830,_0x15e4b2){var _0x2f9f08=_0x2f9f();return _0x4923=function(_0x492332,_0x3f979f){_0x492332=_0x492332-0x107;var _0x1a0fa1=_0x2f9f08[_0x492332];return _0x1a0fa1;},_0x4923(_0x38b830,_0x15e4b2);}export*from'./NodeIKernelRobotService';function _0x2f9f(){var _0x5c0354=['14ppkJSN','2748724ItzuWR','7546376GIfaEf','1807304ojQoTz','23363450kxmOsb','4038EhsJGY','11565PxSywV','4yFJExs','16195455FlyMrL','119451TvXRQJ'];_0x2f9f=function(){return _0x5c0354;};return _0x2f9f();}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 79d53c56..9af8a774 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0xd6369,_0x289900){var _0x51306b=_0x362d,_0x5647bb=_0xd6369();while(!![]){try{var _0x39155c=parseInt(_0x51306b(0xad))/0x1+-parseInt(_0x51306b(0xb3))/0x2*(-parseInt(_0x51306b(0xae))/0x3)+parseInt(_0x51306b(0x9f))/0x4*(parseInt(_0x51306b(0xa0))/0x5)+-parseInt(_0x51306b(0xb5))/0x6*(parseInt(_0x51306b(0x88))/0x7)+parseInt(_0x51306b(0x8a))/0x8*(-parseInt(_0x51306b(0x89))/0x9)+-parseInt(_0x51306b(0xaa))/0xa*(parseInt(_0x51306b(0xa5))/0xb)+parseInt(_0x51306b(0x90))/0xc;if(_0x39155c===_0x289900)break;else _0x5647bb['push'](_0x5647bb['shift']());}catch(_0x412a2a){_0x5647bb['push'](_0x5647bb['shift']());}}}(_0x7f15,0x1c458));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5c2ba8 from'node:path';import _0x556a3b from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x47acea){var _0x1dddbe=_0x362d,_0x279492={'bZNIY':'KWINDOWS','eiQwZ':_0x1dddbe(0x97),'mBVRw':'KIOS','Cgtxv':_0x1dddbe(0xb6),'YZDkn':_0x1dddbe(0x8f)},_0x5a5884=_0x1dddbe(0xa6)[_0x1dddbe(0x9d)]('|'),_0x1c6c04=0x0;while(!![]){switch(_0x5a5884[_0x1c6c04++]){case'0':_0x47acea[_0x47acea[_0x279492[_0x1dddbe(0x91)]]=0x3]='KWINDOWS';continue;case'1':_0x47acea[_0x47acea[_0x1dddbe(0x97)]=0x1]=_0x279492[_0x1dddbe(0x98)];continue;case'2':_0x47acea[_0x47acea[_0x279492[_0x1dddbe(0xb1)]]=0x2]=_0x1dddbe(0xa2);continue;case'3':_0x47acea[_0x47acea[_0x279492['Cgtxv']]=0x0]=_0x279492[_0x1dddbe(0x92)];continue;case'4':_0x47acea[_0x47acea[_0x1dddbe(0x8f)]=0x4]=_0x279492[_0x1dddbe(0xa8)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;function _0x7f15(){var _0x422cb6=['KCOMPUTER','curVersion','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','KSUPPORTOPPOPUSH','KMAC','3526716pICuOB','bZNIY','Cgtxv','KUNSUPPORTANDROIDPUSH','AtXej','ebDey','KSUPPORTTPNS','KANDROID','eiQwZ','WWHwq','IushB','assign','cHIGX','split','mkdirSync','4PVTaeo','212345asbtec','KNOSETONIOS','KIOS','KetBi','KSUPPORTVIVOPUSH','1137466gpfbCk','3|1|2|0|4','aUdPz','YZDkn','KSUPPORTHMS','10xaDHeA','XVlan','KSUPPORTGOOGLEPUSH','183409xkgJIb','138CicDNT','join','fBePz','mBVRw','OsTZN','942fYJtNX','KPHONE','20868TtrbTn','KUNKNOWN','KZrdO','1|5|6|0|2|3|4','KPAD','301tRfHhn','9TzGFxN','1381416FIqIXD'];_0x7f15=function(){return _0x422cb6;};return _0x7f15();}(function(_0x490edf){var _0x592ac1=_0x362d,_0x20619a={'AtXej':_0x592ac1(0xb6),'sWaTu':_0x592ac1(0xb4),'aUdPz':_0x592ac1(0x87),'ipexq':_0x592ac1(0x8b)};_0x490edf[_0x490edf[_0x20619a[_0x592ac1(0x94)]]=0x0]=_0x20619a[_0x592ac1(0x94)],_0x490edf[_0x490edf['KPHONE']=0x1]=_0x20619a['sWaTu'],_0x490edf[_0x490edf[_0x592ac1(0x87)]=0x2]=_0x20619a[_0x592ac1(0xa7)],_0x490edf[_0x490edf[_0x20619a['ipexq']]=0x3]=_0x592ac1(0x8b);}(DeviceType||(DeviceType={})));export var VendorType;function _0x362d(_0xa22dcd,_0x1bcfc2){var _0x7f1591=_0x7f15();return _0x362d=function(_0x362d26,_0x523322){_0x362d26=_0x362d26-0x86;var _0x1e474f=_0x7f1591[_0x362d26];return _0x1e474f;},_0x362d(_0xa22dcd,_0x1bcfc2);}(function(_0x1910e9){var _0x91d05d=_0x362d,_0xb0d419={'sRwXU':_0x91d05d(0x86),'OsTZN':_0x91d05d(0x8e),'WWHwq':_0x91d05d(0xa1),'XVlan':'KSUPPORTTPNS','ebDey':_0x91d05d(0xa4),'KZrdO':_0x91d05d(0x93),'cHIGX':_0x91d05d(0xac),'fBePz':'KSUPPORTHMS'},_0x17ffb3=_0xb0d419['sRwXU'][_0x91d05d(0x9d)]('|'),_0x69c106=0x0;while(!![]){switch(_0x17ffb3[_0x69c106++]){case'0':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0xb2)]]=0x4]=_0xb0d419[_0x91d05d(0xb2)];continue;case'1':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x99)]]=0x0]=_0xb0d419[_0x91d05d(0x99)];continue;case'2':_0x1910e9[_0x1910e9[_0x91d05d(0x96)]=0x2]=_0xb0d419[_0x91d05d(0xab)];continue;case'3':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x95)]]=0x5]=_0xb0d419[_0x91d05d(0x95)];continue;case'4':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0xb7)]]=0x1]=_0xb0d419[_0x91d05d(0xb7)];continue;case'5':_0x1910e9[_0x1910e9[_0xb0d419[_0x91d05d(0x9c)]]=0x63]=_0x91d05d(0xac);continue;case'6':_0x1910e9[_0x1910e9[_0x91d05d(0xa9)]=0x3]=_0xb0d419[_0x91d05d(0xb0)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x23619f,_0x545f7e,_0x550f14){var _0x13d065=_0x362d,_0x527e1b={'dbvVj':'NapCat','IushB':'temp','KetBi':function(_0x3551f8){return _0x3551f8();},'NHzXH':_0x13d065(0x8d)};const _0x4ee169=_0x5c2ba8[_0x13d065(0xaf)](_0x550f14,_0x527e1b['dbvVj'],_0x527e1b[_0x13d065(0x9a)]);_0x556a3b[_0x13d065(0x9e)](_0x4ee169,{'recursive':!![]});let _0x30e185=await _0x527e1b[_0x13d065(0xa3)](getMachineId);const _0x1dfbe={'selfUin':_0x23619f,'selfUid':_0x545f7e,'desktopPathConfig':{'account_path':_0x550f14},'clientVer':qqVersionConfigInfo[_0x13d065(0x8c)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x4ee169,'deviceInfo':{'guid':_0x30e185,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x527e1b['NHzXH']};return Object[_0x13d065(0x9b)](sessionConfig,_0x1dfbe),_0x1dfbe;} \ No newline at end of file +(function(_0x3b4c1a,_0x33e9a7){var _0x4a85d1=_0x56b5,_0x56bf4c=_0x3b4c1a();while(!![]){try{var _0x396c62=parseInt(_0x4a85d1(0x1c4))/0x1+parseInt(_0x4a85d1(0x1d7))/0x2*(parseInt(_0x4a85d1(0x1d6))/0x3)+parseInt(_0x4a85d1(0x1b5))/0x4*(parseInt(_0x4a85d1(0x1b2))/0x5)+-parseInt(_0x4a85d1(0x1b1))/0x6*(-parseInt(_0x4a85d1(0x1cf))/0x7)+parseInt(_0x4a85d1(0x1af))/0x8*(parseInt(_0x4a85d1(0x1b8))/0x9)+parseInt(_0x4a85d1(0x1b3))/0xa*(parseInt(_0x4a85d1(0x1c3))/0xb)+-parseInt(_0x4a85d1(0x1ca))/0xc;if(_0x396c62===_0x33e9a7)break;else _0x56bf4c['push'](_0x56bf4c['shift']());}catch(_0x2ad6d5){_0x56bf4c['push'](_0x56bf4c['shift']());}}}(_0x1f5b,0x9b57e));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1dc051 from'node:path';import _0x13f863 from'node:fs';function _0x1f5b(){var _0x5927f2=['kkove','zvDnt','CsUiV','dtpAu','split','1|0|4|3|2','5|6|2|4|1|0|3','cjSyi','XeNIJ','6380HgIHfk','916059Jrqdzp','eSWUt','KSUPPORTTPNS','kqqEn','VlLwa','xxRkG','33604344LNsxIe','KNOSETONIOS','KMAC','BOyVQ','LRpvo','8079715PHVdkJ','KSUPPORTOPPOPUSH','join','pIMEI','KSUPPORTGOOGLEPUSH','KPAD','KCOMPUTER','39nIhYtx','117310arrgFY','UsHKT','assign','version','KANDROID','KIOS','149832twCyBV','ctdQz','6xXwFId','4040JHvQCZ','5630zjIsTo','EcZdA','1280JvRVTV','Xwlxe','KUNKNOWN','9cINyvs','KSUPPORTVIVOPUSH'];_0x1f5b=function(){return _0x5927f2;};return _0x1f5b();}import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x4ab6b7){var _0x31ed3c=_0x56b5,_0x7d21ea={'VlLwa':_0x31ed3c(0x1bf),'UsHKT':_0x31ed3c(0x1ad),'Xwlxe':'KUNKNOWN','QRfyW':_0x31ed3c(0x1cc),'kqqEn':'KWINDOWS','zvDnt':_0x31ed3c(0x1ae)},_0x5f6566=_0x7d21ea[_0x31ed3c(0x1c8)][_0x31ed3c(0x1be)]('|'),_0x4e946b=0x0;while(!![]){switch(_0x5f6566[_0x4e946b++]){case'0':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1d8)]]=0x1]=_0x7d21ea['UsHKT'];continue;case'1':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1b6)]]=0x0]=_0x7d21ea[_0x31ed3c(0x1b6)];continue;case'2':_0x4ab6b7[_0x4ab6b7['KMAC']=0x4]=_0x7d21ea['QRfyW'];continue;case'3':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1c7)]]=0x3]=_0x7d21ea[_0x31ed3c(0x1c7)];continue;case'4':_0x4ab6b7[_0x4ab6b7[_0x7d21ea[_0x31ed3c(0x1bb)]]=0x2]=_0x7d21ea[_0x31ed3c(0x1bb)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x569de6){var _0x573e2a=_0x56b5,_0x3916e8={'XeNIJ':_0x573e2a(0x1b7),'CsUiV':_0x573e2a(0x1d4),'pIMEI':_0x573e2a(0x1d5)};_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1c2)]]=0x0]=_0x3916e8[_0x573e2a(0x1c2)],_0x569de6[_0x569de6['KPHONE']=0x1]='KPHONE',_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1bc)]]=0x2]=_0x3916e8[_0x573e2a(0x1bc)],_0x569de6[_0x569de6[_0x3916e8[_0x573e2a(0x1d2)]]=0x3]=_0x573e2a(0x1d5);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x28766f){var _0x72ed35=_0x56b5,_0x48bfa1={'scfuT':_0x72ed35(0x1c0),'LRpvo':_0x72ed35(0x1b9),'kkove':_0x72ed35(0x1c6),'EcZdA':'KSUPPORTHMS','xxRkG':'KUNSUPPORTANDROIDPUSH','dtpAu':_0x72ed35(0x1d0),'cjSyi':_0x72ed35(0x1cb),'eSWUt':'KSUPPORTGOOGLEPUSH'},_0x96f906=_0x48bfa1['scfuT']['split']('|'),_0x12672d=0x0;while(!![]){switch(_0x96f906[_0x12672d++]){case'0':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1ce)]]=0x5]=_0x48bfa1[_0x72ed35(0x1ce)];continue;case'1':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1ba)]]=0x2]=_0x48bfa1['kkove'];continue;case'2':_0x28766f[_0x28766f['KSUPPORTHMS']=0x3]=_0x48bfa1[_0x72ed35(0x1b4)];continue;case'3':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1c9)]]=0x1]=_0x48bfa1['xxRkG'];continue;case'4':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1bd)]]=0x4]=_0x48bfa1[_0x72ed35(0x1bd)];continue;case'5':_0x28766f[_0x28766f[_0x48bfa1[_0x72ed35(0x1c1)]]=0x0]=_0x48bfa1[_0x72ed35(0x1c1)];continue;case'6':_0x28766f[_0x28766f[_0x72ed35(0x1d3)]=0x63]=_0x48bfa1[_0x72ed35(0x1c5)];continue;}break;}}(VendorType||(VendorType={})));function _0x56b5(_0x3ec2ba,_0x4f8202){var _0x1f5bd0=_0x1f5b();return _0x56b5=function(_0x56b513,_0x5a1805){_0x56b513=_0x56b513-0x1ac;var _0x333c91=_0x1f5bd0[_0x56b513];return _0x333c91;},_0x56b5(_0x3ec2ba,_0x4f8202);}export const sessionConfig={};export async function genSessionConfig(_0x4deb78,_0x47ea16,_0x488fdf){var _0x5f3fba=_0x56b5,_0x45100b={'BOyVQ':'NapCat','xVteG':function(_0xb588bd){return _0xb588bd();},'ctdQz':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};const _0x2fdb80=_0x1dc051[_0x5f3fba(0x1d1)](_0x488fdf,_0x45100b[_0x5f3fba(0x1cd)],'temp');_0x13f863['mkdirSync'](_0x2fdb80,{'recursive':!![]});let _0x2e88af=await _0x45100b['xVteG'](getMachineId);const _0x577563={'selfUin':_0x4deb78,'selfUid':_0x47ea16,'desktopPathConfig':{'account_path':_0x488fdf},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x2fdb80,'deviceInfo':{'guid':_0x2e88af,'buildVer':qqPkgInfo[_0x5f3fba(0x1ac)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x45100b[_0x5f3fba(0x1b0)]};return Object[_0x5f3fba(0x1d9)](sessionConfig,_0x577563),_0x577563;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index b27cca9e..6c66460d 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -function _0x41f8(){const _0xa495dc=['66upVRtU','INFO','74KDxwqi','.json','36RrkVkL','consoleLog','consoleLogLevel','385299ofvPlE','24wBdVaL','27125clqsGS','DEBUG','62565uxnJch','join','16890xbiXAw','8044Kexuou','getConfigPath','getConfigDir','6821763iTrQBX','40TWmsBH','5852736GxLAfF','66rERLaY','fileLog'];_0x41f8=function(){return _0xa495dc;};return _0x41f8();}const _0x4bbba4=_0x1427;(function(_0x51eba8,_0x46519c){const _0x12d329=_0x1427,_0x1bd3a6=_0x51eba8();while(!![]){try{const _0x1b7516=parseInt(_0x12d329(0x7e))/0x1*(parseInt(_0x12d329(0x74))/0x2)+parseInt(_0x12d329(0x79))/0x3+parseInt(_0x12d329(0x78))/0x4*(parseInt(_0x12d329(0x71))/0x5)+parseInt(_0x12d329(0x7c))/0x6*(parseInt(_0x12d329(0x6f))/0x7)+-parseInt(_0x12d329(0x6e))/0x8*(-parseInt(_0x12d329(0x6d))/0x9)+-parseInt(_0x12d329(0x73))/0xa*(-parseInt(_0x12d329(0x7a))/0xb)+parseInt(_0x12d329(0x80))/0xc*(-parseInt(_0x12d329(0x77))/0xd);if(_0x1b7516===_0x46519c)break;else _0x1bd3a6['push'](_0x1bd3a6['shift']());}catch(_0x9a74ae){_0x1bd3a6['push'](_0x1bd3a6['shift']());}}}(_0x41f8,0xef681));function _0x1427(_0x58bdb9,_0x2feba8){const _0x41f8d4=_0x41f8();return _0x1427=function(_0x1427ae,_0x1d57b6){_0x1427ae=_0x1427ae-0x6d;let _0x505975=_0x41f8d4[_0x1427ae];return _0x505975;},_0x1427(_0x58bdb9,_0x2feba8);}import _0x54e0d5 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x4bbba4(0x7b)]=!![];[_0x4bbba4(0x81)]=!![];['fileLogLevel']=LogLevel[_0x4bbba4(0x70)];[_0x4bbba4(0x82)]=LogLevel[_0x4bbba4(0x7d)];constructor(){super();}[_0x4bbba4(0x75)](){const _0x408963=_0x4bbba4;return _0x54e0d5[_0x408963(0x72)](this[_0x408963(0x76)](),'napcat_'+selfInfo['uin']+_0x408963(0x7f));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0x4acb74=_0x3684;function _0x476a(){const _0x14a7d8=['fileLogLevel','5475152acPyIN','consoleLogLevel','9192AiqmVz','.json','2534045FCYLYx','uin','441982TwsPpm','1302mSQKtl','join','INFO','consoleLog','30331593TprxyP','DEBUG','1902zLvQqb','3105224pVQYKa','getConfigDir','33822PQJfEv','fileLog'];_0x476a=function(){return _0x14a7d8;};return _0x476a();}(function(_0x37766c,_0x47ebfc){const _0x404e1d=_0x3684,_0xb77bf5=_0x37766c();while(!![]){try{const _0x5e2991=-parseInt(_0x404e1d(0x1c8))/0x1+-parseInt(_0x404e1d(0x1bd))/0x2+parseInt(_0x404e1d(0x1bc))/0x3*(-parseInt(_0x404e1d(0x1c4))/0x4)+parseInt(_0x404e1d(0x1c6))/0x5+parseInt(_0x404e1d(0x1bf))/0x6*(parseInt(_0x404e1d(0x1c9))/0x7)+-parseInt(_0x404e1d(0x1c2))/0x8+parseInt(_0x404e1d(0x1cd))/0x9;if(_0x5e2991===_0x47ebfc)break;else _0xb77bf5['push'](_0xb77bf5['shift']());}catch(_0x103aff){_0xb77bf5['push'](_0xb77bf5['shift']());}}}(_0x476a,0xc0c2c));import _0x2a43d3 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x3684(_0x4bb9cd,_0x270b92){const _0x476a78=_0x476a();return _0x3684=function(_0x3684f2,_0x1242ad){_0x3684f2=_0x3684f2-0x1bb;let _0xa5c2b8=_0x476a78[_0x3684f2];return _0xa5c2b8;},_0x3684(_0x4bb9cd,_0x270b92);}class Config extends ConfigBase{[_0x4acb74(0x1c0)]=!![];[_0x4acb74(0x1cc)]=!![];[_0x4acb74(0x1c1)]=LogLevel[_0x4acb74(0x1bb)];[_0x4acb74(0x1c3)]=LogLevel[_0x4acb74(0x1cb)];constructor(){super();}['getConfigPath'](){const _0x537a10=_0x4acb74;return _0x2a43d3[_0x537a10(0x1ca)](this[_0x537a10(0x1be)](),'napcat_'+selfInfo[_0x537a10(0x1c7)]+_0x537a10(0x1c5));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index cb459f18..3d4e89b2 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x17dcb3=_0x3591;(function(_0x24f761,_0x4ad7fd){const _0x4ade70=_0x3591,_0x5d63c3=_0x24f761();while(!![]){try{const _0x174bc4=-parseInt(_0x4ade70(0x97))/0x1*(-parseInt(_0x4ade70(0x9e))/0x2)+-parseInt(_0x4ade70(0xa4))/0x3*(-parseInt(_0x4ade70(0xa7))/0x4)+-parseInt(_0x4ade70(0xa5))/0x5+parseInt(_0x4ade70(0x9f))/0x6*(parseInt(_0x4ade70(0x9d))/0x7)+-parseInt(_0x4ade70(0x9a))/0x8+parseInt(_0x4ade70(0xa2))/0x9+parseInt(_0x4ade70(0x9b))/0xa;if(_0x174bc4===_0x4ad7fd)break;else _0x5d63c3['push'](_0x5d63c3['shift']());}catch(_0x5539a4){_0x5d63c3['push'](_0x5d63c3['shift']());}}}(_0x2a2f,0x905df));import{logError}from'@/common/utils/log';function _0x3591(_0x2bae6c,_0x5878a9){const _0x2a2f22=_0x2a2f();return _0x3591=function(_0x35915b,_0x448c2e){_0x35915b=_0x35915b-0x95;let _0xbf2d12=_0x2a2f22[_0x35915b];return _0xbf2d12;},_0x3591(_0x2bae6c,_0x5878a9);}function _0x2a2f(){const _0xcb749e=['jFSQl','getRkey','refreshRkey','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','rkeyData','HttpGetJson','1BDknmX','serverUrl','knFkb','6726968iicaTN','682600bJvPxl','isExpired','3067183kxRGGP','1445530HBnScf','6Pdlyum','获取rkey失败','GET','765585hLXQek','JmFlh','9IQNxuF','3413250UdpsZY','xHkMr','1067452fndvPJ'];_0x2a2f=function(){return _0xcb749e;};return _0x2a2f();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x17dcb3(0x98)]='';[_0x17dcb3(0x95)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x10448b){const _0x350c99=_0x17dcb3;this[_0x350c99(0x98)]=_0x10448b;}async[_0x17dcb3(0xa9)](){const _0x7b715d=_0x17dcb3,_0x405650={'knFkb':function(_0x3d3257,_0x3ff27a,_0xbfd38c){return _0x3d3257(_0x3ff27a,_0xbfd38c);}};if(this[_0x7b715d(0x9c)]())try{await this[_0x7b715d(0xaa)]();}catch(_0x3f5cc5){_0x405650[_0x7b715d(0x99)](logError,_0x7b715d(0xa0),_0x3f5cc5);}return this['rkeyData'];}[_0x17dcb3(0x9c)](){const _0x25ca2a=_0x17dcb3,_0x2bd452={'xHkMr':function(_0xaf164,_0x1a8a7c){return _0xaf164/_0x1a8a7c;},'JmFlh':function(_0x414d5f,_0x483730){return _0x414d5f>_0x483730;}},_0x129ce8=_0x2bd452[_0x25ca2a(0xa6)](new Date()['getTime'](),0x3e8);return _0x2bd452[_0x25ca2a(0xa3)](_0x129ce8,this['rkeyData'][_0x25ca2a(0xab)]);}async[_0x17dcb3(0xaa)](){const _0x2828a8=_0x17dcb3,_0x26b2c1={'jFSQl':_0x2828a8(0xa1)};this[_0x2828a8(0x95)]=await RequestUtil[_0x2828a8(0x96)](this['serverUrl'],_0x26b2c1[_0x2828a8(0xa8)]);}}export const rkeyManager=new RkeyManager(_0x17dcb3(0xac)); \ No newline at end of file +const _0x3a7659=_0x4e0f;(function(_0x574b1a,_0x537f6a){const _0x15326a=_0x4e0f,_0x30b2ac=_0x574b1a();while(!![]){try{const _0x2984b=parseInt(_0x15326a(0x167))/0x1+parseInt(_0x15326a(0x160))/0x2*(-parseInt(_0x15326a(0x16b))/0x3)+-parseInt(_0x15326a(0x161))/0x4+parseInt(_0x15326a(0x162))/0x5+-parseInt(_0x15326a(0x171))/0x6+parseInt(_0x15326a(0x164))/0x7+parseInt(_0x15326a(0x166))/0x8*(parseInt(_0x15326a(0x16e))/0x9);if(_0x2984b===_0x537f6a)break;else _0x30b2ac['push'](_0x30b2ac['shift']());}catch(_0x4c286c){_0x30b2ac['push'](_0x30b2ac['shift']());}}}(_0x1269,0x4de21));import{logError}from'@/common/utils/log';function _0x4e0f(_0x4e2bfa,_0x2b3a92){const _0x126974=_0x1269();return _0x4e0f=function(_0x4e0f8b,_0x9814d8){_0x4e0f8b=_0x4e0f8b-0x15d;let _0x1abaa7=_0x126974[_0x4e0f8b];return _0x1abaa7;},_0x4e0f(_0x4e2bfa,_0x2b3a92);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3a7659(0x16c)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x5d6a4a){this['serverUrl']=_0x5d6a4a;}async[_0x3a7659(0x168)](){const _0x37bedb=_0x3a7659,_0x1f8359={'RzsEm':function(_0x2b6fe6,_0x28d13c,_0x2e1c81){return _0x2b6fe6(_0x28d13c,_0x2e1c81);},'dOEKi':_0x37bedb(0x165)};if(this['isExpired']())try{await this['refreshRkey']();}catch(_0x5e819a){_0x1f8359[_0x37bedb(0x16d)](logError,_0x1f8359[_0x37bedb(0x15d)],_0x5e819a);}return this[_0x37bedb(0x163)];}[_0x3a7659(0x15f)](){const _0x219929=_0x3a7659,_0x8dddde={'MfbVg':function(_0x453bce,_0x186a12){return _0x453bce/_0x186a12;},'lGIAx':function(_0x4c9a8e,_0x5e981a){return _0x4c9a8e>_0x5e981a;}},_0x383a93=_0x8dddde[_0x219929(0x16a)](new Date()['getTime'](),0x3e8);return _0x8dddde['lGIAx'](_0x383a93,this[_0x219929(0x163)][_0x219929(0x15e)]);}async['refreshRkey'](){const _0x3dcb3f=_0x3a7659,_0x907f6f={'sgINM':_0x3dcb3f(0x16f)};this[_0x3dcb3f(0x163)]=await RequestUtil[_0x3dcb3f(0x172)](this['serverUrl'],_0x907f6f[_0x3dcb3f(0x169)]);}}function _0x1269(){const _0x467429=['988485UCmMEw','rkeyData','1335061CKDacJ','获取rkey失败','8MZiSoi','329587XYuZut','getRkey','sgINM','MfbVg','3NWxOCK','serverUrl','RzsEm','4318029gIADow','GET','http://napcat-sign.wumiao.wang:2082/rkey','2777874YVfvfS','HttpGetJson','dOEKi','expired_time','isExpired','55442jIWcmb','1552316rUQeJi'];_0x1269=function(){return _0x467429;};return _0x1269();}export const rkeyManager=new RkeyManager(_0x3a7659(0x170)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index d61ba669..4b1bff3c 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0xcb839d=_0x1a98;(function(_0x280ab0,_0x3f6217){const _0x1fdd57=_0x1a98,_0x3075d6=_0x280ab0();while(!![]){try{const _0x4c2b3d=parseInt(_0x1fdd57(0x78))/0x1+-parseInt(_0x1fdd57(0x7c))/0x2+-parseInt(_0x1fdd57(0x67))/0x3+parseInt(_0x1fdd57(0x76))/0x4*(parseInt(_0x1fdd57(0x68))/0x5)+-parseInt(_0x1fdd57(0x7d))/0x6*(parseInt(_0x1fdd57(0x6d))/0x7)+-parseInt(_0x1fdd57(0x7e))/0x8+parseInt(_0x1fdd57(0x72))/0x9*(parseInt(_0x1fdd57(0x73))/0xa);if(_0x4c2b3d===_0x3f6217)break;else _0x3075d6['push'](_0x3075d6['shift']());}catch(_0x32d7cb){_0x3075d6['push'](_0x3075d6['shift']());}}}(_0x5072,0x9ff5c));import _0x3eb921 from'node:path';import _0x3907e5 from'node:fs';function _0x5072(){const _0x585909=['18681010iAOYlL','\x22);\x0aexports\x20=\x20module.exports;\x0a','url','307316kGjhCo','file://','1024103cNIIEA','curVersion','resolve','default','2619684sDTWKj','156DxSMtf','5907392TZSPlb','join','3319314DcCIDx','5FzJJTJ','dirname','existsSync','writeFileSync','\x0amodule.exports\x20=\x20require(\x22','276563EvKdpY','execPath','/wrapper.node','WrapperLoader.cjs','./resources/app/wrapper.node','18BfMwCQ'];_0x5072=function(){return _0x585909;};return _0x5072();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xcb839d(0x75)]),__dirname=dirname(__filename);let wrapperNodePath=_0x3eb921[_0xcb839d(0x7a)](_0x3eb921[_0xcb839d(0x69)](process[_0xcb839d(0x6e)]),_0xcb839d(0x71));function _0x1a98(_0x5533f5,_0x132da9){const _0x5072f2=_0x5072();return _0x1a98=function(_0x1a9854,_0x33a977){_0x1a9854=_0x1a9854-0x67;let _0x5d058c=_0x5072f2[_0x1a9854];return _0x5d058c;},_0x1a98(_0x5533f5,_0x132da9);}!_0x3907e5[_0xcb839d(0x6a)](wrapperNodePath)&&(wrapperNodePath=_0x3eb921[_0xcb839d(0x7f)](_0x3eb921[_0xcb839d(0x69)](process['execPath']),'resources/app/versions/'+qqVersionConfigInfo[_0xcb839d(0x79)]+_0xcb839d(0x6f)));let WrapperLoader=_0x3eb921[_0xcb839d(0x7f)](__dirname,_0xcb839d(0x70));_0x3907e5[_0xcb839d(0x6b)](WrapperLoader,_0xcb839d(0x6c)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0xcb839d(0x74));const QQWrapper=(await import(_0xcb839d(0x77)+WrapperLoader))[_0xcb839d(0x7b)];export default QQWrapper; \ No newline at end of file +function _0x3494(_0xa9a364,_0x140cfa){const _0x453d48=_0x453d();return _0x3494=function(_0x3494d7,_0x31ac35){_0x3494d7=_0x3494d7-0x136;let _0x5e7e1e=_0x453d48[_0x3494d7];return _0x5e7e1e;},_0x3494(_0xa9a364,_0x140cfa);}const _0x545937=_0x3494;(function(_0x28dcc6,_0x247f77){const _0x13db27=_0x3494,_0xfbbed=_0x28dcc6();while(!![]){try{const _0x3d5854=-parseInt(_0x13db27(0x14b))/0x1+parseInt(_0x13db27(0x136))/0x2*(parseInt(_0x13db27(0x137))/0x3)+parseInt(_0x13db27(0x145))/0x4+-parseInt(_0x13db27(0x141))/0x5*(-parseInt(_0x13db27(0x13b))/0x6)+-parseInt(_0x13db27(0x143))/0x7*(-parseInt(_0x13db27(0x144))/0x8)+parseInt(_0x13db27(0x14a))/0x9+-parseInt(_0x13db27(0x138))/0xa;if(_0x3d5854===_0x247f77)break;else _0xfbbed['push'](_0xfbbed['shift']());}catch(_0x375892){_0xfbbed['push'](_0xfbbed['shift']());}}}(_0x453d,0x44378));import _0x11ea7f from'node:path';import _0x4d3b86 from'node:fs';function _0x453d(){const _0xe8780a=['477099sIrckb','existsSync','dirname','6JCfVGz','293247lpFZkB','3716690hOvNXx','file://','execPath','12ToUEcS','./resources/app/wrapper.node','url','replace','\x22);\x0aexports\x20=\x20module.exports;\x0a','curVersion','205860KPUNhW','WrapperLoader.cjs','409241Msqtum','48mgYAjl','433104hDjVgp','resolve','default','writeFileSync','join','2641851ZiEAMX'];_0x453d=function(){return _0xe8780a;};return _0x453d();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x545937(0x13d)]),__dirname=dirname(__filename);let wrapperNodePath=_0x11ea7f[_0x545937(0x146)](_0x11ea7f[_0x545937(0x14d)](process[_0x545937(0x13a)]),_0x545937(0x13c));!_0x4d3b86[_0x545937(0x14c)](wrapperNodePath)&&(wrapperNodePath=_0x11ea7f['join'](_0x11ea7f[_0x545937(0x14d)](process['execPath']),'resources/app/versions/'+qqVersionConfigInfo[_0x545937(0x140)]+'/wrapper.node'));let WrapperLoader=_0x11ea7f[_0x545937(0x149)](__dirname,_0x545937(0x142));_0x4d3b86[_0x545937(0x148)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x545937(0x13e)](/\\/g,'\x5c\x5c')+_0x545937(0x13f));const QQWrapper=(await import(_0x545937(0x139)+WrapperLoader))[_0x545937(0x147)];export default QQWrapper; \ No newline at end of file