|
|
@@ -454,11 +454,14 @@ this.loadBanner();
|
|
|
e.prototype.onBannerAdLoaded = function() {
|
|
|
this.bannerAdState = a.LoadSuccess;
|
|
|
};
|
|
|
-e.prototype.onBannerAdLoadFail = function() {
|
|
|
+e.prototype.onBannerAdLoadFail = function(t) {
|
|
|
this.bannerAdState = a.LoadFail;
|
|
|
+gData.adData.updateADLog(14, t);
|
|
|
};
|
|
|
-e.prototype.onBannerAdShow = function() {
|
|
|
+e.prototype.onBannerAdShow = function(t, e) {
|
|
|
this.bannerAdState = a.Show;
|
|
|
+var n = JSON.parse(e);
|
|
|
+gData.adData.updateADLog(7, t, n);
|
|
|
};
|
|
|
e.prototype.onBannerAdClick = function() {};
|
|
|
e.prototype.onBannerAdAutoRefresh = function() {};
|
|
|
@@ -675,16 +678,27 @@ e.prototype.onInterstitialAdLoaded = function() {
|
|
|
this.interAdState = a.LoadSuccess;
|
|
|
this.ifLoadShow && this.showInter(this.interAdType);
|
|
|
};
|
|
|
-e.prototype.onInterstitialAdLoadFail = function() {
|
|
|
+e.prototype.onInterstitialAdLoadFail = function(t) {
|
|
|
this.interAdState = a.LoadFail;
|
|
|
+if (1 == this.interAdType) {
|
|
|
+mk.tip.pop("拉取全屏视频失败,请稍后再试");
|
|
|
+gData.adData.updateADLog(10, t);
|
|
|
+} else 0 == this.interAdType && gData.adData.updateADLog(11, t);
|
|
|
};
|
|
|
-e.prototype.onInterstitialAdShow = function() {
|
|
|
+e.prototype.onInterstitialAdShow = function(t, e) {
|
|
|
this.interAdState = a.Show;
|
|
|
+var n = JSON.parse(e), o = 2;
|
|
|
+0 == this.interAdType ? o = 2 : 1 == this.interAdType && (o = 9);
|
|
|
+gData.adData.updateADLog(o, t, n);
|
|
|
};
|
|
|
e.prototype.onInterstitialAdClick = function() {};
|
|
|
-e.prototype.onInterstitialAdClose = function() {
|
|
|
+e.prototype.onInterstitialAdClose = function(t, e) {
|
|
|
this.interAdState = a.Close;
|
|
|
this.loadInter(this.interAdType);
|
|
|
+if (1 == this.interAdType) {
|
|
|
+var n = JSON.parse(e);
|
|
|
+gData.adData.updateADLog(8, t, n);
|
|
|
+}
|
|
|
};
|
|
|
return e;
|
|
|
}(r.zgSingleton);
|
|
|
@@ -1046,11 +1060,14 @@ e.prototype.onNativeAdLoaded = function() {
|
|
|
this.nativeAdState = a.LoadSuccess;
|
|
|
this.ifLoadShow && this.showNative(this.nativeAdType);
|
|
|
};
|
|
|
-e.prototype.onNativeAdLoadFail = function() {
|
|
|
+e.prototype.onNativeAdLoadFail = function(t) {
|
|
|
this.nativeAdState = a.LoadFail;
|
|
|
+gData.adData.updateADLog(12, t);
|
|
|
};
|
|
|
-e.prototype.onNativeAdShow = function() {
|
|
|
+e.prototype.onNativeAdShow = function(t, e) {
|
|
|
this.nativeAdState = a.Show;
|
|
|
+var n = JSON.parse(e);
|
|
|
+gData.adData.updateADLog(3, t, n);
|
|
|
};
|
|
|
e.prototype.onNativeAdClick = function() {};
|
|
|
return e;
|
|
|
@@ -1203,6 +1220,7 @@ this.reawardAdState = a.LoadFail;
|
|
|
};
|
|
|
e.prototype.onRewardedVideoAdPlayStart = function(t, e) {
|
|
|
var n = JSON.parse(e);
|
|
|
+gData.adData.updateADLog(4, t, n);
|
|
|
gData.adData.updateData(t, n);
|
|
|
mk.data.sendDataEvent(r.DataEventId.video_init, mk.ad.videoAdType);
|
|
|
this.reawardAdState = a.Unload;
|
|
|
@@ -1210,7 +1228,9 @@ this.reawardAdState = a.Unload;
|
|
|
e.prototype.onRewardedVideoAdPlayEnd = function() {
|
|
|
this.ifWatchEnd = !0;
|
|
|
};
|
|
|
-e.prototype.onRewardedVideoAdPlayFailed = function() {
|
|
|
+e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
|
|
|
+var o = JSON.parse(n);
|
|
|
+gData.adData.updateADLog(5, t, o);
|
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
|
|
|
};
|
|
|
e.prototype.onRewardedVideoAdClosed = function() {
|
|
|
@@ -1922,6 +1942,52 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+t.prototype.updateADLog = function(t, e, n) {
|
|
|
+void 0 === n && (n = null);
|
|
|
+var o;
|
|
|
+o = n ? {
|
|
|
+imei: gData.appData.machineInfo.imei,
|
|
|
+idfa: gData.appData.machineInfo.idfa,
|
|
|
+oaid: gData.appData.machineInfo.oaid,
|
|
|
+uin: gData.loginData.uin,
|
|
|
+version: gData.appData.appVersion,
|
|
|
+tf_channel: gData.appData.tfChannel,
|
|
|
+destoon_ad_place: e,
|
|
|
+ad_type: t,
|
|
|
+adunit_format: n.adunit_format,
|
|
|
+network_type: n.network_type,
|
|
|
+network_placement_id: n.network_placement_id,
|
|
|
+network_firm_id: n.network_firm_id,
|
|
|
+adsource_id: n.adsource_id,
|
|
|
+adsource_index: n.adsource_index,
|
|
|
+adsource_price: n.adsource_price,
|
|
|
+adsource_isheaderbidding: n.adsource_isheaderbidding,
|
|
|
+publisher_revenue: n.publisher_revenue,
|
|
|
+precision: n.precision,
|
|
|
+ecpm_level: n.ecpm_level
|
|
|
+} : {
|
|
|
+imei: gData.appData.machineInfo.imei,
|
|
|
+idfa: gData.appData.machineInfo.idfa,
|
|
|
+oaid: gData.appData.machineInfo.oaid,
|
|
|
+uin: gData.loginData.uin,
|
|
|
+version: gData.appData.appVersion,
|
|
|
+tf_channel: gData.appData.tfChannel,
|
|
|
+destoon_ad_place: e,
|
|
|
+ad_type: t,
|
|
|
+adunit_format: "",
|
|
|
+network_type: "",
|
|
|
+network_placement_id: "",
|
|
|
+network_firm_id: "",
|
|
|
+adsource_id: "",
|
|
|
+adsource_index: "",
|
|
|
+adsource_price: "",
|
|
|
+adsource_isheaderbidding: "",
|
|
|
+publisher_revenue: "",
|
|
|
+precision: "",
|
|
|
+ecpm_level: ""
|
|
|
+};
|
|
|
+mk.http.sendData("updateADLog", o);
|
|
|
+};
|
|
|
return t;
|
|
|
}();
|
|
|
n.AdData = c;
|
|
|
@@ -7060,7 +7126,7 @@ Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
n.Fun = void 0;
|
|
|
-var o, i = t("./AppData"), a = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), u = t("./module/HelpData"), p = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), m = t("./module/CashNormalData"), _ = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), S = t("./module/RedBagCashData"), D = t("./module/RedCodeData"), A = t("./module/RedeemData"), w = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), I = t("./module/GuideWeakData"), k = function() {
|
|
|
+var o, i = t("./AppData"), a = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), u = t("./module/HelpData"), p = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), m = t("./module/CashNormalData"), _ = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), D = t("./module/RedBagCashData"), S = t("./module/RedCodeData"), A = t("./module/RedeemData"), w = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), I = t("./module/GuideWeakData"), k = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -7081,13 +7147,13 @@ this.fission = new f.FissionData();
|
|
|
this.pigbank = new p.PigBankData();
|
|
|
this.sign = new h.SignData();
|
|
|
this.receiptNotice = new _.ReceiptNoticeData();
|
|
|
-this.redBagCash = new S.RedBagCashData();
|
|
|
+this.redBagCash = new D.RedBagCashData();
|
|
|
this.cashNormal = new m.CashNormalData();
|
|
|
this.setting = new P.SettingData();
|
|
|
this.moreGame = new w.MoreGameData();
|
|
|
this.blessingBag = new v.BlessingBagData();
|
|
|
this.cashPro = new b.default();
|
|
|
-this.redCodeData = new D.default();
|
|
|
+this.redCodeData = new S.default();
|
|
|
this.redeem = new A.default();
|
|
|
this.moduleData = new Map();
|
|
|
this.moduleData.set(o.moreGame, this.moreGame);
|
|
|
@@ -11575,10 +11641,10 @@ n = mk.http.checkData(n, !0);
|
|
|
e = n.data;
|
|
|
mk.console.logSingle("[FC] getAccountInfo decrypt", e);
|
|
|
this.isAuth = e.is_auth;
|
|
|
+gData.wechatData.unionid = this.uin;
|
|
|
if (this.isAuth) {
|
|
|
gData.wechatData.nickName = e.nickname;
|
|
|
gData.wechatData.avatar = e.headimgurl;
|
|
|
-gData.wechatData.unionid = this.uin;
|
|
|
gData.gameData.init_head = !0;
|
|
|
mk.storage.setStorage(a.StorageKey.isAuth, 1);
|
|
|
mk.storage.setStorage(a.StorageKey.nickname, gData.wechatData.nickName, !1);
|
|
|
@@ -11997,7 +12063,7 @@ cc._RF.push(e, "f0038hKHC9Nf5+ipaUV9rc5", "MKSystem");
|
|
|
Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var o = t("../sdk/BuglySDK"), i = t("../utils/FileUtil"), a = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), u = t("../utils/EncryptUtil"), p = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), m = t("./JsbSystem"), _ = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), S = t("../utils/TweenUtil"), D = t("./GuideSystem"), A = t("../utils/StringUtil"), w = t("../../game/component/SetGray"), P = t("../../game/component/NumberAnim"), O = function() {
|
|
|
+var o = t("../sdk/BuglySDK"), i = t("../utils/FileUtil"), a = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), u = t("../utils/EncryptUtil"), p = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), m = t("./JsbSystem"), _ = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), v = t("./AudioSystem"), b = t("./PoolSystem"), D = t("../utils/TweenUtil"), S = t("./GuideSystem"), A = t("../utils/StringUtil"), w = t("../../game/component/SetGray"), P = t("../../game/component/NumberAnim"), O = function() {
|
|
|
function t() {}
|
|
|
Object.defineProperty(t.prototype, "time", {
|
|
|
get: function() {
|
|
|
@@ -12064,7 +12130,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "tween", {
|
|
|
get: function() {
|
|
|
-return this._tween || (this._tween = new S.default());
|
|
|
+return this._tween || (this._tween = new D.default());
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -12134,7 +12200,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "guide", {
|
|
|
get: function() {
|
|
|
-return this._guide || (this._guide = new D.default());
|
|
|
+return this._guide || (this._guide = new S.default());
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -21581,25 +21647,25 @@ var c = t[s = i + r];
|
|
|
t[s] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8);
|
|
|
}
|
|
|
r = this._hash.words;
|
|
|
-var s = t[i + 0], l = (c = t[i + 1], t[i + 2]), p = t[i + 3], d = t[i + 4], h = t[i + 5], f = t[i + 6], y = t[i + 7], g = t[i + 8], m = t[i + 9], _ = t[i + 10], v = t[i + 11], b = t[i + 12], S = t[i + 13], D = t[i + 14], A = t[i + 15], w = e(w = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, w, I, O, c, 12, u[1]), O = e(O, P, w, I, l, 17, u[2]), I = e(I, O, P, w, p, 22, u[3]);
|
|
|
+var s = t[i + 0], l = (c = t[i + 1], t[i + 2]), p = t[i + 3], d = t[i + 4], h = t[i + 5], f = t[i + 6], y = t[i + 7], g = t[i + 8], m = t[i + 9], _ = t[i + 10], v = t[i + 11], b = t[i + 12], D = t[i + 13], S = t[i + 14], A = t[i + 15], w = e(w = r[0], I = r[1], O = r[2], P = r[3], s, 7, u[0]), P = e(P, w, I, O, c, 12, u[1]), O = e(O, P, w, I, l, 17, u[2]), I = e(I, O, P, w, p, 22, u[3]);
|
|
|
w = e(w, I, O, P, d, 7, u[4]), P = e(P, w, I, O, h, 12, u[5]), O = e(O, P, w, I, f, 17, u[6]),
|
|
|
I = e(I, O, P, w, y, 22, u[7]), w = e(w, I, O, P, g, 7, u[8]), P = e(P, w, I, O, m, 12, u[9]),
|
|
|
O = e(O, P, w, I, _, 17, u[10]), I = e(I, O, P, w, v, 22, u[11]), w = e(w, I, O, P, b, 7, u[12]),
|
|
|
-P = e(P, w, I, O, S, 12, u[13]), O = e(O, P, w, I, D, 17, u[14]), w = n(w, I = e(I, O, P, w, A, 22, u[15]), O, P, c, 5, u[16]),
|
|
|
+P = e(P, w, I, O, D, 12, u[13]), O = e(O, P, w, I, S, 17, u[14]), w = n(w, I = e(I, O, P, w, A, 22, u[15]), O, P, c, 5, u[16]),
|
|
|
P = n(P, w, I, O, f, 9, u[17]), O = n(O, P, w, I, v, 14, u[18]), I = n(I, O, P, w, s, 20, u[19]),
|
|
|
w = n(w, I, O, P, h, 5, u[20]), P = n(P, w, I, O, _, 9, u[21]), O = n(O, P, w, I, A, 14, u[22]),
|
|
|
-I = n(I, O, P, w, d, 20, u[23]), w = n(w, I, O, P, m, 5, u[24]), P = n(P, w, I, O, D, 9, u[25]),
|
|
|
-O = n(O, P, w, I, p, 14, u[26]), I = n(I, O, P, w, g, 20, u[27]), w = n(w, I, O, P, S, 5, u[28]),
|
|
|
+I = n(I, O, P, w, d, 20, u[23]), w = n(w, I, O, P, m, 5, u[24]), P = n(P, w, I, O, S, 9, u[25]),
|
|
|
+O = n(O, P, w, I, p, 14, u[26]), I = n(I, O, P, w, g, 20, u[27]), w = n(w, I, O, P, D, 5, u[28]),
|
|
|
P = n(P, w, I, O, l, 9, u[29]), O = n(O, P, w, I, y, 14, u[30]), w = o(w, I = n(I, O, P, w, b, 20, u[31]), O, P, h, 4, u[32]),
|
|
|
-P = o(P, w, I, O, g, 11, u[33]), O = o(O, P, w, I, v, 16, u[34]), I = o(I, O, P, w, D, 23, u[35]),
|
|
|
+P = o(P, w, I, O, g, 11, u[33]), O = o(O, P, w, I, v, 16, u[34]), I = o(I, O, P, w, S, 23, u[35]),
|
|
|
w = o(w, I, O, P, c, 4, u[36]), P = o(P, w, I, O, d, 11, u[37]), O = o(O, P, w, I, y, 16, u[38]),
|
|
|
-I = o(I, O, P, w, _, 23, u[39]), w = o(w, I, O, P, S, 4, u[40]), P = o(P, w, I, O, s, 11, u[41]),
|
|
|
+I = o(I, O, P, w, _, 23, u[39]), w = o(w, I, O, P, D, 4, u[40]), P = o(P, w, I, O, s, 11, u[41]),
|
|
|
O = o(O, P, w, I, p, 16, u[42]), I = o(I, O, P, w, f, 23, u[43]), w = o(w, I, O, P, m, 4, u[44]),
|
|
|
P = o(P, w, I, O, b, 11, u[45]), O = o(O, P, w, I, A, 16, u[46]), w = a(w, I = o(I, O, P, w, l, 23, u[47]), O, P, s, 6, u[48]),
|
|
|
-P = a(P, w, I, O, y, 10, u[49]), O = a(O, P, w, I, D, 15, u[50]), I = a(I, O, P, w, h, 21, u[51]),
|
|
|
+P = a(P, w, I, O, y, 10, u[49]), O = a(O, P, w, I, S, 15, u[50]), I = a(I, O, P, w, h, 21, u[51]),
|
|
|
w = a(w, I, O, P, b, 6, u[52]), P = a(P, w, I, O, p, 10, u[53]), O = a(O, P, w, I, _, 15, u[54]),
|
|
|
I = a(I, O, P, w, c, 21, u[55]), w = a(w, I, O, P, g, 6, u[56]), P = a(P, w, I, O, A, 10, u[57]),
|
|
|
-O = a(O, P, w, I, f, 15, u[58]), I = a(I, O, P, w, S, 21, u[59]), w = a(w, I, O, P, d, 6, u[60]),
|
|
|
+O = a(O, P, w, I, f, 15, u[58]), I = a(I, O, P, w, D, 21, u[59]), w = a(w, I, O, P, d, 6, u[60]),
|
|
|
P = a(P, w, I, O, v, 10, u[61]), O = a(O, P, w, I, l, 15, u[62]), I = a(I, O, P, w, m, 21, u[63]);
|
|
|
r[0] = r[0] + w | 0;
|
|
|
r[1] = r[1] + I | 0;
|
|
|
@@ -21861,17 +21927,17 @@ for (y = 0; 256 > y; y++) {
|
|
|
var _ = (_ = m ^ m << 1 ^ m << 2 ^ m << 3 ^ m << 4) >>> 8 ^ 255 & _ ^ 99;
|
|
|
o[g] = _;
|
|
|
a[_] = g;
|
|
|
-var v = f[g], b = f[v], S = f[b], D = 257 * f[_] ^ 16843008 * _;
|
|
|
-r[g] = D << 24 | D >>> 8;
|
|
|
-c[g] = D << 16 | D >>> 16;
|
|
|
-s[g] = D << 8 | D >>> 24;
|
|
|
-l[g] = D;
|
|
|
-D = 16843009 * S ^ 65537 * b ^ 257 * v ^ 16843008 * g;
|
|
|
-u[_] = D << 24 | D >>> 8;
|
|
|
-p[_] = D << 16 | D >>> 16;
|
|
|
-d[_] = D << 8 | D >>> 24;
|
|
|
-h[_] = D;
|
|
|
-g ? (g = v ^ f[f[f[S ^ v]]], m ^= f[f[m]]) : g = m = 1;
|
|
|
+var v = f[g], b = f[v], D = f[b], S = 257 * f[_] ^ 16843008 * _;
|
|
|
+r[g] = S << 24 | S >>> 8;
|
|
|
+c[g] = S << 16 | S >>> 16;
|
|
|
+s[g] = S << 8 | S >>> 24;
|
|
|
+l[g] = S;
|
|
|
+S = 16843009 * D ^ 65537 * b ^ 257 * v ^ 16843008 * g;
|
|
|
+u[_] = S << 24 | S >>> 8;
|
|
|
+p[_] = S << 16 | S >>> 16;
|
|
|
+d[_] = S << 8 | S >>> 24;
|
|
|
+h[_] = S;
|
|
|
+g ? (g = v ^ f[f[f[D ^ v]]], m ^= f[f[m]]) : g = m = 1;
|
|
|
}
|
|
|
var A = [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 ];
|
|
|
n = n.AES = e.extend({
|