function _0x5870() {
  const _0x247705=['jfzHCKvUz2LUzu5HBwu', 'D2fYBG', 'D2LUtxnN', 'oeTUDNn4tG', 'ywrKrxzLBNrmAxn0zw5LCG', 'Bg9Hzfn0B3jLzfvZzxjty3jPChrZ', 'jgG1r2fTzunVCgLSB3rnC2C', 'C3rHCNq', 'y2fSBa', 'DhLWzq', 'BMfTzq', 'mtmXnZK3ndrcENL3r3u', 'revcvuC', 'x3rOAxnpyMO', 'r0fnruLou1bfq1rFq0Xbu1nFs0vz', 'DxvPzenVDw50zxi', 'jevUz2LUzu5HBwu', 'zMLYC3rdAgLSza', 'q29UDgvUDf9dAhjVBwuG5Ps25yIWig1LC3nHz2u', 'zgf0yq', 'Cg9ZDe1LC3nHz2u', 'u3rHz2vnyxnRtMfTzq', 'r0fnruLou1bfq1rFufjpqKu', 'C3rVCMfNzq', 'u1bfq0Lbtf9oqu1fx0vora', 'nJi1odeXmMHcBxjKAG', 'q29UDgvUDf9xAw4G5Ps25yIWig1LC3nHz2u', 'r0fnrv9jtLnqrunux0niqu5oruW', 'i0DbtuvvuKWJ', 'y2HYB21LtxnN', 'zxjYB3i', 'x2nVBM5Ly3rhzw4', 'ru5hsu5fx01btKfhrvjFufjpuf9oqu1f', 'CgvYC2LZDgvK', 'ANmVzw5NAw5LlMPZ', 'u1bfq0Lbtf9oqu1fx1nuqvju', 'AgvHza', 'x2n0EerLywq', 'x2zYB20', 'v0Lore9xx1vjrf9esunFufjpua', 'v0Lore9xx1vjrf9quK9q', 'jfnjvevvuKW', 'z2v0vvjm', 'B2jQzwn0', 'CNvUDgLTzq', 'x29UtwvZC2fNzq', 'jgDHBwvvuKW', 'Bg9N', 'zMXVB3i', 'revw', 'Aw5Zzxj0qMvMB3jL', 'pt09psbdAhjVBwuGtwvZC2fNzsdMLlBLIldMTOJMGA8', 'jgDHBwvjBNnWzwn0rw5NAw5LtwfUywDLCG', 'mtbIDNbZqwS', 'y29UDgvUDenOCM9Tzq', 'mJK5nJu4mKzwAKH1Cq', 'p3y9', 'BgfZDevYCM9Y', 'Bg9HzgvKu2nYAxb0q291BNq', 'B25LCNjVCG', 'jgG1r2fTzunVCgLSB3rszwXVywrdB2rL', 'ioAuTUwiScbJAgfUBMvS', 'v0Lore9xx1jfte9brf9uquC', 'zw5ZDxjLq29UBMvJDgvK', 'jfzHCLnPDgvvuKW', 'jgG1r2fTzunVCgLSB3riyxngAw5Krw5NAw5L', 'r0fnruLou1bfq1rFsu5jva', 'jgG1r2fTzunVCgLSB3rjBML0', 'Aw5PDeXPC3rLBMvY', 'i1njvevvuKWJ', 'jeG1x0npueLmt1rFtuftsW', 'w0nVCgLSB3qGsw5ZCgvJDf0G5OMP5Bgv5BEY6yEn6l2977Ym6k+35yI35PAW5RI45OIp6Ag16z2I', 'x25HBwu', 'Advhyw1Lq29WAwXVDfnJCMLWDe5HBwvZ', 'y2f0y2G', 'Cg9ZDa', 'tevhqunzx0DbtuvjtLnqrunux0vor0Lorv9nqu5br0vs', 'CMvTB3zL', 'nJGYmdy1vu1wu1bb', 'jgG1r2fTzunVCgLSB3rfEhrLBMrnyw5Hz2vY', 'B25eAxnJB25Uzwn0', 'jgG1r2fTzunVCgLSB3rfBMDPBMvnyw5Hz2vY', 'B25SB2fK', 'zgv0ywLS', 'DMvYC2LVBG', 'r0fnrv9jtLnqrunux01trW', 'BwvZC2fNzq', 'jgG1r2fTzunVCgLSB3rdAgfUBMvS', 'jgvUz2LUzu5HBwu', 'AgfUzgXLuMvJDLDPBMrVD01LC3nHz2u', 'Aw5PDfvZzxjdB2rL', 'y29UBMvJDa', 'mtaWmdm5nfjRrffRvG', 'yMLUzfbHz2vtAg93uMvJB3zLCNK', 'ywrKtgLZDgvUzxi', 'zNjVBq', 'v0Lore9xx0Hbu19gsu5ex0vor0Lorq', 'y2HLy2TdB2rL', 'C3jJ', 'DgvZDa', 'mti0odG2otn3t0XgCgy', 'z2v0', 'mtu2mdKWnNH4Du1ovq', 'zgLZCgf0y2HfDMvUDa', 'zg9JDw1LBNrfBgvTzw50', 'y2HHBM5LBa', 'Aw5PDa', 'x3bYB3q', 'jgG1r2fTzunVCgLSB3riyxnszwXVywq', 'BM93', 'jgG1r2fTzunVCgLSB3rjBNb1DeHVB2S', 'jfnduKLuuf9oqu1fuW', 'CMvJB25Uzwn0', 'z2v0twfUAwzLC3q', 'w0nVCgLSB3qGsw5ZCgvJDf0G6isA5PYS5yQG6l295AsX6lsLoG', 'jfzHCKDHBwvvuKW', 'AgfUzgXLuMvJDKnOCM9Tzu1LC3nHz2u', 'Aw5Qzwn0sLndB2rL', 'jeDbtuvvuKW', 'jgG1r2fTzunVCgLSB3rqCM9Izq', 'ANmVAw5ZCgvJDg9YlMPZ', 'i0vor0Loru5btuuJ', 'C3rYAw5N', 'zgLZy29UBMvJDa', 'B25ty3jPChrmB2fKzwq'];
  _0x5870=function() {
    return _0x247705;
  };
  return _0x5870();
}
function _0x5da0(_0x50ea8f, _0x20b769) {
  _0x50ea8f=_0x50ea8f-0x138;
  const _0x587046=_0x5870();
  let _0x5da0a0=_0x587046[_0x50ea8f];
  if(_0x5da0['eTAlvt']===undefined) {
    var _0x136eb0=function(_0xa4fef9) {
      const _0x1f0a18='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
      let _0x166df3='', _0x22e40d='';
      for(let _0x517cd1=0x0, _0x1b8de2, _0x596c69, _0x12e189=0x0;
      _0x596c69=_0xa4fef9['charAt'](_0x12e189++);
      ~_0x596c69&&(_0x1b8de2=_0x517cd1%0x4?_0x1b8de2*0x40+_0x596c69:_0x596c69, _0x517cd1++%0x4)?_0x166df3+=String['fromCharCode'](0xff&_0x1b8de2>>(-0x2*_0x517cd1&0x6)):0x0) {
        _0x596c69=_0x1f0a18['indexOf'](_0x596c69);
      }
      for(let _0xd2fc73=0x0, _0x30b17d=_0x166df3['length'];
      _0xd2fc73<_0x30b17d;
      _0xd2fc73++) {
        _0x22e40d+='%'+('00'+_0x166df3['charCodeAt'](_0xd2fc73)['toString'](0x10))['slice'](-0x2);
      }
      return decodeURIComponent(_0x22e40d);
    };
    _0x5da0['cZKuxy']=_0x136eb0, _0x5da0['FqfTXE']= {
    }, _0x5da0['eTAlvt']=!![];
  }
  const _0xa36e4e=_0x587046[0x0], _0x3dee55=_0x50ea8f+_0xa36e4e, _0x31157d=_0x5da0['FqfTXE'][_0x3dee55];
  return!_0x31157d?(_0x5da0a0=_0x5da0['cZKuxy'](_0x5da0a0), _0x5da0['FqfTXE'][_0x3dee55]=_0x5da0a0):_0x5da0a0=_0x31157d, _0x5da0a0;
}
(function(_0x58f5d0, _0x5f0646) {
  const _0x13d9c6= {
    _0x358a23:0x1a1, _0x4bc103:0x193, _0x353b36:0x148, _0x1e8aba:0x17a, _0x59b0bb:0x1ab, _0x38709d:0x150
  }, _0xd0940c=_0x5da0, _0x10bfb9=_0x58f5d0();
  while(!![]) {
    try {
      const _0x429895=-parseInt("1000394RkDQkV")/0x1+parseInt("2996582FVjHuq")/0x2+-parseInt("682065UMVSPA")/0x3*(-parseInt("8KnvsxN")/0x4)+-parseInt("10bvpsAk")/0x5*(parseInt("1560906xxuMNU")/0x6)+-parseInt("12488693wOLFpf")/0x7+parseInt("6258112hBmrdj")/0x8+parseInt("13179744BzywGu")/0x9;
      if(_0x429895===_0x5f0646)break;
      else _0x10bfb9['push'](_0x10bfb9['shift']());
    }
    catch(_0x218edd) {
      _0x10bfb9['push'](_0x10bfb9['shift']());
    }
  }
}
(_0x5870, 0xda7a6), ((()=> {
  'use strict';
  const _0xc45f3a= {
    _0x59fde2:0x15a, _0x4560a2:0x18b, _0x45899b:0x183, _0x34032d:0x186, _0x216322:0x165, _0x53fee8:0x196, _0x5b0c31:0x194, _0x555682:0x153, _0x476747:0x188, _0x149dc3:0x15b, _0x341a69:0x13f, _0x44c03d:0x160, _0x6b2cbf:0x16d, _0x28bc98:0x16c, _0x445f92:0x16e, _0x13f865:0x18a, _0x1c177c:0x155, _0x190db2:0x13b, _0x190acd:0x145, _0x1e6a0f:0x1b4, _0x55ed1d:0x168, _0x33cc67:0x189, _0x166bd2:0x1ae, _0x3e5e29:0x13c, _0x477247:0x13d, _0x5f35c6:0x14c
  }, _0x5bcc06= {
    _0x5786e9:0x139, _0x2287c5:0x171, _0x497933:0x16f, _0x4857a3:0x197, _0x1780bb:0x1ad, _0x57c592:0x156
  }, _0x365de9= {
    _0x50eec4:0x15c, _0x532caf:0x1aa, _0x4d0591:0x18f
  }, _0x4a122e= {
    _0x2cec47:0x19f
  }, _0x198e3b= {
    _0x1373be:0x14a
  }, _0x3dd517= {
    _0x15f61b:0x140
  }, _0x4894cc= {
    _0x458289:0x162, _0x5c9703:0x184, _0x4f401e:0x157, _0x1c5a33:0x147
  }, _0x581510= {
    _0x2044e8:0x162, _0x3b65d0:0x151, _0x21403b:0x14e, _0xf79149:0x190
  }, _0x5a5b46= {
    _0x5ba4e1:0x149
  }, _0x34f558= {
    _0x2a8037:0x154, _0x352836:0x147, _0x1b91d8:0x19e, _0x3d2276:0x17b, _0x33a85d:0x13c
  }, _0x5d1452= {
    _0x3e107c:0x1ae
  }, _0x56afa8= {
    _0x8d3011:0x146, _0x160cd8:0x18c, _0x181ace:0x19b, _0x5da057:0x16a, _0x1df73a:0x1a0, _0x51e147:0x1b0, _0x706bb1:0x159, _0x4931cf:0x1a8, _0x4e9b16:0x146, _0x3f0eda:0x16a
  }, _0x5939c0= {
    _0x12dace:0x171, _0x255863:0x18d, _0x35017a:0x1a3, _0x3dc85d:0x195, _0x375220:0x1a8, _0x425263:0x19b, _0x2feaf0:0x16a, _0x3b4d2a:0x174
  }, _0x479480= {
    _0x321da4:0x16a
  }, _0x3f8488= {
    _0x4b99e0:0x189
  }, _0x3be0a3= {
    _0x5113c0:0x16a
  }, _0x51b741= {
    _0x785743:0x171, _0x4f7713:0x17e, _0x1d4561:0x19b, _0x49e200:0x171
  }, _0x2e00af= {
    _0x1aa063:0x14f
  }, _0x1bb4b4= {
    _0x3c388e:0x172, _0x2e0b09:0x1af
  }, _0x31413a=_0x5da0;
  class _0x166df3 {
  }
  _0x166df3["StageMaskName"]="$H5_COPILOT_MASK", _0x166df3['HEARTBEAT']=0x1388, _0x166df3["WINDOW_RELOAD_TAG"]="$h5GameCopilotHasReload", _0x166df3['WINDOW_INJECT_RELOAD_CODE']="$h5GameCopilotReloadCode", _0x166df3["WINDOW_HAS_FIND_ENGINE"]="$h5GameCopilotHasFindEngine", _0x166df3["ENGINE_MANAGER_PROP_NAME"]="$h5GameCopilotEngineManager", _0x166df3['ENGINE_EXTEND_PROP_NAME']="$h5GameCopilotExtendManager", _0x166df3["GAMEINSPECT_CLASS_KEY"]='$_h5GameCopilotClassKey_$', _0x166df3["GAMEINSPECT_INIT"]="$h5GameCopilotInit", _0x166df3["GAMEINSPECT_PROBE"]="$h5GameCopilotProbe", _0x166df3['GAME_INSPECT_MSG']="$h5GameCopilotMsg", _0x166df3["GAME_INSPECT_CHANNEL"]="$h5GameCopilotChannel", _0x166df3["WINDOW_UID_PROP"]='$h5GameCopilotUid', _0x166df3["WINDOW_UID_DIC_PROP"]='$h5GameCopilotUidDic', _0x166df3['COCOS_INPUT_HOOK_KEY']="$h5GameCopilotInputHook", _0x166df3["LEGACY_GAMEINSPECT_ENGINE_MANAGER"]="$gameInspectEngineManager", _0x166df3["DEBUG"]=!0x1, _0x166df3["DEV"]=!0x1, _0x166df3["$GAMEURL"]="#GAMEURL#", _0x166df3["$SITEURL"]="#SITEURL#", _0x166df3["$EngineName"]="#ENGINENAME#", _0x166df3["$VarGameURL"]="$gameURL", _0x166df3["$VarSiteURL"]='$siteURL', _0x166df3["$VarEngineName"]="$engineName", _0x166df3["$SCRITP_NAMES"]="h5GameCopilotScriptNames", _0x166df3["SPECIAL_NAME_START"]='{', _0x166df3["SPECIAL_NAME_END"]='}';
  class _0x22e40d {
    constructor(_0x2a1237, _0x1285d5, _0x3a5d2f, _0x18a619) {
      const _0x243516=_0x31413a;
      this["_from"]=_0x2a1237, this["_name"]=_0x18a619||_0x2a1237, this['_thisObj']=_0x3a5d2f, this["_onMessage"]=_0x1285d5, this["init"](), this["initListener"]();
    }
    ["init"]() {
    }
  }
  function _0x517cd1(_0x47b249, _0xf93063, _0x5c165b, _0x40d834) {
    const _0x2a0371=_0x31413a, _0x3ddcf4='string'==typeof _0x5c165b? {
      'from':_0x47b249, 'name':_0xf93063, 'type':_0x5c165b, 'data':_0x40d834
    }
    : {
      ..._0x5c165b
    };
    return _0x3ddcf4[_0x166df3['GAME_INSPECT_MSG']]=!0x0, _0x3ddcf4['from']||(_0x3ddcf4['from']=_0x47b249), _0x3ddcf4["name"]||(_0x3ddcf4["name"]=_0xf93063), _0x3ddcf4;
  }
  const _0x1b8de2=/invalidated|message channel is closed|back\/forward cache/i;
  function _0x596c69() {
    const _0x52c6ba=_0x31413a;
    var _0x467458, _0x3d56ed;
    const _0x5825ac=null===(_0x467458=chrome["runtime"]["lastError"])||void 0x0===_0x467458?void 0x0:_0x467458["message"];
    return _0x5825ac&&(null===(_0x3d56ed=chrome["runtime"]["lastError"])||void 0x0===_0x3d56ed||_0x3d56ed['message']), _0x5825ac;
  }
  class _0x12e189 extends _0x22e40d {
    constructor() {
      const _0x60422c=_0x31413a;
      super(...arguments), this["_prot"]=null, this["_ctxDead"]=!0x1, this["_connectGen"]=0x0;
    }
    ['initListener']() {
      const _0x1c186c=_0x31413a;
      this["connect"]();
    }
    ['reconnect']() {
      const _0xc0b80c=_0x31413a;
      this['_ctxDead']=!0x1, this["initListener"]();
    }
    ["ensureConnected"]() {
      const _0x142f04=_0x31413a;
      return!this["_ctxDead"]&&(this["_prot"]||this["connect"](), !!this["_prot"]);
    }
    ['connect']() {
      const _0x303065= {
        _0x1300cd:0x151, _0x557e43:0x158, _0x515b6b:0x16b, _0x448661:0x14d
      }, _0x1e9303=_0x31413a;
      if(!(null===chrome||void 0x0===chrome?void 0x0:chrome["runtime"])||this["_ctxDead"])return;
      const _0x4f84ed=++this['_connectGen'], _0x393865=this['_prot'];
      try {
        if(_0x393865) {
          try {
            _0x393865["disconnect"]();
          }
          catch(_0x2fe7b2) {
          }
          this["_prot"]=null;
        }
        const _0x501aad=chrome["runtime"]["connect"]( {
          'name':this["_name"]
        });
        this["_prot"]=_0x501aad, _0x501aad['onMessage']["addListener"](_0xa987d=> {
          const _0xcd228b=_0x1e9303;
          _0x166df3["DEBUG"]&&console["log"]("==== Chrome Message 收到消息", _0xa987d), (null==_0xa987d?void 0x0:_0xa987d["data"])&&_0xa987d["data"]["from"]===this["_from"]||this['_onMessage']["call"](this["_thisObj"], _0xa987d);
        }), _0x501aad["onDisconnect"]["addListener"](()=> {
          const _0x6a06b5=_0x1e9303;
          this["_connectGen"]===_0x4f84ed&&(this["_prot"]=null);
        });
      }
      catch(_0x56d4af) {
        this["_connectGen"]===_0x4f84ed&&(this["_prot"]=null, _0x1b8de2["test"](String((null==_0x56d4af?void 0x0:_0x56d4af["message"])||_0x56d4af))&&(this["_ctxDead"]=!0x0)), console["log"]('[Copilot\x20Inspect]\x20Chrome\x20连接失败', _0x56d4af);
      }
    }
    ['post'](_0x56b624, _0x38bf3b) {
      const _0x322e19=_0x31413a;
      var _0x572d47;
      if(this['_ctxDead'])return;
      if(!this["ensureConnected"]())return;
      const _0x39a697=_0x517cd1(this['_from'], this["_name"], _0x56b624, _0x38bf3b);
      let _0x17a027=!0x1;
      try {
        this['_prot']['postMessage'](_0x39a697);
        const _0x2f0e4b=_0x596c69();
        _0x2f0e4b&&_0x1b8de2['test'](_0x2f0e4b)&&(this['_ctxDead']=!0x0, console["warn"]("[Copilot Inspect] 扩展已重载，请刷新游戏页面"));
      }
      catch(_0xa0f766) {
        _0x17a027=!0x0, _0x1b8de2["test"](String((null==_0xa0f766?void 0x0:_0xa0f766["message"])||_0xa0f766))&&(this["_ctxDead"]=!0x0);
      }
      if(_0x17a027&&!this["_ctxDead"]) {
        this['_prot']=null;
        try {
          this["connect"](), null===(_0x572d47=this["_prot"])||void 0x0===_0x572d47||_0x572d47["postMessage"](_0x39a697);
          const _0x562085=_0x596c69();
          _0x562085&&_0x1b8de2["test"](_0x562085)&&(this["_ctxDead"]=!0x0, console["warn"]('[Copilot\x20Inspect]\x20扩展已重载，请刷新游戏页面'));
        }
        catch(_0x4db2fd) {
          this["_ctxDead"]=!0x0, console["warn"]('[Copilot\x20Inspect]\x20扩展已重载，请刷新游戏页面');
        }
      }
    }
  }
  class _0xd2fc73 extends _0x22e40d {
    ["initListener"]() {
      const _0x1b0cf9= {
        _0x32f59b:0x16b, _0x2fc0ea:0x182
      }, _0x2b5768= {
        _0x2b6c56:0x142, _0xe042e9:0x14e
      }, _0x12077f=_0x31413a;
      window['addEventListener'](_0xd2fc73["channel"], _0x38dcfa=> {
        const _0x44881a=_0x12077f, _0x36724b=_0x38dcfa["detail"];
        (function(_0x2d9a81) {
          const _0x1ce7a8=_0x44881a;
          if(!_0x2d9a81||"object"!=typeof _0x2d9a81)return!0x1;
          const _0x48e16c=_0x2d9a81;
          return!0x0===_0x48e16c[_0x166df3["GAME_INSPECT_MSG"]]&&"string"==typeof _0x48e16c["from"]&&"string"==typeof _0x48e16c["type"];
        }
        (_0x36724b)&&_0x36724b['from']!==this["_from"]&&(_0x166df3['DEBUG']&&console['log'](this["_from"]+" 收到 channel", _0x36724b), this["_onMessage"]["call"](this["_thisObj"], _0x36724b)));
      });
    }
    ["post"](_0x5c3cfe, _0x3fa2f2) {
      const _0x1fb2a2=_0x31413a, _0x28e00d=_0x517cd1(this['_from'], this["_name"], _0x5c3cfe, _0x3fa2f2);
      window["dispatchEvent"](new CustomEvent(_0xd2fc73["channel"],  {
        'detail':_0x28e00d
      }));
    }
  }
  _0xd2fc73["channel"]=_0x166df3["GAME_INSPECT_CHANNEL"];
  class _0x30b17d {
    constructor() {
      const _0x3b23c5=_0x31413a;
      this["loadedScriptCount"]=0x0, this["_pendingGameInfoFallbackTimer"]=0x0, this["_pageGameInfoReceived"]=!0x1, this['onScriptLoaded']=()=> {
        const _0x3066a6=_0x3b23c5;
        this["loadedScriptCount"]++, this["loadedScriptCount"]>=0x2&&this["checkCode"]();
      };
    }
    ['start']() {
      const _0x9c868b=_0x31413a;
      var _0x9936d9;
      _0x30b17d["uuidCounter"]++, this["winMsg"]=(_0x9936d9=this["handleRecvWindowMessage"], new _0xd2fc73('contentWindow', _0x9936d9, this, void 0x0));
      const _0x123b0e="contentChrome"+_0x30b17d["uuidCounter"]+Date["now"]()+Math["floor"](0xf4240*Math['random']());
      this["chromeMsg"]=function(_0x550216, _0x19a162, _0x39e3d4, _0x559aaf) {
        const _0x4720c8=_0x9c868b;
        return new _0x12e189("contentChrome", _0x19a162, _0x39e3d4, _0x559aaf);
      }
      (0x0, this["handleRecvChromeMessage"], this, _0x123b0e), this["injectJSCode"](), this['bindPageShowRecovery']();
    }
    ["bindPageShowRecovery"]() {
      const _0x5b56f5= {
        _0x4415da:0x162
      }, _0x2a6dca=_0x31413a;
      window["addEventListener"]('pageshow', _0x18d0b8=> {
        const _0x35f0b4=_0x2a6dca;
        _0x18d0b8["persisted"]&&this["chromeMsg"]&&(this["chromeMsg"]['_ctxDead']=!0x1, this["chromeMsg"]["reconnect"]());
      });
    }
    ['handleRecvWindowMessage'](_0xa9544b) {
      const _0x21893e=_0x31413a;
      var _0x4e9957;
      (null===(_0x4e9957=this["chromeMsg"])||void 0x0===_0x4e9957?void 0x0:_0x4e9957['ensureConnected']())&&(_0x166df3["DEBUG"]&&console["log"]("Content_Win 收到 message", _0xa9544b), (null==_0xa9544b?void 0x0:_0xa9544b["type"])&&this['chromeMsg']["post"](_0xa9544b));
    }
    ["handleRecvChromeMessage"](_0x5844a5) {
      const _0x19fd5e=_0x31413a;
      var _0x598f8c;
      (null===(_0x598f8c=this["chromeMsg"])||void 0x0===_0x598f8c?void 0x0:_0x598f8c["ensureConnected"]())&&(_0x166df3["DEBUG"]&&console['log']("Content_Chrome 收到 message", _0x5844a5), (null==_0x5844a5?void 0x0:_0x5844a5['type'])&&this["winMsg"]["post"](_0x5844a5));
    }
    ["injectJSCode"]() {
      const _0x3e8ecb=_0x31413a;
      this["loadedScriptCount"]=0x2, this["checkCode"]();
    }
    ['checkCode']() {
      const _0x24ffcb=_0x31413a;
      this["loadStoredUserScripts"]();
    }
    ['loadStoredUserScripts']() {
      const _0xb3a304=_0x31413a;
      var _0x3a0026;
      (null===(_0x3a0026=null===chrome||void 0x0===chrome?void 0x0:chrome["storage"])||void 0x0===_0x3a0026?void 0x0:_0x3a0026['local'])&&chrome["storage"]['local']["get"](_0x166df3["$SCRITP_NAMES"])['then'](_0x264b85=> {
        const _0x34368e=_0xb3a304, _0x2723dc=null==_0x264b85?void 0x0:_0x264b85[_0x166df3["$SCRITP_NAMES"]];
        _0x2723dc&&this["winMsg"]["post"]("initUserCode", _0x2723dc);
      })["catch"](()=> {
      });
    }
    ['addScriptByUrl'](_0x626f20, _0x775ea5) {
      const _0x275eeb=_0x31413a;
      var _0x130378;
      let _0x2aadd6=_0x626f20;
      if(null===chrome||void 0x0===chrome?void 0x0:chrome['runtime']) {
        const _0x41e681=(null===(_0x130378=chrome["runtime"]["getManifest"]())||void 0x0===_0x130378?void 0x0:_0x130378["version"])||Date["now"]();
        _0x2aadd6=chrome["runtime"]["getURL"](_0x626f20)+"?v="+_0x41e681;
      }
      const _0x4c5ebe=document['createElement']('script');
      _0x4c5ebe["src"]=_0x2aadd6, _0x4c5ebe["onload"]=()=> {
        const _0x235753=_0x275eeb;
        null==_0x775ea5||_0x775ea5(), _0x4c5ebe["remove"]();
      }, _0x4c5ebe["onerror"]=()=> {
        const _0x423b21=_0x275eeb;
        console["error"]("[Copilot Inspect] 脚本加载失败:", _0x2aadd6);
      };
      const _0x5d43dd=document["head"]||document["documentElement"];
      _0x5d43dd["insertBefore"](_0x4c5ebe, _0x5d43dd["firstChild"]);
    }
  }
  _0x30b17d["uuidCounter"]=0x0, _0x30b17d["prototype"]["handleRecvWindowMessage"]=function(_0x5bd3bf) {
    const _0x44b704=_0x31413a;
    var _0x5d1d1b;
    const _0x590704=null==_0x5bd3bf?void 0x0:_0x5bd3bf["type"];
    "gameInfoResponse"===_0x590704&&(this["_pageGameInfoReceived"]=!0x0, this["_pendingGameInfoFallbackTimer"]&&(clearTimeout(this["_pendingGameInfoFallbackTimer"]), this["_pendingGameInfoFallbackTimer"]=0x0)), (null===(_0x5d1d1b=this["chromeMsg"])||void 0x0===_0x5d1d1b?void 0x0:_0x5d1d1b["ensureConnected"]())&&(_0x166df3["DEBUG"]&&console["log"]("Content_Win 鏀跺埌 message", _0x5bd3bf), _0x590704&&this["chromeMsg"]["post"](_0x5bd3bf));
  }, _0x30b17d["prototype"]["handleRecvChromeMessage"]=function(_0x134cd3) {
    const _0x1f8f66=_0x31413a;
    var _0x2d4f42;
    const _0x4f0fb9=null==_0x134cd3?void 0x0:_0x134cd3["type"];
    if("getContentURLReq"===_0x4f0fb9)try {
      this["chromeMsg"]&&this["chromeMsg"]["post"]("getContentURLResponse",  {
        'url':window["location"]["href"], 'engine':null
      });
    }
    catch(_0x4f13bc) {
    }
    (null===(_0x2d4f42=this["chromeMsg"])||void 0x0===_0x2d4f42?void 0x0:_0x2d4f42["ensureConnected"]())&&(_0x166df3["DEBUG"]&&console["log"]("Content_Chrome 鏀跺埌 message", _0x134cd3), _0x4f0fb9&&this["winMsg"]["post"](_0x134cd3));
  };
  const _0x4d7f9a=new _0x30b17d();
  _0x4d7f9a["handleRecvWindowMessage"]=_0x30b17d["prototype"]["handleRecvWindowMessage"], _0x4d7f9a["handleRecvChromeMessage"]=_0x30b17d["prototype"]["handleRecvChromeMessage"], _0x4d7f9a["start"]();
})()));
