|
|
@@ -1197,14 +1197,14 @@ function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.reawardAdState = 0;
|
|
|
e.ifLoadShow = !1;
|
|
|
-e.ifWatchEnd = !1;
|
|
|
+e.canGet = !1;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.init = function() {
|
|
|
this.ATRewardVideoJS = cc.ATRewardVideoJS;
|
|
|
this.ATRewardVideoJS.proxy = this;
|
|
|
this.ATRewardVideoJS.init();
|
|
|
-this.ifWatchEnd = !1;
|
|
|
+this.canGet = !1;
|
|
|
this.reawardAdState == i.Unload && this.loadAd();
|
|
|
};
|
|
|
e.prototype.placementID = function() {
|
|
|
@@ -1246,9 +1246,7 @@ gData.adData.updateData(t, n);
|
|
|
mk.data.sendDataEvent(r.DataEventId.video_init, mk.ad.videoAdType);
|
|
|
this.reawardAdState = i.Unload;
|
|
|
};
|
|
|
-e.prototype.onRewardedVideoAdPlayEnd = function() {
|
|
|
-this.ifWatchEnd = !0;
|
|
|
-};
|
|
|
+e.prototype.onRewardedVideoAdPlayEnd = function() {};
|
|
|
e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
|
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed placementId >> ", t);
|
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed errorInfo ", e);
|
|
|
@@ -1258,16 +1256,16 @@ gData.adData.updateADLog(5, t, o);
|
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
|
|
|
};
|
|
|
e.prototype.onRewardedVideoAdClosed = function() {
|
|
|
-if (this.ifWatchEnd) {
|
|
|
+if (this.canGet) {
|
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.WatchEnd);
|
|
|
mk.data.sendDataEvent(r.DataEventId.video_end, mk.ad.videoAdType);
|
|
|
} else s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.Cancel);
|
|
|
-this.ifWatchEnd = !1;
|
|
|
+this.canGet = !1;
|
|
|
this.loadAd();
|
|
|
};
|
|
|
e.prototype.onRewardedVideoAdPlayClicked = function() {};
|
|
|
e.prototype.onReward = function() {
|
|
|
-this.ifWatchEnd = !0;
|
|
|
+this.canGet = !0;
|
|
|
};
|
|
|
return e;
|
|
|
}(c.zgSingleton);
|
|
|
@@ -10946,7 +10944,7 @@ value: !0
|
|
|
n.ServerUrl = n.HttpData = void 0;
|
|
|
var o, a = function() {
|
|
|
function t() {
|
|
|
-this.serverType = 0;
|
|
|
+this.serverType = 1;
|
|
|
}
|
|
|
t.prototype.getServerUrl = function() {
|
|
|
switch (this.serverType) {
|
|
|
@@ -11527,7 +11525,7 @@ value: !0
|
|
|
n.LogTagColor = void 0;
|
|
|
var a, i = function() {
|
|
|
function t() {
|
|
|
-this.ifShowLog = !0;
|
|
|
+this.ifShowLog = !1;
|
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|
|
|
@@ -19435,7 +19433,7 @@ return [ 4, mk.http.sendData("readyCash", {}) ];
|
|
|
|
|
|
case 2:
|
|
|
if (0 != (n = a.sent()).errcode) {
|
|
|
-41002 == n.errcode ? n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现") : mk.tip.pop(n.errmsg);
|
|
|
+n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现");
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
0 == n.CashMode || n.CashMode;
|