window.__require = function t(e, r, n) {
function o(a, c) {
if (!r[a]) {
if (!e[a]) {
var s = a.split("/");
s = s[s.length - 1];
if (!e[s]) {
var u = "function" == typeof __require && __require;
if (!c && u) return u(s, !0);
if (i) return i(s, !0);
throw new Error("Cannot find module '" + a + "'");
}
a = s;
}
var f = r[a] = {
exports: {}
};
e[a][0].call(f.exports, function(t) {
return o(e[a][1][t] || t);
}, f, f.exports, t, e, r, n);
}
return r[a].exports;
}
for (var i = "function" == typeof __require && __require, a = 0; a < n.length; a++) o(n[a]);
return o;
}({
AStar: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "23669FyfFZDQ77lePBfdet8", "AStar");
var n = this && this.__decorate || function(t, e, r, n) {
var o, i = arguments.length, a = i < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, r, n); else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, r, a) : o(e, r)) || a);
return i > 3 && a && Object.defineProperty(e, r, a), a;
}, o = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var i = function(t, e, r) {
void 0 === r && (r = 0);
for (var n = [], o = r || 0, i = 0; i < t; i++) {
for (var a = [], c = 0; c < e; c++) a.push(o);
n.push(a);
}
return {
w: t,
h: e,
data: n,
showArray2D: function() {
for (var t = "", e = 0; e < this.h; e++) {
for (var r = 0; r < this.w; r++) t += this.data[r][e] + " ";
t += "\n";
}
console.log(t);
}
};
}, a = function(t, e, r) {
void 0 === r && (r = 0);
var n, o, i, a, c;
return {
point: t,
father: null,
g: r || 0,
h: (n = t, o = e, i = Math.abs(n.x - o.x), a = Math.abs(n.y - o.y), c = Math.min(i, a), 
1.4 * c + 1 * (i + a - 2 * c))
};
}, c = cc._decorator, s = c.ccclass, u = (c.property, function() {
function t() {
this.openList = [];
this.closeList = [];
this.passTag = 0;
}
t.prototype.initMap = function(t, e) {
void 0 === e && (e = 0);
this.passTag = e;
this.map2d = i(t.length, t[0].length);
for (var r = 0; r < t.length; r++) for (var n = 0; n < t[0].length; n++) this.map2d.data[r][n] = t[r][n];
this.map2d.showArray2D();
return this.map2d;
};
t.prototype.getMinNode = function() {
var t, e, r = this.openList[0];
try {
for (var n = o(this.openList), i = n.next(); !i.done; i = n.next()) {
var a = i.value;
a.g + a.h < r.g + r.h && (r = a);
}
} catch (e) {
t = {
error: e
};
} finally {
try {
i && !i.done && (e = n.return) && e.call(n);
} finally {
if (t) throw t.error;
}
}
return r;
};
t.prototype.pointInCloseList = function(t) {
var e, r;
try {
for (var n = o(this.closeList), i = n.next(); !i.done; i = n.next()) if (i.value.point.equals(t)) return !0;
} catch (t) {
e = {
error: t
};
} finally {
try {
i && !i.done && (r = n.return) && r.call(n);
} finally {
if (e) throw e.error;
}
}
return !1;
};
t.prototype.pointInOpenList = function(t) {
var e, r;
try {
for (var n = o(this.openList), i = n.next(); !i.done; i = n.next()) {
var a = i.value;
if (a.point.equals(t)) return a;
}
} catch (t) {
e = {
error: t
};
} finally {
try {
i && !i.done && (r = n.return) && r.call(n);
} finally {
if (e) throw e.error;
}
}
return null;
};
t.prototype.endPointInCloseList = function() {
var t, e;
try {
for (var r = o(this.closeList), n = r.next(); !n.done; n = r.next()) {
var i = n.value;
if (i.point.equals(this.endPoint)) return i;
}
} catch (e) {
t = {
error: e
};
} finally {
try {
n && !n.done && (e = r.return) && e.call(r);
} finally {
if (t) throw t.error;
}
}
return null;
};
t.prototype.searchNear = function(t, e, r) {
if (t.point.x + e < 0 || t.point.x + e > this.map2d.w - 1 || t.point.y + r < 0 || t.point.y + r > this.map2d.h - 1) return null;
if (this.map2d.data[t.point.x + e][t.point.y + r] !== this.passTag) return null;
var n = cc.v2(t.point.x + e, t.point.y + r);
if (!n || this.pointInCloseList(n)) return null;
var o;
o = 0 === e || 0 === r ? 10 : 14;
var i = this.pointInOpenList(n);
if (null == i) {
(i = a(n, this.endPoint, t.g + o)).father = t;
this.openList.push(i);
return null;
}
if (t.g + o < i.g) {
i.g = t + o;
i.father = t;
}
};
t.prototype.start = function(t, e) {
this.openList = [], this.closeList = [], this.startPoint = t;
this.endPoint = e;
var r = a(this.startPoint, this.endPoint);
this.openList.push(r);
for (;;) {
var n = this.getMinNode();
this.closeList.push(n);
var o = this.openList.indexOf(n);
this.openList.splice(o, 1);
this.searchNear(n, 0, -1);
this.searchNear(n, 0, 1);
this.searchNear(n, -1, 0);
this.searchNear(n, 1, 0);
var i = this.endPointInCloseList();
if (i) for (var c = i, s = []; ;) {
if (!c.father) return s.reverse();
s.push(c.point);
c = c.father;
}
if (0 === this.openList.length) {
console.log("目标点不可到达");
return [];
}
}
};
return n([ s ], t);
}());
r.default = u;
cc._RF.pop();
}, {} ],
AdaptMgr: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "1d7afGXVxlJKpepFZvzMqbo", "AdaptMgr");
Object.defineProperty(r, "__esModule", {
value: !0
});
r.FitType = void 0;
var n, o = t("../main/Constants"), i = t("../utils/Tools");
(function(t) {
t[t.Default = 0] = "Default";
t[t.Left = 1] = "Left";
t[t.Right = 2] = "Right";
t[t.Top = 3] = "Top";
t[t.Bottom = 4] = "Bottom";
t[t.Center = 5] = "Center";
t[t.AutoScale = 6] = "AutoScale";
t[t.Width = 7] = "Width";
t[t.WidthAndBottom = 8] = "WidthAndBottom";
t[t.Height = 9] = "Height";
})(n = r.FitType || (r.FitType = {}));
var a = function() {
function t() {
this.ObjID = 0;
this.AdaptObj = {};
}
t.prototype.getID = function() {
return ++this.ObjID;
};
t.prototype.addListen = function(t, e) {
cc.assert(!Utils.isEmpty(t), "addListenObj obj is null");
var r = {};
if (t instanceof cc.Node) r.node = t; else {
cc.assert(!Utils.isEmpty(t.node), "addListenObj obj.node is null");
r.node = t.node;
}
r.initPos = r.node.position;
r.fitType = i.default.isEmpty(e) ? n.Default : e;
this.AdaptObj[r.node.name + this.getID()] = r;
this.fitNode(r);
};
t.prototype.fitNode = function(t) {
var e = cc.view.getCanvasSize(), r = e.width / e.height, a = r < o.default.DESIGN_RESOLUTION.scale;
switch (t.fitType) {
case n.Default:
if (a) {
t.node.width = o.default.DESIGN_RESOLUTION.width;
t.node.height = o.default.DESIGN_RESOLUTION.width / r;
} else {
t.node.width = o.default.DESIGN_RESOLUTION.height * r;
t.node.height = o.default.DESIGN_RESOLUTION.height;
}
break;

case n.Left:
t.node.x = a ? t.initPos.x : t.initPos.x - (o.default.DESIGN_RESOLUTION.height * r - o.default.DESIGN_RESOLUTION.width) / 2;
break;

case n.Right:
t.node.x = a ? t.initPos.x : t.initPos.x + (o.default.DESIGN_RESOLUTION.height * r - o.default.DESIGN_RESOLUTION.width) / 2;
break;

case n.Top:
t.node.y = a ? t.initPos.y + (o.default.DESIGN_RESOLUTION.width / r - o.default.DESIGN_RESOLUTION.height) / 2 : t.initPos.y;
break;

case n.Bottom:
t.node.y = a ? t.initPos.y - (o.default.DESIGN_RESOLUTION.width / r - o.default.DESIGN_RESOLUTION.height) / 2 : t.initPos.y;
break;

case n.Center:
var c = t.node.parent;
if (!i.default.isEmpty(c)) {
var s = {
0: c.width / 2,
.5: 0,
1: -c.width / 2
};
t.node.x = s["" + c.anchorX];
var u = {
0: c.height / 2,
.5: 0,
1: -c.height / 2
};
t.node.y = u["" + c.anchorY];
}
break;

case n.AutoScale:
var f = cc.view.getCanvasSize(), l = f.width / f.height, h = o.default.DESIGN_RESOLUTION.scale;
if (l >= h) {
var p = f.width / h - f.height;
t.node.scale = p / f.height + 1;
} else if (l < h) {
var d = f.height * h - f.width;
t.node.scale = d / f.width + 1;
}
break;

case n.Width:
t.node.width = a ? o.default.DESIGN_RESOLUTION.width : o.default.DESIGN_RESOLUTION.height * r;
break;

case n.WidthAndBottom:
if (a) {
t.node.width = o.default.DESIGN_RESOLUTION.width;
t.node.y = t.initPos.y - (o.default.DESIGN_RESOLUTION.width / r - o.default.DESIGN_RESOLUTION.height) / 2;
} else {
t.node.width = o.default.DESIGN_RESOLUTION.height * r;
t.node.y = t.initPos.y;
}
break;

case n.Height:
t.node.height = a ? o.default.DESIGN_RESOLUTION.width : o.default.DESIGN_RESOLUTION.height * r;
}
};
t.prototype.fitAllNode = function() {
Object.keys(this.AdaptObj).forEach(function(t) {
var e = this.AdaptObj[t];
e && e.node && e.node.isValid ? this.fitNode(e) : delete this.AdaptObj[t];
}.bind(this));
};
t.prototype.adaptScreenSize = function(t) {
if (t && cc.isValid(t)) {
var e = cc.view.getCanvasSize(), r = e.width / e.height, n = cc.director.getScene().angle;
if (r < o.default.DESIGN_RESOLUTION.scale) {
t.width = o.default.DESIGN_RESOLUTION.width;
t.height = o.default.DESIGN_RESOLUTION.width / r;
} else {
t.width = o.default.DESIGN_RESOLUTION.height * r;
t.height = o.default.DESIGN_RESOLUTION.height;
}
if (0 != n) {
var i = t.width;
t.width = t.height;
t.height = i;
}
}
};
t.prototype.adaptScreenScale = function(t) {
if (t && cc.isValid(t)) {
var e = cc.view.getCanvasSize(), r = e.width / e.height, n = r < o.default.DESIGN_RESOLUTION.scale;
r > .5 && r < 1 && (t.scale = n ? r / o.default.DESIGN_RESOLUTION.scale : o.default.DESIGN_RESOLUTION.scale / r);
}
};
t.prototype.resize = function() {
var t = cc.view.getDesignResolutionSize(), e = cc.view.getFrameSize(), r = e.width, n = e.height, o = r, i = n;
r / n > t.width / t.height ? o = (i = t.height) * r / n : i = n / r * (o = t.width);
cc.view.setDesignResolutionSize(o, i, cc.ResolutionPolicy.UNKNOWN);
var a = cc.find("Canvas");
a.width = o;
a.height = i;
};
t.prototype.fitCanvas = function() {
var t = cc.find("Canvas").getComponent(cc.Canvas), e = cc.winSize;
if (e.width > e.height) {
t.fitWidth = !1;
t.fitHeight = !0;
} else {
t.fitWidth = !0;
t.fitHeight = !1;
}
};
t.inst = new t();
return t;
}();
r.default = a.inst;
cc._RF.pop();
}, {
"../main/Constants": "Constants",
"../utils/Tools": "Tools"
} ],
Agreement: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "12ef6/C1WhG8YorY39hTnr3", "Agreement");
var n, o = this && this.__extends || (n = function(t, e) {
return (n = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(t, e) {
t.__proto__ = e;
} || function(t, e) {
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
})(t, e);
}, function(t, e) {
n(t, e);
function r() {
this.constructor = t;
}
t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, new r());
}), i = this && this.__decorate || function(t, e, r, n) {
var o, i = arguments.length, a = i < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, r, n); else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, r, a) : o(e, r)) || a);
return i > 3 && a && Object.defineProperty(e, r, a), a;
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.ShowType = void 0;
var a, c = t("../../framework/utils/PlatformUtils"), s = cc._decorator, u = s.ccclass, f = s.property;
(function(t) {
t.Normal = "normal";
t.Service = "service";
t.Privacy = "privacy";
})(a = r.ShowType || (r.ShowType = {}));
var l = function(t) {
o(e, t);
function e() {
var e = null !== t && t.apply(this, arguments) || this;
e.txtMaster = null;
e.ndIOS = null;
e.ndLunYan = null;
e.layout = null;
e.toggle = null;
e.callback = null;
e.showType = a.Normal;
e.showView = null;
return e;
}
e.prototype.onLoad = function() {
this.txtMaster.string = JSB_IOS ? "杨钰淇" : "南京伦焰网络科技有限公司";
};
e.prototype.init = function(t, e) {
void 0 === e && (e = a.Normal);
this.callback = t;
this.showType = e;
e != a.Normal && this.show(null, e);
this.toggle.node.active = OPPO_GAME;
this.layout.getChildByName("lab1").active = !0;
this.layout.getChildByName("btnYH").active = !0;
this.layout.getComponent(cc.Layout).updateLayout();
};
e.prototype.close = function() {
if (cc.sys.isBrowser) {
window.history.back();
window.top.close();
cc.game.end();
} else cc.game.end();
};
e.prototype.agree = function() {
if (!OPPO_GAME || this.toggle.isChecked) {
this.callback && this.callback();
this.node.destroy();
} else c.default.showToast({
title: "请阅读并勾选隐私政策",
icon: "none"
});
};
e.prototype.show = function(t, e) {
void 0 === t && (t = null);
void 0 === e && (e = "normal");
JSB_IOS ? this.showView = this.ndIOS : this.showView = this.ndLunYan;
this.showView.active = !0;
var r = "service" == e ? "用户协议" : "隐私政策";
this.showView.getChildByName("title").getComponent(cc.Label).string = r;
this.showView.getChildByName("service").active = "service" == e;
this.showView.getChildByName("privacy").active = "privacy" == e;
var n = this.showView.getChildByName(e);
n.getComponent(cc.ScrollView).scrollToTop();
for (var o = cc.find("view/content", n), i = function(t) {
var e = o.children[t];
cc.tween(e).delay(.5 * t + .1).call(function() {
e.active = !0;
}).start();
}, a = 0; a < o.childrenCount; a++) i(a);
};
e.prototype.back = function() {
if (this.showType != a.Normal) {
this.callback && this.callback();
this.node.destroy();
} else this.showView.active = !1;
};
i([ f(cc.Label) ], e.prototype, "txtMaster", void 0);
i([ f(cc.Node) ], e.prototype, "ndIOS", void 0);
i([ f(cc.Node) ], e.prototype, "ndLunYan", void 0);
i([ f(cc.Node) ], e.prototype, "layout", void 0);
i([ f(cc.Toggle) ], e.prototype, "toggle", void 0);
return i([ u ], e);
}(cc.Component);
r.default = l;
cc._RF.pop();
}, {
"../../framework/utils/PlatformUtils": "PlatformUtils"
} ],
ArrayUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "a5364P0CShJZJr4XcGbzO0Q", "ArrayUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
Array.prototype.minToMax = function() {
for (var t, e = 0; e < this.length; e++) for (var r = 0; r <= e; r++) if (this[e] < this[r]) {
t = this[e];
this[e] = this[r];
this[r] = t;
}
return this;
};
Array.prototype.maxToMin = function() {
for (var t, e = 0; e < this.length; e++) for (var r = 0; r <= e; r++) if (this[e] > this[r]) {
t = this[e];
this[e] = this[r];
this[r] = t;
}
return this;
};
Array.prototype.getMax = function() {
for (var t = 0, e = 0; e < this.length; e++) this[e] > t && (t = this[e]);
return t;
};
Array.prototype.getMin = function() {
for (var t = 0, e = 0; e < this.length; e++) this[e] < t && (t = this[e]);
return t;
};
Array.prototype.merger = function() {
for (var t, e = 0, r = this.length - 1; e < r; ) {
for (var n = 0, o = 0, i = e; i < r; ++i) if (this[i] > this[i + 1]) {
t = this[i];
this[i] = this[i + 1];
this[i + 1] = t;
n = i;
}
for (var a = r = n; a > e; --a) if (this[a] < this[a - 1]) {
t = this[a];
this[a] = this[a - 1];
this[a - 1] = t;
o = a;
}
e = o;
}
return this;
};
Array.prototype.shuffle = function() {
for (var t = -1, e = this.length, r = e - 1; ++t < e; ) {
var n = t + Math.floor(Math.random() * (r - t + 1)), o = this[n];
this[n] = this[t];
this[t] = o;
}
return this;
};
Array.prototype.remove = function(t, e) {
void 0 === e && (e = !0);
for (var r = 0; r < this.length; ) if (this[r] === t) {
this.splice(r, 1);
if (e) break;
} else ++r;
return this;
};
Array.prototype.count = function() {
return this.length;
};
Array.prototype.add = function(t) {
this.push(t);
return this;
};
Array.prototype.addRange = function(t) {
var e = this;
t.forEach(function(t) {
e.push(t);
});
return this;
};
Array.prototype.getRandom = function() {
return this[Math.floor(Math.random() * this.length)];
};
Array.prototype.overlaps = function(t) {
var e = !1;
this.forEach(function(r) {
t.forEach(function(t) {
r == t && (e = !0);
});
});
return e;
};
Array.prototype.clear = function() {
this.splice(0, this.length);
return this;
};
var n = function() {
function t() {}
t.prototype.minToMax = function(t) {
t.minToMax();
};
t.prototype.maxToMin = function(t) {
t.maxToMin();
};
t.prototype.getMax = function(t) {
t.getMax();
};
t.prototype.getMin = function(t) {
t.getMin();
};
t.prototype.merger = function(t) {
t.merger();
};
t.prototype.shuffle = function(t) {
t.shuffle();
};
t.prototype.remove = function(t, e, r) {
void 0 === r && (r = !0);
t.remove(e, !0);
};
t.prototype.getRandom = function(t) {
t.getRandom();
};
t.prototype.overlaps = function(t, e) {
return t.overlaps(e);
};
t.prototype.initArray = function(t, e, r) {
void 0 === r && (r = 0);
var n = [];
if (0 == r) for (var o = 0; o < e; o++) n.push(t); else for (o = 0; o < e; o++) {
n[o] = [];
for (var i = 0; i < r; i++) n[o].push(t);
}
return n;
};
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
AudioMgr: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "95f316J9l1Dfb16djAZvxJ2", "AudioMgr");
var n = this && this.__awaiter || function(t, e, r, n) {
return new (r || (r = Promise))(function(o, i) {
function a(t) {
try {
s(n.next(t));
} catch (t) {
i(t);
}
}
function c(t) {
try {
s(n.throw(t));
} catch (t) {
i(t);
}
}
function s(t) {
t.done ? o(t.value) : (e = t.value, e instanceof r ? e : new r(function(t) {
t(e);
})).then(a, c);
var e;
}
s((n = n.apply(t, e || [])).next());
});
}, o = this && this.__generator || function(t, e) {
var r, n, o, i, a = {
label: 0,
sent: function() {
if (1 & o[0]) throw o[1];
return o[1];
},
trys: [],
ops: []
};
return i = {
next: c(0),
throw: c(1),
return: c(2)
}, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
return this;
}), i;
function c(t) {
return function(e) {
return s([ t, e ]);
};
}
function s(i) {
if (r) throw new TypeError("Generator is already executing.");
for (;a; ) try {
if (r = 1, n && (o = 2 & i[0] ? n.return : i[0] ? n.throw || ((o = n.return) && o.call(n), 
0) : n.next) && !(o = o.call(n, i[1])).done) return o;
(n = 0, o) && (i = [ 2 & i[0], o.value ]);
switch (i[0]) {
case 0:
case 1:
o = i;
break;

case 4:
a.label++;
return {
value: i[1],
done: !1
};

case 5:
a.label++;
n = i[1];
i = [ 0 ];
continue;

case 7:
i = a.ops.pop();
a.trys.pop();
continue;

default:
if (!(o = a.trys, o = o.length > 0 && o[o.length - 1]) && (6 === i[0] || 2 === i[0])) {
a = 0;
continue;
}
if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
a.label = i[1];
break;
}
if (6 === i[0] && a.label < o[1]) {
a.label = o[1];
o = i;
break;
}
if (o && a.label < o[2]) {
a.label = o[2];
a.ops.push(i);
break;
}
o[2] && a.ops.pop();
a.trys.pop();
continue;
}
i = e.call(t, a);
} catch (t) {
i = [ 6, t ];
n = 0;
} finally {
r = o = 0;
}
if (5 & i[0]) throw i[1];
return {
value: i[0] ? i[1] : void 0,
done: !0
};
}
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var i = t("./ResMgr"), a = t("../utils/SaveUtils"), c = 1, s = .3, u = !0, f = !0, l = null, h = !1, p = {}, d = function() {
function t() {}
t.prototype.init = function() {
u = a.default.get("B_STICK_PlayMusic", u);
f = a.default.get("B_STICK_PlayEffect", f);
this.setMusicVolume(c);
};
t.prototype.playEffect = function(t, e) {
void 0 === e && (e = !1);
return n(this, void 0, void 0, function() {
var r, n, a;
return o(this, function(o) {
switch (o.label) {
case 0:
r = -1;
if (!f) return [ 2, r ];
null == p[t.toString()] && (p[t.toString()] = 0);
if (p[t.toString()] > 5) return [ 2, r ];
p[t.toString()]++;
if (!(t instanceof cc.AudioClip)) return [ 3, 1 ];
a = t;
return [ 3, 3 ];

case 1:
return [ 4, i.default.loadRes(t, cc.AudioClip) ];

case 2:
a = o.sent();
o.label = 3;

case 3:
if (n = a) {
r = cc.audioEngine.playEffect(n, e);
cc.audioEngine.setFinishCallback(r, function() {
p[t.toString()]--;
});
}
return [ 2, r ];
}
});
});
};
t.prototype.playBgMusic = function(t, e) {
void 0 === e && (e = !0);
return n(this, void 0, void 0, function() {
var r, n;
return o(this, function(o) {
switch (o.label) {
case 0:
if (!u || !t) return [ 2, -1 ];
this.stopMusic();
l = t;
if (!(t instanceof cc.AudioClip)) return [ 3, 1 ];
n = t;
return [ 3, 3 ];

case 1:
return [ 4, i.default.loadRes(t, cc.AudioClip) ];

case 2:
n = o.sent();
o.label = 3;

case 3:
if (r = n) {
h = !0;
return [ 2, cc.audioEngine.playMusic(r, e) ];
}
return [ 2, -1 ];
}
});
});
};
t.prototype.setMusicVolume = function(t) {
c = t;
cc.audioEngine.setMusicVolume(t);
t <= 0 ? this.pauseMusic() : this.resumeMusic();
};
t.prototype.setEffectVolume = function(t) {
s = t;
cc.audioEngine.setEffectsVolume(t);
t <= 0 && this.stopAllEffects();
};
t.prototype.setMusicIsOpen = function(t) {
var e = t ? 1 : 0;
u = t;
this.setMusicVolume(e);
};
t.prototype.setEffectIsOpen = function(t) {
var e = t ? .3 : 0;
f = t;
this.setEffectVolume(e);
};
t.prototype.saveSoundData = function() {
a.default.set("N_STICK_MusicVol", c);
a.default.set("N_STICK_EffectVol", s);
a.default.set("B_STICK_PlayMusic", u);
a.default.set("B_STICK_PlayEffect", f);
};
t.prototype.getSoundValue = function() {
return {
music: c,
effect: s,
isBgmOpen: u,
isEffectOpen: f
};
};
t.prototype.getCurBgMusic = function() {
return l;
};
t.prototype.playOpenEffect = function() {
return this.playEffect("audio/btn_click");
};
t.prototype.playCloseEffect = function() {
return this.playEffect("audio/btn_click");
};
t.prototype.pauseMusic = function() {
if (!cc.audioEngine.isMusicPlaying()) return !1;
cc.audioEngine.pauseMusic();
};
t.prototype.resumeMusic = function() {
if (u) {
if (cc.audioEngine.isMusicPlaying()) return !1;
h ? cc.audioEngine.resumeMusic() : this.playBgMusic(l, !0);
}
};
t.prototype.stopMusic = function() {
l = "";
if (!cc.audioEngine.isMusicPlaying()) return !1;
cc.audioEngine.stopMusic();
};
t.prototype.rewindMusic = function() {
if (!cc.audioEngine.isMusicPlaying()) return !1;
cc.audioEngine.rewindMusic();
};
t.prototype.pauseEffect = function(t) {
cc.audioEngine.pauseEffect(t);
};
t.prototype.pauseAllEffects = function() {
cc.audioEngine.pauseAllEffects();
};
t.prototype.resumeEffect = function(t) {
cc.audioEngine.resumeEffect(t);
};
t.prototype.resumeAllEffects = function() {
cc.audioEngine.resumeAllEffects();
};
t.prototype.stopEffect = function(t) {
cc.audioEngine.stopEffect(t);
};
t.prototype.stopAllEffects = function() {
cc.audioEngine.stopAllEffects();
};
t.inst = new t();
return t;
}();
r.default = d.inst;
cc._RF.pop();
}, {
"../utils/SaveUtils": "SaveUtils",
"./ResMgr": "ResMgr"
} ],
Base64: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "8fb72QLb+pOFJxXe4kLTK3Y", "Base64");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = function() {
function t() {}
t.Uint8ToString = function(t) {
for (var e = [], r = 0; r < t.length; r += 32768) e.push(String.fromCharCode.apply(null, t.subarray(r, r + 32768)));
return e.join("");
};
t.stringToUint8Array = function(t) {
for (var e = new ArrayBuffer(t.length), r = new Uint8Array(e), n = 0, o = t.length; n < o; n++) r[n] = t.charCodeAt(n);
return r;
};
t.encodeFromUint8Array = function(e) {
return t.encode(t.Uint8ToString(e));
};
t.encode = function(t) {
if (/([^\u0000-\u00ff])/.test(t)) throw new Error("INVALID_CHARACTER_ERR");
for (var e, r, o, i = 0, a = []; i < t.length; ) {
r = t.charCodeAt(i);
switch (o = i % 3) {
case 0:
a.push(n.charAt(r >> 2));
break;

case 1:
a.push(n.charAt((3 & e) << 4 | r >> 4));
break;

case 2:
a.push(n.charAt((15 & e) << 2 | r >> 6));
a.push(n.charAt(63 & r));
}
e = r;
i++;
}
if (0 == o) {
a.push(n.charAt((3 & e) << 4));
a.push("==");
} else if (1 == o) {
a.push(n.charAt((15 & e) << 2));
a.push("=");
}
return a.join("");
};
t.decodeToUnit8Array = function(e) {
return t.stringToUint8Array(t.decode(e));
};
t.decode = function(t) {
t = t.replace(/\s|=/g, "");
for (var e, r, o = 0, i = []; o < t.length; ) {
e = n.indexOf(t.charAt(o));
switch (o % 4) {
case 0:
break;

case 1:
i.push(String.fromCharCode(r << 2 | e >> 4));
break;

case 2:
i.push(String.fromCharCode((15 & r) << 4 | e >> 2));
break;

case 3:
i.push(String.fromCharCode((3 & r) << 6 | e));
}
r = e;
o++;
}
return i.join("");
};
return t;
}();
r.default = o;
cc._RF.pop();
}, {} ],
Base64zh: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "3ff23AHtRNClYrgOOr7WxuP", "Base64zh");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
function t() {}
t.UTF16ToUTF8 = function(t) {
for (var e = [], r = t.length, n = 0; n < r; n++) {
var o = t.charCodeAt(n);
if (o > 0 && o <= 127) e.push(t.charAt(n)); else if (o >= 128 && o <= 2047) {
var i = 192 | o >> 6 & 31, a = 128 | 63 & o;
e.push(String.fromCharCode(i), String.fromCharCode(a));
} else if (o >= 2048 && o <= 65535) {
i = 224 | o >> 12 & 15, a = 128 | o >> 6 & 63;
var c = 128 | 63 & o;
e.push(String.fromCharCode(i), String.fromCharCode(a), String.fromCharCode(c));
}
}
return e.join("");
};
t.UTF8ToUTF16 = function(t) {
var e = [], r = t.length, n = 0;
for (n = 0; n < r; n++) {
var o = t.charCodeAt(n);
if (0 == (o >> 7 & 255)) e.push(t.charAt(n)); else if (6 == (o >> 5 & 255)) {
var i = (31 & o) << 6 | 63 & (a = t.charCodeAt(++n));
e.push(String.fromCharCode(i));
} else if (14 == (o >> 4 & 255)) {
var a;
i = (255 & (o << 4 | (a = t.charCodeAt(++n)) >> 2 & 15)) << 8 | (3 & a) << 6 | 63 & t.charCodeAt(++n);
e.push(String.fromCharCode(i));
}
}
return e.join("");
};
t.encode = function(t) {
if (!t) return "";
for (var e = this.UTF16ToUTF8(t), r = 0, n = e.length, o = []; r < n; ) {
var i = 255 & e.charCodeAt(r++);
o.push(this.table[i >> 2]);
if (r == n) {
o.push(this.table[(3 & i) << 4]);
o.push("==");
break;
}
var a = e.charCodeAt(r++);
if (r == n) {
o.push(this.table[(3 & i) << 4 | a >> 4 & 15]);
o.push(this.table[(15 & a) << 2]);
o.push("=");
break;
}
var c = e.charCodeAt(r++);
o.push(this.table[(3 & i) << 4 | a >> 4 & 15]);
o.push(this.table[(15 & a) << 2 | (192 & c) >> 6]);
o.push(this.table[63 & c]);
}
return o.join("");
};
t.decode = function(t) {
if (!t) return "";
for (var e, r, n, o, i, a, c, s = t.length, u = 0, f = []; u < s; ) {
e = this.table.indexOf(t.charAt(u++));
r = this.table.indexOf(t.charAt(u++));
n = this.table.indexOf(t.charAt(u++));
o = this.table.indexOf(t.charAt(u++));
i = e << 2 | r >> 4;
f.push(String.fromCharCode(i));
if (-1 != n) {
a = (15 & r) << 4 | n >> 2;
f.push(String.fromCharCode(a));
}
if (-1 != o) {
c = (3 & n) << 6 | o;
f.push(String.fromCharCode(c));
}
}
return this.UTF8ToUTF16(f.join(""));
};
t.table = [ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/" ];
return t;
}();
r.default = n;
cc._RF.pop();
}, {} ],
Constants: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "c7bb2EnxXNHpYP75bcWE2Jz", "Constants");
Object.defineProperty(r, "__esModule", {
value: !0
});
r.MODE_TYPE = void 0;
var n;
(function(t) {
t[t.COUNT = 0] = "COUNT";
t[t.LOCK = 1] = "LOCK";
t[t.ALL = 2] = "ALL";
})(n = r.MODE_TYPE || (r.MODE_TYPE = {}));
var o = function() {
function t() {}
t.init = function() {
window.FIRST_PLAY = !0;
window.PLATFORM = window.ks || window.tt || window.qg || window.qq || window.swan || window.wx;
window.OS_IOS = cc.sys.os == cc.sys.OS_IOS;
window.OS_ANDROID = cc.sys.os == cc.sys.OS_ANDROID;
window.OPPO_GAME = cc.sys.platform == cc.sys.OPPO_GAME;
window.VIVO_GAME = cc.sys.platform == cc.sys.VIVO_GAME;
window.BAIDU_GAME = cc.sys.platform == cc.sys.BAIDU_GAME;
window.HUAWEI_GAME = cc.sys.platform == cc.sys.HUAWEI_GAME;
window.XIAOMI_GAME = cc.sys.platform == cc.sys.XIAOMI_GAME;
window.BYTEDANCE_GAME = cc.sys.platform == cc.sys.BYTEDANCE_GAME;
window.WECHAT_GAME = cc.sys.platform == cc.sys.WECHAT_GAME && !window.qq && !window.ks;
window.QQ_GAME = cc.sys.platform == cc.sys.WECHAT_GAME && null != window.qq;
window.KS_GAME = cc.sys.platform == cc.sys.WECHAT_GAME && null != window.ks;
window.JSB_IOS = cc.sys.os == cc.sys.OS_IOS;
};
t.VERSION_CODE = "1.0.0";
t.IS_LOCAL = cc.sys.isBrowser;
t.IS_LOAD = !1;
t.IS_AD_SHOW = !0;
t.OPEN_ACHIEV = !0;
t.OPEN_FEST = !1;
t.GLOBAL_NODE = null;
t.MAX_ZINDEX = 9999;
t.ENTER_TIME = 0;
t.OPENID = "";
t.REPORT_ID = "";
t.FULLVIDEO_SHOW = !1;
t.INSERTAD_SHOW = !1;
t.MODE = n.COUNT;
t.DESIGN_RESOLUTION = {
width: 720,
height: 1280,
autoscale: cc.ResolutionPolicy.FIXED_WIDTH,
scale: .5625
};
t.ADAPT_OFFSET_WIDTH = 0;
t.ADAPT_OFFSET = 0;
t.IS_NEED_ADAPT = !0;
t.IS_LANDSCAPE = !1;
t.IS_DEVELOPING = !0;
t.IS_GAME_RUNNING = !0;
t.IS_IN_BLACKLIST = !0;
t.WEBSOCKET_HEAD = "ws";
t.BUNDLE_PATH = "https://gamecdn.1011games.com/WorldBox2/";
t.HTTP_PATH = "https://setting.1011games.com/api/gameSettingServer";
return t;
}();
r.default = o;
cc.log("刷新成功！");
cc._RF.pop();
}, {} ],
DataReport: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "c197cdP5BFAfIoMsTPdaF8q", "DataReport");
Object.defineProperty(r, "__esModule", {
value: !0
});
r.DataReport = r.wxEventType = void 0;
(function(t) {
t[t.Show = 1] = "Show";
t[t.Click = 2] = "Click";
})(r.wxEventType || (r.wxEventType = {}));
var n = function() {
function t() {}
t.wxReportUserBehaviorBranch = function(t, e, r) {
WECHAT_GAME && (r ? wx.reportUserBehaviorBranchAnalytics({
branchId: t,
eventType: e,
branchDim: "" + r
}) : wx.reportUserBehaviorBranchAnalytics({
branchId: t,
eventType: e
}));
};
t.sendEvent = function() {};
t.isWxMiniGame = !0;
return t;
}();
r.DataReport = n;
cc._RF.pop();
}, {} ],
DateUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "aa752btXeZGI7Kq39UwwtIx", "DateUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
Date.prototype.getCNDate = function() {
var t = "";
t += this.getFullYear().lenWithZero(4) + new Number(24180).chrW();
t += (this.getMonth() + 1).lenWithZero(2) + new Number(26376).chrW();
t += this.getDate().lenWithZero(2) + new Number(26085).chrW();
t += this.getHours().lenWithZero(2) + new Number(26102).chrW();
t += this.getMinutes().lenWithZero(2) + new Number(20998).chrW();
return (t += this.getSeconds().lenWithZero(2) + new Number(31186).chrW()) + (new Number(32).chrW() + new Number(32).chrW() + new Number(26143).chrW() + new Number(26399).chrW() + new String("26085199682010819977222352011620845").substr(5 * this.getDay(), 5).toInt().chrW());
};
Date.prototype.format = function(t) {
var e = {
"M+": this.getMonth() + 1,
"d+": this.getDate(),
"h+": this.getHours() % 12 == 0 ? 12 : this.getHours() % 12,
"H+": this.getHours(),
"m+": this.getMinutes(),
"s+": this.getSeconds(),
"q+": Math.floor((this.getMonth() + 3) / 3),
S: this.getMilliseconds()
};
/(y+)/.test(t) && (t = t.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)));
/(E+)/.test(t) && (t = t.replace(RegExp.$1, (RegExp.$1.length > 1 ? RegExp.$1.length > 2 ? "星期" : "周" : "") + {
0: "日",
1: "一",
2: "二",
3: "三",
4: "四",
5: "五",
6: "六"
}[this.getDay() + ""]));
for (var r in e) new RegExp("(" + r + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? e[r] : ("00" + e[r]).substr(("" + e[r]).length)));
return t;
};
Date.prototype.diff = function(t, e) {
switch (t) {
case "s":
return Math.floor((e.getTime() - this.getTime()) / 1e3);

case "n":
return Math.floor((e.getTime() - this.getTime()) / 6e4);

case "h":
return Math.floor((e.getTime() - this.getTime()) / 36e5);

case "d":
return Math.floor((e.getTime() - this.getTime()) / 864e5);

case "w":
return Math.floor((e.getTime() - this.getTime()) / 6048e5);

case "m":
return e.getMonth() + 1 + 12 * (e.getFullYear() - this.getFullYear()) - (this.getMonth() + 1);

case "y":
return e.getFullYear() - this.getFullYear();

default:
return;
}
};
var n = function() {
function t() {}
t.prototype.formatTime = function(t, e, r) {
var n, o = (n = t ? new Date(1e3 * t) : new Date()).getMonth() + 1 < 10 ? "0" + (n.getMonth() + 1) : n.getMonth() + 1, i = n.getDate() < 10 ? "0" + n.getDate() : n.getDate(), a = n.getHours() < 10 ? "0" + n.getHours() : n.getHours(), c = n.getMinutes() < 10 ? "0" + n.getMinutes() : n.getMinutes(), s = n.getSeconds() < 10 ? "0" + n.getSeconds() : n.getSeconds();
return e ? n.getFullYear().toString() + o.toString() + i.toString() + a.toString() + c.toString() + s.toString() : i > 1 ? n.getFullYear() + "-" + o + "-" + i + (r ? "\n" : " ") + a + ":" + c + ":" + s : a + ":" + c + ":" + s;
};
t.prototype.formatDayTime = function(t) {
var e, r = (e = t ? new Date(1e3 * t) : new Date()).getMonth() + 1 < 10 ? "0" + (e.getMonth() + 1) : e.getMonth() + 1, n = e.getDate() < 10 ? "0" + e.getDate() : e.getDate();
return n > 1 ? e.getFullYear() + "-" + r + "-" + n : "";
};
t.prototype.formatHourTime = function(t) {
var e;
return ((e = t ? new Date(1e3 * t) : new Date()).getHours() < 10 ? "0" + e.getHours() : e.getHours()) + ":" + (e.getMinutes() < 10 ? "0" + e.getMinutes() : e.getMinutes()) + ":" + (e.getSeconds() < 10 ? "0" + e.getSeconds() : e.getSeconds());
};
t.prototype.getSecond = function() {
return Math.floor(new Date().getTime() / 1e3);
};
t.prototype.formatMinutes = function(t) {
var e = Math.floor(t / 60);
return (e < 10 ? "0" + e : e) + ":" + (t % 60 < 10 ? "0" + t % 60 : t % 60);
};
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
Des: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "5a676rK4DxLF41dys+YXPAU", "Des");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = t("../lib/encrypt/crypto-js"), o = function() {
function t() {}
t.encryptByDESModeCBC = function(t, e) {
t = n.default.enc.Utf8.parse(t);
var r = n.default.enc.Utf8.parse(e), o = n.default.enc.Utf8.parse(e);
return n.default.DES.encrypt(t, r, {
iv: o,
mode: n.default.mode.CBC,
padding: n.default.pad.Pkcs7
}).ciphertext.toString();
};
t.decryptByDESModeCBC = function(t, e) {
var r = n.default.enc.Utf8.parse(e), o = n.default.enc.Utf8.parse(e);
return n.default.DES.decrypt({
ciphertext: n.default.enc.Hex.parse(t)
}, r, {
iv: o,
mode: n.default.mode.CBC,
padding: n.default.pad.Pkcs7
}).toString(n.default.enc.Utf8);
};
t.encryptByDESModeECB = function(t, e) {
t = n.default.enc.Utf8.parse(t);
var r = n.default.enc.Utf8.parse(e);
return n.default.DES.encrypt(t, r, {
mode: n.default.mode.ECB,
padding: n.default.pad.ZeroPadding
}).ciphertext.toString();
};
t.decryptByDESModeECB = function(t, e) {
var r = n.default.enc.Utf8.parse(e);
return n.default.DES.decrypt(n.default.enc.Hex.parse(t).toString(), r, {
mode: n.default.mode.ECB,
padding: n.default.pad.ZeroPadding
}).toString(n.default.enc.Utf8);
};
return t;
}();
r.default = o;
cc._RF.pop();
}, {
"../lib/encrypt/crypto-js": "crypto-js"
} ],
EventDispatcher: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "5cb23XiQulFs4xolrIZHf1S", "EventDispatcher");
var n = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var o = function() {
this.target = null;
this.callback = null;
this.priority = 1;
this.once = !1;
this.stopPropagation = !1;
}, i = function() {
function t() {
this.__handles__ = {};
}
t.prototype.on = function(t, e, r, n, i, a) {
void 0 === n && (n = 1);
void 0 === i && (i = !1);
void 0 === a && (a = !1);
this.has(t) || (this.__handles__[t] = []);
a && (this.__handles__[t] = []);
var c = new o();
c.target = r;
c.callback = e.bind(r);
c.priority = n;
c.stopPropagation = i;
this.__handles__[t].push(c);
this.__handles__[t].sort(function(t, e) {
return t.priority - e.priority;
});
};
t.prototype.once = function(t, e, r) {
this.has(t) || (this.__handles__[t] = []);
var n = new o();
n.target = r;
n.callback = e.bind(r);
n.once = !0;
this.__handles__[t].push(n);
};
t.prototype.off = function(t, e) {
void 0 === e && (e = null);
if (this.has(t)) {
for (var r = 0; r < this.__handles__[t].length; r++) if (e) {
if (this.__handles__[t][r].target == e) {
this.__handles__[t].splice(r, 1);
break;
}
} else this.__handles__[t].splice(r, 1);
this.__handles__[t].length < 1 && delete this.__handles__[t];
}
};
t.prototype.emit = function(t, e, r, o, i, a) {
var c, s, u = !1;
if (this.has(t)) {
try {
for (var f = n(this.__handles__[t]), l = f.next(); !l.done; l = f.next()) {
var h = l.value;
h.callback(e, r, o, i, a);
if (h.once) {
this.off(t, h.target);
break;
}
if (h.stopPropagation) break;
}
} catch (t) {
c = {
error: t
};
} finally {
try {
l && !l.done && (s = f.return) && s.call(f);
} finally {
if (c) throw c.error;
}
}
u = !0;
}
return u;
};
t.prototype.clear = function() {
this.__handles__ = {};
};
t.prototype.has = function(t) {
return null != this.__handles__[t] && null != this.__handles__[t];
};
return t;
}();
r.default = i;
cc._RF.pop();
}, {} ],
GlobalEvent: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "d23acSlNyNErJOPf1rKWjbu", "GlobalEvent");
var n, o = this && this.__extends || (n = function(t, e) {
return (n = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(t, e) {
t.__proto__ = e;
} || function(t, e) {
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
})(t, e);
}, function(t, e) {
n(t, e);
function r() {
this.constructor = t;
}
t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, new r());
});
Object.defineProperty(r, "__esModule", {
value: !0
});
r.Global_Event_Type = void 0;
var i, a = t("./EventDispatcher");
(function(t) {
t[t.GAME_TO_BACKGROUND = 0] = "GAME_TO_BACKGROUND";
t[t.BACKGROUND_TO_GAME = 1] = "BACKGROUND_TO_GAME";
t[t.WINDOW_SIZE_CHANGE = 2] = "WINDOW_SIZE_CHANGE";
t[t.ORIENTATION_CHANGE = 3] = "ORIENTATION_CHANGE";
t[t.GAME_NET_CLOSE = 4] = "GAME_NET_CLOSE";
})(i = r.Global_Event_Type || (r.Global_Event_Type = {}));
var c = function(t) {
o(e, t);
function e() {
return null !== t && t.apply(this, arguments) || this;
}
e.prototype.show = function() {
this.emit(i.BACKGROUND_TO_GAME);
};
e.prototype.hide = function() {
this.emit(i.GAME_TO_BACKGROUND);
};
e.prototype.adapt = function() {
this.emit(i.WINDOW_SIZE_CHANGE);
};
e.prototype.disconnect = function() {
this.emit(i.GAME_NET_CLOSE);
};
e.inst = new e();
return e;
}(a.default);
r.default = c.inst;
cc._RF.pop();
}, {
"./EventDispatcher": "EventDispatcher"
} ],
Http: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "28921xi3oJBJbNd/5q3hVHn", "Http");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
function t() {}
t.prototype.get = function(t, e) {
var r = {
method: "GET",
url: t,
header: e
};
return this.send(r);
};
t.prototype.post = function(t, e, r) {
var n = {
method: "POST",
url: t,
header: r,
param: e
};
return this.send(n);
};
t.prototype.send = function(t) {
var e = this;
return new Promise(function(r, n) {
var o = new XMLHttpRequest();
o.timeout = 8e3;
o.open(t.method, t.url);
t.header && "object" == typeof t.header && Object.keys(t.header).length > 0 ? Object.keys(t.header).forEach(function(e) {
o.setRequestHeader(e, t.header[e]);
}) : o.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
o.onload = function() {
200 === o.status ? r(o.responseText) : n(new Error(o.statusText));
};
o.onerror = function() {
n(new Error(o.statusText));
};
var i = "object" == typeof t.param ? e.formatUrl(t.param) : t.param;
o.send(i);
});
};
t.prototype.formatUrl = function(t) {
var e = 0, r = "";
for (var n in t) {
e > 0 && (r += "&");
r += n + "=" + t[n];
e++;
}
return r;
};
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
Log: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "f68da9r02dP/LKarfLTMz26", "Log");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
var t = new Date();
return "GameLog " + t.getHours() + ":" + t.getMinutes() + ":" + t.getSeconds() + "-" + t.getMilliseconds();
}, o = function() {
function t() {}
t.d = function() {
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
t.unshift(n());
};
t.v = function() {
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
t.unshift(n());
console.log.apply(console, t);
};
t.i = function() {
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
t.unshift(n());
console.info.apply(console, t);
};
t.w = function() {
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
t.unshift(n());
console.warn.apply(console, t);
};
t.e = function() {
for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
t.unshift(n());
console.error.apply(console, t);
};
return t;
}();
r.default = o;
cc._RF.pop();
}, {} ],
MapUtil: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "26ec21U3hlNmZVmvf7hNWgB", "MapUtil");
var n, o = this && this.__extends || (n = function(t, e) {
return (n = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(t, e) {
t.__proto__ = e;
} || function(t, e) {
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
})(t, e);
}, function(t, e) {
n(t, e);
function r() {
this.constructor = t;
}
t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, new r());
}), i = this && this.__decorate || function(t, e, r, n) {
var o, i = arguments.length, a = i < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, r, n); else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, r, a) : o(e, r)) || a);
return i > 3 && a && Object.defineProperty(e, r, a), a;
}, a = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var c = t("./AStar"), s = cc._decorator, u = s.ccclass, f = s.property, l = function(t) {
o(e, t);
function e() {
var e = null !== t && t.apply(this, arguments) || this;
e.barriers = null;
e.player = null;
e.tiledMap = null;
e.mapData = [];
return e;
}
e.prototype.onLoad = function() {
this.tiledMap = this.node.getComponent(cc.TiledMap);
this.initMap();
};
e.prototype.start = function() {};
e.prototype.initMap = function() {
var t, e;
this.mapData = [];
this.mapSize = this.tiledMap.getMapSize();
for (var r = 0; r < this.mapSize.width; r++) {
this.mapData[r] = [];
for (var n = 0; n < this.mapSize.height; n++) {
var o = this.barriers.getTileGIDAt(cc.v2(r, n));
this.mapData[r][n] = 0 == o ? 0 : 2;
}
}
var i = new c.default(), s = i.initMap(this.mapData), u = i.start(cc.v2(25, 10), cc.v2(15, 6));
try {
for (var f = a(u), l = f.next(); !l.done; l = f.next()) {
var h = l.value;
s.data[h.x][h.y] = 8;
}
} catch (e) {
t = {
error: e
};
} finally {
try {
l && !l.done && (e = f.return) && e.call(f);
} finally {
if (t) throw t.error;
}
}
s.showArray2D();
};
e.prototype.getTilePos = function(t) {
var e = this.tiledMap.getTileSize(), r = Math.floor(t.x / e.width), n = Math.floor(t.y / e.height);
return cc.v2(r, n);
};
i([ f(cc.TiledLayer) ], e.prototype, "barriers", void 0);
i([ f(cc.Node) ], e.prototype, "player", void 0);
return i([ u ], e);
}(cc.Component);
r.default = l;
cc._RF.pop();
}, {
"./AStar": "AStar"
} ],
MathUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "9799dlzMDtCUYW4tXws3hFG", "MathUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
function t() {
this.seed = 0;
}
t.prototype.setRandomSeed = function(t) {
this.seed = t;
};
t.prototype.seededRandom = function(t, e) {
void 0 === t && (t = 0);
void 0 === e && (e = 1);
this.seed = (9301 * this.seed + 49297) % 233280;
return t + this.seed / 233280 * (e - t);
};
t.prototype.intCast = function(t) {
return t >= 0 ? Math.floor(t) : Math.ceil(t);
};
t.prototype.randomChance = function(t) {
return t >= Math.random();
};
t.prototype.randomBool = function() {
return 0 != this.seed ? this.seededRandom() > .5 : Math.random() > .5;
};
t.prototype.randomRange = function(t, e) {
return 0 != this.seed ? this.seededRandom(t, e) : cc.math.randomRange(t, e);
};
t.prototype.randomFloat = function(t, e) {
return this.randomRange(t, e);
};
t.prototype.randomInt = function(t, e) {
return Math.floor(this.randomRange(t, e));
};
t.prototype.getRandom = function(t) {
return t[this.randomInt(0, t.length)];
};
t.prototype.clamp = function(t, e, r) {
return cc.misc.clampf(t, e, r);
};
t.prototype.lerp = function(t, e, r) {
return cc.misc.lerp(t, e, r);
};
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
NetCore: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "8b5b9xrotVDH7rvS0LayYb1", "NetCore");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = t("./http/Http"), o = function() {
function t() {}
t.prototype.get = function(t, e, r, o) {
var i = this;
void 0 === o && (o = null);
n.default.get(e, r).then(function(e) {
o && o(t, !0, e);
i.onHttpMessage(t, !0, e);
}).catch(function(e) {
o && o(t, !1, e);
i.onHttpMessage(t, !1, e);
});
};
t.prototype.post = function(t, e, r, o, i) {
var a = this;
void 0 === i && (i = null);
n.default.post(e, r, o).then(function(e) {
i && i(t, !0, e);
a.onHttpMessage(t, !0, e);
}).catch(function(e) {
i && i(t, !1, e);
a.onHttpMessage(t, !1, e);
});
};
t.prototype.onHttpMessage = function() {};
return t;
}();
r.default = o;
cc._RF.pop();
}, {
"./http/Http": "Http"
} ],
NumberUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "d3b59whowJAlLFvpYUUA/Ok", "NumberUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
Number.prototype.lenWithZero = function(t) {
for (var e = this.toString(); e.length < t; ) e = "0" + e;
return e;
};
Number.prototype.chrW = function() {
return String.fromCharCode(this.valueOf());
};
var n = function() {
function t() {}
t.prototype.subEffecNumber = function(t, e) {
return parseInt((t * Math.pow(10, e)).toString()) / Math.pow(10, e);
};
t.prototype.prefixInteger = function(t, e) {
return (Array(e).join("0") + t).slice(-e);
};
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
PerlinNoise: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "5ee34u3QF5EvrJBlHEb28P7", "PerlinNoise");
Object.defineProperty(r, "__esModule", {
value: !0
});
function n(t) {
return t * t * t * (t * (6 * t - 15) + 10);
}
function o(t, e, r) {
return (1 - r) * t + r * e;
}
function i(t, e, r) {
this.x = t;
this.y = e;
this.z = r;
}
i.prototype.dot2 = function(t, e) {
return this.x * t + this.y * e;
};
i.prototype.dot3 = function(t, e, r) {
return this.x * t + this.y * e + this.z * r;
};
var a = [ new i(1, 1, 0), new i(-1, 1, 0), new i(1, -1, 0), new i(-1, -1, 0), new i(1, 0, 1), new i(-1, 0, 1), new i(1, 0, -1), new i(-1, 0, -1), new i(0, 1, 1), new i(0, -1, 1), new i(0, 1, -1), new i(0, -1, -1) ], c = [ 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180 ], s = .5 * (Math.sqrt(3) - 1), u = (3 - Math.sqrt(3)) / 6, f = function() {
function t() {
this.perm = new Array(512);
this.gradP = new Array(512);
}
t.create = function(e) {
void 0 === e && (e = 0);
var r = new t();
r.seed(e);
return r;
};
t.prototype.seed = function(t) {
t > 0 && t < 1 && (t *= 65536);
(t = Math.floor(t)) < 256 && (t |= t << 8);
for (var e = 0; e < 256; e++) {
var r;
r = 1 & e ? c[e] ^ 255 & t : c[e] ^ t >> 8 & 255;
this.perm[e] = this.perm[e + 256] = r;
this.gradP[e] = this.gradP[e + 256] = a[r % 12];
}
};
t.prototype.simplex2 = function(t, e) {
var r, n, o = (t + e) * s, i = Math.floor(t + o), a = Math.floor(e + o), c = (i + a) * u, f = t - i + c, l = e - a + c;
if (f > l) {
r = 1;
n = 0;
} else {
r = 0;
n = 1;
}
var h = f - r + u, p = l - n + u, d = f - 1 + 2 * u, y = l - 1 + 2 * u;
i &= 255;
a &= 255;
var v = this.gradP[i + this.perm[a]], g = this.gradP[i + r + this.perm[a + n]], _ = this.gradP[i + 1 + this.perm[a + 1]], m = .5 - f * f - l * l, b = .5 - h * h - p * p, w = .5 - d * d - y * y;
return 70 * ((m < 0 ? 0 : (m *= m) * m * v.dot2(f, l)) + (b < 0 ? 0 : (b *= b) * b * g.dot2(h, p)) + (w < 0 ? 0 : (w *= w) * w * _.dot2(d, y)));
};
t.prototype.simplex3 = function(t, e, r) {
var n, o, i, a, c, s, u = (t + e + r) * (1 / 3), f = Math.floor(t + u), l = Math.floor(e + u), h = Math.floor(r + u), p = (f + l + h) * (1 / 6), d = t - f + p, y = e - l + p, v = r - h + p;
if (d >= y) if (y >= v) {
n = 1;
o = 0;
i = 0;
a = 1;
c = 1;
s = 0;
} else if (d >= v) {
n = 1;
o = 0;
i = 0;
a = 1;
c = 0;
s = 1;
} else {
n = 0;
o = 0;
i = 1;
a = 1;
c = 0;
s = 1;
} else if (y < v) {
n = 0;
o = 0;
i = 1;
a = 0;
c = 1;
s = 1;
} else if (d < v) {
n = 0;
o = 1;
i = 0;
a = 0;
c = 1;
s = 1;
} else {
n = 0;
o = 1;
i = 0;
a = 1;
c = 1;
s = 0;
}
var g = d - n + 1 / 6, _ = y - o + 1 / 6, m = v - i + 1 / 6, b = d - a + 1 / 6 * 2, w = y - c + 1 / 6 * 2, S = v - s + 1 / 6 * 2, O = d - 1 + .5, A = y - 1 + .5, E = v - 1 + .5;
f &= 255;
l &= 255;
h &= 255;
var M = this.gradP[f + this.perm[l + this.perm[h]]], P = this.gradP[f + n + this.perm[l + o + this.perm[h + i]]], C = this.gradP[f + a + this.perm[l + c + this.perm[h + s]]], x = this.gradP[f + 1 + this.perm[l + 1 + this.perm[h + 1]]], R = .6 - d * d - y * y - v * v, T = .6 - g * g - _ * _ - m * m, I = .6 - b * b - w * w - S * S, k = .6 - O * O - A * A - E * E;
return 32 * ((R < 0 ? 0 : (R *= R) * R * M.dot3(d, y, v)) + (T < 0 ? 0 : (T *= T) * T * P.dot3(g, _, m)) + (I < 0 ? 0 : (I *= I) * I * C.dot3(b, w, S)) + (k < 0 ? 0 : (k *= k) * k * x.dot3(O, A, E)));
};
t.prototype.perlin2 = function(t, e) {
var r = Math.floor(t), i = Math.floor(e);
t -= r;
e -= i;
r &= 255;
i &= 255;
var a = this.gradP[r + this.perm[i]].dot2(t, e), c = this.gradP[r + this.perm[i + 1]].dot2(t, e - 1), s = this.gradP[r + 1 + this.perm[i]].dot2(t - 1, e), u = this.gradP[r + 1 + this.perm[i + 1]].dot2(t - 1, e - 1), f = n(t);
return o(o(a, s, f), o(c, u, f), n(e));
};
t.prototype.perlin3 = function(t, e, r) {
var i = Math.floor(t), a = Math.floor(e), c = Math.floor(r);
t -= i;
e -= a;
r -= c;
i &= 255;
a &= 255;
c &= 255;
var s = this.gradP[i + this.perm[a + this.perm[c]]].dot3(t, e, r), u = this.gradP[i + this.perm[a + this.perm[c + 1]]].dot3(t, e, r - 1), f = this.gradP[i + this.perm[a + 1 + this.perm[c]]].dot3(t, e - 1, r), l = this.gradP[i + this.perm[a + 1 + this.perm[c + 1]]].dot3(t, e - 1, r - 1), h = this.gradP[i + 1 + this.perm[a + this.perm[c]]].dot3(t - 1, e, r), p = this.gradP[i + 1 + this.perm[a + this.perm[c + 1]]].dot3(t - 1, e, r - 1), d = this.gradP[i + 1 + this.perm[a + 1 + this.perm[c]]].dot3(t - 1, e - 1, r), y = this.gradP[i + 1 + this.perm[a + 1 + this.perm[c + 1]]].dot3(t - 1, e - 1, r - 1), v = n(t), g = n(e), _ = n(r);
return o(o(o(s, h, v), o(u, p, v), _), o(o(f, d, v), o(l, y, v), _), g);
};
return t;
}();
r.default = f;
cc._RF.pop();
}, {} ],
Perlin: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "960a8WAME5I+4NXfRBBh4kA", "Perlin");
Object.defineProperty(r, "__esModule", {
value: !0
});
function n(t) {
return t * t * t * (t * (6 * t - 15) + 10);
}
function o(t, e, r) {
return e + t * (r - e);
}
function i(t, e, r) {
var n = 15 & t, o = n < 8 ? e : r, i = n < 4 ? r : 12 == n || 14 == n ? e : 0;
return (0 == (1 & n) ? o : -o) + (0 == (2 & n) ? i : -i);
}
var a = [ 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180, 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180 ], c = function() {
function t() {}
t.noise = function(t, e) {
t = Math.abs(t);
e = Math.abs(e);
var r = Math.floor(t), c = Math.floor(e), s = 255 & r, u = 255 & c;
t -= r;
e -= c;
var f = n(Math.min(t, 1)), l = n(Math.min(e, 1)), h = a[s] + u, p = a[h + 1], d = a[s + 1] + u, y = a[d], v = a[d + 1];
return o(l, o(f, i(a[a[h]], t, e), i(a[y], t - 1, e)), o(f, i(a[p], t, e - 1), i(a[v], t - 1, e - 1)));
};
t.noiseNormalized = function(e, r) {
var n = t.noise(e, r);
return (n + .69) / 1.483;
};
return t;
}();
r.default = c;
cc._RF.pop();
}, {} ],
PlatformMgr: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "135ecRPnfRIV6/HoXdlzZPp", "PlatformMgr");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = t("../lib/prototype/DateUtils"), o = t("../net/http/Http"), i = function() {
function t() {}
t.logon = function(t, e) {
switch (cc.sys.platform) {
case cc.sys.HUAWEI_GAME:
qg.gameLoginWithReal({
forceLogin: 1,
appid: t,
success: function(t) {
console.log("游戏登陆成功:" + t);
e(!0);
},
fail: function(t, r) {
console.log("游戏登陆失败:" + t + ", code:" + r);
e(!1);
}
});
}
};
t.isPlayTime = function(e) {
var r = "http://tool.bitefu.net/jiari/?d=" + n.default.formatDayTime();
o.default.get(r).then(function(r) {
var n = t.checkTime(parseInt(r));
e(n);
}).catch(function() {
e(!1);
});
};
t.isAdult = function(t) {
switch (cc.sys.platform) {
case cc.sys.HUAWEI_GAME:
qg.getPlayerExtraInfo({
transactionId: "",
success: function(e) {
console.log("获取玩家信息成功:" + e);
t(e.isAdult);
},
fail: function(e, r) {
console.log("获取玩家信息失败:" + e + ", code:" + r);
t(!1);
}
});
}
};
t.checkTime = function(t) {
var e = new Date().getHours(), r = new Date().getDay();
return (t > 0 || 5 == r) && e >= 20 && e <= 21;
};
return t;
}();
r.default = i;
cc._RF.pop();
}, {
"../lib/prototype/DateUtils": "DateUtils",
"../net/http/Http": "Http"
} ],
PlatformUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "65dafgFz8NAiKsl1/LFQuTV", "PlatformUtils");
var n = this && this.__decorate || function(t, e, r, n) {
var o, i = arguments.length, a = i < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, r, n); else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, r, a) : o(e, r)) || a);
return i > 3 && a && Object.defineProperty(e, r, a), a;
}, o = this && this.__read || function(t, e) {
var r = "function" == typeof Symbol && t[Symbol.iterator];
if (!r) return t;
var n, o, i = r.call(t), a = [];
try {
for (;(void 0 === e || e-- > 0) && !(n = i.next()).done; ) a.push(n.value);
} catch (t) {
o = {
error: t
};
} finally {
try {
n && !n.done && (r = i.return) && r.call(i);
} finally {
if (o) throw o.error;
}
}
return a;
}, i = this && this.__spread || function() {
for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(o(arguments[e]));
return t;
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.ToastData = r.ModalData = void 0;
r.ModalData = function() {
this.title = "";
this.content = "";
this.showCancel = !1;
this.cancelText = "取消";
this.confirmText = "确认";
};
r.ToastData = function() {
this.title = "";
};
var a = cc._decorator, c = a.ccclass, s = (a.property, function() {
function t() {}
e = t;
t.atob = function(t) {
return e.atobPolyfill(t);
};
t.showModal = function(t) {
(null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.showModal) && PLATFORM.showModal(t);
};
t.showToast = function(t) {
(null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.showToast) && PLATFORM.showToast(t);
};
t.vibrateShort = function() {
(null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.vibrateShort) && PLATFORM.vibrateShort();
};
t.vibrateLong = function() {
(null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.vibrateLong) && PLATFORM.vibrateLong();
};
t.exitGame = function() {
var t = (null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.exitApplication) || (null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.exitMiniProgram);
t ? t({
success: function() {
console.log("exitApplication success");
},
fail: function() {
console.log("exitApplication fail");
},
complete: function() {
console.log("exitApplication complete");
}
}) : cc.game.end();
};
t.dirExist = function(t) {
return jsb.fileUtils.isDirectoryExist(t);
};
t.mkdirSync = function(t) {
jsb.fileUtils.createDirectory(t);
};
t.deleteDir = function(t) {
jsb.fileUtils.removeDirectory(t);
};
t.fileExist = function(t) {
return jsb.fileUtils.isFileExist(t);
};
t.readFileSync = function(t) {
return jsb.fileUtils.getStringFromFile(t);
};
t.writeFileSync = function(t, e) {
jsb.fileUtils.writeStringToFile(e, t);
};
t.removeSavedFile = function(t) {
jsb.fileUtils.removeFile(t);
};
t.logon = function(t) {
(null === PLATFORM || void 0 === PLATFORM ? void 0 : PLATFORM.login) && PLATFORM.login({
success: function(e) {
var r = e.code || e.data.token;
r ? t && t(r) : console.log("登录失败！" + e);
}
});
};
t.requestChannel = function(t, r, n, o) {
void 0 === n && (n = "");
var i = t + r + cc.sys.now();
o && (e.callbacks[i] = o);
if (OS_ANDROID) {
console.log("================requestChannel:", t, r, n);
return jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "callJavaMethod", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", t, r, n, i);
}
if (OS_IOS) {
console.log("================requestChannel:", t, r, n);
return jsb.reflection.callStaticMethod("NativeOcClass", "callNativeMethod::::", t, r, n, i);
}
return "";
};
var e;
t.callbacks = {};
t.b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
t.b64chs = i(e.b64ch);
t.b64tab = function(t) {
var e = {};
t.forEach(function(t, r) {
return e[t] = r;
});
return e;
}(e.b64chs);
t.b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;
t._fromCC = String.fromCharCode.bind(String);
t.atobPolyfill = function(t) {
t = t.replace(/\s+/g, "");
if (!e.b64re.test(t)) throw new TypeError("malformed base64.");
t += "==".slice(2 - (3 & t.length));
for (var r, n, o, i = "", a = 0; a < t.length; ) {
r = e.b64tab[t.charAt(a++)] << 18 | e.b64tab[t.charAt(a++)] << 12 | (n = e.b64tab[t.charAt(a++)]) << 6 | (o = e.b64tab[t.charAt(a++)]);
i += 64 === n ? e._fromCC(r >> 16 & 255) : 64 === o ? e._fromCC(r >> 16 & 255, r >> 8 & 255) : e._fromCC(r >> 16 & 255, r >> 8 & 255, 255 & r);
}
return i;
};
return e = n([ c ], t);
}());
r.default = s;
window.responseChannel = function(t, e) {
if (s.callbacks[t]) {
console.log("===================responseChannel:", t, e);
s.callbacks[t](e);
s.callbacks[t] = null;
}
};
cc._RF.pop();
}, {} ],
ResMgr: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "22c1fu/L9FPirIdPnmIoc0A", "ResMgr");
var n = this && this.__awaiter || function(t, e, r, n) {
return new (r || (r = Promise))(function(o, i) {
function a(t) {
try {
s(n.next(t));
} catch (t) {
i(t);
}
}
function c(t) {
try {
s(n.throw(t));
} catch (t) {
i(t);
}
}
function s(t) {
t.done ? o(t.value) : (e = t.value, e instanceof r ? e : new r(function(t) {
t(e);
})).then(a, c);
var e;
}
s((n = n.apply(t, e || [])).next());
});
}, o = this && this.__generator || function(t, e) {
var r, n, o, i, a = {
label: 0,
sent: function() {
if (1 & o[0]) throw o[1];
return o[1];
},
trys: [],
ops: []
};
return i = {
next: c(0),
throw: c(1),
return: c(2)
}, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
return this;
}), i;
function c(t) {
return function(e) {
return s([ t, e ]);
};
}
function s(i) {
if (r) throw new TypeError("Generator is already executing.");
for (;a; ) try {
if (r = 1, n && (o = 2 & i[0] ? n.return : i[0] ? n.throw || ((o = n.return) && o.call(n), 
0) : n.next) && !(o = o.call(n, i[1])).done) return o;
(n = 0, o) && (i = [ 2 & i[0], o.value ]);
switch (i[0]) {
case 0:
case 1:
o = i;
break;

case 4:
a.label++;
return {
value: i[1],
done: !1
};

case 5:
a.label++;
n = i[1];
i = [ 0 ];
continue;

case 7:
i = a.ops.pop();
a.trys.pop();
continue;

default:
if (!(o = a.trys, o = o.length > 0 && o[o.length - 1]) && (6 === i[0] || 2 === i[0])) {
a = 0;
continue;
}
if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
a.label = i[1];
break;
}
if (6 === i[0] && a.label < o[1]) {
a.label = o[1];
o = i;
break;
}
if (o && a.label < o[2]) {
a.label = o[2];
a.ops.push(i);
break;
}
o[2] && a.ops.pop();
a.trys.pop();
continue;
}
i = e.call(t, a);
} catch (t) {
i = [ 6, t ];
n = 0;
} finally {
r = o = 0;
}
if (5 & i[0]) throw i[1];
return {
value: i[0] ? i[1] : void 0,
done: !0
};
}
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var i = t("../main/Constants");
cc.sys.platform == cc.sys.WECHAT_GAME ? (window.qq, i.default.BUNDLE_PATH) : cc.sys.platform == cc.sys.HUAWEI_GAME ? i.default.BUNDLE_PATH : cc.sys.platform == cc.sys.OPPO_GAME ? i.default.BUNDLE_PATH : cc.sys.platform == cc.sys.VIVO_GAME ? i.default.BUNDLE_PATH : cc.sys.platform == cc.sys.BYTEDANCE_GAME ? i.default.BUNDLE_PATH : cc.sys.platform == cc.sys.XIAOMI_GAME && i.default.BUNDLE_PATH;
var a = function() {
function t() {}
t.prototype.loadRes = function(t, e) {
return n(this, void 0, void 0, function() {
var r;
return o(this, function() {
r = cc.assetManager.bundles.find(function(r) {
return null != r.getInfoWithPath(t, e);
});
return [ 2, new Promise(function(n, o) {
r ? r.load(t, e, function(t, e) {
if (t) {
cc.error(t.message || t);
o(t);
} else n(e);
}) : o("资源加载失败");
}) ];
});
});
};
t.prototype.loadDir = function(t) {
var e = cc.assetManager.bundles.find(function(e) {
return e.getDirWithPath(t).length > 0;
});
return new Promise(function(r, n) {
e ? e.loadDir(t, function(t, e) {
if (t) {
cc.error(t.message || t);
n(t);
} else r(e);
}) : n("资源文件夹加载失败");
});
};
t.prototype.preloadDir = function(t) {
cc.assetManager.bundles.find(function(e) {
return e.getDirWithPath(t).length > 0;
}).preloadDir(t, function(t) {
t && cc.error(t.message || t);
});
};
t.prototype.loadRemote = function(t) {
return new Promise(function(e, r) {
cc.assetManager.loadRemote(t, function(t, n) {
if (t) {
cc.error(t.message || t);
r(t);
} else e(n);
});
});
};
t.prototype.loadBundle = function(t, e) {
void 0 === e && (e = {});
return new Promise(function(r, n) {
cc.assetManager.loadBundle(t, e, function(t, e) {
if (t) {
cc.error(t.message || t);
n(t);
} else r(e);
});
});
};
t.prototype.getRes = function(t, e) {
var r = cc.assetManager.bundles.find(function(r) {
return null != r.get(t, e);
});
return r && r.get(t, e);
};
t.inst = new t();
return t;
}();
r.default = a.inst;
cc._RF.pop();
}, {
"../main/Constants": "Constants"
} ],
SaveUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "0b8122FKEpNI6UpWxXbUhnx", "SaveUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = !1, o = function(t) {
var e = "string";
if (t.length < 2) return e;
var r = t.substring(0, 2);
"N_" == r ? e = "number" : "B_" == r && (e = "boolean");
return e;
}, i = function(t) {
var e, r = new RegExp("(^| )" + t + "=([^;]*)(;|$)");
return (e = document.cookie.match(r)) && e[2] && "null" != e[2] ? e[2] : null;
}, a = function(t, e, r) {
var n, o, i, a = (o = 1 * (n = r).substring(1, n.length), "s" == (i = n.substring(0, 1)) ? 1e3 * o : "h" == i ? 36e5 * o : "d" == i ? 864e5 * o : void 0), c = new Date();
c.setTime(c.getTime() + 1 * a);
document.cookie = t + "=" + e + ";expires=" + c.toUTCString() + ";path=/";
};
if (cc.sys.localStorage) {
cc.sys.localStorage.setItem("S_Check", "S_Check");
"S_Check" == cc.sys.localStorage.getItem("S_Check") && (n = !0);
}
var c = function() {
function t() {}
t.set = function(t, e) {
n ? cc.sys.localStorage.setItem(t, e) : a(t, e, "d3650");
};
t.get = function(t, e) {
var r;
r = n ? cc.sys.localStorage.getItem(t) : i(t);
var a = o(t), c = r;
r && r.constructor === String && ("number" == a ? c = Number(r) : "boolean" == a && (c = Boolean("true" === r)));
if (!c && !1 !== c && null != e) {
this.set(t, e);
return e;
}
return c;
};
t.remove = function(t) {
n ? cc.sys.localStorage.removeItem(t) : a(name, "", -1);
};
t.clear = function() {
cc.sys.localStorage.clear();
};
return t;
}();
r.default = c;
cc._RF.pop();
}, {} ],
SceneMgr: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "985bfBLugNMpKlAri2YeyJb", "SceneMgr");
var n = this && this.__awaiter || function(t, e, r, n) {
return new (r || (r = Promise))(function(o, i) {
function a(t) {
try {
s(n.next(t));
} catch (t) {
i(t);
}
}
function c(t) {
try {
s(n.throw(t));
} catch (t) {
i(t);
}
}
function s(t) {
t.done ? o(t.value) : (e = t.value, e instanceof r ? e : new r(function(t) {
t(e);
})).then(a, c);
var e;
}
s((n = n.apply(t, e || [])).next());
});
}, o = this && this.__generator || function(t, e) {
var r, n, o, i, a = {
label: 0,
sent: function() {
if (1 & o[0]) throw o[1];
return o[1];
},
trys: [],
ops: []
};
return i = {
next: c(0),
throw: c(1),
return: c(2)
}, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
return this;
}), i;
function c(t) {
return function(e) {
return s([ t, e ]);
};
}
function s(i) {
if (r) throw new TypeError("Generator is already executing.");
for (;a; ) try {
if (r = 1, n && (o = 2 & i[0] ? n.return : i[0] ? n.throw || ((o = n.return) && o.call(n), 
0) : n.next) && !(o = o.call(n, i[1])).done) return o;
(n = 0, o) && (i = [ 2 & i[0], o.value ]);
switch (i[0]) {
case 0:
case 1:
o = i;
break;

case 4:
a.label++;
return {
value: i[1],
done: !1
};

case 5:
a.label++;
n = i[1];
i = [ 0 ];
continue;

case 7:
i = a.ops.pop();
a.trys.pop();
continue;

default:
if (!(o = a.trys, o = o.length > 0 && o[o.length - 1]) && (6 === i[0] || 2 === i[0])) {
a = 0;
continue;
}
if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
a.label = i[1];
break;
}
if (6 === i[0] && a.label < o[1]) {
a.label = o[1];
o = i;
break;
}
if (o && a.label < o[2]) {
a.label = o[2];
a.ops.push(i);
break;
}
o[2] && a.ops.pop();
a.trys.pop();
continue;
}
i = e.call(t, a);
} catch (t) {
i = [ 6, t ];
n = 0;
} finally {
r = o = 0;
}
if (5 & i[0]) throw i[1];
return {
value: i[0] ? i[1] : void 0,
done: !0
};
}
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.SCENE_TYPE = void 0;
var i, a = t("./ResMgr"), c = t("../utils/Log");
(function(t) {
t[t.LOGON = 0] = "LOGON";
t[t.GAME = 1] = "GAME";
})(i = r.SCENE_TYPE || (r.SCENE_TYPE = {}));
var s = i.LOGON, u = function() {
function t() {}
t.prototype.setSceneType = function(t) {
s = t;
};
t.prototype.inGame = function() {
return s == i.GAME;
};
t.prototype.is = function(t) {
return s == t;
};
t.prototype.enterStart = function() {
cc.director.loadScene("StartScene");
};
t.prototype.enterLogon = function() {
return n(this, void 0, void 0, function() {
var t, e;
return o(this, function(r) {
switch (r.label) {
case 0:
if (this.is(i.LOGON)) return [ 3, 3 ];
t = cc.assetManager.bundles.find(function(t) {
return null != t.getSceneInfo("logonScene");
});
return (e = t) ? [ 3, 2 ] : [ 4, a.default.loadBundle("logon") ];

case 1:
e = r.sent();
r.label = 2;

case 2:
(t = e) && t.loadScene("logonScene", function(t, e) {
return cc.director.runScene(e);
});
r.label = 3;

case 3:
return [ 2 ];
}
});
});
};
t.prototype.enterGame = function() {
return n(this, void 0, void 0, function() {
var t, e, r;
return o(this, function(n) {
switch (n.label) {
case 0:
c.default.v("进入游戏场景-开始");
t = cc.sys.now();
if (this.is(i.GAME)) return [ 3, 3 ];
e = cc.assetManager.bundles.find(function(t) {
return null != t.getSceneInfo("gameScene");
});
return (r = e) ? [ 3, 2 ] : [ 4, a.default.loadBundle("game") ];

case 1:
r = n.sent();
n.label = 2;

case 2:
if (e = r) {
e.loadScene("gameScene", function(e, r) {
return cc.director.runScene(r, null, function() {
var e = cc.sys.now() - t;
c.default.v("进入游戏场景-完成, 耗时 " + e + "ms");
});
});
this.setSceneType(i.GAME);
}
n.label = 3;

case 3:
return [ 2 ];
}
});
});
};
t.inst = new t();
return t;
}();
r.default = u.inst;
cc._RF.pop();
}, {
"../utils/Log": "Log",
"./ResMgr": "ResMgr"
} ],
SetUtils: [ function(t, e) {
"use strict";
cc._RF.push(e, "086f8nWLDpBWb9gSACJdxRv", "SetUtils");
var r = this && this.__read || function(t, e) {
var r = "function" == typeof Symbol && t[Symbol.iterator];
if (!r) return t;
var n, o, i = r.call(t), a = [];
try {
for (;(void 0 === e || e-- > 0) && !(n = i.next()).done; ) a.push(n.value);
} catch (t) {
o = {
error: t
};
} finally {
try {
n && !n.done && (r = i.return) && r.call(i);
} finally {
if (o) throw o.error;
}
}
return a;
}, n = this && this.__spread || function() {
for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(r(arguments[e]));
return t;
};
Set.prototype.get = function(t) {
return Array.from(this)[t];
};
Set.prototype.remove = function(t) {
this.delete(t);
return this;
};
Set.prototype.addRange = function(t) {
for (var e = 0; e < t.size; e++) {
var r = t[e];
this.add(r);
}
return this;
};
Set.prototype.getRandom = function() {
return this[Math.floor(Math.random() * this.size)];
};
Set.prototype.shuffle = function() {
for (var t = -1, e = this.size, r = e - 1; ++t < e; ) {
var n = t + Math.floor(Math.random() * (r - t + 1)), o = this[n];
this[n] = this[t];
this[t] = o;
}
return this;
};
Set.prototype.overlaps = function(t) {
var e = !1;
this.forEach(function(r) {
t.has(r) && (e = !0);
});
return e;
};
(function() {
function t() {}
t.prototype.get = function(t, e) {
return Array.from(t)[e];
};
t.prototype.addRange = function(t, e) {
return new Set(n(t, e));
};
t.prototype.shuffle = function(t) {
t.shuffle();
};
t.prototype.remove = function(t, e) {
t.remove(e);
};
t.prototype.getRandom = function(t) {
t.getRandom();
};
t.prototype.overlaps = function(t, e) {
return t.overlaps(e);
};
t.inst = new t();
})();
cc._RF.pop();
}, {} ],
ShuFenReport: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "3bdb0zGo9JEALrYuM0k0oD0", "ShuFenReport");
var n = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var o = t("../../framework/lib/encrypt/crypto-js"), i = t("../../framework/main/Constants"), a = t("../../framework/net/http/Http"), c = t("../../framework/utils/Log"), s = t("../../framework/utils/PlatformUtils"), u = function() {
function t() {}
t.prototype.init = function() {
var t = this;
this.getAppid() && s.default.logon(function(e) {
var r = {
appid: t.getAppid(),
token: e
};
a.default.post("https://ddht.jinkezhexin.com/getChannelUserInfo?", r).then(function(e) {
var r;
if (e) {
var n = JSON.parse(e);
if (200 == (null == n ? void 0 : n.code)) {
c.default.v("获取openid成功：", n);
i.default.OPENID = null === (r = n.data) || void 0 === r ? void 0 : r.openid;
FIRST_PLAY && t.reportLoad(!0);
} else c.default.e("获取openid失败：", n);
}
}).catch(function(t) {
c.default.e("获取openid失败:", JSON.parse(t));
});
});
};
t.prototype.reportLoad = function(t, e) {
void 0 === e && (e = 0);
if (i.default.OPENID) {
var r = {
appid: this.getAppid(),
userId: i.default.OPENID,
event: "load",
timestamp: Math.floor(cc.sys.now() / 1e3),
len: e,
type: t ? 1 : 2
};
this.doReport(r);
}
};
t.prototype.reportVideo = function(t, e) {
void 0 === e && (e = 3);
if (i.default.OPENID) {
var r = {
appid: this.getAppid(),
userId: i.default.OPENID,
event: "video",
timestamp: Math.floor(cc.sys.now() / 1e3),
cid: t,
type: e
};
this.doReport(r);
}
};
t.prototype.reportGuide = function(t, e) {
if (i.default.OPENID) {
var r = {
appid: this.getAppid(),
userId: i.default.OPENID,
event: "guide",
timestamp: Math.floor(cc.sys.now() / 1e3),
cid: t,
type: e ? 1 : 2
};
this.doReport(r);
}
};
t.prototype.reportCustom = function(t) {
if (i.default.OPENID && t) {
var e = {
appid: this.getAppid(),
userId: i.default.OPENID,
event: "custom",
timestamp: Math.floor(cc.sys.now() / 1e3),
cid: t
};
this.doReport(e);
}
};
t.prototype.doReport = function(t) {
t.sign = this.sign(t);
a.default.post("https://ddht.jinkezhexin.com/shufen/writeLog", t).then(function(t) {
if (t) {
var e = JSON.parse(t);
200 == (null == e ? void 0 : e.code) || c.default.v("打点上报失败：", e);
}
}).catch(function(t) {
c.default.v("打点上报失败：:", JSON.parse(t));
});
};
t.prototype.getAppid = function() {
var t = "";
QQ_GAME || (WECHAT_GAME ? t = i.default.MODE == i.MODE_TYPE.LOCK ? "mjfrjlknpynz5e20exdf" : "mjsy955tle4td91jkb0n" : OPPO_GAME ? t = "mjbxuqsgj6xwj50a1w0g" : VIVO_GAME && (t = "mjegjp1wbidibsawpylg"));
return t;
};
t.prototype.getSecret = function() {
var t = "";
QQ_GAME || (WECHAT_GAME ? t = i.default.MODE == i.MODE_TYPE.LOCK ? "p8kali6qve1kiwig3577biek1jh5b8" : "ppckbi8ax9tf0j4n97rzgnmpogfn1a" : OPPO_GAME ? t = "ucynq3g49acfuexwc34r4b9huxvnbg" : VIVO_GAME && (t = "m2blc7ygr55k8p52muezwaapdbmb62"));
return t;
};
t.prototype.sign = function(t) {
var e, r, i = "", a = Object.keys(t).sort();
try {
for (var c = n(a), s = c.next(); !s.done; s = c.next()) {
var u = s.value;
i += u + "=" + t[u] + "&";
}
} catch (t) {
e = {
error: t
};
} finally {
try {
s && !s.done && (r = c.return) && r.call(c);
} finally {
if (e) throw e.error;
}
}
i += this.getSecret();
return o.MD5(i).toString();
};
t.inst = new t();
return t;
}();
r.default = u.inst;
cc._RF.pop();
}, {
"../../framework/lib/encrypt/crypto-js": "crypto-js",
"../../framework/main/Constants": "Constants",
"../../framework/net/http/Http": "Http",
"../../framework/utils/Log": "Log",
"../../framework/utils/PlatformUtils": "PlatformUtils"
} ],
SingleBase: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "34854KnFsdJ5am06tv1Qr/a", "SingleBase");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
function t() {}
t.getInstance = function() {
if (!this.instance) {
this.instance = new this();
this.instance.init && this.instance.init();
}
return this.instance;
};
return t;
}();
r.default = n;
cc._RF.pop();
}, {} ],
StringUtils: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "89276x1r0pKUo6lwey5i/gc", "StringUtils");
Object.defineProperty(r, "__esModule", {
value: !0
});
String.prototype.endWith || (String.prototype.endWith = function(t) {
var e = this.length - t.length;
return e >= 0 && this.lastIndexOf(t) == e;
});
String.prototype.toCharArray || (String.prototype.toCharArray = function() {
return this.split("");
});
String.prototype.repeat || (String.prototype.repeat = function(t) {
for (var e = [], r = 0; r < t; r++) e.push(this);
return e.join("");
});
String.prototype.reverse || (String.prototype.reverse = function() {
return this.split("").reverse().join("");
});
String.prototype.isInt = function() {
return "NaN" != this && this == parseInt(this.toString()).toString();
};
String.prototype.toInt = function() {
return isNaN(parseInt(this.toString())) ? this.toString() : parseInt(this.toString());
};
String.prototype.getRealLength = function() {
return this.replace(/[^x00-xff]/g, "--").length;
};
String.prototype.left = function(t) {
return this.slice(0, t);
};
String.prototype.right = function(t) {
return this.slice(this.length - t);
};
String.prototype.getFileName = function() {
return this.replace(/^.*\/([^\/\?]*).*$/, "$1");
};
String.prototype.getExtensionName = function() {
return this.replace(/^.*\/[^\/]*(\.[^\.\?]*).*$/, "$1");
};
String.prototype.equalIgnoreCase = function(t) {
var e = this.toLowerCase(), r = t.toLowerCase();
return e.equal(r);
};
String.prototype.isEmail = function() {
var t = this.toString();
/(\w+@\w+\.\w+)(\.{0,1}\w*)(\.{0,1}\w*)/i.exec(t);
return ("" != RegExp.$3 && "." != RegExp.$3 && "." != RegExp.$2 ? RegExp.$1 + RegExp.$2 + RegExp.$3 : "" != RegExp.$2 && "." != RegExp.$2 ? RegExp.$1 + RegExp.$2 : RegExp.$1) == t;
};
String.prototype.isNumber = function() {
return !!/^[0-9]+.?[0-9]*$/.test(this.toString());
};
String.prototype.format = function() {
var t = "";
if (arguments.length > 0) if (1 === arguments.length) arguments[0] && "string" == typeof arguments[0] ? t = arguments[0] : console.log("string format error"); else if (arguments[0] && "string" == typeof arguments[0]) for (var e = arguments[0], r = (arguments[1], 
e.toString().split(/(%0.2f|%d|%s)/g)), n = 0, o = 0; o < r.length; o++) {
var i = r[o];
if (/(%0.2f|%d|%s)/g.test(i)) {
var a = arguments[++n], c = arguments[n + 1];
if ("%0.2f" == i) {
a = Math.floor(a * Math.pow(10, 2)) / Math.pow(10, 2);
c && (a = parseFloat(a).toFixed(2));
}
"string" == typeof a || "number" == typeof a ? t += a : console.log("string format error");
} else t += i;
}
return t;
};
var n = function() {
function t() {}
t.inst = new t();
return t;
}();
r.default = n.inst;
cc._RF.pop();
}, {} ],
SystemCtrl: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "7377aE1CEtJ1abFQfjtzrHq", "SystemCtrl");
var n, o = this && this.__extends || (n = function(t, e) {
return (n = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(t, e) {
t.__proto__ = e;
} || function(t, e) {
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
})(t, e);
}, function(t, e) {
n(t, e);
function r() {
this.constructor = t;
}
t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, new r());
});
Object.defineProperty(r, "__esModule", {
value: !0
});
var i = t("../core/event/GlobalEvent"), a = t("../core/base/SingleBase"), c = t("./Constants"), s = t("../utils/Log"), u = t("../manager/AdaptMgr"), f = !1, l = function(t) {
o(e, t);
function e() {
return null !== t && t.apply(this, arguments) || this;
}
e.prototype.init = function() {
cc.view.setOrientation(cc.macro.ORIENTATION_PORTRAIT);
cc.debug.setDisplayStats(!1);
window.addEventListener("error", function() {});
cc.game.on(cc.game.EVENT_ENGINE_INITED, function() {
s.default.d("引擎初始化");
this.registerSystemEvent();
}, this);
cc.game.on(cc.game.EVENT_GAME_INITED, function() {
s.default.d("游戏脚本初始化");
}, this);
};
e.prototype.startup = function() {
if (!f) {
this.initGame();
c.default.IS_LOAD = !0;
f = !0;
}
};
e.prototype.initGame = function() {};
e.prototype.restart = function() {
this.clear();
cc.game.off("design-resolution-changed");
cc.game.restart();
};
e.prototype.clear = function() {
f = !1;
c.default.IS_LOAD = !1;
};
e.prototype.refresh = function() {
window.location.reload();
};
e.prototype.registerSystemEvent = function() {
cc.game.on(cc.game.EVENT_HIDE, function() {
if (c.default.IS_GAME_RUNNING) {
s.default.d("游戏进入后台");
i.default.hide();
}
}, this);
cc.game.on(cc.game.EVENT_SHOW, function() {
if (c.default.IS_GAME_RUNNING) {
s.default.d("重新返回游戏");
i.default.show();
}
}, this);
cc.view.on("design-resolution-changed", function() {
if (c.default.IS_NEED_ADAPT && c.default.IS_GAME_RUNNING) {
s.default.d("窗口分辨率改变");
i.default.adapt();
}
}, this);
cc.director.on(cc.Director.EVENT_BEFORE_SCENE_LOADING, function() {
c.default.IS_GAME_RUNNING && s.default.d("新场景开始加载");
}, this);
cc.director.on(cc.Director.EVENT_AFTER_SCENE_LAUNCH, function() {
if (c.default.IS_GAME_RUNNING) {
s.default.d("新场景开始运行");
i.default.adapt();
u.default.fitCanvas();
}
}, this);
cc.view.on("canvas-resize", function() {
if (c.default.IS_GAME_RUNNING) {
s.default.d("canvas-resize");
i.default.adapt();
}
}, this);
};
return e;
}(a.default);
r.default = l;
cc._RF.pop();
}, {
"../core/base/SingleBase": "SingleBase",
"../core/event/GlobalEvent": "GlobalEvent",
"../manager/AdaptMgr": "AdaptMgr",
"../utils/Log": "Log",
"./Constants": "Constants"
} ],
Tools: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "939eaUuOTBEOrukUqzJ8KCG", "Tools");
var n = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
var o = function() {
function t() {}
t.prototype.isEmpty = function(t) {
return null == t;
};
t.prototype.isObject = function(t) {
return "Object" == t.constructor.name;
};
t.prototype.isNumber = function(t) {
return !!/^[0-9]+.?[0-9]*$/.test(t);
};
t.prototype.fromJson = function(t, e) {
var r = this;
for (var n in t) if (Object.prototype.hasOwnProperty.call(e, n)) switch (this.checkType(e[n])) {
case "Object":
e[n] = this.clone(t[n]);
break;

case "Array":
e[n] = t[n].map(function(t) {
return r.clone(t);
});
break;

case "Map":
e[n] = new Map();
break;

case "Set":
e[n] = new Set();
break;

default:
e[n] = t[n];
}
return e;
};
t.prototype.clone = function(t) {
var e, r, o, i = this;
switch (this.checkType(t)) {
case "Object":
o = {};
for (var a in t) o[a] = this.clone(t[a]);
break;

case "Array":
o = t.map(function(t) {
return i.clone(t);
});
break;

case "Function":
o = new Function("return " + t.toString())();
break;

case "Date":
o = new Date(t.valueOf());
break;

case "RegExp":
o = new RegExp(t.valueOf());
break;

case "Map":
o = new Map();
t.forEach(function(t, e) {
o.set(e, i.clone(t));
});
break;

case "Set":
o = new Set();
try {
for (var c = n(t), s = c.next(); !s.done; s = c.next()) {
var u = s.value;
o.add(this.clone(u));
}
} catch (t) {
e = {
error: t
};
} finally {
try {
s && !s.done && (r = c.return) && r.call(c);
} finally {
if (e) throw e.error;
}
}
break;

default:
o = t;
}
return o;
};
t.prototype.checkType = function(t) {
return Object.prototype.toString.call(t).slice(8, -1);
};
t.prototype.parseUrl = function(t) {
var e = new Object();
if (-1 != t.indexOf("?")) for (var r = t.substr(1).split("&"), n = 0; n < r.length; n++) e[r[n].split("=")[0]] = unescape(r[n].split("=")[1]);
return e;
};
t.prototype.getDistance = function(t, e) {
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
};
t.prototype.getAngle = function(t, e) {
return Math.atan((e.y - t.y) / (e.x - t.x));
};
t.prototype.angleToRadian = function(t) {
return t * Math.PI / 180;
};
t.prototype.getAngleByVector = function(t) {
return 180 * Math.atan2(t.y, t.x) / Math.PI;
};
t.prototype.pointRoundPoint = function(t, e, r) {
var n = (t.x - e.x) * Math.cos(r) - (t.y - e.y) * Math.sin(r) + e.x, o = (t.x - e.x) * Math.sin(r) + (t.y - e.y) * Math.cos(r) + e.y;
return cc.v2(n, o);
};
t.prototype.is = function(t, e) {
var r = Object.prototype.toString.call(e).slice(8, -1);
return null != e && r === t;
};
t.inst = new t();
return t;
}();
r.default = o.inst;
cc._RF.pop();
}, {} ],
UiUtil: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "00bd9sQO4pJQrCOXi46+MSs", "UiUtil");
var n = this && this.__awaiter || function(t, e, r, n) {
return new (r || (r = Promise))(function(o, i) {
function a(t) {
try {
s(n.next(t));
} catch (t) {
i(t);
}
}
function c(t) {
try {
s(n.throw(t));
} catch (t) {
i(t);
}
}
function s(t) {
t.done ? o(t.value) : (e = t.value, e instanceof r ? e : new r(function(t) {
t(e);
})).then(a, c);
var e;
}
s((n = n.apply(t, e || [])).next());
});
}, o = this && this.__generator || function(t, e) {
var r, n, o, i, a = {
label: 0,
sent: function() {
if (1 & o[0]) throw o[1];
return o[1];
},
trys: [],
ops: []
};
return i = {
next: c(0),
throw: c(1),
return: c(2)
}, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
return this;
}), i;
function c(t) {
return function(e) {
return s([ t, e ]);
};
}
function s(i) {
if (r) throw new TypeError("Generator is already executing.");
for (;a; ) try {
if (r = 1, n && (o = 2 & i[0] ? n.return : i[0] ? n.throw || ((o = n.return) && o.call(n), 
0) : n.next) && !(o = o.call(n, i[1])).done) return o;
(n = 0, o) && (i = [ 2 & i[0], o.value ]);
switch (i[0]) {
case 0:
case 1:
o = i;
break;

case 4:
a.label++;
return {
value: i[1],
done: !1
};

case 5:
a.label++;
n = i[1];
i = [ 0 ];
continue;

case 7:
i = a.ops.pop();
a.trys.pop();
continue;

default:
if (!(o = a.trys, o = o.length > 0 && o[o.length - 1]) && (6 === i[0] || 2 === i[0])) {
a = 0;
continue;
}
if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
a.label = i[1];
break;
}
if (6 === i[0] && a.label < o[1]) {
a.label = o[1];
o = i;
break;
}
if (o && a.label < o[2]) {
a.label = o[2];
a.ops.push(i);
break;
}
o[2] && a.ops.pop();
a.trys.pop();
continue;
}
i = e.call(t, a);
} catch (t) {
i = [ 6, t ];
n = 0;
} finally {
r = o = 0;
}
if (5 & i[0]) throw i[1];
return {
value: i[0] ? i[1] : void 0,
done: !0
};
}
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.UiUtil = void 0;
var i = t("../manager/ResMgr"), a = t("./Log"), c = !1;
r.UiUtil = {
loadTexture: function(t, e) {
var r = i.default.getRes(e, cc.SpriteFrame);
if (r) {
if (!t.isValid || !r._texture) return;
t.node.active = !0;
t.spriteFrame = r;
} else i.default.loadRes(e, cc.SpriteFrame).then(function(e) {
if (t && t.isValid && e._texture) {
t.node.active = !0;
t.spriteFrame = e;
}
});
},
loadDragonBones: function(t, e, r, n, o, a) {
void 0 === r && (r = null);
void 0 === n && (n = "newAnimation");
void 0 === o && (o = 0);
void 0 === a && (a = null);
if (t && t.isValid) {
t.armatureName = "";
t.node.active = !1;
}
var c = e + "_ske", s = e + "_tex";
i.default.loadRes(s, dragonBones.DragonBonesAtlasAsset).then(function(s) {
t && t.isValid && (t.dragonAtlasAsset = s);
i.default.loadRes(c, dragonBones.DragonBonesAsset).then(function(i) {
if (t && t.isValid) {
t.dragonAsset = i;
var c = e.lastIndexOf("/");
r = -1 != c ? r || e.substring(c + 1) : r || e;
t.dragonAtlasAsset.name.replace("_tex", "") == t.dragonAsset.name.replace("_ske", "") && (t.armatureName = r);
if (n) {
t.playAnimation(n, o);
t.node.active = !0;
}
a && a();
}
});
});
},
loadSkeleton: function(t, e, r, n, o, a) {
void 0 === r && (r = 0);
void 0 === n && (n = "animation");
void 0 === o && (o = !0);
void 0 === a && (a = null);
i.default.loadRes(e, sp.SkeletonData).then(function(e) {
if (t && t.isValid) {
t.skeletonData = e;
n && t.setAnimation(r, n, o);
a && a();
}
});
},
openModule: function(t, e, r) {
return n(this, void 0, void 0, function() {
var n, s, u;
return o(this, function(o) {
switch (o.label) {
case 0:
e = e || cc.find("Canvas");
r = r || (t instanceof cc.Prefab ? t.name : t.substr(t.lastIndexOf("/") + 1));
a.default.d("moduleName:", r);
n = e.getChildByName(r);
c = !0;
if (cc.isValid(n, !0)) return [ 3, 4 ];
if (!(t instanceof cc.Prefab)) return [ 3, 1 ];
u = t;
return [ 3, 3 ];

case 1:
return [ 4, i.default.loadRes(t, cc.Prefab) ];

case 2:
u = o.sent();
o.label = 3;

case 3:
if (s = u) {
(n = cc.instantiate(s)).parent = e;
n.position = cc.Vec3.ZERO;
n.name = r;
}
o.label = 4;

case 4:
c = !1;
return [ 2, n ];
}
});
});
},
btnEnabel: function(t) {
var e = t.getCurrentTarget().getComponent(cc.Button);
e.interactable = !1;
setTimeout(function() {
e.interactable = !0;
}, 500);
},
allowOpenModule: function() {
return 0 == c;
}
};
cc._RF.pop();
}, {
"../manager/ResMgr": "ResMgr",
"./Log": "Log"
} ],
big: [ function(t, e) {
"use strict";
cc._RF.push(e, "39df93hoEtDd6bVOXhdABvK", "big");
(function() {
var t, r = 1e6, n = "[big.js] Invalid ", o = n + "decimal places", i = n + "rounding mode", a = {}, c = void 0, s = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
function u(t, e) {
var r, o, i;
if (0 === e && 1 / e < 0) e = "-0"; else if (!s.test(e += "")) throw Error(n + "number");
t.s = "-" == e.charAt(0) ? (e = e.slice(1), -1) : 1;
(r = e.indexOf(".")) > -1 && (e = e.replace(".", ""));
if ((o = e.search(/e/i)) > 0) {
r < 0 && (r = o);
r += +e.slice(o + 1);
e = e.substring(0, o);
} else r < 0 && (r = e.length);
i = e.length;
for (o = 0; o < i && "0" == e.charAt(o); ) ++o;
if (o == i) t.c = [ t.e = 0 ]; else {
for (;i > 0 && "0" == e.charAt(--i); ) ;
t.e = r - o - 1;
t.c = [];
for (r = 0; o <= i; ) t.c[r++] = +e.charAt(o++);
}
return t;
}
function f(t, e, r, n) {
var o = t.c, a = t.e + e + 1;
if (a < o.length) {
if (1 === r) n = o[a] >= 5; else if (2 === r) n = o[a] > 5 || 5 == o[a] && (n || a < 0 || o[a + 1] !== c || 1 & o[a - 1]); else if (3 === r) n = n || !!o[0]; else {
n = !1;
if (0 !== r) throw Error(i);
}
if (a < 1) {
o.length = 1;
if (n) {
t.e = -e;
o[0] = 1;
} else o[0] = t.e = 0;
} else {
o.length = a--;
if (n) for (;++o[a] > 9; ) {
o[a] = 0;
if (!a--) {
++t.e;
o.unshift(1);
}
}
for (a = o.length; !o[--a]; ) o.pop();
}
} else if (r < 0 || r > 3 || r !== ~~r) throw Error(i);
return t;
}
function l(t, e, i, a) {
var s, u, l = t.constructor, h = !t.c[0];
if (i !== c) {
if (i !== ~~i || i < (3 == e) || i > r) throw Error(3 == e ? n + "precision" : o);
i = a - (t = new l(t)).e;
t.c.length > ++a && f(t, i, l.RM);
2 == e && (a = t.e + i + 1);
for (;t.c.length < a; ) t.c.push(0);
}
s = t.e;
i = (u = t.c.join("")).length;
if (2 != e && (1 == e || 3 == e && a <= s || s <= l.NE || s >= l.PE)) u = u.charAt(0) + (i > 1 ? "." + u.slice(1) : "") + (s < 0 ? "e" : "e+") + s; else if (s < 0) {
for (;++s; ) u = "0" + u;
u = "0." + u;
} else if (s > 0) if (++s > i) for (s -= i; s--; ) u += "0"; else s < i && (u = u.slice(0, s) + "." + u.slice(s)); else i > 1 && (u = u.charAt(0) + "." + u.slice(1));
return t.s < 0 && (!h || 4 == e) ? "-" + u : u;
}
a.abs = function() {
var t = new this.constructor(this);
t.s = 1;
return t;
};
a.cmp = function(t) {
var e, r = this, n = r.c, o = (t = new r.constructor(t)).c, i = r.s, a = t.s, c = r.e, s = t.e;
if (!n[0] || !o[0]) return n[0] ? i : o[0] ? -a : 0;
if (i != a) return i;
e = i < 0;
if (c != s) return c > s ^ e ? 1 : -1;
a = (c = n.length) < (s = o.length) ? c : s;
for (i = -1; ++i < a; ) if (n[i] != o[i]) return n[i] > o[i] ^ e ? 1 : -1;
return c == s ? 0 : c > s ^ e ? 1 : -1;
};
a.div = function(t) {
var e = this, n = e.constructor, i = e.c, a = (t = new n(t)).c, s = e.s == t.s ? 1 : -1, u = n.DP;
if (u !== ~~u || u < 0 || u > r) throw Error(o);
if (!a[0]) throw Error("[big.js] Division by zero");
if (!i[0]) return new n(0 * s);
var l, h, p, d, y, v = a.slice(), g = l = a.length, _ = i.length, m = i.slice(0, l), b = m.length, w = t, S = w.c = [], O = 0, A = u + (w.e = e.e - t.e) + 1;
w.s = s;
s = A < 0 ? 0 : A;
v.unshift(0);
for (;b++ < l; ) m.push(0);
do {
for (p = 0; p < 10; p++) {
if (l != (b = m.length)) d = l > b ? 1 : -1; else for (y = -1, d = 0; ++y < l; ) if (a[y] != m[y]) {
d = a[y] > m[y] ? 1 : -1;
break;
}
if (!(d < 0)) break;
for (h = b == l ? a : v; b; ) {
if (m[--b] < h[b]) {
y = b;
for (;y && !m[--y]; ) m[y] = 9;
--m[y];
m[b] += 10;
}
m[b] -= h[b];
}
for (;!m[0]; ) m.shift();
}
S[O++] = d ? p : ++p;
m[0] && d ? m[b] = i[g] || 0 : m = [ i[g] ];
} while ((g++ < _ || m[0] !== c) && s--);
if (!S[0] && 1 != O) {
S.shift();
w.e--;
}
O > A && f(w, u, n.RM, m[0] !== c);
return w;
};
a.eq = function(t) {
return !this.cmp(t);
};
a.gt = function(t) {
return this.cmp(t) > 0;
};
a.gte = function(t) {
return this.cmp(t) > -1;
};
a.lt = function(t) {
return this.cmp(t) < 0;
};
a.lte = function(t) {
return this.cmp(t) < 1;
};
a.minus = a.sub = function(t) {
var e, r, n, o, i = this, a = i.constructor, c = i.s, s = (t = new a(t)).s;
if (c != s) {
t.s = -s;
return i.plus(t);
}
var u = i.c.slice(), f = i.e, l = t.c, h = t.e;
if (!u[0] || !l[0]) return l[0] ? (t.s = -s, t) : new a(u[0] ? i : 0);
if (c = f - h) {
if (o = c < 0) {
c = -c;
n = u;
} else {
h = f;
n = l;
}
n.reverse();
for (s = c; s--; ) n.push(0);
n.reverse();
} else {
r = ((o = u.length < l.length) ? u : l).length;
for (c = s = 0; s < r; s++) if (u[s] != l[s]) {
o = u[s] < l[s];
break;
}
}
if (o) {
n = u;
u = l;
l = n;
t.s = -t.s;
}
if ((s = (r = l.length) - (e = u.length)) > 0) for (;s--; ) u[e++] = 0;
for (s = e; r > c; ) {
if (u[--r] < l[r]) {
for (e = r; e && !u[--e]; ) u[e] = 9;
--u[e];
u[r] += 10;
}
u[r] -= l[r];
}
for (;0 === u[--s]; ) u.pop();
for (;0 === u[0]; ) {
u.shift();
--h;
}
if (!u[0]) {
t.s = 1;
u = [ h = 0 ];
}
t.c = u;
t.e = h;
return t;
};
a.mod = function(t) {
var e, r = this, n = r.constructor, o = r.s, i = (t = new n(t)).s;
if (!t.c[0]) throw Error("[big.js] Division by zero");
r.s = t.s = 1;
e = 1 == t.cmp(r);
r.s = o;
t.s = i;
if (e) return new n(r);
o = n.DP;
i = n.RM;
n.DP = n.RM = 0;
r = r.div(t);
n.DP = o;
n.RM = i;
return this.minus(r.times(t));
};
a.plus = a.add = function(t) {
var e, r = this, n = r.constructor, o = r.s, i = (t = new n(t)).s;
if (o != i) {
t.s = -i;
return r.minus(t);
}
var a = r.e, c = r.c, s = t.e, u = t.c;
if (!c[0] || !u[0]) return u[0] ? t : new n(c[0] ? r : 0 * o);
c = c.slice();
if (o = a - s) {
if (o > 0) {
s = a;
e = u;
} else {
o = -o;
e = c;
}
e.reverse();
for (;o--; ) e.push(0);
e.reverse();
}
if (c.length - u.length < 0) {
e = u;
u = c;
c = e;
}
o = u.length;
for (i = 0; o; c[o] %= 10) i = (c[--o] = c[o] + u[o] + i) / 10 | 0;
if (i) {
c.unshift(i);
++s;
}
for (o = c.length; 0 === c[--o]; ) c.pop();
t.c = c;
t.e = s;
return t;
};
a.pow = function(t) {
var e = this, r = new e.constructor(1), o = r, i = t < 0;
if (t !== ~~t || t < -1e6 || t > 1e6) throw Error(n + "exponent");
i && (t = -t);
for (;;) {
1 & t && (o = o.times(e));
if (!(t >>= 1)) break;
e = e.times(e);
}
return i ? r.div(o) : o;
};
a.round = function(t, e) {
var n = this.constructor;
if (t === c) t = 0; else if (t !== ~~t || t < -r || t > r) throw Error(o);
return f(new n(this), t, e === c ? n.RM : e);
};
a.sqrt = function() {
var t, e, r, n = this, o = n.constructor, i = n.s, a = n.e, c = new o(.5);
if (!n.c[0]) return new o(n);
if (i < 0) throw Error("[big.js] No square root");
if (0 === (i = Math.sqrt(n + "")) || i === 1 / 0) {
(e = n.c.join("")).length + a & 1 || (e += "0");
a = ((a + 1) / 2 | 0) - (a < 0 || 1 & a);
t = new o(((i = Math.sqrt(e)) == 1 / 0 ? "1e" : (i = i.toExponential()).slice(0, i.indexOf("e") + 1)) + a);
} else t = new o(i);
a = t.e + (o.DP += 4);
do {
r = t;
t = c.times(r.plus(n.div(r)));
} while (r.c.slice(0, a).join("") !== t.c.slice(0, a).join(""));
return f(t, o.DP -= 4, o.RM);
};
a.times = a.mul = function(t) {
var e, r = this, n = r.constructor, o = r.c, i = (t = new n(t)).c, a = o.length, c = i.length, s = r.e, u = t.e;
t.s = r.s == t.s ? 1 : -1;
if (!o[0] || !i[0]) return new n(0 * t.s);
t.e = s + u;
if (a < c) {
e = o;
o = i;
i = e;
u = a;
a = c;
c = u;
}
for (e = new Array(u = a + c); u--; ) e[u] = 0;
for (s = c; s--; ) {
c = 0;
for (u = a + s; u > s; ) {
c = e[u] + i[s] * o[u - s - 1] + c;
e[u--] = c % 10;
c = c / 10 | 0;
}
e[u] = (e[u] + c) % 10;
}
c ? ++t.e : e.shift();
for (s = e.length; !e[--s]; ) e.pop();
t.c = e;
return t;
};
a.toExponential = function(t) {
return l(this, 1, t, t);
};
a.toFixed = function(t) {
return l(this, 2, t, this.e + t);
};
a.toPrecision = function(t) {
return l(this, 3, t, t - 1);
};
a.toString = function() {
return l(this);
};
a.valueOf = a.toJSON = function() {
return l(this, 4);
};
(t = function t() {
function e(r) {
var n = this;
if (!(n instanceof e)) return r === c ? t() : new e(r);
if (r instanceof e) {
n.s = r.s;
n.e = r.e;
n.c = r.c.slice();
} else u(n, r);
n.constructor = e;
}
e.prototype = a;
e.DP = 20;
e.RM = 1;
e.NE = -7;
e.PE = 21;
e.version = "5.2.2";
return e;
}()).default = t.Big = t;
"function" == typeof define && define.amd ? define(function() {
return t;
}) : "undefined" != typeof e && e.exports ? e.exports = t : (void 0).Big = t;
})();
cc._RF.pop();
}, {} ],
"com-tools.es": [ function(t, e, r) {
(function(t) {
"use strict";
cc._RF.push(e, "e20c6PKMgVH9ZIsZ99CjBWd", "com-tools.es");
r.__esModule = !0;
r.Decide = void 0;
r.betterEval = function(t) {
return new Function('"use strict"; return (' + t + ")")();
};
r.copyConstructor = function(t) {
var e = oa(t);
e.prototype = ta(t.prototype);
e.prototype.constructor = e;
return e;
};
r.copyFunction = oa;
r.createControllablePromise = Wi;
r.createFunctionBy = ca;
r.createSingleton = function(t) {
return function e() {
var r = this && this instanceof e ? this.constructor : void 0;
return r ? new (Zi(t).apply(t, na([ void 0 ], arguments)))() : t.apply(this, arguments);
};
};
r.createUniqueIdentifier = function() {
return new Date().getTime().toString() + Math.random();
};
r.defineListenableProperties = function(t, e, r) {
var n, o = e;
Ln(e) && (o = Fn(e).call(e, function(t, e) {
t[e] = r;
return t;
}, {}));
xn(n = bn(o)).call(n, function(e) {
var r = o[e];
zi(t, e, r);
});
return t;
};
r.defineListenableProperty = zi;
r.defineListenablePropertyGetter = function(t, e, r, n) {
var o = "_" + e;
if (n) var i = r; else i = r ? function() {
var t = this || window;
!t[o] && r && (t[e] = r.call(t, t));
return t[o];
} : function() {
return (this || window)[o];
};
li(t, e, {
configurable: !0,
enumerable: !0,
get: i
});
};
r.defineProxyProperties = function(t, e, r, n) {
var o, i = r;
Ln(r) && (i = Fn(r).call(r, function(t, e) {
t[e] = n;
return t;
}, {}));
xn(o = bn(i)).call(o, function(r) {
var n = i[r];
Vi(t, e, r, n);
});
return t;
};
r.defineProxyProperty = Vi;
r.isEqualByJSON = function(t, e) {
return ji(t) == ji(e);
};
r.multipleLoop = Hi;
r.safelyIterate = function(t, e, r) {
null == r && (r = t);
var n, o = [], i = Fi(t);
try {
for (i.s(); !(n = i.n()).done; ) {
var a = n.value;
o.push(a);
}
} catch (t) {
i.e(t);
} finally {
i.f();
}
return Ei(o).call(o, function(n) {
var o, i = mi(o = this).call(o, n);
return e.call(r, n, i, t);
}, o);
};
var n = function(t) {
try {
return !!t();
} catch (t) {
return !0;
}
}, o = {}.toString, i = function(t) {
return o.call(t).slice(8, -1);
}, a = "".split, c = n(function() {
return !Object("z").propertyIsEnumerable(0);
}) ? function(t) {
return "String" == i(t) ? a.call(t, "") : Object(t);
} : Object, s = function(t) {
if (null == t) throw TypeError("Can't call method on " + t);
return t;
}, u = function(t) {
return c(s(t));
}, f = {}, l = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof t ? t : "undefined" != typeof self ? self : {};
function h(t) {
var e = {
exports: {}
};
return t(e, e.exports), e.exports;
}
var p = function(t) {
return t && t.Math == Math && t;
}, d = p("object" == typeof globalThis && globalThis) || p("object" == typeof window && window) || p("object" == typeof self && self) || p("object" == typeof l && l) || function() {
return this;
}() || Function("", "return this")(), y = !n(function() {
return 7 != Object.defineProperty({}, 1, {
get: function() {
return 7;
}
})[1];
}), v = function(t) {
return "object" == typeof t ? null !== t : "function" == typeof t;
}, g = d.document, _ = v(g) && v(g.createElement), m = function(t) {
return _ ? g.createElement(t) : {};
}, b = !y && !n(function() {
return 7 != Object.defineProperty(m("div"), "a", {
get: function() {
return 7;
}
}).a;
}), w = function(t) {
if (!v(t)) throw TypeError(String(t) + " is not an object");
return t;
}, S = function(t, e) {
if (!v(t)) return t;
var r, n;
if (e && "function" == typeof (r = t.toString) && !v(n = r.call(t))) return n;
if ("function" == typeof (r = t.valueOf) && !v(n = r.call(t))) return n;
if (!e && "function" == typeof (r = t.toString) && !v(n = r.call(t))) return n;
throw TypeError("Can't convert object to primitive value");
}, O = Object.defineProperty, A = {
f: y ? O : function(t, e, r) {
w(t);
e = S(e, !0);
w(r);
if (b) try {
return O(t, e, r);
} catch (t) {}
if ("get" in r || "set" in r) throw TypeError("Accessors not supported");
"value" in r && (t[e] = r.value);
return t;
}
}, E = function(t, e) {
return {
enumerable: !(1 & t),
configurable: !(2 & t),
writable: !(4 & t),
value: e
};
}, M = y ? function(t, e, r) {
return A.f(t, e, E(1, r));
} : function(t, e, r) {
t[e] = r;
return t;
}, P = d["__core-js_shared__"] || function(t, e) {
try {
M(d, t, e);
} catch (r) {
d[t] = e;
}
return e;
}("__core-js_shared__", {}), C = Function.toString;
"function" != typeof P.inspectSource && (P.inspectSource = function(t) {
return C.call(t);
});
var x, R, T, I = P.inspectSource, k = d.WeakMap, B = "function" == typeof k && /native code/.test(I(k)), D = {}.hasOwnProperty, N = function(t, e) {
return D.call(t, e);
}, j = h(function(t) {
(t.exports = function(t, e) {
return P[t] || (P[t] = void 0 !== e ? e : {});
})("versions", []).push({
version: "3.8.3",
mode: "pure",
copyright: "© 2021 Denis Pushkarev (zloirock.ru)"
});
}), F = 0, L = Math.random(), U = function(t) {
return "Symbol(" + String(void 0 === t ? "" : t) + ")_" + (++F + L).toString(36);
}, H = j("keys"), G = function(t) {
return H[t] || (H[t] = U(t));
}, z = {}, W = d.WeakMap;
if (B) {
var V = P.state || (P.state = new W()), J = V.get, q = V.has, K = V.set;
x = function(t, e) {
e.facade = t;
K.call(V, t, e);
return e;
};
R = function(t) {
return J.call(V, t) || {};
};
T = function(t) {
return q.call(V, t);
};
} else {
var Y = G("state");
z[Y] = !0;
x = function(t, e) {
e.facade = t;
M(t, Y, e);
return e;
};
R = function(t) {
return N(t, Y) ? t[Y] : {};
};
T = function(t) {
return N(t, Y);
};
}
var X, $, Z, Q = {
set: x,
get: R,
has: T,
enforce: function(t) {
return T(t) ? R(t) : x(t, {});
},
getterFor: function(t) {
return function(e) {
var r;
if (!v(e) || (r = R(e)).type !== t) throw TypeError("Incompatible receiver, " + t + " required");
return r;
};
}
}, tt = {}.propertyIsEnumerable, et = Object.getOwnPropertyDescriptor, rt = {
f: et && !tt.call({
1: 2
}, 1) ? function(t) {
var e = et(this, t);
return !!e && e.enumerable;
} : tt
}, nt = Object.getOwnPropertyDescriptor, ot = {
f: y ? nt : function(t, e) {
t = u(t);
e = S(e, !0);
if (b) try {
return nt(t, e);
} catch (t) {}
if (N(t, e)) return E(!rt.f.call(t, e), t[e]);
}
}, it = /#|\.prototype\./, at = function(t, e) {
var r = st[ct(t)];
return r == ft || r != ut && ("function" == typeof e ? n(e) : !!e);
}, ct = at.normalize = function(t) {
return String(t).replace(it, ".").toLowerCase();
}, st = at.data = {}, ut = at.NATIVE = "N", ft = at.POLYFILL = "P", lt = at, ht = {}, pt = function(t) {
if ("function" != typeof t) throw TypeError(String(t) + " is not a function");
return t;
}, dt = function(t, e, r) {
pt(t);
if (void 0 === e) return t;
switch (r) {
case 0:
return function() {
return t.call(e);
};

case 1:
return function(r) {
return t.call(e, r);
};

case 2:
return function(r, n) {
return t.call(e, r, n);
};

case 3:
return function(r, n, o) {
return t.call(e, r, n, o);
};
}
return function() {
return t.apply(e, arguments);
};
}, yt = ot.f, vt = function(t) {
var e = function(e, r, n) {
if (this instanceof t) {
switch (arguments.length) {
case 0:
return new t();

case 1:
return new t(e);

case 2:
return new t(e, r);
}
return new t(e, r, n);
}
return t.apply(this, arguments);
};
e.prototype = t.prototype;
return e;
}, gt = function(t, e) {
var r, n, o, i, a, c, s, u, f = t.target, l = t.global, h = t.stat, p = t.proto, y = l ? d : h ? d[f] : (d[f] || {}).prototype, v = l ? ht : ht[f] || (ht[f] = {}), g = v.prototype;
for (o in e) {
r = !lt(l ? o : f + (h ? "." : "#") + o, t.forced) && y && N(y, o);
a = v[o];
r && (c = t.noTargetGet ? (u = yt(y, o)) && u.value : y[o]);
i = r && c ? c : e[o];
if (!r || typeof a != typeof i) {
s = t.bind && r ? dt(i, d) : t.wrap && r ? vt(i) : p && "function" == typeof i ? dt(Function.call, i) : i;
(t.sham || i && i.sham || a && a.sham) && M(s, "sham", !0);
v[o] = s;
if (p) {
N(ht, n = f + "Prototype") || M(ht, n, {});
ht[n][o] = i;
t.real && g && !g[o] && M(g, o, i);
}
}
}
}, _t = function(t) {
return Object(s(t));
}, mt = !n(function() {
function t() {}
t.prototype.constructor = null;
return Object.getPrototypeOf(new t()) !== t.prototype;
}), bt = G("IE_PROTO"), wt = Object.prototype, St = mt ? Object.getPrototypeOf : function(t) {
t = _t(t);
return N(t, bt) ? t[bt] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? wt : null;
}, Ot = !!Object.getOwnPropertySymbols && !n(function() {
return !String(Symbol());
}), At = Ot && !Symbol.sham && "symbol" == typeof Symbol.iterator, Et = j("wks"), Mt = d.Symbol, Pt = At ? Mt : Mt && Mt.withoutSetter || U, Ct = function(t) {
N(Et, t) || (Ot && N(Mt, t) ? Et[t] = Mt[t] : Et[t] = Pt("Symbol." + t));
return Et[t];
}, xt = Ct("iterator"), Rt = !1;
[].keys && ("next" in (Z = [].keys()) ? ($ = St(St(Z))) !== Object.prototype && (X = $) : Rt = !0);
var Tt = null == X || n(function() {
var t = {};
return X[xt].call(t) !== t;
});
Tt && (X = {});
Tt && !N(X, xt) && M(X, xt, function() {
return this;
});
var It, kt = {
IteratorPrototype: X,
BUGGY_SAFARI_ITERATORS: Rt
}, Bt = Math.ceil, Dt = Math.floor, Nt = function(t) {
return isNaN(t = +t) ? 0 : (t > 0 ? Dt : Bt)(t);
}, jt = Math.min, Ft = function(t) {
return t > 0 ? jt(Nt(t), 9007199254740991) : 0;
}, Lt = Math.max, Ut = Math.min, Ht = function(t, e) {
var r = Nt(t);
return r < 0 ? Lt(r + e, 0) : Ut(r, e);
}, Gt = function(t) {
return function(e, r, n) {
var o, i = u(e), a = Ft(i.length), c = Ht(n, a);
if (t && r != r) {
for (;a > c; ) if ((o = i[c++]) != o) return !0;
} else for (;a > c; c++) if ((t || c in i) && i[c] === r) return t || c || 0;
return !t && -1;
};
}, zt = {
includes: Gt(!0),
indexOf: Gt(!1)
}, Wt = zt.indexOf, Vt = function(t, e) {
var r, n = u(t), o = 0, i = [];
for (r in n) !N(z, r) && N(n, r) && i.push(r);
for (;e.length > o; ) N(n, r = e[o++]) && (~Wt(i, r) || i.push(r));
return i;
}, Jt = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ], qt = Object.keys || function(t) {
return Vt(t, Jt);
}, Kt = y ? Object.defineProperties : function(t, e) {
w(t);
for (var r, n = qt(e), o = n.length, i = 0; o > i; ) A.f(t, r = n[i++], e[r]);
return t;
}, Yt = function(t) {
return "function" == typeof t ? t : void 0;
}, Xt = function(t, e) {
return arguments.length < 2 ? Yt(ht[t]) || Yt(d[t]) : ht[t] && ht[t][e] || d[t] && d[t][e];
}, $t = Xt("document", "documentElement"), Zt = G("IE_PROTO"), Qt = function() {}, te = function(t) {
return "<script>" + t + "<\/script>";
}, ee = function(t) {
t.write(te(""));
t.close();
var e = t.parentWindow.Object;
t = null;
return e;
}, re = function() {
var t, e = m("iframe");
e.style.display = "none";
$t.appendChild(e);
e.src = String("javascript:");
(t = e.contentWindow.document).open();
t.write(te("document.F=Object"));
t.close();
return t.F;
}, ne = function() {
try {
It = document.domain && new ActiveXObject("htmlfile");
} catch (t) {}
ne = It ? ee(It) : re();
for (var t = Jt.length; t--; ) delete ne.prototype[Jt[t]];
return ne();
};
z[Zt] = !0;
var oe = Object.create || function(t, e) {
var r;
if (null !== t) {
Qt.prototype = w(t);
r = new Qt();
Qt.prototype = null;
r[Zt] = t;
} else r = ne();
return void 0 === e ? r : Kt(r, e);
}, ie = {};
ie[Ct("toStringTag")] = "z";
var ae = "[object z]" === String(ie), ce = Ct("toStringTag"), se = "Arguments" == i(function() {
return arguments;
}()), ue = function(t, e) {
try {
return t[e];
} catch (t) {}
}, fe = ae ? i : function(t) {
var e, r, n;
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (r = ue(e = Object(t), ce)) ? r : se ? i(e) : "Object" == (n = i(e)) && "function" == typeof e.callee ? "Arguments" : n;
}, le = ae ? {}.toString : function() {
return "[object " + fe(this) + "]";
}, he = A.f, pe = Ct("toStringTag"), de = function(t, e, r, n) {
if (t) {
var o = r ? t : t.prototype;
N(o, pe) || he(o, pe, {
configurable: !0,
value: e
});
n && !ae && M(o, "toString", le);
}
}, ye = kt.IteratorPrototype, ve = function() {
return this;
}, ge = function(t, e, r) {
var n = e + " Iterator";
t.prototype = oe(ye, {
next: E(1, r)
});
de(t, n, !1, !0);
f[n] = ve;
return t;
}, _e = function(t) {
if (!v(t) && null !== t) throw TypeError("Can't set " + String(t) + " as a prototype");
return t;
}, me = Object.setPrototypeOf || ("__proto__" in {} ? function() {
var t, e = !1, r = {};
try {
(t = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(r, []);
e = r instanceof Array;
} catch (t) {}
return function(r, n) {
w(r);
_e(n);
e ? t.call(r, n) : r.__proto__ = n;
return r;
};
}() : void 0), be = function(t, e, r, n) {
n && n.enumerable ? t[e] = r : M(t, e, r);
}, we = kt.IteratorPrototype, Se = kt.BUGGY_SAFARI_ITERATORS, Oe = Ct("iterator"), Ae = function() {
return this;
}, Ee = function(t, e, r, n, o, i, a) {
ge(r, e, n);
var c, s, u, l = function(t) {
if (t === o && v) return v;
if (!Se && t in d) return d[t];
switch (t) {
case "keys":
case "values":
case "entries":
return function() {
return new r(this, t);
};
}
return function() {
return new r(this);
};
}, h = e + " Iterator", p = !1, d = t.prototype, y = d[Oe] || d["@@iterator"] || o && d[o], v = !Se && y || l(o), g = "Array" == e && d.entries || y;
if (g) {
c = St(g.call(new t()));
if (we !== Object.prototype && c.next) {
de(c, h, !0, !0);
f[h] = Ae;
}
}
if ("values" == o && y && "values" !== y.name) {
p = !0;
v = function() {
return y.call(this);
};
}
a && d[Oe] !== v && M(d, Oe, v);
f[e] = v;
if (o) {
s = {
values: l("values"),
keys: i ? v : l("keys"),
entries: l("entries")
};
if (a) for (u in s) !Se && !p && u in d || be(d, u, s[u]); else gt({
target: e,
proto: !0,
forced: Se || p
}, s);
}
return s;
}, Me = Q.set, Pe = Q.getterFor("Array Iterator");
Ee(Array, "Array", function(t, e) {
Me(this, {
type: "Array Iterator",
target: u(t),
index: 0,
kind: e
});
}, function() {
var t = Pe(this), e = t.target, r = t.kind, n = t.index++;
if (!e || n >= e.length) {
t.target = void 0;
return {
value: void 0,
done: !0
};
}
return "keys" == r ? {
value: n,
done: !1
} : "values" == r ? {
value: e[n],
done: !1
} : {
value: [ n, e[n] ],
done: !1
};
}, "values");
f.Arguments = f.Array;
var Ce = Ct("toStringTag");
for (var xe in {
CSSRuleList: 0,
CSSStyleDeclaration: 0,
CSSValueList: 0,
ClientRectList: 0,
DOMRectList: 0,
DOMStringList: 0,
DOMTokenList: 1,
DataTransferItemList: 0,
FileList: 0,
HTMLAllCollection: 0,
HTMLCollection: 0,
HTMLFormElement: 0,
HTMLSelectElement: 0,
MediaList: 0,
MimeTypeArray: 0,
NamedNodeMap: 0,
NodeList: 1,
PaintRequestList: 0,
Plugin: 0,
PluginArray: 0,
SVGLengthList: 0,
SVGNumberList: 0,
SVGPathSegList: 0,
SVGPointList: 0,
SVGStringList: 0,
SVGTransformList: 0,
SourceBufferList: 0,
StyleSheetList: 0,
TextTrackCueList: 0,
TextTrackList: 0,
TouchList: 0
}) {
var Re = d[xe], Te = Re && Re.prototype;
Te && fe(Te) !== Ce && M(Te, Ce, xe);
f[xe] = f.Array;
}
var Ie = function(t) {
return function(e, r) {
var n, o, i = String(s(e)), a = Nt(r), c = i.length;
return a < 0 || a >= c ? t ? "" : void 0 : (n = i.charCodeAt(a)) < 55296 || n > 56319 || a + 1 === c || (o = i.charCodeAt(a + 1)) < 56320 || o > 57343 ? t ? i.charAt(a) : n : t ? i.slice(a, a + 2) : o - 56320 + (n - 55296 << 10) + 65536;
};
}, ke = (Ie(!1), Ie(!0)), Be = Q.set, De = Q.getterFor("String Iterator");
Ee(String, "String", function(t) {
Be(this, {
type: "String Iterator",
string: String(t),
index: 0
});
}, function() {
var t, e = De(this), r = e.string, n = e.index;
if (n >= r.length) return {
value: void 0,
done: !0
};
t = ke(r, n);
e.index += t.length;
return {
value: t,
done: !1
};
});
var Ne, je, Fe = Ct("iterator"), Le = function(t) {
if (null != t) return t[Fe] || t["@@iterator"] || f[fe(t)];
}, Ue = function(t) {
var e = Le(t);
if ("function" != typeof e) throw TypeError(String(t) + " is not iterable");
return w(e.call(t));
}, He = Le, Ge = Array.isArray || function(t) {
return "Array" == i(t);
}, ze = function(t, e, r) {
var n = S(e);
n in t ? A.f(t, n, E(0, r)) : t[n] = r;
}, We = Ct("species"), Ve = function(t, e) {
var r;
Ge(t) && ("function" != typeof (r = t.constructor) || r !== Array && !Ge(r.prototype) ? v(r) && null === (r = r[We]) && (r = void 0) : r = void 0);
return new (void 0 === r ? Array : r)(0 === e ? 0 : e);
}, Je = Xt("navigator", "userAgent") || "", qe = d.process, Ke = qe && qe.versions, Ye = Ke && Ke.v8;
Ye ? je = (Ne = Ye.split("."))[0] + Ne[1] : Je && (!(Ne = Je.match(/Edge\/(\d+)/)) || Ne[1] >= 74) && (Ne = Je.match(/Chrome\/(\d+)/)) && (je = Ne[1]);
var Xe = je && +je, $e = Ct("species"), Ze = function(t) {
return Xe >= 51 || !n(function() {
var e = [];
(e.constructor = {})[$e] = function() {
return {
foo: 1
};
};
return 1 !== e[t](Boolean).foo;
});
}, Qe = Ct("isConcatSpreadable"), tr = Xe >= 51 || !n(function() {
var t = [];
t[Qe] = !1;
return t.concat()[0] !== t;
}), er = Ze("concat"), rr = function(t) {
if (!v(t)) return !1;
var e = t[Qe];
return void 0 !== e ? !!e : Ge(t);
};
gt({
target: "Array",
proto: !0,
forced: !tr || !er
}, {
concat: function() {
var t, e, r, n, o, i = _t(this), a = Ve(i, 0), c = 0;
for (t = -1, r = arguments.length; t < r; t++) {
o = -1 === t ? i : arguments[t];
if (rr(o)) {
if (c + (n = Ft(o.length)) > 9007199254740991) throw TypeError("Maximum allowed index exceeded");
for (e = 0; e < n; e++, c++) e in o && ze(a, c, o[e]);
} else {
if (c >= 9007199254740991) throw TypeError("Maximum allowed index exceeded");
ze(a, c++, o);
}
}
a.length = c;
return a;
}
});
var nr = Jt.concat("length", "prototype"), or = {
f: Object.getOwnPropertyNames || function(t) {
return Vt(t, nr);
}
}, ir = or.f, ar = {}.toString, cr = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], sr = function(t) {
try {
return ir(t);
} catch (t) {
return cr.slice();
}
}, ur = {
f: function(t) {
return cr && "[object Window]" == ar.call(t) ? sr(t) : ir(u(t));
}
}, fr = {
f: Object.getOwnPropertySymbols
}, lr = {
f: Ct
}, hr = A.f, pr = function(t) {
var e = ht.Symbol || (ht.Symbol = {});
N(e, t) || hr(e, t, {
value: lr.f(t)
});
}, dr = [].push, yr = function(t) {
var e = 1 == t, r = 2 == t, n = 3 == t, o = 4 == t, i = 6 == t, a = 7 == t, s = 5 == t || i;
return function(u, f, l, h) {
for (var p, d, y = _t(u), v = c(y), g = dt(f, l, 3), _ = Ft(v.length), m = 0, b = h || Ve, w = e ? b(u, _) : r || a ? b(u, 0) : void 0; _ > m; m++) if (s || m in v) {
d = g(p = v[m], m, y);
if (t) if (e) w[m] = d; else if (d) switch (t) {
case 3:
return !0;

case 5:
return p;

case 6:
return m;

case 2:
dr.call(w, p);
} else switch (t) {
case 4:
return !1;

case 7:
dr.call(w, p);
}
}
return i ? -1 : n || o ? o : w;
};
}, vr = {
forEach: yr(0),
map: yr(1),
filter: yr(2),
some: yr(3),
every: yr(4),
find: yr(5),
findIndex: yr(6),
filterOut: yr(7)
}, gr = vr.forEach, _r = G("hidden"), mr = Ct("toPrimitive"), br = Q.set, wr = Q.getterFor("Symbol"), Sr = Object.prototype, Or = d.Symbol, Ar = Xt("JSON", "stringify"), Er = ot.f, Mr = A.f, Pr = ur.f, Cr = rt.f, xr = j("symbols"), Rr = j("op-symbols"), Tr = j("string-to-symbol-registry"), Ir = j("symbol-to-string-registry"), kr = j("wks"), Br = d.QObject, Dr = !Br || !Br.prototype || !Br.prototype.findChild, Nr = y && n(function() {
return 7 != oe(Mr({}, "a", {
get: function() {
return Mr(this, "a", {
value: 7
}).a;
}
})).a;
}) ? function(t, e, r) {
var n = Er(Sr, e);
n && delete Sr[e];
Mr(t, e, r);
n && t !== Sr && Mr(Sr, e, n);
} : Mr, jr = function(t, e) {
var r = xr[t] = oe(Or.prototype);
br(r, {
type: "Symbol",
tag: t,
description: e
});
y || (r.description = e);
return r;
}, Fr = At ? function(t) {
return "symbol" == typeof t;
} : function(t) {
return Object(t) instanceof Or;
}, Lr = function(t, e, r) {
t === Sr && Lr(Rr, e, r);
w(t);
var n = S(e, !0);
w(r);
if (N(xr, n)) {
if (r.enumerable) {
N(t, _r) && t[_r][n] && (t[_r][n] = !1);
r = oe(r, {
enumerable: E(0, !1)
});
} else {
N(t, _r) || Mr(t, _r, E(1, {}));
t[_r][n] = !0;
}
return Nr(t, n, r);
}
return Mr(t, n, r);
}, Ur = function(t, e) {
w(t);
var r = u(e), n = qt(r).concat(Wr(r));
gr(n, function(e) {
y && !Hr.call(r, e) || Lr(t, e, r[e]);
});
return t;
}, Hr = function(t) {
var e = S(t, !0), r = Cr.call(this, e);
return !(this === Sr && N(xr, e) && !N(Rr, e)) && (!(r || !N(this, e) || !N(xr, e) || N(this, _r) && this[_r][e]) || r);
}, Gr = function(t, e) {
var r = u(t), n = S(e, !0);
if (r !== Sr || !N(xr, n) || N(Rr, n)) {
var o = Er(r, n);
!o || !N(xr, n) || N(r, _r) && r[_r][n] || (o.enumerable = !0);
return o;
}
}, zr = function(t) {
var e = Pr(u(t)), r = [];
gr(e, function(t) {
N(xr, t) || N(z, t) || r.push(t);
});
return r;
}, Wr = function(t) {
var e = t === Sr, r = Pr(e ? Rr : u(t)), n = [];
gr(r, function(t) {
!N(xr, t) || e && !N(Sr, t) || n.push(xr[t]);
});
return n;
};
if (!Ot) {
be((Or = function() {
if (this instanceof Or) throw TypeError("Symbol is not a constructor");
var t = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0, e = U(t), r = function t(r) {
this === Sr && t.call(Rr, r);
N(this, _r) && N(this[_r], e) && (this[_r][e] = !1);
Nr(this, e, E(1, r));
};
y && Dr && Nr(Sr, e, {
configurable: !0,
set: r
});
return jr(e, t);
}).prototype, "toString", function() {
return wr(this).tag;
});
be(Or, "withoutSetter", function(t) {
return jr(U(t), t);
});
rt.f = Hr;
A.f = Lr;
ot.f = Gr;
or.f = ur.f = zr;
fr.f = Wr;
lr.f = function(t) {
return jr(Ct(t), t);
};
y && Mr(Or.prototype, "description", {
configurable: !0,
get: function() {
return wr(this).description;
}
});
}
gt({
global: !0,
wrap: !0,
forced: !Ot,
sham: !Ot
}, {
Symbol: Or
});
gr(qt(kr), function(t) {
pr(t);
});
gt({
target: "Symbol",
stat: !0,
forced: !Ot
}, {
for: function(t) {
var e = String(t);
if (N(Tr, e)) return Tr[e];
var r = Or(e);
Tr[e] = r;
Ir[r] = e;
return r;
},
keyFor: function(t) {
if (!Fr(t)) throw TypeError(t + " is not a symbol");
if (N(Ir, t)) return Ir[t];
},
useSetter: function() {
Dr = !0;
},
useSimple: function() {
Dr = !1;
}
});
gt({
target: "Object",
stat: !0,
forced: !Ot,
sham: !y
}, {
create: function(t, e) {
return void 0 === e ? oe(t) : Ur(oe(t), e);
},
defineProperty: Lr,
defineProperties: Ur,
getOwnPropertyDescriptor: Gr
});
gt({
target: "Object",
stat: !0,
forced: !Ot
}, {
getOwnPropertyNames: zr,
getOwnPropertySymbols: Wr
});
gt({
target: "Object",
stat: !0,
forced: n(function() {
fr.f(1);
})
}, {
getOwnPropertySymbols: function(t) {
return fr.f(_t(t));
}
});
if (Ar) {
var Vr = !Ot || n(function() {
var t = Or();
return "[null]" != Ar([ t ]) || "{}" != Ar({
a: t
}) || "{}" != Ar(Object(t));
});
gt({
target: "JSON",
stat: !0,
forced: Vr
}, {
stringify: function(t, e) {
for (var r, n = [ t ], o = 1; arguments.length > o; ) n.push(arguments[o++]);
r = e;
if ((v(e) || void 0 !== t) && !Fr(t)) {
Ge(e) || (e = function(t, e) {
"function" == typeof r && (e = r.call(this, t, e));
if (!Fr(e)) return e;
});
n[1] = e;
return Ar.apply(null, n);
}
}
});
}
Or.prototype[mr] || M(Or.prototype, mr, Or.prototype.valueOf);
de(Or, "Symbol");
z[_r] = !0;
pr("asyncIterator");
pr("hasInstance");
pr("isConcatSpreadable");
pr("iterator");
pr("match");
pr("matchAll");
pr("replace");
pr("search");
pr("species");
pr("split");
pr("toPrimitive");
pr("toStringTag");
pr("unscopables");
de(d.JSON, "JSON", !0);
var Jr = ht.Symbol, qr = function(t) {
var e = t.return;
if (void 0 !== e) return w(e.call(t)).value;
}, Kr = function(t, e, r, n) {
try {
return n ? e(w(r)[0], r[1]) : e(r);
} catch (e) {
qr(t);
throw e;
}
}, Yr = Ct("iterator"), Xr = Array.prototype, $r = function(t) {
return void 0 !== t && (f.Array === t || Xr[Yr] === t);
}, Zr = Ct("iterator"), Qr = !1;
try {
var tn = 0, en = {
next: function() {
return {
done: !!tn++
};
},
return: function() {
Qr = !0;
}
};
en[Zr] = function() {
return this;
};
Array.from(en, function() {
throw 2;
});
} catch (t) {}
var rn = function(t, e) {
if (!e && !Qr) return !1;
var r = !1;
try {
var n = {};
n[Zr] = function() {
return {
next: function() {
return {
done: r = !0
};
}
};
};
t(n);
} catch (t) {}
return r;
}, nn = !rn(function(t) {
Array.from(t);
});
gt({
target: "Array",
stat: !0,
forced: nn
}, {
from: function(t) {
var e, r, n, o, i, a, c = _t(t), s = "function" == typeof this ? this : Array, u = arguments.length, f = u > 1 ? arguments[1] : void 0, l = void 0 !== f, h = Le(c), p = 0;
l && (f = dt(f, u > 2 ? arguments[2] : void 0, 2));
if (null == h || s == Array && $r(h)) {
r = new s(e = Ft(c.length));
for (;e > p; p++) {
a = l ? f(c[p], p) : c[p];
ze(r, p, a);
}
} else {
i = (o = h.call(c)).next;
r = new s();
for (;!(n = i.call(o)).done; p++) {
a = l ? Kr(o, f, [ n.value, p ], !0) : n.value;
ze(r, p, a);
}
}
r.length = p;
return r;
}
});
var on = ht.Array.from, an = Object.defineProperty, cn = {}, sn = function(t) {
throw t;
}, un = function(t, e) {
if (N(cn, t)) return cn[t];
e || (e = {});
var r = [][t], o = !!N(e, "ACCESSORS") && e.ACCESSORS, i = N(e, 0) ? e[0] : sn, a = N(e, 1) ? e[1] : void 0;
return cn[t] = !!r && !n(function() {
if (o && !y) return !0;
var t = {
length: -1
};
o ? an(t, 1, {
enumerable: !0,
get: sn
}) : t[1] = 1;
r.call(t, i, a);
});
}, fn = Ze("slice"), ln = un("slice", {
ACCESSORS: !0,
0: 0,
1: 2
}), hn = Ct("species"), pn = [].slice, dn = Math.max;
gt({
target: "Array",
proto: !0,
forced: !fn || !ln
}, {
slice: function(t, e) {
var r, n, o, i = u(this), a = Ft(i.length), c = Ht(t, a), s = Ht(void 0 === e ? a : e, a);
if (Ge(i)) {
"function" != typeof (r = i.constructor) || r !== Array && !Ge(r.prototype) ? v(r) && null === (r = r[hn]) && (r = void 0) : r = void 0;
if (r === Array || void 0 === r) return pn.call(i, c, s);
}
n = new (void 0 === r ? Array : r)(dn(s - c, 0));
for (o = 0; c < s; c++, o++) c in i && ze(n, o, i[c]);
n.length = o;
return n;
}
});
var yn = function(t) {
return ht[t + "Prototype"];
}, vn = yn("Array").slice, gn = Array.prototype, _n = function(t) {
var e = t.slice;
return t === gn || t instanceof Array && e === gn.slice ? vn : e;
}, mn = n(function() {
qt(1);
});
gt({
target: "Object",
stat: !0,
forced: mn
}, {
keys: function(t) {
return qt(_t(t));
}
});
var bn = ht.Object.keys, wn = function(t, e) {
var r = [][t];
return !!r && n(function() {
r.call(null, e || function() {
throw 1;
}, 1);
});
}, Sn = vr.forEach, On = wn("forEach"), An = un("forEach"), En = On && An ? [].forEach : function(t) {
return Sn(this, t, arguments.length > 1 ? arguments[1] : void 0);
};
gt({
target: "Array",
proto: !0,
forced: [].forEach != En
}, {
forEach: En
});
var Mn = yn("Array").forEach, Pn = Array.prototype, Cn = {
DOMTokenList: !0,
NodeList: !0
}, xn = function(t) {
var e = t.forEach;
return t === Pn || t instanceof Array && e === Pn.forEach || Cn.hasOwnProperty(fe(t)) ? Mn : e;
}, Rn = function(t) {
return function(e, r, n, o) {
pt(r);
var i = _t(e), a = c(i), s = Ft(i.length), u = t ? s - 1 : 0, f = t ? -1 : 1;
if (n < 2) for (;;) {
if (u in a) {
o = a[u];
u += f;
break;
}
u += f;
if (t ? u < 0 : s <= u) throw TypeError("Reduce of empty array with no initial value");
}
for (;t ? u >= 0 : s > u; u += f) u in a && (o = r(o, a[u], u, i));
return o;
};
}, Tn = {
left: Rn(!1),
right: Rn(!0)
}, In = "process" == i(d.process), kn = Tn.left, Bn = wn("reduce"), Dn = un("reduce", {
1: 0
});
gt({
target: "Array",
proto: !0,
forced: !Bn || !Dn || !In && Xe > 79 && Xe < 83
}, {
reduce: function(t) {
return kn(this, t, arguments.length, arguments.length > 1 ? arguments[1] : void 0);
}
});
var Nn = yn("Array").reduce, jn = Array.prototype, Fn = function(t) {
var e = t.reduce;
return t === jn || t instanceof Array && e === jn.reduce ? Nn : e;
};
gt({
target: "Array",
stat: !0
}, {
isArray: Ge
});
var Ln = ht.Array.isArray, Un = function(t, e) {
this.stopped = t;
this.result = e;
}, Hn = function(t, e, r) {
var n, o, i, a, c, s, u, f = r && r.that, l = !(!r || !r.AS_ENTRIES), h = !(!r || !r.IS_ITERATOR), p = !(!r || !r.INTERRUPTED), d = dt(e, f, 1 + l + p), y = function(t) {
n && qr(n);
return new Un(!0, t);
}, v = function(t) {
if (l) {
w(t);
return p ? d(t[0], t[1], y) : d(t[0], t[1]);
}
return p ? d(t, y) : d(t);
};
if (h) n = t; else {
if ("function" != typeof (o = Le(t))) throw TypeError("Target is not iterable");
if ($r(o)) {
for (i = 0, a = Ft(t.length); a > i; i++) if ((c = v(t[i])) && c instanceof Un) return c;
return new Un(!1);
}
n = o.call(t);
}
s = n.next;
for (;!(u = s.call(n)).done; ) {
try {
c = v(u.value);
} catch (t) {
qr(n);
throw t;
}
if ("object" == typeof c && c && c instanceof Un) return c;
}
return new Un(!1);
}, Gn = function(t, e) {
var r = this;
if (!(r instanceof Gn)) return new Gn(t, e);
me && (r = me(new Error(void 0), St(r)));
void 0 !== e && M(r, "message", String(e));
var n = [];
Hn(t, n.push, {
that: n
});
M(r, "errors", n);
return r;
};
Gn.prototype = oe(Error.prototype, {
constructor: E(5, Gn),
message: E(5, ""),
name: E(5, "AggregateError")
});
gt({
global: !0
}, {
AggregateError: Gn
});
var zn, Wn, Vn, Jn = d.Promise, qn = Ct("species"), Kn = function(t, e, r) {
if (!(t instanceof e)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation");
return t;
}, Yn = Ct("species"), Xn = function(t, e) {
var r, n = w(t).constructor;
return void 0 === n || null == (r = w(n)[Yn]) ? e : pt(r);
}, $n = /(iphone|ipod|ipad).*applewebkit/i.test(Je), Zn = d.location, Qn = d.setImmediate, to = d.clearImmediate, eo = d.process, ro = d.MessageChannel, no = d.Dispatch, oo = 0, io = {}, ao = function(t) {
if (io.hasOwnProperty(t)) {
var e = io[t];
delete io[t];
e();
}
}, co = function(t) {
return function() {
ao(t);
};
}, so = function(t) {
ao(t.data);
}, uo = function(t) {
d.postMessage(t + "", Zn.protocol + "//" + Zn.host);
};
if (!Qn || !to) {
Qn = function(t) {
for (var e = [], r = 1; arguments.length > r; ) e.push(arguments[r++]);
io[++oo] = function() {
("function" == typeof t ? t : Function(t)).apply(void 0, e);
};
zn(oo);
return oo;
};
to = function(t) {
delete io[t];
};
if (In) zn = function(t) {
eo.nextTick(co(t));
}; else if (no && no.now) zn = function(t) {
no.now(co(t));
}; else if (ro && !$n) {
Vn = (Wn = new ro()).port2;
Wn.port1.onmessage = so;
zn = dt(Vn.postMessage, Vn, 1);
} else if (d.addEventListener && "function" == typeof postMessage && !d.importScripts && Zn && "file:" !== Zn.protocol && !n(uo)) {
zn = uo;
d.addEventListener("message", so, !1);
} else zn = "onreadystatechange" in m("script") ? function(t) {
$t.appendChild(m("script")).onreadystatechange = function() {
$t.removeChild(this);
ao(t);
};
} : function(t) {
setTimeout(co(t), 0);
};
}
var fo, lo, ho, po, yo, vo, go, _o, mo = {
set: Qn,
clear: to
}, bo = /web0s(?!.*chrome)/i.test(Je), wo = ot.f, So = mo.set, Oo = d.MutationObserver || d.WebKitMutationObserver, Ao = d.document, Eo = d.process, Mo = d.Promise, Po = wo(d, "queueMicrotask"), Co = Po && Po.value;
if (!Co) {
fo = function() {
var t, e;
In && (t = Eo.domain) && t.exit();
for (;lo; ) {
e = lo.fn;
lo = lo.next;
try {
e();
} catch (t) {
lo ? po() : ho = void 0;
throw t;
}
}
ho = void 0;
t && t.enter();
};
if ($n || In || bo || !Oo || !Ao) if (Mo && Mo.resolve) {
go = Mo.resolve(void 0);
_o = go.then;
po = function() {
_o.call(go, fo);
};
} else po = In ? function() {
Eo.nextTick(fo);
} : function() {
So.call(d, fo);
}; else {
yo = !0;
vo = Ao.createTextNode("");
new Oo(fo).observe(vo, {
characterData: !0
});
po = function() {
vo.data = yo = !yo;
};
}
}
var xo = Co || function(t) {
var e = {
fn: t,
next: void 0
};
ho && (ho.next = e);
if (!lo) {
lo = e;
po();
}
ho = e;
}, Ro = function(t) {
var e, r;
this.promise = new t(function(t, n) {
if (void 0 !== e || void 0 !== r) throw TypeError("Bad Promise constructor");
e = t;
r = n;
});
this.resolve = pt(e);
this.reject = pt(r);
}, To = {
f: function(t) {
return new Ro(t);
}
}, Io = function(t, e) {
w(t);
if (v(e) && e.constructor === t) return e;
var r = To.f(t);
(0, r.resolve)(e);
return r.promise;
}, ko = function(t, e) {
var r = d.console;
r && r.error && (1 === arguments.length ? r.error(t) : r.error(t, e));
}, Bo = function(t) {
try {
return {
error: !1,
value: t()
};
} catch (t) {
return {
error: !0,
value: t
};
}
}, Do = mo.set, No = Ct("species"), jo = "Promise", Fo = Q.get, Lo = Q.set, Uo = Q.getterFor(jo), Ho = Jn, Go = d.TypeError, zo = d.document, Wo = d.process;
Xt("fetch");
var Vo, Jo, qo, Ko = To.f, Yo = Ko, Xo = !!(zo && zo.createEvent && d.dispatchEvent), $o = "function" == typeof PromiseRejectionEvent, Zo = lt(jo, function() {
if (I(Ho) === String(Ho)) {
if (66 === Xe) return !0;
if (!In && !$o) return !0;
}
if (!Ho.prototype.finally) return !0;
if (Xe >= 51 && /native code/.test(Ho)) return !1;
var t = Ho.resolve(1), e = function(t) {
t(function() {}, function() {});
};
(t.constructor = {})[No] = e;
return !(t.then(function() {}) instanceof e);
}), Qo = Zo || !rn(function(t) {
Ho.all(t).catch(function() {});
}), ti = function(t) {
var e;
return !(!v(t) || "function" != typeof (e = t.then)) && e;
}, ei = function(t, e) {
if (!t.notified) {
t.notified = !0;
var r = t.reactions;
xo(function() {
for (var n = t.value, o = 1 == t.state, i = 0; r.length > i; ) {
var a, c, s, u = r[i++], f = o ? u.ok : u.fail, l = u.resolve, h = u.reject, p = u.domain;
try {
if (f) {
if (!o) {
2 === t.rejection && ii(t);
t.rejection = 1;
}
if (!0 === f) a = n; else {
p && p.enter();
a = f(n);
if (p) {
p.exit();
s = !0;
}
}
a === u.promise ? h(Go("Promise-chain cycle")) : (c = ti(a)) ? c.call(a, l, h) : l(a);
} else h(n);
} catch (t) {
p && !s && p.exit();
h(t);
}
}
t.reactions = [];
t.notified = !1;
e && !t.rejection && ni(t);
});
}
}, ri = function(t, e, r) {
var n, o;
if (Xo) {
(n = zo.createEvent("Event")).promise = e;
n.reason = r;
n.initEvent(t, !1, !0);
d.dispatchEvent(n);
} else n = {
promise: e,
reason: r
};
!$o && (o = d["on" + t]) ? o(n) : "unhandledrejection" === t && ko("Unhandled promise rejection", r);
}, ni = function(t) {
Do.call(d, function() {
var e, r = t.facade, n = t.value;
if (oi(t)) {
e = Bo(function() {
In ? Wo.emit("unhandledRejection", n, r) : ri("unhandledrejection", r, n);
});
t.rejection = In || oi(t) ? 2 : 1;
if (e.error) throw e.value;
}
});
}, oi = function(t) {
return 1 !== t.rejection && !t.parent;
}, ii = function(t) {
Do.call(d, function() {
var e = t.facade;
In ? Wo.emit("rejectionHandled", e) : ri("rejectionhandled", e, t.value);
});
}, ai = function(t, e, r) {
return function(n) {
t(e, n, r);
};
}, ci = function(t, e, r) {
if (!t.done) {
t.done = !0;
r && (t = r);
t.value = e;
t.state = 2;
ei(t, !0);
}
}, si = function t(e, r, n) {
if (!e.done) {
e.done = !0;
n && (e = n);
try {
if (e.facade === r) throw Go("Promise can't be resolved itself");
var o = ti(r);
if (o) xo(function() {
var n = {
done: !1
};
try {
o.call(r, ai(t, n, e), ai(ci, n, e));
} catch (t) {
ci(n, t, e);
}
}); else {
e.value = r;
e.state = 1;
ei(e, !1);
}
} catch (t) {
ci({
done: !1
}, t, e);
}
}
};
if (Zo) {
Ho = function(t) {
Kn(this, Ho, jo);
pt(t);
Vo.call(this);
var e = Fo(this);
try {
t(ai(si, e), ai(ci, e));
} catch (t) {
ci(e, t);
}
};
(Vo = function() {
Lo(this, {
type: jo,
done: !1,
notified: !1,
parent: !1,
reactions: [],
rejection: !1,
state: 0,
value: void 0
});
}).prototype = function(t, e) {
for (var r in e) be(t, r, e[r], void 0);
return t;
}(Ho.prototype, {
then: function(t, e) {
var r = Uo(this), n = Ko(Xn(this, Ho));
n.ok = "function" != typeof t || t;
n.fail = "function" == typeof e && e;
n.domain = In ? Wo.domain : void 0;
r.parent = !0;
r.reactions.push(n);
0 != r.state && ei(r, !1);
return n.promise;
},
catch: function(t) {
return this.then(void 0, t);
}
});
Jo = function() {
var t = new Vo(), e = Fo(t);
this.promise = t;
this.resolve = ai(si, e);
this.reject = ai(ci, e);
};
To.f = Ko = function(t) {
return t === Ho || t === qo ? new Jo(t) : Yo(t);
};
}
gt({
global: !0,
wrap: !0,
forced: Zo
}, {
Promise: Ho
});
de(Ho, jo, !1, !0);
(function() {
var t = Xt("Promise"), e = A.f;
y && t && !t[qn] && e(t, qn, {
configurable: !0,
get: function() {
return this;
}
});
})();
qo = Xt(jo);
gt({
target: jo,
stat: !0,
forced: Zo
}, {
reject: function(t) {
var e = Ko(this);
e.reject.call(void 0, t);
return e.promise;
}
});
gt({
target: jo,
stat: !0,
forced: !0
}, {
resolve: function(t) {
return Io(this === qo ? Ho : this, t);
}
});
gt({
target: jo,
stat: !0,
forced: Qo
}, {
all: function(t) {
var e = this, r = Ko(e), n = r.resolve, o = r.reject, i = Bo(function() {
var r = pt(e.resolve), i = [], a = 0, c = 1;
Hn(t, function(t) {
var s = a++, u = !1;
i.push(void 0);
c++;
r.call(e, t).then(function(t) {
if (!u) {
u = !0;
i[s] = t;
--c || n(i);
}
}, o);
});
--c || n(i);
});
i.error && o(i.value);
return r.promise;
},
race: function(t) {
var e = this, r = Ko(e), n = r.reject, o = Bo(function() {
var o = pt(e.resolve);
Hn(t, function(t) {
o.call(e, t).then(r.resolve, n);
});
});
o.error && n(o.value);
return r.promise;
}
});
gt({
target: "Promise",
stat: !0
}, {
allSettled: function(t) {
var e = this, r = To.f(e), n = r.resolve, o = r.reject, i = Bo(function() {
var r = pt(e.resolve), o = [], i = 0, a = 1;
Hn(t, function(t) {
var c = i++, s = !1;
o.push(void 0);
a++;
r.call(e, t).then(function(t) {
if (!s) {
s = !0;
o[c] = {
status: "fulfilled",
value: t
};
--a || n(o);
}
}, function(t) {
if (!s) {
s = !0;
o[c] = {
status: "rejected",
reason: t
};
--a || n(o);
}
});
});
--a || n(o);
});
i.error && o(i.value);
return r.promise;
}
});
gt({
target: "Promise",
stat: !0
}, {
any: function(t) {
var e = this, r = To.f(e), n = r.resolve, o = r.reject, i = Bo(function() {
var r = pt(e.resolve), i = [], a = 0, c = 1, s = !1;
Hn(t, function(t) {
var u = a++, f = !1;
i.push(void 0);
c++;
r.call(e, t).then(function(t) {
if (!f && !s) {
s = !0;
n(t);
}
}, function(t) {
if (!f && !s) {
f = !0;
i[u] = t;
--c || o(new (Xt("AggregateError"))(i, "No one promise resolved"));
}
});
});
--c || o(new (Xt("AggregateError"))(i, "No one promise resolved"));
});
i.error && o(i.value);
return r.promise;
}
});
var ui = !!Jn && n(function() {
Jn.prototype.finally.call({
then: function() {}
}, function() {});
});
gt({
target: "Promise",
proto: !0,
real: !0,
forced: ui
}, {
finally: function(t) {
var e = Xn(this, Xt("Promise")), r = "function" == typeof t;
return this.then(r ? function(r) {
return Io(e, t()).then(function() {
return r;
});
} : t, r ? function(r) {
return Io(e, t()).then(function() {
throw r;
});
} : t);
}
});
var fi = ht.Promise;
gt({
target: "Object",
stat: !0,
forced: !y,
sham: !y
}, {
defineProperty: A.f
});
var li = h(function(t) {
var e = ht.Object, r = t.exports = function(t, r, n) {
return e.defineProperty(t, r, n);
};
e.defineProperty.sham && (r.sham = !0);
}), hi = zt.indexOf, pi = [].indexOf, di = !!pi && 1 / [ 1 ].indexOf(1, -0) < 0, yi = wn("indexOf"), vi = un("indexOf", {
ACCESSORS: !0,
1: 0
});
gt({
target: "Array",
proto: !0,
forced: di || !yi || !vi
}, {
indexOf: function(t) {
return di ? pi.apply(this, arguments) || 0 : hi(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
});
var gi = yn("Array").indexOf, _i = Array.prototype, mi = function(t) {
var e = t.indexOf;
return t === _i || t instanceof Array && e === _i.indexOf ? gi : e;
}, bi = vr.filter, wi = Ze("filter"), Si = un("filter");
gt({
target: "Array",
proto: !0,
forced: !wi || !Si
}, {
filter: function(t) {
return bi(this, t, arguments.length > 1 ? arguments[1] : void 0);
}
});
var Oi = yn("Array").filter, Ai = Array.prototype, Ei = function(t) {
var e = t.filter;
return t === Ai || t instanceof Array && e === Ai.filter ? Oi : e;
};
gt({
target: "Object",
stat: !0,
forced: !y,
sham: !y
}, {
defineProperties: Kt
});
var Mi = h(function(t) {
var e = ht.Object, r = t.exports = function(t, r) {
return e.defineProperties(t, r);
};
e.defineProperties.sham && (r.sham = !0);
}), Pi = [].slice, Ci = /MSIE .\./.test(Je), xi = function(t) {
return function(e, r) {
var n = arguments.length > 2, o = n ? Pi.call(arguments, 2) : void 0;
return t(n ? function() {
("function" == typeof e ? e : Function(e)).apply(this, o);
} : e, r);
};
};
gt({
global: !0,
bind: !0,
forced: Ci
}, {
setTimeout: xi(d.setTimeout),
setInterval: xi(d.setInterval)
});
var Ri = ht.setTimeout, Ti = Xt("JSON", "stringify"), Ii = /[\uD800-\uDFFF]/g, ki = /^[\uD800-\uDBFF]$/, Bi = /^[\uDC00-\uDFFF]$/, Di = function(t, e, r) {
var n = r.charAt(e - 1), o = r.charAt(e + 1);
return ki.test(t) && !Bi.test(o) || Bi.test(t) && !ki.test(n) ? "\\u" + t.charCodeAt(0).toString(16) : t;
}, Ni = n(function() {
return '"\\udf06\\ud834"' !== Ti("\udf06\ud834") || '"\\udead"' !== Ti("\udead");
});
Ti && gt({
target: "JSON",
stat: !0,
forced: Ni
}, {
stringify: function() {
var t = Ti.apply(null, arguments);
return "string" == typeof t ? t.replace(Ii, Di) : t;
}
});
ht.JSON || (ht.JSON = {
stringify: JSON.stringify
});
var ji = function() {
return ht.JSON.stringify.apply(null, arguments);
};
function Fi(t, e) {
var r;
if ("undefined" == typeof Jr || null == He(t)) {
if (Ln(t) || (r = Li(t)) || e && t && "number" == typeof t.length) {
r && (t = r);
var n = 0, o = function() {};
return {
s: o,
n: function() {
return n >= t.length ? {
done: !0
} : {
done: !1,
value: t[n++]
};
},
e: function(t) {
throw t;
},
f: o
};
}
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 i, a = !0, c = !1;
return {
s: function() {
r = Ue(t);
},
n: function() {
var t = r.next();
a = t.done;
return t;
},
e: function(t) {
c = !0;
i = t;
},
f: function() {
try {
a || null == r.return || r.return();
} finally {
if (c) throw i;
}
}
};
}
function Li(t, e) {
var r;
if (t) {
if ("string" == typeof t) return Ui(t, e);
var n = _n(r = Object.prototype.toString.call(t)).call(r, 8, -1);
"Object" === n && t.constructor && (n = t.constructor.name);
return "Map" === n || "Set" === n ? on(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ui(t, e) : void 0;
}
}
function Ui(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
return n;
}
function Hi(t) {
var e = t.loopCall, r = t.complete, n = t.stepComplete, o = t.thisValue, i = t.total, a = void 0 === i ? Number.POSITIVE_INFINITY : i, c = t.step, s = void 0 === c ? 50 : c, u = t.delay, f = void 0 === u ? 0 : u, l = 0, h = 0, p = !1;
function d(t) {
if (t) {
p = t;
r && r.call(o, p, l, h, a);
}
}
function y() {
var t = l < a;
!t && r && r.call(o, !1, l - 1, h, a);
return t;
}
var v = null;
y() && function t() {
h++;
for (var r = Math.min(l + s, a); l < r && !p; ) {
d(e.call(o, l, h, a));
l++;
}
n && d(n.call(o, l - 1, h, a));
y() && !p && (v = Ri(t, f));
}();
return function(t) {
t || (t = !0);
clearTimeout(v);
d(t);
};
}
var Gi = {
multipleLoop: {
configurable: !0,
writable: !0,
enumerable: !1,
value: function(t) {
var e = this, r = t.loopCall, n = t.complete, o = t.stepComplete, i = t.thisValue, a = t.step, c = t.delay;
i && (i = this);
var s = {
loopCall: function(t, n) {
return r.call(i, e[t], t, n, e);
},
total: this.length,
step: a,
delay: c
};
n && (s.complete = function(t, r, o) {
return n.call(i, t, r, o, e);
});
o && (s.stepComplete = function(t, r) {
return o.call(i, t, r, e);
});
return Hi(s);
}
}
};
Mi(Array.prototype, Gi);
function zi(t, e, r) {
var n = r || {}, o = n.ready, i = void 0 === o ? e + "Ready" : o, a = n.noEvent, c = n.event, s = void 0 === c ? e + "Change" : c, u = n.newValueKey, f = void 0 === u ? "value" : u, l = n.oldValueKey, h = void 0 === l ? "oldValue" : l, p = n.getDefault, d = "_" + i, y = "_" + e;
li(t, i, {
configurable: !0,
enumerable: !0,
get: function() {
var t = this || window;
if (!t[d]) {
var e = t[y];
t[d] = e ? fi.resolve(e) : Wi();
}
return t[d];
},
set: function(t) {
(this || window)[d] = t;
}
});
if (p) var v = function() {
var t = this || window;
!t[y] && p && (t[e] = p.call(t, t));
return t[y];
}; else v = function() {
return (this || window)[y];
};
if (a) var g = function(t) {
var e = this || window;
if (t && t !== e[y]) {
e[y] = t;
var r = e[i];
r.resolve ? r.resolve(t) : e[i] = fi.resolve(t);
}
}; else g = function(t) {
var e = this || window;
if (t && t !== e[y]) {
var r = e[y];
e[y] = t;
var n = e[i];
n.resolve ? n.resolve(t) : e[i] = fi.resolve(t);
var o = new Event(s, {
bubbles: !0
});
o[f] = t;
o[h] = r;
window.dispatchEvent(o);
}
};
li(t, e, {
configurable: !0,
enumerable: !0,
get: v,
set: g
});
return t;
}
function Wi(t, e) {
var r = "function" == typeof t;
r && null == e && (e = !0);
var n = {};
function o() {
c.resolve = void 0;
c.reject = void 0;
c.clearAdditions = void 0;
}
function i(t) {
o();
n.resolve(t);
}
function a(t) {
o();
n.reject(t);
}
var c = new fi(function(o, c) {
n.resolve = o;
n.reject = c;
if (r) {
if (!e) return t(i, a);
Ri(t, 0, i, a);
}
});
c.clearAdditions = o;
c.resolve = i;
c.reject = a;
return c;
}
function Vi(t, e, r, n) {
var o = n || {}, i = o.get, a = void 0 === i || i, c = o.set, s = void 0 === c || c, u = o.configurable, f = void 0 === u || u, l = o.enumerable, h = void 0 === l || l, p = o.getDefault, d = o.setDefault, y = {
configurable: f,
enumerable: h
};
a && (y.get = function() {
var t = e[r];
return void 0 === t ? p : t;
});
s && (y.set = function(t) {
t = void 0 === t ? d : t;
e[r] = t;
});
li(t, r, y);
return t;
}
var Ji = [].slice, qi = {}, Ki = function(t, e, r) {
if (!(e in qi)) {
for (var n = [], o = 0; o < e; o++) n[o] = "a[" + o + "]";
qi[e] = Function("C,a", "return new C(" + n.join(",") + ")");
}
return qi[e](t, r);
}, Yi = Function.bind || function(t) {
var e = pt(this), r = Ji.call(arguments, 1), n = function() {
var o = r.concat(Ji.call(arguments));
return this instanceof n ? Ki(e, o.length, o) : e.apply(t, o);
};
v(e.prototype) && (n.prototype = e.prototype);
return n;
};
gt({
target: "Function",
proto: !0
}, {
bind: Yi
});
var Xi = yn("Function").bind, $i = Function.prototype, Zi = function(t) {
var e = t.bind;
return t === $i || t instanceof Function && e === $i.bind ? Xi : e;
};
gt({
target: "Object",
stat: !0,
sham: !y
}, {
create: oe
});
var Qi = ht.Object, ta = function(t, e) {
return Qi.create(t, e);
};
function ea(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function ra(t, e) {
var r = "function" == typeof Symbol && t[Symbol.iterator];
if (!r) return t;
var n, o, i = r.call(t), a = [];
try {
for (;(void 0 === e || e-- > 0) && !(n = i.next()).done; ) a.push(n.value);
} catch (t) {
o = {
error: t
};
} finally {
try {
n && !n.done && (r = i.return) && r.call(i);
} finally {
if (o) throw o.error;
}
}
return a;
}
function na() {
for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(ra(arguments[e]));
return t;
}
function oa(t) {
return ca(t.toString(), t.name, !0);
}
var ia = /(^\s*(async\s+)?function\s*(\s|\*)\s*)[A-Za-z_$]+[\w$]*(\s*\()/, aa = /^[A-Za-z_$]+[\w$]*$/;
function ca(t, e, r) {
var n = ia, o = aa, i = n.test(t), a = e && o.test(e);
i && a && !r && (t = t.replace(n, "$1" + e + "$4"));
if (!i && a) var c = '"use strict"; var ' + e + " = " + t + " ; return " + e; else c = '"use strict"; return (' + t + ")";
return new Function(c)();
}
var sa = function() {
function t() {
this._decided = !1;
this.listeners = [];
}
li(t.prototype, "decided", {
get: function() {
return this._decided;
},
enumerable: !1,
configurable: !0
});
li(t.prototype, "value", {
get: function() {
return this._value;
},
set: function(t) {
this._value = t;
this.resolve();
},
enumerable: !1,
configurable: !0
});
t.prototype.resolve = function() {
var t, e;
this._decided = !0;
var r = this.value;
try {
for (var n = ea(this.listeners), o = n.next(); !o.done; o = n.next()) (0, o.value)(r);
} catch (e) {
t = {
error: e
};
} finally {
try {
o && !o.done && (e = n.return) && e.call(n);
} finally {
if (t) throw t.error;
}
}
this.listeners = [];
this.then = function(t) {
t(this.value);
};
};
t.prototype.then = function(t) {
this.listeners.push(t);
};
t.resolve = function(t) {
var e = new this();
e.value = t;
return e;
};
return t;
}();
r.Decide = sa;
cc._RF.pop();
}).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
}, {} ],
copiers: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "a67767ITvFNspN4lVe/3dXb", "copiers");
var n = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.presetTypeCopierArray = r.Function_Copier = r.RegExp_Copier = r.Map_Copier = r.Array_Copier = r.Date_Copier = void 0;
var o = t("./com-tools.es");
r.Date_Copier = function(t) {
return new Date(t.getTime());
};
r.Array_Copier = function(t, e) {
return t.reduce(function(t, r, n) {
t.push(void 0);
e(r, function(e) {
t.splice(n, 1, e);
}, n);
return t;
}, []);
};
r.Map_Copier = function(t, e) {
var r = new Map();
t.forEach(function(t, n) {
e(t, function(t) {
r.set(n, t);
}, n);
});
return r;
};
r.RegExp_Copier = function(t) {
return new RegExp(t);
};
r.Function_Copier = function(t) {
return o.copyConstructor(t);
};
r.presetTypeCopierArray = [ [ Date, r.Date_Copier ], [ Array, r.Array_Copier ], [ Map, r.Map_Copier ], [ Set, function(t, e) {
var r, o, i = new Set(), a = 0;
try {
for (var c = n(t), s = c.next(); !s.done; s = c.next()) {
e(s.value, function(t) {
i.add(t);
}, a);
++a;
}
} catch (t) {
r = {
error: t
};
} finally {
try {
s && !s.done && (o = c.return) && o.call(c);
} finally {
if (r) throw r.error;
}
}
return i;
} ], [ RegExp, r.RegExp_Copier ], [ Function, r.Function_Copier ], [ "AsyncFunction", r.Function_Copier ], [ "GeneratorFunction", r.Function_Copier ] ];
r.default = r.presetTypeCopierArray;
cc._RF.pop();
}, {
"./com-tools.es": "com-tools.es"
} ],
"crypto-js": [ function(t, e, r) {
"use strict";
cc._RF.push(e, "b8c05yTW5dOPatqDgqlSuQz", "crypto-js");
n = function() {
var t, e, r, n = n || function(t) {
var e = Object.create || function() {
function t() {}
return function(e) {
var r;
t.prototype = e;
r = new t();
t.prototype = null;
return r;
};
}(), r = {}, n = r.lib = {}, o = n.Base = {
extend: function(t) {
var r = e(this);
t && r.mixIn(t);
r.hasOwnProperty("init") && this.init !== r.init || (r.init = function() {
r.$super.init.apply(this, arguments);
});
r.init.prototype = r;
r.$super = this;
return r;
},
create: function() {
var t = this.extend();
t.init.apply(t, arguments);
return t;
},
init: function() {},
mixIn: function(t) {
for (var e in t) t.hasOwnProperty(e) && (this[e] = t[e]);
t.hasOwnProperty("toString") && (this.toString = t.toString);
},
clone: function() {
return this.init.prototype.extend(this);
}
}, i = n.WordArray = o.extend({
init: function(t, e) {
t = this.words = t || [];
this.sigBytes = null != e ? e : 4 * t.length;
},
toString: function(t) {
return (t || c).stringify(this);
},
concat: function(t) {
var e = this.words, r = t.words, n = this.sigBytes, o = t.sigBytes;
this.clamp();
if (n % 4) for (var i = 0; i < o; i++) {
var a = r[i >>> 2] >>> 24 - i % 4 * 8 & 255;
e[n + i >>> 2] |= a << 24 - (n + i) % 4 * 8;
} else for (i = 0; i < o; i += 4) e[n + i >>> 2] = r[i >>> 2];
this.sigBytes += o;
return this;
},
clamp: function() {
var e = this.words, r = this.sigBytes;
e[r >>> 2] &= 4294967295 << 32 - r % 4 * 8;
e.length = t.ceil(r / 4);
},
clone: function() {
var t = o.clone.call(this);
t.words = this.words.slice(0);
return t;
},
random: function(e) {
for (var r, n = [], o = function(e) {
e = e;
var r = 987654321, n = 4294967295;
return function() {
var o = ((r = 36969 * (65535 & r) + (r >> 16) & n) << 16) + (e = 18e3 * (65535 & e) + (e >> 16) & n) & n;
o /= 4294967296;
return (o += .5) * (t.random() > .5 ? 1 : -1);
};
}, a = 0; a < e; a += 4) {
var c = o(4294967296 * (r || t.random()));
r = 987654071 * c();
n.push(4294967296 * c() | 0);
}
return new i.init(n, e);
}
}), a = r.enc = {}, c = a.Hex = {
stringify: function(t) {
for (var e = t.words, r = t.sigBytes, n = [], o = 0; o < r; o++) {
var i = e[o >>> 2] >>> 24 - o % 4 * 8 & 255;
n.push((i >>> 4).toString(16));
n.push((15 & i).toString(16));
}
return n.join("");
},
parse: function(t) {
for (var e = t.length, r = [], n = 0; n < e; n += 2) r[n >>> 3] |= parseInt(t.substr(n, 2), 16) << 24 - n % 8 * 4;
return new i.init(r, e / 2);
}
}, s = a.Latin1 = {
stringify: function(t) {
for (var e = t.words, r = t.sigBytes, n = [], o = 0; o < r; o++) {
var i = e[o >>> 2] >>> 24 - o % 4 * 8 & 255;
n.push(String.fromCharCode(i));
}
return n.join("");
},
parse: function(t) {
for (var e = t.length, r = [], n = 0; n < e; n++) r[n >>> 2] |= (255 & t.charCodeAt(n)) << 24 - n % 4 * 8;
return new i.init(r, e);
}
}, u = a.Utf8 = {
stringify: function(t) {
try {
return decodeURIComponent(escape(s.stringify(t)));
} catch (t) {
throw new Error("Malformed UTF-8 data");
}
},
parse: function(t) {
return s.parse(unescape(encodeURIComponent(t)));
}
}, f = n.BufferedBlockAlgorithm = o.extend({
reset: function() {
this._data = new i.init();
this._nDataBytes = 0;
},
_append: function(t) {
"string" == typeof t && (t = u.parse(t));
this._data.concat(t);
this._nDataBytes += t.sigBytes;
},
_process: function(e) {
var r = this._data, n = r.words, o = r.sigBytes, a = this.blockSize, c = o / (4 * a), s = (c = e ? t.ceil(c) : t.max((0 | c) - this._minBufferSize, 0)) * a, u = t.min(4 * s, o);
if (s) {
for (var f = 0; f < s; f += a) this._doProcessBlock(n, f);
var l = n.splice(0, s);
r.sigBytes -= u;
}
return new i.init(l, u);
},
clone: function() {
var t = o.clone.call(this);
t._data = this._data.clone();
return t;
},
_minBufferSize: 0
}), l = (n.Hasher = f.extend({
cfg: o.extend(),
init: function(t) {
this.cfg = this.cfg.extend(t);
this.reset();
},
reset: function() {
f.reset.call(this);
this._doReset();
},
update: function(t) {
this._append(t);
this._process();
return this;
},
finalize: function(t) {
t && this._append(t);
return this._doFinalize();
},
blockSize: 16,
_createHelper: function(t) {
return function(e, r) {
return new t.init(r).finalize(e);
};
},
_createHmacHelper: function(t) {
return function(e, r) {
return new l.HMAC.init(t, r).finalize(e);
};
}
}), r.algo = {});
return r;
}(Math);
(function() {
var t = n, e = t.lib.WordArray;
t.enc.Base64 = {
stringify: function(t) {
var e = t.words, r = t.sigBytes, n = this._map;
t.clamp();
for (var o = [], i = 0; i < r; i += 3) for (var a = (e[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (e[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | e[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, c = 0; c < 4 && i + .75 * c < r; c++) o.push(n.charAt(a >>> 6 * (3 - c) & 63));
var s = n.charAt(64);
if (s) for (;o.length % 4; ) o.push(s);
return o.join("");
},
parse: function(t) {
var e = t.length, n = this._map, o = this._reverseMap;
if (!o) {
o = this._reverseMap = [];
for (var i = 0; i < n.length; i++) o[n.charCodeAt(i)] = i;
}
var a = n.charAt(64);
if (a) {
var c = t.indexOf(a);
-1 !== c && (e = c);
}
return r(t, e, o);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
};
function r(t, r, n) {
for (var o = [], i = 0, a = 0; a < r; a++) if (a % 4) {
var c = n[t.charCodeAt(a - 1)] << a % 4 * 2, s = n[t.charCodeAt(a)] >>> 6 - a % 4 * 2;
o[i >>> 2] |= (c | s) << 24 - i % 4 * 8;
i++;
}
return e.create(o, i);
}
})();
(function(t) {
var e = n, r = e.lib, o = r.WordArray, i = r.Hasher, a = e.algo, c = [];
(function() {
for (var e = 0; e < 64; e++) c[e] = 4294967296 * t.abs(t.sin(e + 1)) | 0;
})();
var s = a.MD5 = i.extend({
_doReset: function() {
this._hash = new o.init([ 1732584193, 4023233417, 2562383102, 271733878 ]);
},
_doProcessBlock: function(t, e) {
for (var r = 0; r < 16; r++) {
var n = e + r, o = t[n];
t[n] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8);
}
var i = this._hash.words, a = t[e + 0], s = t[e + 1], p = t[e + 2], d = t[e + 3], y = t[e + 4], v = t[e + 5], g = t[e + 6], _ = t[e + 7], m = t[e + 8], b = t[e + 9], w = t[e + 10], S = t[e + 11], O = t[e + 12], A = t[e + 13], E = t[e + 14], M = t[e + 15], P = i[0], C = i[1], x = i[2], R = i[3];
P = u(P, C, x, R, a, 7, c[0]);
R = u(R, P, C, x, s, 12, c[1]);
x = u(x, R, P, C, p, 17, c[2]);
C = u(C, x, R, P, d, 22, c[3]);
P = u(P, C, x, R, y, 7, c[4]);
R = u(R, P, C, x, v, 12, c[5]);
x = u(x, R, P, C, g, 17, c[6]);
C = u(C, x, R, P, _, 22, c[7]);
P = u(P, C, x, R, m, 7, c[8]);
R = u(R, P, C, x, b, 12, c[9]);
x = u(x, R, P, C, w, 17, c[10]);
C = u(C, x, R, P, S, 22, c[11]);
P = u(P, C, x, R, O, 7, c[12]);
R = u(R, P, C, x, A, 12, c[13]);
x = u(x, R, P, C, E, 17, c[14]);
P = f(P, C = u(C, x, R, P, M, 22, c[15]), x, R, s, 5, c[16]);
R = f(R, P, C, x, g, 9, c[17]);
x = f(x, R, P, C, S, 14, c[18]);
C = f(C, x, R, P, a, 20, c[19]);
P = f(P, C, x, R, v, 5, c[20]);
R = f(R, P, C, x, w, 9, c[21]);
x = f(x, R, P, C, M, 14, c[22]);
C = f(C, x, R, P, y, 20, c[23]);
P = f(P, C, x, R, b, 5, c[24]);
R = f(R, P, C, x, E, 9, c[25]);
x = f(x, R, P, C, d, 14, c[26]);
C = f(C, x, R, P, m, 20, c[27]);
P = f(P, C, x, R, A, 5, c[28]);
R = f(R, P, C, x, p, 9, c[29]);
x = f(x, R, P, C, _, 14, c[30]);
P = l(P, C = f(C, x, R, P, O, 20, c[31]), x, R, v, 4, c[32]);
R = l(R, P, C, x, m, 11, c[33]);
x = l(x, R, P, C, S, 16, c[34]);
C = l(C, x, R, P, E, 23, c[35]);
P = l(P, C, x, R, s, 4, c[36]);
R = l(R, P, C, x, y, 11, c[37]);
x = l(x, R, P, C, _, 16, c[38]);
C = l(C, x, R, P, w, 23, c[39]);
P = l(P, C, x, R, A, 4, c[40]);
R = l(R, P, C, x, a, 11, c[41]);
x = l(x, R, P, C, d, 16, c[42]);
C = l(C, x, R, P, g, 23, c[43]);
P = l(P, C, x, R, b, 4, c[44]);
R = l(R, P, C, x, O, 11, c[45]);
x = l(x, R, P, C, M, 16, c[46]);
P = h(P, C = l(C, x, R, P, p, 23, c[47]), x, R, a, 6, c[48]);
R = h(R, P, C, x, _, 10, c[49]);
x = h(x, R, P, C, E, 15, c[50]);
C = h(C, x, R, P, v, 21, c[51]);
P = h(P, C, x, R, O, 6, c[52]);
R = h(R, P, C, x, d, 10, c[53]);
x = h(x, R, P, C, w, 15, c[54]);
C = h(C, x, R, P, s, 21, c[55]);
P = h(P, C, x, R, m, 6, c[56]);
R = h(R, P, C, x, M, 10, c[57]);
x = h(x, R, P, C, g, 15, c[58]);
C = h(C, x, R, P, A, 21, c[59]);
P = h(P, C, x, R, y, 6, c[60]);
R = h(R, P, C, x, S, 10, c[61]);
x = h(x, R, P, C, p, 15, c[62]);
C = h(C, x, R, P, b, 21, c[63]);
i[0] = i[0] + P | 0;
i[1] = i[1] + C | 0;
i[2] = i[2] + x | 0;
i[3] = i[3] + R | 0;
},
_doFinalize: function() {
var e = this._data, r = e.words, n = 8 * this._nDataBytes, o = 8 * e.sigBytes;
r[o >>> 5] |= 128 << 24 - o % 32;
var i = t.floor(n / 4294967296), a = n;
r[15 + (o + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8);
r[14 + (o + 64 >>> 9 << 4)] = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8);
e.sigBytes = 4 * (r.length + 1);
this._process();
for (var c = this._hash, s = c.words, u = 0; u < 4; u++) {
var f = s[u];
s[u] = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8);
}
return c;
},
clone: function() {
var t = i.clone.call(this);
t._hash = this._hash.clone();
return t;
}
});
function u(t, e, r, n, o, i, a) {
var c = t + (e & r | ~e & n) + o + a;
return (c << i | c >>> 32 - i) + e;
}
function f(t, e, r, n, o, i, a) {
var c = t + (e & n | r & ~n) + o + a;
return (c << i | c >>> 32 - i) + e;
}
function l(t, e, r, n, o, i, a) {
var c = t + (e ^ r ^ n) + o + a;
return (c << i | c >>> 32 - i) + e;
}
function h(t, e, r, n, o, i, a) {
var c = t + (r ^ (e | ~n)) + o + a;
return (c << i | c >>> 32 - i) + e;
}
e.MD5 = i._createHelper(s);
e.HmacMD5 = i._createHmacHelper(s);
})(Math);
(function() {
var t = n, e = t.lib, r = e.WordArray, o = e.Hasher, i = t.algo, a = [], c = i.SHA1 = o.extend({
_doReset: function() {
this._hash = new r.init([ 1732584193, 4023233417, 2562383102, 271733878, 3285377520 ]);
},
_doProcessBlock: function(t, e) {
for (var r = this._hash.words, n = r[0], o = r[1], i = r[2], c = r[3], s = r[4], u = 0; u < 80; u++) {
if (u < 16) a[u] = 0 | t[e + u]; else {
var f = a[u - 3] ^ a[u - 8] ^ a[u - 14] ^ a[u - 16];
a[u] = f << 1 | f >>> 31;
}
var l = (n << 5 | n >>> 27) + s + a[u];
l += u < 20 ? 1518500249 + (o & i | ~o & c) : u < 40 ? 1859775393 + (o ^ i ^ c) : u < 60 ? (o & i | o & c | i & c) - 1894007588 : (o ^ i ^ c) - 899497514;
s = c;
c = i;
i = o << 30 | o >>> 2;
o = n;
n = l;
}
r[0] = r[0] + n | 0;
r[1] = r[1] + o | 0;
r[2] = r[2] + i | 0;
r[3] = r[3] + c | 0;
r[4] = r[4] + s | 0;
},
_doFinalize: function() {
var t = this._data, e = t.words, r = 8 * this._nDataBytes, n = 8 * t.sigBytes;
e[n >>> 5] |= 128 << 24 - n % 32;
e[14 + (n + 64 >>> 9 << 4)] = Math.floor(r / 4294967296);
e[15 + (n + 64 >>> 9 << 4)] = r;
t.sigBytes = 4 * e.length;
this._process();
return this._hash;
},
clone: function() {
var t = o.clone.call(this);
t._hash = this._hash.clone();
return t;
}
});
t.SHA1 = o._createHelper(c);
t.HmacSHA1 = o._createHmacHelper(c);
})();
(function(t) {
var e = n, r = e.lib, o = r.WordArray, i = r.Hasher, a = e.algo, c = [], s = [];
(function() {
function e(e) {
for (var r = t.sqrt(e), n = 2; n <= r; n++) if (!(e % n)) return !1;
return !0;
}
function r(t) {
return 4294967296 * (t - (0 | t)) | 0;
}
for (var n = 2, o = 0; o < 64; ) {
if (e(n)) {
o < 8 && (c[o] = r(t.pow(n, .5)));
s[o] = r(t.pow(n, 1 / 3));
o++;
}
n++;
}
})();
var u = [], f = a.SHA256 = i.extend({
_doReset: function() {
this._hash = new o.init(c.slice(0));
},
_doProcessBlock: function(t, e) {
for (var r = this._hash.words, n = r[0], o = r[1], i = r[2], a = r[3], c = r[4], f = r[5], l = r[6], h = r[7], p = 0; p < 64; p++) {
if (p < 16) u[p] = 0 | t[e + p]; else {
var d = u[p - 15], y = (d << 25 | d >>> 7) ^ (d << 14 | d >>> 18) ^ d >>> 3, v = u[p - 2], g = (v << 15 | v >>> 17) ^ (v << 13 | v >>> 19) ^ v >>> 10;
u[p] = y + u[p - 7] + g + u[p - 16];
}
var _ = n & o ^ n & i ^ o & i, m = (n << 30 | n >>> 2) ^ (n << 19 | n >>> 13) ^ (n << 10 | n >>> 22), b = h + ((c << 26 | c >>> 6) ^ (c << 21 | c >>> 11) ^ (c << 7 | c >>> 25)) + (c & f ^ ~c & l) + s[p] + u[p];
h = l;
l = f;
f = c;
c = a + b | 0;
a = i;
i = o;
o = n;
n = b + (m + _) | 0;
}
r[0] = r[0] + n | 0;
r[1] = r[1] + o | 0;
r[2] = r[2] + i | 0;
r[3] = r[3] + a | 0;
r[4] = r[4] + c | 0;
r[5] = r[5] + f | 0;
r[6] = r[6] + l | 0;
r[7] = r[7] + h | 0;
},
_doFinalize: function() {
var e = this._data, r = e.words, n = 8 * this._nDataBytes, o = 8 * e.sigBytes;
r[o >>> 5] |= 128 << 24 - o % 32;
r[14 + (o + 64 >>> 9 << 4)] = t.floor(n / 4294967296);
r[15 + (o + 64 >>> 9 << 4)] = n;
e.sigBytes = 4 * r.length;
this._process();
return this._hash;
},
clone: function() {
var t = i.clone.call(this);
t._hash = this._hash.clone();
return t;
}
});
e.SHA256 = i._createHelper(f);
e.HmacSHA256 = i._createHmacHelper(f);
})(Math);
(function() {
var t = n, e = t.lib.WordArray, r = t.enc;
r.Utf16 = r.Utf16BE = {
stringify: function(t) {
for (var e = t.words, r = t.sigBytes, n = [], o = 0; o < r; o += 2) {
var i = e[o >>> 2] >>> 16 - o % 4 * 8 & 65535;
n.push(String.fromCharCode(i));
}
return n.join("");
},
parse: function(t) {
for (var r = t.length, n = [], o = 0; o < r; o++) n[o >>> 1] |= t.charCodeAt(o) << 16 - o % 2 * 16;
return e.create(n, 2 * r);
}
};
r.Utf16LE = {
stringify: function(t) {
for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i += 2) {
var a = o(e[i >>> 2] >>> 16 - i % 4 * 8 & 65535);
n.push(String.fromCharCode(a));
}
return n.join("");
},
parse: function(t) {
for (var r = t.length, n = [], i = 0; i < r; i++) n[i >>> 1] |= o(t.charCodeAt(i) << 16 - i % 2 * 16);
return e.create(n, 2 * r);
}
};
function o(t) {
return t << 8 & 4278255360 | t >>> 8 & 16711935;
}
})();
(function() {
if ("function" == typeof ArrayBuffer) {
var t = n.lib.WordArray, e = t.init;
(t.init = function(t) {
t instanceof ArrayBuffer && (t = new Uint8Array(t));
(t instanceof Int8Array || "undefined" != typeof Uint8ClampedArray && t instanceof Uint8ClampedArray || t instanceof Int16Array || t instanceof Uint16Array || t instanceof Int32Array || t instanceof Uint32Array || t instanceof Float32Array || t instanceof Float64Array) && (t = new Uint8Array(t.buffer, t.byteOffset, t.byteLength));
if (t instanceof Uint8Array) {
for (var r = t.byteLength, n = [], o = 0; o < r; o++) n[o >>> 2] |= t[o] << 24 - o % 4 * 8;
e.call(this, n, r);
} else e.apply(this, arguments);
}).prototype = t;
}
})();
(function() {
var t = n, e = t.lib, r = e.WordArray, o = e.Hasher, i = t.algo, a = r.create([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 ]), c = r.create([ 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 ]), s = r.create([ 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 ]), u = r.create([ 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 ]), f = r.create([ 0, 1518500249, 1859775393, 2400959708, 2840853838 ]), l = r.create([ 1352829926, 1548603684, 1836072691, 2053994217, 0 ]), h = i.RIPEMD160 = o.extend({
_doReset: function() {
this._hash = r.create([ 1732584193, 4023233417, 2562383102, 271733878, 3285377520 ]);
},
_doProcessBlock: function(t, e) {
for (var r = 0; r < 16; r++) {
var n = e + r, o = t[n];
t[n] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8);
}
var i, h, m, b, w, S, O, A, E, M, P, C = this._hash.words, x = f.words, R = l.words, T = a.words, I = c.words, k = s.words, B = u.words;
S = i = C[0];
O = h = C[1];
A = m = C[2];
E = b = C[3];
M = w = C[4];
for (r = 0; r < 80; r += 1) {
P = i + t[e + T[r]] | 0;
P += r < 16 ? p(h, m, b) + x[0] : r < 32 ? d(h, m, b) + x[1] : r < 48 ? y(h, m, b) + x[2] : r < 64 ? v(h, m, b) + x[3] : g(h, m, b) + x[4];
P = (P = _(P |= 0, k[r])) + w | 0;
i = w;
w = b;
b = _(m, 10);
m = h;
h = P;
P = S + t[e + I[r]] | 0;
P += r < 16 ? g(O, A, E) + R[0] : r < 32 ? v(O, A, E) + R[1] : r < 48 ? y(O, A, E) + R[2] : r < 64 ? d(O, A, E) + R[3] : p(O, A, E) + R[4];
P = (P = _(P |= 0, B[r])) + M | 0;
S = M;
M = E;
E = _(A, 10);
A = O;
O = P;
}
P = C[1] + m + E | 0;
C[1] = C[2] + b + M | 0;
C[2] = C[3] + w + S | 0;
C[3] = C[4] + i + O | 0;
C[4] = C[0] + h + A | 0;
C[0] = P;
},
_doFinalize: function() {
var t = this._data, e = t.words, r = 8 * this._nDataBytes, n = 8 * t.sigBytes;
e[n >>> 5] |= 128 << 24 - n % 32;
e[14 + (n + 64 >>> 9 << 4)] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8);
t.sigBytes = 4 * (e.length + 1);
this._process();
for (var o = this._hash, i = o.words, a = 0; a < 5; a++) {
var c = i[a];
i[a] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8);
}
return o;
},
clone: function() {
var t = o.clone.call(this);
t._hash = this._hash.clone();
return t;
}
});
function p(t, e, r) {
return t ^ e ^ r;
}
function d(t, e, r) {
return t & e | ~t & r;
}
function y(t, e, r) {
return (t | ~e) ^ r;
}
function v(t, e, r) {
return t & r | e & ~r;
}
function g(t, e, r) {
return t ^ (e | ~r);
}
function _(t, e) {
return t << e | t >>> 32 - e;
}
t.RIPEMD160 = o._createHelper(h);
t.HmacRIPEMD160 = o._createHmacHelper(h);
})(Math);
e = (t = n).lib.Base, r = t.enc.Utf8, t.algo.HMAC = e.extend({
init: function(t, e) {
t = this._hasher = new t.init();
"string" == typeof e && (e = r.parse(e));
var n = t.blockSize, o = 4 * n;
e.sigBytes > o && (e = t.finalize(e));
e.clamp();
for (var i = this._oKey = e.clone(), a = this._iKey = e.clone(), c = i.words, s = a.words, u = 0; u < n; u++) {
c[u] ^= 1549556828;
s[u] ^= 909522486;
}
i.sigBytes = a.sigBytes = o;
this.reset();
},
reset: function() {
var t = this._hasher;
t.reset();
t.update(this._iKey);
},
update: function(t) {
this._hasher.update(t);
return this;
},
finalize: function(t) {
var e = this._hasher, r = e.finalize(t);
e.reset();
return e.finalize(this._oKey.clone().concat(r));
}
});
(function() {
var t = n, e = t.lib, r = e.Base, o = e.WordArray, i = t.algo, a = i.SHA1, c = i.HMAC, s = i.PBKDF2 = r.extend({
cfg: r.extend({
keySize: 4,
hasher: a,
iterations: 1
}),
init: function(t) {
this.cfg = this.cfg.extend(t);
},
compute: function(t, e) {
for (var r = this.cfg, n = c.create(r.hasher, t), i = o.create(), a = o.create([ 1 ]), s = i.words, u = a.words, f = r.keySize, l = r.iterations; s.length < f; ) {
var h = n.update(e).finalize(a);
n.reset();
for (var p = h.words, d = p.length, y = h, v = 1; v < l; v++) {
y = n.finalize(y);
n.reset();
for (var g = y.words, _ = 0; _ < d; _++) p[_] ^= g[_];
}
i.concat(h);
u[0]++;
}
i.sigBytes = 4 * f;
return i;
}
});
t.PBKDF2 = function(t, e, r) {
return s.create(r).compute(t, e);
};
})();
(function() {
var t = n, e = t.lib, r = e.Base, o = e.WordArray, i = t.algo, a = i.MD5, c = i.EvpKDF = r.extend({
cfg: r.extend({
keySize: 4,
hasher: a,
iterations: 1
}),
init: function(t) {
this.cfg = this.cfg.extend(t);
},
compute: function(t, e) {
for (var r = this.cfg, n = r.hasher.create(), i = o.create(), a = i.words, c = r.keySize, s = r.iterations; a.length < c; ) {
u && n.update(u);
var u = n.update(t).finalize(e);
n.reset();
for (var f = 1; f < s; f++) {
u = n.finalize(u);
n.reset();
}
i.concat(u);
}
i.sigBytes = 4 * c;
return i;
}
});
t.EvpKDF = function(t, e, r) {
return c.create(r).compute(t, e);
};
})();
(function() {
var t = n, e = t.lib.WordArray, r = t.algo, o = r.SHA256, i = r.SHA224 = o.extend({
_doReset: function() {
this._hash = new e.init([ 3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428 ]);
},
_doFinalize: function() {
var t = o._doFinalize.call(this);
t.sigBytes -= 4;
return t;
}
});
t.SHA224 = o._createHelper(i);
t.HmacSHA224 = o._createHmacHelper(i);
})();
(function() {
var t = n, e = t.lib, r = e.Base, o = e.WordArray, i = t.x64 = {};
i.Word = r.extend({
init: function(t, e) {
this.high = t;
this.low = e;
}
}), i.WordArray = r.extend({
init: function(t, e) {
t = this.words = t || [];
this.sigBytes = null != e ? e : 8 * t.length;
},
toX32: function() {
for (var t = this.words, e = t.length, r = [], n = 0; n < e; n++) {
var i = t[n];
r.push(i.high);
r.push(i.low);
}
return o.create(r, this.sigBytes);
},
clone: function() {
for (var t = r.clone.call(this), e = t.words = this.words.slice(0), n = e.length, o = 0; o < n; o++) e[o] = e[o].clone();
return t;
}
});
})();
(function(t) {
var e = n, r = e.lib, o = r.WordArray, i = r.Hasher, a = e.x64.Word, c = e.algo, s = [], u = [], f = [];
(function() {
for (var t = 1, e = 0, r = 0; r < 24; r++) {
s[t + 5 * e] = (r + 1) * (r + 2) / 2 % 64;
var n = (2 * t + 3 * e) % 5;
t = e % 5;
e = n;
}
for (t = 0; t < 5; t++) for (e = 0; e < 5; e++) u[t + 5 * e] = e + (2 * t + 3 * e) % 5 * 5;
for (var o = 1, i = 0; i < 24; i++) {
for (var c = 0, l = 0, h = 0; h < 7; h++) {
if (1 & o) {
var p = (1 << h) - 1;
p < 32 ? l ^= 1 << p : c ^= 1 << p - 32;
}
128 & o ? o = o << 1 ^ 113 : o <<= 1;
}
f[i] = a.create(c, l);
}
})();
var l = [];
(function() {
for (var t = 0; t < 25; t++) l[t] = a.create();
})();
var h = c.SHA3 = i.extend({
cfg: i.cfg.extend({
outputLength: 512
}),
_doReset: function() {
for (var t = this._state = [], e = 0; e < 25; e++) t[e] = new a.init();
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
},
_doProcessBlock: function(t, e) {
for (var r = this._state, n = this.blockSize / 2, o = 0; o < n; o++) {
var i = t[e + 2 * o], a = t[e + 2 * o + 1];
i = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8);
a = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8);
(C = r[o]).high ^= a;
C.low ^= i;
}
for (var c = 0; c < 24; c++) {
for (var h = 0; h < 5; h++) {
for (var p = 0, d = 0, y = 0; y < 5; y++) {
p ^= (C = r[h + 5 * y]).high;
d ^= C.low;
}
var v = l[h];
v.high = p;
v.low = d;
}
for (h = 0; h < 5; h++) {
var g = l[(h + 4) % 5], _ = l[(h + 1) % 5], m = _.high, b = _.low;
for (p = g.high ^ (m << 1 | b >>> 31), d = g.low ^ (b << 1 | m >>> 31), y = 0; y < 5; y++) {
(C = r[h + 5 * y]).high ^= p;
C.low ^= d;
}
}
for (var w = 1; w < 25; w++) {
var S = (C = r[w]).high, O = C.low, A = s[w];
A < 32 ? (p = S << A | O >>> 32 - A, d = O << A | S >>> 32 - A) : (p = O << A - 32 | S >>> 64 - A, 
d = S << A - 32 | O >>> 64 - A);
var E = l[u[w]];
E.high = p;
E.low = d;
}
var M = l[0], P = r[0];
M.high = P.high;
M.low = P.low;
for (h = 0; h < 5; h++) for (y = 0; y < 5; y++) {
var C = r[w = h + 5 * y], x = l[w], R = l[(h + 1) % 5 + 5 * y], T = l[(h + 2) % 5 + 5 * y];
C.high = x.high ^ ~R.high & T.high;
C.low = x.low ^ ~R.low & T.low;
}
C = r[0];
var I = f[c];
C.high ^= I.high;
C.low ^= I.low;
}
},
_doFinalize: function() {
var e = this._data, r = e.words, n = (this._nDataBytes, 8 * e.sigBytes), i = 32 * this.blockSize;
r[n >>> 5] |= 1 << 24 - n % 32;
r[(t.ceil((n + 1) / i) * i >>> 5) - 1] |= 128;
e.sigBytes = 4 * r.length;
this._process();
for (var a = this._state, c = this.cfg.outputLength / 8, s = c / 8, u = [], f = 0; f < s; f++) {
var l = a[f], h = l.high, p = l.low;
h = 16711935 & (h << 8 | h >>> 24) | 4278255360 & (h << 24 | h >>> 8);
p = 16711935 & (p << 8 | p >>> 24) | 4278255360 & (p << 24 | p >>> 8);
u.push(p);
u.push(h);
}
return new o.init(u, c);
},
clone: function() {
for (var t = i.clone.call(this), e = t._state = this._state.slice(0), r = 0; r < 25; r++) e[r] = e[r].clone();
return t;
}
});
e.SHA3 = i._createHelper(h);
e.HmacSHA3 = i._createHmacHelper(h);
})(Math);
(function() {
var t = n, e = t.lib.Hasher, r = t.x64, o = r.Word, i = r.WordArray, a = t.algo;
function c() {
return o.create.apply(o, arguments);
}
var s = [ c(1116352408, 3609767458), c(1899447441, 602891725), c(3049323471, 3964484399), c(3921009573, 2173295548), c(961987163, 4081628472), c(1508970993, 3053834265), c(2453635748, 2937671579), c(2870763221, 3664609560), c(3624381080, 2734883394), c(310598401, 1164996542), c(607225278, 1323610764), c(1426881987, 3590304994), c(1925078388, 4068182383), c(2162078206, 991336113), c(2614888103, 633803317), c(3248222580, 3479774868), c(3835390401, 2666613458), c(4022224774, 944711139), c(264347078, 2341262773), c(604807628, 2007800933), c(770255983, 1495990901), c(1249150122, 1856431235), c(1555081692, 3175218132), c(1996064986, 2198950837), c(2554220882, 3999719339), c(2821834349, 766784016), c(2952996808, 2566594879), c(3210313671, 3203337956), c(3336571891, 1034457026), c(3584528711, 2466948901), c(113926993, 3758326383), c(338241895, 168717936), c(666307205, 1188179964), c(773529912, 1546045734), c(1294757372, 1522805485), c(1396182291, 2643833823), c(1695183700, 2343527390), c(1986661051, 1014477480), c(2177026350, 1206759142), c(2456956037, 344077627), c(2730485921, 1290863460), c(2820302411, 3158454273), c(3259730800, 3505952657), c(3345764771, 106217008), c(3516065817, 3606008344), c(3600352804, 1432725776), c(4094571909, 1467031594), c(275423344, 851169720), c(430227734, 3100823752), c(506948616, 1363258195), c(659060556, 3750685593), c(883997877, 3785050280), c(958139571, 3318307427), c(1322822218, 3812723403), c(1537002063, 2003034995), c(1747873779, 3602036899), c(1955562222, 1575990012), c(2024104815, 1125592928), c(2227730452, 2716904306), c(2361852424, 442776044), c(2428436474, 593698344), c(2756734187, 3733110249), c(3204031479, 2999351573), c(3329325298, 3815920427), c(3391569614, 3928383900), c(3515267271, 566280711), c(3940187606, 3454069534), c(4118630271, 4000239992), c(116418474, 1914138554), c(174292421, 2731055270), c(289380356, 3203993006), c(460393269, 320620315), c(685471733, 587496836), c(852142971, 1086792851), c(1017036298, 365543100), c(1126000580, 2618297676), c(1288033470, 3409855158), c(1501505948, 4234509866), c(1607167915, 987167468), c(1816402316, 1246189591) ], u = [];
(function() {
for (var t = 0; t < 80; t++) u[t] = c();
})();
var f = a.SHA512 = e.extend({
_doReset: function() {
this._hash = new i.init([ new o.init(1779033703, 4089235720), new o.init(3144134277, 2227873595), new o.init(1013904242, 4271175723), new o.init(2773480762, 1595750129), new o.init(1359893119, 2917565137), new o.init(2600822924, 725511199), new o.init(528734635, 4215389547), new o.init(1541459225, 327033209) ]);
},
_doProcessBlock: function(t, e) {
for (var r = this._hash.words, n = r[0], o = r[1], i = r[2], a = r[3], c = r[4], f = r[5], l = r[6], h = r[7], p = n.high, d = n.low, y = o.high, v = o.low, g = i.high, _ = i.low, m = a.high, b = a.low, w = c.high, S = c.low, O = f.high, A = f.low, E = l.high, M = l.low, P = h.high, C = h.low, x = p, R = d, T = y, I = v, k = g, B = _, D = m, N = b, j = w, F = S, L = O, U = A, H = E, G = M, z = P, W = C, V = 0; V < 80; V++) {
var J = u[V];
if (V < 16) var q = J.high = 0 | t[e + 2 * V], K = J.low = 0 | t[e + 2 * V + 1]; else {
var Y = u[V - 15], X = Y.high, $ = Y.low, Z = (X >>> 1 | $ << 31) ^ (X >>> 8 | $ << 24) ^ X >>> 7, Q = ($ >>> 1 | X << 31) ^ ($ >>> 8 | X << 24) ^ ($ >>> 7 | X << 25), tt = u[V - 2], et = tt.high, rt = tt.low, nt = (et >>> 19 | rt << 13) ^ (et << 3 | rt >>> 29) ^ et >>> 6, ot = (rt >>> 19 | et << 13) ^ (rt << 3 | et >>> 29) ^ (rt >>> 6 | et << 26), it = u[V - 7], at = it.high, ct = it.low, st = u[V - 16], ut = st.high, ft = st.low;
q = (q = (q = Z + at + ((K = Q + ct) >>> 0 < Q >>> 0 ? 1 : 0)) + nt + ((K += ot) >>> 0 < ot >>> 0 ? 1 : 0)) + ut + ((K += ft) >>> 0 < ft >>> 0 ? 1 : 0);
J.high = q;
J.low = K;
}
var lt, ht = j & L ^ ~j & H, pt = F & U ^ ~F & G, dt = x & T ^ x & k ^ T & k, yt = R & I ^ R & B ^ I & B, vt = (x >>> 28 | R << 4) ^ (x << 30 | R >>> 2) ^ (x << 25 | R >>> 7), gt = (R >>> 28 | x << 4) ^ (R << 30 | x >>> 2) ^ (R << 25 | x >>> 7), _t = (j >>> 14 | F << 18) ^ (j >>> 18 | F << 14) ^ (j << 23 | F >>> 9), mt = (F >>> 14 | j << 18) ^ (F >>> 18 | j << 14) ^ (F << 23 | j >>> 9), bt = s[V], wt = bt.high, St = bt.low, Ot = z + _t + ((lt = W + mt) >>> 0 < W >>> 0 ? 1 : 0), At = gt + yt;
z = H;
W = G;
H = L;
G = U;
L = j;
U = F;
j = D + (Ot = (Ot = (Ot = Ot + ht + ((lt += pt) >>> 0 < pt >>> 0 ? 1 : 0)) + wt + ((lt += St) >>> 0 < St >>> 0 ? 1 : 0)) + q + ((lt += K) >>> 0 < K >>> 0 ? 1 : 0)) + ((F = N + lt | 0) >>> 0 < N >>> 0 ? 1 : 0) | 0;
D = k;
N = B;
k = T;
B = I;
T = x;
I = R;
x = Ot + (vt + dt + (At >>> 0 < gt >>> 0 ? 1 : 0)) + ((R = lt + At | 0) >>> 0 < lt >>> 0 ? 1 : 0) | 0;
}
d = n.low = d + R;
n.high = p + x + (d >>> 0 < R >>> 0 ? 1 : 0);
v = o.low = v + I;
o.high = y + T + (v >>> 0 < I >>> 0 ? 1 : 0);
_ = i.low = _ + B;
i.high = g + k + (_ >>> 0 < B >>> 0 ? 1 : 0);
b = a.low = b + N;
a.high = m + D + (b >>> 0 < N >>> 0 ? 1 : 0);
S = c.low = S + F;
c.high = w + j + (S >>> 0 < F >>> 0 ? 1 : 0);
A = f.low = A + U;
f.high = O + L + (A >>> 0 < U >>> 0 ? 1 : 0);
M = l.low = M + G;
l.high = E + H + (M >>> 0 < G >>> 0 ? 1 : 0);
C = h.low = C + W;
h.high = P + z + (C >>> 0 < W >>> 0 ? 1 : 0);
},
_doFinalize: function() {
var t = this._data, e = t.words, r = 8 * this._nDataBytes, n = 8 * t.sigBytes;
e[n >>> 5] |= 128 << 24 - n % 32;
e[30 + (n + 128 >>> 10 << 5)] = Math.floor(r / 4294967296);
e[31 + (n + 128 >>> 10 << 5)] = r;
t.sigBytes = 4 * e.length;
this._process();
return this._hash.toX32();
},
clone: function() {
var t = e.clone.call(this);
t._hash = this._hash.clone();
return t;
},
blockSize: 32
});
t.SHA512 = e._createHelper(f);
t.HmacSHA512 = e._createHmacHelper(f);
})();
(function() {
var t = n, e = t.x64, r = e.Word, o = e.WordArray, i = t.algo, a = i.SHA512, c = i.SHA384 = a.extend({
_doReset: function() {
this._hash = new o.init([ new r.init(3418070365, 3238371032), new r.init(1654270250, 914150663), new r.init(2438529370, 812702999), new r.init(355462360, 4144912697), new r.init(1731405415, 4290775857), new r.init(2394180231, 1750603025), new r.init(3675008525, 1694076839), new r.init(1203062813, 3204075428) ]);
},
_doFinalize: function() {
var t = a._doFinalize.call(this);
t.sigBytes -= 16;
return t;
}
});
t.SHA384 = a._createHelper(c);
t.HmacSHA384 = a._createHmacHelper(c);
})();
n.lib.Cipher || function(t) {
var e = n, r = e.lib, o = r.Base, i = r.WordArray, a = r.BufferedBlockAlgorithm, c = e.enc, s = (c.Utf8, 
c.Base64), u = e.algo.EvpKDF, f = r.Cipher = a.extend({
cfg: o.extend(),
createEncryptor: function(t, e) {
return this.create(this._ENC_XFORM_MODE, t, e);
},
createDecryptor: function(t, e) {
return this.create(this._DEC_XFORM_MODE, t, e);
},
init: function(t, e, r) {
this.cfg = this.cfg.extend(r);
this._xformMode = t;
this._key = e;
this.reset();
},
reset: function() {
a.reset.call(this);
this._doReset();
},
process: function(t) {
this._append(t);
return this._process();
},
finalize: function(t) {
t && this._append(t);
return this._doFinalize();
},
keySize: 4,
ivSize: 4,
_ENC_XFORM_MODE: 1,
_DEC_XFORM_MODE: 2,
_createHelper: function() {
function t(t) {
return "string" == typeof t ? m : g;
}
return function(e) {
return {
encrypt: function(r, n, o) {
return t(n).encrypt(e, r, n, o);
},
decrypt: function(r, n, o) {
return t(n).decrypt(e, r, n, o);
}
};
};
}()
}), l = (r.StreamCipher = f.extend({
_doFinalize: function() {
return this._process(!0);
},
blockSize: 1
}), e.mode = {}), h = r.BlockCipherMode = o.extend({
createEncryptor: function(t, e) {
return this.Encryptor.create(t, e);
},
createDecryptor: function(t, e) {
return this.Decryptor.create(t, e);
},
init: function(t, e) {
this._cipher = t;
this._iv = e;
}
}), p = l.CBC = function() {
var e = h.extend();
e.Encryptor = e.extend({
processBlock: function(t, e) {
var n = this._cipher, o = n.blockSize;
r.call(this, t, e, o);
n.encryptBlock(t, e);
this._prevBlock = t.slice(e, e + o);
}
});
e.Decryptor = e.extend({
processBlock: function(t, e) {
var n = this._cipher, o = n.blockSize, i = t.slice(e, e + o);
n.decryptBlock(t, e);
r.call(this, t, e, o);
this._prevBlock = i;
}
});
function r(e, r, n) {
var o = this._iv;
if (o) {
var i = o;
this._iv = t;
} else i = this._prevBlock;
for (var a = 0; a < n; a++) e[r + a] ^= i[a];
}
return e;
}(), d = (e.pad = {}).Pkcs7 = {
pad: function(t, e) {
for (var r = 4 * e, n = r - t.sigBytes % r, o = n << 24 | n << 16 | n << 8 | n, a = [], c = 0; c < n; c += 4) a.push(o);
var s = i.create(a, n);
t.concat(s);
},
unpad: function(t) {
var e = 255 & t.words[t.sigBytes - 1 >>> 2];
t.sigBytes -= e;
}
}, y = (r.BlockCipher = f.extend({
cfg: f.cfg.extend({
mode: p,
padding: d
}),
reset: function() {
f.reset.call(this);
var t = this.cfg, e = t.iv, r = t.mode;
if (this._xformMode == this._ENC_XFORM_MODE) var n = r.createEncryptor; else {
n = r.createDecryptor;
this._minBufferSize = 1;
}
if (this._mode && this._mode.__creator == n) this._mode.init(this, e && e.words); else {
this._mode = n.call(r, this, e && e.words);
this._mode.__creator = n;
}
},
_doProcessBlock: function(t, e) {
this._mode.processBlock(t, e);
},
_doFinalize: function() {
var t = this.cfg.padding;
if (this._xformMode == this._ENC_XFORM_MODE) {
t.pad(this._data, this.blockSize);
var e = this._process(!0);
} else {
e = this._process(!0);
t.unpad(e);
}
return e;
},
blockSize: 4
}), r.CipherParams = o.extend({
init: function(t) {
this.mixIn(t);
},
toString: function(t) {
return (t || this.formatter).stringify(this);
}
})), v = (e.format = {}).OpenSSL = {
stringify: function(t) {
var e = t.ciphertext, r = t.salt;
if (r) var n = i.create([ 1398893684, 1701076831 ]).concat(r).concat(e); else n = e;
return n.toString(s);
},
parse: function(t) {
var e = s.parse(t), r = e.words;
if (1398893684 == r[0] && 1701076831 == r[1]) {
var n = i.create(r.slice(2, 4));
r.splice(0, 4);
e.sigBytes -= 16;
}
return y.create({
ciphertext: e,
salt: n
});
}
}, g = r.SerializableCipher = o.extend({
cfg: o.extend({
format: v
}),
encrypt: function(t, e, r, n) {
n = this.cfg.extend(n);
var o = t.createEncryptor(r, n), i = o.finalize(e), a = o.cfg;
return y.create({
ciphertext: i,
key: r,
iv: a.iv,
algorithm: t,
mode: a.mode,
padding: a.padding,
blockSize: t.blockSize,
formatter: n.format
});
},
decrypt: function(t, e, r, n) {
n = this.cfg.extend(n);
e = this._parse(e, n.format);
return t.createDecryptor(r, n).finalize(e.ciphertext);
},
_parse: function(t, e) {
return "string" == typeof t ? e.parse(t, this) : t;
}
}), _ = (e.kdf = {}).OpenSSL = {
execute: function(t, e, r, n) {
n || (n = i.random(8));
var o = u.create({
keySize: e + r
}).compute(t, n), a = i.create(o.words.slice(e), 4 * r);
o.sigBytes = 4 * e;
return y.create({
key: o,
iv: a,
salt: n
});
}
}, m = r.PasswordBasedCipher = g.extend({
cfg: g.cfg.extend({
kdf: _
}),
encrypt: function(t, e, r, n) {
var o = (n = this.cfg.extend(n)).kdf.execute(r, t.keySize, t.ivSize);
n.iv = o.iv;
var i = g.encrypt.call(this, t, e, o.key, n);
i.mixIn(o);
return i;
},
decrypt: function(t, e, r, n) {
n = this.cfg.extend(n);
e = this._parse(e, n.format);
var o = n.kdf.execute(r, t.keySize, t.ivSize, e.salt);
n.iv = o.iv;
return g.decrypt.call(this, t, e, o.key, n);
}
});
}();
n.mode.CFB = function() {
var t = n.lib.BlockCipherMode.extend();
t.Encryptor = t.extend({
processBlock: function(t, r) {
var n = this._cipher, o = n.blockSize;
e.call(this, t, r, o, n);
this._prevBlock = t.slice(r, r + o);
}
});
t.Decryptor = t.extend({
processBlock: function(t, r) {
var n = this._cipher, o = n.blockSize, i = t.slice(r, r + o);
e.call(this, t, r, o, n);
this._prevBlock = i;
}
});
function e(t, e, r, n) {
var o = this._iv;
if (o) {
var i = o.slice(0);
this._iv = void 0;
} else i = this._prevBlock;
n.encryptBlock(i, 0);
for (var a = 0; a < r; a++) t[e + a] ^= i[a];
}
return t;
}();
n.mode.ECB = function() {
var t = n.lib.BlockCipherMode.extend();
t.Encryptor = t.extend({
processBlock: function(t, e) {
this._cipher.encryptBlock(t, e);
}
});
t.Decryptor = t.extend({
processBlock: function(t, e) {
this._cipher.decryptBlock(t, e);
}
});
return t;
}();
n.pad.AnsiX923 = {
pad: function(t, e) {
var r = t.sigBytes, n = 4 * e, o = n - r % n, i = r + o - 1;
t.clamp();
t.words[i >>> 2] |= o << 24 - i % 4 * 8;
t.sigBytes += o;
},
unpad: function(t) {
var e = 255 & t.words[t.sigBytes - 1 >>> 2];
t.sigBytes -= e;
}
};
n.pad.Iso10126 = {
pad: function(t, e) {
var r = 4 * e, o = r - t.sigBytes % r;
t.concat(n.lib.WordArray.random(o - 1)).concat(n.lib.WordArray.create([ o << 24 ], 1));
},
unpad: function(t) {
var e = 255 & t.words[t.sigBytes - 1 >>> 2];
t.sigBytes -= e;
}
};
n.pad.Iso97971 = {
pad: function(t, e) {
t.concat(n.lib.WordArray.create([ 2147483648 ], 1));
n.pad.ZeroPadding.pad(t, e);
},
unpad: function(t) {
n.pad.ZeroPadding.unpad(t);
t.sigBytes--;
}
};
n.mode.OFB = function() {
var t = n.lib.BlockCipherMode.extend(), e = t.Encryptor = t.extend({
processBlock: function(t, e) {
var r = this._cipher, n = r.blockSize, o = this._iv, i = this._keystream;
if (o) {
i = this._keystream = o.slice(0);
this._iv = void 0;
}
r.encryptBlock(i, 0);
for (var a = 0; a < n; a++) t[e + a] ^= i[a];
}
});
t.Decryptor = e;
return t;
}();
n.pad.NoPadding = {
pad: function() {},
unpad: function() {}
};
(function() {
var t = n, e = t.lib.CipherParams, r = t.enc.Hex;
t.format.Hex = {
stringify: function(t) {
return t.ciphertext.toString(r);
},
parse: function(t) {
var n = r.parse(t);
return e.create({
ciphertext: n
});
}
};
})();
(function() {
var t = n, e = t.lib.BlockCipher, r = t.algo, o = [], i = [], a = [], c = [], s = [], u = [], f = [], l = [], h = [], p = [];
(function() {
for (var t = [], e = 0; e < 256; e++) t[e] = e < 128 ? e << 1 : e << 1 ^ 283;
var r = 0, n = 0;
for (e = 0; e < 256; e++) {
var d = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4;
d = d >>> 8 ^ 255 & d ^ 99;
o[r] = d;
i[d] = r;
var y = t[r], v = t[y], g = t[v], _ = 257 * t[d] ^ 16843008 * d;
a[r] = _ << 24 | _ >>> 8;
c[r] = _ << 16 | _ >>> 16;
s[r] = _ << 8 | _ >>> 24;
u[r] = _;
_ = 16843009 * g ^ 65537 * v ^ 257 * y ^ 16843008 * r;
f[d] = _ << 24 | _ >>> 8;
l[d] = _ << 16 | _ >>> 16;
h[d] = _ << 8 | _ >>> 24;
p[d] = _;
if (r) {
r = y ^ t[t[t[g ^ y]]];
n ^= t[t[n]];
} else r = n = 1;
}
})();
var d = [ 0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 ], y = r.AES = e.extend({
_doReset: function() {
if (!this._nRounds || this._keyPriorReset !== this._key) {
for (var t = this._keyPriorReset = this._key, e = t.words, r = t.sigBytes / 4, n = 4 * ((this._nRounds = r + 6) + 1), i = this._keySchedule = [], a = 0; a < n; a++) if (a < r) i[a] = e[a]; else {
var c = i[a - 1];
if (a % r) r > 6 && a % r == 4 && (c = o[c >>> 24] << 24 | o[c >>> 16 & 255] << 16 | o[c >>> 8 & 255] << 8 | o[255 & c]); else {
c = o[(c = c << 8 | c >>> 24) >>> 24] << 24 | o[c >>> 16 & 255] << 16 | o[c >>> 8 & 255] << 8 | o[255 & c];
c ^= d[a / r | 0] << 24;
}
i[a] = i[a - r] ^ c;
}
for (var s = this._invKeySchedule = [], u = 0; u < n; u++) {
a = n - u;
c = u % 4 ? i[a] : i[a - 4];
s[u] = u < 4 || a <= 4 ? c : f[o[c >>> 24]] ^ l[o[c >>> 16 & 255]] ^ h[o[c >>> 8 & 255]] ^ p[o[255 & c]];
}
}
},
encryptBlock: function(t, e) {
this._doCryptBlock(t, e, this._keySchedule, a, c, s, u, o);
},
decryptBlock: function(t, e) {
var r = t[e + 1];
t[e + 1] = t[e + 3];
t[e + 3] = r;
this._doCryptBlock(t, e, this._invKeySchedule, f, l, h, p, i);
r = t[e + 1];
t[e + 1] = t[e + 3];
t[e + 3] = r;
},
_doCryptBlock: function(t, e, r, n, o, i, a, c) {
for (var s = this._nRounds, u = t[e] ^ r[0], f = t[e + 1] ^ r[1], l = t[e + 2] ^ r[2], h = t[e + 3] ^ r[3], p = 4, d = 1; d < s; d++) {
var y = n[u >>> 24] ^ o[f >>> 16 & 255] ^ i[l >>> 8 & 255] ^ a[255 & h] ^ r[p++], v = n[f >>> 24] ^ o[l >>> 16 & 255] ^ i[h >>> 8 & 255] ^ a[255 & u] ^ r[p++], g = n[l >>> 24] ^ o[h >>> 16 & 255] ^ i[u >>> 8 & 255] ^ a[255 & f] ^ r[p++], _ = n[h >>> 24] ^ o[u >>> 16 & 255] ^ i[f >>> 8 & 255] ^ a[255 & l] ^ r[p++];
u = y;
f = v;
l = g;
h = _;
}
y = (c[u >>> 24] << 24 | c[f >>> 16 & 255] << 16 | c[l >>> 8 & 255] << 8 | c[255 & h]) ^ r[p++], 
v = (c[f >>> 24] << 24 | c[l >>> 16 & 255] << 16 | c[h >>> 8 & 255] << 8 | c[255 & u]) ^ r[p++], 
g = (c[l >>> 24] << 24 | c[h >>> 16 & 255] << 16 | c[u >>> 8 & 255] << 8 | c[255 & f]) ^ r[p++], 
_ = (c[h >>> 24] << 24 | c[u >>> 16 & 255] << 16 | c[f >>> 8 & 255] << 8 | c[255 & l]) ^ r[p++];
t[e] = y;
t[e + 1] = v;
t[e + 2] = g;
t[e + 3] = _;
},
keySize: 8
});
t.AES = e._createHelper(y);
})();
(function() {
var t = n, e = t.lib, r = e.WordArray, o = e.BlockCipher, i = t.algo, a = [ 57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4 ], c = [ 14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32 ], s = [ 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28 ], u = [ {
0: 8421888,
268435456: 32768,
536870912: 8421378,
805306368: 2,
1073741824: 512,
1342177280: 8421890,
1610612736: 8389122,
1879048192: 8388608,
2147483648: 514,
2415919104: 8389120,
2684354560: 33280,
2952790016: 8421376,
3221225472: 32770,
3489660928: 8388610,
3758096384: 0,
4026531840: 33282,
134217728: 0,
402653184: 8421890,
671088640: 33282,
939524096: 32768,
1207959552: 8421888,
1476395008: 512,
1744830464: 8421378,
2013265920: 2,
2281701376: 8389120,
2550136832: 33280,
2818572288: 8421376,
3087007744: 8389122,
3355443200: 8388610,
3623878656: 32770,
3892314112: 514,
4160749568: 8388608,
1: 32768,
268435457: 2,
536870913: 8421888,
805306369: 8388608,
1073741825: 8421378,
1342177281: 33280,
1610612737: 512,
1879048193: 8389122,
2147483649: 8421890,
2415919105: 8421376,
2684354561: 8388610,
2952790017: 33282,
3221225473: 514,
3489660929: 8389120,
3758096385: 32770,
4026531841: 0,
134217729: 8421890,
402653185: 8421376,
671088641: 8388608,
939524097: 512,
1207959553: 32768,
1476395009: 8388610,
1744830465: 2,
2013265921: 33282,
2281701377: 32770,
2550136833: 8389122,
2818572289: 514,
3087007745: 8421888,
3355443201: 8389120,
3623878657: 0,
3892314113: 33280,
4160749569: 8421378
}, {
0: 1074282512,
16777216: 16384,
33554432: 524288,
50331648: 1074266128,
67108864: 1073741840,
83886080: 1074282496,
100663296: 1073758208,
117440512: 16,
134217728: 540672,
150994944: 1073758224,
167772160: 1073741824,
184549376: 540688,
201326592: 524304,
218103808: 0,
234881024: 16400,
251658240: 1074266112,
8388608: 1073758208,
25165824: 540688,
41943040: 16,
58720256: 1073758224,
75497472: 1074282512,
92274688: 1073741824,
109051904: 524288,
125829120: 1074266128,
142606336: 524304,
159383552: 0,
176160768: 16384,
192937984: 1074266112,
209715200: 1073741840,
226492416: 540672,
243269632: 1074282496,
260046848: 16400,
268435456: 0,
285212672: 1074266128,
301989888: 1073758224,
318767104: 1074282496,
335544320: 1074266112,
352321536: 16,
369098752: 540688,
385875968: 16384,
402653184: 16400,
419430400: 524288,
436207616: 524304,
452984832: 1073741840,
469762048: 540672,
486539264: 1073758208,
503316480: 1073741824,
520093696: 1074282512,
276824064: 540688,
293601280: 524288,
310378496: 1074266112,
327155712: 16384,
343932928: 1073758208,
360710144: 1074282512,
377487360: 16,
394264576: 1073741824,
411041792: 1074282496,
427819008: 1073741840,
444596224: 1073758224,
461373440: 524304,
478150656: 0,
494927872: 16400,
511705088: 1074266128,
528482304: 540672
}, {
0: 260,
1048576: 0,
2097152: 67109120,
3145728: 65796,
4194304: 65540,
5242880: 67108868,
6291456: 67174660,
7340032: 67174400,
8388608: 67108864,
9437184: 67174656,
10485760: 65792,
11534336: 67174404,
12582912: 67109124,
13631488: 65536,
14680064: 4,
15728640: 256,
524288: 67174656,
1572864: 67174404,
2621440: 0,
3670016: 67109120,
4718592: 67108868,
5767168: 65536,
6815744: 65540,
7864320: 260,
8912896: 4,
9961472: 256,
11010048: 67174400,
12058624: 65796,
13107200: 65792,
14155776: 67109124,
15204352: 67174660,
16252928: 67108864,
16777216: 67174656,
17825792: 65540,
18874368: 65536,
19922944: 67109120,
20971520: 256,
22020096: 67174660,
23068672: 67108868,
24117248: 0,
25165824: 67109124,
26214400: 67108864,
27262976: 4,
28311552: 65792,
29360128: 67174400,
30408704: 260,
31457280: 65796,
32505856: 67174404,
17301504: 67108864,
18350080: 260,
19398656: 67174656,
20447232: 0,
21495808: 65540,
22544384: 67109120,
23592960: 256,
24641536: 67174404,
25690112: 65536,
26738688: 67174660,
27787264: 65796,
28835840: 67108868,
29884416: 67109124,
30932992: 67174400,
31981568: 4,
33030144: 65792
}, {
0: 2151682048,
65536: 2147487808,
131072: 4198464,
196608: 2151677952,
262144: 0,
327680: 4198400,
393216: 2147483712,
458752: 4194368,
524288: 2147483648,
589824: 4194304,
655360: 64,
720896: 2147487744,
786432: 2151678016,
851968: 4160,
917504: 4096,
983040: 2151682112,
32768: 2147487808,
98304: 64,
163840: 2151678016,
229376: 2147487744,
294912: 4198400,
360448: 2151682112,
425984: 0,
491520: 2151677952,
557056: 4096,
622592: 2151682048,
688128: 4194304,
753664: 4160,
819200: 2147483648,
884736: 4194368,
950272: 4198464,
1015808: 2147483712,
1048576: 4194368,
1114112: 4198400,
1179648: 2147483712,
1245184: 0,
1310720: 4160,
1376256: 2151678016,
1441792: 2151682048,
1507328: 2147487808,
1572864: 2151682112,
1638400: 2147483648,
1703936: 2151677952,
1769472: 4198464,
1835008: 2147487744,
1900544: 4194304,
1966080: 64,
2031616: 4096,
1081344: 2151677952,
1146880: 2151682112,
1212416: 0,
1277952: 4198400,
1343488: 4194368,
1409024: 2147483648,
1474560: 2147487808,
1540096: 64,
1605632: 2147483712,
1671168: 4096,
1736704: 2147487744,
1802240: 2151678016,
1867776: 4160,
1933312: 2151682048,
1998848: 4194304,
2064384: 4198464
}, {
0: 128,
4096: 17039360,
8192: 262144,
12288: 536870912,
16384: 537133184,
20480: 16777344,
24576: 553648256,
28672: 262272,
32768: 16777216,
36864: 537133056,
40960: 536871040,
45056: 553910400,
49152: 553910272,
53248: 0,
57344: 17039488,
61440: 553648128,
2048: 17039488,
6144: 553648256,
10240: 128,
14336: 17039360,
18432: 262144,
22528: 537133184,
26624: 553910272,
30720: 536870912,
34816: 537133056,
38912: 0,
43008: 553910400,
47104: 16777344,
51200: 536871040,
55296: 553648128,
59392: 16777216,
63488: 262272,
65536: 262144,
69632: 128,
73728: 536870912,
77824: 553648256,
81920: 16777344,
86016: 553910272,
90112: 537133184,
94208: 16777216,
98304: 553910400,
102400: 553648128,
106496: 17039360,
110592: 537133056,
114688: 262272,
118784: 536871040,
122880: 0,
126976: 17039488,
67584: 553648256,
71680: 16777216,
75776: 17039360,
79872: 537133184,
83968: 536870912,
88064: 17039488,
92160: 128,
96256: 553910272,
100352: 262272,
104448: 553910400,
108544: 0,
112640: 553648128,
116736: 16777344,
120832: 262144,
124928: 537133056,
129024: 536871040
}, {
0: 268435464,
256: 8192,
512: 270532608,
768: 270540808,
1024: 268443648,
1280: 2097152,
1536: 2097160,
1792: 268435456,
2048: 0,
2304: 268443656,
2560: 2105344,
2816: 8,
3072: 270532616,
3328: 2105352,
3584: 8200,
3840: 270540800,
128: 270532608,
384: 270540808,
640: 8,
896: 2097152,
1152: 2105352,
1408: 268435464,
1664: 268443648,
1920: 8200,
2176: 2097160,
2432: 8192,
2688: 268443656,
2944: 270532616,
3200: 0,
3456: 270540800,
3712: 2105344,
3968: 268435456,
4096: 268443648,
4352: 270532616,
4608: 270540808,
4864: 8200,
5120: 2097152,
5376: 268435456,
5632: 268435464,
5888: 2105344,
6144: 2105352,
6400: 0,
6656: 8,
6912: 270532608,
7168: 8192,
7424: 268443656,
7680: 270540800,
7936: 2097160,
4224: 8,
4480: 2105344,
4736: 2097152,
4992: 268435464,
5248: 268443648,
5504: 8200,
5760: 270540808,
6016: 270532608,
6272: 270540800,
6528: 270532616,
6784: 8192,
7040: 2105352,
7296: 2097160,
7552: 0,
7808: 268435456,
8064: 268443656
}, {
0: 1048576,
16: 33555457,
32: 1024,
48: 1049601,
64: 34604033,
80: 0,
96: 1,
112: 34603009,
128: 33555456,
144: 1048577,
160: 33554433,
176: 34604032,
192: 34603008,
208: 1025,
224: 1049600,
240: 33554432,
8: 34603009,
24: 0,
40: 33555457,
56: 34604032,
72: 1048576,
88: 33554433,
104: 33554432,
120: 1025,
136: 1049601,
152: 33555456,
168: 34603008,
184: 1048577,
200: 1024,
216: 34604033,
232: 1,
248: 1049600,
256: 33554432,
272: 1048576,
288: 33555457,
304: 34603009,
320: 1048577,
336: 33555456,
352: 34604032,
368: 1049601,
384: 1025,
400: 34604033,
416: 1049600,
432: 1,
448: 0,
464: 34603008,
480: 33554433,
496: 1024,
264: 1049600,
280: 33555457,
296: 34603009,
312: 1,
328: 33554432,
344: 1048576,
360: 1025,
376: 34604032,
392: 33554433,
408: 34603008,
424: 0,
440: 34604033,
456: 1049601,
472: 1024,
488: 33555456,
504: 1048577
}, {
0: 134219808,
1: 131072,
2: 134217728,
3: 32,
4: 131104,
5: 134350880,
6: 134350848,
7: 2048,
8: 134348800,
9: 134219776,
10: 133120,
11: 134348832,
12: 2080,
13: 0,
14: 134217760,
15: 133152,
2147483648: 2048,
2147483649: 134350880,
2147483650: 134219808,
2147483651: 134217728,
2147483652: 134348800,
2147483653: 133120,
2147483654: 133152,
2147483655: 32,
2147483656: 134217760,
2147483657: 2080,
2147483658: 131104,
2147483659: 134350848,
2147483660: 0,
2147483661: 134348832,
2147483662: 134219776,
2147483663: 131072,
16: 133152,
17: 134350848,
18: 32,
19: 2048,
20: 134219776,
21: 134217760,
22: 134348832,
23: 131072,
24: 0,
25: 131104,
26: 134348800,
27: 134219808,
28: 134350880,
29: 133120,
30: 2080,
31: 134217728,
2147483664: 131072,
2147483665: 2048,
2147483666: 134348832,
2147483667: 133152,
2147483668: 32,
2147483669: 134348800,
2147483670: 134217728,
2147483671: 134219808,
2147483672: 134350880,
2147483673: 134217760,
2147483674: 134219776,
2147483675: 0,
2147483676: 133120,
2147483677: 2080,
2147483678: 131104,
2147483679: 134350848
} ], f = [ 4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679 ], l = i.DES = o.extend({
_doReset: function() {
for (var t = this._key.words, e = [], r = 0; r < 56; r++) {
var n = a[r] - 1;
e[r] = t[n >>> 5] >>> 31 - n % 32 & 1;
}
for (var o = this._subKeys = [], i = 0; i < 16; i++) {
var u = o[i] = [], f = s[i];
for (r = 0; r < 24; r++) {
u[r / 6 | 0] |= e[(c[r] - 1 + f) % 28] << 31 - r % 6;
u[4 + (r / 6 | 0)] |= e[28 + (c[r + 24] - 1 + f) % 28] << 31 - r % 6;
}
u[0] = u[0] << 1 | u[0] >>> 31;
for (r = 1; r < 7; r++) u[r] = u[r] >>> 4 * (r - 1) + 3;
u[7] = u[7] << 5 | u[7] >>> 27;
}
var l = this._invSubKeys = [];
for (r = 0; r < 16; r++) l[r] = o[15 - r];
},
encryptBlock: function(t, e) {
this._doCryptBlock(t, e, this._subKeys);
},
decryptBlock: function(t, e) {
this._doCryptBlock(t, e, this._invSubKeys);
},
_doCryptBlock: function(t, e, r) {
this._lBlock = t[e];
this._rBlock = t[e + 1];
h.call(this, 4, 252645135);
h.call(this, 16, 65535);
p.call(this, 2, 858993459);
p.call(this, 8, 16711935);
h.call(this, 1, 1431655765);
for (var n = 0; n < 16; n++) {
for (var o = r[n], i = this._lBlock, a = this._rBlock, c = 0, s = 0; s < 8; s++) c |= u[s][((a ^ o[s]) & f[s]) >>> 0];
this._lBlock = a;
this._rBlock = i ^ c;
}
var l = this._lBlock;
this._lBlock = this._rBlock;
this._rBlock = l;
h.call(this, 1, 1431655765);
p.call(this, 8, 16711935);
p.call(this, 2, 858993459);
h.call(this, 16, 65535);
h.call(this, 4, 252645135);
t[e] = this._lBlock;
t[e + 1] = this._rBlock;
},
keySize: 2,
ivSize: 2,
blockSize: 2
});
function h(t, e) {
var r = (this._lBlock >>> t ^ this._rBlock) & e;
this._rBlock ^= r;
this._lBlock ^= r << t;
}
function p(t, e) {
var r = (this._rBlock >>> t ^ this._lBlock) & e;
this._lBlock ^= r;
this._rBlock ^= r << t;
}
t.DES = o._createHelper(l);
var d = i.TripleDES = o.extend({
_doReset: function() {
var t = this._key.words;
this._des1 = l.createEncryptor(r.create(t.slice(0, 2)));
this._des2 = l.createEncryptor(r.create(t.slice(2, 4)));
this._des3 = l.createEncryptor(r.create(t.slice(4, 6)));
},
encryptBlock: function(t, e) {
this._des1.encryptBlock(t, e);
this._des2.decryptBlock(t, e);
this._des3.encryptBlock(t, e);
},
decryptBlock: function(t, e) {
this._des3.decryptBlock(t, e);
this._des2.encryptBlock(t, e);
this._des1.decryptBlock(t, e);
},
keySize: 6,
ivSize: 2,
blockSize: 2
});
t.TripleDES = o._createHelper(d);
})();
(function() {
var t = n, e = t.lib.StreamCipher, r = t.algo, o = r.RC4 = e.extend({
_doReset: function() {
for (var t = this._key, e = t.words, r = t.sigBytes, n = this._S = [], o = 0; o < 256; o++) n[o] = o;
o = 0;
for (var i = 0; o < 256; o++) {
var a = o % r, c = e[a >>> 2] >>> 24 - a % 4 * 8 & 255;
i = (i + n[o] + c) % 256;
var s = n[o];
n[o] = n[i];
n[i] = s;
}
this._i = this._j = 0;
},
_doProcessBlock: function(t, e) {
t[e] ^= i.call(this);
},
keySize: 8,
ivSize: 0
});
function i() {
for (var t = this._S, e = this._i, r = this._j, n = 0, o = 0; o < 4; o++) {
r = (r + t[e = (e + 1) % 256]) % 256;
var i = t[e];
t[e] = t[r];
t[r] = i;
n |= t[(t[e] + t[r]) % 256] << 24 - 8 * o;
}
this._i = e;
this._j = r;
return n;
}
t.RC4 = e._createHelper(o);
var a = r.RC4Drop = o.extend({
cfg: o.cfg.extend({
drop: 192
}),
_doReset: function() {
o._doReset.call(this);
for (var t = this.cfg.drop; t > 0; t--) i.call(this);
}
});
t.RC4Drop = e._createHelper(a);
})();
n.mode.CTRGladman = function() {
var t = n.lib.BlockCipherMode.extend();
function e(t) {
if (255 == (t >> 24 & 255)) {
var e = t >> 16 & 255, r = t >> 8 & 255, n = 255 & t;
if (255 === e) {
e = 0;
if (255 === r) {
r = 0;
255 === n ? n = 0 : ++n;
} else ++r;
} else ++e;
t = 0;
t += e << 16;
t += r << 8;
t += n;
} else t += 1 << 24;
return t;
}
function r(t) {
0 === (t[0] = e(t[0])) && (t[1] = e(t[1]));
return t;
}
var o = t.Encryptor = t.extend({
processBlock: function(t, e) {
var n = this._cipher, o = n.blockSize, i = this._iv, a = this._counter;
if (i) {
a = this._counter = i.slice(0);
this._iv = void 0;
}
r(a);
var c = a.slice(0);
n.encryptBlock(c, 0);
for (var s = 0; s < o; s++) t[e + s] ^= c[s];
}
});
t.Decryptor = o;
return t;
}();
(function() {
var t = n, e = t.lib.StreamCipher, r = t.algo, o = [], i = [], a = [], c = r.Rabbit = e.extend({
_doReset: function() {
for (var t = this._key.words, e = this.cfg.iv, r = 0; r < 4; r++) t[r] = 16711935 & (t[r] << 8 | t[r] >>> 24) | 4278255360 & (t[r] << 24 | t[r] >>> 8);
var n = this._X = [ t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16 ], o = this._C = [ t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0] ];
this._b = 0;
for (r = 0; r < 4; r++) s.call(this);
for (r = 0; r < 8; r++) o[r] ^= n[r + 4 & 7];
if (e) {
var i = e.words, a = i[0], c = i[1], u = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8), f = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8), l = u >>> 16 | 4294901760 & f, h = f << 16 | 65535 & u;
o[0] ^= u;
o[1] ^= l;
o[2] ^= f;
o[3] ^= h;
o[4] ^= u;
o[5] ^= l;
o[6] ^= f;
o[7] ^= h;
for (r = 0; r < 4; r++) s.call(this);
}
},
_doProcessBlock: function(t, e) {
var r = this._X;
s.call(this);
o[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16;
o[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16;
o[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16;
o[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
for (var n = 0; n < 4; n++) {
o[n] = 16711935 & (o[n] << 8 | o[n] >>> 24) | 4278255360 & (o[n] << 24 | o[n] >>> 8);
t[e + n] ^= o[n];
}
},
blockSize: 4,
ivSize: 2
});
function s() {
for (var t = this._X, e = this._C, r = 0; r < 8; r++) i[r] = e[r];
e[0] = e[0] + 1295307597 + this._b | 0;
e[1] = e[1] + 3545052371 + (e[0] >>> 0 < i[0] >>> 0 ? 1 : 0) | 0;
e[2] = e[2] + 886263092 + (e[1] >>> 0 < i[1] >>> 0 ? 1 : 0) | 0;
e[3] = e[3] + 1295307597 + (e[2] >>> 0 < i[2] >>> 0 ? 1 : 0) | 0;
e[4] = e[4] + 3545052371 + (e[3] >>> 0 < i[3] >>> 0 ? 1 : 0) | 0;
e[5] = e[5] + 886263092 + (e[4] >>> 0 < i[4] >>> 0 ? 1 : 0) | 0;
e[6] = e[6] + 1295307597 + (e[5] >>> 0 < i[5] >>> 0 ? 1 : 0) | 0;
e[7] = e[7] + 3545052371 + (e[6] >>> 0 < i[6] >>> 0 ? 1 : 0) | 0;
this._b = e[7] >>> 0 < i[7] >>> 0 ? 1 : 0;
for (r = 0; r < 8; r++) {
var n = t[r] + e[r], o = 65535 & n, c = n >>> 16, s = ((o * o >>> 17) + o * c >>> 15) + c * c, u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
a[r] = s ^ u;
}
t[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0;
t[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0;
t[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0;
t[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0;
t[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0;
t[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0;
t[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0;
t[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
}
t.Rabbit = e._createHelper(c);
})();
n.mode.CTR = function() {
var t = n.lib.BlockCipherMode.extend(), e = t.Encryptor = t.extend({
processBlock: function(t, e) {
var r = this._cipher, n = r.blockSize, o = this._iv, i = this._counter;
if (o) {
i = this._counter = o.slice(0);
this._iv = void 0;
}
var a = i.slice(0);
r.encryptBlock(a, 0);
i[n - 1] = i[n - 1] + 1 | 0;
for (var c = 0; c < n; c++) t[e + c] ^= a[c];
}
});
t.Decryptor = e;
return t;
}();
(function() {
var t = n, e = t.lib.StreamCipher, r = t.algo, o = [], i = [], a = [], c = r.RabbitLegacy = e.extend({
_doReset: function() {
var t = this._key.words, e = this.cfg.iv, r = this._X = [ t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16 ], n = this._C = [ t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0] ];
this._b = 0;
for (var o = 0; o < 4; o++) s.call(this);
for (o = 0; o < 8; o++) n[o] ^= r[o + 4 & 7];
if (e) {
var i = e.words, a = i[0], c = i[1], u = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8), f = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8), l = u >>> 16 | 4294901760 & f, h = f << 16 | 65535 & u;
n[0] ^= u;
n[1] ^= l;
n[2] ^= f;
n[3] ^= h;
n[4] ^= u;
n[5] ^= l;
n[6] ^= f;
n[7] ^= h;
for (o = 0; o < 4; o++) s.call(this);
}
},
_doProcessBlock: function(t, e) {
var r = this._X;
s.call(this);
o[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16;
o[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16;
o[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16;
o[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
for (var n = 0; n < 4; n++) {
o[n] = 16711935 & (o[n] << 8 | o[n] >>> 24) | 4278255360 & (o[n] << 24 | o[n] >>> 8);
t[e + n] ^= o[n];
}
},
blockSize: 4,
ivSize: 2
});
function s() {
for (var t = this._X, e = this._C, r = 0; r < 8; r++) i[r] = e[r];
e[0] = e[0] + 1295307597 + this._b | 0;
e[1] = e[1] + 3545052371 + (e[0] >>> 0 < i[0] >>> 0 ? 1 : 0) | 0;
e[2] = e[2] + 886263092 + (e[1] >>> 0 < i[1] >>> 0 ? 1 : 0) | 0;
e[3] = e[3] + 1295307597 + (e[2] >>> 0 < i[2] >>> 0 ? 1 : 0) | 0;
e[4] = e[4] + 3545052371 + (e[3] >>> 0 < i[3] >>> 0 ? 1 : 0) | 0;
e[5] = e[5] + 886263092 + (e[4] >>> 0 < i[4] >>> 0 ? 1 : 0) | 0;
e[6] = e[6] + 1295307597 + (e[5] >>> 0 < i[5] >>> 0 ? 1 : 0) | 0;
e[7] = e[7] + 3545052371 + (e[6] >>> 0 < i[6] >>> 0 ? 1 : 0) | 0;
this._b = e[7] >>> 0 < i[7] >>> 0 ? 1 : 0;
for (r = 0; r < 8; r++) {
var n = t[r] + e[r], o = 65535 & n, c = n >>> 16, s = ((o * o >>> 17) + o * c >>> 15) + c * c, u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
a[r] = s ^ u;
}
t[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0;
t[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0;
t[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0;
t[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0;
t[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0;
t[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0;
t[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0;
t[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
}
t.RabbitLegacy = e._createHelper(c);
})();
n.pad.ZeroPadding = {
pad: function(t, e) {
var r = 4 * e;
t.clamp();
t.sigBytes += r - (t.sigBytes % r || r);
},
unpad: function(t) {
for (var e = t.words, r = t.sigBytes - 1; !(e[r >>> 2] >>> 24 - r % 4 * 8 & 255); ) r--;
t.sigBytes = r + 1;
}
};
return n;
}, "object" == typeof r ? e.exports = r = n() : "function" == typeof define && define.amd ? define([], n) : (void 0).CryptoJS = n();
var n;
cc._RF.pop();
}, {} ],
deepCopy: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "77970nyKq9Fk7afohBrmbHu", "deepCopy");
var n = this && this.__values || function(t) {
var e = "function" == typeof Symbol && Symbol.iterator, r = e && t[e], n = 0;
if (r) return r.call(t);
if (t && "number" == typeof t.length) return {
next: function() {
t && n >= t.length && (t = void 0);
return {
value: t && t[n++],
done: !t
};
}
};
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.deepCopy = r.defaultPresetTypeCopierMap = r.createDeepCopy = r.typeNameOfDefaultCopier = void 0;
var o = t("./type-reviver.es"), i = t("./type-tls.es"), a = t("./copiers"), c = t("./com-tools.es");
r.typeNameOfDefaultCopier = "default";
function s(t) {
var e, o, a, u, f = t.value, l = t.typeReviverObject, h = t.allOwnProps, p = t.copyFun, d = t.maxDepth, y = t.startDepth, v = t.rawCopyMap, g = t.completeCB, _ = t.key, m = t.host, b = g || function() {};
if (d < y || !p && "function" == typeof f || i.isBaseType(f)) {
b(f);
return f;
}
var w = v.get(f);
if (w) {
w.then(b);
return w.value;
}
(w = new c.Decide()).then(b);
v.set(f, w);
var S = y + 1;
function O(t, e, r, n, o) {
var i = null == n ? f : n;
if (o) var a = o.allOwnProps, c = o.depth, u = o.copyFun;
return s({
value: t,
typeReviverObject: l,
allOwnProps: null == a ? h : a,
copyFun: null == u ? p : u,
maxDepth: d,
startDepth: null == c ? S : c,
rawCopyMap: v,
completeCB: e,
key: r,
host: i
});
}
var A = i.getExactTypeNameOf(f), E = l[A];
if ("function" == typeof E) {
var M = E.call(f, f, O, {
allOwnProps: h,
key: _,
host: m,
type: A,
depth: y,
copyFun: p
});
w.value = M;
return M;
}
if ("function" == typeof f.getCopy) {
var P = f.getCopy(f, O, {
allOwnProps: h,
key: _,
host: m,
type: A,
depth: y,
copyFun: p
});
w.value = P;
return P;
}
var C = r.typeNameOfDefaultCopier, x = l[C];
if ("function" == typeof x) {
var R = x.call(f, f, O, {
allOwnProps: h,
key: _,
host: m,
type: C,
depth: y,
copyFun: p
});
w.value = R;
return R;
}
if ("function" == typeof f[Symbol.iterator]) {
var T = [], I = 0, k = function(t) {
var e = I;
T.push(void 0);
s({
value: t,
typeReviverObject: l,
allOwnProps: h,
copyFun: p,
maxDepth: d,
startDepth: S,
rawCopyMap: v,
completeCB: function(t) {
T.splice(e, 1, t);
},
key: I,
host: f
});
++I;
};
try {
for (var B = n(f), D = B.next(); !D.done; D = B.next()) k(D.value);
} catch (t) {
e = {
error: t
};
} finally {
try {
D && !D.done && (o = B.return) && o.call(B);
} finally {
if (e) throw e.error;
}
}
w.value = T;
return T;
}
var N, j = f.constructor;
if ("function" == typeof j) try {
N = new j();
} catch (t) {
N = Object.create(j.prototype);
} else N = Object.create(Object.getPrototypeOf(f));
if (h) var F = Object.getOwnPropertyNames(f); else F = Object.keys(f);
var L = function(t) {
s({
value: f[t],
typeReviverObject: l,
allOwnProps: h,
copyFun: p,
maxDepth: d,
startDepth: S,
rawCopyMap: v,
completeCB: function(e) {
var r = Object.getOwnPropertyDescriptor(f, t);
Object.defineProperty(N, t, r);
N[t] = e;
},
key: t,
host: f
});
};
try {
for (var U = n(F), H = U.next(); !H.done; H = U.next()) L(H.value);
} catch (t) {
a = {
error: t
};
} finally {
try {
H && !H.done && (u = U.return) && u.call(U);
} finally {
if (a) throw a.error;
}
}
w.value = N;
return N;
}
function u(t) {
function e(t, r, n) {
if (r) var i = r.maxDepth, a = r.allOwnProps, c = r.copyFun;
var u = null == i ? Infinity : i, f = !!a, l = !!c, h = e.presetTypeCopierMap, p = o.mergeTypeRevivers(h.size > 0 ? h : null, n);
return s({
value: t,
typeReviverObject: o.toTypeReviverObject(p),
allOwnProps: f,
copyFun: l,
maxDepth: u,
startDepth: 0,
rawCopyMap: new Map()
});
}
Object.defineProperty(e, "presetTypeCopierMap", {
configurable: !0,
enumerable: !0,
get: function() {
this._presetTypeCopierMap || (this._presetTypeCopierMap = new Map());
return this._presetTypeCopierMap;
},
set: function(t) {
t instanceof Map && (this._presetTypeCopierMap = t);
}
});
t && (e.presetTypeCopierMap = t);
return e;
}
r.createDeepCopy = u;
r.defaultPresetTypeCopierMap = new Map(a.presetTypeCopierArray);
r.deepCopy = u(new Map(a.presetTypeCopierArray));
cc._RF.pop();
}, {
"./com-tools.es": "com-tools.es",
"./copiers": "copiers",
"./type-reviver.es": "type-reviver.es",
"./type-tls.es": "type-tls.es"
} ],
iTween: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "bb53ddOR6FBw4aeX9Wro8yI", "iTween");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = t("../lib/prototype/MathUtils"), o = function() {
function t() {}
t.linear = function(t, e, r) {
return n.default.lerp(t, e, r);
};
t.clerp = function(t, e, r) {
var n = Math.abs(180);
return e - t < 0 - n ? t + (360 - t + e) * r : e - t > n ? t + (0 - (360 - e + t)) * r : t + (e - t) * r;
};
t.spring = function(t, e, r) {
r = n.default.clamp(r, 0, 1);
return t + (e - t) * (Math.sin(r * Math.PI * (.2 + 2.5 * r * r * r)) * Math.pow(1 - r, 2.2) + r) * (1 + 1.2 * (1 - r));
};
t.easeInQuad = function(t, e, r) {
return (e -= t) * r * r + t;
};
t.easeOutQuad = function(t, e, r) {
return (0 - (e -= t)) * r * (r - 2) + t;
};
t.easeInOutQuad = function(t, e, r) {
e -= t;
return (r /= .5) < 1 ? .5 * e * r * r + t : .5 * (0 - e) * ((r -= 1) * (r - 2) - 1) + t;
};
t.easeInCubic = function(t, e, r) {
return (e -= t) * r * r * r + t;
};
t.easeOutCubic = function(t, e, r) {
return (e -= t) * ((r -= 1) * r * r + 1) + t;
};
t.easeInOutCubic = function(t, e, r) {
e -= t;
return (r /= .5) < 1 ? .5 * e * r * r * r + t : .5 * e * ((r -= 2) * r * r + 2) + t;
};
t.easeInQuart = function(t, e, r) {
return (e -= t) * r * r * r * r + t;
};
t.easeOutQuart = function(t, e, r) {
return (0 - (e -= t)) * ((r -= 1) * r * r * r - 1) + t;
};
t.easeInOutQuart = function(t, e, r) {
e -= t;
return (r /= .5) < 1 ? .5 * e * r * r * r * r + t : .5 * (0 - e) * ((r -= 2) * r * r * r - 2) + t;
};
t.easeInQuint = function(t, e, r) {
return (e -= t) * r * r * r * r * r + t;
};
t.easeOutQuint = function(t, e, r) {
return (e -= t) * ((r -= 1) * r * r * r * r + 1) + t;
};
t.easeInOutQuint = function(t, e, r) {
e -= t;
return (r /= .5) < 1 ? .5 * e * r * r * r * r * r + t : .5 * e * ((r -= 2) * r * r * r * r + 2) + t;
};
t.easeInSine = function(t, e, r) {
return (0 - (e -= t)) * Math.cos(r * (Math.PI / 2)) + e + t;
};
t.easeOutSine = function(t, e, r) {
return (e -= t) * Math.sin(r * (Math.PI / 2)) + t;
};
t.easeInOutSine = function(t, e, r) {
return .5 * (0 - (e -= t)) * (Math.cos(Math.PI * r) - 1) + t;
};
t.easeInExpo = function(t, e, r) {
return (e -= t) * Math.pow(2, 10 * (r - 1)) + t;
};
t.easeOutExpo = function(t, e, r) {
return (e -= t) * (0 - Math.pow(2, -10 * r) + 1) + t;
};
t.easeInOutExpo = function(t, e, r) {
e -= t;
if ((r /= .5) < 1) return .5 * e * Math.pow(2, 10 * (r - 1)) + t;
r -= 1;
return .5 * e * (0 - Math.pow(2, -10 * r) + 2) + t;
};
t.easeInCirc = function(t, e, r) {
return (0 - (e -= t)) * (Math.sqrt(1 - r * r) - 1) + t;
};
t.easeOutCirc = function(t, e, r) {
r -= 1;
return (e -= t) * Math.sqrt(1 - r * r) + t;
};
t.easeInOutCirc = function(t, e, r) {
e -= t;
if ((r /= .5) < 1) return .5 * (0 - e) * (Math.sqrt(1 - r * r) - 1) + t;
r -= 2;
return .5 * e * (Math.sqrt(1 - r * r) + 1) + t;
};
t.easeInBounce = function(e, r, n) {
return (r -= e) - t.easeOutBounce(0, r, 1 - n) + e;
};
t.easeOutBounce = function(t, e, r) {
e -= t;
return (r /= 1) < .363636374 ? 7.5625 * e * r * r + t : r < .727272749 ? e * (7.5625 * (r -= .545454562) * r + .75) + t : r < .9090909090909091 ? e * (7.5625 * (r -= .8181818) * r + .9375) + t : e * (7.5625 * (r -= 21 / 22) * r + 63 / 64) + t;
};
t.easeInOutBounce = function(e, r, n) {
r -= e;
return n < .5 ? .5 * t.easeInBounce(0, r, 2 * n) + e : .5 * t.easeOutBounce(0, r, 2 * n - 1) + .5 * r + e;
};
t.easeInBack = function(t, e, r) {
return (e -= t) * (r /= 1) * r * (2.70158 * r - 1.70158) + t;
};
t.easeOutBack = function(t, e, r) {
return (e -= t) * ((r -= 1) * r * (2.70158 * r + 1.70158) + 1) + t;
};
t.easeInOutBack = function(t, e, r) {
var n = 1.70158;
e -= t;
return (r /= .5) < 1 ? .5 * e * r * r * ((1 + (n *= 1.525)) * r - n) + t : .5 * e * ((r -= 2) * r * ((1 + (n *= 1.525)) * r + n) + 2) + t;
};
t.punch = function(t, e) {
var r;
if (0 == e) return 0;
if (1 == e) return 0;
r = .3 / (2 * Math.PI) * Math.asin(0);
return t * Math.pow(2, -10 * e) * Math.sin(2 * (1 * e - r) * Math.PI / .3);
};
t.easeInElastic = function(t, e, r) {
e -= t;
var n = 0, o = 0;
if (0 == r) return t;
if (1 == (r /= 1)) return t + e;
if (0 == o || o < Math.abs(e)) {
o = e;
n = .075;
} else n = .3 / (2 * Math.PI) * Math.asin(e / o);
return 0 - o * Math.pow(2, 10 * (r -= 1)) * Math.sin(2 * (1 * r - n) * Math.PI / .3) + t;
};
t.easeOutElastic = function(t, e, r) {
e -= t;
var n = 0, o = 0;
if (0 == r) return t;
if (1 == (r /= 1)) return t + e;
if (0 == o || o < Math.abs(e)) {
o = e;
n = .075;
} else n = .3 / (2 * Math.PI) * Math.asin(e / o);
return o * Math.pow(2, -10 * r) * Math.sin(2 * (1 * r - n) * Math.PI / .3) + e + t;
};
t.easeInOutElastic = function(t, e, r) {
e -= t;
var n = 0, o = 0;
if (0 == r) return t;
if (2 == (r /= .5)) return t + e;
if (0 == o || o < Math.abs(e)) {
o = e;
n = .075;
} else n = .3 / (2 * Math.PI) * Math.asin(e / o);
return r < 1 ? o * Math.pow(2, 10 * (r -= 1)) * Math.sin(2 * (1 * r - n) * Math.PI / .3) * -.5 + t : o * Math.pow(2, -10 * (r -= 1)) * Math.sin(2 * (1 * r - n) * Math.PI / .3) * .5 + e + t;
};
return t;
}();
r.default = o;
cc._RF.pop();
}, {
"../lib/prototype/MathUtils": "MathUtils"
} ],
md5: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "4f530hmHe1ORZV2nBUWexOQ", "md5");
Object.defineProperty(r, "__esModule", {
value: !0
});
var n = function() {
function t() {
this._state = new Int32Array(4);
this._buffer = new ArrayBuffer(68);
this._buffer8 = new Uint8Array(this._buffer, 0, 68);
this._buffer32 = new Uint32Array(this._buffer, 0, 17);
this.start();
}
t.hashStr = function(t, e) {
void 0 === e && (e = !1);
return this.onePassHasher.start().appendStr(t).end(e);
};
t.hashAsciiStr = function(t, e) {
void 0 === e && (e = !1);
return this.onePassHasher.start().appendAsciiStr(t).end(e);
};
t._hex = function(e) {
var r, n, o, i, a = t.hexChars, c = t.hexOut;
for (i = 0; i < 4; i += 1) {
n = 8 * i;
r = e[i];
for (o = 0; o < 8; o += 2) {
c[n + 1 + o] = a.charAt(15 & r);
r >>>= 4;
c[n + 0 + o] = a.charAt(15 & r);
r >>>= 4;
}
}
return c.join("");
};
t._md5cycle = function(t, e) {
var r = t[0], n = t[1], o = t[2], i = t[3];
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & o | ~n & i) + e[0] - 680876936 | 0) << 7 | r >>> 25) + n | 0) & n | ~r & o) + e[1] - 389564586 | 0) << 12 | i >>> 20) + r | 0) & r | ~i & n) + e[2] + 606105819 | 0) << 17 | o >>> 15) + i | 0) & i | ~o & r) + e[3] - 1044525330 | 0) << 22 | n >>> 10) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & o | ~n & i) + e[4] - 176418897 | 0) << 7 | r >>> 25) + n | 0) & n | ~r & o) + e[5] + 1200080426 | 0) << 12 | i >>> 20) + r | 0) & r | ~i & n) + e[6] - 1473231341 | 0) << 17 | o >>> 15) + i | 0) & i | ~o & r) + e[7] - 45705983 | 0) << 22 | n >>> 10) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & o | ~n & i) + e[8] + 1770035416 | 0) << 7 | r >>> 25) + n | 0) & n | ~r & o) + e[9] - 1958414417 | 0) << 12 | i >>> 20) + r | 0) & r | ~i & n) + e[10] - 42063 | 0) << 17 | o >>> 15) + i | 0) & i | ~o & r) + e[11] - 1990404162 | 0) << 22 | n >>> 10) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & o | ~n & i) + e[12] + 1804603682 | 0) << 7 | r >>> 25) + n | 0) & n | ~r & o) + e[13] - 40341101 | 0) << 12 | i >>> 20) + r | 0) & r | ~i & n) + e[14] - 1502002290 | 0) << 17 | o >>> 15) + i | 0) & i | ~o & r) + e[15] + 1236535329 | 0) << 22 | n >>> 10) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & i | o & ~i) + e[1] - 165796510 | 0) << 5 | r >>> 27) + n | 0) & o | n & ~o) + e[6] - 1069501632 | 0) << 9 | i >>> 23) + r | 0) & n | r & ~n) + e[11] + 643717713 | 0) << 14 | o >>> 18) + i | 0) & r | i & ~r) + e[0] - 373897302 | 0) << 20 | n >>> 12) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & i | o & ~i) + e[5] - 701558691 | 0) << 5 | r >>> 27) + n | 0) & o | n & ~o) + e[10] + 38016083 | 0) << 9 | i >>> 23) + r | 0) & n | r & ~n) + e[15] - 660478335 | 0) << 14 | o >>> 18) + i | 0) & r | i & ~r) + e[4] - 405537848 | 0) << 20 | n >>> 12) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & i | o & ~i) + e[9] + 568446438 | 0) << 5 | r >>> 27) + n | 0) & o | n & ~o) + e[14] - 1019803690 | 0) << 9 | i >>> 23) + r | 0) & n | r & ~n) + e[3] - 187363961 | 0) << 14 | o >>> 18) + i | 0) & r | i & ~r) + e[8] + 1163531501 | 0) << 20 | n >>> 12) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n & i | o & ~i) + e[13] - 1444681467 | 0) << 5 | r >>> 27) + n | 0) & o | n & ~o) + e[2] - 51403784 | 0) << 9 | i >>> 23) + r | 0) & n | r & ~n) + e[7] + 1735328473 | 0) << 14 | o >>> 18) + i | 0) & r | i & ~r) + e[12] - 1926607734 | 0) << 20 | n >>> 12) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n ^ o ^ i) + e[5] - 378558 | 0) << 4 | r >>> 28) + n | 0) ^ n ^ o) + e[8] - 2022574463 | 0) << 11 | i >>> 21) + r | 0) ^ r ^ n) + e[11] + 1839030562 | 0) << 16 | o >>> 16) + i | 0) ^ i ^ r) + e[14] - 35309556 | 0) << 23 | n >>> 9) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n ^ o ^ i) + e[1] - 1530992060 | 0) << 4 | r >>> 28) + n | 0) ^ n ^ o) + e[4] + 1272893353 | 0) << 11 | i >>> 21) + r | 0) ^ r ^ n) + e[7] - 155497632 | 0) << 16 | o >>> 16) + i | 0) ^ i ^ r) + e[10] - 1094730640 | 0) << 23 | n >>> 9) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n ^ o ^ i) + e[13] + 681279174 | 0) << 4 | r >>> 28) + n | 0) ^ n ^ o) + e[0] - 358537222 | 0) << 11 | i >>> 21) + r | 0) ^ r ^ n) + e[3] - 722521979 | 0) << 16 | o >>> 16) + i | 0) ^ i ^ r) + e[6] + 76029189 | 0) << 23 | n >>> 9) + o | 0;
n = ((n += ((o = ((o += ((i = ((i += ((r = ((r += (n ^ o ^ i) + e[9] - 640364487 | 0) << 4 | r >>> 28) + n | 0) ^ n ^ o) + e[12] - 421815835 | 0) << 11 | i >>> 21) + r | 0) ^ r ^ n) + e[15] + 530742520 | 0) << 16 | o >>> 16) + i | 0) ^ i ^ r) + e[2] - 995338651 | 0) << 23 | n >>> 9) + o | 0;
n = ((n += ((i = ((i += (n ^ ((r = ((r += (o ^ (n | ~i)) + e[0] - 198630844 | 0) << 6 | r >>> 26) + n | 0) | ~o)) + e[7] + 1126891415 | 0) << 10 | i >>> 22) + r | 0) ^ ((o = ((o += (r ^ (i | ~n)) + e[14] - 1416354905 | 0) << 15 | o >>> 17) + i | 0) | ~r)) + e[5] - 57434055 | 0) << 21 | n >>> 11) + o | 0;
n = ((n += ((i = ((i += (n ^ ((r = ((r += (o ^ (n | ~i)) + e[12] + 1700485571 | 0) << 6 | r >>> 26) + n | 0) | ~o)) + e[3] - 1894986606 | 0) << 10 | i >>> 22) + r | 0) ^ ((o = ((o += (r ^ (i | ~n)) + e[10] - 1051523 | 0) << 15 | o >>> 17) + i | 0) | ~r)) + e[1] - 2054922799 | 0) << 21 | n >>> 11) + o | 0;
n = ((n += ((i = ((i += (n ^ ((r = ((r += (o ^ (n | ~i)) + e[8] + 1873313359 | 0) << 6 | r >>> 26) + n | 0) | ~o)) + e[15] - 30611744 | 0) << 10 | i >>> 22) + r | 0) ^ ((o = ((o += (r ^ (i | ~n)) + e[6] - 1560198380 | 0) << 15 | o >>> 17) + i | 0) | ~r)) + e[13] + 1309151649 | 0) << 21 | n >>> 11) + o | 0;
n = ((n += ((i = ((i += (n ^ ((r = ((r += (o ^ (n | ~i)) + e[4] - 145523070 | 0) << 6 | r >>> 26) + n | 0) | ~o)) + e[11] - 1120210379 | 0) << 10 | i >>> 22) + r | 0) ^ ((o = ((o += (r ^ (i | ~n)) + e[2] + 718787259 | 0) << 15 | o >>> 17) + i | 0) | ~r)) + e[9] - 343485551 | 0) << 21 | n >>> 11) + o | 0;
t[0] = r + t[0] | 0;
t[1] = n + t[1] | 0;
t[2] = o + t[2] | 0;
t[3] = i + t[3] | 0;
};
t.prototype.start = function() {
this._dataLength = 0;
this._bufferLength = 0;
this._state.set(t.stateIdentity);
return this;
};
t.prototype.appendStr = function(e) {
var r, n, o = this._buffer8, i = this._buffer32, a = this._bufferLength;
for (n = 0; n < e.length; n += 1) {
if ((r = e.charCodeAt(n)) < 128) o[a++] = r; else if (r < 2048) {
o[a++] = 192 + (r >>> 6);
o[a++] = 63 & r | 128;
} else if (r < 55296 || r > 56319) {
o[a++] = 224 + (r >>> 12);
o[a++] = r >>> 6 & 63 | 128;
o[a++] = 63 & r | 128;
} else {
if ((r = 1024 * (r - 55296) + (e.charCodeAt(++n) - 56320) + 65536) > 1114111) throw new Error("Unicode standard supports code points up to U+10FFFF");
o[a++] = 240 + (r >>> 18);
o[a++] = r >>> 12 & 63 | 128;
o[a++] = r >>> 6 & 63 | 128;
o[a++] = 63 & r | 128;
}
if (a >= 64) {
this._dataLength += 64;
t._md5cycle(this._state, i);
a -= 64;
i[0] = i[16];
}
}
this._bufferLength = a;
return this;
};
t.prototype.appendAsciiStr = function(e) {
for (var r, n = this._buffer8, o = this._buffer32, i = this._bufferLength, a = 0; ;) {
r = Math.min(e.length - a, 64 - i);
for (;r--; ) n[i++] = e.charCodeAt(a++);
if (i < 64) break;
this._dataLength += 64;
t._md5cycle(this._state, o);
i = 0;
}
this._bufferLength = i;
return this;
};
t.prototype.appendByteArray = function(e) {
for (var r, n = this._buffer8, o = this._buffer32, i = this._bufferLength, a = 0; ;) {
r = Math.min(e.length - a, 64 - i);
for (;r--; ) n[i++] = e[a++];
if (i < 64) break;
this._dataLength += 64;
t._md5cycle(this._state, o);
i = 0;
}
this._bufferLength = i;
return this;
};
t.prototype.getState = function() {
var t = this._state;
return {
buffer: String.fromCharCode.apply(null, this._buffer8),
buflen: this._bufferLength,
length: this._dataLength,
state: [ t[0], t[1], t[2], t[3] ]
};
};
t.prototype.setState = function(t) {
var e, r = t.buffer, n = t.state, o = this._state;
this._dataLength = t.length;
this._bufferLength = t.buflen;
o[0] = n[0];
o[1] = n[1];
o[2] = n[2];
o[3] = n[3];
for (e = 0; e < r.length; e += 1) this._buffer8[e] = r.charCodeAt(e);
};
t.prototype.end = function(e) {
void 0 === e && (e = !1);
var r, n = this._bufferLength, o = this._buffer8, i = this._buffer32, a = 1 + (n >> 2);
this._dataLength += n;
o[n] = 128;
o[n + 1] = o[n + 2] = o[n + 3] = 0;
i.set(t.buffer32Identity.subarray(a), a);
if (n > 55) {
t._md5cycle(this._state, i);
i.set(t.buffer32Identity);
}
if ((r = 8 * this._dataLength) <= 4294967295) i[14] = r; else {
var c = r.toString(16).match(/(.*?)(.{0,8})$/);
if (null === c) return;
var s = parseInt(c[2], 16), u = parseInt(c[1], 16) || 0;
i[14] = s;
i[15] = u;
}
t._md5cycle(this._state, i);
return e ? this._state : t._hex(this._state);
};
t.stateIdentity = new Int32Array([ 1732584193, -271733879, -1732584194, 271733878 ]);
t.buffer32Identity = new Int32Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]);
t.hexChars = "0123456789abcdef";
t.hexOut = [];
t.onePassHasher = new t();
return t;
}();
r.Md5 = n;
"5d41402abc4b2a76b9719d911017c592" !== n.hashStr("hello") && console.error("Md5 self test failed.");
cc._RF.pop();
}, {} ],
public: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "3482b616bVF/7bbfrPu6/Z3", "public");
Object.defineProperty(r, "__esModule", {
value: !0
});
r.isCopyable = void 0;
r.isCopyable = function(t) {
return t && "function" == typeof t.getCopy;
};
cc._RF.pop();
}, {} ],
startScene: [ function(t, e, r) {
"use strict";
cc._RF.push(e, "d1942NjjgxF97Hz0bc40hmu", "startScene");
var n, o = this && this.__extends || (n = function(t, e) {
return (n = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(t, e) {
t.__proto__ = e;
} || function(t, e) {
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (t[r] = e[r]);
})(t, e);
}, function(t, e) {
n(t, e);
function r() {
this.constructor = t;
}
t.prototype = null === e ? Object.create(e) : (r.prototype = e.prototype, new r());
}), i = this && this.__decorate || function(t, e, r, n) {
var o, i = arguments.length, a = i < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, r) : n;
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, r, n); else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, r, a) : o(e, r)) || a);
return i > 3 && a && Object.defineProperty(e, r, a), a;
}, a = this && this.__awaiter || function(t, e, r, n) {
return new (r || (r = Promise))(function(o, i) {
function a(t) {
try {
s(n.next(t));
} catch (t) {
i(t);
}
}
function c(t) {
try {
s(n.throw(t));
} catch (t) {
i(t);
}
}
function s(t) {
t.done ? o(t.value) : (e = t.value, e instanceof r ? e : new r(function(t) {
t(e);
})).then(a, c);
var e;
}
s((n = n.apply(t, e || [])).next());
});
}, c = this && this.__generator || function(t, e) {
var r, n, o, i, a = {
label: 0,
sent: function() {
if (1 & o[0]) throw o[1];
return o[1];
},
trys: [],
ops: []
};
return i = {
next: c(0),
throw: c(1),
return: c(2)
}, "function" == typeof Symbol && (i[Symbol.iterator] = function() {
return this;
}), i;
function c(t) {
return function(e) {
return s([ t, e ]);
};
}
function s(i) {
if (r) throw new TypeError("Generator is already executing.");
for (;a; ) try {
if (r = 1, n && (o = 2 & i[0] ? n.return : i[0] ? n.throw || ((o = n.return) && o.call(n), 
0) : n.next) && !(o = o.call(n, i[1])).done) return o;
(n = 0, o) && (i = [ 2 & i[0], o.value ]);
switch (i[0]) {
case 0:
case 1:
o = i;
break;

case 4:
a.label++;
return {
value: i[1],
done: !1
};

case 5:
a.label++;
n = i[1];
i = [ 0 ];
continue;

case 7:
i = a.ops.pop();
a.trys.pop();
continue;

default:
if (!(o = a.trys, o = o.length > 0 && o[o.length - 1]) && (6 === i[0] || 2 === i[0])) {
a = 0;
continue;
}
if (3 === i[0] && (!o || i[1] > o[0] && i[1] < o[3])) {
a.label = i[1];
break;
}
if (6 === i[0] && a.label < o[1]) {
a.label = o[1];
o = i;
break;
}
if (o && a.label < o[2]) {
a.label = o[2];
a.ops.push(i);
break;
}
o[2] && a.ops.pop();
a.trys.pop();
continue;
}
i = e.call(t, a);
} catch (t) {
i = [ 6, t ];
n = 0;
} finally {
r = o = 0;
}
if (5 & i[0]) throw i[1];
return {
value: i[0] ? i[1] : void 0,
done: !0
};
}
};
Object.defineProperty(r, "__esModule", {
value: !0
});
r.Start = void 0;
var s = t("../../framework/main/Constants"), u = t("../../framework/main/SystemCtrl"), f = t("../../framework/manager/AdaptMgr"), l = t("../../framework/manager/PlatformMgr"), h = t("../../framework/manager/ResMgr"), p = t("../../framework/utils/PlatformUtils"), d = t("./Agreement"), y = t("./ShuFenReport"), v = cc._decorator, g = v.ccclass, _ = v.property, m = v.menu, b = function(t) {
o(e, t);
function e() {
var e = null !== t && t.apply(this, arguments) || this;
e.prefab = null;
e.rootNode = null;
e.label = null;
e.tipsNode = null;
e.btnTips = null;
e.slts1 = null;
e.slts2 = null;
e.sceneAsset = null;
e.loaded = !1;
e.packageName_oppo = "com.gztyx.sdmnqeapk.nearme.gamecenter";
e.packageName_vivo = "com.gztyx.sdmnqeap.vivo";
e.packageName_huawei = "com.gztyx.sdmnqeapkyx.huawei";
e.packageName_mmy = "com.gztyx.sdmnqap.mmyml";
e.packageName_xiaomi = "com.njly.sdmnqe.mi";
e.packageName_233 = "com.gztyx.sdmnqeap.meta";
e.jsb_vivo_mediaID = "a10768afeca8415c994a8255884153ba";
e.jsb_vivo_fetchSplashAdId = "5841669efe704c5ea8aa58ee8c1779e2";
e.jsb_oppo_appID = "30709365";
e.jsb_oppo_fetchSplashAdId = "434278";
e.jsb_233_appID = "1484493727";
e.jsb_mmy_appID = "5261164";
e.jsb_mmy_fetchSplashAdId = "887673167";
e.jsb_xiaomi_appID = "2882303761520138700";
e.jsb_ios_appID = "5263533";
e.jsb_ios_fetchSplashAdId = "887673192";
e.appid_huawei = "105615529";
return e;
}
e.prototype.onLoad = function() {
s.default.init();
s.default.IS_LOAD || u.default.getInstance().startup();
f.default.fitCanvas();
this.initNativePlatform();
if (cc.sys.localStorage.getItem("B_WB2_First")) window.FIRST_PLAY = this.isShowAgreement() && 0 == cc.sys.localStorage.getItem("N_WB2_Agree"); else {
cc.sys.localStorage.setItem("B_WB2_First", 1);
cc.sys.localStorage.setItem("N_WB2_Agree", 0);
s.default.ENTER_TIME = cc.sys.now();
}
this.rootNode.active = !cc.sys.isBrowser;
this.btnTips.interactable = JSB_233;
this.btnTips.getComponent(cc.Sprite).spriteFrame = HUAWEI_GAME || JSB_HUAWEI ? this.slts2 : this.slts1;
this.label.string = "著作权人：南京伦焰网络科技有限公司\n软著登记号：2021SR1441835";
this.label.node.active = s.default.MODE != s.MODE_TYPE.LOCK && !JSB_IOS;
y.default.init();
};
e.prototype.start = function() {
FIRST_PLAY && this.isShowAgreement() ? this.showAgreement() : this.initSDK();
};
e.prototype.loadFramework = function() {
return a(this, void 0, void 0, function() {
var t, e = this;
return c(this, function(r) {
switch (r.label) {
case 0:
return [ 4, h.default.loadBundle("common") ];

case 1:
r.sent();
return [ 4, h.default.loadBundle("logon") ];

case 2:
t = r.sent();
if (!FIRST_PLAY && s.default.IS_AD_SHOW) if (JSB_IOS || JSB_MMY) p.default.requestChannel("AdsUtil", "showFetchSplashAD", this.getfetchSplashAdId(), function() {
e.nextScene(t);
}); else if (JSB_VIVO || JSB_OPPO) {
p.default.requestChannel("AdsUtil", "showFetchSplashAD", this.getfetchSplashAdId());
this.nextScene(t);
} else this.nextScene(t); else this.nextScene(t);
return [ 2 ];
}
});
});
};
e.prototype.nextScene = function(t) {
var e = this;
t.loadScene("logonScene", function(t, r) {
t && console.error(t);
if (r) {
e.sceneAsset = r;
HUAWEI_GAME ? e.login() : e.enterGame(r);
}
});
};
e.prototype.isShowAgreement = function() {
return !s.default.IS_LOCAL && !WECHAT_GAME && !BYTEDANCE_GAME;
};
e.prototype.initNativePlatform = function() {
var t = "", e = "";
if (OS_ANDROID) {
t = p.default.requestChannel("SystemUtil", "getPackageName");
e = p.default.requestChannel("SystemUtil", "getDeviceBrand");
console.log("================initNativePlatform:", t, e);
}
window.JSB_OPPO = t == this.packageName_oppo && "OPPO" == e;
window.JSB_VIVO = t == this.packageName_vivo && "vivo" == e;
window.JSB_HUAWEI = t == this.packageName_huawei && ("HUAWEI" == e || "HONOR" == e);
window.JSB_MMY = t == this.packageName_mmy;
window.JSB_XIAOMI = t == this.packageName_xiaomi;
window.JSB_233 = t == this.packageName_233;
};
e.prototype.showAgreement = function() {
var t = this, e = cc.instantiate(this.prefab);
e.parent = cc.director.getScene();
e.position = cc.v3(cc.winSize.width / 2, cc.winSize.height / 2);
e.getComponent(d.default).init(function() {
cc.sys.localStorage.setItem("N_WB2_Agree", 1);
t.initSDK();
});
};
e.prototype.showShiLingTips = function() {
this.tipsNode.active = !this.tipsNode.active;
!this.tipsNode.active && this.loaded && cc.director.runScene(this.sceneAsset);
};
e.prototype.enterGame = function(t) {
var e = this, r = cc.sys.isBrowser ? .1 : 3;
cc.tween(this.node).delay(r).call(function() {
e.loaded = !0;
e.tipsNode.active || cc.director.runScene(t);
}).start();
};
e.prototype.login = function() {
var t = this;
l.default.logon(this.appid_huawei, function(e) {
e ? l.default.isAdult(function(e) {
e ? t.enterGame(t.sceneAsset) : l.default.isPlayTime(function(e) {
e ? t.enterGame(t.sceneAsset) : t.exitGame();
});
}) : t.loginFaild();
});
};
e.prototype.loginFaild = function() {
var t = this;
p.default.showModal({
title: "登录失败",
content: "登录失败，请重新登录",
showCancel: !0,
cancelText: "退出游戏",
confirmText: "重新登录",
success: function(e) {
e ? t.login() : p.default.exitGame();
}
});
};
e.prototype.exitGame = function() {
p.default.showModal({
title: "防沉迷提醒",
content: "根据我国相关法律法规以及我司青\n少年保护政策，您当前时间段不可\n进行游戏，请下线休息",
showCancel: !1,
confirmText: "下线休息",
success: function() {
p.default.exitGame();
}
});
};
e.prototype.initSDK = function() {
var t = this;
if (s.default.IS_AD_SHOW && (JSB_VIVO || JSB_OPPO || JSB_233 || JSB_MMY || JSB_IOS || JSB_HUAWEI || JSB_XIAOMI)) {
p.default.requestChannel("AdsUtil", "initSDK", this.getAppid(), function() {
t.loadFramework();
});
JSB_IOS && p.default.requestChannel("UMUtil", "initSDK", "62021d1ee0f9bb492bf8445d");
} else this.loadFramework();
};
e.prototype.getAppid = function() {
return JSB_VIVO ? this.jsb_vivo_mediaID : JSB_OPPO ? this.jsb_oppo_appID : JSB_233 ? this.jsb_233_appID : JSB_MMY ? this.jsb_mmy_appID : JSB_XIAOMI ? this.jsb_xiaomi_appID : JSB_IOS ? this.jsb_ios_appID : "";
};
e.prototype.getfetchSplashAdId = function() {
return JSB_VIVO ? this.jsb_vivo_fetchSplashAdId : JSB_OPPO ? this.jsb_oppo_fetchSplashAdId : JSB_MMY ? this.jsb_mmy_fetchSplashAdId : JSB_IOS ? this.jsb_ios_fetchSplashAdId : "";
};
i([ _(cc.Prefab) ], e.prototype, "prefab", void 0);
i([ _(cc.Node) ], e.prototype, "rootNode", void 0);
i([ _(cc.Label) ], e.prototype, "label", void 0);
i([ _(cc.Node) ], e.prototype, "tipsNode", void 0);
i([ _(cc.Button) ], e.prototype, "btnTips", void 0);
i([ _(cc.SpriteFrame) ], e.prototype, "slts1", void 0);
i([ _(cc.SpriteFrame) ], e.prototype, "slts2", void 0);
return i([ g, m("Scenes/Start") ], e);
}(cc.Component);
r.Start = b;
cc._RF.pop();
}, {
"../../framework/main/Constants": "Constants",
"../../framework/main/SystemCtrl": "SystemCtrl",
"../../framework/manager/AdaptMgr": "AdaptMgr",
"../../framework/manager/PlatformMgr": "PlatformMgr",
"../../framework/manager/ResMgr": "ResMgr",
"../../framework/utils/PlatformUtils": "PlatformUtils",
"./Agreement": "Agreement",
"./ShuFenReport": "ShuFenReport"
} ],
"type-reviver.es": [ function(t, e, r) {
"use strict";
cc._RF.push(e, "df85aCZbxVFGaWelXCt0PX1", "type-reviver.es");
r.__esModule = !0;
r.flatParseTypeReviverArray = i;
r.flatParseTypeRevivers = function(t) {
return i(o(t));
};
r.mergeTypeRevivers = function() {
for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++) e[r] = arguments[r];
return e.reduce(function(t, e) {
if (e) {
var r = o(e);
return t.concat(r);
}
return t;
}, []);
};
r.toTypeNameReviverFlatArray = c;
r.toTypeReviverArray = o;
r.toTypeReviverFlatArray = a;
r.toTypeReviverFlatMap = function(t) {
var e = a(t);
return new Map(e);
};
r.toTypeReviverMap = function(t) {
switch (t.constructor.name) {
case "Map":
var e = t;
break;

case "Array":
e = new Map(t);
break;

default:
e = new Map(Object.entries(t));
}
return e;
};
r.toTypeReviverObject = function(t) {
var e = c(t);
return Object.fromEntries(e);
};
var n = t("./type-tls.es");
function o(t) {
switch (t.constructor.name) {
case "Map":
var e = Array.from(t);
break;

case "Array":
e = t;
break;

default:
e = Object.entries(t);
}
return e;
}
function i(t) {
var e = [], r = [], o = [];
t.forEach(function(t) {
var i = t[0], a = t[1];
(Array.isArray(i) ? i : [ i ]).forEach(function(t) {
e.push([ t, a ]);
switch (typeof t) {
case "string":
var i = t, c = (0, n.getTypeByName)(t);
break;

case "function":
i = (0, n.getNameOfType)(t);
c = t;
break;

default:
i = (0, n.getNameOfType)(t);
c = (0, n.getTypeByName)(i);
}
r.push([ i, a ]);
"function" == typeof c && o.push(c);
});
});
var i = {
typeFlat: e,
nameFlat: r,
typeFun: o
};
return Object.defineProperty(i, "trObject", {
configurable: !0,
enumerable: !0,
get: function() {
void 0 === this._trObject && (this._trObject = Object.fromEntries(r));
return this._trObject;
},
set: function(t) {
this._trObject = t;
}
});
}
function a(t) {
return o(t).reduce(function(t, e) {
var r = e[0], n = e[1];
(Array.isArray(r) ? r : [ r ]).forEach(function(e) {
t.push([ e, n ]);
});
return t;
}, []);
}
function c(t) {
return o(t).reduce(function(t, e) {
var r = e[0], o = e[1];
(Array.isArray(r) ? r : [ r ]).forEach(function(e) {
t.push([ "string" == typeof e ? e : (0, n.getNameOfType)(e), o ]);
});
return t;
}, []);
}
cc._RF.pop();
}, {
"./type-tls.es": "type-tls.es"
} ],
"type-tls.es": [ function(t, e, r) {
"use strict";
cc._RF.push(e, "a0a30//HslHob4+kiuCqNxe", "type-tls.es");
r.__esModule = !0;
r.getExactTypeNameOf = function(t) {
return i(a(t));
};
r.getExactTypeOf = a;
r.getNameOfType = i;
r.getTypeByName = function(t) {
return globalThis[t];
};
r.getTypeNameOf = function(t) {
return i(o(t));
};
r.getTypeOf = o;
r.isArrayLike = function(t) {
var e = t && t.length;
return Number.isInteger(t.length) && e >= 0;
};
r.isBaseType = function(t) {
var e = typeof t;
return null == t || "object" !== e && "function" !== e;
};
r.isIterable = function(t) {
return t && "function" == typeof t[Symbol.iterator];
};
r.isIterator = function(t) {
return t && "function" == typeof t.next;
};
r.isObject = n;
function n(t) {
var e = typeof t;
return t && ("object" === e || "function" === e);
}
function o(t) {
var e = t;
null != t && null == (e = t.constructor) && (e = typeof t);
return e;
}
function i(t) {
switch (t) {
case void 0:
return "undefined";

case null:
return "null";
}
var e = typeof t;
switch (e) {
case "function":
return t.name;

case "string":
return t;

default:
return e;
}
}
function a(t) {
return null == t || n(t) ? o(t) : typeof t;
}
cc._RF.pop();
}, {} ]
}, {}, [ "SingleBase", "EventDispatcher", "GlobalEvent", "Perlin", "PerlinNoise", "Base64", "Base64zh", "big", "com-tools.es", "copiers", "deepCopy", "public", "type-reviver.es", "type-tls.es", "crypto-js", "md5", "ArrayUtils", "DateUtils", "MathUtils", "NumberUtils", "SetUtils", "StringUtils", "Constants", "SystemCtrl", "AdaptMgr", "AudioMgr", "PlatformMgr", "ResMgr", "SceneMgr", "NetCore", "Http", "Des", "Log", "PlatformUtils", "SaveUtils", "Tools", "UiUtil", "iTween", "AStar", "MapUtil", "Agreement", "DataReport", "ShuFenReport", "startScene" ]);