(function () {
  'use strict';

  /**
   *  @version 1.0.0
   *  @time 2019/11/6
   *  初始创建
   *  @version 1.0.1
   *  @time 2019/11/11
   *  修改了头条banner广告的适配方案以及适配判定 新增变量Advertisement.bannersize
   *  @version 1.0.2
   *  @time 2019/11/13
   *  修改了头条banner广告的适配方案 新增延迟Advertisement.resNode.scheduleOnce
   *  @version 1.0.3
   *  @time 2019/11/27
   *  更新了VIVO激励视频接口API 新增变量video
   * */
  /**
   * creator by z1 on 2019/11/6
   */

  // var Miwu = require('allval');
  var Advertisement = {

  };

  window.bannerAdId = "b98ed65633804b0a882b87a82d7542e9";
  window.nativeAdId = "3a578fd48e6b425894bb422c2ef3c5dc";
  window.videoAdId = "a0bb38d3fe174536a25ab55c1d9aea0c";

  //初始化变量
  Advertisement.initVal = function () {
      Advertisement.recorder = null; //游戏录制变量
      Advertisement.resNode = null; //常住节点的变量
      Advertisement.currtimer = 0; //录制计时变量
      Advertisement.cstop = false; //录制成功判断变量
      Advertisement.videoPath = ""; //录制路径变量
      Advertisement.erroRecNode = null; //录屏错误节点变量
      // Advertisement.erroNode = null; //激励视频错误节点变量
      Advertisement.nrewardNode = null; //奖励发放节点变量
      Advertisement.bannerAd = null; //banner广告变量
      Advertisement.bannerAdon = false;
      Advertisement.nativeAd = null; //原生广告变量
      Advertisement.nativeAdn = null; //原生广告节点
      Advertisement.nativeAdtouch = false;
      Advertisement.bannersize = false; //判断是否适配过
      Advertisement.insertAd = null; //插屏广告变量
      Advertisement.videoAd = null; //激励视频广告变量
      Advertisement.reward = true; //判断是否发放奖励
      Advertisement.rewarda = ""; //奖励类型变量
      Advertisement.rewardNode = null; //奖励节点变量

      Advertisement.isShow = true;
      Advertisement.time = 10;

      // Advertisement.native = false;      //防止原生广告是否请求频繁判断
      Advertisement.native = true; //防止原生广告是否请求频繁判断

      Advertisement.insert = true; //防止插屏广告是否请求频繁判断
      Advertisement.banner = true; //防止banner广告请求频繁判断
      Advertisement.video = true; //防止video请求过于频繁
      Advertisement.boolBannerVivo = true; //防止banner广告请求频繁判断
      Advertisement.boolReward = true; //确保激励只执行一次
      Advertisement.bgmusic = 0; //背景音乐ID
      Advertisement.adId = ''; //原生广告返回ID
      Advertisement.nativeAdl = null;
      Advertisement.mobileVersions = null; //判断手机版本
      Advertisement.boolIp = false; //判断是否是ip
      Advertisement.bg8 = null;

      Advertisement.curThis = null;
      // Advertisement.errorNode = cc.find("errorNode"); //奖励发放节点变量
      // cc.game.addPersistRootNode(Advertisement.errorNode);
      Advertisement.videop = null;


      Advertisement.data = null;
      qg.getSystemInfo({
          success: function (data) {
              console.log(`handling success， screenHeight = ${data.screenHeight}`);
              Advertisement.data = data;
          }
      });
      this.testDate = new Date();
     
      // Advertisement.specialPeriod();


  };



  //获取当前是周几
  Advertisement.getWeekDate = function () {
      var now = new Date();
      var day = now.getDay();
      var weeks = new Array(
          "周日",
          "周一",
          "周二",
          "周三",
          "周四",
          "周五",
          "周六",
      );
      var week = weeks[day];
      // console.log(week);
      return week;
  };

  Advertisement.insertAdverV = function () {

      console.log(Advertisement.data);
      console.log(Laya.stage.height);
      // if (qg.createCustomAd && Advertisement.data) {
          Advertisement.customAd = qg.createCustomAd({
              posId: nativeAdId,
              style: {
                  // left: Advertisement.data.screenWidth / 4,
                  // top: Advertisement.data.screenHeight / 8
                  left: 200,
                  top: 250
              }
          });
          Advertisement.customAd.onError(err => {
              console.log("原生模板广告加载失败", err,"ZZZZZZZZZZZZZ");
          });
          Advertisement.customAd.show().then(() => {
              console.log('原生模板广告展示完成',"ZZZZZZZZZZZZZ");
          }).catch((err) => {
              console.log('原生模板广告展示失败', JSON.stringify(err),"ZZZZZZZZZZZZZ");
          });
          //原生广告关闭回调
          // Advertisement.customAd.onClose(function() {
          //     Advertisement.bannerAdverV();
          // })
      // }
  },

      Advertisement.insertAdverV2 = function () {
          
          // if(Advertisement.isShow == true){
          //     Advertisement.isShow = false;
          //     setTimeout(() =>{
          //         Advertisement.isShow = true;
          //     },7000);
              
          // }
          this.testDate = new Date();
          console.log('insertAdverV2',"ZZZZZZZZZZZZZ");
              if(!Advertisement.TimeManger(2024,9,6,19,0)) return;
              Advertisement.insertAdverV();
          


      },


      //销毁原生
      Advertisement.DestroyV = function () {
          Advertisement.customAd.destroy();
      },
      //VIVObanner广告
      Advertisement.bannerAdverV = function () {
          // return;
          this.testDate = new Date();
          console.log('insertAdverV2',"ZZZZZZZZZZZZZ");
              if(!Advertisement.TimeManger(2024,9,6,19,0)) return;
          // return;
          // if (Advertisement.boolBannerVivo) {
              //销毁之前存在的banner广告
              if (Advertisement.bannerAd != null) {
                  Advertisement.bannerAd.destroy();
                  Advertisement.bannerAd = null;
              }
              Advertisement.boolBannerVivo = false;
              Advertisement.bannerAd = qg.createBannerAd({
                  posId: bannerAdId, //输入广告ID
                  style: {
                      // left:0,
                      // top:0
                  }
              });
              let adshow = Advertisement.bannerAd.show();
              // 调用then和catch之前需要对show的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
              adshow && adshow.then(() => {
                  console.log("banner广告展示成功");
                  Advertisement.resNode.scheduleOnce(function () {
                      Advertisement.boolBannerVivo = true;
                  }, 10);
              }).catch((err) => {
                  switch (err.code) {
                      case 30003:
                          console.log("新用户7天内不能曝光Banner，请将手机时间调整为7天后，退出游戏重新进入");
                          //   qg.showToast({
                          //       message: "banner广告展示失败：30003"
                          //   });
                          break;
                      case 30009:
                          console.log("10秒内调用广告次数超过1次，10秒后再调用");
                          //   qg.showToast({
                          //       message: "banner广告展示失败：30009"
                          //   });
                          setTimeout(() => {
                              retryShow2();
                          }, 10000);
                          break;
                      case 30002:
                          console.log("加载广告失败，重新加载广告");
                          //   qg.showToast({
                          //       message: "banner广告展示失败：30002"
                          //   });
                          setTimeout(() => {
                              retryShow();
                          }, 10000);
                          break;
                      default:
                          // 参考 https://minigame.vivo.com.cn/documents/#/lesson/open-ability/ad?id=广告错误码信息 对错误码做分类处理
                          console.log("banner广告展示失败");
                          console.log(JSON.stringify(err));
                          //   qg.showToast({
                          //       message: `banner广告展示失败${JSON.stringify(err)}`
                          //   });
                          break;
                  }
              });
              Advertisement.bannerAd.onClose(function () {
                  Advertisement.resNode.scheduleOnce(function () {
                      // Advertisement.boolBannerVivo = true;
                      Advertisement.bannerAdverV();

                  }, 60);
              });

              function retryShow() {
                  let bannerAdRetey = qg.createBannerAd({
                      posId: '2c51e3861e0f4d029b28d6f6751496e1', //输入广告ID
                      style: {}
                  });
                  let adShowRetry = bannerAdRetey.show();
                  adShowRetry && adShowRetry.catch((error) => {
                      console.log("banner广告展示失败-重试");
                      console.log(JSON.stringify(error));
                      // qg.showToast({
                      //     message: `banner广告展示失败-重试${JSON.stringify(error)}`
                      // });
                  });
              }

              function retryShow2() {
                  Advertisement.boolBannerVivo = true;
              }

          };

      // }


  Advertisement.bannerDestroy = function () {
      if (Advertisement.bannerAd != null) {
          Advertisement.bannerAd.destroy();
          Advertisement.bannerAd = null;
          Advertisement.bannersize = false;
      }
  };
  //  import Advertisement = require('');
  // import Advertisement from "";
  // let Advertisement = require("Advertisement_API");
  // Advertisement.rewarda = 'reward1';
  // Advertisement.videop = this;
  // Advertisement.videoAdverV();
  // //VIVO激励视频
  Advertisement.showTip = function (str) {
      let te = new Laya.Label();
      te.text = str;
      te.fontSize = 38;
      te.zOrder = 99999;
      te.color = "#FFFFFF";//FFFFFF
      te.x = 280;
      te.y = 300;
      
      Laya.stage.addChild(te);
      Laya.timer.once(2 * 1000,this,()=>{
        te.destroy();
      });
    };

  Advertisement.videoAdverV = function (callback,t) {
      if (Advertisement.videoAd == null) {
          Advertisement.videoAd = qg.createRewardedVideoAd({
              posId: videoAdId //输入广告ID
          });
          Advertisement.videoAd.onLoad(() => {
              console.log("激励视频已加载","ZZZZZZZZZZZZZ");
              // cc.audioEngine.pauseAll();
              var adshow = Advertisement.videoAd.show();
              // 调用then和catch之前需要对show的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
              Advertisement.reward = true;
              adshow && adshow.then(() => {
                  console.log("激励视频广告显示成功","ZZZZZZZZZZZZZ");
              }).catch(err => {
                  console.log("激励视频广告显示失败", err,"ZZZZZZZZZZZZZ");
                  Advertisement.errorNode.opacity = 255;
                  setTimeout(() => {
                      Advertisement.errorNode.opacity = 0;
                  }, 3000);
              });
          });
          Advertisement.videoAd.onError(err => {
              console.log("激励视频异常", err,"ZZZZZZZZZZZZZ");
          Advertisement.showTip("暂时没有广告请稍后再试");

          });
          Advertisement.videoAd.onClose(res => {
              if (res && res.isEnded) {
                  console.log("播放完毕，下发奖励","ZZZZZZZZZZZZZ");
                  // callback.bind(this.videop)();
                  callback();
              } else {
                  console.log("播放中途退出，不下发游戏奖励","ZZZZZZZZZZZZZ");
                  t && t();
                  cc.audioEngine.resumeAll();
              }
          });
      }
      var adload = Advertisement.videoAd.load();

      // 调用then和catch之前需要对load的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
      adload && adload.then(() => {
          console.log("激励视频广告加载成功","ZZZZZZZZZZZZZ");
      }).catch(err => {
          console.log("激励视频广告加载失败", err,"ZZZZZZZZZZZZZ");
          Advertisement.errorNode.opacity = 255;
          setTimeout(() => {
              Advertisement.errorNode.opacity = 0;
          }, 3000);
      });
  };

  /**
     * 在这个时间前不显示广告
     * @param _year 年
     * @param _month 月
     * @param _date 日
     * @param _h 小时
     * @param _m 分钟
     * @returns 
     */
   Advertisement.TimeManger = function(_year, _month, _date, _h, _m) {
      var nowdate = new Date();
      //年
      var year = nowdate.getFullYear();
      //月
      var month = nowdate.getMonth() + 1;
      //日
      var date = nowdate.getDate();
      //周几
      var day = nowdate.getDay();
      //小时
      var h = nowdate.getHours();
      //分钟
      var m = nowdate.getMinutes();
      //秒
      var s = nowdate.getSeconds();
      console.log(year, month, date, h, m);
      if (year > _year) {
          return true
      } else if (year == _year) {
          if (month > _month) {
              return true;
          } else if (month == _month) {
              if (date > _date) {
                  return true;
              } else if (date == _date) {
                  if (h > _h) {
                      return true;
                  } else if (h == _h) {
                      if (m >= _m) {
                          return true;
                      } else {
                          return false;
                      }
                  } else {
                      return false;
                  }
              } else {
                  return false;
              }
          } else {
              return false;
          }
      } else {
          return false;
      }
  };

  // module.exports = Advertisement;

  function _slicedToArray(e, t) {
          return _arrayWithHoles(e) || _iterableToArrayLimit(e, t) || _unsupportedIterableToArray(e, t) || _nonIterableRest()
      }
      function _nonIterableRest() {
          throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
      }
      function _iterableToArrayLimit(e, t) {
          if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) {
              var n = []
                  , a = !0
                  , i = !1
                  , s = void 0;
              try {
                  for (var r, o = e[Symbol.iterator](); !(a = (r = o.next()).done) && (n.push(r.value),
                      !t || n.length !== t); a = !0)
                      ;
              } catch (e) {
                  i = !0,
                      s = e;
              } finally {
                  try {
                      a || null == o.return || o.return();
                  } finally {
                      if (i)
                          throw s
                  }
              }
              return n
          }
      }
      function _arrayWithHoles(e) {
          if (Array.isArray(e))
              return e
      }
      function _createForOfIteratorHelper(e, t) {
          var n;
          if ("undefined" == typeof Symbol || null == e[Symbol.iterator]) {
              if (Array.isArray(e) || (n = _unsupportedIterableToArray(e)) || t && e && "number" == typeof e.length) {
                  n && (e = n);
                  var a = 0
                      , i = function () { };
                  return {
                      s: i,
                      n: function () {
                          return a >= e.length ? {
                              done: !0
                          } : {
                              done: !1,
                              value: e[a++]
                          }
                      },
                      e: function (e) {
                          throw e
                      },
                      f: i
                  }
              }
              throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
          }
          var s, r = !0, o = !1;
          return {
              s: function () {
                  n = e[Symbol.iterator]();
              },
              n: function () {
                  var e = n.next();
                  return r = e.done,
                      e
              },
              e: function (e) {
                  o = !0,
                      s = e;
              },
              f: function () {
                  try {
                      r || null == n.return || n.return();
                  } finally {
                      if (o)
                          throw s
                  }
              }
          }
      }
      function _unsupportedIterableToArray(e, t) {
          if (e) {
              if ("string" == typeof e)
                  return _arrayLikeToArray(e, t);
              var n = Object.prototype.toString.call(e).slice(8, -1);
              return "Object" === n && e.constructor && (n = e.constructor.name),
                  "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _arrayLikeToArray(e, t) : void 0
          }
      }
      function _arrayLikeToArray(e, t) {
          (null == t || t > e.length) && (t = e.length);
          for (var n = 0, a = new Array(t); n < t; n++)
              a[n] = e[n];
          return a
      }
      function _get(e, t, n) {
          return (_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (e, t, n) {
              var a = _superPropBase(e, t);
              if (a) {
                  var i = Object.getOwnPropertyDescriptor(a, t);
                  return i.get ? i.get.call(n) : i.value
              }
          }
          )(e, t, n || e)
      }
      function _superPropBase(e, t) {
          for (; !Object.prototype.hasOwnProperty.call(e, t) && null !== (e = _getPrototypeOf(e));)
              ;
          return e
      }
      function _inherits(e, t) {
          if ("function" != typeof t && null !== t)
              throw new TypeError("Super expression must either be null or a function");
          e.prototype = Object.create(t && t.prototype, {
              constructor: {
                  value: e,
                  writable: !0,
                  configurable: !0
              }
          }),
              t && _setPrototypeOf(e, t);
      }
      function _setPrototypeOf(e, t) {
          return (_setPrototypeOf = Object.setPrototypeOf || function (e, t) {
              return e.__proto__ = t,
                  e
          }
          )(e, t)
      }
      function _createSuper(e) {
          var t = _isNativeReflectConstruct();
          return function () {
              var n, a = _getPrototypeOf(e);
              if (t) {
                  var i = _getPrototypeOf(this).constructor;
                  n = Reflect.construct(a, arguments, i);
              } else
                  n = a.apply(this, arguments);
              return _possibleConstructorReturn(this, n)
          }
      }
      function _possibleConstructorReturn(e, t) {
          return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t
      }
      function _assertThisInitialized(e) {
          if (void 0 === e)
              throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
          return e
      }
      function _isNativeReflectConstruct() {
          if ("undefined" == typeof Reflect || !Reflect.construct)
              return !1;
          if (Reflect.construct.sham)
              return !1;
          if ("function" == typeof Proxy)
              return !0;
          try {
              return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })),
                  !0
          } catch (e) {
              return !1
          }
      }
      function _getPrototypeOf(e) {
          return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) {
              return e.__proto__ || Object.getPrototypeOf(e)
          }
          )(e)
      }
      function _classCallCheck(e, t) {
          if (!(e instanceof t))
              throw new TypeError("Cannot call a class as a function")
      }
      function _defineProperties(e, t) {
          for (var n = 0; n < t.length; n++) {
              var a = t[n];
              a.enumerable = a.enumerable || !1,
                  a.configurable = !0,
                  "value" in a && (a.writable = !0),
                  Object.defineProperty(e, a.key, a);
          }
      }
      function _createClass(e, t, n) {
          return t && _defineProperties(e.prototype, t),
              n && _defineProperties(e, n),
              e
      }
      function _typeof(e) {
          "@babel/helpers - typeof";
          return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
              return typeof e
          }
              : function (e) {
                  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
              }
          )(e)
      }
      !function (e) {
          var t = {};
          function n(a) {
              if (t[a])
                  return t[a].exports;
              var i = t[a] = {
                  i: a,
                  l: !1,
                  exports: {}
              };
              return e[a].call(i.exports, i, i.exports, n),
                  i.l = !0,
                  i.exports
          }
          n.m = e,
              n.c = t,
              n.d = function (e, t, a) {
                  n.o(e, t) || Object.defineProperty(e, t, {
                      enumerable: !0,
                      get: a
                  });
              }
              ,
              n.r = function (e) {
                  "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
                      value: "Module"
                  }),
                      Object.defineProperty(e, "__esModule", {
                          value: !0
                      });
              }
              ,
              n.t = function (e, t) {
                  if (1 & t && (e = n(e)),
                      8 & t)
                      return e;
                  if (4 & t && "object" === _typeof(e) && e && e.__esModule)
                      return e;
                  var a = Object.create(null);
                  if (n.r(a),
                      Object.defineProperty(a, "default", {
                          enumerable: !0,
                          value: e
                      }),
                      2 & t && "string" != typeof e)
                      for (var i in e)
                          n.d(a, i, function (t) {
                              return e[t]
                          }
                              .bind(null, i));
                  return a
              }
              ,
              n.n = function (e) {
                  var t = e && e.__esModule ? function () {
                      return e.default
                  }
                      : function () {
                          return e
                      }
                      ;
                  return n.d(t, "a", t),
                      t
              }
              ,
              n.o = function (e, t) {
                  return Object.prototype.hasOwnProperty.call(e, t)
              }
              ,
              n.p = "",
              n(n.s = "./src/main.ts");
      }({
          "./src/LTGame/3d/Scene.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Res/ResUrl.ts")
                  , i = n("./src/LTGame/Res/LTRes.ts")
                  , s = n("./src/script/common/GlobalUnit.ts")
                  , r = n("./src/LTGame/3d/SceneManager.ts")
                  , o = function () {
                      function e(t) {
                          _classCallCheck(this, e),
                              this._prefabRes = [],
                              this.prefabs = {},
                              this._sceneConfig = t;
                      }
                      return _createClass(e, [{
                          key: "loadRes",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      i.default.LoadAsync(this.scenePrefabUrl());
                                              case 2:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "buildScene",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!this._scene) {
                                                      e.next = 2;
                                                      break
                                                  }
                                                  return e.abrupt("return", this._scene);
                                              case 2:
                                                  return e.next = 4,
                                                      this.loadRes();
                                              case 4:
                                                  return this._scene = new Laya.Sprite3D,
                                                      s.default.s3d.addChild(this._scene),
                                                      this._buildScene(this._sceneConfig, this._scene),
                                                      e.abrupt("return", this._scene);
                                              case 8:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "clearScene",
                          value: function () {
                              this._scene && (this._scene.destroy(),
                                  this._prefabRes = [],
                                  this.prefabs = {},
                                  this._scene = null);
                          }
                      }, {
                          key: "scenePrefabResName",
                          value: function () {
                              if (this._sceneConfig)
                                  return (!this._prefabRes || this._prefabRes.length <= 0) && this._getPrefabName(this._prefabRes, this._sceneConfig),
                                      this._prefabRes;
                              console.error("场景配置表 不存在");
                          }
                      }, {
                          key: "scenePrefabUrl",
                          value: function () {
                              var e = []
                                  , t = this.scenePrefabResName();
                              return t && t.forEach(function (t) {
                                  e.push(a.default.prefab_url(t));
                              }),
                                  e
                          }
                      }, {
                          key: "_buildScene",
                          value: function (e, t) {
                              var n = this
                                  , s = e.prefabName;
                              if (s) {
                                  e = e;
                                  var o = i.default.Get(a.default.prefab_url(s));
                                  o && (r.default.instance.initNode(o, e),
                                      t.addChild(o),
                                      this.prefabs[s] = this.prefabs[s] || [],
                                      this.prefabs[s].push(o));
                              } else if ((e = e).child) {
                                  var c = new Laya.Sprite3D;
                                  r.default.instance.initNode(c, e),
                                      t.addChild(c),
                                      e.child.forEach(function (e) {
                                          n._buildScene(e, c);
                                      });
                              }
                          }
                      }, {
                          key: "_getPrefabName",
                          value: function (e, t) {
                              var n = this;
                              if (t) {
                                  var a = t.prefabName;
                                  a ? (t = t,
                                      e.indexOf(a) < 0 && e.push(a)) : (t = t).child && t.child.forEach(function (t) {
                                          n._getPrefabName(e, t);
                                      });
                              }
                          }
                      }, {
                          key: "scene",
                          get: function () {
                              return this._scene.getChildAt(0)
                          }
                      }, {
                          key: "SceneConfig",
                          get: function () {
                              return this._sceneConfig
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/3d/SceneManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return h
                  });
              var a = n("./src/LTGame/Res/LTRes.ts")
                  , i = n("./src/LTGame/Res/ResUrl.ts")
                  , s = n("./src/LTGame/3d/Scene.ts")
                  , r = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , o = n("./src/LTGame/Manager/MesManager.ts")
                  , c = n("./src/script/enum/EEventScene.ts")
                  , l = n("./src/script/config/LevelConfig.ts")
                  , u = n("./src/LTGame/LTUtils/MathEx.ts")
                  , h = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._levelConfig = {},
                              this._scenes = [];
                      }
                      return _createClass(e, [{
                          key: "initConfig",
                          value: function () {
                              var e = i.default.config_url()
                                  , t = a.default.Get(e, !0);
                              if (t.root)
                                  for (var n = 0; n < t.root.length; n++) {
                                      var s = t.root[n];
                                      this._levelConfig[s.name] = s;
                                  }
                              Laya.loader.clearRes(e);
                          }
                      }, {
                          key: "initCamera",
                          value: function (e) {
                              var t = this._levelConfig.camera;
                              t && this.initNode(e, t);
                          }
                      }, {
                          key: "initLight",
                          value: function (e) {
                              var t = this._levelConfig.light;
                              t && this.initNode(e, t);
                          }
                      }, {
                          key: "Preload",
                          value: function (e) {
                              e.push(i.default.config_url());
                              var t = this.getSceneByLv(r.default.instance.levelId).scenePrefabUrl();
                              e.push.apply(e, t);
                          }
                      }, {
                          key: "preloadSceneRes",
                          value: function (e) {
                              var t = this.getSceneByLv(e);
                              t && t.loadRes();
                          }
                      }, {
                          key: "gameWin",
                          value: function () {
                              o.default.instance.event3d(c.EEventScene.GameWin);
                          }
                      }, {
                          key: "gameFail",
                          value: function () {
                              o.default.instance.event3d(c.EEventScene.GameFail);
                          }
                      }, {
                          key: "getNowScene",
                          value: function () {
                              return this.getSceneByLv(r.default.instance.levelId)
                          }
                      }, {
                          key: "getSceneByLv",
                          value: function (e) {
                              var t = e % l.LevelConfig.dataList.length;
                              0 == t && (t = l.LevelConfig.dataList.length),
                                  e = t;
                              var n = l.LevelConfig.data[e];
                              if (!n)
                                  return null;
                              var a = n.sceneName;
                              return this._scenes[a] || (this._scenes[a] = new s.default(this._levelConfig[a])),
                                  this._scenes[a]
                          }
                      }, {
                          key: "getRandomScene",
                          value: function () {
                              var e = u.default.RandomFromArray(l.LevelConfig.dataList);
                              if (e)
                                  return this.getSceneByName(e.sceneName);
                              console.log();
                          }
                      }, {
                          key: "getSceneByName",
                          value: function (e) {
                              return this._scenes[e] || (this._scenes[e] = new s.default(this._levelConfig[e])),
                                  this._scenes[e]
                          }
                      }, {
                          key: "getLvResName",
                          value: function (e) {
                              return this.getSceneByLv(e).scenePrefabResName()
                          }
                      }, {
                          key: "getLvResUrl",
                          value: function (e) {
                              return this.getSceneByLv(e).scenePrefabUrl()
                          }
                      }, {
                          key: "initNode",
                          value: function (e, t) {
                              e.name = t.name,
                                  e.transform.localPosition = this._parseVector3(t.position),
                                  e.transform.localRotationEuler = this._parseVector3(t.euler),
                                  e.transform.localScale = this._parseVector3(t.scale);
                          }
                      }, {
                          key: "_parseVector3",
                          value: function (e) {
                              var t = e.split(",");
                              return new Laya.Vector3(Number(t[0]), Number(t[1]), Number(t[2]))
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Async/Awaiters.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "NextFrame",
                      value: function () {
                          return this.Frames(2)
                      }
                  }, {
                      key: "Frames",
                      value: function (e) {
                          return new Promise(function (t) {
                              Laya.timer.frameOnce(e, null, function () {
                                  t();
                              });
                          }
                          )
                      }
                  }, {
                      key: "Seconds",
                      value: function (e) {
                          return new Promise(function (t) {
                              Laya.timer.once(1e3 * e, null, function () {
                                  t();
                              });
                          }
                          )
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/BaseUI/UI/GComs.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "fairygui", function () {
                      return a
                  });
              var a, i = n("./src/LTGame/BaseUI/mc/MovieClip.ts");
              !function (e) {
                  var t = function (e) {
                      _inherits(n, fgui.GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GButton = t;
                  var n = function (e) {
                      _inherits(n, fgui.UIPackage);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.UIPackage = n;
                  var a = function (e) {
                      _inherits(n, fgui.UIObjectFactory);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.UIObjectFactory = a;
                  var s = function (e) {
                      _inherits(n, fgui.GComboBox);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GComboBox = s;
                  var r = function (e) {
                      _inherits(n, fgui.GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "dispose",
                          value: function () {
                              Laya.timer.clearAll(this),
                                  _get(_getPrototypeOf(n.prototype), "dispose", this).call(this);
                          }
                      }, {
                          key: "close",
                          value: function () {
                              Laya.timer.clearAll(this);
                          }
                      }, {
                          key: "updateHitTestArea",
                          value: function (e) {
                              var t = fgui.UIPackage.getItemByURL(e);
                              null != t && null != t.pixelHitTestData && (this._displayObject.hitArea = new fgui.PixelHitTest(t.pixelHitTestData, 0, 0),
                                  this._displayObject.mouseThrough = !1,
                                  this._displayObject.hitTestPrior = !0);
                          }
                      }, {
                          key: "getChildByName",
                          value: function (e) {
                              for (var t = this._children.length, n = 0; n < t; ++n)
                                  if (this._children[n].name == e)
                                      return this._children[n];
                              return null
                          }
                      }]),
                          n
                  }();
                  e.GComponent = r;
                  var o = function (e) {
                      _inherits(n, fgui.GGraph);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GGraph = o;
                  var c = function (e) {
                      _inherits(n, fgui.GGroup);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GGroup = c;
                  var l = function (e) {
                      _inherits(n, fgui.GImage);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GImage = l;
                  var u = function (e) {
                      _inherits(n, fgui.GLabel);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GLabel = u;
                  var h = function (e) {
                      _inherits(n, fgui.GList);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GList = h;
                  var d = function (e) {
                      _inherits(n, fgui.Controller);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.Controller = d;
                  var f = function (e) {
                      _inherits(n, fgui.Transition);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.Transition = f;
                  var _ = function (e) {
                      _inherits(n, fgui.GLoader);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "setUrlByPack",
                          value: function (e, t) {
                              var n = this
                                  , a = fgui.UIPackage.getByName(e);
                              a && Laya.loader.getRes(a.customId + ".fui") ? (this.urlAndClearLast = fgui.UIPackage.getItemURL(e, t),
                                  this.content && this.content instanceof fgui.MovieClip && i.MovieClip.addMcNode(e)) : (this.urlAndClearLast = "",
                                      i.MovieClip.loadMcRes(e, Laya.Handler.create(this, function () {
                                          n._displayObject.destroyed || "" != n.url || n.setUrlByPack(e, t);
                                      })));
                          }
                      }, {
                          key: "dispose",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "dispose", this).call(this);
                          }
                      }, {
                          key: "urlAndClearLast",
                          set: function (e) {
                              if (this.url && this.url != e) {
                                  fgui.ToolSet.startsWith(this.url, "ui://") || Laya.loader.clearTextureRes(this.url);
                                  var t = this.displayObject.destroyed ? null : this.content;
                                  if (t && t instanceof fgui.MovieClip) {
                                      var n = this._contentItem;
                                      i.MovieClip.clearMcTimesByType(n ? n.owner.name : "");
                                  }
                              }
                              this.url = e;
                          }
                      }, {
                          key: "sizeGrid",
                          set: function (e) {
                              this.content instanceof Laya.Image && (this.content.sizeGrid = e);
                          }
                      }]),
                          n
                  }();
                  e.GLoader = _;
                  var m = function (e) {
                      _inherits(n, fgui.GMovieClip);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "stop",
                          value: function () {
                              this.playing = !1;
                          }
                      }, {
                          key: "stopAtFrame",
                          value: function (e) {
                              this.stop(),
                                  this.frame = e;
                          }
                      }, {
                          key: "dispose",
                          value: function () {
                              this.stop(),
                                  _get(_getPrototypeOf(n.prototype), "dispose", this).call(this);
                          }
                      }, {
                          key: "playOnce",
                          value: function (e) {
                              var t = this
                                  , n = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]
                                  , a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : -1;
                              a = n ? -1 : a,
                                  this.setPlaySettings(0, -1, 1, a, Laya.Handler.create(this, function (e) {
                                      e && e.run(),
                                          e = null,
                                          n && t.dispose();
                                  }, [e]));
                          }
                      }]),
                          n
                  }();
                  e.GMovieClip = m;
                  var p = function (e) {
                      _inherits(n, fgui.GProgressBar);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GProgressBar = p;
                  var g = function (e) {
                      _inherits(n, fgui.GRichTextField);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GRichText = g;
                  var v = function (e) {
                      _inherits(n, fgui.GScrollBar);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GScrollBar = v;
                  var y = function (e) {
                      _inherits(n, fgui.GSlider);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GSlider = y;
                  var k = function (e) {
                      _inherits(n, fgui.GBasicTextField);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GTextField = k;
                  var C = function (e) {
                      _inherits(n, fgui.GTextInput);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GTextInput = C;
                  var S = function (e) {
                      _inherits(n, fgui.GRichTextField);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return n
                  }();
                  e.GRichTextField = S;
              }(a || (a = {}));
          },
          "./src/LTGame/BaseUI/mc/McLoad.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e(t) {
                      var n = this;
                      _classCallCheck(this, e),
                          this.onFuiLoaded = function () {
                              fgui.UIPackage.getById(n._package) || fgui.UIPackage.addPackage(n._aniUrl(n._package));
                          }
                          ,
                          this._coms = [],
                          this.getMcCom = function (e, t) {
                              n._swich && n.loadRes(Laya.Handler.create(n, n.onResLoaded, [e, t]));
                          }
                          ,
                          this._package = t,
                          this._swich = !0;
                  }
                  return _createClass(e, [{
                      key: "_aniUrl",
                      value: function (e) {
                          return "res/ani/" + e
                      }
                  }, {
                      key: "onResLoaded",
                      value: function (e, t) {
                          if (this._swich) {
                              null == this._coms && (this._coms = []);
                              var n = this._package + "Ani"
                                  , a = fgui.UIPackage.createObject(this._package, n, t);
                              if (!a)
                                  throw new Error("资源名错误 或 不存在" + n);
                              a.displayObject.hitArea = null,
                                  a.displayObject.mouseThrough = !0,
                                  this._coms.push(a),
                                  e && e.runWith(a),
                                  e = null;
                          }
                      }
                  }, {
                      key: "loadRes",
                      value: function (e) {
                          var t = this;
                          Laya.loader.load([{
                              url: this._aniUrl(this._package) + "_atlas0.png",
                              type: Laya.Loader.IMAGE
                          }, {
                              url: this._aniUrl(this._package) + ".bin",
                              type: Laya.Loader.BUFFER
                          }], Laya.Handler.create(this, function () {
                              t.onFuiLoaded(),
                                  e && e.run(),
                                  e = null;
                          }), null, Laya.Loader.IMAGE);
                      }
                  }, {
                      key: "clearMcAndCom",
                      value: function () {
                          this._swich = !1,
                              null != this._coms && (this._coms.forEach(function (e, t) {
                                  e && e.dispose(!1);
                              }),
                                  this._coms = null);
                          var e = this._aniUrl(this._package) + "_atlas0.png";
                          Laya.loader.cancelLoadByUrl(e),
                              Laya.loader.clearTextureRes(e);
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/BaseUI/mc/MovieClip.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "MovieClip", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/mc/McLoad.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "getMcByType",
                          value: function (t, n, i) {
                              return e._mcArr[t] || (e._mcArr[t] = new a.default(t)),
                                  e._mcArr[t].getMcCom(n, i),
                                  e._handNum[t] ? e._handNum[t]++ : e._handNum[t] = 1,
                                  e._mcArr[t]
                          }
                      }, {
                          key: "loadMcRes",
                          value: function (t, n) {
                              e._mcArr[t] || (e._mcArr[t] = new a.default(t)),
                                  e._mcArr[t].loadRes(n);
                          }
                      }, {
                          key: "addMcNode",
                          value: function (t) {
                              e._mcArr[t] || (e._mcArr[t] = new a.default(t)),
                                  e._handNum[t] ? e._handNum[t]++ : e._handNum[t] = 1;
                          }
                      }, {
                          key: "clearAllMcByType",
                          value: function (t) {
                              null != e._handNum[t] && (delete e._handNum[t],
                                  this._mcArr[t].clearMcAndCom(),
                                  delete e._mcArr[t]);
                          }
                      }, {
                          key: "clearMcTimesByType",
                          value: function (t) {
                              var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1
                                  , a = e._handNum[t];
                              null != a && (e._handNum[t] = a - n,
                                  e._handNum[t] <= 0 && (a > 0 && this._mcArr[t].clearMcAndCom(),
                                      e._handNum[t] <= 0 && (delete e._mcArr[t],
                                          delete e._handNum[t])));
                          }
                      }, {
                          key: "mcArr",
                          get: function () {
                              return this._mcArr
                          }
                      }, {
                          key: "handNum",
                          get: function () {
                              return this._handNum
                          }
                      }]),
                          e
                  }();
              i._mcArr = {},
                  i._handNum = {};
          },
          "./src/LTGame/Commom/CommonEventId.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "CommonEventId", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e);
              };
              a.PAUSE_AUDIO = "PAUSE_AUDIO",
                  a.RESUM_AUDIO = "RESUM_AUDIO",
                  a.AD_CONFIG_GETTED = "AD_CONFIG_GETTED",
                  a.SELF_AD_INITED = "SELF_AD_INITED";
          },
          "./src/LTGame/Commom/CommonSaveData.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "SaveData", function () {
                      return s
                  }),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/LTGame/LTUtils/StringEx.ts")
                  , i = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , s = function e() {
                      _classCallCheck(this, e),
                          this.firstEnter = !0,
                          this.newPlayer = !0,
                          this.firstShareFail = !0,
                          this.shareFailTimes = 0,
                          this.oneDayPlayer = !0,
                          this.twoDayPlayer = !1,
                          this.lastOpenTick = 0,
                          this.onceTime = 0,
                          this.isNewDay = !0,
                          this.isSigned = !1,
                          this.loginSignShow = !1,
                          this.signCloseTimes = 0,
                          this.signDayCount = 0,
                          this.loginDayCount = 0,
                          this.isMusicOn = !0,
                          this.isSoundOn = !0,
                          this.isShakeOn = !0,
                          this.interstitialCount = 0,
                          this.trySignMissMode = 0,
                          this.checkFlag = !0,
                          this.endRewardMissMode = 0,
                          this.freeRollCount = 1,
                          this.EggPassIds = [],
                          this.EggSecretIds = [],
                          this.EggPasswordIds = [],
                          this.levelId = 1,
                          this.shareGuiId = -1,
                          this.shareGuiPro = -1,
                          this.showCollect = !0,
                          this.compareVersion = 0;
                  }
                  , r = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._savePath = "ltg-common-save.sav";
                      }
                      return _createClass(e, [{
                          key: "_InitData",
                          value: function () {
                              var t, n;
                              if (this._saveData.isNewDay = !1,
                                  0 == this._saveData.lastOpenTick)
                                  this._saveData.isNewDay = !0,
                                      this._saveData.signCloseTimes = 0;
                              else {
                                  var a = Date.now();
                                  console.log("时间间隔", a, this._saveData.lastOpenTick, a - this._saveData.lastOpenTick),
                                      t = i.LTUtils.GetCurrentDayCount(this._saveData.lastOpenTick),
                                      (n = i.LTUtils.GetCurrentDayCount(a)) != t && (this._saveData.isNewDay = !0,
                                          this._saveData.signCloseTimes = 0,
                                          this._saveData.interstitialCount = 0);
                              }
                              if (this._saveData.lastOpenTick = Date.now(),
                                  this._saveData.isNewDay) {
                                  this._saveData.loginDayCount++,
                                      this._saveData.isSigned = !1,
                                      this._saveData.firstShareFail = !0,
                                      this._saveData.shareFailTimes = 0,
                                      this._saveData.freeRollCount = 1,
                                      this._saveData.oneDayPlayer = !1,
                                      this._saveData.showCollect = !0;
                                  var s = n - i.LTUtils.GetCurrentDayCount(this._saveData.onceTime);
                                  s >= 1 && (this._saveData.oneDayPlayer = !1),
                                      this._saveData.twoDayPlayer = 1 == s;
                              } else
                                  this._saveData.newPlayer = !1;
                              this._saveData.newPlayer && (this._saveData.onceTime = Date.now(),
                                  this._saveData.twoDayPlayer = !1,
                                  this._saveData.oneDayPlayer = !0),
                                  e.SaveToDisk();
                          }
                      }, {
                          key: "_ReadFromFile",
                          value: function () {
                              var e = Laya.LocalStorage.getJSON(this._savePath);
                              if (this._saveData = new s,
                                  !a.default.IsNullOrEmpty(e)) {
                                  var t = JSON.parse(e);
                                  for (var n in t)
                                      this._saveData[n] = t[n];
                              }
                              console.log("common savedata:", this._saveData);
                          }
                      }], [{
                          key: "SaveToDisk",
                          value: function () {
                              if (this._instance) {
                                  var e = JSON.stringify(this._instance._saveData);
                                  Laya.LocalStorage.setJSON(this._instance._savePath, e);
                              }
                          }
                      }, {
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e,
                                  this._instance._ReadFromFile(),
                                  this._instance._InitData()),
                                  this._instance._saveData
                          }
                      }]),
                          e
                  }();
              window.CSD = r;
          },
          "./src/LTGame/Commom/EScreenOrientation.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EScreenOrientation", function () {
                      return a
                  }),
                  function (e) {
                      e[e.Portrait = 0] = "Portrait",
                          e[e.Landscape = 1] = "Landscape";
                  }(a || (a = {}));
          },
          "./src/LTGame/Config/ConfigManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "ConfigManager", function () {
                      return i
                  });
              var a = n("./src/LTGame/Res/ResUrl.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "AddConfig",
                          value: function (t) {
                              e._configList.push(t);
                          }
                      }, {
                          key: "StartLoad",
                          value: function (t) {
                              var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                              if (0 != e._configList.length) {
                                  var i, s = [], r = _createForOfIteratorHelper(e._configList);
                                  try {
                                      for (r.s(); !(i = r.n()).done;) {
                                          var o = i.value;
                                          s.push(o.path);
                                      }
                                  } catch (e) {
                                      r.e(e);
                                  } finally {
                                      r.f();
                                  }
                                  s.push(a.default.config_url()),
                                      Laya.loader.load(s, Laya.Handler.create(this, function () {
                                          var n, a = _createForOfIteratorHelper(e._configList);
                                          try {
                                              for (a.s(); !(n = a.n()).done;) {
                                                  var i = n.value;
                                                  for (var s in i.data = Laya.loader.getRes(i.path),
                                                      i.dataList = [],
                                                      i.data) {
                                                      var r = i.data[s];
                                                      null != r && i.dataList.push(r);
                                                  }
                                                  i.dataList.length > 0 && (i.lastData = i.dataList[i.dataList.length - 1]);
                                              }
                                          } catch (e) {
                                              a.e(e);
                                          } finally {
                                              a.f();
                                          }
                                          t && (t.run(),
                                              t = null);
                                      }), n, null, 0, !0, null, !0);
                              } else
                                  t && (t.run(),
                                      t = null);
                          }
                      }, {
                          key: "needLoadCount",
                          get: function () {
                              return this._configList.length
                          }
                      }]),
                          e
                  }();
              i._configList = [];
          },
          "./src/LTGame/Config/LoadPackConfig.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LoadPackConfig", function () {
                      return i
                  }),
                  n.d(t, "EPackType", function () {
                      return a
                  });
              var a, i = function e() {
                  _classCallCheck(this, e);
              };
              !function (e) {
                  e[e.MainPack = 1] = "MainPack",
                      e[e.SubPack = 2] = "SubPack",
                      e[e.SubPackNo = 3] = "SubPackNo",
                      e[e.Remote = 4] = "Remote";
              }(a || (a = {}));
          },
          "./src/LTGame/Fsm/BaseState.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e(t) {
                      _classCallCheck(this, e),
                          this.id = t;
                  }
                  return _createClass(e, [{
                      key: "GetNextState",
                      value: function () {
                          return this.isFinished ? this.nextState : 0
                      }
                  }, {
                      key: "OnEnter",
                      value: function (e, t) {
                          this.isFinished = !1,
                              this.nextState = 0,
                              this.passTime = 0,
                              this.deltaTime = 0,
                              this._DoEnter(e, t);
                      }
                  }, {
                      key: "OnRunning",
                      value: function (e, t) {
                          this.isFinished || (this.deltaTime = t,
                              this.passTime += t,
                              this._DoRunning(e));
                      }
                  }, {
                      key: "OnExit",
                      value: function (e, t) {
                          this._DoExit(e, t);
                      }
                  }, {
                      key: "OnLateUpdate",
                      value: function (e) {
                          this.isFinished || this._DoLateUpdate(e);
                      }
                  }, {
                      key: "_DoLateUpdate",
                      value: function (e) { }
                  }, {
                      key: "_DoEnter",
                      value: function (e, t) { }
                  }, {
                      key: "_DoRunning",
                      value: function (e) { }
                  }, {
                      key: "_DoExit",
                      value: function (e, t) { }
                  }]),
                      e
              }();
          },
          "./src/LTGame/Fsm/StateMachine.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/LTUtils/LTDictionary.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._states = new a.default;
                      }
                      return _createClass(e, [{
                          key: "Add",
                          value: function (e) {
                              this._states.set(e.id, e);
                          }
                      }, {
                          key: "Remove",
                          value: function (e) {
                              return this._states.remove(e)
                          }
                      }, {
                          key: "RemoveAll",
                          value: function () {
                              this._states.clear(),
                                  this.currState = null;
                          }
                      }, {
                          key: "ExitCurrState",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                              null != this.currState && (this.currState.OnExit(null, e),
                                  this.currState = null);
                          }
                      }, {
                          key: "ChangeState",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
                                  , n = this.Find(e);
                              return null != n ? (null != this.currState && this.currState.OnExit(n, t),
                                  this.lastState = this.currState,
                                  this.currState = n,
                                  n.OnEnter(this.lastState, t),
                                  !0) : (console.error("不存在的状态ID:" + e),
                                      !1)
                          }
                      }, {
                          key: "LogicUpdate",
                          value: function (e) {
                              var t = this.currState.GetNextState();
                              0 != t && this.ChangeState(t),
                                  this.OnRunning(null, e);
                          }
                      }, {
                          key: "OnRunning",
                          value: function (e, t) {
                              null != this.currState && this.currState.OnRunning(e, t);
                          }
                      }, {
                          key: "Find",
                          value: function (e) {
                              return this._states.get(e)
                          }
                      }, {
                          key: "count",
                          get: function () {
                              return this._states.length
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/LTUtils/ArrayEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "Replace",
                      value: function (e, t, n) {
                          var a = e.indexOf(t);
                          return !(a < 0) && (e.splice(a, 1, n),
                              !0)
                      }
                  }, {
                      key: "Remove",
                      value: function (e, t) {
                          var n = e.indexOf(t);
                          return !(n < 0) && (e.splice(n, 1),
                              !0)
                      }
                  }, {
                      key: "RemoveAt",
                      value: function (e, t) {
                          return !(e.length <= t) && (e.splice(t, 1),
                              !0)
                      }
                  }, {
                      key: "Contains",
                      value: function (e, t) {
                          return e.indexOf(t) >= 0
                      }
                  }, {
                      key: "Copy",
                      value: function (e) {
                          for (var t = [], n = 0; n < e.length; ++n)
                              t.push(e[n]);
                          return t
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/LTUtils/DateEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "GetTotalDays",
                      value: function (e) {
                          return 372 * e.getFullYear() + 31 * e.getMonth() + e.getDate()
                      }
                  }, {
                      key: "formatTimeHMMSS",
                      value: function (e) {
                          var t = "";
                          if (e <= 0)
                              return t = "0:00:00";
                          if (e >= 3600) {
                              var n = Math.floor(e / 3600);
                              e -= 3600 * n,
                                  t += n + ":";
                          } else
                              t += "0:";
                          if (e >= 60) {
                              var a = Math.floor(e / 60);
                              e -= 60 * a,
                                  a < 10 && (t += "0"),
                                  t += a + ":";
                          } else
                              t += "00:";
                          return e < 10 && (t += "0"),
                              t += e
                      }
                  }, {
                      key: "formatTimeHMMSS1",
                      value: function (e) {
                          var t = "";
                          if (e <= 0)
                              return t = "00:00";
                          if (e >= 3600) {
                              var n = Math.floor(e / 3600);
                              e -= 3600 * n,
                                  t += n + ":";
                          }
                          if (e >= 60) {
                              var a = Math.floor(e / 60);
                              e -= 60 * a,
                                  a < 10 && (t += "0"),
                                  t += a + ":";
                          } else
                              t += "00:";
                          return e < 10 && (t += "0"),
                              t += e
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/LTUtils/LTDictionary.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e),
                          this.items = {};
                  }
                  return _createClass(e, [{
                      key: "set",
                      value: function (e, t) {
                          return this.items[e] = t,
                              !0
                      }
                  }, {
                      key: "has",
                      value: function (e) {
                          return this.items.hasOwnProperty(e)
                      }
                  }, {
                      key: "remove",
                      value: function (e) {
                          return !!this.has(e) && (delete this.items[e],
                              !0)
                      }
                  }, {
                      key: "get",
                      value: function (e) {
                          return this.has(e) ? this.items[e] : void 0
                      }
                  }, {
                      key: "keys",
                      value: function () {
                          return Object.keys(this.items)
                      }
                  }, {
                      key: "clear",
                      value: function () {
                          this.items = {};
                      }
                  }, {
                      key: "length",
                      get: function () {
                          return this.keys().length
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/LTUtils/LTLineCurve3.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LTLineCurve3", function () {
                      return o
                  });
              var a = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , i = n("./src/script/common/Utils.ts")
                  , s = n("./src/LTGame/LTUtils/QuaternionEx.ts")
                  , r = n("./src/script/scene/script/utils/Logger.ts")
                  , o = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._posList = [],
                              this._rotList = [],
                              this._routeRotList = [],
                              this._rotY = [],
                              this._lerpUnit = [],
                              this._nowIndex = 0,
                              this._nowPro = 0;
                      }
                      return _createClass(e, [{
                          key: "dispose",
                          value: function () {
                              this._posList = null,
                                  this._nowIndex = 0,
                                  this._nowPro = 0,
                                  this._loop = !1,
                                  this._rotList = null;
                          }
                      }, {
                          key: "setLoop",
                          value: function (e) {
                              this._loop = e;
                              var t = Laya.Vector3.distance(this._posList[this._posList.length - 1], this._posList[0]);
                              this._lerpUnit.push(1 / t);
                              var n = a.default.Subtract(this._posList[0], this._posList[this._posList.length - 1]);
                              a.default.Normalize(n),
                                  this._routeRotList.push(n),
                                  this._rotY.push(i.Utils.getRotation(n));
                          }
                      }, {
                          key: "addRoutePos",
                          value: function (e, t) {
                              var n = this._posList.slice(-1)[0];
                              if (this._posList.push(e),
                                  this._rotList.push(t),
                                  n) {
                                  n && e || r.Logger.lg("--\x3e");
                                  var s = Laya.Vector3.distance(n, e);
                                  this._lerpUnit.push(1 / s);
                                  var o = a.default.Subtract(e, n);
                                  a.default.Normalize(o),
                                      this._routeRotList.push(o),
                                      this._rotY.push(i.Utils.getRotation(o));
                              }
                          }
                      }, {
                          key: "CurrentPos",
                          value: function () {
                              return this._posList[this._nowIndex]
                          }
                      }, {
                          key: "InsertRoutePos",
                          value: function (e, t) {
                              var n = this._posList.slice(this._nowIndex + 1, this._posList.length)
                                  , a = this._rotList.slice(this._nowIndex + 1, this._rotList.length);
                              this._nowIndex + 2 == this._posList.length && (n = null,
                                  a = null),
                                  this._posList.length = 0,
                                  this._rotList.length = 0,
                                  this._routeRotList.length = 0,
                                  this._rotY.length = 0,
                                  this._lerpUnit.length = 0;
                              for (var i = 0; i < e.length; i++)
                                  this.addRoutePos(e[i], t[i]);
                              if (n && a && n.length > 0 && a.length > 0)
                                  for (i = 0; i < n.length; i++)
                                      this.addRoutePos(n[i], a[i]);
                              this._nowIndex = 0,
                                  this._nowPro = 0;
                          }
                      }, {
                          key: "GotoNextPos",
                          value: function () {
                              this._nowIndex += 2,
                                  this._nowPro = 0;
                          }
                      }, {
                          key: "addDis",
                          value: function (e) {
                              var t = this._posList[this._nowIndex]
                                  , n = this._posList[this._nowIndex + 1];
                              if (!n) {
                                  if (!this._loop)
                                      return t;
                                  n = this._posList[0];
                              }
                              this._nowPro += e * this._lerpUnit[this._nowIndex];
                              var i = a.default.Lerp(t, n, this._nowPro);
                              return this._nowPro >= 1 && (this._nowPro = 0,
                                  n == this._posList[0] ? this._nowIndex = 0 : this._nowIndex++),
                                  i
                          }
                      }, {
                          key: "IsEnd",
                          value: function () {
                              return this._nowIndex + 1 == this._posList.length
                          }
                      }, {
                          key: "Clear",
                          value: function () {
                              this._posList.length = 0,
                                  this._rotList.length = 0,
                                  this._routeRotList.length = 0,
                                  this._rotY.length = 0,
                                  this._lerpUnit.length = 0,
                                  this._nowIndex = 0,
                                  this._nowPro = 0;
                          }
                      }, {
                          key: "getNowDire",
                          value: function () {
                              return this._routeRotList[this._nowIndex]
                          }
                      }, {
                          key: "getNowRotY",
                          value: function () {
                              return this._rotY[this._nowIndex]
                          }
                      }, {
                          key: "getNowRot",
                          value: function () {
                              var e = this._rotList[this._nowIndex]
                                  , t = this._rotList[this._nowIndex + 1];
                              if (!t) {
                                  if (!this._loop)
                                      return e;
                                  t = this._rotList[0];
                              }
                              return s.default.Lerp(e, t, this._nowPro)
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/LTUtils/LTUtils.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LTUtils", function () {
                      return s
                  }),
                  n.d(t, "randomRangeInt", function () {
                      return r
                  });
              var a = n("./src/LTGame/Platform/LTPlatform.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "SwitchParent",
                          value: function (e, t) {
                              if (e && t && e.parent != t) {
                                  var n = e.transform.scale.clone()
                                      , a = e.transform.position.clone()
                                      , i = e.transform.rotationEuler.clone();
                                  t.addChild(e),
                                      e.transform.scale = n,
                                      e.transform.position = a,
                                      e.transform.rotationEuler = i;
                              }
                          }
                      }, {
                          key: "SwitchParentLocal",
                          value: function (e, t) {
                              if (e && t && e.parent != t) {
                                  var n = e.transform.localScale.clone()
                                      , a = e.transform.localPosition.clone()
                                      , i = e.transform.localRotationEuler.clone();
                                  t.addChild(e),
                                      e.transform.localScale = n,
                                      e.transform.localPosition = a,
                                      e.transform.localRotationEuler = i;
                              }
                          }
                      }, {
                          key: "setRigidBody",
                          value: function (e, t) {
                              e && (e.isKinematic = !t,
                                  e.isTrigger = !t);
                          }
                      }, {
                          key: "isZero",
                          value: function (e) {
                              return e || console.log(""),
                                  0 == e.x && 0 == e.y && 0 == e.z
                          }
                      }, {
                          key: "checkV3Equal",
                          value: function (e, t) {
                              return e.x == t.x && e.x == t.x && e.y == t.y
                          }
                      }, {
                          key: "CachFile",
                          value: function (e) {
                              if (Laya.Browser.onWeiXin) {
                                  var t = Laya.URL.formatURL(e);
                                  null == Laya.MiniAdpter.getFileInfo(t) && Laya.MiniAdpter.downLoadFile(t);
                              }
                          }
                      }, {
                          key: "copyFguiCom",
                          value: function (e) {
                              if (e && e.resourceURL) {
                                  var t = fgui.UIPackage.createObjectFromURL(e.resourceURL);
                                  return t.width = e.width,
                                      t.height = e.height,
                                      t.setScale(e.scaleX, e.scaleY),
                                      t.setPivot(e.pivotX, e.pivotY, e.pivotAsAnchor),
                                      e._children.forEach(function (e, n) {
                                          e instanceof fgui.GLoader ? t.getChildAt(n).url = e.url : e instanceof fgui.GTextField && (t.getChildAt(n).text = e.text);
                                      }),
                                      e.controllers.forEach(function (e, n) {
                                          e && (t.controllers[n].selectedIndex = e.selectedIndex);
                                      }),
                                      t
                              }
                          }
                      }, {
                          key: "removeNull",
                          value: function (e) {
                              for (var t = [], n = 0; n < e.length; n++)
                                  e[n] && t.push(e[n]);
                              return t
                          }
                      }, {
                          key: "arrRemove",
                          value: function (e, t) {
                              if (e && null != t) {
                                  var n = e.indexOf(t);
                                  n >= 0 && e.splice(n, 1);
                              }
                          }
                      }, {
                          key: "addSomeOne",
                          value: function (e, t) {
                              return !(!e || null == t) && (e.indexOf(t) < 0 && (e.push(t),
                                  !0))
                          }
                      }, {
                          key: "InverseTransformPoint",
                          value: function (e, t) {
                              var n = new Laya.Matrix4x4;
                              e.worldMatrix.invert(n);
                              var a = new Laya.Vector3;
                              return Laya.Vector3.transformCoordinate(t, n, a),
                                  a
                          }
                      }, {
                          key: "GetPointFrom3DWorld",
                          value: function (e, t, n) {
                              var a = new Laya.Vector4;
                              return e.worldToViewportPoint(t, a),
                                  null != n ? n.globalToLocal(a.x, a.y) : new Laya.Point(a.x, a.y)
                          }
                      }, {
                          key: "DownLoadFiles",
                          value: function (e, t, n) {
                              Laya.loader.create(e, t, n, null, null, null, 1, !0);
                          }
                      }, {
                          key: "SetShadow",
                          value: function (e, t, n) {
                              var a = e.meshRenderer;
                              null != a && (a.castShadow = t,
                                  a.receiveShadow = n);
                              var i = e.skinnedMeshRenderer;
                              null != i && (i.castShadow = t,
                                  i.receiveShadow = n);
                              for (var s = e, r = 0; r < s.numChildren; ++r) {
                                  var o = s.getChildAt(r);
                                  this.SetShadow(o, t, n);
                              }
                          }
                      }, {
                          key: "GetComponentsInChildren",
                          value: function (e, t) {
                              var n = [];
                              return this._GetComponentsInChildrenHelper(e, t, n),
                                  n
                          }
                      }, {
                          key: "_GetComponentsInChildrenHelper",
                          value: function (e, t, n) {
                              var a = e.getComponents(t);
                              if (null != a)
                                  for (var i = 0; i < a.length; ++i)
                                      n.push(a[i]);
                              for (var s = 0; s < e.numChildren; ++s) {
                                  var r = e.getChildAt(s);
                                  this._GetComponentsInChildrenHelper(r, t, n);
                              }
                          }
                      }, {
                          key: "EnableShadow",
                          value: function (e, t) {
                              e.shadowMode = Laya.ShadowMode.SoftLow,
                                  e.shadowDistance = t,
                                  e.shadowResolution = 512,
                                  e.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades,
                                  e.shadowStrength = .5;
                          }
                      }, {
                          key: "findChild",
                          value: function (t, n) {
                              return t.name == n ? t : e._findChild(t._children, n)
                          }
                      }, {
                          key: "_findChild",
                          value: function (t, n) {
                              if (!t)
                                  return null;
                              for (var a = [], i = 0; i < t.length; i++) {
                                  var s = t[i];
                                  if (s.name == n)
                                      return s;
                                  s.numChildren && (a = a.concat(s._children));
                              }
                              return a.length ? e._findChild(a, n) : null
                          }
                      }, {
                          key: "GetCoinStr",
                          value: function (e) {
                              if (null == this._strMap) {
                                  this._strMap = ["", "K", "M", "B", "T", "Q"];
                                  for (var t = 0; t < 500; ++t) {
                                      var n = String.fromCharCode(Math.floor(t / 24) + 97)
                                          , a = String.fromCharCode(Math.floor(t % 24) + 97);
                                      this._strMap.push(n + a);
                                  }
                              }
                              for (var i = 0; e > 1e3;)
                                  e /= 1e3,
                                      i++;
                              return i >= this._strMap.length ? (console.error("单位表越界"),
                                  e.toFixed(1) + "aa") : i <= 0 ? e.toFixed(0) : e.toFixed(1) + this._strMap[i]
                          }
                      }, {
                          key: "GetCoinStr1",
                          value: function (e) {
                              if (null == this._strMap) {
                                  this._strMap = ["", "K", "M", "B", "T", "Q"];
                                  for (var t = 0; t < 500; ++t) {
                                      var n = String.fromCharCode(Math.floor(t / 24) + 97)
                                          , a = String.fromCharCode(Math.floor(t % 24) + 97);
                                      this._strMap.push(n + a);
                                  }
                              }
                              for (var i = 0; e > 1e3;)
                                  e /= 1e3,
                                      i++;
                              return i >= this._strMap.length ? (console.error("单位表越界"),
                                  e.toFixed(1) + "aa") : i <= 0 ? e.toFixed(0) : e.toFixed(0) + this._strMap[i]
                          }
                      }, {
                          key: "makeTimeLeftString",
                          value: function (t) {
                              var n, a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ":", i = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], s = "";
                              if (t <= 0)
                                  return s += "00:00";
                              if (t > e.ONE_YEAR)
                                  return s = "大于一年";
                              if (i) {
                                  if (t > e.ONE_DAY)
                                      s = Math.floor(t / e.ONE_DAY) + "天";
                                  else if (t >= 3600)
                                      s = (n = Math.floor(t / 3600)) + "时";
                                  else {
                                      var r = Math.floor(t / 60);
                                      r < 10 && (s += "0"),
                                          s += r.toString() + a;
                                      var o = t % 60;
                                      o < 10 && (s += "0"),
                                          s += o.toString();
                                  }
                                  return s
                              }
                              if (t > e.ONE_DAY) {
                                  var c = Math.floor(t / e.ONE_DAY);
                                  if (s = c + "天",
                                      t -= c * e.ONE_DAY,
                                      i)
                                      return (n = Math.floor(t / 3600)) > 0 && (s += n + "时"),
                                          s
                              }
                              if (t <= 0)
                                  return s += "00:00";
                              s = "",
                                  (n = Math.floor(t / 3600)) > 0 && (s += n < 10 ? "0" + n.toString() + a : n.toString() + a);
                              var l = Math.floor((t - 3600 * n) / 60);
                              l > 0 || n > 0 ? (l < 10 && (s += "0"),
                                  s += l.toString() + a) : s += "00" + a;
                              var u = t % 60;
                              return u < 10 && (s += "0"),
                                  s += u.toString()
                          }
                      }, {
                          key: "GetCurrentDayCount",
                          value: function (e) {
                              return Math.floor(e / 1e3 / 60 / 60 / 24)
                          }
                      }, {
                          key: "SetLayer",
                          value: function (e, t) {
                              e.layer = t;
                              for (var n = 0; n < e.numChildren; ++n) {
                                  var a = e.getChildAt(n);
                                  this.SetLayer(a, t);
                              }
                          }
                      }, {
                          key: "Vibrate",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                              i.default.instance.isShakeOn && a.default.instance.device.Vibrate(e);
                          }
                      }, {
                          key: "getTexturePixels",
                          value: function (e, t, n, a, i) {
                              var s, r, o;
                              if (a <= 0 || i <= 0)
                                  return null;
                              var c = 4 * a
                                  , l = e.bitmap.getData(t, n, a, i)
                                  , u = new Uint8Array(a * i * 4);
                              for (s = 0,
                                  r = (i - 1) * c,
                                  o = i - 1; o >= 0; o--)
                                  u.set(l.slice(r, r + c), s),
                                      s += c,
                                      r -= c;
                              return 0 != u[0] && console.log(),
                                  u
                          }
                      }, {
                          key: "compareVersion",
                          value: function (e, t) {
                              e = e.split("."),
                                  t = t.split(".");
                              for (var n = Math.max(e.length, t.length); e.length < n;)
                                  e.push("0");
                              for (; t.length < n;)
                                  t.push("0");
                              for (var a = 0; a < n; a++) {
                                  var i = parseInt(e[a])
                                      , s = parseInt(t[a]);
                                  if (i > s)
                                      return 1;
                                  if (i < s)
                                      return -1
                              }
                              return 0
                          }
                      }, {
                          key: "deltaTime",
                          get: function () {
                              return this._recordFrame != Laya.timer.currFrame && (this._deltaTime = Math.min(Laya.timer.delta, 100)),
                                  this._deltaTime
                          }
                      }]),
                          e
                  }();
              function r(e, t) {
                  return Math.floor(Math.random() * (t - e) + e)
              }
              s._recordFrame = 0,
                  s._deltaTime = 30,
                  s.ONE_YEAR = 31536e3,
                  s.ONE_DAY = 86400;
          },
          "./src/LTGame/LTUtils/MathEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/LTUtils/ArrayEx.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "ToHex",
                          value: function (e) {
                              return e.toString(16)
                          }
                      }, {
                          key: "RandomFromArrayExcept",
                          value: function (e, t) {
                              for (var n = [], a = 0; a < e.length; ++a)
                                  t != e[a] && n.push(e[a]);
                              return this.RandomFromArray(n)
                          }
                      }, {
                          key: "RandomFromArrayExcepts",
                          value: function (e, t) {
                              for (var n = [], a = 0; a < e.length; ++a)
                                  t.indexOf(e[a]) >= 0 || n.push(e[a]);
                              return this.RandomFromArray(n)
                          }
                      }, {
                          key: "RandomFromArray",
                          value: function (t) {
                              return t[e.RandomInt(0, t.length)]
                          }
                      }, {
                          key: "checkVersionPass",
                          value: function (e, t) {
                              var n = e.split(".")
                                  , a = t.split(".");
                              return parseInt(n[0]) != parseInt(a[0]) ? parseInt(n[0]) > parseInt(a[0]) : parseInt(n[1]) != parseInt(a[1]) ? parseInt(n[1]) > parseInt(a[1]) : parseInt(n[2]) != parseInt(a[2]) ? parseInt(n[2]) > parseInt(a[2]) : void 0
                          }
                      }, {
                          key: "RandomArrayFromArray",
                          value: function (t, n) {
                              for (var i = [], s = [], r = 0; r < t.length; ++r)
                                  s.push(r);
                              for (var o = 0; o < n; ++o) {
                                  var c = e.RandomInt(0, s.length)
                                      , l = s[c];
                                  a.default.RemoveAt(s, c),
                                      i.push(t[l]);
                              }
                              return i
                          }
                      }, {
                          key: "RandomFromWithWeight",
                          value: function (t, n) {
                              if (null == t || 0 == t.length)
                                  return null;
                              var a, i = 0, s = _createForOfIteratorHelper(n);
                              try {
                                  for (s.s(); !(a = s.n()).done;) {
                                      i += a.value;
                                  }
                              } catch (e) {
                                  s.e(e);
                              } finally {
                                  s.f();
                              }
                              for (var r = e.Random(0, i), o = 0, c = 0; c < t.length; ++c)
                                  if (r < (o += n[c]))
                                      return t[c];
                              return t[t.length - 1]
                          }
                      }, {
                          key: "RandomInt",
                          value: function (e, t) {
                              return Math.floor(this.Random(e, t))
                          }
                      }, {
                          key: "Random",
                          value: function (e, t) {
                              return (t - e) * Math.random() + e
                          }
                      }, {
                          key: "RandomRatio",
                          value: function (t) {
                              return t > .01 * e.RandomInt(0, 1e4)
                          }
                      }, {
                          key: "Clamp",
                          value: function (e, t, n) {
                              return e < t ? t : e > n ? n : e
                          }
                      }, {
                          key: "Clamp01",
                          value: function (e) {
                              return this.Clamp(e, 0, 1)
                          }
                      }, {
                          key: "Sign",
                          value: function (e) {
                              return 0 == e ? 1 : e > 0 ? 1 : -1
                          }
                      }, {
                          key: "GetNumCount",
                          value: function (e) {
                              for (var t = 0, n = e; n / 10 > 0;)
                                  n = Math.floor(n / 10),
                                      t++;
                              return t
                          }
                      }, {
                          key: "Lerp",
                          value: function (t, n, a) {
                              return t + (n - t) * e.Clamp01(a)
                          }
                      }, {
                          key: "LerpPos",
                          value: function (e, t, n, a, i, s) {
                              i > 1 ? i = 1 : i < 0 && (i = 0),
                                  s.x = e + (n - e) * i,
                                  s.y = t + (a - t) * i;
                          }
                      }, {
                          key: "MoveTowardsAngle",
                          value: function (t, n, a) {
                              var i = e.DeltaAngle(t, n);
                              return 0 - a < i && i < a ? n : (n = t + i,
                                  e.MoveTowards(t, n, a))
                          }
                      }, {
                          key: "MoveTowards",
                          value: function (e, t, n) {
                              return Math.abs(t - e) <= n ? t : e + Math.sign(t - e) * n
                          }
                      }, {
                          key: "DeltaAngle",
                          value: function (t, n) {
                              var a = e.Repeat(n - t, 360);
                              return a > 180 && (a -= 360),
                                  a
                          }
                      }, {
                          key: "Dire",
                          value: function (e, t) {
                              var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 1
                                  , a = new Laya.Point(t.x - e.x, t.y - e.y);
                              return a.normalize(),
                                  a.x *= n,
                                  a.y *= n,
                                  a
                          }
                      }, {
                          key: "add",
                          value: function (e, t) {
                              return new Laya.Point(t.x + e.x, t.y + e.y)
                          }
                      }, {
                          key: "Repeat",
                          value: function (t, n) {
                              return e.Clamp(t - Math.floor(t / n) * n, 0, n)
                          }
                      }, {
                          key: "IsSimilar",
                          value: function (e, t) {
                              return e == t
                          }
                      }, {
                          key: "isInLimit",
                          value: function (e, t, n) {
                              return e >= t && e <= n
                          }
                      }, {
                          key: "getIndexByProbability",
                          value: function (e) {
                              var t, n = 0;
                              e.forEach(function (e) {
                                  return n += e
                              });
                              var a = Math.random() * n;
                              n = 0;
                              for (var i = 0, s = e.length; i < s; i++)
                                  if ((n += e[i]) > a) {
                                      t = i;
                                      break
                                  }
                              return t
                          }
                      }, {
                          key: "formatNumber",
                          value: function (e) {
                              for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ["K", "M", "B", "T"], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 1e3, a = t.length, i = 0; e / n >= 1 && i < a;)
                                  e /= n,
                                      i++;
                              return 0 == i ? e + "" : e >= 100 ? Math.floor(e) + t[i - 1] : e >= 10 ? Math.floor(10 * e) / 10 + t[i - 1] : Math.floor(100 * e) / 100 + t[i - 1]
                          }
                      }]),
                          e
                  }();
              i.Deg2Rad = .0175,
                  i.Rad2Deg = 57.2958;
          },
          "./src/LTGame/LTUtils/MonoHelper.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  }),
                  n.d(t, "EActionType", function () {
                      return a
                  });
              var a, i = function (e) {
                  _inherits(n, Laya.Script);
                  var t = _createSuper(n);
                  function n() {
                      var e;
                      return _classCallCheck(this, n),
                          (e = t.apply(this, arguments))._updateActions = [],
                          e._lateUpdateActions = [],
                          e
                  }
                  return _createClass(n, [{
                      key: "_GetActionList",
                      value: function (e) {
                          switch (e) {
                              case a.Update:
                                  return this._updateActions;
                              case a.LateUpdate:
                                  return this._lateUpdateActions;
                              default:
                                  return console.error("未处理的actionType类型", e),
                                      null
                          }
                      }
                  }, {
                      key: "AddAction",
                      value: function (e, t, n, a) {
                          var i = this._GetActionList(e);
                          if (null != i) {
                              for (var s = 0; s < i.length; ++s) {
                                  var r = i[s];
                                  if (r.caller == t && r.method == n)
                                      return void console.warn("已存在重复注册事件,取消注册")
                              }
                              var o = Laya.Handler.create(t, n, a, !1);
                              i.push(o);
                          }
                      }
                  }, {
                      key: "RemoveAction",
                      value: function (e, t, n) {
                          var a = this._GetActionList(e);
                          if (null != a)
                              for (var i = 0; i < a.length; ++i) {
                                  var s = a[i];
                                  if (s.caller == t && s.method == n)
                                      return void (a = a.splice(i, 1))
                              }
                      }
                  }, {
                      key: "onUpdate",
                      value: function () {
                          for (var e = 0; e < this._updateActions.length; ++e) {
                              var t = this._updateActions[e];
                              t && t.run(),
                                  t && t.once && (this._updateActions[e] = null);
                          }
                      }
                  }, {
                      key: "onLateUpdate",
                      value: function () {
                          for (var e = 0; e < this._lateUpdateActions.length; ++e) {
                              var t = this._lateUpdateActions[e];
                              t && t.run(),
                                  t && t.once && (this._lateUpdateActions[e] = null);
                          }
                      }
                  }, {
                      key: "onDestroy",
                      value: function () {
                          n._instance = null;
                      }
                  }], [{
                      key: "instance",
                      get: function () {
                          if (null == this._instance) {
                              var e = new Laya.Sprite;
                              this._instance = e.addComponent(n),
                                  Laya.stage.addChild(e);
                          }
                          return this._instance
                      }
                  }]),
                      n
              }();
              !function (e) {
                  e[e.Update = 0] = "Update",
                      e[e.LateUpdate = 1] = "LateUpdate";
              }(a || (a = {}));
          },
          "./src/LTGame/LTUtils/QuaternionEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/LTUtils/MathEx.ts")
                  , i = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "FromVector3",
                          value: function (e) {
                              return this.FromEulerAngle(e.x, e.y, e.z)
                          }
                      }, {
                          key: "ToEulerAngle",
                          value: function (t) {
                              var n = new Laya.Vector3;
                              t.getYawPitchRoll(n);
                              var a = new Laya.Vector3;
                              return a.x = n.y * e._angleToRandin,
                                  a.y = n.x * e._angleToRandin,
                                  a.z = n.z * e._angleToRandin,
                                  a
                          }
                      }, {
                          key: "getTureRotate",
                          value: function (e) {
                              return 0 == e || -0 == e ? 360 : (e > 360 ? e %= 360 : e < 0 && (e = (e + 3600) % 360),
                                  e)
                          }
                      }, {
                          key: "WrapFromUnity",
                          value: function (e, t, n, a) {
                              return new Laya.Quaternion(-e, t, n, -a)
                          }
                      }, {
                          key: "ConvertFromUnity",
                          value: function (e) {
                              return new Laya.Quaternion(-e.x, e.y, e.z, -e.w)
                          }
                      }, {
                          key: "Euler",
                          value: function (e, t, n) {
                              return this.FromEulerAngle(e, t, n)
                          }
                      }, {
                          key: "FromEulerAngle",
                          value: function (e, t, n) {
                              var i = e / 2 * a.default.Deg2Rad
                                  , s = Math.cos(i)
                                  , r = Math.sin(i)
                                  , o = t / 2 * a.default.Deg2Rad
                                  , c = Math.cos(o)
                                  , l = Math.sin(o)
                                  , u = n / 2 * a.default.Deg2Rad
                                  , h = Math.cos(u)
                                  , d = Math.sin(u)
                                  , f = r * c * h - s * l * d
                                  , _ = s * l * h + r * c * d
                                  , m = s * c * d - r * l * h
                                  , p = s * c * h + r * l * d;
                              return new Laya.Quaternion(f, _, m, p)
                          }
                      }, {
                          key: "MultiplyQ",
                          value: function (e, t) {
                              var n = Laya.Quaternion.DEFAULT;
                              return Laya.Quaternion.multiply(e, t, n),
                                  n
                          }
                      }, {
                          key: "Copy",
                          value: function (e) {
                              return new Laya.Quaternion(e.x, e.y, e.z, e.w)
                          }
                      }, {
                          key: "Multiply",
                          value: function (e, t) {
                              var n = e.x + e.x
                                  , a = e.y + e.y
                                  , s = e.z + e.z
                                  , r = e.x * n
                                  , o = e.y * a
                                  , c = e.z * s
                                  , l = e.x * a
                                  , u = e.x * s
                                  , h = e.y * s
                                  , d = e.w * n
                                  , f = e.w * a
                                  , _ = e.w * s
                                  , m = i.default.zero;
                              return m.x = (1 - (o + c)) * t.x + (l - _) * t.y + (u + f) * t.z,
                                  m.y = (l + _) * t.x + (1 - (r + c)) * t.y + (h - d) * t.z,
                                  m.z = (u - f) * t.x + (h + d) * t.y + (1 - (r + o)) * t.z,
                                  m
                          }
                      }, {
                          key: "Lerp",
                          value: function (e, t, n) {
                              var a = Laya.Quaternion.DEFAULT;
                              return Laya.Quaternion.lerp(e, t, n, a),
                                  a
                          }
                      }, {
                          key: "identify",
                          get: function () {
                              return e.FromEulerAngle(0, 0, 0)
                          }
                      }]),
                          e
                  }();
              s._angleToRandin = 180 / Math.PI;
          },
          "./src/LTGame/LTUtils/StringEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "SplitToIntArray",
                      value: function (e, t) {
                          for (var n = e.split(t), a = [], i = 0; i < n.length; ++i) {
                              var s = parseInt(n[i]);
                              isNaN(s) && (s = 0),
                                  a.push(s);
                          }
                          return a
                      }
                  }, {
                      key: "IntArrToStr",
                      value: function (e) {
                          for (var t = "", n = 0; n < e.length; ++n)
                              t += e[n].toFixed(0),
                                  n < e.length - 1 && (t += ",");
                          return t
                      }
                  }, {
                      key: "IsNullOrEmpty",
                      value: function (e) {
                          return null == e || "" == e
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/LTUtils/Vector3Ex.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/LTUtils/MathEx.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "Cross",
                          value: function (e, t) {
                              var n = new Laya.Vector3(0, 0, 0);
                              return Laya.Vector3.cross(e, t, n),
                                  n
                          }
                      }, {
                          key: "Subtract",
                          value: function (e, t) {
                              var n = new Laya.Vector3(0, 0, 0);
                              return Laya.Vector3.subtract(e, t, n),
                                  n
                          }
                      }, {
                          key: "ClampMagnitude",
                          value: function (t, n) {
                              var a = new Laya.Vector3(0, 0, 0);
                              return a = Laya.Vector3.distanceSquared(t, a) > n * n ? e.Scale(e.Normalize(t), n) : t
                          }
                      }, {
                          key: "Normalize",
                          value: function (e) {
                              var t = new Laya.Vector3(0, 0, 0);
                              return Laya.Vector3.normalize(e, t),
                                  t
                          }
                      }, {
                          key: "Add",
                          value: function () {
                              for (var e = new Laya.Vector3(0, 0, 0), t = 0; t < arguments.length; ++t) {
                                  var n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
                                  e.x += n.x,
                                      e.y += n.y,
                                      e.z += n.z;
                              }
                              return e
                          }
                      }, {
                          key: "Scale",
                          value: function (e, t) {
                              var n = new Laya.Vector3(0, 0, 0);
                              return Laya.Vector3.scale(e, t, n),
                                  n
                          }
                      }, {
                          key: "ScaleV3",
                          value: function (e, t) {
                              return new Laya.Vector3(e.x * t.x, e.y * t.y, e.z * t.z)
                          }
                      }, {
                          key: "Dot",
                          value: function (e, t) {
                              return Laya.Vector3.dot(e, t)
                          }
                      }, {
                          key: "Lerp",
                          value: function (e, t, n) {
                              e && t || console.error("传入坐标错误");
                              var a = new Laya.Vector3(0, 0, 0);
                              return Laya.Vector3.lerp(e, t, n, a),
                                  a
                          }
                      }, {
                          key: "MagnitudeSqrt",
                          value: function (e) {
                              return e.x * e.x + e.y * e.y + e.z * e.z
                          }
                      }, {
                          key: "Magnitude",
                          value: function (e) {
                              return Math.sqrt(this.MagnitudeSqrt(e))
                          }
                      }, {
                          key: "Magnitude2D",
                          value: function (e) {
                              return Math.sqrt(e.x * e.x + e.z * e.z)
                          }
                      }, {
                          key: "Distance",
                          value: function (t, n) {
                              var a = e.Subtract(t, n);
                              return e.Magnitude(a)
                          }
                      }, {
                          key: "Distance2D",
                          value: function (e, t) {
                              var n = e.x - t.x
                                  , a = e.z - t.z;
                              return Math.sqrt(n * n + a * a)
                          }
                      }, {
                          key: "DistanceSqrt",
                          value: function (t, n) {
                              var a = e.Subtract(t, n);
                              return a.x * a.x + a.y * a.y + a.z * a.z
                          }
                      }, {
                          key: "DistanceSqrt2D",
                          value: function (t, n) {
                              var a = e.Subtract(t, n);
                              return a.x * a.x + a.z * a.z
                          }
                      }, {
                          key: "SignAngleAsix",
                          value: function (t, n, i) {
                              var s = e.Normalize(i)
                                  , r = e.Dot(t, s)
                                  , o = e.Subtract(t, e.Scale(s, r))
                                  , c = e.Dot(n, s)
                                  , l = e.Subtract(n, e.Scale(s, c))
                                  , u = e.Normalize(o)
                                  , h = e.Normalize(l)
                                  , d = 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(u, h), -1, 1))
                                  , f = e.Cross(u, h);
                              return d * a.default.Sign(Laya.Vector3.dot(i, f))
                          }
                      }, {
                          key: "SignedAngle",
                          value: function (t, n, i) {
                              var s = e.Normalize(t)
                                  , r = e.Normalize(n)
                                  , o = 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(s, r), -1, 1))
                                  , c = e.Cross(s, r);
                              return o * a.default.Sign(Laya.Vector3.dot(i, c))
                          }
                      }, {
                          key: "Angle",
                          value: function (t, n, i) {
                              var s = e.Normalize(t)
                                  , r = e.Normalize(n);
                              return 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(s, r), -1, 1))
                          }
                      }, {
                          key: "SmoothDamp",
                          value: function (t, n, a, i, s, r) {
                              var o = 2 / i
                                  , c = o * r
                                  , l = 1 / (1 + c + .48 * c * c + .235 * c * c * c)
                                  , u = e.Subtract(t, n)
                                  , h = n.clone()
                                  , d = s * i;
                              u = e.ClampMagnitude(u, d);
                              var f = e.Subtract(t, u)
                                  , _ = e.Scale(e.Add(a, e.Scale(u, o)), r)
                                  , m = e.Scale(e.Subtract(a, e.Scale(_, o)), l);
                              a.x = m.x,
                                  a.y = m.y,
                                  a.z = m.z;
                              var p = e.Add(f, e.Scale(e.Add(u, _), l));
                              return e.Dot(e.Subtract(h, t), e.Subtract(p, h)) > 0 && (p = h,
                                  a.x = 0,
                                  a.y = 0,
                                  a.z = 0),
                                  p
                          }
                      }, {
                          key: "Fix",
                          value: function (e, t) {
                              Math.abs(e.x) < t && (e.x = 0),
                                  Math.abs(e.y) < t && (e.y = 0),
                                  Math.abs(e.z) < t && (e.z = 0);
                          }
                      }, {
                          key: "IsSame",
                          value: function (e, t) {
                              return e.x == t.x && e.y == t.y && e.z == t.z
                          }
                      }, {
                          key: "WrapFromUnity",
                          value: function (e, t, n) {
                              return new Laya.Vector3(-e, t, n)
                          }
                      }, {
                          key: "CalcPosWithASpeed",
                          value: function (t, n, a, i) {
                              var s = e.Scale(n, t)
                                  , r = e.Scale(a, t * t / 2);
                              return e.Add(s, r, i)
                          }
                      }, {
                          key: "InitialTransform",
                          value: function (t) {
                              t.localPosition = e.s_zero,
                                  t.localScale = e.s_one,
                                  t.rotationEuler = e.s_zero;
                          }
                      }, {
                          key: "InSector",
                          value: function (t, n, a, i, s, r) {
                              var o = e.temp;
                              if ((o.setValue((n.x - t.x) * (1 - r.x), (n.y - t.y) * (1 - r.y), (n.z - t.z) * (1 - r.z)),
                                  e.MagnitudeSqrt(o) <= a * a) && e.Angle(s, o, r) <= i)
                                  return !0;
                              return !1
                          }
                      }, {
                          key: "temp",
                          get: function () {
                              return e.__temp__ || (e.__temp__ = e.zero),
                                  e.__temp__.setValue(0, 0, 0),
                                  e.__temp__
                          }
                      }, {
                          key: "s_up",
                          get: function () {
                              return e.__up__ || (e.__up__ = e.up),
                                  e.__up__.setValue(0, 1, 0),
                                  e.__up__
                          }
                      }, {
                          key: "s_down",
                          get: function () {
                              return e.__down__ || (e.__down__ = e.down),
                                  e.__down__.setValue(0, -1, 0),
                                  e.__down__
                          }
                      }, {
                          key: "s_forward",
                          get: function () {
                              return e.__forward__ || (e.__forward__ = e.forward),
                                  e.__forward__.setValue(0, 0, 1),
                                  e.__forward__
                          }
                      }, {
                          key: "s_zero",
                          get: function () {
                              return e.__zero__ || (e.__zero__ = e.zero),
                                  e.__zero__.setValue(0, 0, 0),
                                  e.__zero__
                          }
                      }, {
                          key: "s_one",
                          get: function () {
                              return e.__one__ || (e.__one__ = e.one),
                                  e.__one__.setValue(1, 1, 1),
                                  e.__one__
                          }
                      }, {
                          key: "zeroNew",
                          get: function () {
                              return new Laya.Vector3(0, 0, 0)
                          }
                      }, {
                          key: "up",
                          get: function () {
                              return new Laya.Vector3(0, 1, 0)
                          }
                      }, {
                          key: "down",
                          get: function () {
                              return new Laya.Vector3(0, -1, 0)
                          }
                      }, {
                          key: "forward",
                          get: function () {
                              return new Laya.Vector3(0, 0, 1)
                          }
                      }, {
                          key: "zero",
                          get: function () {
                              return new Laya.Vector3(0, 0, 0)
                          }
                      }, {
                          key: "one",
                          get: function () {
                              return new Laya.Vector3(1, 1, 1)
                          }
                      }, {
                          key: "back",
                          get: function () {
                              return new Laya.Vector3(0, 0, -1)
                          }
                      }, {
                          key: "left",
                          get: function () {
                              return new Laya.Vector3(-1, 0, 0)
                          }
                      }, {
                          key: "right",
                          get: function () {
                              return new Laya.Vector3(1, 0, 0)
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/LTVersion.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e);
              };
              a.version = "0.0.1";
          },
          "./src/LTGame/Manager/AudioManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/LTGame/Res/ResUrl.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = n("./src/script/enum/ESound.ts")
                  , r = n("./src/LTGame/Manager/MesManager.ts")
                  , o = n("./src/script/enum/EEventUI.ts")
                  , c = n("./src/LTGame/Commom/CommonEventId.ts")
                  , l = n("./src/script/common/GameData.ts")
                  , u = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , h = n("./src/LTGame/LTUtils/MathEx.ts")
                  , d = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._bgPast = [],
                              this._urlSOUND = "",
                              this._normalSound = [],
                              this._bgmPause = !1,
                              this._bgmSpeed = 1,
                              this._sounds = [],
                              Laya.SoundManager.autoStopMusic = !0,
                              r.default.instance.onUI(o.EEventUI.GameResume, this, this._onResume),
                              r.default.instance.onUI(o.EEventUI.GamePasue, this, this._onPause),
                              Laya.stage.on(c.CommonEventId.RESUM_AUDIO, this, this._onResume),
                              Laya.stage.on(c.CommonEventId.PAUSE_AUDIO, this, this._onPause),
                              this.setMusicVolume(l.default.instance.musicVolume),
                              this.setSoundVolume(l.default.instance.soundVolume),
                              this._urlBGM = a.default.music_url(s.ESoundName.main_bgm);
                      }
                      return _createClass(e, [{
                          key: "_onResume",
                          value: function () {
                              console.log("回到前台   重置声音"),
                                  Laya.SoundManager.muted = !1,
                                  this._bgmPause || this.setMusicOpen(i.default.instance.isMusicOn),
                                  this.setSoundOpen(i.default.instance.isSoundOn);
                          }
                      }, {
                          key: "_onPause",
                          value: function () {
                              this.pauseBgm(),
                                  this.pauseSound(),
                                  Laya.SoundManager.muted = !0;
                          }
                      }, {
                          key: "Preload",
                          value: function (e) {
                              e.push(a.default.music_url(s.ESoundName.main_bgm));
                          }
                      }, {
                          key: "setVibrateOpen",
                          value: function (e) {
                              i.default.instance.isShakeOn = e,
                                  i.default.SaveToDisk();
                          }
                      }, {
                          key: "setMusicOpen",
                          value: function (e) {
                              i.default.instance.isMusicOn = e,
                                  Laya.SoundManager.musicMuted = !e,
                                  i.default.SaveToDisk(),
                                  e ? this.PlayBgm(this._urlBGM) : this.pauseBgm();
                          }
                      }, {
                          key: "setSoundVolume",
                          value: function (e) {
                              e = h.default.Clamp(e, 0, 1),
                                  l.default.instance.soundVolume = e,
                                  fgui.UIConfig.SoundVolumeScale = e,
                                  l.default.SaveToDisk(),
                                  this._normalSound.forEach(function (t) {
                                      Laya.SoundManager.setSoundVolume(e, t);
                                  });
                          }
                      }, {
                          key: "setMusicVolume",
                          value: function (e) {
                              e = h.default.Clamp(e, 0, .7),
                                  l.default.instance.musicVolume = e,
                                  l.default.SaveToDisk(),
                                  Laya.SoundManager.setMusicVolume(e),
                                  Laya.SoundManager.musicMuted = e <= 0;
                          }
                      }, {
                          key: "setSoundOpen",
                          value: function (e) {
                              i.default.instance.isSoundOn = e,
                                  Laya.SoundManager.soundMuted = !e,
                                  i.default.SaveToDisk(),
                                  Laya.SoundManager.soundMuted = !e,
                                  e || this.pauseSound();
                          }
                      }, {
                          key: "PlayByPath",
                          value: function (e, t) {
                              return Laya.SoundManager.playMusic(e)
                          }
                      }, {
                          key: "PlayBgm",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this._urlBGM;
                              i.default.instance.isMusicOn && e && (Laya.SoundManager.stopMusic(),
                                  Laya.SoundManager.playMusic(e, 0));
                          }
                      }, {
                          key: "_setBgmSpeed",
                          value: function (e) {
                              this._bgmAudio._audio && (console.log("能设置速度------------"),
                                  this._bgmAudio._audio.playbackRate = e),
                                  this._bgmAudio.bufferSource && this._bgmAudio.bufferSource.playbackRate && (this._bgmAudio.bufferSource.playbackRate.value = e),
                                  this._bgmAudio._miniSound && this._bgmAudio._miniSound._sound && (console.log("能设置速度------------"),
                                      this._bgmAudio._miniSound._sound.playbackRate = e);
                          }
                      }, {
                          key: "pauseBgm",
                          value: function () {
                              null != this._bgmAudio && (this._bgmAudio.pause && this._bgmAudio.pause(),
                                  this._setBgmSpeed(this._bgmSpeed),
                                  this._bgmPause = !0);
                          }
                      }, {
                          key: "stopBgm",
                          value: function () {
                              null != this._bgmAudio && (this._bgmAudio.completeHandler = null,
                                  this._bgmAudio.stop && this._bgmAudio.stop(),
                                  this._setBgmSpeed(this._bgmSpeed),
                                  this._bgmPause = !0);
                          }
                      }, {
                          key: "restartBgm",
                          value: function () {
                              null != this._bgmAudio && (this._setBgmSpeed(this._bgmSpeed),
                                  this._bgmAudio.resume(),
                                  this._bgmPause = !1);
                          }
                      }, {
                          key: "shiftBGM",
                          value: function (e) {
                              this._bgPast.slice(-1)[0] == e && (this._bgPast.pop(),
                                  this._bgPast.slice(-1)[0] && (this._urlBGM = a.default.music_url(e),
                                      this._playMusic()));
                          }
                      }, {
                          key: "pauseSound",
                          value: function () {
                              Laya.SoundManager.stopAllSound();
                          }
                      }, {
                          key: "playSound",
                          value: function (e, t, n, s, r) {
                              var o = !(arguments.length > 5 && void 0 !== arguments[5]) || arguments[5];
                              if (this._urlSOUND = a.default.sound_url(e),
                                  o && u.LTUtils.addSomeOne(this._normalSound, this._urlSOUND),
                                  i.default.instance.isSoundOn) {
                                  for (var c = 0; c < this._sounds.length; c++)
                                      if (this._sounds[c] && this._sounds[c].url.indexOf(this._urlSOUND) >= 0) {
                                          this._sounds[c].stop(),
                                              this._sounds.splice(c, 1);
                                          break
                                      }
                                  var h = Laya.SoundManager.playSound(this._urlSOUND, t, n, s, r);
                                  h && (h.volume = l.default.instance.soundVolume,
                                      this._sounds.push(h));
                              }
                          }
                      }, {
                          key: "stopSound",
                          value: function (e) {
                              this._urlSOUND = a.default.sound_url(e),
                                  Laya.SoundManager.stopSound(this._urlSOUND);
                          }
                      }, {
                          key: "_playMusic",
                          value: function () {
                              if (i.default.instance.isMusicOn && this._urlBGM) {
                                  Laya.SoundManager.stopMusic();
                                  var e = Laya.SoundManager.playMusic(this._urlBGM);
                                  e && console.log("播放音乐", e);
                              }
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
              window.AudioManager = d;
          },
          "./src/LTGame/Manager/EffectManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "EffectManager", function () {
                      return c
                  }),
                  n.d(t, "EffectShowData", function () {
                      return l
                  });
              var a = n("./src/LTGame/LTUtils/LTDictionary.ts")
                  , i = n("./src/LTGame/Res/LTRes.ts")
                  , s = n("./src/LTGame/Async/Awaiters.ts")
                  , r = n("./src/script/common/ResDefine.ts")
                  , o = n("./src/script/config/EffectConfig.ts")
                  , c = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, [{
                          key: "init",
                          value: function () {
                              this.effectRoot = new Laya.Sprite3D("EffectManager"),
                                  this._effectMap = new a.default,
                                  this._continueEffects = [];
                          }
                      }, {
                          key: "Preload",
                          value: function (e) {
                              for (var t = 0; t < o.EffectConfig.dataList.length; ++t) {
                                  var n = o.EffectConfig.dataList[t];
                                  if (n.need_preload) {
                                      var a = r.default.FixPath(n.prefabName);
                                      e.push(a);
                                  }
                              }
                          }
                      }, {
                          key: "clearAll",
                          value: function () {
                              this.effectRoot._children.forEach(function (e) {
                                  e && e.destroy();
                              });
                          }
                      }, {
                          key: "WarmEffects",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, c, l, u, h, d;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  t = [],
                                                      n = 0;
                                              case 2:
                                                  if (!(n < o.EffectConfig.dataList.length)) {
                                                      e.next = 16;
                                                      break
                                                  }
                                                  if (!(a = o.EffectConfig.dataList[n]).need_preload) {
                                                      e.next = 13;
                                                      break
                                                  }
                                                  if (c = r.default.FixPath(a.prefabName),
                                                      null != (l = i.default.Get(c, !0))) {
                                                      e.next = 10;
                                                      break
                                                  }
                                                  return console.log("特效", a, "不存在"),
                                                      e.abrupt("continue", 13);
                                              case 10:
                                                  u = this.effectRoot.addChild(l),
                                                      t.push(u),
                                                      this._effectMap.set(a.id, u);
                                              case 13:
                                                  ++n,
                                                      e.next = 2;
                                                  break;
                                              case 16:
                                                  return e.next = 18,
                                                      s.default.NextFrame();
                                              case 18:
                                                  for (h = 0,
                                                      d = t; h < d.length; h++)
                                                      d[h].removeSelf();
                                              case 19:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "StopEffectByIndex",
                          value: function (e) {
                              if (null != e) {
                                  var t = this._continueEffects[e];
                                  t && (t.destroy(),
                                      delete this._continueEffects[e]);
                              }
                          }
                      }, {
                          key: "GetEffectObjById",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, s, c;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (null != (n = o.EffectConfig.data[e])) {
                                                      t.next = 4;
                                                      break
                                                  }
                                                  return console.error("无效的特效id", e),
                                                      t.abrupt("return", null);
                                              case 4:
                                                  if (this._effectMap || this.init(),
                                                      null != (a = this._effectMap.get(e))) {
                                                      t.next = 12;
                                                      break
                                                  }
                                                  return s = r.default.FixPath(n.prefabName),
                                                      t.next = 10,
                                                      i.default.LoadAsync(s);
                                              case 10:
                                                  a = i.default.Get(s),
                                                      this._effectMap.set(n.id, a);
                                              case 12:
                                                  return c = a.clone(),
                                                      t.abrupt("return", c);
                                              case 14:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "PlayEffectByData",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  return t.next = 2,
                                                      this.GetEffectObjById(e.effectId);
                                              case 2:
                                                  if (n = t.sent,
                                                      null != e.parent ? e.parent.addChild(n) : this.effectRoot.addChild(n),
                                                      null != e.setPos && (n.transform.position = e.setPos.clone()),
                                                      null != e.setRot && (n.transform.rotation = e.setRot.clone()),
                                                      null != e.setLocalPos && (n.transform.localPosition = e.setLocalPos.clone()),
                                                      null != e.setLocalRot && (n.transform.localRotation = e.setLocalRot.clone()),
                                                      null != e.setScale && n.transform.setWorldLossyScale(e.setScale),
                                                      null != e.setLocalScale && (n.transform.localScale = e.setLocalScale),
                                                      !e.continueTime || -1 == e.continueTime) {
                                                      t.next = 16;
                                                      break
                                                  }
                                                  return t.next = 13,
                                                      s.default.Seconds(e.continueTime);
                                              case 13:
                                                  n.destroy(),
                                                      t.next = 18;
                                                  break;
                                              case 16:
                                                  return this._continueEffects.push(n),
                                                      t.abrupt("return", this._continueEffects.length - 1);
                                              case 18:
                                                  return t.abrupt("return", -1);
                                              case 19:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "PlayEffectById",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2
                                  , n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null
                                  , a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function i() {
                                  var s;
                                  return regeneratorRuntime.wrap(function (i) {
                                      for (; ;)
                                          switch (i.prev = i.next) {
                                              case 0:
                                                  return (s = new l(e)).continueTime = t,
                                                      s.setPos = n,
                                                      s.setRot = a,
                                                      i.abrupt("return", this.PlayEffectByData(s));
                                              case 5:
                                              case "end":
                                                  return i.stop()
                                          }
                                  }, i, this)
                              }))
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }()
                  , l = function e(t) {
                      _classCallCheck(this, e),
                          this.continueTime = 2,
                          this.setPos = null,
                          this.setRot = null,
                          this.setLocalPos = null,
                          this.setLocalRot = null,
                          this.setScale = null,
                          this.setLocalScale = null,
                          this.parent = null,
                          this.effectId = t;
                  };
          },
          "./src/LTGame/Manager/GameManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return T
                  });
              var a = n("./src/script/common/GameData.ts")
                  , i = n("./src/script/common/LwTools.ts")
                  , s = n("./src/script/config/GameConst.ts")
                  , r = n("./src/script/data/LevelProxy.ts")
                  , o = n("./src/script/enum/EEventScene.ts")
                  , c = n("./src/script/enum/ETryType.ts")
                  , l = n("./src/script/scene/Main3d/Game3d.ts")
                  , u = n("./src/UIExt/UISrc/UICommon/UI_BoxMediator.ts")
                  , h = n("./src/UIExt/UISrc/UICommon/UI_FailMediator.ts")
                  , d = n("./src/UIExt/UISrc/UICommon/UI_GetSkinMediator.ts")
                  , f = n("./src/UIExt/UISrc/UICommon/UI_GoodStartMediator.ts")
                  , _ = n("./src/UIExt/UISrc/UICommon/UI_LimitTryMediator.ts")
                  , m = n("./src/UIExt/UISrc/UICommon/UI_LotteryMediator.ts")
                  , p = n("./src/UIExt/UISrc/UICommon/UI_ShareMediator.ts")
                  , g = n("./src/UIExt/UISrc/UICommon/UI_SignMediator.ts")
                  , v = n("./src/UIExt/UISrc/UICommon/UI_StartTryMediator.ts")
                  , y = n("./src/UIExt/UISrc/UICommon/UI_VectoryMediator.ts")
                  , k = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , C = n("./src/LTGame/LTUtils/MathEx.ts")
                  , S = n("./src/LTGame/Platform/EPlatformType.ts")
                  , L = n("./src/LTGame/Platform/LTPlatform.ts")
                  , I = n("./src/LTGame/Manager/MesManager.ts")
                  , w = n("./src/LTGame/Manager/ShopManager.ts")
                  , T = function () {
                      function e() {
                          if (_classCallCheck(this, e),
                              I.default.instance.on3d(o.EEventScene.GameWin, this, this.gameWin),
                              I.default.instance.on3d(o.EEventScene.GameFail, this, this.gameFail),
                              L.default.instance.platform == S.EPlatformType.TT && window.tt) {
                              this._haveLuPin = !0;
                              var t = window.tt.getSystemInfoSync().appName;
                              console.error(t),
                                  "novelapp" == t && (this._haveLuPin = !1,
                                      console.error("当前是安卓番茄平台")),
                                  "Reading" == t && (this._haveLuPin = !1,
                                      console.error("当前是ios番茄平台"));
                          }
                      }
                      return _createClass(e, [{
                          key: "startGame",
                          value: function () {
                              if (1 == k.default.instance.levelId)
                                  this.runStartGame();
                              else {
                                  var e = C.default.RandomFromWithWeight([0, 1], s.GameConst.data.startWeight)
                                      , t = w.default.instance.getTrySkin();
                                  t || (e = 0),
                                      this.startShowView();
                                  var n = Laya.Handler.create(this, this.runStartGame);
                                  e ? this.showTryMediator({
                                      skin: t,
                                      call: n
                                  }) : f.default.instance.Show(n);
                              }
                          }
                      }, {
                          key: "showTryMediator",
                          value: function (e) {
                              v.default.instance.Show(e);
                          }
                      }, {
                          key: "runStartGame",
                          value: function () {
                              this.startBackMainView(),
                                  this.startGameCall.run();
                          }
                      }, {
                          key: "setCall",
                          value: function (e) {
                              this.resetLevel = e.resetLevel,
                                  this.nextLevel = e.nextLevel,
                                  this.startGameCall = e.startGame,
                                  this.goodStart = e.goodStart;
                          }
                      }, {
                          key: "enterGame",
                          value: function () {
                              a.default.instance.first.enterGame ? this.enterGameCall(0) : (a.default.instance.first.enterGame = 1,
                                  a.default.SaveToDisk());
                          }
                      }, {
                          key: "gameWin",
                          value: function (e) {
                              this.winCall(0, e),
                                  this.gameOverShowView();
                          }
                      }, {
                          key: "winCall",
                          value: function (e, t) {
                              var n = this;
                              if (0 == e) {
                                  if (L.default.instance.platform == S.EPlatformType.TT && this._haveLuPin)
                                      return L.default.instance.recordManager.StopRecord(null),
                                          void p.UI_ShareMediator.instance.Show(Laya.Handler.create(this, this.winCall, [1, t]));
                                  e = 1;
                              }
                              1 != e ? 2 == e && (a.default.instance.openBoxTime += C.default.RandomFromWithWeight([1, 2], s.GameConst.data.addBoxWeight),
                                  a.default.SaveToDisk(),
                                  a.default.instance.openBoxTime >= 3 ? u.default.instance.Show(Laya.Handler.create(this, function () {
                                      n.nextLevel.run(),
                                          n.enterGameCall(0);
                                  })) : (this.nextLevel.run(),
                                      this.enterGameCall(0))) : 1 == (k.default.instance.levelId % s.GameConst.data.unlockNum || s.GameConst.data.unlockNum) / s.GameConst.data.unlockNum && a.default.instance.unlockLevelSkinId > 0 ? (a.default.instance.isNewLevelSkin = !1,
                                          a.default.SaveToDisk(),
                                          d.default.instance.Show({
                                              call: Laya.Handler.create(this, function () {
                                                  y.default.instance.Show({
                                                      call: Laya.Handler.create(n, n.winCall, [2, t]),
                                                      bet: t
                                                  });
                                              })
                                          })) : y.default.instance.Show({
                                              call: Laya.Handler.create(this, this.winCall, [2, t]),
                                              bet: t
                                          });
                          }
                      }, {
                          key: "trySkin",
                          value: function (e) {
                              l.default.instance.Player.TryUse([c.ETryType.ETryWing, c.ETryType.ETryPet, c.ETryType.ETryIdentityPet][e.type], e.mapId);
                          }
                      }, {
                          key: "runGoodStart",
                          value: function () {
                              this.goodStart.run();
                          }
                      }, {
                          key: "enterGameCall",
                          value: function (e) {
                              if (0 == e) {
                                  if (!k.default.instance.isSigned)
                                      return void g.default.instance.Show({
                                          closeCall: Laya.Handler.create(this, this.enterGameCall, [1])
                                      });
                                  e = 1;
                              }
                              if (1 != e) {
                                  if (2 == e && (i.LwTools.colorLog("is in auto show page"),
                                      !w.default.instance.checkLimitSkin())) {
                                      var t = r.default.instance.nowLevelId();
                                      if (t > 0 && t < 10 && t / 2 > 0)
                                          return void _.default.instance.Show()
                                  }
                                  this.gameOverBackMainView();
                              } else
                                  m.default.instance.Show({
                                      closeCall: Laya.Handler.create(this, this.enterGameCall, [2])
                                  });
                          }
                      }, {
                          key: "startShowView",
                          value: function () {
                              L.default.instance.platform == S.EPlatformType.android_233 && L.default.instance.ShowBannerAd();
                          }
                      }, {
                          key: "startBackMainView",
                          value: function () {
                              L.default.instance.HideBannerAd();
                          }
                      }, {
                          key: "gameOverBackMainView",
                          value: function () {
                              L.default.instance.platform == S.EPlatformType.android_233 && L.default.instance.HideBannerAd();
                          }
                      }, {
                          key: "gameOverShowView",
                          value: function () {
                              L.default.instance.ShowBannerAd();
                          }
                      }, {
                          key: "gameFail",
                          value: function () {
                              h.default.instance.Show({
                                  reset: this.resetLevel,
                                  next: this.nextLevel
                              }),
                                  L.default.instance.recordManager.StopRecord(null),
                                  this.gameOverShowView();
                          }
                      }, {
                          key: "haveLuPin",
                          get: function () {
                              return this._haveLuPin
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Manager/MesManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function (e) {
                  _inherits(n, Laya.EventDispatcher);
                  var t = _createSuper(n);
                  function n() {
                      return _classCallCheck(this, n),
                          t.apply(this, arguments)
                  }
                  return _createClass(n, [{
                      key: "eventUI",
                      value: function (e, t) {
                          console.log("%cUI " + e, "color:red"),
                              n.instance.event("UI " + e, t);
                      }
                  }, {
                      key: "event3d",
                      value: function (e, t) {
                          console.log("Scene3d " + e),
                              n.instance.event("Scene3d" + e, t);
                      }
                  }, {
                      key: "event2d",
                      value: function (e, t) {
                          console.log("Scene2d " + e),
                              n.instance.event("Scene2d" + e, t);
                      }
                  }, {
                      key: "onUI",
                      value: function (e, t, a, i) {
                          n.instance.on("UI " + e, t, a, i);
                      }
                  }, {
                      key: "offUI",
                      value: function (e, t, a) {
                          n.instance.off("UI " + e, t, a);
                      }
                  }, {
                      key: "off3d",
                      value: function (e, t, a) {
                          n.instance.off("Scene3d" + e, t, a);
                      }
                  }, {
                      key: "off2d",
                      value: function (e, t, a) {
                          n.instance.off("Scene2d" + e, t, a);
                      }
                  }, {
                      key: "on2d",
                      value: function (e, t, a, i) {
                          n.instance.on("Scene2d" + e, t, a, i);
                      }
                  }, {
                      key: "on3d",
                      value: function (e, t, a, i) {
                          n.instance.on("Scene3d" + e, t, a, i);
                      }
                  }], [{
                      key: "instance",
                      get: function () {
                          return null == this._instance && (this._instance = new n),
                              this._instance
                      }
                  }]),
                      n
              }();
          },
          "./src/LTGame/Manager/ShopManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/script/common/GameData.ts")
                  , i = n("./src/script/config/GameConst.ts")
                  , s = n("./src/script/config/ShopConfig.ts")
                  , r = n("./src/script/scene/Main3d/Game3d.ts")
                  , o = function () {
                      function e() {
                          var t = this;
                          if (_classCallCheck(this, e),
                              this.boxReward = [[], []],
                              !a.default.instance.initSkin) {
                              var n = ["wingId", "selectPetId", "identityPetId"];
                              s.ShopConfig.dataList.forEach(function (e) {
                                  e.use && (a.default.instance.unlockSkin.push(e.id),
                                      a.default.instance[n[e.type]] = e.mapId);
                              }),
                                  a.default.instance.initSkin = !0,
                                  a.default.SaveToDisk();
                          }
                          var r = JSON.parse(i.GameConst.data.boxReward);
                          if (r && r.length) {
                              this.boxReward[1] = r[1];
                              for (var o = 0; o < r[0].length; o++)
                                  a.default.instance.unlockSkin.includes(r[0][o]) || this.boxReward[0].push(r[0][o]);
                          }
                          this._levelUnlockSKin = [],
                              this._configList = [],
                              this._unlockList = [],
                              this._videoSkin = [],
                              s.ShopConfig.dataList.forEach(function (e) {
                                  var n = t._configList[e.type] || [];
                                  if (t._configList[e.type] = n,
                                      n.push(e),
                                      0 == e.unlock && !a.default.instance.unlockSkin.includes(e.id)) {
                                      var i = t._unlockList[e.type] || [];
                                      t._unlockList[e.type] = i,
                                          i.push(e);
                                  }
                                  7 == e.unlock && (t._limitSkin = e),
                                      4 == e.unlock && (!a.default.instance.skinVideo[e.id] || a.default.instance.skinVideo[e.id] < e.num) && t._videoSkin.push(e),
                                      2 != e.type || a.default.instance.unlockSkin.includes(e.id) || (t._levelUnlockSKin.push(e),
                                          a.default.SaveToDisk());
                              }),
                              !a.default.instance.unlockLevelSkinId && this._levelUnlockSKin.length && (a.default.instance.unlockLevelSkinId = this._levelUnlockSKin[0].id);
                      }
                      return _createClass(e, [{
                          key: "getTrySkin",
                          value: function () {
                              return this._videoSkin.length ? this._videoSkin[Math.random() * this._videoSkin.length >> 0] : null
                          }
                      }, {
                          key: "unlockTrySkin",
                          value: function (e) {
                              a.default.instance.unlockSkin.push(e);
                              for (var t = 0; t < this._videoSkin.length; t++)
                                  if (this._videoSkin[t].id == e) {
                                      this._videoSkin.splice(t, 1);
                                      break
                                  }
                          }
                      }, {
                          key: "passNextLevelUnlcock",
                          value: function () {
                              a.default.instance.isNewLevelSkin = !0;
                              var e = a.default.instance.unlockLevelSkinId;
                              a.default.instance.unlockLevelSkinId = -1;
                              for (var t = -1, n = 0; n < this._levelUnlockSKin.length; n++)
                                  if (this._levelUnlockSKin[n].id == e) {
                                      t = n;
                                      break
                                  }
                              if (-1 != t) {
                                  for (var i = this._levelUnlockSKin.length - 1; i >= 0; i--)
                                      a.default.instance.unlockSkin.includes(this._levelUnlockSKin[i].id) && this._levelUnlockSKin.splice(i, 1);
                                  a.default.instance.unlockLevelSkinId = this._levelUnlockSKin[(t + 1) % this.unlockTrySkin.length].id;
                              }
                              a.default.SaveToDisk();
                          }
                      }, {
                          key: "getConfigList",
                          value: function (e) {
                              return this._configList[e]
                          }
                      }, {
                          key: "unlockShop",
                          value: function (e) {
                              if (this._unlockList[e]) {
                                  var t = Math.random() * this._unlockList[e].length
                                      , n = this._unlockList[e].splice(t, 1)[0];
                                  return a.default.instance.unlockSkin.push(n.id),
                                      n
                              }
                          }
                      }, {
                          key: "unlockShopById",
                          value: function (e, t) {
                              if (this._unlockList[t])
                                  for (var n = 0; n < this._unlockList[t].length; n++)
                                      if (this._unlockList[t][n].id == e)
                                          return void this._unlockList[t].splice(n, 1)
                          }
                      }, {
                          key: "checkUnLock",
                          value: function (e) {
                              return !!this._unlockList[e] && !!this._unlockList[e].length
                          }
                      }, {
                          key: "getLimitSkin",
                          value: function () {
                              return this._limitSkin
                          }
                      }, {
                          key: "changeSkin",
                          value: function (e) {
                              switch (e.type) {
                                  case 0:
                                      r.default.instance.Player.SwitchWing();
                                      break;
                                  case 1:
                                      r.default.instance.Player.PetScript.LoadNewPet();
                                      break;
                                  case 2:
                                      r.default.instance.Player.LoadIdentityPet();
                              }
                          }
                      }, {
                          key: "getSelectedSkinid",
                          value: function (e) {
                              var t = a.default.instance[["wingId", "selectPetId", "identityPetId"][e]];
                              if (t && this._configList[e] && this._configList[e].length)
                                  for (var n = 0; n < this._configList[e].length; n++)
                                      if (this._configList[e][n].mapId == t)
                                          return this._configList[e][n].id;
                              return 0
                          }
                      }, {
                          key: "setSelectedSkinId",
                          value: function (e, t, n) {
                              a.default.instance[["wingId", "selectPetId", "identityPetId"][t]] = n ? 0 : e,
                                  a.default.SaveToDisk();
                          }
                      }, {
                          key: "checkLimitSkin",
                          value: function () {
                              return a.default.instance.unlockSkin.includes(this._limitSkin.id)
                          }
                      }, {
                          key: "unlockBoxReward",
                          value: function (e, t) {
                              var n = this.boxReward[1][e];
                              if (null == n || 0 == this.boxReward[0].length)
                                  return !1;
                              if (t || Math.random() < n) {
                                  var a = this.boxReward[0].indexOf(this.skinId);
                                  return a >= 0 && this.boxReward[0].splice(a, 1)[0],
                                      this.skinId = null,
                                      !0
                              }
                              return !1
                          }
                      }, {
                          key: "getBoxUnlockId",
                          value: function () {
                              var e = Math.random() * this.boxReward[0].length >> 0;
                              return this.skinId = this.boxReward[0][e],
                                  this.skinId
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Net/LTHttp.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/LTUtils/StringEx.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "SendPro",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
                                  , n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null
                                  , a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "get"
                                  , i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null
                                  , s = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "json"
                                  , r = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : ["Content-Type", "application/json"]
                                  , o = new Laya.HttpRequest;
                              o.http.timeout = 1e4,
                                  null != t && o.once(Laya.Event.COMPLETE, t.caller, t.method),
                                  null != n && o.once(Laya.Event.ERROR, n.caller, n.method),
                                  o.send(e, JSON.stringify(i), a, s, r),
                                  this.enableDebug && console.log(e, i, a, s, r);
                          }
                      }, {
                          key: "Send",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
                                  , n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null
                                  , i = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]
                                  , s = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null
                                  , r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "text"
                                  , o = arguments.length > 6 ? arguments[6] : void 0
                                  , c = e.split(this._url_split)
                                  , l = c[0]
                                  , u = c[1];
                              if (null == u && (u = ""),
                                  i) {
                                  if (null != s) {
                                      for (var h in a.default.IsNullOrEmpty(u) || (u += this._param_split),
                                          s)
                                          u += h + this._value_split + s[h] + this._param_split;
                                      u = u.slice(0, u.length - 1);
                                  }
                                  var d = l;
                                  a.default.IsNullOrEmpty(u) || (d = l + this._url_split + u),
                                      this.SendPro(d, t, n, this._get_method, null, r, o);
                              } else {
                                  if (!a.default.IsNullOrEmpty(u)) {
                                      null == s && (s = {});
                                      var f, _ = _createForOfIteratorHelper(u.split(this._param_split));
                                      try {
                                          for (_.s(); !(f = _.n()).done;) {
                                              var m = f.value.split(this._value_split);
                                              "false" == m[1] ? s[m[0]] = !1 : "true" == m[1] ? s[m[0]] = !0 : s[m[0]] = m[1];
                                          }
                                      } catch (e) {
                                          _.e(e);
                                      } finally {
                                          _.f();
                                      }
                                  }
                                  this.SendPro(l, t, n, this._post_method, s, r, o);
                              }
                          }
                      }]),
                          e
                  }();
              i._post_method = "post",
                  i._get_method = "get",
                  i._url_split = "?",
                  i._param_split = "&",
                  i._value_split = "=",
                  i.enableDebug = !1;
          },
          "./src/LTGame/Platform/Android233Device.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, [{
                      key: "Vibrate",
                      value: function (e) {
                          (console.log("调用震动", e),
                              window.PlatformClass) && window.PlatformClass.createClass("demo.JSBridge").call("Vibrator", (e ? 400 : 50) + "");
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/Platform/Android233Platform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return _
                  });
              var a, i = n("./src/script/common/Const.ts"), s = n("./src/script/common/MMUnit.ts"), r = n("./src/script/common/TimeUtils.ts"), o = n("./src/script/enum/EEventUI.ts"), c = n("./src/script/scene/script/utils/Logger.ts"), l = n("./src/LTGame/Manager/MesManager.ts"), u = n("./src/LTGame/Platform/Android233Device.ts"), h = n("./src/LTGame/Platform/DefaultPlatform.ts"), d = n("./src/LTGame/Platform/EPlatformType.ts"), f = n("./src/LTGame/Platform/LTPlatform.ts"), _ = function (e) {
                  _inherits(n, h["default"]);
                  var t = _createSuper(n);
                  function n() {
                      var e;
                      return _classCallCheck(this, n),
                          (e = t.apply(this, arguments)).platform = d.EPlatformType.android_233,
                          e.device = new u.default,
                          e._okCall = {},
                          e._failCall = {},
                          e.bannerVisible = !1,
                          e.visibleAd = {},
                          e._showVideoTime = 0,
                          e
                  }
                  return _createClass(n, [{
                      key: "ShowBannerAd",
                      value: function () {
                          this.bannerVisible || (this.bannerVisible = !0,
                              this.showAd(a.banner));
                      }
                  }, {
                      key: "HideBannerAd",
                      value: function () {
                          this.bannerVisible && (this.bannerVisible = !1,
                              this.hideAd(a.banner));
                      }
                  }, {
                      key: "showFullScreenAd",
                      value: function (e) {
                          window.PlatformClass && (this._fullVideoTime && r.default.now - this._fullVideoTime < 10 ? c.Logger.lg("全屏视频不满足播放条件") : r.default.enterTime + 6e4 > r.default.now || !s.default.checkConfigMatch("quanpin", 1, 0, 60) ? this.ShowInterstitalAd() : (c.Logger.lg("显示全屏视频"),
                              this.visibleAd[a.interstital] || (l.default.instance.eventUI(o.EEventUI.GamePasue1),
                                  e && this.RecordEvent(e),
                                  this._fullVideoTime = r.default.now,
                                  this.visibleAd[a.fullVideo] = !0,
                                  window.PlatformClass.createClass("com.ads.Android233AdsManager").call("showAd", JSON.stringify(a.fullVideo)))));
                      }
                  }, {
                      key: "hideAd",
                      value: function (e) {
                          window.PlatformClass && window.PlatformClass.createClass("com.ads.Android233AdsManager").call("hideAd", JSON.stringify(e));
                      }
                  }, {
                      key: "showFullVideo",
                      value: function () {
                          window.PlatformClass && (r.default.enterTime + 6e4 > r.default.now || this.visibleAd[a.interstital] || (l.default.instance.eventUI(o.EEventUI.GamePasue1),
                              this._fullVideoTime = r.default.now,
                              this.visibleAd[a.fullVideo] = !0,
                              window.PlatformClass.createClass("com.ads.Android233AdsManager").call("showAd", JSON.stringify(a.fullVideo))));
                      }
                  }, {
                      key: "showAd",
                      value: function (e, t, n) {
                          window.PlatformClass && (e != a.fullVideo && e != a.video && e != a.interstital || l.default.instance.eventUI(o.EEventUI.GamePasue1),
                              this._okCall[e] && this._okCall[e].recover(),
                              this._okCall[e] = t,
                              this._failCall[e] && this._failCall[e].recover(),
                              this._failCall[e] = n,
                              window.PlatformClass.createClass("com.ads.Android233AdsManager").call("showAd", JSON.stringify(e)));
                      }
                  }, {
                      key: "ShowInterstitalAd",
                      value: function () {
                          var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                          this._fullVideoTime && r.default.now - this._fullVideoTime < 10 || r.default.enterTime + 6e4 > r.default.now ? c.Logger.lg("不满足显示插屏广告的条件") : !e && this._interstitalTime && r.default.now - this._interstitalTime < 6e4 ? c.Logger.lg("不满足显示插屏广告的条件") : (c.Logger.lg("显示插屏广告:---\x3e"),
                              this.visibleAd[a.fullVideo] || (this._interstitalTime = r.default.now,
                                  this.visibleAd[a.interstital] = !0,
                                  this.showAd(a.interstital)));
                      }
                  }, {
                      key: "ShowRewardVideoAd",
                      value: function (e, t) {
                          // e && e.run();
                          console.log("6666666666666666666666666666666666666666666666");
                          return;
                          if (i.default.test)
                              e && e.run();
                          else {
                              var n = Date.now();
                              n < this._showVideoTime + 2e3 || (this._showVideoTime = n,
                                  c.Logger.lg("显示激励广告:---\x3e"),
                                  this._videoTime = r.default.now,
                                  this.showAd(a.video, e, t));
                          }
                      }
                  }, {
                      key: "RecordEvent",
                      value: function (e) {
                          window.PlatformClass && window.PlatformClass.createClass("com.umeng.Android233UmManager").call("event", NaN + e);
                      }
                  }], [{
                      key: "onSuccess",
                      value: function (e) {
                          console.log("999999999999999999999999999999");
                          Advertisement.insertAdverV2();
                          Advertisement.bannerAdverV();
                          return;
                          var t = f.default.instance
                              , n = Number(e);
                          t._okCall[n] && t._okCall[n].run(),
                              t._okCall[n] = null;
                      }
                  }, {
                      key: "onfail",
                      value: function (e) {
                          console.log("999999999999999999999999999999");
                          Advertisement.bannerAdverV();
                          Advertisement.insertAdverV2();
                          return;
                          var t = f.default.instance
                              , n = Number(e);
                          t._failCall[n] && t._failCall[n].run(),
                              t._failCall[n] = null;
                      }
                  }, {
                      key: "onPause",
                      value: function (e) {
                          console.log("广告播放  type=>>>" + e);
                      }
                  }, {
                      key: "onClose",
                      value: function (e) {
                          console.log("广告关闭   type=>>>" + e);
                          var t = f.default.instance
                              , n = Number(e);
                          t.visibleAd[n] = !1,
                              n == a.video && (t._videoTime = r.default.now),
                              n == a.fullVideo && (t._fullVideoTime = r.default.now),
                              n == a.interstital && (t._interstitalTime = r.default.now),
                              l.default.instance.eventUI(o.EEventUI.GameResume1);
                      }
                  }]),
                      n
              }();
              window.Android233Platform = _,
                  function (e) {
                      e[e.video = 0] = "video",
                          e[e.banner = 1] = "banner",
                          e[e.interstital = 2] = "interstital",
                          e[e.fullVideo = 3] = "fullVideo";
                  }(a || (a = {}));
          },
          "./src/LTGame/Platform/BDPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Platform/WXPlatform.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/LTUtils/StringEx.ts")
                  , r = n("./src/LTGame/Commom/CommonEventId.ts")
                  , o = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).platform = i.EPlatformType.BD,
                              e._showVideoLoad = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              this._base = window.swan,
                                  null != this._base ? (this.platformData = e,
                                      this._InitLauchOption(),
                                      this._InitShareInfo(),
                                      this._InitSystemInfo(),
                                      this._isBannerLoaded = !1,
                                      this._isBannerShowed = !1,
                                      this._CreateVideoAd(),
                                      this._CreateInterstitalAd(),
                                      window.iplatform = this) : console.error("平台初始化错误");
                          }
                      }, {
                          key: "_CreateBannerAd",
                          value: function () {
                              var e = this;
                              if (s.default.IsNullOrEmpty(this.platformData.bannerId))
                                  console.log("无有效的banner广告ID,取消加载");
                              else {
                                  var t = this._base.getSystemInfoSync().windowWidth
                                      , n = this._base.getSystemInfoSync().windowHeight
                                      , a = {};
                                  a.adUnitId = this.platformData.bannerId,
                                      a.appSid = this.sid;
                                  var i = {
                                      left: 0,
                                      top: 0
                                  };
                                  i.width = t,
                                      a.style = i,
                                      this._bannerAd = this._base.createBannerAd(a),
                                      this._bannerAd.onLoad(function () {
                                          console.log("banner加载成功"),
                                              e._isBannerLoaded = !0,
                                              e._bannerAd.style.top = n - e._bannerAd.style.height,
                                              e._bannerAd.show();
                                      }),
                                      this._bannerAd.onError(function (e) {
                                          console.error("banner广告加载失败", e);
                                      });
                              }
                          }
                      }, {
                          key: "_CreateVideoAd",
                          value: function () {
                              var e = this;
                              if (s.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                  console.log("无有效的视频广告ID,取消加载");
                              else {
                                  this._videoFailedCount = 0;
                                  var t = {};
                                  t.adUnitId = this.platformData.rewardVideoId,
                                      t.appSid = this.sid,
                                      this._rewardVideo = this._base.createRewardedVideoAd(t),
                                      this._rewardVideo.onLoad(function () {
                                          console.log("视频广告加载成功"),
                                              e._isVideoLoaded = !0;
                                      }),
                                      this._rewardVideo.onError(function (t) {
                                          e._videoFailedCount++,
                                              console.error("视频广告加载失败", t),
                                              e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"),
                                                  e._rewardVideo.load());
                                      }),
                                      this._rewardVideo.onClose(function (t) {
                                          e._base.hideLoading(),
                                              Laya.stage.event(r.CommonEventId.RESUM_AUDIO),
                                              console.log("视频回调", t),
                                              t.isEnded ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(),
                                              e._rewardSuccessed = null,
                                              e._rewardSkipped = null,
                                              e._rewardVideo.load();
                                      });
                              }
                          }
                      }, {
                          key: "_CreateInterstitalAd",
                          value: function () { }
                      }, {
                          key: "LoadSubpackage",
                          value: function (e, t, n, a) {
                              // qg.LoadSubpackage();
                              // var i = {};
                              // i.name = e,
                              // i.success = function() {
                              //     console.log("分包加载成功", e),
                              //     t && (t.run(),
                              //     t = null);
                              // }
                              // ,
                              // i.fail = function() {
                              //     console.error("分包加载失败", e),
                              //     n && (n.run(),
                              //     n = null);
                              // }
                              // ,
                              // this._base.loadSubpackage(i).onProgressUpdate(function(e) {
                              //     if (a) {
                              //         var t = e.progress / 100;
                              //         isNaN(t) && (t = e.loaded / e.total),
                              //         a.runWith(t),
                              //         a = null;
                              //     }
                              // });
                          }
                      }, {
                          key: "RecordEvent",
                          value: function (e, t) {
                              this._base.reportAnalytics(e, t);
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              this._isBannerLoaded || this._CreateBannerAd();
                          }
                      }, {
                          key: "HideBannerAd",
                          value: function () {
                              this._isBannerLoaded && (this._isBannerLoaded = !1,
                                  this._bannerAd && this._bannerAd.destroy());
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/Data/LTPlatformData.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e),
                      this.appId = "",
                      this.appKey = "",
                      this.bannerId = "",
                      this.rewardVideoId = "",
                      this.interstitialId = "",
                      this.nativeId = "",
                      this.nativeBannerIds = [],
                      this.nativeIconIds = [],
                      this.nativeinterstitialIds = [],
                      this.nativeinpageIds = [];
              };
          },
          "./src/LTGame/Platform/DefaultDevice.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, [{
                      key: "Vibrate",
                      value: function (e) {
                          console.log("调用震动", e);
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/Platform/DefaultPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return l
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/UIExt/LTUI.ts")
                  , r = n("./src/LTGame/Platform/DefaultDevice.ts")
                  , o = n("./src/LTGame/Platform/Impl/Web/WebRecordManager.ts")
                  , c = (n("./src/UIExt/UISrc/UI_FakeBannerVMediator.ts"),
                      n("./src/UIExt/UISrc/UI_FakeRewardADMediator.ts"))
                  , l = (n("./src/UIExt/UISrc/UI_FakeInterstitalMediator.ts"),
                      function () {
                          function e() {
                              _classCallCheck(this, e),
                                  this.platform = a.EPlatformType.Vivo,
                                  this.safeArea = null,
                                  this.recordManager = new o.WebRecordManager,
                                  this.device = new r.default,
                                  this.systemInfo = null,
                                  this.isSupportJumpOther = !0;
                          }
                          return _createClass(e, [{
                              key: "requestMessage",
                              value: function (e) { }
                          }, {
                              key: "checkCollectIn",
                              value: function () {
                                  return !0
                              }
                          }, {
                              key: "Init",
                              value: function (e) {
                                  this.loginState = {
                                      isLogin: !1,
                                      code: null,
                                      data: null
                                  },
                                      Laya.timer.once(500, this, this._FakeLoginEnd);
                              }
                          }, {
                              key: "_FakeLoginEnd",
                              value: function () {
                                  this.onLoginEnd && this.onLoginEnd.run(),
                                      this.onLoginEnd = null;
                              }
                          }, {
                              key: "IsBannerAvaliable",
                              value: function () {
                                  return !1
                              }
                          }, {
                              key: "IsVideoAvaliable",
                              value: function () {
                                  return !0
                              }
                          }, {
                              key: "IsInterstitalAvaliable",
                              value: function () {
                                  return !1
                              }
                          }, {
                              key: "ShowBannerAd",
                              value: function () {
                                  console.log("调用ShowBannerAd");
                              }
                          }, {
                              key: "HideBannerAd",
                              value: function () {
                                  console.log("调用HideBannerAd");
                              }
                          }, {
                              key: "getPlatformIndex",
                              value: function () {
                                  switch (i.default.instance.platform) {
                                      case a.EPlatformType.WX:
                                          return 1;
                                      case a.EPlatformType.TT:
                                          return 2;
                                      case a.EPlatformType.Web:
                                      case a.EPlatformType.MATA:
                                          return 0
                                  }
                              }
                          }, {
                              key: "ShowRewardVideoAd",
                              value: function (e, t) {
                                  console.log("777777777777777777777777777777777777");
                                  // Advertisement.videop=this,
                                  // Advertisement.videoAdverV(()=>{
                                  //     e && e.run();
                                  // });
                                  // console.log("调用ShowRewardVideoAd"),
                                  // c.default.instance.Show([e, t]);
                              }
                          }, {
                              key: "ShowRewardVideoAdAsync",
                              value: function () {
                              console.log("5");
                                  return new Promise(function (e) {
                                      Advertisement.videop = e,
                                      Advertisement.videoAdverV(()=>{
                                          Advertisement.videop(!0);
                                      },()=>{
                                          Advertisement.videop(!1);
                                      });
                                      // i.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                      //     e(!0);
                                      // }), Laya.Handler.create(this, function () {
                                      //     e(!1);
                                      // }));
                                  }
                                  )
                              }
                          }, {
                              key: "ShowAdOrShareAsync",
                              value: function () {
                                  return new Promise(function (e) {
                                      i.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                          e(!0);
                                      }), Laya.Handler.create(this, function () {
                                          e(!1);
                                      }));
                                  }
                                  )
                              }
                          }, {
                              key: "LoadSubpackageAsync",
                              value: function (e) {
                                  // var t = this;
                                  // return new Promise(function(n) {
                                  //     t.LoadSubpackage(e, Laya.Handler.create(t, function() {
                                  //         n(!0);
                                  //     }), Laya.Handler.create(t, function() {
                                  //         n(!1);
                                  //     }));
                                  // }
                                  // )
                              }
                          }, {
                              key: "ShowInterstitalAd",
                              value: function (e) {
                                  console.log("调用ShowInterstitalAd");
                              }
                          }, {
                              key: "GetFromAppId",
                              value: function () {
                                  return null
                              }
                          }, {
                              key: "ShareAppMessage",
                              value: function (e) {
                                  var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                                  arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
                                  console.log("分享消息", e),
                                      t && (t.run(),
                                          t = null);
                              }
                          }, {
                              key: "startDeviceMotionListening",
                              value: function (e) { }
                          }, {
                              key: "offDeviceMotionListening",
                              value: function () { }
                          }, {
                              key: "ShareAppMessageById",
                              value: function (e, t, n) {
                                  console.log("分享消息", e),
                                      t && (t.run(),
                                          t = null);
                              }
                          }, {
                              key: "LoadSubpackage",
                              value: function (e, t, n) {
                                  t && (t.run(),
                                      t = null);
                              }
                          }, {
                              key: "RecordEvent",
                              value: function (e, t) {
                                  console.log("记录事件", e, t);
                              }
                          }, {
                              key: "ShareVideoInfo",
                              value: function () {
                                  console.log(i.default.platformStr, "暂未实现录屏功能");
                              }
                          }, {
                              key: "_CheckUpdate",
                              value: function () { }
                          }, {
                              key: "ShowToast",
                              value: function (e) {
                                  s.default.Toast(e);
                              }
                          }, {
                              key: "OpenGameBox",
                              value: function () {
                                  console.error("当前平台", i.default.platformStr, "暂不支持互推游戏盒子");
                              }
                          }, {
                              key: "NavigateToApp",
                              value: function (e, t, n) {
                                  return new Promise(function (t, n) {
                                      console.error("当前平台", i.default.platformStr, "暂不支持小程序跳转appid:".concat(e)),
                                          t(!1);
                                  }
                                  )
                              }
                          }, {
                              key: "createShortcut",
                              value: function () {
                                  console.log("创建桌面图标");
                              }
                          }, {
                              key: "GetStorage",
                              value: function (e) {
                                  return console.log("读本地存储"),
                                      Laya.LocalStorage.getItem(e)
                              }
                          }, {
                              key: "SetStorage",
                              value: function (e, t) {
                                  console.log("写本地存储"),
                                      Laya.LocalStorage.setItem(e, t);
                              }
                          }, {
                              key: "showFullScreenAd",
                              value: function () { }
                          }]),
                              e
                      }());
          },
          "./src/LTGame/Platform/DefaultRecordManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/Platform/LTPlatform.ts")
                  , i = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.supportRecord = !1,
                              this.isRecording = !1,
                              this.isPausing = !1,
                              this.isRecordSuccess = !1;
                      }
                      return _createClass(e, [{
                          key: "StartRecord",
                          value: function (e, t) {
                              e && e.run(),
                                  console.log("该平台" + a.default.platformStr + "不支持录制视频");
                          }
                      }, {
                          key: "StopRecord",
                          value: function (e) {
                              console.log("该平台" + a.default.platformStr + "不支持录制视频");
                          }
                      }, {
                          key: "Pause",
                          value: function (e) {
                              console.log("该平台" + a.default.platformStr + "不支持录制视频");
                          }
                      }, {
                          key: "Resume",
                          value: function (e) {
                              console.log("该平台" + a.default.platformStr + "不支持录制视频");
                          }
                      }, {
                          key: "RecordClip",
                          value: function (e) {
                              console.log("该平台" + a.default.platformStr + "不支持录制视频");
                          }
                      }, {
                          key: "ShareVideo",
                          value: function (e, t, n) {
                              n && (n.run(),
                                  n = null);
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Platform/EPlatformType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EPlatformType", function () {
                      return a
                  }),
                  n.d(t, "getEPlatformTypeName", function () {
                      return r
                  }),
                  n.d(t, "EFaxing", function () {
                      return i
                  }),
                  n.d(t, "EPackageType", function () {
                      return s
                  }),
                  function (e) {
                      e[e.None = 0] = "None",
                          e[e.Web = 1] = "Web",
                          e[e.WX = 2] = "WX",
                          e[e.QQ = 3] = "QQ",
                          e[e.BD = 4] = "BD",
                          e[e.Oppo = 5] = "Oppo",
                          e[e.Vivo = 6] = "Vivo",
                          e[e.TT = 7] = "TT",
                          e[e.QTT = 8] = "QTT",
                          e[e.MATA = 9] = "MATA",
                          e[e.android_233 = 10] = "android_233";
                  }(a || (a = {}));
              var i, s, r = ["None", "web", "wx", "qq", "bd", "oppo", "vivo", "tt", "qtt", "mata", "android_233"];
              !function (e) {
                  e[e.none = 0] = "none",
                      e[e.tl = 1] = "tl",
                      e[e.lw = 2] = "lw",
                      e[e.zs = 3] = "zs",
                      e[e.hl = 4] = "hl";
              }(i || (i = {})),
                  function (e) {
                      e[e["f_佛系少女"] = 0] = "f_佛系少女",
                          e[e["m_美少女学院"] = 1] = "m_美少女学院",
                          e[e["w_我叫安吉拉"] = 2] = "w_我叫安吉拉",
                          e[e["n_你是我的情敌"] = 3] = "n_你是我的情敌",
                          e[e["t_天际狂飙"] = 4] = "t_天际狂飙",
                          e[e["m_抓住小姐姐"] = 5] = "m_抓住小姐姐";
                  }(s || (s = {}));
          },
          "./src/LTGame/Platform/Impl/TT/TTDevice.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/Platform/DefaultDevice.ts")
                  , i = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n(e) {
                          var a;
                          return _classCallCheck(this, n),
                              (a = t.call(this))._base = e,
                              a
                      }
                      return _createClass(n, [{
                          key: "Vibrate",
                          value: function (e) {
                              console.log("调用震动", e),
                                  e ? this._base.vibrateLong({
                                      success: function (e) { },
                                      fail: function (e) {
                                          console.error("调用震动失败", e);
                                      },
                                      complete: function (e) { }
                                  }) : this._base.vibrateShort({
                                      success: function (e) { },
                                      fail: function (e) {
                                          console.error("调用震动失败", e);
                                      },
                                      complete: function (e) { }
                                  });
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/Impl/TT/TTRecordManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/script/config/PackConst.ts")
                  , i = n("./src/LTGame/Platform/DefaultRecordManager.ts")
                  , s = function (e) {
                      _inherits(n, i["default"]);
                      var t = _createSuper(n);
                      function n(e) {
                          var a;
                          return _classCallCheck(this, n),
                              (a = t.call(this)).supportRecord = !0,
                              a._base = e,
                              a.isRecording = !1,
                              a.isRecordSuccess = !1,
                              a.isPausing = !1,
                              a._nativeManager = a._base.getGameRecorderManager(),
                              a._nativeManager.onStart(function (e) {
                                  console.log("平台开始录制", e),
                                      a.isRecording = !0,
                                      a.isRecordSuccess = !1,
                                      a._cacheStartHandle && a._cacheStartHandle.run();
                              }),
                              a._nativeManager.onStop(function (e) {
                                  console.log("平台停止录制", e),
                                      a.videoSavePath = e.videoPath,
                                      a.isRecording = !1,
                                      a.isRecordSuccess = !0,
                                      a._cacheStopHandle ? a._cacheStopHandle.run() : a._cacheOverTimeHandle && a._cacheOverTimeHandle.run();
                              }),
                              a._nativeManager.onError(function (e) {
                                  console.log("录制发生错误", e),
                                      a.isRecordSuccess = !1,
                                      a.isRecording = !1;
                              }),
                              a._nativeManager.onPause(function (e) {
                                  console.log("暂停录制视频", e),
                                      a.isPausing = !0,
                                      a._cachePauseHandle && a._cachePauseHandle.run();
                              }),
                              a._nativeManager.onResume(function (e) {
                                  console.log("暂停录制视频", e),
                                      a.isPausing = !1,
                                      a._cacheResumeHandle && a._cacheResumeHandle.run();
                              }),
                              a
                      }
                      return _createClass(n, [{
                          key: "StartRecord",
                          value: function (e, t) {
                              console.log("调用开始录屏"),
                                  this._cacheStartHandle = e,
                                  this._cacheOverTimeHandle = t,
                                  this._cacheStopHandle = null,
                                  this._nativeManager.start({
                                      duration: 300
                                  });
                          }
                      }, {
                          key: "Pause",
                          value: function (e) {
                              this.isRecording ? this.isPausing ? console.log("当前录制状态已暂停") : (console.log("调用暂停录制"),
                                  this._cachePauseHandle = e,
                                  this._nativeManager && this._nativeManager.pause && this._nativeManager.pause()) : console.error("当前未开始录制,无法暂停录制");
                          }
                      }, {
                          key: "Resume",
                          value: function (e) {
                              this.isRecording ? this.isPausing ? (console.log("调用恢复录制"),
                                  this._cacheResumeHandle = e,
                                  this._nativeManager.resume()) : console.log("当前录制状态正在进行中") : console.error("当前未开始录制,无法恢复录制");
                          }
                      }, {
                          key: "RecordClip",
                          value: function (e) {
                              this.isRecording ? this.isPausing ? console.log("当前录制状态已暂停,无法记录精彩时刻") : null == e ? this._nativeManager.recordClip({}) : this._nativeManager.recordClip({
                                  timeRange: e
                              }) : console.error("当前未开始录制,无法记录精彩时刻");
                          }
                      }, {
                          key: "StopRecord",
                          value: function (e) {
                              console.log("调用结束录屏"),
                                  this._cacheStopHandle = e,
                                  this._nativeManager.stop();
                          }
                      }, {
                          key: "ShareVideo",
                          value: function (e, t, n) {
                              console.log(a.PackConst.data);
                              var i = {
                                  channel: "video",
                                  title: "天使的结局竟然是......",
                                  desc: "天使还是恶魔，结局全靠选择！",
                                  imageUrl: "",
                                  templateId: "26aei5a9h5j33ucpgn",
                                  query: "",
                                  extra: {
                                      videoPath: this.videoSavePath,
                                      hashtag_list: ["魔性", "休闲", "我的宝藏女该"],
                                      videoTopics: ["魔性", "休闲", "我的宝藏女该"]
                                  },
                                  success: function (t) {
                                      e && e.run();
                                  },
                                  fail: function (e) {
                                      t && t.run();
                                  }
                              };
                              this._base.shareAppMessage(i);
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/Impl/Web/WebRecordManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "WebRecordManager", function () {
                      return s
                  });
              var a = n("./src/LTGame/Async/Awaiters.ts")
                  , i = n("./src/LTGame/Platform/DefaultRecordManager.ts")
                  , s = function (e) {
                      _inherits(n, i["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).supportRecord = !0,
                              e
                      }
                      return _createClass(n, [{
                          key: "ShareVideo",
                          value: function (e, t, n) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (!this.supportRecord) {
                                                      t.next = 7;
                                                      break
                                                  }
                                                  return console.log("强制模拟成功"),
                                                      t.next = 4,
                                                      a.default.Seconds(2);
                                              case 4:
                                                  e && e.run(),
                                                      t.next = 9;
                                                  break;
                                              case 7:
                                                  console.log("强制模拟失败"),
                                                      n && n.run();
                                              case 9:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/LTPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatformFactory.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "getPlatformIndex",
                          value: function () {
                              switch (this.instance.platform) {
                                  case a.EPlatformType.WX:
                                      return 1;
                                  case a.EPlatformType.TT:
                                      return 2;
                                  case a.EPlatformType.Web:
                                  case a.EPlatformType.MATA:
                                      return 0
                              }
                          }
                      }, {
                          key: "CreateInstance",
                          value: function () {
                              var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                              return null != this._instance ? (console.error("已调用过平台创建为", e.GetPlatformStr(this._instance.platform), "不能重复创建"),
                                  this._instance) : (this._instance = i.default.CreateInstance(),
                                      this._instance.appId = t,
                                      console.log("平台实例创建完成", e.GetPlatformStr(this._instance.platform)),
                                      window.LTPlatform = this._instance,
                                      this._instance)
                          }
                      }, {
                          key: "GetPlatformStr",
                          value: function (e) {
                              switch (e) {
                                  case a.EPlatformType.BD:
                                      return "百度";
                                  case a.EPlatformType.None:
                                      return "未识别";
                                  case a.EPlatformType.Oppo:
                                      return "Oppo";
                                  case a.EPlatformType.QQ:
                                      return "QQ";
                                  case a.EPlatformType.TT:
                                      return "头条";
                                  case a.EPlatformType.Vivo:
                                      return "Vivo";
                                  case a.EPlatformType.Web:
                                      return "网页";
                                  case a.EPlatformType.WX:
                                      return "微信";
                                  case a.EPlatformType.QTT:
                                      return "趣头条";
                                  case a.EPlatformType.MATA:
                                      return "Mata";
                                  default:
                                      return "未定义" + e
                              }
                          }
                      }, {
                          key: "instance",
                          get: function () {
                              return null == this._instance && console.error("对象尚未初始化,请先调用CreateInstance进行初始化"),
                                  this._instance
                          }
                      }, {
                          key: "platformStr",
                          get: function () {
                              return e.GetPlatformStr(this._instance.platform)
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Platform/LTPlatformFactory.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return m
                  });
              var a = n("./src/LTGame/Platform/TTPlatform.ts")
                  , i = n("./src/LTGame/Platform/WXPlatform.ts")
                  , s = n("./src/LTGame/Platform/BDPlatform.ts")
                  , r = n("./src/LTGame/Platform/QTTPlatform.ts")
                  , o = n("./src/LTGame/Platform/QQPlatform.ts")
                  , c = n("./src/LTGame/Platform/DefaultPlatform.ts")
                  , l = n("./src/LTGame/Platform/OppoPlatform.ts")
                  , u = n("./src/LTGame/Platform/MataPlatform.ts")
                  , h = n("./src/script/common/Const.ts")
                  , d = n("./src/LTGame/Platform/EPlatformType.ts")
                  , f = n("./src/LTGame/Platform/Android233Platform.ts")
                  , _ = n("./src/LTGame/Platform/VivoPlatform.ts")
                  , m = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "CreateInstance",
                          value: function () {
                              var e, t = null != window.qttGame;
                              console.log("22222222222222222222222222222222222222222");
                              
                              if(null != window.tt){
                                  e = new a.default;  
                              }else if(Laya.Browser.onMiniGame){
                                  e = new i.default;
                              }else if(Laya.Browser.onBDMiniGame){
                                  e = new s.default;
                              }else if(t){
                                  e = new r.default;
                              }else if(Laya.Browser.onQQMiniGame){
                                  e = new o.default;
                              }else if(Laya.Browser.onQGMiniGame){
                                  e = new l.default;
                              }else if(Laya.Browser.onVVMiniGame){
                                  e = new _.default;
                              }else if(h.default.mata){
                                  e = new u.default;
                              }else if(h.default.DefaultPlatform == d.EPlatformType.android_233 ){
                                  e = new f.default;
                              }else{
                                  (console.log("未识别平台,默认创建为web", Laya.Browser.userAgent),
                                                      e = new c.default),e;
                              }

                              // return null != window.tt?e = new a.default  : Laya.Browser.onMiniGame ? e = new i.default
                              //     : Laya.Browser.onBDMiniGame ? e = new s.default
                              //         : t ? e = new r.default : Laya.Browser.onQQMiniGame ? e = new o.default
                              //             : Laya.Browser.onQGMiniGame ? e = new l.default : Laya.Browser.onVVMiniGame ? e = new _.default
                              //                 : h.default.mata ? e = new u.default : h.default.DefaultPlatform == d.EPlatformType.android_233 
                              // ? e = new f.default:
                              return (console.log("未识别平台,默认创建为web", Laya.Browser.userAgent),e = new c.default),
                                  e
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Platform/MataPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/LTGame/Platform/Impl/Web/WebRecordManager.ts")
                  , r = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.recordManager = new s.WebRecordManager,
                              this.platform = a.EPlatformType.MATA;
                      }
                      return _createClass(e, [{
                          key: "showFullScreenAd",
                          value: function () { }
                      }, {
                          key: "requestMessage",
                          value: function (e) { }
                      }, {
                          key: "checkCollectIn",
                          value: function () {
                              return !0
                          }
                      }, {
                          key: "GetStorage",
                          value: function (e) { }
                      }, {
                          key: "SetStorage",
                          value: function (e, t) { }
                      }, {
                          key: "IsBannerAvaliable",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "IsVideoAvaliable",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "IsInterstitalAvaliable",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "HideBannerAd",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "ShowAdOrShareAsync",
                          value: function () {
                              var e = this;
                              window.PlatformClass && window.PlatformClass.createClass("demo.Ad").call("showVideoAd");
                              return new Promise(function (t) {
                                  e._okCallBack = Laya.Handler.create(e, function () {
                                      t(!0);
                                  }, null, !0),
                                      e._noCallBack = Laya.Handler.create(e, function () {
                                          t(!1);
                                      }, null, !0),
                                      e.ShowRewardVideoAd(e._okCallBack, e._noCallBack);
                              }
                              )
                          }
                      }, {
                          key: "ShowInterstitalAd",
                          value: function () {
                              return !1
                          }
                      }, {
                          key: "GetFromAppId",
                          value: function () {
                              return null
                          }
                      }, {
                          key: "ShareAppMessage",
                          value: function (e, t, n) {
                              return null
                          }
                      }, {
                          key: "ShareAppMessageById",
                          value: function (e, t, n, a) {
                              return null
                          }
                      }, {
                          key: "startDeviceMotionListening",
                          value: function (e) {
                              return null
                          }
                      }, {
                          key: "offDeviceMotionListening",
                          value: function () {
                              return null
                          }
                      }, {
                          key: "LoadSubpackage",
                          value: function (e, t, n, a) {
                              return null
                          }
                      }, {
                          key: "LoadSubpackageAsync",
                          value: function (e) {
                              return null
                          }
                      }, {
                          key: "RecordEvent",
                          value: function (e, t) {
                              return null
                          }
                      }, {
                          key: "_CheckUpdate",
                          value: function () {
                              return null
                          }
                      }, {
                          key: "ShowToast",
                          value: function (e) {
                              return null
                          }
                      }, {
                          key: "OpenGameBox",
                          value: function (e) {
                              return null
                          }
                      }, {
                          key: "NavigateToApp",
                          value: function (e, t, n, a, i, s) {
                              return null
                          }
                      }, {
                          key: "createShortcut",
                          value: function () {
                              return null
                          }
                      }, {
                          key: "getPlatformIndex",
                          value: function () {
                              switch (i.default.instance.platform) {
                                  case a.EPlatformType.WX:
                                      return 1;
                                  case a.EPlatformType.TT:
                                      return 2;
                                  case a.EPlatformType.Web:
                                  case a.EPlatformType.MATA:
                                      return 0
                              }
                          }
                      }, {
                          key: "Init",
                          value: function (e) { }
                      }, {
                          key: "_InitSystemInfo",
                          value: function () { }
                      }, {
                          key: "ShowRewardVideoAd",
                          value: function (e, t) { }
                      }, {
                          key: "ShowRewardVideoAdAsync",
                          value: function () {
                              console.log("6");
                              var e = this;
                              window.PlatformClass && window.PlatformClass.createClass("demo.Ad").call("showVideoAd");
                              return new Promise(function (t) {
                                  e._okCallBack = Laya.Handler.create(e, function () {
                                      t(!0);
                                  }, null, !0),
                                      e._noCallBack = Laya.Handler.create(e, function () {
                                          t(!1);
                                      }, null, !0),
                                      e.ShowRewardVideoAd(e._okCallBack, e._noCallBack);
                              }
                              )
                          }
                      }], [{
                          key: "AndroidCallJs",
                          value: function (e) {
                              if (1 == e) {
                                  var t = i.default.instance._okCallBack;
                                  t && t.run(),
                                      i.default.instance._okCallBack = null;
                              } else {
                                  var n = i.default.instance._noCallBack;
                                  n && n.run(),
                                      i.default.instance._noCallBack = null;
                              }
                          }
                      }]),
                          e
                  }();
              Laya.Browser.window && (Laya.Browser.window.MataPlatform = r);
          },
          "./src/LTGame/Platform/OppoPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "e_ad_id", function () {
                      return a
                  }),
                  n.d(t, "default", function () {
                      return y
                  });
              var a, i = n("./src/LTGame/Async/Awaiters.ts"), s = n("./src/LTGame/Commom/CommonEventId.ts"), r = n("./src/LTGame/LTUtils/StringEx.ts"), o = n("./src/UIExt/LTUI.ts"), c = n("./src/LTGame/Platform/DefaultDevice.ts"), l = n("./src/LTGame/Platform/DefaultRecordManager.ts"), u = n("./src/LTGame/Platform/EPlatformType.ts"), h = n("./src/LTGame/Platform/LTPlatform.ts"), d = n("./src/LTGame/Platform/WXPlatform.ts"), f = n("./src/LTGame/SDK/LTSDK.ts"), _ = n("./src/LTGame/SDK/common/ECheckState.ts"), m = n("./src/UIExt/UISrc/UI_ImageBannerMediator.ts"), p = n("./src/UIExt/FGui/FGuiEx.ts"), g = n("./src/script/common/Const.ts"), v = n("./src/script/common/LwTools.ts");
              !function (e) {
                  e.interstitial_hall = "10100001",
                      e.video_add_gold = "10200001",
                      e.video_add_diamond = "10200002",
                      e.video_add_bomb = "10200003",
                      e.video_forging = "10200004",
                      e.video_luck_draw = "10200005",
                      e.native_interstitial_hall = "10301001",
                      e.native_inner_interstitial_success = "10302001",
                      e.native_banner = "10304001",
                      e.native_icon = "10304002",
                      e.banner_hall = "10400001",
                      e.appbox_hall = "10600001",
                      e.game_banner_box = "10600002",
                      e.game_portal_box = "10600003",
                      e.bottom_block = "10900001",
                      e.left_block = "10900002",
                      e.right_block = "10900003";
              }(a || (a = {}));
              var y = function (e) {
                  _inherits(n, d["default"]);
                  var t = _createSuper(n);
                  function n() {
                      var e;
                      return _classCallCheck(this, n),
                          (e = t.apply(this, arguments)).platform = u.EPlatformType.Oppo,
                          e.safeArea = null,
                          e.recordManager = new l.default,
                          e.device = new c.default,
                          e.isSupportJumpOther = !0,
                          e._isBannerLoaded = !1,
                          e._isVideoLoaded = !1,
                          e._isInterstitialLoaded = !1,
                          e._isInterstitialCanShow = !0,
                          e._nativeAdLoaded = !1,
                          e.yuanshengSuc = !1,
                          e._cacheVideoAD = !1,
                          e
                  }
                  return _createClass(n, [{
                      key: "Init",
                      value: function (e) {
                          var t = this;
                          this._base = window.qg,
                              null != this._base ? (this.platformData = e,
                                  this._InitLauchOption(),
                                  this._Login(),
                                  this._InitSystemInfo(),
                                  this.getSystemInfo(),
                                  this.systemInfo.platformVersion >= 1051 || this._base.initAdService({
                                      appId: e.appId,
                                      isDebug: !0,
                                      success: function () {
                                          console.log("oppo广告", "初始化广告服务成功", e),
                                              t._CreateVideoAd();
                                      },
                                      fail: function () {
                                          console.error("oppo广告", "初始化广告服务失败");
                                      }
                                  }),
                                  window.iplatform = this) : console.error("平台初始化错误", h.default.platformStr);
                      }
                  }, {
                      key: "getSystemInfo",
                      value: function () {
                          var e = this;
                          this._base.getSystemInfo({
                              success: function (t) {
                                  e.systemInfo = t,
                                      console.log(e.systemInfo);
                              },
                              fail: function () { },
                              complete: function () { }
                          });
                      }
                  }, {
                      key: "reportMonitor",
                      value: function () {
                          console.log("oppo上报数据", this.systemInfo),
                              this.systemInfo && this.systemInfo.platformVersion >= 1060 && this._base.reportMonitor("game_scene", 0);
                      }
                  }, {
                      key: "_CheckUpdate",
                      value: function () { }
                  }, {
                      key: "_Login",
                      value: function () {
                          var e = this;
                          this.loginState = {
                              isLogin: !1,
                              code: "",
                              data: null
                          };
                          var t = {
                              success: function (t) {
                                  e._OnLoginSuccess(t);
                              },
                              fail: function (t) {
                                  console.error(h.default.platformStr, "登录失败", t),
                                      e.loginState.isLogin = !1,
                                      e.loginState.code = "";
                              },
                              complete: function (t) {
                                  null != e.onLoginEnd && (e.onLoginEnd.run(),
                                      e.onLoginEnd = null);
                              }
                          };
                          this._base.login(t);
                      }
                  }, {
                      key: "_OnLoginSuccess",
                      value: function (e) {
                          // console.log(h.default.platformStr, "登录成功", e),
                          // this.loginState.isLogin = !0,
                          // this.loginState.code = e.token,
                          // this.loginState.data = e,
                          // f.default.instance.loadComplete && oppoSdk.syyx_sdk_api.init_param(e.actualNickName, e.uid);
                      }
                  }, {
                      key: "ShareAppMessage",
                      value: function (e, t, n) { }
                  }, {
                      key: "_InitLauchOption",
                      value: function () {
                          this._base.onShow(this._OnShow),
                              this._base.onHide(this._OnHide);
                          var e = this._base.getLaunchOptionsSync();
                          this._OnShow(e);
                      }
                  }, {
                      key: "canCreateShortcut",
                      value: function () {
                          return new Promise(function (e, t) {
                              qg.hasShortcutInstalled({
                                  success: function (t) {
                                      e(t);
                                  },
                                  fail: function (e) {
                                      t();
                                  },
                                  complete: function () { }
                              });
                          }
                          )
                      }
                  }, {
                      key: "createShortcut",
                      value: function () {
                          return new Promise(function (e, t) {
                              qg.hasShortcutInstalled({
                                  success: function (n) {
                                      0 == n ? qg.installShortcut({
                                          success: function () {
                                              e();
                                          },
                                          fail: function (e) {
                                              o.default.Toast("操作过于频繁啦，一会试试吧~"),
                                                  console.error("创建桌面图标err: ", e),
                                                  t();
                                          },
                                          complete: function () { }
                                      }) : (o.default.Toast("创建桌面图标失败，当前桌面已有图标"),
                                          e());
                                  },
                                  fail: function (e) {
                                      o.default.Toast("函数调用失败！"),
                                          console.error("获取桌面图标err: ", e),
                                          t();
                                  },
                                  complete: function () { }
                              });
                          }
                          )
                      }
                  }, {
                      key: "_CreateInterstitalAd",
                      value: function () { }
                  }, {
                      key: "_CreateVideoAd",
                      value: function () {
                          var e = this;
                          if (this._cacheVideoAD) {
                              var t = this._base.createRewardedVideoAd;
                              if (null != t)
                                  if (r.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                      console.log("无有效的视频广告ID,取消加载");
                                  else {
                                      this._videoFailedCount = 0;
                                      var n = {};
                                      n.adUnitId = this.platformData.rewardVideoId,
                                          this._rewardVideo = t(n),
                                          this._rewardVideo.onLoad(function () {
                                              console.log("视频广告加载成功"),
                                                  e._isVideoLoaded = !0;
                                          }),
                                          this._rewardVideo.onError(function (t) {
                                              e._videoFailedCount++,
                                                  console.error("视频广告加载失败", t),
                                                  e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"),
                                                      e._rewardVideo.load());
                                          }),
                                          this._rewardVideo.onClose(function (t) {
                                              Laya.stage.event(s.CommonEventId.RESUM_AUDIO),
                                                  console.log("视频回调", t);
                                              var n = t.isEnded;
                                              i.default.NextFrame().then(function () {
                                                  n ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(),
                                                      e._rewardSuccessed = null,
                                                      e._rewardSkipped = null;
                                              });
                                          });
                                  }
                              else
                                  console.error("无createRewardedVideoAd方法,跳过初始化");
                          } else
                              console.log("当前策略为不缓存视频广告");
                      }
                  }, {
                      key: "IsBannerAvaliable",
                      value: function () {
                          return this._isBannerLoaded
                      }
                  }, {
                      key: "IsVideoAvaliable",
                      value: function () {
                          return this._isVideoLoaded
                      }
                  }, {
                      key: "IsInterstitalAvaliable",
                      value: function () {
                          return !1
                      }
                  }, {
                      key: "IsNativeAvaliable",
                      value: function () {
                          return this._nativeAdLoaded
                      }
                  }, {
                      key: "showNormalAd",
                      value: function () {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                              var t, n, a;
                              return regeneratorRuntime.wrap(function (e) {
                                  for (; ;)
                                      switch (e.prev = e.next) {
                                          case 0:
                                              if (f.default.instance.checkState != _.ECheckState.InCheck) {
                                                  e.next = 3;
                                                  break
                                              }
                                              return console.log("审核中"),
                                                  e.abrupt("return");
                                          case 3:
                                              if (!r.default.IsNullOrEmpty(this.platformData.bannerId)) {
                                                  e.next = 6;
                                                  break
                                              }
                                              return console.log("无有效的banner广告ID,取消加载"),
                                                  e.abrupt("return");
                                          case 6:
                                              if (!this._bannerAd) {
                                                  e.next = 10;
                                                  break
                                              }
                                              return this._bannerAd.show(),
                                                  console.log("展示已有banner"),
                                                  e.abrupt("return");
                                          case 10:
                                              this.HideBannerAd(),
                                                  this._bannerAd = this._base.createBannerAd({
                                                      adUnitId: this.platformData.bannerId
                                                  }),
                                                  t = !0,
                                                  n = !1,
                                                  this._bannerAd.show().then(function (e) {
                                                      console.log("banner加载成功", e),
                                                          0 == e.code && (n = !0),
                                                          t = !1;
                                                  }).catch(function (e) {
                                                      console.error("banner加载失败", e),
                                                          t = !1;
                                                  });
                                          case 15:
                                              if (!t) {
                                                  e.next = 20;
                                                  break
                                              }
                                              return e.next = 18,
                                                  i.default.NextFrame();
                                          case 18:
                                              e.next = 15;
                                              break;
                                          case 20:
                                              if (!n) {
                                                  e.next = 22;
                                                  break
                                              }
                                              return e.abrupt("return");
                                          case 22:
                                              console.log("banner展示失败,展示native广告"),
                                                  this._bannerAd && (this._bannerAd.destroy(),
                                                      this._bannerAd = null),
                                                  a = 0;
                                          case 25:
                                              if (!(a < this.platformData.nativeIconIds.length)) {
                                                  e.next = 35;
                                                  break
                                              }
                                              return e.next = 28,
                                                  this._ShowNativeBanner(a);
                                          case 28:
                                              if (!e.sent) {
                                                  e.next = 31;
                                                  break
                                              }
                                              return e.abrupt("break", 35);
                                          case 31:
                                              this._bannerAd.destroy();
                                          case 32:
                                              ++a,
                                                  e.next = 25;
                                              break;
                                          case 35:
                                          case "end":
                                              return e.stop()
                                      }
                              }, e, this)
                          }))
                      }
                  }, {
                      key: "ShowBannerAd",
                      value: function () {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                              var t = this;
                              return regeneratorRuntime.wrap(function (e) {
                                  for (; ;)
                                      switch (e.prev = e.next) {
                                          case 0:
                                              if (g.default.faxing != u.EFaxing.lw) {
                                                  e.next = 2;
                                                  break
                                              }
                                              return e.abrupt("return");
                                          case 2:
                                          // this,
                                          // this.yuanshengSuc ? oppoSdk.syyx_sdk_api.show_banner(a.banner_hall, function(e, t) {
                                          //     console.log("igc-----show show_Banner onLoad");
                                          // }, function() {
                                          //     console.log("igc-----show show_Banner onShow");
                                          // }, function(e, t) {
                                          //     console.log("igc-----show show_Banner onClose");
                                          // }, function(e, n) {
                                          //     console.log("igc-----show show_Banner onError"),
                                          //     t.showNormalAd();
                                          // }) : this.showNormalAd();
                                          case 4:
                                          case "end":
                                              return e.stop()
                                      }
                              }, e, this)
                          }))
                      }
                  }, {
                      key: "_ShowNativeBanner",
                      value: function (e) {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                              var n, a, i, s, r;
                              return regeneratorRuntime.wrap(function (t) {
                                  for (; ;)
                                      switch (t.prev = t.next) {
                                          case 0:
                                              return n = this.base.createNativeAd({
                                                  adUnitId: this.platformData.nativeBannerIds[e]
                                              }),
                                                  this._bannerAd = n,
                                                  t.next = 4,
                                                  n.load();
                                          case 4:
                                              if (0 != (a = t.sent).code) {
                                                  t.next = 24;
                                                  break
                                              }
                                              if (null != (i = a.adList) && 0 != i.length) {
                                                  t.next = 10;
                                                  break
                                              }
                                              return console.error("native banner加载失败", a),
                                                  t.abrupt("return", !1);
                                          case 10:
                                              if (null != (s = i[0])) {
                                                  t.next = 14;
                                                  break
                                              }
                                              return console.error("native banner加载失败", a),
                                                  t.abrupt("return", !1);
                                          case 14:
                                              return (r = new m.FakeBannerData).imgPath = s.imgUrlList[0],
                                                  r.noticePath = s.logoUrl,
                                                  r.adId = s.adId,
                                                  r.owner = this._bannerAd,
                                                  r.iconPath = s.icon,
                                                  m.default.instance.Show(r),
                                                  t.abrupt("return", !0);
                                          case 24:
                                              return console.error("native banner加载失败", a),
                                                  t.abrupt("return", !1);
                                          case 26:
                                          case "end":
                                              return t.stop()
                                      }
                              }, t, this)
                          }))
                      }
                  }, {
                      key: "HideBannerAd",
                      value: function () { }
                  }, {
                      key: "ShowNativeAd",
                      value: function () {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                              return regeneratorRuntime.wrap(function (e) {
                                  for (; ;)
                                      switch (e.prev = e.next) {
                                          case 0:
                                              if (this.IsNativeAvaliable()) {
                                                  e.next = 2;
                                                  break
                                              }
                                              return e.abrupt("return");
                                          case 2:
                                          case "end":
                                              return e.stop()
                                      }
                              }, e, this)
                          }))
                      }
                  }, {
                      key: "HideNativeAd",
                      value: function () {
                          this.IsNativeAvaliable();
                      }
                  }, {
                      key: "_DoCacheShowVideo",
                      value: function (e, t) {
                          this._isVideoLoaded ? (this._rewardSuccessed = e,
                              this._rewardSkipped = t,
                              this._isVideoLoaded = !1,
                              Laya.stage.event(s.CommonEventId.PAUSE_AUDIO),
                              this._rewardVideo.show()) : console.error("视频广告尚未加载好");
                      }
                  }, {
                      key: "_DoNoCacheShowVideo",
                      value: function (e, t) {
                          console.log("11111111111111111111111111111111111111111111111111");
                          // e && e.run();
                          return;
                          // var n, a, c = this;
                          // if (g.default.faxing != u.EFaxing.lw) {
                          //     if (this._rewardSuccessed = e,
                          //     this._rewardSkipped = t,
                          //     r.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                          //         return console.log("无有效的视频广告ID,取消加载"),
                          //         null === (n = this._rewardSkipped) || void 0 === n || n.run(),
                          //         void (this._rewardSkipped = null);
                          //     var l = this._base.createRewardedVideoAd;
                          //     if (null == l)
                          //         return console.error("无createRewardedVideoAd方法,跳过初始化"),
                          //         null === (a = this._rewardSkipped) || void 0 === a || a.run(),
                          //         void (this._rewardSkipped = null);
                          //     this._rewardVideo && this._rewardVideo.destroy(),
                          //     o.default.ShowLoading();
                          //     var h = {};
                          //     h.adUnitId = this.platformData.rewardVideoId,
                          //     this._rewardVideo = l(h),
                          //     console.log("广告创建完成", h),
                          //     this._rewardVideo.onClose(function(e) {
                          //         Laya.stage.event(s.CommonEventId.RESUM_AUDIO),
                          //         console.log("视频回调", e);
                          //         var t = e.isEnded;
                          //         i.default.NextFrame().then(function() {
                          //             t ? c._rewardSuccessed && c._rewardSuccessed.run() : c._rewardSkipped && c._rewardSkipped.run(),
                          //             c._rewardSuccessed = null,
                          //             c._rewardSkipped = null;
                          //         });
                          //     }),
                          //     this._rewardVideo.onError(function(e) {
                          //         console.log("广告组件出现问题", e),
                          //         o.default.HideLoading(),
                          //         c._rewardSkipped && c._rewardSkipped.run(),
                          //         c._rewardSkipped = null;
                          //     }),
                          //     this._rewardVideo.onLoad(function(e) {
                          //         console.log("广告加载成功", e),
                          //         o.default.HideLoading();
                          //     }),
                          //     this._rewardVideo.load().then(function() {
                          //         c._rewardVideo.show();
                          //     });
                          // } else {
                          //     var d = syyx_sdk_api.get_channel_ad_id(v.ELwADs.video_SP);
                          //     syyx_sdk_api.show_video(d, null, null, function(n, a) {
                          //         console.log("igc-----show show_video onClose:", n),
                          //         n.isEnded ? (e && e.run(),
                          //         console.log("igc---视频已看完发放奖励"),
                          //         v.LwTools.hideBanner()) : (t && t.run(),
                          //         console.log("igc---视频未看完"));
                          //     }, function(e, t) {
                          //         o.default.Toast("视频广告加载失败，请稍后重试！"),
                          //         console.log("igc-----show show_video onError:" + JSON.stringify(t));
                          //     });
                          // }
                      }
                  }, {
                      key: "ShowRewardVideoAd",
                      value: function (e, t) {
                          console.log("11111111111111111111111111111111111111111111111111");
                          // var n = this;
                          // this.yuanshengSuc ? oppoSdk.syyx_sdk_api.show_video(a.video_add_gold, function(e, t) {
                          //     console.log("igc-----show show_video onLoad");
                          // }, function() {
                          //     console.log("igc-----show show_video onShow");
                          // }, function(n, a) {
                          //     console.log("igc-----show show_video onClose:" + JSON.stringify(a)),
                          //     a.isEnded ? (e && e.run(),
                          //     console.log("igc---视频已看完发放奖励")) : (t && t.run(),
                          //     console.log("igc---视频未看完"));
                          // }, function(a, i) {
                          //     console.log("igc-----show show_video onError:" + a, i),
                          //     n._cacheVideoAD ? n._DoCacheShowVideo(e, t) : n._DoNoCacheShowVideo(e, t);
                          // }) : this._cacheVideoAD ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                      }
                  }, {
                      key: "ShowRewardVideoAdAsync",
                      value: function () {
                          console.log("55555555555555555555555555555555555555555555");
                          // var e = this;
                          // return new Promise(function(t) {
                          //     h.default.instance.ShowRewardVideoAd(Laya.Handler.create(e, function() {
                          //         t(!0);
                          //     }), Laya.Handler.create(e, function() {
                          //         t(!1);
                          //     }));
                          // }
                          // )
                      }
                  }, {
                      key: "_DisableInterstitalAd",
                      value: function () {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                              return regeneratorRuntime.wrap(function (e) {
                                  for (; ;)
                                      switch (e.prev = e.next) {
                                          case 0:
                                              return this._isInterstitialCanShow = !1,
                                                  e.next = 3,
                                                  i.default.Seconds(60);
                                          case 3:
                                              this._isInterstitialCanShow = !0;
                                          case 4:
                                          case "end":
                                              return e.stop()
                                      }
                              }, e, this)
                          }))
                      }
                  }, {
                      key: "GetFromAppId",
                      value: function () {
                          return null == this.lauchOption.referrerInfo ? null : r.default.IsNullOrEmpty(this.lauchOption.referrerInfo.appId) ? null : this.lauchOption.referrerInfo.appId
                      }
                  }, {
                      key: "CreatShortcut",
                      value: function () {
                          return new Promise(function (e, t) {
                              qg.hasShortcutInstalled({
                                  success: function (n) {
                                      0 == n ? qg.installShortcut({
                                          success: function () {
                                              e();
                                          },
                                          fail: function (e) {
                                              t();
                                          },
                                          complete: function () { }
                                      }) : e();
                                  },
                                  fail: function (e) {
                                      t();
                                  },
                                  complete: function () { }
                              });
                          }
                          )
                      }
                  }, {
                      key: "LoadSubpackage",
                      value: function (e, t, n, a) {
                          // var i = {};
                          // i.name = e,
                          // i.success = function() {
                          //     console.log("分包加载成功", e),
                          //     t && (t.run(),
                          //     t = null);
                          // }
                          // ,
                          // i.fail = function() {
                          //     console.error("分包加载失败", e),
                          //     n && (n.run(),
                          //     n = null);
                          // }
                          // ,
                          // this._base.loadSubpackage(i).onProgressUpdate(function(e) {
                          //     console.log("分包加载进度", e),
                          //     a && a.runWith(e.progress / 100);
                          // });
                      }
                  }, {
                      key: "RecordEvent",
                      value: function (e, t) {
                          console.log("[记录事件]", e, t);
                      }
                  }, {
                      key: "CreateShareVideoBtn",
                      value: function (e, t, n, a) { }
                  }, {
                      key: "HideShareVideoBtn",
                      value: function () {
                          null != this._shareVideoBtn && this._shareVideoBtn.hide();
                      }
                  }, {
                      key: "ShowToast",
                      value: function (e) {
                          this._base && this._base.showToast && this._base.showToast({
                              title: e,
                              duration: 2e3
                          });
                      }
                  }, {
                      key: "OpenGameBox",
                      value: function (e) {
                          if (g.default.faxing != u.EFaxing.lw)
                              console.error("当前平台", h.default.platformStr, "暂不支持互推游戏盒子");
                          else {
                              // var t = syyx_sdk_api.get_channel_ad_id(v.ELwADs.nine_JGG);
                              // syyx_sdk_api.show_game_portal_box(t, function(e, t) {
                              //     console.log("igc-----show show_portal_box on_load:" + JSON.stringify(t));
                              // }, function() {
                              //     console.log("igc-----show show_portal_box onShow"),
                              //     o.default.Toast("推荐游戏加载成功！");
                              // }, function() {
                              //     console.log("igc-----show show_portal_box onClose");
                              // }, function(e, t) {
                              //     console.log("igc-----show show_portal_box onError:" + JSON.stringify(t)),
                              //     o.default.Toast("暂时没有游戏推荐，请稍后试试吧");
                              // });
                          }
                      }
                  }, {
                      key: "NavigateToApp",
                      value: function (e, t, n) {
                          return new Promise(function (a, i) {
                              Laya.Browser.window.qg.navigateToMiniGame({
                                  pkgName: e,
                                  path: t,
                                  extraData: n,
                                  success: function () {
                                      a(!0),
                                          console.log("oppo小游戏跳转成功");
                                  },
                                  fail: function (e) {
                                      i(!1),
                                          console.log("oppo小游戏跳转失败：", JSON.stringify(e));
                                  }
                              });
                          }
                          )
                      }
                  }, {
                      key: "ShowInterstitalAd",
                      value: function () {
                          this.subscribeMes ? this.show_inner_interstitial_native() : console.error("igc-----未加载到原生数据 不展示结算原生");
                      }
                  }, { 
                      key: "show_inner_interstitial_native",
                      value: function () {
                          //     if (oppoSdk.syyx_sdk_api.get_local_native_data(a.native_inner_interstitial_success)) {
                          //         console.log("igc-----加载到原生数据  可以展示");
                          //         oppoSdk.syyx_sdk_api.show_native_inner_interstitial(a.native_inner_interstitial_success, p.default.adLayer, function() {
                          //             console.log("igc----- 结算原生点击回调");
                          //         }, function() {
                          //             console.log("igc----- 结算原生已显示");
                          //         }, function() {
                          //             oppoSdk.syyx_sdk_api.hide_native_inner_interstitial(),
                          //             console.log("igc----- 结算原生隐藏");
                          //         }, !0);
                          //     } else
                          //         console.log("igc-----未加载到原生数据 不展示结算原生");
                      }
                  }]),
                      n
              }();
          },
          "./src/LTGame/Platform/QQPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return l
                  });
              var a = n("./src/LTGame/Platform/WXPlatform.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/LTUtils/StringEx.ts")
                  , o = n("./src/LTGame/Commom/CommonEventId.ts")
                  , c = n("./src/UIExt/LTUI.ts")
                  , l = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).platform = i.EPlatformType.QQ,
                              e.isBannerShowing = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              this._base = window.qq,
                                  null != this._base ? (this.platformData = e,
                                      this._InitLauchOption(),
                                      this._Login(),
                                      this._InitShareInfo(),
                                      this._InitSystemInfo(),
                                      this._CreateBannerAd(),
                                      this._CreateVideoAd(),
                                      this._CreateInterstitalAd(),
                                      window.iplatform = this,
                                      console.error("平台初始化完成", s.default.platformStr)) : console.error("平台初始化错误", s.default.platformStr);
                          }
                      }, {
                          key: "_InitSystemInfo",
                          value: function () {
                              try {
                                  var e = this._base.getSystemInfoSync();
                                  this._cacheScreenScale = e.screenWidth / Laya.stage.width,
                                      this.safeArea = {},
                                      this.safeArea.width = e.windowWidth,
                                      this.safeArea.height = e.windowHeight,
                                      this.safeArea.top = e.statusBarHeight,
                                      this.safeArea.bottom = 0,
                                      console.log("QQ覆写_InitSystemInfo", this.safeArea);
                              } catch (e) {
                                  console.error(e),
                                      console.error("获取设备信息失败,执行默认初始化"),
                                      this.safeArea = null;
                              }
                          }
                      }, {
                          key: "_CreateBannerAd",
                          value: function (e) {
                              var t = this;
                              if (r.default.IsNullOrEmpty(this.platformData.bannerId))
                                  console.log("无有效的banner广告ID,取消加载");
                              else {
                                  var n = this._base.getSystemInfoSync().windowWidth
                                      , a = this._base.getSystemInfoSync().windowHeight
                                      , i = {};
                                  i.adUnitId = this.platformData.bannerId;
                                  var s = {};
                                  s.top = a - 80,
                                      s.width = 300,
                                      s.left = (n - s.width) / 2,
                                      i.style = s,
                                      this._bannerAd = this._base.createBannerAd(i),
                                      this._isBannerLoaded = !1,
                                      this._bannerAd.onLoad(function () {
                                          console.log("qq banner加载成功", t._bannerAd),
                                              t._isBannerLoaded = !0,
                                              e && t._bannerAd.show();
                                      }),
                                      this._bannerAd.onError(function (e) {
                                          console.error("banner广告加载失败", e);
                                      }),
                                      this._bannerAd.onResize(function (e) {
                                          console.log("onResize", e),
                                              t._bannerAd.style.top = a - 80,
                                              t._bannerAd.style.left = (n - 300) / 2,
                                              console.log("onResize", t._bannerAd);
                                      });
                              }
                          }
                      }, {
                          key: "IsBannerAvaliable",
                          value: function () {
                              return this._isBannerLoaded
                          }
                      }, {
                          key: "IsVideoAvaliable",
                          value: function () {
                              return this._isVideoLoaded
                          }
                      }, {
                          key: "IsInterstitalAvaliable",
                          value: function () {
                              return this._isInterstitialLoaded
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              this.IsBannerAvaliable() && (this._bannerAd.show(),
                                  this.isBannerShowing = !0,
                                  Laya.timer.loop(15e3, this, this.refreshBanner));
                          }
                      }, {
                          key: "refreshBanner",
                          value: function () {
                              this.isBannerShowing && (console.log("refresh banner"),
                                  this._bannerAd.hide(),
                                  this._CreateBannerAd(!0));
                          }
                      }, {
                          key: "HideBannerAd",
                          value: function () {
                              this.IsBannerAvaliable() && (this._bannerAd && (this._bannerAd.hide(),
                                  Laya.timer.clear(this, this.refreshBanner),
                                  this.isBannerShowing = !1),
                                  this._CreateBannerAd());
                          }
                      }, {
                          key: "_DoCacheShowVideo",
                          value: function (e, t) {
                              this._isVideoLoaded ? (this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  this._isVideoLoaded = !1,
                                  Laya.stage.event(o.CommonEventId.PAUSE_AUDIO),
                                  this._rewardVideo.show()) : console.error("视频广告尚未加载好");
                          }
                      }, {
                          key: "_DoNoCacheShowVideo",
                          value: function (e, t) {
                              var n = this;
                              if (this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  !this._isVideoLoaded || !this._rewardVideo) {
                                  if (r.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                      return console.log("无有效的视频广告ID,取消加载"),
                                          void t.run();
                                  var a = this._base.createRewardedVideoAd;
                                  if (null == a)
                                      return console.error("无createRewardedVideoAd方法,跳过初始化"),
                                          void t.run();
                                  c.default.ShowLoading(),
                                      this._videoFailedCount = 0;
                                  var i = {};
                                  i.adUnitId = this.platformData.rewardVideoId,
                                      this._rewardVideo = a(i),
                                      this._rewardVideo.onLoad(function () {
                                          console.log("视频广告加载成功"),
                                              n._isVideoLoaded = !0;
                                      }),
                                      this._rewardVideo.onError(function (e) {
                                          n._videoFailedCount++,
                                              console.error("视频广告加载失败", e, n._videoFailedCount);
                                      }),
                                      this._rewardVideo.onClose(function (e) {
                                          Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                              console.log(" NoCache - 视频回调", e);
                                          var t = e.isEnded;
                                          console.log("noCache---", t, "----", !!n._rewardSuccessed, "-----", !!n._rewardSkipped),
                                              t ? n._rewardSuccessed && n._rewardSuccessed.run() : n._rewardSkipped && n._rewardSkipped.run();
                                      });
                              }
                              this._rewardVideo.show().then(function () {
                                  c.default.HideLoading();
                              }).catch(function (e) {
                                  console.log("广告组件出现问题", e),
                                      n._rewardVideo.load().then(function () {
                                          return console.log("手动加载成功"),
                                              n._rewardVideo.show().then(function () {
                                                  c.default.HideLoading();
                                              })
                                      });
                              });
                          }
                      }, {
                          key: "ShowRewardVideoAd",
                          value: function (e, t) {
                              console.log("222222222222222222222222222222222222222222222");
                              // this._cacheVideoAD ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                          }
                      }, {
                          key: "ShowRewardVideoAdAsync",
                          value: function () {
                              console.log("1");
                              return new Promise(function (e) {
                                  s.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                      e(!0);
                                  }, null, !0), Laya.Handler.create(this, function () {
                                      e(!1);
                                  }, null, !0));
                              }
                              )
                          }
                      }, {
                          key: "ShowInterstitalAd",
                          value: function () {
                              this._isInterstitialLoaded ? this._intersitialAd.show() : console.error("插页广告尚未加载好");
                          }
                      }, {
                          key: "OpenGameBox",
                          value: function () {
                              arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                              this.showAppBox();
                          }
                      }, {
                          key: "showAppBox",
                          value: function () {
                              this.appBox && this.appBox.show();
                          }
                      }, {
                          key: "createAppBox",
                          value: function (e) {
                              var t = this;
                              this.appBox || (this.appBox = this._base.createAppBox({
                                  adUnitId: "54b23210b2bf2e85c874beb4bae96003"
                              })),
                                  this.appBox.load().then(function () {
                                      e && t.appBox.show();
                                  }),
                                  this.appBox.onClose(function () {
                                      console.log("关闭盒子");
                                  });
                          }
                      }, {
                          key: "hideAppBox",
                          value: function () {
                              this.appBox && this.appBox.destroy();
                          }
                      }, {
                          key: "showBlockAd",
                          value: function () {
                              var e = this
                                  , t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1
                                  , n = {
                                      adUnitId: "2f0aa99d54d9aedb40bbca4c21065c03",
                                      style: {
                                          left: 55,
                                          top: Laya.stage.height / 2
                                      },
                                      size: t,
                                      orientation: "vertical"
                                  };
                              this.blockAd = this._base.createBlockAd(n),
                                  this.blockAd.onLoad(function () {
                                      console.log("积木广告加载完成"),
                                          e.blockAd.show().then(function () {
                                              console.log("积木展示成功");
                                          }).catch(function (e) {
                                              console.error("积木展示失败", e);
                                          });
                                  }),
                                  this.blockAd.onError(function (e) {
                                      console.error("积木广告加载错误", e);
                                  }),
                                  this.blockAd.onResize(function (e) {
                                      console.log("积木resize", e);
                                  });
                          }
                      }, {
                          key: "hideBlockAd",
                          value: function () {
                              this.blockAd && (this.blockAd.hide(),
                                  this.blockAd.destroy());
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/QTTPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/LTGame/Platform/WXPlatform.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Commom/CommonEventId.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).platform = i.EPlatformType.QTT,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              this._base = window.qttGame,
                                  null != this._base ? (this.platformData = e,
                                      window.iplatform = this) : console.error("平台初始化错误");
                          }
                      }, {
                          key: "IsBannerAvaliable",
                          value: function () {
                              return !0
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              this._base.showBanner({
                                  index: 1
                              });
                          }
                      }, {
                          key: "HideBannerAd",
                          value: function () {
                              this._base.hideBanner();
                          }
                      }, {
                          key: "IsVideoAvaliable",
                          value: function () {
                              return !0
                          }
                      }, {
                          key: "ShowRewardVideoAd",
                          value: function (e, t) {
                              console.log("llllllllllllllllllllllllllllllllllllllllll");
                              var n = {
                                  index: 1,
                                  gametype: 1,
                                  rewardtype: 1,
                                  data: {}
                              };
                              n.data.title = "获得奖励",
                                  Laya.stage.event(s.CommonEventId.PAUSE_AUDIO),
                                  this._base.showVideo(function (n) {
                                      Laya.stage.event(s.CommonEventId.RESUM_AUDIO),
                                          1 == n ? e && e.run() : t && t.run();
                                  }, n);
                          }
                      }, {
                          key: "ShowInterstitalAd",
                          value: function () {
                              this.ShowHDReward();
                          }
                      }, {
                          key: "ShowHDReward",
                          value: function () {
                              var e = {
                                  index: 1,
                                  rewardtype: 1
                              };
                              this._base.showHDReward(e);
                          }
                      }, {
                          key: "RecordEvent",
                          value: function (e, t) {
                              console.log("记录事件", e, t);
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/ShareInfo.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "ShareInfo", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e);
              };
          },
          "./src/LTGame/Platform/ShareManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/script/config/GameConst.ts")
                  , i = n("./src/script/config/ShareConfig.ts")
                  , s = n("./src/script/enum/EEventScene.ts")
                  , r = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , o = n("./src/LTGame/LTUtils/MathEx.ts")
                  , c = n("./src/LTGame/Manager/MesManager.ts")
                  , l = n("./src/LTGame/Platform/EPlatformType.ts")
                  , u = n("./src/LTGame/Platform/LTPlatform.ts")
                  , h = n("./src/LTGame/Platform/ShareInfo.ts")
                  , d = function () {
                      function e() {
                          for (var t in _classCallCheck(this, e),
                              this._ids = [],
                              this._weights = [],
                              this.lastIsAd = !0,
                              this.isAd = !0,
                              this.forceAd = !1,
                              this._shareInfoList = [],
                              this._data = JSON.parse(a.GameConst.data.sharePoint),
                              this._data) {
                              var n = this._data[t];
                              this._ids.push(t),
                                  this._weights.push(n.risk),
                                  n.data = n.data.split(":");
                              for (var i = [], s = 0; s < n.data.length; s++)
                                  for (var r = n.data[s].split("0"), o = 0; o < r[1]; o++)
                                      i.push(r[0]);
                              n.data = i;
                          }
                          this._initShare();
                      }
                      return _createClass(e, [{
                          key: "AddShareInfo",
                          value: function (e) {
                              var t, n = _createForOfIteratorHelper(this._shareInfoList);
                              try {
                                  for (n.s(); !(t = n.n()).done;) {
                                      if (t.value.shareId == e.shareId)
                                          return
                                  }
                              } catch (e) {
                                  n.e(e);
                              } finally {
                                  n.f();
                              }
                              this._shareInfoList.push(e);
                          }
                      }, {
                          key: "getRandomShareId",
                          value: function () {
                              var e = []
                                  , t = [];
                              return i.ShareConfig.dataList.forEach(function (n) {
                                  t.push(n.id),
                                      e.push(n.weight);
                              }),
                                  i.ShareConfig.data[o.default.RandomFromWithWeight(t, e)].id
                          }
                      }, {
                          key: "getShareInfoById",
                          value: function (e) {
                              e || (e = this.getRandomShareId());
                              var t = i.ShareConfig.data[e]
                                  , n = new h.ShareInfo;
                              return n.shareId = e,
                                  n.shareImg = t.imgUrl,
                                  n.shareImgId = t.imgId,
                                  n.shareTitle = t.title,
                                  n
                          }
                      }, {
                          key: "GetShareInfo",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                              if (0 == this._shareInfoList.length)
                                  return new h.ShareInfo;
                              if (null != e) {
                                  var t, n = _createForOfIteratorHelper(this._shareInfoList);
                                  try {
                                      for (n.s(); !(t = n.n()).done;) {
                                          var a = t.value;
                                          if (a.shareId == e)
                                              return a
                                      }
                                  } catch (e) {
                                      n.e(e);
                                  } finally {
                                      n.f();
                                  }
                              }
                              return o.default.RandomFromArray(this._shareInfoList)
                          }
                      }, {
                          key: "ShareAppMessage",
                          value: function (e) {
                              u.default.instance.ShareAppMessage(e, Laya.Handler.create(this, function () {
                                  console.log("分享成功");
                              }), null);
                          }
                      }, {
                          key: "updateShare",
                          value: function () {
                              var e = r.default.instance.shareGuiId;
                              if (-1 == e)
                                  e = this._restartShare();
                              else {
                                  var t = this._data[e].data;
                                  r.default.instance.shareGuiPro >= t.length ? e = this._restartShare() : r.default.instance.shareGuiPro++;
                              }
                              if (u.default.instance.platform == l.EPlatformType.WX) {
                                  var n = this._data[e].data[r.default.instance.shareGuiPro];
                                  this.lastIsAd = this.isAd,
                                      this.isAd = "2" == n;
                              } else
                                  this.isAd = !0;
                              console.log("是否看广告", this.isAd),
                                  r.default.SaveToDisk(),
                                  c.default.instance.event2d(s.EEventScene.ShareChange);
                          }
                      }, {
                          key: "_initShare",
                          value: function () {
                              var e = r.default.instance.shareGuiId;
                              if (-1 == e && (e = this._restartShare()),
                                  u.default.instance.platform != l.EPlatformType.WX || this.forceAd)
                                  this.isAd = !0;
                              else {
                                  var t = this._data[e].data[r.default.instance.shareGuiPro];
                                  this.isAd = 2 == t;
                              }
                              this.lastIsAd = this.isAd;
                          }
                      }, {
                          key: "_restartShare",
                          value: function () {
                              var e = o.default.RandomFromWithWeight(this._ids, this._weights);
                              return r.default.instance.shareGuiId = e,
                                  r.default.instance.shareGuiPro = 0,
                                  e
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Platform/TTPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/LTGame/Platform/WXPlatform.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/LTUtils/StringEx.ts")
                  , r = n("./src/LTGame/Platform/Impl/TT/TTRecordManager.ts")
                  , o = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts")
                  , c = n("./src/LTGame/Platform/LTPlatform.ts")
                  , l = n("./src/UIExt/LTUI.ts")
                  , u = n("./src/LTGame/Async/Awaiters.ts")
                  , h = n("./src/LTGame/Commom/CommonEventId.ts")
                  , d = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).platform = i.EPlatformType.TT,
                              e._showVideoLoad = !1,
                              e.showInterStitalFirst = 30,
                              e.showInterstitalAdCD = 60,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              if (this._base = window.tt,
                                  null != this._base) {
                                  this.platformData = e;
                                  var t = this._base.getSystemInfoSync();
                                  "ios" == t.platform && (this.isSupportJumpOther = !1);
                                  var n = _slicedToArray(t.SDKVersion.split("."), 2)
                                      , a = n[0]
                                      , i = n[1];
                                  a >= 1 && i >= 33 || (this.isSupportJumpOther = !1),
                                      this._InitLauchOption(),
                                      this._InitShareInfo(),
                                      this._InitSystemInfo(),
                                      this._CreateBannerAd(),
                                      this._CreateVideoAd(),
                                      this._CreateInterstitalAd(),
                                      this.recordManager = new r.default(this._base),
                                      this.device = new o.default(this._base),
                                      window.iplatform = this,
                                      Laya.Browser.onIOS && this._base.setPreferredFramesPerSecond(30);
                              } else
                                  console.error("平台初始化错误");
                          }
                      }, {
                          key: "_DoNoCacheShowVideo",
                          value: function (e, t) {
                              // n._rewardSuccessed && n._rewardSuccessed.run();
                              return;
                              var n = this;
                              if (this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  s.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                  return console.log("无有效的视频广告ID,取消加载"),
                                      t.run(),
                                      void (t = null);
                              var a = this._base.createRewardedVideoAd;
                              if (null == a)
                                  return console.error("无createRewardedVideoAd方法,跳过初始化"),
                                      t.run(),
                                      void (t = null);
                              l.default.ShowLoading(),
                                  this._videoFailedCount = 0;
                              var i = {};
                              i.adUnitId = this.platformData.rewardVideoId,
                                  this._rewardVideo = a(i),
                                  this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                      console.log("视频广告加载成功"),
                                          n.hasAd = !0,
                                          n._isVideoLoaded = !0;
                                  }),
                                      this._rewardVideo.onError(function (e) {
                                          n._videoFailedCount++,
                                              console.error("视频广告加载失败", e, n._videoFailedCount);
                                      }),
                                      this._rewardVideo.onClose(function (e) {
                                          Laya.stage.event(h.CommonEventId.RESUM_AUDIO),
                                              console.log("视频回调", e);
                                          var t = e.isEnded;
                                          u.default.NextFrame().then(function () {
                                              t ? (n.lastShowTime = Date.now(),
                                                  console.log("视频回调成功", n._rewardSuccessed),
                                                  n._rewardSuccessed && n._rewardSuccessed.run()) : n._rewardSkipped && n._rewardSkipped.run(),
                                                  n._rewardSuccessed = null,
                                                  n._rewardSkipped = null;
                                          });
                                      }),
                                      this._rewardVideo.load().then(function () {
                                          return console.log("激励视频 加载成功"),
                                              n._rewardVideo.show().then(function () {
                                                  l.default.HideLoading();
                                              }).catch(function (e) {
                                                  l.default.HideLoading();
                                              })
                                      }),
                                      Laya.stage.event(h.CommonEventId.PAUSE_AUDIO));
                          }
                      }, {
                          key: "_CreateBannerAd",
                          value: function () {
                              var e = this;
                              if (s.default.IsNullOrEmpty(this.platformData.bannerId))
                                  console.log("无有效的banner广告ID,取消加载");
                              else {
                                  var t = this._base.getSystemInfoSync().windowWidth
                                      , n = this._base.getSystemInfoSync().windowHeight
                                      , a = {};
                                  a.adUnitId = this.platformData.bannerId,
                                      a.adIntervals = 30;
                                  a.style = {
                                      width: 280,
                                      left: (t - 280) / 2,
                                      top: n - 157.5
                                  },
                                      this._bannerAd = this._base.createBannerAd(a),
                                      this._isBannerLoaded = !1,
                                      this._bannerAd && (this._bannerAd.onLoad(function () {
                                          console.log("banner加载成功", e._bannerAd),
                                              e._isBannerLoaded = !0;
                                      }),
                                          this._bannerAd.onError(function (t) {
                                              console.error("banner广告加载失败", t),
                                                  e._bannerAd,
                                                  Laya.timer.once(3e3, e, e._CreateBannerAd);
                                          }),
                                          this._bannerAd.onResize(function (a) {
                                              e._bannerAd.style.top = n - a.height,
                                                  e._bannerAd.style.left = (t - a.width) / 2;
                                          }));
                              }
                          }
                      }, {
                          key: "RecordEvent",
                          value: function (e, t) {
                              var n = this._base.reportAnalytics;
                              n ? (null == t && (t = {}),
                                  n(e, t)) : console.error("reportAnalytics 方法不存在");
                          }
                      }, {
                          key: "ShowAdOrShareAsync",
                          value: function () {
                              return new Promise(function (e) {
                                  c.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                      e(!0);
                                  }), Laya.Handler.create(this, function () {
                                      e(!1);
                                  }));
                              }
                              )
                          }
                      }, {
                          key: "startDeviceMotionListening",
                          value: function (e) {
                              var t = wx.startCompass;
                              t && (t({
                                  success: function (e) {
                                      console.log("调用成功", e.errMsg);
                                  },
                                  fail: function (e) {
                                      console.log("调用失败", e.errMsg);
                                  }
                              }),
                                  (0,
                                      wx.onCompassChange)(function (t) {
                                          e && (t.alpha = t.direction,
                                              e.runWith(t));
                                      }));
                          }
                      }, {
                          key: "offDeviceMotionListening",
                          value: function () {
                              var e = wx.stopCompass;
                              e && e({
                                  success: function (e) {
                                      console.log("调用停止监听罗盘成功", e.errMsg);
                                  },
                                  fail: function (e) {
                                      console.log("调用停止监听罗盘失败", e.errMsg);
                                  }
                              });
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              this.IsBannerAvaliable() && (this.bannerVisible = !0,
                                  this._bannerAd.show());
                          }
                      }, {
                          key: "ShareAppMessage",
                          value: function (e, t, n) {
                              console.log("分享消息", e);
                              var a = {
                                  success: function () {
                                      t && t.run();
                                  },
                                  fail: function () {
                                      n && n.run();
                                  }
                              };
                              this._base.shareAppMessage(a);
                          }
                      }, {
                          key: "OpenGameBox",
                          value: function (e) {
                              for (var t = [], n = 0; n < e.length; ++n)
                                  t.push({
                                      appId: e[n]
                                  });
                              this._base.showMoreGamesModal({
                                  appLaunchOptions: t
                              });
                          }
                      }, {
                          key: "NavigateToApp",
                          value: function (e, t, n) {
                              var a = this;
                              return new Promise(function (t, n) {
                                  a.isSupportJumpOther ? a._base.showMoreGamesModal({
                                      appLaunchOptions: [{
                                          appId: a.platformData.appId,
                                          query: "foo=bar&baz=qux",
                                          extraData: {}
                                      }],
                                      success: function (n) {
                                          t(!0),
                                              console.log("跳转小游戏成功", e);
                                      },
                                      fail: function (t) {
                                          n(!1),
                                              console.log("跳转小游戏失败", e);
                                      }
                                  }) : (n(!1),
                                      console.log("当前平台不支持小游戏跳转", a));
                              }
                              )
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/VivoPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return f
                  });
              var a = n("./src/LTGame/Commom/CommonEventId.ts")
                  , i = n("./src/LTGame/Platform/DefaultDevice.ts")
                  , s = n("./src/LTGame/Platform/DefaultRecordManager.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts")
                  , l = n("./src/LTGame/Platform/OppoPlatform.ts")
                  , u = n("./src/script/common/LwTools.ts")
                  , h = n("./src/UIExt/LTUI.ts")
                  , d = n("./src/LTGame/Manager/AudioManager.ts")
                  , f = function (e) {
                      _inherits(n, l["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).platform = r.EPlatformType.Vivo,
                              e.safeArea = null,
                              e.recordManager = new s.default,
                              e.device = new i.default,
                              e.isSupportJumpOther = !0,
                              e._isBannerLoaded = !1,
                              e._isVideoLoaded = !1,
                              e._isInterstitialLoaded = !1,
                              e._isInterstitialCanShow = !0,
                              e._nativeAdLoaded = !1,
                              e.yuanshengSuc = !1,
                              e._cacheVideoAD = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              // this._base = window.qg,
                              this._base = undefined,
                                  null != this._base ? (this.platformData = e,
                                      this._InitLauchOption(),
                                      this._Login(),
                                      this._InitSystemInfo(),
                                      this.getSystemInfo(),
                                      this.device = new c.default(this._base),
                                      window.iplatform = this) : console.error("平台初始化错误", o.default.platformStr);
                          }
                      }, {
                          key: "getSystemInfo",
                          value: function () {
                              var e = this;
                              console.log("getSystemInfo"),
                                  this._base.getSystemInfo({
                                      success: function (t) {
                                          e.systemInfo = t,
                                              console.log(e.systemInfo);
                                      },
                                      fail: function (e) {
                                          console.error("getSystemInfo,fail", e);
                                      },
                                      complete: function () { }
                                  });
                          }
                      }, {
                          key: "_OnLoginSuccess",
                          value: function (e) {
                              console.log(o.default.platformStr, "登录成功", e),
                                  this.loginState.isLogin = !0,
                                  this.loginState.code = e.token,
                                  this.loginState.data = e;
                          }
                      }, {
                          key: "_InitLauchOption",
                          value: function () {
                              this._base.onShow(this._OnShow),
                                  this._base.onHide(this._OnHide);
                              var e = this._base.getLaunchOptionsSync();
                              this._OnShow(e);
                          }
                      }, {
                          key: "ShareAppMessage",
                          value: function (e, t, n) { }
                      }, {
                          key: "ShowRewardVideoAdAsync",
                          value: function () {
                              console.log("2");
                              var e = this;
                              return new Promise(function (t) {
                                  o.default.instance.ShowRewardVideoAd(Laya.Handler.create(e, function () {
                                      t(!0);
                                  }), Laya.Handler.create(e, function () {
                                      t(!1);
                                  }));
                              }
                              )
                          }
                      }, {
                          key: "ShowRewardVideoAd",
                          value: function (e, t) {
                              console.log("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
                              // this._cacheVideoAD ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                          }
                      }, {
                          key: "_DoCacheShowVideo",
                          value: function (e, t) {
                              this._isVideoLoaded ? (this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  this._isVideoLoaded = !1,
                                  Laya.stage.event(a.CommonEventId.PAUSE_AUDIO),
                                  this._rewardVideo.show()) : console.error("视频广告尚未加载好");
                          }
                      }, {
                          key: "_DoNoCacheShowVideo",
                          value: function (e, t) {
                              // var n = syyx_sdk_api.get_channel_ad_id(u.ELwADs.video_SP);
                              // syyx_sdk_api.show_video(n, null, function() {
                              //     d.default.instance.pauseBgm();
                              // }, function(n, a) {
                              //     console.log("igc-----show show_video onClose:", n),
                              //     n.isEnded ? (e && e.run(),
                              //     console.log("igc---视频已看完发放奖励"),
                              //     u.LwTools.hideBanner()) : (t && t.run(),
                              //     console.log("igc---视频未看完")),
                              //     d.default.instance.restartBgm();
                              // }, function(e, t) {
                              //     h.default.Toast("视频广告加载失败，请稍后重试！"),
                              //     console.log("igc-----show show_video onError:" + JSON.stringify(t)),
                              //     d.default.instance.restartBgm();
                              // });
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Platform/WXPlatform.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return w
                  });
              var a = n("./src/LTGame/LTUtils/StringEx.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/ShareManager.ts")
                  , r = n("./src/LTGame/Platform/LTPlatform.ts")
                  , o = n("./src/LTGame/Commom/CommonEventId.ts")
                  , c = n("./src/LTGame/Platform/DefaultRecordManager.ts")
                  , l = n("./src/UIExt/LTUI.ts")
                  , u = n("./src/LTGame/Async/Awaiters.ts")
                  , h = n("./src/LTGame/Platform/DefaultDevice.ts")
                  , d = n("./src/LTGame/Manager/MesManager.ts")
                  , f = n("./src/script/enum/EEventUI.ts")
                  , _ = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , m = n("./src/script/config/GameConst.ts")
                  , p = n("./src/script/enum/EEventScene.ts")
                  , g = n("./src/LTGame/LTUtils/MathEx.ts")
                  , v = n("./src/LTGame/Net/LTHttp.ts")
                  , y = n("./src/LTGame/Res/LTRespackManager.ts")
                  , k = n("./src/LTGame/Config/LoadPackConfig.ts")
                  , C = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , S = n("./src/script/enum/EWXNativeAD.ts")
                  , L = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts")
                  , I = n("./src/script/common/TimeUtils.ts")
                  , w = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._hasAd = !0,
                              this.platform = i.EPlatformType.WX,
                              this.safeArea = null,
                              this.recordManager = new c.default,
                              this.device = new h.default,
                              this.loginCode = null,
                              this.openid = null,
                              this.isSupportJumpOther = !0,
                              this._isBannerLoaded = !1,
                              this._isVideoLoaded = !1,
                              this._isInterstitialLoaded = !1,
                              this.firstFinish = !1,
                              this.first = !0,
                              this._cacheVideoAD = !0,
                              this.loadSubPackName = [],
                              this.showInterstitalAdCD = 0,
                              this.showInterStitalFirst = 0,
                              this._nativeListAd = [],
                              this.nativeAdLoaded = [],
                              this._nativeSingle = {},
                              this._nativeLoadAd = {},
                              this._nativeListAdVisible = [],
                              this._nativeSingleVisible = {},
                              this._nativeOpen = !1,
                              this.bannerVisible = !1,
                              this.pressVideoTime = 0,
                              this._subSucCallBck = {},
                              this.NavigateToAppSuccess = null,
                              this.showTime = 0,
                              this.lastTime = 0,
                              this._refreshBanner = !1;
                      }
                      return _createClass(e, [{
                          key: "getPlatformIndex",
                          value: function () {
                              switch (r.default.instance.platform) {
                                  case i.EPlatformType.WX:
                                      return 1;
                                  case i.EPlatformType.TT:
                                      return 2;
                                  case i.EPlatformType.Web:
                                      return 0
                              }
                          }
                      }, {
                          key: "Init",
                          value: function (e) {
                              this._base = window.wx,
                                  null != this._base ? (this.platformData = e,
                                      this._InitLauchOption(),
                                      this._Login(),
                                      this._InitShareInfo(),
                                      this._InitSystemInfo(),
                                      this._CreateBannerAd(),
                                      this._CreateVideoAd(),
                                      this._CreateInterstitalAd(),
                                      window.iplatform = this,
                                      this.device = new L.default(this._base),
                                      this.lastTime = Date.now(),
                                      Laya.timer.loop(250, this, this.update)) : console.error("平台初始化错误", r.default.platformStr);
                          }
                      }, {
                          key: "_CheckUpdate",
                          value: function () {
                              var e = this
                                  , t = this._base.getUpdateManager();
                              null != t && (t.onCheckForUpdate(function (e) {
                                  console.log("onCheckForUpdate", e.hasUpdate),
                                      e.hasUpdate && this._base && this._base.showToast && this._base.showToast({
                                          title: "即将有更新请留意"
                                      });
                              }),
                                  t.onUpdateReady(function () {
                                      e._base.showModal({
                                          title: "更新提示",
                                          content: "新版本已经准备好，是否立即使用？",
                                          success: function (e) {
                                              e.confirm ? t.applyUpdate() : this._base && this._base.showToast && this._base.showToast({
                                                  icon: "none",
                                                  title: "小程序下一次「冷启动」时会使用新版本"
                                              });
                                          }
                                      });
                                  }),
                                  t.onUpdateFailed(function () {
                                      e._base && e._base.showToast && e._base.showToast({
                                          title: "更新失败，下次启动继续..."
                                      });
                                  }));
                          }
                      }, {
                          key: "_Login",
                          value: function () {
                              this.onLoginEnd && (this.onLoginEnd.run(),
                                  this.onLoginEnd = null);
                          }
                      }, {
                          key: "GetStorage",
                          value: function (e) {
                              if (this.base && this.base.getStorageSync && e)
                                  try {
                                      return this.base.getStorageSync(e)
                                  } catch (e) {
                                      return console.log("getStorageSync error: ", JSON.stringify(e)),
                                          null
                                  }
                          }
                      }, {
                          key: "SetStorage",
                          value: function (e, t) {
                              if (this.base && this.base.getStorageSync && e)
                                  try {
                                      return this.base.setStorageSync(e, t)
                                  } catch (e) {
                                      console.log("setStorageSync error: ", JSON.stringify(e));
                                  }
                          }
                      }, {
                          key: "hideGameIcon",
                          value: function () {
                              this._iconAd && this._iconAd.hide();
                          }
                      }, {
                          key: "createGameIcon",
                          value: function (e) {
                              var t = this;
                              !this._iconAd && wx.createGameIcon && (this._iconAd = wx.createGameIcon({
                                  adUnitId: "PBgAA_puIVuJCARk",
                                  count: 9
                              })),
                                  this._iconAd && (this._iconAd.load().then(function () {
                                      t._iconAd.show();
                                  }).catch(function (e) {
                                      console.error(e);
                                  }),
                                      this._iconAd.onResize(function () {
                                          t._iconAd.icons.forEach(function (t, n) {
                                              var a = Laya.Browser.clientWidth / Laya.Browser.clientHeight * 50 / .5625;
                                              a = Math.max(a, 32),
                                                  t.size = a,
                                                  t.left = (e.x + n % 3 * 160) * Laya.Browser.clientWidth / Laya.stage.width,
                                                  t.top = (e.y + 160 * Math.floor(n / 3)) * Laya.Browser.clientHeight / Laya.stage.height;
                                          });
                                      }));
                          }
                      }, {
                          key: "_OnLoginSuccess",
                          value: function (e) {
                              this.loginState.isLogin = !0,
                                  this.loginState.code = e.code;
                          }
                      }, {
                          key: "_InitLauchOption",
                          value: function () {
                              var e = this;
                              this._base.onShow(this._OnShow),
                                  this._base.onHide(function (t) {
                                      e._OnHide(t);
                                  });
                              var t = this._base.getLaunchOptionsSync();
                              this._OnShow(t);
                          }
                      }, {
                          key: "_InitShareInfo",
                          value: function () {
                              this._base.showShareMenu({
                                  withShareTicket: !0,
                                  menus: ["shareAppMessage", "shareTimeline"],
                                  success: function (e) {
                                      console.log("InitShareSuccess", e);
                                  },
                                  fail: function (e) {
                                      console.log("InitShareFailed", e);
                                  },
                                  complete: function (e) {
                                      console.log("InitShareComplete", e);
                                  }
                              }),
                                  this._base.onShareAppMessage(function () {
                                      var t = s.default.instance.getShareInfoById(null);
                                      return e._WrapShareInfo(t)
                                  });
                          }
                      }, {
                          key: "updateShareMes",
                          value: function () {
                              this._base.onShareAppMessage(function () {
                                  var t = s.default.instance.getShareInfoById(null);
                                  return e._WrapShareInfo(t)
                              });
                          }
                      }, {
                          key: "_InitSystemInfo",
                          value: function () {
                              this.base = this._base;
                              try {
                                  this.systemInfo = this._base.getSystemInfoSync(),
                                      console.log("系统信息已获取", this.systemInfo),
                                      this.deviceModel = this.systemInfo.model,
                                      this.deviceSystem = this.systemInfo.system,
                                      this.safeArea = this.systemInfo.safeArea,
                                      this._cacheScreenScale = this.systemInfo.screenWidth / Laya.stage.width;
                              } catch (e) {
                                  console.error(e),
                                      console.error("获取设备信息失败,执行默认初始化"),
                                      this.safeArea = null;
                              }
                          }
                      }, {
                          key: "requestMessage",
                          value: function (e) {
                              var t = this;
                              if (this._base.requestSubscribeMessage) {
                                  var n = this.systemInfo.version;
                                  Laya.Browser.onAndroid && !g.default.checkVersionPass(n, "7.0.6") && (e = [e[0]]),
                                      Laya.Browser.onIOS && !g.default.checkVersionPass(n, "7.0.5") && (e = [e[0]]),
                                      console.log("打开订阅------------", e),
                                      this._base.requestSubscribeMessage({
                                          tmplIds: e,
                                          success: function (n) {
                                              var a = "https://xcx.dswzxh.com:8087/dy/add/subscribe/?game_code=wbyzsd&template_list=" + JSON.stringify(e) + "&openid=" + t.openid;
                                              v.default.Send(a, null, null, !0),
                                                  console.log("成功上传订阅------------", a);
                                          },
                                          fail: function (e) {
                                              console.log("错误订阅------------", e);
                                          }
                                      });
                              }
                          }
                      }, {
                          key: "_CreateInterstitalAd",
                          value: function () {
                              var e = this;
                              if (a.default.IsNullOrEmpty(this.platformData.interstitialId))
                                  console.log("无有效的插页广告ID,取消加载");
                              else {
                                  this._interstitalFailedCount = 0;
                                  var t = {};
                                  t.adUnitId = this.platformData.interstitialId,
                                      this._intersitialAd = this._base.createInterstitialAd(t),
                                      this._intersitialAd && (this._intersitialAd.onLoad(function () {
                                          console.log("插页广告加载成功"),
                                              e._isInterstitialLoaded = !0;
                                      }),
                                          this._intersitialAd.onError(function (t) {
                                              e._interstitalFailedCount++,
                                                  console.error("插页广告加载失败", t),
                                                  e._interstitalFailedCount > 10 && 2002 != t.errCode && (console.log("第", e._interstitalFailedCount, "次重新加载插页广告"),
                                                      e._intersitialAd.load());
                                          }),
                                          this._intersitialAd.onClose(function (t) {
                                              e.bannerVisible && (e.bannerVisible = !1,
                                                  e.ShowBannerAd());
                                          }));
                              }
                          }
                      }, {
                          key: "_CreateVideoAd",
                          value: function () {
                              var e = this;
                              if (this._cacheVideoAD) {
                                  var t = this._base.createRewardedVideoAd;
                                  if (null != t)
                                      if (a.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                          console.log("无有效的视频广告ID,取消加载");
                                      else {
                                          this._videoFailedCount = 0;
                                          var n = {};
                                          n.adUnitId = this.platformData.rewardVideoId,
                                              this._rewardVideo = t(n),
                                              this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                                  e.hasAd = !0,
                                                      console.log("视频广告加载成功"),
                                                      e._isVideoLoaded = !0;
                                              }),
                                                  this._rewardVideo.onError(function (t) {
                                                      e._videoFailedCount++,
                                                          e.hasAd = !1,
                                                          console.error("视频广告加载失败", t),
                                                          e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"),
                                                              e._rewardVideo.load());
                                                  }),
                                                  this._rewardVideo.onClose(function (t) {
                                                      Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                                          console.log("视频回调", t);
                                                      var n = t.isEnded;
                                                      u.default.NextFrame().then(function () {
                                                          e.first && (e.firstFinish = n,
                                                              e.first = !1),
                                                              n ? (e.lastShowTime = Date.now(),
                                                                  e._rewardSuccessed && e._rewardSuccessed.run()) : e._rewardSkipped && e._rewardSkipped.run(),
                                                              e._rewardSuccessed = null,
                                                              e._rewardSkipped = null;
                                                      });
                                                  }));
                                      }
                                  else
                                      console.error("无createRewardedVideoAd方法,跳过初始化");
                              } else
                                  console.log("当前策略为不缓存视频广告");
                          }
                      }, {
                          key: "_CreateBannerAd",
                          value: function () {
                              var e = this;
                              arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                              if (a.default.IsNullOrEmpty(this.platformData.bannerId))
                                  console.log("无有效的banner广告ID,取消加载");
                              else {
                                  var t = this._base.getSystemInfoSync().windowWidth
                                      , n = this._base.getSystemInfoSync().windowHeight
                                      , i = {};
                                  i.adUnitId = this.platformData.bannerId,
                                      i.adIntervals = 100;
                                  var s = {
                                      left: 0,
                                      top: 0,
                                      width: 300
                                  };
                                  i.style = s,
                                      this._bannerAd = this._base.createBannerAd(i),
                                      this._isBannerLoaded = !1,
                                      this._bannerAd && (this._bannerAd.onLoad(function () {
                                          console.log("banner加载成功"),
                                              e._isBannerLoaded = !0,
                                              e._bannerAd.style.top = n - e._bannerAd.style.realHeight - 15,
                                              e._bannerAd.style.left = (t - e._bannerAd.style.realWidth) / 2,
                                              e._refreshBanner && (e.bannerVisible = !0,
                                                  e._bannerAd.show(),
                                                  e._refreshBanner = !1);
                                      }),
                                          this._bannerAd.onError(function (t) {
                                              console.error("banner广告加载失败", t),
                                                  e._refreshBanner && Laya.timer.once(5e3, e, e._CreateBannerAd);
                                          }));
                              }
                          }
                      }, {
                          key: "createNativeAd",
                          value: function (e) {
                              // var t, n = this, a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 20, i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 20, s = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : this.systemInfo.windowWidth;
                              // if (t = e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeSingle[a + "_" + i] : this._nativeListAd[e])
                              //     return t;
                              // var r = ["adunit-02a38d06f1a0c2a2", "adunit-02a38d06f1a0c2a2", "adunit-08d3e8cbf83679ab", "adunit-ef5724f2d04cabd3", "adunit-f64c79699d0bdc66", "adunit-30de842b86772811"]
                              //   , o = this.systemInfo.SDKVersion;
                              // if (o && !(C.LTUtils.compareVersion(o, "2.11.1") < 0) && r[e]) {
                              //     var c = this._base.createCustomAd({
                              //         adUnitId: r[e],
                              //         style: {
                              //             left: i,
                              //             top: a,
                              //             width: s,
                              //             fixed: !1
                              //         }
                              //     });
                              //     return e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeLoadAd[a + "_" + i] = !1 : this.nativeAdLoaded[e] = !1,
                              //     c.onLoad(function() {
                              //         console.log("iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii");
                              //         var t;
                              //         console.log("原生广告加载成功"),
                              //         e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? (t = n._nativeSingleVisible[a + "_" + i],
                              //         n._nativeLoadAd[a + "_" + i] = !0) : (n.nativeAdLoaded[e] = !0,
                              //         t = n._nativeListAdVisible[e]),
                              //         t ? c.show() : (console.log("关闭广告--" + a + "+" + i, c),
                              //         c && c.destroy(),
                              //         e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[a + "_" + i] = null : n._nativeListAd[e] = null);
                              //     }),
                              //     c.onError(function(t) {
                              //         c && c.destroy(),
                              //         e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[a + "_" + i] = null : n._nativeListAd[e] = null,
                              //         console.error("创建原生报错" + a + "+" + i, t),
                              //         Laya.timer.once(3e3, n, n.createNativeAd, [e, a, i, s]);
                              //     }),
                              //     c.onClose(function(t) {
                              //         var s;
                              //         (s = e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[a + "_" + i] : n._nativeListAd[e]) && s.destroy(),
                              //         e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[a + "_" + i] = null : n._nativeListAd[e] = null;
                              //     }),
                              //     e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeSingle[a + "_" + i] = c : this._nativeListAd[e] = c,
                              //     c
                              // }
                          }
                      }, {
                          key: "showNativeAd",
                          value: function (e) {
                              console.log("pppppppppppppppppppppppppppppppppppppp");
                              // var t = this;
                              // if (e) {
                              //     this.hideNativeAd(),
                              //     console.log("打开原生广告"),
                              //     this._nativeOpen = !0;
                              //     var n = this.systemInfo.windowWidth
                              //       , a = this.systemInfo.windowHeight;
                              //     e.forEach(function(e) {
                              //         var i, s, r;
                              //         t._nativeListAdVisible[e.index] || (void 0 != e.top && ((e.center || null == e.center) && (e.top += (Laya.stage.height - 1280) / 2),
                              //         s = e.top * a / Laya.stage.height >> 0),
                              //         void 0 != e.left && (r = e.left * n / Laya.stage.width >> 0),
                              //         e.index == S.EWXNativeAD.horizontalAd && (r = (n - 360) / 2 >> 0,
                              //         s = a - 106),
                              //         t._nativeSingleVisible[s + "_" + r] || (e.index == S.EWXNativeAD.singleAd1 || e.index == S.EWXNativeAD.singleAd2 ? (i = t._nativeSingle[s + "_" + r],
                              //         t._nativeSingleVisible[s + "_" + r] = !0) : (i = t._nativeListAd[e.index],
                              //         t._nativeListAdVisible[e.index] = !0),
                              //         console.log("播放原生广告----"),
                              //         i ? i.show() : ((i = t.createNativeAd(e.index, s, r)) && i.show(),
                              //         e.index == S.EWXNativeAD.singleAd1 || e.index == S.EWXNativeAD.singleAd2 ? t._nativeSingle[s + "_" + r] = i : t._nativeListAd[e.index] = i),
                              //         e.index == S.EWXNativeAD.horizontalAd && console.log("循环 原生广告")));
                              //     });
                              // }
                          }
                      }, {
                          key: "hideNativeAd",
                          value: function (e) {
                              var t = this;
                              console.log("关闭原生广告"),
                                  this._nativeOpen = !1,
                                  e ? e.forEach(function (e) {
                                      var n = t._nativeListAd[e];
                                      n && (e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? (n.destroy(),
                                          t._nativeListAd[e] = null) : n.hide());
                                  }) : this._nativeListAd && this._nativeListAd.forEach(function (e, n) {
                                      e && e.hide(),
                                          t._nativeListAdVisible[n] = !1;
                                  });
                          }
                      }, {
                          key: "IsBannerAvaliable",
                          value: function () {
                              return this._isBannerLoaded
                          }
                      }, {
                          key: "IsVideoAvaliable",
                          value: function () {
                              return this._isVideoLoaded
                          }
                      }, {
                          key: "IsInterstitalAvaliable",
                          value: function () {
                              return this._isInterstitialLoaded
                          }
                      }, {
                          key: "ShowBannerAd",
                          value: function () {
                              this.bannerVisible = !0,
                                  this.IsBannerAvaliable() && this._bannerAd && this._bannerAd.show();
                          }
                      }, {
                          key: "HideBannerAd",
                          value: function () {
                              console.log("hideBannerAd"),
                                  this.bannerVisible = !1,
                                  this._bannerAd && this._bannerAd.hide();
                          }
                      }, {
                          key: "_DoCacheShowVideo",
                          value: function (e, t) {
                              var n = this;
                              this.hasAd && this._rewardVideo ? (console.log("直接显示视频-----"),
                                  this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  this._isVideoLoaded = !1,
                                  this._rewardVideo.show().catch(function (e) {
                                      console.log("没有广告----"),
                                          n._rewardVideo = null,
                                          Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                          l.default.HideLoading();
                                  }),
                                  Laya.stage.event(o.CommonEventId.PAUSE_AUDIO)) : this._DoNoCacheShowVideo(e, t);
                          }
                      }, {
                          key: "_DoNoCacheShowVideo",
                          value: function (e, t) {
                              return;
                              var n = this;
                              if (this._rewardSuccessed = e,
                                  this._rewardSkipped = t,
                                  a.default.IsNullOrEmpty(this.platformData.rewardVideoId))
                                  return console.log("无有效的视频广告ID,取消加载"),
                                      t.run(),
                                      void (t = null);
                              var i = this._base.createRewardedVideoAd;
                              if (null == i)
                                  return console.error("无createRewardedVideoAd方法,跳过初始化"),
                                      t.run(),
                                      void (t = null);
                              l.default.ShowLoading(),
                                  this._videoFailedCount = 0;
                              var s = {};
                              s.adUnitId = this.platformData.rewardVideoId,
                                  console.log("加载并显示视频-----"),
                                  this._rewardVideo = i(s),
                                  this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                      console.log("视频广告加载成功"),
                                          n.hasAd = !0,
                                          n._isVideoLoaded = !0;
                                  }),
                                      this._rewardVideo.onError(function (a) {
                                          n._videoFailedCount++,
                                              console.error("视频广告加载失败", a, n._videoFailedCount),
                                              n.hasAd = !1,
                                              n.ShareAppMessageById(null, e, t),
                                              Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                              l.default.HideLoading();
                                      }),
                                      this._rewardVideo.onClose(function (e) {
                                          Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                              console.log("视频回调", e);
                                          var t = e.isEnded;
                                          u.default.NextFrame().then(function () {
                                              n.first && (n.firstFinish = t,
                                                  n.first = !1),
                                                  t ? (n.lastShowTime = Date.now(),
                                                      n._rewardSuccessed && n._rewardSuccessed.run()) : n._rewardSkipped && n._rewardSkipped.run(),
                                                  n._rewardSuccessed = null,
                                                  n._rewardSkipped = null;
                                          });
                                      }),
                                      Laya.stage.event(o.CommonEventId.PAUSE_AUDIO),
                                      this._rewardVideo.load().then(function () {
                                          return console.log("激励视频 加载成功"),
                                              n._rewardVideo.show().then(function () {
                                                  console.log("没有广告----"),
                                                      n._rewardVideo = null,
                                                      Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                                      l.default.HideLoading();
                                              }).catch(function (e) {
                                                  console.log("没有广告----"),
                                                      n._rewardVideo = null,
                                                      Laya.stage.event(o.CommonEventId.RESUM_AUDIO),
                                                      l.default.HideLoading();
                                              })
                                      }),
                                      this._rewardVideo.show());
                          }
                      }, {
                          key: "ShowRewardVideoAd",
                          value: function (e, t) {
                              this.hideNativeAd(),
                                  console.log("播放视频"),
                                  this._cacheVideoAD && this.hasAd ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                          }
                      }, {
                          key: "ShowAdOrShareAsync",
                          value: function () {
                              return new Promise(function (e) {
                                  s.default.instance.isAd ? r.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                      e(!0);
                                  }), Laya.Handler.create(this, function () {
                                      e(!1);
                                  })) : r.default.instance.ShareAppMessageById(null, Laya.Handler.create(this, function () {
                                      e(!0);
                                  }), Laya.Handler.create(this, function () {
                                      e(!1);
                                  })),
                                      s.default.instance.updateShare();
                              }
                              )
                          }
                      }, {
                          key: "ShowRewardVideoAdAsync",
                          value: function () {
                              console.log("3");
                              return console.log("展示广告-----------"),
                                  new Promise(function (e) {
                                      r.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                          e(!0);
                                      }), Laya.Handler.create(this, function () {
                                          e(!1);
                                      }));
                                  }
                                  )
                          }
                      }, {
                          key: "ShowInterstitalAd",
                          value: function () {
                              if (console.log("showinterstital,插屏"),
                                  this._isInterstitialLoaded) {
                                  if (!(I.default.enterTime + 1e3 * this.showInterStitalFirst > I.default.now)) {
                                      var e = Date.now();
                                      e < this.lastShowTime + 1e3 * this.showInterstitalAdCD ? console.log(this.showInterstitalAdCD + "秒内不重复显示") : (this.lastShowTime = e,
                                          this.bannerVisible && (this.HideBannerAd(),
                                              this.bannerVisible = !0),
                                          this._intersitialAd.show());
                                  }
                              } else
                                  console.error("插页广告尚未加载好");
                          }
                      }, {
                          key: "GetFromAppId",
                          value: function () {
                              return null == this.lauchOption.referrerInfo ? null : a.default.IsNullOrEmpty(this.lauchOption.referrerInfo.appId) ? null : this.lauchOption.referrerInfo.appId
                          }
                      }, {
                          key: "GetScenceId",
                          value: function () {
                              return this.lauchOption ? this.lauchOption.scene : null
                          }
                      }, {
                          key: "checkCollectIn",
                          value: function () {
                              var e = parseInt(this.GetScenceId());
                              return !(!e || 1089 != e && 1104 != e && 1001 != e && 1103 != e)
                          }
                      }, {
                          key: "ranking",
                          value: function () { }
                      }, {
                          key: "_OnShow",
                          value: function (e) {
                              console.log(r.default.platformStr, "OnShow", e),
                                  d.default.instance.eventUI(f.EEventUI.GameResume),
                                  r.default.instance.lauchOption = e,
                                  r.default.instance._CheckUpdate(),
                                  this.NavigateToAppSuccess = null,
                                  u.default.NextFrame().then(function () {
                                      r.default.instance.onResume && r.default.instance.onResume.runWith(e);
                                  });
                          }
                      }, {
                          key: "_OnHide",
                          value: function (e) {
                              console.log(r.default.platformStr, "OnHide", e),
                                  d.default.instance.eventUI(f.EEventUI.GamePasue),
                                  r.default.instance.onPause && r.default.instance.onPause.runWith(e),
                                  this.NavigateToAppSuccess && this.NavigateToAppSuccess();
                          }
                      }, {
                          key: "ShareAppMessage",
                          value: function (t, n, a) {
                              var i, s = this, r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3];
                              console.log("分享消息", t),
                                  i = e._WrapShareInfo(t);
                              var o = !1
                                  , c = 0
                                  , l = function () {
                                      !function () {
                                          if (_.default.instance.firstShareFail,
                                              _.default.instance.shareFailTimes > m.GameConst.data.shareFailNum)
                                              return _.default.instance.shareFailTimes = 0,
                                                  _.default.SaveToDisk(),
                                                  !0;
                                          var e = ((new Date).getTime() - c) / 1e3 >= m.GameConst.data.shareTime;
                                          return e && (e = Math.random() < 1 - m.GameConst.data.shareFailProb),
                                              e
                                      }() ? (_.default.instance.shareFailTimes++,
                                          r && wx.showModal({
                                              title: "分享失败，请分享到其他群",
                                              success: function (e) {
                                                  e.confirm ? s.ShareAppMessage(t, n, a) : e.cancel && (a && a.run(),
                                                      a = null);
                                              }
                                          })) : (n && n.run(),
                                              n = null);
                                  };
                              wx.onShow(function e() {
                                  o && (wx.offShow(e),
                                      Laya.timer.once(100, null, l)),
                                      o = !1;
                              }),
                                  this._base.shareAppMessage(i),
                                  o = !0,
                                  c = (new Date).getTime();
                          }
                      }, {
                          key: "ShareAppMessageById",
                          value: function (e, t, n) {
                              console.log("成功返回", t),
                                  this.ShareAppMessage(s.default.instance.getShareInfoById(e), t, n);
                          }
                      }, {
                          key: "_CreateFeedbackButton",
                          value: function () {
                              var e = Laya.Browser.window.wx;
                              this.feedbackButton = e.createFeedbackButton({
                                  type: "image",
                                  image: "",
                                  style: {
                                      left: 155,
                                      top: 741,
                                      width: 84,
                                      height: 80,
                                      lineHeight: 80,
                                      backgroundColor: "#ffffff",
                                      color: "#ffffff",
                                      textAlign: "center",
                                      fontSize: 16,
                                      borderRadius: 4
                                  }
                              }),
                                  this.feedbackButton.hide();
                          }
                      }, {
                          key: "LoadSubpackageAsync",
                          value: function (e) {
                              // return new Promise(function(t) {
                              //     r.default.instance.LoadSubpackage(e, Laya.Handler.create(this, function() {
                              //         t(!0);
                              //     }), Laya.Handler.create(this, function() {
                              //         t(!1);
                              //     }), null);
                              // }
                              // )
                          }
                      }, {
                          key: "subscribeMes",
                          value: function () {
                              var e = wx.requestSubscribeMessage;
                              e && e({
                                  tmplIds: ["l0OSfnkyjAN0zbhlsFQLKf52FB54cCjBeB-Gh1zJFw8"],
                                  success: function (e) {
                                      console.log(e);
                                  }
                              });
                          }
                      }, {
                          key: "startDeviceMotionListening",
                          value: function (e) {
                              var t = wx.startDeviceMotionListening;
                              t && (t(),
                                  (0,
                                      wx.onDeviceMotionChange)(function (t) {
                                          console.log(t),
                                              e && e.runWith(t);
                                      }));
                          }
                      }, {
                          key: "offDeviceMotionListening",
                          value: function () {
                              var e = wx.stopDeviceMotionListening;
                              if (e) {
                                  e();
                                  var t = wx.offDeviceMotionChange;
                                  t && t();
                              }
                          }
                      }, {
                          key: "LoadSubpackage",
                          value: function (e, t, n, a) {
                              // var i = this
                              //   , s = y.default.instance.packJson[e];
                              // if (!s || s.pathType == k.EPackType.Remote || this.loadSubPackName.indexOf(e) >= 0)
                              //     t && t.run();
                              // else {
                              //     if (this._subSucCallBck[e] = this._subSucCallBck[e] || [],
                              //     t && this._subSucCallBck[e].push(t),
                              //     null == this._base.loadSubpackage)
                              //         return console.log("无加载子包方法,跳过加载子包", e),
                              //         void (t && t.run());
                              //     var r = {};
                              //     r.name = e,
                              //     r.success = function() {
                              //         i.loadSubPackName.push(e),
                              //         console.log("分包加载成功", e);
                              //         var t = i._subSucCallBck[e];
                              //         t && t.forEach(function(e) {
                              //             e && e.run();
                              //         }),
                              //         i._subSucCallBck[e] = [];
                              //     }
                              //     ,
                              //     r.fail = function() {
                              //         console.error("分包加载失败", e),
                              //         n && n.run();
                              //     }
                              //     ,
                              //     this._base.loadSubpackage(r).onProgressUpdate(function(e) {
                              //         Laya.Browser.onMobile && console.log("分包加载进度", e),
                              //         a && a.runWith(e.progress);
                              //     });
                              // }
                          }
                      }, {
                          key: "RecordEvent",
                          value: function (e, t) {
                              console.log("记录事件", e, t);
                              var n = this._base.uma.trackEvent;
                              null != n ? null != t ? n(e, t) : n(e) : console.error("友盟sdk尚未接入,请检查配置");
                          }
                      }, {
                          key: "CreateShareVideoBtn",
                          value: function (e, t, n, a) {
                              var i = {};
                              i.style = {
                                  left: e * this._cacheScreenScale,
                                  top: t * this._cacheScreenScale,
                                  height: a * this._cacheScreenScale,
                                  width: n * this._cacheScreenScale
                              },
                                  i.share = {
                                      query: {
                                          tick: 1
                                      },
                                      bgm: "",
                                      timeRange: [0, 6e4]
                                  },
                                  null == this._shareVideoBtn ? this._shareVideoBtn = this._base.createGameRecorderShareButton(i) : this._shareVideoBtn.show();
                          }
                      }, {
                          key: "HideShareVideoBtn",
                          value: function () {
                              null != this._shareVideoBtn && this._shareVideoBtn.hide();
                          }
                      }, {
                          key: "ShowToast",
                          value: function (e) {
                              this._base && this._base.showToast && this._base.showToast({
                                  title: e,
                                  duration: 2e3
                              });
                          }
                      }, {
                          key: "OpenGameBox",
                          value: function (e) {
                              console.error("当前平台", r.default.platformStr, "暂不支持互推游戏盒子");
                          }
                      }, {
                          key: "NavigateToApp",
                          value: function (e, t, n, a, i, s) {
                              return new Promise(function (a, i) {
                                  wx.navigateToMiniProgram({
                                      appId: e,
                                      path: t,
                                      extraData: n,
                                      envVersion: "release",
                                      success: function (e) {
                                          console.log("小游戏跳转成功", e),
                                              a(!0);
                                      },
                                      fail: function () {
                                          console.log("小游戏跳转失败："),
                                              i(!1);
                                      },
                                      complete: function () { }
                                  });
                              }
                              )
                          }
                      }, {
                          key: "createShortcut",
                          value: function () {
                              console.log("暂未实现");
                          }
                      }, {
                          key: "hideInterstitalAd",
                          value: function () { }
                      }, {
                          key: "showBannerBox",
                          value: function () { }
                      }, {
                          key: "hideBannerBox",
                          value: function () { }
                      }, {
                          key: "showFullScreenAd",
                          value: function () { }
                      }, {
                          key: "showBoxPortalAd",
                          value: function () { }
                      }, {
                          key: "update",
                          value: function () {
                              var e = Date.now()
                                  , t = Math.min(e - this.lastTime, 1e3);
                              this.lastTime = e,
                                  this.bannerVisible && !this._refreshBanner && (this.showTime += t,
                                      this.showTime >= 6e4 && (this.showTime = 0,
                                          this._refreshBanner = !0,
                                          this._isBannerLoaded = !1,
                                          this._bannerAd && this._bannerAd.destroy(),
                                          this._bannerAd = null,
                                          this._CreateBannerAd()));
                          }
                      }, {
                          key: "hasAd",
                          set: function (e) {
                              this._hasAd = e,
                                  d.default.instance.event2d(p.EEventScene.AdChange);
                          },
                          get: function () {
                              return this._hasAd
                          }
                      }], [{
                          key: "_WrapShareInfo",
                          value: function (e) {
                              console.log(e, "分享的字段是--------------");
                              var t = {};
                              if (e.shareTitle && (t.title = e.shareTitle),
                                  e.shareImg && (t.imageUrl = e.shareImg),
                                  e.shareImg && (t.imageUrlId = e.shareImgId),
                                  e.sharePath) {
                                  t.query = {};
                                  var n, a = _createForOfIteratorHelper(e.sharePath.split("?")[1].split("&"));
                                  try {
                                      for (a.s(); !(n = a.n()).done;) {
                                          var i = n.value.split("=");
                                          t.query[i[0]] = i[1];
                                      }
                                  } catch (e) {
                                      a.e(e);
                                  } finally {
                                      a.f();
                                  }
                              }
                              return t
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Res/LTRes.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "Load",
                      value: function (e, t) {
                          var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null;
                          n && n.once && (n.once = !1),
                              Laya.loader.create(e, t, n);
                      }
                  }, {
                      key: "Load2d",
                      value: function (e, t) {
                          var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null;
                          n && n.once && (n.once = !1),
                              Laya.loader.load(e, t, n);
                      }
                  }, {
                      key: "LoadAsync",
                      value: function (t) {
                          var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                          return new Promise(function (a) {
                              e.Load(t, Laya.Handler.create(null, function (e) {
                                  a(e);
                              }), n);
                          }
                          )
                      }
                  }, {
                      key: "Load2dAsync",
                      value: function (t) {
                          var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                          return new Promise(function (a) {
                              e.Load2d(t, Laya.Handler.create(null, function (e) {
                                  a(e);
                              }), n);
                          }
                          )
                      }
                  }, {
                      key: "Get",
                      value: function (e) {
                          var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]
                              , n = Laya.loader.getRes(e);
                          return null == n ? (console.error("资源尚未加载", e),
                              null) : t ? n : n.clone()
                      }
                  }, {
                      key: "LoadAndGet",
                      value: function (t) {
                          var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function a() {
                              return regeneratorRuntime.wrap(function (a) {
                                  for (; ;)
                                      switch (a.prev = a.next) {
                                          case 0:
                                              return a.next = 2,
                                                  e.LoadAsync(t);
                                          case 2:
                                              return a.abrupt("return", e.Get(t, n));
                                          case 3:
                                          case "end":
                                              return a.stop()
                                      }
                              }, a)
                          }))
                      }
                  }, {
                      key: "Unload",
                      value: function (e) {
                          Laya.loader.clearRes(e);
                      }
                  }]),
                      e
              }();
          },
          "./src/LTGame/Res/LTRespackManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Config/LoadPackConfig.ts")
                  , i = n("./src/LTGame/LTUtils/StringEx.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._packs = [],
                              this.packJson = {};
                      }
                      return _createClass(e, [{
                          key: "InitLoadSet",
                          value: function () {
                              this._baseUrl = "https://duoduoyou.com.cn/CDN/Zytt/meishaonvmenggongchang/tianshiemopaoku/bin.zip";
                              if (!i.default.IsNullOrEmpty(this._baseUrl)) {
                                  var e = null;
                                  switch (s.default.instance.platform) {
                                      case r.EPlatformType.TT:
                                      case r.EPlatformType.WX:
                                          e = Laya.MiniAdpter;
                                          break;
                                      case r.EPlatformType.BD:
                                          e = Laya.BMiniAdapter;
                                          break;
                                      case r.EPlatformType.QQ:
                                          e = Laya.QQMiniAdapter;
                                          break;
                                      case r.EPlatformType.Oppo:
                                          e = Laya.QGMiniAdapter;
                                          break;
                                      case r.EPlatformType.Vivo:
                                          e = Laya.VVMiniAdapter;
                                  }
                                  console.log("9999999999999999999999999999999999");
                                  Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/";
                                  if (null != e) {
                                  console.log("9999999999999999999999999999999999");
                                      Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/",
                                      e.nativefiles = [];
                                      var t, n = _createForOfIteratorHelper(this._packs);
                                      try {
                                          for (n.s(); !(t = n.n()).done;) {
                                              var a = t.value;
                                              e.nativefiles.push(a.path);
                                          }
                                      } catch (e) {
                                          n.e(e);
                                      } finally {
                                          n.f();
                                      }
                                  }
                              }
                          }
                      }, {
                          key: "SetRemoteUrl",
                          value: function (e) {
                              this._baseUrl = e;
                          }
                      }, {
                          key: "AddPackData",
                          value: function () {
                              for (var e = this, t = arguments.length, n = new Array(t), a = 0; a < t; a++)
                                  n[a] = arguments[a];
                              n.forEach(function (t) {
                                  e._packs.push(t),
                                      e.packJson[t.name] = t;
                              });
                          }
                      }, {
                          key: "getPackConfig",
                          value: function (e) {
                              if (this._packs)
                                  for (var t = 0; t < this._packs.length; t++)
                                      if (this._packs[t].name == e)
                                          return this._packs[t]
                          }
                      }, {
                          key: "LoadSubPack",
                          value: function (e, t) {
                              e && e.run();
                              return;
                              var n = this;
                              this._subpackLoaded = [],
                                  this._subpackProgress = [];
                              for (var i = 0; i < this._packs.length; ++i) {
                                  this._packs[i].pathType == a.EPackType.SubPack && (this._subpackLoaded.push(!1),
                                      this._subpackProgress.push(0));
                              }
                              for (var r = 0, o = function (i) {
                                  var o = n._packs[i];
                                  if (o.pathType == a.EPackType.SubPack) {
                                      var c = r;
                                      s.default.instance.LoadSubpackage(o.name, Laya.Handler.create(n, function () {
                                          n._subpackLoaded[c] = !0;
                                          for (var t = 0; t < n._subpackLoaded.length; ++t)
                                              if (!n._subpackLoaded[t])
                                                  return;
                                          e && e.run();
                                      }), Laya.Handler.create(n, function () {
                                          console.error("分包加载失败", o);
                                      }), Laya.Handler.create(n, function (e) {
                                          n._subpackProgress[c] = e,
                                              t && (console.log("分包加载进度为------------", n._totalProgress, "------", n._subpackProgress),
                                                  t.runWith(n._totalProgress));
                                      }, null, !1)),
                                          r++;
                                  }
                              }, c = 0; c < this._packs.length; ++c)
                                  o(c);
                              0 == r && (t.runWith(1),
                                  e && e.run());
                          }
                      }, {
                          key: "packs",
                          get: function () {
                              return this._packs
                          }
                      }, {
                          key: "baseUrl",
                          get: function () {
                              return this._baseUrl
                          }
                      }, {
                          key: "_totalProgress",
                          get: function () {
                              var e, t = this._subpackProgress.length, n = 0, a = _createForOfIteratorHelper(this._subpackProgress);
                              try {
                                  for (a.s(); !(e = a.n()).done;) {
                                      n += e.value;
                                  }
                              } catch (e) {
                                  a.e(e);
                              } finally {
                                  a.f();
                              }
                              return n / t
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/Res/ResUrl.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "config_url",
                          value: function () {
                              return e.getDomain() + "res/config/level.json"
                          }
                      }, {
                          key: "build_url",
                          value: function (t) {
                              return e.getDomain() + "res/url/build/" + t + ".png"
                          }
                      }, {
                          key: "music_url",
                          value: function (t) {
                              return i.default.instance.platform == a.EPlatformType.android_233 ? e.getDomain() + "res/wav/" + t + ".wav" : e.getDomain() + "res/mp3/" + t + ".mp3"
                          }
                      }, {
                          key: "sound_url",
                          value: function (t) {
                              return i.default.instance.platform == a.EPlatformType.android_233 ? e.getDomain() + "res/wav/" + t + ".wav" : e.getDomain() + "res/mp3/" + t + ".mp3"
                          }
                      }, {
                          key: "propMesh",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/Assets/art/hero/hero/Girl_Tpose_Allv02-" + t + ".lm"
                          }
                      }, {
                          key: "propMat",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/Assets/_res/mat/player/" + t + ".lmat"
                          }
                      }, {
                          key: "roadMat",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/Assets/_res/mat/platform/" + t + ".lmat"
                          }
                      }, {
                          key: "skyMat",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/Assets/_res/mat/sky/" + t + ".lmat"
                          }
                      }, {
                          key: "icon_url",
                          value: function (t) {
                              return e.getDomain() + "res/url/icon/" + t + ".png"
                          }
                      }, {
                          key: "sky_url",
                          value: function (t) {
                              return e.getDomain() + "res/url/sky/" + t + ".jpg"
                          }
                      }, {
                          key: "getDomain",
                          value: function () {
                              return ""
                          }
                      }, {
                          key: "bg_url",
                          value: function (t) {
                              return e.getDomain() + "res/url/res/bg/" + t + ".png"
                          }
                      }, {
                          key: "musicNameUrl",
                          value: function (t) {
                              return e.getDomain() + "res/songName/" + t + ".png"
                          }
                      }, {
                          key: "prefab_url",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/" + t + ".lh"
                          }
                      }, {
                          key: "scene_url",
                          value: function (t) {
                              return e.getDomain() + "res/export/Conventional/" + t + ".ls"
                          }
                      }, {
                          key: "skinNameUrl",
                          value: function (t) {
                              return e.getDomain() + "res/skinName/" + t + ".png"
                          }
                      }, {
                          key: "iconUrl",
                          value: function (t) {
                              return e.getDomain() + "res/url/icon/" + t + ".png"
                          }
                      }, {
                          key: "skinIconUrl",
                          value: function (t) {
                              return e.getDomain() + "res/url/icon/" + t + ".png"
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/SDK/Impl/SDK_Default.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/SDK/SDKADManager.ts")
                  , i = n("./src/LTGame/SDK/common/ECheckState.ts")
                  , s = n("./src/LTGame/Net/LTHttp.ts")
                  , r = n("./src/script/common/Const.ts")
                  , o = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.uid = "sdk_test";
                      }
                      return _createClass(e, [{
                          key: "video",
                          value: function (e, t, n) { }
                      }, {
                          key: "share",
                          value: function (e, t) { }
                      }, {
                          key: "lvUp",
                          value: function () { }
                      }, {
                          key: "Init",
                          value: function (e, t, n) {
                              this.checkState = i.ECheckState.Normal,
                                  this.isADConfigInited = !0,
                                  this.isADEnable = !0,
                                  this.isConfigEnable = !0,
                                  this.flg = e,
                                  this.channel = t,
                                  this.appId = n,
                                  this.adManager = new a.default,
                                  this._RequestCheckState();
                          }
                      }, {
                          key: "tiaozhuanGame",
                          value: function (e) { }
                      }, {
                          key: "_RequestCheckState",
                          value: function () {
                              var e = this
                                  , t = "https://xcx.dswzxh.com:8087/v/gameinfo/?game=" + r.default.gameName + "&version=" + r.default.resVersion;
                              t && s.default.Send(t, Laya.Handler.create(null, function (t) {
                                  var n = JSON.parse(t).data;
                                  n && (e.checkState = n.is_review ? i.ECheckState.InCheck : i.ECheckState.Normal),
                                      console.log("检查状态更新", e.checkState);
                              }), Laya.Handler.create(null, function (t) {
                                  e.checkState = i.ECheckState.Normal,
                                      console.log("获取版本状态失败", t);
                              }), !0);
                          }
                      }, {
                          key: "Login",
                          value: function (e, t) {
                              console.log("SDK:Login", e, t);
                          }
                      }, {
                          key: "RequestRemoteConfig",
                          value: function () {
                              console.log("SDK:RequestRemoteConfig");
                          }
                      }, {
                          key: "RequestADList",
                          value: function () {
                              console.log("SDK:RequestADList");
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/SDK/Impl/SDK_oppo.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/SDK/Impl/SDK_Default.ts")
                  , i = n("./src/script/ui/UI_MainMediator.ts")
                  , s = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e, t, a) {
                              // console.log("initSdk"),
                              // _get(_getPrototypeOf(n.prototype), "Init", this).call(this, e, t, a);
                              // try {
                              //     syyx_sdk_api.login(Laya.Handler.create(this, function(e) {
                              //         console.log("lwov --\x3e sdk is progress!", e);
                              //     }), Laya.Handler.create(this, function(e) {
                              //         var t = e.d;
                              //         i.UI_MainMediator.instance.lwAds = t,
                              //         console.log("lwov --\x3e sdk is complete!", t);
                              //     }), Laya.Handler.create(this, function(e) {
                              //         console.log("lwov --\x3e sdk is on error!", e);
                              //     }));
                              // } catch (e) {
                              //     console.error("syyx_sdk_api err", e);
                              // }
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/SDK/LTSDK.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/Platform/LTPlatform.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "CreateInstace",
                          value: function (t, n, s) {
                              // if (null != this._instance)
                              //     return console.error("SDK不能反复进行初始化"),
                              //     this._instance;
                              // this._instance = new t,
                              // console.log("开始初始化SDK");
                              // var r = e.getChannel();
                              // return this._instance.Init(n, r, s),
                              // console.log("channel=".concat(r)),
                              // a.default.instance.onLoginEnd = Laya.Handler.create(null, function() {
                              //     a.default.instance.platform == i.EPlatformType.WX || (a.default.instance.loginState.isLogin ? e.instance.Login(a.default.instance.loginState.code, a.default.instance.GetFromAppId()) : console.log("平台未登录,跳过登录sdk"));
                              // }),
                              // this._instance
                          }
                      }, {
                          key: "getChannel",
                          value: function () {
                              var e = a.default.instance.GetStorage("user_from_channel")
                                  , t = a.default.instance.lauchOption;
                              return console.log("本地channel", e),
                                  e || (t && t.query && (e = t.query.channel,
                                      console.log("options channel", e)),
                                      e || (console.log("没有本地数据,channel默认 own"),
                                          e = "own"),
                                      a.default.instance.SetStorage("user_from_channel", e)),
                                  e
                          }
                      }, {
                          key: "instance",
                          get: function () {
                              return null == this._instance ? (console.error("sdk尚未初始化,请先调用CreateInstance进行初始化"),
                                  null) : this._instance
                          }
                      }, {
                          key: "isInited",
                          get: function () {
                              return null != this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/SDK/SDKADManager.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/LTUtils/LTDictionary.ts")
                  , i = n("./src/LTGame/Commom/CommonEventId.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._adDict = new a.default;
                      }
                      return _createClass(e, [{
                          key: "InitADs",
                          value: function (e, t) {
                              this._adDict[e] = t,
                                  console.log("广告位置信息初始化完成,位置ID:", e, "广告信息:", t),
                                  Laya.stage.event(i.CommonEventId.SELF_AD_INITED, e);
                          }
                      }, {
                          key: "HandleClickAd",
                          value: function (e) { }
                      }, {
                          key: "RecordShow",
                          value: function () { }
                      }, {
                          key: "GetADListByLocationId",
                          value: function (e) {
                              return this._adDict[e]
                          }
                      }]),
                          e
                  }();
          },
          "./src/LTGame/SDK/common/ECheckState.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ECheckState", function () {
                      return a
                  }),
                  function (e) {
                      e[e.Normal = 0] = "Normal",
                          e[e.InCheck = 1] = "InCheck",
                          e[e.NoGame = 2] = "NoGame";
                  }(a || (a = {}));
          },
          "./src/LTGame/Start/ESceneType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ESceneType", function () {
                      return a
                  }),
                  function (e) {
                      e[e.None = 0] = "None",
                          e[e.Splash = 1] = "Splash",
                          e[e.Main = 2] = "Main";
                  }(a || (a = {}));
          },
          "./src/LTGame/Start/LTMain.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/Commom/EScreenOrientation.ts")
                  , i = n("./src/script/common/Const.ts")
                  , s = function e(t) {
                      var n = this;
                      _classCallCheck(this, e),
                          this._mainLogic = new t,
                          Laya.MouseManager.multiTouchEnabled = !1,
                          Laya.Shader3D.debugMode = !0;
                      var s = function () {
                          switch (n._mainLogic.screenOrientation) {
                              case a.EScreenOrientation.Landscape:
                                  Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL;
                                  break;
                              case a.EScreenOrientation.Portrait:
                                  Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL;
                                  break;
                              default:
                                  console.error("未处理的屏幕初始化方向", n._mainLogic.screenOrientation);
                          }
                          Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO,
                              Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE,
                              Laya.stage.alignH = Laya.Stage.ALIGN_CENTER,
                              Laya.URL.exportSceneToJson = !0,
                              i.default.enableStat && Laya.Stat.show(),
                              Laya.alertGlobalError(!1),
                              n._mainLogic.InitGame();
                      };
                      if (i.default.support3D) {
                          var r = new Config3D;
                          r.octreeCulling = !1,
                              r.enableMultiLight = !0,
                              r.isAntialias = !0,
                              Laya3D.init(this._mainLogic.designWidth, this._mainLogic.designHeight, r, Laya.Handler.create(null, function () {
                                  s();
                              }));
                      } else
                          Config.useRetinalCanvas = !0,
                              Laya.init(this._mainLogic.designWidth, this._mainLogic.designHeight, Laya.WebGL),
                              s();
                  };
          },
          "./src/LTGame/Start/LTSplashScene.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return C
                  });
              var a = n("./src/LTGame/Fsm/BaseState.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/UIExt/FGui/FGuiData.ts")
                  , r = n("./src/LTGame/Res/LTRespackManager.ts")
                  , o = n("./src/LTGame/Config/ConfigManager.ts")
                  , c = n("./src/UIExt/FGui/FGuiEx.ts")
                  , l = n("./src/LTGame/Start/ESceneType.ts")
                  , u = n("./src/LTGame/Platform/EPlatformType.ts")
                  , h = n("./src/LTGame/Config/LoadPackConfig.ts")
                  , d = n("./src/UIExt/FGui/LoadUIPack.ts")
                  , f = n("./src/script/common/Const.ts")
                  , _ = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , m = n("./src/UIExt/LTGame/LTGameBinder.ts")
                  , p = n("./src/UIExt/UISrc/UI_FlyPanelMediator.ts")
                  , g = n("./src/script/common/maidian.ts")
                  , v = n("./src/script/enum/EMaiType.ts")
                  , y = n("./src/LTGame/3d/SceneManager.ts")
                  , k = n("./src/script/common/LwTools.ts")
                  , C = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          switch (_classCallCheck(this, n),
                          (e = t.call(this, l.ESceneType.Splash))._initUiPack = new d.LoadUIPack("res/fgui_load/Load", 2),
                          e._needLoadOtherUIPack = [new d.LoadUIPack("res/fgui/base/base", 1), new d.LoadUIPack("res/fgui/main/main", 1)],
                          e._loadProgressWeight = [3, 5, 15, 7, 3],
                          e._configProgress = 0,
                          e._otherUIProgress = 0,
                          e._otherPackProgress = 0,
                          e._resProgress = 0,
                          e._subPackProgress = 0,
                          e._isUIShowed = !1,
                          e._jsonPath = "subpack.json",
                          e._lastValue = 0,
                          i.default.instance.platform) {
                              case u.EPlatformType.WX:
                                  break;
                              case u.EPlatformType.QQ:
                                  e._loadProgressWeight = [10, 1, 5, 2, 4];
                                  break;
                              default:
                                  e._loadProgressWeight = [1, 1, 5, 2, 1];
                          }
                          return e
                      }
                      return _createClass(n, [{
                          key: "_DoEnter",
                          value: function () {
                              this._needLoadOtherUIPack.push(new d.LoadUIPack("res/ltgame/ui/LTGame", 2)),
                                  this._needLoadOtherUIPack.push(new d.LoadUIPack("res/fgui/LwYinsi/LwYinsi", 1)),
                                  Laya.loader.load(this._jsonPath, Laya.Handler.create(this, this._OnJsonLoaded));
                          }
                      }, {
                          key: "_OnJsonLoaded",
                          value: function () {
                              var e = Laya.loader.getRes(this._jsonPath);
                              // if (Laya.loader.clearRes(this._jsonPath),
                              // null != e)
                              //     for (var t = 0; t < e.length; ++t) {
                              //         var n = e[t];
                              //         console.log("自动设置分包", n),
                              //         r.default.instance.AddPackData(n);
                              //     }
                              r.default.instance.InitLoadSet(),
                                  this._InitUI();
                          }
                      }, {
                          key: "_InitUI",
                          value: function () {
                              m.default.bindAll(),
                                  this._OnBindUI();
                              var e = [];
                              this._initUiPack.PushUrl(e),
                                  console.log("加载 加载页面"),
                                  Laya.loader.load(e, Laya.Handler.create(this, this._OnUILoaded));
                          }
                      }, {
                          key: "_OnBindUI",
                          value: function () { }
                      }, {
                          key: "_OnUILoaded",
                          value: function () {
                              var e = this;
                              console.log("加载页面加载成功"),
                                  this._initUiPack.AddPackage();
                              var t = new s.default;
                              t.needFitScreen = !1,
                                  this._ui = c.default.AddUI(this._splashUIClass, t, c.EUILayer.Main),
                                  this._ui.sortingOrder = Number.MAX_SAFE_INTEGER,
                                  f.default.loadUI = this._ui,
                                  this._progressUI1 = this._ui.m_pro2,
                                  this._progressUI1 && (this._progressUI1.value = 0),
                                  this._isUIShowed = !0,
                                  k.LwTools.platform_ov(function () {
                                      f.default.packageType == u.EPackageType.m_美少女学院 ? (e._ui.m_logo.selectedIndex = 1,
                                          e._ui.m_gameID.text = "") : f.default.packageType == u.EPackageType.w_我叫安吉拉 ? (e._ui.m_logo.selectedIndex = 2,
                                              e._ui.m_gameID.text = "") : f.default.packageType == u.EPackageType.n_你是我的情敌 ? (e._ui.m_logo.selectedIndex = 3,
                                                  e._ui.m_gameID.text = "") : f.default.packageType == u.EPackageType.t_天际狂飙 ? (e._ui.m_logo.selectedIndex = 4,
                                                      e._ui.m_gameID.text = "") : f.default.packageType == u.EPackageType.m_抓住小姐姐 ? (e._ui.m_logo.selectedIndex = 5,
                                                          e._ui.m_gameID.text = "") : (e._ui.m_logo.selectedIndex = 0,
                                                              e._ui.m_gameID.text = "");
                                  }),
                                  window.loadingView && (console.log("有安卓加载页面---"),
                                      window.loadingView.hideLoadingView()),
                                  r.default.instance.LoadSubPack(Laya.Handler.create(this, this._OnPackLoaded), 
                                  Laya.Handler.create(this, this._OnPackProgress, null, !1));
                          }
                      }, {
                          key: "_OnPackProgress",
                          value: function (e) {
                              this._subPackProgress = e;
                          }
                      }, {
                          key: "_OnPackLoaded",
                          value: function () {
                              this._StartLoad();
                          }
                      }, {
                          key: "_StartLoad",
                          value: function () {
                              if (this._OnSetLoadConfig(),
                                  o.ConfigManager.needLoadCount <= 0)
                                  return this._configProgress = 1,
                                      void this._OnConfigLoaded();
                              o.ConfigManager.StartLoad(Laya.Handler.create(this, this._OnConfigLoaded), 
                              Laya.Handler.create(this, this._OnConfigProgress, null, !1));
                          }
                      }, {
                          key: "_OnSetLoadConfig",
                          value: function () { }
                      }, {
                          key: "_OnConfigProgress",
                          value: function (e) {
                              this._configProgress = e;
                          }
                      }, {
                          key: "_OnConfigLoaded",
                          value: function () {
                              console.log("999999999999999999999999");
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, s, o;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (y.default.instance.initConfig(),
                                                      g.default.instance.youmemNewReport(v.newYoumenType.进入loading),
                                                      0 != this._needLoadOtherUIPack.length) {
                                                      e.next = 5;
                                                      break
                                                  }
                                                  return this._OnOtherUILoaded(),
                                                      e.abrupt("return");
                                              case 5:
                                                  t = [],
                                                      n = 0;
                                              case 7:
                                                  if (!(n < this._needLoadOtherUIPack.length)) {
                                                      e.next = 21;
                                                      break
                                                  }
                                                  if (a = this._needLoadOtherUIPack[n],
                                                      i.default.instance.platform != u.EPlatformType.WX) {
                                                      e.next = 17;
                                                      break
                                                  }
                                                  if (s = (s = a.packPath.replace(/\//g, "_")).substring(0, s.lastIndexOf("_")),
                                                      !(o = r.default.instance.getPackConfig(s)) || o.pathType != h.EPackType.SubPackNo) {
                                                      e.next = 16;
                                                      break
                                                  }
                                                  return e.next = 16,
                                                      i.default.instance.LoadSubpackageAsync(s);
                                              case 16:
                                                  this._otherPackProgress = n / this._needLoadOtherUIPack.length;
                                              case 17:
                                                  a.PushUrl(t);
                                              case 18:
                                                  ++n,
                                                      e.next = 7;
                                                  break;
                                              case 21:
                                                  this._otherPackProgress = 1,
                                                      Laya.loader.load(t, Laya.Handler.create(this, this._OnOtherUILoaded), Laya.Handler.create(this, this._OnOtherUIProgress, null, !1));
                                              case 23:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "_OnOtherUIProgress",
                          value: function (e) {
                              this._otherUIProgress = e;
                          }
                      }, {
                          key: "_OnOtherUILoaded",
                          value: function () {
                              for (var e = 0; e < this._needLoadOtherUIPack.length; ++e) {
                                  var t = this._needLoadOtherUIPack[e];
                                  t.AddPackage(),
                                      console.log(t, "已加载");
                              }
                              this.setPackageItemExtension(),
                                  p.default.instance.Show();
                              var n = [];
                              if (this._OnGameResPrepared(n),
                                  0 == n.length)
                                  return this._resProgress = 1,
                                      void this._OnResLoaded();
                              Laya.loader.create(n, Laya.Handler.create(this, this._OnResLoaded), Laya.Handler.create(this, this._OnResProgress, null, !1));
                          }
                      }, {
                          key: "setPackageItemExtension",
                          value: function () {
                              var e = f.default.mainPackToClass;
                              for (var t in e)
                                  _.fairygui.UIObjectFactory.setPackageItemExtension(_.fairygui.UIPackage.getItemURL("main", t), e[t]);
                              var n = f.default.commonPackToClass;
                              for (var a in n)
                                  _.fairygui.UIObjectFactory.setPackageItemExtension(_.fairygui.UIPackage.getItemURL("LTGame", a), n[a]);
                          }
                      }, {
                          key: "_OnGameResPrepared",
                          value: function (e) { }
                      }, {
                          key: "_OnResProgress",
                          value: function (e) {
                              this._resProgress = e;
                          }
                      }, {
                          key: "_OnResLoaded",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  this._progressUI1 && (this._progressUI1.value = 100),
                                                      Laya.timer.clearAll(this),
                                                      g.default.instance.youmemNewReport(v.newYoumenType.结束loading),
                                                      this._OnGameResLoaded();
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "_OnGameResLoaded",
                          value: function () { }
                      }, {
                          key: "_DoRunning",
                          value: function () {
                              if (this._isUIShowed) {
                                  var e = this._loadProgress;
                                  e >= 90 && (e = 90),
                                      this._progressUI1 && e == this._lastValue ? this._progressUI1.value += .2 : (this._lastValue = e,
                                          this._progressUI1 && (this._progressUI1.value = Math.max(this._progressUI1.value, e)));
                              }
                          }
                      }, {
                          key: "_DoExit",
                          value: function () { }
                      }, {
                          key: "_loadProgress",
                          get: function () {
                              var e = this._loadProgressWeight[0] + this._loadProgressWeight[1] + this._loadProgressWeight[2] + this._loadProgressWeight[3] + this._loadProgressWeight[4];
                              return (this._loadProgressWeight[0] * this._subPackProgress + this._loadProgressWeight[1] * this._configProgress + this._loadProgressWeight[2] * this._resProgress + this._loadProgressWeight[3] * this._otherUIProgress + this._loadProgressWeight[4] * this._otherPackProgress) / e * 100
                          }
                      }]),
                          n
                  }();
          },
          "./src/LTGame/Start/LTStart.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LTStart", function () {
                      return f
                  });
              var a = n("./src/LTGame/Fsm/StateMachine.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/LTGame/Platform/Data/LTPlatformData.ts")
                  , r = n("./src/UIExt/FGui/FGuiEx.ts")
                  , o = n("./src/LTGame/LTUtils/MonoHelper.ts")
                  , c = n("./src/LTGame/LTVersion.ts")
                  , l = n("./src/LTGame/Commom/EScreenOrientation.ts")
                  , u = n("./src/LTGame/SDK/LTSDK.ts")
                  , h = n("./src/LTGame/SDK/Impl/SDK_Default.ts")
                  , d = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , f = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.screenOrientation = l.EScreenOrientation.Portrait;
                      }
                      return _createClass(e, [{
                          key: "InitGame",
                          value: function () {
                              i.default.CreateInstance(),
                                  console.log("游戏开始初始化,当前框架版本号", c.default.version),
                                  this._Init();
                          }
                      }, {
                          key: "_Init",
                          value: function () {
                              var self = this;
                              let ie = Laya.LocalStorage.getItem("isDit");
                              // let ie = "aaa";https://duoduoyou.com.cn/CDN/Zytt/lameilaipaoku/bin.zip
                          // if (1==0) {
                          if (null == ie || "" == ie) {
                              console.log("3333333333333333333333333333333333333333333333333333333");
                              // var downloadTask = qg.downloadFile({
                              var downloadTask = qg.download({
                                  //资源下载==============================================
                                  url: "https://duoduoyou.com.cn/CDN/Zytt/meishaonvmenggongchang/tianshiemopaoku/bin.zip",
                                  success: function (data) {
                                      console.log("444444444444444444444444444444444444444444444444444");
                                      console.log(`handling success, tempFilePath = ${data.tempFilePath}`);
                                      qg.unzipFile({
                                          // const fs = qg.getFileSystemManager()
                                          // fs.unzip({
                                              //解压资源=====================================================
                                              // zipFilePath:data.tempFilePath,
                                              // targetPath:qg.env.USER_DATA_PATH + "/bin/",
                                                srcUri: data.tempFilePath,
                                                dstUri: qg.env.USER_DATA_PATH + "/bin/",
                                          success: function (uri) {
                                              console.log("55555555555555555555555555555555555555555555555555555555");
                                              console.log(`handling success: ${uri}`);
                                              console.log(qg.env.USER_DATA_PATH + "/bin/");
                                              Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/";
                                              Advertisement.initVal();
                                              console.log("mp3分包加载成功111111111");
                                              var e = new s.default;
                                              self._HandleInitPlatform(i.default.instance.platform, e),
                                              i.default.instance.Init(e),
                                              self._HandleSDK(),
                                              u.default.isInited || u.default.CreateInstace(h.default, "default", "default"),
                                              self.setGui(),
                                              r.default.Init(i.default.instance.safeArea),
                                              Laya.timer.frameOnce(1, self, self._NextFramUpdate);
                                              // function huaweiMsg(fn) {
                                                  const msg = Laya.LocalStorage.getItem("huaweiMsg333");
                                                  if (!msg) {
                                                      console.log("tttttttttttttttttttttttttt");
                                                      UIConfig.closeDialogOnSide = false;
                                                      Laya.Dialog.open("ads/HuaweiMsg.json", false, null, Laya.Handler.create(this, (view) => {
                                                          view.panel.vScrollBarSkin = "";
                                                          view.btnCancel.on(Laya.Event.CLICK, view, () => {
                                                              view.close();
                                                              qg.exitApplication({
                                                                  success: function () {
                                                                      console.log("exitApplication success");
                                                                  },
                                                                  fail: function () {
                                                                      console.log("exitApplication fail");
                                                                  },
                                                                  complete: function () {
                                                                      console.log("exitApplication complete");
                                                                  }
                                                              });
                                                          });
                                                          view.btnConfirm.on(Laya.Event.CLICK, view, () => {
                                                              Laya.LocalStorage.setItem("huaweiMsg333", "333");
                                                              view.close();
                                                              // YYGMiniGames.showBanner()
                                                          });
                                                      }));
                                                  }
                                              Laya.LocalStorage.setItem("isDit",1);
                                          },
                                          fail: function (data, code) {
                                              console.log(`handling fail, code = ${code}`);
                                          }
                                      });
                                  },
                                  fail: function (data, code) {
                                      console.log(`handling fail, code = ${code}`);
                                  }
                              });

                              downloadTask.onProgressUpdate(function (msg) {
                                  console.log('SSSSSSSSSSSSSSSSS');
                                  var progress = msg["progress"];
                                  console.log(progress + "%");
                              });
                          }
                          else {
                              Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/";
                              Advertisement.initVal();
                              console.log("mp3分包加载成功");
                              var e = new s.default;
                              self._HandleInitPlatform(i.default.instance.platform, e),
                              i.default.instance.Init(e),
                              self._HandleSDK(),
                              u.default.isInited || u.default.CreateInstace(h.default, "default", "default"),
                              self.setGui(),
                              r.default.Init(i.default.instance.safeArea),
                              Laya.timer.frameOnce(1, self, self._NextFramUpdate);
                              // function huaweiMsg(fn) {
                                  const msg = Laya.LocalStorage.getItem("huaweiMsg");
                                  if (!msg) {
                                      UIConfig.closeDialogOnSide = false;
                                      Laya.Dialog.open("ads/HuaweiMsg.json", false, null, Laya.Handler.create(this, (view) => {
                                          view.panel.vScrollBarSkin = "";
                                          view.btnCancel.on(Laya.Event.CLICK, view, () => {
                                              view.close();
                                              qg.exitApplication({
                                                  success: function () {
                                                      console.log("exitApplication success");
                                                  },
                                                  fail: function () {
                                                      console.log("exitApplication fail");
                                                  },
                                                  complete: function () {
                                                      console.log("exitApplication complete");
                                                  }
                                              });
                                          });
                                          view.btnConfirm.on(Laya.Event.CLICK, view, () => {
                                              Laya.LocalStorage.setItem("huaweiMsg", {});
                                              view.close();
                                              // YYGMiniGames.showBanner()
                                          });
                                      }));
                                  }
                              }
                          

                              return;
                              var self = this;
                              qg.loadSubpackage({
                                  name:"fgui",
                                  success:function(){
                                  console.log("mp3分包加载成功");
                                  qg.loadSubpackage({
                                      name:"exp",
                                      success:function(){
                                          console.log("exp分包加载成功");
                                          qg.loadSubpackage({
                                              name:"url",
                                              success:function(){
                                              console.log("url分包加载成功");
                                              qg.loadSubpackage({
                                                      name:"config",
                                                      success:function(){
                                                      console.log("config分包加载成功");
                                                      qg.loadSubpackage({
                                                              name:"mp3",
                                                              success:function(){
                                                              Advertisement.initVal();
                                                              console.log("mp3分包加载成功");
                                                              var e = new s.default;
                                                                  self._HandleInitPlatform(i.default.instance.platform, e),
                                                                  i.default.instance.Init(e),
                                                                  self._HandleSDK(),
                                                                  u.default.isInited || u.default.CreateInstace(h.default, "default", "default"),
                                                                  self.setGui(),
                                                                  r.default.Init(i.default.instance.safeArea),
                                                                  Laya.timer.frameOnce(1, self, self._NextFramUpdate);
                                                                  // function huaweiMsg(fn) {
                                                                      const msg = Laya.LocalStorage.getItem("huaweiMsg");
                                                                      if (!msg) {
                                                                          UIConfig.closeDialogOnSide = false;
                                                                          Laya.Dialog.open("ads/HuaweiMsg.json", false, null, Laya.Handler.create(this, (view) => {
                                                                              view.panel.vScrollBarSkin = "";
                                                                              view.btnCancel.on(Laya.Event.CLICK, view, () => {
                                                                                  view.close();
                                                                                  qg.exitApplication({
                                                                                      success: function () {
                                                                                          console.log("exitApplication success");
                                                                                      },
                                                                                      fail: function () {
                                                                                          console.log("exitApplication fail");
                                                                                      },
                                                                                      complete: function () {
                                                                                          console.log("exitApplication complete");
                                                                                      }
                                                                                  });
                                                                              });
                                                                              view.btnConfirm.on(Laya.Event.CLICK, view, () => {
                                                                                  Laya.LocalStorage.setItem("huaweiMsg", {});
                                                                                  view.close();
                                                                                  // YYGMiniGames.showBanner()
                                                                              });
                                                                          }));
                                                                      }
                                                                  // }
                                                              },
                                                              fail:function(){
                                                                  console.log("分包加载失败");
                                                              }
                                                          });
                                                          
                                                      },
                                                      fail:function(){
                                                          console.log("分包加载失败");
                                                      }
                                                  });
                                              },
                                              fail:function(){
                                                  console.log("分包加载失败");
                                              }
                                          });
                                      },
                                      fail:function(){
                                          console.log("分包加载失败");
                                      }
                                  });
                                  },
                                  fail:function(){
                                      console.log("分包加载失败");
                                  }
                              });
                              
                              
                          }
                      }, {
                          key: "setGui",
                          value: function () {
                              d.fairygui.UIObjectFactory.setComponentItemClass(0, d.fairygui.GImage),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(1, d.fairygui.GMovieClip),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(3, d.fairygui.GGraph),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(4, d.fairygui.GLoader),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(5, d.fairygui.GGroup),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(6, d.fairygui.GTextField),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(7, d.fairygui.GRichText),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(8, d.fairygui.GTextInput),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(9, d.fairygui.GComponent),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(10, d.fairygui.GList),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(11, d.fairygui.GLabel),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(12, d.fairygui.GButton),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(13, d.fairygui.GComboBox),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(14, d.fairygui.GProgressBar),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(15, d.fairygui.GSlider),
                                  d.fairygui.UIObjectFactory.setComponentItemClass(16, d.fairygui.GScrollBar);
                          }
                      }, {
                          key: "_NextFramUpdate",
                          value: function () {
                              this._fsm = new a.default,
                                  this._InitFsm(),
                                  0 != this._fsm.count ? (this._fsm.ChangeState(1),
                                      this._RegistUpdate()) : console.error("请在_InitFsm中先进行状态注册");
                          }
                      }, {
                          key: "_RegistUpdate",
                          value: function () {
                              o.default.instance.AddAction(o.EActionType.Update, this, this._LogicUpdate),
                                  o.default.instance.AddAction(o.EActionType.LateUpdate, this, this._LateUpdate);
                          }
                      }, {
                          key: "_UnRegistUpdate",
                          value: function () {
                              o.default.instance.RemoveAction(o.EActionType.Update, this, this._LogicUpdate),
                                  o.default.instance.RemoveAction(o.EActionType.LateUpdate, this, this._LateUpdate);
                          }
                      }, {
                          key: "_HandleSDK",
                          value: function () { }
                      }, {
                          key: "_HandleInitPlatform",
                          value: function (e, t) { }
                      }, {
                          key: "_LogicUpdate",
                          value: function () {
                              var e = Laya.timer.delta / 1e3
                                  , t = this._currentState.GetNextState();
                              if (0 != t && !this._fsm.ChangeState(t, null))
                                  return console.error("场景切换发生错误,无法进行切换,终止游戏流程"),
                                      void this._UnRegistUpdate();
                              this._fsm.OnRunning(null, e);
                          }
                      }, {
                          key: "_LateUpdate",
                          value: function () {
                              var e = Laya.timer.delta / 1e3;
                              this._currentState.OnLateUpdate(e);
                          }
                      }, {
                          key: "_InitFsm",
                          value: function () { }
                      }, {
                          key: "_currentState",
                          get: function () {
                              return this._fsm.currState
                          }
                      }, {
                          key: "designWidth",
                          get: function () {
                              switch (this.screenOrientation) {
                                  case l.EScreenOrientation.Portrait:
                                      return 720;
                                  case l.EScreenOrientation.Landscape:
                                      return 1280;
                                  default:
                                      return console.error("未处理的屏幕初始化方向", this.screenOrientation),
                                          0
                              }
                          }
                      }, {
                          key: "designHeight",
                          get: function () {
                              switch (this.screenOrientation) {
                                  case l.EScreenOrientation.Portrait:
                                      return 1280;
                                  case l.EScreenOrientation.Landscape:
                                      return 720;
                                  default:
                                      return console.error("未处理的屏幕初始化方向", this.screenOrientation),
                                          0
                              }
                          }
                      }]),
                          e
                  }();
          },
          "./src/UIExt/FGui/BaseUIMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/UIExt/FGui/FGuiEx.ts")
                  , i = n("./src/UIExt/FGui/FGuiData.ts")
                  , s = n("./src/LTGame/SDK/LTSDK.ts")
                  , r = n("./src/LTGame/Manager/MesManager.ts")
                  , o = n("./src/script/enum/EEventUI.ts")
                  , c = n("./src/LTGame/Platform/LTPlatform.ts")
                  , l = n("./src/LTGame/Platform/EPlatformType.ts")
                  , u = n("./src/UIExt/LTUI.ts")
                  , h = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , d = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._scaleSmall = .8,
                              this._tweenTime = 180,
                              this.openAniTime = 180,
                              this._noClose = !1,
                              this._needLoadPanel = !0,
                              this._isLoginOpen = !1,
                              this._needSubRes = [],
                              this._layer = a.EUILayer.Panel,
                              this._needCloseAni = !1,
                              this._needOpenAni = !1,
                              this._isHaveBg = !0,
                              this._isFullView = !1,
                              this._needFilScreen = !1,
                              this._isShow = !1,
                              this._parent = null,
                              this._sortOrder = 10;
                      }
                      return _createClass(e, [{
                          key: "_InitBottom",
                          value: function () {
                              var e = this.ui.m_bottom_group;
                              this._defaultBottomHeight = null == e ? 0 : e.y;
                          }
                      }, {
                          key: "_SetBottomDown",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0
                                  , t = this.ui.m_bottom_group;
                              null != t && (t.y = this._defaultBottomHeight + e);
                          }
                      }, {
                          key: "_closeLoadPanel",
                          value: function () {
                              this._needLoadPanel && u.default.HideLoading();
                          }
                      }, {
                          key: "Show",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null
                                  , t = arguments.length > 1 ? arguments[1] : void 0;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  var r, o, h, d, f, _;
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  if (this._ui && (this._ui.visible = !0),
                                                      !this._isShow) {
                                                      n.next = 4;
                                                      break
                                                  }
                                                  return this._isShow && this._parent && this._parent.addChild(this._ui),
                                                      n.abrupt("return");
                                              case 4:
                                                  if (this.eventListers = [],
                                                      this.eventObjects = [],
                                                      this.eventTypes = [],
                                                      this._isShow = !0,
                                                      this._needLoadPanel && u.default.ShowLoading(),
                                                      c.default.instance.platform != l.EPlatformType.WX) {
                                                      n.next = 18;
                                                      break
                                                  }
                                                  r = 0;
                                              case 11:
                                                  if (!(r < this._needSubRes.length)) {
                                                      n.next = 18;
                                                      break
                                                  }
                                                  if (!this._needSubRes[r]) {
                                                      n.next = 15;
                                                      break
                                                  }
                                                  return n.next = 15,
                                                      c.default.instance.LoadSubpackageAsync(this._needSubRes[r]);
                                              case 15:
                                                  r++,
                                                      n.next = 11;
                                                  break;
                                              case 18:
                                                  if (this._isShow) {
                                                      n.next = 20;
                                                      break
                                                  }
                                                  return n.abrupt("return");
                                              case 20:
                                                  return n.next = 22,
                                                      this.loadRes();
                                              case 22:
                                                  if (this._isShow) {
                                                      n.next = 24;
                                                      break
                                                  }
                                                  return n.abrupt("return");
                                              case 24:
                                                  if (this._closeLoadPanel(),
                                                      this._backPanel = t,
                                                      this._openParam = e,
                                                      (o = new i.default).needFitScreen = this._needFilScreen,
                                                      this._ui ? (this._parent.addChild(this._ui),
                                                          a.default.removeNowLayer(this._layer)) : (this._ui = a.default.AddUI(this._classDefine, o, this._layer),
                                                              this._parent = this._ui.parent),
                                                      this._ui) {
                                                      n.next = 32;
                                                      break
                                                  }
                                                  return n.abrupt("return");
                                              case 32:
                                                  this._ui.mediator = this,
                                                      this._ui.m_screen && (h = Laya.Browser.clientWidth / Laya.Browser.clientHeight,
                                                          this._ui.m_screen.selectedIndex = h < .5 ? 1 : 0),
                                                      this._layer == a.EUILayer.Panel ? a.default.panels.push(this) : this._layer == a.EUILayer.Main ? a.default.mainPanels.push(this) : this._layer == a.EUILayer.Popup && a.default.popupPanels.push(this),
                                                      this._ui.sortingOrder = this._sortOrder,
                                                      this._OnShow(),
                                                      d = "m_anim_enter",
                                                      this.ui && this._ui[d] && s.default.instance.isDelayClose && this._ui[d].play(Laya.Handler.create(this, this._CallEnterAnimEnd)),
                                                      this.ui && this._needOpenAni ? (f = .3,
                                                          this._isHaveBg && ((_ = this.ui.getChildAt(0)).setScale(1 / f, 1 / f),
                                                              _.setXY(this.ui.width / 2, this.ui.height / 2),
                                                              _.setPivot(.5, .5, !0)),
                                                          this.ui.setPivot(.5, .5, !0),
                                                          this.ui.setXY(this.ui.parent.width / 2, this.ui.parent.height / 2),
                                                          this.ui.setScale(f, f),
                                                          Laya.Tween.to(this.ui, {
                                                              scaleX: 1,
                                                              scaleY: 1
                                                          }, this.openAniTime, Laya.Ease.sineIn, Laya.Handler.create(this, this._finalOpen))) : this._finalOpen();
                                              case 40:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_finalOpen",
                          value: function () {
                              this.ui && (this._isFullView && a.default.updateBottomViewVis(!1),
                                  r.default.instance.eventUI(o.EEventUI.PanelOpen, [this.ui.resourceURL, this]));
                          }
                      }, {
                          key: "_CallEnterAnimEnd",
                          value: function () {
                              this._OnEnterAnimEnd();
                          }
                      }, {
                          key: "_OnEnterAnimEnd",
                          value: function () { }
                      }, {
                          key: "onClick",
                          value: function (e, t, n) {
                              this.addEvent(Laya.Event.CLICK, e, t, n);
                          }
                      }, {
                          key: "addEvent",
                          value: function (e, t, n, a) {
                              t.on(e, this, n, a),
                                  this.eventTypes.push(e),
                                  this.eventObjects.push(t),
                                  this.eventListers.push(n);
                          }
                      }, {
                          key: "removeEvents",
                          value: function () {
                              for (var e = 0; e < this.eventTypes.length; e++)
                                  this.eventObjects[e].off(this.eventTypes[e], this, this.eventListers[e]);
                              this.eventListers.length = 0,
                                  this.eventObjects.length = 0,
                                  this.eventListers.length = 0;
                          }
                      }, {
                          key: "_OnShow",
                          value: function () { }
                      }, {
                          key: "Hide",
                          value: function () {
                              var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
                                  , t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                              if (this._isShow && (Laya.timer.clearAll(this),
                                  this._closeLoadPanel(),
                                  null != this._ui && !this._ui.isDisposed)) {
                                  this._isShow = !1,
                                      this._isFullView && a.default.updateBottomViewVis(!0),
                                      this._layer == a.EUILayer.Panel ? (h.LTUtils.arrRemove(a.default.panels, this),
                                          a.default.topViewUpdate()) : this._layer == a.EUILayer.Main ? (h.LTUtils.arrRemove(a.default.mainPanels, this),
                                              a.default.topViewUpdate()) : this._layer == a.EUILayer.Popup && (h.LTUtils.arrRemove(a.default.popupPanels, this),
                                                  a.default.topViewUpdate()),
                                      this._OnHide(),
                                      this.removeEvents(),
                                      Laya.Tween.clearAll(this._ui),
                                      r.default.instance.eventUI(o.EEventUI.PanelHide, this.ui.resourceURL);
                                  if (this._ui.m_anim_exit)
                                      this._ui.m_anim_exit.play(Laya.Handler.create(this, this._DoHide, [e, t]));
                                  else
                                      this._needCloseAni ? Laya.Tween.to(this.ui, {
                                          scaleX: .3,
                                          scaleY: .3
                                      }, this._tweenTime, Laya.Ease.sineIn, Laya.Handler.create(this, this._DoHide, [e, t])) : this._DoHide(e, t);
                              }
                          }
                      }, {
                          key: "viewIntop",
                          value: function () { }
                      }, {
                          key: "viewBackCall",
                          value: function (e) { }
                      }, {
                          key: "_DoHide",
                          value: function (e) {
                              var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  if (e ? (this.ui.dispose(),
                                                      this._ui = null) : this.ui.removeFromParent(),
                                                      !this._backPanel || !t) {
                                                      n.next = 6;
                                                      break
                                                  }
                                                  return this._isLoginOpen && (this._backPanel.instance._isLoginOpen = !0),
                                                      n.next = 5,
                                                      this._backPanel.instance.Show();
                                              case 5:
                                                  this._backPanel.instance.viewBackCall(this);
                                              case 6:
                                                  this._backPanel = null,
                                                      this._isLoginOpen = !1;
                                              case 8:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "getGuideBtn",
                          value: function (e) {
                              if (e.btnName)
                                  return this.ui["m_" + e.btnName]
                          }
                      }, {
                          key: "loadRes",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e)
                              }))
                          }
                      }, {
                          key: "_OnHide",
                          value: function () { }
                      }, {
                          key: "changeX",
                          value: function (e, t) {
                              var n = e.x;
                              e.x = t.x,
                                  t.x = n;
                          }
                      }, {
                          key: "ui",
                          get: function () {
                              return this._ui
                          }
                      }, {
                          key: "isShow",
                          get: function () {
                              return this._isShow
                          }
                      }], [{
                          key: "instance",
                          get: function () { }
                      }]),
                          e
                  }();
          },
          "./src/UIExt/FGui/FGuiData.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e),
                      this.needFitScreen = !1;
              };
          },
          "./src/UIExt/FGui/FGuiEx.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "EUILayer", function () {
                      return a
                  }),
                  n.d(t, "default", function () {
                      return r
                  });
              var a, i = n("./src/LTGame/LTUtils/LTDictionary.ts"), s = n("./src/UIExt/FGui/FGuiData.ts");
              !function (e) {
                  e.Battle = "Battle",
                      e.BattleTop = "BattleTop",
                      e.Main = "Main",
                      e.Panel = "Panel",
                      e.Popup = "Popup",
                      e.Tip = "Tip",
                      e.Game = "Game",
                      e.Ad = "ad";
              }(a || (a = {}));
              var r = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "getLayer",
                      value: function (e) {
                          switch (e) {
                              case a.Main:
                                  return this.mainLayer;
                              case a.Panel:
                                  return this.panelLayer;
                              case a.Popup:
                                  return this.popupLayer;
                              case a.Tip:
                                  return this.tipLayer;
                              case a.Battle:
                                  return this.battleLayer;
                              case a.BattleTop:
                                  return this.battleTipLayer;
                              case a.Ad:
                                  return this.adLayer
                          }
                      }
                  }, {
                      key: "Init",
                      value: function () {
                          var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                          this.safeArea = e,
                              fgui.UIConfig.packageFileExtension = "bin",
                              Laya.stage.addChild(fgui.GRoot.inst.displayObject),
                              this.battleLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.mainLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.battleTipLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.panelLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.popupLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.tipLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.adLayer = fgui.GRoot.inst.addChild(new fgui.GComponent),
                              this.UpdateAllUI(),
                              Laya.stage.on(Laya.Event.RESIZE, this, this.UpdateAllUI);
                      }
                  }, {
                      key: "updateBottomViewVis",
                      value: function (t) {
                          e.mainLayer.visible = t,
                              e.battleLayer.visible = t,
                              e.battleTipLayer.visible = t;
                      }
                  }, {
                      key: "topViewUpdate",
                      value: function () {
                          var t = e.panels.slice(-1)[0];
                          if (t)
                              t.viewIntop();
                          else {
                              var n = e.mainPanels.slice(-1)[0];
                              n && n.viewIntop();
                          }
                      }
                  }, {
                      key: "removeLayer",
                      value: function (t) {
                          t == a.Panel ? e.panels.length > 0 && (e.panels.forEach(function (e) {
                              e && !e._noClose && e.Hide();
                          }),
                              e.panels = []) : t == a.Popup ? e.popupPanels.length > 0 && (e.popupPanels.forEach(function (e) {
                                  e && !e._noClose && e.Hide();
                              }),
                                  e.popupPanels = []) : t == a.Main && e.mainPanels.length > 0 && (e.mainPanels.forEach(function (e) {
                                      e && e.ui && (e.ui.visible = !1);
                                  }),
                                      e.mainPanels = []);
                      }
                  }, {
                      key: "removeNowLayer",
                      value: function (e) {
                          e == a.Panel ? this.removeLayer(a.Panel) : e == a.Main && this.removeLayer(a.Main);
                      }
                  }, {
                      key: "AddUI",
                      value: function (e) {
                          if (e) {

                          }
                          var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null
                              , n = arguments.length > 2 ? arguments[2] : void 0
                              , a = e.createInstance();
                          return this.removeNowLayer(n),
                              this.getLayer(n).addChild(a),
                              null == t && (t = new s.default),
                              null != t && t.needFitScreen ? (a.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height - this.top - this.bottom),
                                  a.y = this.top) : a.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height),
                              this._cacheMap.set(a.constructor.name, t),
                              window[a.constructor.name] = a,
                              console.log("打开界面", e),
                              a
                      }
                  }, {
                      key: "UpdateAllUI",
                      value: function () {
                          var e = Laya.stage.width
                              , t = Laya.stage.height;
                          if (null != this.safeArea) {
                              var n = Laya.stage.width / this.safeArea.width;
                              this.top = this.safeArea.top * n,
                                  this.bottom = this.safeArea.bottom - this.safeArea.height - this.safeArea.top * n;
                          }
                          fgui.GRoot.inst.setSize(e, t);
                          for (var a = fgui.GRoot.inst.numChildren, i = 0; i < a; ++i) {
                              var s = fgui.GRoot.inst.getChildAt(i)
                                  , r = this._cacheMap.get(s.constructor.name);
                              null != r && r.needFitScreen ? (s.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height - this.top - this.bottom),
                                  s.y = this.top) : s.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height);
                          }
                      }
                  }, {
                      key: "CheckIn",
                      value: function (e, t, n) {
                          return t > e.x && t < e.x + e.width && n > e.y && n < e.y + e.height
                      }
                  }]),
                      e
              }();
              r.top = 0,
                  r.bottom = 0,
                  r._cacheMap = new i.default,
                  r.panels = [],
                  r.mainPanels = [],
                  r.popupPanels = [];
          },
          "./src/UIExt/FGui/LoadUIPack.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LoadUIPack", function () {
                      return a
                  });
              var a = function () {
                  function e(t) {
                      var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1;
                      _classCallCheck(this, e),
                          this.packPath = t,
                          this.atliasCount = n;
                  }
                  return _createClass(e, [{
                      key: "PushUrl",
                      value: function (e) {
                          if (e.push({
                              url: this.packPath + ".bin",
                              type: Laya.Loader.BUFFER
                          }),
                              0 != this.atliasCount) {
                              e.push({
                                  url: this.packPath + "_atlas0.png",
                                  type: Laya.Loader.IMAGE
                              });
                              for (var t = 1; t < this.atliasCount; ++t)
                                  e.push({
                                      url: this.packPath + "_atlas0_" + t + ".png",
                                      type: Laya.Loader.IMAGE
                                  });
                          }
                      }
                  }, {
                      key: "load",
                      value: function (e) {
                          var t = this
                              , n = [];
                          this.PushUrl(n),
                              Laya.loader.load(n, Laya.Handler.create(this, function () {
                                  t.AddPackage(),
                                      e && e.run();
                              }));
                      }
                  }, {
                      key: "AddPackage",
                      value: function () {

                          fgui.UIPackage.getById(this.packPath) || fgui.UIPackage.addPackage(this.packPath);
                      }
                  }]),
                      e
              }();
          },
          "./src/UIExt/LTFly.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LTFly", function () {
                      return l
                  });
              var a = n("./src/LTGame/Async/Awaiters.ts")
                  , i = n("./src/LTGame/LTUtils/MathEx.ts")
                  , s = n("./src/ui/main/UI_coinCom.ts")
                  , r = n("./src/UIExt/FGui/FGuiEx.ts")
                  , o = n("./src/UIExt/LTGame/UI_view_fly_coin.ts")
                  , c = n("./src/UIExt/UISrc/UI_FlyPanelMediator.ts")
                  , l = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "getLayerUI",
                          value: function () {
                              if ((arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r.EUILayer.Tip) == r.EUILayer.Tip)
                                  return c.default.instance.ui
                          }
                      }, {
                          key: "BoomObjs",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r.EUILayer.Tip
                                  , t = arguments.length > 1 ? arguments[1] : void 0
                                  , n = arguments.length > 2 ? arguments[2] : void 0
                                  , s = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1
                                  , c = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function r() {
                                  var l, u, h, d, f = this;
                                  return regeneratorRuntime.wrap(function (r) {
                                      for (; ;)
                                          switch (r.prev = r.next) {
                                              case 0:
                                                  for ((l = t.localToGlobal()).x -= t.width / 2,
                                                      l.y -= t.height / 2,
                                                      u = 1e3 * s,
                                                      h = function (n) {
                                                          var a = o.default.createInstance();
                                                          f.getLayerUI(e).addChild(a),
                                                              null != t.url ? a.m_icon.url = t.url : null != t.resourceURL && (a.m_icon.url = t.resourceURL),
                                                              a.m_icon.setSize(t.width, t.height),
                                                              a.setPivot(t.pivotX, t.pivotY),
                                                              a.setXY(l.x, l.y);
                                                          var s = new Laya.Point(l.x + i.default.Random(-c, c), l.y + i.default.Random(-c, c));
                                                          Laya.Tween.to(a, {
                                                              x: s.x,
                                                              y: s.y
                                                          }, u, Laya.Ease.quadOut, Laya.Handler.create(f, function () {
                                                              a.dispose();
                                                          }));
                                                      }
                                                      ,
                                                      d = 0; d < n; ++d)
                                                      h(d);
                                                  return r.next = 8,
                                                      a.default.Seconds(s);
                                              case 8:
                                              case "end":
                                                  return r.stop()
                                          }
                                  }, r)
                              }))
                          }
                      }, {
                          key: "BoomCoins",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r.EUILayer.Tip
                                  , t = arguments.length > 1 ? arguments[1] : void 0
                                  , n = (arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
                                      arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 100)
                                  , o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 1
                                  , c = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 10;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function r() {
                                  var l, u, h, d, f = this;
                                  return regeneratorRuntime.wrap(function (r) {
                                      for (; ;)
                                          switch (r.prev = r.next) {
                                              case 0:
                                                  for (l = t.localToGlobal(),
                                                      u = 1e3 * o,
                                                      h = function (t) {
                                                          var n = s.default.createInstance();
                                                          f.getLayerUI(e).addChild(n),
                                                              n.setXY(l.x, l.y);
                                                          var a = new Laya.Point(l.x + i.default.Random(-c, c), l.y + i.default.Random(-c, c));
                                                          Laya.Tween.to(n, {
                                                              x: a.x,
                                                              y: a.y
                                                          }, u, Laya.Ease.quadInOut, Laya.Handler.create(f, function () {
                                                              n.dispose();
                                                          }));
                                                      }
                                                      ,
                                                      d = 0; d < n; ++d)
                                                      h(d);
                                                  return r.next = 6,
                                                      a.default.Seconds(o);
                                              case 6:
                                              case "end":
                                                  return r.stop()
                                          }
                                  }, r)
                              }))
                          }
                      }, {
                          key: "FlyObjs",
                          value: function () {
                              arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r.EUILayer.Tip;
                              var e = arguments.length > 1 ? arguments[1] : void 0
                                  , t = arguments.length > 2 ? arguments[2] : void 0
                                  , n = arguments.length > 3 ? arguments[3] : void 0
                                  , i = arguments.length > 4 ? arguments[4] : void 0;
                              arguments.length > 5 && arguments[5];
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                  var r;
                                  return regeneratorRuntime.wrap(function (s) {
                                      for (; ;)
                                          switch (s.prev = s.next) {
                                              case 0:
                                                  for (e,
                                                      t,
                                                      .6 * i * 1e3,
                                                      .4 * i * 1e3,
                                                      r = 0; r < n; ++r)
                                                      ;
                                                  return s.next = 7,
                                                      a.default.Seconds(i);
                                              case 7:
                                              case "end":
                                                  return s.stop()
                                          }
                                  }, s)
                              }))
                          }
                      }, {
                          key: "FlyCoins",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : r.EUILayer.Tip
                                  , t = arguments.length > 1 ? arguments[1] : void 0
                                  , n = arguments.length > 2 ? arguments[2] : void 0
                                  , s = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "ui://kg0a5580hufq10a"
                                  , c = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10
                                  , l = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1
                                  , u = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 10
                                  , h = !(arguments.length > 7 && void 0 !== arguments[7]) || arguments[7];
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function r() {
                                  var d, f, _, m, p, g, v, y = this;
                                  return regeneratorRuntime.wrap(function (r) {
                                      for (; ;)
                                          switch (r.prev = r.next) {
                                              case 0:
                                                  for (d = t instanceof Laya.Point ? t : t.localToGlobal(t.width / 2, t.height / 2),
                                                      f = n instanceof Laya.Point ? n : n.localToGlobal(n.width / 2, n.height / 2),
                                                      _ = .7 * l * 1e3,
                                                      m = .3 * l * 1e3,
                                                      p = 0; p < c; ++p)
                                                      g = o.default.createInstance(),
                                                          this.getLayerUI(e).addChild(g),
                                                          null != s && (g.m_icon.url = s),
                                                          g.setXY(d.x, d.y),
                                                          h ? (v = new Laya.Point(d.x + i.default.Random(-u, u), d.y + i.default.Random(-u, u)),
                                                              Laya.Tween.to(g, {
                                                                  x: v.x,
                                                                  y: v.y
                                                              }, _, Laya.Ease.quadInOut, Laya.Handler.create(this, function (e) {
                                                                  Laya.Tween.clearAll(e),
                                                                      Laya.Tween.to(e, {
                                                                          x: f.x,
                                                                          y: f.y
                                                                      }, m, Laya.Ease.quadInOut, Laya.Handler.create(y, function (e) {
                                                                          e && e.dispose();
                                                                      }, [e]));
                                                              }, [g]))) : Laya.Tween.to(g, {
                                                                  x: f.x,
                                                                  y: f.y
                                                              }, m, Laya.Ease.quadInOut, Laya.Handler.create(this, function (e) {
                                                                  e && e.dispose();
                                                              }, [g]), 0, !1);
                                                  return r.next = 7,
                                                      a.default.Seconds(l);
                                              case 7:
                                              case "end":
                                                  return r.stop()
                                          }
                                  }, r, this)
                              }))
                          }
                      }]),
                          e
                  }();
          },
          "./src/UIExt/LTGame/LTGameBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return J
                  });
              var a = n("./src/UIExt/LTGame/UI_NativeInPage.ts")
                  , i = n("./src/UIExt/LTGame/UI_AdInpageComp.ts")
                  , s = n("./src/UIExt/LTGame/UI_iconLongComp.ts")
                  , r = n("./src/UIExt/LTGame/UI_FlyPanel.ts")
                  , o = n("./src/UIExt/LTGame/UI_view_fly_coin.ts")
                  , c = n("./src/UIExt/LTGame/UI_NativeIcon.ts")
                  , l = n("./src/UIExt/LTGame/UI_vectoryFive.ts")
                  , u = n("./src/UIExt/LTGame/UI_Native320.ts")
                  , h = n("./src/UIExt/LTGame/UI_NativeBigAd.ts")
                  , d = n("./src/UIExt/LTGame/UI_btn_normal.ts")
                  , f = n("./src/UIExt/LTGame/UI_setting.ts")
                  , _ = n("./src/UIExt/LTGame/UI_sign.ts")
                  , m = n("./src/UIExt/LTGame/UI_signItemSmall.ts")
                  , p = n("./src/UIExt/LTGame/UI_signItemBig.ts")
                  , g = n("./src/UIExt/LTGame/UI_lottery.ts")
                  , v = n("./src/UIExt/LTGame/UI_lotteryPan.ts")
                  , y = n("./src/UIExt/LTGame/UI_lotteryItem.ts")
                  , k = n("./src/UIExt/LTGame/UI_lotterClose.ts")
                  , C = n("./src/UIExt/LTGame/UI_shop.ts")
                  , S = n("./src/UIExt/LTGame/UI_limitTry.ts")
                  , L = n("./src/UIExt/LTGame/UI_startTry.ts")
                  , I = n("./src/UIExt/LTGame/UI_goodStart.ts")
                  , w = n("./src/UIExt/LTGame/UI_fail.ts")
                  , T = n("./src/UIExt/LTGame/UI_vectory.ts")
                  , P = n("./src/UIExt/LTGame/UI_vectoryDouble.ts")
                  , A = n("./src/UIExt/LTGame/UI_vectoryUp.ts")
                  , E = n("./src/UIExt/LTGame/UI_box.ts")
                  , U = n("./src/UIExt/LTGame/UI_boxItem.ts")
                  , G = n("./src/UIExt/LTGame/UI_TTshare.ts")
                  , b = n("./src/UIExt/LTGame/UI_getSkin.ts")
                  , x = n("./src/UIExt/LTGame/UI_getSkinBtn.ts")
                  , M = n("./src/UIExt/LTGame/UI_CommonLoad.ts")
                  , R = n("./src/UIExt/LTGame/UI_shopTab.ts")
                  , O = n("./src/UIExt/LTGame/UI_shopItem.ts")
                  , B = n("./src/UIExt/LTGame/UI_fiveReward.ts")
                  , D = n("./src/UIExt/LTGame/UI_NativeIconLong.ts")
                  , N = n("./src/UIExt/LTGame/UI_FakeBanner_V.ts")
                  , V = n("./src/UIExt/LTGame/UI_CommonToast.ts")
                  , F = n("./src/UIExt/LTGame/UI_view_toast.ts")
                  , H = n("./src/UIExt/LTGame/UI_FakeRewardVideo.ts")
                  , W = n("./src/UIExt/LTGame/UI_FakeInterstital.ts")
                  , j = n("./src/UIExt/LTGame/UI_ImageBanner.ts")
                  , X = n("./src/UIExt/LTGame/UI_GameIconF.ts")
                  , z = n("./src/UIExt/LTGame/UI_showAd.ts")
                  , Y = n("./src/UIExt/LTGame/UI_freeGet.ts")
                  , q = n("./src/UIExt/LTGame/UI_freeTry.ts")
                  , K = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , J = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "bindAll",
                          value: function () {
                              K.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(s.default.URL, s.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(r.default.URL, r.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(o.default.URL, o.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(c.default.URL, c.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(l.default.URL, l.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(u.default.URL, u.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(h.default.URL, h.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(d.default.URL, d.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(f.default.URL, f.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(_.default.URL, _.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(m.default.URL, m.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(p.default.URL, p.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(g.default.URL, g.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(v.default.URL, v.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(y.default.URL, y.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(k.default.URL, k.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(C.default.URL, C.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(S.default.URL, S.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(L.default.URL, L.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(I.default.URL, I.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(w.default.URL, w.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(T.default.URL, T.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(P.default.URL, P.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(A.default.URL, A.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(E.default.URL, E.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(U.default.URL, U.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(G.default.URL, G.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(b.default.URL, b.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(x.default.URL, x.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(M.default.URL, M.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(R.default.URL, R.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(O.default.URL, O.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(B.default.URL, B.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(D.default.URL, D.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(N.default.URL, N.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(V.default.URL, V.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(F.default.URL, F.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(H.default.URL, H.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(W.default.URL, W.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(j.default.URL, j.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(X.default.URL, X.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(z.default.URL, z.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(Y.default.URL, Y.default),
                                  K.fairygui.UIObjectFactory.setPackageItemExtension(q.default.URL, q.default);
                          }
                      }]),
                          e
                  }();
          },
          "./src/UIExt/LTGame/UI_AdInpageComp.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_img = this.getChildAt(1),
                                  this.m_icon = this.getChildAt(2),
                                  this.m_tag = this.getChildAt(3),
                                  this.m_title = this.getChildAt(4),
                                  this.m_desc = this.getChildAt(5);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "AdInpageComp")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87k92486w";
          },
          "./src/UIExt/LTGame/UI_CommonLoad.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_big_bg = this.getChildAt(0),
                                  this.m_load = this.getChildAt(1);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "CommonLoad")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kmhasc";
          },
          "./src/UIExt/LTGame/UI_CommonToast.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_toast = this.getChildAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "CommonToast")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kovsy7";
          },
          "./src/UIExt/LTGame/UI_FakeBanner_V.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_banner = this.getChildAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "FakeBanner_V")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kovsy4";
          },
          "./src/UIExt/LTGame/UI_FakeInterstital.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_btn_close = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "FakeInterstital")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kovsyb";
          },
          "./src/UIExt/LTGame/UI_FakeRewardVideo.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_btn_reward = this.getChildAt(1),
                                  this.m_btn_skip = this.getChildAt(3);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "FakeRewardVideo")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kovsy9";
          },
          "./src/UIExt/LTGame/UI_FlyPanel.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_test = this.getChildAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "FlyPanel")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kh75rf";
          },
          "./src/UIExt/LTGame/UI_GameIconF.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_mask = this.getChildAt(0),
                                  this.m_icon = this.getChildAt(1),
                                  this.m_title = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "GameIconF")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kr3yg7g";
          },
          "./src/UIExt/LTGame/UI_ImageBanner.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_bg = this.getChildAt(0),
                                  this.m_img_banner = this.getChildAt(1),
                                  this.m_img_icon = this.getChildAt(2),
                                  this.m_img_adnotice = this.getChildAt(3),
                                  this.m_btn_close = this.getChildAt(4);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "ImageBanner")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kqdeh5t";
          },
          "./src/UIExt/LTGame/UI_Native320.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_img = this.getChildAt(0),
                                  this.m_tag = this.getChildAt(1),
                                  this.m_icon = this.getChildAt(2),
                                  this.m_title = this.getChildAt(3),
                                  this.m_desc = this.getChildAt(4),
                                  this.m_btn_close = this.getChildAt(5);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "Native320")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kk7jc6i";
          },
          "./src/UIExt/LTGame/UI_NativeBigAd.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_img = this.getChildAt(0),
                                  this.m_tag = this.getChildAt(1),
                                  this.m_icon = this.getChildAt(2),
                                  this.m_title = this.getChildAt(3),
                                  this.m_desc = this.getChildAt(4),
                                  this.m_btn_close = this.getChildAt(5);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "NativeBigAd")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kl2ax4k";
          },
          "./src/UIExt/LTGame/UI_NativeIcon.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_icon_img = this.getChildAt(0),
                                  this.m_icon_tip = this.getChildAt(1);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "NativeIcon")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kh8ea5w";
          },
          "./src/UIExt/LTGame/UI_NativeIconLong.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_bg1 = this.getChildAt(0),
                                  this.m_ad = this.getChildAt(1),
                                  this.m_btn_close = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "NativeIconLong")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kocvx6t";
          },
          "./src/UIExt/LTGame/UI_NativeInPage.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_bg1 = this.getChildAt(0),
                                  this.m_ad = this.getChildAt(1),
                                  this.m_btn_close = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "NativeInPage")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87k92486v";
          },
          "./src/UIExt/LTGame/UI_TTshare.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_view = this.getChildAt(1),
                                  this.m_close2 = this.getChildAt(5),
                                  this.m_share = this.getChildAt(6);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "TTshare")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqukf";
          },
          "./src/UIExt/LTGame/UI_box.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_status = this.getControllerAt(0),
                                  this.m_key = this.getControllerAt(1),
                                  this.m_box1 = this.getChildAt(3),
                                  this.m_box2 = this.getChildAt(4),
                                  this.m_box3 = this.getChildAt(5),
                                  this.m_box4 = this.getChildAt(6),
                                  this.m_box5 = this.getChildAt(7),
                                  this.m_box6 = this.getChildAt(8),
                                  this.m_box7 = this.getChildAt(9),
                                  this.m_box8 = this.getChildAt(10),
                                  this.m_box9 = this.getChildAt(11),
                                  this.m_clsoe = this.getChildAt(12),
                                  this.m_openThree = this.getChildAt(13),
                                  this.m_icon = this.getChildAt(22),
                                  this.m_geted = this.getChildAt(23),
                                  this.m_close2 = this.getChildAt(24);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "box")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquk2";
          },
          "./src/UIExt/LTGame/UI_boxItem.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_status = this.getControllerAt(0),
                                  this.m_type = this.getControllerAt(1),
                                  this.m_icon = this.getChildAt(4),
                                  this.m_moneyNum = this.getChildAt(5),
                                  this.m_ad = this.getChildAt(6);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "boxItem")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquk6";
          },
          "./src/UIExt/LTGame/UI_btn_normal.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_t0 = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "btn_normal")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kl2ax4l";
          },
          "./src/UIExt/LTGame/UI_fail.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_platform = this.getControllerAt(0),
                                  this.m_close = this.getChildAt(4),
                                  this.m_showAd = this.getChildAt(5),
                                  this.m_next = this.getChildAt(6),
                                  this.m_gameContine = this.getChildAt(7);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "fail")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquj8";
          },
          "./src/UIExt/LTGame/UI_fiveReward.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_close = this.getChildAt(2),
                                  this.m_get = this.getChildAt(3),
                                  this.m_num = this.getChildAt(5);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "fiveReward")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87knzcrla";
          },
          "./src/UIExt/LTGame/UI_freeGet.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_t0 = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "freeGet")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kvlhisc";
          },
          "./src/UIExt/LTGame/UI_freeTry.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_t0 = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "freeTry")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kvlhisd";
          },
          "./src/UIExt/LTGame/UI_getSkin.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(0),
                                  this.m_icon = this.getChildAt(2),
                                  this.m_get = this.getChildAt(3),
                                  this.m_close = this.getChildAt(4),
                                  this.m_get1 = this.getChildAt(5);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "getSkin")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquko";
          },
          "./src/UIExt/LTGame/UI_getSkinBtn.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_video = this.getControllerAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "getSkinBtn")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqukq";
          },
          "./src/UIExt/LTGame/UI_goodStart.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_score = this.getChildAt(4),
                                  this.m_left = this.getChildAt(6),
                                  this.m_right = this.getChildAt(7),
                                  this.m_start = this.getChildAt(8),
                                  this.m_close = this.getChildAt(9);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "goodStart")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquj1";
          },
          "./src/UIExt/LTGame/UI_iconLongComp.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_icon = this.getChildAt(0),
                                  this.m_tag = this.getChildAt(1),
                                  this.m_title = this.getChildAt(2),
                                  this.m_desc = this.getChildAt(3);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "iconLongComp")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87k92486x";
          },
          "./src/UIExt/LTGame/UI_limitTry.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_platform = this.getControllerAt(0),
                                  this.m_icon = this.getChildAt(2),
                                  this.m_num = this.getChildAt(4),
                                  this.m_try = this.getChildAt(6),
                                  this.m_close = this.getChildAt(7),
                                  this.m_freeTry = this.getChildAt(8),
                                  this.m_freeGet = this.getChildAt(9);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "limitTry")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquif";
          },
          "./src/UIExt/LTGame/UI_lotterClose.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "lotterClose")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquh1";
          },
          "./src/UIExt/LTGame/UI_lottery.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_platform = this.getControllerAt(0),
                                  this.m_pro = this.getChildAt(1),
                                  this.m_time = this.getChildAt(9),
                                  this.m_gift = this.getChildAt(10),
                                  this.m_freeTime = this.getChildAt(12),
                                  this.m_timeGroup = this.getChildAt(13),
                                  this.m_pan = this.getChildAt(16),
                                  this.m_lotter = this.getChildAt(19),
                                  this.m_close = this.getChildAt(20),
                                  this.m_noThanks = this.getChildAt(21);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "lottery")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqug0";
          },
          "./src/UIExt/LTGame/UI_lotteryItem.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(0),
                                  this.m_num = this.getChildAt(1),
                                  this.m_icon = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "lotteryItem")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqugk";
          },
          "./src/UIExt/LTGame/UI_lotteryPan.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_item1 = this.getChildAt(1),
                                  this.m_item2 = this.getChildAt(2),
                                  this.m_item3 = this.getChildAt(3),
                                  this.m_item4 = this.getChildAt(4),
                                  this.m_item5 = this.getChildAt(5),
                                  this.m_item7 = this.getChildAt(6),
                                  this.m_item6 = this.getChildAt(7),
                                  this.m_item8 = this.getChildAt(8);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "lotteryPan")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqugj";
          },
          "./src/UIExt/LTGame/UI_setting.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_musicBtn = this.getChildAt(7),
                                  this.m_shakeBgn = this.getChildAt(8),
                                  this.m_soundBtn = this.getChildAt(9),
                                  this.m_close = this.getChildAt(10);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "setting")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquel";
          },
          "./src/UIExt/LTGame/UI_shop.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_tab = this.getControllerAt(0),
                                  this.m_type = this.getControllerAt(1),
                                  this.m_list = this.getChildAt(11),
                                  this.m_close = this.getChildAt(14),
                                  this.m_add = this.getChildAt(15),
                                  this.m_unlock = this.getChildAt(16);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "shop")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquh3";
          },
          "./src/UIExt/LTGame/UI_shopItem.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_new = this.getControllerAt(0),
                                  this.m_selected = this.getControllerAt(1),
                                  this.m_getAway = this.getControllerAt(2),
                                  this.m_using = this.getControllerAt(3),
                                  this.m_icon = this.getChildAt(3),
                                  this.m_get = this.getChildAt(4),
                                  this.m_num = this.getChildAt(8);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "shopItem")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87knzcrku";
          },
          "./src/UIExt/LTGame/UI_shopTab.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(1);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "shopTab")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87knzcrkr";
          },
          "./src/UIExt/LTGame/UI_showAd.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_btnScaleAnim = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "showAd")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kvlhis6";
          },
          "./src/UIExt/LTGame/UI_sign.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(0),
                                  this.m_platform = this.getControllerAt(1),
                                  this.m_day7 = this.getChildAt(4),
                                  this.m_day1 = this.getChildAt(5),
                                  this.m_day2 = this.getChildAt(6),
                                  this.m_day3 = this.getChildAt(7),
                                  this.m_day4 = this.getChildAt(8),
                                  this.m_day5 = this.getChildAt(9),
                                  this.m_day6 = this.getChildAt(10),
                                  this.m_double = this.getChildAt(11),
                                  this.m_sign = this.getChildAt(12),
                                  this.m_close = this.getChildAt(13),
                                  this.m_noThanks = this.getChildAt(14);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "sign")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqufh";
          },
          "./src/UIExt/LTGame/UI_signItemBig.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_signed = this.getControllerAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "signItemBig")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqufu";
          },
          "./src/UIExt/LTGame/UI_signItemSmall.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_signed = this.getControllerAt(0),
                                  this.m_day = this.getControllerAt(1),
                                  this.m_num = this.getChildAt(16);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "signItemSmall")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqufi";
          },
          "./src/UIExt/LTGame/UI_startTry.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_platform = this.getControllerAt(0),
                                  this.m_icon = this.getChildAt(3),
                                  this.m_num = this.getChildAt(4),
                                  this.m_try = this.getChildAt(6),
                                  this.m_close = this.getChildAt(7);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "startTry")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllquii";
          },
          "./src/UIExt/LTGame/UI_vectory.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_noSkin = this.getControllerAt(0),
                                  this.m_platform = this.getControllerAt(1),
                                  this.m_double = this.getChildAt(2),
                                  this.m_close = this.getChildAt(3),
                                  this.m_di = this.getChildAt(4),
                                  this.m_up = this.getChildAt(5),
                                  this.m_nun = this.getChildAt(8),
                                  this.m_per = this.getChildAt(9),
                                  this.m_defultGet = this.getChildAt(10),
                                  this.m_showAd = this.getChildAt(11),
                                  this.m_fiveGet = this.getChildAt(12);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "vectory")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqujm";
          },
          "./src/UIExt/LTGame/UI_vectoryDouble.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_btnScaleAnim = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "vectoryDouble")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqujo";
          },
          "./src/UIExt/LTGame/UI_vectoryFive.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_btnScaleAnim = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "vectoryFive")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kiu4zse";
          },
          "./src/UIExt/LTGame/UI_vectoryUp.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_img = this.getChildAt(1);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "vectoryUp")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kllqujp";
          },
          "./src/UIExt/LTGame/UI_view_fly_coin.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_icon = this.getChildAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "view_fly_coin")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kh75rh";
          },
          "./src/UIExt/LTGame/UI_view_toast.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_toast_str = this.getChildAt(1),
                                  this.m_show = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LTGame", "view_toast")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://75kiu87kovsy8";
          },
          "./src/UIExt/LTUI.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/UIExt/UISrc/UI_CommomToastMediator.ts")
                  , i = n("./src/UIExt/UISrc/UI_CommonLoadMediator.ts")
                  , s = n("./src/UIExt/FGui/FGuiEx.ts")
                  , r = n("./src/UIExt/LTFly.ts")
                  , o = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "Toast",
                          value: function (e) {
                              console.log("[Toast]" + e),
                                  a.default.instance.Show(e);
                          }
                      }, {
                          key: "checkLongUi",
                          value: function () {
                              return Laya.Browser.clientWidth / Laya.Browser.clientHeight < .5
                          }
                      }, {
                          key: "ShowLoading",
                          value: function (e) {
                              i.default.instance.isShow ? console.log("加载弹窗界面已打开") : i.default.instance.Show(e);
                          }
                      }, {
                          key: "FlyCoinsTo",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip
                                  , t = arguments.length > 1 ? arguments[1] : void 0
                                  , n = arguments.length > 2 ? arguments[2] : void 0
                                  , a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : this.coinUrl()
                                  , i = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10
                                  , o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1
                                  , c = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 60
                                  , l = !(arguments.length > 7 && void 0 !== arguments[7]) || arguments[7];
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                  return regeneratorRuntime.wrap(function (s) {
                                      for (; ;)
                                          switch (s.prev = s.next) {
                                              case 0:
                                                  return s.next = 2,
                                                      r.LTFly.FlyCoins(e, t, n, a, i, o, c, l);
                                              case 2:
                                              case "end":
                                                  return s.stop()
                                          }
                                  }, s)
                              }))
                          }
                      }, {
                          key: "HideLoading",
                          value: function () {
                              i.default.instance.Hide();
                          }
                      }, {
                          key: "hpImgUrl",
                          value: function () {
                              return "ui://kk7g5mmmolld4k"
                          }
                      }, {
                          key: "tipImgUrl",
                          value: function () {
                              return "ui://kk7g5mmmolld4h"
                          }
                      }, {
                          key: "coinUrl",
                          value: function () {
                              return "ui://kg0a5580hufq10a"
                          }
                      }, {
                          key: "zuanUrl",
                          value: function () {
                              return "ui://kk7g5mmmi62hg7"
                          }
                      }, {
                          key: "getGenaralColor",
                          value: function (e) {
                              switch (e) {
                                  case 0:
                                      return "#3FA2FF";
                                  case 1:
                                      return "#DB41ED";
                                  case 2:
                                      return "#FFCF4C";
                                  case 3:
                                      return "#EB0805"
                              }
                          }
                      }]),
                          e
                  }();
              Laya.Browser.window && (Laya.Browser.window.LTUI = o);
          },
          "./src/UIExt/UISrc/Cmp/ShopItem.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return v
                  });
              var a = n("./src/LTGame/Manager/MesManager.ts")
                  , i = n("./src/LTGame/Manager/ShopManager.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/Res/ResUrl.ts")
                  , o = n("./src/script/common/GameData.ts")
                  , c = n("./src/script/common/maidian.ts")
                  , l = n("./src/script/enum/EEventUI.ts")
                  , u = n("./src/script/enum/EMaiType.ts")
                  , h = n("./src/UIExt/LTGame/UI_shopItem.ts")
                  , d = n("./src/UIExt/LTUI.ts")
                  , f = n("./src/UIExt/UISrc/UICommon/UI_LimitTryMediator.ts")
                  , _ = n("./src/UIExt/UISrc/UICommon/UI_LotteryMediator.ts")
                  , m = n("./src/UIExt/UISrc/UICommon/UI_ShopMediator.ts")
                  , p = n("./src/UIExt/UISrc/UICommon/UI_SignMediator.ts")
                  , g = n("./src/UIExt/UISrc/UICommon/UI_StartTryMediator.ts")
                  , v = function (e) {
                      _inherits(n, h["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "onConstruct", this).call(this),
                                  this.m_get.onClick(this, this.changeSkin),
                                  this.onClick(this, this._click);
                          }
                      }, {
                          key: "setData",
                          value: function (e) {
                              this._data = e,
                                  this.m_icon.url = r.default.skinIconUrl(e.shopIcon);
                          }
                      }, {
                          key: "changeSkin",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n = this;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (0 != this.m_getAway.selectedIndex) {
                                                      e.next = 4;
                                                      break
                                                  }
                                                  return i.default.instance.setSelectedSkinId(this._data.mapId, this._data.type, 1 == this.m_using.selectedIndex),
                                                      a.default.instance.eventUI(l.EEventUI.changeSkin, [this.index, this._data]),
                                                      e.abrupt("return");
                                              case 4:
                                                  if (1 == this.m_getAway.selectedIndex && (o.default.instance.diamondsCount < this._data.num ? d.default.Toast("金币不足！") : (o.default.reduceDiamonds(this._data.num),
                                                      i.default.instance.unlockShopById(this._data.id, this._data.type),
                                                      this.unlock())),
                                                      2 != this.m_getAway.selectedIndex) {
                                                      e.next = 9;
                                                      break
                                                  }
                                                  return m.default.instance.HideScene(),
                                                      p.default.instance.Show({
                                                          getSkin: Laya.Handler.create(this, function () {
                                                              (o.default.instance.skinVideo[n._data.id] || 0) >= n._data.num && n.unlock();
                                                          })
                                                      }, m.default),
                                                      e.abrupt("return");
                                              case 9:
                                                  if (5 != this.m_getAway.selectedIndex) {
                                                      e.next = 13;
                                                      break
                                                  }
                                                  return m.default.instance.HideScene(),
                                                      g.default.instance.Show({
                                                          skin: this._data,
                                                          shop: !0,
                                                          call: Laya.Handler.create(this, function () {
                                                              var e = o.default.instance.skinVideo[n._data.id] || 0;
                                                              e >= n._data.num ? n.unlock() : n.m_num.text = e + "/" + n._data.num;
                                                          })
                                                      }, m.default),
                                                      e.abrupt("return");
                                              case 13:
                                                  if (6 != this.m_getAway.selectedIndex) {
                                                      e.next = 17;
                                                      break
                                                  }
                                                  return m.default.instance.HideScene(),
                                                      _.default.instance.Show({
                                                          getSkin: Laya.Handler.create(this, function () {
                                                              (o.default.instance.skinVideo[n._data.id] || 0) >= n._data.num && n.unlock();
                                                          })
                                                      }, m.default),
                                                      e.abrupt("return");
                                              case 17:
                                                  if (7 != this.m_getAway.selectedIndex) {
                                                      e.next = 22;
                                                      break
                                                  }
                                                  return e.next = 20,
                                                      s.default.instance.ShowRewardVideoAdAsync();
                                              case 20:
                                                  e.sent && (c.default.instance.reportAndroid233(u.android233Event.视频商店icon.toString()),
                                                      t = o.default.instance.skinVideo[this._data.id] || 0,
                                                      t++,
                                                      o.default.instance.skinVideo[this._data.id] = t,
                                                      t >= this._data.num ? this.unlock() : (this.m_num.text = t + "/" + this._data.num,
                                                          o.default.SaveToDisk()));
                                              case 22:
                                                  if (8 != this.m_getAway.selectedIndex) {
                                                      e.next = 26;
                                                      break
                                                  }
                                                  return m.default.instance.HideScene(),
                                                      f.default.instance.Show({
                                                          getSkin: Laya.Handler.create(this, function () {
                                                              (o.default.instance.skinVideo[n._data.id] || 0) >= n._data.num && n.unlock();
                                                          })
                                                      }, m.default),
                                                      e.abrupt("return");
                                              case 26:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "_click",
                          value: function () {
                              a.default.instance.eventUI(l.EEventUI.shopItemClick, [this.index, this._data]);
                          }
                      }, {
                          key: "unlock",
                          value: function () {
                              a.default.instance.eventUI(l.EEventUI.shopGetNewSKin, [this.index, this._data]);
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_BoxMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return y
                  });
              var a = n("./src/LTGame/Manager/ShopManager.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/Res/ResUrl.ts")
                  , o = n("./src/script/common/GameData.ts")
                  , c = n("./src/script/common/maidian.ts")
                  , l = n("./src/script/common/MMUnit.ts")
                  , u = n("./src/script/config/GameConst.ts")
                  , h = n("./src/script/config/ShopConfig.ts")
                  , d = n("./src/script/enum/EMaiType.ts")
                  , f = n("./src/script/ui/cmp/Money.ts")
                  , _ = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , m = n("./src/UIExt/FGui/FGuiEx.ts")
                  , p = n("./src/UIExt/LTGame/UI_box.ts")
                  , g = n("./src/UIExt/UISrc/UICommon/UI_FiveRewardMediator.ts")
                  , v = n("./src/UIExt/UISrc/UICommon/UI_GetSkinMediator.ts")
                  , y = function (e) {
                      _inherits(n, _["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = m.EUILayer.Popup,
                              e.openBoxTime = 0,
                              e.haveVideo = !0,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  this.ui.height >= 1560 && s.default.instance.ShowBannerAd(),
                                  s.default.instance.platform == i.EPlatformType.TT && l.default.checkConfigMatch("tccs", 0, 0, 0) && s.default.instance.ShowInterstitalAd();
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              this.boxes = [this.ui.m_box1, this.ui.m_box2, this.ui.m_box3, this.ui.m_box4, this.ui.m_box5, this.ui.m_box6, this.ui.m_box7, this.ui.m_box8, this.ui.m_box9],
                                  this.openBoxTime = 3,
                                  o.default.instance.openBoxTime = 0,
                                  o.default.SaveToDisk(),
                                  this.openBoxNum = 0,
                                  this.skinId = a.default.instance.getBoxUnlockId(),
                                  this.getSkin = !1,
                                  s.default.instance.platform == i.EPlatformType.TT && 0 == l.default.getValueByName("boxcount", 0) && this.boxes.forEach(function (e) {
                                      return e.m_ad.alpha = 0
                                  });
                          }
                      }, {
                          key: "resfresView",
                          value: function () {
                              var e = this;
                              this.openBoxNum >= 9 ? this.ui.m_status.selectedIndex = 2 : this.openBoxTime <= 0 ? this.ui.m_status.selectedIndex = 1 : this.ui.m_status.selectedIndex = 0,
                                  this.ui.m_geted.visible = this.getSkin,
                                  this.boxes.forEach(function (t) {
                                      t.m_ad.visible = e.haveVideo && 1 == e.ui.m_status.selectedIndex;
                                  }),
                                  this.setNum();
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              this.skinId && (this.ui.m_icon.url = r.default.skinIconUrl(h.ShopConfig.data[this.skinId].draw)),
                                  this.ui.addChild(f.default.createInstance()).setXY(26, 26),
                                  this.resfresView();
                          }
                      }, {
                          key: "openBox",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var i, l, f;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (1 != e.m_status.selectedIndex) {
                                                      t.next = 2;
                                                      break
                                                  }
                                                  return t.abrupt("return");
                                              case 2:
                                                  if (!e.m_ad.visible) {
                                                      t.next = 11;
                                                      break
                                                  }
                                                  return t.next = 5,
                                                      s.default.instance.ShowRewardVideoAdAsync();
                                              case 5:
                                                  if (t.sent) {
                                                      t.next = 8;
                                                      break
                                                  }
                                                  return t.abrupt("return");
                                              case 8:
                                                  c.default.instance.reportAndroid233(d.android233Event.视频宝箱单个.toString()),
                                                      t.next = 13;
                                                  break;
                                              case 11:
                                                  if (this.openBoxTime) {
                                                      t.next = 13;
                                                      break
                                                  }
                                                  return t.abrupt("return");
                                              case 13:
                                                  i = !1,
                                                      !this.getSkin && this.skinId && (this.openBoxNum >= 3 && this.openBoxNum < 6 ? i = a.default.instance.unlockBoxReward(0, !1) : this.openBoxNum < 8 && this.openBoxNum >= 6 ? i = a.default.instance.unlockBoxReward(1, !1) : 8 == this.openBoxNum && (i = a.default.instance.unlockBoxReward(0, !0))),
                                                      this.openBoxNum++,
                                                      !e.m_ad.visible && this.openBoxTime--,
                                                      e.m_status.selectedIndex = 1,
                                                      i ? (this.getSkin = !0,
                                                          l = h.ShopConfig.data[this.skinId],
                                                          e.m_icon.url = r.default.skinIconUrl(l.shopIcon),
                                                          o.default.instance.unlockSkin.push(this.skinId),
                                                          o.default.SaveToDisk(),
                                                          e.m_type.selectedIndex = 1,
                                                          v.default.instance.Show({
                                                              config: l
                                                          })) : (f = (Math.random() * (u.GameConst.data.boxMoney[1] - u.GameConst.data.boxMoney[0]) >> 0) + u.GameConst.data.boxMoney[0],
                                                              e.m_moneyNum.text = f + "",
                                                              g.default.instance.Show(f, n)),
                                                      this.resfresView();
                                              case 20:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              var e = this;
                              this.onClick(this.ui.m_close2, this.Hide),
                                  this.onClick(this.ui.m_clsoe, this.Hide),
                                  this.onClick(this.ui.m_openThree, this.addTime, [3]),
                                  this.boxes.forEach(function (t) {
                                      e.onClick(t, e.openBox, [t]);
                                  });
                          }
                      }, {
                          key: "setNum",
                          value: function () {
                              this.ui.m_key.selectedIndex = this.openBoxTime;
                          }
                      }, {
                          key: "addTime",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (!(this.openBoxNum + this.openBoxTime >= 9)) {
                                                      t.next = 2;
                                                      break
                                                  }
                                                  return t.abrupt("return");
                                              case 2:
                                                  return t.next = 4,
                                                      s.default.instance.ShowRewardVideoAdAsync();
                                              case 4:
                                                  t.sent && (c.default.instance.reportAndroid233(d.android233Event.视频宝箱钥匙.toString()),
                                                      this.openBoxTime += e,
                                                      this.resfresView());
                                              case 6:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "_offEvent",
                          value: function () { }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              this._offEvent(),
                                  this._openParam && this._openParam.run(),
                                  this._openParam = null,
                                  this.ui.height >= 1560 && s.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = p.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_FailMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return u
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/script/common/LwTools.ts")
                  , r = n("./src/script/common/MMUnit.ts")
                  , o = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , c = n("./src/UIExt/FGui/FGuiEx.ts")
                  , l = n("./src/UIExt/LTGame/UI_fail.ts")
                  , u = function (e) {
                      _inherits(n, o["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = c.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.onClick(this.ui.m_close, this.reset),
                                  this.onClick(this.ui.m_next, this.next),
                                  s.LwTools.platform_ov(function () {
                                      s.LwTools.platform_oppo(function () {
                                          var t = new s.bannerCallObj;
                                          t.showFunc = function () {
                                              s.LwTools.setOppoBannerPos(50);
                                          }
                                              ,
                                              s.LwTools.Init_oppo(e.ui, s.ELwADs.nativeInter_YSJS, !0, !0, t),
                                              s.LwTools.btnMistake(e.ui.m_gameContine, function () {
                                                  e.reset();
                                              });
                                      }),
                                          s.LwTools.platform_vivo(function () {
                                              s.LwTools.Init_vivo(e.ui, s.ELwADs.nativeInter_YSJS);
                                          });
                                  }, function () {
                                      i.default.instance.platform == a.EPlatformType.android_233 && r.default.checkConfigMatch("quanpin", 1, 1, 60) && r.default.checkConfigMatch("quanpin", 1, 0, 60, -.1) && i.default.instance.showFullVideo(),
                                          i.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          i.default.instance.platform == a.EPlatformType.TT && i.default.instance.ShowInterstitalAd();
                                  });
                          }
                      }, {
                          key: "reset",
                          value: function () {
                              this._openParam && this._openParam.reset && this._openParam.reset.run(),
                                  this.Hide();
                          }
                      }, {
                          key: "next",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      i.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (this._openParam && this._openParam.next && this._openParam.next.run(),
                                                      this.Hide());
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              i.default.instance.platform != a.EPlatformType.TT && i.default.instance.platform != a.EPlatformType.android_233 || r.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_next, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              s.LwTools.hideBanner(),
                                  this._openParam = !1,
                                  i.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = l.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_FiveRewardMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return f
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/script/common/GameData.ts")
                  , r = n("./src/script/common/LwTools.ts")
                  , o = n("./src/script/common/maidian.ts")
                  , c = n("./src/script/common/MMUnit.ts")
                  , l = n("./src/script/enum/EMaiType.ts")
                  , u = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , h = n("./src/UIExt/FGui/FGuiEx.ts")
                  , d = n("./src/UIExt/LTGame/UI_fiveReward.ts")
                  , f = function (e) {
                      _inherits(n, u["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = h.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.ui.m_num.text = 5 * this._openParam + "",
                                  this.onClick(this.ui.m_close, this.getReward, [1]),
                                  this.onClick(this.ui.m_get, this.getFive),
                                  i.default.instance.ShowBannerAd(),
                                  this.changeWeizhi(),
                                  i.default.instance.platform == a.EPlatformType.TT && c.default.checkConfigMatch("tccs", 0, 0, 0) && i.default.instance.ShowInterstitalAd();
                          }
                      }, {
                          key: "getFive",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      i.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (this.getReward(5),
                                                      o.default.instance.reportAndroid233(l.android233Event.视频五倍宝箱.toString()));
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "getReward",
                          value: function (e) {
                              s.default.addDiamonds(this._openParam * e),
                                  this.Hide();
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              var e = this;
                              i.default.instance.platform != a.EPlatformType.TT && i.default.instance.platform != a.EPlatformType.android_233 || c.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_get, this.ui.m_close),
                                  r.LwTools.platform_vivo(function () {
                                      r.LwTools.Init_vivo(e.ui, r.ELwADs.nativeBanner_YSBN, 0, !1);
                                  });
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              i.default.instance.HideBannerAd(),
                                  r.LwTools.hideBanner();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = d.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_GetSkinMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return f
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/LTGame/Res/ResUrl.ts")
                  , r = n("./src/script/common/GameData.ts")
                  , o = n("./src/script/common/LwTools.ts")
                  , c = n("./src/script/common/MMUnit.ts")
                  , l = n("./src/script/config/ShopConfig.ts")
                  , u = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , h = n("./src/UIExt/FGui/FGuiEx.ts")
                  , d = n("./src/UIExt/LTGame/UI_getSkin.ts")
                  , f = function (e) {
                      _inherits(n, u["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = h.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function (e, t) {
                              var a = this
                                  , i = Object.create(null, {
                                      Show: {
                                          get: function () {
                                              return _get(_getPrototypeOf(n.prototype), "Show", a)
                                          }
                                      }
                                  });
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  return n.next = 2,
                                                      i.Show.call(this, e, t);
                                              case 2:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  o.LwTools.platform_vivo(function () {
                                      o.LwTools.Init_vivo(e.ui, o.ELwADs.nativeBanner_YSBN, 0, !1);
                                  }, function () {
                                      i.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          i.default.instance.platform == a.EPlatformType.TT && c.default.checkConfigMatch("tccs", 0, 0, 0) && i.default.instance.ShowInterstitalAd();
                                  });
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              this._openParam.config ? (this.ui.m_type.selectedIndex = 1,
                                  this.config = this._openParam.config) : (this.ui.m_type.selectedIndex = 0,
                                      this.config = l.ShopConfig.data[r.default.instance.unlockLevelSkinId]);
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              this.ui.m_icon.url = s.default.skinIconUrl(this.config.draw);
                          }
                      }, {
                          key: "get",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      i.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && this.getSkin();
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "getSkin",
                          value: function () {
                              r.default.instance.unlockSkin.includes(this.config.id) || (r.default.instance.unlockSkin.push(this.config.id),
                                  r.default.SaveToDisk()),
                                  this.Hide();
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_get, this.get),
                                  this.onClick(this.ui.m_get1, this.getSkin);
                          }
                      }, {
                          key: "_offEvent",
                          value: function () { }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              i.default.instance.platform != a.EPlatformType.TT && i.default.instance.platform != a.EPlatformType.android_233 || 0 != this.ui.m_type.selectedIndex || c.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_get, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              o.LwTools.hideBanner(),
                                  this._offEvent(),
                                  this._openParam && this._openParam.call && this._openParam.call.run(),
                                  this._openParam = null,
                                  i.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = d.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_GoodStartMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/LTGame/Manager/GameManager.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/Res/ResUrl.ts")
                  , o = n("./src/script/common/MMUnit.ts")
                  , c = n("./src/script/config/GameConst.ts")
                  , l = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , u = n("./src/UIExt/FGui/FGuiEx.ts")
                  , h = n("./src/UIExt/LTGame/UI_goodStart.ts")
                  , d = function (e) {
                      _inherits(n, l["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = u.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.ui.m_left.url = r.default.skinIconUrl("girl_1"),
                                  this.ui.m_right.url = r.default.skinIconUrl("girl_2"),
                                  this.ui.m_score.text = "+" + c.GameConst.data.goodStart_grade,
                                  this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_start, this.m_start),
                                  s.default.instance.ShowBannerAd(),
                                  this.changeWeizhi(),
                                  s.default.instance.platform == i.EPlatformType.TT && o.default.checkConfigMatch("tccs", 0, 0, 0) && s.default.instance.ShowInterstitalAd(),
                                  s.default.instance.platform == i.EPlatformType.android_233 && o.default.checkConfigMatch("turnoncount", 0, 0, 0) && s.default.instance.showFullScreenAd();
                          }
                      }, {
                          key: "m_start",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      s.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (a.default.instance.runGoodStart(),
                                                      this.Hide());
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              s.default.instance.platform != i.EPlatformType.TT && s.default.instance.platform != i.EPlatformType.android_233 || o.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_start, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              this._openParam && this._openParam.run(),
                                  this._openParam = null,
                                  s.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = h.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_LimitTryMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return v
                  });
              var a = n("./src/LTGame/Manager/GameManager.ts")
                  , i = n("./src/LTGame/Manager/MesManager.ts")
                  , s = n("./src/LTGame/Manager/ShopManager.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/LTGame/Res/ResUrl.ts")
                  , l = n("./src/script/common/GameData.ts")
                  , u = n("./src/script/common/LwTools.ts")
                  , h = n("./src/script/common/maidian.ts")
                  , d = n("./src/script/common/MMUnit.ts")
                  , f = n("./src/script/enum/EEventUI.ts")
                  , _ = n("./src/script/enum/EMaiType.ts")
                  , m = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , p = n("./src/UIExt/FGui/FGuiEx.ts")
                  , g = n("./src/UIExt/LTGame/UI_limitTry.ts")
                  , v = function (e) {
                      _inherits(n, m["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = p.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function (e, t) {
                              var a = this
                                  , i = Object.create(null, {
                                      Show: {
                                          get: function () {
                                              return _get(_getPrototypeOf(n.prototype), "Show", a)
                                          }
                                      }
                                  });
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  return n.next = 2,
                                                      i.Show.call(this, e, t);
                                              case 2:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  u.LwTools.platform_ov(function () {
                                      u.LwTools.platform_oppo(function () {
                                          var t = new u.bannerCallObj;
                                          t.showFunc = function () {
                                              u.LwTools.setOppoBannerPos(50);
                                          }
                                              ,
                                              t.showFuncCall = function () {
                                                  e.ui.m_freeGet.visible = !0,
                                                      e.ui.m_freeTry.visible = !0;
                                              }
                                              ,
                                              t.closeFuncCall = function () {
                                                  e.ui.m_freeGet.visible = !1,
                                                      e.ui.m_freeTry.visible = !1;
                                              }
                                              ,
                                              u.LwTools.Init_oppo(e.ui, u.ELwADs.nativeBanner_YSBN, !1, !0, t),
                                              e.ui.m_freeGet.visible = !1,
                                              e.ui.m_freeTry.visible = !1,
                                              u.LwTools.btnMistake(e.ui.m_freeTry, function () {
                                                  e.Hide();
                                              }),
                                              u.LwTools.btnMistake(e.ui.m_freeGet, function () {
                                                  e.Hide();
                                              });
                                      }),
                                          u.LwTools.platform_vivo(function () {
                                              u.LwTools.Init_vivo(e.ui, u.ELwADs.nativeBanner_YSBN, 0, !1);
                                          });
                                  }, function () {
                                      o.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          o.default.instance.platform == r.EPlatformType.TT && d.default.checkConfigMatch("tccs", 0, 0, 0) && o.default.instance.ShowInterstitalAd(),
                                          o.default.instance.platform == r.EPlatformType.android_233 && d.default.checkConfigMatch("turnoncount", 0, 0, 0) && o.default.instance.showFullScreenAd(_.android233Event.全屏限定皮肤.toString());
                                  });
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              this.config = s.default.instance.getLimitSkin();
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              this.ui.m_icon.url = c.default.skinIconUrl(this.config.draw),
                                  this.ui.m_num.text = this.config.num - (l.default.instance.skinVideo[this.config.id] || 0) + "";
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              var e = this;
                              this.onClick(this.ui.m_try, this.try),
                                  u.LwTools.platform_oppo(function () {
                                      u.LwTools.btnMistake(e.ui.m_close, function () {
                                          e.Hide();
                                      });
                                  }, function () {
                                      e.onClick(e.ui.m_close, e.Hide);
                                  });
                          }
                      }, {
                          key: "try",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      o.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (h.default.instance.reportAndroid233(_.android233Event.视频限定皮肤.toString()),
                                                      t = l.default.instance.skinVideo[this.config.id] || 0,
                                                      t++,
                                                      l.default.instance.skinVideo[this.config.id] = t,
                                                      t >= this.config.num && (l.default.instance.unlockSkin.push(this.config.id),
                                                          i.default.instance.eventUI(f.EEventUI.getLimitSkin)),
                                                      l.default.SaveToDisk(),
                                                      a.default.instance.trySkin(this.config),
                                                      this.Hide());
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "_offEvent",
                          value: function () { }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              o.default.instance.platform != r.EPlatformType.TT && o.default.instance.platform != r.EPlatformType.android_233 || d.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_try, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              u.LwTools.hideBanner(),
                                  this._offEvent(),
                                  this._openParam && this._openParam.closeCall && this._openParam.closeCall.run(),
                                  this._openParam = null,
                                  o.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = g.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_LotteryMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return C
                  });
              var a = n("./src/LTGame/LTUtils/DateEx.ts")
                  , i = n("./src/LTGame/LTUtils/MathEx.ts")
                  , s = n("./src/LTGame/LTUtils/MonoHelper.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/LTGame/Res/ResUrl.ts")
                  , l = n("./src/script/common/GameData.ts")
                  , u = n("./src/script/common/LwTools.ts")
                  , h = n("./src/script/common/maidian.ts")
                  , d = n("./src/script/common/MMUnit.ts")
                  , f = n("./src/script/config/RollConfig.ts")
                  , _ = n("./src/script/config/ShopConfig.ts")
                  , m = n("./src/script/enum/EMaiType.ts")
                  , p = n("./src/script/ui/UI_MainMediator.ts")
                  , g = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , v = n("./src/UIExt/FGui/FGuiEx.ts")
                  , y = n("./src/UIExt/LTGame/UI_lottery.ts")
                  , k = n("./src/UIExt/UISrc/UICommon/UI_GetSkinMediator.ts")
                  , C = function (e) {
                      _inherits(n, g["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = v.EUILayer.Popup,
                              e._needOpenAni = !1,
                              e.mAngle = 0,
                              e.mIsStart = !1,
                              e.mTargetRotation = 0,
                              e.mFirstRotation = 0,
                              e.mCurWheelAngle = 0,
                              e._item = [],
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function (e, t) {
                              var a = this
                                  , i = Object.create(null, {
                                      Show: {
                                          get: function () {
                                              return _get(_getPrototypeOf(n.prototype), "Show", a)
                                          }
                                      }
                                  });
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  return n.next = 2,
                                                      i.Show.call(this, e, t);
                                              case 2:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.onClick(this.ui.m_close, this.tohide),
                                  this.onClick(this.ui.m_lotter, this.turn),
                                  s.default.instance.AddAction(s.EActionType.Update, this, this.loop),
                                  this.mIsStart = !1,
                                  this.setData(),
                                  this.setPro(),
                                  Laya.timer.loop(1e3, this, this.setTime),
                                  this.setTime(),
                                  this.setCloseBtn(),
                                  u.LwTools.platform_ov(function () {
                                      u.LwTools.platform_oppo(function () {
                                          var t = new u.bannerCallObj;
                                          t.showFunc = function () {
                                              u.LwTools.setOppoBannerPos(50);
                                          }
                                              ,
                                              u.LwTools.Init_oppo(e.ui, u.ELwADs.nativeBanner_YSBN, !1, !0, t),
                                              u.LwTools.btnMistake(e.ui.m_noThanks, function () {
                                                  e.Hide();
                                              });
                                      }),
                                          u.LwTools.platform_vivo(function () {
                                              var t = new u.bannerCallObj;
                                              t.lowVersionFunc = function () {
                                                  e.ui.m_noThanks.y = 1005;
                                              }
                                                  ,
                                                  u.LwTools.Init_vivo(e.ui, u.ELwADs.nativeBanner_YSBN, 50, !1, t),
                                                  u.LwTools.choseController(e.ui, u.ELwPageControl.ov),
                                                  e.ui.m_noThanks.onClick(e, function () {
                                                      e.Hide();
                                                  });
                                          });
                                  }, function () {
                                      e.ui.height >= 1560 ? o.default.instance.ShowBannerAd() : o.default.instance.HideBannerAd(),
                                          e.changeWeizhi(),
                                          o.default.instance.platform == r.EPlatformType.TT && d.default.checkConfigMatch("tccs", 0, 0, 0) && o.default.instance.ShowInterstitalAd(),
                                          o.default.instance.platform == r.EPlatformType.android_233 && d.default.checkConfigMatch("turnoncount", 0, 0, 0) && o.default.instance.showFullScreenAd(m.android233Event.全屏转盘.toString());
                                  });
                          }
                      }, {
                          key: "setCloseBtn",
                          value: function () {
                              var e = Date.now()
                                  , t = Math.max((l.default.instance.lotteryTime + 288e5 - e) / 1e3 >> 0, 0);
                              this.ui.m_close.m_type.selectedIndex = 0 == t ? 1 : 0;
                          }
                      }, {
                          key: "setTime",
                          value: function () {
                              var e = Date.now()
                                  , t = Math.max((l.default.instance.lotteryTime + 288e5 - e) / 1e3 >> 0, 0);
                              this.ui.m_freeTime.text = a.default.formatTimeHMMSS(t),
                                  0 == t ? (this.ui.m_timeGroup.visible = !1,
                                      this.setCloseBtn()) : this.ui.m_timeGroup.visible = !0;
                          }
                      }, {
                          key: "setData",
                          value: function () {
                              this._item = [this.ui.m_pan.m_item1, this.ui.m_pan.m_item2, this.ui.m_pan.m_item3, this.ui.m_pan.m_item4, this.ui.m_pan.m_item5, this.ui.m_pan.m_item6, this.ui.m_pan.m_item7, this.ui.m_pan.m_item8];
                              for (var e = 0; e < 8; e++) {
                                  var t = f.RollConfig.dataList[e]
                                      , n = this._item[e];
                                  n && (l.default.instance.lotteryNum < t.hitNum && 1 == t.type ? (n.m_type.selectedIndex = 1,
                                      n.m_icon.url = c.default.skinIconUrl(_.ShopConfig.data[t.item_id].shopIcon)) : (n.m_type.selectedIndex = 0,
                                          n.m_num.text = t.value + ""));
                              }
                          }
                      }, {
                          key: "loop",
                          value: function () {
                              this.mIsStart && this.LotteryAnim();
                          }
                      }, {
                          key: "turn",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!this.mIsStart && this.ui) {
                                                      e.next = 2;
                                                      break
                                                  }
                                                  return e.abrupt("return");
                                              case 2:
                                                  return e.next = 4,
                                                      o.default.instance.ShowRewardVideoAdAsync();
                                              case 4:
                                                  e.sent && (h.default.instance.reportAndroid233(m.android233Event.视频转盘.toString()),
                                                      this.startTurn());
                                              case 6:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "startTurn",
                          value: function () {
                              l.default.instance.lotteryNum++;
                              for (var e = [], t = [], n = 0; n < 8; n++) {
                                  var a = f.RollConfig.dataList[n];
                                  if (a.hitNum == l.default.instance.lotteryNum) {
                                      e = [1],
                                          t = [n];
                                      break
                                  }
                                  a.hitNum < l.default.instance.lotteryNum && (e.push(a.weight),
                                      t.push(n));
                              }
                              this.SetTargetRotation(i.default.RandomFromWithWeight(t, e)),
                                  this.mIsStart = !0;
                          }
                      }, {
                          key: "tohide",
                          value: function () {
                              !this.mIsStart && this.ui && (this.ui.m_close.m_type.selectedIndex ? (l.default.instance.lotteryTime = Date.now(),
                                  this.setTime(),
                                  this.setCloseBtn(),
                                  this.startTurn()) : this.Hide());
                          }
                      }, {
                          key: "LotteryAnim",
                          value: function () {
                              if (this.mCurWheelAngle < this.mFirstRotation)
                                  this.mAngle += .2;
                              else if (this.mTargetRotation - this.mCurWheelAngle < 720) {
                                  var e = .04 * (this.mTargetRotation - this.mCurWheelAngle);
                                  this.mAngle = this.mAngle > e ? e : this.mAngle;
                              }
                              this.mCurWheelAngle += this.mAngle,
                                  this.ui.m_pan.rotation = this.mCurWheelAngle % 360,
                                  (this.mCurWheelAngle >= this.mTargetRotation || this.mTargetRotation - this.mCurWheelAngle <= .2) && (this.mCurWheelAngle = this.mTargetRotation,
                                      this.mIsStart = !1,
                                      this.getReward());
                          }
                      }, {
                          key: "setPro",
                          value: function () {
                              var e = [];
                              if (f.RollConfig.dataList.forEach(function (t) {
                                  t.hitNum && e.push(t.hitNum);
                              }),
                                  e.sort(function (e, t) {
                                      return e - t
                                  }),
                                  !e.length || !e[1] || e[1] <= l.default.instance.lotteryNum)
                                  return this.ui.m_pro.value = 100,
                                      this.ui.m_time.text = "0",
                                      void (this.ui.m_gift.visible = !1);
                              e[0] > l.default.instance.lotteryNum ? (this.ui.m_time.text = e[0] - l.default.instance.lotteryNum + "",
                                  this.ui.m_pro.value = l.default.instance.lotteryNum / e[0] * 50 >> 0) : (this.ui.m_time.text = e[1] - l.default.instance.lotteryNum + "",
                                      this.ui.m_pro.value = 50 + ((l.default.instance.lotteryNum - e[0]) / (e[1] - e[0]) * 50 >> 0)),
                                  100 == this.ui.m_pro.value && (this.ui.m_gift.visible = !1);
                          }
                      }, {
                          key: "getReward",
                          value: function () {
                              var e = f.RollConfig.dataList[this.rewardIndex];
                              l.default.instance.lotteryNum == e.hitNum ? (k.default.instance.Show({
                                  config: _.ShopConfig.data[e.item_id]
                              }),
                                  l.default.SaveToDisk(),
                                  this.setData(),
                                  this._openParam && this._openParam.getSkin && this._openParam.getSkin.run()) : (l.default.addDiamonds(e.value),
                                      p.UI_MainMediator.instance.playMoneyAni(360, this.ui.m_pan.y + 100)),
                                  this.setPro();
                          }
                      }, {
                          key: "SetTargetRotation",
                          value: function (e) {
                              var t = 45 * (8 - e) + 30 * Math.random() - 15;
                              this.mTargetRotation = t + 1080,
                                  this.mCurWheelAngle = this.ui.m_pan.rotation,
                                  this.mFirstRotation = this.ui.m_pan.rotation + 360,
                                  this.rewardIndex = e;
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              o.default.instance.platform != r.EPlatformType.TT && o.default.instance.platform != r.EPlatformType.android_233 || d.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_lotter, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              u.LwTools.hideBanner(),
                                  s.default.instance.RemoveAction(s.EActionType.Update, this, this.loop),
                                  this._openParam && this._openParam.closeCall && this._openParam.closeCall.run(),
                                  this._openParam = null,
                                  this.ui.height >= 1560 && o.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = y.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_SettingMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return h
                  });
              var a = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , i = n("./src/LTGame/Manager/AudioManager.ts")
                  , s = n("./src/LTGame/Platform/EPlatformType.ts")
                  , r = n("./src/LTGame/Platform/LTPlatform.ts")
                  , o = n("./src/script/common/MMUnit.ts")
                  , c = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , l = n("./src/UIExt/FGui/FGuiEx.ts")
                  , u = n("./src/UIExt/LTGame/UI_setting.ts")
                  , h = function (e) {
                      _inherits(n, c["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = l.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_shakeBgn, this.changeShake),
                                  this.onClick(this.ui.m_soundBtn, this.changeSound),
                                  this.onClick(this.ui.m_musicBtn, this.changeMusic),
                                  this.ui.m_shakeBgn.selected = a.default.instance.isShakeOn,
                                  this.ui.m_soundBtn.selected = a.default.instance.isSoundOn,
                                  this.ui.m_musicBtn.selected = a.default.instance.isMusicOn,
                                  r.default.instance.platform == s.EPlatformType.android_233 && o.default.checkConfigMatch("turnoncount", 0, 0, 0) && r.default.instance.showFullScreenAd();
                          }
                      }, {
                          key: "changeShake",
                          value: function () {
                              i.default.instance.setVibrateOpen(this.ui.m_shakeBgn.selected);
                          }
                      }, {
                          key: "changeSound",
                          value: function () {
                              i.default.instance.setSoundOpen(this.ui.m_soundBtn.selected);
                          }
                      }, {
                          key: "changeMusic",
                          value: function () {
                              i.default.instance.setMusicOpen(this.ui.m_musicBtn.selected);
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = u.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_ShareMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "UI_ShareMediator", function () {
                      return h
                  });
              var a = n("./src/LTGame/Manager/AudioManager.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , r = n("./src/script/common/GameData.ts")
                  , o = n("./src/script/common/GlobalUnit.ts")
                  , c = n("./src/script/enum/ESound.ts")
                  , l = n("./src/UIExt/LTGame/UI_TTshare.ts")
                  , u = n("./src/UIExt/FGui/FGuiEx.ts")
                  , h = function (e) {
                      _inherits(n, s["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = u.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this.onClick(this.ui.m_close2, this.Hide),
                                  this.onClick(this.ui.m_share, this._onShareBtn),
                                  this.onClick(this.ui.m_view, this._onShareBtn),
                                  i.default.instance.HideBannerAd(),
                                  this._cacheRT = new Laya.RenderTexture(this.ui.m_view.width, this.ui.m_view.height, Laya.RenderTextureFormat.R8G8B8A8, Laya.RenderTextureDepthFormat.DEPTH_16),
                                  this._cacheImage = new fgui.GImage,
                                  this.ui.addChildAt(this._cacheImage, this.ui.getChildIndex(this.ui.m_view)),
                                  this._cacheImage.image.texture = new Laya.Texture(this._cacheRT),
                                  this._cacheImage.setPivot(this.ui.m_view.pivotX, this.ui.m_view.pivotY, this.ui.m_view.pivotAsAnchor),
                                  this._cacheImage.setXY(this.ui.m_view.x, this.ui.m_view.y),
                                  o.default.camera.renderTarget = this._cacheRT,
                                  o.default.camera.render(),
                                  o.default.camera.renderTarget = null,
                                  a.default.instance.playSound(c.ESoundName.photo);
                          }
                      }, {
                          key: "_onShareBtn",
                          value: function () {
                              var e = this;
                              this.ui.touchable = !1,
                                  Laya.timer.once(3e3, this, function () {
                                      e.ui && (e.ui.touchable = !0);
                                  }),
                                  i.default.instance.recordManager.ShareVideo(Laya.Handler.create(this, function () {
                                      r.default.instance.onceShare && (r.default.instance.onceShare = !1,
                                          r.default.addDiamonds(100)),
                                          e.Hide();
                                  }), null, null);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              Laya.timer.clearAll(this),
                                  this._openParam && this._openParam.run(),
                                  this._openParam = null;
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = l.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_ShopMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return I
                  });
              var a = n("./src/LTGame/Manager/MesManager.ts")
                  , i = n("./src/LTGame/Manager/ShopManager.ts")
                  , s = n("./src/LTGame/Platform/EPlatformType.ts")
                  , r = n("./src/LTGame/Platform/LTPlatform.ts")
                  , o = n("./src/LTGame/Res/LTRes.ts")
                  , c = n("./src/LTGame/Res/ResUrl.ts")
                  , l = n("./src/script/common/GameData.ts")
                  , u = n("./src/script/common/LwTools.ts")
                  , h = n("./src/script/common/MMUnit.ts")
                  , d = n("./src/script/config/GameConst.ts")
                  , f = n("./src/script/config/IdentityPetConfig.ts")
                  , _ = n("./src/script/config/PetConfig.ts")
                  , m = n("./src/script/config/WingConfig.ts")
                  , p = n("./src/script/enum/EEventUI.ts")
                  , g = n("./src/script/enum/EMaiType.ts")
                  , v = n("./src/script/ui/cmp/Money.ts")
                  , y = n("./src/script/ui/UI_MainMediator.ts")
                  , k = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , C = n("./src/UIExt/FGui/FGuiEx.ts")
                  , S = n("./src/UIExt/LTGame/UI_shop.ts")
                  , L = n("./src/UIExt/LTUI.ts")
                  , I = function (e) {
                      _inherits(n, k["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments)).scrollY = {},
                              e.skin = {},
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  u.LwTools.hideBanner(),
                                  r.default.instance.platform == s.EPlatformType.TT && h.default.checkConfigMatch("tccs", 0, 0, 0) && r.default.instance.ShowInterstitalAd(),
                                  r.default.instance.platform == s.EPlatformType.android_233 && h.default.checkConfigMatch("turnoncount", 0, 0, 0) && r.default.instance.showFullScreenAd(g.android233Event.全屏商店.toString());
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              this.newNum = [];
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              this.ui.m_list.itemRenderer = Laya.Handler.create(this, this.updateItem, null, !1),
                                  this.ui.m_list.setVirtual(),
                                  this.changeTab(),
                                  this.ui.addChild(v.default.createInstance()).setXY(26, 26);
                          }
                      }, {
                          key: "changeTab",
                          value: function () {
                              null != this.selectedIndex && (this.scrollY[this.selectedIndex] = this.ui.m_list.scrollPane.posY);
                              var e = this.ui.m_tab.selectedIndex;
                              this.selectedId = i.default.instance.getSelectedSkinid(e),
                                  this.selectedIndex = e,
                                  this.dataList = i.default.instance.getConfigList(e),
                                  this.selectedItemIndex = 0;
                              for (var t = 0; t < this.dataList.length; t++)
                                  if (this.dataList[t].id == this.selectedId) {
                                      this.selectedItemIndex = t;
                                      break
                                  }
                              var n = this.dataList[this.selectedItemIndex];
                              this.nowId = n.id,
                                  this.ui.m_list.numItems = this.dataList.length,
                                  this.scrollY[this.selectedIndex] && (this.ui.m_list.scrollPane.posY = this.scrollY[this.selectedIndex]),
                                  this.setTypeStatus(),
                                  this.changeHeroModel();
                          }
                      }, {
                          key: "unlockSkin",
                          value: function (e, t) {
                              this.selectedItemIndex = e,
                                  this.newNum.push(t.id),
                                  l.default.instance.unlockSkin.push(t.id),
                                  this.ui.m_list.refreshVirtualList(),
                                  this.setTypeStatus();
                              var n = this.dataList[this.selectedItemIndex];
                              this.nowId != n.id && (this.nowId = n.id,
                                  this.changeHeroModel());
                          }
                      }, {
                          key: "selectedItemChange",
                          value: function (e, t) {
                              if (this.selectedItemIndex != e) {
                                  this.selectedItemIndex = e,
                                      this.ui.m_list.refreshVirtualList();
                                  var n = this.dataList[this.selectedItemIndex];
                                  this.nowId = n.id,
                                      this.changeHeroModel();
                              }
                          }
                      }, {
                          key: "updateItem",
                          value: function (e, t) {
                              var n = this.dataList[e];
                              t.setData(n),
                                  t.index = e,
                                  t.m_new.selectedIndex = this.newNum.includes(n.id) ? 1 : 0,
                                  this.selectedId == n.id ? t.m_using.selectedIndex = 1 : t.m_using.selectedIndex = 0,
                                  t.m_selected.selectedIndex = e == this.selectedItemIndex ? 1 : 0,
                                  l.default.instance.unlockSkin.includes(n.id) ? t.m_getAway.selectedIndex = 0 : (t.m_getAway.selectedIndex = n.unlock + 1,
                                      6 == n.unlock || 7 == n.unlock || 4 == n.unlock ? t.m_num.text = (l.default.instance.skinVideo[n.id] || 0) + "/" + n.num : t.m_num.text = n.num + "");
                          }
                      }, {
                          key: "setTypeStatus",
                          value: function () {
                              this.ui.m_type.selectedIndex = i.default.instance.checkUnLock(this.selectedIndex) ? 1 : 0;
                          }
                      }, {
                          key: "unlock",
                          value: function () {
                              if (l.default.instance.diamondsCount < d.GameConst.data.shopCost)
                                  L.default.Toast("金币不足,需要" + d.GameConst.data.shopCost + "！！");
                              else {
                                  var e = i.default.instance.unlockShop(this.selectedIndex);
                                  this.newNum.push(e.id),
                                      l.default.reduceDiamonds(d.GameConst.data.shopCost),
                                      this.setTypeStatus(),
                                      this.ui.m_list.refreshVirtualList();
                              }
                          }
                      }, {
                          key: "add",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      r.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (l.default.addDiamonds(d.GameConst.data.shopAdd),
                                                      y.UI_MainMediator.instance.playMoneyAni(this.ui.m_add.x + this.ui.m_add.width / 2, this.ui.m_add.y + this.ui.m_add.height / 2));
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "changeSkin",
                          value: function (e, t) {
                              this.selectedItemIndex = e,
                                  this.selectedId = i.default.instance.getSelectedSkinid(this.selectedIndex),
                                  i.default.instance.changeSkin(t);
                              var n = this.dataList[this.selectedItemIndex];
                              this.nowId != n.id && (this.nowId = n.id,
                                  this.changeHeroModel()),
                                  this.ui.m_list.refreshVirtualList();
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_unlock, this.unlock),
                                  this.onClick(this.ui.m_add, this.add),
                                  this.ui.m_tab.on(fgui.Events.STATE_CHANGED, this, this.changeTab),
                                  a.default.instance.onUI(p.EEventUI.changeSkin, this, this.changeSkin),
                                  a.default.instance.onUI(p.EEventUI.shopGetNewSKin, this, this.unlockSkin),
                                  a.default.instance.onUI(p.EEventUI.shopItemClick, this, this.selectedItemChange);
                          }
                      }, {
                          key: "_offEvent",
                          value: function () {
                              this.ui.m_tab.off(fgui.Events.STATE_CHANGED, this, this.changeTab),
                                  a.default.instance.offUI(p.EEventUI.changeSkin, this, this.changeSkin),
                                  a.default.instance.offUI(p.EEventUI.shopGetNewSKin, this, this.unlockSkin),
                                  a.default.instance.offUI(p.EEventUI.shopItemClick, this, this.selectedItemChange);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              for (var e in this._offEvent(),
                                  this.scrollY = {},
                                  this.selectedIndex = null,
                                  this.skin)
                                  this.skin[e].destroy();
                              this.skin = {},
                                  this.camera = null,
                                  this._scene && this._scene.destroy(),
                                  this._scene = null;
                          }
                      }, {
                          key: "changeHeroModel",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r, l, u, h, d, p, g, v, y, k, C;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (this.skin) {
                                                      for (t in this.skin)
                                                          this.skin[t].destroy();
                                                      this.skin = null;
                                                  }
                                                  if (this.skin = {},
                                                      n = this.top3DScene(),
                                                      this.isShow) {
                                                      e.next = 5;
                                                      break
                                                  }
                                                  return e.abrupt("return");
                                              case 5:
                                                  a = this.dataList[this.selectedItemIndex],
                                                      i = [m.WingConfig.data, _.PetConfig.data, f.IdentityPetConfig.data][a.type][a.mapId],
                                                      s = [["devil_wing", "angel_wing"], ["prefab_name"], ["devil_pet", "angel_pet"]][a.type],
                                                      r = [[[-15, -5, 0], [15, -5, 0]], [[0, -5, 0]], [[-20, -5, 0], [20, -5, 0]]][a.type],
                                                      l = [.5, 1, 1][a.type],
                                                      u = [180, 0, 0][a.type],
                                                      h = 0;
                                              case 12:
                                                  if (!(h < s.length)) {
                                                      e.next = 29;
                                                      break
                                                  }
                                                  return d = s[h],
                                                      e.next = 16,
                                                      o.default.LoadAndGet(c.default.prefab_url(i[d]));
                                              case 16:
                                                  if (p = e.sent,
                                                      a.id == this.nowId) {
                                                      e.next = 22;
                                                      break
                                                  }
                                                  return p.destroy(),
                                                      e.abrupt("return");
                                              case 22:
                                                  if (!this.skin[d]) {
                                                      e.next = 25;
                                                      break
                                                  }
                                                  return p.destroy(),
                                                      e.abrupt("return");
                                              case 25:
                                                  this.skin[d] = p;
                                              case 26:
                                                  h++,
                                                      e.next = 12;
                                                  break;
                                              case 29:
                                                  if (this._scene) {
                                                      e.next = 33;
                                                      break
                                                  }
                                                  for (g in this.skin)
                                                      this.skin[g].destroy();
                                                  return this.skin = null,
                                                      e.abrupt("return");
                                              case 33:
                                                  for (y in v = 0,
                                                      this.skin)
                                                      k = this.skin[y],
                                                          n.addChild(k),
                                                          C = new Laya.Vector3,
                                                          this.camera.convertScreenCoordToOrthographicCoord(new Laya.Vector3(Laya.stage.width / 2, Laya.stage.height / 2 - 400, 0), C),
                                                          k.transform.setWorldLossyScale(new Laya.Vector3(20 * l, 20 * l, 20 * l)),
                                                          k.transform.localRotationEulerY = u,
                                                          C.x += r[v][0],
                                                          C.y += r[v][1],
                                                          C.z += r[v][2],
                                                          k.transform.position = C,
                                                          v++,
                                                          21 == a.id && (k.getComponent(Laya.Animator).enabled = !1);
                                              case 35:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "top3DScene",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : C.default.popupLayer
                                  , t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 150;
                              if (this._scene)
                                  return e.displayObject.addChild(this._scene),
                                      this._scene;
                              this._scene = this._scene || new Laya.Scene3D,
                                  e.displayObject.addChild(this._scene),
                                  this.camera = new Laya.Camera(0, .1, 1e3),
                                  this._scene.mouseEnabled = !1,
                                  this._scene.addChild(this.camera),
                                  this.camera.orthographic = !0,
                                  this.camera.orthographicVerticalSize = t,
                                  this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_DEPTHONLY;
                              var n = new Laya.DirectionLight;
                              return n.intensity = .9,
                                  this._scene.addChild(n),
                                  this._scene
                          }
                      }, {
                          key: "viewBackCall",
                          value: function (e) {
                              this.ui && this._scene && (this._scene.active = !0);
                          }
                      }, {
                          key: "HideScene",
                          value: function () {
                              this._scene.active = !1;
                          }
                      }, {
                          key: "selectedIndex",
                          set: function (e) {
                              this._selectedIndex = e;
                          },
                          get: function () {
                              return this._selectedIndex
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = S.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_SignMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return v
                  });
              var a = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/script/common/GameData.ts")
                  , o = n("./src/script/common/LwTools.ts")
                  , c = n("./src/script/common/maidian.ts")
                  , l = n("./src/script/common/MMUnit.ts")
                  , u = n("./src/script/config/ShopConfig.ts")
                  , h = n("./src/script/config/SignConfig.ts")
                  , d = n("./src/script/enum/EMaiType.ts")
                  , f = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , _ = n("./src/UIExt/FGui/FGuiEx.ts")
                  , m = n("./src/UIExt/LTGame/UI_sign.ts")
                  , p = n("./src/UIExt/LTUI.ts")
                  , g = n("./src/UIExt/UISrc/UICommon/UI_GetSkinMediator.ts")
                  , v = function (e) {
                      _inherits(n, f["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = _.EUILayer.Popup,
                              e.signItems = [],
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function (e, t) {
                              var a = this
                                  , i = Object.create(null, {
                                      Show: {
                                          get: function () {
                                              return _get(_getPrototypeOf(n.prototype), "Show", a)
                                          }
                                      }
                                  });
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  return n.next = 2,
                                                      i.Show.call(this, e, t);
                                              case 2:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  o.LwTools.platform_ov(function () {
                                      o.LwTools.platform_oppo(function () {
                                          var t = new o.bannerCallObj;
                                          t.showFunc = function () {
                                              o.LwTools.setOppoBannerPos(60);
                                          }
                                              ,
                                              o.LwTools.Init_oppo(e.ui, o.ELwADs.nativeBanner_YSBN, !1, !0, t),
                                              o.LwTools.btnMistake(e.ui.m_noThanks, function () {
                                                  e.Hide();
                                              });
                                      }),
                                          o.LwTools.platform_vivo(function () {
                                              var t = new o.bannerCallObj;
                                              t.lowVersionFunc = function () {
                                                  e.ui.m_noThanks.y = 1015;
                                              }
                                                  ,
                                                  o.LwTools.Init_vivo(e.ui, o.ELwADs.nativeBanner_YSBN, 60, !1, t),
                                                  o.LwTools.choseController(e.ui, o.ELwPageControl.ov),
                                                  e.ui.m_noThanks.onClick(e, e.Hide);
                                          });
                                  }, function () {
                                      s.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          s.default.instance.platform == i.EPlatformType.TT && l.default.checkConfigMatch("tccs", 0, 0, 0) && s.default.instance.ShowInterstitalAd(),
                                          s.default.instance.platform == i.EPlatformType.android_233 && l.default.checkConfigMatch("turnoncount", 0, 0, 0) && s.default.instance.showFullScreenAd(d.android233Event.全屏签到.toString());
                                  });
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              var e = this
                                  , t = a.default.instance.signDayCount > 7 || 7 == a.default.instance.signDayCount && !a.default.instance.isSigned;
                              this.signData = [],
                                  h.SignConfig.dataList.forEach(function (n) {
                                      !n.skinId || t ? e.signData.push({
                                          num: n.num,
                                          skinId: 0
                                      }) : e.signData.push({
                                          num: 1,
                                          skinId: n.skinId
                                      });
                                  }),
                                  this.signItems = [this.ui.m_day1, this.ui.m_day2, this.ui.m_day3, this.ui.m_day4, this.ui.m_day5, this.ui.m_day6];
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              var e = this
                                  , t = a.default.instance.signDayCount % 7
                                  , n = t
                                  , i = a.default.instance.signDayCount > 7 || 7 == a.default.instance.signDayCount && !a.default.instance.isSigned;
                              a.default.instance.isSigned && !t && (t = 7),
                                  a.default.instance.isSigned && (n = (n + 6) % 7),
                                  this.signItems.forEach(function (n, i) {
                                      var s = e.signData[i];
                                      s.skinId || (n.m_num.text = s.num + ""),
                                          n.m_signed.selectedIndex = i < t ? 1 : 0,
                                          a.default.instance.isSigned || i != t || (n.m_signed.selectedIndex = 2);
                                  }),
                                  this.signData[6].skinId,
                                  this.ui.m_day7.m_signed.selectedIndex = 7 == t ? 1 : 0,
                                  !i && this.signData[n].skinId && (this.ui.m_type.selectedIndex = 1);
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_sign, this.getReward, [1]),
                                  this.onClick(this.ui.m_double, this.doubleReward);
                          }
                      }, {
                          key: "_offEvent",
                          value: function () { }
                      }, {
                          key: "doubleReward",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!a.default.instance.isSigned) {
                                                      e.next = 3;
                                                      break
                                                  }
                                                  return p.default.Toast("今日签过到了，明天再来吧！"),
                                                      e.abrupt("return");
                                              case 3:
                                                  return e.next = 5,
                                                      s.default.instance.ShowRewardVideoAdAsync();
                                              case 5:
                                                  e.sent && (this.getReward(2),
                                                      c.default.instance.reportAndroid233(d.android233Event.视频双倍签到.toString()));
                                              case 7:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "getReward",
                          value: function (e) {
                              if (a.default.instance.isSigned)
                                  p.default.Toast("今日签过到了，明天再来吧！");
                              else {
                                  var t = a.default.instance.signDayCount % 7
                                      , n = a.default.instance.signDayCount > 7 || 7 == a.default.instance.signDayCount && !a.default.instance.isSigned;
                                  a.default.instance.isSigned = !0,
                                      a.default.instance.signDayCount++,
                                      n || !n && !this.signData[t].skinId ? r.default.addDiamonds(this.signData[t].num * e) : (g.default.instance.Show({
                                          config: u.ShopConfig.data[this.signData[t].skinId]
                                      }),
                                          r.default.instance.unlockSkin.push(this.signData[t].skinId),
                                          r.default.SaveToDisk(),
                                          this._openParam && this._openParam.getSkin && this._openParam.getSkin.run()),
                                      this.initView();
                              }
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              s.default.instance.platform != i.EPlatformType.TT && s.default.instance.platform != i.EPlatformType.android_233 || 0 != this.ui.m_type.selectedIndex || l.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_sign, this.ui.m_double);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              this._offEvent(),
                                  this.signItems = null,
                                  this._openParam && this._openParam.closeCall && this._openParam.closeCall.run(),
                                  this._openParam = null,
                                  o.LwTools.platform_ov(function () {
                                      o.LwTools.hideBanner();
                                  }, function () {
                                      s.default.instance.HideBannerAd();
                                  });
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = m.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_StartTryMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return _
                  });
              var a = n("./src/LTGame/Manager/GameManager.ts")
                  , i = n("./src/LTGame/Manager/ShopManager.ts")
                  , s = n("./src/LTGame/Platform/EPlatformType.ts")
                  , r = n("./src/LTGame/Platform/LTPlatform.ts")
                  , o = n("./src/LTGame/Res/ResUrl.ts")
                  , c = n("./src/script/common/GameData.ts")
                  , l = n("./src/script/common/LwTools.ts")
                  , u = n("./src/script/common/MMUnit.ts")
                  , h = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , d = n("./src/UIExt/FGui/FGuiEx.ts")
                  , f = n("./src/UIExt/LTGame/UI_startTry.ts")
                  , _ = function (e) {
                      _inherits(n, h["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = d.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function (e, t) {
                              var a = this
                                  , i = Object.create(null, {
                                      Show: {
                                          get: function () {
                                              return _get(_getPrototypeOf(n.prototype), "Show", a)
                                          }
                                      }
                                  });
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  return n.next = 2,
                                                      i.Show.call(this, e, t);
                                              case 2:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              l.LwTools.platform_vivo(function () {
                                  l.LwTools.Init_vivo(e.ui, l.ELwADs.nativeBanner_YSBN, 60),
                                      e.Init();
                              }, function () {
                                  e.Init();
                              });
                          }
                      }, {
                          key: "Init",
                          value: function () {
                              var e = this;
                              this.showVideo = !1,
                                  this.config = this._openParam.skin,
                                  this.onClick(this.ui.m_close, this.Hide),
                                  this.onClick(this.ui.m_try, this.try),
                                  this.ui.m_num.text = (c.default.instance.skinVideo[this.config.id] || 0) + "/" + this.config.num,
                                  this.ui.m_icon.url = o.default.skinIconUrl(this.config.draw),
                                  l.LwTools.platform_vivo(null, function () {
                                      r.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          r.default.instance.platform == s.EPlatformType.TT && u.default.checkConfigMatch("tccs", 0, 0, 0) && r.default.instance.ShowInterstitalAd(),
                                          r.default.instance.platform == s.EPlatformType.android_233 && u.default.checkConfigMatch("turnoncount", 0, 0, 0) && r.default.instance.showFullScreenAd();
                                  });
                          }
                      }, {
                          key: "try",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      r.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && (this.showVideo = !0,
                                                      t = c.default.instance.skinVideo[this.config.id] || 0,
                                                      t++,
                                                      c.default.instance.skinVideo[this.config.id] = t,
                                                      t >= this.config.num && i.default.instance.unlockTrySkin(this.config.id),
                                                      c.default.SaveToDisk(),
                                                      a.default.instance.trySkin(this.config),
                                                      this.Hide());
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              r.default.instance.platform != s.EPlatformType.TT && r.default.instance.platform != s.EPlatformType.android_233 || u.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_try, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              l.LwTools.hideBanner(),
                                  this._openParam.shop && !this.showVideo || this._openParam && this._openParam.call && this._openParam.call.run(),
                                  this._openParam = null,
                                  r.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = f.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UICommon/UI_VectoryMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return p
                  });
              var a = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , i = n("./src/LTGame/Manager/ShopManager.ts")
                  , s = n("./src/LTGame/Platform/EPlatformType.ts")
                  , r = n("./src/LTGame/Platform/LTPlatform.ts")
                  , o = n("./src/LTGame/Res/ResUrl.ts")
                  , c = n("./src/script/common/GameData.ts")
                  , l = n("./src/script/common/LwTools.ts")
                  , u = n("./src/script/common/MMUnit.ts")
                  , h = n("./src/script/config/GameConst.ts")
                  , d = n("./src/script/config/ShopConfig.ts")
                  , f = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , _ = n("./src/UIExt/FGui/FGuiEx.ts")
                  , m = n("./src/UIExt/LTGame/UI_vectory.ts")
                  , p = function (e) {
                      _inherits(n, f["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = _.EUILayer.Popup,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              this.initData(),
                                  this.initView(),
                                  this._onEvent(),
                                  l.LwTools.platform_ov(function () {
                                      l.LwTools.platform_oppo(function () {
                                          var t = new l.bannerCallObj;
                                          t.showFunc = function () {
                                              l.LwTools.setOppoBannerPos(50);
                                          }
                                              ,
                                              l.LwTools.Init_oppo(e.ui, l.ELwADs.nativeInter_YSJS, !0, !0, t),
                                              l.LwTools.playBtnSizeAnim(e.ui.m_double),
                                              l.LwTools.btnMistake(e.ui.m_defultGet, function () {
                                                  e.getReward(1);
                                              });
                                      }),
                                          l.LwTools.platform_vivo(function () {
                                              l.LwTools.Init_vivo(e.ui, l.ELwADs.nativeInter_YSJS),
                                                  e.ui.m_defultGet.onClick(e, function () {
                                                      e.getReward(1);
                                                  }),
                                                  e.ui.m_fiveGet.onClick(e, function () {
                                                      e.fiveGet();
                                                  });
                                          });
                                  }, function () {
                                      r.default.instance.platform == s.EPlatformType.android_233 && u.default.checkConfigMatch("quanpin", 1, 1, 60) && u.default.checkConfigMatch("quanpin", 1, 0, 60, -.1) && r.default.instance.showFullVideo(),
                                          r.default.instance.ShowBannerAd(),
                                          e.changeWeizhi(),
                                          r.default.instance.platform == s.EPlatformType.TT && r.default.instance.ShowInterstitalAd();
                                  });
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              var e = h.GameConst.data.diamond_min + Math.random() * (h.GameConst.data.diamond_max - h.GameConst.data.diamond_min) >> 0;
                              0 == this._openParam.bet && (this._openParam.bet = 1),
                                  console.log("随机金币:" + e + ",倍数：" + this._openParam.bet),
                                  this.rewardNum = e * this._openParam.bet,
                                  this.per = (a.default.instance.levelId % h.GameConst.data.unlockNum || h.GameConst.data.unlockNum) / h.GameConst.data.unlockNum,
                                  this.config = d.ShopConfig.data[c.default.instance.unlockLevelSkinId];
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              this.config ? (this.ui.m_noSkin.selectedIndex = 0,
                                  this.ui.m_up.height = Math.max(500 * (1 - this.per), 0),
                                  this.ui.m_di.url = this.ui.m_up.m_img.url = o.default.skinIconUrl(this.config.draw),
                                  this.ui.m_per.text = (100 * this.per >> 0) + "%") : this.ui.m_noSkin.selectedIndex = 1,
                                  this.ui.m_nun.text = this.rewardNum + "";
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              this.onClick(this.ui.m_close, this.getReward, [1]),
                                  this.onClick(this.ui.m_double, this.double);
                          }
                      }, {
                          key: "_offEvent",
                          value: function () { }
                      }, {
                          key: "double",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      r.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && this.getReward(2);
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "fiveGet",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      r.default.instance.ShowRewardVideoAdAsync();
                                              case 2:
                                                  e.sent && this.getReward(5);
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "getReward",
                          value: function (e) {
                              c.default.addDiamonds(e * this.rewardNum),
                                  this.Hide();
                          }
                      }, {
                          key: "changeWeizhi",
                          value: function () {
                              r.default.instance.platform != s.EPlatformType.TT && r.default.instance.platform != s.EPlatformType.android_233 || u.default.checkConfigMatch("adchangegm", 0, 0, 0) && this.changeX(this.ui.m_double, this.ui.m_close);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              l.LwTools.hideBanner(),
                                  this._offEvent(),
                                  c.default.instance.isNewLevelSkin || i.default.instance.passNextLevelUnlcock(),
                                  this._openParam && this._openParam.call && this._openParam.call.run(),
                                  this._openParam = null,
                                  r.default.instance.HideBannerAd();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = m.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_CommomToastMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return c
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/FGui/FGuiData.ts")
                  , s = n("./src/UIExt/FGui/FGuiEx.ts")
                  , r = n("./src/UIExt/LTGame/UI_CommonToast.ts")
                  , o = n("./src/UIExt/LTGame/UI_view_toast.ts")
                  , c = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = s.EUILayer.Tip,
                              e.objTips = [],
                              e
                      }
                      return _createClass(n, [{
                          key: "Show",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  this._openParam = e,
                                                      null == this._ui && (n = new i.default,
                                                          this._ui = s.default.AddUI(this._classDefine, n, this._layer),
                                                          this._ui.sortingOrder = Number.MAX_SAFE_INTEGER,
                                                          this.ui.m_toast.visible = !1,
                                                          this._OnShow()),
                                                      this._DoToast(this._openParam);
                                              case 3:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "_DoToast",
                          value: function (e) {
                              var t = o.default.createInstance();
                              this.ui.addChild(t),
                                  t.setXY(this.ui.m_toast.x, this.ui.m_toast.y),
                                  t.m_toast_str.text = e,
                                  t.m_show.play(Laya.Handler.create(this, function () {
                                      t.dispose();
                                  }));
                          }
                      }, {
                          key: "showTiPs",
                          value: function (e) {
                              var t = this;
                              if (null == this._ui) {
                                  var n = new i.default;
                                  this._ui = s.default.AddUI(this._classDefine, n, this._layer),
                                      this._ui.sortingOrder = Number.MAX_SAFE_INTEGER,
                                      this.ui.m_toast.visible = !1,
                                      this._OnShow();
                              }
                              this.objTips.forEach(function (t) {
                                  t.y -= e.height + 10;
                              }),
                                  this.ui.addChild(e),
                                  this.objTips.push(e),
                                  e.setXY((this.ui.width - e.width) / 2, this.ui.m_toast.y),
                                  Laya.timer.once(3e3, this, function () {
                                      var n = t.objTips.indexOf(e);
                                      n > -1 && t.objTips.splice(n, 1),
                                          e.dispose();
                                  });
                          }
                      }, {
                          key: "Hide",
                          value: function () {
                              !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = r.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_CommonLoadMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/FGui/FGuiEx.ts")
                  , s = n("./src/UIExt/LTGame/UI_CommonLoad.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = i.EUILayer.Popup,
                              e._needLoadPanel = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              var e = this;
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._sortOrder = Number.MAX_SAFE_INTEGER,
                                  Laya.timer.once(5e3, this, function () {
                                      e._isShow && (e.Hide(),
                                          e._openParam && e._openParam.run(),
                                          e._openParam = null);
                                  });
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = s.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_FakeBannerVMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/FGui/FGuiEx.ts")
                  , s = n("./src/UIExt/LTGame/UI_FakeBanner_V.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = i.EUILayer.Tip,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._sortOrder = Number.MAX_SAFE_INTEGER;
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = s.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_FakeInterstitalMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/FGui/FGuiEx.ts")
                  , s = n("./src/UIExt/LTGame/UI_FakeInterstital.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = i.EUILayer.Tip,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._closeHandle = this._openParam,
                                  this._sortOrder = Number.MAX_SAFE_INTEGER,
                                  this.ui.m_btn_close.onClick(this, this._OnClickClose);
                          }
                      }, {
                          key: "_OnClickClose",
                          value: function () {
                              this.Hide(),
                                  this._closeHandle && (this._closeHandle.run(),
                                      this._closeHandle = null);
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = s.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_FakeRewardADMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/FGui/FGuiEx.ts")
                  , s = n("./src/UIExt/LTGame/UI_FakeRewardVideo.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = i.EUILayer.Tip,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._sortOrder = Number.MAX_SAFE_INTEGER,
                                  this._rewardHandle = this._openParam[0],
                                  this._skipHandle = this._openParam[1],
                                  this.ui.m_btn_reward.onClick(this, this._OnClickReward),
                                  this.ui.m_btn_skip.onClick(this, this._OnClickSkip);
                          }
                      }, {
                          key: "_OnClickReward",
                          value: function () {
                              this.Hide(),
                                  this._rewardHandle && (this._rewardHandle.run(),
                                      this._rewardHandle = null);
                          }
                      }, {
                          key: "_OnClickSkip",
                          value: function () {
                              this.Hide(),
                                  this._skipHandle && (this._skipHandle.run(),
                                      this._skipHandle = null);
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = s.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_FlyPanelMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/UIExt/LTGame/UI_FlyPanel.ts")
                  , s = n("./src/UIExt/FGui/FGuiEx.ts")
                  , r = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = s.EUILayer.Tip,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._sortOrder = Number.MAX_SAFE_INTEGER - 1,
                                  this.ui.touchable = !1,
                                  this.ui.m_test.dispose();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = i.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/UIExt/UISrc/UI_ImageBannerMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  }),
                  n.d(t, "FakeBannerData", function () {
                      return c
                  });
              var a = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , i = n("./src/LTGame/Platform/LTPlatform.ts")
                  , s = n("./src/UIExt/LTGame/UI_ImageBanner.ts")
                  , r = n("./src/UIExt/FGui/FGuiEx.ts")
                  , o = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = r.EUILayer.Tip,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "_OnShow", this).call(this),
                                  this._sortOrder = 500,
                                  this._fakeBannerData = this._openParam,
                                  this.ui.m_img_banner.url = this._fakeBannerData.imgPath,
                                  this.ui.m_img_adnotice.url = this._fakeBannerData.noticePath,
                                  this.ui.m_img_banner.onClick(this, this._OnClickBanner),
                                  this.ui.m_btn_close.onClick(this, this._OnClickClose),
                                  this._fakeBannerData.owner.reportAdShow({
                                      adId: this._fakeBannerData.adId
                                  });
                          }
                      }, {
                          key: "_OnClickBanner",
                          value: function () {
                              console.log("点击banner", this._fakeBannerData),
                                  this._fakeBannerData.owner.reportAdClick({
                                      adId: this._fakeBannerData.adId
                                  }),
                                  i.default.instance.ShowBannerAd();
                          }
                      }, {
                          key: "_OnClickClose",
                          value: function () {
                              console.log("点击关闭banner", this._fakeBannerData),
                                  this.Hide();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = s.default),
                                  this._instance
                          }
                      }]),
                          n
                  }()
                  , c = function e() {
                      _classCallCheck(this, e);
                  };
          },
          "./src/main.ts": function (e, t, n) {
              n.r(t);
              var a = n("./src/LTGame/Start/LTMain.ts")
                  , i = n("./src/script/MainStart.ts");
              new a.default(i.default);
          },
          "./src/script/MainStart.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return f
                  });
              var a = n("./src/LTGame/Start/LTStart.ts")
                  , i = n("./src/script/scene/SplashScene.ts")
                  , s = n("./src/script/scene/MainScene.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/LTGame/Res/LTRespackManager.ts")
                  , l = n("./src/LTGame/SDK/LTSDK.ts")
                  , u = n("./src/LTGame/SDK/Impl/SDK_Default.ts")
                  , h = n("./src/script/common/Const.ts")
                  , d = n("./src/LTGame/SDK/Impl/SDK_oppo.ts")
                  , f = function (e) {
                      _inherits(n, a["LTStart"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.call(this))._appId = "ttc367b5da5c5f21ac",
                              e
                      }
                      return _createClass(n, [{
                          key: "_HandleInitPlatform",
                          value: function (e, t) {
                              // switch (e) {
                              // case r.EPlatformType.Web:
                              // case r.EPlatformType.MATA:
                              //     console.log("web平台,默认框架测试数据"),
                              //     this._appId = "88888888";
                              //     break;
                              // case r.EPlatformType.Oppo:
                              //     h.default.oppoResVersion = "0725",
                              //     h.default.packageType == r.EPackageType.m_美少女学院 ? (t.appId = "30897831",
                              //     t.appKey = "e0lm1el50mOSSKkgk4gCwwgCk") : h.default.packageType == r.EPackageType.w_我叫安吉拉 ? (t.appId = "30911005",
                              //     t.appKey = "30911005") : h.default.packageType == r.EPackageType.n_你是我的情敌 ? (t.appId = "30940653",
                              //     t.appKey = "cpjS93unbqgO4SswWwKG0kWco") : h.default.packageType == r.EPackageType.t_天际狂飙 ? (t.appId = "30953703",
                              //     t.appKey = "13oxbNMYdFvKO8Gooc0OoWscs") : (t.appId = "30894647",
                              //     t.appKey = "8Nt682jj63okGkoWC0Ks0g88S"),
                              //     c.default.instance.SetRemoteUrl("https://acdn.dswzxh.com/sanguo/tsmgpk/files_" + h.default.oppoResVersion + "/");
                              //     break;
                              // default:
                              //     console.error("未处理平台内容", o.default.platformStr, "请在MainStart中添加处理");
                              // }
                              // t.appId && (this._appId = t.appId);
                          }
                      }, {
                          key: "_HandleSDK",
                          value: function () {
                              switch (console.log("mainStart", o.default.instance.platform),
                              o.default.instance.platform) {
                                  case r.EPlatformType.Web:
                                  case r.EPlatformType.MATA:
                                      l.default.CreateInstace(u.default, "yfct", this._appId);
                                      break;
                                  case r.EPlatformType.Vivo:
                                  case r.EPlatformType.Oppo:
                                      l.default.CreateInstace(d.default, "yfct", this._appId);
                              }
                          }
                      }, {
                          key: "_InitFsm",
                          value: function () {
                              this._fsm.Add(new i.default),
                                  this._fsm.Add(new s.default);
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/common/Const.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/UIExt/UISrc/Cmp/ShopItem.ts")
                  , s = n("./src/script/ui/cmp/Money.ts")
                  , r = n("./src/script/ui/cmp/TestBtn.ts")
                  , o = function e() {
                      _classCallCheck(this, e);
                  };
              o.DefaultPlatform = a.EPlatformType.Vivo,
                  o.faxing = a.EFaxing.lw,
                  o.packageType = a.EPackageType.m_抓住小姐姐,
                  o.mata = !1,
                  o.resVersion = "0526",
                  o.ttResVersion = "0724",
                  o.oppoResVersion = "0526",
                  o.gameName = "女王爱变身",
                  o.gameNameJian = "wyxzq",
                  o.choseLv = 3,
                  o.heartTime = 60,
                  o.enableStat = !1,
                  o.maxLife = 2,
                  o.cameraOffset = new Laya.Vector3(0, 4.5, -4.5),
                  o.cameraRotate = new Laya.Vector3(-30, 180, 0),
                  o.cameraEndOffset = new Laya.Vector3(0, 4, -8),
                  o.cameraEndRotate = new Laya.Vector3(-10, 90, 0),
                  o.endCameraPos = new Laya.Vector3(19.3, 57.8, 90),
                  o.endCameraRotate = new Laya.Vector3(-18, 180, 0),
                  o.initFieldView = 80,
                  o.endHight = [2, 4, 6, 8, 10],
                  o.mainPackToClass = {
                      test: r.default,
                      money: s.default
                  },
                  o.commonPackToClass = {
                      shopItem: i.default
                  },
                  o.workPackToClass = {},
                  o.gravity = -15,
                  o.speed = 5,
                  o.support2D = !1,
                  o.support3D = !0,
                  o.headSizeRange = [0, 4],
                  o.hpRecoverTime = 30,
                  o.heroXMoveRange = [-2.5, 2.5],
                  o.sphereH = .35,
                  o.taijieH = 4,
                  o.taijieW = 2.5,
                  o.test = !0;
          },
          "./src/script/common/GameData.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "SaveData", function () {
                      return l
                  }),
                  n.d(t, "default", function () {
                      return u
                  });
              var a = n("./src/LTGame/LTUtils/StringEx.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = n("./src/LTGame/Manager/MesManager.ts")
                  , r = n("./src/script/enum/EEventUI.ts")
                  , o = n("./src/script/config/GameConst.ts")
                  , c = n("./src/script/common/Const.ts")
                  , l = function e() {
                      _classCallCheck(this, e),
                          this.stageId = 1,
                          this.onceShare = !0,
                          this.onceNoHp = !0,
                          this.lastOpenTick = 0,
                          this.diamondsCount = 0,
                          this.hpCount = 30,
                          this.hpMax = !1,
                          this.hpGetTime = 0,
                          this.lvRestartTimes = [],
                          this.hasGetGames = {},
                          this.twoDayLogin = !0,
                          this.stageReward = [],
                          this.soundVolume = 1,
                          this.soundOpen = !0,
                          this.vOpen = !0,
                          this.musicVolume = 1,
                          this.first = {},
                          this.initThis = !1,
                          this.selectPetId = 0,
                          this.isVerifyVersion = !1,
                          this.wingId = 0,
                          this.identityPetId = 0,
                          this.lotteryNum = 0,
                          this.lotteryTime = 0,
                          this.openBoxTime = 0,
                          this.initSkin = !1,
                          this.unlockSkin = [],
                          this.skinVideo = {},
                          this.isNewLevelSkin = !0,
                          this.unlockLevelSkinId = 0,
                          this.agreeYinsi = !1;
                  }
                  , u = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.isInitdata = !1,
                              this._savePath = "game01.sav";
                      }
                      return _createClass(e, [{
                          key: "_ReadFromFile",
                          value: function () {
                              var e = Laya.LocalStorage.getJSON(this._savePath);
                              if (this._saveData = new l,
                                  !a.default.IsNullOrEmpty(e)) {
                                  var t = JSON.parse(e);
                                  for (var n in t)
                                      this._saveData[n] = t[n];
                              }
                          }
                      }, {
                          key: "_backGame",
                          value: function () {
                              var t = e.instance;
                              if (!(t.hpCount < 0)) {
                                  var n = Date.now()
                                      , a = t.lastOpenTick;
                                  if (t.hpCount < o.GameConst.data.maxHp) {
                                      var i = Math.floor((n - a) / 1e3) + (c.default.hpRecoverTime - t.hpGetTime)
                                          , s = Math.floor(i / c.default.hpRecoverTime);
                                      t.hpGetTime = c.default.hpRecoverTime - i % c.default.hpRecoverTime,
                                          Laya.timer.clear(e, e.updateGetTime),
                                          Laya.timer.loop(1e3, e, e.updateGetTime),
                                          s = Math.min(s, o.GameConst.data.maxHp - t.hpCount),
                                          e.addHp(s);
                                  }
                              }
                          }
                      }], [{
                          key: "addDiamonds",
                          value: function (t) {
                              e.instance.diamondsCount += t,
                                  e.instance.diamondsCount < 0 && (e.instance.diamondsCount = 0),
                                  s.default.instance.eventUI(r.EEventUI.DIAMONDSCHANGE),
                                  e.SaveToDisk();
                          }
                      }, {
                          key: "reduceDiamonds",
                          value: function (t) {
                              e.instance.diamondsCount -= t,
                                  e.instance.diamondsCount < 0 && (e.instance.diamondsCount = 0),
                                  s.default.instance.eventUI(r.EEventUI.DIAMONDSCHANGE),
                                  e.SaveToDisk();
                          }
                      }, {
                          key: "addHp",
                          value: function (t) {
                              e.instance.hpCount < 0 || (e.instance.hpCount += t,
                                  e.instance.hpCount < 0 && (e.instance.hpCount = 0),
                                  e.instance.hpCount >= o.GameConst.data.maxHp ? (e.instance.hpGetTime = 0,
                                      Laya.timer.clear(e, e.updateGetTime)) : e.instance.hpGetTime <= 0 && (e.instance.hpGetTime = c.default.hpRecoverTime,
                                          Laya.timer.loop(1e3, e, e.updateGetTime)),
                                  s.default.instance.eventUI(r.EEventUI.HPCHANGE),
                                  e.SaveToDisk());
                          }
                      }, {
                          key: "reduceHp",
                          value: function (t) {
                              e.instance.hpCount < 0 || (e.instance.hpCount < o.GameConst.data.maxHp && (e.instance.hpGetTime = c.default.hpRecoverTime,
                                  Laya.timer.clear(e, e.updateGetTime),
                                  Laya.timer.loop(1e3, e, e.updateGetTime)),
                                  e.instance.hpCount -= t,
                                  e.instance.hpCount < 0 && (e.instance.hpCount = 0),
                                  s.default.instance.eventUI(r.EEventUI.HPCHANGE),
                                  e.SaveToDisk());
                          }
                      }, {
                          key: "updateGetTime",
                          value: function () {
                              e.instance.hpGetTime -= 1,
                                  e.instance.hpGetTime <= 0 && (e.addHp(1),
                                      e.instance.hpGetTime = c.default.hpRecoverTime,
                                      s.default.instance.eventUI(r.EEventUI.HPCHANGE));
                          }
                      }, {
                          key: "SaveToDisk",
                          value: function () {
                              if (this._instance) {
                                  e.instance.lastOpenTick = Date.now();
                                  var t = JSON.stringify(this._instance._saveData);
                                  Laya.LocalStorage.setJSON(this._instance._savePath, t),
                                      i.default.SaveToDisk();
                              }
                          }
                      }, {
                          key: "ClearDisk",
                          value: function () {
                              Laya.LocalStorage.setJSON(this._instance._savePath, null);
                          }
                      }, {
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e,
                                  this._instance._ReadFromFile()),
                                  !this._instance.isInitdata && o.GameConst.data && (this._instance.isInitdata = !0,
                                      e.instance.initThis || (this._instance._saveData.diamondsCount = o.GameConst.data.zhuanInit,
                                          this._instance._saveData.hpCount = o.GameConst.data.maxHp,
                                          e.instance.initThis = !0),
                                      this._instance._backGame()),
                                  this._instance._saveData
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/common/GlobalUnit.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return h
                  });
              var a = n("./src/script/common/Const.ts")
                  , i = n("./src/LTGame/Manager/MesManager.ts")
                  , s = n("./src/script/enum/EEventUI.ts")
                  , r = n("./src/LTGame/Res/ResUrl.ts")
                  , o = n("./src/LTGame/Res/LTRes.ts")
                  , c = n("./src/LTGame/Manager/EffectManager.ts")
                  , l = n("./src/LTGame/3d/SceneManager.ts")
                  , u = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , h = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, [{
                          key: "_setAre",
                          value: function () {
                              e.s3d.ambientMode = 1;
                              var t = [.1678838, -.01659165, -.01137983, .00656961, .004985159, -.008635049, .009734819, -.01030053, .02333619, .2107363, .02701665, -.0188861, .01090373, .008416965, -.01457904, .01416337, -.01572322, .03351215, .2899413, .1099665, -.0348094, .02009422, .01630473, -.02824404, .01814265, -.02374644, .04080036];
                              if (t) {
                                  for (var n = e.s3d.ambientSphericalHarmonics, a = 0; a < 3; a++) {
                                      var i = 9 * a;
                                      n.setCoefficients(a, t[i], t[i + 1], t[i + 2], t[i + 3], t[i + 4], t[i + 5], t[i + 6], t[i + 7], t[i + 8]);
                                  }
                                  e.s3d.ambientSphericalHarmonics = n;
                              }
                          }
                      }], [{
                          key: "InitAll",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!a.default.support3D) {
                                                      e.next = 14;
                                                      break
                                                  }
                                                  return t = r.default.scene_url("scene"),
                                                      e.next = 4,
                                                      o.default.LoadAsync(t);
                                              case 4:
                                                  this.s3d = Laya.stage.addChildAt(o.default.Get(t, !0), 0),
                                                      this.s3d.addChild(c.EffectManager.instance.effectRoot),
                                                      this.cameraControl = new Laya.Sprite3D,
                                                      this.camera = this.s3d.getChildByName("Camera"),
                                                      this.s3d.addChild(this.cameraControl),
                                                      this.cameraControl.addChild(this.camera),
                                                      this.light = this.s3d.getChildByName("Light"),
                                                      l.default.instance.initCamera(this.camera),
                                                      l.default.instance.initLight(this.light),
                                                      u.LTUtils.EnableShadow(this.light, 10);
                                              case 14:
                                                  i.default.instance.onUI(s.EEventUI.GamePasue, this, this._changePlay, [!1]),
                                                      i.default.instance.onUI(s.EEventUI.GameResume, this, this._changePlay, [!0]);
                                              case 16:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "_changePlay",
                          value: function (e) {
                              this.pause = !e;
                          }
                      }, {
                          key: "_addSkyBox",
                          value: function () {
                              this.camera.clearFlag = Laya.CameraClearFlags.Sky,
                                  Laya.Texture2D.load(r.default.sky_url("sky_003"), Laya.Handler.create(this, function (t) {
                                      var n = e.s3d.skyRenderer
                                          , a = new Laya.SkyPanoramicMaterial;
                                      a.panoramicTexture = t,
                                          n.material = a;
                                  }));
                          }
                      }, {
                          key: "SwitchSkyBoxMat",
                          value: function (t) {
                              this.camera.clearFlag = Laya.CameraClearFlags.Sky,
                                  Laya.Material.load(r.default.skyMat(t), Laya.Handler.create(this, function (t) {
                                      e.s3d.skyRenderer.material = t;
                                  }));
                          }
                      }, {
                          key: "gameOverOrPause",
                          get: function () {
                              return this.pause || this.gameOver
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/common/LayerDefine.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function e() {
                  _classCallCheck(this, e);
              };
              a.Normal = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER4,
                  a.Hero = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER1,
                  a.Prop = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER2,
                  a.Diamon = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER3,
                  a.Pool = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER4,
                  a.Fenshu = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER5,
                  a.Null = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER6,
                  a.Buffman = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER7,
                  a.Ray = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER8,
                  a.Car = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER9,
                  a.All = Laya.Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER;
          },
          "./src/script/common/LwTools.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LwTools", function () {
                      return a
                  }),
                  n.d(t, "ELwADs", function () {
                      return i
                  }),
                  n.d(t, "ELwPageControl", function () {
                      return s
                  }),
                  n.d(t, "bannerCallObj", function () {
                      return u
                  });
              var a, i, s, r = n("./src/LTGame/Platform/EPlatformType.ts"), o = n("./src/LTGame/Platform/LTPlatform.ts"), c = n("./src/UIExt/LTUI.ts"), l = n("./src/script/ui/UI_MainMediator.ts");
              !function (e) {
                  function t(e) {
                      var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : new u;
                      console.log("qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq");
                      // try {
                      //     if (!p(e))
                      //         return;
                      //     m(" --LocalTools---\x3e 拉取原生banner start，参数", e);
                      //     var n = syyx_sdk_api.get_channel_ad_id(i.simpleBanner_BN)
                      //       , a = syyx_sdk_api.get_channel_ad_id(e);
                      //     syyx_sdk_api.show_banner(function() {
                      //         return a
                      //     }, n, function() {
                      //         try {
                      //             t.loadFunc(),
                      //             t.loadFuncCall();
                      //         } catch (e) {
                      //             console.error(" --LocalTools---\x3e native banner onLoad error", e);
                      //         }
                      //     }, function() {
                      //         try {
                      //             t.showFunc(),
                      //             t.showFuncCall();
                      //         } catch (e) {
                      //             console.error(" --LocalTools---\x3e native banner onShow error", e);
                      //         }
                      //     }, function() {
                      //         try {
                      //             t.closeFunc(),
                      //             t.closeFuncCall();
                      //         } catch (e) {
                      //             console.error(" --LocalTools---\x3e native banner onClose error", e);
                      //         }
                      //     }, function(n) {
                      //         console.error(" --LocalTools---\x3e native banner is on error", e, n),
                      //         t.errFunc();
                      //     }),
                      //     m(" --LocalTools---\x3e 拉取原生banner done，参数", e);
                      // } catch (e) {
                      //     console.error(e);
                      // }
                  }
                  function n(e, t, n) {
                          console.log("wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww");
                      Advertisement.insertAdverV2();
                      Advertisement.bannerAdverV();
                          // l.UI_LwYinsiMediator.instance.Show({
                          //     1: "remp"
                          // });
                      // try {
                      //     if (!p(e))
                      //         return;
                      //     if (o.default.instance.systemInfo.platformVersionCode > 1091) {
                      //         var a = syyx_sdk_api.get_channel_ad_id(e);
                      //         syyx_sdk_api.CreateYS_vivo(a, function() {
                      //             try {
                      //                 n.showFunc(),
                      //                 n.showFuncCall();
                      //             } catch (e) {
                      //                 console.error(" --LocalTools---\x3e vivo native banner onShow error", e);
                      //             }
                      //         }, function(t) {
                      //             console.error(" --LocalTools---\x3e vivo native banner is on error", e, t),
                      //             n.errFunc();
                      //         }, function() {
                      //             try {
                      //                 n.closeFunc(),
                      //                 n.closeFuncCall();
                      //             } catch (e) {
                      //                 console.error(" --LocalTools---\x3e vivo native banner onClose error", e);
                      //             }
                      //         }, t);
                      //     } else {
                      //         var s = syyx_sdk_api.get_channel_ad_id(i.simpleBanner_BN);
                      //         syyx_sdk_api.show_banner(null, s, null, null, null, null),
                      //         n.lowVersionFunc();
                      //     }
                      // } catch (e) {
                      //     console.error(" --LocalTools---\x3e 拉取vivo原生banner error", e);
                      // }
                  }
                  function a() {
                      f(function () {
                          // syyx_sdk_api.click_banner(),
                          // m(" --LocalTools---\x3e clickBanner");
                      });
                  }
                  function h() {
                      // try {
                      //     syyx_sdk_api.hide_banner(),
                      //     o.default.instance.platform == r.EPlatformType.Vivo && syyx_sdk_api.ClearViVoYs(),
                      //     m(" --LocalTools---\x3e hideBanner");
                      // } catch (e) {
                      //     console.error(e);
                      // }
                  }
                  function d() {
                      // var e = !1;
                      // return f(function() {
                      //     var t = syyx_sdk_api.isHaveNativeBanner();
                      //     t && (e = !0),
                      //     m(" --LocalTools---\x3e 获取原生广告状态", t);
                      // }),
                      // e
                  }
                  function f(e) {
                      var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                      o.default.instance.platform != r.EPlatformType.Oppo ? t && t() : e && e();
                  }
                  function _(e, t) {
                      try {
                          e.m_platform.selectedPage = t;
                      } catch (e) {
                          console.error(" --LocalTools---\x3e chose 'lw-ov' error!", e);
                      }
                  }
                  function m(e, t) {
                      var n = ["color: red", "background: black"].join(";");
                      t ? console.log("%c" + e, n, t) : console.log("%c" + e, n);
                  }
                  function p(e) {
                      var t = l.UI_MainMediator.instance.lwAds;
                      if (t)
                          for (var n = 0; n < t.length; n++) {
                              var a = t[n];
                              if (a.key == e && 1 == a.gc_status)
                                  return !0
                          }
                      return !1
                  }
                  e.Init_oppo = function (n, i) {
                      var r = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2]
                          , o = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]
                          , c = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : new u
                          , l = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : null;
                      o && _(n, s.ov);
                      var d = null;
                      r && ((d = n.m_showAd).visible = !1,
                          d.onClick(this, function e() {
                              m(" --LocalTools---\x3e btn showAd touch"),
                                  a(),
                                  d.visible = !1,
                                  d.offClick(this, e);
                          })),
                          h(),
                          Laya.timer.once(200, this, function () {
                              var n = new u;
                              Object.assign(n, c),
                                  n.showFuncCall = function () {
                                      null != d && (d.visible = !0,
                                          e.playBtnSizeAnim(d)),
                                          c.showFuncCall && c.showFuncCall();
                                  }
                                  ,
                                  n.closeFuncCall = function () {
                                      null != d && (d.visible = !1),
                                          c.closeFuncCall && c.closeFuncCall();
                                  }
                                  ,
                                  t(i, n);
                          }),
                          l && l(),
                          m(" --LocalTools---\x3e 初始化ui完成", n);
                  }
                      ,
                      e.Init_vivo = function (e, t) {
                          var a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0
                              , i = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3]
                              , r = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : new u;
                          i && _(e, s.vivo),
                              h(),
                              Laya.timer.once(50, this, function () {
                                  var e = new u;
                                  Object.assign(e, r),
                                      n(t, a, e);
                              });
                      }
                      ,
                      e.btnMistake = function (e, t) {
                          var n = this;
                          f(function () {
                              var i = !1;
                              e.onClick(n, function () {
                                  try {
                                      d() ? i ? (i = !1,
                                          t && t(),
                                          m(" --LocalTools---\x3e btnMistake: 按钮恢复正常逻辑", i)) : (i = !0,
                                              a(),
                                              m(" --LocalTools---\x3e btnMistake: 广告已误点", i)) : (t && t(),
                                                  m(" --LocalTools---\x3e btnMistake: 未开启按钮误触"));
                                  } catch (e) {
                                      t && t(),
                                          console.error(" --LocalTools---\x3e btnMistake onError", e);
                                  }
                              });
                          }, function () {
                              e.onClick(n, function () {
                                  t && t();
                              });
                          });
                      }
                      ,
                      e.getShowBannerOppo = t,
                      e.getShowBannerVivo = n,
                      e.clickOppoBanner = a,
                      e.hideBanner = h,
                      e.setOppoBannerPos = function () {
                          // var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
                          // try {
                          //     var n = Laya.stage.height
                          //       , a = syyx_sdk_api.get_banner_size()
                          //       , i = 0;
                          //     a && (i = a._height),
                          //     m(" --LocalTools---\x3e changeBannerX", e = n - i - t),
                          //     syyx_sdk_api.change_banner_height(e);
                          // } catch (e) {
                          //     console.error(" --LocalTools---\x3e setBannerPos error! ", e);
                          // }
                      }
                      ,
                      e.getOppoNativeCondition = d,
                      e.showVivoGameBox = function () {
                          // try {
                          //     c.default.Toast("正在加载九宫格互推盒子……");
                          //     var e = syyx_sdk_api.get_channel_ad_id(i.nine_JGG);
                          //     syyx_sdk_api.show_game_portal_box(e, function() {}, function() {}, function() {}, function() {}, !0);
                          // } catch (e) {
                          //     console.error(e);
                          // }
                      }
                      ,
                      e.hideVivoGameBox = function () {
                          // try {
                          //     syyx_sdk_api.hide_game_portal_box();
                          // } catch (e) {
                          //     console.error(e);
                          // }
                      }
                      ,
                      e.platform_oppo = f,
                      e.platform_vivo = function (e) {
                          var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                          o.default.instance.platform != r.EPlatformType.Vivo ? t && t() : e && e();
                      }
                      ,
                      e.platform_ov = function (e) {
                          var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                          o.default.instance.platform != r.EPlatformType.Vivo && o.default.instance.platform != r.EPlatformType.Oppo || !e ? t && t() : e();
                      }
                      ,
                      e.getRemoteConfig = function () { }
                      ,
                      e.showBtnLater = function (e) {
                          arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
                              e.visible = !0;
                      }
                      ,
                      e.loopShowNativeInterAd = function (e, t) { }
                      ,
                      e.showNativeInterAdLater = function (e) {
                          f(function () {
                              o.default.instance.ShowInterstitalAd();
                          });
                      }
                      ,
                      e.playBtnSizeAnim = function (e) {
                          try {
                              e.m_btnScaleAnim.play(null, -1);
                          } catch (e) {
                              console.error(" --LocalTools---\x3e playBtnSizeAnim error! ", e);
                          }
                      }
                      ,
                      e.choseController = _,
                      e.colorLog = m,
                      e.checkRemoteUsable = p;
              }(a || (a = {})),
                  function (e) {
                      e.nativeBanner_YSBN = "YSBN",
                          e.nativeInter_YSJS = "YSJS",
                          e.simpleBanner_BN = "BN",
                          e.mis_YSWC = "YSWC",
                          e.video_SP = "SP",
                          e.nine_JGG = "JGG";
                  }(i || (i = {})),
                  function (e) {
                      e.ov = "lw-ov",
                          e.oppo = "lw-oppo",
                          e.vivo = "lw-vivo";
                  }(s || (s = {}));
              var u = function e() {
                  _classCallCheck(this, e),
                      this.loadFunc = function () { }
                      ,
                      this.loadFuncCall = function () { }
                      ,
                      this.showFunc = function () { }
                      ,
                      this.showFuncCall = function () { }
                      ,
                      this.closeFunc = function () { }
                      ,
                      this.closeFuncCall = function () { }
                      ,
                      this.errFunc = function () { }
                      ,
                      this.lowVersionFunc = function () { }
                      ;
              };
          },
          "./src/script/common/MMUnit.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/LTGame/SDK/LTSDK.ts")
                  , i = n("./src/script/common/TimeUtils.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "getRandon",
                          value: function (e, t) {
                              if (null != t) {
                                  var n, a = this._recordRandon[t] || 0, i = this._recordTime[t] || 0, s = 10 * e;
                                  return (n = !(s <= a) && Math.random() < (s - a) / (10 - i)) && a++,
                                      10 == ++i && (i = 0,
                                          a = 0),
                                      this._recordRandon[t] = a,
                                      this._recordTime[t] = i,
                                      n
                              }
                              console.error("id 不能为空");
                          }
                      }, {
                          key: "getValueByName",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                              if (a.default.instance.data && a.default.instance.data[e]) {
                                  var n = a.default.instance.data[e];
                                  return /^[0-9.-]+$/.test(n.toString()) && (n = Number(n)),
                                      console.log("获得参数 name: " + e + "  value:" + n),
                                      n
                              }
                              return console.log("获得参数 name: " + e + "  value: undefined"),
                                  t
                          }
                      }, {
                          key: "checkConfigMatch",
                          value: function (e) {
                              var t, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0, i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0, s = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null;
                              if (null != s ? t = s : null == (t = this.getValueByName(e)) && (t = i),
                                  0 == t)
                                  return !1;
                              var r = a ? e + a : e;
                              return 0 == n ? this.checkMathByTimes(t, r) : 1 == n && this.checkMathByCD(t, r)
                          }
                      }, {
                          key: "checkMathByTimes",
                          value: function (e, t) {
                              var n = this.tempData[t] || 0;
                              return n++,
                                  console.log("checkConfigMatch, name:" + t + "   time:" + n + "  config:" + e),
                                  n >= e ? (this.tempData[t] = 0,
                                      !0) : (this.tempData[t] = n,
                                          !1)
                          }
                      }, {
                          key: "checkMathByCD",
                          value: function (e, t) {
                              var n = this.tempData[t] || 0
                                  , a = i.default.now
                                  , s = a - n;
                              return console.log("checkConfigMatch, name:" + t + "   time:" + n + "now ：" + a + " past  :" + s + "   config:" + e),
                                  s >= 1e3 * e && (this.tempData[t] = a,
                                      !0)
                          }
                      }, {
                          key: "ins",
                          get: function () {
                              return this._ins && (this._ins = new e),
                                  this._ins
                          }
                      }]),
                          e
                  }();
              s._recordRandon = {},
                  s._recordTime = {},
                  s.tempData = {},
                  window.MMUnit = s;
          },
          "./src/script/common/ResDefine.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "FixPath",
                      value: function (e) {
                          return "res/export/Conventional/" + e + ".lh"
                      }
                  }, {
                      key: "iconPath",
                      value: function (e) {
                          return "res/export/Conventional/" + e + ".png"
                      }
                  }, {
                      key: "propMesh",
                      value: function (e) {
                          return "res/u3d/LayaScene_Prefabs/Conventional/Assets/model/" + e + ".lm"
                      }
                  }, {
                      key: "propMaterial",
                      value: function (e) {
                          return "res/u3d/LayaScene_Prefabs/Conventional/Assets/Material/" + e + ".lmat"
                      }
                  }, {
                      key: "prefabPath",
                      value: function (e) {
                          return "res/u3d/LayaScene_Prefabs/Conventional/" + e + ".lh"
                      }
                  }, {
                      key: "LvScenePath",
                      value: function (e) {
                          return "res/u3d/LayaScene_Scenes/Conventional/" + e + ".lh"
                      }
                  }, {
                      key: "ScenePath",
                      value: function (e) {
                          return "res/u3d/LayaScene_Scene/Conventional/" + e + ".ls"
                      }
                  }]),
                      e
              }();
          },
          "./src/script/common/TimeUtils.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return r
                  });
              var a = n("./src/LTGame/LTUtils/MonoHelper.ts")
                  , i = n("./src/LTGame/Manager/MesManager.ts")
                  , s = n("./src/script/enum/EEventUI.ts")
                  , r = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.map = {},
                              this._now = Date.now(),
                              this._enterTime = this._lastTime = this._now,
                              a.default.instance.AddAction(a.EActionType.Update, this, this.loop),
                              i.default.instance.onUI(s.EEventUI.GamePasue1, this, this.gamePause),
                              i.default.instance.onUI(s.EEventUI.GameResume1, this, this.gameResume),
                              i.default.instance.onUI(s.EEventUI.GamePasue, this, this.gamePause),
                              i.default.instance.onUI(s.EEventUI.GameResume, this, this.gameResume);
                      }
                      return _createClass(e, [{
                          key: "gamePause",
                          value: function () {
                              console.log("TimeUtils 游戏暂停"),
                                  this._pause = !0;
                          }
                      }, {
                          key: "gameResume",
                          value: function () {
                              console.log("TimeUtils 游戏继续"),
                                  this._pause = !1,
                                  this._lastTime = Date.now();
                          }
                      }, {
                          key: "loop",
                          value: function () {
                              var e = Date.now()
                                  , t = Math.min(1e3, e - this._lastTime);
                              if (t && !this._pause)
                                  for (var n in this._lastTime = e,
                                      this._now += t,
                                      this.map) {
                                      var a = this.map[n];
                                      a.update(t),
                                          a.active || (a.clear(),
                                              a.recover(),
                                              delete this.map[n]);
                                  }
                              else
                                  console.log("TimeUtils loop不往下走");
                          }
                      }], [{
                          key: "loop",
                          value: function (e, t, n, a) {
                              var i = t ? t.$_GID || (t.$_GID = this.getGID()) : 0
                                  , s = this.instance.map[i];
                              s ? s.add(e, n, a, !1) : (s = o.getInstance(),
                                  this.instance.map[i] = s,
                                  s.create(t, e, n, a, !1));
                          }
                      }, {
                          key: "once",
                          value: function (e, t, n, a) {
                              var i = t ? t.$_GID || (t.$_GID = this.getGID()) : 0
                                  , s = this.instance.map[i];
                              s ? s.add(e, n, a, !0) : (s = o.getInstance(),
                                  this.instance.map[i] = s,
                                  s.create(t, e, n, a, !0));
                          }
                      }, {
                          key: "clear",
                          value: function (e, t) {
                              var n = e ? e.$_GID || (e.$_GID = this.getGID()) : 0
                                  , a = this.instance.map[n];
                              a && (a.removeByFunction(t),
                                  a.active || (a.recover(),
                                      delete this.instance.map[n]));
                          }
                      }, {
                          key: "clearAll",
                          value: function (e) {
                              var t = e ? e.$_GID || (e.$_GID = this.getGID()) : 0
                                  , n = this.instance.map[t];
                              n && (n.clear(),
                                  n.recover(),
                                  delete this.instance.map[t]);
                          }
                      }, {
                          key: "getGID",
                          value: function () {
                              return this.GID++,
                                  this.GID
                          }
                      }, {
                          key: "now",
                          get: function () {
                              return this.instance._now
                          }
                      }, {
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new e),
                                  this._instance
                          }
                      }, {
                          key: "enterTime",
                          get: function () {
                              return this.instance._enterTime
                          }
                      }]),
                          e
                  }();
              r.GID = 0;
              var o = function () {
                  function e() {
                      _classCallCheck(this, e),
                          this.pastTimes = [],
                          this.methods = [],
                          this.times = [],
                          this.args = [],
                          this.onces = [],
                          this._running = !1,
                          this._destory = !1;
                  }
                  return _createClass(e, [{
                      key: "create",
                      value: function (e, t, n, a) {
                          var i = arguments.length > 4 && void 0 !== arguments[4] && arguments[4];
                          this.caller = e,
                              this.methods.push(n),
                              this.times.push(t),
                              this.args.push(a),
                              this.pastTimes.push(0),
                              this.onces.push(i),
                              this.active = !0,
                              this._destory = !1;
                      }
                  }, {
                      key: "add",
                      value: function (e, t, n) {
                          var a = arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
                          this.times.push(e),
                              this.methods.push(t),
                              this.args.push(n),
                              this.pastTimes.push(0),
                              this.onces.push(a);
                      }
                  }, {
                      key: "update",
                      value: function (e) {
                          if (!this._destory) {
                              this._running = !0;
                              for (var t = this.pastTimes.length - 1; t >= 0; t--)
                                  if (this.pastTimes[t] += e,
                                      this.pastTimes[t] >= this.times[t]) {
                                      this.pastTimes[t] = this.pastTimes[t] % this.times[t];
                                      var n = this.methods[t]
                                          , a = this.args[t];
                                      if (this.onces[t] && this.removeIndex(t),
                                          n.apply(this.caller, a),
                                          this._destory)
                                          return void (this._running = !1)
                                  }
                              this._running = !1,
                                  this.pastTimes.length || (this.active = !1);
                          }
                      }
                  }, {
                      key: "removeIndex",
                      value: function (e) {
                          this.pastTimes.splice(e, 1),
                              this.methods.splice(e, 1),
                              this.args.splice(e, 1),
                              this.onces.splice(e, 1),
                              this.times.splice(e, 1);
                      }
                  }, {
                      key: "removeByFunction",
                      value: function (e) {
                          for (var t = 0; t < this.methods.length; t++)
                              if (e == this.methods[t])
                                  return this.removeIndex(t),
                                      void (this.methods.length || (this.active = !1))
                      }
                  }, {
                      key: "clear",
                      value: function () {
                          this.pastTimes = [],
                              this.methods = [],
                              this.args = [],
                              this.onces = [],
                              this.times = [],
                              this.caller = null,
                              this._destory = !0;
                      }
                  }, {
                      key: "recover",
                      value: function () {
                          e._pool.push(this);
                      }
                  }], [{
                      key: "getInstance",
                      value: function () {
                          for (var t = this._pool.length - 1; t >= 0; t--) {
                              var n = this._pool[t];
                              if (!n._running)
                                  return this._pool.splice(t, 1),
                                      n
                          }
                          return new e
                      }
                  }]),
                      e
              }();
              o._pool = [];
          },
          "./src/script/common/Utils.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "Utils", function () {
                      return s
                  });
              var a = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , i = n("./src/script/common/Const.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "isZero",
                          value: function (e) {
                              return !(0 != e.x && -0 != e.x || 0 != e.y && -0 != e.y || 0 != e.z && -0 != e.z)
                          }
                      }, {
                          key: "getRotation",
                          value: function (t) {
                              return e.angleByPoint({
                                  x: 0,
                                  y: 0
                              }, {
                                  x: t.x,
                                  y: t.z
                              })
                          }
                      }, {
                          key: "updateRotationDelayY",
                          value: function (t, n, i) {
                              var s = this.angleByPoint(a.default.zeroNew, {
                                  x: t.x,
                                  y: t.z
                              });
                              return e.updateRotationByAngle(s, n, i)
                          }
                      }, {
                          key: "updateRotationDelayX",
                          value: function (t, n, i) {
                              var s = this.angleByPoint(a.default.zeroNew, {
                                  x: t.z,
                                  y: t.y
                              });
                              return e.updateRotationByAngle(s, n, i)
                          }
                      }, {
                          key: "updateRotationDelayZ",
                          value: function (t, n, i) {
                              var s = this.angleByPoint(a.default.zeroNew, {
                                  x: t.y,
                                  y: t.x
                              });
                              return e.updateRotationByAngle(s, n, i)
                          }
                      }, {
                          key: "direOneDis",
                          value: function (t, n) {
                              var a = t.distance(n.x, n.y)
                                  , i = e.minus(t, n);
                              return Laya.Vector2.scale(i, 1 / a, i),
                                  i
                          }
                      }, {
                          key: "minus",
                          value: function (e, t) {
                              return new Laya.Vector2(e.x - t.x, e.y - t.y)
                          }
                      }, {
                          key: "updateRotationByAngle",
                          value: function (e, t, n) {
                              var a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1
                                  , i = this.getIncludeAngle(e, t)
                                  , s = 0 == a ? 18 / n : n;
                              if (Math.abs(i) <= s)
                                  return i;
                              var r = n;
                              return 0 == a && (this._tempAngle != e && (this._offset = i),
                                  r = this._offset * n / 10),
                                  r *= Laya.timer.scale,
                                  i > 0 ? r : i < 0 ? -r : void 0
                          }
                      }, {
                          key: "angleByPoint",
                          value: function (e, t) {
                              return 180 * -Math.atan2(e.x - t.x, -(e.y - t.y)) / Math.PI
                          }
                      }, {
                          key: "angleNormal",
                          value: function (e) {
                              return (e %= 360) <= -180 ? e + 360 : e > 180 ? e - 360 : e
                          }
                      }, {
                          key: "correctAngle",
                          value: function (e, t) {
                              var n = (e %= 360) - (t %= 360);
                              return n > 180 ? e - 360 : n < -180 ? e + 360 : e
                          }
                      }, {
                          key: "getIncludeAngle",
                          value: function (e, t) {
                              -180 == e && (e = 180);
                              var n = e - (t %= 360);
                              return n > 180 && (n -= 360),
                                  n < -180 && (n = 360 + n),
                                  n > 180 && console.log("错误"),
                                  n
                          }
                      }, {
                          key: "getStartSpeed",
                          value: function (e, t) {
                              return Math.sqrt(2 * e * t)
                          }
                      }, {
                          key: "getAllTime",
                          value: function (e, t, n, a) {
                              var s = e.y - t.y;
                              return Math.sqrt(Math.abs(2 * s / (a || i.default.gravity))) + Math.sqrt(Math.abs(2 * (t.y - n.y) / (a || i.default.gravity)))
                          }
                      }, {
                          key: "lerp",
                          value: function (e, t, n) {
                              var a = t - e;
                              return Math.abs(a) < n ? t : e + (a > 0 ? n : -n)
                          }
                      }, {
                          key: "getLinearVelocity",
                          value: function (e, t, n, a) {
                              var s = e.y - t.y;
                              if (s > 0)
                                  return null;
                              var r = this.getStartSpeed(s, a || i.default.gravity)
                                  , o = this.getAllTime(e, t, n, a)
                                  , c = (n.z - e.z) / o
                                  , l = (n.x - e.x) / o;
                              return new Laya.Vector3(l, r, c)
                          }
                      }, {
                          key: "getMaxH",
                          value: function (e, t, n, a) {
                              var i = e.y
                                  , s = t.y
                                  , r = n * n;
                              return (4 * a * r * (i + s) + -(a * a) * r * r + -4 * i * i + -4 * s * s + 8 * i * s) / (8 * a * r)
                          }
                      }, {
                          key: "getMidpoint2D",
                          value: function (e, t) {
                              return new Laya.Vector3((e.x + t.x) / 2, 0, (e.z + t.z) / 2)
                          }
                      }, {
                          key: "_parseVector3",
                          value: function (e) {
                              var t = e.split(",");
                              return new Laya.Vector3(Number(t[0]), Number(t[1]), Number(t[2]))
                          }
                      }, {
                          key: "getRandomInt",
                          value: function (e) {
                              return Math.floor(Math.random() * e)
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/common/maidian.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return c
                  });
              var a = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , i = n("./src/LTGame/Platform/EPlatformType.ts")
                  , s = n("./src/LTGame/Platform/LTPlatform.ts")
                  , r = n("./src/LTGame/Platform/ShareManager.ts")
                  , o = n("./src/LTGame/SDK/LTSDK.ts")
                  , c = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, [{
                          key: "newReport",
                          value: function (e, t, n) {
                              if (a.default.instance.oneDayPlayer) {
                                  t && t.param1 && (t.param1 = t.param1.toString()),
                                      s.default.instance.RecordEvent(e, n);
                                  var r = t && t.param1 ? t.param1 : null;
                                  s.default.instance.platform == i.EPlatformType.WX && wx.reportUserBehaviorBranchAnalytics && wx.reportUserBehaviorBranchAnalytics({
                                      branchId: e,
                                      branchDim: r,
                                      eventType: 1
                                  });
                              }
                          }
                      }, {
                          key: "report",
                          value: function (e, t, n) {
                              t && t.param1 && (t.param1 = t.param1.toString()),
                                  s.default.instance.RecordEvent(e, n);
                              var a = t && t.param1 ? t.param1 : null;
                              s.default.instance.platform == i.EPlatformType.WX && wx.reportUserBehaviorBranchAnalytics && wx.reportUserBehaviorBranchAnalytics({
                                  branchId: e,
                                  branchDim: a,
                                  eventType: 1
                              });
                          }
                      }, {
                          key: "reportHoutai",
                          value: function (e, t, n) {
                              (arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : r.default.instance.lastIsAd) ? o.default.instance.video(t, n, e) : o.default.instance.share(n, e);
                          }
                      }, {
                          key: "youmemNewReport",
                          value: function (e, t) {
                              a.default.instance.oneDayPlayer && s.default.instance.platform == i.EPlatformType.WX && s.default.instance.RecordEvent(e, t);
                          }
                      }, {
                          key: "youmemOldReport",
                          value: function (e, t) {
                              a.default.instance.oneDayPlayer || s.default.instance.platform != i.EPlatformType.WX || s.default.instance.RecordEvent(e, t);
                          }
                      }, {
                          key: "youmemReport",
                          value: function (e, t) {
                              s.default.instance.platform == i.EPlatformType.WX && s.default.instance.RecordEvent(e, t);
                          }
                      }, {
                          key: "reportAndroid233",
                          value: function (e) {
                              s.default.instance.platform == i.EPlatformType.android_233 && s.default.instance.RecordEvent(e);
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/config/BuffPeopleConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "BuffPeopleConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/BuffPeopleConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/DoorConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "DoorConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/DoorConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/EffectConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EffectConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/EffectConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/GameConst.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "GameConst", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/GameConst.json";
                  }(a || (a = {}));
          },
          "./src/script/config/IdentityPetConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "IdentityPetConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/IdentityPetConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/LevelConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "LevelConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/LevelConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/LevelPropConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "LevelPropConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/LevelPropConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/MusicConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "MusicConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/MusicConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/OrnamentsConfig .ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "OrnamentsConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/OrnamentsConfig .json";
                  }(a || (a = {}));
          },
          "./src/script/config/PackConst.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "PackConst", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/PackConst.json";
                  }(a || (a = {}));
          },
          "./src/script/config/PetConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "PetConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/PetConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/PlayerStatusConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "PlayerStatusConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/PlayerStatusConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/PropConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "PropConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/PropConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/RollConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "RollConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/RollConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/ShareConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ShareConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/ShareConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/ShopConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ShopConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/ShopConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/SignConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "SignConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/SignConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/SkinConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "SkinConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/SkinConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/config/WingConfig.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "WingConfig", function () {
                      return a
                  }),
                  function (e) {
                      e.config = function e() {
                          _classCallCheck(this, e);
                      }
                          ,
                          e.path = "res/config/WingConfig.json";
                  }(a || (a = {}));
          },
          "./src/script/data/LevelProxy.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/script/config/LevelConfig.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = n("./src/script/common/GameData.ts")
                  , r = n("./src/script/data/vo/SimpleVo.ts")
                  , o = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this.levelVos = {},
                              this.level_data = [],
                              this.initData();
                      }
                      return _createClass(e, [{
                          key: "initData",
                          value: function () {
                              var e = this
                                  , t = 0;
                              a.LevelConfig.dataList.forEach(function (n) {
                                  t++,
                                      n.id = t,
                                      n.smallLv = t,
                                      e.level_data[n.lv] = e.level_data[n.lv] || [],
                                      e.level_data[n.lv][t] = n;
                              });
                          }
                      }, {
                          key: "levelVoByLv",
                          value: function (e, t) {
                              var n = this.getLevelConfigByLv(e, t);
                              return n ? this.levelVos[e + "_" + t] || (this.levelVos[e + "_" + t] = new r.LevelVo(n.id)) : null
                          }
                      }, {
                          key: "levelVoById",
                          value: function (e) {
                              var t = this.level_data[1][e];
                              return t ? this.levelVoByLv(t.lv, t.smallLv) : null
                          }
                      }, {
                          key: "getLevelConfigByLv",
                          value: function (e, t) {
                              arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
                              return this.level_data[e][t]
                          }
                      }, {
                          key: "get_level_datas",
                          value: function (e) {
                              arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                              return e = e || 1,
                                  this.level_data[e]
                          }
                      }, {
                          key: "nextLevelVoByLv",
                          value: function (e) {
                              var t = e + 1;
                              return this.level_data[1][t] ? this.levelVoById(t) : null
                          }
                      }, {
                          key: "finishLv",
                          value: function (e) {
                              if (this.nowLevelId() == e) {
                                  s.default.instance.finishLvs = s.default.instance.finishLvs || [],
                                      s.default.instance.finishLvs.push(e),
                                      s.default.SaveToDisk();
                                  var t = this.nextLevelVoByLv(e);
                                  t && (i.default.instance.levelId = t.levelData.id,
                                      i.default.SaveToDisk());
                              }
                          }
                      }, {
                          key: "breakLv",
                          value: function (e) {
                              this.nowLevelId() == e && (s.default.instance.breakLvs.push(e),
                                  this.finishLv(e));
                          }
                      }, {
                          key: "levelCount",
                          value: function () {
                              return this._count(this.level_data)
                          }
                      }, {
                          key: "_count",
                          value: function (e) {
                              for (var t = 0, n = 0; n < e.length; n++) {
                                  var a = e[n];
                                  if (a)
                                      for (var i = 0; i < a.length; i++)
                                          a[i] && t++;
                              }
                              return t
                          }
                      }, {
                          key: "nowLevelId",
                          value: function () {
                              return i.default.instance.levelId
                          }
                      }, {
                          key: "nowDayLevelId",
                          value: function () {
                              return i.default.instance.dayLevelId
                          }
                      }, {
                          key: "nextLevelIdById",
                          value: function (e) {
                              var t = this.nextLevelVoByLv(e);
                              return t ? t.levelData.id : null
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/data/vo/SimpleVo.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "LevelVo", function () {
                      return i
                  }),
                  n.d(t, "SkinVo", function () {
                      return s
                  }),
                  n.d(t, "HeroVo", function () {
                      return r
                  });
              var a = n("./src/script/data/LevelProxy.ts")
                  , i = function e(t) {
                      _classCallCheck(this, e),
                          this.levelData = a.default.instance.level_data[1][t];
                  }
                  , s = function e(t) {
                      _classCallCheck(this, e);
                  }
                  , r = function e(t) {
                      _classCallCheck(this, e);
                  };
          },
          "./src/script/enum/EBodyguardAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EBodyguardAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Ilde = "sec_idle",
                          e.Refuse = "sec_refuse",
                          e.Welcome = "sec_welcome";
                  }(a || (a = {}));
          },
          "./src/script/enum/EBuffmanAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EBuffmanAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Idle = "pplbuff_idle",
                          e.Walk = "pplbuff_walk",
                          e.Hit = "pplbuff_hit";
                  }(a || (a = {}));
          },
          "./src/script/enum/EBuffmanType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EBuffmanType", function () {
                      return a
                  }),
                  function (e) {
                      e.Buff_Good = "pplbuff_good",
                          e.Buff_Bad = "pplbuff_bad";
                  }(a || (a = {}));
          },
          "./src/script/enum/EEffectType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EEffectType", function () {
                      return a
                  }),
                  function (e) {
                      e[e.eff_circle_good = 1] = "eff_circle_good",
                          e[e.eff_circle_bad = 2] = "eff_circle_bad",
                          e[e.eff_add_good = 3] = "eff_add_good",
                          e[e.eff_add_bad = 4] = "eff_add_bad",
                          e[e.eff_diomand = 5] = "eff_diomand",
                          e[e.eff_pllbuff = 6] = "eff_pllbuff",
                          e[e.eff_settlement = 7] = "eff_settlement";
                  }(a || (a = {}));
          },
          "./src/script/enum/EEventScene.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EEventScene", function () {
                      return a
                  }),
                  function (e) {
                      e.AdChange = "AdChange",
                          e.ShareChange = "ShareChange",
                          e.GameWin = "gameWin",
                          e.GameFail = "gameFail",
                          e.SkinChange = "SkinChange",
                          e.IntimacyChange = "intimacyChange",
                          e.GirlTarget = "GirlTargetType",
                          e.GirlStatus = "GirlStatus",
                          e.Scorce = "Scorce";
                  }(a || (a = {}));
          },
          "./src/script/enum/EEventUI.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EEventUI", function () {
                      return a
                  }),
                  function (e) {
                      e.HPCHANGE = "HPCHANGE",
                          e.DIAMONDSCHANGE = "DIAMONDSCHANGE",
                          e.COINCHANGE = "COINCHANGE",
                          e.PanelOpen = "PanelOpen",
                          e.PanelHide = "PanelHide",
                          e.GameResume = "GameResume",
                          e.GamePasue = "GamePasue",
                          e.GameResume1 = "GameResume1",
                          e.GamePasue1 = "GamePasue1",
                          e.getMMConfig = "getMMConfig",
                          e.HeroSkinChange = "heroSkinChange",
                          e.PropSkinChange = "propSkinChange",
                          e.petChange = "petChange",
                          e.itemChange = "itemChange",
                          e.CHOOSE_RESULT = "CHOOSE_RESULT",
                          e.changeSkin = "changeSkin",
                          e.shopGetNewSKin = "shopGetNewSKin",
                          e.getLimitSkin = "getLimitSkin",
                          e.shopItemClick = "shopItemClick";
                  }(a || (a = {}));
          },
          "./src/script/enum/EGirlType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EGirlType", function () {
                      return a
                  }),
                  function (e) {
                      e[e.Good_Girl = 0] = "Good_Girl",
                          e[e.Bad_Girl = 1] = "Bad_Girl",
                          e[e.None_Girl = 2] = "None_Girl";
                  }(a || (a = {}));
          },
          "./src/script/enum/EHeroAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EHeroAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Flight = "palyer_flight",
                          e.Backoff = "player_backoff",
                          e.Cry = "player_cry",
                          e.Dance = "player_dance",
                          e.KissB = "player_kiss_b",
                          e.KissG = "player_kiss_g",
                          e.Stick = "player_stick",
                          e.Turn = "player_turn",
                          e.WalkB = "player_walkb",
                          e.WalkB1 = "player_walkb1",
                          e.WalkBEnd = "player_walkb_end",
                          e.WalkG1 = "player_walkg1",
                          e.WalkG2 = "player_walkg2",
                          e.WalkG3 = "player_walkg3",
                          e.WalkG4 = "player_walkg4",
                          e.WalkG5 = "player_walkg5";
                  }(a || (a = {}));
          },
          "./src/script/enum/EMaiType.ts": function (e, t, n) {
              var a, i, s, r, o;
              n.r(t),
                  n.d(t, "ENewMaiType", function () {
                      return a
                  }),
                  n.d(t, "EOldMaiType", function () {
                      return i
                  }),
                  n.d(t, "allYoumenType", function () {
                      return s
                  }),
                  n.d(t, "newYoumenType", function () {
                      return r
                  }),
                  n.d(t, "android233Event", function () {
                      return o
                  }),
                  function (e) {
                      e.a = "1";
                  }(a || (a = {})),
                  function (e) {
                      e.a = "1";
                  }(i || (i = {})),
                  function (e) {
                      e["顶部购买金币拉起视频"] = "leftTopGetReward",
                          e["皮肤试用视频"] = "trySkin",
                          e["复活拉起视频"] = "revive",
                          e["结算三倍视频"] = "settleThree",
                          e["体力不足看视频"] = "hpNoGou",
                          e["无限体力拉视频"] = "noLimitHp",
                          e["视频解锁皮肤"] = "videoUnLockSkin",
                          e["视频解锁歌曲"] = "videoUnLockMusic",
                          e["皮肤被解锁"] = "unlockSkin",
                          e["音乐被解锁"] = "unlockMusic";
                  }(s || (s = {})),
                  function (e) {
                      e["进入loading"] = "enterLoading",
                          e["结束loading"] = "endLoading",
                          e["进入主页"] = "enterMain",
                          e["滑动开始游戏"] = "startGame",
                          e["第一次进入复活页面"] = "firstDie",
                          e["第一次复活"] = "firstRevive",
                          e["第一次未复活进入结束"] = "noReviceToSettle",
                          e["第一次复活进入结束"] = "reviceToSettle";
                  }(r || (r = {})),
                  function (e) {
                      e[e["视频转盘"] = 10001] = "视频转盘",
                          e[e["视频双倍签到"] = 10002] = "视频双倍签到",
                          e[e["视频限定皮肤"] = 10003] = "视频限定皮肤",
                          e[e["视频商店icon"] = 10004] = "视频商店icon",
                          e[e["视频胜利双倍"] = 10005] = "视频胜利双倍",
                          e[e["视频宝箱单个"] = 10006] = "视频宝箱单个",
                          e[e["视频宝箱钥匙"] = 10007] = "视频宝箱钥匙",
                          e[e["视频五倍宝箱"] = 10008] = "视频五倍宝箱",
                          e[e["全屏转盘"] = 20001] = "全屏转盘",
                          e[e["全屏签到"] = 20002] = "全屏签到",
                          e[e["全屏商店"] = 20003] = "全屏商店",
                          e[e["全屏限定皮肤"] = 20004] = "全屏限定皮肤";
                  }(o || (o = {}));
          },
          "./src/script/enum/EMoveStatus.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EMoveStatus", function () {
                      return a
                  }),
                  function (e) {
                      e[e.Move_Normal = 0] = "Move_Normal",
                          e[e.Move_Stair = 1] = "Move_Stair",
                          e[e.Move_Double_Stair = 2] = "Move_Double_Stair",
                          e[e.Move_Up_Board = 3] = "Move_Up_Board",
                          e[e.Move_Separate = 4] = "Move_Separate",
                          e[e.Move_Gliding = 5] = "Move_Gliding",
                          e[e.Move_Double_Waiting = 6] = "Move_Double_Waiting",
                          e[e.Move_Vertical_Pole = 7] = "Move_Vertical_Pole",
                          e[e.Move_Double_Road = 8] = "Move_Double_Road",
                          e[e.Move_Car = 9] = "Move_Car",
                          e[e.Move_Drift = 10] = "Move_Drift",
                          e[e.Move_End = 11] = "Move_End",
                          e[e.Move_Backoff = 12] = "Move_Backoff";
                  }(a || (a = {}));
          },
          "./src/script/enum/ENpcAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ENpcAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Idle = "girl_idle",
                          e.Dance = "girl_dance",
                          e.Walk = "girl_walk";
                  }(a || (a = {}));
          },
          "./src/script/enum/ENpcManAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ENpcManAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Idle = "end_ppl_idle",
                          e.Kiss = "end_ppl_kiss";
                  }(a || (a = {}));
          },
          "./src/script/enum/EPetAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EPetAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Idle = "idle",
                          e.Run = "run";
                  }(a || (a = {}));
          },
          "./src/script/enum/EPlayerStatus.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EPlayerStatus", function () {
                      return a
                  }),
                  function (e) {
                      e.Angel_Neutral = "angel_neutral",
                          e.Angel_Loyal = "angel_loyal",
                          e.Angel_Decent = "angel_decent",
                          e.Angel_Glamorous = "angel_glamorous",
                          e.Devil_Neutral = "devil_neutral",
                          e.Devil_Cheater = "devil_cheater",
                          e.Devil_Baddie = "devil_baddie",
                          e.Devil_Naughty = "devil_naughty";
                  }(a || (a = {}));
          },
          "./src/script/enum/EPoolType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EPoolType", function () {
                      return a
                  }),
                  function (e) {
                      e.Pool_Good = "pool_good",
                          e.Pool_Bad = "pool_bad",
                          e.Pool_Good_1 = "pool_good1",
                          e.Pool_Bad_1 = "pool_bad1";
                  }(a || (a = {}));
          },
          "./src/script/enum/EPropType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EPropType", function () {
                      return a
                  }),
                  function (e) {
                      e.Prop_Crown = "prop_crown",
                          e.Prop_Juice = "prop_juice",
                          e.Prop_Lipstick = "prop_lipstick",
                          e.Prop_Mask = "prop_mask",
                          e.Prop_Perfume = "prop_perfume",
                          e.Prop_Powder = "prop_powder",
                          e.Prop_Ring = "prop_ring",
                          e.Prop_Skull = "prop_skull",
                          e.Prop_Diamonds = "prop_diamonds";
                  }(a || (a = {}));
          },
          "./src/script/enum/ESound.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ESoundName", function () {
                      return a
                  }),
                  function (e) {
                      e.click = "button",
                          e.bgm = "steps_loop",
                          e.main_bgm = "music_loop",
                          e.photo = "photo",
                          e.diamond_pickup = "diamond_pickup",
                          e.enter_door = "enter_door",
                          e.gate_open = "gate_open",
                          e.general_tap = "general_tap",
                          e.glamoruos_bonus = "glamoruos_bonus",
                          e.jump = "jump",
                          e.kissing_end_level = "kissing_end_level",
                          e.level_complete = "level_complete",
                          e.level_fail = "level_fail",
                          e.limo_start = "limo_start",
                          e.limo_stop = "limo_stop",
                          e.pick_up_bad_2 = "pick_up_bad_2",
                          e.pick_up_good = "pick_up_good",
                          e.steps_loop = "steps_loop",
                          e.swipe_to_play = "swipe_to_play";
                  }(a || (a = {}));
          },
          "./src/script/enum/EStudentAni.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EStudentAni", function () {
                      return a
                  }),
                  function (e) {
                      e.Student_Idle = "player_idle",
                          e.Student_Jump = "player_jump",
                          e.Student_Walk = "player_walk0",
                          e.Student_Hat = "hat";
                  }(a || (a = {}));
          },
          "./src/script/enum/ETryType.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "ETryType", function () {
                      return a
                  }),
                  function (e) {
                      e[e.ETryPet = 0] = "ETryPet",
                          e[e.ETryIdentityPet = 1] = "ETryIdentityPet",
                          e[e.ETryWing = 2] = "ETryWing";
                  }(a || (a = {}));
          },
          "./src/script/enum/EWXNativeAD.ts": function (e, t, n) {
              var a;
              n.r(t),
                  n.d(t, "EWXNativeAD", function () {
                      return a
                  }),
                  function (e) {
                      e[e.singleAd1 = 0] = "singleAd1",
                          e[e.singleAd2 = 1] = "singleAd2",
                          e[e.verticalAd1 = 2] = "verticalAd1",
                          e[e.verticalAd2 = 3] = "verticalAd2",
                          e[e.horizontalAd = 4] = "horizontalAd",
                          e[e.matrixAd = 5] = "matrixAd";
                  }(a || (a = {}));
          },
          "./src/script/scene/Main3d/Game3d.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return S
                  });
              var a = n("./src/LTGame/3d/SceneManager.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , r = n("./src/script/common/GlobalUnit.ts")
                  , o = n("./src/script/scene/script/CameraFollow.ts")
                  , c = n("./src/script/scene/script/GameScript.ts")
                  , l = n("./src/script/scene/sprite/Player.ts")
                  , u = n("./src/script/common/Const.ts")
                  , h = n("./src/LTGame/Res/ResUrl.ts")
                  , d = n("./src/script/scene/Main3d/LevelScene.ts")
                  , f = n("./src/script/scene/script/utils/Logger.ts")
                  , _ = n("./src/script/config/LevelConfig.ts")
                  , m = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , p = n("./src/LTGame/Res/LTRes.ts")
                  , g = n("./src/LTGame/Manager/MesManager.ts")
                  , v = n("./src/script/enum/EEventScene.ts")
                  , y = n("./src/script/ui/UI_MainMediator.ts")
                  , k = n("./src/script/enum/EEventUI.ts")
                  , C = n("./src/script/common/LwTools.ts")
                  , S = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._gaming = !1,
                              this._finish = !1,
                              this._cameraLocalPos = new Laya.Vector3(0, 3.4, -5.3),
                              this._cameraLocalEuler = new Laya.Vector3(-16.5, 180, 0),
                              g.default.instance.onUI(k.EEventUI.getMMConfig, this, this.refreshStatus);
                      }
                      return _createClass(e, [{
                          key: "enterGame",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return e.next = 2,
                                                      r.default.InitAll();
                                              case 2:
                                                  return this.gameScript = r.default.s3d.addComponent(c.default),
                                                      this.cameraFollow = r.default.s3d.addComponent(o.CameraFollow),
                                                      e.next = 6,
                                                      this.lvGameWait(i.default.instance.levelId);
                                              case 6:
                                                  this._finish = !0,
                                                      this.refreshStatus();
                                              case 8:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "lvGameWait",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  return this.Clear(),
                                                      r.default.camera.transform.localPosition = u.default.cameraOffset,
                                                      r.default.camera.transform.localRotationEuler = u.default.cameraRotate,
                                                      t.next = 5,
                                                      this.InitPlayer();
                                              case 5:
                                                  return t.next = 7,
                                                      this.LoadLevelScene(e);
                                              case 7:
                                                  return t.next = 9,
                                                      this.StartGame();
                                              case 9:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "StartGame",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!this._gaming) {
                                                      e.next = 2;
                                                      break
                                                  }
                                                  return e.abrupt("return");
                                              case 2:
                                                  this._gaming = !0;
                                              case 3:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "refreshStatus",
                          value: function () {
                              this._finish && (this.Player.ChangePlayerCloth(),
                                  this.NowScene().FinishNpcScript.ChangeStatusByVersion());
                          }
                      }, {
                          key: "InitPlayer",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, i, s, o, c, u, d, _;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (!(n = r.default.s3d.getChildByName("public"))) {
                                                      t.next = 26;
                                                      break
                                                  }
                                                  return a = "player",
                                                      i = "player_1",
                                                      f.Logger.lg("当前初始化加载角色id===>" + a),
                                                      s = h.default.prefab_url(a),
                                                      o = h.default.prefab_url(i),
                                                      t.next = 9,
                                                      p.default.LoadAndGet(s);
                                              case 9:
                                                  return c = t.sent,
                                                      t.next = 12,
                                                      p.default.LoadAndGet(o);
                                              case 12:
                                                  u = t.sent,
                                                      (d = new Laya.Sprite3D).transform.localPosition = m.default.zeroNew,
                                                      d.transform.localRotationEuler = m.default.zeroNew,
                                                      d.name = "player_root",
                                                      n.addChild(d),
                                                      (_ = new Laya.Sprite3D).transform.localPosition = m.default.zeroNew,
                                                      _.transform.localRotationEuler = m.default.zeroNew,
                                                      _.name = "move_node",
                                                      d.addChild(_),
                                                      c && (c.name = "player",
                                                          _.addChild(c)),
                                                      u && (u.name = "student",
                                                          _.addChild(u)),
                                                      this._player = new l.default(d);
                                              case 26:
                                                  e.instance.cameraFollow.cAnchorFollow(r.default.cameraControl, this._player.Owner),
                                                      r.default.camera.transform.localPosition = this._cameraLocalPos,
                                                      r.default.camera.transform.localRotationEuler = this._cameraLocalEuler;
                                              case 29:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "LoadLevelScene",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, i;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (n = _.LevelConfig.dataList.length,
                                                      0 == (a = e % n) && (a = n),
                                                      this._levelId = a,
                                                      this._nowLvScene) {
                                                      t.next = 9;
                                                      break
                                                  }
                                                  return i = new d.default,
                                                      this._nowLvScene = i,
                                                      t.next = 9,
                                                      i.BuildGame(this._levelId);
                                              case 9:
                                                  y.UI_MainMediator.instance.ui.m_page_state.selectedIndex = 1,
                                                      C.LwTools.platform_oppo(function () {
                                                          var e = new C.bannerCallObj;
                                                          e.showFunc = function () {
                                                              C.LwTools.setOppoBannerPos(50);
                                                          }
                                                              ,
                                                              C.LwTools.Init_oppo(y.UI_MainMediator.instance.ui, C.ELwADs.nativeBanner_YSBN, !1, !0, e);
                                                      });
                                              case 11:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "LoadNextLevel",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return i.default.instance.levelId++,
                                                      i.default.SaveToDisk(),
                                                      g.default.instance.event3d(v.EEventScene.GirlTarget, [2]),
                                                      y.UI_MainMediator.instance.ui.m_page_state.selectedIndex = 1,
                                                      C.LwTools.platform_oppo(function () {
                                                          var e = new C.bannerCallObj;
                                                          e.showFunc = function () {
                                                              C.LwTools.setOppoBannerPos(50);
                                                          }
                                                              ,
                                                              C.LwTools.Init_oppo(y.UI_MainMediator.instance.ui, C.ELwADs.nativeBanner_YSBN, !1, !0, e);
                                                      }),
                                                      f.Logger.lg("加载下一关"),
                                                      this._gaming = !1,
                                                      f.Logger.lg("下一关:" + i.default.instance.levelId),
                                                      this.NowScene().Destory(),
                                                      f.Logger.lg("清理上一关:"),
                                                      this._nowLvScene = null,
                                                      e.next = 13,
                                                      this.LoadLevelScene(i.default.instance.levelId);
                                              case 13:
                                                  f.Logger.lg("场景加载完成"),
                                                      this._gaming = !0;
                                              case 15:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "LoadlastLevel",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return i.default.instance.levelId--,
                                                      i.default.SaveToDisk(),
                                                      f.Logger.lg("加载上一关"),
                                                      this._gaming = !1,
                                                      f.Logger.lg("上一关:" + i.default.instance.levelId),
                                                      this.NowScene().Destory(),
                                                      f.Logger.lg("清理上一关:"),
                                                      this._nowLvScene = null,
                                                      e.next = 10,
                                                      this.LoadLevelScene(i.default.instance.levelId);
                                              case 10:
                                                  f.Logger.lg("场景加载完成"),
                                                      this._gaming = !0;
                                              case 12:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "PreloadNextSceneRes",
                          value: function () {
                              f.Logger.lg("开始预加载下一关:" + (this._levelId + 1)),
                                  a.default.instance.preloadSceneRes(this._levelId + 1);
                          }
                      }, {
                          key: "Clear",
                          value: function () {
                              e.instance.cameraFollow.closeFollow();
                          }
                      }, {
                          key: "NowScene",
                          value: function () {
                              return this._nowLvScene
                          }
                      }, {
                          key: "AddChild",
                          value: function (e) {
                              this.NowScene().Scene().addChild(e);
                          }
                      }, {
                          key: "Update",
                          value: function () {
                              if (this._gaming) {
                                  var e = Laya.timer.delta;
                                  this._nowLvScene && this._nowLvScene.Update(e),
                                      this._player && this._player.Update(e);
                              }
                          }
                      }, {
                          key: "LateUpdate",
                          value: function () {
                              if (this._gaming) {
                                  var e = s.LTUtils.deltaTime;
                                  this.cameraFollow && this.cameraFollow && this.cameraFollow.update(e);
                              }
                          }
                      }, {
                          key: "LevelId",
                          get: function () {
                              return this._levelId
                          }
                      }, {
                          key: "Player",
                          get: function () {
                              return this._player
                          }
                      }, {
                          key: "CameraLocalPos",
                          get: function () {
                              return this._cameraLocalPos
                          }
                      }, {
                          key: "CameraLocalEuler",
                          get: function () {
                              return this._cameraLocalEuler
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new e),
                                  this._instance
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/scene/Main3d/LevelScene.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return G
                  });
              var a = n("./src/LTGame/3d/SceneManager.ts")
                  , i = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , s = n("./src/LTGame/LTUtils/QuaternionEx.ts")
                  , r = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , o = n("./src/LTGame/Res/LTRes.ts")
                  , c = n("./src/LTGame/Res/ResUrl.ts")
                  , l = n("./src/script/common/GlobalUnit.ts")
                  , u = n("./src/script/common/Utils.ts")
                  , h = n("./src/script/config/BuffPeopleConfig.ts")
                  , d = n("./src/script/config/IdentityPetConfig.ts")
                  , f = n("./src/script/config/LevelConfig.ts")
                  , _ = n("./src/script/config/LevelPropConfig.ts")
                  , m = n("./src/script/config/PetConfig.ts")
                  , p = n("./src/script/config/SkinConfig.ts")
                  , g = n("./src/script/config/WingConfig.ts")
                  , v = n("./src/script/enum/EBodyguardAni.ts")
                  , y = n("./src/script/enum/EBuffmanAni.ts")
                  , k = n("./src/script/enum/EBuffmanType.ts")
                  , C = n("./src/script/enum/EPoolType.ts")
                  , S = n("./src/script/enum/EPropType.ts")
                  , L = n("./src/script/scene/script/buffman/BuffmanScript.ts")
                  , I = n("./src/script/scene/script/car/CarScript.ts")
                  , w = n("./src/script/scene/script/end/FinishScript.ts")
                  , T = n("./src/script/scene/script/npc/FinishNpcScript.ts")
                  , P = n("./src/script/scene/script/pool/PoolScript.ts")
                  , A = n("./src/script/scene/script/prop/PropsScript.ts")
                  , E = n("./src/script/scene/script/utils/Logger.ts")
                  , U = n("./src/script/scene/Main3d/Game3d.ts")
                  , G = function () {
                      function e() {
                          _classCallCheck(this, e),
                              this._gaming = !1,
                              this._roadMatArray = [],
                              this._angelSkinSpriteArray = {},
                              this._devilSkinSpriteArray = {},
                              this._angelWingSkinArray = {},
                              this._devilWingSkinArray = {};
                      }
                      return _createClass(e, [{
                          key: "Scene",
                          value: function () {
                              return this._scene.scene
                          }
                      }, {
                          key: "BuildGame",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, i;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  return n = f.LevelConfig.dataList.length,
                                                      0 == (i = e % n) && (i = n),
                                                      this._levelId = e,
                                                      E.Logger.lg("当前关卡:" + e),
                                                      this._scene = a.default.instance.getSceneByLv(i),
                                                      this._gaming = !1,
                                                      this._bornPos = r.default.zero,
                                                      this._lastPoint || (this._lastPoint = new Laya.Point(0, 0)),
                                                      t.next = 11,
                                                      this._scene.buildScene();
                                              case 11:
                                                  this.InitEvent(),
                                                      this.InitItems(),
                                                      this.InitPathPos(),
                                                      U.default.instance.Player.BornPos = this._bornPos,
                                                      U.default.instance.Player.InitPos(this._posList, this._rotList),
                                                      U.default.instance.Player.ResetStatus(),
                                                      this.InitProps(),
                                                      this.InitPools(),
                                                      this.InitBodyguard(),
                                                      this.InitBuffMan(),
                                                      this.InitCar(),
                                                      this.InitEnd(),
                                                      this.InitFinishNpc(),
                                                      this.InitSea();
                                              case 25:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "InitMaterials",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (this._roadMatArray && !(this._roadMatArray.length <= 0)) {
                                                      e.next = 17;
                                                      break
                                                  }
                                                  return this._roadMatArray = [],
                                                      t = c.default.roadMat("platform_4"),
                                                      n = c.default.roadMat("platform_5"),
                                                      a = c.default.roadMat("platform_6"),
                                                      e.next = 7,
                                                      o.default.LoadAsync(t);
                                              case 7:
                                                  return i = e.sent,
                                                      e.next = 10,
                                                      o.default.LoadAsync(n);
                                              case 10:
                                                  return s = e.sent,
                                                      e.next = 13,
                                                      o.default.LoadAsync(a);
                                              case 13:
                                                  r = e.sent,
                                                      this._roadMatArray.push(i),
                                                      this._roadMatArray.push(s),
                                                      this._roadMatArray.push(r);
                                              case 17:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "InitHeroAndPet",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!this.Scene()) {
                                                      e.next = 9;
                                                      break
                                                  }
                                                  return t = this.AddNewSpriteNode("player", this._scene.scene),
                                                      e.next = 4,
                                                      this.AddNewObject("player", t);
                                              case 4:
                                                  e.sent.transform.localPosition = new Laya.Vector3(0, 0, 3),
                                                      this._angelPetNode = this.AddNewSpriteNode("angelPet", this._scene.scene),
                                                      this._devilPetNode = this.AddNewSpriteNode("devilPet", this._scene.scene),
                                                      this._petNode = this.AddNewSpriteNode("pet", this._scene.scene);
                                              case 9:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "SwitchPet",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, i;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (n = m.PetConfig.dataList.find(function (t) {
                                                      return t.id == e
                                                  }),
                                                      !this._petNode) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  if (this._petNode.getChildByName(n.prefab_name)) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  return this._petNode.destroyChildren(),
                                                      a = c.default.prefab_url(n.prefab_name),
                                                      t.next = 8,
                                                      o.default.LoadAndGet(a);
                                              case 8:
                                                  i = t.sent,
                                                      this._petNode.addChild(i);
                                              case 10:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "SwitchWing2",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, i, s, r;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (n = g.WingConfig.data[e],
                                                      !this._angelWingNode) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  if (this._angelWingNode.getChildByName(n.angel_wing)) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  return this._angelWingNode.destroyChildren(),
                                                      a = c.default.prefab_url(n.angel_wing),
                                                      t.next = 8,
                                                      o.default.LoadAndGet(a);
                                              case 8:
                                                  i = t.sent,
                                                      this._angelWingNode.addChild(i);
                                              case 10:
                                                  if (!this._devilWingNode) {
                                                      t.next = 19;
                                                      break
                                                  }
                                                  if (this._devilWingNode.getChildByName(n.devil_wing)) {
                                                      t.next = 19;
                                                      break
                                                  }
                                                  return this._devilWingNode.destroyChildren(),
                                                      s = c.default.prefab_url(n.devil_wing),
                                                      t.next = 17,
                                                      o.default.LoadAndGet(s);
                                              case 17:
                                                  r = t.sent,
                                                      this._devilWingNode.addChild(r);
                                              case 19:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "SwitchIdentityPet",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  var n, a, i, s, r;
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  if (n = d.IdentityPetConfig.dataList.find(function (t) {
                                                      return t.id == e
                                                  }),
                                                      !this._angelPetNode) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  if (this._angelPetNode.getChildByName(n.angel_pet)) {
                                                      t.next = 10;
                                                      break
                                                  }
                                                  return this._angelPetNode.destroyChildren(),
                                                      a = c.default.prefab_url(n.angel_pet),
                                                      t.next = 8,
                                                      o.default.LoadAndGet(a);
                                              case 8:
                                                  i = t.sent,
                                                      this._angelPetNode.addChild(i);
                                              case 10:
                                                  if (!this._devilPetNode) {
                                                      t.next = 19;
                                                      break
                                                  }
                                                  if (this._devilPetNode.getChildByName(n.devil_pet)) {
                                                      t.next = 19;
                                                      break
                                                  }
                                                  return this._devilPetNode.destroyChildren(),
                                                      s = c.default.prefab_url(n.devil_pet),
                                                      t.next = 17,
                                                      o.default.LoadAndGet(s);
                                              case 17:
                                                  r = t.sent,
                                                      this._devilPetNode.addChild(r);
                                              case 19:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "SwitchWing",
                          value: function (e) {
                              var t = g.WingConfig.dataList.find(function (t) {
                                  return t.id == e
                              });
                              if (this._angelWingSkinArray)
                                  for (var n in this._angelWingSkinArray)
                                      this._angelWingSkinArray[n].active = t.angel_wing == n;
                              if (this._devilWingSkinArray)
                                  for (var a in this._devilWingSkinArray)
                                      this._devilWingSkinArray[a].active = t.devil_wing == a;
                          }
                      }, {
                          key: "SwitchPlayerSkin",
                          value: function (e, t) {
                              var n = p.SkinConfig.dataList.find(function (e) {
                                  return e.id == t
                              });
                              if (1 == e) {
                                  if (this._angelSkinSpriteArray)
                                      for (var a in this._angelSkinSpriteArray)
                                          for (var i = 0; i < this._angelSkinSpriteArray[a].length; i++) {
                                              var s = this._angelSkinSpriteArray[a][i];
                                              s && (s.active = !0);
                                          }
                                  var r = this._angelSkinSpriteArray[n.status];
                                  r && r.forEach(function (e) {
                                      e && (e.active = !0);
                                  });
                              } else if (0 == e) {
                                  if (this._devilSkinSpriteArray)
                                      for (var a in this._devilSkinSpriteArray)
                                          for (i = 0; i < this._devilSkinSpriteArray[a].length; i++) {
                                              var o = this._devilSkinSpriteArray[a][i];
                                              o && (o.active = !1);
                                          }
                                  var c = this._devilSkinSpriteArray[n.status];
                                  c && c.forEach(function (e) {
                                      e && (e.active = !0);
                                  });
                              }
                          }
                      }, {
                          key: "InitPlayerSkin",
                          value: function (e, t) {
                              var n = this;
                              if (e) {
                                  var a = p.SkinConfig.dataList;
                                  a && a.length > 0 ? a.forEach(function (a) {
                                      var i = a.status
                                          , s = a.skinNodes;
                                      1 == t ? n._angelSkinSpriteArray[i] = n.GetSkinNode(e, s) : 0 == t && (n._devilSkinSpriteArray[i] = n.GetSkinNode(e, s));
                                  }) : E.Logger.lg("》》》没有读取到角色衣服配置文件《《《");
                              }
                          }
                      }, {
                          key: "InitWing",
                          value: function (e, t) {
                              var n = this.GetSkinNode(e, ["player/body/plyer_2/Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Neck/wing_skin"]);
                              if (n) {
                                  var a = n[0];
                                  if (a)
                                      for (var i = a.numChildren, s = 0; s < i; s++) {
                                          var r = a.getChildAt(s);
                                          if (r) {
                                              var o = r.name;
                                              1 == t ? this._angelWingSkinArray[o] = r : 0 == t && (this._devilWingSkinArray[o] = r),
                                                  r.active = !1;
                                          }
                                      }
                              }
                          }
                      }, {
                          key: "GetSkinNode",
                          value: function (e, t) {
                              var n = t
                                  , a = [];
                              if (n && n.length)
                                  for (var i = 0; i < n.length; i++) {
                                      var s = n[i].split("/");
                                      if (s && s.length > 0) {
                                          for (var r = null, o = 0; o < s.length; o++)
                                              r = r ? r.getChildByName(s[o]) : e.getChildByName(s[o]);
                                          a.push(r);
                                      }
                                  }
                              return a
                          }
                      }, {
                          key: "AddNewObject",
                          value: function (e, t) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  var a, i;
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  if (!t) {
                                                      n.next = 9;
                                                      break
                                                  }
                                                  if (a = t.getChildByName(e)) {
                                                      n.next = 8;
                                                      break
                                                  }
                                                  return i = c.default.prefab_url(e),
                                                      n.next = 6,
                                                      o.default.LoadAndGet(i);
                                              case 6:
                                                  a = n.sent,
                                                      t.addChild(a);
                                              case 8:
                                                  return n.abrupt("return", a);
                                              case 9:
                                                  return n.abrupt("return", null);
                                              case 10:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n)
                              }))
                          }
                      }, {
                          key: "AddNewSpriteNode",
                          value: function (e, t) {
                              if (t) {
                                  var n = t.getChildByName(e);
                                  return n || ((n = new Laya.Sprite3D).name = e,
                                      t.addChild(n)),
                                      n
                              }
                              return null
                          }
                      }, {
                          key: "ReloadCurrentLevel",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  this._gaming = !1,
                                                      this.InitPathPos(),
                                                      U.default.instance.Player.BornPos = this._bornPos,
                                                      U.default.instance.Player.InitPos(this._posList, this._rotList),
                                                      U.default.instance.Player.ResetStatus(),
                                                      this.ResetAllBaseProp(),
                                                      this.ResetAllPool(),
                                                      this._bodyguardAni && this.SwitchBodyguardAnimation(v.EBodyguardAni.Ilde),
                                                      this.ResetAllBuffman(),
                                                      this._car && this._car.ResetCar(),
                                                      this.FinishScript && this.FinishScript.ResetFinishScripts(),
                                                      this.InitFinishNpc(),
                                                      this.InitSea(),
                                                      this.InitObs();
                                              case 14:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "InitObs",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("obstacle");
                                  if (t)
                                      for (var n = t.numChildren, a = 0; a < n; a++) {
                                          var i = t.getChildAt(a);
                                          i && (i.active = !0);
                                      }
                                  var s = e.getChildByName("prop").getChildByName("other");
                                  if (s) {
                                      var r = s.numChildren;
                                      for (a = 0; a < r; a++) {
                                          var o = s.getChildAt(a);
                                          o && (o.active = !0);
                                      }
                                  }
                              }
                          }
                      }, {
                          key: "InitFinishNpc",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("platforms").getChildByName("endSelection");
                                  t && (this._finishNpc = new T.default(t),
                                      this._finishNpc.Init());
                              }
                          }
                      }, {
                          key: "InitCar",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("prop").getChildByName("car").getChildAt(0);
                                  if (t) {
                                      var n = t.name;
                                      this._car = null,
                                          this._car = new I.default(t),
                                          this._car.CarName = n,
                                          "car_good" == n ? this._car.OtherName = "car_bad" : "car_bad" == n && (this._car.OtherName = "car_good"),
                                          this._car.Init();
                                  }
                              }
                          }
                      }, {
                          key: "InitEnd",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("platforms").getChildByName("endplat");
                                  t && (this._finish = new w.default(t),
                                      this._finish.Init());
                              }
                          }
                      }, {
                          key: "InitBuffMan",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r, l, u, d, f = this;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!(t = this._scene.scene)) {
                                                      e.next = 15;
                                                      break
                                                  }
                                                  if (!(n = t.getChildByName("prop").getChildByName("people").getChildByName("buff"))) {
                                                      e.next = 15;
                                                      break
                                                  }
                                                  a = n.numChildren,
                                                      this._buffmanArray = [],
                                                      i = this.GetNowSceneName(),
                                                      s = h.BuffPeopleConfig.dataList.filter(function (e) {
                                                          return i == e.sceneName
                                                      }),
                                                      r = regeneratorRuntime.mark(function e() {
                                                          var t, a, i, r, h, _;
                                                          return regeneratorRuntime.wrap(function (e) {
                                                              for (; ;)
                                                                  switch (e.prev = e.next) {
                                                                      case 0:
                                                                          return t = n.getChildAt(l),
                                                                              (a = t.addChild(new Laya.Sprite3D)).name = "move_node",
                                                                              t.addChild(a),
                                                                              u = k.EBuffmanType.Buff_Good,
                                                                              d = k.EBuffmanType.Buff_Bad,
                                                                              t.name.startsWith("pplbuff_good") ? (u = k.EBuffmanType.Buff_Good,
                                                                                  d = k.EBuffmanType.Buff_Bad) : t.name.startsWith("pplbuff_bad") && (u = k.EBuffmanType.Buff_Bad,
                                                                                      d = k.EBuffmanType.Buff_Good),
                                                                              i = c.default.prefab_url(u),
                                                                              e.next = 10,
                                                                              o.default.LoadAndGet(i, !1);
                                                                      case 10:
                                                                          (r = e.sent) && (a.addChild(r),
                                                                              h = s.find(function (e) {
                                                                                  return e.name == t.name
                                                                              }),
                                                                              (_ = new L.default(r)).BuffType = u,
                                                                              _.OtherType = d,
                                                                              _.Init(h),
                                                                              f._buffmanArray.push(_));
                                                                      case 12:
                                                                      case "end":
                                                                          return e.stop()
                                                                  }
                                                          }, e)
                                                      }),
                                                      l = 0;
                                              case 10:
                                                  if (!(l < a)) {
                                                      e.next = 15;
                                                      break
                                                  }
                                                  return e.delegateYield(r(), "t0", 12);
                                              case 12:
                                                  l++,
                                                      e.next = 10;
                                                  break;
                                              case 15:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "SwitchBuffmanAnimation",
                          value: function (e) {
                              if (this._buffmanArray) {
                                  var t = this._buffmanArray.find(function (t) {
                                      return t.Owner.parent.parent.name == e
                                  });
                                  t && (t.SwitchAnimation(y.EBuffmanAni.Hit),
                                      t.HideCollider());
                              }
                          }
                      }, {
                          key: "InitBodyguard",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("prop").getChildByName("people").getChildByName("baoan").getChildByName("sec");
                                  t && (this._bodyguardAni = t.getChildAt(0).getComponent(Laya.Animator),
                                      this.SwitchBodyguardAnimation(v.EBodyguardAni.Ilde));
                              }
                          }
                      }, {
                          key: "SwitchBodyguardAnimation",
                          value: function (e) {
                              this._bodyguardAni && this._bodyguardAni.crossFade(e, .1, 0, 0);
                          }
                      }, {
                          key: "InitPools",
                          value: function () {
                              var e = this._scene.scene;
                              if (e) {
                                  var t = e.getChildByName("prop").getChildByName("pool");
                                  if (this._poolArray = [],
                                      t)
                                      for (var n = t.numChildren, a = 0; a < n; a++) {
                                          var i = t.getChildAt(a);
                                          if (i) {
                                              var s = i.name
                                                  , r = new P.default(i)
                                                  , o = C.EPoolType.Pool_Good
                                                  , c = C.EPoolType.Pool_Bad;
                                              s.startsWith("pool_good") && (o = C.EPoolType.Pool_Good,
                                                  c = C.EPoolType.Pool_Bad),
                                                  s.startsWith("pool_bad") && (o = C.EPoolType.Pool_Bad,
                                                      c = C.EPoolType.Pool_Good),
                                                  s.startsWith("pool_good1") && (o = C.EPoolType.Pool_Good_1,
                                                      c = C.EPoolType.Pool_Bad_1),
                                                  s.startsWith("pool_bad1") && (o = C.EPoolType.Pool_Bad_1,
                                                      c = C.EPoolType.Pool_Good_1),
                                                  r.PoolType = o,
                                                  r.OtherType = c,
                                                  r.Init(),
                                                  this._poolArray.push(r);
                                          }
                                      }
                              }
                          }
                      }, {
                          key: "InitProps",
                          value: function () {
                              var e = this
                                  , t = this._scene.scene;
                              if (t) {
                                  var n = t.getChildByName("prop");
                                  this._basePropArray = [],
                                      this._scenePropConfig = [],
                                      this._scenePropConfig = _.LevelPropConfig.dataList.filter(function (t) {
                                          return e.GetNowSceneName() == t.sceneName
                                      });
                                  var a = n.getChildByName("bad");
                                  if (a)
                                      for (var i = a.numChildren, s = 0; s < i; s++) {
                                          var r = a.getChildAt(s);
                                          r && this.AddPropScript(r);
                                      }
                                  var o = n.getChildByName("good");
                                  if (o) {
                                      var c = o.numChildren;
                                      for (s = 0; s < c; s++) {
                                          var l = o.getChildAt(s);
                                          l && this.AddPropScript(l);
                                      }
                                  }
                                  var u = t.getChildByName("obstacle").getChildByName("circles");
                                  if (u) {
                                      this._circlePropsArray = [];
                                      var h = u.numChildren;
                                      for (s = 0; s < h; s++) {
                                          var d = u.getChildAt(s);
                                          if (d) {
                                              var f = d.getChildByName("rotate").getChildByName("prop");
                                              if (f)
                                                  for (var m = f.numChildren, p = 0; p < m; p++) {
                                                      var g = f.getChildAt(p);
                                                      this._circlePropsArray.push(g);
                                                  }
                                          }
                                      }
                                  }
                              }
                          }
                      }, {
                          key: "AddPropScript",
                          value: function (e) {
                              var t = e.name
                                  , n = new A.default(e)
                                  , a = S.EPropType.Prop_Crown;
                              if (t.startsWith("prop_crown") ? a = S.EPropType.Prop_Crown : t.startsWith("prop_juice") ? a = S.EPropType.Prop_Juice : t.startsWith("prop_lipstick") ? a = S.EPropType.Prop_Lipstick : t.startsWith("prop_mask") ? a = S.EPropType.Prop_Mask : t.startsWith("prop_perfume") ? a = S.EPropType.Prop_Perfume : t.startsWith("prop_powder") ? a = S.EPropType.Prop_Powder : t.startsWith("prop_ring") ? a = S.EPropType.Prop_Ring : t.startsWith("prop_skull") && (a = S.EPropType.Prop_Skull),
                                  this._scenePropConfig && this._scenePropConfig.length > 0) {
                                  var i = this._scenePropConfig.find(function (e) {
                                      return e.goodType == a || e.badType == a
                                  });
                                  if (i) {
                                      var s = i.goodType
                                          , r = i.badType;
                                      a == s && (n.OtherType = r),
                                          a == r && (n.OtherType = s);
                                  }
                              } else
                                  E.Logger.lg("未找到对应关卡的道具配置---\x3elevel_prop_config.xlsx");
                              n.PropType = a,
                                  n.Init(),
                                  this._basePropArray.push(n);
                          }
                      }, {
                          key: "ChangeAllBasePropType",
                          value: function () {
                              this._basePropArray && this._basePropArray.forEach(function (e) {
                                  e && e.ChangeType();
                              });
                          }
                      }, {
                          key: "ResetAllBaseProp",
                          value: function () {
                              this._basePropArray && this._basePropArray.forEach(function (e) {
                                  e && e.ResetProp();
                              }),
                                  this._circlePropsArray && this._circlePropsArray.forEach(function (e) {
                                      e && (e.active = !0);
                                  });
                          }
                      }, {
                          key: "ChangeAllPool",
                          value: function () {
                              this._poolArray && this._poolArray.forEach(function (e) {
                                  e && e.ChangeType();
                              });
                          }
                      }, {
                          key: "ResetAllPool",
                          value: function () {
                              this._poolArray && this._poolArray.forEach(function (e) {
                                  e && e.ResetPool();
                              });
                          }
                      }, {
                          key: "ChangeAllBuffmanType",
                          value: function () {
                              this._buffmanArray && this._buffmanArray.forEach(function (e) {
                                  e && e.ChangeType();
                              });
                          }
                      }, {
                          key: "ResetAllBuffman",
                          value: function () {
                              this._buffmanArray && this._buffmanArray.forEach(function (e) {
                                  e && e.ResetBuffman();
                              });
                          }
                      }, {
                          key: "InitSea",
                          value: function () {
                              var e = l.default.s3d.getChildByName("public");
                              if (e) {
                                  var t = e.getChildAt(0);
                                  this._seaList = [];
                                  for (var n = t.numChildren, a = 0; a < n; a++)
                                      this._seaList[a] = t.getChildAt(a);
                              }
                              this.SwitchSea(0);
                          }
                      }, {
                          key: "SwitchSea",
                          value: function (e) {
                              if (this._seaList)
                                  for (var t = this._seaList.length, n = 0; n < t; n++) {
                                      var a = this._seaList[n];
                                      a && (a.active = e == n);
                                  }
                              0 == e ? l.default.SwitchSkyBoxMat("sky_1") : l.default.SwitchSkyBoxMat("sky_2");
                          }
                      }, {
                          key: "GetNowSceneName",
                          value: function () {
                              return this._scene.scene.name
                          }
                      }, {
                          key: "InitPathPos",
                          value: function () {
                              var e = this;
                              if (this._posList = [],
                                  this._rotList = [],
                                  this._scene) {
                                  this._scene.SceneConfig.child.forEach(function (t) {
                                      if ("born_pos" == t.name) {
                                          var n = u.Utils._parseVector3(t.position);
                                          e._bornPos = n,
                                              e._posList.push(n),
                                              e._rotList.push(s.default.identify);
                                      }
                                  });
                                  var t = this._scene.scene;
                                  if (t) {
                                      var n = t.getChildByName("platforms");
                                      if (n)
                                          for (var a = n.numChildren, i = 0; i < a; i++) {
                                              var r = n.getChildAt(i);
                                              if (r) {
                                                  if (r.active = !0,
                                                      r.name.startsWith("abs_escalator")) {
                                                      var o = r.getChildByName("top_road");
                                                      o && (o.active = !0);
                                                  } else if (r.name.startsWith("obs_stick")) {
                                                      var c = r.getChildByName("obs_stick_1 (2)");
                                                      c && (c.active = !0);
                                                  }
                                                  var l = r.getChildByName("paths");
                                                  if (l)
                                                      for (var h = l.numChildren, d = 0; d < h; d++) {
                                                          var f = l.getChildAt(d);
                                                          this._posList.push(f.transform.position),
                                                              this._rotList.push(f.transform.rotation);
                                                      }
                                              }
                                          }
                                      else
                                          E.Logger.lg("初始化场景路径点出错,没有平台节点");
                                  } else
                                      E.Logger.lg("初始化场景路径点出错,没有场景根节点");
                              } else
                                  E.Logger.lg("初始化场景路径点出错,没有场景");
                          }
                      }, {
                          key: "GetCurrentScene",
                          value: function () {
                              return this._scene.scene
                          }
                      }, {
                          key: "InitEvent",
                          value: function () {
                              Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.OnMouseDown),
                                  Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.OnMouseDrag),
                                  Laya.stage.on(Laya.Event.MOUSE_UP, this, this.OnMouseUp);
                          }
                      }, {
                          key: "OnMouseDown",
                          value: function () {
                              var e = Laya.MouseManager.instance.mouseX
                                  , t = Laya.MouseManager.instance.mouseY;
                              this._lastPoint.setTo(e, t);
                          }
                      }, {
                          key: "OnMouseDrag",
                          value: function () {
                              if (this._gaming) {
                                  var e = Laya.MouseManager.instance.mouseX
                                      , t = Laya.MouseManager.instance.mouseY
                                      , n = (e - this._lastPoint.x) / Laya.stage.designWidth
                                      , a = t - this._lastPoint.y / Laya.stage.designHeight;
                                  U.default.instance.Player && U.default.instance.Player.UpdatePoint(-n, a),
                                      this._lastPoint.setTo(e, t);
                              }
                          }
                      }, {
                          key: "OnMouseUp",
                          value: function () { }
                      }, {
                          key: "RemoveEvent",
                          value: function () {
                              Laya.stage.off(Laya.Event.MOUSE_DOWN, this, this.OnMouseDown),
                                  Laya.stage.off(Laya.Event.MOUSE_DOWN, this, this.OnMouseDrag),
                                  Laya.stage.off(Laya.Event.MOUSE_DOWN, this, this.OnMouseUp);
                          }
                      }, {
                          key: "Update",
                          value: function (e) {
                              this._buffmanArray && this._buffmanArray.forEach(function (t) {
                                  t && t.Update(e);
                              }),
                                  this._car && this._car.Update(e),
                                  this._finish && this._finish.Update(e);
                          }
                      }, {
                          key: "LateUpdate",
                          value: function (e) { }
                      }, {
                          key: "StartGame",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (!this._gaming) {
                                                      e.next = 2;
                                                      break
                                                  }
                                                  return e.abrupt("return");
                                              case 2:
                                                  this._gaming = !0,
                                                      U.default.instance.Player && U.default.instance.Player.Go();
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "InitItems",
                          value: function () {
                              var e = this
                                  , t = this._scene.prefabs
                                  , n = function (n) {
                                      var a = e.GetCls(n);
                                      a && t[n].forEach(function (t) {
                                          var s = new a;
                                          s && (i.LTUtils.SetShadow(t, !1, !1),
                                              s.initDisplay(t, n, !1, e._levelId));
                                      });
                                  };
                              for (var a in t)
                                  n(a);
                          }
                      }, {
                          key: "GetCls",
                          value: function (e) {
                              return null
                          }
                      }, {
                          key: "Destory",
                          value: function () {
                              this._gaming = !1,
                                  this.RemoveEvent(),
                                  this._levelId = null,
                                  Laya.timer.clearAll(this),
                                  l.default.camera && (Laya.Tween.clearAll(l.default.camera.transform.position),
                                      Laya.Tween.clearAll(l.default.camera.transform.rotationEuler)),
                                  this._posList.length = 0,
                                  this._rotList.length = 0,
                                  E.Logger.lg("清理上一关场景物体"),
                                  this._scene && this._scene.clearScene(),
                                  E.Logger.lg("清理上一关场景物体完成"),
                                  this._scene = null;
                          }
                      }, {
                          key: "IsGaming",
                          get: function () {
                              return this._gaming
                          }
                      }, {
                          key: "PosList",
                          get: function () {
                              return this._posList
                          }
                      }, {
                          key: "RotList",
                          get: function () {
                              return this._rotList
                          }
                      }, {
                          key: "FinishNpcScript",
                          get: function () {
                              return this._finishNpc
                          }
                      }, {
                          key: "FinishScript",
                          get: function () {
                              return this._finish
                          }
                      }, {
                          key: "CarScript",
                          get: function () {
                              return this._car
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/scene/MainScene.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return y
                  });
              var a = n("./src/LTGame/Fsm/BaseState.ts")
                  , i = n("./src/LTGame/Start/ESceneType.ts")
                  , s = n("./src/script/common/Const.ts")
                  , r = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/LTGame/Manager/AudioManager.ts")
                  , l = n("./src/LTGame/Platform/EPlatformType.ts")
                  , u = n("./src/script/ui/UI_MainMediator.ts")
                  , h = n("./src/script/scene/Main3d/Game3d.ts")
                  , d = n("./src/script/data/LevelProxy.ts")
                  , f = n("./src/LTGame/Manager/EffectManager.ts")
                  , _ = n("./src/LTGame/Manager/GameManager.ts")
                  , m = n("./src/LTGame/Manager/ShopManager.ts")
                  , p = n("./src/script/common/TimeUtils.ts")
                  , g = n("./src/script/common/GameData.ts")
                  , v = n("./src/script/ui/UI_LwYinsiMediator.ts")
                  , y = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this, i.ESceneType.Main)
                      }
                      return _createClass(n, [{
                          key: "_DoEnter",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (d.default.instance,
                                                      s.default.support2D && (Laya.Physics && Laya.Physics.enable(),
                                                          Laya.PhysicsDebugDraw.enable()),
                                                      r.default.instance.firstEnter && (r.default.instance.firstEnter = !1),
                                                      o.default.instance.platform != l.EPlatformType.Oppo || g.default.instance.agreeYinsi) {
                                                      e.next = 6;
                                                      break
                                                  }
                                                  return v.UI_LwYinsiMediator.instance.Show(),
                                                      e.abrupt("return");
                                              case 6:
                                                  return e.next = 8,
                                                      u.UI_MainMediator.instance.Show();
                                              case 8:
                                                  if (e.prev = 8,
                                                      m.default.instance,
                                                      !s.default.support3D) {
                                                      e.next = 13;
                                                      break
                                                  }
                                                  return e.next = 13,
                                                      h.default.instance.enterGame();
                                              case 13:
                                                  e.next = 18;
                                                  break;
                                              case 15:
                                                  e.prev = 15,
                                                      e.t0 = e.catch(8),
                                                      console.error(e.t0);
                                              case 18:
                                                  s.default.loadUI && s.default.loadUI.dispose(),
                                                      s.default.loadUI = null,
                                                      o.default.instance.platform == l.EPlatformType.WX && (o.default.instance.LoadSubpackageAsync("res_ani"),
                                                          o.default.instance.LoadSubpackageAsync("res_atlas")),
                                                      p.default.instance,
                                                      _.default.instance.enterGame(),
                                                      f.EffectManager.instance.init(),
                                                      f.EffectManager.instance.WarmEffects(),
                                                      c.default.instance.setMusicOpen(r.default.instance.isMusicOn),
                                                      c.default.instance.setSoundOpen(r.default.instance.isSoundOn);
                                              case 27:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, null, [[8, 15]])
                              }))
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/SplashScene.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return M
                  });
              var a = n("./src/LTGame/Config/ConfigManager.ts")
                  , i = n("./src/LTGame/Start/ESceneType.ts")
                  , s = n("./src/LTGame/Start/LTSplashScene.ts")
                  , r = n("./src/script/config/GameConst.ts")
                  , o = n("./src/script/config/PackConst.ts")
                  , c = n("./src/script/config/SignConfig.ts")
                  , l = n("./src/LTGame/Manager/AudioManager.ts")
                  , u = n("./src/script/config/ShareConfig.ts")
                  , h = n("./src/ui/base/baseBinder.ts")
                  , d = n("./src/ui/sign/signBinder.ts")
                  , f = n("./src/ui/main/mainBinder.ts")
                  , _ = n("./src/ui/Load/LoadBinder.ts")
                  , m = n("./src/script/config/MusicConfig.ts")
                  , p = n("./src/script/config/LevelConfig.ts")
                  , g = n("./src/LTGame/3d/SceneManager.ts")
                  , v = n("./src/script/config/EffectConfig.ts")
                  , y = n("./src/LTGame/Manager/EffectManager.ts")
                  , k = n("./src/script/config/RollConfig.ts")
                  , C = n("./src/ui/Load/UI_loading.ts")
                  , S = n("./src/script/config/SkinConfig.ts")
                  , L = n("./src/script/config/PlayerStatusConfig.ts")
                  , I = n("./src/script/config/PropConfig.ts")
                  , w = n("./src/script/config/LevelPropConfig.ts")
                  , T = n("./src/script/config/DoorConfig.ts")
                  , P = n("./src/script/config/BuffPeopleConfig.ts")
                  , A = n("./src/script/config/OrnamentsConfig .ts")
                  , E = n("./src/script/config/PetConfig.ts")
                  , U = n("./src/script/config/WingConfig.ts")
                  , G = n("./src/script/config/IdentityPetConfig.ts")
                  , b = n("./src/script/config/ShopConfig.ts")
                  , x = n("./src/ui/LwYinsi/LwYinsiBinder.ts")
                  , M = function (e) {
                      _inherits(n, s["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.call(this))._splashUIClass = C.default,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnBindUI",
                          value: function () {
                              h.default.bindAll(),
                                  d.default.bindAll(),
                                  f.default.bindAll(),
                                  _.default.bindAll(),
                                  x.default.bindAll();
                          }
                      }, {
                          key: "_OnSetLoadConfig",
                          value: function () {
                              a.ConfigManager.AddConfig(r.GameConst),
                                  a.ConfigManager.AddConfig(o.PackConst),
                                  a.ConfigManager.AddConfig(c.SignConfig),
                                  a.ConfigManager.AddConfig(u.ShareConfig),
                                  a.ConfigManager.AddConfig(m.MusicConfig),
                                  a.ConfigManager.AddConfig(p.LevelConfig),
                                  a.ConfigManager.AddConfig(v.EffectConfig),
                                  a.ConfigManager.AddConfig(k.RollConfig),
                                  a.ConfigManager.AddConfig(S.SkinConfig),
                                  a.ConfigManager.AddConfig(L.PlayerStatusConfig),
                                  a.ConfigManager.AddConfig(I.PropConfig),
                                  a.ConfigManager.AddConfig(w.LevelPropConfig),
                                  a.ConfigManager.AddConfig(T.DoorConfig),
                                  a.ConfigManager.AddConfig(P.BuffPeopleConfig),
                                  a.ConfigManager.AddConfig(A.OrnamentsConfig),
                                  a.ConfigManager.AddConfig(E.PetConfig),
                                  a.ConfigManager.AddConfig(U.WingConfig),
                                  a.ConfigManager.AddConfig(G.IdentityPetConfig),
                                  a.ConfigManager.AddConfig(b.ShopConfig);
                          }
                      }, {
                          key: "_OnGameResPrepared",
                          value: function (e) {
                              l.default.instance.Preload(e),
                                  g.default.instance.Preload(e),
                                  y.EffectManager.instance.Preload(e);
                          }
                      }, {
                          key: "_OnGameResLoaded",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  this.isFinished = !0,
                                                      this.nextState = i.ESceneType.Main;
                                              case 2:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/AniStateScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "AniStateScript", function () {
                      return a
                  });
              var a = function (e) {
                  _inherits(n, Laya.AnimatorStateScript);
                  var t = _createSuper(n);
                  function n() {
                      return _classCallCheck(this, n),
                          t.apply(this, arguments)
                  }
                  return _createClass(n, [{
                      key: "Callback",
                      value: function (e) {
                          this._animator = e.args[0],
                              this._handler = e;
                      }
                  }, {
                      key: "onStateEnter",
                      value: function () { }
                  }, {
                      key: "onStateUpdate",
                      value: function () { }
                  }, {
                      key: "onStateExit",
                      value: function () {
                          return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                              var t, n;
                              return regeneratorRuntime.wrap(function (e) {
                                  for (; ;)
                                      switch (e.prev = e.next) {
                                          case 0:
                                              this._animator && (t = this._animator.getControllerLayer(0).getCurrentPlayState(),
                                                  n = t.animatorState.name,
                                                  this._handler && this._handler.runWith(n));
                                          case 1:
                                          case "end":
                                              return e.stop()
                                      }
                              }, e, this)
                          }))
                      }
                  }, {
                      key: "Destory",
                      value: function () {
                          this._handler && (this._handler.clear(),
                              this._handler = null),
                              this._animator && (this._animator = null);
                      }
                  }]),
                      n
              }();
          },
          "./src/script/scene/script/CameraFollow.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "CameraFollow", function () {
                      return r
                  });
              var a = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , i = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , s = n("./src/script/common/GlobalUnit.ts")
                  , r = function (e) {
                      _inherits(n, Laya.Script3D);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._openUpRotate = !1,
                              e._rotateSmath = !1,
                              e._isFollow = !0,
                              e._targetMoveV3 = new Laya.Vector3,
                              e._currentMoveVelocity = new Laya.Vector3,
                              e._speed = 1,
                              e._targetRotate = new Laya.Vector3,
                              e._rotateOffset = new Laya.Vector3,
                              e._currentVelocity = new Laya.Vector3,
                              e
                      }
                      return _createClass(n, [{
                          key: "cAnchorFollow",
                          value: function (e, t, n) {
                              var a = arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
                              this._cAnchor = e,
                                  this._posOffSet = n || new Laya.Vector3,
                                  this._followSprite = t,
                                  this._rotateOffset.y = 0,
                                  this._rotateOffset.x = 0,
                                  this._rotateOffset.z = 0,
                                  this._openUpRotate = !0,
                                  this._cAnchor.transform.rotationEuler.y = 0,
                                  this._cAnchor.transform.rotationEuler = this._cAnchor.transform.rotationEuler,
                                  this._rotateSmath = a,
                                  this.update();
                          }
                      }, {
                          key: "closeFollow",
                          value: function () {
                              this._followSprite = null,
                                  this._cAnchor = null;
                          }
                      }, {
                          key: "winFollow",
                          value: function () {
                              this._openUpRotate = !0,
                                  this._rotateOffset.x = 20;
                          }
                      }, {
                          key: "stopCAnchorFollow",
                          value: function () {
                              this._followSprite = null,
                                  this._cAnchor = null,
                                  this._posOffSet = null;
                          }
                      }, {
                          key: "onUpdate",
                          value: function () { }
                      }, {
                          key: "update",
                          value: function (e) {
                              this._followSprite && this._isFollow && (this._cAnchor && this._updateCAnchor(),
                                  this._openUpRotate && this._rotateSmath ? this._updateRotate() : this._openUpRotate && !this._rotateSmath && this._updateRotate2());
                          }
                      }, {
                          key: "_updateCAnchor",
                          value: function () {
                              this._cAnchor && this._followSprite && (Laya.Vector3.add(this._followSprite.transform.position, this._posOffSet, this._cAnchor.transform.position),
                                  this._cAnchor.transform.position = this._cAnchor.transform.position);
                          }
                      }, {
                          key: "dispose",
                          value: function () {
                              var e = s.default.camera;
                              Laya.Tween.clearAll(e.transform),
                                  this.stopCAnchorFollow(),
                                  this._cAnchor = null;
                          }
                      }, {
                          key: "_updateRotate",
                          value: function () {
                              var e = this._cAnchor.transform
                                  , t = this._followSprite.transform;
                              if (Laya.Vector3.add(t.rotationEuler, this._rotateOffset, this._targetRotate),
                                  !a.LTUtils.checkV3Equal(this._targetRotate, e.rotationEuler)) {
                                  var n = i.default.SmoothDamp(e.rotationEuler, this._targetRotate, this._currentVelocity, 300, this._speed, Laya.timer.delta);
                                  e.rotationEuler.x = n.x,
                                      e.rotationEuler.y = n.y,
                                      e.rotationEuler.z = n.z,
                                      e.rotationEuler = e.rotationEuler;
                              }
                          }
                      }, {
                          key: "_updateRotate2",
                          value: function () {
                              var e = this._cAnchor.transform
                                  , t = this._followSprite.transform;
                              Laya.Vector3.add(t.rotationEuler, this._rotateOffset, this._targetRotate),
                                  e.rotationEuler = this._targetRotate;
                          }
                      }, {
                          key: "IsFollow",
                          get: function () {
                              return this._isFollow
                          },
                          set: function (e) {
                              this._isFollow = e;
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/GameScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Commom/CommonEventId.ts")
                  , i = n("./src/LTGame/Manager/MesManager.ts")
                  , s = n("./src/script/enum/EEventUI.ts")
                  , r = n("./src/script/scene/Main3d/Game3d.ts")
                  , o = function (e) {
                      _inherits(n, Laya.Script3D);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._isPause = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "onAwake",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "onAwake", this).call(this),
                                  i.default.instance.onUI(s.EEventUI.GameResume, this, this.restart),
                                  i.default.instance.onUI(s.EEventUI.GamePasue, this, this.pause),
                                  Laya.stage.on(a.CommonEventId.RESUM_AUDIO, this, this.restart),
                                  Laya.stage.on(a.CommonEventId.PAUSE_AUDIO, this, this.pause);
                          }
                      }, {
                          key: "pause",
                          value: function () {
                              this._isPause = !0;
                          }
                      }, {
                          key: "restart",
                          value: function () {
                              this._isPause = !1;
                          }
                      }, {
                          key: "onUpdate",
                          value: function () {
                              this._isPause || (_get(_getPrototypeOf(n.prototype), "onUpdate", this).call(this),
                                  r.default.instance.Update());
                          }
                      }, {
                          key: "onLateUpdate",
                          value: function () {
                              this._isPause || (_get(_getPrototypeOf(n.prototype), "onLateUpdate", this).call(this),
                                  r.default.instance.LateUpdate());
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/base/BaseSprite3D.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/script/scene/script/base/ColliderScript.ts")
                  , i = function () {
                      function e(t) {
                          _classCallCheck(this, e),
                              this._owner = t,
                              this._colliderScriptArray = [];
                      }
                      return _createClass(e, [{
                          key: "AddColliderScript",
                          value: function (e) {
                              if (e) {
                                  var t = e.getComponent(a.ColliderScript);
                                  t || (t = e.addComponent(a.ColliderScript),
                                      this._colliderScriptArray[e.name] = t,
                                      t.Callback(Laya.Handler.create(this, this.OnTriggerEnter, [], !1), Laya.Handler.create(this, this.OnTriggerStay, [], !1), Laya.Handler.create(this, this.OnTriggerExit, [], !1)));
                              }
                          }
                      }, {
                          key: "LateUpdate",
                          value: function (e) { }
                      }, {
                          key: "Destory",
                          value: function () {
                              this._colliderScriptArray = [],
                                  this._owner.destroy();
                          }
                      }, {
                          key: "OnTriggerEnter",
                          value: function (e) { }
                      }, {
                          key: "OnTriggerExit",
                          value: function (e) { }
                      }, {
                          key: "OnTriggerStay",
                          value: function (e) { }
                      }, {
                          key: "Owner",
                          get: function () {
                              return this._owner
                          },
                          set: function (e) {
                              this._owner = e;
                          }
                      }]),
                          e
                  }();
          },
          "./src/script/scene/script/base/ColliderScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "ColliderScript", function () {
                      return i
                  });
              var a = n("./src/script/scene/script/utils/Logger.ts")
                  , i = function (e) {
                      _inherits(n, Laya.Script3D);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "onStart",
                          value: function () {
                              var e = this.owner;
                              a.Logger.lg("脚本开始");
                              e.getComponent(Laya.PhysicsCollider);
                              a.Logger.lg("获取物理组件");
                          }
                      }, {
                          key: "Callback",
                          value: function (e, t, n) {
                              this._handlerEnter = e,
                                  this._handlerExist = n,
                                  this._handlerStay = t;
                          }
                      }, {
                          key: "onTriggerEnter",
                          value: function (e) {
                              this._handlerEnter && this._handlerEnter.runWith(e);
                          }
                      }, {
                          key: "onTriggerExit",
                          value: function (e) {
                              this._handlerExist && this._handlerExist.runWith(e);
                          }
                      }, {
                          key: "onTriggerStay",
                          value: function (e) {
                              this._handlerStay && this._handlerStay.runWith(e);
                          }
                      }, {
                          key: "onDestroy",
                          value: function () {
                              this._handlerEnter && (this._handlerEnter.clear(),
                                  this._handlerEnter = null),
                                  this._handlerExist && (this._handlerExist.clear(),
                                      this._handlerExist = null),
                                  this._handlerStay && (this._handlerStay.clear(),
                                      this._handlerStay = null);
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/buffman/BuffmanScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return l
                  });
              var a = n("./src/LTGame/Res/LTRes.ts")
                  , i = n("./src/LTGame/Res/ResUrl.ts")
                  , s = n("./src/script/common/LayerDefine.ts")
                  , r = n("./src/script/enum/EBuffmanAni.ts")
                  , o = n("./src/script/scene/script/AniStateScript.ts")
                  , c = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , l = function (e) {
                      _inherits(n, c["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._otherType = null,
                              e._actionType = 0,
                              e._isRunning = !0,
                              e._orientation = 1,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function (e) {
                              var t = this;
                              this._config = e;
                              var n = this.Owner.getComponent(Laya.PhysicsCollider);
                              if (n && (n.collisionGroup = s.default.Buffman,
                                  n.canCollideWith = s.default.Hero),
                                  this._moveNode = this.Owner.parent,
                                  this._buffAni = this.Owner.getChildAt(0).getComponent(Laya.Animator),
                                  this._buffAni) {
                                  var a = this._buffAni.getControllerLayer(0)._states;
                                  a && a.forEach(function (e) {
                                      e.name == r.EBuffmanAni.Hit && e.addScript(o.AniStateScript).Callback(Laya.Handler.create(t, t.OnAnimationEnd, [t._buffAni], !1));
                                  });
                              }
                              this._config && this.StartAction(this._config.action);
                          }
                      }, {
                          key: "SwitchAnimation",
                          value: function (e) {
                              this.Owner.active ? this._buffAni && this._buffAni.crossFade(e, .1, 0, 0) : this._otherAni && this._otherAni.crossFade(e, .1, 0, 0),
                                  e == r.EBuffmanAni.Hit && (this._isRunning = !1);
                          }
                      }, {
                          key: "StartAction",
                          value: function (e) {
                              this._actionType = e,
                                  this._moveNode.transform.localPositionZ = 0,
                                  this._moveNode.transform.localRotationEulerY = 0,
                                  0 == e ? this.SwitchAnimation(r.EBuffmanAni.Walk) : 1 == e && this.SwitchAnimation(r.EBuffmanAni.Idle);
                          }
                      }, {
                          key: "ChangeType",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, s, c, l, u = this;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = null,
                                                      this._otherObj) {
                                                      e.next = 11;
                                                      break
                                                  }
                                                  return n = i.default.prefab_url(this._otherType),
                                                      e.next = 5,
                                                      a.default.LoadAndGet(n, !1);
                                              case 5:
                                                  t = e.sent,
                                                      s = this.Owner.transform.localPosition,
                                                      c = this.Owner.transform.localRotationEuler,
                                                      this.Owner.parent && (this.Owner.parent.addChild(t),
                                                          t.transform.localPosition = s,
                                                          t.transform.localRotationEuler = c,
                                                          this._otherObj = t,
                                                          this.Owner.active = !1,
                                                          this._otherAni = this._otherObj.getChildAt(0).getComponent(Laya.Animator),
                                                          this._otherAni && (l = this._otherAni.getControllerLayer(0)._states) && l.forEach(function (e) {
                                                              e.name == r.EBuffmanAni.Hit && e.addScript(o.AniStateScript).Callback(Laya.Handler.create(u, u.OnAnimationEnd, [u._otherAni], !1));
                                                          })),
                                                      e.next = 13;
                                                  break;
                                              case 11:
                                                  this.Owner.active = !1,
                                                      this._otherObj.active = !0;
                                              case 13:
                                                  this._config && this.StartAction(this._config.action);
                                              case 14:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "ResetBuffman",
                          value: function () {
                              if (this._otherObj && (this._otherObj.active = !1),
                                  this.Owner.active = !0,
                                  this._isRunning = !0,
                                  this._config && this.StartAction(this._config.action),
                                  this.Owner) {
                                  var e = this.Owner.getComponent(Laya.PhysicsCollider);
                                  e && (e.enabled = !0);
                              }
                              if (this._otherObj) {
                                  var t = this._otherObj.getComponent(Laya.PhysicsCollider);
                                  t && (t.enabled = !0);
                              }
                          }
                      }, {
                          key: "OnAnimationEnd",
                          value: function (e, t) {
                              null != t && (t == r.EBuffmanAni.Hit && this.SwitchAnimation(r.EBuffmanAni.Idle));
                          }
                      }, {
                          key: "HideCollider",
                          value: function () {
                              if (this.Owner && this.Owner.active) {
                                  var e = this.Owner.getComponent(Laya.PhysicsCollider);
                                  e && (e.enabled = !1);
                              }
                              if (this._otherObj && this._otherObj.active) {
                                  var t = this._otherObj.getComponent(Laya.PhysicsCollider);
                                  t && (t.enabled = !1);
                              }
                          }
                      }, {
                          key: "Update",
                          value: function (e) {
                              if (0 == this._actionType && this._isRunning) {
                                  var t = this._moveNode.transform.localPositionZ;
                                  (t += .03 * this._orientation) > 5 && (this._orientation = -1,
                                      this._moveNode.transform.localRotationEulerY = 180),
                                      t < 0 && (this._orientation = 1,
                                          this._moveNode.transform.localRotationEulerY = 0),
                                      this._moveNode.transform.localPositionZ = t;
                              }
                          }
                      }, {
                          key: "BuffType",
                          set: function (e) {
                              this._buffType = e;
                          },
                          get: function () {
                              return this._buffType
                          }
                      }, {
                          key: "OtherType",
                          set: function (e) {
                              this._otherType = e;
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/car/CarScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return m
                  });
              var a = n("./src/LTGame/Manager/AudioManager.ts")
                  , i = n("./src/LTGame/Res/LTRes.ts")
                  , s = n("./src/LTGame/Res/ResUrl.ts")
                  , r = n("./src/script/common/GameData.ts")
                  , o = n("./src/script/common/LayerDefine.ts")
                  , c = n("./src/script/enum/EEffectType.ts")
                  , l = n("./src/script/enum/EGirlType.ts")
                  , u = n("./src/script/enum/ESound.ts")
                  , h = n("./src/script/scene/Main3d/Game3d.ts")
                  , d = n("./src/script/scene/script/AniStateScript.ts")
                  , f = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , _ = n("./src/script/scene/script/utils/Logger.ts")
                  , m = function (e) {
                      _inherits(n, f["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._diamondCount = 0,
                              e._startY = 0,
                              e._endY = 30,
                              e
                      }
                      return _createClass(n, [{
                          key: "AddRigibody3d",
                          value: function (e) {
                              if (e) {
                                  var t = e.getComponent(Laya.Rigidbody3D);
                                  t || (t = e.addComponent(Laya.Rigidbody3D)),
                                      "car_good" == e.name ? t.colliderShape = new Laya.BoxColliderShape(2, 1, 8) : "car_bad" == e.name && (t.colliderShape = new Laya.BoxColliderShape(2, 1, 6)),
                                      t.colliderShape.localOffset = new Laya.Vector3(0, .5, 0),
                                      t.colliderShape.updateLocalTransformations(),
                                      t.gravity = new Laya.Vector3(0, 0, 0),
                                      t.isKinematic = !0,
                                      t.collisionGroup = o.default.Car,
                                      t.canCollideWith = o.default.All;
                              }
                          }
                      }, {
                          key: "Init",
                          value: function () {
                              this.AddRigibody3d(this.Owner),
                                  this._diamondsArray = [],
                                  this.InitDiamonds(this._carName),
                                  this.AddColliderScript(this.Owner),
                                  this._oldPosition = this.Owner.transform.localPosition.clone(),
                                  this._oldRotation = this.Owner.transform.localRotation.clone(),
                                  this.InitAnimator(this.Owner);
                          }
                      }, {
                          key: "InitAnimator",
                          value: function (e) {
                              var t = this;
                              if (this._carAni = e.getComponent(Laya.Animator),
                                  this._carAni) {
                                  var n = this._carAni.getControllerLayer(0)._states;
                                  n && n.forEach(function (e) {
                                      "drift" == e.name && e.addScript(d.AniStateScript).Callback(Laya.Handler.create(t, t.OnAnimationEnd, [t._carAni], !1));
                                  });
                              }
                          }
                      }, {
                          key: "OnAnimationEnd",
                          value: function (e, t) {
                              switch (t) {
                                  case "drift":
                                      Laya.timer.once(500, this, function () {
                                          h.default.instance.Player.EndDrift();
                                      });
                              }
                          }
                      }, {
                          key: "InitDiamonds",
                          value: function (e) {
                              if ("car_good" == e) {
                                  var t = this.Owner.getChildByName("diamonds");
                                  if (t)
                                      for (var n = t.numChildren, a = 0; a < n; a++) {
                                          var i = t.getChildAt(a);
                                          this._diamondsArray.push(i),
                                              i.active = !1;
                                      }
                              }
                          }
                      }, {
                          key: "ChangeType",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, r, o;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = null,
                                                      n = !1,
                                                      h.default.instance.Player.GrilTargetType == l.EGirlType.Good_Girl ? "car_good" == this._carName || "car_bad" == this._carName && (n = !0) : h.default.instance.Player.GrilTargetType == l.EGirlType.Bad_Girl && ("car_good" == this._carName ? n = !0 : this._carName),
                                                      this._otherObj || !n) {
                                                      e.next = 14;
                                                      break
                                                  }
                                                  return a = s.default.prefab_url(this._otherName),
                                                      e.next = 7,
                                                      i.default.LoadAndGet(a, !1);
                                              case 7:
                                                  t = e.sent,
                                                      r = this.Owner.transform.localPosition,
                                                      o = this.Owner.transform.localRotationEuler,
                                                      this.Owner.parent && (this.Owner.parent.addChild(t),
                                                          t.transform.localPosition = r,
                                                          t.transform.localRotationEuler = o,
                                                          this._otherObj = t,
                                                          this.Owner.active = !1,
                                                          this.InitDiamonds(this._otherName)),
                                                      this.AddRigibody3d(this._otherObj),
                                                      this.AddColliderScript(this._otherObj),
                                                      this.InitAnimator(this._otherObj);
                                              case 14:
                                                  this._otherObj && (this.Owner.active = !1,
                                                      this._otherObj.active = !0);
                                              case 15:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "ResetCar",
                          value: function () {
                              this._otherObj && (this._otherObj.active = !1),
                                  this._diamondCount = 0,
                                  this._diamondsArray && this._diamondsArray.forEach(function (e) {
                                      e && (e.active = !1);
                                  }),
                                  this.Owner.active = !0;
                              var e = this.Owner.parent;
                              if (e && "car" != e.name) {
                                  var t = e.removeChildByName(this.Owner.name)
                                      , n = h.default.instance.NowScene().Scene();
                                  if (n) {
                                      var a = n.getChildByName("prop").getChildByName("car");
                                      a && (a.addChild(t),
                                          a.transform.localPosition = this._oldPosition,
                                          a.transform.localRotation = this._oldRotation);
                                  }
                              }
                          }
                      }, {
                          key: "OnTriggerEnter",
                          value: function (e) {
                              var t = arguments
                                  , n = e.owner.name;
                              if (n.startsWith("diamonds")) {
                                  if (Laya.timer.once(100, this, function () {
                                      var e = t[0];
                                      e && (e.owner.active = !1);
                                  }, [e.owner], !1),
                                      this._diamondsArray) {
                                      var i = this._diamondsArray[this._diamondCount];
                                      i && (i.active = !0);
                                  }
                                  this._diamondCount++,
                                      r.default.addDiamonds(1),
                                      r.default.SaveToDisk(),
                                      a.default.instance.playSound(u.ESoundName.diamond_pickup),
                                      h.default.instance.Player.PlayDiamonEffect(c.EEffectType.eff_diomand, e.owner);
                              } else
                                  n.startsWith("drift_pos") ? (_.Logger.lg("开始飘移"),
                                      this._carAni && this._carAni.crossFade("drift", .1, 0, 0),
                                      h.default.instance.Player.IsRunning = !1,
                                      h.default.instance.Player.IsControl = !1) : n.startsWith("drift_end");
                          }
                      }, {
                          key: "GetActiveCar",
                          value: function () {
                              return this.Owner && this.Owner.active ? this.Owner : this._otherObj && this._otherObj.active ? this._otherObj : null
                          }
                      }, {
                          key: "Update",
                          value: function (e) { }
                      }, {
                          key: "CarName",
                          set: function (e) {
                              this._carName = e;
                          },
                          get: function () {
                              return this._carName
                          }
                      }, {
                          key: "OtherName",
                          set: function (e) {
                              this._otherName = e;
                          },
                          get: function () {
                              return this._otherName
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/end/FinishScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , i = n("./src/script/enum/ENpcAni.ts")
                  , s = n("./src/script/scene/Main3d/Game3d.ts")
                  , r = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , o = function (e) {
                      _inherits(n, r["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._isStartMoveNpc = !1,
                              e
                      }
                      return _createClass(n, [{
                          key: "Update",
                          value: function (e) {
                              if (this._isStartMoveNpc) {
                                  var t = s.default.instance.Player.Owner.transform.position
                                      , n = a.LTUtils.InverseTransformPoint(this._peoplePos.transform, t);
                                  this._npcMoveArray && this._npcMoveArray.length > 0 && this._npcMoveArray.forEach(function (e) {
                                      e.transform.localPositionZ = n.z - 1;
                                  }),
                                      (!this._npcMoveArray || this._npcMoveArray.length <= 0) && (this._isStartMoveNpc = !1);
                              }
                          }
                      }, {
                          key: "Init",
                          value: function () {
                              if (this.Owner) {
                                  var e = s.default.instance.NowScene().Scene();
                                  if (e) {
                                      var t = e.getChildByName("obstacle").getChildByName("door_end");
                                      t && (this._doorEndAni = t.getComponent(Laya.Animator));
                                  }
                                  this._scorcePlatArray = {},
                                      this._peoplePosArray = {},
                                      this._clothPosArray = {},
                                      this._npcMoveArray = [],
                                      this._npcSpriteAni = [],
                                      this._npcSpriteArray = [];
                                  for (var n = 1; n <= 6; n++) {
                                      var a = "endplat_" + n
                                          , i = this.Owner.getChildByName(a);
                                      if (i) {
                                          this._scorcePlatArray[a] = i;
                                          var r = i.getChildByName("polySurface6")
                                              , o = i.getChildByName("polySurface6 (1)");
                                          r && (r.active = !0),
                                              o && (o.active = !1);
                                      }
                                      var c = this.Owner.getChildByName(a).getChildByName("paths").getChildAt(0);
                                      c && (this._peoplePosArray[a] = c);
                                      var l = this.Owner.getChildByName(a).getChildByName("clothes").getChildAt(0);
                                      l && (this._clothPosArray[a] = l);
                                  }
                                  if (this._npcPosArray = [],
                                      this._peoplePos = this.Owner.getChildByName("people"),
                                      this._peoplePos) {
                                      var u = this._peoplePos.numChildren;
                                      for (n = 0; n < u; n++) {
                                          var h = this._peoplePos.getChildAt(n);
                                          h && this._npcPosArray.push(h);
                                      }
                                  }
                              }
                          }
                      }, {
                          key: "SwitchEndDoorAnimation",
                          value: function (e) {
                              this._doorEndAni && this._doorEndAni.play(e);
                          }
                      }, {
                          key: "ResetFinishScripts",
                          value: function () {
                              if (this._npcSpriteAni)
                                  for (var e in this._npcSpriteAni)
                                      if (e) {
                                          var t = this._npcSpriteArray[e];
                                          t && t.destroy(!0);
                                      }
                              if (this._clothPosArray)
                                  for (var n in this._clothPosArray)
                                      if (n) {
                                          var a = this._clothPosArray[n];
                                          a && a.destroyChildren();
                                      }
                              this.SwitchEndDoorAnimation("idle"),
                                  this.Init();
                          }
                      }, {
                          key: "LightingPlat",
                          value: function (e) {
                              if (this._scorcePlatArray) {
                                  var t = this._scorcePlatArray[e];
                                  if (t) {
                                      var n = t.getChildByName("polySurface6")
                                          , a = t.getChildByName("polySurface6 (1)");
                                      n && (n.active = !1),
                                          a && (a.active = !0);
                                  }
                              }
                          }
                      }, {
                          key: "GetPeoplePos",
                          value: function (e) {
                              if (this._peoplePosArray) {
                                  var t = this._peoplePosArray[e];
                                  if (t)
                                      return t.transform.position
                              }
                          }
                      }, {
                          key: "AddNpcToPeople",
                          value: function (e, t) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  var a, i;
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  this._npcPosArray && e >= 0 && e < this._npcPosArray.length && (this._npcPosArray[e].addChild(t),
                                                      this._npcMoveArray.push(this._npcPosArray[e]),
                                                      a = this._npcPosArray[e].name,
                                                      this._npcSpriteArray[a] = t,
                                                      t.transform.localRotationEulerY = 180,
                                                      (i = t.getChildAt(0).getComponent(Laya.Animator)) && (this._npcSpriteAni[a] = i));
                                              case 1:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "GetClothsPos",
                          value: function (e) {
                              if (this._clothPosArray) {
                                  var t = this._clothPosArray[e];
                                  if (t)
                                      return t
                              }
                          }
                      }, {
                          key: "StartMoveNpc",
                          value: function (e) {
                              if (this._npcSpriteAni)
                                  for (var t in this._npcSpriteAni)
                                      if (t) {
                                          this._npcSpriteArray[t].transform.localRotationEulerY = 0;
                                          var n = this._npcSpriteAni[t];
                                          n && n.play(i.ENpcAni.Walk);
                                      }
                              this._isStartMoveNpc = e;
                          }
                      }, {
                          key: "DiscardOneNpc",
                          value: function () {
                              if (this._npcMoveArray && this._npcMoveArray.length > 0) {
                                  var e = this._npcMoveArray.pop().name
                                      , t = this._npcSpriteAni[e];
                                  t && t.play(i.ENpcAni.Dance);
                              }
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/npc/FinishNpcScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return l
                  });
              var a = n("./src/LTGame/Platform/EPlatformType.ts")
                  , i = n("./src/script/common/Const.ts")
                  , s = n("./src/script/common/GameData.ts")
                  , r = n("./src/script/enum/EGirlType.ts")
                  , o = n("./src/script/enum/ENpcManAni.ts")
                  , c = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , l = function (e) {
                      _inherits(n, c["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function () {
                              this._good = this.Owner.getChildByName("end_good_platform"),
                                  this._bad = this.Owner.getChildByName("end_bad_platform"),
                                  this._good && (this._goodNpc = this._good.getChildByName("npc"),
                                      this._npcGoodAni = this._good.getChildByName("npc").getChildAt(0).getChildAt(0).getComponent(Laya.Animator)),
                                  this._bad && (this._badNpc = this._bad.getChildByName("npc"),
                                      this._npcBadAni = this._bad.getChildByName("npc").getChildAt(0).getChildAt(0).getComponent(Laya.Animator)),
                                  this.ChangeStatusByVersion();
                          }
                      }, {
                          key: "ChangeStatusByVersion",
                          value: function () {
                              var e = null;
                              this._bad && (e = this._bad.getChildByName("bed")),
                                  this._goodNpc && (this._goodNpc.active = !s.default.instance.isVerifyVersion),
                                  this._badNpc && (this._badNpc.active = !s.default.instance.isVerifyVersion),
                                  e && (e.active = !s.default.instance.isVerifyVersion),
                                  i.default.faxing == a.EFaxing.lw && i.default.DefaultPlatform == a.EPlatformType.Vivo && (e && (e.active = !1),
                                      this._badNpc && (this._badNpc.active = !1));
                          }
                      }, {
                          key: "SwitchNpcAnimation",
                          value: function (e) {
                              this._good && this._good.active && this._npcGoodAni && this._npcGoodAni.crossFade(e, .2, 0, 0),
                                  this._bad && this._bad.active && this._npcBadAni && this._npcBadAni.crossFade(e, .2, 0, 0),
                                  e == o.ENpcManAni.Idle ? (this._goodNpc && (this._goodNpc.transform.localRotationEulerY = 180),
                                      this._badNpc && (this._badNpc.transform.localRotationEulerY = 180)) : e == o.ENpcManAni.Kiss && (this._goodNpc && (this._goodNpc.transform.localRotationEulerY = 0),
                                          this._badNpc && (this._badNpc.transform.localRotationEulerY = 0));
                          }
                      }, {
                          key: "GetPathsParent",
                          value: function () {
                              return this.Owner
                          }
                      }, {
                          key: "SwitchFinishPlatform",
                          value: function (e) {
                              this._good && (this._good.active = e == r.EGirlType.Good_Girl),
                                  this._bad && (this._bad.active = e == r.EGirlType.Bad_Girl);
                          }
                      }, {
                          key: "Update",
                          value: function (e) { }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/pet/PetScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return d
                  });
              var a = n("./src/LTGame/Async/Awaiters.ts")
                  , i = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , s = n("./src/LTGame/LTUtils/MathEx.ts")
                  , r = n("./src/LTGame/Res/LTRes.ts")
                  , o = n("./src/LTGame/Res/ResUrl.ts")
                  , c = n("./src/script/common/GameData.ts")
                  , l = n("./src/script/config/PetConfig.ts")
                  , u = n("./src/script/scene/Main3d/Game3d.ts")
                  , h = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , d = function (e) {
                      _inherits(n, h["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._currentAni = "",
                              e._isUpdatePosX = !1,
                              e._updateRatio = 0,
                              e._targetPosX = 0,
                              e._startPosX = 0,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function () {
                              this.Owner && ("baddog" == this.Owner.name || "gooddog" == this.Owner.name ? (this._petAni = this.Owner.getComponent(Laya.Animator),
                                  this._petAni.speed = 1) : (this._petAni = this.Owner.getChildAt(0).getComponent(Laya.Animator),
                                      this._petAni.speed = 2),
                                  u.default.instance.Player.Owner.addChild(this.Owner),
                                  Laya.timer.loop(500, this, this.UpdatePetPos));
                          }
                      }, {
                          key: "LoadNewPet",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
                                  , t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  var i, s, u, h;
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  if (e || (t = c.default.instance.selectPetId),
                                                      !(i = l.PetConfig.dataList.find(function (e) {
                                                          return e.id == t
                                                      }))) {
                                                      n.next = 19;
                                                      break
                                                  }
                                                  return this.Owner.active = !0,
                                                      s = o.default.prefab_url(i.prefab_name),
                                                      n.next = 7,
                                                      r.default.LoadAndGet(s, !1);
                                              case 7:
                                                  return u = n.sent,
                                                      this._petAni = null,
                                                      (h = this.Owner) && h.destroy(),
                                                      this.Owner = u,
                                                      Laya.timer.clear(this, this.UpdatePetPos),
                                                      this.Init(),
                                                      n.next = 16,
                                                      a.default.Seconds(.1);
                                              case 16:
                                                  this.SwitchPetAnimation(this._currentAni, !0),
                                                      n.next = 20;
                                                  break;
                                              case 19:
                                                  this.Owner.active = !1;
                                              case 20:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "SwitchPetAnimation",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                              this._petAni && (t ? this._petAni.crossFade(e.toString(), .2, 0, 0) : this._currentAni != e.toString() && this._petAni.crossFade(e.toString(), .2, 0, 0),
                                  this._currentAni = e.toString());
                          }
                      }, {
                          key: "Update",
                          value: function (e) {
                              if (this.Owner && this._isUpdatePosX && this.Owner.active) {
                                  this._updateRatio += .03,
                                      this._updateRatio >= 1 && (this._updateRatio = 1,
                                          this._isUpdatePosX = !1);
                                  var t = s.default.Lerp(this._startPosX, this._targetPosX, this._updateRatio);
                                  this.Owner.transform.localPositionX = t;
                              }
                          }
                      }, {
                          key: "UpdatePetPos",
                          value: function () {
                              var e = u.default.instance.Player.PetPos;
                              if (e) {
                                  var t = this.Owner.parent;
                                  if (t) {
                                      this._updateRatio = 0,
                                          this._isUpdatePosX = !0;
                                      var n = i.LTUtils.InverseTransformPoint(t.transform, e.transform.position);
                                      this._targetPosX = n.x,
                                          this._startPosX = this.Owner.transform.localPositionX,
                                          this.Owner.transform.localPositionZ = n.z;
                                  }
                              }
                          }
                      }, {
                          key: "Destory",
                          value: function () {
                              this._petAni && (this._petAni = null),
                                  Laya.timer.clear(this, this.UpdatePetPos),
                                  this.Owner && this.Owner.destroy();
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/pool/PoolScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Res/LTRes.ts")
                  , i = n("./src/LTGame/Res/ResUrl.ts")
                  , s = n("./src/script/common/LayerDefine.ts")
                  , r = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , o = function (e) {
                      _inherits(n, r["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._otherType = null,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function () {
                              var e = this.Owner.getComponents(Laya.PhysicsCollider);
                              e && e.forEach(function (e) {
                                  e && (e.collisionGroup = s.default.Pool,
                                      e.canCollideWith = s.default.Hero);
                              });
                          }
                      }, {
                          key: "ChangeType",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, s, r;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = null,
                                                      this._otherObj) {
                                                      e.next = 11;
                                                      break
                                                  }
                                                  return n = i.default.prefab_url(this._otherType),
                                                      e.next = 5,
                                                      a.default.LoadAndGet(n, !1);
                                              case 5:
                                                  t = e.sent,
                                                      s = this.Owner.transform.localPosition,
                                                      r = this.Owner.transform.localRotationEuler,
                                                      this.Owner.parent && (this.Owner.parent.addChild(t),
                                                          t.transform.localPosition = s,
                                                          t.transform.localRotationEuler = r,
                                                          this._otherObj = t,
                                                          this.Owner.active = !1),
                                                      e.next = 13;
                                                  break;
                                              case 11:
                                                  this.Owner.active = !1,
                                                      this._otherObj.active = !0;
                                              case 13:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "ResetPool",
                          value: function () {
                              this._otherObj && (this._otherObj.active = !1),
                                  this.Owner.active = !0;
                          }
                      }, {
                          key: "Update",
                          value: function (e) { }
                      }, {
                          key: "PoolType",
                          set: function (e) {
                              this._poolType = e;
                          },
                          get: function () {
                              return this._poolType
                          }
                      }, {
                          key: "OtherType",
                          set: function (e) {
                              this._otherType = e;
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/prop/PropsScript.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Res/LTRes.ts")
                  , i = n("./src/LTGame/Res/ResUrl.ts")
                  , s = n("./src/script/common/LayerDefine.ts")
                  , r = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , o = function (e) {
                      _inherits(n, r["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._otherType = null,
                              e
                      }
                      return _createClass(n, [{
                          key: "Init",
                          value: function () {
                              var e = this.Owner.getComponent(Laya.PhysicsCollider);
                              e && (e.collisionGroup = s.default.Prop,
                                  e.canCollideWith = s.default.Hero);
                          }
                      }, {
                          key: "ChangeType",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, s, r;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = null,
                                                      this._otherProp) {
                                                      e.next = 11;
                                                      break
                                                  }
                                                  return n = i.default.prefab_url(this._otherType),
                                                      e.next = 5,
                                                      a.default.LoadAndGet(n, !1);
                                              case 5:
                                                  t = e.sent,
                                                      s = this.Owner.transform.localPosition,
                                                      r = this.Owner.transform.localRotationEuler,
                                                      this.Owner.parent && t && (this.Owner.parent.addChild(t),
                                                          t.transform.localPosition = s,
                                                          t.transform.localRotationEuler = r,
                                                          this._otherProp = t,
                                                          this.Owner.active = !1),
                                                      e.next = 13;
                                                  break;
                                              case 11:
                                                  this.Owner.active = !1,
                                                      this._otherProp.active = !0;
                                              case 13:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "ResetProp",
                          value: function () {
                              this._otherProp && (this._otherProp.active = !1),
                                  this.Owner.active = !0;
                          }
                      }, {
                          key: "Update",
                          value: function (e) { }
                      }, {
                          key: "PropType",
                          set: function (e) {
                              this._propType = e;
                          },
                          get: function () {
                              return this._propType
                          }
                      }, {
                          key: "OtherType",
                          set: function (e) {
                              this._otherType = e;
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/script/utils/Logger.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "Logger", function () {
                      return i
                  });
              var a = Laya.Script
                  , i = function (e) {
                      _inherits(n, a);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, null, [{
                          key: "logForTag",
                          value: function (e, t) {
                              var n = "╔═════════════════════════════════════════════";
                              n += "\n",
                                  n += "║ ",
                                  n += t,
                                  n += "\n",
                                  n += "║ ",
                                  n += e,
                                  n += "\n",
                                  n += "╚═════════════════════════════════════════════",
                                  console.log(n);
                          }
                      }, {
                          key: "lg",
                          value: function (e) {
                              console.log(e);
                          }
                      }, {
                          key: "error",
                          value: function (e) {
                              console.error(e);
                          }
                      }, {
                          key: "lgV",
                          value: function (e, t) {
                              e instanceof Laya.Vector2 ? console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ")")) : e instanceof Laya.Vector3 ? console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ",").concat(e.z, ")")) : e instanceof Laya.Vector4 && console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ",").concat(e.z, ",").concat(e.y, ")"));
                          }
                      }, {
                          key: "josn",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "TAG"
                                  , n = JSON.parse(e)
                                  , a = JSON.stringify(n, null, 4)
                                  , i = "╔═════════════════════════════════════════════";
                              i += "\n";
                              for (var s = (e = t + "\n" + a).split("\n"), r = 0; r < s.length; r++)
                                  i += "║ ",
                                      i += s[r],
                                      i += "\n";
                              i += "╚═════════════════════════════════════════════",
                                  console.log(i);
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/scene/sprite/Player.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return W
                  });
              var a = n("./src/LTGame/LTUtils/LTLineCurve3.ts")
                  , i = n("./src/LTGame/LTUtils/LTUtils.ts")
                  , s = n("./src/LTGame/LTUtils/Vector3Ex.ts")
                  , r = n("./src/LTGame/Manager/AudioManager.ts")
                  , o = n("./src/LTGame/Manager/EffectManager.ts")
                  , c = n("./src/LTGame/Manager/MesManager.ts")
                  , l = n("./src/LTGame/Res/LTRes.ts")
                  , u = n("./src/LTGame/Res/ResUrl.ts")
                  , h = n("./src/script/common/GameData.ts")
                  , d = n("./src/script/common/GlobalUnit.ts")
                  , f = n("./src/script/common/LayerDefine.ts")
                  , _ = n("./src/script/config/DoorConfig.ts")
                  , m = n("./src/script/config/GameConst.ts")
                  , p = n("./src/script/config/IdentityPetConfig.ts")
                  , g = n("./src/script/config/OrnamentsConfig .ts")
                  , v = n("./src/script/config/PetConfig.ts")
                  , y = n("./src/script/config/PlayerStatusConfig.ts")
                  , k = n("./src/script/config/PropConfig.ts")
                  , C = n("./src/script/config/SkinConfig.ts")
                  , S = n("./src/script/config/WingConfig.ts")
                  , L = n("./src/script/enum/EBodyguardAni.ts")
                  , I = n("./src/script/enum/EEffectType.ts")
                  , w = n("./src/script/enum/EEventScene.ts")
                  , T = n("./src/script/enum/EEventUI.ts")
                  , P = n("./src/script/enum/EGirlType.ts")
                  , A = n("./src/script/enum/EHeroAni.ts")
                  , E = n("./src/script/enum/EMoveStatus.ts")
                  , U = n("./src/script/enum/ENpcManAni.ts")
                  , G = n("./src/script/enum/EPetAni.ts")
                  , b = n("./src/script/enum/EPlayerStatus.ts")
                  , x = n("./src/script/enum/EPropType.ts")
                  , M = n("./src/script/enum/ESound.ts")
                  , R = n("./src/script/enum/EStudentAni.ts")
                  , O = n("./src/script/enum/ETryType.ts")
                  , B = n("./src/script/ui/UI_MainMediator.ts")
                  , D = n("./src/script/scene/Main3d/Game3d.ts")
                  , N = n("./src/script/scene/script/AniStateScript.ts")
                  , V = n("./src/script/scene/script/base/BaseSprite3D.ts")
                  , F = n("./src/script/scene/script/pet/PetScript.ts")
                  , H = n("./src/script/scene/script/utils/Logger.ts")
                  , W = function (e) {
                      _inherits(n, V["default"]);
                      var t = _createSuper(n);
                      function n(e) {
                          var a;
                          return _classCallCheck(this, n),
                              (a = t.call(this, e))._collisionGroup = f.default.Hero,
                              a._girlType = P.EGirlType.None_Girl,
                              a._grilTargetType = null,
                              a._playerStatus = b.EPlayerStatus.Angel_Neutral,
                              a._isMoveLocalX = !1,
                              a._lastSpeed = 15,
                              a._flySpeed = 16,
                              a._carSpeed = 20,
                              a._pathBoundsValue = 3,
                              a._controller = !1,
                              a._running = !1,
                              a._startRotateLocalY = !1,
                              a._rotateOffset = 10,
                              a._defaultSkinSpriteArray = {},
                              a._scorce = 0,
                              a._isFixedPosX = !1,
                              a._isWaiting = !1,
                              a._chooseLeftRight = 0,
                              a._playerPoolStatus = 0,
                              a._isFirst = !0,
                              a._scorceMax = 0,
                              a._scorceMin = 0,
                              a._wingSkinSpriteArray = [],
                              a._isTryWing = !1,
                              a._tryWingId = 0,
                              a._isTryIdentityPet = !1,
                              a._tryIdentityPetId = 0,
                              a._isSuperStart = !1,
                              a._ttSkinSpriteArray = {},
                              a._isResumeGaming = !1,
                              a._cameraRatio = 0,
                              a._moveCamera = !1,
                              a._startRotating = !1,
                              a._rotateV3 = new Laya.Vector3,
                              a._currentVelocity = new Laya.Vector3,
                              a._heroRotateValue = 15,
                              a._xMoveSpeed = .1,
                              a._tempVelocity = new Laya.Vector3,
                              a._tempPos = new Laya.Vector3,
                              a._gameWinBet = 0,
                              a._isWin = !1,
                              a._isDriver = !1,
                              a._isTrun = !1,
                              a._collisionGroup = f.default.Hero,
                              null == a._root && (a._root = a.Owner.getChildAt(0)),
                              a.InitEvent(),
                              a.InitStudent(),
                              a.InitPlayer(),
                              a.InitPlayerSkin(),
                              a.InitPlayerOrnaments(),
                              a.InitPet(),
                              a.InitWingAndIdentityPet(),
                              a.InitParams(),
                              a
                      }
                      return _createClass(n, [{
                          key: "InitWingAndIdentityPet",
                          value: function () {
                              var e = this.GetSkinNode(["player/body/plyer_2/Bip001/Bip001 Pelvis/Bip001 Spine/Bip001 Spine1/Bip001 Neck/wing_skin"]);
                              if (e) {
                                  var t = e[0];
                                  if (t)
                                      for (var n = t.numChildren, a = 0; a < n; a++) {
                                          var i = t.getChildAt(a);
                                          if (i) {
                                              var s = i.name;
                                              this._wingSkinSpriteArray[s] = i,
                                                  i.active = !1;
                                          }
                                      }
                              }
                              this._angelPetNode = this._player.getChildByName("angle_pet"),
                                  this._devilPetNode = this._player.getChildByName("devil_pet"),
                                  this.LoadIdentityPet();
                          }
                      }, {
                          key: "LoadIdentityPet",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = this._tryIdentityPetId,
                                                      this._isTryIdentityPet || (t = h.default.instance.identityPetId),
                                                      !(n = p.IdentityPetConfig.dataList.find(function (e) {
                                                          return e.id == t
                                                      }))) {
                                                      e.next = 16;
                                                      break
                                                  }
                                                  return a = u.default.prefab_url(n.angel_pet),
                                                      i = u.default.prefab_url(n.devil_pet),
                                                      e.next = 8,
                                                      l.default.LoadAndGet(a);
                                              case 8:
                                                  return s = e.sent,
                                                      e.next = 11,
                                                      l.default.LoadAndGet(i);
                                              case 11:
                                                  r = e.sent,
                                                      this._angelPetNode && (this._angelPetNode.destroyChildren(),
                                                          s && this._angelPetNode.addChild(s)),
                                                      this._devilPetNode && (this._devilPetNode.destroyChildren(),
                                                          r && this._devilPetNode.addChild(r)),
                                                      e.next = 18;
                                                  break;
                                              case 16:
                                                  this._angelPetNode && this._angelPetNode.destroyChildren(),
                                                      this._devilPetNode && this._devilPetNode.destroyChildren();
                                              case 18:
                                                  this.SwitchIdentityPet();
                                              case 19:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "SwitchIdentityPet",
                          value: function () {
                              this._angelPetNode && (this._angelPetNode.active = this._girlType == P.EGirlType.Good_Girl),
                                  this._devilPetNode && (this._devilPetNode.active = this._girlType == P.EGirlType.Bad_Girl);
                          }
                      }, {
                          key: "TryUse",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
                              switch (e) {
                                  case O.ETryType.ETryPet:
                                      this.PetScript ? this.PetScript.LoadNewPet(!0, t) : this.InitPet(!0, t);
                                      break;
                                  case O.ETryType.ETryIdentityPet:
                                      this._isTryIdentityPet = !0,
                                          this._tryIdentityPetId = t,
                                          this.LoadIdentityPet();
                                      break;
                                  case O.ETryType.ETryWing:
                                      this._isTryWing = !0,
                                          this._tryWingId = t,
                                          this.SwitchWing();
                              }
                          }
                      }, {
                          key: "SwitchWing",
                          value: function () {
                              var e = this._tryWingId;
                              this._isTryWing || (e = h.default.instance.wingId);
                              var t = S.WingConfig.dataList.find(function (t) {
                                  return t.id == e
                              });
                              if (t) {
                                  if (this._wingSkinSpriteArray)
                                      for (var n in this._wingSkinSpriteArray) {
                                          var a = this._wingSkinSpriteArray[n];
                                          this._girlType == P.EGirlType.Good_Girl ? a.active = t.angel_wing == n : this._girlType == P.EGirlType.Bad_Girl ? a.active = t.devil_wing == n : a.active = !1;
                                      }
                              } else if (this._wingSkinSpriteArray)
                                  for (var i in this._wingSkinSpriteArray) {
                                      var s = this._wingSkinSpriteArray[i];
                                      s && (s.active = !1);
                                  }
                          }
                      }, {
                          key: "ResetStatus",
                          value: function () {
                              this.IsControl = !1,
                                  this.IsRunning = !1,
                                  d.default.camera.transform.localPosition = D.default.instance.CameraLocalPos,
                                  d.default.camera.transform.localRotationEuler = D.default.instance.CameraLocalEuler,
                                  this._player && (this._player.active = !1),
                                  this._student && (this._student.active = !0),
                                  this._studentAni && this.SwitchStudentAnimation(R.EStudentAni.Student_Idle),
                                  this._studentHat && (this._studentHat.active = !0),
                                  this._studentHatAni && this._studentHatAni.play("idle"),
                                  this.InitPlayerSkin(),
                                  this.InitPlayerOrnaments(),
                                  this.InitParams(),
                                  this.LoadIdentityPet(),
                                  this.PetScript && this.PetScript.LoadNewPet();
                          }
                      }, {
                          key: "InitPet",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0]
                                  , t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1;
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                  var a, i, s, r, o;
                                  return regeneratorRuntime.wrap(function (n) {
                                      for (; ;)
                                          switch (n.prev = n.next) {
                                              case 0:
                                                  if (!this._player) {
                                                      n.next = 20;
                                                      break
                                                  }
                                                  if (this._petPos = this._player.getChildByName("pet"),
                                                      e || (t = h.default.instance.selectPetId),
                                                      !(a = v.PetConfig.dataList.find(function (e) {
                                                          return e.id == t
                                                      }))) {
                                                      n.next = 13;
                                                      break
                                                  }
                                                  return i = u.default.prefab_url(a.prefab_name),
                                                      n.next = 8,
                                                      l.default.LoadAndGet(i, !1);
                                              case 8:
                                                  s = n.sent,
                                                      this._petScript = new F.default(s),
                                                      this._petScript.Init(),
                                                      n.next = 20;
                                                  break;
                                              case 13:
                                                  return r = u.default.prefab_url(v.PetConfig.dataList[1].prefab_name),
                                                      n.next = 16,
                                                      l.default.LoadAndGet(r, !1);
                                              case 16:
                                                  (o = n.sent).active = !1,
                                                      this._petScript = new F.default(o),
                                                      this._petScript.Init();
                                              case 20:
                                              case "end":
                                                  return n.stop()
                                          }
                                  }, n, this)
                              }))
                          }
                      }, {
                          key: "SuperStartGame",
                          value: function () {
                              var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                              this._isSuperStart = e;
                          }
                      }, {
                          key: "InitPlayerOrnaments",
                          value: function () {
                              var e = this;
                              if (this._player) {
                                  var t = g.OrnamentsConfig.dataList;
                                  t && t.length > 0 ? (this._ornamentsArray = [],
                                      t.forEach(function (t) {
                                          var n = t.name
                                              , a = t.node_url;
                                          if (a) {
                                              var i = null
                                                  , s = a.split("/");
                                              if (s && s.length > 0)
                                                  for (var r = 0; r < s.length; r++)
                                                      i = i ? i.getChildByName(s[r]) : e._root.getChildByName(s[r]);
                                              i && (i.active = !1,
                                                  e._ornamentsArray[n] = i);
                                          }
                                      })) : H.Logger.lg("》》》没有读取到角色饰品配置文件《《《");
                              }
                          }
                      }, {
                          key: "InitStudent",
                          value: function () {
                              var e = this;
                              if (null == this._student && (this._student = this._root.getChildByName("student"),
                                  this._studentAni = this._student.getChildAt(0).getComponent(Laya.Animator)),
                                  this._student) {
                                  if (this._studentHat = this._student.getChildByName("hat"),
                                      this._studentHat) {
                                      this._studentHatAni = this._studentHat.getComponent(Laya.Animator),
                                          this._studentHatAni && this._studentHatAni.play("idle"),
                                          this._studentHatAni.speed = .8,
                                          this._studentHat.active = !1;
                                      var t = this._studentHatAni.getControllerLayer(0)._states;
                                      t && t.forEach(function (t) {
                                          t.name == R.EStudentAni.Student_Hat && t.addScript(N.AniStateScript).Callback(Laya.Handler.create(e, e.OnAnimationEnd, [e._studentHatAni], !1));
                                      });
                                  }
                                  this.SwitchStudentAnimation(R.EStudentAni.Student_Idle);
                                  var n = this._studentAni.getControllerLayer(0)._states;
                                  n && n.forEach(function (t) {
                                      t.name == R.EStudentAni.Student_Jump && t.addScript(N.AniStateScript).Callback(Laya.Handler.create(e, e.OnAnimationEnd, [e._studentAni], !1));
                                  });
                                  var a = this._student.addComponent(Laya.Rigidbody3D);
                                  a.colliderShape = new Laya.CapsuleColliderShape(.25, 2, Laya.ColliderShape.SHAPEORIENTATION_UPY),
                                      a.colliderShape.localOffset = new Laya.Vector3(0, 1, 0),
                                      a.colliderShape.updateLocalTransformations(),
                                      a.gravity = new Laya.Vector3(0, 0, 0),
                                      a.isKinematic = !0,
                                      a.collisionGroup = this._collisionGroup,
                                      this.AddColliderScript(this._student),
                                      this._student.active = !0;
                              }
                          }
                      }, {
                          key: "InitPlayer",
                          value: function () {
                              var e = this;
                              if (null == this._player && (this._player = this._root.getChildByName("player"),
                                  this._palyerAni = this._player.getChildAt(0).getChildAt(0).getComponent(Laya.Animator)),
                                  null == this._body && (this._body = this._player.getChildAt(0)),
                                  this._palyerAni) {
                                  var t = this._palyerAni.getControllerLayer(0)._states;
                                  t && t.forEach(function (t) {
                                      t.name != A.EHeroAni.Backoff && t.name != A.EHeroAni.Turn || t.addScript(N.AniStateScript).Callback(Laya.Handler.create(e, e.OnAnimationEnd, [e._palyerAni], !1));
                                  });
                              }
                              var n = this._body.addComponent(Laya.Rigidbody3D);
                              n.colliderShape = new Laya.CapsuleColliderShape(.25, 2, Laya.ColliderShape.SHAPEORIENTATION_UPY),
                                  n.colliderShape.localOffset = new Laya.Vector3(0, 1, 0),
                                  n.colliderShape.updateLocalTransformations(),
                                  n.gravity = new Laya.Vector3(0, 0, 0),
                                  n.isKinematic = !0,
                                  n.collisionGroup = this._collisionGroup,
                                  this.AddColliderScript(this._body),
                                  this._player.active = !1;
                          }
                      }, {
                          key: "InitPlayerSkin",
                          value: function () {
                              var e = this;
                              if (this._player) {
                                  var t = C.SkinConfig.dataList;
                                  t && t.length > 0 ? (this._defaultSkinSpriteArray = {},
                                      this._ttSkinSpriteArray = {},
                                      t.forEach(function (t) {
                                          var n = t.status
                                              , a = t.skinNodes;
                                          e._defaultSkinSpriteArray[n] = e.GetSkinNode(a);
                                          var i = t.tt_skinNodes;
                                          e._ttSkinSpriteArray[n] = e.GetSkinNode(i);
                                      })) : H.Logger.lg("》》》没有读取到角色衣服配置文件《《《");
                              }
                          }
                      }, {
                          key: "GetSkinNode",
                          value: function (e) {
                              var t = e
                                  , n = [];
                              if (t && t.length)
                                  for (var a = 0; a < t.length; a++) {
                                      var i = t[a].split("/");
                                      if (i && i.length > 0) {
                                          for (var s = null, r = 0; r < i.length; r++)
                                              s = s ? s.getChildByName(i[r]) : this._root.getChildByName(i[r]);
                                          n.push(s);
                                      }
                                  }
                              return n
                          }
                      }, {
                          key: "ChangePlayerCloth",
                          value: function () {
                              if (this._defaultSkinSpriteArray)
                                  for (var e in this._defaultSkinSpriteArray)
                                      for (var t = 0; t < this._defaultSkinSpriteArray[e].length; t++) {
                                          var n = this._defaultSkinSpriteArray[e][t];
                                          n && (n.active = !1);
                                      }
                              var a = [];
                              (a = h.default.instance.isVerifyVersion ? this._ttSkinSpriteArray[this._playerStatus] : this._defaultSkinSpriteArray[this._playerStatus]) && a.forEach(function (e) {
                                  e && (e.active = !0);
                              });
                          }
                      }, {
                          key: "ChangeOrnament",
                          value: function () {
                              var e = this;
                              this._ornamentsArray && g.OrnamentsConfig.dataList && g.OrnamentsConfig.dataList.length > 0 && g.OrnamentsConfig.dataList.forEach(function (t) {
                                  if (t) {
                                      var n = e._ornamentsArray[t.name];
                                      switch (t.name) {
                                          case "crown":
                                          case "ribbon":
                                          case "bag":
                                              n && (n.active = e._scorce >= t.range);
                                              break;
                                          case "horns":
                                          case "wings":
                                          case "whip":
                                              n && (n.active = e._scorce <= t.range);
                                      }
                                  }
                              });
                          }
                      }, {
                          key: "SwitchStudentAnimation",
                          value: function (e) {
                              this._studentAni && this._currentAni != e && (this._studentAni.crossFade(e, .1, 0, 0),
                                  H.Logger.lg("当前动画切换为:" + e));
                          }
                      }, {
                          key: "SwitchPlayerAnimation",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                              if (this._palyerAni)
                                  if (e == A.EHeroAni.WalkG1 || e == A.EHeroAni.WalkG2 || e == A.EHeroAni.WalkG3 || e == A.EHeroAni.WalkG4 || e == A.EHeroAni.WalkG5 || e == A.EHeroAni.WalkB || e == A.EHeroAni.WalkB1 || e == A.EHeroAni.WalkBEnd ? this._palyerAni.speed = 1.2 : e == A.EHeroAni.Turn ? this._palyerAni.speed = 2 : this._palyerAni.speed = 1,
                                      t)
                                      this._palyerAni.crossFade(e, .2, 0, 0),
                                          this._currentAni = e;
                                  else {
                                      if (this._isTrun)
                                          return;
                                      this._currentAni != e && (this._palyerAni.crossFade(e, .2, 0, 0),
                                          this._currentAni = e);
                                  }
                              H.Logger.lg("当前动画切换为:" + e);
                          }
                      }, {
                          key: "InitPos",
                          value: function (e, t) {
                              if (e && e.length > 0 && t && t.length > 0) {
                                  this._pathPos.Clear();
                                  for (var n = e.length, a = 0; a < n; a++)
                                      a < e.length && a < t.length && this._pathPos.addRoutePos(e[a], t[a]);
                              } else
                                  H.Logger.lg("初始化路径点出错,参数不正确请检查");
                          }
                      }, {
                          key: "InitParams",
                          value: function () {
                              this._levelScene = D.default.instance.NowScene(),
                                  this.Owner.transform.localRotation = new Laya.Quaternion(0, 0, 0, 1),
                                  this._root.transform.localPositionX = 0,
                                  d.default.camera.transform.localPositionX = 0,
                                  D.default.instance.cameraFollow.IsFollow = !0,
                                  this._moveSpeed = this._lastSpeed,
                                  this._grilTargetType = P.EGirlType.None_Girl,
                                  this._playerStatus = b.EPlayerStatus.Angel_Neutral,
                                  null == this._pathPos && (this._pathPos = new a.LTLineCurve3),
                                  this._lastSpeed = m.GameConst.data.default_speed,
                                  this._flySpeed = m.GameConst.data.fly_speed,
                                  this._carSpeed = m.GameConst.data.car_speed,
                                  this._scorce = 0,
                                  this._currentAni = "",
                                  this._currentMoveStatus = E.EMoveStatus.Move_Normal,
                                  this._isFirst = !0,
                                  this._isTryWing = !1,
                                  this._tryWingId = 0,
                                  this._isTryIdentityPet = !1,
                                  this._tryIdentityPetId = 0,
                                  this._scorceMax = y.PlayerStatusConfig.data[4].endValue,
                                  this._scorceMin = y.PlayerStatusConfig.data[8].startValue,
                                  B.UI_MainMediator.instance.ui.m_progress.min = y.PlayerStatusConfig.data[1].startValue,
                                  B.UI_MainMediator.instance.ui.m_progress.max = y.PlayerStatusConfig.data[1].endValue,
                                  B.UI_MainMediator.instance.ui.m_progress.value = this._scorce,
                                  this.ChangePlayerCloth(),
                                  this.SwitchWing(),
                                  this.SwitchIdentityPet();
                          }
                      }, {
                          key: "InitEvent",
                          value: function () {
                              c.default.instance.onUI(T.EEventUI.HeroSkinChange, this, this.UpdateHeroSkin),
                                  c.default.instance.onUI(T.EEventUI.petChange, this, this.UpdatePet),
                                  c.default.instance.onUI(T.EEventUI.GameResume, this, this.OnResume),
                                  c.default.instance.onUI(T.EEventUI.GamePasue, this, this.OnPause);
                          }
                      }, {
                          key: "OnPause",
                          value: function () {
                              this.IsRunning && (this._isResumeGaming = !0);
                          }
                      }, {
                          key: "OnResume",
                          value: function () {
                              this._isResumeGaming && (this.IsRunning = !0,
                                  this._isResumeGaming = !1);
                          }
                      }, {
                          key: "RemoveEvent",
                          value: function () {
                              c.default.instance.offUI(T.EEventUI.HeroSkinChange, this, this.UpdateHeroSkin),
                                  c.default.instance.offUI(T.EEventUI.petChange, this, this.UpdatePet),
                                  c.default.instance.offUI(T.EEventUI.GameResume, this, this.OnResume),
                                  c.default.instance.offUI(T.EEventUI.GamePasue, this, this.OnPause);
                          }
                      }, {
                          key: "UpdatePet",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e)
                              }))
                          }
                      }, {
                          key: "UpdateHeroSkin",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e)
                              }))
                          }
                      }, {
                          key: "ChangeScorce",
                          value: function (e) {
                              if (0 != e) {
                                  this._scorce += e,
                                      this._scorce > this._scorceMax && (this._scorce = this._scorceMax),
                                      this._scorce < this._scorceMin && (this._scorce = this._scorceMin),
                                      c.default.instance.event3d(w.EEventScene.Scorce, [e]),
                                      H.Logger.lg("当前分数：" + this._scorce);
                                  var t = !1;
                                  if (this._grilTargetType == P.EGirlType.Bad_Girl ? this._scorce >= m.GameConst.data.fail_score && (t = !0) : this._grilTargetType == P.EGirlType.Good_Girl && this._scorce <= -m.GameConst.data.fail_score && (t = !0),
                                      t)
                                      return this.GameFail(),
                                          void r.default.instance.playSound(M.ESoundName.level_fail);
                                  this.ChangePlayerStatus(),
                                      this.ChangeOrnament();
                              }
                          }
                      }, {
                          key: "GameFail",
                          value: function () {
                              H.Logger.lg("游戏结束"),
                                  this.IsRunning = !1,
                                  this.IsControl = !1,
                                  this.SwitchPlayerAnimation(A.EHeroAni.Cry, !0),
                                  Laya.timer.clear(this, this.PoolAddScore),
                                  Laya.timer.once(3e3, this, function () {
                                      c.default.instance.event3d(w.EEventScene.GameFail);
                                  });
                          }
                      }, {
                          key: "ChangePlayerStatus",
                          value: function () {
                              var e = this
                                  , t = this._playerStatus;
                              if (y.PlayerStatusConfig.dataList && y.PlayerStatusConfig.dataList.length > 0) {
                                  var n = y.PlayerStatusConfig.dataList.find(function (t) {
                                      return e._scorce >= t.startValue && e._scorce <= t.endValue
                                  });
                                  if (n && (this._moveSpeed = n.moveSpeed,
                                      this._playerStatus = n.status,
                                      this._scorce >= 0 ? this._girlType = P.EGirlType.Good_Girl : this._girlType = P.EGirlType.Bad_Girl),
                                      this._playerStatus != t) {
                                      if (this.ChangePlayerCloth(),
                                          this._playerStatus == b.EPlayerStatus.Angel_Neutral || this._playerStatus == b.EPlayerStatus.Angel_Loyal || this._playerStatus == b.EPlayerStatus.Angel_Decent || this._playerStatus == b.EPlayerStatus.Angel_Glamorous ? this.PlayEffect(I.EEffectType.eff_add_good) : this.PlayEffect(I.EEffectType.eff_add_bad),
                                          this._currentMoveStatus == E.EMoveStatus.Move_Normal || this._currentMoveStatus == E.EMoveStatus.Move_Separate || this._currentMoveStatus == E.EMoveStatus.Move_Double_Road || this._currentMoveStatus == E.EMoveStatus.Move_Up_Board) {
                                          if (this._isTrun)
                                              return;
                                          this._laseAniType = this._currentAni,
                                              this._palyerAni.speed = 2,
                                              this.SwitchPlayerAnimation(A.EHeroAni.Turn),
                                              this._isTrun = !0;
                                      }
                                      var a = 0;
                                      switch (this._playerStatus) {
                                          case b.EPlayerStatus.Angel_Neutral:
                                              a = 0;
                                              break;
                                          case b.EPlayerStatus.Angel_Loyal:
                                              a = 1;
                                              break;
                                          case b.EPlayerStatus.Angel_Decent:
                                              a = 2;
                                              break;
                                          case b.EPlayerStatus.Angel_Glamorous:
                                              a = 3;
                                              break;
                                          case b.EPlayerStatus.Devil_Neutral:
                                              a = 4;
                                              break;
                                          case b.EPlayerStatus.Devil_Cheater:
                                              a = 5;
                                              break;
                                          case b.EPlayerStatus.Devil_Baddie:
                                              a = 6;
                                              break;
                                          case b.EPlayerStatus.Devil_Naughty:
                                              a = 7;
                                      }
                                      c.default.instance.event3d(w.EEventScene.GirlStatus, [a]),
                                          r.default.instance.playSound(M.ESoundName.glamoruos_bonus),
                                          n.status == b.EPlayerStatus.Angel_Neutral || n.status == b.EPlayerStatus.Angel_Loyal || n.status == b.EPlayerStatus.Angel_Decent || n.status == b.EPlayerStatus.Angel_Glamorous ? (B.UI_MainMediator.instance.ui.m_progress.min = n.startValue,
                                              B.UI_MainMediator.instance.ui.m_progress.max = n.endValue,
                                              B.UI_MainMediator.instance.ui.m_progress.value = this._scorce) : (B.UI_MainMediator.instance.ui.m_progress.min = Math.abs(n.endValue),
                                                  B.UI_MainMediator.instance.ui.m_progress.max = Math.abs(n.startValue),
                                                  B.UI_MainMediator.instance.ui.m_progress.value = Math.abs(this._scorce));
                                  }
                              } else
                                  H.Logger.lg("角色状态配置文件读取错误");
                              this.SwitchWing(),
                                  this.SwitchIdentityPet();
                          }
                      }, {
                          key: "Go",
                          value: function () {
                              if (this.IsRunning = !0,
                                  this.IsControl = !0,
                                  this._isFirst)
                                  this._isFirst = !1,
                                      this.SwitchStudentAnimation(R.EStudentAni.Student_Jump),
                                      this._studentHat.active = !0,
                                      this._studentHatAni.play(R.EStudentAni.Student_Hat);
                              else {
                                  var e = A.EHeroAni.WalkB;
                                  switch (this._playerStatus) {
                                      case b.EPlayerStatus.Angel_Neutral:
                                          e = A.EHeroAni.WalkG2;
                                          break;
                                      case b.EPlayerStatus.Angel_Loyal:
                                          e = A.EHeroAni.WalkG3;
                                          break;
                                      case b.EPlayerStatus.Angel_Decent:
                                          e = A.EHeroAni.WalkG4;
                                          break;
                                      case b.EPlayerStatus.Angel_Glamorous:
                                          e = A.EHeroAni.WalkG5;
                                          break;
                                      case b.EPlayerStatus.Devil_Neutral:
                                      case b.EPlayerStatus.Devil_Cheater:
                                      case b.EPlayerStatus.Devil_Baddie:
                                      case b.EPlayerStatus.Devil_Naughty:
                                          e = A.EHeroAni.WalkB;
                                  }
                                  this.SwitchPlayerAnimation(e);
                              }
                              r.default.instance.playSound(M.ESoundName.jump);
                          }
                      }, {
                          key: "Update",
                          value: function (e) {
                              if (this.IsRunning) {
                                  var t = this._moveSpeed;
                                  if (this.Owner.transform.position = this._pathPos.addDis(t * e / 2e3),
                                      this.Owner.transform.localRotation = this._pathPos.getNowRot(),
                                      this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole) {
                                      var n = this._verPole.parent
                                          , a = i.LTUtils.InverseTransformPoint(n.transform, this.Owner.transform.position);
                                      this._verPole.transform.localPositionZ = a.z;
                                  }
                              }
                              if (this._isMoveLocalX && this.UpdateLocalX(),
                                  this._startRotateLocalY && this.UpdateLoacalRotateY(),
                                  this._isWaiting && this.UpdateWaitLocalX(),
                                  this._isFixedPosX && this.FixedStartDoubleRoadPosX(),
                                  this.UpdateTouchX(),
                                  this._currentMoveStatus == E.EMoveStatus.Move_End && this._pathPos.IsEnd() && (this.IsControl = !1,
                                      this.IsRunning = !1,
                                      this._girlType == P.EGirlType.Good_Girl ? this.SwitchPlayerAnimation(A.EHeroAni.KissB) : this._girlType == P.EGirlType.Bad_Girl && this.SwitchPlayerAnimation(A.EHeroAni.KissG),
                                      r.default.instance.playSound(M.ESoundName.kissing_end_level),
                                      D.default.instance.NowScene().FinishNpcScript.SwitchNpcAnimation(U.ENpcManAni.Kiss),
                                      this.PlayEffect(I.EEffectType.eff_settlement),
                                      this._currentMoveStatus = E.EMoveStatus.Move_Normal,
                                      c.default.instance.event3d(w.EEventScene.GameWin, [this._gameWinBet]),
                                      this._startCameraPos = d.default.camera.transform.localPosition.clone(),
                                      this._targetCameraPos = D.default.instance.CameraLocalPos.clone(),
                                      this._cameraRatio = 0,
                                      this.IsControl = !1,
                                      this._moveCamera = !0),
                                  this._petScript && this._petScript.Update(e),
                                  this._moveCamera) {
                                  this._cameraRatio += .01,
                                      this._cameraRatio >= 1 && (this._cameraRatio = 1,
                                          this._moveCamera = !1);
                                  var o = s.default.Lerp(this._startCameraPos, this._targetCameraPos, this._cameraRatio);
                                  d.default.camera.transform.localPosition = o;
                              }
                          }
                      }, {
                          key: "UpdateRotateY",
                          value: function () {
                              var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]
                                  , t = this._root.transform;
                              if (e) {
                                  var n = s.default.SmoothDamp(t.localRotationEuler, this._rotateV3, this._currentVelocity, 100, 1, Laya.timer.delta);
                                  t.localRotationEuler.x = n.x,
                                      t.localRotationEuler.y = n.y,
                                      t.localRotationEuler.z = n.z,
                                      t.localRotationEuler = t.localRotationEuler;
                              }
                              Math.abs(t.localRotationEuler.y) >= this._heroRotateValue - .01 ? this._rotateV3.y = 0 : Math.abs(t.localRotationEuler.y) < .01 && (this._startRotating = !1);
                          }
                      }, {
                          key: "FixedStartDoubleRoadPosX",
                          value: function () {
                              var e = this._root.transform.localPositionX;
                              e > 0 ? e -= .03 : e += .03,
                                  e >= -.03 && e <= .03 && (this._isFixedPosX = !1,
                                      e = 0),
                                  this._root.transform.localPositionX = e,
                                  d.default.camera.transform.localPositionX = 2 * e / 3;
                          }
                      }, {
                          key: "UpdateWaitLocalX",
                          value: function () {
                              if (this._currentMoveStatus == E.EMoveStatus.Move_Double_Waiting) {
                                  var e = this._root.transform.localPositionX;
                                  (e <= -1 || e >= 1) && (this._chooseLeftRight = e > 0 ? -1 : 1,
                                      this._currentMoveStatus = E.EMoveStatus.Move_Double_Stair,
                                      this._isMoveLocalX = !0,
                                      this.IsControl = !1,
                                      this.IsRunning = !1,
                                      this._isWaiting = !1);
                              }
                          }
                      }, {
                          key: "UpdateLocalX",
                          value: function () {
                              var e = this
                                  , t = this._root.transform.localPositionX;
                              if (this._currentMoveStatus == E.EMoveStatus.Move_Normal)
                                  (t > .4 || t < -.4) && (this._isMoveLocalX = !1,
                                      H.Logger.lg("障碍物平移结束"));
                              else if (this._currentMoveStatus == E.EMoveStatus.Move_Stair)
                                  0 != this._chooseLeftRight ? (t += .03 * -this._chooseLeftRight,
                                      this._root.transform.localPositionX = t,
                                      (t > 1.66 || t < -1.66) && (this._isMoveLocalX = !1,
                                          this.IsRunning = !0,
                                          this.IsControl = !0,
                                          H.Logger.lg("楼梯左右平移结束,恢复控制和移动"))) : (t > 0 ? t -= .03 : t < 0 && (t += .03),
                                              this._root.transform.localPositionX = t,
                                              Math.abs(t) < .03 && (this._isMoveLocalX = !1,
                                                  H.Logger.lg("上楼梯平移结束,恢复控制和移动"),
                                                  this.IsRunning = !0,
                                                  this.IsControl = !0));
                              else if (this._currentMoveStatus == E.EMoveStatus.Move_Double_Stair)
                                  0 != this._chooseLeftRight && (t += .03 * -this._chooseLeftRight,
                                      this._root.transform.localPositionX = t,
                                      (t > 2 || t < -2) && (this._isMoveLocalX = !1,
                                          this.IsRunning = !0,
                                          this.IsControl = !0,
                                          H.Logger.lg("双楼梯左右平移结束,恢复控制和移动")));
                              else if (this._currentMoveStatus == E.EMoveStatus.Move_Separate)
                                  0 != this._chooseLeftRight && (t += .03 * -this._chooseLeftRight,
                                      this._root.transform.localPositionX = t,
                                      (t > .72 || t < -.72) && (this._isMoveLocalX = !1,
                                          this.IsRunning = !0,
                                          this.IsControl = !0,
                                          H.Logger.lg("双楼梯左右平移结束,恢复控制和移动")));
                              else if (this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole) {
                                  if ((t += .03 * -this._chooseLeftRight) <= .03 && t >= -.03) {
                                      this._isMoveLocalX = !1,
                                          t = 0,
                                          this._pathPos.GotoNextPos();
                                      var n = this._pathPos.CurrentPos();
                                      this.Owner.transform.position = n.clone(),
                                          this._root.transform.localPositionY = 0,
                                          this._root.transform.localPositionX = 0,
                                          this._root.transform.localPositionZ = 0,
                                          this._body.transform.localRotationEulerZ = 12.8,
                                          this._body.transform.localPositionY = -3,
                                          d.default.camera.transform.localPositionY = -1,
                                          this._verPole.transform.localRotationEulerZ = 0,
                                          this.SwitchPlayerAnimation(A.EHeroAni.Stick),
                                          this.IsRunning = !0,
                                          this.IsControl = !0;
                                  }
                                  this._root.transform.localPositionX = t;
                              } else
                                  this._currentMoveStatus == E.EMoveStatus.Move_Double_Road && (((t += .03 * -this._chooseLeftRight) <= -1.89 || t >= 1.89) && (this._isMoveLocalX = !1,
                                      -1 == this._chooseLeftRight ? this._isCenter ? this.AddNewPath(this._doubleRoadParent, "left") : this.AddNewPath(this._doubleRoadParent, "right") : 1 == this._chooseLeftRight && (this._isCenter ? this.AddNewPath(this._doubleRoadParent, "right") : this.AddNewPath(this._doubleRoadParent, "left")),
                                      Laya.timer.frameOnce(5, this, function () {
                                          var t = e._root.transform.localPositionX;
                                          e._root.transform.localPositionX = t / 2,
                                              e.IsControl = !0,
                                              e.IsRunning = !0,
                                              e._isFixedPosX = !0;
                                      })),
                                      this._root.transform.localPositionX = t);
                              d.default.camera.transform.localPositionX = 2 * t / 3;
                          }
                      }, {
                          key: "_move",
                          value: function (e, t) {
                              if (this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole) {
                                  var n = this._root.transform.localRotationEuler.clone();
                                  n.cloneTo(this._tempPos),
                                      this._tempPos.z = e || n.z;
                                  var a = s.default.SmoothDamp(n, this._tempPos, this._tempVelocity, 80, this._xMoveSpeed, t);
                                  n.z = a.z,
                                      this._root.transform.localRotationEulerZ = n.z,
                                      this._verPole.transform.localRotationEulerZ = n.z;
                              } else {
                                  var i = this._root.transform.localPosition.clone();
                                  i.cloneTo(this._tempPos),
                                      this._tempPos.x = e || i.x;
                                  var r = s.default.SmoothDamp(i, this._tempPos, this._tempVelocity, 200, this._xMoveSpeed, t);
                                  i.x = r.x,
                                      this._root.transform.localPositionX = i.x;
                              }
                          }
                      }, {
                          key: "UpdatePoint",
                          value: function (e, t) {
                              if (this.IsControl) {
                                  var n = this._root.transform.localPositionX;
                                  if (this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole) {
                                      var a = 3e3 * e
                                          , i = this._root.transform.localRotationEulerZ;
                                      (i += a) > 60 && (i = 60),
                                          i < -60 && (i = -60),
                                          this._pointOffsetX = i;
                                  } else
                                      n += 150 * e,
                                          this._pointOffsetX = this.BoundsCalculate(n);
                              }
                          }
                      }, {
                          key: "UpdateTouchX",
                          value: function () {
                              if (this._root && this.IsControl) {
                                  if (this._isMoveLocalX)
                                      return;
                                  if (this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole) {
                                      this._move(this._pointOffsetX, Laya.timer.delta);
                                      var e = this._pathBoundsValue / 60 * this._root.transform.localRotationEulerZ;
                                      d.default.camera.transform.localPositionX = 2 * e / 3;
                                  } else
                                      this._move(this._pointOffsetX, Laya.timer.delta),
                                          d.default.camera.transform.localPositionX = 2 * this._root.transform.localPositionX / 3;
                              }
                          }
                      }, {
                          key: "UpdateLoacalRotateY",
                          value: function () {
                              var e = this._root.transform.localRotationEulerY;
                              this._rotateOffset += 2,
                                  (e += this._rotateOffset) > 360 && (e = 0,
                                      this._startRotateLocalY = !1),
                                  this._root.transform.localRotationEulerY = e;
                          }
                      }, {
                          key: "BoundsCalculate",
                          value: function (e) {
                              return this._currentMoveStatus == E.EMoveStatus.Move_Stair ? -1 == this._chooseLeftRight ? (e < 1.66 && (e = 1.66),
                                  e > this._pathBoundsValue && (e = this._pathBoundsValue)) : 1 == this._chooseLeftRight ? (e > -1.66 && (e = -1.66),
                                      e < -this._pathBoundsValue && (e = -this._pathBoundsValue)) : (e < -.5 && (e = -.5),
                                          e > .5 && (e = .5)) : this._currentMoveStatus == E.EMoveStatus.Move_Up_Board ? (e <= -2.56 && (e = -2.56),
                                              e >= 2.56 && (e = 2.56)) : this._currentMoveStatus == E.EMoveStatus.Move_Separate ? 1 == this._chooseLeftRight ? (e < -this._pathBoundsValue && (e = -this._pathBoundsValue),
                                                  e > -.72 && (e = -.72)) : -1 == this._chooseLeftRight && (e > this._pathBoundsValue && (e = this._pathBoundsValue),
                                                      e < .72 && (e = .72)) : this._currentMoveStatus == E.EMoveStatus.Move_Double_Stair ? -1 == this._chooseLeftRight ? (e > 2.3 && (e = 2.3),
                                                          e < 1.53 && (e = 1.53)) : 1 == this._chooseLeftRight && (e > -1.53 && (e = -1.53),
                                                              e < -2.3 && (e = -2.3)) : this._currentMoveStatus == E.EMoveStatus.Move_Double_Road ? (e > 1.32 && (e = 1.32),
                                                                  e < -1.32 && (e = -1.32)) : this._currentMoveStatus == E.EMoveStatus.Move_Car ? (e > 1.5 && (e = 1.5),
                                                                      e < -1.5 && (e = -1.5)) : (e < -this._pathBoundsValue && (e = -this._pathBoundsValue),
                                                                          e > this._pathBoundsValue && (e = this._pathBoundsValue)),
                                  e
                          }
                      }, {
                          key: "OnTriggerEnter",
                          value: function (e) {
                              var t = this
                                  , n = arguments;
                              if (e) {
                                  var a = e.owner.name;
                                  H.Logger.lg("碰撞到:" + a);
                                  var i = e.owner.parent
                                      , o = this._root.transform.localPositionX;
                                  switch (a) {
                                      case "door_good":
                                          if (this._grilTargetType != P.EGirlType.None_Girl)
                                              return;
                                          this._grilTargetType = P.EGirlType.Good_Girl,
                                              this._student.active = !1,
                                              this._player.active = !0,
                                              this.SwitchPlayerAnimation(A.EHeroAni.WalkG1),
                                              this.ChangePlayerStatus(),
                                              D.default.instance.NowScene().CarScript.ChangeType(),
                                              D.default.instance.NowScene().FinishNpcScript.SwitchFinishPlatform(this._grilTargetType),
                                              e.owner.parent && "door_either" == e.owner.parent.name ? e.owner.parent.active = !1 : e.owner.active = !1,
                                              c.default.instance.event3d(w.EEventScene.GirlStatus, [0]),
                                              c.default.instance.event3d(w.EEventScene.GirlTarget, [1]),
                                              r.default.instance.playSound(M.ESoundName.enter_door),
                                              this._isSuperStart && (this.ChangeScorce(m.GameConst.data.goodStart_grade),
                                                  this._isSuperStart = !1);
                                          break;
                                      case "door_bad":
                                          if (this._grilTargetType != P.EGirlType.None_Girl)
                                              return;
                                          this._grilTargetType = P.EGirlType.Bad_Girl,
                                              this._scorce = -1,
                                              this._student.active = !1,
                                              this._player.active = !0,
                                              this.SwitchPlayerAnimation(A.EHeroAni.WalkB),
                                              this.ChangePlayerStatus(),
                                              D.default.instance.NowScene().SwitchSea(1),
                                              D.default.instance.NowScene().ChangeAllBasePropType(),
                                              D.default.instance.NowScene().ChangeAllPool(),
                                              D.default.instance.NowScene().ChangeAllBuffmanType(),
                                              D.default.instance.NowScene().CarScript.ChangeType(),
                                              D.default.instance.NowScene().FinishNpcScript.SwitchFinishPlatform(this._grilTargetType),
                                              e.owner.parent && "door_either" == e.owner.parent.name ? e.owner.parent.active = !1 : e.owner.active = !1,
                                              c.default.instance.event3d(w.EEventScene.GirlTarget, [0]),
                                              r.default.instance.playSound(M.ESoundName.enter_door),
                                              this._isSuperStart && (this.ChangeScorce(-1 * m.GameConst.data.goodStart_grade),
                                                  this._isSuperStart = !1);
                                          break;
                                      case "start_stairs":
                                          o > 1 || o < -1 ? (this._chooseLeftRight = o > 0 ? -1 : 1,
                                              this.AddNewPath(i, "down"),
                                              this._isMoveLocalX = !0,
                                              this.IsRunning = !1,
                                              this.IsControl = !1,
                                              H.Logger.lg("走楼底下需要平移")) : (this._chooseLeftRight = 0,
                                                  this.AddNewPath(i, "up"),
                                                  Math.abs(o) >= .01 && (this._isMoveLocalX = !0,
                                                      this.IsRunning = !1,
                                                      this.IsControl = !1,
                                                      H.Logger.lg("走楼梯需要平移"))),
                                              this._currentMoveStatus = E.EMoveStatus.Move_Stair;
                                          break;
                                      case "end_stairs":
                                          0 == this._chooseLeftRight ? this._currentMoveStatus = E.EMoveStatus.Move_Up_Board : this._currentMoveStatus = E.EMoveStatus.Move_Normal,
                                              this._chooseLeftRight = 0;
                                          break;
                                      case "start_double_stairs":
                                          o > 1 || o < -1 ? (this._chooseLeftRight = o > 0 ? -1 : 1,
                                              this._isMoveLocalX = !0,
                                              this.IsRunning = !1,
                                              this.IsControl = !1,
                                              H.Logger.lg("走楼底下需要平移"),
                                              this._currentMoveStatus = E.EMoveStatus.Move_Double_Stair) : (this._chooseLeftRight = 0,
                                                  this.IsRunning = !1,
                                                  this._isWaiting = !0,
                                                  this._currentMoveStatus = E.EMoveStatus.Move_Double_Waiting);
                                          break;
                                      case "end_double_stairs":
                                          this._currentMoveStatus = E.EMoveStatus.Move_Up_Board,
                                              this._chooseLeftRight = 0;
                                          break;
                                      case "drop_down":
                                          if (this._currentMoveStatus == E.EMoveStatus.Move_Gliding || this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole)
                                              return;
                                          if (this._lastSpeed = this._moveSpeed,
                                              this._moveSpeed = this._flySpeed,
                                              this.SwitchPlayerAnimation(A.EHeroAni.Flight),
                                              this._currentMoveStatus = E.EMoveStatus.Move_Gliding,
                                              e.owner.parent) {
                                              var l = e.owner.parent.getChildByName("top_road");
                                              l && (l.active = !1);
                                          }
                                          break;
                                      case "drop_end":
                                          this._currentMoveStatus == E.EMoveStatus.Move_Gliding && (this._currentMoveStatus = E.EMoveStatus.Move_Normal,
                                              this._moveSpeed = this._lastSpeed,
                                              this._girlType == P.EGirlType.Good_Girl ? this.SwitchPlayerAnimation(A.EHeroAni.WalkG1) : this.SwitchPlayerAnimation(A.EHeroAni.WalkBEnd),
                                              this._petScript && 0 != h.default.instance.selectPetId && (this._petScript.Owner.active = !0,
                                                  this._petScript.SwitchPetAnimation(G.EPetAni.Run, !0)));
                                          break;
                                      case "start_wall":
                                          if (this._currentMoveStatus == E.EMoveStatus.Move_Separate)
                                              return;
                                          o > .4 ? this._chooseLeftRight = -1 : o < -.4 ? this._chooseLeftRight = 1 : (H.Logger.lg("开始平移"),
                                              this._isMoveLocalX = !0,
                                              this.IsControl = !1,
                                              this.IsRunning = !1,
                                              this._chooseLeftRight = o > 0 ? -1 : 1),
                                              this._currentMoveStatus = E.EMoveStatus.Move_Separate;
                                          break;
                                      case "end_wall":
                                          this._currentMoveStatus = E.EMoveStatus.Move_Normal;
                                          break;
                                      case "start_ver_pole":
                                          if (this._verPole = e.owner.parent.getChildByName("vertical_pole"),
                                              this._currentMoveStatus == E.EMoveStatus.Move_Vertical_Pole)
                                              return;
                                          this._chooseLeftRight = o > 0 ? 1 : -1,
                                              this.IsControl = !1,
                                              this.IsRunning = !1,
                                              this._isMoveLocalX = !0,
                                              this._currentMoveStatus = E.EMoveStatus.Move_Vertical_Pole,
                                              this._petScript && (this._petScript.Owner.active = !1);
                                          break;
                                      case "end_ver_pole":
                                          if (this._currentMoveStatus == E.EMoveStatus.Move_Gliding)
                                              return;
                                          this._body.transform.localRotationEulerZ = 0,
                                              this._body.transform.localPositionY = 0,
                                              H.Logger.lg("当前角色Y坐标:" + this.Owner.transform.position.y);
                                          var u = this.Owner.transform.position.y;
                                          if (this.Owner.transform.position.y = u - 4.5,
                                              this._root.transform.localPositionY = 0,
                                              this._root.transform.localPositionX = 0,
                                              this._root.transform.localPositionZ = 0,
                                              this._root.transform.localRotationEulerZ = 0,
                                              this._verPole.transform.localRotationEulerZ = 0,
                                              this._verPole.transform.localPositionZ = 0,
                                              this._lastSpeed = this._moveSpeed,
                                              this.SwitchPlayerAnimation(A.EHeroAni.Flight),
                                              d.default.camera.transform.localPosition = D.default.instance.CameraLocalPos,
                                              this._pointOffsetX = 0,
                                              this._lastSpeed = this._moveSpeed,
                                              this._moveSpeed = this._flySpeed,
                                              this._currentMoveStatus = E.EMoveStatus.Move_Gliding,
                                              e.owner.parent) {
                                              var f = e.owner.parent.getChildByName("obs_stick_1 (2)");
                                              f && (f.active = !1);
                                          }
                                          this._petScript && this._petScript.SwitchPetAnimation(G.EPetAni.Run, !0);
                                          break;
                                      case "start_double_road":
                                          if (this._currentMoveStatus == E.EMoveStatus.Move_Double_Road)
                                              return;
                                          this._doubleRoadParent = i,
                                              o <= .29 && o >= -.29 ? (this._chooseLeftRight = o >= 0 ? 1 : -1,
                                                  this._isCenter = !0) : (o > 0 && o < 1.89 ? (this._chooseLeftRight = -1,
                                                      this._isCenter = !0) : o >= 1.89 && (this._chooseLeftRight = 1,
                                                          this._isCenter = !1),
                                                      o < 0 && o > -1.89 ? (this._chooseLeftRight = 1,
                                                          this._isCenter = !0) : o <= -1.89 && (this._chooseLeftRight = -1,
                                                              this._isCenter = !1)),
                                              this._isMoveLocalX = !0,
                                              this.IsControl = !1,
                                              this.IsRunning = !1,
                                              this._currentMoveStatus = E.EMoveStatus.Move_Double_Road;
                                          break;
                                      case "pplbuff_bad":
                                      case "pplbuff_good":
                                          this.IsControl = !1,
                                              this.IsRunning = !1,
                                              this._currentMoveStatus = E.EMoveStatus.Move_Backoff,
                                              this.SwitchPlayerAnimation(A.EHeroAni.Backoff),
                                              this.PlayEffect(I.EEffectType.eff_pllbuff),
                                              D.default.instance.NowScene().SwitchBuffmanAnimation(e.owner.parent.parent.name);
                                          var p = k.PropConfig.dataList.find(function (t) {
                                              return t.type == e.owner.name
                                          });
                                          p && (0 == p.attr ? this.ChangeScorce(-1 * p.value) : this.ChangeScorce(p.value));
                                          break;
                                      case "end_double_road":
                                          this._currentMoveStatus = E.EMoveStatus.Move_Normal;
                                          break;
                                      case "door_1":
                                      case "door_2":
                                      case "door_3":
                                      case "door_4":
                                      case "door_5":
                                      case "door_6":
                                      case "door_7":
                                      case "door_8":
                                      case "door_9":
                                      case "door_10":
                                      case "door_11":
                                      case "door_12":
                                          var g = _.DoorConfig.dataList.find(function (e) {
                                              return e.doorName == a
                                          });
                                          if (g) {
                                              var v = g.value;
                                              this._root.transform.localPositionX < 0 && (v = -v),
                                                  this.ChangeScorce(v),
                                                  this._grilTargetType == P.EGirlType.Good_Girl ? v > 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2) : this._grilTargetType == P.EGirlType.Bad_Girl && (v < 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2));
                                          }
                                          e.owner.active = !1;
                                          break;
                                      case "start_end":
                                          this._grilTargetType == P.EGirlType.Good_Girl ? this._girlType == P.EGirlType.Bad_Girl ? this._isWin = !1 : this._isWin = !0 : this._grilTargetType == P.EGirlType.Bad_Girl && (this._girlType == P.EGirlType.Good_Girl ? this._isWin = !1 : this._isWin = !0),
                                              this._isWin ? (D.default.instance.NowScene().SwitchBodyguardAnimation(L.EBodyguardAni.Welcome),
                                                  D.default.instance.NowScene().FinishScript.SwitchEndDoorAnimation("open"),
                                                  r.default.instance.playSound(M.ESoundName.gate_open),
                                                  r.default.instance.playSound(M.ESoundName.level_complete)) : D.default.instance.NowScene().SwitchBodyguardAnimation(L.EBodyguardAni.Refuse),
                                              D.default.instance.PreloadNextSceneRes();
                                          break;
                                      case "door_end":
                                          this._isWin || (H.Logger.lg("游戏结束,不能进入"),
                                              r.default.instance.playSound(M.ESoundName.level_fail),
                                              this.GameFail());
                                          break;
                                      case "start_driver":
                                          var y = D.default.instance.NowScene().CarScript.GetActiveCar();
                                          if (y) {
                                              var C = y.getChildAt(0).getChildByName("head");
                                              this.Owner.transform.position = C.transform.position,
                                                  this._root.transform.localPositionX = 0,
                                                  this.StartDriver(),
                                                  r.default.instance.playSound(M.ESoundName.limo_start),
                                                  this._startCameraPos = D.default.instance.CameraLocalPos.clone(),
                                                  this._targetCameraPos = new Laya.Vector3(0, 8, -10.5),
                                                  this._cameraRatio = 0,
                                                  this._moveCamera = !0,
                                                  d.default.camera.transform.localRotationEuler = new Laya.Vector3(-25, 180, 0);
                                          }
                                          break;
                                      case "endplat_1":
                                      case "endplat_2":
                                      case "endplat_3":
                                      case "endplat_4":
                                      case "endplat_5":
                                      case "endplat_6":
                                          var S = 1;
                                          if (this._grilTargetType == P.EGirlType.Good_Girl ? this._scorce >= 0 && this._scorce <= 8 ? S = 1 : this._scorce >= 9 && this._scorce <= 13 ? S = 2 : this._scorce >= 14 && this._scorce <= 18 ? S = 3 : this._scorce >= 19 && this._scorce <= 23 ? S = 4 : this._scorce >= 24 && this._scorce <= 28 ? S = 5 : this._scorce >= 29 && this._scorce <= 33 ? S = 6 : this._scorce >= 34 && (S = 7) : this._grilTargetType == P.EGirlType.Bad_Girl && (this._scorce <= -8 && this._scorce >= 0 ? S = 1 : this._scorce <= -9 && this._scorce >= -13 ? S = 2 : this._scorce <= -14 && this._scorce >= -18 ? S = 3 : this._scorce <= -19 && this._scorce >= -23 ? S = 4 : this._scorce <= -24 && this._scorce >= -28 ? S = 5 : this._scorce <= -29 && this._scorce >= -33 ? S = 6 : this._scorce <= -34 && (S = 7)),
                                              a == "endplat_".concat(S) && (this.IsControl = !1,
                                                  this.IsRunning = !1,
                                                  H.Logger.lg("游戏结束进行结算"),
                                                  this.SwitchPlayerAnimation(A.EHeroAni.Dance),
                                                  this._gameWinBet = S,
                                                  this.PlayEffect(I.EEffectType.eff_settlement),
                                                  Laya.timer.once(3e3, this, function () {
                                                      c.default.instance.event3d(w.EEventScene.GameWin, [t._gameWinBet]);
                                                  })),
                                              D.default.instance.NowScene().FinishScript && D.default.instance.NowScene().FinishScript.LightingPlat(a),
                                              r.default.instance.playSound(M.ESoundName.swipe_to_play),
                                              !h.default.instance.isVerifyVersion)
                                              if (this._girlType == P.EGirlType.Good_Girl)
                                                  D.default.instance.NowScene().FinishScript.DiscardOneNpc();
                                              else if (this._discardClothSprite) {
                                                  var T = this._discardClothSprite.pop();
                                                  if (T) {
                                                      switch (T.name) {
                                                          case "horns":
                                                          case "wings":
                                                              var R = this._ornamentsArray[T.name];
                                                              R && (R.active = !1);
                                                              break;
                                                          case "skin_1":
                                                          case "skin_2":
                                                              this._playerStatus = b.EPlayerStatus.Devil_Neutral,
                                                                  this.ChangePlayerCloth();
                                                              break;
                                                          case "skin_3":
                                                              this._playerStatus = b.EPlayerStatus.Devil_Cheater,
                                                                  this.ChangePlayerCloth();
                                                              break;
                                                          case "skin_4":
                                                              this._playerStatus = b.EPlayerStatus.Devil_Baddie,
                                                                  this.ChangePlayerCloth();
                                                      }
                                                      var O = D.default.instance.NowScene().FinishScript.GetClothsPos(a);
                                                      O && (O.addChild(T),
                                                          T.transform.localPosition = s.default.zeroNew);
                                                  }
                                              }
                                          break;
                                      case "npc_move":
                                          this._girlType == P.EGirlType.Good_Girl && (D.default.instance.NowScene().FinishScript.StartMoveNpc(!0),
                                              D.default.instance.NowScene().FinishNpcScript.SwitchNpcAnimation(U.ENpcManAni.Idle));
                                          var B = "";
                                          this._girlType == P.EGirlType.Good_Girl ? B = "end_good_platform" : this._girlType == P.EGirlType.Bad_Girl && (B = "end_bad_platform"),
                                              this.AddNewPath(D.default.instance.NowScene().FinishNpcScript.GetPathsParent(), B),
                                              this._startCameraPos = d.default.camera.transform.localPosition.clone();
                                          var N = s.default.Scale(s.default.Add(this._startCameraPos, D.default.instance.CameraLocalPos.clone()), .6);
                                          this._targetCameraPos = N,
                                              this._cameraRatio = 0,
                                              this._moveCamera = !0,
                                              this._pointOffsetX = 0,
                                              this.IsControl = !1;
                                          break;
                                      default:
                                          if (a.startsWith("prop_crown") || a.startsWith("prop_juice") || a.startsWith("prop_lipstick") || a.startsWith("prop_mask") || a.startsWith("prop_perfume") || a.startsWith("prop_powder") || a.startsWith("prop_ring") || a.startsWith("prop_skull")) {
                                              var V = x.EPropType.Prop_Crown;
                                              a.startsWith("prop_crown") ? V = x.EPropType.Prop_Crown : a.startsWith("prop_juice") ? V = x.EPropType.Prop_Juice : a.startsWith("prop_lipstick") ? V = x.EPropType.Prop_Lipstick : a.startsWith("prop_mask") ? V = x.EPropType.Prop_Mask : a.startsWith("prop_perfume") ? V = x.EPropType.Prop_Perfume : a.startsWith("prop_powder") ? V = x.EPropType.Prop_Powder : a.startsWith("prop_ring") ? V = x.EPropType.Prop_Ring : a.startsWith("prop_skull") && (V = x.EPropType.Prop_Skull);
                                              var F = k.PropConfig.dataList.find(function (e) {
                                                  return V == e.type
                                              });
                                              if (F) {
                                                  var W = 0;
                                                  1 == F.attr ? (W = F.value,
                                                      this.PlayEffect(I.EEffectType.eff_circle_good)) : 0 == F.attr && (W = -F.value,
                                                          this.PlayEffect(I.EEffectType.eff_circle_bad)),
                                                      this._grilTargetType == P.EGirlType.Good_Girl ? W > 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2) : this._grilTargetType == P.EGirlType.Bad_Girl && (W < 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2)),
                                                      this.ChangeScorce(W);
                                              }
                                              e.owner.active = !1;
                                          } else
                                              a.startsWith("pool_good") || a.startsWith("pool_good1") || a.startsWith("pool_bad") || a.startsWith("pool_bad1") ? (this._playerPoolStatus = 0,
                                                  Laya.timer.loop(200, this, this.PoolAddScore)) : a.startsWith("diamonds") && (Laya.timer.once(100, this, function () {
                                                      var e = n[0];
                                                      e && (e.owner.active = !1);
                                                  }, [e.owner], !1),
                                                      h.default.addDiamonds(1),
                                                      h.default.SaveToDisk(),
                                                      r.default.instance.playSound(M.ESoundName.diamond_pickup),
                                                      this.PlayDiamonEffect(I.EEffectType.eff_diomand, e.owner));
                                  }
                              }
                          }
                      }, {
                          key: "StartDriver",
                          value: function () {
                              this._isDriver = !0,
                                  this._currentMoveStatus = E.EMoveStatus.Move_Car,
                                  this._lastSpeed = this._moveSpeed,
                                  this._moveSpeed = this._carSpeed,
                                  this._petScript && (this._petScript.SwitchPetAnimation(G.EPetAni.Idle),
                                      this._petScript.Owner.active = !1);
                              var e = D.default.instance.NowScene().CarScript.GetActiveCar();
                              if (e) {
                                  var t = e.parent
                                      , n = e.name;
                                  if (t) {
                                      var a = t.removeChildByName(n);
                                      this._root.addChild(a),
                                          a.transform.localPosition = s.default.zeroNew,
                                          a.transform.localRotationEuler = s.default.zeroNew;
                                  }
                              }
                              this._player.active = !1,
                                  this._currentAni = "",
                                  h.default.instance.isVerifyVersion || (this._girlType == P.EGirlType.Good_Girl ? this.LoadNpc() : this._girlType == P.EGirlType.Bad_Girl && this.LoadClothAndOrnaments());
                          }
                      }, {
                          key: "LoadClothAndOrnaments",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r, o;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  if (t = [],
                                                      this._playerStatus == b.EPlayerStatus.Devil_Neutral ? t.push("skin_1") : this._playerStatus == b.EPlayerStatus.Devil_Cheater ? (t.push("skin_1"),
                                                          t.push("skin_2")) : this._playerStatus == b.EPlayerStatus.Devil_Baddie ? (t.push("skin_1"),
                                                              t.push("skin_2"),
                                                              t.push("skin_3")) : this._playerStatus == b.EPlayerStatus.Devil_Naughty && (t.push("skin_1"),
                                                                  t.push("skin_2"),
                                                                  t.push("skin_3"),
                                                                  t.push("skin_4")),
                                                      this._ornamentsArray)
                                                      for (n in this._ornamentsArray)
                                                          (a = this._ornamentsArray[n]) && a.active && ("horns" == a.name ? t.push("horns") : "wings" == a.name && t.push("wings"));
                                                  if (this._discardClothSprite = [],
                                                      !t) {
                                                      e.next = 17;
                                                      break
                                                  }
                                                  i = 0;
                                              case 6:
                                                  if (!(i < t.length)) {
                                                      e.next = 17;
                                                      break
                                                  }
                                                  return s = t[i],
                                                      H.Logger.lg("加载的衣物：" + s),
                                                      r = u.default.prefab_url(s),
                                                      e.next = 12,
                                                      l.default.LoadAndGet(r, !1);
                                              case 12:
                                                  (o = e.sent) && this._discardClothSprite.push(o);
                                              case 14:
                                                  i++,
                                                      e.next = 6;
                                                  break;
                                              case 17:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "LoadNpc",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  var t, n, a, i, s, r, o, c;
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  t = 0,
                                                      this._scorce >= 0 && this._scorce <= 8 ? t = 1 : this._scorce >= 9 && this._scorce <= 13 ? t = 2 : this._scorce >= 14 && this._scorce <= 18 ? t = 3 : this._scorce >= 19 && this._scorce <= 23 ? t = 4 : this._scorce >= 24 && this._scorce <= 28 ? t = 5 : this._scorce >= 29 && this._scorce <= 33 ? t = 6 : this._scorce >= 34 && (t = 7),
                                                      t > 6 && (t = 6),
                                                      t < 1 && (t = 1),
                                                      n = u.default.prefab_url("girl"),
                                                      a = 1;
                                              case 6:
                                                  if (!(a <= t)) {
                                                      e.next = 14;
                                                      break
                                                  }
                                                  return e.next = 9,
                                                      l.default.LoadAndGet(n, !1);
                                              case 9:
                                                  if ((i = e.sent) && (D.default.instance.NowScene().FinishScript.AddNpcToPeople(a - 1, i),
                                                      s = i.getChildAt(0).getChildByName("girl")))
                                                      for (r = s.numChildren,
                                                          o = 0; o < r; o++)
                                                          (c = s.getChildAt(o)) && (c.active = a == o + 1);
                                              case 11:
                                                  a++,
                                                      e.next = 6;
                                                  break;
                                              case 14:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "OnTriggerStay",
                          value: function (e) {
                              var t = e.owner.name;
                              t.startsWith("pool_good") || t.startsWith("pool_good1") ? this._playerPoolStatus = 1 : (t.startsWith("pool_bad") || t.startsWith("pool_bad1")) && (this._playerPoolStatus = -1);
                          }
                      }, {
                          key: "OnTriggerExit",
                          value: function (e) {
                              var t = this
                                  , n = e.owner.name;
                              (n.startsWith("pool_good") || n.startsWith("pool_good1") || n.startsWith("pool_bad") || n.startsWith("pool_bad1")) && (this._playerPoolStatus = 0,
                                  Laya.timer.once(1e3, this, function () {
                                      0 == t._playerPoolStatus && Laya.timer.clear(t, t.PoolAddScore);
                                  }));
                          }
                      }, {
                          key: "StartDrift",
                          value: function () {
                              this._currentMoveStatus = E.EMoveStatus.Move_Drift,
                                  r.default.instance.playSound(M.ESoundName.limo_stop),
                                  this.IsControl = !1,
                                  this.IsRunning = !1,
                                  this._moveSpeed = this._carSpeed / 2,
                                  this._root.transform.localPositionX = 0,
                                  d.default.camera.transform.localPositionX = 0;
                          }
                      }, {
                          key: "EndDrift",
                          value: function () {
                              this._isDriver = !1,
                                  this._root.transform.localPositionX = 0,
                                  this._startCameraPos = d.default.camera.transform.localPosition.clone(),
                                  this._targetCameraPos = d.default.camera.transform.localPosition.clone(),
                                  this._targetCameraPos.x = 0,
                                  this._cameraRatio = 0,
                                  this.IsControl = !1,
                                  this._moveCamera = !0,
                                  this._player.active = !0;
                              var e = D.default.instance.NowScene().CarScript.GetActiveCar();
                              e && (e.active = !1),
                                  this._girlType == P.EGirlType.Good_Girl ? this.SwitchPlayerAnimation(A.EHeroAni.WalkG1) : this.SwitchPlayerAnimation(A.EHeroAni.WalkBEnd),
                                  this._petScript && 0 != h.default.instance.selectPetId && (this._petScript.Owner.active = !0,
                                      this._petScript.SwitchPetAnimation(G.EPetAni.Run)),
                                  this._moveSpeed = this._lastSpeed,
                                  this._currentMoveStatus = E.EMoveStatus.Move_End,
                                  this.IsRunning = !0,
                                  this.IsControl = !1;
                          }
                      }, {
                          key: "PoolAddScore",
                          value: function () {
                              0 != this._playerPoolStatus && (this._grilTargetType == P.EGirlType.Good_Girl ? this._playerPoolStatus > 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2) : this._grilTargetType == P.EGirlType.Bad_Girl && (this._playerPoolStatus < 0 ? r.default.instance.playSound(M.ESoundName.pick_up_good) : r.default.instance.playSound(M.ESoundName.pick_up_bad_2)),
                                  this.ChangeScorce(2 * this._playerPoolStatus));
                          }
                      }, {
                          key: "AddNewPath",
                          value: function (e) {
                              var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
                              if (e) {
                                  var n = null;
                                  if (n = e.getChildByName(t).getChildByName("paths")) {
                                      var a = n.numChildren
                                          , i = []
                                          , s = []
                                          , r = this.Owner.transform.position.clone()
                                          , o = this.Owner.transform.rotation.clone();
                                      i.push(r),
                                          s.push(o);
                                      for (var c = 0; c < a; c++) {
                                          var l = n.getChildAt(c);
                                          i.push(l.transform.position),
                                              s.push(l.transform.rotation);
                                      }
                                      this._pathPos.InsertRoutePos(i, s);
                                  }
                              }
                          }
                      }, {
                          key: "OnAnimationEnd",
                          value: function (e, t) {
                              var n = t;
                              switch (H.Logger.lg("动画播放完成：" + n),
                              n) {
                                  case R.EStudentAni.Student_Jump:
                                      this.SwitchStudentAnimation(R.EStudentAni.Student_Walk);
                                      break;
                                  case R.EStudentAni.Student_Hat:
                                      this._studentHat.active = !1;
                                      break;
                                  case A.EHeroAni.Turn:
                                      this._isTrun = !1,
                                          this._palyerAni && (this._palyerAni.speed = 1),
                                          this._currentAni != A.EHeroAni.Cry && this.SwitchPlayerAnimation(this._laseAniType, !0);
                                      break;
                                  case A.EHeroAni.Backoff:
                                      this._currentMoveStatus = E.EMoveStatus.Move_Normal,
                                          this.Go();
                              }
                          }
                      }, {
                          key: "PlayEffect",
                          value: function (e) {
                              var t = new o.EffectShowData(e);
                              t.continueTime = 2,
                                  t.parent = this._body,
                                  e == I.EEffectType.eff_add_bad || e == I.EEffectType.eff_add_good ? (t.setLocalPos = new Laya.Vector3(0, .5, 0),
                                      t.setLocalRot = new Laya.Quaternion(0, 0, 0, 1)) : e == I.EEffectType.eff_circle_bad || e == I.EEffectType.eff_circle_good ? (t.setLocalPos = new Laya.Vector3(0, .05, 0),
                                          t.setLocalRot = new Laya.Quaternion(0, 0, 0, 1)) : e == I.EEffectType.eff_pllbuff && (t.setLocalPos = new Laya.Vector3(0, 0, 0),
                                              t.setLocalRot = new Laya.Quaternion(0, 0, 0, 1),
                                              t.continueTime = .6,
                                              H.Logger.lg("播放撞人特效：" + this._body.active)),
                                  o.EffectManager.instance.PlayEffectByData(t);
                          }
                      }, {
                          key: "PlayDiamonEffect",
                          value: function (e, t) {
                              if (t) {
                                  var n = new o.EffectShowData(e);
                                  n.continueTime = .5,
                                      n.parent = this.Owner,
                                      n.setPos = t.transform.position.clone(),
                                      n.setRot = t.transform.rotation.clone(),
                                      o.EffectManager.instance.PlayEffectByData(n);
                              }
                          }
                      }, {
                          key: "GrilTargetType",
                          get: function () {
                              return this._grilTargetType
                          }
                      }, {
                          key: "IsControl",
                          get: function () {
                              return this._controller
                          },
                          set: function (e) {
                              this._controller = e;
                          }
                      }, {
                          key: "IsRunning",
                          get: function () {
                              return this._running
                          },
                          set: function (e) {
                              this._running = e,
                                  this._running ? this._petScript && this._petScript.SwitchPetAnimation(G.EPetAni.Run) : this._petScript && this._petScript.SwitchPetAnimation(G.EPetAni.Idle);
                          }
                      }, {
                          key: "Scorce",
                          get: function () {
                              return this._scorce
                          },
                          set: function (e) {
                              this._scorce = e;
                          }
                      }, {
                          key: "BornPos",
                          set: function (e) {
                              this.Owner.transform.position = e;
                          }
                      }, {
                          key: "PetScript",
                          get: function () {
                              return this._petScript
                          }
                      }, {
                          key: "PetPos",
                          get: function () {
                              return this._petPos
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/ui/UI_LwYinsiMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "UI_LwYinsiMediator", function () {
                      return y
                  });
              var a = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , i = n("./src/LTGame/Manager/AudioManager.ts")
                  , s = n("./src/LTGame/Manager/EffectManager.ts")
                  , r = n("./src/LTGame/Manager/GameManager.ts")
                  , o = n("./src/LTGame/Manager/ShopManager.ts")
                  , c = n("./src/LTGame/Platform/EPlatformType.ts")
                  , l = n("./src/LTGame/Platform/LTPlatform.ts")
                  , u = n("./src/ui/LwYinsi/UI_lwYinsi2.ts")
                  , h = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , d = n("./src/UIExt/FGui/FGuiEx.ts")
                  , f = n("./src/script/common/Const.ts")
                  , _ = n("./src/script/common/GameData.ts")
                  , m = n("./src/script/common/LwTools.ts")
                  , p = n("./src/script/common/TimeUtils.ts")
                  , g = n("./src/script/scene/Main3d/Game3d.ts")
                  , v = n("./src/script/ui/UI_MainMediator.ts")
                  , y = function (e) {
                      _inherits(n, h["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = d.EUILayer.Ad,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              this.ui.m_agree.onClick(this, this.Hide),
                                  this.ui.m_refuse.onClick(this, this.ExitPanel),
                                  this.ui.m_continue.onClick(this, this.OnBtnContinue),
                                  this.ui.m_type.selectedIndex = this._openParam ? 1 : 0,
                                  m.LwTools.hideBanner(),
                                  f.default.packageType == c.EPackageType.m_美少女学院 ? (this.ui.m_c1.selectedIndex = 1,
                                      this.ui.m_mjName.text = "《美少女学院》") : f.default.packageType == c.EPackageType.w_我叫安吉拉 ? (this.ui.m_c1.selectedIndex = 1,
                                          this.ui.m_mjName.text = "《我叫安吉拉》") : f.default.packageType == c.EPackageType.n_你是我的情敌 ? (this.ui.m_c1.selectedIndex = 1,
                                              this.ui.m_mjName.text = "《你是我的情敌》") : f.default.packageType == c.EPackageType.t_天际狂飙 ? (this.ui.m_c1.selectedIndex = 1,
                                                  this.ui.m_mjName.text = "《天际狂飙》") : f.default.packageType == c.EPackageType.m_抓住小姐姐 ? (this.ui.m_c1.selectedIndex = 1,
                                                      this.ui.m_mjName.text = "《抓住小姐姐》") : (this.ui.m_c1.selectedIndex = 1,
                                                          this.ui.m_mjName.text = "《佛系少女》");
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              this.ui.m_agree.offClick(this, this.Hide),
                                  this.ui.m_refuse.offClick(this, this.ExitPanel),
                                  this.ui.m_continue.offClick(this, this.OnBtnContinue);
                          }
                      }, {
                          key: "ExitPanel",
                          value: function () {
                              l.default.instance.base.exitApplication && l.default.instance.base.exitApplication({});
                          }
                      }, {
                          key: "OnBtnContinue",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  return _.default.instance.agreeYinsi = !0,
                                                      this.Hide(),
                                                      e.next = 4,
                                                      v.UI_MainMediator.instance.Show();
                                              case 4:
                                                  if (e.prev = 4,
                                                      o.default.instance,
                                                      !f.default.support3D) {
                                                      e.next = 9;
                                                      break
                                                  }
                                                  return e.next = 9,
                                                      g.default.instance.enterGame();
                                              case 9:
                                                  e.next = 14;
                                                  break;
                                              case 11:
                                                  e.prev = 11,
                                                      e.t0 = e.catch(4),
                                                      console.error(e.t0);
                                              case 14:
                                                  f.default.loadUI && f.default.loadUI.dispose(),
                                                      f.default.loadUI = null,
                                                      p.default.instance,
                                                      r.default.instance.enterGame(),
                                                      s.EffectManager.instance.init(),
                                                      s.EffectManager.instance.WarmEffects(),
                                                      i.default.instance.setMusicOpen(a.default.instance.isMusicOn),
                                                      i.default.instance.setSoundOpen(a.default.instance.isSoundOn);
                                              case 22:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this, [[4, 11]])
                              }))
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return this._instance || (this._instance = new n,
                                  this._instance._classDefine = u.default),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/ui/UI_MainMediator.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "UI_MainMediator", function () {
                      return G
                  });
              var a = n("./src/LTGame/Async/Awaiters.ts")
                  , i = n("./src/LTGame/Commom/CommonSaveData.ts")
                  , s = n("./src/LTGame/Manager/MesManager.ts")
                  , r = n("./src/LTGame/Platform/EPlatformType.ts")
                  , o = n("./src/LTGame/Platform/LTPlatform.ts")
                  , c = n("./src/ui/main/UI_main.ts")
                  , l = n("./src/UIExt/FGui/BaseUIMediator.ts")
                  , u = n("./src/UIExt/FGui/FGuiEx.ts")
                  , h = n("./src/UIExt/LTFly.ts")
                  , d = n("./src/UIExt/UISrc/UICommon/UI_LotteryMediator.ts")
                  , f = n("./src/script/common/maidian.ts")
                  , _ = n("./src/script/common/TimeUtils.ts")
                  , m = n("./src/script/config/PlayerStatusConfig.ts")
                  , p = n("./src/script/enum/EEventScene.ts")
                  , g = n("./src/script/enum/EMaiType.ts")
                  , v = n("./src/script/scene/Main3d/Game3d.ts")
                  , y = n("./src/script/scene/script/utils/Logger.ts")
                  , k = n("./src/UIExt/UISrc/UICommon/UI_ShareMediator.ts")
                  , C = n("./src/LTGame/Manager/GameManager.ts")
                  , S = n("./src/UIExt/UISrc/UICommon/UI_SignMediator.ts")
                  , L = n("./src/UIExt/UISrc/UICommon/UI_ShopMediator.ts")
                  , I = n("./src/UIExt/UISrc/UICommon/UI_LimitTryMediator.ts")
                  , w = n("./src/LTGame/Manager/ShopManager.ts")
                  , T = n("./src/script/enum/ETryType.ts")
                  , P = n("./src/script/enum/EEventUI.ts")
                  , A = n("./src/UIExt/UISrc/UICommon/UI_SettingMediator.ts")
                  , E = n("./src/script/common/LwTools.ts")
                  , U = n("./src/script/ui/UI_LwYinsiMediator.ts")
                  , G = function (e) {
                      _inherits(n, l["default"]);
                      var t = _createSuper(n);
                      function n() {
                          var e;
                          return _classCallCheck(this, n),
                              (e = t.apply(this, arguments))._layer = u.EUILayer.Main,
                              e._gameTimes = 0,
                              e.index = 0,
                              e._angelLastTime = 0,
                              e._devilLastTime = 0,
                              e._angelValue = 0,
                              e._devilValue = 0,
                              e.backHomeShowShop = !1,
                              e.backHomeShowTurn = !0,
                              e
                      }
                      return _createClass(n, [{
                          key: "_OnShow",
                          value: function () {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                  return regeneratorRuntime.wrap(function (e) {
                                      for (; ;)
                                          switch (e.prev = e.next) {
                                              case 0:
                                                  this.initData(),
                                                      this.initView(),
                                                      this._onEvent(),
                                                      C.default.instance.setCall({
                                                          resetLevel: Laya.Handler.create(this, this.resetLevel, null, !1),
                                                          nextLevel: Laya.Handler.create(this, this.next, null, !1),
                                                          startGame: Laya.Handler.create(this, this.startGame, null, !1),
                                                          goodStart: Laya.Handler.create(this, this.goodStart, null, !1)
                                                      });
                                              case 4:
                                              case "end":
                                                  return e.stop()
                                          }
                                  }, e, this)
                              }))
                          }
                      }, {
                          key: "initView",
                          value: function () {
                              var e = this;
                              this.ui.m_testList.itemRenderer = Laya.Handler.create(this, this.updateBtnItem, null, !1),
                                  this.ui.m_testList.setVirtual(),
                                  this.ui.m_testList.numItems = this.testBtnData.length,
                                  this.ui.m_testList.visible = !1,
                                  this.ui.m_page_state.selectedIndex = 1,
                                  this.setLevelInfo(),
                                  this.refreshLimitBtn(),
                                  E.LwTools.platform_oppo(function () {
                                      var t = new E.bannerCallObj;
                                      t.showFunc = function () {
                                          E.LwTools.setOppoBannerPos(50);
                                      }
                                          ,
                                          E.LwTools.Init_oppo(e.ui, E.ELwADs.nativeBanner_YSBN, !1, !0, t);
                                  }),
                                  E.LwTools.platform_vivo(function () {
                                      E.LwTools.Init_vivo(e.ui, E.ELwADs.nativeBanner_YSBN),
                                          E.LwTools.showVivoGameBox();
                                  });
                          }
                      }, {
                          key: "updateBtnItem",
                          value: function (e, t) {
                              t.setData(this.testBtnData[e]);
                          }
                      }, {
                          key: "initData",
                          value: function () {
                              var e = this;
                              this.enterTime = _.default.now;
                              var t = m.PlayerStatusConfig.dataList.find(function (e) {
                                  return "angel_neutral" == e.status
                              })
                                  , a = m.PlayerStatusConfig.dataList.find(function (e) {
                                      return "angel_glamorous" == e.status
                                  });
                              this._scorceMin = t.startValue,
                                  this._scorceMax = a.endValue,
                                  this.ui.m_progress.value = 0,
                                  this.testBtnData = [],
                                  this.testBtnData.push({
                                      title: "开始游戏",
                                      call: Laya.Handler.create(this, function () {
                                          v.default.instance.NowScene().StartGame();
                                      }, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "超凡开局",
                                      call: Laya.Handler.create(this, this.goodStart, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "切换翅膀",
                                      call: Laya.Handler.create(this, function () {
                                          v.default.instance.Player.TryUse(T.ETryType.ETryWing, 4);
                                      }, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "切换飞行宠物",
                                      call: Laya.Handler.create(this, function () {
                                          v.default.instance.Player.TryUse(T.ETryType.ETryIdentityPet, 1);
                                      }, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "切换宠物",
                                      call: Laya.Handler.create(this, function () {
                                          v.default.instance.Player.TryUse(T.ETryType.ETryPet, 3);
                                      }, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "下一关",
                                      call: Laya.Handler.create(this, this.next, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "上一关",
                                      call: Laya.Handler.create(this, function () {
                                          v.default.instance.LoadlastLevel();
                                      }, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "重来",
                                      call: Laya.Handler.create(this, this.resetLevel, null, !1)
                                  }),
                                  this.testBtnData.push({
                                      title: "播放钻石动画",
                                      call: Laya.Handler.create(this, function () {
                                          h.LTFly.FlyCoins(u.EUILayer.Tip, new Laya.Point(360, 470 + (e.ui.height - 1280) / 2), n.instance.ui.m_money.m_icon, "ui://kg0a5580gjpdxg", 10, 1, 60, !0);
                                      }, null, !1)
                                  });
                          }
                      }, {
                          key: "goodStart",
                          value: function () {
                              v.default.instance.Player.SuperStartGame(!0);
                          }
                      }, {
                          key: "refreshLimitBtn",
                          value: function () {
                              this.ui.m_limitSkin.visible = !w.default.instance.checkLimitSkin();
                          }
                      }, {
                          key: "next",
                          value: function () {
                              v.default.instance.LoadNextLevel(),
                                  this.setLevelInfo();
                          }
                      }, {
                          key: "resetLevel",
                          value: function () {
                              var e = this;
                              E.LwTools.platform_ov(function () {
                                  E.LwTools.platform_oppo(function () {
                                      var t = new E.bannerCallObj;
                                      t.showFunc = function () {
                                          E.LwTools.setOppoBannerPos(50);
                                      }
                                          ,
                                          E.LwTools.Init_oppo(e.ui, E.ELwADs.nativeBanner_YSBN, !1, !0, t);
                                  }),
                                      E.LwTools.platform_vivo(function () {
                                          E.LwTools.Init_vivo(e.ui, E.ELwADs.nativeBanner_YSBN);
                                      });
                              }, function () {
                                  e.ui.m_platform.selectedIndex = 0;
                              }),
                                  this.ui.m_page_state.selectedIndex = 1,
                                  v.default.instance.NowScene().ReloadCurrentLevel();
                          }
                      }, {
                          key: "_onEvent",
                          value: function () {
                              var e = this;
                              s.default.instance.on3d(p.EEventScene.GirlTarget, this, this.GirlTarget),
                                  s.default.instance.on3d(p.EEventScene.GirlStatus, this, this.RefreshStatus),
                                  s.default.instance.on3d(p.EEventScene.Scorce, this, this.RefreshScorce),
                                  s.default.instance.onUI(P.EEventUI.getLimitSkin, this, this.refreshLimitBtn),
                                  this.onClick(this.ui.m_sign_btn, function () {
                                      o.default.instance.ShowBannerAd(),
                                          S.default.instance.Show(null, n);
                                  }),
                                  this.onClick(this.ui.m_turntable_btn, function () {
                                      console.log("0000000000000000000000000000000000000000000000000000");
                                      o.default.instance.ShowBannerAd(),
                                          d.default.instance.Show(null, n);
                                  }),
                                  this.onClick(this.ui.m_shop, function () {
                                      L.default.instance.Show();
                                  }),
                                  this.onClick(this.ui.m_setting, function () {
                                      A.default.instance.Show(null, n);
                                  }),
                                  this.onClick(this.ui.m_limitSkin, function () {
                                      o.default.instance.ShowBannerAd(),
                                          I.default.instance.Show(null, n);
                                  }),
                                  this.onClick(this.ui.m_start_game_panel, this.onTouch),
                                  E.LwTools.platform_oppo(function () {
                                      E.LwTools.btnMistake(e.ui.m_touchStart, function () {
                                          e.onTouch(),
                                              E.LwTools.hideBanner();
                                      });
                                  }),
                                  E.LwTools.platform_vivo(function () {
                                      e.ui.m_touchStart.onClick(e, function () {
                                          e.onTouch(),
                                              E.LwTools.hideBanner();
                                      });
                                  }),
                                  this.onClick(this.ui.m_btnMoreGame, function () {
                                      // o.default.instance.OpenGameBox(null);
                                  }),
                                  this.onClick(this.ui.m_btnYinsi, function () {
                                      // U.UI_LwYinsiMediator.instance.Show({
                                      //     1: "remp"
                                      // });
                                      UIConfig.closeDialogOnSide = false;
                                      Laya.Dialog.open("ads/HuaweiMsg.json", false, null, Laya.Handler.create(this, (view) => {
                                          view.panel.vScrollBarSkin = "";
                                          view.btnCancel.on(Laya.Event.CLICK, view, () => {
                                              view.close();
                                              qg.exitApplication({
                                                  success: function () {
                                                      console.log("exitApplication success");
                                                  },
                                                  fail: function () {
                                                      console.log("exitApplication fail");
                                                  },
                                                  complete: function () {
                                                      console.log("exitApplication complete");
                                                  }
                                              });
                                          });
                                          view.btnConfirm.on(Laya.Event.CLICK, view, () => {
                                              Laya.LocalStorage.setItem("huaweiMsg", {});
                                              view.close();
                                              // YYGMiniGames.showBanner()
                                          });
                                      }));
                                  }),
                                  this.onClick(this.ui.m_BtnDesk, function () {
                                      o.default.instance.createShortcut();
                                  });
                          }
                      }, {
                          key: "RefreshScorce",
                          value: function (e) {
                              if (e) {
                                  e > 0 ? (this.ui.m_angel.visible = !0,
                                      Laya.timer.currTimer - this._angelLastTime < 1e3 ? this._angelValue += e : (this._angelValue = e,
                                          this._angelLastTime = Laya.timer.currTimer),
                                      this.ui.m_angel.m_num.text = "".concat(Math.abs(this._angelValue)),
                                      this.ui.m_angel.m_ani.play()) : (this.ui.m_devil.visible = !0,
                                          Laya.timer.currTimer - this._devilLastTime < 1e3 ? this._devilValue += e : (this._devilValue = e,
                                              this._devilLastTime = Laya.timer.currTimer),
                                          this.ui.m_devil.m_num.text = "".concat(Math.abs(this._devilValue)),
                                          this.ui.m_devil.m_ani.play());
                                  var t = Math.abs(v.default.instance.Player.Scorce);
                                  this.ui.m_progress.value = t;
                              }
                          }
                      }, {
                          key: "viewBackCall",
                          value: function (e) {
                              o.default.instance.platform == r.EPlatformType.android_233 && o.default.instance.HideBannerAd();
                          }
                      }, {
                          key: "RefreshStatus",
                          value: function (e) {
                              void 0 != e && (this._ui.m_progress.m_progress_status.selectedIndex = e);
                          }
                      }, {
                          key: "GirlTarget",
                          value: function (e) {
                              void 0 != e && (y.Logger.lg("显示目标:" + e),
                                  this.ui.m_player_status.selectedIndex = e);
                          }
                      }, {
                          key: "_offEvent",
                          value: function () {
                              s.default.instance.off3d(p.EEventScene.GirlTarget, this, this.GirlTarget),
                                  s.default.instance.off3d(p.EEventScene.GirlStatus, this, this.RefreshStatus),
                                  s.default.instance.off3d(p.EEventScene.Scorce, this, this.RefreshScorce);
                          }
                      }, {
                          key: "_onShareBtn",
                          value: function () {
                              k.UI_ShareMediator.instance.Show();
                          }
                      }, {
                          key: "onTouch",
                          value: function () {
                              try {
                                  C.default.instance.startGame();
                              } catch (e) {
                                  console.error("game start error", e);
                              }
                          }
                      }, {
                          key: "startGame",
                          value: function () {
                              var e = this;
                              if (!v.default.instance.NowScene().IsGaming) {
                                  var t = function () {
                                      e.ui.m_page_state.selectedIndex = 0,
                                          e.ui.m_player_status.selectedIndex = 2,
                                          v.default.instance.NowScene().StartGame();
                                  };
                                  if (o.default.instance.platform == r.EPlatformType.TT && C.default.instance.haveLuPin) {
                                      var n = Laya.Handler.create(this, t);
                                      try {
                                          o.default.instance.recordManager.StartRecord(n, null);
                                      } catch (e) {
                                          t();
                                      }
                                  } else
                                      t();
                              }
                          }
                      }, {
                          key: "playMoneyAni",
                          value: function (e, t) {
                              h.LTFly.FlyCoins(u.EUILayer.Tip, new Laya.Point(e, t), this.ui.m_money.m_icon);
                          }
                      }, {
                          key: "backWaitGame",
                          value: function () {
                              v.default.instance.lvGameWait(i.default.instance.levelId),
                                  !i.default.instance.isSigned && i.default.instance.loginSignShow && (i.default.instance.loginSignShow = !1),
                                  i.default.SaveToDisk();
                          }
                      }, {
                          key: "gameOver",
                          value: function (e) {
                              return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                  return regeneratorRuntime.wrap(function (t) {
                                      for (; ;)
                                          switch (t.prev = t.next) {
                                              case 0:
                                                  return this._result = e,
                                                      t.next = 3,
                                                      a.default.Seconds(1.5);
                                              case 3:
                                                  o.default.instance.platform == r.EPlatformType.TT || this._jiesuan();
                                              case 4:
                                              case "end":
                                                  return t.stop()
                                          }
                                  }, t, this)
                              }))
                          }
                      }, {
                          key: "setLevelInfo",
                          value: function () {
                              i.default.instance.levelId,
                                  this.ui.m_lv.m_level.selectedIndex = 1,
                                  this.ui.m_lv.m_now.text = i.default.instance.levelId + "",
                                  this.ui.m_lv.m_next.text = i.default.instance.levelId + 1 + "",
                                  this.ui.m_lv.m_pre.text = i.default.instance.levelId - 1 + "";
                          }
                      }, {
                          key: "_jiesuan",
                          value: function () { }
                      }, {
                          key: "switchType",
                          value: function (e) { }
                      }, {
                          key: "openSign",
                          value: function () { }
                      }, {
                          key: "openShop",
                          value: function (e) { }
                      }, {
                          key: "openTurn",
                          value: function () {
                              d.default.instance.Show(null, n);
                          }
                      }, {
                          key: "_OnHide",
                          value: function () {
                              this._offEvent();
                          }
                      }], [{
                          key: "instance",
                          get: function () {
                              return null == this._instance && (this._instance = new n,
                                  this._instance._classDefine = c.default,
                                  f.default.instance.youmemNewReport(g.newYoumenType.进入主页)),
                                  this._instance
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/ui/cmp/Money.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return o
                  });
              var a = n("./src/LTGame/Manager/MesManager.ts")
                  , i = n("./src/ui/main/UI_money.ts")
                  , s = n("./src/script/common/GameData.ts")
                  , r = n("./src/script/enum/EEventUI.ts")
                  , o = function (e) {
                      _inherits(n, i["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "onConstruct", this).call(this),
                                  this.setNum(),
                                  a.default.instance.onUI(r.EEventUI.DIAMONDSCHANGE, this, this.setNum);
                          }
                      }, {
                          key: "setNum",
                          value: function () {
                              this.m_num.text = s.default.instance.diamondsCount + "";
                          }
                      }, {
                          key: "dispose",
                          value: function () {
                              a.default.instance.offUI(r.EEventUI.DIAMONDSCHANGE, this, this.setNum),
                                  _get(_getPrototypeOf(n.prototype), "dispose", this).call(this);
                          }
                      }]),
                          n
                  }();
          },
          "./src/script/ui/cmp/TestBtn.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/ui/main/UI_test.ts")
                  , i = function (e) {
                      _inherits(n, a["default"]);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.apply(this, arguments)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              _get(_getPrototypeOf(n.prototype), "onConstruct", this).call(this),
                                  this.onClick(this, this._onclick);
                          }
                      }, {
                          key: "setData",
                          value: function (e) {
                              this._data = e,
                                  this.title = e.title;
                          }
                      }, {
                          key: "_onclick",
                          value: function () {
                              this._data && this._data.call && this._data.call.run();
                          }
                      }]),
                          n
                  }();
          },
          "./src/ui/Load/LoadBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/ui/Load/UI_loading.ts")
                  , i = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "bindAll",
                          value: function () {
                              i.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default);
                          }
                      }]),
                          e
                  }();
          },
          "./src/ui/Load/UI_loading.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_logo = this.getControllerAt(0),
                                  this.m_pro2 = this.getChildAt(2),
                                  this.m_defTips = this.getChildAt(3),
                                  this.m_gameID = this.getChildAt(4);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("Load", "loading")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://n3oedpp6gjpdd";
          },
          "./src/ui/LwYinsi/LwYinsiBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return s
                  });
              var a = n("./src/ui/LwYinsi/UI_lwYinsi2.ts")
                  , i = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , s = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "bindAll",
                          value: function () {
                              i.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default);
                          }
                      }]),
                          e
                  }();
          },
          "./src/ui/LwYinsi/UI_lwYinsi2.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_type = this.getControllerAt(0),
                                  this.m_c1 = this.getControllerAt(1),
                                  this.m_mjName = this.getChildAt(4),
                                  this.m_continue = this.getChildAt(6),
                                  this.m_refuse = this.getChildAt(7),
                                  this.m_agree = this.getChildAt(8);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("LwYinsi", "lwYinsi2")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://5czewv6mcrxj0";
          },
          "./src/ui/base/baseBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return a
                  });
              var a = function () {
                  function e() {
                      _classCallCheck(this, e);
                  }
                  return _createClass(e, null, [{
                      key: "bindAll",
                      value: function () { }
                  }]),
                      e
              }();
          },
          "./src/ui/main/UI_AngelScore.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_num = this.getChildAt(0),
                                  this.m_ani = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "AngelScore")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580gjpdy1";
          },
          "./src/ui/main/UI_DevilScore.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_num = this.getChildAt(1),
                                  this.m_ani = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "DevilScore")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580gjpdy0";
          },
          "./src/ui/main/UI_Pro_player_lv.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GProgressBar);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_progress_status = this.getControllerAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "Pro_player_lv")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580jkcitr";
          },
          "./src/ui/main/UI_Start_game.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_hand = this.getChildAt(2),
                                  this.m_t0 = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "Start_game")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580jkcit5";
          },
          "./src/ui/main/UI_coinCom.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_oiuo = this.getChildAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "coinCom")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580gjpdxg";
          },
          "./src/ui/main/UI_levelCmp.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_level = this.getControllerAt(0),
                                  this.m_now = this.getChildAt(6),
                                  this.m_pre = this.getChildAt(7),
                                  this.m_next = this.getChildAt(8);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "levelCmp")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580hufq102";
          },
          "./src/ui/main/UI_main.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_page_state = this.getControllerAt(0),
                                  this.m_player_status = this.getControllerAt(1),
                                  this.m_platform = this.getControllerAt(2),
                                  this.m_start_game_panel = this.getChildAt(0),
                                  this.m_money = this.getChildAt(1),
                                  this.m_sign_btn = this.getChildAt(2),
                                  this.m_touchStart = this.getChildAt(4),
                                  this.m_turntable_btn = this.getChildAt(5),
                                  this.m_progress = this.getChildAt(8),
                                  this.m_testList = this.getChildAt(9),
                                  this.m_devil = this.getChildAt(10),
                                  this.m_angel = this.getChildAt(11),
                                  this.m_limitSkin = this.getChildAt(12),
                                  this.m_shop = this.getChildAt(13),
                                  this.m_lv = this.getChildAt(14),
                                  this.m_setting = this.getChildAt(15),
                                  this.m_btnMoreGame = this.getChildAt(16),
                                  this.m_btnYinsi = this.getChildAt(17),
                                  this.m_BtnDesk = this.getChildAt(18),
                                  this.m_t0 = this.getTransitionAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "main")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580jkcit3";
          },
          "./src/ui/main/UI_money.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_num = this.getChildAt(1),
                                  this.m_icon = this.getChildAt(2);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "money")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580hufq107";
          },
          "./src/ui/main/UI_test.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GButton);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_c1 = this.getControllerAt(0);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("main", "test")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://kg0a5580o6h2st";
          },
          "./src/ui/main/mainBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return f
                  });
              var a = n("./src/ui/main/UI_coinCom.ts")
                  , i = n("./src/ui/main/UI_DevilScore.ts")
                  , s = n("./src/ui/main/UI_AngelScore.ts")
                  , r = n("./src/ui/main/UI_levelCmp.ts")
                  , o = n("./src/ui/main/UI_money.ts")
                  , c = n("./src/ui/main/UI_main.ts")
                  , l = n("./src/ui/main/UI_Start_game.ts")
                  , u = n("./src/ui/main/UI_Pro_player_lv.ts")
                  , h = n("./src/ui/main/UI_test.ts")
                  , d = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , f = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "bindAll",
                          value: function () {
                              d.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(s.default.URL, s.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(r.default.URL, r.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(o.default.URL, o.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(c.default.URL, c.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(l.default.URL, l.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(u.default.URL, u.default),
                                  d.fairygui.UIObjectFactory.setPackageItemExtension(h.default.URL, h.default);
                          }
                      }]),
                          e
                  }();
          },
          "./src/ui/sign/UI_dayItem.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_day = this.getControllerAt(0),
                                  this.m_status = this.getControllerAt(1),
                                  this.m_type = this.getControllerAt(2),
                                  this.m_jinjiedan = this.getControllerAt(3),
                                  this.m_quality = this.getChildAt(5),
                                  this.m_icon = this.getChildAt(6),
                                  this.m_lb_num = this.getChildAt(10),
                                  this.m_name = this.getChildAt(20);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("sign", "dayItem")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://ofrdo4nchn2pt";
          },
          "./src/ui/sign/UI_daySecondNew.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_status = this.getControllerAt(0),
                                  this.m_type = this.getControllerAt(1),
                                  this.m_jinjiedan = this.getControllerAt(2),
                                  this.m_new = this.getControllerAt(3),
                                  this.m_img = this.getChildAt(6),
                                  this.m_skin = this.getChildAt(7),
                                  this.m_generalName = this.getChildAt(8),
                                  this.m_name = this.getChildAt(9),
                                  this.m_quality = this.getChildAt(12),
                                  this.m_icon = this.getChildAt(13),
                                  this.m_lb_num = this.getChildAt(17),
                                  this.m_gp = this.getChildAt(19);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("sign", "daySecondNew")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://ofrdo4nci8nl12";
          },
          "./src/ui/sign/UI_daySixth.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_status = this.getControllerAt(0),
                                  this.m_type = this.getControllerAt(1),
                                  this.m_jinjiedan = this.getControllerAt(2),
                                  this.m_new = this.getControllerAt(3),
                                  this.m_img = this.getChildAt(5),
                                  this.m_skin = this.getChildAt(6),
                                  this.m_generalName = this.getChildAt(7),
                                  this.m_quality = this.getChildAt(11),
                                  this.m_icon = this.getChildAt(12),
                                  this.m_lb_num = this.getChildAt(16),
                                  this.m_name = this.getChildAt(17),
                                  this.m_gp = this.getChildAt(19);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("sign", "daySixth")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://ofrdo4nci8nl14";
          },
          "./src/ui/sign/UI_sign.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_bg = this.getChildAt(0),
                                  this.m_sign = this.getChildAt(1);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("sign", "sign")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://ofrdo4nchn2pr";
          },
          "./src/ui/sign/UI_signUI.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return i
                  });
              var a = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , i = function (e) {
                      _inherits(n, a["fairygui"].GComponent);
                      var t = _createSuper(n);
                      function n() {
                          return _classCallCheck(this, n),
                              t.call(this)
                      }
                      return _createClass(n, [{
                          key: "onConstruct",
                          value: function () {
                              this.m_day1 = this.getChildAt(3),
                                  this.m_day2 = this.getChildAt(4),
                                  this.m_day3 = this.getChildAt(5),
                                  this.m_day4 = this.getChildAt(6),
                                  this.m_day5 = this.getChildAt(7),
                                  this.m_day6 = this.getChildAt(8),
                                  this.m_watchVideo = this.getChildAt(9),
                                  this.m_get = this.getChildAt(10);
                          }
                      }], [{
                          key: "createInstance",
                          value: function () {
                              return a.fairygui.UIPackage.createObject("sign", "signUI")
                          }
                      }]),
                          n
                  }();
              i.URL = "ui://ofrdo4nckf7w17";
          },
          "./src/ui/sign/signBinder.ts": function (e, t, n) {
              n.r(t),
                  n.d(t, "default", function () {
                      return l
                  });
              var a = n("./src/ui/sign/UI_sign.ts")
                  , i = n("./src/ui/sign/UI_dayItem.ts")
                  , s = n("./src/ui/sign/UI_daySecondNew.ts")
                  , r = n("./src/ui/sign/UI_daySixth.ts")
                  , o = n("./src/ui/sign/UI_signUI.ts")
                  , c = n("./src/LTGame/BaseUI/UI/GComs.ts")
                  , l = function () {
                      function e() {
                          _classCallCheck(this, e);
                      }
                      return _createClass(e, null, [{
                          key: "bindAll",
                          value: function () {
                              c.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default),
                                  c.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default),
                                  c.fairygui.UIObjectFactory.setPackageItemExtension(s.default.URL, s.default),
                                  c.fairygui.UIObjectFactory.setPackageItemExtension(r.default.URL, r.default),
                                  c.fairygui.UIObjectFactory.setPackageItemExtension(o.default.URL, o.default);
                          }
                      }]),
                          e
                  }();
          }
      });

}());
