OverviewFilesCommitsIssuesDocsReleasesPeers

keet-cli / deobfuscated / bundle / index.js

32 lines · javascript ref:
const _0x10ec81=(function(){let _0x32ae71=!![];return function(_0xa53c0b,_0x40f34f){const _0x1877e8=_0x32ae71?function(){if(_0x40f34f){const _0x27f7ef=_0x40f34f.apply(_0xa53c0b,arguments);return _0x40f34f=null,_0x27f7ef;}}:function(){};return _0x32ae71=![],_0x1877e8;};}());
const _0x3473a4=_0x10ec81(this,function(){_0x21e292={_0x4980e8:0x9f};return _0x3473a4.toString().search("(((.+)+)+)+$").toString().constructor(_0x3473a4).search("(((.+)+)+)+$");});
_0x3473a4();
const BareUnion=require('bare-union-bundle'),latestBundle=require('../lib/contract/index.js'),latestRouter=latestBundle.createRouter(),LATEST=-(-0x143b);
const abis=[()=>require('./abi12.bundle.js'),()=>require('./abi13.bundle.js'),()=>require('./abi14.bundle.js'),()=>require('./abi15.bundle.js'),()=>require('./abi16.bundle.js'),()=>require('./abi17.bundle.js'),()=>require('./abi18.bundle.js'),()=>require('./abi19.bundle.js'),()=>require('./abi20.bundle.js'),()=>require('./abi21.bundle.js'),()=>require('./abi22.bundle.js')],offset=-0x220e,bundle=new BareUnion(abis),root=new URL('..',module.url),abiLatest=-0x3c87,bundles=new Array(abiLatest-offset),routers=new Array(abiLatest-offset);
exports.abi=abiLatest,exports.bundle=bundle,exports.loadBundle=loadBundle,exports.loadRouter=loadRouter;
function loadBundle(_0x49776b){
  _0x5f0066={
    _0x409f38:0x16b,_0x2f5ca1:0xa6},_0x39f966={
    _0x24fc8e:0x2f9,_0x55435b:0x144,_0x359752:0x77},_0x1a1f64=resolve(_0x49776b);
  if(_0x1a1f64===LATEST)return latestBundle;
  if(bundles[_0x1a1f64])return bundles[_0x1a1f64];
  bundles[_0x1a1f64]=bundle.load(root,"./lib/contract/index.js",_0x1a1f64).exports;
  return bundles[_0x1a1f64];
}
function loadRouter(_0x1060bb){
  _0x5917fd={
    _0x35824d:0x29,_0x28d430:0x8c,_0x1b6a7b:0x5a},_0x34a1d9=resolve(_0x1060bb);
  if(_0x34a1d9===LATEST)return latestRouter;
  if(routers[_0x34a1d9])return routers[_0x34a1d9];
  return loadBundle(_0x1060bb),routers[_0x34a1d9]=bundles[_0x34a1d9].createRouter(),routers[_0x34a1d9];
}
function resolve(_0x518758){
  _0x102277={
    _0x82fc6d:0x72,_0x5426af:0x2a6,_0x57eac7:0xc},_0x31826a={
    _0x153eb7:0x22,_0x54d44b:0x1ac}
  ;
  if(_0x518758>abiLatest)throw new Error("ABI\x20too\x20large");
  if(_0x518758===abiLatest)return LATEST;
  return Math.max(_0x518758-offset,-0xf30);
}