|
|
@@ -2601,7 +2601,6 @@ return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
this.doFlyBirdLogic();
|
|
|
-this.doStarLogic();
|
|
|
this.doDogMoveLogic();
|
|
|
this.doSheepMoveLogic();
|
|
|
};
|
|
|
@@ -2620,6 +2619,7 @@ this.flyBird_2.on("finished", this.flyBirdFinished_2, this);
|
|
|
e.prototype.flyBirdFinished_1 = function() {
|
|
|
var t = this, e = mk.math.random(5, 15);
|
|
|
this.flyBird_1.node.active = !1;
|
|
|
+cc.Tween.stopAllByTarget(this.flyBird_1.node);
|
|
|
cc.tween(this.flyBird_1.node).delay(e).call(function() {
|
|
|
t.flyBird_1.node.active = !0;
|
|
|
t.flyBird_1.play();
|
|
|
@@ -2628,6 +2628,7 @@ t.flyBird_1.play();
|
|
|
e.prototype.flyBirdFinished_2 = function() {
|
|
|
var t = this, e = mk.math.random(5, 15);
|
|
|
this.flyBird_2.node.active = !1;
|
|
|
+cc.Tween.stopAllByTarget(this.flyBird_2.node);
|
|
|
cc.tween(this.flyBird_2.node).delay(e).call(function() {
|
|
|
t.flyBird_2.node.active = !0;
|
|
|
t.flyBird_2.play();
|
|
|
@@ -2648,7 +2649,10 @@ this.dogMove.on("finished", this.moveDogFinished, this);
|
|
|
};
|
|
|
e.prototype.moveDogFinished = function() {
|
|
|
var t = this, e = mk.math.random(5, 8);
|
|
|
+this.dogMove.node.active = !1;
|
|
|
+cc.Tween.stopAllByTarget(this.dogMove.node);
|
|
|
cc.tween(this.dogMove.node).delay(e).call(function() {
|
|
|
+t.dogMove.node.active = !0;
|
|
|
t.dogMove.play();
|
|
|
}).start();
|
|
|
};
|
|
|
@@ -2683,8 +2687,9 @@ this.sheepMoveEnd = !0;
|
|
|
e.prototype.clickSheepBtn = function() {
|
|
|
var t = this;
|
|
|
if (this.sheepMoveEnd) {
|
|
|
+mk.ui.openPanel("module/newOpenRedBag/newOpenRedBag");
|
|
|
this.sheepMoveEnd = !1;
|
|
|
-this.hb_btn.active = !0;
|
|
|
+this.hb_btn.active = !1;
|
|
|
this.moveSheep.node.active = !1;
|
|
|
var e = mk.math.random(5, 8);
|
|
|
cc.tween(this.moveSheep.node).delay(e).call(function() {
|
|
|
@@ -2694,64 +2699,20 @@ t.moveSheep.play();
|
|
|
}).start();
|
|
|
}
|
|
|
};
|
|
|
-e.prototype.update = function(t) {
|
|
|
-if (this.time_1 <= 0) if (this.isShow_1) {
|
|
|
-this.isShow_1 = !1;
|
|
|
-this.time_1 = 8;
|
|
|
-this.star_1.play();
|
|
|
-var e = mk.math.random(5, 40);
|
|
|
-this.star_1.node.setPosition(this.starPos_1.subtract(cc.v2(e, e)));
|
|
|
-cc.tween(this.star_1.node).to(.2, {
|
|
|
-opacity: 255
|
|
|
-}).start();
|
|
|
-} else {
|
|
|
-this.isShow_1 = !0;
|
|
|
-this.time_1 = 8;
|
|
|
-this.star_1.stop();
|
|
|
-cc.tween(this.star_1.node).to(.2, {
|
|
|
-opacity: 0
|
|
|
-}).start();
|
|
|
-} else this.time_1 = this.time_1 - t;
|
|
|
-if (this.time_2 <= 0) if (this.isShow_2) {
|
|
|
-this.isShow_2 = !1;
|
|
|
-this.time_2 = 16;
|
|
|
-this.star_2.play();
|
|
|
-e = mk.math.random(5, 40);
|
|
|
-this.star_2.node.setPosition(this.starPos_2.subtract(cc.v2(e, e)));
|
|
|
-cc.tween(this.star_2.node).to(.2, {
|
|
|
-opacity: 255
|
|
|
-}).start();
|
|
|
-} else {
|
|
|
-this.isShow_2 = !0;
|
|
|
-this.time_2 = 16;
|
|
|
-this.star_2.stop();
|
|
|
-cc.tween(this.star_2.node).to(.2, {
|
|
|
-opacity: 0
|
|
|
-}).start();
|
|
|
-} else this.time_2 = this.time_2 - t;
|
|
|
-if (this.time_3 <= 0) if (this.isShow_3) {
|
|
|
-this.isShow_3 = !1;
|
|
|
-this.time_3 = 22;
|
|
|
-this.star_3.play();
|
|
|
-e = mk.math.random(5, 40);
|
|
|
-this.star_3.node.setPosition(this.starPos_3.subtract(cc.v2(e, e)));
|
|
|
-cc.tween(this.star_3.node).to(.2, {
|
|
|
-opacity: 255
|
|
|
-}).start();
|
|
|
-} else {
|
|
|
-this.isShow_3 = !0;
|
|
|
-this.time_3 = 22;
|
|
|
-this.star_3.stop();
|
|
|
-cc.tween(this.star_3.node).to(.2, {
|
|
|
-opacity: 0
|
|
|
-}).start();
|
|
|
-} else this.time_3 = this.time_3 - t;
|
|
|
-};
|
|
|
e.prototype.clickAnimalIconBtn = function(t, e) {
|
|
|
mk.audio.playEffect("button");
|
|
|
-"bird_1" == e ? mk.fly.PlayCoinAnim(1, 5, this.flyBird_1.node, "", function() {
|
|
|
+if ("bird_1" == e) {
|
|
|
+this.flyBirdFinished_1();
|
|
|
+mk.fly.PlayCoinAnim(1, 5, this.flyBird_1.node, "", function() {
|
|
|
console.log("--");
|
|
|
-}) : "bird_2" == e ? mk.fly.PlayCoinAnim(1, 5, this.flyBird_2.node) : "star_1" == e ? mk.fly.PlayCoinAnim(1, 5, this.star_1.node) : "star_2" == e ? mk.fly.PlayCoinAnim(1, 5, this.star_2.node) : "star_3" == e ? mk.fly.PlayCoinAnim(1, 5, this.star_3.node) : "dog" == e ? mk.fly.PlayCoinAnim(1, 5, this.dogMove.node) : "duck" == e ? mk.fly.PlayCoinAnim(1, 5, this.moveDuck.node) : "sheep" == e && mk.fly.PlayCoinAnim(1, 5, this.moveSheep.node);
|
|
|
+}, 2);
|
|
|
+} else if ("bird_2" == e) {
|
|
|
+this.flyBirdFinished_2();
|
|
|
+mk.fly.PlayCoinAnim(1, 5, this.flyBird_2.node, "", null, 2);
|
|
|
+} else if ("dog" == e) {
|
|
|
+this.moveDogFinished();
|
|
|
+mk.fly.PlayCoinAnim(1, 5, this.dogMove.node, "", null, 2);
|
|
|
+} else "sheep" == e && mk.ui.openPanel("module/newOpenRedBag/newOpenRedBag");
|
|
|
};
|
|
|
i([ s({
|
|
|
displayName: "bird_1",
|
|
|
@@ -9068,11 +9029,16 @@ e.walk = null;
|
|
|
e.animation = null;
|
|
|
e.forwardMask = null;
|
|
|
e.backMask = null;
|
|
|
+e.fly_node = null;
|
|
|
e.clips = [];
|
|
|
+e.refreshTime = 0;
|
|
|
+e.redMoneyNum = 0;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
this.clips = this.animation.getClips();
|
|
|
+this.refreshTime = 2.5;
|
|
|
+this.redMoneyNum = 3;
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
this.walk.curTargetPoint && this.walk.curTargetPoint.x > this.node.position.x ? this.node.setScale(cc.v3(-1, 1, 1)) : this.node.setScale(cc.v3(1, 1, 1));
|
|
|
@@ -9100,6 +9066,10 @@ i([ l({
|
|
|
type: cc.Sprite,
|
|
|
tooltip: "动画组件"
|
|
|
}) ], e.prototype, "backMask", void 0);
|
|
|
+i([ l({
|
|
|
+displayName: "飞红包节点",
|
|
|
+type: cc.Node
|
|
|
+}) ], e.prototype, "fly_node", void 0);
|
|
|
return i([ s ], e);
|
|
|
}(cc.Component);
|
|
|
o.Farmer = p;
|
|
|
@@ -9498,46 +9468,47 @@ return e;
|
|
|
e.prototype.onLoad = function() {
|
|
|
mk.fly = this;
|
|
|
};
|
|
|
-e.prototype.PlayCoinAnim = function(t, e, o, n, a) {
|
|
|
+e.prototype.PlayCoinAnim = function(t, e, o, n, a, i) {
|
|
|
void 0 === t && (t = 0);
|
|
|
void 0 === n && (n = "");
|
|
|
void 0 === a && (a = null);
|
|
|
+void 0 === i && (i = -1);
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var i, r, s, l, p, u, d, h, f;
|
|
|
+var r, s, l, p, u, d, h, f, y;
|
|
|
return c(this, function(c) {
|
|
|
switch (c.label) {
|
|
|
case 0:
|
|
|
-i = 0;
|
|
|
+r = 0;
|
|
|
c.label = 1;
|
|
|
|
|
|
case 1:
|
|
|
-return i < e ? [ 4, mk.pool.getPrefab("game/prefab/coin") ] : [ 3, 5 ];
|
|
|
+return r < e ? [ 4, mk.pool.getPrefab("game/prefab/coin") ] : [ 3, 5 ];
|
|
|
|
|
|
case 2:
|
|
|
-r = c.sent();
|
|
|
-s = "game/texture/coin/" + t;
|
|
|
-return [ 4, mk.loader.load(s, cc.SpriteFrame) ];
|
|
|
+s = c.sent();
|
|
|
+l = "game/texture/coin/" + t;
|
|
|
+return [ 4, mk.loader.load(l, cc.SpriteFrame) ];
|
|
|
|
|
|
case 3:
|
|
|
-l = c.sent();
|
|
|
-r.getComponent(cc.Sprite).spriteFrame = l;
|
|
|
-r.setParent(this.node);
|
|
|
-r.scale = mk.math.random(.56, .84, !1);
|
|
|
-r.angle = mk.math.random(-45, 45, !1);
|
|
|
-p = (p = cc.v2(mk.math.random(-1, 1, !1), mk.math.random(-1, 1, !1))).normalize();
|
|
|
-u = cc.v2(mk.math.random(10, 160, !1) * p.x, mk.math.random(10, 160, !1) * p.y);
|
|
|
-d = new cc.Vec2(0, -300);
|
|
|
+p = c.sent();
|
|
|
+s.getComponent(cc.Sprite).spriteFrame = p;
|
|
|
+s.setParent(this.node);
|
|
|
+s.scale = mk.math.random(.56, .84, !1);
|
|
|
+s.angle = mk.math.random(-45, 45, !1);
|
|
|
+u = (u = cc.v2(mk.math.random(-1, 1, !1), mk.math.random(-1, 1, !1))).normalize();
|
|
|
+d = cc.v2(mk.math.random(10, 160, !1) * u.x, mk.math.random(10, 160, !1) * u.y);
|
|
|
+h = new cc.Vec2(0, -300);
|
|
|
if (o) {
|
|
|
-h = o.parent.convertToWorldSpaceAR(o.getPosition());
|
|
|
-d = this.node.convertToNodeSpaceAR(h);
|
|
|
+f = o.parent.convertToWorldSpaceAR(o.getPosition());
|
|
|
+h = this.node.convertToNodeSpaceAR(f);
|
|
|
}
|
|
|
-f = d.add(u);
|
|
|
-r.setPosition(d);
|
|
|
-this.FlyIn(t, r, f, n, a);
|
|
|
+y = h.add(d);
|
|
|
+s.setPosition(h);
|
|
|
+this.FlyIn(t, s, y, n, a, i);
|
|
|
c.label = 4;
|
|
|
|
|
|
case 4:
|
|
|
-i++;
|
|
|
+r++;
|
|
|
return [ 3, 1 ];
|
|
|
|
|
|
case 5:
|
|
|
@@ -9547,67 +9518,65 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
-e.prototype.FlyIn = function(t, e, o, n, a) {
|
|
|
-var i = this;
|
|
|
+e.prototype.FlyIn = function(t, e, o, n, a, i) {
|
|
|
+var r = this;
|
|
|
void 0 === n && (n = null);
|
|
|
void 0 === a && (a = null);
|
|
|
+void 0 === i && (i = -1);
|
|
|
cc.tween(e).to(mk.math.random(.3, .6, !1), {
|
|
|
position: cc.v3(o)
|
|
|
}, cc.easeSineInOut()).call(function() {
|
|
|
-i.FlyOut(t, e, n, a);
|
|
|
+r.FlyOut(t, e, n, a, i);
|
|
|
}).start();
|
|
|
};
|
|
|
-e.prototype.FlyOut = function(t, e, o, n) {
|
|
|
-var a = this;
|
|
|
+e.prototype.FlyOut = function(t, e, o, n, a) {
|
|
|
+var i = this;
|
|
|
void 0 === n && (n = null);
|
|
|
-var i = mk.math.random(.3, 1, !1);
|
|
|
-cc.tween(e).to(i, {
|
|
|
+void 0 === a && (a = -1);
|
|
|
+var r = mk.math.random(.3, 1, !1);
|
|
|
+cc.tween(e).to(r, {
|
|
|
scale: .8
|
|
|
}).start();
|
|
|
-var r = null, c = null;
|
|
|
+console.log("---");
|
|
|
+var c = null, l = null;
|
|
|
if ("string" == typeof o) {
|
|
|
if ("" == o) {
|
|
|
-var l = "";
|
|
|
-if (t == s.RewardType.redBag) l = "Canvas/界面层/game/node_ui/顶部个人信息/提现按钮/icon_zb"; else {
|
|
|
+var p = "";
|
|
|
+if (t == s.RewardType.redBag) p = "Canvas/界面层/game/node_ui/顶部个人信息/提现按钮/icon_zb"; else {
|
|
|
if (t != s.RewardType.pigRmb) {
|
|
|
mk.pool.return("game/prefab/coin", e);
|
|
|
return;
|
|
|
}
|
|
|
-l = "Canvas/界面层/game/node_ui/顶部个人信息/金猪币按钮/icon_zb";
|
|
|
+p = "Canvas/界面层/game/node_ui/顶部个人信息/金猪币按钮/icon_zb";
|
|
|
}
|
|
|
-o = l;
|
|
|
+o = p;
|
|
|
}
|
|
|
-var p = (c = cc.find(o)).parent.convertToWorldSpaceAR(c.getPosition());
|
|
|
-r = this.node.convertToNodeSpaceAR(p);
|
|
|
-} else r = this.node.convertToNodeSpaceAR(o);
|
|
|
-cc.tween(e).to(i, {
|
|
|
-position: cc.v3(r)
|
|
|
+var u = (l = cc.find(o)).parent.convertToWorldSpaceAR(l.getPosition());
|
|
|
+c = this.node.convertToNodeSpaceAR(u);
|
|
|
+} else c = this.node.convertToNodeSpaceAR(o);
|
|
|
+cc.tween(e).to(r, {
|
|
|
+position: cc.v3(c)
|
|
|
}, cc.easeSineOut()).call(function() {
|
|
|
console.log("end_pos ", e.position);
|
|
|
-mk.pool.return("game/prefab/coin", e);
|
|
|
-c && cc.tween(c).to(.1, {
|
|
|
-scale: 1.2
|
|
|
-}).to(.05, {
|
|
|
-scale: 1
|
|
|
-}).start();
|
|
|
+-1 != a && i.showLabStrChange(a);
|
|
|
if (null != n) {
|
|
|
-a.is_new_cb && n();
|
|
|
-a.is_new_cb = !1;
|
|
|
+i.is_new_cb && n();
|
|
|
+i.is_new_cb = !1;
|
|
|
}
|
|
|
-a.iconScale(t);
|
|
|
+mk.pool.return("game/prefab/coin", e);
|
|
|
}).start();
|
|
|
};
|
|
|
e.prototype.iconScale = function(t) {
|
|
|
var e;
|
|
|
-1 === t ? e = gData.gameData.gameStyle.icon_hb : 3 === t && (e = gData.gameData.gameStyle.icon_zb);
|
|
|
-if (e) {
|
|
|
-var o = cc.tween().to(.05, {
|
|
|
-scale: .9
|
|
|
-}), n = cc.tween().to(.05, {
|
|
|
+1 === t ? e = gData.gameData.gameStyle.lbl_redMoney.node : 3 === t && (e = gData.gameData.gameStyle.lbl_redMoney.node);
|
|
|
+e && cc.tween(e).to(.1, {
|
|
|
+scale: 1.3
|
|
|
+}).to(.05, {
|
|
|
scale: 1
|
|
|
-}), a = cc.tween().sequence(o, n);
|
|
|
-cc.tween(e).then(a).repeat(2).start();
|
|
|
-}
|
|
|
+}).start();
|
|
|
+};
|
|
|
+e.prototype.showLabStrChange = function(t) {
|
|
|
+gData.gameData.gameStyle.lbl_redMoney && (gData.gameData.gameData.redMoney += t);
|
|
|
};
|
|
|
e.prototype.playFlyAni = function(t, e, o, n, a, i) {
|
|
|
void 0 === a && (a = null);
|
|
|
@@ -10166,7 +10135,7 @@ Object.defineProperty(o, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
o.Fun = void 0;
|
|
|
-var n, a = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), _ = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), D = t("./module/RedBagCashData"), w = t("./module/RedCodeData"), S = t("./module/RedeemData"), A = t("./module/MoreGameData"), P = t("./module/SettingData"), O = t("./module/GuideData"), k = t("./module/GuideWeakData"), R = t("./ConfigData"), I = t("./module/NewCashUIData"), C = t("../../before/view/data/ADUnlockData"), T = t("../../before/view/data/PlantData"), N = t("../../before/main/FarmSystem"), j = t("../../before/view/data/HarvestData"), x = t("../../before/view/data/ADClearSickData"), F = t("../../before/main/PastureSystem"), M = t("../../before/main/FactorySystem"), B = function() {
|
|
|
+var n, a = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/PigBankData"), d = t("./module/TurnableData"), h = t("./module/SignData"), f = t("./module/FissionData"), y = t("./AdData"), g = t("./module/RewardData"), _ = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), v = t("./module/BlessingBagData"), b = t("./module/CashProData"), D = t("./module/RedBagCashData"), w = t("./module/RedCodeData"), S = t("./module/RedeemData"), A = t("./module/MoreGameData"), O = t("./module/SettingData"), P = t("./module/GuideData"), k = t("./module/GuideWeakData"), R = t("./ConfigData"), I = t("./module/NewCashUIData"), C = t("../../before/view/data/ADUnlockData"), T = t("../../before/view/data/PlantData"), N = t("../../before/main/FarmSystem"), j = t("../../before/view/data/HarvestData"), x = t("../../before/view/data/ADClearSickData"), F = t("../../before/main/PastureSystem"), M = t("../../before/main/FactorySystem"), B = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -10179,7 +10148,7 @@ this.wechatData = new l.WechatData();
|
|
|
this.httpData = new r.HttpData();
|
|
|
this.adData = new y.AdData();
|
|
|
this.storageData = new s.StorageData();
|
|
|
-this.guideData = new O.GuideData();
|
|
|
+this.guideData = new P.GuideData();
|
|
|
this.guideWeakData = new k.default();
|
|
|
this.reward = new g.RewardData();
|
|
|
this.help = new p.HelpData();
|
|
|
@@ -10190,7 +10159,7 @@ this.sign = new h.SignData();
|
|
|
this.receiptNotice = new m.ReceiptNoticeData();
|
|
|
this.redBagCash = new D.RedBagCashData();
|
|
|
this.cashNormal = new _.CashNormalData();
|
|
|
-this.setting = new P.SettingData();
|
|
|
+this.setting = new O.SettingData();
|
|
|
this.moreGame = new A.MoreGameData();
|
|
|
this.blessingBag = new v.BlessingBagData();
|
|
|
this.cashPro = new b.default();
|
|
|
@@ -11528,7 +11497,12 @@ this.lbl_redMoney.string = gData.gameData.gameData.redMoney + "";
|
|
|
gData.gameData.init_coin = !1;
|
|
|
};
|
|
|
e.prototype.changeInfo = function() {
|
|
|
-this.lbl_redMoney.node.getComponent(mk.component.numberAnim).setValue(gData.gameData.gameData.redMoney);
|
|
|
+cc.tween(this.lbl_redMoney.node).to(.1, {
|
|
|
+scale: 1.2
|
|
|
+}).to(.05, {
|
|
|
+scale: 1
|
|
|
+}).start();
|
|
|
+this.lbl_redMoney.string = gData.gameData.gameData.redMoney + "";
|
|
|
gData.gameData.init_coin = !1;
|
|
|
};
|
|
|
e.prototype.initHead = function() {
|
|
|
@@ -15420,7 +15394,7 @@ cc._RF.push(e, "f0038hKHC9Nf5+ipaUV9rc5", "MKSystem");
|
|
|
Object.defineProperty(o, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var n = t("../sdk/BuglySDK"), a = t("../utils/FileUtil"), i = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), p = t("../utils/EncryptUtil"), u = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), _ = t("./JsbSystem"), m = t("./AudioSystem"), v = t("./PoolSystem"), b = t("../utils/TweenUtil"), D = t("./GuideSystem"), w = t("../utils/StringUtil"), S = t("../../game/component/SetGray"), A = t("../../game/component/NumberAnim"), P = t("../sdk/aliRisk/AliRiskManager"), O = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), k = function() {
|
|
|
+var n = t("../sdk/BuglySDK"), a = t("../utils/FileUtil"), i = t("../utils/TimeUtil"), r = t("./DataSystem"), c = t("./HttpSystem"), s = t("../utils/LoadResUtil"), l = t("../utils/LogUtil"), p = t("../utils/EncryptUtil"), u = t("../utils/GameUtil"), d = t("../utils/StorageUtil"), h = t("./TimerSystem"), f = t("./EventSystem"), y = t("../utils/MathUtil"), g = t("./AdSystem"), _ = t("./JsbSystem"), m = t("./AudioSystem"), v = t("./PoolSystem"), b = t("../utils/TweenUtil"), D = t("./GuideSystem"), w = t("../utils/StringUtil"), S = t("../../game/component/SetGray"), A = t("../../game/component/NumberAnim"), O = t("../sdk/aliRisk/AliRiskManager"), P = t("../sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgr"), k = function() {
|
|
|
function t() {}
|
|
|
Object.defineProperty(t.prototype, "time", {
|
|
|
get: function() {
|
|
|
@@ -15508,7 +15482,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "ad", {
|
|
|
get: function() {
|
|
|
-return this._ad || (this._ad = new g.default(O.default.getInstance()));
|
|
|
+return this._ad || (this._ad = new g.default(P.default.getInstance()));
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -15564,7 +15538,7 @@ configurable: !0
|
|
|
});
|
|
|
Object.defineProperty(t.prototype, "aliRiskManager", {
|
|
|
get: function() {
|
|
|
-return this._aliRiskManager || (this._aliRiskManager = new P.default());
|
|
|
+return this._aliRiskManager || (this._aliRiskManager = new O.default());
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -17146,13 +17120,8 @@ return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
this.node.getPosition(this.startPos);
|
|
|
-var t = cc.Vec3.ZERO;
|
|
|
-this.startPos.add(this.moveOffset, t);
|
|
|
-cc.tween(this.node).to(this.duration, {
|
|
|
-position: t
|
|
|
-}).to(this.duration, {
|
|
|
-position: cc.v3(this.startPos)
|
|
|
-}, cc.easeSineOut()).union().repeatForever().start();
|
|
|
+var t = cc.moveBy(this.duration, cc.v2(this.moveOffset.x, this.moveOffset.y)), e = cc.moveBy(this.duration, cc.v2(this.moveOffset.x, -this.moveOffset.y)), o = cc.sequence([ t, e ]);
|
|
|
+this.node.runAction(cc.repeatForever(o));
|
|
|
};
|
|
|
i([ s({
|
|
|
displayName: "移动的相对距离"
|
|
|
@@ -19120,7 +19089,6 @@ return [ 4, mk.loader.load(t, cc.Prefab) ];
|
|
|
case 2:
|
|
|
r = a.sent();
|
|
|
i = cc.instantiate(r);
|
|
|
-n && n.put(i);
|
|
|
a.label = 3;
|
|
|
|
|
|
case 3:
|
|
|
@@ -24878,10 +24846,10 @@ var e = t.touch._point, o = this.node.convertToNodeSpaceAR(e), n = this.pointInP
|
|
|
if (!this.isMoved) if (n) {
|
|
|
this.stopPropagation && (t.propagationStopped = !0);
|
|
|
this.canTouch && this.onInPolygon && this.onInPolygon.emit([]);
|
|
|
-} else this.canTouch && this.onOutPolygon && this.onOutPolygon.emit([]);
|
|
|
-}
|
|
|
this.canTouch && (this.isMoved || this.canTouch && this.onTouchTap && this.onTouchTap.emit([]));
|
|
|
this.isMoved = !1;
|
|
|
+} else this.canTouch && this.onOutPolygon && this.onOutPolygon.emit([]);
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.onTouchMove = function(t) {
|
|
|
t.getTouches().length > 1 ? this.isMoved = !0 : this.isMoved = cc.Vec2.distance(t.getStartLocation(), t.getLocation()) > 20;
|
|
|
@@ -27093,30 +27061,30 @@ var c = t[s = a + r];
|
|
|
t[s] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8);
|
|
|
}
|
|
|
r = this._hash.words;
|
|
|
-var s = t[a + 0], l = (c = t[a + 1], t[a + 2]), u = t[a + 3], d = t[a + 4], h = t[a + 5], f = t[a + 6], y = t[a + 7], g = t[a + 8], _ = t[a + 9], m = t[a + 10], v = t[a + 11], b = t[a + 12], D = t[a + 13], w = t[a + 14], S = t[a + 15], A = e(A = r[0], k = r[1], O = r[2], P = r[3], s, 7, p[0]), P = e(P, A, k, O, c, 12, p[1]), O = e(O, P, A, k, l, 17, p[2]), k = e(k, O, P, A, u, 22, p[3]);
|
|
|
-A = e(A, k, O, P, d, 7, p[4]), P = e(P, A, k, O, h, 12, p[5]), O = e(O, P, A, k, f, 17, p[6]),
|
|
|
-k = e(k, O, P, A, y, 22, p[7]), A = e(A, k, O, P, g, 7, p[8]), P = e(P, A, k, O, _, 12, p[9]),
|
|
|
-O = e(O, P, A, k, m, 17, p[10]), k = e(k, O, P, A, v, 22, p[11]), A = e(A, k, O, P, b, 7, p[12]),
|
|
|
-P = e(P, A, k, O, D, 12, p[13]), O = e(O, P, A, k, w, 17, p[14]), A = o(A, k = e(k, O, P, A, S, 22, p[15]), O, P, c, 5, p[16]),
|
|
|
-P = o(P, A, k, O, f, 9, p[17]), O = o(O, P, A, k, v, 14, p[18]), k = o(k, O, P, A, s, 20, p[19]),
|
|
|
-A = o(A, k, O, P, h, 5, p[20]), P = o(P, A, k, O, m, 9, p[21]), O = o(O, P, A, k, S, 14, p[22]),
|
|
|
-k = o(k, O, P, A, d, 20, p[23]), A = o(A, k, O, P, _, 5, p[24]), P = o(P, A, k, O, w, 9, p[25]),
|
|
|
-O = o(O, P, A, k, u, 14, p[26]), k = o(k, O, P, A, g, 20, p[27]), A = o(A, k, O, P, D, 5, p[28]),
|
|
|
-P = o(P, A, k, O, l, 9, p[29]), O = o(O, P, A, k, y, 14, p[30]), A = n(A, k = o(k, O, P, A, b, 20, p[31]), O, P, h, 4, p[32]),
|
|
|
-P = n(P, A, k, O, g, 11, p[33]), O = n(O, P, A, k, v, 16, p[34]), k = n(k, O, P, A, w, 23, p[35]),
|
|
|
-A = n(A, k, O, P, c, 4, p[36]), P = n(P, A, k, O, d, 11, p[37]), O = n(O, P, A, k, y, 16, p[38]),
|
|
|
-k = n(k, O, P, A, m, 23, p[39]), A = n(A, k, O, P, D, 4, p[40]), P = n(P, A, k, O, s, 11, p[41]),
|
|
|
-O = n(O, P, A, k, u, 16, p[42]), k = n(k, O, P, A, f, 23, p[43]), A = n(A, k, O, P, _, 4, p[44]),
|
|
|
-P = n(P, A, k, O, b, 11, p[45]), O = n(O, P, A, k, S, 16, p[46]), A = i(A, k = n(k, O, P, A, l, 23, p[47]), O, P, s, 6, p[48]),
|
|
|
-P = i(P, A, k, O, y, 10, p[49]), O = i(O, P, A, k, w, 15, p[50]), k = i(k, O, P, A, h, 21, p[51]),
|
|
|
-A = i(A, k, O, P, b, 6, p[52]), P = i(P, A, k, O, u, 10, p[53]), O = i(O, P, A, k, m, 15, p[54]),
|
|
|
-k = i(k, O, P, A, c, 21, p[55]), A = i(A, k, O, P, g, 6, p[56]), P = i(P, A, k, O, S, 10, p[57]),
|
|
|
-O = i(O, P, A, k, f, 15, p[58]), k = i(k, O, P, A, D, 21, p[59]), A = i(A, k, O, P, d, 6, p[60]),
|
|
|
-P = i(P, A, k, O, v, 10, p[61]), O = i(O, P, A, k, l, 15, p[62]), k = i(k, O, P, A, _, 21, p[63]);
|
|
|
+var s = t[a + 0], l = (c = t[a + 1], t[a + 2]), u = t[a + 3], d = t[a + 4], h = t[a + 5], f = t[a + 6], y = t[a + 7], g = t[a + 8], _ = t[a + 9], m = t[a + 10], v = t[a + 11], b = t[a + 12], D = t[a + 13], w = t[a + 14], S = t[a + 15], A = e(A = r[0], k = r[1], P = r[2], O = r[3], s, 7, p[0]), O = e(O, A, k, P, c, 12, p[1]), P = e(P, O, A, k, l, 17, p[2]), k = e(k, P, O, A, u, 22, p[3]);
|
|
|
+A = e(A, k, P, O, d, 7, p[4]), O = e(O, A, k, P, h, 12, p[5]), P = e(P, O, A, k, f, 17, p[6]),
|
|
|
+k = e(k, P, O, A, y, 22, p[7]), A = e(A, k, P, O, g, 7, p[8]), O = e(O, A, k, P, _, 12, p[9]),
|
|
|
+P = e(P, O, A, k, m, 17, p[10]), k = e(k, P, O, A, v, 22, p[11]), A = e(A, k, P, O, b, 7, p[12]),
|
|
|
+O = e(O, A, k, P, D, 12, p[13]), P = e(P, O, A, k, w, 17, p[14]), A = o(A, k = e(k, P, O, A, S, 22, p[15]), P, O, c, 5, p[16]),
|
|
|
+O = o(O, A, k, P, f, 9, p[17]), P = o(P, O, A, k, v, 14, p[18]), k = o(k, P, O, A, s, 20, p[19]),
|
|
|
+A = o(A, k, P, O, h, 5, p[20]), O = o(O, A, k, P, m, 9, p[21]), P = o(P, O, A, k, S, 14, p[22]),
|
|
|
+k = o(k, P, O, A, d, 20, p[23]), A = o(A, k, P, O, _, 5, p[24]), O = o(O, A, k, P, w, 9, p[25]),
|
|
|
+P = o(P, O, A, k, u, 14, p[26]), k = o(k, P, O, A, g, 20, p[27]), A = o(A, k, P, O, D, 5, p[28]),
|
|
|
+O = o(O, A, k, P, l, 9, p[29]), P = o(P, O, A, k, y, 14, p[30]), A = n(A, k = o(k, P, O, A, b, 20, p[31]), P, O, h, 4, p[32]),
|
|
|
+O = n(O, A, k, P, g, 11, p[33]), P = n(P, O, A, k, v, 16, p[34]), k = n(k, P, O, A, w, 23, p[35]),
|
|
|
+A = n(A, k, P, O, c, 4, p[36]), O = n(O, A, k, P, d, 11, p[37]), P = n(P, O, A, k, y, 16, p[38]),
|
|
|
+k = n(k, P, O, A, m, 23, p[39]), A = n(A, k, P, O, D, 4, p[40]), O = n(O, A, k, P, s, 11, p[41]),
|
|
|
+P = n(P, O, A, k, u, 16, p[42]), k = n(k, P, O, A, f, 23, p[43]), A = n(A, k, P, O, _, 4, p[44]),
|
|
|
+O = n(O, A, k, P, b, 11, p[45]), P = n(P, O, A, k, S, 16, p[46]), A = i(A, k = n(k, P, O, A, l, 23, p[47]), P, O, s, 6, p[48]),
|
|
|
+O = i(O, A, k, P, y, 10, p[49]), P = i(P, O, A, k, w, 15, p[50]), k = i(k, P, O, A, h, 21, p[51]),
|
|
|
+A = i(A, k, P, O, b, 6, p[52]), O = i(O, A, k, P, u, 10, p[53]), P = i(P, O, A, k, m, 15, p[54]),
|
|
|
+k = i(k, P, O, A, c, 21, p[55]), A = i(A, k, P, O, g, 6, p[56]), O = i(O, A, k, P, S, 10, p[57]),
|
|
|
+P = i(P, O, A, k, f, 15, p[58]), k = i(k, P, O, A, D, 21, p[59]), A = i(A, k, P, O, d, 6, p[60]),
|
|
|
+O = i(O, A, k, P, v, 10, p[61]), P = i(P, O, A, k, l, 15, p[62]), k = i(k, P, O, A, _, 21, p[63]);
|
|
|
r[0] = r[0] + A | 0;
|
|
|
r[1] = r[1] + k | 0;
|
|
|
-r[2] = r[2] + O | 0;
|
|
|
-r[3] = r[3] + P | 0;
|
|
|
+r[2] = r[2] + P | 0;
|
|
|
+r[3] = r[3] + O | 0;
|
|
|
},
|
|
|
_doFinalize: function() {
|
|
|
var e = this._data, o = e.words, n = 8 * this._nDataBytes, a = 8 * e.sigBytes;
|