@evomap/evolver-core 2.0.0 → 2.0.1

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,106 +1 @@
1
- // Hub asset review (ported from v1 gep/hubReview.js). When an evolution cycle REUSED a hub asset, this submits
2
- // a usage-verified review back to the hub after solidify — closing the quality-feedback loop so the hub can
3
- // rank assets by whether reuse actually paid off (the evolver side of fetch→outcome attribution). Rating is
4
- // derived from the cycle outcome: success → 4-5, failure → 1-2 (a constraint-violating reuse gets the worst
5
- // rating, tying into the exec policy gate). Non-blocking: errors never affect solidify. Dedup via an injected
6
- // history store. The hub POST is an injected ReviewSubmitter seam, so this is transport-agnostic and testable.
7
- import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from 'node:fs';
8
- import { dirname } from 'node:path';
9
- /** Derive a 1-5 rating from the cycle outcome. success→{5 if score≥0.85 else 4}; failure→{1 if constraint-violating else 2}. */
10
- export function deriveRating(outcome, constraintCheck) {
11
- if (outcome && outcome.status === 'success') {
12
- const score = Number(outcome.score) || 0;
13
- return score >= 0.85 ? 5 : 4;
14
- }
15
- const violated = !!constraintCheck && Array.isArray(constraintCheck.violations) && constraintCheck.violations.length > 0;
16
- return violated ? 1 : 2;
17
- }
18
- /** Human-readable review body summarising the reuse outcome (capped 2000 chars). */
19
- export function buildReviewContent({ outcome, gene, signals, blast, sourceType }) {
20
- const status = outcome?.status ?? 'unknown';
21
- const score = outcome && Number.isFinite(Number(outcome.score)) ? Number(outcome.score).toFixed(2) : '?';
22
- const parts = [`Outcome: ${status} (score: ${score})`, `Reuse mode: ${sourceType ?? 'unknown'}`];
23
- if (gene?.id)
24
- parts.push(`Gene: ${gene.id} (${gene.category ?? 'unknown'})`);
25
- if (Array.isArray(signals) && signals.length > 0)
26
- parts.push(`Signals: ${signals.slice(0, 6).join(', ')}`);
27
- if (blast)
28
- parts.push(`Blast radius: ${blast.files ?? 0} file(s), ${blast.lines ?? 0} line(s)`);
29
- parts.push(status === 'success'
30
- ? 'The fetched asset was successfully applied and solidified.'
31
- : 'The fetched asset did not lead to a successful evolution cycle.');
32
- return parts.join('\n').slice(0, 2000);
33
- }
34
- /**
35
- * Submit a usage-verified review for a reused hub asset. Skips when: not hub-sourced, no asset id, or already
36
- * reviewed. Never throws — a transport error is logged and swallowed (solidify must not be affected).
37
- */
38
- export async function submitHubReview(deps, params) {
39
- const { reusedAssetId, sourceType, outcome, gene, signals, blast, constraintCheck, runId = null } = params;
40
- const now = deps.now ?? (() => Date.now());
41
- if (!reusedAssetId || typeof reusedAssetId !== 'string')
42
- return { submitted: false, reason: 'no_reused_asset_id' };
43
- if (sourceType !== 'reused' && sourceType !== 'reference')
44
- return { submitted: false, reason: 'not_hub_sourced' };
45
- if (deps.history?.has(reusedAssetId))
46
- return { submitted: false, reason: 'already_reviewed' };
47
- const rating = deriveRating(outcome, constraintCheck);
48
- const content = buildReviewContent({ outcome, gene, signals, blast, sourceType });
49
- try {
50
- const res = await deps.submit(reusedAssetId, { ...(deps.senderId ? { sender_id: deps.senderId } : {}), rating, content });
51
- if (res.ok) {
52
- deps.history?.mark(reusedAssetId, { rating, success: true, at: now() });
53
- deps.assetLog?.append({ run_id: runId, action: 'hub_review_submitted', asset_id: reusedAssetId, extra: { rating, outcome_status: outcome?.status } });
54
- return { submitted: true, rating, asset_id: reusedAssetId };
55
- }
56
- const errCode = res.error ?? `http_${res.status ?? 0}`;
57
- if (errCode === 'already_reviewed')
58
- deps.history?.mark(reusedAssetId, { rating, success: false, at: now() });
59
- deps.assetLog?.append({ run_id: runId, action: 'hub_review_rejected', asset_id: reusedAssetId, extra: { rating, error: errCode } });
60
- return { submitted: false, reason: errCode, rating };
61
- }
62
- catch (err) {
63
- const reason = err instanceof Error && err.name === 'AbortError' ? 'timeout' : 'fetch_error';
64
- deps.assetLog?.append({ run_id: runId, action: 'hub_review_failed', asset_id: reusedAssetId, extra: { rating, reason, error: err instanceof Error ? err.message : String(err) } });
65
- return { submitted: false, reason, rating };
66
- }
67
- }
68
- const HISTORY_MAX = 500;
69
- /** File-backed ReviewHistoryStore: a JSON map assetId → {at,rating,success}, capped to the most recent N (atomic write). */
70
- export class FileReviewHistory {
71
- path;
72
- max;
73
- constructor(path, max = HISTORY_MAX) {
74
- this.path = path;
75
- this.max = max;
76
- }
77
- load() {
78
- try {
79
- if (!existsSync(this.path))
80
- return {};
81
- const raw = readFileSync(this.path, 'utf8').trim();
82
- return raw ? JSON.parse(raw) : {};
83
- }
84
- catch {
85
- return {};
86
- }
87
- }
88
- has(assetId) { return !!this.load()[assetId]; }
89
- mark(assetId, rec) {
90
- try {
91
- const history = this.load();
92
- history[assetId] = rec;
93
- const keys = Object.keys(history);
94
- if (keys.length > this.max) {
95
- const oldest = keys.map((k) => ({ k, t: history[k].at || 0 })).sort((a, b) => a.t - b.t).slice(0, keys.length - this.max);
96
- for (const { k } of oldest)
97
- delete history[k];
98
- }
99
- mkdirSync(dirname(this.path), { recursive: true });
100
- const tmp = `${this.path}.tmp`;
101
- writeFileSync(tmp, `${JSON.stringify(history, null, 2)}\n`, 'utf8');
102
- renameSync(tmp, this.path);
103
- }
104
- catch { /* non-fatal */ }
105
- }
106
- }
1
+ const _0x42453a=_0x407b;(function(_0x1a320e,_0x47b2c1){const _0x445f47=_0x407b,_0x25439d=_0x1a320e();while(!![]){try{const _0xe93141=-parseInt(_0x445f47(0x24a,'\x6b\x5d\x43\x40'))/(0xdfa+-0x2540+-0x1747*-0x1)+-parseInt(_0x445f47(0x205,'\x68\x51\x5b\x57'))/(-0x1*-0x828+-0x944+0x1a*0xb)+-parseInt(_0x445f47(0x247,'\x76\x5e\x30\x69'))/(0x1d15+-0x1a*0x24+-0x1*0x196a)+-parseInt(_0x445f47(0x1ef,'\x4b\x4c\x67\x58'))/(0x21cf+0x2282+0x41*-0x10d)*(-parseInt(_0x445f47(0x256,'\x64\x56\x7a\x6f'))/(-0x1ce2+0xd87+0xf60))+-parseInt(_0x445f47(0x1dd,'\x43\x61\x78\x4e'))/(0x17*0x4a+0x3*-0x9d3+-0x1*-0x16d9)+parseInt(_0x445f47(0x258,'\x34\x4e\x58\x61'))/(-0x6a1+-0x1fb*0x1+0x2e1*0x3)+parseInt(_0x445f47(0x240,'\x5d\x41\x73\x79'))/(0xd3*0x7+0x4ac*0x4+0xd*-0x1e1);if(_0xe93141===_0x47b2c1)break;else _0x25439d['push'](_0x25439d['shift']());}catch(_0x36612c){_0x25439d['push'](_0x25439d['shift']());}}}(_0x5e79,0x1402*0x166+0x13b*-0x991+-0x1bc88));import{existsSync,mkdirSync,readFileSync,renameSync,writeFileSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';import{dirname}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';export function deriveRating(_0x351352,_0x45a5bb){const _0x3d112e=_0x407b;if(_0x351352&&_0x351352[_0x3d112e(0x233,'\x4d\x71\x5d\x5a')]===_0x3d112e(0x1e2,'\x4f\x4b\x46\x26')){if(_0x3d112e(0x238,'\x67\x43\x70\x31')===_0x3d112e(0x224,'\x57\x4f\x5d\x5b')){const _0x8e959=Number(_0x351352[_0x3d112e(0x232,'\x64\x56\x7a\x6f')])||-0x16cc*-0x1+-0x1f*-0x13c+-0x3d10;return _0x8e959>=0x19e3+0x1d*0x6a+0x25e5*-0x1+0.85?0x58+-0xd*-0x301+0x460*-0x9:0xa2a+-0x114f+0x729;}else return!!this['\x6c\x6f\x61\x64']()[_0x20d5b0];}const _0x414541=!!_0x45a5bb&&Array[_0x3d112e(0x25c,'\x57\x6a\x6b\x48')](_0x45a5bb[_0x3d112e(0x206,'\x41\x50\x23\x71')+'\x6e\x73'])&&_0x45a5bb[_0x3d112e(0x222,'\x57\x4f\x5d\x5b')+'\x6e\x73'][_0x3d112e(0x1f1,'\x64\x56\x7a\x6f')]>0xa8b*-0x3+0x1*0x12b+0x1e76;return _0x414541?0x3*-0x477+0x2*-0xd03+-0x692*-0x6:0x18fa+0x459+-0x5dd*0x5;}function _0x5e79(){const _0x5abfc3=['\x78\x38\x6f\x6b\x76\x74\x4b\x45','\x57\x4f\x31\x30\x57\x36\x39\x4e','\x57\x36\x54\x39\x57\x50\x34\x36','\x64\x31\x42\x63\x56\x6d\x6f\x4b\x79\x6d\x6b\x36\x69\x48\x6a\x55\x57\x51\x6c\x64\x56\x38\x6f\x71\x6e\x47','\x57\x35\x42\x64\x53\x6d\x6b\x6c\x75\x4a\x76\x44\x57\x37\x68\x64\x54\x72\x58\x35\x73\x59\x37\x63\x4b\x61','\x74\x38\x6b\x6b\x42\x43\x6f\x69\x6b\x43\x6b\x46\x72\x77\x79','\x6b\x53\x6f\x42\x57\x37\x6c\x63\x4f\x49\x56\x64\x4e\x53\x6f\x42\x57\x34\x46\x64\x51\x38\x6f\x30\x79\x61\x43','\x57\x34\x46\x64\x49\x43\x6b\x34\x57\x37\x35\x61\x45\x4a\x69','\x57\x52\x6c\x63\x49\x38\x6b\x55\x6d\x31\x4f','\x46\x33\x42\x63\x52\x68\x64\x64\x4a\x53\x6b\x6c\x57\x50\x52\x63\x49\x61','\x67\x57\x4f\x67\x43\x57','\x57\x37\x6a\x42\x70\x6d\x6b\x4a\x42\x53\x6b\x66','\x57\x35\x6c\x64\x55\x57\x52\x64\x4f\x43\x6f\x43','\x57\x4f\x38\x62\x57\x37\x37\x63\x4a\x6d\x6f\x41','\x68\x71\x71\x45\x42\x53\x6b\x72\x6a\x68\x33\x63\x55\x47','\x79\x4a\x2f\x64\x49\x43\x6f\x71','\x6d\x61\x71\x6d\x57\x35\x4f','\x6d\x43\x6b\x34\x57\x50\x6e\x6e\x73\x38\x6b\x33\x61\x73\x4f','\x57\x4f\x52\x64\x55\x53\x6b\x38\x73\x6d\x6b\x6a\x73\x5a\x38\x73\x67\x30\x46\x64\x4f\x53\x6b\x2f\x74\x71','\x62\x47\x4f\x61\x43\x61','\x6b\x43\x6f\x52\x57\x34\x6d\x75\x67\x38\x6b\x51\x73\x32\x68\x64\x4a\x6d\x6f\x41\x65\x72\x64\x63\x53\x47','\x57\x50\x46\x63\x4f\x4b\x68\x64\x50\x77\x7a\x68','\x62\x6d\x6f\x37\x57\x4f\x2f\x63\x49\x38\x6f\x53\x57\x50\x30\x58\x75\x4e\x68\x63\x53\x38\x6f\x30\x63\x4b\x53','\x57\x52\x42\x63\x51\x75\x50\x71\x67\x38\x6f\x71\x57\x50\x4f','\x57\x4f\x4b\x52\x57\x35\x37\x63\x51\x6d\x6f\x76\x6b\x74\x38','\x57\x52\x30\x76\x6f\x53\x6b\x6d\x6f\x53\x6f\x71\x69\x33\x30','\x57\x34\x64\x64\x4f\x61\x2f\x64\x51\x71','\x57\x52\x34\x67\x70\x53\x6b\x68\x57\x51\x7a\x43\x65\x71','\x72\x53\x6b\x6c\x57\x51\x64\x63\x53\x33\x52\x63\x47\x38\x6f\x52\x57\x36\x53','\x57\x51\x6d\x7a\x6d\x43\x6f\x61\x6f\x53\x6f\x78\x6f\x78\x43','\x57\x4f\x6c\x63\x52\x6d\x6b\x79\x61\x67\x57\x69\x57\x36\x78\x64\x52\x57','\x76\x38\x6b\x55\x57\x52\x31\x2f\x57\x51\x78\x64\x52\x43\x6f\x61\x57\x35\x47','\x79\x53\x6b\x63\x57\x52\x68\x64\x55\x57','\x57\x35\x72\x41\x57\x36\x37\x64\x53\x4d\x43\x6d\x57\x35\x54\x6c\x45\x48\x4a\x64\x54\x77\x6e\x6a','\x57\x36\x4c\x34\x57\x35\x46\x64\x54\x72\x69\x4d\x57\x37\x34\x70','\x57\x34\x68\x63\x51\x53\x6f\x69\x57\x4f\x6a\x72\x64\x43\x6b\x56\x41\x57','\x64\x49\x35\x2b\x57\x4f\x76\x37','\x57\x34\x4c\x57\x6b\x6d\x6b\x73\x41\x57','\x6c\x48\x61\x44\x57\x35\x6c\x63\x4f\x33\x58\x45','\x57\x50\x52\x63\x47\x63\x62\x4c','\x6b\x31\x42\x64\x4c\x38\x6b\x61\x64\x49\x74\x64\x56\x57\x38','\x57\x35\x70\x63\x51\x38\x6f\x59','\x57\x35\x2f\x64\x54\x58\x2f\x64\x54\x57','\x57\x50\x64\x64\x4a\x31\x61\x39\x65\x63\x56\x63\x51\x53\x6b\x6d','\x57\x51\x4f\x6d\x6a\x43\x6b\x66\x6e\x43\x6f\x61','\x57\x34\x46\x64\x53\x71\x4e\x64\x54\x53\x6f\x6b','\x57\x50\x4a\x63\x48\x63\x66\x2b\x57\x35\x33\x63\x4c\x57','\x57\x50\x46\x64\x49\x38\x6b\x5a\x57\x36\x35\x6a','\x57\x52\x39\x43\x6d\x43\x6b\x6a\x70\x38\x6b\x65\x6a\x68\x30','\x70\x43\x6b\x63\x6a\x49\x50\x66\x57\x51\x74\x63\x56\x64\x65','\x57\x35\x6e\x2f\x57\x35\x34','\x57\x37\x6d\x48\x61\x53\x6b\x4d\x57\x4f\x35\x68\x6e\x71','\x57\x37\x7a\x78\x69\x43\x6b\x57\x44\x43\x6b\x46\x57\x36\x75','\x57\x35\x6c\x63\x52\x38\x6f\x4b\x67\x53\x6f\x69\x66\x57','\x77\x4e\x38\x4e\x57\x35\x65\x2f\x57\x50\x5a\x63\x4e\x48\x66\x41\x64\x6d\x6b\x45\x57\x36\x53','\x57\x35\x70\x63\x52\x38\x6f\x35\x64\x53\x6f\x44\x67\x67\x38','\x79\x53\x6b\x51\x57\x50\x54\x76\x77\x38\x6f\x53','\x57\x52\x30\x6a\x66\x30\x62\x4f\x71\x71\x5a\x64\x55\x57\x2f\x63\x54\x6d\x6f\x6f\x57\x37\x78\x64\x4f\x61','\x57\x50\x58\x59\x57\x36\x39\x51\x57\x51\x65\x79\x57\x51\x4e\x63\x48\x57','\x57\x52\x6c\x63\x50\x76\x44\x64\x61\x6d\x6f\x6b','\x66\x6d\x6b\x59\x57\x51\x61\x77','\x57\x50\x46\x63\x54\x65\x5a\x64\x55\x4d\x4f','\x57\x35\x2f\x63\x55\x53\x6f\x36\x67\x6d\x6f\x73\x67\x57','\x71\x53\x6b\x4c\x57\x52\x6a\x32\x57\x51\x53\x50\x71\x71','\x57\x50\x4e\x63\x48\x64\x50\x50\x57\x35\x33\x63\x47\x43\x6b\x46\x67\x57','\x7a\x59\x52\x64\x4d\x38\x6b\x61','\x57\x37\x39\x73\x69\x6d\x6b\x48\x45\x38\x6b\x6a\x57\x36\x76\x4e','\x57\x34\x52\x63\x52\x38\x6f\x55','\x6c\x61\x38\x69\x74\x38\x6b\x39','\x57\x34\x43\x39\x67\x66\x6d\x34\x73\x4d\x42\x64\x50\x71','\x6c\x31\x6c\x64\x55\x38\x6b\x78\x68\x57\x6c\x64\x54\x71\x53','\x69\x4b\x74\x64\x4c\x57','\x41\x67\x75\x39\x42\x38\x6b\x72\x57\x35\x65','\x57\x35\x33\x64\x4f\x48\x42\x63\x56\x5a\x43\x64\x6e\x38\x6f\x72\x67\x6d\x6b\x74\x6c\x65\x69','\x57\x51\x4a\x63\x51\x76\x7a\x69\x66\x43\x6f\x77\x57\x4f\x52\x64\x4d\x71','\x6f\x75\x4e\x64\x4a\x43\x6b\x67\x68\x57','\x64\x57\x69\x68\x41\x6d\x6f\x46\x42\x71','\x45\x53\x6b\x4c\x57\x4f\x56\x64\x4f\x4e\x53','\x63\x58\x4c\x49\x61\x53\x6f\x32\x64\x33\x39\x58','\x6b\x6d\x6b\x49\x57\x36\x6d\x35','\x78\x38\x6f\x70\x45\x63\x75\x7a\x41\x74\x46\x63\x4f\x47','\x57\x4f\x64\x64\x4d\x66\x71\x36\x66\x4a\x34','\x43\x43\x6b\x4f\x57\x35\x64\x64\x4a\x53\x6b\x50\x57\x36\x66\x32\x44\x71','\x66\x38\x6b\x4e\x57\x52\x75\x6b\x65\x38\x6b\x45','\x66\x53\x6b\x4a\x43\x77\x54\x35\x57\x37\x50\x56','\x57\x4f\x52\x63\x51\x43\x6f\x61','\x57\x52\x70\x63\x4d\x76\x4e\x64\x4e\x4e\x34','\x71\x6d\x6b\x52\x57\x34\x56\x64\x4c\x61','\x79\x4e\x52\x63\x4e\x68\x64\x64\x4a\x47','\x74\x72\x62\x2f\x64\x38\x6f\x37\x45\x67\x4b\x51','\x6c\x48\x65\x46\x57\x34\x78\x63\x53\x33\x57','\x57\x50\x42\x64\x4d\x32\x4f\x4f\x61\x49\x74\x63\x53\x38\x6b\x66','\x57\x51\x4f\x71\x6a\x38\x6b\x66\x6f\x53\x6f\x61\x6d\x30\x30','\x57\x51\x34\x42\x6a\x53\x6b\x70\x57\x52\x58\x68\x78\x38\x6b\x32','\x57\x34\x6a\x4c\x57\x37\x42\x63\x54\x47','\x57\x50\x43\x79\x6d\x73\x68\x63\x49\x78\x4b\x47\x57\x35\x61','\x57\x34\x54\x52\x57\x35\x34\x64','\x57\x4f\x75\x68\x6b\x59\x46\x63\x4d\x61','\x57\x52\x70\x63\x4f\x75\x4b','\x61\x57\x34\x77\x6f\x38\x6b\x65\x70\x4d\x68\x63\x53\x71','\x57\x35\x68\x63\x50\x53\x6f\x4a\x67\x43\x6f\x76\x67\x77\x6d\x41','\x6d\x71\x4f\x46\x57\x35\x75','\x43\x38\x6b\x49\x57\x51\x44\x47\x57\x51\x68\x63\x55\x43\x6f\x65\x57\x35\x47','\x42\x57\x2f\x64\x51\x43\x6f\x5a\x6e\x38\x6f\x4d\x79\x59\x71','\x75\x53\x6b\x54\x57\x50\x54\x6e\x57\x51\x71','\x57\x4f\x70\x63\x52\x43\x6b\x63\x71\x71','\x57\x35\x30\x36\x6b\x30\x47\x4b\x74\x68\x79','\x79\x43\x6b\x6d\x57\x52\x46\x64\x50\x57','\x57\x4f\x34\x69\x57\x36\x68\x63\x48\x53\x6f\x41\x6e\x43\x6f\x5a\x67\x57','\x57\x35\x5a\x64\x55\x58\x78\x64\x53\x6d\x6f\x61\x71\x38\x6f\x48','\x76\x63\x2f\x64\x49\x6d\x6b\x37','\x64\x6d\x6b\x4d\x57\x52\x79\x48\x66\x6d\x6b\x69\x57\x37\x42\x64\x4d\x47','\x57\x35\x64\x63\x50\x43\x6f\x2b\x69\x53\x6f\x75\x63\x4d\x47\x47','\x57\x37\x37\x63\x51\x53\x6f\x70\x57\x4f\x4b','\x57\x50\x6d\x55\x65\x6d\x6b\x68\x65\x61','\x57\x34\x52\x64\x51\x53\x6f\x4d\x67\x6d\x6f\x44\x67\x59\x4f\x6c','\x46\x59\x78\x64\x48\x38\x6b\x36\x46\x5a\x4f','\x57\x36\x58\x4d\x57\x4f\x4f','\x57\x34\x33\x63\x51\x43\x6f\x4c\x64\x38\x6f\x7a','\x6b\x53\x6b\x50\x6a\x49\x31\x64\x57\x52\x69','\x57\x50\x72\x48\x67\x76\x4b\x35\x78\x32\x52\x63\x55\x71','\x7a\x33\x64\x63\x4e\x67\x37\x64\x49\x53\x6b\x6b\x57\x4f\x64\x63\x47\x47','\x68\x72\x31\x49\x63\x71','\x43\x43\x6b\x2f\x57\x51\x31\x4f','\x57\x51\x56\x63\x52\x38\x6b\x55\x70\x65\x4f','\x42\x68\x75\x58\x76\x38\x6b\x78\x57\x35\x58\x49\x64\x47','\x57\x36\x43\x47\x64\x76\x71\x33\x71\x78\x5a\x63\x55\x71','\x57\x4f\x46\x64\x47\x33\x6d\x4e\x67\x59\x4a\x63\x55\x57','\x57\x34\x4a\x64\x55\x43\x6f\x6c\x73\x62\x56\x63\x52\x58\x47\x5a\x42\x6d\x6f\x75\x77\x59\x38\x4a','\x57\x34\x39\x42\x44\x78\x42\x64\x4a\x47\x76\x37\x57\x37\x42\x64\x47\x31\x79\x4a\x73\x38\x6b\x4f','\x57\x50\x6c\x63\x50\x53\x6b\x6b','\x62\x71\x71\x66','\x57\x35\x70\x64\x4b\x77\x6d\x2f\x57\x4f\x56\x64\x47\x38\x6f\x49\x70\x53\x6b\x57\x57\x34\x50\x48\x57\x50\x6c\x64\x47\x61','\x57\x50\x56\x64\x4d\x76\x43\x72\x65\x73\x4a\x63\x51\x43\x6b\x6a','\x57\x37\x52\x63\x52\x43\x6f\x76\x57\x4f\x57','\x64\x49\x48\x58\x57\x4f\x71'];_0x5e79=function(){return _0x5abfc3;};return _0x5e79();}export function buildReviewContent({outcome:_0x4d9fe9,gene:_0x3daa24,signals:_0x55d2d5,blast:_0x292ff3,sourceType:_0xee5fc2}){const _0x1eb79f=_0x407b,_0x984bd0=_0x4d9fe9?.[_0x1eb79f(0x20f,'\x5b\x69\x51\x6c')]??_0x1eb79f(0x1d7,'\x4b\x4c\x67\x58'),_0x411641=_0x4d9fe9&&Number['\x69\x73\x46\x69\x6e\x69\x74\x65'](Number(_0x4d9fe9[_0x1eb79f(0x1f9,'\x68\x51\x5b\x57')]))?Number(_0x4d9fe9[_0x1eb79f(0x214,'\x5a\x42\x4e\x62')])[_0x1eb79f(0x23b,'\x64\x21\x50\x43')](0x224*0x5+-0xf55+0x4a3):'\x3f',_0x259cb2=[_0x1eb79f(0x1df,'\x54\x43\x6a\x4e')+'\x20'+_0x984bd0+(_0x1eb79f(0x234,'\x30\x35\x6c\x32')+'\x20')+_0x411641+'\x29',_0x1eb79f(0x1db,'\x57\x4f\x5d\x5b')+_0x1eb79f(0x225,'\x43\x79\x24\x46')+(_0xee5fc2??'\x75\x6e\x6b\x6e\x6f\x77\x6e')];if(_0x3daa24?.['\x69\x64'])_0x259cb2[_0x1eb79f(0x22d,'\x54\x43\x6a\x4e')](_0x1eb79f(0x230,'\x32\x78\x54\x49')+_0x3daa24['\x69\x64']+'\x20\x28'+(_0x3daa24['\x63\x61\x74\x65\x67\x6f\x72\x79']??'\x75\x6e\x6b\x6e\x6f\x77\x6e')+'\x29');if(Array[_0x1eb79f(0x226,'\x30\x35\x6c\x32')](_0x55d2d5)&&_0x55d2d5[_0x1eb79f(0x24f,'\x42\x44\x28\x6e')]>0x1*-0x1262+0xdc8+0x24d*0x2)_0x259cb2[_0x1eb79f(0x245,'\x73\x46\x4a\x34')](_0x1eb79f(0x23a,'\x30\x35\x6c\x32')+'\x20'+_0x55d2d5[_0x1eb79f(0x207,'\x38\x5e\x6c\x41')](-0x2658+-0x1f33+-0x458b*-0x1,0x1039*0x1+0x4c*0xd+-0xd*0x18b)['\x6a\x6f\x69\x6e']('\x2c\x20'));if(_0x292ff3)_0x259cb2[_0x1eb79f(0x21c,'\x65\x39\x4c\x52')]('\x42\x6c\x61\x73\x74\x20\x72\x61'+_0x1eb79f(0x208,'\x55\x53\x77\x6d')+(_0x292ff3[_0x1eb79f(0x250,'\x78\x33\x39\x49')]??-0x1e62*0x1+0xbe7+0x13*0xf9)+(_0x1eb79f(0x255,'\x34\x4e\x58\x61')+'\x2c\x20')+(_0x292ff3[_0x1eb79f(0x1e0,'\x2a\x52\x6d\x45')]??0x1*-0x2202+-0x25c*0x10+0x47c2)+_0x1eb79f(0x215,'\x55\x25\x38\x6f'));return _0x259cb2['\x70\x75\x73\x68'](_0x984bd0==='\x73\x75\x63\x63\x65\x73\x73'?_0x1eb79f(0x223,'\x76\x5e\x30\x69')+_0x1eb79f(0x1d9,'\x44\x38\x70\x46')+_0x1eb79f(0x249,'\x33\x61\x5a\x6b')+_0x1eb79f(0x1e7,'\x64\x21\x50\x43')+_0x1eb79f(0x1de,'\x58\x71\x56\x4e')+_0x1eb79f(0x1da,'\x43\x79\x24\x46')+_0x1eb79f(0x220,'\x64\x56\x7a\x6f')+'\x64\x2e':_0x1eb79f(0x1d8,'\x6b\x5d\x43\x40')+_0x1eb79f(0x21f,'\x55\x53\x77\x6d')+_0x1eb79f(0x1ec,'\x44\x38\x70\x46')+_0x1eb79f(0x22f,'\x64\x56\x7a\x6f')+'\x6f\x20\x61\x20\x73\x75\x63\x63'+_0x1eb79f(0x219,'\x4b\x4c\x67\x58')+_0x1eb79f(0x252,'\x55\x53\x77\x6d')+_0x1eb79f(0x24b,'\x63\x23\x37\x59')),_0x259cb2['\x6a\x6f\x69\x6e']('\x0a')[_0x1eb79f(0x251,'\x50\x78\x76\x65')](0x6c3*0x2+-0x1e3+-0xba3,0x9c1+-0xaf1+0x900);}export async function submitHubReview(_0x942aea,_0xefc134){const _0x2734c3=_0x407b,{reusedAssetId:_0x31b91f,sourceType:_0x412e58,outcome:_0x26259a,gene:_0x5e61ee,signals:_0x18c309,blast:_0x5de618,constraintCheck:_0x5ca64f,runId:runId=null}=_0xefc134,_0x588ecb=_0x942aea[_0x2734c3(0x23e,'\x67\x43\x70\x31')]??(()=>Date[_0x2734c3(0x23f,'\x55\x53\x77\x6d')]());if(!_0x31b91f||typeof _0x31b91f!=='\x73\x74\x72\x69\x6e\x67')return{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':![],'\x72\x65\x61\x73\x6f\x6e':_0x2734c3(0x24d,'\x5a\x42\x4e\x62')+_0x2734c3(0x1ed,'\x4d\x71\x5d\x5a')+'\x69\x64'};if(_0x412e58!==_0x2734c3(0x1ea,'\x5d\x41\x73\x79')&&_0x412e58!=='\x72\x65\x66\x65\x72\x65\x6e\x63'+'\x65')return{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':![],'\x72\x65\x61\x73\x6f\x6e':_0x2734c3(0x22c,'\x64\x56\x7a\x6f')+'\x73\x6f\x75\x72\x63\x65\x64'};if(_0x942aea[_0x2734c3(0x25b,'\x41\x50\x23\x71')]?.[_0x2734c3(0x203,'\x38\x5e\x6c\x41')](_0x31b91f))return{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':![],'\x72\x65\x61\x73\x6f\x6e':_0x2734c3(0x218,'\x44\x38\x70\x46')+'\x72\x65\x76\x69\x65\x77\x65\x64'};const _0x2dc489=deriveRating(_0x26259a,_0x5ca64f),_0x4b23a8=buildReviewContent({'\x6f\x75\x74\x63\x6f\x6d\x65':_0x26259a,'\x67\x65\x6e\x65':_0x5e61ee,'\x73\x69\x67\x6e\x61\x6c\x73':_0x18c309,'\x62\x6c\x61\x73\x74':_0x5de618,'\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65':_0x412e58});try{if(_0x2734c3(0x24c,'\x67\x43\x70\x31')===_0x2734c3(0x209,'\x6b\x5d\x43\x40')){if(_0x5a17eb&&_0x41f6f0[_0x2734c3(0x20d,'\x64\x21\x50\x43')]===_0x2734c3(0x1fb,'\x39\x70\x4a\x26')){const _0x49bf11=_0x50f165(_0x23f461[_0x2734c3(0x1e9,'\x78\x33\x39\x49')])||0x113*-0x11+0x1110+-0x133*-0x1;return _0x49bf11>=-0x2664+0x32c+-0x119c*-0x2+0.85?0xe08+0x6*0x669+-0x3479:0x14d+-0x1*0xf4d+-0x4*-0x381;}const _0x22a1b0=!!_0x3bdcfc&&_0xbfcbbd['\x69\x73\x41\x72\x72\x61\x79'](_0x4a6fd8[_0x2734c3(0x1d5,'\x44\x38\x70\x46')+'\x6e\x73'])&&_0x67c19b[_0x2734c3(0x235,'\x5a\x42\x4e\x62')+'\x6e\x73']['\x6c\x65\x6e\x67\x74\x68']>-0x2*0xd21+0x1315+0x72d*0x1;return _0x22a1b0?0x26a0+0xd0f+0x3*-0x113a:-0x164+-0x18f0+-0x1*-0x1a56;}else{const _0x1e5ade=await _0x942aea[_0x2734c3(0x259,'\x68\x51\x5b\x57')](_0x31b91f,{..._0x942aea[_0x2734c3(0x1fc,'\x5d\x41\x73\x79')]?{'\x73\x65\x6e\x64\x65\x72\x5f\x69\x64':_0x942aea['\x73\x65\x6e\x64\x65\x72\x49\x64']}:{},'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x63\x6f\x6e\x74\x65\x6e\x74':_0x4b23a8});if(_0x1e5ade['\x6f\x6b'])return _0x942aea[_0x2734c3(0x229,'\x78\x33\x39\x49')]?.[_0x2734c3(0x257,'\x55\x53\x77\x6d')](_0x31b91f,{'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x73\x75\x63\x63\x65\x73\x73':!![],'\x61\x74':_0x588ecb()}),_0x942aea[_0x2734c3(0x21b,'\x4e\x76\x77\x35')]?.['\x61\x70\x70\x65\x6e\x64']({'\x72\x75\x6e\x5f\x69\x64':runId,'\x61\x63\x74\x69\x6f\x6e':_0x2734c3(0x22b,'\x5b\x69\x51\x6c')+_0x2734c3(0x20c,'\x36\x45\x24\x48')+_0x2734c3(0x237,'\x57\x4f\x5d\x5b'),'\x61\x73\x73\x65\x74\x5f\x69\x64':_0x31b91f,'\x65\x78\x74\x72\x61':{'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x6f\x75\x74\x63\x6f\x6d\x65\x5f\x73\x74\x61\x74\x75\x73':_0x26259a?.[_0x2734c3(0x1f4,'\x34\x4e\x58\x61')]}}),{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':!![],'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x61\x73\x73\x65\x74\x5f\x69\x64':_0x31b91f};const _0x51b96b=_0x1e5ade[_0x2734c3(0x244,'\x36\x45\x24\x48')]??'\x68\x74\x74\x70\x5f'+(_0x1e5ade[_0x2734c3(0x216,'\x4f\x4b\x46\x26')]??0x181*-0x5+-0x2129*-0x1+0x6*-0x446);if(_0x51b96b===_0x2734c3(0x1fe,'\x42\x44\x28\x6e')+_0x2734c3(0x228,'\x50\x78\x76\x65'))_0x942aea[_0x2734c3(0x1f0,'\x42\x44\x28\x6e')]?.[_0x2734c3(0x254,'\x4f\x4b\x46\x26')](_0x31b91f,{'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x73\x75\x63\x63\x65\x73\x73':![],'\x61\x74':_0x588ecb()});return _0x942aea[_0x2734c3(0x1f6,'\x73\x46\x4a\x34')]?.[_0x2734c3(0x1fa,'\x64\x56\x7a\x6f')]({'\x72\x75\x6e\x5f\x69\x64':runId,'\x61\x63\x74\x69\x6f\x6e':_0x2734c3(0x241,'\x64\x21\x50\x43')+_0x2734c3(0x202,'\x38\x5e\x6c\x41')+_0x2734c3(0x1ff,'\x64\x56\x7a\x6f'),'\x61\x73\x73\x65\x74\x5f\x69\x64':_0x31b91f,'\x65\x78\x74\x72\x61':{'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x65\x72\x72\x6f\x72':_0x51b96b}}),{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':![],'\x72\x65\x61\x73\x6f\x6e':_0x51b96b,'\x72\x61\x74\x69\x6e\x67':_0x2dc489};}}catch(_0x5849e9){if(_0x2734c3(0x22e,'\x44\x38\x70\x46')===_0x2734c3(0x200,'\x55\x53\x77\x6d'))return{};else{const _0x5169ef=_0x5849e9 instanceof Error&&_0x5849e9['\x6e\x61\x6d\x65']===_0x2734c3(0x20e,'\x47\x55\x47\x36')+'\x6f\x72'?_0x2734c3(0x210,'\x6c\x75\x6c\x49'):_0x2734c3(0x20a,'\x55\x25\x38\x6f')+_0x2734c3(0x231,'\x4f\x38\x77\x21');return _0x942aea[_0x2734c3(0x1e4,'\x38\x5e\x6c\x41')]?.[_0x2734c3(0x1e8,'\x44\x38\x70\x46')]({'\x72\x75\x6e\x5f\x69\x64':runId,'\x61\x63\x74\x69\x6f\x6e':_0x2734c3(0x239,'\x39\x4e\x34\x23')+_0x2734c3(0x217,'\x64\x21\x50\x43')+'\x64','\x61\x73\x73\x65\x74\x5f\x69\x64':_0x31b91f,'\x65\x78\x74\x72\x61':{'\x72\x61\x74\x69\x6e\x67':_0x2dc489,'\x72\x65\x61\x73\x6f\x6e':_0x5169ef,'\x65\x72\x72\x6f\x72':_0x5849e9 instanceof Error?_0x5849e9[_0x2734c3(0x1f3,'\x64\x56\x7a\x6f')]:String(_0x5849e9)}}),{'\x73\x75\x62\x6d\x69\x74\x74\x65\x64':![],'\x72\x65\x61\x73\x6f\x6e':_0x5169ef,'\x72\x61\x74\x69\x6e\x67':_0x2dc489};}}}const HISTORY_MAX=0x1*0x16f6+0x490+-0x1992;function _0x407b(_0x2b382e,_0x378dd4){_0x2b382e=_0x2b382e-(0x17*0x12d+-0x7a+-0x4*0x62f);const _0x3334d9=_0x5e79();let _0x2b5980=_0x3334d9[_0x2b382e];if(_0x407b['\x61\x46\x76\x62\x70\x59']===undefined){var _0x299813=function(_0x223650){const _0x353e70='\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 _0x240f62='',_0x45c0d3='';for(let _0x4f3015=-0x49*-0x6b+0x1c*0xb4+0x1*-0x3233,_0x3e476e,_0x3e4ef9,_0x34a20d=-0x2207+0x45*0x49+0xe5a*0x1;_0x3e4ef9=_0x223650['\x63\x68\x61\x72\x41\x74'](_0x34a20d++);~_0x3e4ef9&&(_0x3e476e=_0x4f3015%(-0x9fa*-0x1+-0x12*0x1a0+0x1*0x134a)?_0x3e476e*(0x2077+-0x1c2d+-0x40a*0x1)+_0x3e4ef9:_0x3e4ef9,_0x4f3015++%(-0x1069*-0x1+0x2279+-0x32de))?_0x240f62+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x141a+-0x8d4+-0x1*-0x1ded&_0x3e476e>>(-(0x1582+-0xd*-0xdf+0x20d3*-0x1)*_0x4f3015&0x2a8*0x5+-0x89*0x1+-0xcb9)):0x12*-0x180+0xf31+0xbcf){_0x3e4ef9=_0x353e70['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3e4ef9);}for(let _0x413303=-0x25d5+0x1a29*-0x1+-0x2*-0x1fff,_0x55bd9b=_0x240f62['\x6c\x65\x6e\x67\x74\x68'];_0x413303<_0x55bd9b;_0x413303++){_0x45c0d3+='\x25'+('\x30\x30'+_0x240f62['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x413303)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x4*-0x64e+-0x1*0x1efd+0x5d5))['\x73\x6c\x69\x63\x65'](-(0xad*0x19+-0x8ad+-0x836));}return decodeURIComponent(_0x45c0d3);};const _0x21b5a1=function(_0x568d7c,_0x4cf463){let _0x1c1536=[],_0x5b982f=-0x17c+-0xda6+0xf22,_0x1373d4,_0x2b74b1='';_0x568d7c=_0x299813(_0x568d7c);let _0x51bf91;for(_0x51bf91=-0x22fa+0x34d*0xa+0x1f8;_0x51bf91<0x21b6+-0x2056*0x1+-0x60;_0x51bf91++){_0x1c1536[_0x51bf91]=_0x51bf91;}for(_0x51bf91=0x140f+-0x1d75*-0x1+-0x3184;_0x51bf91<-0x1210+0x1a1*0x10+-0x700;_0x51bf91++){_0x5b982f=(_0x5b982f+_0x1c1536[_0x51bf91]+_0x4cf463['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x51bf91%_0x4cf463['\x6c\x65\x6e\x67\x74\x68']))%(0x1fd+0x286*-0xa+0x815*0x3),_0x1373d4=_0x1c1536[_0x51bf91],_0x1c1536[_0x51bf91]=_0x1c1536[_0x5b982f],_0x1c1536[_0x5b982f]=_0x1373d4;}_0x51bf91=-0x15*0x69+0xb26+-0x1*0x289,_0x5b982f=0x430+-0xb3*-0x19+0x739*-0x3;for(let _0x563b4e=0x1942+-0x1dbc+0x17e*0x3;_0x563b4e<_0x568d7c['\x6c\x65\x6e\x67\x74\x68'];_0x563b4e++){_0x51bf91=(_0x51bf91+(0x525*0x2+-0x2*0x616+-0x3*-0xa1))%(-0x61*-0x29+0xffe+-0x209*0xf),_0x5b982f=(_0x5b982f+_0x1c1536[_0x51bf91])%(-0x178e+0x1*-0x2473+0x3d01),_0x1373d4=_0x1c1536[_0x51bf91],_0x1c1536[_0x51bf91]=_0x1c1536[_0x5b982f],_0x1c1536[_0x5b982f]=_0x1373d4,_0x2b74b1+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x568d7c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x563b4e)^_0x1c1536[(_0x1c1536[_0x51bf91]+_0x1c1536[_0x5b982f])%(-0x7bd*-0x3+0x1*-0x42d+-0x120a)]);}return _0x2b74b1;};_0x407b['\x6c\x4d\x45\x72\x77\x79']=_0x21b5a1,_0x407b['\x61\x4a\x75\x75\x59\x55']={},_0x407b['\x61\x46\x76\x62\x70\x59']=!![];}const _0x48720f=_0x3334d9[0x302+0x29*-0x15+0x5b],_0x287262=_0x2b382e+_0x48720f,_0x566f2c=_0x407b['\x61\x4a\x75\x75\x59\x55'][_0x287262];return!_0x566f2c?(_0x407b['\x74\x41\x75\x46\x45\x50']===undefined&&(_0x407b['\x74\x41\x75\x46\x45\x50']=!![]),_0x2b5980=_0x407b['\x6c\x4d\x45\x72\x77\x79'](_0x2b5980,_0x378dd4),_0x407b['\x61\x4a\x75\x75\x59\x55'][_0x287262]=_0x2b5980):_0x2b5980=_0x566f2c,_0x2b5980;}export class FileReviewHistory{[_0x42453a(0x236,'\x55\x25\x38\x6f')];[_0x42453a(0x211,'\x43\x79\x24\x46')];constructor(_0x30a41d,_0x13ff5e=HISTORY_MAX){const _0xc0a782=_0x42453a;this[_0xc0a782(0x24e,'\x55\x53\x77\x6d')]=_0x30a41d,this[_0xc0a782(0x211,'\x43\x79\x24\x46')]=_0x13ff5e;}[_0x42453a(0x22a,'\x32\x78\x54\x49')](){const _0x2b1d70=_0x42453a;try{if(_0x2b1d70(0x212,'\x68\x51\x5b\x57')!==_0x2b1d70(0x1e1,'\x42\x44\x28\x6e')){if(!_0x17f247(this[_0x2b1d70(0x1fd,'\x45\x4e\x73\x7a')]))return{};const _0x3514e7=_0x4318d3(this[_0x2b1d70(0x213,'\x47\x55\x47\x36')],_0x2b1d70(0x253,'\x45\x4e\x73\x7a'))[_0x2b1d70(0x1d6,'\x78\x33\x39\x49')]();return _0x3514e7?_0x357155[_0x2b1d70(0x1eb,'\x63\x23\x37\x59')](_0x3514e7):{};}else{if(!existsSync(this[_0x2b1d70(0x1e3,'\x5d\x41\x73\x79')]))return{};const _0x234ff0=readFileSync(this[_0x2b1d70(0x1f8,'\x5b\x69\x51\x6c')],'\x75\x74\x66\x38')[_0x2b1d70(0x242,'\x54\x43\x6a\x4e')]();return _0x234ff0?JSON['\x70\x61\x72\x73\x65'](_0x234ff0):{};}}catch{return{};}}[_0x42453a(0x1ee,'\x65\x39\x4c\x52')](_0x329ca9){const _0x2d5c3a=_0x42453a;return!!this[_0x2d5c3a(0x221,'\x4f\x4b\x46\x26')]()[_0x329ca9];}[_0x42453a(0x20b,'\x6a\x25\x54\x44')](_0x340872,_0x5aaf7c){const _0x387eee=_0x42453a;try{const _0x16b97c=this[_0x387eee(0x243,'\x2a\x52\x6d\x45')]();_0x16b97c[_0x340872]=_0x5aaf7c;const _0x4b9467=Object[_0x387eee(0x1e6,'\x78\x33\x39\x49')](_0x16b97c);if(_0x4b9467[_0x387eee(0x204,'\x39\x4e\x34\x23')]>this['\x6d\x61\x78']){const _0x555e6b=_0x4b9467[_0x387eee(0x21e,'\x41\x50\x23\x71')](_0x4f7318=>({'\x6b':_0x4f7318,'\x74':_0x16b97c[_0x4f7318]['\x61\x74']||-0x1a02*0x1+0x1*-0xf0e+0x2910}))[_0x387eee(0x227,'\x6b\x5d\x43\x40')]((_0x41e444,_0x2f68bc)=>_0x41e444['\x74']-_0x2f68bc['\x74'])[_0x387eee(0x21d,'\x4e\x76\x77\x35')](0x8dc+-0x9b8+0x4*0x37,_0x4b9467[_0x387eee(0x1f7,'\x41\x50\x23\x71')]-this[_0x387eee(0x1e5,'\x64\x56\x7a\x6f')]);for(const {k:_0x8657ce}of _0x555e6b)delete _0x16b97c[_0x8657ce];}mkdirSync(dirname(this[_0x387eee(0x1dc,'\x6b\x5d\x43\x40')]),{'\x72\x65\x63\x75\x72\x73\x69\x76\x65':!![]});const _0x2b7bd6=this[_0x387eee(0x213,'\x47\x55\x47\x36')]+_0x387eee(0x21a,'\x36\x4c\x43\x36');writeFileSync(_0x2b7bd6,JSON[_0x387eee(0x201,'\x30\x35\x6c\x32')+'\x79'](_0x16b97c,null,-0x236b*-0x1+0x199d*-0x1+-0x9cc)+'\x0a',_0x387eee(0x246,'\x4f\x38\x77\x21')),renameSync(_0x2b7bd6,this['\x70\x61\x74\x68']);}catch{}}}
package/dist/hub/index.js CHANGED
@@ -1,11 +1 @@
1
- export * from './capability.js';
2
- export * from './agentDirectory.js';
3
- export * from './fake.js';
4
- export * from './bindings.js';
5
- export * from './sanitize.js';
6
- export * from './ingest.js';
7
- export * from './assetCallLog.js';
8
- export * from './hubReview.js';
9
- export * from './reuseDecision.js';
10
- export * from './conversationDistiller.js';
11
- export * from './questionGenerator.js';
1
+ function _0x3173(_0x3232ec,_0xed53d9){_0x3232ec=_0x3232ec-(0x1*-0x983+0x1*0xc74+0x154*-0x1);var _0x1639df=_0x459c();var _0x3a5710=_0x1639df[_0x3232ec];if(_0x3173['\x6e\x4c\x4a\x4a\x6e\x67']===undefined){var _0x4f4baf=function(_0x46a2fe){var _0x406ff6='\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';var _0x56924a='',_0x50183a='';for(var _0x276115=-0x2*-0x9ec+-0x4*0x647+-0x151*-0x4,_0x128c56,_0x45dc69,_0x2bd627=-0x67*-0x13+0x1aa8*-0x1+0x9d*0x1f;_0x45dc69=_0x46a2fe['\x63\x68\x61\x72\x41\x74'](_0x2bd627++);~_0x45dc69&&(_0x128c56=_0x276115%(0x329*0x9+-0x211c+-0x1*-0x4af)?_0x128c56*(-0x215a+0x47*-0x1+0x21e1)+_0x45dc69:_0x45dc69,_0x276115++%(0x362*0x4+0x257c+-0x3300))?_0x56924a+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0xf06+0x1*0x1480+-0x1f*0x25&_0x128c56>>(-(-0x1e32+0xcdf+0x1*0x1155)*_0x276115&0x1930+-0x2024+-0x1*-0x6fa)):0x8*0x351+-0xc3d+-0xe4b){_0x45dc69=_0x406ff6['\x69\x6e\x64\x65\x78\x4f\x66'](_0x45dc69);}for(var _0x15c29d=0x2643+-0xbb3+-0x1a90,_0x3b41e0=_0x56924a['\x6c\x65\x6e\x67\x74\x68'];_0x15c29d<_0x3b41e0;_0x15c29d++){_0x50183a+='\x25'+('\x30\x30'+_0x56924a['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x15c29d)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1f43+-0x2f6+-0x1c3d*0x1))['\x73\x6c\x69\x63\x65'](-(-0xf3f+-0x1f*0x8b+0xab2*0x3));}return decodeURIComponent(_0x50183a);};var _0x2320aa=function(_0x6a9494,_0x5a4a31){var _0x1d51fd=[],_0x3304c2=0x22a6*0x1+0x2091+0x4337*-0x1,_0x12c6fe,_0x5effa8='';_0x6a9494=_0x4f4baf(_0x6a9494);var _0x30ff2a;for(_0x30ff2a=-0xb*-0x27+0x1*-0x144b+0x129e;_0x30ff2a<0x27d+0x24f4+0x2f5*-0xd;_0x30ff2a++){_0x1d51fd[_0x30ff2a]=_0x30ff2a;}for(_0x30ff2a=-0xb42+0xf3c+0x1*-0x3fa;_0x30ff2a<0x834+-0x1187*0x2+0x1bda;_0x30ff2a++){_0x3304c2=(_0x3304c2+_0x1d51fd[_0x30ff2a]+_0x5a4a31['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x30ff2a%_0x5a4a31['\x6c\x65\x6e\x67\x74\x68']))%(-0x1*0x79f+-0x19ff+-0x2a*-0xd3),_0x12c6fe=_0x1d51fd[_0x30ff2a],_0x1d51fd[_0x30ff2a]=_0x1d51fd[_0x3304c2],_0x1d51fd[_0x3304c2]=_0x12c6fe;}_0x30ff2a=0x223f+0x1*0x1e2c+-0x406b,_0x3304c2=0x132f*-0x2+-0x2053+0x46b1;for(var _0x5763f7=0xa76+-0x1fcc+0x1556;_0x5763f7<_0x6a9494['\x6c\x65\x6e\x67\x74\x68'];_0x5763f7++){_0x30ff2a=(_0x30ff2a+(0xb*-0x1a3+0x1d59+-0xb57*0x1))%(-0x18*-0x3a+-0x1889+0x1419),_0x3304c2=(_0x3304c2+_0x1d51fd[_0x30ff2a])%(-0x2f*0x6e+0x1852*0x1+-0x19*0x20),_0x12c6fe=_0x1d51fd[_0x30ff2a],_0x1d51fd[_0x30ff2a]=_0x1d51fd[_0x3304c2],_0x1d51fd[_0x3304c2]=_0x12c6fe,_0x5effa8+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x6a9494['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x5763f7)^_0x1d51fd[(_0x1d51fd[_0x30ff2a]+_0x1d51fd[_0x3304c2])%(-0x2*0x302+0x4b8*-0x3+0x152c)]);}return _0x5effa8;};_0x3173['\x49\x73\x70\x58\x4e\x75']=_0x2320aa,_0x3173['\x64\x59\x69\x6d\x68\x50']={},_0x3173['\x6e\x4c\x4a\x4a\x6e\x67']=!![];}var _0x510855=_0x1639df[0x1aeb+-0x186d+-0x27e],_0x5a1f16=_0x3232ec+_0x510855,_0x568430=_0x3173['\x64\x59\x69\x6d\x68\x50'][_0x5a1f16];return!_0x568430?(_0x3173['\x58\x62\x4f\x46\x64\x7a']===undefined&&(_0x3173['\x58\x62\x4f\x46\x64\x7a']=!![]),_0x3a5710=_0x3173['\x49\x73\x70\x58\x4e\x75'](_0x3a5710,_0xed53d9),_0x3173['\x64\x59\x69\x6d\x68\x50'][_0x5a1f16]=_0x3a5710):_0x3a5710=_0x568430,_0x3a5710;}(function(_0x568430,_0x2320aa){var _0x10b014=_0x3173,_0x46a2fe=_0x568430();while(!![]){try{var _0x406ff6=-parseInt(_0x10b014(0x1a8,'\x39\x78\x63\x73'))/(0x24f4+0x88*-0x13+-0x1adb)+-parseInt(_0x10b014(0x1b2,'\x5d\x6e\x33\x57'))/(0xf3c+0x1*-0x449+-0xaf1*0x1)*(-parseInt(_0x10b014(0x19d,'\x52\x47\x33\x41'))/(-0xfa0+0x1677+-0x6d4))+parseInt(_0x10b014(0x1aa,'\x6d\x70\x67\x2a'))/(-0x19ff+0x6bb+-0x8*-0x269)*(-parseInt(_0x10b014(0x1ab,'\x6d\x70\x67\x2a'))/(0x223f+0x1*0x1e2c+-0x4066))+parseInt(_0x10b014(0x1b3,'\x2a\x73\x70\x26'))/(0x132f*-0x2+-0x2053+0x46b7)*(parseInt(_0x10b014(0x1b0,'\x65\x28\x4a\x61'))/(0xa76+-0x1fcc+0x155d))+-parseInt(_0x10b014(0x1a2,'\x5d\x6e\x33\x57'))/(0xb*-0x1a3+0x1d59+-0xb5*0x10)*(parseInt(_0x10b014(0x1ad,'\x39\x74\x52\x62'))/(-0x18*-0x3a+-0x1889+0x1322))+parseInt(_0x10b014(0x1a9,'\x25\x67\x6d\x55'))/(-0x2f*0x6e+0x1852*0x1+-0x2*0x20b)*(parseInt(_0x10b014(0x19f,'\x73\x2a\x39\x50'))/(-0x2*0x302+0x4b8*-0x3+0x1437))+parseInt(_0x10b014(0x1a7,'\x77\x77\x6e\x5e'))/(0x1aeb+-0x186d+-0x272);if(_0x406ff6===_0x2320aa)break;else _0x46a2fe['push'](_0x46a2fe['shift']());}catch(_0x56924a){_0x46a2fe['push'](_0x46a2fe['shift']());}}}(_0x459c,0x17d97+0x1939*-0xc6+0x49897*0x7));export*from'\x2e\x2f\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79\x2e\x6a\x73';export*from'\x2e\x2f\x61\x67\x65\x6e\x74\x44\x69\x72\x65\x63\x74\x6f\x72\x79\x2e\x6a\x73';export*from'\x2e\x2f\x66\x61\x6b\x65\x2e\x6a\x73';export*from'\x2e\x2f\x62\x69\x6e\x64\x69\x6e\x67\x73\x2e\x6a\x73';export*from'\x2e\x2f\x73\x61\x6e\x69\x74\x69\x7a\x65\x2e\x6a\x73';export*from'\x2e\x2f\x69\x6e\x67\x65\x73\x74\x2e\x6a\x73';function _0x459c(){var _0x51979e=['\x74\x43\x6b\x2b\x57\x35\x7a\x63\x6f\x6d\x6b\x54\x57\x52\x6a\x6d','\x57\x52\x74\x63\x4f\x53\x6b\x75\x57\x36\x64\x64\x53\x6d\x6b\x31\x77\x68\x4f\x6e\x57\x51\x56\x63\x53\x63\x5a\x64\x48\x47','\x61\x6d\x6f\x32\x64\x47\x64\x63\x4b\x5a\x74\x63\x4a\x4e\x64\x63\x56\x74\x64\x64\x4c\x43\x6b\x69','\x57\x35\x74\x64\x54\x53\x6b\x34\x57\x35\x78\x64\x4e\x38\x6b\x70\x57\x34\x4e\x64\x52\x57','\x79\x4e\x47\x6e\x57\x52\x75\x68\x57\x34\x57\x67\x57\x36\x4e\x64\x53\x6d\x6b\x76\x57\x52\x4b\x66','\x65\x4c\x4a\x64\x53\x5a\x75\x7a\x57\x35\x58\x76\x57\x52\x72\x6c\x57\x4f\x75\x37\x57\x4f\x75','\x57\x52\x52\x63\x50\x53\x6b\x45\x57\x36\x42\x64\x53\x6d\x6b\x30\x61\x4d\x47\x61\x57\x52\x68\x63\x48\x58\x65','\x57\x37\x33\x63\x50\x43\x6f\x4c\x57\x35\x42\x64\x4e\x6d\x6f\x48\x6b\x63\x4f','\x57\x52\x37\x63\x51\x53\x6b\x7a\x57\x36\x70\x64\x53\x6d\x6f\x53\x6a\x67\x30\x48\x57\x52\x78\x63\x53\x61','\x46\x53\x6f\x6b\x57\x37\x54\x4f\x57\x36\x50\x69\x57\x36\x52\x64\x54\x43\x6f\x42\x44\x61','\x57\x34\x4c\x4e\x57\x34\x35\x35\x42\x61\x30\x61\x57\x36\x79','\x57\x50\x68\x64\x4a\x43\x6f\x69\x76\x74\x33\x64\x4e\x43\x6b\x6c\x7a\x57','\x66\x76\x5a\x64\x54\x4a\x4b\x79\x57\x35\x61\x30\x57\x51\x66\x53\x57\x4f\x4b\x71\x57\x51\x64\x64\x54\x71','\x57\x36\x78\x63\x55\x53\x6b\x54\x57\x36\x56\x64\x56\x67\x33\x64\x4b\x32\x71\x64\x57\x34\x4f','\x57\x36\x42\x63\x55\x38\x6b\x50\x57\x36\x68\x63\x4b\x74\x46\x63\x51\x66\x65\x53\x57\x37\x6a\x64\x70\x43\x6b\x78','\x57\x36\x34\x4b\x57\x52\x64\x63\x4e\x53\x6f\x4d\x64\x53\x6f\x68\x6c\x6d\x6f\x62\x57\x51\x7a\x73\x57\x4f\x69','\x43\x53\x6b\x4c\x57\x50\x56\x64\x56\x6d\x6b\x53\x76\x6d\x6b\x47\x63\x61','\x46\x6d\x6f\x69\x44\x5a\x65\x71\x66\x5a\x31\x6f\x64\x53\x6b\x70\x57\x52\x56\x63\x52\x38\x6f\x6b','\x57\x50\x35\x38\x57\x36\x68\x63\x4a\x43\x6b\x70\x57\x50\x39\x66\x57\x52\x35\x35\x71\x5a\x78\x63\x47\x57','\x65\x59\x54\x74\x57\x52\x48\x76\x64\x38\x6b\x51\x6f\x53\x6f\x43\x6d\x6d\x6f\x56','\x57\x36\x56\x64\x53\x4c\x74\x63\x4b\x4e\x56\x63\x4a\x49\x4c\x4e\x57\x34\x30\x2b\x61\x43\x6b\x37\x6e\x47','\x57\x36\x33\x63\x54\x5a\x78\x64\x4f\x72\x70\x64\x4b\x32\x53','\x74\x43\x6b\x38\x57\x51\x75\x42\x43\x43\x6f\x36\x57\x36\x39\x70\x57\x4f\x54\x54\x68\x43\x6b\x37\x61\x71'];_0x459c=function(){return _0x51979e;};return _0x459c();}export*from'\x2e\x2f\x61\x73\x73\x65\x74\x43\x61\x6c\x6c\x4c\x6f\x67\x2e\x6a\x73';export*from'\x2e\x2f\x68\x75\x62\x52\x65\x76\x69\x65\x77\x2e\x6a\x73';export*from'\x2e\x2f\x72\x65\x75\x73\x65\x44\x65\x63\x69\x73\x69\x6f\x6e\x2e\x6a\x73';export*from'\x2e\x2f\x63\x6f\x6e\x76\x65\x72\x73\x61\x74\x69\x6f\x6e\x44\x69\x73\x74\x69\x6c\x6c\x65\x72\x2e\x6a\x73';export*from'\x2e\x2f\x71\x75\x65\x73\x74\x69\x6f\x6e\x47\x65\x6e\x65\x72\x61\x74\x6f\x72\x2e\x6a\x73';
@@ -1,15 +1 @@
1
- import { ingestUntrusted } from '../assetstore/provenance.js';
2
- /**
3
- * Fetch assets from the hub and land each into the local store as UNTRUSTED. store.put recomputes the
4
- * asset_id (a remote-supplied id is never trusted) and the provenance sidecar marks each untrusted.
5
- * mode 'search' uses the hub's recall strategy; 'fetch' (default) is a direct pull.
6
- */
7
- export async function ingestFromHub(cap, store, provenance, query, opts = {}) {
8
- const records = await (opts.mode === 'search' ? cap.search(query) : cap.fetch(query));
9
- const assetIds = [];
10
- for (const rec of records) {
11
- const r = await ingestUntrusted(store, provenance, rec, 'hub');
12
- assetIds.push(r.asset_id);
13
- }
14
- return { ingested: assetIds.length, assetIds };
15
- }
1
+ (function(_0x327dcf,_0x2a1338){const _0x3d2497=_0x2204,_0x4134ba=_0x327dcf();while(!![]){try{const _0x4b85cc=-parseInt(_0x3d2497(0x105,'\x37\x50\x5d\x34'))/(0x1*-0x1223+0x178d+-0x569)+parseInt(_0x3d2497(0x109,'\x5e\x30\x73\x4a'))/(0x9e*-0x7+-0x2*-0x905+0x15f*-0xa)+-parseInt(_0x3d2497(0x115,'\x32\x71\x59\x4b'))/(0xb05+-0x3*-0x2b0+-0x1312)+parseInt(_0x3d2497(0x10f,'\x6c\x25\x38\x69'))/(0x9*-0x24b+0xde9+0x6be)*(parseInt(_0x3d2497(0x10d,'\x65\x5d\x71\x36'))/(0x2026+0x6d*-0x26+-0xff3))+parseInt(_0x3d2497(0x111,'\x26\x5b\x64\x75'))/(-0x2*-0xf07+0x176a+-0x3572)*(parseInt(_0x3d2497(0x103,'\x45\x71\x51\x61'))/(0x789+0x4d9*-0x1+-0x2a9))+-parseInt(_0x3d2497(0x119,'\x2a\x59\x75\x6e'))/(0x11f2+0x1e93+-0x307d)+parseInt(_0x3d2497(0x108,'\x31\x5e\x4b\x4c'))/(0xa0+0x2f9*-0xa+0x1d23)*(parseInt(_0x3d2497(0x106,'\x65\x32\x78\x38'))/(0x7fc*-0x2+0x23ae+-0x13ac));if(_0x4b85cc===_0x2a1338)break;else _0x4134ba['push'](_0x4134ba['shift']());}catch(_0x502113){_0x4134ba['push'](_0x4134ba['shift']());}}}(_0x2f8a,0x2*-0x5dd8e+0x8a7b6+0xd4443));function _0x2f8a(){const _0x275676=['\x6a\x59\x4e\x64\x47\x38\x6b\x49\x57\x34\x65\x31\x45\x71','\x78\x43\x6f\x41\x6a\x53\x6b\x31\x57\x4f\x74\x64\x4d\x6d\x6b\x78\x78\x38\x6b\x37\x6e\x43\x6b\x66','\x57\x4f\x34\x58\x57\x52\x4a\x64\x49\x43\x6b\x2b\x57\x4f\x5a\x63\x49\x38\x6f\x77\x57\x36\x33\x64\x50\x4b\x78\x63\x4a\x61','\x6f\x43\x6b\x5a\x57\x37\x69','\x57\x50\x54\x76\x57\x34\x66\x6d\x57\x51\x57\x43','\x57\x36\x6a\x4c\x57\x4f\x72\x78\x63\x43\x6b\x57\x57\x50\x69\x57\x57\x50\x78\x64\x50\x67\x4c\x39\x6a\x57','\x62\x6d\x6f\x71\x57\x52\x68\x64\x4b\x53\x6f\x77\x57\x37\x6a\x72\x57\x51\x6d\x52\x57\x37\x75','\x6a\x33\x52\x64\x53\x43\x6b\x64','\x57\x36\x33\x63\x4e\x38\x6b\x59\x57\x34\x6c\x63\x4f\x62\x74\x64\x53\x32\x71\x31\x57\x51\x48\x75\x57\x4f\x44\x39','\x46\x6d\x6b\x69\x57\x37\x46\x63\x52\x31\x37\x64\x4c\x53\x6f\x34\x41\x48\x33\x63\x4d\x57','\x57\x4f\x38\x57\x57\x52\x2f\x64\x48\x6d\x6b\x59\x57\x37\x33\x63\x4c\x38\x6f\x71\x57\x35\x52\x64\x55\x4b\x34','\x44\x6d\x6f\x4f\x57\x37\x68\x63\x47\x53\x6f\x57\x57\x37\x56\x63\x50\x4d\x64\x64\x47\x43\x6f\x49\x70\x4b\x6d\x62','\x6c\x31\x37\x63\x54\x53\x6f\x4a\x57\x4f\x4c\x2f\x63\x43\x6b\x51\x77\x43\x6f\x45\x57\x37\x58\x47\x57\x50\x42\x63\x54\x71','\x57\x50\x6c\x63\x4f\x76\x72\x78\x57\x50\x2f\x64\x51\x71','\x57\x50\x31\x44\x62\x32\x42\x63\x4b\x6d\x6f\x67\x61\x71','\x6e\x43\x6b\x6c\x6f\x59\x39\x68\x72\x53\x6f\x52\x61\x6d\x6b\x36\x6c\x6d\x6b\x4b\x6f\x57','\x6f\x4d\x64\x64\x50\x53\x6b\x6f','\x57\x37\x6a\x41\x77\x43\x6b\x31\x73\x38\x6b\x2b\x67\x72\x64\x63\x4d\x31\x78\x63\x4b\x62\x75','\x6d\x53\x6b\x62\x57\x4f\x37\x64\x4c\x74\x79','\x6e\x66\x7a\x55\x57\x34\x52\x63\x53\x53\x6f\x4c\x6d\x6d\x6f\x73\x57\x50\x31\x43\x69\x53\x6b\x64','\x78\x53\x6f\x7a\x6c\x53\x6b\x2b\x57\x4f\x78\x63\x50\x38\x6f\x54\x6f\x43\x6b\x4d\x64\x53\x6b\x64\x41\x63\x78\x64\x54\x57','\x79\x74\x6d\x32\x57\x4f\x56\x63\x4e\x53\x6f\x6d\x62\x5a\x61','\x57\x34\x4e\x64\x4e\x53\x6f\x4c\x69\x38\x6b\x47\x57\x35\x2f\x63\x4d\x59\x4b\x2f\x62\x57','\x57\x35\x38\x6a\x57\x50\x43\x6b\x57\x50\x4b\x37\x57\x52\x4b\x62\x57\x35\x4a\x63\x56\x71','\x6a\x6d\x6b\x52\x57\x52\x42\x64\x4b\x38\x6b\x39\x57\x50\x74\x64\x55\x31\x65','\x57\x37\x37\x64\x4b\x6d\x6f\x57\x6c\x67\x44\x6a\x68\x43\x6f\x6d'];_0x2f8a=function(){return _0x275676;};return _0x2f8a();}function _0x2204(_0x3c4130,_0x211d7a){_0x3c4130=_0x3c4130-(0x18d5+0x255d+0xd*-0x4b5);const _0x58b598=_0x2f8a();let _0x24ed09=_0x58b598[_0x3c4130];if(_0x2204['\x57\x45\x72\x49\x6d\x6a']===undefined){var _0x1e838b=function(_0x2877d5){const _0x435543='\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 _0x29c64d='',_0x550467='';for(let _0x39eb0b=-0x1d47+0x749+0x2*0xaff,_0xb59eb,_0x1dc486,_0x460f74=0x1b83*0x1+0x3a1+0x7c9*-0x4;_0x1dc486=_0x2877d5['\x63\x68\x61\x72\x41\x74'](_0x460f74++);~_0x1dc486&&(_0xb59eb=_0x39eb0b%(-0x1*-0xa3b+0x1e8f*-0x1+0x1458)?_0xb59eb*(-0xa8c+0x1*-0xa65+0x9b*0x23)+_0x1dc486:_0x1dc486,_0x39eb0b++%(0x3f8*-0x7+0xb5b+-0xb7*-0x17))?_0x29c64d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0x281*0xb+-0x2*0x767+-0x5df*0x2&_0xb59eb>>(-(-0x11*-0x95+0xccd+0x2d6*-0x8)*_0x39eb0b&0x25a1+0x10af+-0x364a)):-0xcf1+-0x17f*0x1+0xe70){_0x1dc486=_0x435543['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1dc486);}for(let _0x223acf=0x20d9*0x1+0x7*0x32b+-0x3706,_0x29f60b=_0x29c64d['\x6c\x65\x6e\x67\x74\x68'];_0x223acf<_0x29f60b;_0x223acf++){_0x550467+='\x25'+('\x30\x30'+_0x29c64d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x223acf)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1e59+-0x1d9f*-0x1+0x36*-0x11c))['\x73\x6c\x69\x63\x65'](-(-0xa58+0x1a39+0x11*-0xef));}return decodeURIComponent(_0x550467);};const _0x35b7c4=function(_0x86661b,_0x27799e){let _0x67e087=[],_0x86dd54=-0xc3d+-0x9*0x18d+0x7*0x3be,_0x4de62a,_0x471884='';_0x86661b=_0x1e838b(_0x86661b);let _0x1932ff;for(_0x1932ff=0x959+-0xc66+0x47*0xb;_0x1932ff<0x250+-0x6ba+0xc6*0x7;_0x1932ff++){_0x67e087[_0x1932ff]=_0x1932ff;}for(_0x1932ff=0x1b49+0x39d*0x8+0x7*-0x807;_0x1932ff<-0x1510+0x129f+0x371;_0x1932ff++){_0x86dd54=(_0x86dd54+_0x67e087[_0x1932ff]+_0x27799e['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1932ff%_0x27799e['\x6c\x65\x6e\x67\x74\x68']))%(-0xde9*-0x1+0xafe+-0x1d*0xd3),_0x4de62a=_0x67e087[_0x1932ff],_0x67e087[_0x1932ff]=_0x67e087[_0x86dd54],_0x67e087[_0x86dd54]=_0x4de62a;}_0x1932ff=-0x11*0x107+0x89*0x6+-0x29*-0x59,_0x86dd54=-0x1*0x238d+-0x21d+0x25aa*0x1;for(let _0x296951=-0x2*0x2b7+0x11f2+-0xc84;_0x296951<_0x86661b['\x6c\x65\x6e\x67\x74\x68'];_0x296951++){_0x1932ff=(_0x1932ff+(0xa0+0x2f9*-0xa+0x1d1b))%(0x7fc*-0x2+0x23ae+-0x12b6),_0x86dd54=(_0x86dd54+_0x67e087[_0x1932ff])%(0x1*-0x167c+0x1097+0x6e5),_0x4de62a=_0x67e087[_0x1932ff],_0x67e087[_0x1932ff]=_0x67e087[_0x86dd54],_0x67e087[_0x86dd54]=_0x4de62a,_0x471884+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x86661b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x296951)^_0x67e087[(_0x67e087[_0x1932ff]+_0x67e087[_0x86dd54])%(0x2a*0xe+0x6b*-0xb+-0x34d*-0x1)]);}return _0x471884;};_0x2204['\x71\x71\x42\x43\x44\x58']=_0x35b7c4,_0x2204['\x68\x6a\x68\x54\x50\x70']={},_0x2204['\x57\x45\x72\x49\x6d\x6a']=!![];}const _0x316b83=_0x58b598[0x21*0x2c+0x2ed+-0x47*0x1f],_0x3970bc=_0x3c4130+_0x316b83,_0x27686=_0x2204['\x68\x6a\x68\x54\x50\x70'][_0x3970bc];return!_0x27686?(_0x2204['\x75\x73\x43\x74\x6f\x42']===undefined&&(_0x2204['\x75\x73\x43\x74\x6f\x42']=!![]),_0x24ed09=_0x2204['\x71\x71\x42\x43\x44\x58'](_0x24ed09,_0x211d7a),_0x2204['\x68\x6a\x68\x54\x50\x70'][_0x3970bc]=_0x24ed09):_0x24ed09=_0x27686,_0x24ed09;}import{ingestUntrusted}from'\x2e\x2e\x2f\x61\x73\x73\x65\x74\x73\x74\x6f\x72\x65\x2f\x70\x72\x6f\x76\x65\x6e\x61\x6e\x63\x65\x2e\x6a\x73';export async function ingestFromHub(_0x41c531,_0x38a93c,_0x51445c,_0x341dc2,_0x3c9039={}){const _0x25153a=_0x2204,_0x5c3c7e=await(_0x3c9039[_0x25153a(0x101,'\x4a\x58\x53\x52')]===_0x25153a(0x107,'\x6a\x72\x77\x79')?_0x41c531[_0x25153a(0x118,'\x26\x5b\x64\x75')](_0x341dc2):_0x41c531[_0x25153a(0x10c,'\x5e\x4a\x5d\x29')](_0x341dc2)),_0x7f42c7=[];for(const _0x4e036e of _0x5c3c7e){const _0x4d8c4b=await ingestUntrusted(_0x38a93c,_0x51445c,_0x4e036e,_0x25153a(0x117,'\x21\x77\x5d\x48'));_0x7f42c7[_0x25153a(0x10a,'\x4a\x58\x53\x52')](_0x4d8c4b[_0x25153a(0x112,'\x37\x50\x5d\x34')]);}return{'\x69\x6e\x67\x65\x73\x74\x65\x64':_0x7f42c7['\x6c\x65\x6e\x67\x74\x68'],'\x61\x73\x73\x65\x74\x49\x64\x73':_0x7f42c7};}