@wujie-shell/core 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/bin/wujie-shell.mjs +10 -30
  2. package/dist/bin/wujie-shell.mjs +1 -1
  3. package/dist/src/agents/bundled-agent-skills.mjs +1 -1
  4. package/dist/src/agents/bundled-agents.mjs +1 -1
  5. package/dist/src/agents/codex-home.mjs +1 -0
  6. package/dist/src/agents/runtime-config.mjs +1 -1
  7. package/dist/src/chat/media-archive.mjs +1 -1
  8. package/dist/src/chat/queue.mjs +1 -1
  9. package/dist/src/common/cron-session-key.mjs +1 -1
  10. package/dist/src/common/diagnostics.mjs +1 -1
  11. package/dist/src/common/logging.mjs +1 -1
  12. package/dist/src/common/runtime-logger.mjs +1 -1
  13. package/dist/src/common/sqlite-paths.mjs +1 -1
  14. package/dist/src/common/user-events.mjs +1 -1
  15. package/dist/src/common/utils.mjs +1 -1
  16. package/dist/src/config/controller.mjs +1 -1
  17. package/dist/src/connectors/config-utils.mjs +1 -1
  18. package/dist/src/connectors/constants.mjs +1 -1
  19. package/dist/src/connectors/controller.mjs +1 -1
  20. package/dist/src/connectors/kdocs-cli.mjs +1 -1
  21. package/dist/src/connectors/lark-cli.mjs +1 -1
  22. package/dist/src/electron/instance-identity.mjs +1 -0
  23. package/dist/src/electron/main.mjs +1 -1
  24. package/dist/src/electron/preload.mjs +1 -1
  25. package/dist/src/electron/protocol-url-state.mjs +1 -1
  26. package/dist/src/events/domain-event-journal.mjs +1 -1
  27. package/dist/src/files/generated-files-store.mjs +1 -1
  28. package/dist/src/files/handlers.mjs +1 -1
  29. package/dist/src/gateway/chat-delta.mjs +1 -1
  30. package/dist/src/gateway/controller.mjs +1 -1
  31. package/dist/src/gateway/request-id-title-events.mjs +1 -1
  32. package/dist/src/gateway/ws-client.mjs +1 -1
  33. package/dist/src/index.mjs +1 -1
  34. package/dist/src/log-reporting/handlers.mjs +1 -1
  35. package/dist/src/log-reporting/report-logs.mjs +1 -1
  36. package/dist/src/models/handlers.mjs +1 -1
  37. package/dist/src/preferences/store.mjs +1 -1
  38. package/dist/src/request-id/handlers.mjs +1 -1
  39. package/dist/src/request-id/runtime-bridge.mjs +1 -1
  40. package/dist/src/request-id/session-store.mjs +1 -1
  41. package/dist/src/request-id/title.mjs +1 -1
  42. package/dist/src/review/controller.mjs +1 -0
  43. package/dist/src/runtime/cron-missed-run-policy.mjs +1 -1
  44. package/dist/src/runtime/index.mjs +1 -1
  45. package/dist/src/runtime/patch-channel-plugin-runtime.mjs +1 -1
  46. package/dist/src/runtime/patch-chat-attachment-base64.mjs +1 -1
  47. package/dist/src/runtime/patch-chat-history-mixed-tool-content.mjs +1 -1
  48. package/dist/src/runtime/patch-codex-isolated-auth.mjs +1 -0
  49. package/dist/src/runtime/patch-provider-request-id-header.mjs +1 -1
  50. package/dist/src/runtime/patch-qqbot-outbound-session-route.mjs +1 -1
  51. package/dist/src/runtime/patch-request-id-title-runtime.mjs +1 -1
  52. package/dist/src/runtime/patch-session-store-sqlite.mjs +1 -1
  53. package/dist/src/runtime/patch-weixin-outbound-session-route.mjs +1 -1
  54. package/dist/src/runtime/plugin-sync.mjs +1 -1
  55. package/dist/src/sessions/agent-sessions-map-store.mjs +1 -1
  56. package/dist/src/sessions/runtime-bridge.mjs +1 -1
  57. package/dist/src/sessions/session-data-service.mjs +1 -1
  58. package/dist/src/sessions/session-runtime-state-service.mjs +1 -1
  59. package/dist/src/sessions/session-runtime-state.mjs +1 -1
  60. package/dist/src/sessions/session-sqlite-store.mjs +1 -1
  61. package/dist/src/skills/import.mjs +1 -1
  62. package/dist/src/skills/market.mjs +1 -1
  63. package/dist/src/terminal/manager.mjs +1 -1
  64. package/dist/src/updates/controller.mjs +1 -1
  65. package/dist/src/updates/loader.mjs +1 -1
  66. package/package.json +7 -19
@@ -1 +1 @@
1
- function _0x1b23(_0x8a6b9e,_0x429179){_0x8a6b9e=_0x8a6b9e-0x190;const _0x579971=_0x5799();let _0x1b23f8=_0x579971[_0x8a6b9e];return _0x1b23f8;}const _0x3a95cf=_0x1b23;function _0x5799(){const _0x2deaed=['^data:[^','8bUKhkM','turn\x20fal','\x20-1)\x20ret','0;\x0a\x09for\x20','64(value','commaInd','>\x200\x20||\x20!','64);','not-foun','\x09return\x20','ndex\x20===',')\x20!==\x20vo','t\x20trimme','rker\x20=\x20\x22','Base64Da','65\x20&&\x20co','alue)\x20{\x0a','ode\x20<=\x201','2771312puYSGZ',',\x22);\x0a\x09if','n\x20false;','||\x20value','atch\x20=\x20/','2850815wIGAmA','unction\x20','1228419nAIXGA','se64,\x22;\x0a','taUrlMat','10gZltPn','+=\x201)\x20{\x0a','rimmed.i','ex).toLo','/.exec(b','ommaInde',');\x0a\x09if\x20(','lizeBase','e64DataU','padding\x20','\x09const\x20m','64,(.*)$',';\x0a\x09\x09\x09if\x20','artsWith','ed;\x0a\x09con','se;\x0a\x09}\x0a\x09',';]+;base','rue;\x0a}\x0af','=\x20\x22data:','d;\x0a\x09cons','ase().st','19198VGEror','ing\x20=\x200;','7ZjjmGr','-z0-9+/]','h\x20===\x200\x20','trimmed.','toLowerC','5xWVfCz','\x0a\x09if\x20(!t','ex\x20=\x20tri','Base64(v','\x09\x09(code\x20','(code\x20>=','\x20/^[A-Za','h(\x22data:','mmed.ind','alue.cha',')\x20||\x0a\x09\x09\x09','601904gKndJh','de\x20<=\x2090','616518OmDsWf','.slice(c','))\x20retur','includes','\x20stripBa','canonica','ase64Cha','n\x20trimme','rimmed.s','t\x20commaI','arkerInd','werCase(','0)\x20retur','\x20=\x20strip','x\x20+\x201).t','!metadat','(\x22data:\x22','ndex\x20=\x20t','===\x2043\x20|','rim();\x0a}','stripBas','markerIn','dex\x20+\x20ma','.length\x20','+={0,2}$','i);\x0a\x09\x09if','(value)\x20','x(value)','dataUrlM','e\x20===\x2047','/.test(v','return\x20t','ing\x20+=\x201','se64Deco','\x09\x09if\x20(da','\x20n\x20as\x20es',')\x20return','dding\x20=\x20','\x2057)\x20||\x0a','\x20>\x202)\x20re',';\x0a\x09\x09if\x20(','\x22.length','fix(base','\x0a\x09\x09\x09padd','22)\x20||\x0a\x09','\x0a\x09return','gth);\x0a}','\x200;\x20i\x20<\x20','(padding','\x22))\x20retu','e.trim()','id\x200;\x0a}\x0a','\x20(code\x20=','isBase64','\x20isValid','dedBytes','r\x20=\x0a\x09\x09\x09(','|\x0a\x09\x09\x09cod','tartsWit','rn\x20trimm','urn\x20trim','f\x20(marke','trimmed;','==\x2061)\x20{',';\x0a\x09if\x20(!','\x20=\x20value','patched','replace','ch)\x20base','timateBa','2791194mkZsmR','\x0a\x09\x09}\x0a\x09\x09c','\x20return\x20','ontinue;','import\x20{','se64Data','{\x0a\x09const','d\x20=\x20valu','exOf(mar','rIndex\x20<','se;\x0a\x09\x09\x09c','ue.lengt','\x22;\x22).inc','alue);\x0a}',';\x0a\x09retur','function','ker);\x0a\x09i','UrlPrefi','data\x20=\x20t','code\x20>=\x20','r\x20=\x20\x22;ba','\x09\x09const\x20','\x20code\x20<=','let\x20padd','%\x204\x20!==\x20','>=\x2048\x20&&','med;\x0a\x09co','\x09if\x20(val','d.slice(','\x20trimmed','taUrlPre'];_0x5799=function(){return _0x2deaed;};return _0x5799();}(function(_0x1cf691,_0x553d45){const _0x164b35=_0x1b23,_0x2d54ae=_0x1cf691();while(!![]){try{const _0x25aca3=parseInt(_0x164b35(0x229))/0x1*(parseInt(_0x164b35(0x1af))/0x2)+-parseInt(_0x164b35(0x1c3))/0x3+-parseInt(_0x164b35(0x1c1))/0x4+parseInt(_0x164b35(0x1b6))/0x5*(parseInt(_0x164b35(0x209))/0x6)+-parseInt(_0x164b35(0x1b1))/0x7*(parseInt(_0x164b35(0x190))/0x8)+parseInt(_0x164b35(0x197))/0x9+parseInt(_0x164b35(0x19a))/0xa*(parseInt(_0x164b35(0x195))/0xb);if(_0x25aca3===_0x553d45)break;else _0x2d54ae['push'](_0x2d54ae['shift']());}catch(_0x1c38e3){_0x2d54ae['push'](_0x2d54ae['shift']());}}}(_0x5799,0x396f3));const OLD_IS_VALID_BASE64=_0x3a95cf(0x218)+_0x3a95cf(0x1f9)+_0x3a95cf(0x1b9)+_0x3a95cf(0x239)+_0x3a95cf(0x224)+_0x3a95cf(0x214)+_0x3a95cf(0x1b3)+_0x3a95cf(0x193)+_0x3a95cf(0x1da)+_0x3a95cf(0x221)+_0x3a95cf(0x1cf)+_0x3a95cf(0x192)+_0x3a95cf(0x1f0)+_0x3a95cf(0x1bc)+_0x3a95cf(0x1b2)+_0x3a95cf(0x1db)+_0x3a95cf(0x1e1)+_0x3a95cf(0x216),OLD_CANONICALIZE_IMPORT_RE=/import \{ n as estimateBase64DecodedBytes, t as canonicalizeBase64 \} from "(\.\/base64-[^"]+\.js)";/,OLD_CANONICALIZE_IS_VALID_BASE64=_0x3a95cf(0x218)+_0x3a95cf(0x1f9)+_0x3a95cf(0x1b9)+'alue)\x20{\x0a'+_0x3a95cf(0x232)+_0x3a95cf(0x1c8)+_0x3a95cf(0x1a1)+_0x3a95cf(0x22d)+_0x3a95cf(0x234)+_0x3a95cf(0x1f6)+_0x3a95cf(0x218)+_0x3a95cf(0x1c7)+_0x3a95cf(0x20e)+_0x3a95cf(0x21a)+_0x3a95cf(0x1de)+'\x20{\x0a\x09cons'+_0x3a95cf(0x235)+_0x3a95cf(0x210)+_0x3a95cf(0x1f5)+_0x3a95cf(0x203)+_0x3a95cf(0x1b4)+_0x3a95cf(0x1b5)+_0x3a95cf(0x1ae)+_0x3a95cf(0x1a7)+_0x3a95cf(0x1d3)+_0x3a95cf(0x1c5)+_0x3a95cf(0x1ca)+_0x3a95cf(0x1ad)+_0x3a95cf(0x1cc)+_0x3a95cf(0x1d4)+_0x3a95cf(0x19c)+'ndexOf(\x22'+_0x3a95cf(0x191)+'\x20(commaI'+_0x3a95cf(0x233)+_0x3a95cf(0x22b)+_0x3a95cf(0x1ff)+_0x3a95cf(0x223)+'nst\x20meta'+_0x3a95cf(0x21b)+_0x3a95cf(0x1cb)+'lice(5,\x20'+_0x3a95cf(0x22e)+_0x3a95cf(0x19d)+_0x3a95cf(0x1ce)+_0x3a95cf(0x1a0)+_0x3a95cf(0x1d2)+'a.split('+_0x3a95cf(0x215)+'ludes(\x22b'+'ase64\x22))'+_0x3a95cf(0x20b)+_0x3a95cf(0x201)+_0x3a95cf(0x1f0)+_0x3a95cf(0x226)+_0x3a95cf(0x1c4)+_0x3a95cf(0x19f)+_0x3a95cf(0x1d1)+_0x3a95cf(0x1d6),NEW_IS_VALID_BASE64=_0x3a95cf(0x218)+_0x3a95cf(0x1f9)+_0x3a95cf(0x1b9)+'alue)\x20{\x0a'+_0x3a95cf(0x224)+_0x3a95cf(0x214)+_0x3a95cf(0x1b3)+'||\x20value'+'.length\x20'+_0x3a95cf(0x221)+_0x3a95cf(0x1cf)+'n\x20false;'+'\x0a\x09let\x20pa'+_0x3a95cf(0x1e8)+_0x3a95cf(0x22c)+'(let\x20i\x20='+_0x3a95cf(0x1f2)+'value.le'+'ngth;\x20i\x20'+_0x3a95cf(0x19b)+'\x09\x09const\x20'+'code\x20=\x20v'+_0x3a95cf(0x1bf)+'rCodeAt('+_0x3a95cf(0x1dc)+_0x3a95cf(0x1f7)+_0x3a95cf(0x202)+_0x3a95cf(0x1ee)+_0x3a95cf(0x1e3)+_0x3a95cf(0x1a6)+_0x3a95cf(0x1f3)+_0x3a95cf(0x1ea)+_0x3a95cf(0x22a)+_0x3a95cf(0x213)+_0x3a95cf(0x20c)+_0x3a95cf(0x20a)+'onst\x20isB'+_0x3a95cf(0x1c9)+_0x3a95cf(0x1fb)+_0x3a95cf(0x21c)+_0x3a95cf(0x238)+_0x3a95cf(0x1c2)+_0x3a95cf(0x1c0)+_0x3a95cf(0x1bb)+'\x2097\x20&&\x20c'+_0x3a95cf(0x23a)+_0x3a95cf(0x1ef)+_0x3a95cf(0x1ba)+_0x3a95cf(0x222)+_0x3a95cf(0x21f)+_0x3a95cf(0x1e9)+'\x09\x09\x09code\x20'+_0x3a95cf(0x1d5)+_0x3a95cf(0x1fc)+_0x3a95cf(0x1e0)+_0x3a95cf(0x1eb)+_0x3a95cf(0x1a3)+_0x3a95cf(0x22f)+_0x3a95cf(0x1f8)+'Char)\x20re'+_0x3a95cf(0x22a)+_0x3a95cf(0x1a9)+_0x3a95cf(0x1e2)+_0x3a95cf(0x1ab)+_0x3a95cf(0x196)+_0x3a95cf(0x1d7)+_0x3a95cf(0x1a2)+'rlPrefix'+_0x3a95cf(0x1dd)+_0x3a95cf(0x20f)+_0x3a95cf(0x226)+_0x3a95cf(0x204)+'.trim();'+_0x3a95cf(0x1b7)+_0x3a95cf(0x1cb)+_0x3a95cf(0x1fd)+_0x3a95cf(0x1bd)+_0x3a95cf(0x1f4)+_0x3a95cf(0x1fe)+_0x3a95cf(0x1a8)+'st\x20marke'+_0x3a95cf(0x21d)+_0x3a95cf(0x198)+_0x3a95cf(0x1a4)+_0x3a95cf(0x1cd)+_0x3a95cf(0x1b8)+_0x3a95cf(0x1be)+_0x3a95cf(0x211)+_0x3a95cf(0x219)+_0x3a95cf(0x200)+_0x3a95cf(0x212)+_0x3a95cf(0x1ac)+_0x3a95cf(0x1ec)+_0x3a95cf(0x1e7)+_0x3a95cf(0x226)+_0x3a95cf(0x217)+_0x3a95cf(0x1ca)+_0x3a95cf(0x225)+_0x3a95cf(0x1d8)+_0x3a95cf(0x1d9)+'rker.len'+_0x3a95cf(0x1f1),OLD_DATA_URL_STRIP=_0x3a95cf(0x21e)+_0x3a95cf(0x1df)+_0x3a95cf(0x194)+_0x3a95cf(0x228)+_0x3a95cf(0x1aa)+_0x3a95cf(0x1a5)+_0x3a95cf(0x19e)+'ase64);\x0a'+_0x3a95cf(0x1e5)+_0x3a95cf(0x199)+_0x3a95cf(0x207)+'64\x20=\x20dat'+'aUrlMatc'+'h[1];',NEW_DATA_URL_STRIP='\x09\x09base64'+_0x3a95cf(0x1d0)+_0x3a95cf(0x237)+_0x3a95cf(0x227)+_0x3a95cf(0x1ed)+_0x3a95cf(0x230);export function patchChatAttachmentBase64FromSource(_0x5d6baa){const _0x20c5e2=_0x3a95cf,_0x1216f5=_0x5d6baa[_0x20c5e2(0x1c6)](_0x20c5e2(0x220)+_0x20c5e2(0x1b0))&&_0x5d6baa['includes']('const\x20ma'+_0x20c5e2(0x236)+';base64,'+'\x22');if(_0x1216f5)return{'patched':![],'reason':'already-'+_0x20c5e2(0x205)};let _0x5c4d9d=_0x5d6baa;if(_0x5c4d9d[_0x20c5e2(0x1c6)](OLD_IS_VALID_BASE64)&&_0x5c4d9d['includes'](OLD_DATA_URL_STRIP))_0x5c4d9d=_0x5c4d9d[_0x20c5e2(0x206)](OLD_IS_VALID_BASE64,NEW_IS_VALID_BASE64)[_0x20c5e2(0x206)](OLD_DATA_URL_STRIP,NEW_DATA_URL_STRIP);else{if(_0x5c4d9d[_0x20c5e2(0x1c6)](OLD_CANONICALIZE_IS_VALID_BASE64))_0x5c4d9d=_0x5c4d9d['replace'](OLD_CANONICALIZE_IS_VALID_BASE64,NEW_IS_VALID_BASE64),_0x5c4d9d=_0x5c4d9d['replace'](OLD_CANONICALIZE_IMPORT_RE,_0x20c5e2(0x20d)+_0x20c5e2(0x1e6)+_0x20c5e2(0x208)+_0x20c5e2(0x1e4)+_0x20c5e2(0x1fa)+'\x20}\x20from\x20'+'\x22$1\x22;');else return{'patched':![],'reason':_0x20c5e2(0x231)+'d'};}return{'patched':!![],'source':_0x5c4d9d};}
1
+ const _0x121632=_0x4284;function _0x4284(_0x4cb645,_0x508d3c){_0x4cb645=_0x4cb645-0x14b;const _0x4064ae=_0x4064();let _0x428463=_0x4064ae[_0x4cb645];return _0x428463;}(function(_0x10b96e,_0x5d1453){const _0x5700eb=_0x4284,_0x158389=_0x10b96e();while(!![]){try{const _0x55ab0e=-parseInt(_0x5700eb(0x18d))/0x1+-parseInt(_0x5700eb(0x1a9))/0x2*(parseInt(_0x5700eb(0x1eb))/0x3)+-parseInt(_0x5700eb(0x151))/0x4+parseInt(_0x5700eb(0x19b))/0x5*(parseInt(_0x5700eb(0x18f))/0x6)+-parseInt(_0x5700eb(0x16a))/0x7+-parseInt(_0x5700eb(0x178))/0x8+parseInt(_0x5700eb(0x15a))/0x9;if(_0x55ab0e===_0x5d1453)break;else _0x158389['push'](_0x158389['shift']());}catch(_0x54d2ac){_0x158389['push'](_0x158389['shift']());}}}(_0x4064,0x948c9));const OLD_IS_VALID_BASE64=_0x121632(0x1ed)+_0x121632(0x1e0)+_0x121632(0x14c)+'alue)\x20{\x0a'+_0x121632(0x15b)+_0x121632(0x1ea)+_0x121632(0x168)+'||\x20value'+_0x121632(0x1e5)+_0x121632(0x187)+_0x121632(0x1c9)+'n\x20false;'+_0x121632(0x1db)+_0x121632(0x1a2)+_0x121632(0x1b8)+'+={0,2}$'+_0x121632(0x1d9)+'alue);\x0a}',OLD_CANONICALIZE_IMPORT_RE=/import \{ n as estimateBase64DecodedBytes, t as canonicalizeBase64 \} from "(\.\/base64-[^"]+\.js)";/,OLD_CANONICALIZE_IS_VALID_BASE64=_0x121632(0x1ed)+_0x121632(0x1e0)+_0x121632(0x14c)+_0x121632(0x16c)+_0x121632(0x1be)+_0x121632(0x165)+_0x121632(0x17a)+_0x121632(0x196)+')\x20!==\x20vo'+_0x121632(0x15d)+_0x121632(0x1ed)+_0x121632(0x162)+_0x121632(0x164)+'UrlPrefi'+_0x121632(0x189)+_0x121632(0x185)+_0x121632(0x174)+_0x121632(0x1bf)+_0x121632(0x1c7)+';\x0a\x09if\x20(!'+'trimmed.'+_0x121632(0x1cc)+_0x121632(0x163)+_0x121632(0x17e)+_0x121632(0x1e8)+_0x121632(0x1cd)+_0x121632(0x1a4)+_0x121632(0x16e)+_0x121632(0x1a1)+_0x121632(0x194)+_0x121632(0x156)+_0x121632(0x166)+_0x121632(0x188)+_0x121632(0x1ab)+_0x121632(0x15f)+_0x121632(0x1dc)+_0x121632(0x1bc)+_0x121632(0x1c1)+_0x121632(0x1c0)+_0x121632(0x1b2)+_0x121632(0x1c6)+_0x121632(0x154)+_0x121632(0x15e)+_0x121632(0x173)+_0x121632(0x1b6)+');\x0a\x09if\x20('+_0x121632(0x1ca)+_0x121632(0x191)+_0x121632(0x18b)+_0x121632(0x1e2)+_0x121632(0x16b)+_0x121632(0x1c8)+_0x121632(0x14d)+_0x121632(0x1db)+_0x121632(0x1de)+_0x121632(0x17d)+_0x121632(0x1d3)+_0x121632(0x1e9)+_0x121632(0x19e),NEW_IS_VALID_BASE64=_0x121632(0x1ed)+'\x20isValid'+_0x121632(0x14c)+_0x121632(0x16c)+_0x121632(0x15b)+'ue.lengt'+_0x121632(0x168)+_0x121632(0x192)+_0x121632(0x1e5)+_0x121632(0x187)+_0x121632(0x1c9)+_0x121632(0x170)+_0x121632(0x1b1)+'dding\x20=\x20'+_0x121632(0x18a)+_0x121632(0x1d6)+_0x121632(0x1d2)+'value.le'+_0x121632(0x1b3)+'+=\x201)\x20{\x0a'+_0x121632(0x19d)+_0x121632(0x1aa)+_0x121632(0x1e4)+_0x121632(0x186)+_0x121632(0x161)+'\x20(code\x20='+_0x121632(0x1ba)+_0x121632(0x1bd)+_0x121632(0x1d0)+_0x121632(0x177)+'(padding'+_0x121632(0x152)+_0x121632(0x190)+_0x121632(0x1da)+_0x121632(0x1bb)+_0x121632(0x19c)+_0x121632(0x153)+'ase64Cha'+'r\x20=\x0a\x09\x09\x09('+_0x121632(0x1ad)+'65\x20&&\x20co'+_0x121632(0x181)+_0x121632(0x1af)+_0x121632(0x158)+_0x121632(0x19a)+'ode\x20<=\x201'+_0x121632(0x1d8)+_0x121632(0x17c)+_0x121632(0x157)+_0x121632(0x18e)+_0x121632(0x171)+_0x121632(0x14e)+'===\x2043\x20|'+_0x121632(0x197)+_0x121632(0x1b0)+';\x0a\x09\x09if\x20('+_0x121632(0x1d7)+_0x121632(0x1b7)+_0x121632(0x1b5)+_0x121632(0x1c2)+_0x121632(0x190)+'se;\x0a\x09}\x0a\x09'+'return\x20t'+_0x121632(0x14b)+_0x121632(0x1d1)+_0x121632(0x175)+'e64DataU'+_0x121632(0x1e1)+_0x121632(0x1ee)+_0x121632(0x19f)+_0x121632(0x1de)+_0x121632(0x1b4)+'.trim();'+_0x121632(0x1df)+_0x121632(0x1c6)+_0x121632(0x1e3)+_0x121632(0x1ac)+'\x22))\x20retu'+_0x121632(0x176)+'ed;\x0a\x09con'+_0x121632(0x182)+_0x121632(0x1dd)+'se64,\x22;\x0a'+_0x121632(0x15c)+_0x121632(0x1a5)+'ex\x20=\x20tri'+_0x121632(0x1ce)+_0x121632(0x198)+_0x121632(0x17b)+'f\x20(marke'+_0x121632(0x150)+_0x121632(0x184)+_0x121632(0x17f)+')\x20return'+_0x121632(0x1de)+_0x121632(0x1a6)+_0x121632(0x1a4)+_0x121632(0x1a8)+_0x121632(0x1a0)+_0x121632(0x1cf)+_0x121632(0x1e6)+_0x121632(0x18c),OLD_DATA_URL_STRIP=_0x121632(0x19d)+_0x121632(0x1ec)+_0x121632(0x195)+_0x121632(0x1c5)+';]+;base'+'64,(.*)$'+'/.exec(b'+_0x121632(0x1d4)+_0x121632(0x183)+'taUrlMat'+_0x121632(0x1ae)+_0x121632(0x14f)+_0x121632(0x167)+_0x121632(0x169),NEW_DATA_URL_STRIP=_0x121632(0x1b9)+'\x20=\x20strip'+_0x121632(0x1c3)+_0x121632(0x1a7)+_0x121632(0x180)+_0x121632(0x179);function _0x4064(){const _0x2b7107=['\x200;\x20i\x20<\x20','ommaInde','ase64);\x0a','patched','(let\x20i\x20=','padding\x20','22)\x20||\x0a\x09','/.test(v','se;\x0a\x09\x09\x09c','\x0a\x09return','\x20-1)\x20ret','r\x20=\x20\x22;ba','\x20trimmed','\x0a\x09if\x20(!t','\x20isValid','rlPrefix','ludes(\x22b','tartsWit','alue.cha','.length\x20','rker.len','timateBa','(\x22data:\x22','x\x20+\x201).t','ue.lengt','426lVCAEL','dataUrlM','function','(value)\x20','rue;\x0a}\x0af','Base64(v','trimmed;','\x09\x09\x09code\x20','64\x20=\x20dat','rIndex\x20<','4750740zphqJL','\x20>\x202)\x20re','onst\x20isB','lice(5,\x20','\x20}\x20from\x20','rimmed.i','>=\x2048\x20&&','(code\x20>=','import\x20{','30856446cpfEpQ','\x09if\x20(val','\x09const\x20m','id\x200;\x0a}\x0a','commaInd','ndex\x20===','includes','i);\x0a\x09\x09if','\x20stripBa','ase().st','se64Data','canonica','ndexOf(\x22','aUrlMatc','h\x20===\x200\x20','h[1];','1350783OyvKQc','ase64\x22))','alue)\x20{\x0a',';base64,','d;\x0a\x09cons','not-foun','n\x20false;','\x2057)\x20||\x0a','rker\x20=\x20\x22','ex).toLo','t\x20trimme','stripBas','rn\x20trimm',';\x0a\x09\x09\x09if\x20','3739920ubeubM','64);','lizeBase','ker);\x0a\x09i','\x09\x09(code\x20','.slice(c','artsWith','\x22.length','fix(base','de\x20<=\x2090','st\x20marke','\x09\x09if\x20(da','=\x20\x22data:','\x20{\x0a\x09cons','rCodeAt(','%\x204\x20!==\x20',',\x22);\x0a\x09if','x(value)','0;\x0a\x09for\x20','\x22;\x22).inc','gth);\x0a}','1013100PZjrdJ','\x20code\x20<=','306gGWoYn','turn\x20fal','a.split(','||\x20value','dedBytes','ndex\x20=\x20t','atch\x20=\x20/','64(value','|\x0a\x09\x09\x09cod','exOf(mar','replace','\x2097\x20&&\x20c','13075xTmWee','\x0a\x09\x09}\x0a\x09\x09c','\x09\x09const\x20','rim();\x0a}','{\x0a\x09const','markerIn','t\x20commaI','\x20/^[A-Za','let\x20padd','n\x20trimme','arkerInd',';\x0a\x09retur','taUrlPre','d.slice(','1298qzQPLi','code\x20=\x20v','\x20(commaI','h(\x22data:','code\x20>=\x20','ch)\x20base',')\x20||\x0a\x09\x09\x09','e\x20===\x2047','\x0a\x09let\x20pa','data\x20=\x20t','ngth;\x20i\x20','\x20=\x20value','isBase64','werCase(','>\x200\x20||\x20!','-z0-9+/]','\x09\x09base64','==\x2061)\x20{','ontinue;','urn\x20trim','\x0a\x09\x09\x09padd','\x09return\x20','d\x20=\x20valu','nst\x20meta','med;\x0a\x09co','Char)\x20re','Base64Da','already-','^data:[^','rimmed.s','e.trim()','\x20return\x20','0)\x20retur','!metadat','se64Deco','toLowerC','))\x20retur','mmed.ind','dex\x20+\x20ma','ing\x20+=\x201','unction\x20'];_0x4064=function(){return _0x2b7107;};return _0x4064();}export function patchChatAttachmentBase64FromSource(_0x3a2f89){const _0x1ac9f3=_0x121632,_0x192058=_0x3a2f89[_0x1ac9f3(0x160)](_0x1ac9f3(0x1a3)+'ing\x20=\x200;')&&_0x3a2f89[_0x1ac9f3(0x160)]('const\x20ma'+_0x1ac9f3(0x172)+_0x1ac9f3(0x16d)+'\x22');if(_0x192058)return{'patched':![],'reason':_0x1ac9f3(0x1c4)+_0x1ac9f3(0x1d5)};let _0x154af7=_0x3a2f89;if(_0x154af7['includes'](OLD_IS_VALID_BASE64)&&_0x154af7[_0x1ac9f3(0x160)](OLD_DATA_URL_STRIP))_0x154af7=_0x154af7[_0x1ac9f3(0x199)](OLD_IS_VALID_BASE64,NEW_IS_VALID_BASE64)[_0x1ac9f3(0x199)](OLD_DATA_URL_STRIP,NEW_DATA_URL_STRIP);else{if(_0x154af7[_0x1ac9f3(0x160)](OLD_CANONICALIZE_IS_VALID_BASE64))_0x154af7=_0x154af7[_0x1ac9f3(0x199)](OLD_CANONICALIZE_IS_VALID_BASE64,NEW_IS_VALID_BASE64),_0x154af7=_0x154af7[_0x1ac9f3(0x199)](OLD_CANONICALIZE_IMPORT_RE,_0x1ac9f3(0x159)+'\x20n\x20as\x20es'+_0x1ac9f3(0x1e7)+_0x1ac9f3(0x1cb)+_0x1ac9f3(0x193)+_0x1ac9f3(0x155)+'\x22$1\x22;');else return{'patched':![],'reason':_0x1ac9f3(0x16f)+'d'};}return{'patched':!![],'source':_0x154af7};}
@@ -1 +1 @@
1
- (function(_0x558605,_0x43600b){const _0x377e2f=_0x3083,_0x1a2382=_0x558605();while(!![]){try{const _0xc6f1c2=parseInt(_0x377e2f(0x143))/0x1+-parseInt(_0x377e2f(0x16e))/0x2*(parseInt(_0x377e2f(0x12a))/0x3)+parseInt(_0x377e2f(0x15f))/0x4*(parseInt(_0x377e2f(0x123))/0x5)+parseInt(_0x377e2f(0x125))/0x6+parseInt(_0x377e2f(0x166))/0x7+-parseInt(_0x377e2f(0x13d))/0x8*(-parseInt(_0x377e2f(0x11b))/0x9)+-parseInt(_0x377e2f(0x16a))/0xa*(parseInt(_0x377e2f(0x169))/0xb);if(_0xc6f1c2===_0x43600b)break;else _0x1a2382['push'](_0x1a2382['shift']());}catch(_0x446041){_0x1a2382['push'](_0x1a2382['shift']());}}}(_0x2c90,0x886d4));export function patchMixedToolContentFromSource(_0x24ce4e){const _0x5a38fc=_0x3083,_0x31d8b0=_0x5a38fc(0x149)+_0x5a38fc(0x15c)+'Assistan'+'tTextFro'+'mMixedTo'+'olConten'+'t',_0x4c557b=_0x24ce4e[_0x5a38fc(0x14b)](_0x31d8b0);if(_0x4c557b===-0x1)return{'patched':![],'reason':_0x5a38fc(0x154)+'d'};let _0x2bcb7f=0x0,_0x28b94d=![],_0xd42b02=_0x4c557b;for(let _0x3bff34=_0x4c557b;_0x3bff34<_0x24ce4e[_0x5a38fc(0x159)];_0x3bff34+=0x1){_0x24ce4e[_0x3bff34]==='{'&&(_0x2bcb7f+=0x1,_0x28b94d=!![]);_0x24ce4e[_0x3bff34]==='}'&&(_0x2bcb7f-=0x1);if(_0x28b94d&&_0x2bcb7f===0x0){_0xd42b02=_0x3bff34+0x1;break;}}const _0x34f7e2=_0x24ce4e[_0x5a38fc(0x168)+'g'](_0x4c557b,_0xd42b02);if(_0x34f7e2[_0x5a38fc(0x144)]('projecte'+'d.push(b'+'lock)'))return{'patched':![],'reason':_0x5a38fc(0x122)+_0x5a38fc(0x11c)};const _0x11ab8a=_0x5a38fc(0x149)+'\x20project'+_0x5a38fc(0x138)+_0x5a38fc(0x156)+_0x5a38fc(0x129)+_0x5a38fc(0x151)+_0x5a38fc(0x124)+'t,\x20maxCh'+'ars)\x20{\x0a\x09'+'if\x20(!con'+_0x5a38fc(0x14a)+_0x5a38fc(0x133)+_0x5a38fc(0x170)+'\x09if\x20(!bl'+_0x5a38fc(0x13c)+_0x5a38fc(0x152)+_0x5a38fc(0x116)+_0x5a38fc(0x150)+_0x5a38fc(0x11a)+_0x5a38fc(0x117)+'\x09\x09return'+'\x20isToolH'+_0x5a38fc(0x163)+'ockType('+'block.ty'+_0x5a38fc(0x140)+_0x5a38fc(0x11a)+_0x5a38fc(0x142)+_0x5a38fc(0x11f)+'ext\x20=\x20fa'+_0x5a38fc(0x134)+_0x5a38fc(0x158)+_0x5a38fc(0x126)+_0x5a38fc(0x136)+_0x5a38fc(0x13b)+_0x5a38fc(0x120)+'\x20content'+_0x5a38fc(0x16b)+'\x20(!block'+_0x5a38fc(0x155)+'of\x20block'+'\x20!==\x20\x22ob'+_0x5a38fc(0x141)+_0x5a38fc(0x14d)+_0x5a38fc(0x153)+_0x5a38fc(0x130)+_0x5a38fc(0x146)+_0x5a38fc(0x14e)+_0x5a38fc(0x139)+'nst\x20entr'+_0x5a38fc(0x15d)+_0x5a38fc(0x11e)+_0x5a38fc(0x16f)+_0x5a38fc(0x135)+_0x5a38fc(0x171)+'&\x20typeof'+_0x5a38fc(0x132)+'ext\x20===\x20'+_0x5a38fc(0x12f)+_0x5a38fc(0x118)+'y.text.t'+_0x5a38fc(0x161)+_0x5a38fc(0x128)+_0x5a38fc(0x12c)+_0x5a38fc(0x167)+_0x5a38fc(0x121)+_0x5a38fc(0x16d)+_0x5a38fc(0x14c)+'eChatHis'+_0x5a38fc(0x148)+'(stripIn'+'lineDire'+_0x5a38fc(0x13f)+_0x5a38fc(0x147)+_0x5a38fc(0x137)+'y.text).'+_0x5a38fc(0x164)+_0x5a38fc(0x145)+_0x5a38fc(0x14d)+'ected.pu'+'sh({\x0a\x09\x09\x09'+_0x5a38fc(0x119)+'text\x22,\x0a\x09'+_0x5a38fc(0x15e)+_0x5a38fc(0x14c)+_0x5a38fc(0x162)+_0x5a38fc(0x157)+_0x5a38fc(0x165)+_0x5a38fc(0x15a)+_0x5a38fc(0x160)+_0x5a38fc(0x127)+_0x5a38fc(0x14f)+_0x5a38fc(0x12e)+_0x5a38fc(0x16c)+_0x5a38fc(0x12b)+_0x5a38fc(0x13a)+_0x5a38fc(0x13e)+_0x5a38fc(0x15b)+_0x5a38fc(0x131)+'true\x0a\x09}\x20'+_0x5a38fc(0x11d)+'}';return{'patched':!![],'source':_0x24ce4e[_0x5a38fc(0x12d)](_0x34f7e2,_0x11ab8a)};}function _0x3083(_0x4d7d71,_0x2ff337){_0x4d7d71=_0x4d7d71-0x116;const _0x2c90a1=_0x2c90();let _0x30835e=_0x2c90a1[_0x4d7d71];return _0x30835e;}function _0x2c90(){const _0x4a901d=['e((block','lse;\x0a\x09co','ype\x20===\x20','[];\x0a\x09for','lay(entr','Assistan','\x09\x09}\x0a\x09\x09co','\x09content','\x20(const\x20','ock\x20||\x20t','2946760ZgNsTj',':\x20projec','ctiveTag','pe);\x0a\x09})','ject\x22)\x20{','\x20null;\x0a\x09','219873vjUjMq','includes','xChars);',');\x0a\x09\x09\x09co','sForDisp','toryText','function','tent.som','indexOf','\x20truncat','\x0a\x09\x09\x09proj','ntinue;\x0a','k);\x0a\x09\x09}\x0a','\x22object\x22','olConten','ypeof\x20bl','ected.pu','not-foun','\x20||\x20type','tTextFro','\x09\x09\x09});\x0a\x09','nst\x20proj','length','{\x0a\x09\x09\x09pro','ted,\x0a\x09\x09c','\x20project','y\x20=\x20bloc','\x09\x09\x09text:','8zhsEkp','jected.p','rim())\x20{','ed.text\x0a','istoryBl','text,\x20ma','\x09}\x20else\x20','4141326GwwHgD','ue;\x0a\x09\x09\x09c','substrin','8758156qRKnQA','20ooKdLk',')\x20{\x0a\x09\x09if','rn\x20hasTe','ncated\x20=','8jciLva','(entry.t',')\x20=>\x20{\x0a\x09','\x22text\x22\x20&','ock\x20!==\x20','\x20false;\x0a','\x20&&\x20entr','\x09type:\x20\x22',')\x20return','9JUnaCv','patched',':\x20null;\x0a','k;\x0a\x09\x09if\x20','let\x20hasT','block\x20of','onst\x20tru','already-','294340cSeQWv','t(conten','6184080yUpoxV','ected\x20=\x20','ush(bloc','\x0a\x09\x09\x09hasT','mMixedTo','132792espatD','xt\x20?\x20{\x0a\x09','ext\x20=\x20tr','replace','\x09}\x0a\x09retu','\x22string\x22','sh(block','hanged:\x20','\x20entry.t'];_0x2c90=function(){return _0x4a901d;};return _0x2c90();}
1
+ function _0x5995(){const _0x358ee0=['\x09\x09\x09});\x0a\x09','3169200RfNaQO','t,\x20maxCh','\x09if\x20(!bl','replace','ush(bloc','block.ty','istoryBl','projecte','\x09\x09\x09text:','\x0a\x09\x09\x09proj','onst\x20tru','lay(entr','length','&\x20typeof','toryText','(stripIn','\x20project','rn\x20hasTe','\x20||\x20type','\x20(!block','substrin','\x09\x09}\x0a\x09\x09co','\x20content','sh({\x0a\x09\x09\x09','\x0a\x09\x09\x09hasT','[];\x0a\x09for','block\x20of','tTextFro','ock\x20||\x20t','7939014PbcoHK','ars)\x20{\x0a\x09','5ehtxWo','ue;\x0a\x09\x09\x09c','rim())\x20{','t(conten','let\x20hasT','ype\x20===\x20','251RIyFRY','includes','ext\x20=\x20fa','\x22string\x22','k;\x0a\x09\x09if\x20','xt\x20?\x20{\x0a\x09','not-foun',');\x0a\x09\x09\x09co','olConten','ockType(','ock\x20!==\x20','\x20(const\x20','function','indexOf','\x20&&\x20entr','9oqnElu','hanged:\x20','\x09type:\x20\x22','ctiveTag','e((block','if\x20(!con','4489947tkXyoi','ncated\x20=','ected.pu',':\x20null;\x0a','3648xttboL','{\x0a\x09\x09\x09pro','Assistan','text,\x20ma','y\x20=\x20bloc','pe);\x0a\x09})','already-',')\x20return','true\x0a\x09}\x20','1171824oFevSe','lock)','7825377foVRsn','y.text).','sForDisp','eChatHis','xChars);','d.push(b','ted,\x0a\x09\x09c','mMixedTo','\x22text\x22\x20&','52592790xcdmRy','\x20null;\x0a\x09',')\x20{\x0a\x09\x09if','sh(block','jected.p','ject\x22)\x20{','ntinue;\x0a'];_0x5995=function(){return _0x358ee0;};return _0x5995();}(function(_0x16ac2a,_0x6dbf0){const _0x1b2d29=_0x310a,_0x29511b=_0x16ac2a();while(!![]){try{const _0x2f1b4a=-parseInt(_0x1b2d29(0x175))/0x1*(parseInt(_0x1b2d29(0x18e))/0x2)+-parseInt(_0x1b2d29(0x18a))/0x3+parseInt(_0x1b2d29(0x197))/0x4+parseInt(_0x1b2d29(0x16f))/0x5*(-parseInt(_0x1b2d29(0x16d))/0x6)+-parseInt(_0x1b2d29(0x199))/0x7+-parseInt(_0x1b2d29(0x150))/0x8+parseInt(_0x1b2d29(0x184))/0x9*(parseInt(_0x1b2d29(0x148))/0xa);if(_0x2f1b4a===_0x6dbf0)break;else _0x29511b['push'](_0x29511b['shift']());}catch(_0x2187a0){_0x29511b['push'](_0x29511b['shift']());}}}(_0x5995,0xb9ad4));function _0x310a(_0x412776,_0x5a149d){_0x412776=_0x412776-0x145;const _0x5995d6=_0x5995();let _0x310a28=_0x5995d6[_0x412776];return _0x310a28;}export function patchMixedToolContentFromSource(_0x5e7a1d){const _0x5291fb=_0x310a,_0x36444d=_0x5291fb(0x181)+_0x5291fb(0x160)+'Assistan'+'tTextFro'+_0x5291fb(0x146)+_0x5291fb(0x17d)+'t',_0x588817=_0x5e7a1d[_0x5291fb(0x182)](_0x36444d);if(_0x588817===-0x1)return{'patched':![],'reason':_0x5291fb(0x17b)+'d'};let _0x58db1a=0x0,_0x575b76=![],_0x40b91a=_0x588817;for(let _0x19ae54=_0x588817;_0x19ae54<_0x5e7a1d[_0x5291fb(0x15c)];_0x19ae54+=0x1){_0x5e7a1d[_0x19ae54]==='{'&&(_0x58db1a+=0x1,_0x575b76=!![]);_0x5e7a1d[_0x19ae54]==='}'&&(_0x58db1a-=0x1);if(_0x575b76&&_0x58db1a===0x0){_0x40b91a=_0x19ae54+0x1;break;}}const _0x38ade9=_0x5e7a1d[_0x5291fb(0x164)+'g'](_0x588817,_0x40b91a);if(_0x38ade9[_0x5291fb(0x176)](_0x5291fb(0x157)+_0x5291fb(0x19e)+_0x5291fb(0x198)))return{'patched':![],'reason':_0x5291fb(0x194)+'patched'};const _0x31d1e0=_0x5291fb(0x181)+'\x20project'+_0x5291fb(0x190)+_0x5291fb(0x16b)+'mMixedTo'+_0x5291fb(0x17d)+_0x5291fb(0x172)+_0x5291fb(0x151)+_0x5291fb(0x16e)+_0x5291fb(0x189)+'tent.som'+_0x5291fb(0x188)+')\x20=>\x20{\x0a\x09'+_0x5291fb(0x152)+_0x5291fb(0x16c)+'ypeof\x20bl'+_0x5291fb(0x17f)+'\x22object\x22'+_0x5291fb(0x195)+'\x20false;\x0a'+'\x09\x09return'+'\x20isToolH'+_0x5291fb(0x156)+_0x5291fb(0x17e)+_0x5291fb(0x155)+_0x5291fb(0x193)+_0x5291fb(0x195)+_0x5291fb(0x149)+_0x5291fb(0x173)+_0x5291fb(0x177)+'lse;\x0a\x09co'+'nst\x20proj'+'ected\x20=\x20'+_0x5291fb(0x169)+_0x5291fb(0x180)+_0x5291fb(0x16a)+_0x5291fb(0x166)+_0x5291fb(0x14a)+_0x5291fb(0x163)+_0x5291fb(0x162)+'of\x20block'+'\x20!==\x20\x22ob'+_0x5291fb(0x14d)+'\x0a\x09\x09\x09proj'+_0x5291fb(0x18c)+_0x5291fb(0x14b)+_0x5291fb(0x17c)+_0x5291fb(0x14e)+_0x5291fb(0x165)+'nst\x20entr'+_0x5291fb(0x192)+_0x5291fb(0x179)+'(entry.t'+_0x5291fb(0x174)+_0x5291fb(0x147)+_0x5291fb(0x15d)+'\x20entry.t'+'ext\x20===\x20'+_0x5291fb(0x178)+_0x5291fb(0x183)+'y.text.t'+_0x5291fb(0x171)+_0x5291fb(0x168)+'ext\x20=\x20tr'+_0x5291fb(0x170)+_0x5291fb(0x15a)+_0x5291fb(0x18b)+'\x20truncat'+_0x5291fb(0x19c)+_0x5291fb(0x15e)+_0x5291fb(0x15f)+'lineDire'+_0x5291fb(0x187)+_0x5291fb(0x19b)+_0x5291fb(0x15b)+_0x5291fb(0x19a)+_0x5291fb(0x191)+_0x5291fb(0x19d)+_0x5291fb(0x159)+_0x5291fb(0x18c)+_0x5291fb(0x167)+_0x5291fb(0x186)+'text\x22,\x0a\x09'+_0x5291fb(0x158)+'\x20truncat'+'ed.text\x0a'+_0x5291fb(0x14f)+'\x09}\x20else\x20'+_0x5291fb(0x18f)+_0x5291fb(0x14c)+_0x5291fb(0x154)+'k);\x0a\x09\x09}\x0a'+'\x09}\x0a\x09retu'+_0x5291fb(0x161)+_0x5291fb(0x17a)+'\x09content'+':\x20projec'+_0x5291fb(0x145)+_0x5291fb(0x185)+_0x5291fb(0x196)+_0x5291fb(0x18d)+'}';return{'patched':!![],'source':_0x5e7a1d[_0x5291fb(0x153)](_0x38ade9,_0x31d1e0)};}
@@ -0,0 +1 @@
1
+ function _0x418e(_0x20e5d4,_0x552ee0){_0x20e5d4=_0x20e5d4-0x18c;const _0xd07aff=_0xd07a();let _0x418e8f=_0xd07aff[_0x20e5d4];return _0x418e8f;}const _0x1b6d87=_0x418e;(function(_0x33ce8e,_0x43510f){const _0x22cbdc=_0x418e,_0xdadef7=_0x33ce8e();while(!![]){try{const _0xc551ad=parseInt(_0x22cbdc(0x1bf))/0x1+-parseInt(_0x22cbdc(0x19a))/0x2+parseInt(_0x22cbdc(0x1b9))/0x3+-parseInt(_0x22cbdc(0x1a7))/0x4*(parseInt(_0x22cbdc(0x18c))/0x5)+-parseInt(_0x22cbdc(0x1a3))/0x6*(-parseInt(_0x22cbdc(0x1b2))/0x7)+parseInt(_0x22cbdc(0x1c7))/0x8+-parseInt(_0x22cbdc(0x1c6))/0x9;if(_0xc551ad===_0x43510f)break;else _0xdadef7['push'](_0xdadef7['shift']());}catch(_0xaf5d35){_0xdadef7['push'](_0xdadef7['shift']());}}}(_0xd07a,0x9499e));const PATCH_MARKER='function'+_0x1b6d87(0x1a9)+_0x1b6d87(0x19b)+_0x1b6d87(0x1b4)+'agentDir'+_0x1b6d87(0x1c5),START_CONTEXT_ANCHOR=_0x1b6d87(0x1a0)+_0x1b6d87(0x1c4)+'esolveCo'+'dexAppSe'+_0x1b6d87(0x194)+_0x1b6d87(0x1be)+'ontext(o'+'ptions)\x20'+'{',NATIVE_AUTH_LINE='const\x20us'+_0x1b6d87(0x1c1)+_0x1b6d87(0x1b8)+_0x1b6d87(0x199)+_0x1b6d87(0x19c)+_0x1b6d87(0x1c8)+'=\x20null;',PATCHED_NATIVE_AUTH_LINE='const\x20us'+_0x1b6d87(0x1c1)+_0x1b6d87(0x1b8)+_0x1b6d87(0x199)+_0x1b6d87(0x19c)+'ileId\x20=='+_0x1b6d87(0x19f)+_0x1b6d87(0x1c0)+_0x1b6d87(0x1a5)+_0x1b6d87(0x1a2)+'(agentDi'+_0x1b6d87(0x1ab),ISOLATED_AUTH_HELPER=[_0x1b6d87(0x197)+_0x1b6d87(0x1a9)+_0x1b6d87(0x19b)+'xApiKey('+_0x1b6d87(0x198)+')\x20{',_0x1b6d87(0x1bb),_0x1b6d87(0x1ae)+_0x1b6d87(0x1c3)+'SON.pars'+_0x1b6d87(0x196)+_0x1b6d87(0x1b6)+_0x1b6d87(0x1a4)+'th.join('+'resolveC'+_0x1b6d87(0x195)+_0x1b6d87(0x18f)+_0x1b6d87(0x192)+_0x1b6d87(0x1b1)+_0x1b6d87(0x193)+'TH_JSON_'+_0x1b6d87(0x1ac)+_0x1b6d87(0x1a8)+_0x1b6d87(0x19e),'\x09\x09return'+_0x1b6d87(0x19d)+'uth_mode'+_0x1b6d87(0x1c2)+'ikey\x22\x20&&'+_0x1b6d87(0x18e)+'auth.OPE'+_0x1b6d87(0x1b5)+_0x1b6d87(0x1b0)+_0x1b6d87(0x1af)+_0x1b6d87(0x1a1)+_0x1b6d87(0x1aa)+_0x1b6d87(0x1b3)+_0x1b6d87(0x190)+_0x1b6d87(0x1ad)+'0;',_0x1b6d87(0x18d)+'\x20{',_0x1b6d87(0x1bd)+_0x1b6d87(0x1a6),'\x09}','}'][_0x1b6d87(0x1bc)]('\x0a');export function patchCodexIsolatedAuthFromSource(_0x5ded56){const _0x5919de=_0x1b6d87;if(_0x5ded56[_0x5919de(0x191)](PATCH_MARKER))return{'patched':![],'reason':_0x5919de(0x1b7)+'patched'};if(!_0x5ded56['includes'](START_CONTEXT_ANCHOR)||!_0x5ded56[_0x5919de(0x191)](NATIVE_AUTH_LINE))return{'patched':![],'reason':_0x5919de(0x1ba)+'d'};const _0x53aa9c=_0x5ded56['replace'](START_CONTEXT_ANCHOR,ISOLATED_AUTH_HELPER+'\x0a'+START_CONTEXT_ANCHOR),_0x428a11=_0x53aa9c['replace'](NATIVE_AUTH_LINE,PATCHED_NATIVE_AUTH_LINE);return{'patched':!![],'source':_0x428a11};}function _0xd07a(){const _0x25a849=['\x09\x09const\x20','\x22string\x22','KEY\x20===\x20','ntDir),\x20','5299HwZfKy','API_KEY.','xApiKey(','NAI_API_','.readFil','already-','Auth\x20=\x20o','103938vAPgTh','not-foun','\x09try\x20{','join','\x09\x09return','ntStartC','1149967kWlJiX','|\x20hasIso','esNative','\x20===\x20\x22ap','auth\x20=\x20J','nction\x20r',')\x20{','1830123VuSOMD','8024880IFzCgF','ileId\x20==','2485cSsCaH','\x09}\x20catch','\x20typeof\x20','erverHom','trim().l','includes','eDir(age','CODEX_AU','rverClie','odexAppS','e(fsSync','function','agentDir','ptions?.','1166734XBRRVy','atedCode','authProf','\x20auth?.a','\x22));','=\x20null\x20|','async\x20fu','\x20&&\x20auth','exApiKey','1752uFFNnH','eSync(pa','latedCod','\x20false;','8156yhKIQE','),\x20\x22utf8','\x20hasIsol','.OPENAI_','r);','FILENAME','ength\x20>\x20'];_0xd07a=function(){return _0x25a849;};return _0xd07a();}
@@ -1 +1 @@
1
- function _0x1af0(){const _0x90703f=['slice','utput[\x22r','tions?.o','2080rdJXmD','ream,\x20re','model?.i','push','pletions','id]\x20resp','\x20respons','questId\x20','.signal)','1406493YUmJGL','includes','nRespons','match','14cfsCEX','e?.({','questOpt','sponse\x20}','wait\x20cli','se.heade','(respons','length','tOptions','split','2293906umcLSo','ions.cre','trim','join','await\x20op','ate(para','onse\x20hea','already-','nAISdkRe','id\x22);','dkReques','\x20=\x20await','estId)\x20o','ToRecord','d\x20??\x20nul','7960ziVJnz','not-foun','options?','\x20headers','(model,\x20','el,\x20opti','der\x22,\x20{','data:\x20re','\x09status:','equest-i','2532665QkWjjQ','equestId','\x09provide','.complet','er\x20??\x20nu','headers:','d\x22]\x20=\x20re','1722156HkhTFA','if\x20(requ','3586905zsROtU','.create(','e.status','rs.get(\x22','params,\x20','ll,','},\x20model','=\x20respon','38385kKlDmV','questId;','const\x20re','chat.com','estId:\x20B','sponseSt','const\x20{\x20','request-','nal)).wi','8MiXFTp','console.','40645RHyHQA','\x09model:\x20','ent.chat'];_0x1af0=function(){return _0x90703f;};return _0x1af0();}const _0x351204=_0x4d4b;(function(_0x40c797,_0x21a268){const _0xbd63c9=_0x4d4b,_0x3d3cc3=_0x40c797();while(!![]){try{const _0x335bc9=-parseInt(_0xbd63c9(0xa5))/0x1+-parseInt(_0xbd63c9(0xb3))/0x2+-parseInt(_0xbd63c9(0xd5))/0x3+parseInt(_0xbd63c9(0xe6))/0x4*(parseInt(_0xbd63c9(0xcc))/0x5)+parseInt(_0xbd63c9(0xd3))/0x6*(-parseInt(_0xbd63c9(0xa9))/0x7)+parseInt(_0xbd63c9(0xee))/0x8*(parseInt(_0xbd63c9(0xdd))/0x9)+-parseInt(_0xbd63c9(0xc2))/0xa*(-parseInt(_0xbd63c9(0xe8))/0xb);if(_0x335bc9===_0x21a268)break;else _0x3d3cc3['push'](_0x3d3cc3['shift']());}catch(_0x2cce8a){_0x3d3cc3['push'](_0x3d3cc3['shift']());}}}(_0x1af0,0xb4ad5));const REQUEST_ID_HEADER_PATCH_MARKER='const\x20re'+'questId\x20'+_0x351204(0xdc)+_0x351204(0xae)+'rs.get(\x22'+_0x351204(0xe4)+_0x351204(0xbc),OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE=_0x351204(0xdf)+_0x351204(0xe2)+'ream\x20=\x20a'+_0x351204(0xad)+_0x351204(0xea)+_0x351204(0xcf)+_0x351204(0xb4)+_0x351204(0xb8)+'ms,\x20buil'+'dOpenAIS'+_0x351204(0xbd)+_0x351204(0xb1)+_0x351204(0xc6)+_0x351204(0xc4)+_0x351204(0xf6)+');',OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER=_0x351204(0xe3)+_0x351204(0xc9)+_0x351204(0xe2)+_0x351204(0xef)+_0x351204(0xac)+_0x351204(0xbe)+'\x20client.'+_0x351204(0xe0)+_0x351204(0xf2)+_0x351204(0xd6)+_0x351204(0xd9)+'buildOpe'+_0x351204(0xbb)+_0x351204(0xab)+'ions(mod'+_0x351204(0xc7)+'ons?.sig'+_0x351204(0xe5)+'thRespon'+'se();';function _0x4d4b(_0x524411,_0x4db52d){_0x524411=_0x524411-0xa5;const _0x1af028=_0x1af0();let _0x4d4b58=_0x1af028[_0x524411];return _0x4d4b58;}export function patchProviderRequestIdHeaderFromSource(_0x4b5b99){const _0x368296=_0x351204,_0x314459=_0x4b5b99[_0x368296(0xb2)]('\x0a'),_0x88aa5e=[];let _0x23a2b6=![],_0x21b2e3=_0x4b5b99[_0x368296(0xa6)](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER),_0x55c883=/if \(requestId\) output\["request-id"\] = requestId;\s*await options\?\.onResponse\?\.\(\{/['test'](_0x4b5b99);for(let _0x1577bb=0x0;_0x1577bb<_0x314459[_0x368296(0xb0)];_0x1577bb+=0x1){const _0x33c839=_0x314459[_0x1577bb];if(!_0x21b2e3&&_0x33c839[_0x368296(0xa6)](OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE)){const _0xcc4632=_0x33c839[_0x368296(0xa8)](/^\s*/)?.[0x0]??'';_0x88aa5e['push'](''+_0xcc4632+OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER,_0xcc4632+(_0x368296(0xdf)+_0x368296(0xf5)+'=\x20respon'+'se.heade'+'rs.get(\x22'+_0x368296(0xe4)+_0x368296(0xbc)),_0xcc4632+(_0x368296(0xe7)+'info(\x22[p'+'rovider-'+'request-'+_0x368296(0xf3)+_0x368296(0xb9)+_0x368296(0xc8)),_0xcc4632+(_0x368296(0xce)+'r:\x20model'+'?.provid'+_0x368296(0xd0)+_0x368296(0xda)),_0xcc4632+(_0x368296(0xe9)+_0x368296(0xf0)+_0x368296(0xc1)+'l,'),_0xcc4632+(_0x368296(0xca)+_0x368296(0xf4)+_0x368296(0xd7)+','),_0xcc4632+('\x09hasRequ'+_0x368296(0xe1)+'oolean(r'+_0x368296(0xcd)+'),'),_0xcc4632+'});',_0xcc4632+('if\x20(requ'+'estId)\x20o'+_0x368296(0xec)+_0x368296(0xcb)+'d\x22]\x20=\x20re'+_0x368296(0xde))),_0x23a2b6=!![],_0x21b2e3=!![];continue;}if(_0x55c883||!_0x33c839['includes'](_0x368296(0xb7)+_0x368296(0xed)+_0x368296(0xa7)+_0x368296(0xaa))){_0x88aa5e[_0x368296(0xf1)](_0x33c839);continue;}let _0x5ca282=_0x1577bb;while(_0x5ca282<_0x314459[_0x368296(0xb0)]&&_0x5ca282-_0x1577bb<0x8&&_0x314459[_0x5ca282][_0x368296(0xb5)]()!==_0x368296(0xdb)+');'){_0x5ca282+=0x1;}const _0x461818=_0x314459[_0x368296(0xeb)](_0x1577bb,_0x5ca282+0x1)[_0x368296(0xb6)]('\x0a');if(!_0x461818[_0x368296(0xa6)](_0x368296(0xd1)+_0x368296(0xc5)+_0x368296(0xc0)+_0x368296(0xaf)+'e.header'+'s)')){_0x88aa5e['push'](_0x33c839);continue;}const _0x210237=_0x33c839[_0x368296(0xa8)](/^\s*/)?.[0x0]??'';_0x88aa5e[_0x368296(0xf1)](_0x210237+(_0x368296(0xdf)+'questId\x20'+_0x368296(0xdc)+_0x368296(0xae)+_0x368296(0xd8)+_0x368296(0xe4)+_0x368296(0xbc)),_0x210237+(_0x368296(0xd4)+_0x368296(0xbf)+_0x368296(0xec)+'equest-i'+_0x368296(0xd2)+'questId;')),_0x23a2b6=!![],_0x55c883=!![],_0x88aa5e['push'](_0x33c839);}if(!_0x23a2b6)return{'patched':![],'reason':_0x4b5b99[_0x368296(0xa6)](REQUEST_ID_HEADER_PATCH_MARKER)||_0x4b5b99['includes'](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER)?_0x368296(0xba)+'patched':_0x368296(0xc3)+'d'};return{'patched':!![],'source':_0x88aa5e[_0x368296(0xb6)]('\x0a')};}
1
+ const _0x1a7ec3=_0x5621;(function(_0x197473,_0x539fe){const _0x4b37e9=_0x5621,_0x52eb62=_0x197473();while(!![]){try{const _0x5bc2e9=-parseInt(_0x4b37e9(0x105))/0x1*(-parseInt(_0x4b37e9(0x11b))/0x2)+parseInt(_0x4b37e9(0x123))/0x3*(-parseInt(_0x4b37e9(0x108))/0x4)+parseInt(_0x4b37e9(0x122))/0x5*(parseInt(_0x4b37e9(0xff))/0x6)+-parseInt(_0x4b37e9(0x135))/0x7+-parseInt(_0x4b37e9(0x110))/0x8+parseInt(_0x4b37e9(0x107))/0x9+-parseInt(_0x4b37e9(0xfa))/0xa*(-parseInt(_0x4b37e9(0x11f))/0xb);if(_0x5bc2e9===_0x539fe)break;else _0x52eb62['push'](_0x52eb62['shift']());}catch(_0x12defb){_0x52eb62['push'](_0x52eb62['shift']());}}}(_0x5526,0xc8403));function _0x5621(_0x488a05,_0xce6ac3){_0x488a05=_0x488a05-0xec;const _0x552692=_0x5526();let _0x562182=_0x552692[_0x488a05];return _0x562182;}function _0x5526(){const _0x4cedb4=['request-','pletions','data:\x20re','e.header','\x20respons','trim','match','ions(mod','e?.({','d\x22]\x20=\x20re','includes','\x09provide','5068497pAPyQz','nAISdkRe','ll,','test','info(\x22[p','model?.i','ions.cre','const\x20{\x20','questOpt','nRespons','options?','oolean(r','thRespon','\x20=\x20await','chat.com','=\x20respon','sponseSt','id]\x20resp','480880BbdFOy','.signal)','ons?.sig','rovider-','headers:','134304XhINyY','tions?.o','dkReques','not-foun','tOptions','wait\x20cli','1569139vNogyk','});','8688861SlgmUT','938764NklCob','},\x20model','console.','(respons','join','questId\x20','rs.get(\x22','equest-i','4099448hDGKor','estId)\x20o','push','el,\x20opti','se();','const\x20re','already-','\x20headers','\x09model:\x20','der\x22,\x20{','onse\x20hea','2oAlBXP','questId;','buildOpe','nal)).wi','154YJvPXp','utput[\x22r','patched','5MnORbn','15NTWsiA','r:\x20model','\x09hasRequ','id\x22);','se.heade','e.status'];_0x5526=function(){return _0x4cedb4;};return _0x5526();}const REQUEST_ID_HEADER_PATCH_MARKER=_0x1a7ec3(0x115)+_0x1a7ec3(0x10d)+'=\x20respon'+_0x1a7ec3(0x127)+_0x1a7ec3(0x10e)+_0x1a7ec3(0x129)+'id\x22);',OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE=_0x1a7ec3(0x115)+_0x1a7ec3(0xf8)+'ream\x20=\x20a'+_0x1a7ec3(0x104)+'ent.chat'+'.complet'+_0x1a7ec3(0xee)+'ate(para'+'ms,\x20buil'+'dOpenAIS'+_0x1a7ec3(0x101)+_0x1a7ec3(0x103)+'(model,\x20'+_0x1a7ec3(0xf2)+_0x1a7ec3(0xfb)+');',OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER=_0x1a7ec3(0xef)+_0x1a7ec3(0x12b)+'sponseSt'+'ream,\x20re'+'sponse\x20}'+_0x1a7ec3(0xf5)+'\x20client.'+_0x1a7ec3(0xf6)+_0x1a7ec3(0x12a)+'.create('+'params,\x20'+_0x1a7ec3(0x11d)+_0x1a7ec3(0x136)+_0x1a7ec3(0xf0)+_0x1a7ec3(0x130)+_0x1a7ec3(0x113)+_0x1a7ec3(0xfc)+_0x1a7ec3(0x11e)+_0x1a7ec3(0xf4)+_0x1a7ec3(0x114);export function patchProviderRequestIdHeaderFromSource(_0x1f608f){const _0x2f46ea=_0x1a7ec3,_0x2642e9=_0x1f608f['split']('\x0a'),_0x430cff=[];let _0x2f48a9=![],_0x59853e=_0x1f608f[_0x2f46ea(0x133)](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER),_0x46d926=/if \(requestId\) output\["request-id"\] = requestId;\s*await options\?\.onResponse\?\.\(\{/[_0x2f46ea(0x138)](_0x1f608f);for(let _0x5b1570=0x0;_0x5b1570<_0x2642e9['length'];_0x5b1570+=0x1){const _0x1782ea=_0x2642e9[_0x5b1570];if(!_0x59853e&&_0x1782ea['includes'](OPENAI_COMPLETIONS_TRANSPORT_CREATE_LINE)){const _0x2a342f=_0x1782ea[_0x2f46ea(0x12f)](/^\s*/)?.[0x0]??'';_0x430cff[_0x2f46ea(0x112)](''+_0x2a342f+OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER,_0x2a342f+(_0x2f46ea(0x115)+_0x2f46ea(0x10d)+_0x2f46ea(0xf7)+_0x2f46ea(0x127)+'rs.get(\x22'+'request-'+_0x2f46ea(0x126)),_0x2a342f+(_0x2f46ea(0x10a)+_0x2f46ea(0xec)+_0x2f46ea(0xfd)+'request-'+_0x2f46ea(0xf9)+_0x2f46ea(0x11a)+_0x2f46ea(0x119)),_0x2a342f+(_0x2f46ea(0x134)+_0x2f46ea(0x124)+'?.provid'+'er\x20??\x20nu'+_0x2f46ea(0x137)),_0x2a342f+(_0x2f46ea(0x118)+_0x2f46ea(0xed)+'d\x20??\x20nul'+'l,'),_0x2a342f+('\x09status:'+_0x2f46ea(0x12d)+_0x2f46ea(0x128)+','),_0x2a342f+(_0x2f46ea(0x125)+'estId:\x20B'+_0x2f46ea(0xf3)+'equestId'+'),'),_0x2a342f+_0x2f46ea(0x106),_0x2a342f+('if\x20(requ'+'estId)\x20o'+_0x2f46ea(0x120)+_0x2f46ea(0x10f)+_0x2f46ea(0x132)+'questId;')),_0x2f48a9=!![],_0x59853e=!![];continue;}if(_0x46d926||!_0x1782ea['includes']('await\x20op'+_0x2f46ea(0x100)+_0x2f46ea(0xf1)+_0x2f46ea(0x131))){_0x430cff[_0x2f46ea(0x112)](_0x1782ea);continue;}let _0x30335d=_0x5b1570;while(_0x30335d<_0x2642e9['length']&&_0x30335d-_0x5b1570<0x8&&_0x2642e9[_0x30335d][_0x2f46ea(0x12e)]()!==_0x2f46ea(0x109)+');'){_0x30335d+=0x1;}const _0x40366c=_0x2642e9['slice'](_0x5b1570,_0x30335d+0x1)[_0x2f46ea(0x10c)]('\x0a');if(!_0x40366c[_0x2f46ea(0x133)](_0x2f46ea(0xfe)+_0x2f46ea(0x117)+'ToRecord'+_0x2f46ea(0x10b)+_0x2f46ea(0x12c)+'s)')){_0x430cff[_0x2f46ea(0x112)](_0x1782ea);continue;}const _0x3ba416=_0x1782ea[_0x2f46ea(0x12f)](/^\s*/)?.[0x0]??'';_0x430cff[_0x2f46ea(0x112)](_0x3ba416+(_0x2f46ea(0x115)+'questId\x20'+_0x2f46ea(0xf7)+_0x2f46ea(0x127)+_0x2f46ea(0x10e)+'request-'+'id\x22);'),_0x3ba416+('if\x20(requ'+_0x2f46ea(0x111)+'utput[\x22r'+_0x2f46ea(0x10f)+_0x2f46ea(0x132)+_0x2f46ea(0x11c))),_0x2f48a9=!![],_0x46d926=!![],_0x430cff[_0x2f46ea(0x112)](_0x1782ea);}if(!_0x2f48a9)return{'patched':![],'reason':_0x1f608f[_0x2f46ea(0x133)](REQUEST_ID_HEADER_PATCH_MARKER)||_0x1f608f[_0x2f46ea(0x133)](OPENAI_COMPLETIONS_TRANSPORT_PATCH_MARKER)?_0x2f46ea(0x116)+_0x2f46ea(0x121):_0x2f46ea(0x102)+'d'};return{'patched':!![],'source':_0x430cff[_0x2f46ea(0x10c)]('\x0a')};}
@@ -1 +1 @@
1
- (function(_0x440c5c,_0x4ab607){const _0x1fa2a5=_0x4bc9,_0xaad71e=_0x440c5c();while(!![]){try{const _0xba9084=-parseInt(_0x1fa2a5(0x2d7))/0x1*(-parseInt(_0x1fa2a5(0x292))/0x2)+parseInt(_0x1fa2a5(0x169))/0x3*(-parseInt(_0x1fa2a5(0x2d8))/0x4)+-parseInt(_0x1fa2a5(0x2b8))/0x5+-parseInt(_0x1fa2a5(0x15c))/0x6+-parseInt(_0x1fa2a5(0x1de))/0x7*(parseInt(_0x1fa2a5(0x2d0))/0x8)+parseInt(_0x1fa2a5(0x15f))/0x9+parseInt(_0x1fa2a5(0x29d))/0xa;if(_0xba9084===_0x4ab607)break;else _0xaad71e['push'](_0xaad71e['shift']());}catch(_0x285351){_0xaad71e['push'](_0xaad71e['shift']());}}}(_0x4cb8,0xa33e8));export function patchQQBotOutboundSessionRouteFromSource(_0x84c212){const _0x54e018=_0x4bc9;if(_0x84c212[_0x54e018(0x221)](_0x54e018(0x1f7)+_0x54e018(0x190)+_0x54e018(0x1bf)+_0x54e018(0x2cc)+'Route'))return{'patched':![],'reason':_0x54e018(0x21d)+'patched'};const _0xf2ea3f=_0x54e018(0x2d1)+'botPlugi'+_0x54e018(0x2f3);if(!_0x84c212[_0x54e018(0x221)](_0xf2ea3f))return{'patched':![],'reason':_0x54e018(0x1ca)+_0x54e018(0x30a)+'t-found'};const _0x204114='\x09messagi'+_0x54e018(0x17d)+_0x54e018(0x286)+'efixes:\x20'+_0x54e018(0x2b9)+_0x54e018(0x1f3)+'\x20Normali'+_0x54e018(0x1ed)+'n\x20QQ\x20Bot'+_0x54e018(0x29a)+_0x54e018(0x1ac)+_0x54e018(0x193)+_0x54e018(0x1ec)+_0x54e018(0x184)+':...\x20for'+'m.\x20*/\x0a\x09\x09'+_0x54e018(0x21e)+_0x54e018(0x203)+'\x0a\x09\x09targe'+_0x54e018(0x2c8)+_0x54e018(0x1c2)+_0x54e018(0x241)+_0x54e018(0x212)+_0x54e018(0x19d)+_0x54e018(0x158)+_0x54e018(0x308)+_0x54e018(0x2e9)+_0x54e018(0x277)+_0x54e018(0x2b6)+_0x54e018(0x2c1)+_0x54e018(0x17b)+_0x54e018(0x1a5)+'tTarget,'+_0x54e018(0x1c1)+_0x54e018(0x278)+_0x54e018(0x287)+_0x54e018(0x25b)+_0x54e018(0x31d)+_0x54e018(0x2c3)+_0x54e018(0x154)+'t)\x20or\x20qq'+_0x54e018(0x31e)+_0x54e018(0x1d0)+_0x54e018(0x2e6)+_0x54e018(0x204)+'},';if(!_0x84c212[_0x54e018(0x221)](_0x204114))return{'patched':![],'reason':'messagin'+_0x54e018(0x242)+'not-foun'+'d'};const _0xe438fb=qqBotPluginRouteHelperSource()+'\x0a'+_0xf2ea3f,_0x62e0a8=_0x54e018(0x2dc)+_0x54e018(0x17d)+_0x54e018(0x286)+_0x54e018(0x1a9)+'[\x22qqbot\x22'+_0x54e018(0x1f3)+_0x54e018(0x226)+_0x54e018(0x1ed)+_0x54e018(0x1d2)+_0x54e018(0x29a)+'formats\x20'+_0x54e018(0x193)+_0x54e018(0x1ec)+_0x54e018(0x184)+_0x54e018(0x1b5)+_0x54e018(0x2a9)+_0x54e018(0x21e)+_0x54e018(0x203)+_0x54e018(0x1f2)+_0x54e018(0x28f)+_0x54e018(0x160)+_0x54e018(0x18c)+_0x54e018(0x159)+_0x54e018(0x2fe)+_0x54e018(0x23f)+_0x54e018(0x2a7)+_0x54e018(0x16b)+'atType,\x0a'+'\x09\x09resolv'+'eOutboun'+_0x54e018(0x2cc)+_0x54e018(0x1c7)+'ujieReso'+_0x54e018(0x25d)+'Outbound'+_0x54e018(0x1cb)+_0x54e018(0x1ea)+_0x54e018(0x171)+_0x54e018(0x265)+_0x54e018(0x155)+'\x20Return\x20'+_0x54e018(0x2a5)+'n\x20the\x20id'+_0x54e018(0x183)+_0x54e018(0x246)+_0x54e018(0x318)+_0x54e018(0x244)+_0x54e018(0x272)+_0x54e018(0x2bd)+'looksLik'+_0x54e018(0x213)+_0x54e018(0x255)+'\x09hint:\x20\x22'+_0x54e018(0x182)+'arget\x20fo'+_0x54e018(0x188)+_0x54e018(0x233)+'openid\x20('+_0x54e018(0x2a4)+_0x54e018(0x294)+_0x54e018(0x1f0)+_0x54e018(0x258)+_0x54e018(0x2cb)+_0x54e018(0x2db);return{'patched':!![],'source':_0x84c212[_0x54e018(0x1e3)](_0xf2ea3f,_0xe438fb)[_0x54e018(0x1e3)](_0x204114,_0x62e0a8)};}function _0x4cb8(){const _0x622966=['const\x20pe','roupid\x20(','(\x22group:','countId}','\x20format:','allbackS','lveQQBot','\x0a\x09\x09const','seSessio',')\x20||\x20low','rget(raw','routeTar','tId,\x0a\x09\x09c','nnel-pee','solver:\x20','m|c2c):/','ionKey(p','{\x0a\x09\x09cons','solveQQB','wujieBui','aw,\x20chan','atType,\x0a','et?.to\x20?','return\x20w','t\x20normal','-normali','Fallback','\x09\x09\x09looks','\x20{\x0a\x09\x09con','untId,\x0a\x09','\x0a\x09if\x20(dm','el}:dire','target.\x20',':\x20\x22QQ\x20Bo','startsWi','\x09to:\x20`${','sessionK','main`;\x0a}','undSessi','n\x20id\x20?\x20{','stripPro','ct:${pee','/^g-/i,\x20','aw.slice','pe:\x20\x22gro','st\x20id\x20=\x20','nKey({\x0a\x09','targetPr','t\x20target','r|direct','{channel','|thread)','\x20id\x20=\x20no','channel}','\x20return\x20','\x09const\x20w','TargetCh','zer-not-',':\x20null;\x0a','4516fYazHP','nel\x22,\x20pe','or\x20qqbot','th(\x22thre','zed.toLo','{\x20chatTy','`user:${','rim().to','\x20target\x20','tType\x20==','indexOf','14259600TAKEIN','annel)\x20!','\x0a\x09return','();\x0a}\x0afu','ujieNorm','esolveQQ','=\x20\x22direc','direct)\x20','true\x20whe','eer\x22\x20&&\x20','teTarget','Type}`;\x0a','m.\x20*/\x0a\x09\x09','artsWith','nst\x20from','n\x20wujieR','ams.targ','onst\x20pee','route,\x20a','outeTarg','onRoute(','withoutG','String(a','irect\x22,\x20','der\x20=\x20ra','*/\x0a\x09\x09\x09lo','t\x20peerId','670935ruUyXX','[\x22qqbot\x22','irror\x20=\x20','?\x20\x22\x22),\x20c','roupMirr','LikeId:\x20','patched','roup:\x22)\x20','nKey,\x0a\x09\x09','oksLikeI','el).trim','2c:openi','t\x22\x20?\x20\x22qq','eStringO','ession)\x20','ix\x20=\x20rou','tResolve','peerId)\x20','rKind:\x20\x22','group)\x22\x0a','dSession','tFallbac','ionKey,\x0a','tId:\x20par','1477304uctEXY','const\x20qq','werCase(','\x20without','if\x20(dmSc','r\x22\x20&&\x20pe','\x09\x09id:\x20pe','374fAEbFU','5030176tgQPIP','aw,\x20para','\x22per-cha','\x09\x09}\x0a\x09},','\x09messagi','irect\x22,\x0a','hannel:\x22',':${chann','rmalized',':\x20\x22direc','r\x20=\x20with','lower.st','|\x20lower.','?\x20params','d\x20(group','arget','(\x22channe','\x20QQ\x20Bot\x20','ms.chann',')\x20return','st\x20lower','urn\x20`age','onst\x20nor','rn\x20id\x20?\x20','bot\x22\x20:\x20`','sWith(\x22c','get(para','n\x20=\x20{','hannel,\x0a','rcaseStr','tDirectF','/^(user|','gentId\x20=','\x22).trim(','=\x20wujieR','et\x20??\x20\x22\x22','\x09if\x20(low','\x20normali','eResolve','cfg?.ses','ormalize','malizedA','{\x0a\x09const','RouteTar','get(valu','ingOrEmp','arget.ch','Scope\x20=\x20','s\x20like\x20a','\x22)\x20||\x20lo','nchor-no','d.replac','\x20=\x20strip','(\x22qqbot:','outProvi','vider\x20=\x20','hatType:','params.c','existing','\x20String(','\x09\x09from:\x20',',\x20params','st\x20raw\x20=','||\x20lower','\x20Bot\x20tar','Key,\x0a\x09\x09p','ession','\x22\x22).trim',';\x0a\x09\x09retu','\x20qqbot:c','bot:grou','s.agentI','agentId\x20','ldQQBotS','d\x20(direc','{\x0a\x09\x09\x09/**','entId}:$','BotPeerT','\x20id\x20look','\x20=>\x20wuji','er.start','n\x20null;','2458110MKdbmf','\x20id\x20?\x20{\x20','\x20chatTyp','10106343IfHHDn','atType:\x20','Prefix\x20=','\x20resolve','qqbot:${','otPeerTa','turn\x20`ag','AgentId}','ccount-c','y(cfg,\x20a','3JsZstK','ad:\x22))\x20{','(to)?.ch','const\x20dm','ntId}:${','er|direc','}:${rout','eer,\x0a\x09\x09c','targetRe','hannel-p','\x09cfg:\x20pa','(!trimme','\x20:\x20raw;\x0a','chatType','\x20||\x20\x22def','arams.ch','\x20routeTa','ithoutGr','d:\x20looks','ionKey\x20=','ng:\x20{\x0a\x09\x09','ot-found','ull;\x0a}\x0af','peerId:\x20','||\x20\x22main','QQ\x20Bot\x20t','\x20looks\x20l','al\x20qqbot','.peerId;','BotOutbo','\x20wujieNo','rmat:\x20qq','rams.cfg','et(value','el\x22;\x0a\x09co','({\x20to\x20})','Scope\x20==','y,\x0a\x09\x09bas','rget.cha','olveQQBo','lizedAge','\x0a\x09if\x20(!r','into\x20the','der.repl','t:\x22)\x20?\x20r',',\x0a\x09\x09to:\x20','Provider','peerId}`','erKind:\x20','rn\x20null;','\x20null;\x0a\x09','\x20lower\x20=','when\x20the','m:\x20`${pa','ersation',';\x0a}',').toLowe','replace(','found','otDirect','LikeQQBo','alizeQQB','tboundBa','}`;\x0a\x09ret','efixes:\x20','kSession','d,\x20route','formats\x20','fallback','el\x20=\x20\x22qq','\x22channel','\x0a\x09const\x20','erId)\x20re','oup|room','ujieReso','rmalizeQ',':...\x20for','rget.pee','w.toLowe','\x22.length','params)\x20','t\x20toPref','\x22,\x0a\x09\x09fro','function','\x0afunctio','sion?.dm','tOutboun','rn\x20{\x0a\x09\x09s','\x0a\x09\x09\x09hint','r:\x20{\x0a\x09\x09\x09','\x0a\x09};\x0a}','Scope\x20??','slice','irror);\x0a','Route:\x20w','\x20\x22direct','rimmed\x20=','plugin-a','SessionR','rams.cha','ty(witho','rId}`;\x0a\x09','.peerKin','p:groupi','id\x20}\x20:\x20n','n\x20QQ\x20Bot','ope\x20===\x20',');\x0a\x09if\x20(','}`;\x0a\x09}\x0a\x09','const\x20wi','d}:${pee','or.repla','value\x20??','bot\x22;\x0a\x09c','withoutP','l:\x22)\x20||\x20','ce(/^(gr','35MZWQVu','-functio','ccountId','peer:\x20{\x20','LowerCas','replace','nel|conv','==\x20\x22qqbo','\x22,\x20peerI','Kind\x20!==',':${norma','tsWith(\x22','oute,\x0a\x09\x09','sWith(\x22t','\x20canonic','ze\x20commo','toPrefix','arams.cf',':group:g','t\x22,\x20peer','\x0a\x09\x09infer','],\x0a\x09\x09/**','oupMirro','kind:\x20\x22d','ace(/^g-','wujieRes','tDirectS','\x09\x09baseSe','izedAcco','get.chat','Id\x20},\x0a\x09\x09','utGroupM','ey\x20=\x20wuj','ion:\x22)\x20|','{\x0a\x09\x09sess','(params)','eTarget.','eTarget,',')\x22\x0a\x09\x09}\x0a\x09','th(\x22qqbo','nst\x20norm',',\x0a\x09\x09agen','();\x0a\x09if\x20','\x09return\x20',':/i,\x20\x22\x22)','d)\x20retur','ull;\x0a\x09}\x0a','e()\x20||\x20\x22','BotDirec','alizedAg','length','trim();\x0a','rn\x20true\x20','eQQBotTa','thoutPro','):/i,\x20\x22\x22','\x20wujieRe','.trim();',':\x20sessio','|dm|c2c)','hread:\x22)','e:\x20\x22chan','y:\x20baseS','already-','normaliz','{\x0a\x09if\x20(n','.channel','includes','alizedAc','ams.acco',')\x20{\x0a\x09con','ute.peer','\x20Normali','Lowercas','.chatTyp','raw\x20=\x20St','lizeLowe','r-not-fo','();\x0a\x09con','t\x22)\x20retu','Session(','Prefix(r','\x20\x22main\x22;','ng(raw\x20?','g,\x20param','bot:c2c:','n-not-fo','QBotTarg',':direct:','\x20??\x20\x22\x22);','ujieQQBo','\x09\x09accoun','t|dm|c2c','hannel).','essionKe','\x22per-pee','ault\x22).t','QQBotRou','und','/**\x20Retu','g-shape-','rovider.','get.\x20*/\x0a','onversat','ike\x20a\x20QQ','\x09const\x20t','untId\x20=\x20','\x22)\x20retur','wujieNor','et)\x20retu',';\x0a\x09const',').trim()','viderPre','QBotPeer','{routeTa','ssionKey','Target(r','!normali','rn\x20`agen','rget,\x0a\x09\x09','ieBuildQ'];_0x4cb8=function(){return _0x622966;};return _0x4cb8();}function _0x4bc9(_0x59cd12,_0x59ef30){_0x59cd12=_0x59cd12-0x152;const _0x4cb841=_0x4cb8();let _0x4bc90d=_0x4cb841[_0x59cd12];return _0x4bc90d;}export function patchQQBotOutboundFallbackFromSource(_0x5aac0c){const _0x25192e=_0x4bc9;if(_0x5aac0c[_0x25192e(0x221)](_0x25192e(0x1f7)+_0x25192e(0x190)+_0x25192e(0x2f6)+_0x25192e(0x25c)+_0x25192e(0x31a))){if(!_0x5aac0c['includes'](_0x25192e(0x1a2)+_0x25192e(0x2f7)+'direct|d'+_0x25192e(0x266)+'i'))return upgradeExistingQQBotOutboundFallbackPatch(_0x5aac0c);return{'patched':![],'reason':_0x25192e(0x21d)+_0x25192e(0x2be)};}const _0x55ece0=_0x25192e(0x1bc)+_0x25192e(0x162)+_0x25192e(0x271)+'Session('+_0x25192e(0x1b9)+'{';if(!_0x5aac0c[_0x25192e(0x221)](_0x55ece0))return{'patched':![],'reason':'fallback'+_0x25192e(0x1df)+_0x25192e(0x234)+_0x25192e(0x240)};const _0x76a3b9=_0x25192e(0x247)+_0x25192e(0x1c9)+'\x20stripPr'+'oviderPr'+'efix(par'+_0x25192e(0x2ad)+'et,\x20para'+_0x25192e(0x2ea)+_0x25192e(0x2c2)+_0x25192e(0x208)+_0x25192e(0x174)+_0x25192e(0x20b)+_0x25192e(0x15b);if(!_0x5aac0c[_0x25192e(0x221)](_0x76a3b9))return{'patched':![],'reason':_0x25192e(0x1ad)+'-shape-n'+_0x25192e(0x17e)};const _0x21c156=qqBotCoreFallbackHelperSource()+'\x0a'+_0x55ece0,_0x1aa73b=_0x76a3b9+(_0x25192e(0x1b0)+'wujieQQB'+_0x25192e(0x1a4)+'Session\x20'+_0x25192e(0x2fa)+'esolveQQ'+_0x25192e(0x20e)+_0x25192e(0x2cd)+_0x25192e(0x1aa)+_0x25192e(0x201)+';\x0a\x09if\x20(w'+_0x25192e(0x238)+_0x25192e(0x1f8)+_0x25192e(0x2c6)+_0x25192e(0x26e)+_0x25192e(0x238)+_0x25192e(0x1f8)+'ession;');return{'patched':!![],'source':_0x5aac0c[_0x25192e(0x1e3)](_0x55ece0,_0x21c156)['replace'](_0x76a3b9,_0x1aa73b)};}function qqBotPluginRouteHelperSource(){const _0x520c9b=_0x4bc9;return _0x520c9b(0x1bc)+'\x20wujieNo'+_0x520c9b(0x1b4)+'QBotTarg'+'et(value'+_0x520c9b(0x224)+_0x520c9b(0x316)+_0x520c9b(0x313)+_0x520c9b(0x1d9)+'\x20\x22\x22).tri'+'m();\x0a\x09co'+'nst\x20with'+_0x520c9b(0x30e)+_0x520c9b(0x2b5)+_0x520c9b(0x1b7)+'rCase().'+_0x520c9b(0x279)+_0x520c9b(0x205)+_0x520c9b(0x195)+_0x520c9b(0x282)+_0x520c9b(0x30d)+_0x520c9b(0x1b8)+').trim()'+_0x520c9b(0x175)+_0x520c9b(0x209)+_0x520c9b(0x1db)+_0x520c9b(0x243)+'replace('+'/^g-/i,\x20'+'\x22\x22).trim'+_0x520c9b(0x2a0)+'nction\x20w'+_0x520c9b(0x1b3)+_0x520c9b(0x25d)+'RouteTar'+_0x520c9b(0x304)+'e)\x20{\x0a\x09co'+_0x520c9b(0x206)+'alized\x20='+_0x520c9b(0x187)+_0x520c9b(0x1b4)+_0x520c9b(0x235)+_0x520c9b(0x18a)+_0x520c9b(0x1d4)+_0x520c9b(0x253)+'zed)\x20ret'+'urn\x20null'+_0x520c9b(0x24c)+_0x520c9b(0x19c)+_0x520c9b(0x2fd)+_0x520c9b(0x296)+_0x520c9b(0x2d2)+_0x520c9b(0x1d4)+_0x520c9b(0x2e3)+_0x520c9b(0x2aa)+_0x520c9b(0x259)+_0x520c9b(0x309)+'wer.star'+_0x520c9b(0x1e9)+'room:\x22))'+_0x520c9b(0x273)+_0x520c9b(0x284)+'normaliz'+'ed.repla'+_0x520c9b(0x1dd)+_0x520c9b(0x1b2)+_0x520c9b(0x215)+_0x520c9b(0x24d)+_0x520c9b(0x31c)+_0x520c9b(0x2ef)+_0x520c9b(0x297)+_0x520c9b(0x283)+'up\x22,\x20pee'+_0x520c9b(0x2ca)+'group\x22,\x20'+_0x520c9b(0x180)+_0x520c9b(0x1d1)+_0x520c9b(0x20c)+'\x09if\x20(low'+_0x520c9b(0x15a)+_0x520c9b(0x2f1)+_0x520c9b(0x2de)+_0x520c9b(0x260)+'er.start'+_0x520c9b(0x2f1)+_0x520c9b(0x245)+_0x520c9b(0x1ff)+_0x520c9b(0x2e4)+'startsWi'+_0x520c9b(0x295)+_0x520c9b(0x16a)+_0x520c9b(0x25e)+_0x520c9b(0x28b)+_0x520c9b(0x2e0)+'.replace'+'(/^(chan'+_0x520c9b(0x1e4)+_0x520c9b(0x19f)+_0x520c9b(0x28a)+':/i,\x20\x22\x22)'+_0x520c9b(0x217)+'\x0a\x09\x09retur'+_0x520c9b(0x27e)+_0x520c9b(0x15e)+_0x520c9b(0x21b)+_0x520c9b(0x293)+_0x520c9b(0x199)+_0x520c9b(0x1af)+_0x520c9b(0x1e6)+'d:\x20id\x20}\x20'+_0x520c9b(0x291)+'\x09}\x0a\x09cons'+'t\x20id\x20=\x20n'+_0x520c9b(0x300)+_0x520c9b(0x30b)+'e(/^(use'+_0x520c9b(0x288)+_0x520c9b(0x219)+_0x520c9b(0x20a)+_0x520c9b(0x217)+_0x520c9b(0x29f)+_0x520c9b(0x15d)+_0x520c9b(0x176)+_0x520c9b(0x2e1)+_0x520c9b(0x1f1)+('Kind:\x20\x22d'+_0x520c9b(0x2b4)+'peerId:\x20'+_0x520c9b(0x1d1)+_0x520c9b(0x17f)+'unction\x20'+_0x520c9b(0x26a)+_0x520c9b(0x153)+'essionKe'+_0x520c9b(0x168)+'gentId,\x20'+_0x520c9b(0x2af)+_0x520c9b(0x1e0)+')\x20{\x0a\x09con'+'st\x20chann'+_0x520c9b(0x1ae)+_0x520c9b(0x1da)+_0x520c9b(0x2ee)+_0x520c9b(0x301)+_0x520c9b(0x2f8)+_0x520c9b(0x313)+_0x520c9b(0x152)+_0x520c9b(0x181)+_0x520c9b(0x2f9)+_0x520c9b(0x1a1)+'rCase()\x20'+_0x520c9b(0x181)+'\x22;\x0a\x09cons'+_0x520c9b(0x2b7)+'\x20=\x20route'+_0x520c9b(0x185)+'\x0a\x09if\x20(ro'+_0x520c9b(0x225)+_0x520c9b(0x1e7)+_0x520c9b(0x1c8)+_0x520c9b(0x249)+'n\x20`agent'+_0x520c9b(0x1e8)+_0x520c9b(0x191)+_0x520c9b(0x16d)+_0x520c9b(0x28c)+':${route'+_0x520c9b(0x1cf)+_0x520c9b(0x1d7)+_0x520c9b(0x1ce)+_0x520c9b(0x16c)+_0x520c9b(0x307)+_0x520c9b(0x2ff)+_0x520c9b(0x1be)+_0x520c9b(0x1c4)+_0x520c9b(0x230)+_0x520c9b(0x275)+_0x520c9b(0x18d)+'=\x20\x22per-a'+_0x520c9b(0x167)+_0x520c9b(0x172)+_0x520c9b(0x2a6)+_0x520c9b(0x2c9)+_0x520c9b(0x268)+_0x520c9b(0x26f)+_0x520c9b(0x1fa)+_0x520c9b(0x248)+_0x520c9b(0x2b3)+_0x520c9b(0x1e0)+_0x520c9b(0x177)+_0x520c9b(0x23e)+_0x520c9b(0x299)+_0x520c9b(0x1e2)+_0x520c9b(0x20d)+'default\x22'+';\x0a\x09\x09retu'+_0x520c9b(0x254)+'t:${norm'+_0x520c9b(0x20f)+_0x520c9b(0x156)+_0x520c9b(0x289)+'}:${norm'+_0x520c9b(0x222)+_0x520c9b(0x25a)+':direct:'+'${peerId'+_0x520c9b(0x1d5)+_0x520c9b(0x2d4)+_0x520c9b(0x1d3)+_0x520c9b(0x2da)+_0x520c9b(0x264)+_0x520c9b(0x2d5)+_0x520c9b(0x1b1)+_0x520c9b(0x165)+'ent:${no'+_0x520c9b(0x2e0)+_0x520c9b(0x166)+_0x520c9b(0x2df)+_0x520c9b(0x276)+_0x520c9b(0x280)+_0x520c9b(0x1ce)+'if\x20(dmSc'+_0x520c9b(0x1d3)+_0x520c9b(0x23d)+_0x520c9b(0x2d5)+_0x520c9b(0x1b1)+_0x520c9b(0x165)+'ent:${no'+_0x520c9b(0x2e0)+_0x520c9b(0x166)+_0x520c9b(0x236)+'${peerId'+_0x520c9b(0x1a8)+_0x520c9b(0x2ed)+'nt:${nor'+_0x520c9b(0x301)+'gentId}:'+_0x520c9b(0x27c)+_0x520c9b(0x1bd)+_0x520c9b(0x2ac)+_0x520c9b(0x2a2)+_0x520c9b(0x186)+_0x520c9b(0x27d)+_0x520c9b(0x2b1)+_0x520c9b(0x1b9)+_0x520c9b(0x302)+'\x20routeTa'+'rget\x20=\x20w'+_0x520c9b(0x1b3)+'lveQQBot')+(_0x520c9b(0x303)+_0x520c9b(0x2f2)+'ms?.targ'+_0x520c9b(0x26d)+_0x520c9b(0x2e5)+'?.target'+_0x520c9b(0x237)+_0x520c9b(0x192)+_0x520c9b(0x2b0)+_0x520c9b(0x24b)+_0x520c9b(0x19a)+'\x0a\x09const\x20'+_0x520c9b(0x27b)+_0x520c9b(0x1fe)+_0x520c9b(0x256)+'QBotSess'+_0x520c9b(0x267)+_0x520c9b(0x1ef)+_0x520c9b(0x232)+_0x520c9b(0x31f)+_0x520c9b(0x1ab)+'Target,\x20'+'params.a'+_0x520c9b(0x1e0)+');\x0a\x09cons'+_0x520c9b(0x1ba)+_0x520c9b(0x2c7)+_0x520c9b(0x2a7)+_0x520c9b(0x228)+'e\x20===\x20\x22d'+'irect\x22\x20?'+'\x20\x22user\x22\x20'+':\x20\x22chann'+_0x520c9b(0x18b)+_0x520c9b(0x2ab)+_0x520c9b(0x161)+_0x520c9b(0x179)+_0x520c9b(0x18f)+_0x520c9b(0x29b)+_0x520c9b(0x2a3)+_0x520c9b(0x2c4)+_0x520c9b(0x2f0)+_0x520c9b(0x163)+_0x520c9b(0x262)+_0x520c9b(0x1fb)+_0x520c9b(0x2a8)+_0x520c9b(0x209)+_0x520c9b(0x200)+_0x520c9b(0x2ce)+_0x520c9b(0x1f9)+_0x520c9b(0x251)+_0x520c9b(0x218)+_0x520c9b(0x2c0)+_0x520c9b(0x1e1)+'kind:\x20ro'+'uteTarge'+'t.peerKi'+'nd,\x20id:\x20'+_0x520c9b(0x262)+'get.peer'+_0x520c9b(0x1fc)+_0x520c9b(0x176)+':\x20routeT'+_0x520c9b(0x306)+_0x520c9b(0x26c)+_0x520c9b(0x314)+'`${fromP'+'refix}:$'+_0x520c9b(0x250)+_0x520c9b(0x1b6)+'rId}`,\x0a\x09'+_0x520c9b(0x27a)+_0x520c9b(0x1ee)+_0x520c9b(0x16f)+_0x520c9b(0x202)+'peerId}`'+',\x0a\x09};\x0a}');}function qqBotCoreFallbackHelperSource(){return qqBotNormalizePeerTargetFunctionSource()+'\x0a'+qqBotDirectFallbackFunctionSource();}function qqBotNormalizePeerTargetFunctionSource(){const _0x3811c7=_0x4bc9;return'function'+_0x3811c7(0x187)+_0x3811c7(0x1b4)+_0x3811c7(0x24f)+_0x3811c7(0x252)+_0x3811c7(0x26b)+'nel)\x20{\x0a\x09'+_0x3811c7(0x1d6)+_0x3811c7(0x214)+_0x3811c7(0x30f)+_0x3811c7(0x27f)+_0x3811c7(0x24e)+'fix(Stri'+_0x3811c7(0x231)+_0x3811c7(0x2bb)+_0x3811c7(0x23b)+'trim();\x0a'+_0x3811c7(0x28e)+_0x3811c7(0x17a)+_0x3811c7(0x1f4)+_0x3811c7(0x2e2)+_0x3811c7(0x30e)+_0x3811c7(0x194)+_0x3811c7(0x1f6)+'/i,\x20\x22\x22).'+_0x3811c7(0x211)+_0x3811c7(0x209)+_0x3811c7(0x2b2)+_0x3811c7(0x2bc)+_0x3811c7(0x1d8)+'ce(/^(us'+_0x3811c7(0x16e)+_0x3811c7(0x23a)+_0x3811c7(0x215)+_0x3811c7(0x24d)+_0x3811c7(0x1a0);}function qqBotDirectFallbackFunctionSource(){const _0x382f8f=_0x4bc9;return _0x382f8f(0x1bc)+_0x382f8f(0x216)+_0x382f8f(0x269)+_0x382f8f(0x1a4)+_0x382f8f(0x271)+_0x382f8f(0x22e)+_0x382f8f(0x1b9)+_0x382f8f(0x21f)+_0x382f8f(0x300)+_0x382f8f(0x227)+_0x382f8f(0x2c5)+'rEmpty(p'+_0x382f8f(0x178)+_0x382f8f(0x29e)+_0x382f8f(0x1e5)+_0x382f8f(0x22d)+_0x382f8f(0x19a)+'\x0a\x09const\x20'+_0x382f8f(0x229)+'ring(par'+_0x382f8f(0x2ad)+_0x382f8f(0x2fb)+').trim()'+';\x0a\x09const'+_0x382f8f(0x2d3)+'Provider'+_0x382f8f(0x30c)+_0x382f8f(0x197)+_0x382f8f(0x22f)+_0x382f8f(0x2d9)+_0x382f8f(0x2ea)+_0x382f8f(0x2c2)+_0x382f8f(0x22c)+'st\x20witho'+_0x382f8f(0x1fd)+_0x382f8f(0x2ba)+_0x382f8f(0x1db)+_0x382f8f(0x243)+'replace('+_0x382f8f(0x281)+_0x382f8f(0x31b)+'();\x0a\x09con'+_0x382f8f(0x2ec)+'\x20=\x20norma'+_0x382f8f(0x22a)+_0x382f8f(0x2f5)+_0x382f8f(0x305)+_0x382f8f(0x1cd)+'utGroupM'+_0x382f8f(0x1c6)+_0x382f8f(0x2fc)+_0x382f8f(0x15a)+'sWith(\x22g'+_0x382f8f(0x2bf)+_0x382f8f(0x317)+'.startsW'+'ith(\x22roo'+'m:\x22)\x20||\x20'+_0x382f8f(0x2e3)+_0x382f8f(0x2aa)+_0x382f8f(0x2e8)+_0x382f8f(0x1dc)+'lower.st'+_0x382f8f(0x2aa)+'(\x22conver'+'sation:\x22'+_0x382f8f(0x260)+_0x382f8f(0x15a)+_0x382f8f(0x1eb)+_0x382f8f(0x21a)+_0x382f8f(0x2eb)+_0x382f8f(0x19b)+_0x382f8f(0x257)+'erId\x20=\x20w'+_0x382f8f(0x2a1)+_0x382f8f(0x1a6)+_0x382f8f(0x164)+_0x382f8f(0x261)+_0x382f8f(0x315)+_0x382f8f(0x220)+_0x382f8f(0x1d4)+'!peerId)'+_0x382f8f(0x28d)+'null;\x0a\x09c'+_0x382f8f(0x2ae)+'r\x20=\x20{\x0a\x09\x09'+_0x382f8f(0x1f5)+_0x382f8f(0x2dd)+_0x382f8f(0x2d6)+'erId\x0a\x09};'+_0x382f8f(0x1b0)+'baseSess'+_0x382f8f(0x17c)+'\x20buildOu'+_0x382f8f(0x1a7)+_0x382f8f(0x25f)+_0x382f8f(0x285)+_0x382f8f(0x173)+_0x382f8f(0x189)+_0x382f8f(0x207)+_0x382f8f(0x2cf)+'ams.agen'+_0x382f8f(0x263)+'hannel:\x20'+_0x382f8f(0x311)+_0x382f8f(0x2f4)+_0x382f8f(0x239)+_0x382f8f(0x2cf)+_0x382f8f(0x223)+_0x382f8f(0x274)+'\x09peer\x0a\x09}'+');\x0a\x09retu'+_0x382f8f(0x1c0)+_0x382f8f(0x23c)+_0x382f8f(0x21c)+_0x382f8f(0x23c)+_0x382f8f(0x18e)+'eSession'+_0x382f8f(0x319)+_0x382f8f(0x170)+_0x382f8f(0x310)+_0x382f8f(0x1c8)+_0x382f8f(0x1bb)+_0x382f8f(0x19e)+_0x382f8f(0x1cc)+('nnel}:${'+_0x382f8f(0x198)+_0x382f8f(0x196)+_0x382f8f(0x298)+_0x382f8f(0x198)+_0x382f8f(0x1c3));}function replaceFunction(_0x16232d,_0x3199b7,_0x110adb){const _0x4e28db=_0x4bc9,_0x4827a6=_0x16232d[_0x4e28db(0x29c)](_0x4e28db(0x1bc)+'\x20'+_0x3199b7);if(_0x4827a6===-0x1)return null;const _0x3b79aa=_0x16232d['indexOf']('{',_0x4827a6);if(_0x3b79aa===-0x1)return null;let _0x50c563=0x0,_0x276bf3=null,_0x461b5a=![];for(let _0x8be941=_0x3b79aa;_0x8be941<_0x16232d[_0x4e28db(0x210)];_0x8be941+=0x1){const _0x4b385d=_0x16232d[_0x8be941];if(_0x276bf3){if(_0x461b5a){_0x461b5a=![];continue;}if(_0x4b385d==='\x5c'){_0x461b5a=!![];continue;}if(_0x4b385d===_0x276bf3)_0x276bf3=null;continue;}if(_0x4b385d==='\x22'||_0x4b385d==='\x27'||_0x4b385d==='`'){_0x276bf3=_0x4b385d;continue;}if(_0x4b385d==='{')_0x50c563+=0x1;if(_0x4b385d==='}')_0x50c563-=0x1;if(_0x50c563===0x0)return _0x16232d[_0x4e28db(0x1c5)](0x0,_0x4827a6)+_0x110adb+_0x16232d[_0x4e28db(0x1c5)](_0x8be941+0x1);}return null;}function upgradeExistingQQBotOutboundFallbackPatch(_0x4255a4){const _0x439781=_0x4bc9;let _0x5e7569=replaceFunction(_0x4255a4,_0x439781(0x24a)+'malizeQQ'+_0x439781(0x157)+_0x439781(0x2e7),qqBotNormalizePeerTargetFunctionSource());if(!_0x5e7569)return{'patched':![],'reason':'existing'+_0x439781(0x270)+_0x439781(0x290)+_0x439781(0x1a3)};_0x5e7569=replaceFunction(_0x5e7569,_0x439781(0x1f7)+_0x439781(0x190)+'tDirectF'+_0x439781(0x25c)+'ession',qqBotDirectFallbackFunctionSource());if(!_0x5e7569)return{'patched':![],'reason':_0x439781(0x312)+'-resolve'+_0x439781(0x22b)+_0x439781(0x240)};return{'patched':!![],'source':_0x5e7569};}
1
+ (function(_0x5d6573,_0xe51976){const _0x438cb6=_0x4b24,_0x5566ec=_0x5d6573();while(!![]){try{const _0x246401=-parseInt(_0x438cb6(0x25c))/0x1+parseInt(_0x438cb6(0x273))/0x2*(-parseInt(_0x438cb6(0x24e))/0x3)+parseInt(_0x438cb6(0x1a8))/0x4*(parseInt(_0x438cb6(0x2d9))/0x5)+parseInt(_0x438cb6(0x2bf))/0x6+parseInt(_0x438cb6(0x216))/0x7+parseInt(_0x438cb6(0x1e9))/0x8+-parseInt(_0x438cb6(0x27f))/0x9;if(_0x246401===_0xe51976)break;else _0x5566ec['push'](_0x5566ec['shift']());}catch(_0x5a62e7){_0x5566ec['push'](_0x5566ec['shift']());}}}(_0x59c1,0xf2850));export function patchQQBotOutboundSessionRouteFromSource(_0x2fc472){const _0x190cd6=_0x4b24;if(_0x2fc472[_0x190cd6(0x2e9)](_0x190cd6(0x2cf)+_0x190cd6(0x270)+'tOutboun'+_0x190cd6(0x2f7)+'Route'))return{'patched':![],'reason':_0x190cd6(0x2bd)+'patched'};const _0x11e935=_0x190cd6(0x29a)+_0x190cd6(0x2b5)+'n\x20=\x20{';if(!_0x2fc472[_0x190cd6(0x2e9)](_0x11e935))return{'patched':![],'reason':_0x190cd6(0x274)+_0x190cd6(0x2d6)+_0x190cd6(0x2f4)};const _0xb7f277=_0x190cd6(0x236)+_0x190cd6(0x212)+_0x190cd6(0x2a6)+_0x190cd6(0x20e)+_0x190cd6(0x2d8)+_0x190cd6(0x2ab)+'\x20Normali'+_0x190cd6(0x2d1)+'n\x20QQ\x20Bot'+_0x190cd6(0x175)+'formats\x20'+_0x190cd6(0x24b)+_0x190cd6(0x30b)+_0x190cd6(0x1d5)+_0x190cd6(0x29d)+'m.\x20*/\x0a\x09\x09'+'normaliz'+_0x190cd6(0x196)+_0x190cd6(0x298)+_0x190cd6(0x308)+_0x190cd6(0x1e4)+'/**\x20Retu'+_0x190cd6(0x1dc)+_0x190cd6(0x232)+_0x190cd6(0x238)+'s\x20like\x20a'+_0x190cd6(0x240)+_0x190cd6(0x317)+'*/\x0a\x09\x09\x09lo'+_0x190cd6(0x302)+_0x190cd6(0x249)+_0x190cd6(0x2c8)+_0x190cd6(0x186)+_0x190cd6(0x197)+_0x190cd6(0x173)+_0x190cd6(0x2c1)+_0x190cd6(0x30d)+_0x190cd6(0x18b)+_0x190cd6(0x2e8)+'d\x20(direc'+_0x190cd6(0x1d1)+_0x190cd6(0x27e)+'p:groupi'+_0x190cd6(0x177)+')\x22\x0a\x09\x09}\x0a\x09'+'},';if(!_0x2fc472['includes'](_0xb7f277))return{'patched':![],'reason':_0x190cd6(0x307)+_0x190cd6(0x2bb)+'not-foun'+'d'};const _0x487375=qqBotPluginRouteHelperSource()+'\x0a'+_0x11e935,_0xab04dd=_0x190cd6(0x236)+_0x190cd6(0x212)+'targetPr'+_0x190cd6(0x20e)+_0x190cd6(0x2d8)+'],\x0a\x09\x09/**'+'\x20Normali'+'ze\x20commo'+_0x190cd6(0x23b)+_0x190cd6(0x175)+_0x190cd6(0x18e)+_0x190cd6(0x24b)+_0x190cd6(0x30b)+_0x190cd6(0x1d5)+':...\x20for'+_0x190cd6(0x176)+_0x190cd6(0x1a1)+'eTarget,'+_0x190cd6(0x183)+_0x190cd6(0x257)+_0x190cd6(0x322)+_0x190cd6(0x217)+_0x190cd6(0x306)+_0x190cd6(0x209)+_0x190cd6(0x265)+_0x190cd6(0x2d4)+_0x190cd6(0x1f1)+_0x190cd6(0x22d)+_0x190cd6(0x2b0)+_0x190cd6(0x2e7)+_0x190cd6(0x2f7)+_0x190cd6(0x202)+'ujieReso'+_0x190cd6(0x256)+'Outbound'+_0x190cd6(0x27b)+'oute,\x0a\x09\x09'+_0x190cd6(0x286)+_0x190cd6(0x2e1)+_0x190cd6(0x2e0)+_0x190cd6(0x318)+_0x190cd6(0x23c)+'n\x20the\x20id'+_0x190cd6(0x28d)+_0x190cd6(0x29f)+_0x190cd6(0x2be)+_0x190cd6(0x1c6)+'\x09\x09\x09looks'+_0x190cd6(0x296)+'looksLik'+'eQQBotTa'+'rget,\x0a\x09\x09'+_0x190cd6(0x228)+'QQ\x20Bot\x20t'+_0x190cd6(0x293)+_0x190cd6(0x1ab)+'bot:c2c:'+'openid\x20('+_0x190cd6(0x2d3)+'or\x20qqbot'+_0x190cd6(0x1cd)+_0x190cd6(0x2d5)+'group)\x22\x0a'+_0x190cd6(0x283);return{'patched':!![],'source':_0x2fc472[_0x190cd6(0x1d9)](_0x11e935,_0x487375)[_0x190cd6(0x1d9)](_0xb7f277,_0xab04dd)};}export function patchQQBotOutboundFallbackFromSource(_0x325381){const _0x20c395=_0x4b24;if(_0x325381[_0x20c395(0x2e9)](_0x20c395(0x2cf)+'olveQQBo'+_0x20c395(0x32b)+_0x20c395(0x30c)+_0x20c395(0x254))){if(!_0x325381[_0x20c395(0x2e9)](_0x20c395(0x2c9)+'/^(user|'+_0x20c395(0x276)+_0x20c395(0x1c7)+'i'))return upgradeExistingQQBotOutboundFallbackPatch(_0x325381);return{'patched':![],'reason':_0x20c395(0x2bd)+_0x20c395(0x1cf)};}const _0x1b0b52=_0x20c395(0x24c)+_0x20c395(0x2a7)+'Fallback'+_0x20c395(0x329)+'params)\x20'+'{';if(!_0x325381[_0x20c395(0x2e9)](_0x1b0b52))return{'patched':![],'reason':_0x20c395(0x1c2)+_0x20c395(0x2ae)+_0x20c395(0x1f0)+_0x20c395(0x21a)};const _0xf1bcd5=_0x20c395(0x2ee)+_0x20c395(0x25b)+'\x20stripPr'+_0x20c395(0x284)+'efix(par'+_0x20c395(0x26b)+_0x20c395(0x2e5)+_0x20c395(0x304)+'el).trim'+_0x20c395(0x279)+_0x20c395(0x1e1)+_0x20c395(0x26c)+_0x20c395(0x19e);if(!_0x325381['includes'](_0xf1bcd5))return{'patched':![],'reason':_0x20c395(0x1c2)+_0x20c395(0x23e)+'ot-found'};const _0x22f77d=qqBotCoreFallbackHelperSource()+'\x0a'+_0x1b0b52,_0x3e2feb=_0xf1bcd5+(_0x20c395(0x277)+_0x20c395(0x2ac)+_0x20c395(0x1bf)+_0x20c395(0x264)+_0x20c395(0x1d6)+_0x20c395(0x206)+_0x20c395(0x178)+_0x20c395(0x1e3)+_0x20c395(0x1d4)+_0x20c395(0x23d)+';\x0a\x09if\x20(w'+_0x20c395(0x1ee)+_0x20c395(0x179)+_0x20c395(0x207)+_0x20c395(0x266)+_0x20c395(0x1ee)+_0x20c395(0x179)+_0x20c395(0x211));return{'patched':!![],'source':_0x325381[_0x20c395(0x1d9)](_0x1b0b52,_0x22f77d)[_0x20c395(0x1d9)](_0xf1bcd5,_0x3e2feb)};}function qqBotPluginRouteHelperSource(){const _0x3f7b11=_0x4b24;return _0x3f7b11(0x24c)+_0x3f7b11(0x18a)+'rmalizeQ'+'QBotTarg'+_0x3f7b11(0x2dd)+_0x3f7b11(0x2a9)+'st\x20raw\x20='+_0x3f7b11(0x315)+_0x3f7b11(0x1d2)+_0x3f7b11(0x221)+'m();\x0a\x09co'+_0x3f7b11(0x28b)+_0x3f7b11(0x2c7)+'der\x20=\x20ra'+_0x3f7b11(0x1b8)+'rCase().'+_0x3f7b11(0x287)+_0x3f7b11(0x1fe)+_0x3f7b11(0x21c)+'aw.slice'+_0x3f7b11(0x200)+_0x3f7b11(0x2b1)+_0x3f7b11(0x21b)+_0x3f7b11(0x2de)+_0x3f7b11(0x2f8)+_0x3f7b11(0x2af)+_0x3f7b11(0x2f6)+_0x3f7b11(0x2c9)+_0x3f7b11(0x297)+_0x3f7b11(0x248)+_0x3f7b11(0x2c6)+'nction\x20w'+_0x3f7b11(0x17a)+_0x3f7b11(0x256)+'RouteTar'+'get(valu'+'e)\x20{\x0a\x09co'+_0x3f7b11(0x2f5)+_0x3f7b11(0x2c2)+_0x3f7b11(0x18a)+_0x3f7b11(0x23a)+_0x3f7b11(0x19b)+'et(value'+_0x3f7b11(0x24d)+_0x3f7b11(0x1ac)+_0x3f7b11(0x1e6)+'urn\x20null'+_0x3f7b11(0x1f7)+'\x20lower\x20='+_0x3f7b11(0x194)+_0x3f7b11(0x246)+_0x3f7b11(0x2ed)+');\x0a\x09if\x20('+_0x3f7b11(0x328)+_0x3f7b11(0x2e6)+_0x3f7b11(0x242)+_0x3f7b11(0x291)+'wer.star'+_0x3f7b11(0x20c)+_0x3f7b11(0x326)+'\x20{\x0a\x09\x09con'+_0x3f7b11(0x2f9)+'normaliz'+_0x3f7b11(0x2b2)+_0x3f7b11(0x1bd)+_0x3f7b11(0x290)+_0x3f7b11(0x1b7)+_0x3f7b11(0x21b)+_0x3f7b11(0x1b2)+'rn\x20id\x20?\x20'+'{\x20chatTy'+_0x3f7b11(0x234)+_0x3f7b11(0x2e2)+_0x3f7b11(0x220)+_0x3f7b11(0x17f)+_0x3f7b11(0x2a8)+'id\x20}\x20:\x20n'+'ull;\x0a\x09}\x0a'+_0x3f7b11(0x1eb)+_0x3f7b11(0x1d3)+_0x3f7b11(0x1c1)+_0x3f7b11(0x25e)+_0x3f7b11(0x241)+_0x3f7b11(0x1d3)+'sWith(\x22c'+'onversat'+'ion:\x22)\x20|'+_0x3f7b11(0x1e7)+_0x3f7b11(0x287)+_0x3f7b11(0x32a)+_0x3f7b11(0x20a)+_0x3f7b11(0x17b)+_0x3f7b11(0x1ad)+_0x3f7b11(0x230)+_0x3f7b11(0x1db)+_0x3f7b11(0x1f6)+_0x3f7b11(0x2d2)+'ersation'+'|thread)'+':/i,\x20\x22\x22)'+_0x3f7b11(0x268)+'\x0a\x09\x09retur'+_0x3f7b11(0x215)+_0x3f7b11(0x2bc)+'e:\x20\x22chan'+_0x3f7b11(0x2a0)+'erKind:\x20'+_0x3f7b11(0x213)+_0x3f7b11(0x327)+'d:\x20id\x20}\x20'+_0x3f7b11(0x17e)+'\x09}\x0a\x09cons'+'t\x20id\x20=\x20n'+_0x3f7b11(0x1b9)+'d.replac'+_0x3f7b11(0x1a4)+_0x3f7b11(0x323)+_0x3f7b11(0x275)+_0x3f7b11(0x219)+_0x3f7b11(0x268)+_0x3f7b11(0x193)+_0x3f7b11(0x282)+_0x3f7b11(0x182)+_0x3f7b11(0x1fa)+_0x3f7b11(0x252)+(_0x3f7b11(0x2f2)+'irect\x22,\x20'+_0x3f7b11(0x2a8)+_0x3f7b11(0x205)+_0x3f7b11(0x26d)+_0x3f7b11(0x2d7)+_0x3f7b11(0x28a)+_0x3f7b11(0x1f3)+'essionKe'+_0x3f7b11(0x1f8)+'gentId,\x20'+_0x3f7b11(0x320)+'ccountId'+')\x20{\x0a\x09con'+_0x3f7b11(0x25d)+_0x3f7b11(0x247)+_0x3f7b11(0x180)+'onst\x20nor'+_0x3f7b11(0x295)+'gentId\x20='+_0x3f7b11(0x315)+'agentId\x20'+_0x3f7b11(0x1c9)+_0x3f7b11(0x1f5)+_0x3f7b11(0x1e0)+_0x3f7b11(0x1b6)+'||\x20\x22main'+'\x22;\x0a\x09cons'+'t\x20peerId'+_0x3f7b11(0x19d)+'.peerId;'+_0x3f7b11(0x2a2)+_0x3f7b11(0x303)+_0x3f7b11(0x1e5)+'\x20\x22direct'+_0x3f7b11(0x185)+_0x3f7b11(0x1b1)+':${norma'+_0x3f7b11(0x28f)+_0x3f7b11(0x28c)+'channel}'+':${route'+_0x3f7b11(0x223)+_0x3f7b11(0x1cc)+_0x3f7b11(0x2fb)+_0x3f7b11(0x251)+_0x3f7b11(0x20f)+_0x3f7b11(0x1b0)+_0x3f7b11(0x32c)+_0x3f7b11(0x1a6)+_0x3f7b11(0x21f)+'\x0a\x09if\x20(dm'+_0x3f7b11(0x1a2)+'=\x20\x22per-a'+_0x3f7b11(0x2db)+'hannel-p'+_0x3f7b11(0x192)+_0x3f7b11(0x1fd)+_0x3f7b11(0x1ae)+'t\x20normal'+'izedAcco'+_0x3f7b11(0x258)+_0x3f7b11(0x201)+_0x3f7b11(0x188)+_0x3f7b11(0x25a)+_0x3f7b11(0x2aa)+_0x3f7b11(0x224)+'LowerCas'+_0x3f7b11(0x301)+'default\x22'+_0x3f7b11(0x1b2)+'rn\x20`agen'+_0x3f7b11(0x191)+_0x3f7b11(0x2fe)+_0x3f7b11(0x2eb)+'{channel'+_0x3f7b11(0x2fa)+'alizedAc'+_0x3f7b11(0x1ea)+_0x3f7b11(0x314)+_0x3f7b11(0x1f4)+_0x3f7b11(0x26f)+'if\x20(dmSc'+_0x3f7b11(0x218)+_0x3f7b11(0x235)+'nnel-pee'+_0x3f7b11(0x1a0)+'erId)\x20re'+_0x3f7b11(0x1ec)+_0x3f7b11(0x2b8)+'rmalized'+_0x3f7b11(0x1c8)+_0x3f7b11(0x30f)+_0x3f7b11(0x18d)+'ct:${pee'+_0x3f7b11(0x2fb)+'if\x20(dmSc'+_0x3f7b11(0x218)+_0x3f7b11(0x309)+_0x3f7b11(0x1a0)+_0x3f7b11(0x1aa)+_0x3f7b11(0x1ec)+_0x3f7b11(0x2b8)+_0x3f7b11(0x230)+'AgentId}'+_0x3f7b11(0x314)+_0x3f7b11(0x1f4)+_0x3f7b11(0x181)+'urn\x20`age'+'nt:${nor'+_0x3f7b11(0x295)+'gentId}:'+_0x3f7b11(0x1c4)+_0x3f7b11(0x321)+'n\x20wujieR'+'esolveQQ'+_0x3f7b11(0x1b5)+_0x3f7b11(0x285)+'onRoute('+_0x3f7b11(0x210)+_0x3f7b11(0x198)+_0x3f7b11(0x27a)+_0x3f7b11(0x27c)+_0x3f7b11(0x17a)+_0x3f7b11(0x256))+(_0x3f7b11(0x269)+'get(para'+_0x3f7b11(0x2b7)+'et?.to\x20?'+'?\x20params'+_0x3f7b11(0x1ba)+'\x20??\x20\x22\x22);'+_0x3f7b11(0x2ea)+'outeTarg'+_0x3f7b11(0x1bb)+_0x3f7b11(0x1fc)+_0x3f7b11(0x277)+_0x3f7b11(0x255)+'ey\x20=\x20wuj'+'ieBuildQ'+_0x3f7b11(0x214)+_0x3f7b11(0x311)+_0x3f7b11(0x2cd)+_0x3f7b11(0x22b)+_0x3f7b11(0x2cc)+_0x3f7b11(0x2c0)+'Target,\x20'+_0x3f7b11(0x19c)+'ccountId'+_0x3f7b11(0x199)+'t\x20toPref'+'ix\x20=\x20rou'+_0x3f7b11(0x2d4)+_0x3f7b11(0x2a4)+_0x3f7b11(0x22c)+_0x3f7b11(0x20d)+_0x3f7b11(0x294)+':\x20\x22chann'+'el\x22;\x0a\x09co'+_0x3f7b11(0x1e8)+_0x3f7b11(0x1b4)+'\x20routeTa'+_0x3f7b11(0x259)+_0x3f7b11(0x239)+_0x3f7b11(0x278)+'t\x22\x20?\x20\x22qq'+_0x3f7b11(0x1da)+'qqbot:${'+'routeTar'+_0x3f7b11(0x2da)+_0x3f7b11(0x195)+_0x3f7b11(0x2f8)+_0x3f7b11(0x184)+_0x3f7b11(0x29e)+_0x3f7b11(0x2df)+'ssionKey'+_0x3f7b11(0x1a3)+_0x3f7b11(0x26e)+_0x3f7b11(0x22e)+'kind:\x20ro'+_0x3f7b11(0x2a3)+_0x3f7b11(0x26a)+_0x3f7b11(0x2a5)+_0x3f7b11(0x2f3)+'get.peer'+_0x3f7b11(0x29b)+_0x3f7b11(0x182)+_0x3f7b11(0x1c5)+_0x3f7b11(0x24f)+_0x3f7b11(0x22d)+_0x3f7b11(0x31e)+'`${fromP'+_0x3f7b11(0x2b6)+_0x3f7b11(0x229)+'rget.pee'+'rId}`,\x0a\x09'+_0x3f7b11(0x2cb)+_0x3f7b11(0x2ff)+_0x3f7b11(0x319)+'eTarget.'+_0x3f7b11(0x2b3)+_0x3f7b11(0x300));}function qqBotCoreFallbackHelperSource(){return qqBotNormalizePeerTargetFunctionSource()+'\x0a'+qqBotDirectFallbackFunctionSource();}function qqBotNormalizePeerTargetFunctionSource(){const _0xfa91f7=_0x4b24;return'function'+'\x20wujieNo'+_0xfa91f7(0x23a)+_0xfa91f7(0x2ad)+'Target(r'+_0xfa91f7(0x2a1)+_0xfa91f7(0x1c3)+_0xfa91f7(0x262)+'thoutPro'+_0xfa91f7(0x204)+_0xfa91f7(0x174)+_0xfa91f7(0x310)+_0xfa91f7(0x267)+'ng(raw\x20?'+'?\x20\x22\x22),\x20c'+_0xfa91f7(0x233)+_0xfa91f7(0x1ce)+'\x09const\x20w'+_0xfa91f7(0x30e)+_0xfa91f7(0x23f)+_0xfa91f7(0x203)+_0xfa91f7(0x2c7)+'der.repl'+_0xfa91f7(0x1a7)+_0xfa91f7(0x2e3)+'trim();\x0a'+_0xfa91f7(0x2f8)+'withoutG'+_0xfa91f7(0x2ce)+_0xfa91f7(0x231)+_0xfa91f7(0x305)+_0xfa91f7(0x22a)+_0xfa91f7(0x1d0)+_0xfa91f7(0x1b7)+_0xfa91f7(0x21b)+_0xfa91f7(0x325);}function _0x4b24(_0x492435,_0xff03b9){_0x492435=_0x492435-0x173;const _0x59c1f3=_0x59c1();let _0x4b2462=_0x59c1f3[_0x492435];return _0x4b2462;}function qqBotDirectFallbackFunctionSource(){const _0x46343e=_0x4b24;return _0x46343e(0x24c)+_0x46343e(0x271)+'solveQQB'+'otDirect'+_0x46343e(0x2c5)+'Session('+_0x46343e(0x210)+_0x46343e(0x1de)+_0x46343e(0x1b9)+'Lowercas'+_0x46343e(0x316)+_0x46343e(0x27d)+'arams.ch'+'annel)\x20!'+_0x46343e(0x2ca)+_0x46343e(0x25f)+_0x46343e(0x1fc)+_0x46343e(0x277)+_0x46343e(0x1b3)+_0x46343e(0x272)+_0x46343e(0x26b)+_0x46343e(0x1ca)+').trim()'+_0x46343e(0x1f7)+_0x46343e(0x226)+_0x46343e(0x20b)+_0x46343e(0x29c)+_0x46343e(0x20b)+_0x46343e(0x1bc)+_0x46343e(0x1f9)+_0x46343e(0x304)+_0x46343e(0x2ef)+'();\x0a\x09con'+_0x46343e(0x1ed)+_0x46343e(0x1ef)+_0x46343e(0x2d0)+_0x46343e(0x2af)+'rovider.'+_0x46343e(0x2c9)+_0x46343e(0x297)+_0x46343e(0x248)+'();\x0a\x09con'+_0x46343e(0x299)+_0x46343e(0x244)+_0x46343e(0x17c)+_0x46343e(0x1be)+_0x46343e(0x261)+_0x46343e(0x222)+_0x46343e(0x1ef)+'irror);\x0a'+_0x46343e(0x1eb)+_0x46343e(0x1d3)+_0x46343e(0x22f)+_0x46343e(0x31c)+'||\x20lower'+_0x46343e(0x31d)+'ith(\x22roo'+_0x46343e(0x1d7)+_0x46343e(0x328)+_0x46343e(0x2e6)+_0x46343e(0x227)+_0x46343e(0x31f)+_0x46343e(0x328)+'artsWith'+'(\x22conver'+'sation:\x22'+')\x20||\x20low'+_0x46343e(0x1d3)+_0x46343e(0x18c)+_0x46343e(0x1df)+_0x46343e(0x292)+_0x46343e(0x24a)+_0x46343e(0x1d8)+_0x46343e(0x2b9)+_0x46343e(0x1e2)+_0x46343e(0x2c3)+_0x46343e(0x189)+'rget(raw'+_0x46343e(0x1fb)+'.channel'+_0x46343e(0x24d)+_0x46343e(0x2fd)+_0x46343e(0x1f2)+'null;\x0a\x09c'+_0x46343e(0x260)+_0x46343e(0x312)+_0x46343e(0x237)+_0x46343e(0x19f)+_0x46343e(0x288)+_0x46343e(0x289)+_0x46343e(0x277)+_0x46343e(0x1c0)+_0x46343e(0x21e)+_0x46343e(0x1dd)+_0x46343e(0x313)+_0x46343e(0x281)+_0x46343e(0x30a)+_0x46343e(0x225)+_0x46343e(0x19a)+_0x46343e(0x1af)+_0x46343e(0x2e4)+_0x46343e(0x31b)+'tId,\x0a\x09\x09c'+_0x46343e(0x2f0)+_0x46343e(0x28e)+_0x46343e(0x1a5)+_0x46343e(0x18f)+'tId:\x20par'+_0x46343e(0x1cb)+_0x46343e(0x190)+'\x09peer\x0a\x09}'+');\x0a\x09retu'+_0x46343e(0x250)+'essionKe'+_0x46343e(0x187)+_0x46343e(0x21d)+_0x46343e(0x243)+_0x46343e(0x263)+'Key,\x0a\x09\x09p'+_0x46343e(0x253)+_0x46343e(0x2dc)+_0x46343e(0x2c4)+'\x22,\x0a\x09\x09fro'+'m:\x20`${pa'+'rams.cha'+(_0x46343e(0x17d)+_0x46343e(0x2b3)+_0x46343e(0x245)+_0x46343e(0x324)+_0x46343e(0x2b3)+_0x46343e(0x1a9));}function _0x59c1(){const _0x2b4dc5=['nd,\x20id:\x20','targetPr','\x20resolve','peerId:\x20',')\x20{\x0a\x09con','ault\x22).t','],\x0a\x09\x09/**','wujieQQB','QBotPeer','-functio','withoutP','\x09\x09resolv','\x22.length','ed.repla','peerId}`','slice','botPlugi','refix}:$','ms?.targ','ent:${no','erId\x20=\x20w','length','g-shape-','\x20chatTyp','already-','\x20Bot\x20tar','7695564oPHZxH','d,\x20route','t\x20target','alized\x20=','alizeQQB','\x20\x22direct','Fallback','();\x0a}\x0afu','outProvi','LikeQQBo','replace(','==\x20\x22qqbo','\x09to:\x20`${','s.agentI','arams.cf','roupMirr','wujieRes','irror\x20=\x20','ze\x20commo','nel|conv','direct)\x20','teTarget','roupid\x20(','nchor-no','unction\x20','[\x22qqbot\x22','115JAFaAK','get.chat','ccount-c','hatType:','et(value','\x20:\x20raw;\x0a','\x09\x09baseSe','{\x0a\x09\x09\x09/**','solver:\x20','up\x22,\x20pee','/i,\x20\x22\x22).','tId:\x20par','et,\x20para','artsWith','eOutboun','2c:openi','includes','\x0a\x09if\x20(!r','entId}:$','existing','werCase(','\x09const\x20t','el).trim','hannel:\x20','r-not-fo','Kind:\x20\x22d','routeTar','t-found','nst\x20norm','rovider.','dSession','\x09return\x20','st\x20id\x20=\x20','}:${norm','rId}`;\x0a\x09','indexOf','!peerId)','alizedAg','toPrefix',',\x0a\x09};\x0a}','e()\x20||\x20\x22','oksLikeI','ute.peer','ms.chann','ce(/^(us','\x20=>\x20wuji','messagin','tResolve','\x22per-pee','nKey({\x0a\x09','\x20canonic','allbackS','\x20format:','ithoutGr',':${chann','viderPre','ionKey(p','r\x20=\x20{\x0a\x09\x09','tboundBa',':direct:','\x20String(','eStringO','target.\x20','\x20Return\x20','}:${rout','BotPeerT','ams.agen','roup:\x22)\x20','.startsW','\x09\x09from:\x20','l:\x22)\x20||\x20','route,\x20a','\x0afunctio','atType:\x20','r|direct','`user:${',';\x0a}','room:\x22))','\x22,\x20peerI','lower.st','Session(','th(\x22thre','tDirectF','sion?.dm',':\x20\x22QQ\x20Bo','stripPro','\x20target\x20','m.\x20*/\x0a\x09\x09','d\x20(group','BotDirec','tDirectS','ujieReso','\x0a\x09\x09const','lizeLowe','nnel}:${',':\x20null;\x0a','group\x22,\x20','bot\x22;\x0a\x09c','}`;\x0a\x09ret','chatType','\x0a\x09\x09infer','{\x0a\x09\x09sess','\x22)\x20retur','tTarget,','y:\x20baseS','ccountId','otPeerTa','\x20wujieNo','\x20qqbot:c','sWith(\x22t','el}:dire','formats\x20','\x09\x09accoun','untId,\x0a\x09','t:${norm','eer\x22\x20&&\x20','\x0a\x09return','\x20normali','Type}`;\x0a','eTarget,','\x0a\x09\x09\x09hint','{\x0a\x09const',');\x0a\x09cons','rams.cfg','QBotTarg','params.a','\x20=\x20route','n\x20null;','irect\x22,\x0a','r\x22\x20&&\x20pe','normaliz','Scope\x20==',':\x20sessio','e(/^(use','hannel,\x0a','Scope\x20??','ace(/^g-','4ejgQan','\x0a\x09};\x0a}','erId)\x20re','rmat:\x20qq','!normali','\x20id\x20=\x20no','{\x0a\x09\x09cons',',\x0a\x09\x09agen','cfg?.ses','n\x20`agent',';\x0a\x09\x09retu','raw\x20=\x20St','Prefix\x20=','BotOutbo','rCase()\x20','):/i,\x20\x22\x22','w.toLowe','ormalize','?.target','et)\x20retu','Prefix(r','ce(/^(gr','rcaseStr','otDirect','baseSess','sWith(\x22c','fallback','nel)\x20{\x0a\x09','main`;\x0a}',':\x20routeT','get.\x20*/\x0a','m|c2c):/','AgentId}','||\x20\x22main','et\x20??\x20\x22\x22','ams.acco','d}:${pee',':group:g','trim();\x0a','patched','t|dm|c2c','t)\x20or\x20qq','value\x20??','er.start','kSession','al\x20qqbot','=\x20wujieR','m:\x22)\x20||\x20','const\x20pe','replace','bot\x22\x20:\x20`','.replace','rn\x20true\x20','\x20buildOu','{\x0a\x09if\x20(n','hread:\x22)',').toLowe','(!trimme','ujieNorm','tFallbac','r:\x20{\x0a\x09\x09\x09','Kind\x20!==','zed)\x20ret','|\x20lower.','nst\x20from','13404432wdyVJp','countId}','\x09if\x20(low','turn\x20`ag','st\x20witho','ujieQQBo','utGroupM','n-not-fo','(to)?.ch','\x20return\x20','ldQQBotS','${peerId','\x22).trim(','(/^(chan',';\x0a\x09const','y(cfg,\x20a','aw,\x20para',':\x20\x22direc',',\x20params','rn\x20null;','peerId)\x20','th(\x22qqbo','-normali','(\x22qqbot:','String(a','Route:\x20w','r\x20=\x20with','vider\x20=\x20','id\x20}\x20:\x20n','esolveQQ','ession)\x20','malizeQQ','eResolve','ad:\x22))\x20{','Provider','tsWith(\x22','irect\x22\x20?','efixes:\x20','Scope\x20=\x20','params)\x20','ession;','ng:\x20{\x0a\x09\x09','\x22channel','QBotSess','n\x20id\x20?\x20{','4932655kslwHD','({\x20to\x20})','ope\x20===\x20',':/i,\x20\x22\x22)','und',').trim()','t:\x22)\x20?\x20r','essionKe','ionKey\x20=','\x20\x22main\x22;','rKind:\x20\x22','\x20\x22\x22).tri','ty(witho','.peerKin','rim().to','\x09cfg:\x20pa','\x20without','(\x22channe','\x09hint:\x20\x22','{routeTa','er|direc','g,\x20param','e\x20===\x20\x22d','atType,\x0a','peer:\x20{\x20','sWith(\x22g','rmalized','or.repla','when\x20the','hannel).','pe:\x20\x22gro','\x22per-cha','\x09messagi','kind:\x20\x22d','\x20id\x20look','tType\x20==','rmalizeQ','n\x20QQ\x20Bot','true\x20whe','(params)','-shape-n','oupMirro','\x20QQ\x20Bot\x20',')\x20||\x20low','(\x22group:','y,\x0a\x09\x09bas','\x20=\x20norma',',\x0a\x09\x09to:\x20','zed.toLo','el\x20=\x20\x22qq','\x22\x22).trim','d:\x20looks','\x20null;\x0a\x09','into\x20the','function',');\x0a\x09if\x20(','3027xHQqVE','arget.ch','rn\x20{\x0a\x09\x09s','const\x20dm','t\x22,\x20peer','eer,\x0a\x09\x09c','ession','sessionK','lveQQBot','TargetCh','untId\x20=\x20','rget.cha','\x20||\x20\x22def','rimmed\x20=','826321cKriec','st\x20chann','hannel:\x22','t\x22)\x20retu','onst\x20pee','ingOrEmp','const\x20wi','eSession','Session\x20','QQBotRou','return\x20w','fix(Stri','.trim();','RouteTar','t.peerKi','ams.targ','d)\x20retur','ull;\x0a}\x0af','nKey,\x0a\x09\x09','}`;\x0a\x09}\x0a\x09','olveQQBo','\x20wujieRe','ring(par','3204UdgpLZ','plugin-a','|dm|c2c)','direct|d','\x0a\x09const\x20','=\x20\x22direc','();\x0a\x09if\x20','\x20routeTa','SessionR','rget\x20=\x20w','rEmpty(p','bot:grou','2040633jbfTFn','zer-not-','seSessio','\x20id\x20?\x20{\x20','\x09\x09}\x0a\x09},','oviderPr','undSessi','targetRe','startsWi','\x09\x09id:\x20pe','erId\x0a\x09};','wujieBui','nst\x20with','ntId}:${','\x20looks\x20l','params.c','lizedAge','oup|room','\x22)\x20||\x20lo',')\x20return','arget\x20fo','\x20\x22user\x22\x20','malizedA','LikeId:\x20','/^g-/i,\x20','\x0a\x09\x09targe','st\x20lower','const\x20qq','Id\x20},\x0a\x09\x09','\x20=\x20strip',':...\x20for','ionKey,\x0a','ike\x20a\x20QQ','nel\x22,\x20pe','aw,\x20chan','\x0a\x09if\x20(ro','uteTarge','.chatTyp'];_0x59c1=function(){return _0x2b4dc5;};return _0x59c1();}function replaceFunction(_0x437d2f,_0x494454,_0xe71555){const _0x4be24e=_0x4b24,_0x3c01b5=_0x437d2f[_0x4be24e(0x2fc)](_0x4be24e(0x24c)+'\x20'+_0x494454);if(_0x3c01b5===-0x1)return null;const _0x4269ef=_0x437d2f['indexOf']('{',_0x3c01b5);if(_0x4269ef===-0x1)return null;let _0x2c4395=0x0,_0x5007d8=null,_0x2e7adf=![];for(let _0x27fba3=_0x4269ef;_0x27fba3<_0x437d2f[_0x4be24e(0x2ba)];_0x27fba3+=0x1){const _0x517586=_0x437d2f[_0x27fba3];if(_0x5007d8){if(_0x2e7adf){_0x2e7adf=![];continue;}if(_0x517586==='\x5c'){_0x2e7adf=!![];continue;}if(_0x517586===_0x5007d8)_0x5007d8=null;continue;}if(_0x517586==='\x22'||_0x517586==='\x27'||_0x517586==='`'){_0x5007d8=_0x517586;continue;}if(_0x517586==='{')_0x2c4395+=0x1;if(_0x517586==='}')_0x2c4395-=0x1;if(_0x2c4395===0x0)return _0x437d2f[_0x4be24e(0x2b4)](0x0,_0x3c01b5)+_0xe71555+_0x437d2f[_0x4be24e(0x2b4)](_0x27fba3+0x1);}return null;}function upgradeExistingQQBotOutboundFallbackPatch(_0x26e4a2){const _0x1592c5=_0x4b24;let _0x153a0b=replaceFunction(_0x26e4a2,'wujieNor'+_0x1592c5(0x208)+_0x1592c5(0x31a)+'arget',qqBotNormalizePeerTargetFunctionSource());if(!_0x153a0b)return{'patched':![],'reason':_0x1592c5(0x2ec)+_0x1592c5(0x1ff)+_0x1592c5(0x280)+'found'};_0x153a0b=replaceFunction(_0x153a0b,_0x1592c5(0x2cf)+_0x1592c5(0x270)+'tDirectF'+_0x1592c5(0x30c)+_0x1592c5(0x254),qqBotDirectFallbackFunctionSource());if(!_0x153a0b)return{'patched':![],'reason':'existing'+'-resolve'+_0x1592c5(0x2f1)+_0x1592c5(0x21a)};return{'patched':!![],'source':_0x153a0b};}
@@ -1 +1 @@
1
- (function(_0x42b5cb,_0x280785){const _0x513820=_0x58ee,_0x6ed04d=_0x42b5cb();while(!![]){try{const _0x1d7dd0=-parseInt(_0x513820(0x1e3))/0x1+parseInt(_0x513820(0x1e4))/0x2+parseInt(_0x513820(0x1d3))/0x3+parseInt(_0x513820(0x1fb))/0x4*(-parseInt(_0x513820(0x1fe))/0x5)+-parseInt(_0x513820(0x1f4))/0x6*(parseInt(_0x513820(0x202))/0x7)+parseInt(_0x513820(0x1d7))/0x8+-parseInt(_0x513820(0x1dc))/0x9*(-parseInt(_0x513820(0x1d5))/0xa);if(_0x1d7dd0===_0x280785)break;else _0x6ed04d['push'](_0x6ed04d['shift']());}catch(_0x2dbe7a){_0x6ed04d['push'](_0x6ed04d['shift']());}}}(_0x3ff1,0x9f696));function _0x3ff1(){const _0x484281=['mport-no','8prhmVD','ntime.re','includes','2766395UwcXKX','ertReque','&&\x20typeo','atchGetR','7zfnxqC','t-provid',',\x0a\x09\x09\x09\x09ba','e.upsert','(entry)\x20','\x0a\x09\x09\x09if\x20(','tIdTitle','-found','questIdT','idge.ups','=\x20{\x0a\x09\x09\x09\x09','{\x0a\x09\x09\x09\x09ru','ieReques','ayload)\x0a','slice','length','tchGet:\x20','sureWuji','2251200kBwlQF','itles\x20??','272330rcNbzw','\x20as\x20wuji','3932680wJBrpK','eChannel','e\x20===\x20\x22o','\x20(runtim','ridge\x20fr','99XwYUTK','e(entry)','not-foun','\x09\x09\x09\x09};\x0a\x09','bridge-i','eRequest',')\x20=>\x20wuj','236837eOLfOt','2455478RdsVOs','Bridge.b','dTitleBr','IdTitleB','tleBridg','body-not','(payload','elpers\x20=','=>\x20wujie','equestId','bject\x22)\x20','already-','Titles(p','dTitle','f\x20runtim','\x09\x09}','4637652hHjiIm','bridgeIm','patched','indexOf','match','RuntimeH'];_0x3ff1=function(){return _0x484281;};return _0x3ff1();}function createBridgeImport(_0x10846a){const _0x15fa85=_0x58ee;return'import\x20*'+_0x15fa85(0x1d6)+_0x15fa85(0x1e1)+_0x15fa85(0x1e7)+_0x15fa85(0x1db)+'om\x20\x22'+_0x10846a+'\x22;';}function _0x58ee(_0x4079ec,_0xca5c20){_0x4079ec=_0x4079ec-0x1ca;const _0x3ff1ba=_0x3ff1();let _0x58ee6f=_0x3ff1ba[_0x4079ec];return _0x58ee6f;}function ensureBridgeImport(_0x99133f,_0x1f5009){const _0x30fcf4=_0x58ee,_0x3f5ae0=createBridgeImport(_0x1f5009);if(_0x99133f[_0x30fcf4(0x1fd)](_0x3f5ae0))return _0x99133f;const _0x2c809f=_0x99133f[_0x30fcf4(0x1f8)](/^import .*;$/m);if(!_0x2c809f)return _0x3f5ae0+'\x0a'+_0x99133f;return _0x99133f['replace'](_0x2c809f[0x0],_0x2c809f[0x0]+'\x0a'+_0x3f5ae0);}function findFunctionBodyStart(_0x2b3974,_0x3c4cdb){const _0x166d5c=_0x58ee,_0x39a7f1=_0x2b3974[_0x166d5c(0x1f7)]('(',_0x3c4cdb);if(_0x39a7f1===-0x1)return-0x1;let _0x500697=0x0,_0x4311c0=null,_0x59d5f5=![];for(let _0x173f7f=_0x39a7f1;_0x173f7f<_0x2b3974[_0x166d5c(0x1d0)];_0x173f7f+=0x1){const _0x18f51f=_0x2b3974[_0x173f7f];if(_0x4311c0){if(_0x59d5f5){_0x59d5f5=![];continue;}if(_0x18f51f==='\x5c'){_0x59d5f5=!![];continue;}if(_0x18f51f===_0x4311c0)_0x4311c0=null;continue;}if(_0x18f51f==='\x22'||_0x18f51f==='\x27'||_0x18f51f==='`'){_0x4311c0=_0x18f51f;continue;}if(_0x18f51f==='('){_0x500697+=0x1;continue;}if(_0x18f51f===')'){_0x500697-=0x1;continue;}if(_0x18f51f==='{'&&_0x500697===0x0)return _0x173f7f;}return-0x1;}function insertAfterFunctionOpen(_0x32ee2f,_0x270e9d,_0xabc107){const _0x5094d2=_0x58ee,_0x595ddf=_0x32ee2f[_0x5094d2(0x1f7)](_0x270e9d);if(_0x595ddf===-0x1)return{'patched':![],'reason':_0x5094d2(0x1de)+'d'};const _0xa58435=findFunctionBodyStart(_0x32ee2f,_0x595ddf);if(_0xa58435===-0x1)return{'patched':![],'reason':_0x5094d2(0x1e9)+_0x5094d2(0x209)};return{'patched':!![],'source':''+_0x32ee2f[_0x5094d2(0x1cf)](0x0,_0xa58435+0x1)+_0xabc107+_0x32ee2f[_0x5094d2(0x1cf)](_0xa58435+0x1)};}export function patchRequestIdTitleRuntimeFromSource(_0x44b326,_0xee1147={}){const _0x27507f=_0x58ee,_0x5b99a8=_0xee1147[_0x27507f(0x1f5)+'portPath'];if(!_0x5b99a8)return{'patched':![],'reason':_0x27507f(0x1e0)+_0x27507f(0x1fa)+_0x27507f(0x203)+'ed'};if(_0x44b326[_0x27507f(0x1fd)]('wujieReq'+'uestIdTi'+_0x27507f(0x1e8)+_0x27507f(0x205)+'RequestI'+_0x27507f(0x1f1)))return{'patched':![],'reason':_0x27507f(0x1ef)+_0x27507f(0x1f6)};const _0x312ba8='const\x20en'+_0x27507f(0x1d2)+_0x27507f(0x1d8)+_0x27507f(0x1f9)+_0x27507f(0x1eb)+_0x27507f(0x1da)+'e)\x20=>',_0x2bc036=_0x27507f(0x207)+'runtime\x20'+_0x27507f(0x200)+_0x27507f(0x1f2)+_0x27507f(0x1d9)+_0x27507f(0x1ee)+_0x27507f(0x1cc)+_0x27507f(0x1fc)+_0x27507f(0x20a)+_0x27507f(0x1d4)+_0x27507f(0x1cb)+'upsert:\x20'+_0x27507f(0x206)+_0x27507f(0x1ec)+'RequestI'+_0x27507f(0x1e6)+_0x27507f(0x1ca)+_0x27507f(0x1ff)+'stIdTitl'+_0x27507f(0x1dd)+_0x27507f(0x204)+_0x27507f(0x1d1)+_0x27507f(0x1ea)+_0x27507f(0x1e2)+_0x27507f(0x1cd)+_0x27507f(0x208)+_0x27507f(0x1e5)+_0x27507f(0x201)+_0x27507f(0x1ed)+_0x27507f(0x1f0)+_0x27507f(0x1ce)+_0x27507f(0x1df)+_0x27507f(0x1f3),_0x1b1be3=insertAfterFunctionOpen(ensureBridgeImport(_0x44b326,_0x5b99a8),_0x312ba8,_0x2bc036);return _0x1b1be3;}
1
+ (function(_0x3b27ce,_0x5d2bfb){const _0x4f5d37=_0x2057,_0x3c0521=_0x3b27ce();while(!![]){try{const _0x2b95c5=-parseInt(_0x4f5d37(0x1f4))/0x1*(parseInt(_0x4f5d37(0x1d1))/0x2)+parseInt(_0x4f5d37(0x1fa))/0x3+parseInt(_0x4f5d37(0x1f3))/0x4+parseInt(_0x4f5d37(0x1ed))/0x5+-parseInt(_0x4f5d37(0x1fe))/0x6+parseInt(_0x4f5d37(0x1d3))/0x7*(-parseInt(_0x4f5d37(0x204))/0x8)+-parseInt(_0x4f5d37(0x202))/0x9*(-parseInt(_0x4f5d37(0x1e5))/0xa);if(_0x2b95c5===_0x5d2bfb)break;else _0x3c0521['push'](_0x3c0521['shift']());}catch(_0x23e8b4){_0x3c0521['push'](_0x3c0521['shift']());}}}(_0x242a,0x7ec0a));function createBridgeImport(_0x39cfb9){const _0x486f49=_0x2057;return _0x486f49(0x1e6)+_0x486f49(0x1db)+_0x486f49(0x1e9)+_0x486f49(0x1ce)+_0x486f49(0x1f5)+'om\x20\x22'+_0x39cfb9+'\x22;';}function ensureBridgeImport(_0x2e7ce2,_0x29cc25){const _0x5f046d=_0x2057,_0x5e610a=createBridgeImport(_0x29cc25);if(_0x2e7ce2[_0x5f046d(0x1e7)](_0x5e610a))return _0x2e7ce2;const _0xbbf8=_0x2e7ce2[_0x5f046d(0x1ee)](/^import .*;$/m);if(!_0xbbf8)return _0x5e610a+'\x0a'+_0x2e7ce2;return _0x2e7ce2[_0x5f046d(0x1f6)](_0xbbf8[0x0],_0xbbf8[0x0]+'\x0a'+_0x5e610a);}function findFunctionBodyStart(_0x467c6f,_0x4be661){const _0x2c7e0b=_0x2057,_0x5eb7c0=_0x467c6f[_0x2c7e0b(0x1f8)]('(',_0x4be661);if(_0x5eb7c0===-0x1)return-0x1;let _0x105831=0x0,_0x19164c=null,_0x4f3b3c=![];for(let _0x20cdc1=_0x5eb7c0;_0x20cdc1<_0x467c6f[_0x2c7e0b(0x1ea)];_0x20cdc1+=0x1){const _0xf6aef7=_0x467c6f[_0x20cdc1];if(_0x19164c){if(_0x4f3b3c){_0x4f3b3c=![];continue;}if(_0xf6aef7==='\x5c'){_0x4f3b3c=!![];continue;}if(_0xf6aef7===_0x19164c)_0x19164c=null;continue;}if(_0xf6aef7==='\x22'||_0xf6aef7==='\x27'||_0xf6aef7==='`'){_0x19164c=_0xf6aef7;continue;}if(_0xf6aef7==='('){_0x105831+=0x1;continue;}if(_0xf6aef7===')'){_0x105831-=0x1;continue;}if(_0xf6aef7==='{'&&_0x105831===0x0)return _0x20cdc1;}return-0x1;}function insertAfterFunctionOpen(_0x6410d,_0xd8c66d,_0x591c05){const _0x621f25=_0x2057,_0x2650da=_0x6410d[_0x621f25(0x1f8)](_0xd8c66d);if(_0x2650da===-0x1)return{'patched':![],'reason':_0x621f25(0x1f7)+'d'};const _0xa95b31=findFunctionBodyStart(_0x6410d,_0x2650da);if(_0xa95b31===-0x1)return{'patched':![],'reason':_0x621f25(0x1dc)+'-found'};return{'patched':!![],'source':''+_0x6410d[_0x621f25(0x1f9)](0x0,_0xa95b31+0x1)+_0x591c05+_0x6410d[_0x621f25(0x1f9)](_0xa95b31+0x1)};}function _0x242a(){const _0xfb529e=['t-provid','{\x0a\x09\x09\x09\x09ru','tchGet:\x20','idge.ups','ieReques','stIdTitl','sureWuji','30xZwIDP','import\x20*','includes','&&\x20typeo','eRequest','length','ntime.re','uestIdTi','2890550jFLDlE','match','already-','bridge-i','tleBridg','ayload)\x0a','612600OaktAa','15434YFfPaY','ridge\x20fr','replace','not-foun','indexOf','slice','2445300oTrnSi',')\x20=>\x20wuj',',\x0a\x09\x09\x09\x09ba','\x09\x09\x09\x09};\x0a\x09','2532540xqEzad','atchGetR','(payload','portPath','2661507ZvCxti','bridgeIm','1551080dNaMCT','e)\x20=>','e\x20===\x20\x22o','Bridge.b','=>\x20wujie','questIdT','dTitleBr','equestId','IdTitleB','mport-no','Titles(p','118EqSXZt','f\x20runtim','21vgRfaT','patched','(entry)\x20','e.upsert','dTitle','\x0a\x09\x09\x09if\x20(','eChannel','bject\x22)\x20','\x20as\x20wuji','body-not','RequestI'];_0x242a=function(){return _0xfb529e;};return _0x242a();}function _0x2057(_0x1e2811,_0x18a8bc){_0x1e2811=_0x1e2811-0x1cd;const _0x242aa3=_0x242a();let _0x2057b0=_0x242aa3[_0x1e2811];return _0x2057b0;}export function patchRequestIdTitleRuntimeFromSource(_0x487a26,_0x3a2bc3={}){const _0x7fc4f=_0x2057,_0x42d712=_0x3a2bc3[_0x7fc4f(0x203)+_0x7fc4f(0x201)];if(!_0x42d712)return{'patched':![],'reason':_0x7fc4f(0x1f0)+_0x7fc4f(0x1cf)+_0x7fc4f(0x1de)+'ed'};if(_0x487a26['includes']('wujieReq'+_0x7fc4f(0x1ec)+_0x7fc4f(0x1f1)+_0x7fc4f(0x1d6)+_0x7fc4f(0x1dd)+_0x7fc4f(0x1d7)))return{'patched':![],'reason':_0x7fc4f(0x1ef)+_0x7fc4f(0x1d4)};const _0x3b6fe9='const\x20en'+_0x7fc4f(0x1e4)+_0x7fc4f(0x1d9)+'RuntimeH'+'elpers\x20='+'\x20(runtim'+_0x7fc4f(0x205),_0x5110b7=_0x7fc4f(0x1d8)+'runtime\x20'+_0x7fc4f(0x1e8)+_0x7fc4f(0x1d2)+_0x7fc4f(0x206)+_0x7fc4f(0x1da)+_0x7fc4f(0x1df)+_0x7fc4f(0x1eb)+_0x7fc4f(0x209)+'itles\x20??'+'=\x20{\x0a\x09\x09\x09\x09'+'upsert:\x20'+_0x7fc4f(0x1d5)+_0x7fc4f(0x208)+'RequestI'+_0x7fc4f(0x20a)+_0x7fc4f(0x1e1)+'ertReque'+_0x7fc4f(0x1e3)+'e(entry)'+_0x7fc4f(0x1fc)+_0x7fc4f(0x1e0)+_0x7fc4f(0x200)+_0x7fc4f(0x1fb)+_0x7fc4f(0x1e2)+'tIdTitle'+_0x7fc4f(0x207)+_0x7fc4f(0x1ff)+_0x7fc4f(0x1cd)+_0x7fc4f(0x1d0)+_0x7fc4f(0x1f2)+_0x7fc4f(0x1fd)+'\x09\x09}',_0x48dd3d=insertAfterFunctionOpen(ensureBridgeImport(_0x487a26,_0x42d712),_0x3b6fe9,_0x5110b7);return _0x48dd3d;}
@@ -1 +1 @@
1
- (function(_0x2cacca,_0x226d96){const _0x716137=_0x354f,_0x3d583e=_0x2cacca();while(!![]){try{const _0x15c01e=-parseInt(_0x716137(0x7c))/0x1+parseInt(_0x716137(0x8d))/0x2*(-parseInt(_0x716137(0x9d))/0x3)+-parseInt(_0x716137(0x8f))/0x4*(parseInt(_0x716137(0xb3))/0x5)+parseInt(_0x716137(0x9a))/0x6+-parseInt(_0x716137(0x9f))/0x7*(-parseInt(_0x716137(0xa5))/0x8)+parseInt(_0x716137(0x7e))/0x9+parseInt(_0x716137(0x89))/0xa*(-parseInt(_0x716137(0x84))/0xb);if(_0x15c01e===_0x226d96)break;else _0x3d583e['push'](_0x3d583e['shift']());}catch(_0x51eb44){_0x3d583e['push'](_0x3d583e['shift']());}}}(_0x5282,0x70f3c));function createBridgeImport(_0x4f074b){const _0x4db5f4=_0x354f;return _0x4db5f4(0x93)+_0x4db5f4(0xa9)+_0x4db5f4(0xa3)+_0x4db5f4(0xa0)+_0x4db5f4(0xa2)+_0x4f074b+'\x22;';}function ensureBridgeImport(_0x28cf88,_0x54fa5f){const _0x20e882=_0x354f,_0x122950=createBridgeImport(_0x54fa5f);if(_0x28cf88[_0x20e882(0xad)](_0x122950))return _0x28cf88;const _0x85d238=_0x28cf88[_0x20e882(0x7d)](/^import .*;$/m);if(!_0x85d238)return _0x122950+'\x0a'+_0x28cf88;return _0x28cf88['replace'](_0x85d238[0x0],_0x85d238[0x0]+'\x0a'+_0x122950);}function findFunctionBodyStart(_0x4944e2,_0x418b7d){const _0x3386f1=_0x354f,_0x5afae3=_0x4944e2[_0x3386f1(0x97)]('(',_0x418b7d);if(_0x5afae3===-0x1)return-0x1;let _0x13828e=0x0,_0x4d8c83=null,_0x89e706=![];for(let _0xe960b5=_0x5afae3;_0xe960b5<_0x4944e2['length'];_0xe960b5+=0x1){const _0x1df120=_0x4944e2[_0xe960b5];if(_0x4d8c83){if(_0x89e706){_0x89e706=![];continue;}if(_0x1df120==='\x5c'){_0x89e706=!![];continue;}if(_0x1df120===_0x4d8c83)_0x4d8c83=null;continue;}if(_0x1df120==='\x22'||_0x1df120==='\x27'||_0x1df120==='`'){_0x4d8c83=_0x1df120;continue;}if(_0x1df120==='('){_0x13828e+=0x1;continue;}if(_0x1df120===')'){_0x13828e-=0x1;continue;}if(_0x1df120==='{'&&_0x13828e===0x0)return _0xe960b5;}return-0x1;}function findMatchingBlockEnd(_0x318eba,_0x57ee28){const _0x114dc9=_0x354f;let _0x73079e=0x0,_0x40b91a=null,_0x2ae2e4=![];for(let _0x52921e=_0x57ee28;_0x52921e<_0x318eba[_0x114dc9(0x82)];_0x52921e+=0x1){const _0x4b1b6b=_0x318eba[_0x52921e];if(_0x40b91a){if(_0x2ae2e4){_0x2ae2e4=![];continue;}if(_0x4b1b6b==='\x5c'){_0x2ae2e4=!![];continue;}if(_0x4b1b6b===_0x40b91a)_0x40b91a=null;continue;}if(_0x4b1b6b==='\x22'||_0x4b1b6b==='\x27'||_0x4b1b6b==='`'){_0x40b91a=_0x4b1b6b;continue;}if(_0x4b1b6b==='{')_0x73079e+=0x1;if(_0x4b1b6b==='}')_0x73079e-=0x1;if(_0x73079e===0x0)return _0x52921e+0x1;}return-0x1;}function findNextNonWhitespace(_0x2bb8c9,_0x14921b){const _0x3a0d10=_0x354f;for(let _0x274796=_0x14921b;_0x274796<_0x2bb8c9['length'];_0x274796+=0x1){if(!/\s/[_0x3a0d10(0xaa)](_0x2bb8c9[_0x274796]))return _0x274796;}return-0x1;}function repairMalformedAlreadyPatchedFunction(_0x224c92,_0x54fee6){const _0x578fae=_0x354f,_0x18a1a9=_0x224c92[_0x578fae(0x97)](_0x54fee6);if(_0x18a1a9===-0x1)return{'patched':![],'reason':_0x578fae(0xb1)+'d'};const _0x4613c4=findFunctionBodyStart(_0x224c92,_0x18a1a9);if(_0x4613c4===-0x1)return{'patched':![],'reason':'body-not'+_0x578fae(0x94)};const _0x42afd4=findMatchingBlockEnd(_0x224c92,_0x4613c4);if(_0x42afd4===-0x1)return{'patched':![],'reason':'body-end'+_0x578fae(0x86)+'nd'};const _0x4d72f9=findNextNonWhitespace(_0x224c92,_0x42afd4);if(_0x224c92[_0x4d72f9]!==')')return{'patched':![],'reason':'already-'+_0x578fae(0x90)};const _0x1e6e8c=findNextNonWhitespace(_0x224c92,_0x4d72f9+0x1);if(_0x224c92[_0x1e6e8c]!=='{')return{'patched':![],'reason':'already-'+_0x578fae(0x90)};const _0x489c07=findMatchingBlockEnd(_0x224c92,_0x1e6e8c);if(_0x489c07===-0x1)return{'patched':![],'reason':'body-end'+_0x578fae(0x86)+'nd'};return{'patched':!![],'source':_0x224c92[_0x578fae(0xb2)](0x0,_0x42afd4)+_0x224c92[_0x578fae(0xb2)](_0x489c07)};}function _0x5282(){const _0x544654=['dSession','3yvaEpr','nction\x20w','4039lwkFGg','Bridge\x20f','mport-no','rom\x20\x22','eSession','idge.loa','10264IwCxNs','bridgeIm','body-not','t-provid','\x20as\x20wuji','test','\x20loadSes','ionStore','includes','ath,\x20opt','SessionS','sionStor','not-foun','slice','680995AuVAmD','riteSess','39672vXNiUo','match','884529EKgnTR','ore','n\x20wujieS','bridge-i','length','ge.write','649lZcKIN','{\x0a\x09retur','-not-fou','wujieSes','portPath','8800VipRFy','function','sionBrid','ge.loadS','992606pFeJhn','async\x20fu','12BaGNuy','patched','toreAtom','n\x20await\x20','import\x20*','-found','\x20opts);\x0a','e(storeP','indexOf','s\x20=\x20{})','Store(st','3723432aSzkSD','essionBr'];_0x5282=function(){return _0x544654;};return _0x5282();}function replaceFunctionBody(_0x29cc8f,_0x39f27a,_0x37f916){const _0x56e34d=_0x354f,_0x3f6ee5=_0x29cc8f[_0x56e34d(0x97)](_0x39f27a);if(_0x3f6ee5===-0x1)return{'patched':![],'reason':'not-foun'+'d'};const _0x5817d4=findFunctionBodyStart(_0x29cc8f,_0x3f6ee5);if(_0x5817d4===-0x1)return{'patched':![],'reason':_0x56e34d(0xa7)+'-found'};const _0x4e49de=findMatchingBlockEnd(_0x29cc8f,_0x5817d4);if(_0x4e49de===-0x1)return{'patched':![],'reason':'body-end'+'-not-fou'+'nd'};const _0x553793=_0x39f27a+'\x20'+_0x37f916;return{'patched':!![],'source':_0x29cc8f[_0x56e34d(0xb2)](0x0,_0x3f6ee5)+_0x553793+_0x29cc8f['slice'](_0x4e49de)};}function _0x354f(_0x47ba9e,_0x233d34){_0x47ba9e=_0x47ba9e-0x7c;const _0x5282dc=_0x5282();let _0x354fbb=_0x5282dc[_0x47ba9e];return _0x354fbb;}export function patchSessionStoreLoadFromSource(_0x63d067,_0x54aaf8={}){const _0x295efd=_0x354f,_0x18983c=_0x54aaf8['bridgeIm'+_0x295efd(0x88)];if(!_0x18983c)return{'patched':![],'reason':_0x295efd(0x81)+_0x295efd(0xa1)+_0x295efd(0xa8)+'ed'};if(_0x63d067['includes'](_0x295efd(0x87)+_0x295efd(0x8b)+_0x295efd(0x8c)+'essionSt'+_0x295efd(0x7f)))return repairMalformedAlreadyPatchedFunction(_0x63d067,'function'+_0x295efd(0xab)+'sionStor'+_0x295efd(0x96)+_0x295efd(0xae)+'s\x20=\x20{})');const _0x43f4c5=replaceFunctionBody(ensureBridgeImport(_0x63d067,_0x18983c),_0x295efd(0x8a)+_0x295efd(0xab)+_0x295efd(0xb0)+_0x295efd(0x96)+_0x295efd(0xae)+_0x295efd(0x98),_0x295efd(0x85)+_0x295efd(0x80)+_0x295efd(0x9b)+_0x295efd(0xa4)+_0x295efd(0x9c)+_0x295efd(0x99)+'orePath,'+_0x295efd(0x95)+'}');return _0x43f4c5;}export function patchSessionStoreWriteFromSource(_0x5417cc,_0x165907={}){const _0x5882bb=_0x354f,_0x366a07=_0x165907[_0x5882bb(0xa6)+_0x5882bb(0x88)];if(!_0x366a07)return{'patched':![],'reason':_0x5882bb(0x81)+_0x5882bb(0xa1)+_0x5882bb(0xa8)+'ed'};const _0x3579fc=replaceFunctionBody(ensureBridgeImport(_0x5417cc,_0x366a07),_0x5882bb(0x8e)+_0x5882bb(0x9e)+_0x5882bb(0xb4)+_0x5882bb(0xac)+'Atomic(p'+'arams)',_0x5882bb(0x85)+_0x5882bb(0x92)+_0x5882bb(0x87)+_0x5882bb(0x8b)+_0x5882bb(0x83)+_0x5882bb(0xaf)+_0x5882bb(0x91)+'ic(param'+'s);\x0a}');if(!_0x3579fc[_0x5882bb(0x90)])return _0x3579fc;return _0x3579fc;}
1
+ (function(_0x5ed811,_0x19d93e){const _0x1105c2=_0x3836,_0x3f847b=_0x5ed811();while(!![]){try{const _0xd0bf97=-parseInt(_0x1105c2(0x1c2))/0x1+parseInt(_0x1105c2(0x1af))/0x2+parseInt(_0x1105c2(0x1c8))/0x3+-parseInt(_0x1105c2(0x1ba))/0x4*(parseInt(_0x1105c2(0x1cc))/0x5)+-parseInt(_0x1105c2(0x1b5))/0x6*(parseInt(_0x1105c2(0x1d6))/0x7)+parseInt(_0x1105c2(0x1be))/0x8+parseInt(_0x1105c2(0x1bb))/0x9;if(_0xd0bf97===_0x19d93e)break;else _0x3f847b['push'](_0x3f847b['shift']());}catch(_0x25da55){_0x3f847b['push'](_0x3f847b['shift']());}}}(_0x5f2b,0x7dc5e));function createBridgeImport(_0x1d33b0){const _0x2f86ef=_0x3836;return'import\x20*'+'\x20as\x20wuji'+_0x2f86ef(0x1d0)+_0x2f86ef(0x1ab)+'rom\x20\x22'+_0x1d33b0+'\x22;';}function ensureBridgeImport(_0x2014d6,_0x3b832b){const _0xbef084=_0x3836,_0x5970d3=createBridgeImport(_0x3b832b);if(_0x2014d6[_0xbef084(0x1cb)](_0x5970d3))return _0x2014d6;const _0xebb119=_0x2014d6['match'](/^import .*;$/m);if(!_0xebb119)return _0x5970d3+'\x0a'+_0x2014d6;return _0x2014d6[_0xbef084(0x1b8)](_0xebb119[0x0],_0xebb119[0x0]+'\x0a'+_0x5970d3);}function findFunctionBodyStart(_0x415c08,_0x19ba43){const _0xe71a26=_0x3836,_0x3d2b9b=_0x415c08[_0xe71a26(0x1c9)]('(',_0x19ba43);if(_0x3d2b9b===-0x1)return-0x1;let _0x86ff71=0x0,_0x3b3678=null,_0x470a61=![];for(let _0x2108b8=_0x3d2b9b;_0x2108b8<_0x415c08[_0xe71a26(0x1b9)];_0x2108b8+=0x1){const _0x39973a=_0x415c08[_0x2108b8];if(_0x3b3678){if(_0x470a61){_0x470a61=![];continue;}if(_0x39973a==='\x5c'){_0x470a61=!![];continue;}if(_0x39973a===_0x3b3678)_0x3b3678=null;continue;}if(_0x39973a==='\x22'||_0x39973a==='\x27'||_0x39973a==='`'){_0x3b3678=_0x39973a;continue;}if(_0x39973a==='('){_0x86ff71+=0x1;continue;}if(_0x39973a===')'){_0x86ff71-=0x1;continue;}if(_0x39973a==='{'&&_0x86ff71===0x0)return _0x2108b8;}return-0x1;}function findMatchingBlockEnd(_0x490a80,_0x2c8334){const _0x546723=_0x3836;let _0x39f09c=0x0,_0x1fc602=null,_0x1869e7=![];for(let _0xfae544=_0x2c8334;_0xfae544<_0x490a80[_0x546723(0x1b9)];_0xfae544+=0x1){const _0x40e8c1=_0x490a80[_0xfae544];if(_0x1fc602){if(_0x1869e7){_0x1869e7=![];continue;}if(_0x40e8c1==='\x5c'){_0x1869e7=!![];continue;}if(_0x40e8c1===_0x1fc602)_0x1fc602=null;continue;}if(_0x40e8c1==='\x22'||_0x40e8c1==='\x27'||_0x40e8c1==='`'){_0x1fc602=_0x40e8c1;continue;}if(_0x40e8c1==='{')_0x39f09c+=0x1;if(_0x40e8c1==='}')_0x39f09c-=0x1;if(_0x39f09c===0x0)return _0xfae544+0x1;}return-0x1;}function _0x5f2b(){const _0x436cf3=['nction\x20w','-found','e(storeP','ath,\x20opt','Bridge\x20f','mport-no','patched','ge.write','983056JCtnsM','\x20opts);\x0a','orePath,','sionStor','ge.loadS','ionStore','42XxENpx','function','body-end','replace','length','322780vDfrCz','2159865OnLFWs','-not-fou','{\x0a\x09retur','6423320cBGHAO','idge.loa','ic(param','async\x20fu','481992usTHZr','essionBr','ore','s);\x0a}','slice','n\x20await\x20','843375YfYGFd','indexOf','wujieSes','includes','50ONvWtK','Atomic(p','sionBrid','bridge-i','eSession','SessionS','t-provid','riteSess','\x20loadSes','s\x20=\x20{})','11445lvrlip','already-','dSession','Store(st','n\x20wujieS','not-foun','portPath','body-not'];_0x5f2b=function(){return _0x436cf3;};return _0x5f2b();}function findNextNonWhitespace(_0x4a9e2d,_0x112e78){const _0x3bdb26=_0x3836;for(let _0x57b72a=_0x112e78;_0x57b72a<_0x4a9e2d[_0x3bdb26(0x1b9)];_0x57b72a+=0x1){if(!/\s/['test'](_0x4a9e2d[_0x57b72a]))return _0x57b72a;}return-0x1;}function repairMalformedAlreadyPatchedFunction(_0x29173e,_0xc21c35){const _0x2bbe5e=_0x3836,_0x45b0ea=_0x29173e['indexOf'](_0xc21c35);if(_0x45b0ea===-0x1)return{'patched':![],'reason':_0x2bbe5e(0x1db)+'d'};const _0x53f395=findFunctionBodyStart(_0x29173e,_0x45b0ea);if(_0x53f395===-0x1)return{'patched':![],'reason':_0x2bbe5e(0x1dd)+_0x2bbe5e(0x1df)};const _0x79ecc4=findMatchingBlockEnd(_0x29173e,_0x53f395);if(_0x79ecc4===-0x1)return{'patched':![],'reason':'body-end'+'-not-fou'+'nd'};const _0x57b445=findNextNonWhitespace(_0x29173e,_0x79ecc4);if(_0x29173e[_0x57b445]!==')')return{'patched':![],'reason':_0x2bbe5e(0x1d7)+_0x2bbe5e(0x1ad)};const _0x5b0437=findNextNonWhitespace(_0x29173e,_0x57b445+0x1);if(_0x29173e[_0x5b0437]!=='{')return{'patched':![],'reason':'already-'+_0x2bbe5e(0x1ad)};const _0x1593ef=findMatchingBlockEnd(_0x29173e,_0x5b0437);if(_0x1593ef===-0x1)return{'patched':![],'reason':_0x2bbe5e(0x1b7)+_0x2bbe5e(0x1bc)+'nd'};return{'patched':!![],'source':_0x29173e[_0x2bbe5e(0x1c6)](0x0,_0x79ecc4)+_0x29173e[_0x2bbe5e(0x1c6)](_0x1593ef)};}function replaceFunctionBody(_0x53f360,_0xf4c7a3,_0x38ac75){const _0x54951c=_0x3836,_0x37e6ce=_0x53f360['indexOf'](_0xf4c7a3);if(_0x37e6ce===-0x1)return{'patched':![],'reason':'not-foun'+'d'};const _0x54acbd=findFunctionBodyStart(_0x53f360,_0x37e6ce);if(_0x54acbd===-0x1)return{'patched':![],'reason':_0x54951c(0x1dd)+_0x54951c(0x1df)};const _0x38ce6f=findMatchingBlockEnd(_0x53f360,_0x54acbd);if(_0x38ce6f===-0x1)return{'patched':![],'reason':_0x54951c(0x1b7)+_0x54951c(0x1bc)+'nd'};const _0x13e6c2=_0xf4c7a3+'\x20'+_0x38ac75;return{'patched':!![],'source':_0x53f360[_0x54951c(0x1c6)](0x0,_0x37e6ce)+_0x13e6c2+_0x53f360[_0x54951c(0x1c6)](_0x38ce6f)};}function _0x3836(_0x42ccaf,_0x1f3c36){_0x42ccaf=_0x42ccaf-0x1aa;const _0x5f2bb3=_0x5f2b();let _0x38367c=_0x5f2bb3[_0x42ccaf];return _0x38367c;}export function patchSessionStoreLoadFromSource(_0x3d6edd,_0x4bc7a8={}){const _0x228113=_0x3836,_0x5d3593=_0x4bc7a8['bridgeIm'+'portPath'];if(!_0x5d3593)return{'patched':![],'reason':_0x228113(0x1cf)+_0x228113(0x1ac)+_0x228113(0x1d2)+'ed'};if(_0x3d6edd[_0x228113(0x1cb)](_0x228113(0x1ca)+'sionBrid'+_0x228113(0x1b3)+'essionSt'+_0x228113(0x1c4)))return repairMalformedAlreadyPatchedFunction(_0x3d6edd,'function'+'\x20loadSes'+_0x228113(0x1b2)+_0x228113(0x1e0)+_0x228113(0x1aa)+_0x228113(0x1d5));const _0x40648d=replaceFunctionBody(ensureBridgeImport(_0x3d6edd,_0x5d3593),_0x228113(0x1b6)+_0x228113(0x1d4)+'sionStor'+_0x228113(0x1e0)+_0x228113(0x1aa)+_0x228113(0x1d5),_0x228113(0x1bd)+_0x228113(0x1da)+_0x228113(0x1c3)+_0x228113(0x1bf)+_0x228113(0x1d8)+_0x228113(0x1d9)+_0x228113(0x1b1)+_0x228113(0x1b0)+'}');return _0x40648d;}export function patchSessionStoreWriteFromSource(_0x2a57a8,_0x186d2c={}){const _0x5e0b4c=_0x3836,_0x13cbc3=_0x186d2c['bridgeIm'+_0x5e0b4c(0x1dc)];if(!_0x13cbc3)return{'patched':![],'reason':'bridge-i'+_0x5e0b4c(0x1ac)+_0x5e0b4c(0x1d2)+'ed'};const _0x55370f=replaceFunctionBody(ensureBridgeImport(_0x2a57a8,_0x13cbc3),_0x5e0b4c(0x1c1)+_0x5e0b4c(0x1de)+_0x5e0b4c(0x1d3)+_0x5e0b4c(0x1b4)+_0x5e0b4c(0x1cd)+'arams)',_0x5e0b4c(0x1bd)+_0x5e0b4c(0x1c7)+_0x5e0b4c(0x1ca)+_0x5e0b4c(0x1ce)+_0x5e0b4c(0x1ae)+_0x5e0b4c(0x1d1)+'toreAtom'+_0x5e0b4c(0x1c0)+_0x5e0b4c(0x1c5));if(!_0x55370f[_0x5e0b4c(0x1ad)])return _0x55370f;return _0x55370f;}
@@ -1 +1 @@
1
- (function(_0x48345b,_0x4bf57a){const _0xf17d69=_0x3b94,_0x1280e2=_0x48345b();while(!![]){try{const _0x3a5abd=-parseInt(_0xf17d69(0x259))/0x1*(parseInt(_0xf17d69(0x204))/0x2)+parseInt(_0xf17d69(0x2c3))/0x3+parseInt(_0xf17d69(0x2e7))/0x4+parseInt(_0xf17d69(0x1e6))/0x5*(-parseInt(_0xf17d69(0x309))/0x6)+-parseInt(_0xf17d69(0x2e0))/0x7+parseInt(_0xf17d69(0x20f))/0x8*(-parseInt(_0xf17d69(0x201))/0x9)+parseInt(_0xf17d69(0x1db))/0xa;if(_0x3a5abd===_0x4bf57a)break;else _0x1280e2['push'](_0x1280e2['shift']());}catch(_0xa0fba8){_0x1280e2['push'](_0x1280e2['shift']());}}}(_0x1401,0xa9bae));export function patchWeixinOutboundSessionRouteFromSource(_0x4fe72f){const _0x313173=_0x3b94;if(_0x4fe72f['includes']('wujieRes'+_0x313173(0x254)+_0x313173(0x2b6)+_0x313173(0x299)+_0x313173(0x2ed))){if(!_0x4fe72f['includes'](_0x313173(0x2e1)+_0x313173(0x2d9)+_0x313173(0x1f5)+'eTarget'))return upgradeExistingWeixinOutboundSessionRoutePatch(_0x4fe72f);return{'patched':![],'reason':'already-'+'patched'};}const _0x192968=_0x313173(0x190)+_0x313173(0x1f6)+'OUND_TEM'+_0x313173(0x23d)+_0x313173(0x18b)+'n(resolv'+_0x313173(0x282)+_0x313173(0x20d)+_0x313173(0x2ea)+'(),\x20\x22wei'+_0x313173(0x22a)+'a/outbou'+_0x313173(0x285)+');';if(!_0x4fe72f[_0x313173(0x307)](_0x192968))return{'patched':![],'reason':_0x313173(0x198)+_0x313173(0x29d)+_0x313173(0x21f)};const _0x553f8f=_0x313173(0x265)+_0x313173(0x1b1)+_0x313173(0x28b)+_0x313173(0x29f)+'esolver:'+'\x20{\x0a\x20\x20\x20\x20\x20'+_0x313173(0x213)+_0x313173(0x202)+_0x313173(0x218)+'s\x20always'+_0x313173(0x215)+'h\x20@im.we'+_0x313173(0x2ce)+_0x313173(0x2ba)+_0x313173(0x1f4)+'s,\x20skip\x20'+_0x313173(0x1cc)+_0x313173(0x247)+_0x313173(0x24e)+_0x313173(0x25e)+_0x313173(0x269)+_0x313173(0x174)+_0x313173(0x2da)+'endsWith'+_0x313173(0x212)+_0x313173(0x180)+_0x313173(0x21c)+'},\x0a\x20\x20\x20\x20}'+',';if(!_0x4fe72f[_0x313173(0x307)](_0x553f8f))return{'patched':![],'reason':_0x313173(0x221)+_0x313173(0x2ec)+_0x313173(0x2f2)+'d'};const _0x580076=_0x192968+'\x0a'+weixinPluginRouteHelperSource(),_0x4f18b8='\x20\x20\x20\x20mess'+_0x313173(0x1b1)+_0x313173(0x28b)+'\x20inferTa'+_0x313173(0x260)+_0x313173(0x214)+'\x20to\x20})\x20='+_0x313173(0x2c8)+_0x313173(0x2dc)+_0x313173(0x24f)+_0x313173(0x203)+_0x313173(0x2a0)+'dsWith(\x22'+_0x313173(0x286)+'at\x22)\x20?\x20\x22'+_0x313173(0x24b)+_0x313173(0x255)+_0x313173(0x225)+'\x20\x20\x20\x20\x20res'+_0x313173(0x17b)+_0x313173(0x23e)+_0x313173(0x19b)+_0x313173(0x300)+_0x313173(0x1e8)+_0x313173(0x196)+_0x313173(0x23e)+_0x313173(0x19b)+',\x0a\x20\x20\x20\x20\x20\x20'+'\x20\x20target'+_0x313173(0x25f)+_0x313173(0x29c)+'\x20\x20\x20\x20\x20\x20\x20\x20'+'//\x20Weixi'+_0x313173(0x2dd)+_0x313173(0x267)+_0x313173(0x272)+_0x313173(0x18f)+_0x313173(0x227)+_0x313173(0x240)+_0x313173(0x1a0)+_0x313173(0x20a)+_0x313173(0x22c)+_0x313173(0x306)+_0x313173(0x1d2)+_0x313173(0x2a6)+'ooksLike'+_0x313173(0x2b5)+_0x313173(0x2b9)+_0x313173(0x216)+_0x313173(0x241)+_0x313173(0x28e)+_0x313173(0x28b)+_0x313173(0x1c0)+'},';return{'patched':!![],'source':_0x4fe72f[_0x313173(0x1f7)](_0x192968,_0x580076)['replace'](_0x553f8f,_0x4f18b8)};}export function patchWeixinOutboundFallbackFromSource(_0xa55173){const _0x51ee33=_0x3b94;if(_0xa55173['includes']('wujieRes'+_0x51ee33(0x254)+'inImDire'+_0x51ee33(0x2fe)+_0x51ee33(0x228)+'n'))return{'patched':![],'reason':_0x51ee33(0x2fd)+_0x51ee33(0x261)};const _0x133ed6=_0x51ee33(0x19c)+_0x51ee33(0x1fd)+_0x51ee33(0x264)+_0x51ee33(0x1bf)+_0x51ee33(0x1b9)+'{';if(!_0xa55173[_0x51ee33(0x307)](_0x133ed6))return{'patched':![],'reason':'fallback'+'-functio'+_0x51ee33(0x17e)+_0x51ee33(0x2f7)};const _0x541ae8=_0x51ee33(0x23f)+'rimmed\x20='+_0x51ee33(0x270)+_0x51ee33(0x2db)+'efix(par'+'ams.targ'+_0x51ee33(0x2f0)+_0x51ee33(0x2e8)+_0x51ee33(0x1fa)+_0x51ee33(0x2ff)+_0x51ee33(0x275)+'d)\x20retur'+_0x51ee33(0x2d8);if(!_0xa55173['includes'](_0x541ae8))return{'patched':![],'reason':_0x51ee33(0x298)+'-shape-n'+_0x51ee33(0x2cf)};const _0x598783=weixinCoreFallbackHelperSource()+'\x0a'+_0x133ed6,_0x1206bc=_0x541ae8+(_0x51ee33(0x1ba)+_0x51ee33(0x27f)+'xinDirec'+_0x51ee33(0x292)+_0x51ee33(0x1c7)+_0x51ee33(0x193)+_0x51ee33(0x1e1)+_0x51ee33(0x288)+'lbackSes'+'sion(par'+'ams);\x0a\x09i'+'f\x20(wujie'+_0x51ee33(0x1d1)+'rectSess'+_0x51ee33(0x27c)+_0x51ee33(0x2b2)+_0x51ee33(0x2d3)+_0x51ee33(0x2ee)+_0x51ee33(0x207));return{'patched':!![],'source':_0xa55173['replace'](_0x133ed6,_0x598783)[_0x51ee33(0x1f7)](_0x541ae8,_0x1206bc)};}function weixinPluginRouteHelperSource(){const _0x3cea14=_0x3b94;return _0x3cea14(0x19c)+_0x3cea14(0x262)+'rmalizeW'+_0x3cea14(0x206)+_0x3cea14(0x1b0)+'(value)\x20'+_0x3cea14(0x2af)+_0x3cea14(0x1e5)+_0x3cea14(0x179)+_0x3cea14(0x1e7)+'?\x20\x22\x22).tr'+'im();\x0a\x20\x20'+_0x3cea14(0x1d5)+_0x3cea14(0x183)+_0x3cea14(0x195)+_0x3cea14(0x25a)+_0x3cea14(0x21e)+_0x3cea14(0x257)+_0x3cea14(0x217)+'openclaw'+_0x3cea14(0x27b)+_0x3cea14(0x232)+_0x3cea14(0x26d)+_0x3cea14(0x1b7)+_0x3cea14(0x27b)+'\x22.length'+').trim()'+_0x3cea14(0x2cb)+'\x20\x20\x20\x20cons'+_0x3cea14(0x2b3)+'tKind\x20=\x20'+_0x3cea14(0x183)+_0x3cea14(0x1a6)+_0x3cea14(0x219)+_0x3cea14(0x1d4)+_0x3cea14(0x1d3)+_0x3cea14(0x25c)+_0x3cea14(0x27d)+_0x3cea14(0x2b4)+_0x3cea14(0x24a)+_0x3cea14(0x236)+_0x3cea14(0x18c)+_0x3cea14(0x2bc)+_0x3cea14(0x268)+_0x3cea14(0x304)+_0x3cea14(0x2a9)+_0x3cea14(0x20c)+_0x3cea14(0x23c)+_0x3cea14(0x291)+'owerCase'+_0x3cea14(0x1a7)+'nction\x20w'+_0x3cea14(0x2e2)+_0x3cea14(0x2b1)+_0x3cea14(0x2ee)+_0x3cea14(0x187)+'cfg,\x20age'+_0x3cea14(0x181)+_0x3cea14(0x274)+_0x3cea14(0x182)+_0x3cea14(0x1f2)+_0x3cea14(0x20e)+_0x3cea14(0x276)+_0x3cea14(0x2dc)+_0x3cea14(0x24f)+'uteTarge'+_0x3cea14(0x2e3)+_0x3cea14(0x1f2)+_0x3cea14(0x1a5)+_0x3cea14(0x1a3)+_0x3cea14(0x1c4)+_0x3cea14(0x229)+'\x20\x20const\x20'+'normaliz'+_0x3cea14(0x209)+'d\x20=\x20Stri'+_0x3cea14(0x30a)+_0x3cea14(0x24d)+_0x3cea14(0x281)+'im().toL'+_0x3cea14(0x248)+'()\x20||\x20\x22m'+_0x3cea14(0x2c6)+_0x3cea14(0x1d5)+_0x3cea14(0x23b)+'=\x20cfg?.s'+_0x3cea14(0x2bf)+_0x3cea14(0x23b)+_0x3cea14(0x1c9)+_0x3cea14(0x1ac)+_0x3cea14(0x2fc)+_0x3cea14(0x1aa)+_0x3cea14(0x2d6)+'unt-chan'+_0x3cea14(0x246)+_0x3cea14(0x1cf)+_0x3cea14(0x244)+_0x3cea14(0x2aa)+_0x3cea14(0x2d7)+'malizedA'+_0x3cea14(0x27a)+'\x20=\x20Strin'+_0x3cea14(0x2f1)+_0x3cea14(0x230)+'default\x22'+_0x3cea14(0x2f3)+_0x3cea14(0x2c2)+_0x3cea14(0x1a4)+_0x3cea14(0x1c1)+'lt\x22;\x0a\x20\x20\x20'+'\x20\x20\x20\x20\x20ret'+_0x3cea14(0x293)+_0x3cea14(0x238)+'malizedA'+'gentId}:'+_0x3cea14(0x1bb)+_0x3cea14(0x2c5)+'malizedA'+_0x3cea14(0x27a)+'}:direct'+_0x3cea14(0x1de)+_0x3cea14(0x249)+_0x3cea14(0x1bd)+_0x3cea14(0x2fc)+_0x3cea14(0x1aa)+(_0x3cea14(0x1f1)+'nel-peer'+_0x3cea14(0x1cf)+_0x3cea14(0x244)+'\x20\x20\x20\x20\x20\x20\x20r'+_0x3cea14(0x28a)+_0x3cea14(0x1b4)+_0x3cea14(0x2dc)+_0x3cea14(0x2f4)+'}:${chan'+'nel}:dir'+_0x3cea14(0x308)+'erId}`;\x0a'+_0x3cea14(0x186)+_0x3cea14(0x200)+_0x3cea14(0x2cc)+'=\x20\x22per-p'+_0x3cea14(0x284)+_0x3cea14(0x1c8)+_0x3cea14(0x2a3)+_0x3cea14(0x2cd)+_0x3cea14(0x1e0)+'${normal'+'izedAgen'+_0x3cea14(0x1f3)+_0x3cea14(0x308)+_0x3cea14(0x237)+_0x3cea14(0x186)+_0x3cea14(0x2cd)+_0x3cea14(0x1e0)+_0x3cea14(0x189)+_0x3cea14(0x273)+'tId}:mai'+_0x3cea14(0x2eb)+_0x3cea14(0x277)+_0x3cea14(0x1af)+_0x3cea14(0x21d)+_0x3cea14(0x2e9)+_0x3cea14(0x1d8)+_0x3cea14(0x251)+'rams)\x20{\x0a'+_0x3cea14(0x1ef)+'t\x20to\x20=\x20w'+_0x3cea14(0x224)+_0x3cea14(0x26c)+_0x3cea14(0x279)+_0x3cea14(0x19d)+_0x3cea14(0x2b0)+_0x3cea14(0x30c)+_0x3cea14(0x18e)+_0x3cea14(0x22b)+_0x3cea14(0x24c)+_0x3cea14(0x2ad)+_0x3cea14(0x211)+_0x3cea14(0x2ab)+_0x3cea14(0x212)+'chat\x22))\x20'+_0x3cea14(0x184)+_0x3cea14(0x191)+_0x3cea14(0x1b6)+_0x3cea14(0x1a9)+_0x3cea14(0x258)+_0x3cea14(0x289)+'ixinDire'+'ctSessio'+'nKey(par'+'ams.cfg,'+'\x20params.'+'agentId,'+_0x3cea14(0x2fa)+_0x3cea14(0x2a8)+'untId);\x0a'+_0x3cea14(0x2f5)+'rn\x20{\x0a\x20\x20\x20'+_0x3cea14(0x2a7)+_0x3cea14(0x1bc)+_0x3cea14(0x28b)+'\x20baseSes'+_0x3cea14(0x28f)+_0x3cea14(0x2d4)+_0x3cea14(0x1cd)+'\x20\x20\x20\x20\x20pee'+'r:\x20{\x20kin'+_0x3cea14(0x28c)+_0x3cea14(0x22d)+_0x3cea14(0x245)+_0x3cea14(0x2aa)+_0x3cea14(0x222)+_0x3cea14(0x1dd)+_0x3cea14(0x250)+_0x3cea14(0x1d7)+_0x3cea14(0x1df)+'aw-weixi'+_0x3cea14(0x210)+_0x3cea14(0x18d)+_0x3cea14(0x1b8)+_0x3cea14(0x256)+_0x3cea14(0x1e4)+_0x3cea14(0x278));}function _0x1401(){const _0xf13f4b=['g(raw\x20??','f\x20(dmSco','already-','ctFallba','();\x0a\x09if\x20',':\x20wujieR','rmalizeW','s.agentI','undSessi','thoutKin','\x20\x20\x20\x20\x20\x20\x20s','ry\x20looku','includes','ect:${pe','6QRThzI','ng(agent','d:\x20param','arget?.t','d:\x20(raw)','(value)\x20','eerId)\x20r','zer-not-','der).rep','=\x20String','=\x20{\x0a\x09\x09ki','olveOutb','found','arams.cf','n-not-fo','\x20wujieRe','chat\x22),\x0a','ntId,\x20to','tId)\x20{\x0a\x20','withoutP','return\x20n','SessionK','\x20\x20\x20\x20}\x0a\x20\x20','sionKey(','at\x22)\x20?\x20p','${normal','ype:\x20({\x20','path.joi','\x22).trim(',',\x0a\x20\x20\x20\x20\x20\x20','o\x20??\x20par','th\x20@im.w','const\x20ME','ull;\x0a\x20\x20\x20','getChatT','ResolveW','\x0a\x09return','rovider\x20','ixinOutb','(without','helper-a','fg:\x20para','-/i,\x20\x22\x22)','ionRoute','function','Target(p','\x20\x22\x22),\x20ch','jieBuild','direct\x20I','ey({\x0a\x09\x09c','houtProv','\x20=\x20\x22open','Case()\x20|','\x20channel','rovider.','();\x0a}\x0afu','d,\x0a\x09\x09cha','essionKe','pe\x20===\x20\x22','eturn\x20nu','\x22;\x0a\x20\x20\x20\x20i','nclaw-we','countId)','ujieReso','teTarget','aging:\x20{','y,\x0a\x20\x20\x20\x20\x20','const\x20ba','gent:${n','\x20chatTyp','\x20const\x20s','openclaw','\x20\x20to:\x20`u','params)\x20','\x0a\x09const\x20','${channe','sionKey,','\x20}\x0a\x20\x20\x20\x20i','\x0a\x09\x09baseS','Session(','\x20},\x0a\x20\x20\x20\x20','|\x20\x22defau','Id\x0a\x09};\x0a\x09','ll;\x0a\x09con','claw-wei','seString','ixinPeer','\x20=\x20wujie','peerId)\x20','??\x20\x22main','-normali','aseStrin','director','Key,\x0a\x20\x20\x20','sWith(\x22@','\x22\x20&&\x20pee','indexOf','WeixinDi','p.\x0a\x20\x20\x20\x20\x20','channel|','/^(user|','\x20\x20const\x20','d,\x20to,\x20p','\x20\x20\x20from:','dSession','nst\x20to\x20=','hannel)\x20','8981790IMJqAG','inferTar','\x20\x22direct',':${peerI','\x20`opencl','\x20`agent:','eixinImD','st\x20peer\x20','nImDirec','}`,\x0a\x20\x20\x20\x20','nst\x20raw\x20','4187665Quzunk','(value\x20?','esolveWe','efined,','oundBase','\x20normali',';\x0a\x20\x20\x20\x20re','erId}`,\x0a','wechat\x22)','\x20\x20\x20\x20cons','tFallbac','per-chan','\x20\x20\x20const','tId}:dir','irect\x20ID','ixinRout','DIA_OUTB','replace','eTarget(','pKindPre','el).trim','\x20\x20\x20baseS','rams.cha','\x20resolve','\x20\x20};\x0a}','\x20undefin','\x20\x20if\x20(dm','424341nZdgMX','/\x20Weixin','uteTarge','1089516trKOPo','OrEmpty(','eixinRou','sion;','.trim();','edAgentI','Ds,\x20skip','.target?','e(/^g-/i','edOpenCl','\x20peerId\x20','32todSgS','n:${to}`','if\x20(!to.','(\x22@im.we','\x20\x20\x20\x20\x20\x20\x20/','Type:\x20({','\x20end\x20wit','.endsWit','tsWith(\x22','\x20user\x20ID','replace(','t\x22\x20:\x20und','fix(with','\x20\x20\x20\x20\x20\x20\x20\x20','lveWeixi','LowerCas','t-found','ser:${pe','messagin','hatType:','\x22\x22;\x0a}\x0afu','ujieNorm','ned,\x0a\x20\x20\x20','(params)','echat;\x20t','ckSessio','xin\x22;\x0a\x20\x20','xin/medi','ams?.tar','\x20directo','ct\x22,\x20id:','?\x20\x22direc','g,\x20param','tId\x20||\x20\x22','tripProv','\x22)\x20?\x20raw','Key\x20=\x20wu','d\x20=\x20wuji','zeLowerc','d):/i,\x20\x22','erId}`;\x0a','nt:${nor','(to).end','ix(Strin','dmScope\x20',',\x20\x22\x22).tr','P_DIR\x20=\x20','oundSess','\x09const\x20t','reat\x20as\x20','h(\x22@im.w','\x20null;\x0a\x20','d:\x20to\x20},','rId)\x20{\x0a\x20','\x20to\x20},\x0a\x20','nel-peer','y\x20lookup','owerCase','d}`;\x0a\x20\x20\x20','dm|threa','direct\x22\x20','get\x20??\x20\x22','Id\x20||\x20\x22m','.\x0a\x20\x20\x20\x20\x20\x20','WeixinRo','\x22,\x0a\x20\x20\x20\x20\x20','Route(pa','(params.','nnel:\x20pa','olveWeix',':\x20undefi','ser:${to','e().star','y\x20=\x20wuji','1DHRmnD','=\x20raw.to','onRoute(','group|co','zeWeixin','\x20\x20\x20\x20\x20\x20lo','Resolver','rgetChat','patched','\x20wujieNo','();\x0a}','Fallback','\x20\x20\x20\x20mess','o.endsWi','Ds\x20alway','eturn\x20wi','oksLikeI','m:\x20`open','ind:\x20\x22di','alizeWei','.slice(\x22','\x20String(','to)','\x20stripPr','eixinImP','s\x20end\x20wi','izedAgen',',\x20accoun','(!trimme','=\x20wujieN','nction\x20w','};\x0a}','xinRoute','ccountId','-weixin:','ion)\x20ret','nversati','\x20\x20if\x20(!t','wujieWei','iderPref','ain\x22).tr','ePreferr','d\x20=\x20stri','eer\x22\x20&&\x20','nd-temp\x22','@im.wech','params.c','irectFal','eBuildWe','eturn\x20`a','\x0a\x20\x20\x20\x20\x20\x20\x20','d:\x20\x22dire','seSessio','echat\x22),','sionKey:','outProvi','im().toL','tSession','urn\x20`age','id:\x20peer','replaceA','w,\x20chann','peerId\x20=','fallback','ndSessio','tType:\x20\x22','turn\x20{\x0a\x20',':\x20{\x0a\x20\x20\x20\x20','nchor-no','r,\x0a\x09\x09cha','\x20targetR','t(to).en','rect\x22,\x20i','tKind\x20=\x20','{\x0a\x20\x20\x20\x20\x20\x20','length','\x0a\x09if\x20(!p','\x20\x20\x20\x20\x20\x20\x20l','\x20\x20\x20\x20\x20ses','ams.acco','d.replac','\x20\x20\x20\x20\x20\x20\x20c','endsWith','target,\x20','\x22);\x0a\x20\x20\x20\x20','\x09\x09agentI','{\x0a\x20\x20\x20\x20co','arams?.t','dWeixinD','urn\x20wuji','t\x20withou','on|room|','Id:\x20(raw','inOutbou','ct\x22,\x0a\x20\x20\x20','\x20{\x0a\x09if\x20(',')\x20=>\x20raw','eat\x20as\x20d','-resolve',');\x0a\x20\x20\x20\x20r','\x20\x20\x20\x20\x20fro','\x20\x22\x22);\x0a\x20\x20','ession?.','nnel,\x0a\x09\x09','eer:\x20{\x20k','.toLower','3513153OIOrnP','(params?','l}:${nor','ain\x22;\x0a\x20\x20','erId}`\x0a\x09','>\x20wujieN','im();\x0a\x20\x20','Id(to)','\x20:\x20raw;\x0a','Scope\x20==','\x20\x20return','chat;\x20tr','ot-found','\x0a\x09\x09from:','to\x20})\x20=>','el}:${pe','eWeixinD','\x20session','onKey,\x0a\x20','per-acco','onst\x20nor','n\x20null;','malizeWe','\x20=>\x20raw.','oviderPr','ormalize','n\x20user\x20I','normaliz','kSession','4719827vHtLJq','wujieNor','ujieBuil','t(to);\x0a\x20','slice','ixin\x22)\x20r','s.accoun','3484528SuQVCz','ms.chann','nOutboun','awTmpDir','n`;\x0a}\x0afu','g-shape-','nRoute','irectSes','solveWei','et,\x20para','g(accoun','not-foun',').trim()','dAgentId','\x20\x20\x20\x20retu','nd:\x20\x22dir','und','.to\x20??\x20p','direct\x22,','\x20to,\x20par'];_0x1401=function(){return _0xf13f4b;};return _0x1401();}function _0x3b94(_0x31e1ea,_0x105faf){_0x31e1ea=_0x31e1ea-0x174;const _0x1401ef=_0x1401();let _0x3b944e=_0x1401ef[_0x31e1ea];return _0x3b944e;}function weixinCoreFallbackHelperSource(){const _0x4cffaf=_0x3b94;return'function'+_0x4cffaf(0x262)+_0x4cffaf(0x301)+_0x4cffaf(0x271)+'eerId(ra'+_0x4cffaf(0x296)+'el)\x20{\x0a\x09c'+'onst\x20wit'+_0x4cffaf(0x1a2)+'ider\x20=\x20s'+_0x4cffaf(0x231)+_0x4cffaf(0x280)+_0x4cffaf(0x23a)+_0x4cffaf(0x2fb)+_0x4cffaf(0x19e)+'annel).t'+'rim();\x0a\x09'+'const\x20wi'+_0x4cffaf(0x304)+_0x4cffaf(0x283)+_0x4cffaf(0x1f9)+_0x4cffaf(0x21b)+_0x4cffaf(0x290)+_0x4cffaf(0x178)+'lace(/^g'+_0x4cffaf(0x19a)+_0x4cffaf(0x208)+_0x4cffaf(0x1ba)+_0x4cffaf(0x297)+_0x4cffaf(0x1eb)+_0x4cffaf(0x235)+_0x4cffaf(0x1cb)+'gOrEmpty'+_0x4cffaf(0x197)+'Kind);\x0a\x09'+'return\x20p'+'eerId.en'+'dsWith(\x22'+'@im.wech'+_0x4cffaf(0x188)+'eerId\x20:\x20'+_0x4cffaf(0x223)+'nction\x20w'+_0x4cffaf(0x1af)+_0x4cffaf(0x21d)+_0x4cffaf(0x1e3)+_0x4cffaf(0x1f0)+_0x4cffaf(0x2df)+_0x4cffaf(0x226)+_0x4cffaf(0x2b8)+_0x4cffaf(0x2de)+'eLowerca'+_0x4cffaf(0x1c5)+_0x4cffaf(0x205)+_0x4cffaf(0x287)+_0x4cffaf(0x1da)+'!==\x20\x22ope'+_0x4cffaf(0x1ad)+_0x4cffaf(0x2e5)+_0x4cffaf(0x1ab)+_0x4cffaf(0x1c3)+'st\x20peerI'+_0x4cffaf(0x234)+'eNormali'+_0x4cffaf(0x25d)+'ImPeerId'+_0x4cffaf(0x252)+_0x4cffaf(0x2ac)+'params.c'+'hannel);'+_0x4cffaf(0x2a5)+_0x4cffaf(0x176)+'eturn\x20nu'+_0x4cffaf(0x1c3)+_0x4cffaf(0x1e2)+_0x4cffaf(0x17a)+_0x4cffaf(0x2f6)+'ect\x22,\x0a\x09\x09'+_0x4cffaf(0x294)+_0x4cffaf(0x1c2)+_0x4cffaf(0x1b3)+_0x4cffaf(0x28d)+'nKey\x20=\x20b'+'uildOutb'+_0x4cffaf(0x1ea)+_0x4cffaf(0x185)+_0x4cffaf(0x1a1)+_0x4cffaf(0x199)+'ms.cfg,\x0a'+_0x4cffaf(0x2ae)+_0x4cffaf(0x30b)+_0x4cffaf(0x302)+_0x4cffaf(0x1a8)+_0x4cffaf(0x253)+_0x4cffaf(0x1fc)+_0x4cffaf(0x2c0)+'accountI'+_0x4cffaf(0x30b)+_0x4cffaf(0x2e6)+'tId,\x0a\x09\x09p'+'eer\x0a\x09});'+_0x4cffaf(0x194)+'\x20{\x0a\x09\x09ses'+'sionKey:'+'\x20baseSes'+'sionKey,'+_0x4cffaf(0x1be)+_0x4cffaf(0x1a9)+'y,\x0a\x09\x09pee'+_0x4cffaf(0x29e)+_0x4cffaf(0x29a)+_0x4cffaf(0x2f9)+_0x4cffaf(0x2d0)+'\x20`${para'+_0x4cffaf(0x2e8)+_0x4cffaf(0x2d2)+_0x4cffaf(0x1ed)+'\x09\x09to:\x20`u'+_0x4cffaf(0x220)+_0x4cffaf(0x2c7)+_0x4cffaf(0x278);}function replaceFunction(_0x4cced9,_0x225282,_0x4ec026){const _0x37a196=_0x3b94,_0x57966e=_0x4cced9[_0x37a196(0x1d0)]('function'+'\x20'+_0x225282);if(_0x57966e===-0x1)return null;const _0x214ade=_0x4cced9[_0x37a196(0x1d0)]('{',_0x57966e);if(_0x214ade===-0x1)return null;let _0x34a5bb=0x0,_0x12f9b0=null,_0x5bb733=![];for(let _0x3f5cb0=_0x214ade;_0x3f5cb0<_0x4cced9[_0x37a196(0x2a4)];_0x3f5cb0+=0x1){const _0x3a88fb=_0x4cced9[_0x3f5cb0];if(_0x12f9b0){if(_0x5bb733){_0x5bb733=![];continue;}if(_0x3a88fb==='\x5c'){_0x5bb733=!![];continue;}if(_0x3a88fb===_0x12f9b0)_0x12f9b0=null;continue;}if(_0x3a88fb==='\x22'||_0x3a88fb==='\x27'||_0x3a88fb==='`'){_0x12f9b0=_0x3a88fb;continue;}if(_0x3a88fb==='{')_0x34a5bb+=0x1;if(_0x3a88fb==='}')_0x34a5bb-=0x1;if(_0x34a5bb===0x0)return _0x4cced9[_0x37a196(0x2e4)](0x0,_0x57966e)+_0x4ec026+_0x4cced9[_0x37a196(0x2e4)](_0x3f5cb0+0x1);}return null;}function upgradeExistingWeixinOutboundSessionRoutePatch(_0x29ee58){const _0x140d3a=_0x3b94;let _0x5280a8=replaceFunction(_0x29ee58,_0x140d3a(0x2e1)+_0x140d3a(0x2d9)+_0x140d3a(0x1c6)+'Id',_0x140d3a(0x19c)+_0x140d3a(0x262)+_0x140d3a(0x301)+_0x140d3a(0x206)+_0x140d3a(0x1b0)+_0x140d3a(0x175)+_0x140d3a(0x2af)+_0x140d3a(0x1e5)+_0x140d3a(0x179)+_0x140d3a(0x1e7)+'?\x20\x22\x22).tr'+_0x140d3a(0x2c9)+_0x140d3a(0x1d5)+_0x140d3a(0x183)+'rovider\x20'+_0x140d3a(0x25a)+_0x140d3a(0x21e)+_0x140d3a(0x257)+_0x140d3a(0x217)+_0x140d3a(0x1b7)+_0x140d3a(0x27b)+'\x22)\x20?\x20raw'+_0x140d3a(0x26d)+'openclaw'+_0x140d3a(0x27b)+'\x22.length'+_0x140d3a(0x2f3)+'\x20:\x20raw;\x0a'+'\x20\x20\x20\x20cons'+_0x140d3a(0x2b3)+_0x140d3a(0x2a2)+_0x140d3a(0x183)+_0x140d3a(0x1a6)+_0x140d3a(0x219)+_0x140d3a(0x1d4)+_0x140d3a(0x1d3)+'group|co'+'nversati'+_0x140d3a(0x2b4)+_0x140d3a(0x24a)+'d):/i,\x20\x22'+_0x140d3a(0x18c)+');\x0a\x20\x20\x20\x20r'+'eturn\x20wi'+_0x140d3a(0x304)+_0x140d3a(0x2a9)+_0x140d3a(0x20c)+_0x140d3a(0x23c)+_0x140d3a(0x291)+_0x140d3a(0x248)+_0x140d3a(0x263));if(!_0x5280a8)return{'patched':![],'reason':'existing'+_0x140d3a(0x1ca)+_0x140d3a(0x177)+_0x140d3a(0x17c)};_0x5280a8=replaceFunction(_0x5280a8,'wujieRes'+_0x140d3a(0x254)+_0x140d3a(0x2b6)+_0x140d3a(0x299)+_0x140d3a(0x2ed),_0x140d3a(0x19c)+_0x140d3a(0x17f)+_0x140d3a(0x2ef)+'xinOutbo'+_0x140d3a(0x303)+_0x140d3a(0x25b)+_0x140d3a(0x1b9)+_0x140d3a(0x2af)+_0x140d3a(0x1d9)+_0x140d3a(0x262)+_0x140d3a(0x301)+'eixinRou'+_0x140d3a(0x1b0)+_0x140d3a(0x2c4)+_0x140d3a(0x20b)+_0x140d3a(0x2f8)+'arams?.t'+'arget\x20??'+_0x140d3a(0x2be)+_0x140d3a(0x27e)+_0x140d3a(0x266)+'th(\x22@im.'+_0x140d3a(0x1ee)+')\x20return'+_0x140d3a(0x242)+_0x140d3a(0x1f2)+'\x20session'+_0x140d3a(0x233)+_0x140d3a(0x19f)+_0x140d3a(0x1d1)+'rectSess'+'ionKey(p'+_0x140d3a(0x17d)+_0x140d3a(0x22f)+_0x140d3a(0x302)+_0x140d3a(0x1d6)+'arams.ac'+_0x140d3a(0x1ae)+_0x140d3a(0x1ec)+_0x140d3a(0x29b)+_0x140d3a(0x305)+_0x140d3a(0x1a9)+_0x140d3a(0x1b2)+_0x140d3a(0x1fb)+'essionKe'+'y:\x20sessi'+_0x140d3a(0x2d5)+'\x20\x20\x20\x20\x20\x20\x20p'+_0x140d3a(0x2c1)+_0x140d3a(0x26b)+_0x140d3a(0x2a1)+_0x140d3a(0x243)+_0x140d3a(0x28b)+_0x140d3a(0x1b5)+'e:\x20\x22dire'+_0x140d3a(0x2b7)+_0x140d3a(0x2bd)+_0x140d3a(0x26a)+_0x140d3a(0x1c4)+'xin:${to'+_0x140d3a(0x1e4)+'\x20\x20\x20\x20to:\x20'+'`user:${'+'to}`,\x0a\x20\x20'+_0x140d3a(0x1fe));if(!_0x5280a8)return{'patched':![],'reason':'existing'+_0x140d3a(0x2bb)+'r-not-fo'+_0x140d3a(0x2f7)};return _0x5280a8=_0x5280a8[_0x140d3a(0x295)+'ll'](_0x140d3a(0x2e1)+_0x140d3a(0x2d9)+_0x140d3a(0x1c6)+_0x140d3a(0x2ca),_0x140d3a(0x2e1)+_0x140d3a(0x2d9)+_0x140d3a(0x1f5)+_0x140d3a(0x1f8)+_0x140d3a(0x26f))[_0x140d3a(0x1f7)](_0x140d3a(0x1dc)+_0x140d3a(0x192)+_0x140d3a(0x18a)+'to\x20})\x20=>'+_0x140d3a(0x26e)+'to\x20??\x20\x22\x22'+_0x140d3a(0x2f3)+_0x140d3a(0x216)+_0x140d3a(0x241)+'echat\x22)\x20'+_0x140d3a(0x22e)+_0x140d3a(0x21a)+_0x140d3a(0x1e9),'inferTar'+_0x140d3a(0x192)+_0x140d3a(0x18a)+_0x140d3a(0x2d1)+_0x140d3a(0x262)+'rmalizeW'+_0x140d3a(0x206)+_0x140d3a(0x1b0)+_0x140d3a(0x239)+_0x140d3a(0x1ce)+'im.wecha'+'t\x22)\x20?\x20\x22d'+'irect\x22\x20:'+_0x140d3a(0x1ff)+'ed,'),{'patched':!![],'source':_0x5280a8};}
1
+ (function(_0x2df87c,_0x5eb273){const _0x4479b5=_0x5869,_0x75a89=_0x2df87c();while(!![]){try{const _0x429f64=-parseInt(_0x4479b5(0x10a))/0x1+-parseInt(_0x4479b5(0x27e))/0x2*(-parseInt(_0x4479b5(0x266))/0x3)+-parseInt(_0x4479b5(0xf9))/0x4+parseInt(_0x4479b5(0x1be))/0x5*(-parseInt(_0x4479b5(0x198))/0x6)+-parseInt(_0x4479b5(0x1d9))/0x7+parseInt(_0x4479b5(0x1b1))/0x8*(parseInt(_0x4479b5(0x1cd))/0x9)+-parseInt(_0x4479b5(0x19e))/0xa*(-parseInt(_0x4479b5(0x1f6))/0xb);if(_0x429f64===_0x5eb273)break;else _0x75a89['push'](_0x75a89['shift']());}catch(_0x2e2cb5){_0x75a89['push'](_0x75a89['shift']());}}}(_0x118e,0xf3f51));function _0x5869(_0xb3ed4d,_0x18b77c){_0xb3ed4d=_0xb3ed4d-0xd0;const _0x118ef5=_0x118e();let _0x5869da=_0x118ef5[_0xb3ed4d];return _0x5869da;}export function patchWeixinOutboundSessionRouteFromSource(_0xebe4c5){const _0x5c3565=_0x5869;if(_0xebe4c5[_0x5c3565(0x148)](_0x5c3565(0x1d2)+_0x5c3565(0x11e)+_0x5c3565(0x1a3)+_0x5c3565(0x1c8)+_0x5c3565(0x18a))){if(!_0xebe4c5[_0x5c3565(0x148)](_0x5c3565(0x15d)+'malizeWe'+'ixinRout'+_0x5c3565(0x268)))return upgradeExistingWeixinOutboundSessionRoutePatch(_0xebe4c5);return{'patched':![],'reason':'already-'+_0x5c3565(0x1cf)};}const _0x40293c=_0x5c3565(0x244)+_0x5c3565(0x1d5)+_0x5c3565(0x1a0)+_0x5c3565(0x13b)+_0x5c3565(0x25c)+_0x5c3565(0x181)+_0x5c3565(0x10f)+_0x5c3565(0x164)+_0x5c3565(0x239)+_0x5c3565(0x214)+_0x5c3565(0x230)+_0x5c3565(0x25d)+_0x5c3565(0x259)+');';if(!_0xebe4c5[_0x5c3565(0x148)](_0x40293c))return{'patched':![],'reason':_0x5c3565(0x13c)+_0x5c3565(0x1a9)+_0x5c3565(0x1bb)};const _0x30f482='\x20\x20\x20\x20mess'+_0x5c3565(0x144)+_0x5c3565(0x220)+_0x5c3565(0x1b8)+'esolver:'+_0x5c3565(0x252)+_0x5c3565(0x17e)+_0x5c3565(0x1c9)+'\x20user\x20ID'+_0x5c3565(0x116)+_0x5c3565(0x249)+_0x5c3565(0x174)+_0x5c3565(0x232)+'eat\x20as\x20d'+'irect\x20ID'+_0x5c3565(0x108)+_0x5c3565(0x1f0)+'y\x20lookup'+_0x5c3565(0x1b0)+_0x5c3565(0x101)+_0x5c3565(0x19a)+_0x5c3565(0x25f)+_0x5c3565(0x236)+_0x5c3565(0x150)+_0x5c3565(0x1ae)+_0x5c3565(0x125)+_0x5c3565(0x22d)+_0x5c3565(0x1ba)+',';if(!_0xebe4c5['includes'](_0x30f482))return{'patched':![],'reason':_0x5c3565(0x18b)+_0x5c3565(0xfb)+_0x5c3565(0x14c)+'d'};const _0x41a69b=_0x40293c+'\x0a'+weixinPluginRouteHelperSource(),_0x3244ae='\x20\x20\x20\x20mess'+'aging:\x20{'+_0x5c3565(0x220)+_0x5c3565(0x1a1)+_0x5c3565(0x19c)+_0x5c3565(0x1db)+_0x5c3565(0x14b)+'>\x20wujieN'+'ormalize'+'WeixinRo'+_0x5c3565(0x1f8)+_0x5c3565(0x1f2)+'dsWith(\x22'+'@im.wech'+_0x5c3565(0x1ac)+_0x5c3565(0x26f)+_0x5c3565(0x22b)+_0x5c3565(0x10d)+_0x5c3565(0x127)+'olveOutb'+_0x5c3565(0x267)+_0x5c3565(0x1a2)+':\x20wujieR'+_0x5c3565(0x163)+_0x5c3565(0x102)+_0x5c3565(0x267)+_0x5c3565(0x1a2)+_0x5c3565(0x110)+_0x5c3565(0x25b)+'Resolver'+_0x5c3565(0x104)+'\x20\x20\x20\x20\x20\x20\x20\x20'+'//\x20Weixi'+_0x5c3565(0x242)+_0x5c3565(0x123)+_0x5c3565(0x27b)+_0x5c3565(0x27c)+_0x5c3565(0xdd)+_0x5c3565(0x13f)+'direct\x20I'+'Ds,\x20skip'+'\x20directo'+_0x5c3565(0x224)+_0x5c3565(0x1e3)+_0x5c3565(0x23a)+'ooksLike'+_0x5c3565(0x1d1)+_0x5c3565(0x14a)+_0x5c3565(0x277)+_0x5c3565(0xed)+_0x5c3565(0x196)+_0x5c3565(0x220)+_0x5c3565(0x1f1)+'},';return{'patched':!![],'source':_0xebe4c5[_0x5c3565(0x153)](_0x40293c,_0x41a69b)[_0x5c3565(0x153)](_0x30f482,_0x3244ae)};}export function patchWeixinOutboundFallbackFromSource(_0x1ee5b2){const _0x33570e=_0x5869;if(_0x1ee5b2[_0x33570e(0x148)](_0x33570e(0x1d2)+_0x33570e(0x11e)+'inImDire'+'ctFallba'+_0x33570e(0xf8)+'n'))return{'patched':![],'reason':'already-'+_0x33570e(0x1cf)};const _0x48e327='function'+_0x33570e(0x103)+'Fallback'+_0x33570e(0x184)+_0x33570e(0x1ff)+'{';if(!_0x1ee5b2['includes'](_0x48e327))return{'patched':![],'reason':_0x33570e(0x26c)+_0x33570e(0x1d8)+_0x33570e(0x1ec)+'und'};const _0x539e55=_0x33570e(0x1d7)+_0x33570e(0x179)+_0x33570e(0x21c)+_0x33570e(0x156)+_0x33570e(0x12a)+_0x33570e(0x1ca)+_0x33570e(0x141)+_0x33570e(0x187)+_0x33570e(0x227)+_0x33570e(0x194)+_0x33570e(0x1fb)+_0x33570e(0x12c)+_0x33570e(0x105);if(!_0x1ee5b2[_0x33570e(0x148)](_0x539e55))return{'patched':![],'reason':_0x33570e(0x26c)+_0x33570e(0x201)+'ot-found'};const _0x5d890a=weixinCoreFallbackHelperSource()+'\x0a'+_0x48e327,_0x29581a=_0x539e55+(_0x33570e(0x1bc)+_0x33570e(0x1a6)+_0x33570e(0xf6)+'tSession'+_0x33570e(0x1cc)+'ResolveW'+_0x33570e(0x1e7)+_0x33570e(0x18c)+_0x33570e(0x178)+'sion(par'+_0x33570e(0x192)+_0x33570e(0x1c5)+'WeixinDi'+_0x33570e(0x271)+'ion)\x20ret'+_0x33570e(0x206)+_0x33570e(0x13d)+_0x33570e(0x26a)+_0x33570e(0x165));return{'patched':!![],'source':_0x1ee5b2[_0x33570e(0x153)](_0x48e327,_0x5d890a)['replace'](_0x539e55,_0x29581a)};}function weixinPluginRouteHelperSource(){const _0x5618de=_0x5869;return _0x5618de(0x176)+_0x5618de(0xdf)+_0x5618de(0x1ce)+_0x5618de(0x1b3)+_0x5618de(0x209)+_0x5618de(0x115)+_0x5618de(0x1fa)+_0x5618de(0x221)+_0x5618de(0x21b)+_0x5618de(0x1a4)+'?\x20\x22\x22).tr'+_0x5618de(0x27f)+_0x5618de(0x216)+_0x5618de(0x24a)+_0x5618de(0x1dc)+_0x5618de(0xe9)+_0x5618de(0x1b6)+_0x5618de(0x26d)+_0x5618de(0xfd)+'openclaw'+_0x5618de(0x17f)+_0x5618de(0xd0)+_0x5618de(0x109)+_0x5618de(0x121)+'-weixin:'+_0x5618de(0x161)+_0x5618de(0x13e)+_0x5618de(0x142)+_0x5618de(0x24b)+'t\x20withou'+_0x5618de(0x135)+_0x5618de(0x24a)+_0x5618de(0x193)+_0x5618de(0x234)+'/^(user|'+_0x5618de(0x20b)+_0x5618de(0x1b5)+_0x5618de(0x139)+_0x5618de(0x1f4)+_0x5618de(0xd8)+_0x5618de(0x20c)+_0x5618de(0xee)+_0x5618de(0x228)+_0x5618de(0x278)+_0x5618de(0x262)+_0x5618de(0x1c6)+'e(/^g-/i'+_0x5618de(0x14e)+_0x5618de(0xfc)+_0x5618de(0x1e8)+_0x5618de(0x145)+_0x5618de(0x261)+_0x5618de(0x119)+_0x5618de(0x159)+_0x5618de(0x26a)+_0x5618de(0x215)+_0x5618de(0x182)+'ntId,\x20to'+',\x20accoun'+_0x5618de(0x195)+_0x5618de(0x1b9)+'\x20peerId\x20'+_0x5618de(0xda)+_0x5618de(0x23b)+_0x5618de(0x1ad)+_0x5618de(0x1f8)+'t(to);\x0a\x20'+_0x5618de(0x1b9)+'\x20channel'+'\x20=\x20\x22open'+_0x5618de(0x1fc)+_0x5618de(0x1a7)+_0x5618de(0x216)+_0x5618de(0xff)+_0x5618de(0xd5)+'d\x20=\x20Stri'+_0x5618de(0x172)+'Id\x20||\x20\x22m'+_0x5618de(0x17c)+_0x5618de(0xfc)+'owerCase'+_0x5618de(0x270)+_0x5618de(0xe7)+_0x5618de(0x216)+_0x5618de(0x12e)+_0x5618de(0x149)+_0x5618de(0x26e)+_0x5618de(0x12e)+_0x5618de(0x183)+_0x5618de(0x113)+_0x5618de(0x1b2)+_0x5618de(0xe1)+'per-acco'+'unt-chan'+_0x5618de(0x191)+'\x22\x20&&\x20pee'+_0x5618de(0x1df)+_0x5618de(0x155)+_0x5618de(0x273)+_0x5618de(0x24e)+'ccountId'+'\x20=\x20Strin'+_0x5618de(0x207)+'tId\x20||\x20\x22'+_0x5618de(0x1e0)+_0x5618de(0x13e)+_0x5618de(0x204)+_0x5618de(0x19f)+_0x5618de(0x138)+_0x5618de(0x20a)+'\x20\x20\x20\x20\x20ret'+_0x5618de(0xe4)+_0x5618de(0xd7)+_0x5618de(0x24e)+'gentId}:'+_0x5618de(0x190)+_0x5618de(0xd4)+_0x5618de(0x24e)+_0x5618de(0x208)+_0x5618de(0x248)+_0x5618de(0x131)+_0x5618de(0xe0)+_0x5618de(0x16b)+_0x5618de(0x1b2)+_0x5618de(0xe1)+(_0x5618de(0x169)+_0x5618de(0x191)+_0x5618de(0x21f)+_0x5618de(0x1df)+_0x5618de(0x219)+_0x5618de(0x1f9)+'gent:${n'+_0x5618de(0x23b)+_0x5618de(0x25a)+_0x5618de(0xe8)+_0x5618de(0x1c0)+_0x5618de(0x1cb)+'erId}`;\x0a'+_0x5618de(0x106)+_0x5618de(0x19b)+_0x5618de(0x147)+_0x5618de(0x246)+_0x5618de(0x20f)+'peerId)\x20'+_0x5618de(0x157)+_0x5618de(0x120)+'\x20`agent:'+'${normal'+'izedAgen'+'tId}:dir'+'ect:${pe'+'erId}`;\x0a'+_0x5618de(0x106)+_0x5618de(0x120)+'\x20`agent:'+_0x5618de(0x225)+_0x5618de(0x250)+_0x5618de(0x175)+_0x5618de(0x253)+_0x5618de(0x261)+_0x5618de(0x1aa)+_0x5618de(0x17d)+_0x5618de(0xe6)+_0x5618de(0x152)+_0x5618de(0x151)+_0x5618de(0x16f)+_0x5618de(0x24b)+_0x5618de(0x280)+_0x5618de(0x23e)+_0x5618de(0x260)+'xinRoute'+_0x5618de(0xef)+_0x5618de(0x132)+_0x5618de(0x222)+_0x5618de(0xf1)+'ams?.tar'+_0x5618de(0x11a)+'\x22);\x0a\x20\x20\x20\x20'+'if\x20(!to.'+'endsWith'+_0x5618de(0x1ae)+_0x5618de(0x10c)+'return\x20n'+_0x5618de(0x24d)+'\x20const\x20s'+_0x5618de(0x18e)+_0x5618de(0x210)+_0x5618de(0x251)+_0x5618de(0x1d6)+_0x5618de(0x133)+_0x5618de(0x258)+_0x5618de(0x16d)+_0x5618de(0x197)+_0x5618de(0x21d)+_0x5618de(0x22f)+_0x5618de(0x129)+'untId);\x0a'+_0x5618de(0x173)+_0x5618de(0x226)+_0x5618de(0x14d)+_0x5618de(0x1de)+_0x5618de(0x220)+_0x5618de(0xde)+'sionKey:'+'\x20session'+'Key,\x0a\x20\x20\x20'+_0x5618de(0x276)+_0x5618de(0x11d)+'d:\x20\x22dire'+_0x5618de(0x223)+_0x5618de(0x254)+_0x5618de(0x155)+'hatType:'+'\x20\x22direct'+'\x22,\x0a\x20\x20\x20\x20\x20'+_0x5618de(0x19d)+_0x5618de(0x15f)+_0x5618de(0x1fd)+'n:${to}`'+_0x5618de(0x110)+_0x5618de(0x20e)+'ser:${to'+_0x5618de(0x275)+_0x5618de(0x11c));}function weixinCoreFallbackHelperSource(){const _0x159d38=_0x5869;return _0x159d38(0x176)+_0x159d38(0xdf)+_0x159d38(0x1ce)+'eixinImP'+'eerId(ra'+_0x159d38(0x140)+_0x159d38(0x264)+_0x159d38(0x166)+_0x159d38(0x13a)+_0x159d38(0x15a)+_0x159d38(0x12b)+_0x159d38(0x211)+_0x159d38(0xf2)+_0x159d38(0x213)+'\x20\x22\x22),\x20ch'+_0x159d38(0x263)+_0x159d38(0x177)+'const\x20wi'+_0x159d38(0x262)+_0x159d38(0x1af)+_0x159d38(0x12f)+_0x159d38(0x154)+_0x159d38(0x1ed)+'der).rep'+_0x159d38(0x238)+_0x159d38(0x23f)+_0x159d38(0x265)+_0x159d38(0x1bc)+_0x159d38(0x27d)+'\x20normali'+_0x159d38(0x1dd)+'aseStrin'+_0x159d38(0x185)+_0x159d38(0xec)+_0x159d38(0xf0)+_0x159d38(0x17a)+_0x159d38(0x107)+_0x159d38(0x22c)+'@im.wech'+'at\x22)\x20?\x20p'+_0x159d38(0xd9)+_0x159d38(0x1e1)+_0x159d38(0x261)+_0x159d38(0x1aa)+'lveWeixi'+_0x159d38(0x188)+_0x159d38(0x25e)+_0x159d38(0x27a)+_0x159d38(0x272)+'\x20{\x0a\x09if\x20('+_0x159d38(0xff)+_0x159d38(0x171)+_0x159d38(0x1d3)+_0x159d38(0x16e)+_0x159d38(0x1e4)+'hannel)\x20'+_0x159d38(0x1e2)+_0x159d38(0x1bd)+_0x159d38(0x243)+_0x159d38(0x1a5)+_0x159d38(0x15b)+'st\x20peerI'+_0x159d38(0xd3)+_0x159d38(0x146)+_0x159d38(0x20d)+_0x159d38(0x233)+'(params.'+_0x159d38(0x10b)+_0x159d38(0x1e4)+_0x159d38(0xe5)+_0x159d38(0x231)+_0x159d38(0x1ab)+_0x159d38(0x1a5)+_0x159d38(0x15b)+'st\x20peer\x20'+_0x159d38(0x1f7)+_0x159d38(0x1c7)+_0x159d38(0x212)+_0x159d38(0x229)+_0x159d38(0x1d0)+_0x159d38(0x167)+_0x159d38(0x15e)+_0x159d38(0xdc)+_0x159d38(0x1bf)+'oundBase'+_0x159d38(0x1b4)+_0x159d38(0x21e)+'fg:\x20para'+'ms.cfg,\x0a'+_0x159d38(0xf5)+_0x159d38(0x235)+_0x159d38(0xd1)+_0x159d38(0x1fe)+_0x159d38(0x137)+_0x159d38(0x245)+_0x159d38(0xd6)+'accountI'+_0x159d38(0x235)+_0x159d38(0xfe)+_0x159d38(0x241)+_0x159d38(0x1d4)+_0x159d38(0x24f)+_0x159d38(0x1ef)+_0x159d38(0xfa)+_0x159d38(0xde)+_0x159d38(0x1de)+_0x159d38(0x134)+'essionKe'+_0x159d38(0x10e)+'r,\x0a\x09\x09cha'+_0x159d38(0x269)+_0x159d38(0x22e)+_0x159d38(0x130)+_0x159d38(0x18f)+_0x159d38(0x187)+_0x159d38(0x1ee)+_0x159d38(0x1eb)+'\x09\x09to:\x20`u'+_0x159d38(0x1f5)+_0x159d38(0x203)+_0x159d38(0x11c);}function replaceFunction(_0x579e40,_0x1aa336,_0x731d02){const _0x1f4262=_0x5869,_0x8a6bb3=_0x579e40[_0x1f4262(0x118)](_0x1f4262(0x176)+'\x20'+_0x1aa336);if(_0x8a6bb3===-0x1)return null;const _0x6b9998=_0x579e40[_0x1f4262(0x118)]('{',_0x8a6bb3);if(_0x6b9998===-0x1)return null;let _0x4e0cc1=0x0,_0x298779=null,_0xd7e39=![];for(let _0x461bc8=_0x6b9998;_0x461bc8<_0x579e40[_0x1f4262(0x24c)];_0x461bc8+=0x1){const _0x5a6241=_0x579e40[_0x461bc8];if(_0x298779){if(_0xd7e39){_0xd7e39=![];continue;}if(_0x5a6241==='\x5c'){_0xd7e39=!![];continue;}if(_0x5a6241===_0x298779)_0x298779=null;continue;}if(_0x5a6241==='\x22'||_0x5a6241==='\x27'||_0x5a6241==='`'){_0x298779=_0x5a6241;continue;}if(_0x5a6241==='{')_0x4e0cc1+=0x1;if(_0x5a6241==='}')_0x4e0cc1-=0x1;if(_0x4e0cc1===0x0)return _0x579e40[_0x1f4262(0x257)](0x0,_0x8a6bb3)+_0x731d02+_0x579e40[_0x1f4262(0x257)](_0x461bc8+0x1);}return null;}function upgradeExistingWeixinOutboundSessionRoutePatch(_0x2f3016){const _0x38d378=_0x5869;let _0x427bd3=replaceFunction(_0x2f3016,_0x38d378(0x15d)+'malizeWe'+_0x38d378(0x1ea)+'Id',_0x38d378(0x176)+_0x38d378(0xdf)+_0x38d378(0x1ce)+_0x38d378(0x1b3)+_0x38d378(0x209)+_0x38d378(0x115)+'{\x0a\x20\x20\x20\x20co'+_0x38d378(0x221)+_0x38d378(0x21b)+_0x38d378(0x1a4)+_0x38d378(0x114)+_0x38d378(0x27f)+_0x38d378(0x216)+_0x38d378(0x24a)+_0x38d378(0x1dc)+_0x38d378(0xe9)+_0x38d378(0x1b6)+_0x38d378(0x26d)+_0x38d378(0xfd)+_0x38d378(0x121)+'-weixin:'+_0x38d378(0xd0)+_0x38d378(0x109)+_0x38d378(0x121)+'-weixin:'+_0x38d378(0x161)+_0x38d378(0x13e)+_0x38d378(0x142)+_0x38d378(0x24b)+_0x38d378(0xe3)+_0x38d378(0x135)+'withoutP'+_0x38d378(0x193)+_0x38d378(0x234)+_0x38d378(0x1c1)+_0x38d378(0x20b)+_0x38d378(0x1b5)+'nversati'+_0x38d378(0x1f4)+_0x38d378(0xd8)+_0x38d378(0x20c)+_0x38d378(0xee)+_0x38d378(0x228)+_0x38d378(0x278)+_0x38d378(0x262)+_0x38d378(0x1c6)+'e(/^g-/i'+_0x38d378(0x14e)+_0x38d378(0xfc)+_0x38d378(0x1e8)+_0x38d378(0x12d));if(!_0x427bd3)return{'patched':![],'reason':_0x38d378(0x1da)+'-normali'+_0x38d378(0x1c2)+_0x38d378(0xea)};_0x427bd3=replaceFunction(_0x427bd3,'wujieRes'+'olveWeix'+_0x38d378(0x1a3)+_0x38d378(0x1c8)+_0x38d378(0x18a),_0x38d378(0x176)+_0x38d378(0x180)+_0x38d378(0x26b)+_0x38d378(0x100)+_0x38d378(0x16c)+_0x38d378(0x217)+'params)\x20'+'{\x0a\x20\x20\x20\x20co'+_0x38d378(0x279)+'\x20wujieNo'+_0x38d378(0x1ce)+_0x38d378(0x1b3)+_0x38d378(0x209)+'(params?'+_0x38d378(0x1c4)+_0x38d378(0xf3)+_0x38d378(0x132)+'arget\x20??'+_0x38d378(0x202)+'\x20\x20if\x20(!t'+_0x38d378(0x23d)+_0x38d378(0x186)+_0x38d378(0x158)+_0x38d378(0x237)+_0x38d378(0xe2)+_0x38d378(0x1b9)+_0x38d378(0x124)+'Key\x20=\x20wu'+'jieBuild'+_0x38d378(0x1e9)+_0x38d378(0x271)+'ionKey(p'+_0x38d378(0x255)+'g,\x20param'+'s.agentI'+_0x38d378(0x136)+_0x38d378(0x170)+_0x38d378(0x1f3)+_0x38d378(0x1c3)+_0x38d378(0x126)+_0x38d378(0x18d)+_0x38d378(0x18e)+'y,\x0a\x20\x20\x20\x20\x20'+_0x38d378(0x1e6)+_0x38d378(0x18e)+_0x38d378(0x247)+_0x38d378(0x162)+_0x38d378(0xf7)+_0x38d378(0x189)+_0x38d378(0x23c)+_0x38d378(0xdb)+_0x38d378(0x117)+_0x38d378(0x220)+'\x20chatTyp'+'e:\x20\x22dire'+'ct\x22,\x0a\x20\x20\x20'+'\x20\x20\x20\x20\x20fro'+_0x38d378(0x112)+_0x38d378(0x1fc)+_0x38d378(0x15c)+'}`,\x0a\x20\x20\x20\x20'+'\x20\x20\x20\x20to:\x20'+_0x38d378(0x21a)+'to}`,\x0a\x20\x20'+_0x38d378(0x240));if(!_0x427bd3)return{'patched':![],'reason':_0x38d378(0x1da)+_0x38d378(0x143)+_0x38d378(0x22a)+_0x38d378(0x199)};return _0x427bd3=_0x427bd3[_0x38d378(0x16a)+'ll'](_0x38d378(0x15d)+'malizeWe'+_0x38d378(0x1ea)+_0x38d378(0xeb),_0x38d378(0x15d)+_0x38d378(0xf4)+_0x38d378(0x200)+_0x38d378(0x17b)+_0x38d378(0x122))[_0x38d378(0x153)](_0x38d378(0x160)+'getChatT'+_0x38d378(0x256)+_0x38d378(0x11f)+_0x38d378(0x205)+_0x38d378(0x14f)+').trim()'+_0x38d378(0x277)+_0x38d378(0xed)+_0x38d378(0x1b7)+_0x38d378(0x218)+_0x38d378(0x11b)+'efined,',_0x38d378(0x160)+'getChatT'+'ype:\x20({\x20'+'to\x20})\x20=>'+_0x38d378(0xdf)+_0x38d378(0x1ce)+_0x38d378(0x1b3)+_0x38d378(0x209)+_0x38d378(0x274)+_0x38d378(0x1a8)+_0x38d378(0x1e5)+_0x38d378(0x168)+_0x38d378(0x111)+_0x38d378(0x128)+_0x38d378(0xd2)),{'patched':!![],'source':_0x427bd3};}function _0x118e(){const _0x307dbc=['eBuildWe','\x20{\x0a\x20\x20\x20\x20\x20','n`;\x0a}\x0afu','\x20to\x20},\x0a\x20','arams.cf','ype:\x20({\x20','slice','nKey(par','nd-temp\x22','dAgentId','\x20\x20target','path.joi','a/outbou','tFallbac','d:\x20(raw)','alizeWei','nction\x20w','thoutKin','annel).t','el)\x20{\x0a\x09c','.trim();','23034rzFhrb','oundSess','eTarget','tType:\x20\x22','irectSes','solveWei','fallback','e().star','ession?.','direct\x22\x20','()\x20||\x20\x22m','rectSess','(params)','onst\x20nor','(to).end','}`,\x0a\x20\x20\x20\x20','\x20\x20\x20\x20\x20pee','.endsWit','eturn\x20wi','nst\x20to\x20=','kSession','s\x20end\x20wi','th\x20@im.w','peerId\x20=','470yWKvjk','im();\x0a\x20\x20','t\x20to\x20=\x20w','\x22)\x20?\x20raw','s.agentI','ed,','d\x20=\x20wuji','l}:${nor','edAgentI','nnel,\x0a\x09\x09','nt:${nor','dm|threa','eerId\x20:\x20','=\x20wujieN','rect\x22,\x20i','nKey\x20=\x20b','echat;\x20t','\x20baseSes','\x20wujieNo','d}`;\x0a\x20\x20\x20','pe\x20===\x20\x22','\x20null;\x0a\x20','t\x20withou','urn\x20`age','hannel);','nOutboun','ain\x22;\x0a\x20\x20','}:${chan','=\x20raw.to','found','Id(to)','(without','h(\x22@im.w','\x22).trim(','Target(p','Kind);\x0a\x09','o\x20??\x20par','ix(Strin','.to\x20??\x20p','malizeWe','\x09\x09agentI','xinDirec','\x20\x20\x20\x20\x20\x20\x20p','ckSessio','4996696bSCqnG','sionKey:','g-shape-','im().toL','tsWith(\x22','s.accoun','normaliz','xinOutbo','\x20\x20\x20\x20\x20\x20lo','ixinOutb','\x20resolve',':\x20{\x0a\x20\x20\x20\x20','n\x20null;','\x20\x20\x20\x20}\x0a\x20\x20','eerId.en','s,\x20skip\x20','.slice(\x22','358798nwvqwY','target,\x20','chat\x22))\x20','ned,\x0a\x20\x20\x20','y,\x0a\x09\x09pee','ePreferr',',\x0a\x20\x20\x20\x20\x20\x20','irect\x22\x20:','m:\x20`open','\x22;\x0a\x20\x20\x20\x20i','?\x20\x22\x22).tr','(value)\x20','s\x20always','d:\x20to\x20},','indexOf','ujieBuil','get\x20??\x20\x22','t\x22\x20:\x20und','};\x0a}','r:\x20{\x20kin','olveWeix','to\x20})\x20=>','\x20\x20return','openclaw','to)','Ds\x20alway','\x20session','chat\x22),\x0a','turn\x20{\x0a\x20','\x20\x20\x20\x20\x20res','\x20undefin','ams.acco','efix(par','tripProv','d)\x20retur','();\x0a}','dmScope\x20','pKindPre','\x0a\x09\x09from:',':${peerI','arams?.t','ctSessio','\x0a\x09\x09baseS','tKind\x20=\x20','d,\x20to,\x20p','nnel:\x20pa','|\x20\x22defau','nversati','houtProv','P_DIR\x20=\x20','helper-a','eWeixinD',').trim()','reat\x20as\x20','w,\x20chann','et,\x20para','\x20:\x20raw;\x0a','-resolve','aging:\x20{','();\x0a}\x0afu','eNormali','Scope\x20==','includes','=\x20cfg?.s',')\x20=>\x20raw','\x20to\x20})\x20=','not-foun','\x20\x20\x20\x20\x20ses',',\x20\x22\x22).tr','to\x20??\x20\x22\x22','endsWith','Route(pa','dSession','replace','fix(with','\x20\x20\x20\x20\x20\x20\x20c','oviderPr','{\x0a\x20\x20\x20\x20\x20\x20','wechat\x22)','dWeixinD','ider\x20=\x20s','ll;\x0a\x09con','xin:${to','wujieNor','seSessio','\x20`opencl','inferTar','\x22.length','onKey,\x0a\x20','esolveWe','edOpenCl','sion;','onst\x20wit','const\x20ba','t\x22)\x20?\x20\x22d','per-chan','replaceA','\x20}\x0a\x20\x20\x20\x20i','undSessi','ams.cfg,','OrEmpty(','rams)\x20{\x0a','arams.ac','eLowerca','ng(agent','\x20\x20\x20\x20retu','h\x20@im.we','tId}:mai','function','rim();\x0a\x09','lbackSes','rimmed\x20=','return\x20p','eTarget(','ain\x22).tr','lveWeixi','\x20\x20\x20\x20\x20\x20\x20/','-weixin:','\x20wujieRe','n(resolv','cfg,\x20age','??\x20\x22main','Session(','gOrEmpty','th(\x22@im.','ms.chann','nImDirec','eer:\x20{\x20k','nRoute','messagin','irectFal','\x20\x20\x20\x20\x20\x20\x20s','essionKe','\x20`${para','${channe','nel-peer','ams);\x0a\x09i','rovider.','();\x0a\x09if\x20','tId)\x20{\x0a\x20','echat\x22),','\x20params.','144474VROesU','und','oksLikeI','\x20\x20if\x20(dm','rgetChat','\x20\x20\x20from:','250CSzHjv','Case()\x20|','OUND_TEM','\x20inferTa','ionRoute','inOutbou','(value\x20?','eturn\x20nu','wujieWei','xin\x22;\x0a\x20\x20','sWith(\x22@','nchor-no','ujieReso','eerId)\x20r','at\x22)\x20?\x20\x22','WeixinRo','(\x22@im.we','d\x20=\x20stri','.\x0a\x20\x20\x20\x20\x20\x20','32056hbcrDN','f\x20(dmSco','eixinRou','SessionK','group|co','LowerCas','echat\x22)\x20','\x20targetR','\x20\x20\x20const','},\x0a\x20\x20\x20\x20}','t-found','\x0a\x09const\x20','nclaw-we','235lvqiqa','uildOutb','nel}:dir','/^(user|','zer-not-',';\x0a\x20\x20\x20\x20re','.target?','f\x20(wujie','d.replac','nd:\x20\x22dir','ndSessio','/\x20Weixin','ams.targ','ect:${pe','\x20=\x20wujie','2007mZVzxH','rmalizeW','patched','Id\x0a\x09};\x0a\x09','Id:\x20(raw','wujieRes','seString','eer\x0a\x09});','DIA_OUTB','ixinDire','\x09const\x20t','-functio','8477574MKYruB','existing','Type:\x20({','rovider\x20','zeLowerc','sionKey,','rId)\x20{\x0a\x20','default\x22','\x22\x22;\x0a}\x0afu','!==\x20\x22ope','p.\x0a\x20\x20\x20\x20\x20','params.c','im.wecha','\x20\x20\x20baseS','eixinImD','owerCase','WeixinDi','ixinPeer','erId}`,\x0a','n-not-fo','outProvi','el}:${pe','\x20{\x0a\x09\x09ses','director','\x20},\x0a\x20\x20\x20\x20','t(to).en','countId)','on|room|','ser:${pe','990935pzoxFd','=\x20{\x0a\x09\x09ki','uteTarge','eturn\x20`a','{\x0a\x20\x20\x20\x20co','(!trimme','claw-wei','aw-weixi','d,\x0a\x09\x09cha','params)\x20','ixinRout','-shape-n','\x20\x22\x22);\x0a\x20\x20','erId}`\x0a\x09','.toLower','\x20String(','urn\x20wuji','g(accoun','ccountId','teTarget','lt\x22;\x0a\x20\x20\x20','channel|','d):/i,\x20\x22','zeWeixin','\x20\x20to:\x20`u','eer\x22\x20&&\x20','y\x20=\x20wuji','iderPref','ect\x22,\x0a\x09\x09','g(raw\x20??','(),\x20\x22wei','sionKey(','\x20\x20const\x20','onRoute(','?\x20\x22direc','\x20\x20\x20\x20\x20\x20\x20r','`user:${','=\x20String','\x20stripPr','agentId,','ey({\x0a\x09\x09c','\x22\x20&&\x20pee','\x0a\x20\x20\x20\x20\x20\x20\x20','nst\x20raw\x20','arget?.t','ct\x22,\x20id:','ry\x20looku','${normal','rn\x20{\x0a\x20\x20\x20','el).trim',');\x0a\x20\x20\x20\x20r','id:\x20peer','r-not-fo',':\x20undefi','dsWith(\x22','\x20\x20\x20\x20\x20\x20\x20\x20','direct\x22,','\x20to,\x20par','xin/medi','\x0a\x09if\x20(!p','chat;\x20tr','ImPeerId','replace(','d:\x20param','\x20=>\x20raw.',')\x20return','lace(/^g','awTmpDir','\x20\x20\x20\x20\x20\x20\x20l','ormalize','ind:\x20\x22di','o.endsWi','ujieNorm','-/i,\x20\x22\x22)','\x20\x20};\x0a}','tId,\x0a\x09\x09p','n\x20user\x20I','ixin\x22)\x20r','const\x20ME','rams.cha','=\x20\x22per-p','y:\x20sessi','}:direct','\x20end\x20wit','withoutP','\x20\x20\x20\x20cons','length','ull;\x0a\x20\x20\x20','malizedA','\x0a\x09return','izedAgen'];_0x118e=function(){return _0x307dbc;};return _0x118e();}
@@ -1 +1 @@
1
- (function(_0x50649c,_0x43ef46){const _0x236c8=_0x1428,_0x30ed60=_0x50649c();while(!![]){try{const _0x560206=-parseInt(_0x236c8(0x7b))/0x1+parseInt(_0x236c8(0x80))/0x2+parseInt(_0x236c8(0x82))/0x3+-parseInt(_0x236c8(0x71))/0x4+-parseInt(_0x236c8(0x7a))/0x5+parseInt(_0x236c8(0x85))/0x6+-parseInt(_0x236c8(0x83))/0x7*(-parseInt(_0x236c8(0x6f))/0x8);if(_0x560206===_0x43ef46)break;else _0x30ed60['push'](_0x30ed60['shift']());}catch(_0x5205bd){_0x30ed60['push'](_0x30ed60['shift']());}}}(_0x5b7e,0x7c2f9));import{asRecord,asStringArray,dedupeStrings,getTrimmedString}from'../common/utils.mjs';export function syncRuntimeManifestPlugins(_0x118ce9,_0x83cb34,_0x593101={}){const _0x58f5bd=_0x1428,_0x557130=new Set(_0x593101[_0x58f5bd(0x7e)+_0x58f5bd(0x7c)+_0x58f5bd(0x87)+'ds']??[]),_0x2a0d3b=asRecord(_0x593101[_0x58f5bd(0x73)+'uginIdsB'+'yPluginI'+'d']),_0xde21d7=new Set(_0x593101[_0x58f5bd(0x72)+_0x58f5bd(0x70)+_0x58f5bd(0x7f)]??[]),_0x4487bb={...asRecord(_0x118ce9)},_0x4c95d2={...asRecord(_0x4487bb['entries'])},_0x3bdb10={...asRecord(_0x4487bb[_0x58f5bd(0x75)])};let _0x24a4a5=asStringArray(_0x4487bb[_0x58f5bd(0x76)]),_0x56a7f6=![];for(const _0x1b6f64 of _0x83cb34??[]){const _0x1b2152=getTrimmedString(_0x1b6f64[_0x58f5bd(0x81)]);if(!_0x1b2152)continue;const _0x38466b=asStringArray(_0x2a0d3b[_0x1b2152]);for(const _0x53fcc4 of _0x38466b){_0x53fcc4 in _0x4c95d2&&(_0x4c95d2[_0x1b2152]={...asRecord(_0x4c95d2[_0x1b2152]),...asRecord(_0x4c95d2[_0x53fcc4])},delete _0x4c95d2[_0x53fcc4],_0x56a7f6=!![]);}if(_0x38466b[_0x58f5bd(0x77)]>0x0){const _0x1c3962=_0x24a4a5['filter'](_0x3b2ff=>!_0x38466b[_0x58f5bd(0x79)](_0x3b2ff));_0x1c3962[_0x58f5bd(0x77)]!==_0x24a4a5[_0x58f5bd(0x77)]&&(_0x24a4a5=_0x1c3962,_0x56a7f6=!![]);}!(_0x1b2152 in _0x4c95d2)&&(_0x4c95d2[_0x1b2152]={'enabled':!_0x557130[_0x58f5bd(0x84)](_0x1b2152)},_0x56a7f6=!![]);if(asRecord(_0x4c95d2[_0x1b2152])[_0x58f5bd(0x78)]!==![]){const _0x2b8e64=dedupeStrings([..._0x24a4a5,_0x1b2152]);_0x2b8e64['length']!==_0x24a4a5[_0x58f5bd(0x77)]&&(_0x24a4a5=_0x2b8e64,_0x56a7f6=!![]);}getTrimmedString(_0x1b6f64[_0x58f5bd(0x74)])===_0x58f5bd(0x86)&&_0x1b2152 in _0x3bdb10&&(delete _0x3bdb10[_0x1b2152],_0x56a7f6=!![]);}_0x4487bb['entries']=_0x4c95d2,_0x4487bb['allow']=dedupeStrings([..._0x24a4a5,...[..._0xde21d7]['filter'](_0x3344be=>{const _0x443b71=_0x58f5bd,_0x8aaba6=asRecord(_0x4c95d2[_0x3344be]);return _0x8aaba6[_0x443b71(0x78)]!==![];})]);if(Object[_0x58f5bd(0x7d)](_0x3bdb10)[_0x58f5bd(0x77)]>0x0)_0x4487bb['installs']=_0x3bdb10;else delete _0x4487bb[_0x58f5bd(0x75)];return{'plugins':_0x4487bb,'changed':_0x56a7f6};}function _0x1428(_0xb76937,_0x4ddbe7){_0xb76937=_0xb76937-0x6f;const _0x5b7e6e=_0x5b7e();let _0x142846=_0x5b7e6e[_0xb76937];return _0x142846;}function _0x5b7e(){const _0x4a6680=['includes','2160045qLucIo','814922MsSkdB','ByDefaul','keys','disabled','ginIds','776086kTqnir','pluginId','1787145TeDdPh','2172247feVuCz','has','2393646BXHTcX','local','tPluginI','24AUhOMh','AllowPlu','2232264htRTUI','preserve','legacyPl','source','installs','allow','length','enabled'];_0x5b7e=function(){return _0x4a6680;};return _0x5b7e();}
1
+ (function(_0x5caae5,_0x599660){const _0x11fbc2=_0xf4b2,_0x3ec8ca=_0x5caae5();while(!![]){try{const _0x2fcc9e=-parseInt(_0x11fbc2(0x85))/0x1+parseInt(_0x11fbc2(0x70))/0x2+parseInt(_0x11fbc2(0x83))/0x3*(parseInt(_0x11fbc2(0x72))/0x4)+-parseInt(_0x11fbc2(0x6c))/0x5+parseInt(_0x11fbc2(0x78))/0x6+parseInt(_0x11fbc2(0x73))/0x7+parseInt(_0x11fbc2(0x6e))/0x8*(parseInt(_0x11fbc2(0x7a))/0x9);if(_0x2fcc9e===_0x599660)break;else _0x3ec8ca['push'](_0x3ec8ca['shift']());}catch(_0x1c9bf8){_0x3ec8ca['push'](_0x3ec8ca['shift']());}}}(_0x805d,0x9c84a));function _0xf4b2(_0x110a8e,_0x543c1f){_0x110a8e=_0x110a8e-0x6a;const _0x805dd8=_0x805d();let _0xf4b238=_0x805dd8[_0x110a8e];return _0xf4b238;}import{asRecord,asStringArray,dedupeStrings,getTrimmedString}from'../common/utils.mjs';function _0x805d(){const _0x2a7c9f=['1167405KUPNeR','length','8vRiuUW','legacyPl','755948WjHyen','disabled','4148tsfghs','77497ADzZCd','AllowPlu','has','ByDefaul','local','419580YRYMsl','entries','8867142aGPlEL','preserve','tPluginI','filter','allow','source','keys','includes','uginIdsB','1563SuiYLK','installs','1109911gBOZUR','yPluginI','pluginId'];_0x805d=function(){return _0x2a7c9f;};return _0x805d();}export function syncRuntimeManifestPlugins(_0xf926b4,_0x383f77,_0x20b605={}){const _0x57526a=_0xf4b2,_0x4f5b11=new Set(_0x20b605[_0x57526a(0x71)+_0x57526a(0x76)+_0x57526a(0x7c)+'ds']??[]),_0x396945=asRecord(_0x20b605[_0x57526a(0x6f)+_0x57526a(0x82)+_0x57526a(0x6a)+'d']),_0xe08863=new Set(_0x20b605[_0x57526a(0x7b)+_0x57526a(0x74)+'ginIds']??[]),_0xe0345a={...asRecord(_0xf926b4)},_0x30bfa6={...asRecord(_0xe0345a['entries'])},_0x4469ac={...asRecord(_0xe0345a[_0x57526a(0x84)])};let _0x24dc2b=asStringArray(_0xe0345a['allow']),_0x1dcd35=![];for(const _0x446adb of _0x383f77??[]){const _0x4dbe25=getTrimmedString(_0x446adb[_0x57526a(0x6b)]);if(!_0x4dbe25)continue;const _0x1cf8ba=asStringArray(_0x396945[_0x4dbe25]);for(const _0x12e6e4 of _0x1cf8ba){_0x12e6e4 in _0x30bfa6&&(_0x30bfa6[_0x4dbe25]={...asRecord(_0x30bfa6[_0x4dbe25]),...asRecord(_0x30bfa6[_0x12e6e4])},delete _0x30bfa6[_0x12e6e4],_0x1dcd35=!![]);}if(_0x1cf8ba[_0x57526a(0x6d)]>0x0){const _0x55e91b=_0x24dc2b[_0x57526a(0x7d)](_0x57104d=>!_0x1cf8ba[_0x57526a(0x81)](_0x57104d));_0x55e91b[_0x57526a(0x6d)]!==_0x24dc2b[_0x57526a(0x6d)]&&(_0x24dc2b=_0x55e91b,_0x1dcd35=!![]);}!(_0x4dbe25 in _0x30bfa6)&&(_0x30bfa6[_0x4dbe25]={'enabled':!_0x4f5b11[_0x57526a(0x75)](_0x4dbe25)},_0x1dcd35=!![]);if(asRecord(_0x30bfa6[_0x4dbe25])['enabled']!==![]){const _0x3cf2c5=dedupeStrings([..._0x24dc2b,_0x4dbe25]);_0x3cf2c5[_0x57526a(0x6d)]!==_0x24dc2b['length']&&(_0x24dc2b=_0x3cf2c5,_0x1dcd35=!![]);}getTrimmedString(_0x446adb[_0x57526a(0x7f)])===_0x57526a(0x77)&&_0x4dbe25 in _0x4469ac&&(delete _0x4469ac[_0x4dbe25],_0x1dcd35=!![]);}_0xe0345a[_0x57526a(0x79)]=_0x30bfa6,_0xe0345a[_0x57526a(0x7e)]=dedupeStrings([..._0x24dc2b,...[..._0xe08863][_0x57526a(0x7d)](_0x505d90=>{const _0x599591=asRecord(_0x30bfa6[_0x505d90]);return _0x599591['enabled']!==![];})]);if(Object[_0x57526a(0x80)](_0x4469ac)[_0x57526a(0x6d)]>0x0)_0xe0345a['installs']=_0x4469ac;else delete _0xe0345a[_0x57526a(0x84)];return{'plugins':_0xe0345a,'changed':_0x1dcd35};}