Commit 5ec0fba6 authored by 邱旭's avatar 邱旭

init

parent e61c7309
node_modules/ node_modules/
dist/ dist/
build/ build/
released/ released/resource/
yarn-error.log yarn-error.log
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxProjectSettings">
<option name="commitMessageIssueKeyValidationOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
<option name="commitMessageValidationEnabledOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
</component>
</project>
\ No newline at end of file
/*
* index.mjs
* Created by 还有醋v on 2022/5/27.
* Copyright © 2022 haiyoucuv. All rights reserved.
*/
/**
* 插入banner变量
* @param {{values:{[key in string]: string|number|Function<string|number>}}} options
*/
export default function pluginBannerVariable(options) {
const { values } = options;
return {
name: "banner-variable",
banner() {
let code = "var ";
for (const key in values) {
const value = values[key] instanceof Function ? values[key]() : values[key];
code += `${key}=${value},`;
}
code = code.slice(0, code.length - 1) + ";";
return code;
},
}
}
/*
* utils.mjs.js
* Created by 还有醋v on 2022/5/27.
* Copyright © 2022 haiyoucuv. All rights reserved.
*/
import childProcess from "child_process";
export function _debounce(fn, delay = 1000) {
let timer = null;
return function (...args) {
timer && clearTimeout(timer);
timer = setTimeout(fn, delay, ...args);
};
}
export function runScript(scriptPath, callback) {
let invoked = false;
const process = childProcess.fork(scriptPath);
process.on('error', (err) => {
if (invoked) return;
invoked = true;
callback(err);
});
process.on('exit', (code) => {
if (invoked) return;
invoked = true;
const err = code === 0 ? null : new Error('exit code ' + code);
callback(err);
});
}
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>game_template</title> <title>new_game_template</title>
<meta name="viewport" <meta name="viewport"
content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/> content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
...@@ -37,20 +37,33 @@ ...@@ -37,20 +37,33 @@
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
background-color: #ffffff; background-color: #ffffff;
/* background: linear-gradient(#93dbb7,#ff0,#b5d89a); */ }
/* background: linear-gradient(#93dbb7,#b5d89a); */
/* 背景图片,解决加载太慢,白屏问题,加了这个下面的__loading__可以删掉了 */ #__loading__ {
/* background-size: 100%; position: absolute;
background-position: center; left: 50%;
background-image: url("https://yun.duiba.com.cn/db_games/activity/game/1550472986/resource/assets/playscene/playscenebg.jpg"); */ top: 50%;
margin-left: -45px;
color: #ffffff;
}
#cusEngine {
line-height: 0;
font-size: 0;
position: absolute;
}
#canvas {
width: 100%;
height: 100%;
} }
</style> </style>
</head> </head>
<body> <body>
<div id="__loading__" style="position:absolute;left:50%;top:50%;margin-left:-45px;color:#ffffff">拼命加载中...</div> <div id="__loading__">拼命加载中...</div>
<div id="cusEngine" style="line-height:0;font-size:0;position: absolute;"> <div id="cusEngine">
<canvas id="canvas" style="width: 100%;height: 100%"></canvas> <canvas id="canvas"></canvas>
</div> </div>
<!-- 帧率检测 --> <!-- 帧率检测 -->
<!-- <script src="https://yun.duiba.com.cn/db_games/libs0126/stats.js"></script> --> <!-- <script src="https://yun.duiba.com.cn/db_games/libs0126/stats.js"></script> -->
......
/*
* lib.d.ts
* Created by 还有醋v on 2022/5/27.
* Copyright © 2022 haiyoucuv. All rights reserved.
*/
declare const __ENV__: "development" | "production";
declare const __version__: string;
declare const __buildDate__: string;
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
"name": "game_template", "name": "game_template",
"version": "1.0.0", "version": "1.0.0",
"description": "game_template", "description": "game_template",
"main": "index.html", "main": "released/output.js",
"module": "released/output.module.js",
"scripts": { "scripts": {
"dev": "node rollup.dev.mjs -p 8080", "dev": "node rollup.dev.mjs -p 8080",
"build": "npm run handleRes && node scripts/mergeJson && node scripts/upload && npm run buildTS", "build": "npm run handleRes && node scripts/mergeJson && node scripts/upload && npm run buildTS",
"buildTS": "rollup -c rollup.prod.mjs && node scripts/uploadSingleJs", "buildTS": "npm version patch && rollup -c rollup.prod.mjs && node scripts/uploadSingleJs",
"handleLotS": "node scripts/handleLotS", "handleLotS": "node scripts/handleLotS",
"handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm && node scripts/imageMin", "handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm && node scripts/imageMin",
"copyJs": "node scripts/copyJs", "copyJs": "node scripts/copyJs",
...@@ -25,11 +26,13 @@ ...@@ -25,11 +26,13 @@
"chalk": "^2.3.0", "chalk": "^2.3.0",
"co": "^4.6.0", "co": "^4.6.0",
"del": "^2.2.1", "del": "^2.2.1",
"duiba-utils": "^1.0.9",
"fs": "0.0.2", "fs": "0.0.2",
"glslify": "^7.1.1", "glslify": "^7.1.1",
"imagemin": "^7.0.1", "imagemin": "^7.0.1",
"imagemin-mozjpeg": "^8.0.0", "imagemin-mozjpeg": "^8.0.0",
"imagemin-pngquant": "^8.0.0", "imagemin-pngquant": "^8.0.0",
"md5": "^2.3.0",
"pack_textures": "^1.1.9", "pack_textures": "^1.1.9",
"path": "^0.12.7", "path": "^0.12.7",
"progress": "^2.0.0", "progress": "^2.0.0",
...@@ -40,17 +43,11 @@ ...@@ -40,17 +43,11 @@
"rollup-plugin-glsl-loader": "^1.0.13", "rollup-plugin-glsl-loader": "^1.0.13",
"rollup-plugin-livereload": "^2.0.5", "rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-progress": "^1.1.2", "rollup-plugin-progress": "^1.1.2",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-serve": "^1.1.0", "rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"tslint": "^5.9.1", "tslint": "^5.9.1",
"typescript": "^4.5.4" "typescript": "^4.5.4"
}, },
"dependencies": {
"colors": "^1.4.0",
"duiba-utils": "^1.0.9",
"md5": "^2.3.0"
},
"author": "MrKwon", "author": "MrKwon",
"license": "ISC" "license": "ISC"
} }
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>game_template</title>
<meta name="viewport"
content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<!-- polyfill -->
<script src="//yun.duiba.com.cn/db_games/libs0924/polyfill_220525.js" crossorigin="anonymous"></script>
<!-- 渲染引擎 -->
<script src="//yun.duiba.com.cn/db_games/libs0924/fyge2044.min.js" crossorigin="anonymous"></script>
<!--<script src="libs/fyge.min.js" crossorigin="anonymous"></script>-->
<!-- svga解析库 -->
<script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>
<!-- 放声音的 -->
<script src="//yun.duiba.com.cn/db_games/libs0924/howler.min.js" crossorigin="anonymous"></script>
<style>
html,
body {
padding: 0;
margin: 0;
border: 0;
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
background-color: #ffffff;
/* background: linear-gradient(#93dbb7,#ff0,#b5d89a); */
/* background: linear-gradient(#93dbb7,#b5d89a); */
/* 背景图片,解决加载太慢,白屏问题,加了这个下面的__loading__可以删掉了 */
/* background-size: 100%;
background-position: center;
background-image: url("https://yun.duiba.com.cn/db_games/activity/game/1550472986/resource/assets/playscene/playscenebg.jpg"); */
}
</style>
</head>
<body>
<div id="__loading__" style="position:absolute;left:50%;top:50%;margin-left:-45px;color:#ffffff">拼命加载中...</div>
<div id="cusEngine" style="line-height:0;font-size:0;position: absolute;">
<canvas id="canvas" style="width: 100%;height: 100%"></canvas>
</div>
<!-- 帧率检测 -->
<!-- <script src="https://yun.duiba.com.cn/db_games/libs0126/stats.js"></script> -->
<script>
const app = {
checkMember: () => {
return false;
}
};
function getApp() {
return app;
}
document.oncontextmenu = () => false;
</script>
<script>
var CFG = CFG || {};
CFG.projectId = 'pa525eacc';//线上直接写死
CFG.appID = '76177';//线上直接写死
//TODO我的奖品链接
window["recordUrl"] = "fe071865b.html";
window.addEventListener("load", function () {
//获取canvas
var canvas = document.getElementById("canvas");
canvas.width = document.body.clientWidth * (window.devicePixelRatio || 1)
canvas.height = document.body.clientHeight * (window.devicePixelRatio || 1)
var main = new output.Main(canvas);
var mouseEvent = main.stage.onMouseEvent.bind(main.stage);
canvas.addEventListener("touchstart", mouseEvent, false);
canvas.addEventListener('touchmove', mouseEvent, false);
canvas.addEventListener('touchend', mouseEvent, false);
window.stage = main.stage
})
</script>
<!-- 构建的js -->
<script src="//yun.duiba.com.cn/db_games/activity/template/1653551525/output.js" crossorigin="anonymous"></script>
</body>
</html>
!function (t, e) {
"object" == typeof exports && "undefined" != typeof module ? e(exports) : "function" == typeof define && define.amd ? define(["exports"], e) : e((t = "undefined" != typeof globalThis ? globalThis : t || self).output = {})
}(this, (function (t) {
"use strict";
var e;
!function (t) {
let e, s, i = {}, a = {}, n = {}, r = {}, o = {}, h = {};
function c(t) {
if (r[t]) return new Promise((t => {
t()
}));
if (o[t]) return o[t];
let e = function (t) {
var e = g(t);
if (!e) return null;
if (e.atlas) {
var s = [t + ".json"];
return e.keys && (s = s.concat(e.keys.split(",").filter((t => ".png" != t.substr(-4))))), s
}
return e.keys ? e.keys.split(",") : null
}(t);
if (!e || !e.length) return r[t] = !0, new Promise((t => {
t()
}));
let s = new Promise(((s, i) => {
!function (t, e) {
let s = 0, i = e.length;
i || t(!0);
let a = !0;
for (var n = 0; n < i; n++) {
l(e[n], ((e, n) => {
e || (a = !1), ++s == i && t(a)
}), this)
}
}((e => {
delete o[t], e ? (r[t] = !0, s()) : i()
}), e)
}));
return o[t] = s, s
}
function l(e, s, n) {
var r = e.substring(e.lastIndexOf(".") + 1, e.length);
if ("png" == r || "jpg" == r) {
let a = i[e] || FYGE.TextureCache[e];
if (a) return s && s.call(n, a, e), new Promise((t => {
t(a)
}));
if (h[e]) return u(e, s, n);
if ((y = p(e)) && "jpg" != r) {
var o = g(y);
if (o && o.atlas) {
var c = y + ".json";
return h[c] ? h[c].then((t => {
let a = i[e] || FYGE.TextureCache[e];
return s && s.call(n, a, e), a
}), (() => (s && s.call(n, null, e), null))) : l(c).then((() => {
let t = i[e] || FYGE.TextureCache[e];
return s && s.call(n, t, e), t
}), (() => (s && s.call(n, null, e), null)))
}
}
var d = y ? t.resPath + y + "/" + e : e, m = new Promise(((t, a) => {
FYGE.GlobalLoader.loadImage(((r, o) => {
if (delete h[e], r) {
let a = FYGE.Texture.from(o);
i[e] = a, FYGE.Texture.addToCache(a, e), s && s.call(n, a, e), t(a)
} else s && s.call(n, null, e), a()
}), d)
}));
return h[e] = m, m
}
if ("svga" == r) {
if (a[e]) return s && s.call(n, a[e], e), new Promise((t => {
t(a[e])
}));
if (h[e]) return u(e, s, n);
d = (y = p(e)) ? t.resPath + y + "/" + e : e, m = new Promise(((t, i) => {
SvgaParser.loadSvga(d, (i => {
delete h[e], a[e] = i, s && s.call(n, i, e), t(i)
}), (t => {
delete h[e], s && s.call(n, null, e), i(t)
}))
}));
return h[e] = m, m
}
if ("json" == r) {
if (h[e]) return u(e, s, n);
var y;
d = (y = p(e)) ? t.resPath + y + "/" + e : e, m = new Promise(((t, a) => {
var r = g(y).atlas;
FYGE.GlobalLoader.loadImage(((o, c) => {
if (o) {
var l = FYGE.createTextureSheet(new FYGE.BaseTexture(c), r);
for (let t in l) i[t] = l[t];
s && s.call(n, l, e), t(l)
} else delete h[e], s && s.call(n, null, e), a()
}), d.replace("json", "png"))
}));
return h[e] = m, m
}
}
function d(t) {
if (!t) return null;
var e = t.substring(t.lastIndexOf(".") + 1, t.length);
return "png" == e || "jpg" == e ? i[t] || FYGE.TextureCache[t] || null : "svga" == e ? a[t] || null : "mp3" == e ? n[t] || null : void 0
}
function p(t) {
for (var s = 0; s < e.groups.length; s++) {
var i = e.groups[s], a = i.keys;
if (a && a.split(",").indexOf(t) > -1) return i.name;
if (i.atlas && i.name + ".json" == t) return i.name
}
return null
}
function g(t) {
for (var s, i = e.groups, a = 0; a < i.length; a++) if (i[a].name === t) {
s = i[a];
break
}
return s
}
function u(t, e, s) {
return h[t].then((i => {
e && e.call(s, i, t)
}), (() => {
e && e.call(s, null, t)
})), h[t]
}
function m(t, e = s) {
if (!e || !e.children || !e.children.length) return null;
for (var i = 0; i < e.children.length; i++) {
var a = e.children[i];
if (a.name == t && ("container" == a.type || "item" == a.type)) return a;
var n = m(t, a);
if (n) return n
}
return null
}
function y(t) {
var e;
switch (t.type) {
case"container":
e = new FYGE.Container;
break;
case"button":
e = new FYGE.Button(d(t.props.tUp), t.props.tDown ? d(t.props.tDown) : null, t.props.tDisable ? d(t.props.tDisable) : null);
break;
case"text":
e = new FYGE.TextField;
for (let s in t.props) e[s] = t.props[s];
break;
case"sprite":
e = new FYGE.Sprite(d(t.props.source));
break;
case"rect":
(e = new FYGE.Shape).beginFill(FYGE.string2hex(t.props.fillColor)), e.drawRect(0, 0, t.props.width, t.props.height), e.endFill()
}
return e.name = t.name, e.alpha = t.alpha || 1, e.position.set(t.x, t.y), e
}
t.loadConfig = function (s) {
e = s, t.resPath = s.path
}, t.loadGroup = c, t.getResAsync = l, t.getResByUrl = function () {
}, t.getRes = d, t.loadAllGroup = function () {
var t = e.groups, s = [];
return t.forEach((t => {
s.push(c(t.name))
})), Promise.all(s)
}, t.loadAllGroupForProgress = function () {
return new Promise((t => {
var s = e.groups;
let i = 0;
s.forEach((async e => {
await c(e.name), i++, gs.dispatchEvent("loadPer", i / (s.length - 1)), i == s.length - 1 && t(0)
}))
}))
}, t.loadSkinConfig = function (t) {
s = t
}, t.initSkinDisplay = function t(e, s, i) {
var a = "string" == typeof s ? m(s) : s;
if (a.children && a.children.length) for (var n = 0; n < a.children.length; n++) {
var r = a.children[n];
if ("item" != r.type) {
var o = e.addChild(y(r));
i && r.id && (i[r.id] = o), "container" == r.type && t(o, r, i)
}
}
}, t.getSkinDataByName = m, t.destroyGroup = function (t) {
var e = g(t);
if (e) {
var s = [];
e.keys && (s = e.keys.split(","));
for (var a = [], n = 0; n < s.length; n++) {
var r = d(s[n]);
r && (-1 == a.indexOf(r.baseTexture) && (r.baseTexture.destroy(), a.push(r.baseTexture)), r.destroy()), delete i[s[n]]
}
}
}
}(e || (e = {}));
let s, i, a = !1;
const n = t => {
(() => {
if (!a) {
a = !0;
const r = new o;
i = E.topLayer, s = r;
var t = (E.stageWidth - 160) / 2, e = (E.stageHeight - s.height) / 2;
s.x = E.stageOffsetX - i.x + t, s.y = E.stageOffsetY - i.y + e;
var n = (new FYGE.Graphics).beginFill(0).drawRect(-t, -e, E.stageWidth, E.stageHeight).endFill();
n.alpha = 0, s.addChildAt(n, 0)
}
})(), s.show(t), i.addChild(s)
}, r = () => {
i.removeChild(s)
};
class o extends FYGE.Container {
msg;
constructor() {
super();
var t = e.getRes("waitingBg.png"), s = new FYGE.Sprite(t);
this.addChild(s);
var i = e.getRes("waitingRot.png");
let a = new FYGE.Sprite(i);
a.x = (t.width - i.width) / 2, a.y = 47, a.anchorX = i.width / 2, a.anchorY = i.height / 2, this.addChild(a);
let n = 0;
a.addEventListener(FYGE.Event.ENTER_FRAME, (() => {
n++, n % 30 == 0 && (a.rotation += 45)
}), this), this.msg = new FYGE.TextField, this.msg.y = 125, this.msg.textWidth = t.width, this.msg.textAlign = FYGE.TEXT_ALIGN.CENTER, this.msg.size = 26, this.msg.fillColor = "#ffffff", this.addChild(this.msg)
}
show(t = "加载中") {
this.msg.text = t
}
destroy() {
super.destroy(), this.msg = null
}
}
let h, c, l, d, p = !1;
const g = t => {
(() => {
if (!p) {
p = !0, h = new u, c = E.toastLayer, h.alpha = 0, h.x = E.stageOffsetX - c.x + (E.stageWidth - h.width) / 2;
var t = h.height, e = E.stageOffsetY - c.y;
l = e - t, d = e + (E.stageHeight - t) / 2
}
})(), h.show(t), c.addChild(h), FYGE.Tween.removeTweens(h), FYGE.Tween.get(h).set({
y: l,
alpha: 1
}).to({ y: d }, 500, FYGE.Ease.quartOut).wait(800).to({ alpha: 0 }, 300).call((() => {
c.removeChild(h)
}))
};
class u extends FYGE.Container {
msg;
bg;
PADDING = 40;
constructor() {
super(), this.mouseChildren = !1, this.mouseEnable = !1;
var t = e.getRes("toastBg.png");
this.bg = new FYGE.Sprite(t), this.addChild(this.bg), this.msg = new FYGE.TextField, this.msg.size = 28, this.msg.fillColor = "0xffffff", this.msg.text = "", this.msg.verticalAlign = FYGE.VERTICAL_ALIGN.MIDDLE, this.msg.textHeight = t.height, this.msg.textAlign = FYGE.TEXT_ALIGN.CENTER, this.addChild(this.msg)
}
show(t) {
this.msg.text = t, this.msg.x = (this.bg.width - this.msg.textWidth) / 2
}
destroy() {
FYGE.Tween.removeTweens(this), super.destroy(), this.msg = null, this.bg = null
}
}
class m {
_parent;
_bg;
stacks = [];
static _instance;
static get instance() {
return m._instance || (m._instance = new m)
}
init(t) {
this._parent = t;
let e = new FYGE.Shape;
e.beginFill(0), e.drawRect(E.stageOffsetX - t.x, E.stageOffsetY - t.y, E.stageWidth, E.stageHeight), e.endFill(), e.hitTestByPixel = !1, e.visible = !1, this._parent.addChild(e), this._bg = e
}
closeAll() {
this.stacks.forEach((t => t.hidePanel()))
}
show(t, e) {
n();
const s = new t(e);
return this.add(s), this.stacks.push(s), s.onLoaded = () => {
s.y = -(1624 - E.stageHeight >> 1), r(), this.updateView(!1), s.start(e), s.visible && s.showAni()
}, s.onLoadError = () => {
r(), g("资源加载失败"), s.removeEventListener("onDestroy", this.onPanelHide, this), this.remove(s)
}, s
}
bgAni;
updateView(t = !0) {
this.stacks.length ? (this._parent.visible = !0, "hide" == this.bgAni && (this.bgAni = "show", FYGE.Tween.removeTweens(this._bg), this._bg.alpha = .7), !1 === this._bg.visible && (this._bg.visible = !0, this._bg.alpha = 0, FYGE.Tween.get(this._bg).to({ alpha: .7 }, 200, FYGE.Ease.cubicOut))) : this._bg.visible && (this.bgAni = "hide", FYGE.Tween.removeTweens(this._bg), FYGE.Tween.get(this._bg).to({ alpha: 0 }, 200, FYGE.Ease.cubicOut).call((() => {
this._bg.visible = !1, this._current = null, this._parent.visible = !1
})));
for (let e = 0; e < this.stacks.length; e++) e < this.stacks.length - 1 ? this.stacks[e].visible = !1 : (this.stacks[e].visible = !0, t && this.stacks[e].showAni(), this._current = this.stacks[e])
}
add(t) {
this._parent.addChild(t), t.addEventListener("onDestroy", this.onPanelHide, this)
}
remove(t) {
this._parent.removeChild(t), this.stacks = this.stacks.filter((e => e != t))
}
onPanelHide(t) {
const e = t.target;
e.removeEventListener("onDestroy", this.onPanelHide, this), this.remove(e), this.updateView()
}
_current;
get currentPanel() {
return this._current
}
closeCurrent() {
this._current && this._current.hidePanel()
}
destroy() {
m._instance = null, this.stacks = null, this._current = null, this._parent = null, FYGE.Tween.removeTweens(this._bg), this._bg = null
}
}
class y {
_parent;
_currentScene;
static _instance;
static get instance() {
return y._instance || (y._instance = new y)
}
init(t) {
this._parent = t
}
change(t, e) {
let s = new t(e);
s.visible = !1, n();
let i = this._currentScene;
s.onLoaded = () => {
r(), s.showAni((() => {
i && i.destroy()
})), s.visible = !0, s.start(e)
}, s.onLoadError = () => {
r(), g("资源加载失败"), this._currentScene = i || null, this._parent.removeChild(s)
}, this._currentScene = s, this._parent.addChild(s)
}
get currentScene() {
return this._currentScene
}
destroy() {
y._instance = null, this._currentScene = null, this._parent = null
}
}
class f extends FYGE.Container {
_bottomLayer;
_sceneLayer;
_popupLayer;
_toastLayer;
_topLayer;
_shareLayer;
init(t) {
t.addChild(this);
for (var e = ["_bottomLayer", "_sceneLayer", "_popupLayer", "_toastLayer", "_topLayer", "_shareLayer"], s = 0; s < e.length; s++) this[e[s]] = new FYGE.Container, this.addChild(this[e[s]]);
this.shareLayer.y = -this.stageOffsetY, y.instance.init(this.sceneLayer), m.instance.init(this.popupLayer)
}
get bottomLayer() {
return this._bottomLayer
}
get sceneLayer() {
return this._sceneLayer
}
get popupLayer() {
return this._popupLayer
}
get toastLayer() {
return this._toastLayer
}
get topLayer() {
return this._topLayer
}
get shareLayer() {
return this._shareLayer
}
get stageHeight() {
return this.stage ? this.stage.viewRect.height : 0
}
get stageWidth() {
return this.stage ? this.stage.viewRect.width : 0
}
get stageOffsetX() {
return this.stage ? this.stage.viewRect.x : 0
}
get stageOffsetY() {
return this.stage ? this.stage.viewRect.y : 0
}
}
const E = new f;
const w = (t, e) => m.instance.show(t, e), b = (t, e) => {
y.instance.change(t, e)
};
function v(t, e = !0) {
t && (FYGE.Tween.removeTweens(t), e && t.children && t.children.length && t.children.forEach((t => {
v(t)
})))
}
function x() {
p && h && !h.destroyed && (h.destroy(), h = null, c = null, p = !1), a && s && !s.destroyed && (s.destroy(), s = null, i = null, a = !1), m.instance.destroy(), y.instance.destroy()
}
var C, k;
!function (t) {
t.ON_SHOW = "onShow", t.ON_HIDE = "onHide", t.UPDATE_TASK = "onUpdateTask", t.UPDATE_SCENE = "onUpdateScene"
}(C || (C = {}));
class F extends FYGE.Container {
data;
constructor(t) {
super(), this.data = t, this.init()
}
init() {
this.preLoadRes().then((() => {
this.skinName && e.initSkinDisplay(this, this.skinName, this), this.initUi(), this.onLoaded && this.onLoaded()
}), (() => {
this.onLoadError && this.onLoadError()
}))
}
preLoadRes() {
return new Promise(((t, s) => {
if (this.groupNames && this.groupNames.length) {
for (var i = [], a = 0; a < this.groupNames.length; a++) i.push(e.loadGroup(this.groupNames[a]));
Promise.all(i).then(t, s)
} else t()
}))
}
initUi() {
}
onLoaded;
onLoadError;
get groupNames() {
return null
}
get skinName() {
return null
}
start(t) {
this.initEvents()
}
initEvents() {
}
removeEvents() {
}
enableMouseEvt(t) {
this.mouseEnable = t, this.mouseChildren = t
}
btnDelay(t, e = 2e3) {
t.mouseEnable = !1, t.mouseChildren = !1, setTimeout((() => {
t.mouseEnable = !0, t.mouseChildren = !0
}), e)
}
destroy() {
v(this), this.removeEvents(), this.dispatchEvent("onDestroy"), super.destroy()
}
}
class B extends F {
showAni(t) {
t()
}
updateScene() {
}
}
class T extends F {
isShowing;
showAni() {
if (this.isShowing) return;
this.isShowing = !0;
let t = this.y || 0;
this.y = -200, FYGE.Tween.get(this).to({ y: t }, 500, FYGE.Ease.quartOut).call((() => {
this.isShowing = !1
}))
}
initEvents() {
this.closeBtns.forEach((t => {
t && t.addEventListener(FYGE.MouseEvent.CLICK, this.hidePanel, this)
}))
}
removeEvents() {
this.closeBtns.forEach((t => {
t && t.removeEventListener(FYGE.MouseEvent.CLICK, this.hidePanel, this)
}))
}
get closeBtns() {
return [this.closeBtn]
}
hidePanel() {
this.destroy()
}
}
!function (t) {
t.addData = "surge.addStat", t.getActivityBaseInfoById = "feileJump.getActivityBaseInfoById", t.getGameInfo = "feileJump.getGameInfo", t.startGame = "feileJump.startGame", t.doHelp = "feileJump.doHelp", t.getVipInfo = "feileJump.getVipInfo", t.submitGame = "feileJump.submitGame", t.continueGame = "feileJump.continueGame", t.getRankList = "feileJump.getRankList", t.getPrizeList = "feileJump.getPrizeList", t.getRankRewards = "feileJump.getRankRewards", t.getMyRankPrize = "feileJump.getMyRankPrize", t.receiveEnamePrize = "feileJump.receiveEnamePrize", t.openMember = "mine.openMember", t.openTask = "mine.openTask", t.authorize = "mine.authorize", t.favorShop = "mine.favorShop", t.getUserAddress = "mine.getUserAddress", t.getAdoptName = "mine.getAdoptName", t.getAppData = "mine.getAppData", t.navigateToOutside = "mine.navigateToOutside", t.navigateTo = "mine.navigateTo", t.navigateBack = "mine.navigateBack", t.showSharePanel = "mine.showSharePanel", t.openDetail = "mine.openDetail", t.reportAnalytics = "mine.reportAnalytics", t.openMusic = "mine.openMusic"
}(k || (k = {}));
let G = {};
function L(t, e, s, i = !1) {
return new Promise(((a, n) => {
if (!my) {
const n = t.split(".");
return void async function (t) {
let e = await fetch(t);
return await e.json()
}(`../../mock/miniTb/${n[0]}/${n[1]}.json`).then((n => {
G[t] = n, i || n.success || g(n.message || "网络异常"), s && s(n.success, n), a(n), console.log(`\n%c[ mock ]\nNAME : ${t} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`, "" + (n.success ? "color:green" : "color:red"), n.success, e, "" + (n.success ? "color:green" : "color:red"), n)
}), (() => {
a({ success: !1, data: null })
}))
}
let r = function (n) {
gs.removeEventListener(t, r);
var o = n.data;
G[t] = o, i || o.success || g(o.message || "网络超时"), s && s(o.success, o), a(o), console.log(`\n%c[ request ]\nNAME : ${t} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`, "" + (o.success ? "color:green" : "color:red"), o.success, e, "" + (o.success ? "color:green" : "color:red"), o)
};
gs.addEventListener(t, r), gs.dispatchEvent({ type: "onMessage" }, { netName: t, parameter: e })
}))
}
var S, I;
!function (t) {
t.AD = "ad", t.TASK_ICON = "taskIcon", t.FOLLOW_SHOP = "followShop", t.INVITE_FRIEND = "inviteFriend", t.BROWSE_PRODUCT = "browseProduct", t.COLLECTION_PRODUCT = "collectionProduct", t.BUY_PRODUCT = "buyProduct", t.IMPROVE_INFORMATION = "improveInformation", t.SECRET_ORDER = "secretOrder", t.SIGN_ICON = "signIcon", t.BAG_ICON = "bagIcon"
}(S || (S = {})), function (t) {
t[t.ENAME = 1] = "ENAME", t[t.CREDITS = 2] = "CREDITS", t[t.OBJECT = 3] = "OBJECT", t[t.THANKS = 5] = "THANKS"
}(I || (I = {}));
var P = FYGE.TEXT_ALIGN, Y = FYGE.Tween;
function R() {
L(k.openTask)
}
class A {
static cacheKey = "cow_xiaobujian";
static globalData;
static async getGlobalData() {
const { data: t } = await L(k.getAppData);
A.globalData = t
}
static indexMask = {};
static activityBaseInfo = {
openId: "",
rule: "",
startTime: 0,
endTime: 0,
activityStatus: 1,
openPrizeStatus: 1,
totalScore: 0,
showImage: "https://yun.duiba.com.cn/aurora/assets/a2f9da458cc425df5b4428a1fe902606ea5dc4fd.jpg"
};
static async getActivityBaseInfo() {
const { success: t, data: e } = await L(k.getActivityBaseInfoById);
return e && (A.activityBaseInfo = e), t
}
static gameInfo = { score: 0, gameTimes: 0, isFirstEnterGame: !1 };
static async getGameInfo() {
const { success: t, data: e } = await L(k.getGameInfo);
return e && (A.gameInfo = e), t
}
static async queryVip() {
const { success: t, data: e } = await L(k.getVipInfo);
return t && e.isVip
}
static async checkPermission() {
var t = my;
if (!t) return;
if ("ios" == FYGE.osType) return;
const { cloud: e } = getApp();
var s = "cloud://8105858AA48FED3F15CB94186ED0D5E7//feileJump.doHelp.json";
s = (await e.file.getTempFileURL({ fileId: [s] }))[0].url.replace("-internal", ""), t.downloadFile({
url: s,
success(e) {
var s = e.apFilePath;
t.getFileSystemManager().readFile({
filePath: s, success: function (t) {
}, fail: function (t) {
}
})
},
fail(t) {
}
})
}
static changeTextAlign(t, e, s) {
e != P.LEFT && (t.textAlign = e, s = s || t.textWidth, e == P.CENTER && (t.x -= (s - t.textWidth) / 2), e == P.RIGHT && (t.x -= s - t.textWidth), t.textWidth = s)
}
static btnDelay(t, e = 2e3) {
t.mouseEnable = !1, t.mouseChildren = !1, setTimeout((() => {
t.mouseEnable = !0, t.mouseChildren = !0
}), e)
}
static getNumTextures(t) {
const s = {};
for (let i = 0; i <= 9; i++) s[i] = e.getRes(t + i + ".png");
return s
}
static getAdjustBottomHeight(t) {
return E.stageHeight - E.stageHeight * t + E.stageOffsetY
}
static getAdjustTopHeight(t) {
return E.stageHeight * t + E.stageOffsetY
}
}
async function D(t) {
return new Promise((e => {
Y.get(FYGE).wait(t).call(e)
}))
}
var _ = FYGE.Container, z = FYGE.Button, N = FYGE.MouseEvent, O = FYGE.Sprite, M = FYGE.TEXT_ALIGN,
U = FYGE.TextField, j = FYGE.Shape, H = FYGE.Lottie, K = FYGE.Texture, X = FYGE.Graphics, q = FYGE.BitmapText;
class W {
static Btn(t, s, i, a, n = 0, r = 0, o, h, c = s, l = s) {
const d = new z(e.getRes(s), e.getRes(c), e.getRes(l));
return d.addEventListener(N.CLICK, i, a), d.position.set(n, r), void 0 !== o && (d.anchorX = o), void 0 !== h && (d.anchorY = h), t && t.addChild(d), d
}
static Sp(t, s, i = 0, a = 0) {
let n;
if (s instanceof K) n = new O(s); else {
const t = e.getRes(s);
n = t ? new O(t) : O.fromUrl(s)
}
return n.position.set(i, a), t && t.addChild(n), n
}
static Ctn(t, e = 0, s = 0) {
const i = new _;
return i.position.set(e, s), i && t.addChild(i), i
}
static Txt(t, e, s, i = "#000000", a = M.LEFT, n = 0, r = 0, o = 0, h = !1) {
const c = new U;
return c.fillColor = i, c.size = s, n && (c.textWidth = n), c.textAlign = a, c.position.set(r, o), c.text = e, c.bold = h, t && t.addChild(c), c
}
static Rect(t, e, s, i = 16711680, a = 0, n = 0, r = 0, o = 1) {
const h = new j;
return h.beginFill(i), a ? h.drawRoundedRect(0, 0, e, s, a) : h.drawRect(0, 0, e, s), h.endFill(), h.alpha = o, h.position.set(n, r), t && t.addChild(h), h
}
static Lottie(t, e, s = 0, i = 0) {
const a = new H(e);
return a.x = s, a.y = i, t && t.addChild(a), a
}
static Shape(t, e = 0, s = 0) {
const i = new j;
return i.position.set(e, s), t && t.addChild(i), i
}
static Graphics(t, e = 0, s = 0) {
const i = new X;
return i.position.set(e, s), t && t.addChild(i), i
}
static BitTxt(t, e, s = "", i = 0, a = 0, n = 1, r = 1, o = 0) {
const h = new q(e);
return h.position.set(i, a), h.scale.set(n, r), h.text = s, h.gap = o, t && t.addChild(h), h
}
}
var V = FYGE.Button, J = FYGE.MouseEvent;
class $ extends T {
get groupNames() {
return ["HelpPanel"]
}
vip;
async initUi() {
super.start(), this.vip = await A.queryVip(), W.Sp(this, "helpBg.png", 84, 435), this.addChild(new V(e.getRes("helpBtn.png"))).addEventListener(J.CLICK, this.doHelp, this).position.set(167, 789), this.addChild(new V(e.getRes("comCloseBtn.png"))).addEventListener(J.CLICK, (() => this.hidePanel())).position.set(598, 369)
}
start(t) {
}
hidePanel() {
super.hidePanel(), A.globalData.inviteId = "", this.data.call()
}
async doHelp(t) {
if (this.btnDelay(t.target), L(k.addData, { type: 4 }, null, !0), A.globalData.inviteId == A.globalData.openId) return g("自己不能给自己助力"), void this.hidePanel();
this.vip ? this.hidePanel() : await A.queryVip() ? L(k.doHelp, { inviteId: A.globalData.inviteId }, ((t, e) => {
if (!t) return "430009" != e.code && g(e.message), void this.hidePanel();
g("接受邀请成功"), this.hidePanel()
}), !0) : (g("请先加入会员"), setTimeout((() => {
L(k.openMember)
}), 1500))
}
}
var Z = FYGE.Button, Q = FYGE.MouseEvent;
class tt extends T {
get groupNames() {
return ["NoTimePanel"]
}
async initUi() {
W.Sp(this, "noTimeBg.png", 84, 435), this.addChild(new Z(e.getRes("noTimeBtn.png"))).addEventListener(Q.CLICK, (() => {
this.hidePanel(), R()
}), this).position.set(167, 789), this.addChild(new Z(e.getRes("comCloseBtn.png"))).addEventListener(Q.CLICK, this.hidePanel, this).position.set(598, 369)
}
hidePanel() {
super.hidePanel(), this.data && "index" == this.data.from || b(ss)
}
}
var et = FYGE.Button, st = FYGE.MouseEvent;
class it extends T {
get groupNames() {
return ["RankPrizePanel"]
}
async initUi() {
this.addChild(new FYGE.Sprite(e.getRes("rankNoPrizeBg.png"))).position.set(84, 434), this.addChild(new et(e.getRes("rankNoPrizeBtn.png"))).addEventListener(st.CLICK, this.hidePanel, this).position.set(166, 789);
const { rank: t, score: s } = this.data.rank, i = 0 == s ? "-" : t;
W.Txt(this, i + "", 60, "#704a5b", FYGE.TEXT_ALIGN.CENTER, 750, 0, 623), this.addChild(new et(e.getRes("comCloseBtn.png"))).addEventListener(st.CLICK, this.hidePanel, this).position.set(598, 368)
}
}
class at extends FYGE.Container {
get skinName() {
return null
}
constructor(t) {
super(), this.skinName && e.initSkinDisplay(this, this.skinName, this), this.initUi(t)
}
initUi(t) {
}
updateData(t) {
}
initData(t, e) {
this.id = t, this.data = e, this.resetData()
}
id;
data;
resetData() {
}
}
var nt = FYGE.Button, rt = FYGE.MouseEvent, ot = FYGE.ScrollList, ht = FYGE.Shape, ct = FYGE.Sprite,
lt = FYGE.TEXT_ALIGN, dt = FYGE.Texture;
class pt extends T {
get groupNames() {
return ["RankPanel"]
}
timeLabel;
mRank;
mNick;
mScore;
rankList;
prizeList;
async initUi() {
this.addChild(new ct(e.getRes("rankBg.png"))).position.set(84, 360);
const t = new Date(A.activityBaseInfo.endTime);
this.timeLabel = W.Txt(this, `排行榜奖励${t.getMonth() + 1}${t.getDate()}${t.getHours()}时开奖`, 24, "#704a5b", lt.CENTER, 750, 0, 1006), this.timeLabel.bold = !0, this.mRank = W.Txt(this, "未入榜", 24, "#704a5b", lt.CENTER, 113, 122, 563), this.mNick = W.Txt(this, "", 24, "#704a5b", lt.CENTER, 200, 231, 563), this.mScore = W.Txt(this, "0分", 24, "#704a5b", lt.CENTER, 167, 458, 563), this.rankList = this.addChild(new ot(gt, 500, 69, 500, 360)), this.rankList.position.set(122, 615), this.prizeList = this.addChild(new ot(ut, 149, 69, 500, 178, !1)), this.prizeList.position.set(122, 1059), this.addChild(new nt(e.getRes("comCloseBtn.png"))).addEventListener(rt.CLICK, this.hidePanel, this).position.set(598, 294)
}
async start() {
super.start();
const { success: t, data: e, message: s } = await L(k.getRankList);
if (t) {
const { rank: t, score: s, userNick: i } = e;
this.mRank.text = 0 == s ? "未入榜" : t, this.mNick.text = i[0] + "**" + i[i.length - 1], this.mScore.text = (s || 0) + "分", this.rankList.updateData(e.list || []), this.rankList.maxDistance += 30
}
const i = await L(k.getPrizeList);
i.success && (this.prizeList.updateData(i.data.list || []), this.prizeList.maxDistance += 30)
}
}
class gt extends at {
rank;
nick;
score;
icon;
initUi(t) {
super.initUi(t), this.rank = W.Txt(this, "1", 24, "#704a5b", lt.CENTER, 113, 0, 28), this.nick = W.Txt(this, "", 24, "#704a5b", lt.CENTER, 200, 109, 28), this.score = W.Txt(this, "0分", 24, "#704a5b", lt.CENTER, 167, 336, 28), this.icon = W.Sp(this, "rankIcon.png"), this.icon.position.set(39, 14);
const e = this.addChild(new ht);
e.beginFill(16169689), e.drawRect(0, 69, 500, 2), e.endFill()
}
initData(t, e) {
if (super.initData(t, e), -1 == t) return;
const { rank: s, userNick: i, score: a } = this.data;
this.rank.text = s, this.nick.text = i[0] + "**" + i[i.length - 1], this.score.text = (a || 0) + "分", this.icon.visible = +s <= 3
}
}
class ut extends at {
prizeImg;
nameLabel;
initUi(t) {
super.initUi(t), this.prizeImg = this.addChild(new ct), this.prizeImg.anchorTexture.set(.5, .5), this.prizeImg.width = this.prizeImg.height = 130, this.prizeImg.position.set(65, 65), this.nameLabel = W.Txt(this, "0分", 22, "#704a5b", lt.CENTER, 130, 0, 150)
}
initData(t, e) {
if (super.initData(t, e), -1 == t) return;
this.prizeImg.texture = dt.fromUrl(e.image);
const s = e.rank.split("-");
s[0] == s[1] ? this.nameLabel.text = `第${s[0]}名` : this.nameLabel.text = `第${e.rank}名`
}
}
var mt = FYGE.Button, yt = FYGE.MouseEvent, ft = FYGE.Sprite;
class Et extends T {
get groupNames() {
return ["RankPrizePanel"]
}
async initUi() {
this.addChild(new FYGE.Sprite(e.getRes("rankPrizeBg.png"))).position.set(84, 434), this.addChild(new mt(e.getRes("rankPrizeBtn.png"))).addEventListener(yt.CLICK, this.clickPrizeBtn, this).position.set(166, 979);
const { rank: t, score: s } = this.data.rank, i = 0 == s ? "-" : t;
W.Txt(this, i + "", 60, "#704a5b", FYGE.TEXT_ALIGN.CENTER, 750, 0, 623);
const a = this.addChild(ft.fromUrl(this.data.prize.image));
a.anchorTexture.set(.5, .5), a.position.set(375, 790), a.width = a.height = 214, this.addChild(new mt(e.getRes("comCloseBtn.png"))).addEventListener(yt.CLICK, this.hidePanel, this).position.set(598, 368)
}
clickPrizeBtn(t) {
switch (this.btnDelay(t.target), this.data.prize.type) {
case 1:
case 2:
case 5:
this.hidePanel();
break;
case 3:
L(k.getUserAddress, { prizeId: this.data.prize._id }, ((t, e) => {
t && (g("奖品发放成功\n请前往我的奖品处查看"), this.hidePanel())
}), !0)
}
}
}
var wt = FYGE.TEXT_lINETYPE, bt = FYGE.ScrollPage, vt = FYGE.Button, xt = FYGE.MouseEvent;
class Ct extends T {
get groupNames() {
return ["RulePanel"]
}
ruleTex;
scroll;
initUi() {
this.addChild(new FYGE.Sprite(e.getRes("rulePanelBg.png"))).position.set(84, 435);
const t = A.activityBaseInfo.rule;
W.Txt(this, t, 26, "#704a5b", FYGE.TEXT_ALIGN.LEFT, 444), this.ruleTex.lineType = wt.MULTI, this.scroll = this.addChild(new bt(444, 370, this.ruleTex.textHeight + 30)), this.scroll.position.set(158, 590), this.scroll.view.addChild(this.ruleTex), this.addChild(new vt(e.getRes("rulePanelBtn.png"))).addEventListener(xt.CLICK, this.hidePanel, this).position.set(167, 989), this.addChild(new vt(e.getRes("comCloseBtn.png"))).addEventListener(xt.CLICK, this.hidePanel, this).position.set(598, 369)
}
start(t) {
super.start()
}
initEvents() {
super.initEvents()
}
removeEvents() {
super.removeEvents()
}
}
const kt = {
fr: 30,
ip: 0,
op: 147,
w: 750,
h: 245,
nm: "LoadingEffect",
layers: [{
ind: 1,
ty: 2,
nm: "点11",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 10, s: [472.5, 242, 0] }, { t: 16, s: [472.5, 238.75, 0] }, {
t: 22,
s: [472.5, 242, 0]
}, { t: 41, s: [472.5, 242, 0] }, { t: 47, s: [472.5, 238.75, 0] }, {
t: 53,
s: [472.5, 242, 0]
}, { t: 72, s: [472.5, 242, 0] }, { t: 78, s: [472.5, 238.75, 0] }, {
t: 84,
s: [472.5, 242, 0]
}, { t: 103, s: [472.5, 242, 0] }, { t: 109, s: [472.5, 238.75, 0] }, {
t: 115,
s: [472.5, 242, 0]
}, { t: 133, s: [472.5, 242, 0] }, { t: 139, s: [472.5, 238.75, 0] }, {
t: 145,
s: [472.5, 242, 0]
}, { t: 164, s: [472.5, 242, 0] }, { t: 170, s: [472.5, 238.75, 0] }, {
t: 176,
s: [472.5, 242, 0]
}, { t: 195, s: [472.5, 242, 0] }, { t: 201, s: [472.5, 238.75, 0] }, {
t: 207,
s: [472.5, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 2,
ty: 2,
nm: "点10",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 8, s: [461.5, 242, 0] }, { t: 14, s: [461.5, 238.75, 0] }, {
t: 20,
s: [461.5, 242, 0]
}, { t: 39, s: [461.5, 242, 0] }, { t: 45, s: [461.5, 238.75, 0] }, {
t: 51,
s: [461.5, 242, 0]
}, { t: 70, s: [461.5, 242, 0] }, { t: 76, s: [461.5, 238.75, 0] }, {
t: 82,
s: [461.5, 242, 0]
}, { t: 101, s: [461.5, 242, 0] }, { t: 107, s: [461.5, 238.75, 0] }, {
t: 113,
s: [461.5, 242, 0]
}, { t: 131, s: [461.5, 242, 0] }, { t: 137, s: [461.5, 238.75, 0] }, {
t: 143,
s: [461.5, 242, 0]
}, { t: 162, s: [461.5, 242, 0] }, { t: 168, s: [461.5, 238.75, 0] }, {
t: 174,
s: [461.5, 242, 0]
}, { t: 193, s: [461.5, 242, 0] }, { t: 199, s: [461.5, 238.75, 0] }, {
t: 205,
s: [461.5, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 3,
ty: 2,
nm: "点9",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 6, s: [450.625, 242, 0] }, { t: 12, s: [450.625, 238.75, 0] }, {
t: 18,
s: [450.625, 242, 0]
}, { t: 37, s: [450.625, 242, 0] }, { t: 43, s: [450.625, 238.75, 0] }, {
t: 49,
s: [450.625, 242, 0]
}, { t: 68, s: [450.625, 242, 0] }, { t: 74, s: [450.625, 238.75, 0] }, {
t: 80,
s: [450.625, 242, 0]
}, { t: 99, s: [450.625, 242, 0] }, { t: 105, s: [450.625, 238.75, 0] }, {
t: 111,
s: [450.625, 242, 0]
}, { t: 129, s: [450.625, 242, 0] }, { t: 135, s: [450.625, 238.75, 0] }, {
t: 141,
s: [450.625, 242, 0]
}, { t: 160, s: [450.625, 242, 0] }, { t: 166, s: [450.625, 238.75, 0] }, {
t: 172,
s: [450.625, 242, 0]
}, { t: 191, s: [450.625, 242, 0] }, { t: 197, s: [450.625, 238.75, 0] }, {
t: 203,
s: [450.625, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 4,
ty: 2,
nm: "点8",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 4, s: [439.25, 242, 0] }, { t: 10, s: [439.25, 238.75, 0] }, {
t: 16,
s: [439.25, 242, 0]
}, { t: 35, s: [439.25, 242, 0] }, { t: 41, s: [439.25, 238.75, 0] }, {
t: 47,
s: [439.25, 242, 0]
}, { t: 66, s: [439.25, 242, 0] }, { t: 72, s: [439.25, 238.75, 0] }, {
t: 78,
s: [439.25, 242, 0]
}, { t: 97, s: [439.25, 242, 0] }, { t: 103, s: [439.25, 238.75, 0] }, {
t: 109,
s: [439.25, 242, 0]
}, { t: 127, s: [439.25, 242, 0] }, { t: 133, s: [439.25, 238.75, 0] }, {
t: 139,
s: [439.25, 242, 0]
}, { t: 158, s: [439.25, 242, 0] }, { t: 164, s: [439.25, 238.75, 0] }, {
t: 170,
s: [439.25, 242, 0]
}, { t: 189, s: [439.25, 242, 0] }, { t: 195, s: [439.25, 238.75, 0] }, {
t: 201,
s: [439.25, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 5,
ty: 2,
nm: "点7",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 2, s: [428.125, 242, 0] }, { t: 8, s: [428.125, 238.75, 0] }, {
t: 14,
s: [428.125, 242, 0]
}, { t: 33, s: [428.125, 242, 0] }, { t: 39, s: [428.125, 238.75, 0] }, {
t: 45,
s: [428.125, 242, 0]
}, { t: 64, s: [428.125, 242, 0] }, { t: 70, s: [428.125, 238.75, 0] }, {
t: 76,
s: [428.125, 242, 0]
}, { t: 95, s: [428.125, 242, 0] }, { t: 101, s: [428.125, 238.75, 0] }, {
t: 107,
s: [428.125, 242, 0]
}, { t: 125, s: [428.125, 242, 0] }, { t: 131, s: [428.125, 238.75, 0] }, {
t: 137,
s: [428.125, 242, 0]
}, { t: 156, s: [428.125, 242, 0] }, { t: 162, s: [428.125, 238.75, 0] }, {
t: 168,
s: [428.125, 242, 0]
}, { t: 187, s: [428.125, 242, 0] }, { t: 193, s: [428.125, 238.75, 0] }, {
t: 199,
s: [428.125, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 6,
ty: 2,
nm: "点1",
refId: "7e4500a1-83be-4686-a46b-67147ed44ddd",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: 0, s: [416.5, 242, 0] }, { t: 6, s: [416.5, 238.75, 0] }, {
t: 12,
s: [416.5, 242, 0]
}, { t: 31, s: [416.5, 242, 0] }, { t: 37, s: [416.5, 238.75, 0] }, {
t: 43,
s: [416.5, 242, 0]
}, { t: 62, s: [416.5, 242, 0] }, { t: 68, s: [416.5, 238.75, 0] }, {
t: 74,
s: [416.5, 242, 0]
}, { t: 93, s: [416.5, 242, 0] }, { t: 99, s: [416.5, 238.75, 0] }, {
t: 105,
s: [416.5, 242, 0]
}, { t: 123, s: [416.5, 242, 0] }, { t: 129, s: [416.5, 238.75, 0] }, {
t: 135,
s: [416.5, 242, 0]
}, { t: 154, s: [416.5, 242, 0] }, { t: 160, s: [416.5, 238.75, 0] }, {
t: 166,
s: [416.5, 242, 0]
}, { t: 185, s: [416.5, 242, 0] }, { t: 191, s: [416.5, 238.75, 0] }, {
t: 197,
s: [416.5, 242, 0]
}]
},
a: { k: [2.5, 3, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 7,
ty: 2,
nm: "Loading",
refId: "a122de8a-beed-4442-9252-8c047986f371",
ks: {
o: { k: 100 },
r: { k: 0 },
p: { k: [342, 233, 0] },
a: { k: [67, 12, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 8,
ty: 3,
nm: "空 5",
ks: {
o: { k: 0 },
r: { k: 0 },
p: {
k: [{ t: 0, s: [-43.375, 93.125, 0] }, { t: 18, s: [125.625, 93.125, 0] }, {
t: 28,
s: [125.625, 93.125, 0]
}, { t: 43, s: [271.625, 93.125, 0] }, { t: 54, s: [271.625, 93.125, 0] }, {
t: 69,
s: [421.625, 93.125, 0]
}, { t: 80, s: [421.625, 93.125, 0] }, { t: 95, s: [539.625, 81.125, 0] }, {
t: 106,
s: [539.625, 81.125, 0]
}, { t: 121, s: [653.625, 84.625, 0] }, { t: 132, s: [653.625, 84.625, 0] }, {
t: 147,
s: [797.625, 84.625, 0]
}]
},
a: { k: [0, 0, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 9,
ty: 3,
nm: "空 1",
parent: 8,
ks: {
o: { k: 0 },
r: { k: 0 },
p: {
k: [{ t: 0, s: [-.25, -10.25, 0] }, { t: 9.212, s: [-.25, -36.25, 0] }, {
t: 18,
s: [-.25, -10.25, 0]
}, { t: 26, s: [-.25, -10.25, 0] }, { t: 35.212, s: [-.25, -36.25, 0] }, {
t: 44,
s: [-.25, -10.25, 0]
}, { t: 52, s: [-.25, -10.25, 0] }, { t: 61.212, s: [-.25, -36.25, 0] }, {
t: 70,
s: [-.25, -10.25, 0]
}, { t: 78, s: [-.25, -10.25, 0] }, { t: 87.212, s: [-.25, -36.25, 0] }, {
t: 96,
s: [-.25, -10.25, 0]
}, { t: 104, s: [-.25, -10.25, 0] }, { t: 113.212, s: [-.25, -36.25, 0] }, {
t: 122,
s: [-.25, -10.25, 0]
}, { t: 130, s: [-.25, -10.25, 0] }, { t: 139.212, s: [-.25, -36.25, 0] }, {
t: 148,
s: [-.25, -10.25, 0]
}, { t: 156, s: [-.25, -10.25, 0] }, { t: 165.212, s: [-.25, -36.25, 0] }, {
t: 174,
s: [-.25, -10.25, 0]
}, { t: 182, s: [-.25, -10.25, 0] }, { t: 191.212, s: [-.25, -36.25, 0] }, {
t: 200,
s: [-.25, -10.25, 0]
}, { t: 208, s: [-.25, -10.25, 0] }, { t: 217.212, s: [-.25, -36.25, 0] }, {
t: 226,
s: [-.25, -10.25, 0]
}, { t: 234, s: [-.25, -10.25, 0] }, { t: 243.212, s: [-.25, -36.25, 0] }, {
t: 252,
s: [-.25, -10.25, 0]
}]
},
a: { k: [0, 0, 0] },
s: { k: [21.25, 21.25, 100] }
},
ip: -8,
op: 199
}, {
ind: 10,
ty: 2,
nm: "棋子头",
parent: 9,
refId: "845ae874-998e-4f68-8e79-641eb77466f3",
ks: {
o: { k: 100 },
r: { k: 0 },
p: {
k: [{ t: -8, s: [-2.353, -160, 0] }, { t: 0, s: [-2.353, -128.941, 0] }, {
t: 7.242,
s: [-2.353, -160, 0]
}, { t: 18, s: [-2.353, -160, 0] }, { t: 26, s: [-2.353, -128.941, 0] }, {
t: 33.242,
s: [-2.353, -160, 0]
}, { t: 44, s: [-2.353, -160, 0] }, { t: 52, s: [-2.353, -128.941, 0] }, {
t: 59.242,
s: [-2.353, -160, 0]
}, { t: 70, s: [-2.353, -160, 0] }, { t: 78, s: [-2.353, -128.941, 0] }, {
t: 85.242,
s: [-2.353, -160, 0]
}, { t: 96, s: [-2.353, -160, 0] }, { t: 104, s: [-2.353, -128.941, 0] }, {
t: 111.242,
s: [-2.353, -160, 0]
}, { t: 122, s: [-2.353, -160, 0] }, { t: 130, s: [-2.353, -128.941, 0] }, {
t: 137.242,
s: [-2.353, -160, 0]
}, { t: 148, s: [-2.353, -160, 0] }, { t: 156, s: [-2.353, -128.941, 0] }, {
t: 163.242,
s: [-2.353, -160, 0]
}, { t: 174, s: [-2.353, -160, 0] }, { t: 182, s: [-2.353, -128.941, 0] }, {
t: 189.242,
s: [-2.353, -160, 0]
}, { t: 200, s: [-2.353, -160, 0] }, { t: 208, s: [-2.353, -128.941, 0] }, {
t: 215.242,
s: [-2.353, -160, 0]
}, { t: 226, s: [-2.353, -160, 0] }, { t: 234, s: [-2.353, -128.941, 0] }, {
t: 241.2421875,
s: [-2.353, -160, 0]
}]
},
a: { k: [12, 12.5, 0] },
s: { k: [470.588, 470.588, 100] }
},
ip: -8,
op: 199
}, {
ind: 11, ty: 2, nm: "棋子2", parent: 9, refId: "ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d", ks: {
o: { k: 100 },
r: { k: 0 },
p: { k: [0, 63.529, 0] },
a: { k: [11.5, 36, 0] },
s: {
k: [{ t: -8, s: [470.588, 470.588, 100] }, { t: 0, s: [470.588, 377.588, 100] }, {
t: 7.242,
s: [470.588, 470.588, 100]
}, { t: 18, s: [470.588, 470.588, 100] }, { t: 26, s: [470.588, 377.588, 100] }, {
t: 33.242,
s: [470.588, 470.588, 100]
}, { t: 44, s: [470.588, 470.588, 100] }, { t: 52, s: [470.588, 377.588, 100] }, {
t: 59.242,
s: [470.588, 470.588, 100]
}, { t: 70, s: [470.588, 470.588, 100] }, { t: 78, s: [470.588, 377.588, 100] }, {
t: 85.242,
s: [470.588, 470.588, 100]
}, { t: 96, s: [470.588, 470.588, 100] }, { t: 104, s: [470.588, 377.588, 100] }, {
t: 111.242,
s: [470.588, 470.588, 100]
}, { t: 122, s: [470.588, 470.588, 100] }, { t: 130, s: [470.588, 377.588, 100] }, {
t: 137.242,
s: [470.588, 470.588, 100]
}, { t: 148, s: [470.588, 470.588, 100] }, { t: 156, s: [470.588, 377.588, 100] }, {
t: 163.242,
s: [470.588, 470.588, 100]
}, { t: 174, s: [470.588, 470.588, 100] }, { t: 182, s: [470.588, 377.588, 100] }, {
t: 189.242,
s: [470.588, 470.588, 100]
}, { t: 200, s: [470.588, 470.588, 100] }, { t: 208, s: [470.588, 377.588, 100] }, {
t: 215.242,
s: [470.588, 470.588, 100]
}, { t: 226, s: [470.588, 470.588, 100] }, { t: 234, s: [470.588, 377.588, 100] }, {
t: 241.2421875,
s: [470.588, 470.588, 100]
}]
}
}, ip: -8, op: 199
}, {
ind: 12,
ty: 2,
nm: "棋子投影",
parent: 9,
refId: "7458bc9a-d07d-4a7c-972b-4de7ed7c040d",
ks: {
o: { k: 30.196 },
r: { k: 0 },
p: {
k: [{ t: 0, s: [-67.059, -3.529, 0] }, { t: 9.053, s: [-183.529, -60, 0] }, {
t: 18,
s: [-67.059, -3.529, 0]
}, { t: 26, s: [-67.059, -3.529, 0] }, { t: 35.053, s: [-183.529, -60, 0] }, {
t: 44,
s: [-67.059, -3.529, 0]
}, { t: 52, s: [-67.059, -3.529, 0] }, { t: 61.053, s: [-183.529, -60, 0] }, {
t: 70,
s: [-67.059, -3.529, 0]
}, { t: 78, s: [-67.059, -3.529, 0] }, { t: 87.053, s: [-183.529, -60, 0] }, {
t: 96,
s: [-67.059, -3.529, 0]
}, { t: 104, s: [-67.059, -3.529, 0] }, { t: 113.053, s: [-183.529, -60, 0] }, {
t: 122,
s: [-67.059, -3.529, 0]
}, { t: 130, s: [-67.059, -3.529, 0] }, { t: 139.053, s: [-183.529, -60, 0] }, {
t: 148,
s: [-67.059, -3.529, 0]
}, { t: 156, s: [-67.059, -3.529, 0] }, { t: 165.053, s: [-183.529, -60, 0] }, {
t: 174,
s: [-67.059, -3.529, 0]
}, { t: 182, s: [-67.059, -3.529, 0] }, { t: 191.053, s: [-183.529, -60, 0] }, {
t: 200,
s: [-67.059, -3.529, 0]
}, { t: 208, s: [-67.059, -3.529, 0] }, { t: 217.053, s: [-183.529, -60, 0] }, {
t: 226,
s: [-67.059, -3.529, 0]
}, { t: 234, s: [-67.059, -3.529, 0] }, { t: 243.053, s: [-183.529, -60, 0] }, {
t: 252,
s: [-67.059, -3.529, 0]
}]
},
a: { k: [24, 15, 0] },
s: { k: [470.588, 470.588, 100] }
},
ip: -8,
op: 199
}, {
ind: 13,
ty: 2,
nm: "电影院",
refId: "cd1a775d-36c9-4c8e-9c67-8191070068e9",
ks: {
o: { k: 100 },
r: { k: 0 },
p: { k: [127.5, 111, 0] },
a: { k: [61.5, 52, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 14,
ty: 2,
nm: "形状 762",
refId: "b48ee079-b3d7-4371-b294-944200eccba9",
ks: {
o: { k: 100 },
r: { k: 0 },
p: { k: [111.5, 118, 0] },
a: { k: [68.5, 37, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}, {
ind: 15,
ty: 2,
nm: "格子",
refId: "5cab5037-81fc-4246-96e5-b1353f339275",
ks: {
o: { k: 100 },
r: { k: 0 },
p: { k: [450, 108, 0] },
a: { k: [258, 54, 0] },
s: { k: [100, 100, 100] }
},
ip: 0,
op: 147
}],
markers: [{ tm: 147, cm: "1", dr: 0 }]
};
var Ft = FYGE.loadGltf, Bt = FYGE.Scene3D, Tt = FYGE.Vector2;
const Gt = {};
function Lt(t) {
const e = (new Bt).copy(Gt[t]);
return e.scale.set(.005, .005, .005), e
}
async function St(t) {
return new Promise((e => {
if (Gt[t]) return e(Lt(t));
Ft(t, (s => {
Gt[t] = s.scene, e(Lt(t))
}), (t => {
console.error(t), e(new Bt), g("加载模型资源失败")
}))
}))
}
var It;
!function (t) {
t.Cinema = "Cinema", t.Cube1 = "Cube1", t.Cube2 = "Cube2", t.ChocolateShop = "ChocolateShop", t.TennisCourt = "TennisCourt", t.TennisBarrel = "TennisBarrel", t.FlowerShop = "FlowerShop", t.FILAShop = "FILAShop", t.Logo1 = "Logo1", t.Logo2 = "Logo2"
}(It || (It = {}));
const Pt = [It.Cinema, It.Cube1, It.Cube2, It.ChocolateShop, It.TennisCourt, It.TennisBarrel, It.FlowerShop, It.FILAShop, It.Logo1, It.Logo2],
Yt = .06, Rt = {
playerConfig: {
src: "https://yun.duiba.com.cn/aurora/assets/80244821c29db4c619fe3f0c90d57132d149d9bf.glb",
tbsrc: "cloud://CEAE1CD8B6B8EAF842FD9754CF064639//棋子.glb"
}, boxConfig: {
[It.Cinema]: {
src: "https://yun.duiba.com.cn/aurora/assets/ca66f10db4bb98c483a612c2196a2baccf68f9ba.glb",
tbsrc: "cloud://9C90F5DA62F3DD1FC7C8EB0657CB867D//电影院.glb",
ow: .96,
oz: .94,
dx: .07,
dz: .02,
ir: Yt,
testFun: "rect",
score: 0
},
[It.Cube1]: {
src: "https://yun.duiba.com.cn/aurora/assets/660b0f9479686ee3efdbefea233d9cfec66573b1.glb",
tbsrc: "cloud://F672EE52A61F3CFEA2CD455EC3AC3920//立方体1.glb",
ow: .83,
oz: .83,
dx: 0,
dz: 0,
ir: Yt,
testFun: "rect",
score: 0
},
[It.Cube2]: {
src: "https://yun.duiba.com.cn/aurora/assets/cc85f0cd4f030874e60966c891d30f79ef0be927.glb",
tbsrc: "cloud://78804605CF45221AD835915687B35908//立方体2.glb",
ow: .87,
oz: .88,
dx: 0,
dz: 0,
ir: Yt,
testFun: "rect",
score: 0
},
[It.ChocolateShop]: {
src: "https://yun.duiba.com.cn/aurora/assets/f9fec8a8bcce73e23eb17b824eda33202daecf2f.glb",
tbsrc: "cloud://D60F1E52845A434408A338CE2037D53F//巧克力店.glb",
ow: .65,
oz: .65,
dx: .01,
dz: .01,
ir: Yt,
testFun: "circle",
score: 0
},
[It.FlowerShop]: {
src: "https://yun.duiba.com.cn/aurora/assets/0fcff8d4762f24f468d07f1671a5a8482b88ff41.glb",
tbsrc: "cloud://5F122FEF16478E0BBEBE63D7B0B71539//花店.glb",
ow: .8,
oz: .91,
dx: .024,
dz: -.031,
ir: Yt,
testFun: "rect",
score: 0
},
[It.FILAShop]: {
src: "https://yun.duiba.com.cn/aurora/assets/d4da10c0518b98a58c6bee9f720a6680fd726925.glb",
tbsrc: "cloud://4153569ADBB267C5C29A60A2076AF812//file店铺.glb",
ow: .92,
oz: 1.18,
dx: 0,
dz: .02,
ir: Yt,
testFun: "rect",
score: 15
},
[It.TennisCourt]: {
src: "https://yun.duiba.com.cn/aurora/assets/1e556dbdb1e60a31f87d5e386f2a0a027fd90397.glb",
tbsrc: "cloud://73E2BDD33A55C202BBE979A93954E0F5//网球场.glb",
ow: 1.2,
oz: 1.665,
dx: 0,
dz: 0,
ir: Yt,
testFun: "rect",
score: 0
},
[It.TennisBarrel]: {
src: "https://yun.duiba.com.cn/aurora/assets/a454a74ba50bc1d6801e510e9355be1de8ac8cda.glb",
tbsrc: "cloud://CDD8F47A6945FE70A0D15ABF36875356//网球桶.glb",
ow: .35,
oz: .35,
dx: 0,
dz: 0,
ir: Yt,
testFun: "circle",
score: 0
},
[It.Logo1]: {
src: "https://yun.duiba.com.cn/aurora/assets/74d4d08652acd570d5013226e80f22d0929c596c.glb",
tbsrc: "cloud://7920741060B24380DBE357505D146877//LOGO1.glb",
ow: .84,
oz: .884,
dx: -.09,
dz: .005,
ir: Yt,
testFun: "rect",
score: 10
},
[It.Logo2]: {
src: "https://yun.duiba.com.cn/aurora/assets/00e19f936170dbe9b09eb5dcd2c47e476a9c271b.glb",
tbsrc: "cloud://92D7323E60199169EF79C8762BEC112A//logo2.glb",
ow: .92,
oz: .92,
dx: 0,
dz: 0,
ir: Yt,
testFun: "rect",
score: 0
}
}
};
function At(t) {
const e = Rt.boxConfig[t];
return "tb" == FYGE.getEnv() && (e.src = e.tbsrc), e
}
const Dt = {
rect: function (t, e, s, i) {
const a = (new Tt).copy(t).sub(e);
return !(Math.abs(a.x) > s / 2 || Math.abs(a.y) > i / 2)
}, circle: function (t, e, s) {
return t.distanceTo(e) <= s
}
}, _t = [{ key: It.Cinema, probability: 12 }, { key: It.Cube1, probability: 13 }, {
key: It.Cube2,
probability: 13
}, { key: It.ChocolateShop, probability: 8 }, { key: It.FlowerShop, probability: 12 }, {
key: It.TennisCourt,
probability: 8
}, { key: It.TennisBarrel, probability: 19 }, { key: It.FILAShop, probability: 1 }, {
key: It.Logo1,
probability: 2
}, { key: It.Logo2, probability: 12 }];
_t.sort(((t, e) => t.probability - e.probability));
let zt = 0;
_t.forEach((t => {
zt = t.probability += zt
}));
var Nt = FYGE.Button, Ot = FYGE.MouseEvent;
class Mt extends T {
get groupNames() {
return ["OverPanel"]
}
async initUi() {
this.addChild(new FYGE.Sprite(e.getRes("overNoPrizeBg.png"))).position.set(84, 421), this.addChild(new Nt(e.getRes("overBtn.png"))).addEventListener(Ot.CLICK, this.again, this).position.set(167, 849), W.Txt(this, this.data.score + "", 60, "#704a5b", FYGE.TEXT_ALIGN.CENTER, 750, 0, 661), this.addChild(new Nt(e.getRes("comCloseBtn.png"))).addEventListener(Ot.CLICK, this.hidePanel, this).position.set(598, 369)
}
async again(t) {
if (this.btnDelay(t.target), this.data.gameTimes <= 0) w(tt); else {
const { success: t, data: e } = await L(k.startGame);
if (!t) return;
b(qe, { startData: e })
}
super.hidePanel()
}
hidePanel() {
super.hidePanel(), b(ss)
}
}
var Ut = FYGE.Button, jt = FYGE.MouseEvent, Ht = FYGE.Sprite;
class Kt extends T {
get groupNames() {
return ["OverPanel"]
}
async initUi() {
this.addChild(new FYGE.Sprite(e.getRes("overPrizeBg.png"))).position.set(84, 309), this.addChild(new Ut(e.getRes("overBtn.png"))).addEventListener(jt.CLICK, this.again, this).position.set(167, 979), W.Txt(this, this.data.score + "", 60, "#704a5b", FYGE.TEXT_ALIGN.CENTER, 750, 0, 593), W.Txt(this, "请前往「我的奖品」页领取", 24, "#a35e7a", FYGE.TEXT_ALIGN.CENTER, 750, 0, 924);
const t = this.addChild(Ht.fromUrl(this.data.prizeInfo.image));
t.anchorTexture.set(.5, .5), t.position.set(375, 790), t.width = t.height = 214, this.addChild(new Ut(e.getRes("comCloseBtn.png"))).addEventListener(jt.CLICK, this.hidePanel, this).position.set(598, 369)
}
async again(t) {
if (this.btnDelay(t.target), this.data.gameTimes <= 0) w(tt); else {
const { success: t, data: e } = await L(k.startGame);
if (!t) return;
b(qe, { startData: e })
}
super.hidePanel()
}
clickPrizeBtn(t) {
switch (this.btnDelay(t.target), this.data.prizeInfo.type) {
case 1:
L(k.receiveEnamePrize, { _id: this.data.prizeInfo._id, id: this.data.prizeInfo._id }, ((t, e) => {
if (!t || !e) return g("奖品发放失败\n请前往我的奖品处进行处理"), void this.hidePanel();
e.data && 3 == e.data.drawStatus ? g("奖品发放成功\n请前往我的奖品处查看") : g("奖品发放失败\n请前往我的奖品处进行处理"), this.hidePanel()
}), !0);
break;
case 3:
L(k.getUserAddress, { prizeId: this.data.prizeInfo._id }, ((t, e) => {
t && (g("奖品发放成功\n请前往我的奖品处查看"), this.hidePanel())
}), !0);
break;
case 2:
case 5:
this.hidePanel()
}
}
hidePanel() {
super.hidePanel(), b(ss)
}
}
var Xt = FYGE.Button, qt = FYGE.MouseEvent;
class Wt extends T {
get groupNames() {
return ["RevivePanel"]
}
vip;
async initUi() {
this.vip = await A.queryVip(), this.vip ? this.hidePanel() : (this.addChild(new FYGE.Sprite(e.getRes("reviveBg.png"))).position.set(84, 474), this.addChild(new Xt(e.getRes("reviveCancel.png"))).addEventListener(qt.CLICK, this.hidePanel, this).position.set(131, 782), this.addChild(new Xt(e.getRes("reviveOk.png"))).addEventListener(qt.CLICK, this.doRevive, this).position.set(385, 778), this.addChild(new Xt(e.getRes("comCloseBtn.png"))).addEventListener(qt.CLICK, this.hidePanel, this).position.set(598, 369))
}
async doRevive(t) {
if (this.btnDelay(t.target), this.vip) return void this.hidePanel();
const e = async () => {
const { success: t, data: e, message: s } = await L(k.continueGame, { gameId: this.data.gameId });
if (!t || !e.isContinue) return g(s), void this.hidePanel();
this.data.revive(), super.hidePanel()
};
await A.queryVip() ? e() : (g("请先加入会员"), gs.once("JoinMember", e), setTimeout((() => {
L(k.openMember)
}), 1500))
}
hidePanel() {
super.hidePanel(), this.data.submit()
}
}
class Vt {
static readCache(t) {
return my ? my.getStorageSync({ key: t }).data : localStorage ? localStorage.getItem(t) : null
}
static writeCache(t, e = "true") {
my ? my.setStorageSync({ key: t, data: e }) : localStorage && localStorage.setItem(t, e)
}
static returnTodayTimes(t) {
var e = this.readCache("year" + t), s = this.readCache("month" + t), i = this.readCache("day" + t),
a = new Date, n = a.getFullYear().toString(), r = a.getMonth().toString(), o = a.getDate().toString();
if (this.int(n) <= this.int(e) && this.int(r) <= this.int(s) && this.int(o) <= this.int(i)) return this.int(this.readCache(t));
return this.writeCache("year" + t, n), this.writeCache("month" + t, r), this.writeCache("day" + t, o), this.writeCache(t, "0"), 0
}
static randomT(t, e) {
return t && "number" == typeof t.length && t.length ? t[Math.floor(Math.random() * t.length)] : ("number" != typeof e && (e = t || 1, t = 0), t + Math.random() * (e - t))
}
static removeEle(t, e) {
var s = e.indexOf(t);
s >= 0 && e.splice(s, 1)
}
static insert(t, e) {
for (var s = e.length - 1; s >= 0; s--) if (t > e[s]) {
e.splice(s + 1, 0, t);
break
}
}
static getRandomNumber(t, e, s) {
for (var i = [], a = 0; a < s; a++) {
var n = Math.floor(Math.random() * (e - t + 1) + t);
i.indexOf(n) < 0 ? i.push(n) : a--
}
return i
}
static disturbNumberArr(t) {
t.sort((function () {
return .5 - Math.random()
}))
}
static disturbArr(t) {
return t.sort((function () {
return .5 - Math.random()
}))
}
static getRandomArrayElements(t, e) {
var s, i, a = t.slice(0), n = t.length, r = n - e;
if (r <= 0) return a;
if (e <= 0) return [];
for (; n-- > r;) s = a[i = Math.floor((n + 1) * Math.random())], a[i] = a[n], a[n] = s;
return a.slice(r)
}
static getRandomArrayElementsEx(t, e) {
if (t.length <= e) return t.slice();
if (e <= 0) return [];
for (var s = t.slice(), i = []; e--;) {
var a = Math.floor(Math.random() * s.length), n = s.splice(a, 1)[0];
i.push(n)
}
return i
}
static int(t) {
return t >> 0
}
static emojiReg = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi;
static addSpaceInString(t) {
if (!t.length || 1 == t.length) return t;
for (var e = "", s = 0; s < t.length - 1; s++) e = e + t[s] + " ";
return e += t[t.length - 1]
}
static getShiFenMiaoByTimeStamp(t) {
var e = Math.floor(t % 864e5 / 36e5), s = Math.floor(t % 36e5 / 6e4), i = Math.floor(t % 6e4 / 1e3);
return (e = e < 10 ? "0" + e : e) + "小时" + (s = s < 10 ? "0" + s : s) + "分" + (i = i < 10 && i >= 1 ? "0" + i : i) + "秒"
}
static getRealStringLength(t) {
for (var e = 0, s = t.length, i = -1, a = 0; a < s; a++) e += (i = t.charCodeAt(a)) >= 0 && i <= 128 ? 1 : 2;
return e
}
static cutStringAcoRealLength(t, e, s = "...") {
let i = 0, a = "";
for (let n of t) {
let t = n.charCodeAt(0);
if (i += t >= 0 && t <= 128 ? 1 : 2, !(i <= e)) {
a = a.concat(s);
break
}
a = a.concat(n)
}
return a
}
}
var Jt = FYGE.BaseMaterial, $t = FYGE.CircleGeometry, Zt = FYGE.Mesh3D, Qt = FYGE.Object3D;
FYGE.PlaneGeometry;
var te = FYGE.Vector2;
class ee extends Qt {
type;
mesh;
point;
constructor(t) {
super(), this.type = t, t || (this.type = Pt[Math.random() * Pt.length >> 0]), this.init()
}
async init() {
const { ow: t, oz: e, ir: s, dx: i, dz: a, src: n, testFun: r } = At(this.type);
this.point = this.addChild(new Zt(new $t(s, 25, 25), new Jt({
color: 11184810,
alpha: .8
}))), this.point.y = .65, this.point.rotationX = -90, this.point.visible = !1, this.mesh = await St(n), this.addChild(this.mesh), this.mesh.children[0].position.set(0, 0, 0), this.type == It.ChocolateShop ? this.mesh.children[0].position.set(53.5, 80, 59) : this.type == It.TennisBarrel && this.mesh.children[0].position.set(6.5, 36, 16), this.mesh.x += i, this.mesh.z += a
}
useShadow(t) {
this.mesh.castShadow = !0, this.mesh.receiveShadow = !0, t.children.forEach((t => {
t.castShadow = !0, t.receiveShadow = !0, t.children && this.useShadow(t)
}))
}
outArea(t, e) {
const { x: s, z: i } = this, { ow: a, oz: n, ir: r, testFun: o } = At(this.type), h = new te(t, e),
c = new te(s, i);
if (!Dt[o](h, c, a, n)) {
const t = (new te).copy(h).sub(c), e = .1;
let s, i;
return 0 != t.x ? (s = Math.abs(t.x) - a / 2, i = "x") : (s = Math.abs(t.y) - n / 2, i = "z"), {
out: 0,
verFall: s >= e,
fallDir: t.x + t.y > 0 ? 1 : -1,
fallAxis: i
}
}
return { out: Dt.circle(h, c, r) ? 2 : 1 }
}
}
var se = FYGE.Object3D, ie = FYGE.Mesh3D, ae = FYGE.CircleGeometry, ne = FYGE.BaseMaterial, re = FYGE.Tween;
const oe = new ae(.015, 25, 25), he = new ne({ color: 65280 }), ce = new ne({ color: 16777215 });
class le extends ie {
constructor() {
super(oe, ce)
}
}
class de extends se {
particles = [];
cacheParticles = [];
constructor() {
super()
}
startTween;
startLanding() {
for (let t = 0; t < 20; t++) {
const t = this.createParticle();
t.position.set(Vt.randomT(-.3, .3), Vt.randomT(-1.5, .5), Vt.randomT(-.3, .3)), t.material = ce, this.particles.push(t), this.addChild(t), re.get(t.position).to({
x: t.position.x,
y: .8,
z: t.position.z
}, Vt.randomT(300, 1e3)).call((() => {
this.removeChild(t), this.cacheParticles.push(t)
}))
}
setTimeout((() => {
this.stop()
}), 1800)
}
startPush() {
this.startTween = re.get(this, { loop: !0 }).call((() => {
for (let t = 0; t < 20; t++) {
const t = this.createParticle(), e = .7;
t.position.set(Vt.randomT(-e, e), Vt.randomT(-e, e), Vt.randomT(-e, e)), t.material = Math.random() < .3 ? he : ce, this.particles.push(t), this.addChild(t), re.get(t.position).to({
x: 0,
y: 0,
z: 0
}, Vt.randomT(300, 1800)).call((() => {
this.removeChild(t), this.cacheParticles.push(t)
}))
}
})).wait(600)
}
stop() {
re.removeTweens(this), this.particles.forEach((t => {
this.removeChild(t), this.cacheParticles.push(t), re.removeTweens(t.position)
})), this.particles.length = 0
}
createParticle() {
return this.cacheParticles.length ? this.cacheParticles.shift() : new le
}
}
var pe, ge = FYGE.Object3D, ue = FYGE.Tween, me = FYGE.Ease, ye = FYGE.Mesh3D, fe = FYGE.BaseMaterial,
Ee = FYGE.RingGeometry;
!function (t) {
t[t.left = 0] = "left", t[t.right = 1] = "right"
}(pe || (pe = {}));
const we = .77, be = new Ee(.14, .21, 30, 1);
class ve extends ge {
particleEmitter;
mesh;
constructor() {
super(), this.init()
}
async init() {
const t = function () {
const t = Rt.playerConfig;
return "tb" == FYGE.getEnv() && (t.src = t.tbsrc), t
}(), e = this.mesh = await St(t.src);
this.mesh.scale.set(.004, .004, .004), this.mesh.children[0].y = -35, this.addChild(e), this.particleEmitter = this.addChild(new de);
const { x: s, y: i, z: a } = this.scene.camera.position;
this.particleEmitter.lookAt(s, i, a)
}
async reset() {
return new Promise((t => {
this.rotation.set(0, 0, 0, 0), this.position.set(0, 1.77, 0), ue.get(this).to({ y: we }, 1e3, me.bounceOut).call(t)
}))
}
async jump(t, e) {
return new Promise((s => {
ue.get(this).to({ y: 1.5 }, 250, me.quadOut).to({ y: we }, 250, me.quadIn), ue.get(this).to({
x: t,
z: e
}, 500).call(s)
}))
}
push(t) {
this.scaleY = 1 - t, this.y = we - t / 2 - .13 * t / .5
}
rot(t) {
let e = "rotationX", s = this.mesh;
t == pe.left && (e = "rotationZ"), ue.get(s).to({ [e]: "rotationX" == e ? -360 : 360 }, 500).call((() => {
s[e] = 0
}))
}
doubleEffect(t = 1) {
for (let e = 0; e < t; e++) ue.get({}).wait(180 * e).call((() => {
const t = this.scene.addChild(new ye(be, new fe({ color: 16777215, alpha: 1 })));
t.position.copy(this.position), t.y += .01 * e, t.rotationX = -90, ue.get(t.material).to({ alpha: 0 }, 1e3, me.quartOut), ue.get(t).to({
scaleX: 5,
scaleY: 5
}, 800, me.quartOut).call((() => {
this.scene.removeChild(t)
}))
}))
}
async fall(t, e) {
return new Promise((s => {
if (t.verFall) ue.get(this).to({ y: .15 }, 130).wait(e).call(s); else {
const { fallDir: i, fallAxis: a } = t, n = 90 * i * ("x" == a ? -1 : 1);
ue.get(this).wait(50).to({
y: .08,
[a]: this[a] + .2 * i,
["rotation" + ("x" == a ? "Z" : "X")]: n
}, 230, me.quadIn).wait(e).call(s)
}
}))
}
async revive(t) {
return new Promise((e => {
ue.get(this).to({
y: we,
rotationX: 0,
rotationY: 0,
rotationZ: 0
}, 750, me.quartOut), ue.get(this).to({ x: t.x, z: t.z }, 750, me.quadIn).call(e)
}))
}
}
var xe = FYGE.AmbientLight, Ce = FYGE.Ease, ke = FYGE.Event, Fe = FYGE.MouseEvent, Be = FYGE.Scene3D,
Te = FYGE.Tween;
const Ge = new (0, FYGE.Vector3)(5.5, 3.6, 5.2);
class Le extends Be {
player;
cacheBox = {
[It.Cinema]: [],
[It.Cube1]: [],
[It.Cube2]: [],
[It.ChocolateShop]: [],
[It.TennisCourt]: [],
[It.TennisBarrel]: [],
[It.FlowerShop]: [],
[It.FILAShop]: [],
[It.Logo1]: [],
[It.Logo2]: []
};
curBox;
nextBox;
canMove = !1;
direction = pe.right;
outBox = [];
pushParticle;
pushObj = { c: 0 };
bonusScore = 0;
specialBonusTween = Te.get({});
constructor() {
super(), this.initScene(), this.addEvents(), this.reset()
}
setView(t, e, s, i) {
this.viewX = t, this.viewY = e, this.viewWidth = s, this.viewHeight = i, this.camera.set(void 0, s / i, .1, 1e3)
}
async reset() {
for (let t = this.outBox.length - 1; t >= 0; t--) {
let e = this.outBox[t];
this.removeChild(e), this.cacheBox[e.type].push(e)
}
this.outBox.length = 0, this.curBox && (this.removeChild(this.curBox), this.cacheBox[this.curBox.type].push(this.curBox)), this.nextBox && (this.removeChild(this.nextBox), this.cacheBox[this.nextBox.type].push(this.nextBox)), this.pushObj = { c: 0 }, this.bonusScore = 0, this.curBox = this.addChild(new ee(It.Logo2)), this.curBox.position.set(0, 0, 0), this.nextBox = this.addChild(new ee(It.Cinema)), this.nextBox.position.set(0, 0, -1.7), this.direction = pe.right, this.camera.position.copy(Ge), this.moveCamera(0, -.85), await this.player.reset(), this.canMove = !0, this.pushParticle.position.copy(this.player.position);
const { x: t, y: e, z: s } = this.camera.position;
this.pushParticle.lookAt(t, e, s)
}
createBox() {
const t = (() => {
const t = Math.random() * zt;
for (let e = 0, s = 1; s < _t.length; e++, s++) {
const i = _t[e], a = _t[s];
if (t > i.probability && t <= a.probability) return a.key
}
return It.Cinema
})();
return this.cacheBox[t].length ? this.cacheBox[t].splice(0, 1)[0] : new ee(t)
}
initScene() {
Pt.forEach((t => {
this.cacheBox[t].push(new ee(t))
})), this.addChild(new xe(16777215, 1)), this.player = this.addChild(new ve), this.pushParticle = this.addChild(new de)
}
onUp = async () => {
this.pushParticle.stop(), this.nextBox.point.visible = !1, Te.removeTweens(this.pushObj);
const t = 7 * this.pushObj.c;
let e = this.curBox.x, s = this.curBox.z;
this.direction == pe.left ? e -= t : s -= t, await this.jump(e, s, this.direction), this.pushParticle.position.copy(this.player.position);
const { x: i, z: a } = this.player;
if (this.curBox.outArea(i, a).out > 0) return void (this.canMove = !0);
const n = this.nextBox.outArea(i, a);
if (0 == n.out) await this.die(n); else {
const t = At(this.nextBox.type).score;
0 != t && (this.specialBonusTween = Te.get({}).wait(2e3).call((() => {
this.player.particleEmitter.startLanding(), this.dispatchEvent(Re.AddScore, { add: t })
}))), this.player.particleEmitter.startLanding(), this.outBox.push(this.curBox), this.curBox = this.nextBox;
let e = this.curBox.x, s = this.curBox.z, i = e, a = s;
const r = Vt.randomT(1.72, 3.3);
Math.random() > .5 ? (this.direction = pe.left, e -= r, i -= r / 2) : (this.direction = pe.right, s -= r, a -= r / 2), this.nextBox = this.addRect(e, s), this.moveCamera(i, a), 2 == n.out ? (this.player.doubleEffect(++this.bonusScore), this.dispatchEvent(Re.AddScore, { add: this.bonusScore + 4 })) : (this.bonusScore = 0, this.dispatchEvent(Re.AddScore, { add: 1 })), this.canMove = !0
}
};
onDown = () => {
this.canMove && (this.canMove = !1, Te.removeTweenSelf(this.specialBonusTween), this.pushParticle.startPush(), this.nextBox.point.visible = !0, this.pushObj = { c: 0 }, Te.get(this.pushObj, {
onChange: () => {
this.curBox.scaleY = 1 - this.pushObj.c, this.player.push(this.pushObj.c)
}
}).to({ c: .65 }, 1600).call((() => {
console.log("最大蓄力了")
})), this.once(Fe.MOUSE_UP, this.onUp))
};
addEvents() {
this.addEventListener(Fe.MOUSE_DOWN, this.onDown), this.addEventListener(ke.ENTER_FRAME, this.onUpdate, this)
}
moveCamera(t, e) {
const s = t + Ge.x, i = e + Ge.z;
this.camera.y = Ge.y, Te.get(this.camera, {
onChange: () => {
const { x: t, y: e, z: s } = this.camera;
this.camera.lookAt(t - Ge.x, 0, s - Ge.z)
}
}).to({ x: s, z: i }, 500, Ce.sineInOut)
}
addRect(t, e) {
const s = this.createBox();
return s.position.set(t, 1, e), this.addChild(s), Te.get(s).to({ y: 0 }, 320, Ce.bounceOut), s
}
jump(t, e, s) {
return new Promise((i => {
this.player.scaleY = 1, Te.get(this.curBox).to({ scaleY: 1 }, 300, Ce.getBackOut(2.2)), this.player.jump(t, e).then(i), this.player.rot(s)
}))
}
async die(t) {
console.log(t, "die"), await this.player.fall(t, 800), this.dispatchEvent(Re.GameOver)
}
async revive() {
await this.player.revive(this.curBox), this.canMove = !0
}
onUpdate() {
for (let t = this.outBox.length - 1; t >= 0; t--) {
let e = this.outBox[t], s = this.curBox.x, i = this.curBox.z;
(e.x > s + 8 || e.z > i + 8) && (this.outBox.splice(t, 1), this.removeChild(e), this.cacheBox[e.type].push(e))
}
}
}
var Se = FYGE.Button, Ie = FYGE.Container, Pe = FYGE.MouseEvent;
class Ye extends Ie {
on;
off;
static status = !0;
static btns = [];
static changeMusicStatus(t) {
Ye.status = t, Ye.btns.forEach((e => {
e.btn.changeTexture(t ? e.on : e.off)
})), L(k.openMusic, { isOn: t })
}
btn;
constructor(t, e) {
super(), this.on = t, this.off = e, this.btn = this.addChild(new Se(Ye.status ? this.on : this.off)), this.btn.addEventListener(Pe.CLICK, Ye.onClick, this), Ye.btns.push(this)
}
static onClick() {
Ye.changeMusicStatus(!Ye.status)
}
destroy() {
super.destroy(), Ye.btns.splice(Ye.btns.indexOf(this), 1), this.btn.removeEventListener(Pe.CLICK, Ye.onClick, this)
}
}
var Re, Ae = FYGE.BitmapText, De = FYGE.TEXT_ALIGN, _e = FYGE.Tween, ze = FYGE.Event, Ne = FYGE.Ease,
Oe = FYGE.Shape, Me = FYGE.Container, Ue = FYGE.MouseEvent;
!function (t) {
t.AddScore = "AddScore", t.GameOver = "GameOver"
}(Re || (Re = {}));
class je extends B {
get groupNames() {
return ["game"]
}
scoreTxt;
musicButton;
jump3d;
addScoreLabel;
_score = 0;
get score() {
return this._score
}
set score(t) {
this._score = t, this.scoreTxt.text = t + ""
}
async initUi() {
W.Sp(this, "com_bg.jpg"), this.data.startData.isFirstEnterGame && await this.showGuide();
const t = this.jump3d = this.addChild(new Le);
t.setView(0, E.stageOffsetY, E.stageWidth, E.stageHeight), t.addEventListener(Re.AddScore, this.addScore, this), t.addEventListener(Re.GameOver, this.gameOver, this), this.musicButton = this.addChild(new Ye(e.getRes("gameMusicOn.png"), e.getRes("gameMusicOff.png"))), this.musicButton.position.set(636, E.stageOffsetY + 265 * E.stageOffsetY / 422), this.musicButton.position.set(636, 265);
const s = A.getNumTextures("gameScore");
s["+"] = e.getRes("gameScore+.png"), this.scoreTxt = this.addChild(new Ae(s)), this.scoreTxt.text = "0", this.scoreTxt.textAlign = De.LEFT, this.scoreTxt.position.set(65, E.stageOffsetY + 305 * E.stageOffsetY / 422), this.scoreTxt.position.set(65, 305), this.addScoreLabel = this.addChild(new Ae(s)), this.addScoreLabel.position.set(100, 1e3), this.addScoreLabel.scale.set(.5, .5), this.addEventListener(ze.ENTER_FRAME, (() => {
this.addScoreLabel.position.x = this.jump3d.player.stagePos.x
}))
}
async showGuide() {
return new Promise((t => {
const e = this.addChild(new Me), s = e.addChild(new Oe);
s.beginFill(0, .8), s.drawRect(0, 0, 750, 1624), s.endFill(), W.Sp(e, "guide.png", 100, 700), e.once(Ue.CLICK, (() => {
this.removeChild(e), t()
}))
}))
}
destroy() {
super.destroy()
}
addScore(t) {
console.log("加分", t.data), this.score += t.data.add, this.addScoreLabel.text = `+${t.data.add}`;
const e = this.jump3d.player.stagePos.y;
_e.get(this.addScoreLabel).set({ visible: !0, alpha: 2, y: e }).to({
y: e - 100,
alpha: 0
}, 1500, Ne.quadOut).set({ visible: !1 })
}
async gameOver(t) {
const { gameId: e, beMember: s, isFirstEnterGame: i } = this.data.startData;
s || !i ? this.submitGame() : w(Wt, {
gameId: this.data.startData.gameId,
submit: this.submitGame,
revive: this.reviveGame
})
}
reviveGame = async () => {
this.data.startData.beMember = !0, await D(500), this.jump3d.revive()
};
submitGame = async () => {
const { success: t, data: e, message: s } = await L(k.submitGame, {
gameId: this.data.startData.gameId,
score: this.score,
isGetPrize: this.score >= 520
});
if (!t) return g(s), await D(1e3), void b(ss);
const {
prizeInfo: i,
score: a,
getScore: n,
maxScore: r,
gameTimes: o,
avatar: h,
userNick: c,
rank: l
} = e;
A.gameInfo.gameTimes = o, i && JSON.stringify(i) != JSON.stringify({}) && 5 != i.type ? w(Kt, {
score: this.score,
prizeInfo: i,
gameTimes: o
}) : w(Mt, { score: this.score, gameTimes: o })
}
}
var He = FYGE.Lottie, Ke = FYGE.Tween, Xe = FYGE.Event;
class qe extends B {
get groupNames() {
return ["loading", "LoadingEffect"]
}
initUi() {
W.Sp(this, "com_bg.jpg"), W.Sp(this, "loading_title.png", 115, 356);
const t = this.addChild(new He(kt));
t.y = 710, t.play()
}
async start() {
super.start(), this.addEventListener(Xe.PROGRESS, this.progressEvent, this);
const t = [];
let s = 0;
for (let e of Pt) {
const i = At(e);
t.push((async () => {
await St(i.src), this.dispatchEvent(Xe.PROGRESS, s += .8 / Pt.length)
})())
}
await Promise.all(t), await e.loadGroup("game"), this.dispatchEvent(Xe.PROGRESS, .9), this.dispatchEvent(Xe.PROGRESS, 1)
}
progressEvent(t) {
let e = t.data;
Ke.get({}, null, null, !0).to({ value: e }, 0).call((() => {
e >= 1 && (this.removeEventListener(Xe.PROGRESS, this.progressEvent, this), b(je, { startData: this.data.startData }))
}))
}
destroy() {
super.destroy()
}
}
var We = FYGE.Button, Ve = FYGE.Container, Je = FYGE.MouseEvent, $e = FYGE.Shape, Ze = FYGE.Sprite,
Qe = FYGE.TEXT_ALIGN, ts = FYGE.VERTICAL_ALIGN, es = FYGE.Texture;
class ss extends B {
prizeBtn;
taskBtn;
ruleBtn;
rankBtn;
startBtn;
paper;
timeLabel;
progress;
get groupNames() {
return ["index"]
}
async initUi() {
const { totalScore: t } = A.activityBaseInfo;
this.paper = this.addChild(Ze.fromUrl("https://yun.duiba.com.cn/aurora/assets/70c7fdc45ed8139bdc0a23ac004facc07abf3cfd.jpg")), this.progress = this.addChild(new is({ value: t })), this.progress.y = 1050, this.rankBtn = this.addChild(new We(e.getRes("rankBtn.png"))).addEventListener(Je.CLICK, this.clickBtn, this), this.rankBtn.position.set(652, 450), this.rankBtn.anchorX = 98, this.taskBtn = this.addChild(new We(e.getRes("taskBtn.png"))).addEventListener(Je.CLICK, this.clickBtn, this), this.taskBtn.position.set(599, 388), this.taskBtn.anchorX = 151, this.prizeBtn = this.addChild(new We(e.getRes("prizeBtn.png"))).addEventListener(Je.CLICK, this.clickBtn, this), this.prizeBtn.y = 392, this.prizeBtn.anchorX = 0, this.ruleBtn = this.addChild(new We(e.getRes("ruleBtn.png"))).addEventListener(Je.CLICK, this.clickBtn, this), this.ruleBtn.y = 453, this.ruleBtn.anchorX = 0, this.startBtn = this.addChild(new We(e.getRes("startBtn.png"))).addEventListener(Je.CLICK, this.startGame, this), this.startBtn.position.set(128, 1244), W.Sp(this.startBtn, "btnTipBg.png", 426, -13), this.timeLabel = W.Txt(this.startBtn, `剩余次数:${A.gameInfo.gameTimes}`, 20, "#ffffff", Qe.CENTER, 147, 426, -13), this.timeLabel.textHeight = 36, this.timeLabel.verticalAlign = ts.MIDDLE, W.Txt(this, "单局奇迹值达520分\t\t必得「甜蜜福利」\t发完即止", 22, "#ffa8d0", Qe.CENTER, 750, 0, 1376)
}
destroy() {
super.destroy(), gs.removeEventListener("UpdateScene", this.updateIndex, this)
}
async updateIndex() {
await A.getActivityBaseInfo(), await A.getGameInfo();
const { showImage: t, totalScore: e } = A.activityBaseInfo;
this.paper.texture = es.fromUrl(t), this.progress.value = e, this.timeLabel.text = `剩余次数:${A.gameInfo.gameTimes}`
}
async start() {
super.start(), gs.addEventListener("UpdateScene", this.updateIndex, this), this.data && "main" == this.data.from || (await A.getActivityBaseInfo(), await A.getGameInfo());
const { showImage: t, totalScore: e } = A.activityBaseInfo;
if (this.paper.texture = es.fromUrl(t), this.progress.value = e, this.timeLabel.text = `剩余次数:${A.gameInfo.gameTimes}`, 3 == A.activityBaseInfo.activityStatus && 3 == A.activityBaseInfo.openPrizeStatus) {
const { success: t, data: e } = await L(k.getMyRankPrize);
t && e.showAwardDialog && (e.prize && 5 != e.prize.type ? w(Et, e) : w(it, e))
}
const s = () => {
A.globalData.newUser && (A.globalData.newUser = !1, w(Ct))
};
A.globalData.inviteId && 3 != A.activityBaseInfo.activityStatus ? w($, { call: s }) : s()
}
async startGame(t) {
if (this.btnDelay(t.target), 1 == A.activityBaseInfo.activityStatus) return g("活动未开始");
if (3 == A.activityBaseInfo.activityStatus) return g("活动已结束");
if (A.gameInfo.gameTimes <= 0) return void w(tt, { from: "index" });
const { success: e, data: s } = await L(k.startGame);
e && b(qe, { startData: s })
}
async clickBtn(t) {
switch (this.btnDelay(t.target), t.target) {
case this.ruleBtn:
w(Ct);
break;
case this.prizeBtn:
L(k.navigateTo, { url: "/pages/myprize/myprize" }, null, !0);
break;
case this.taskBtn:
1 == A.activityBaseInfo.activityStatus ? g("活动未开始") : 3 == A.activityBaseInfo.activityStatus ? g("活动已结束") : R();
break;
case this.rankBtn:
w(pt)
}
}
}
class is extends Ve {
constructor(t) {
super(), this.init(), this.value = t.value
}
_value = 0;
get value() {
return this._value
}
set value(t) {
switch (this._value = t, this.miracleTxt.text = `当前总奇迹值:${t}`, !0) {
case t <= 52e3:
this.fill.mask.x = 80 * t / 52e3 + 72 - 608;
break;
case t <= 52e4:
this.fill.mask.x = 160 * t / 52e4 + 72 - 608 + 80;
break;
case t <= 52e5:
this.fill.mask.x = 304 * t / 52e5 + 72 - 608 + 80 + 160;
break;
case t > 52e5:
this.fill.mask.x = 72
}
}
miracleTxt;
fill;
init() {
W.Sp(this, "progressBg.png"), this.fill = W.Sp(this, "progressFill.png"), this.fill.position.set(69, 79);
const t = this.addChild(new $e);
t.beginFill(16711680), t.drawRoundedRect(0, 0, 608, 25, 10, 10, 10, 10), t.endFill(), t.position.set(73, 74), this.fill.mask = t, this.addChild(new as("5.2万")).position.set(102, 72), this.addChild(new as("52万")).position.set(264, 72), this.addChild(new as("520万")).position.set(564, 72), this.miracleTxt = W.Txt(this, "当前总奇迹值:0", 24, "#ffffff", Qe.CENTER, 750, 0, 39), W.Txt(this, "当奇迹值达到520万时,将于519当天揭秘时尚运动代言人", 22, "#ffffff", Qe.CENTER, 750, 0, 119)
}
}
class as extends Ve {
constructor(t) {
super(), W.Sp(this, "progressLabel.png");
const e = W.Txt(this, t, 22, "#000000", Qe.CENTER, 87, 0, 1.45);
e.textHeight = 31, e.verticalAlign = ts.MIDDLE
}
}
const ns = {
groups: [{
keys: "helpBg.png,helpBtn.png",
name: "HelpPanel",
atlas: {
"helpBg.png": { x: 2, y: 2, w: 581, h: 547, ox: 0, oy: 0, sw: 581, sh: 547, ro: !1 },
"helpBtn.png": { x: 2, y: 551, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !1 }
}
}, {
keys: "5cab5037-81fc-4246-96e5-b1353f339275.png,7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png,7e4500a1-83be-4686-a46b-67147ed44ddd.png,845ae874-998e-4f68-8e79-641eb77466f3.png,a122de8a-beed-4442-9252-8c047986f371.png,ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png,b48ee079-b3d7-4371-b294-944200eccba9.png,cd1a775d-36c9-4c8e-9c67-8191070068e9.png",
name: "LoadingEffect",
atlas: {
"5cab5037-81fc-4246-96e5-b1353f339275.png": {
x: 2,
y: 2,
w: 516,
h: 108,
ox: 0,
oy: 0,
sw: 516,
sh: 108,
ro: !1
},
"b48ee079-b3d7-4371-b294-944200eccba9.png": {
x: 2,
y: 112,
w: 137,
h: 74,
ox: 0,
oy: 0,
sw: 137,
sh: 74,
ro: !1
},
"a122de8a-beed-4442-9252-8c047986f371.png": {
x: 141,
y: 112,
w: 134,
h: 24,
ox: 0,
oy: 0,
sw: 134,
sh: 24,
ro: !1
},
"cd1a775d-36c9-4c8e-9c67-8191070068e9.png": {
x: 2,
y: 188,
w: 123,
h: 104,
ox: 0,
oy: 0,
sw: 123,
sh: 104,
ro: !1
},
"7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png": {
x: 127,
y: 188,
w: 48,
h: 30,
ox: 0,
oy: 0,
sw: 48,
sh: 30,
ro: !0
},
"ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png": {
x: 141,
y: 138,
w: 23,
h: 36,
ox: 0,
oy: 0,
sw: 23,
sh: 36,
ro: !1
},
"845ae874-998e-4f68-8e79-641eb77466f3.png": {
x: 127,
y: 238,
w: 24,
h: 25,
ox: 0,
oy: 0,
sw: 24,
sh: 25,
ro: !1
},
"7e4500a1-83be-4686-a46b-67147ed44ddd.png": {
x: 141,
y: 176,
w: 5,
h: 6,
ox: 0,
oy: 0,
sw: 5,
sh: 6,
ro: !1
}
}
}, {
keys: "noTimeBg.png,noTimeBtn.png",
name: "NoTimePanel",
atlas: {
"noTimeBg.png": { x: 2, y: 2, w: 581, h: 547, ox: 0, oy: 0, sw: 581, sh: 547, ro: !1 },
"noTimeBtn.png": { x: 2, y: 551, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !1 }
}
}, {
keys: "overBtn.png,overNoPrizeBg.png,overPrizeBg.png",
name: "OverPanel",
atlas: {
"overPrizeBg.png": { x: 2, y: 2, w: 581, h: 843, ox: 0, oy: 0, sw: 581, sh: 843, ro: !1 },
"overNoPrizeBg.png": { x: 585, y: 2, w: 581, h: 577, ox: 0, oy: 0, sw: 581, sh: 577, ro: !0 },
"overBtn.png": { x: 585, y: 585, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !1 }
}
}, {
keys: "rankBg.png,rankIcon.png",
name: "RankPanel",
atlas: {
"rankBg.png": { x: 2, y: 2, w: 581, h: 944, ox: 0, oy: 0, sw: 581, sh: 944, ro: !1 },
"rankIcon.png": { x: 585, y: 2, w: 34, h: 42, ox: 0, oy: 0, sw: 34, sh: 42, ro: !1 }
}
}, {
keys: "rankNoPrizeBg.png,rankNoPrizeBtn.png,rankPrizeBg.png,rankPrizeBtn.png",
name: "RankPrizePanel",
atlas: {
"rankPrizeBg.png": { x: 2, y: 2, w: 581, h: 717, ox: 0, oy: 0, sw: 581, sh: 717, ro: !1 },
"rankNoPrizeBg.png": { x: 585, y: 2, w: 581, h: 546, ox: 0, oy: 0, sw: 581, sh: 546, ro: !0 },
"rankNoPrizeBtn.png": { x: 585, y: 585, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !1 },
"rankPrizeBtn.png": { x: 2, y: 721, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !1 }
}
}, {
keys: "reviveBg.png,reviveCancel.png,reviveOk.png",
name: "RevivePanel",
atlas: {
"reviveBg.png": { x: 2, y: 2, w: 581, h: 508, ox: 0, oy: 0, sw: 581, sh: 508, ro: !1 },
"reviveOk.png": { x: 2, y: 512, w: 233, h: 89, ox: 0, oy: 0, sw: 233, sh: 89, ro: !1 },
"reviveCancel.png": { x: 237, y: 512, w: 224, h: 85, ox: 0, oy: 0, sw: 224, sh: 85, ro: !1 }
}
}, {
keys: "rulePanelBg.png,rulePanelBtn.png",
name: "RulePanel",
atlas: {
"rulePanelBg.png": { x: 2, y: 2, w: 581, h: 717, ox: 0, oy: 0, sw: 581, sh: 717, ro: !1 },
"rulePanelBtn.png": { x: 585, y: 2, w: 418, h: 102, ox: 0, oy: 0, sw: 418, sh: 102, ro: !0 }
}
}, {
keys: "comCloseBtn.png,com_bg.jpg,toastBg.png,waitingBg.png,waitingRot.png",
name: "common",
atlas: {
"toastBg.png": { x: 2, y: 2, w: 460, h: 130, ox: 0, oy: 0, sw: 460, sh: 130, ro: !1 },
"waitingBg.png": { x: 2, y: 134, w: 160, h: 180, ox: 0, oy: 0, sw: 160, sh: 180, ro: !0 },
"comCloseBtn.png": { x: 184, y: 134, w: 58, h: 58, ox: 0, oy: 0, sw: 58, sh: 58, ro: !1 },
"waitingRot.png": { x: 184, y: 194, w: 56, h: 56, ox: 0, oy: 0, sw: 56, sh: 56, ro: !1 }
}
}, {
keys: "gameMusicOff.png,gameMusicOn.png,gameScore+.png,gameScore0.png,gameScore1.png,gameScore2.png,gameScore3.png,gameScore4.png,gameScore5.png,gameScore6.png,gameScore7.png,gameScore8.png,gameScore9.png,guide.png",
name: "game",
atlas: {
"guide.png": { x: 2, y: 2, w: 320, h: 416, ox: 0, oy: 0, sw: 320, sh: 416, ro: !1 },
"gameMusicOff.png": { x: 324, y: 2, w: 82, h: 82, ox: 0, oy: 0, sw: 82, sh: 82, ro: !1 },
"gameMusicOn.png": { x: 324, y: 86, w: 82, h: 82, ox: 0, oy: 0, sw: 82, sh: 82, ro: !1 },
"gameScore0.png": { x: 324, y: 170, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !0 },
"gameScore1.png": { x: 324, y: 216, w: 28, h: 56, ox: 2, oy: 0, sw: 32, sh: 56, ro: !0 },
"gameScore2.png": { x: 324, y: 246, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !0 },
"gameScore3.png": { x: 324, y: 292, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !0 },
"gameScore4.png": { x: 324, y: 338, w: 44, h: 56, ox: 2, oy: 0, sw: 48, sh: 56, ro: !1 },
"gameScore5.png": { x: 408, y: 2, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !1 },
"gameScore6.png": { x: 408, y: 60, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !1 },
"gameScore7.png": { x: 408, y: 118, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !1 },
"gameScore8.png": { x: 382, y: 176, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !0 },
"gameScore9.png": { x: 382, y: 222, w: 44, h: 56, ox: 2, oy: 0, sw: 47, sh: 56, ro: !0 },
"gameScore+.png": { x: 382, y: 268, w: 42, h: 40, ox: 2, oy: 8, sw: 46, sh: 56, ro: !1 }
}
}, {
keys: "btnTipBg.png,prizeBtn.png,progressBg.png,progressFill.png,progressLabel.png,rankBtn.png,ruleBtn.png,startBtn.png,taskBtn.png",
name: "index",
atlas: {
"progressBg.png": { x: 2, y: 2, w: 750, h: 188, ox: 0, oy: 0, sw: 750, sh: 188, ro: !1 },
"progressFill.png": { x: 2, y: 192, w: 615, h: 20, ox: 0, oy: 0, sw: 615, sh: 20, ro: !1 },
"startBtn.png": { x: 2, y: 214, w: 490, h: 111, ox: 0, oy: 0, sw: 490, sh: 111, ro: !1 },
"prizeBtn.png": { x: 494, y: 214, w: 153, h: 51, ox: 0, oy: 0, sw: 153, sh: 51, ro: !1 },
"taskBtn.png": { x: 494, y: 267, w: 151, h: 51, ox: 0, oy: 0, sw: 151, sh: 51, ro: !1 },
"btnTipBg.png": { x: 2, y: 327, w: 147, h: 36, ox: 0, oy: 0, sw: 147, sh: 36, ro: !1 },
"ruleBtn.png": { x: 649, y: 192, w: 102, h: 42, ox: 0, oy: 0, sw: 102, sh: 42, ro: !1 },
"rankBtn.png": { x: 494, y: 320, w: 98, h: 43, ox: 0, oy: 0, sw: 98, sh: 43, ro: !1 },
"progressLabel.png": { x: 151, y: 327, w: 87, h: 31, ox: 0, oy: 0, sw: 87, sh: 31, ro: !1 }
}
}, {
keys: "loading_effect.png,loading_title.png",
name: "loading",
atlas: {
"loading_effect.png": { x: 2, y: 2, w: 665, h: 121, ox: 0, oy: 0, sw: 665, sh: 121, ro: !1 },
"loading_title.png": { x: 2, y: 125, w: 531, h: 146, ox: 0, oy: 0, sw: 531, sh: 146, ro: !1 }
}
}], path: "https://yun.duiba.com.cn/db_games/activity/template/1653551518/resource/"
}, rs = { x: 0, y: 0, type: "container", children: [] };
var os = FYGE.Tween, hs = FYGE.EventDispatcher, cs = FYGE.RENDERER_TYPE, ls = FYGE.Event, ds = FYGE.getEnv,
ps = FYGE.Texture;
const gs = new hs;
t.GDispatcher = gs, t.Main = class {
stage;
requestID;
_pause;
canvas;
constructor(t) {
let e;
window || (FYGE.initedByCanvas(t), e = my.getSystemInfoSync());
const s = this.stage = new FYGE.Stage(t, 750, 1624, e && e.windowWidth || document.body.clientWidth, e && e.windowHeight || document.body.clientHeight, cs.WEBGL, !0, !1, e && e.pixelRatio || window.devicePixelRatio || 1, { antialias: !0 });
this.canvas = t, s.addEventListener(ls.INIT_STAGE, this.onAddToStage, this), this.loop()
}
loop = () => {
this._pause || (os.flush(), this.stage.flush()), "tb" == ds() ? this.requestID = this.canvas.requestAnimationFrame(this.loop) : this.requestID = window.requestAnimationFrame(this.loop)
};
async onAddToStage() {
E.init(this.stage), console.log("初始化层级完成"), e.loadConfig(ns), console.log("初始化资源配置完成"), e.loadSkinConfig(rs), console.log("初始化皮肤配置完成"), await e.loadGroup("common"), console.log("通用资源加载完成"), "web" == ds() && document.getElementById("__loading__") && (document.getElementById("__loading__").style.display = "none"), await A.getGlobalData();
const t = await A.getActivityBaseInfo();
if (await e.getResAsync(A.activityBaseInfo.showImage || "https://yun.duiba.com.cn/aurora/assets/79e467e771f01e98fb1b6b7daa3cfeecb8584617.png"), !t) return void g("获取活动信息失败");
await A.getGameInfo() ? (A.checkPermission(), await Promise.all([ps.fromUrl("https://yun.duiba.com.cn/aurora/assets/923bcdee2d54f39797fb1cc5a79ab84da1bbe972.jpg"), ps.fromUrl("https://yun.duiba.com.cn/aurora/assets/92856abbb6293e863708fa2c0ea3556cf9b2afaa.jpg"), ps.fromUrl("https://yun.duiba.com.cn/aurora/assets/d660b9e12c66ad2c42fca23c57bf33db5009fedf.jpg"), ps.fromUrl("https://yun.duiba.com.cn/aurora/assets/a6903842083d8015e2e81d2dc652370574be6774.jpg")]), Ye.changeMusicStatus(!0), b(ss, { from: "main" })) : g("获取游戏信息失败")
}
run() {
this._pause = !1, os._lastTime = null, gs.dispatchEvent({ type: C.ON_SHOW })
}
pause() {
gs.dispatchEvent({ type: C.ON_HIDE })
}
addGlobalEvent(t, e, s, i = !1) {
i ? gs.once(t, e, s) : gs.addEventListener(t, e, s)
}
dispatchGlobalEvent(t, e) {
gs.dispatchEvent(t, e)
}
removeGlobalEvent(t, e, s) {
gs.removeEventListener(t, e, s)
}
destroy() {
os.removeAllTweens(), "tb" == FYGE.getEnv() ? this.canvas.cancelAnimationFrame(this.requestID) : window.cancelAnimationFrame(this.requestID), E.removeChildren(), E.parent && E.parent.removeChild(E), x(), this.stage.destroy(), gs.removeAllEventListener()
}
}, Object.defineProperty(t, "__esModule", { value: !0 })
}));
//# sourceMappingURL=output.js.map
{"version":3,"file":"output.js","sources":["../../module/RES.ts","../../module/ctrls/waitingCtrl.ts","../../module/ctrls/toastCtrl.ts","../../module/ctrls/panelCtrl.ts","../../module/ctrls/sceneCtrl.ts","../../module/views/layers.ts","../../module/ctrls/index.ts","../../src/common/G_EVENT.ts","../../src/TaoBaoNet.ts","../../module/views/Module.ts","../../module/views/Scene.ts","../../module/views/Panel.ts","../../src/Tools.ts","../../src/UI.ts","../../src/panels/HelpPanel.ts","../../src/panels/NoTimePanel.ts","../../src/panels/RankNoPrizePanel.ts","../../module/views/Item.ts","../../src/panels/RankPanel.ts","../../src/panels/RankPrizePanel.ts","../../src/panels/RulePanel.ts","../../src/lotties/LoadingEffect.ts","../../src/scenes/Jump3D/MT.ts","../../src/panels/OverNoPrizePanel.ts","../../src/panels/OverPrizePanel.ts","../../src/panels/RevivePanel.ts","../../module/tools/GTool.ts","../../src/scenes/Jump3D/Box.ts","../../src/scenes/Jump3D/Particle.ts","../../src/scenes/Jump3D/Player.ts","../../src/scenes/Jump3D/Jump3d.ts","../../src/scenes/Jump3D/MusicBtn.ts","../../src/scenes/Jump3D/PlayScene.ts","../../src/scenes/LoadingScene.ts","../../src/scenes/IndexScene.ts","../../src/ResJson.ts","../../src/SkinJson.ts","../../src/Main.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["RES","resData","skinData","textureHash","videoEntityHash","soundHash","groupsCompleteHash","groupsPromiseHash","singleResPromiseHash","loadGroup","name","Promise","resolve","arr","group","getGroupByName","atlas","keys","concat","split","filter","k","substr","getGroupResByName","length","p","reject","callback","count","countAll","mark","i","getResAsync","res","str","this","loadResList","s","comFun","thisObj","type","substring","lastIndexOf","cached","FYGE","TextureCache","call","r","returnSingleResPromise","groupName","hasRes","json","then","src","resPath","GlobalLoader","loadImage","image","Texture","from","addToCache","SvgaParser","loadSvga","v","err","jsonData","data","t","createTextureSheet","BaseTexture","key","replace","getRes","groups","indexOf","getSkinDataByName","skinName","skinNode","children","child","gson","getDisplayByData","dis","Container","Button","props","tUp","tDown","tDisable","TextField","Sprite","source","Shape","beginFill","string2hex","fillColor","drawRect","width","height","endFill","alpha","position","set","x","y","loadConfig","path","getResByUrl","loadAllGroup","forEach","g","push","all","loadAllGroupForProgress","index","async","GDispatcher","dispatchEvent","loadSkinConfig","skinJson","initSkinDisplay","con","skin","root","addChild","id","destroyGroup","removedBase","baseTexture","destroy","_waiting","_parent","inited","showWaiting","msg","waiting","Waiting","layers","topLayer","offX","stageWidth","offY","stageHeight","stageOffsetX","stageOffsetY","bg","Graphics","addChildAt","initWaiting","show","hideWaiting","removeChild","constructor","super","rectBgTexture","rectBg","rotTexture","rot","anchorX","anchorY","addEventListener","Event","ENTER_FRAME","rotation","textWidth","textAlign","TEXT_ALIGN","CENTER","size","text","_toast","startY","endY","showToast","Toast","toastLayer","h","initToast","Tween","removeTweens","get","to","Ease","quartOut","wait","PADDING","mouseChildren","mouseEnable","toastBgTexture","verticalAlign","VERTICAL_ALIGN","MIDDLE","textHeight","PanelCtrl","_bg","stacks","static","instance","_instance","init","parent","hitTestByPixel","visible","closeAll","e","hidePanel","cls","panel","add","onLoaded","updateView","start","showAni","onLoadError","removeEventListener","onPanelHide","remove","bgAni","showPanelAni","cubicOut","_current","target","currentPanel","closeCurrent","SceneCtrl","_currentScene","change","scene","preScene","currentScene","Layers","_bottomLayer","_sceneLayer","_popupLayer","_toastLayer","_topLayer","_shareLayer","stage","shareLayer","sceneLayer","popupLayer","bottomLayer","viewRect","showPanel","changeScene","obj","isRecursive","destroyAllCtrls","destroyed","G_EVENT","TbNetName","Module","preLoadRes","initUi","groupNames","initEvents","removeEvents","enableMouseEvt","enable","btnDelay","delay","setTimeout","Scene","updateScene","Panel","isShowing","oriY","closeBtns","btn","MouseEvent","CLICK","dataRecord","sendTbNet","netName","parameter","hideMsg","my","netInfo","url","response","fetch","fetchAsync","success","message","console","log","fun","d","LogTbEnum","TBPRIZE_TYPE","goTask","openTask","Tools","getAppData","globalData","openId","rule","startTime","endTime","activityStatus","openPrizeStatus","totalScore","showImage","getActivityBaseInfoById","activityBaseInfo","score","gameTimes","isFirstEnterGame","getGameInfo","gameInfo","getVipInfo","isVip","tbMy","osType","cloud","getApp","file","getTempFileURL","fileId","downloadFile","apFilePath","getFileSystemManager","readFile","filePath","fail","align","LEFT","RIGHT","percent","sleep","time","Lottie","BitmapText","UI","enImg","func","that","tImg","disImg","undefined","imageName","sprite","texture","fromUrl","ctn","txt","color","bold","radius","shape","drawRoundedRect","lottie","graphics","scaleX","scaleY","gap","bitTxt","scale","HelpPanel","vip","queryVip","Sp","doHelp","inviteId","addData","code","openMember","NoTimePanel","IndexScene","RankNoPrizePanel","rank","rankTxt","Txt","Item","updateData","initData","resetData","ScrollList","RankPanel","timeLabel","mRank","mNick","mScore","rankList","prizeList","endDate","Date","getMonth","getDate","getHours","RankItem","PrizeItem","getRankList","userNick","list","maxDistance","prizeData","getPrizeList","nick","icon","prizeImg","nameLabel","anchorTexture","rankArr","RankPrizePanel","clickPrizeBtn","img","prize","getUserAddress","prizeId","_id","TEXT_lINETYPE","ScrollPage","RulePanel","ruleTex","scroll","lineType","MULTI","view","LoadingEffect","fr","ip","op","w","nm","ind","ty","refId","ks","o","a","markers","tm","cm","dr","loadGltf","Scene3D","Vector2","glbCache","getGlbFromCache","newScene","copy","M_loadGLB","error","BoxType","typeArr","Cinema","Cube1","Cube2","ChocolateShop","TennisCourt","TennisBarrel","FlowerShop","FILAShop","Logo1","Logo2","ir","GlobalConfig","playerConfig","tbsrc","boxConfig","ow","oz","dx","dz","testFun","getBoxConfig","config","getEnv","TestFun","rect","c","pc","sub","Math","abs","circle","distanceTo","probabilityConfig","probability","sort","b","pTotal","OverNoPrizePanel","again","startData","startGame","LoadingScene","OverPrizePanel","prizeInfo","receiveEnamePrize","drawStatus","RevivePanel","doRevive","revive","continueGame","gameId","isContinue","once","submit","GTool","getStorageSync","localStorage","getItem","value","setStorageSync","setItem","cacheKey","year1","readCache","month1","day1","date","year2","getFullYear","toString","month2","day2","int","writeCache","n","floor","random","splice","num","end","number","temp","shuffled","slice","min","arrCopy","outArr","rand","ele","timeStamp","hours","minutes","seconds","realLength","len","charCode","charCodeAt","limit","tailStr","out","BaseMaterial","CircleGeometry","Mesh3D","Object3D","PlaneGeometry","Box","mesh","point","rotationX","z","useShadow","castShadow","receiveShadow","outArea","px","pz","tx","tz","dv","pd","fallAxis","verFall","fallDir","particleGeo","particleMatGreen","particleMatWhite","Particle","ParticleEmitter","particles","cacheParticles","startTween","startLanding","createParticle","randomT","material","stop","startPush","loop","rang","shift","Direction","RingGeometry","playY","ringGeo","Player","particleEmitter","getPlayerConfig","camera","lookAt","bounceOut","quadOut","quadIn","left","doubleEffect","ring","oad","fd","fa","box","rotationY","rotationZ","AmbientLight","cameraPos","Vector3","Jump3d","player","cacheBox","curBox","nextBox","canMove","direction","right","outBox","pushParticle","pushObj","bonusScore","specialBonusTween","initScene","addEvents","reset","setView","viewX","viewY","viewWidth","viewHeight","moveCamera","createBox","last","now","l","getBoxType","onUp","jump","outAreaNext","die","GameEvent","AddScore","cx","cz","addRect","onDown","removeTweenSelf","onChange","MOUSE_UP","MOUSE_DOWN","onUpdate","camX","camZ","sineInOut","getBackOut","fall","GameOver","MusicBtn","on","off","status","btns","changeTexture","openMusic","isOn","onClick","changeMusicStatus","PlayScene","scoreTxt","musicButton","jump3d","addScoreLabel","_score","showGuide","addScore","gameOver","txtObj","getNumTextures","stagePos","_y","beMember","submitGame","reviveGame","isGetPrize","getScore","maxScore","avatar","JSON","stringify","ani","play","PROGRESS","progressEvent","loadPromise","pro","prizeBtn","taskBtn","ruleBtn","rankBtn","startBtn","paper","progress","IndexProgress","clickBtn","updateIndex","getActivityBaseInfo","getMyRankPrize","showAwardDialog","judgeRule","newUser","navigateTo","_value","miracleTxt","fill","mask","ProgressLabel","label","ResJson","ox","oy","sw","sh","ro","SkinJson","EventDispatcher","RENDERER_TYPE","requestID","_pause","canvas","sysInfo","window","initedByCanvas","getSystemInfoSync","Stage","windowWidth","document","body","clientWidth","windowHeight","clientHeight","WEBGL","pixelRatio","devicePixelRatio","antialias","INIT_STAGE","onAddToStage","flush","requestAnimationFrame","getElementById","style","display","getGlobalData","baseSuccess","checkPermission","run","_lastTime","ON_SHOW","pause","ON_HIDE","addGlobalEvent","dispatchGlobalEvent","removeGlobalEvent","removeAllTweens","cancelAnimationFrame","removeChildren","removeAllEventListener"],"mappings":"8OAsEM,IAAWA,GAAjB,SAAiBA,GACb,IAAIC,EAmZAC,EA3YAC,EAEA,GAIAC,EAEA,GAIAC,EAAY,GAIZC,EAEA,GAIAC,EAEA,GAIAC,EAEA,GAwBJ,SAAgBC,EAAUC,GAEtB,GAAIJ,EAAmBI,GACnB,OAAO,IAAIC,SAASC,IAChBA,OAIR,GAAIL,EAAkBG,GAClB,OAAOH,EAAkBG,GAI7B,IAAIG,EA0PR,SAA2BH,GACvB,IAAII,EAAkBC,EAAeL,GACrC,IAAKI,EAAO,OAAO,KAEnB,GAAIA,EAAME,MAAO,CAEb,IAAIH,EAAM,CAACH,EAAO,SAOlB,OALII,EAAMG,OACNJ,EAAMA,EAAIK,OAAOJ,EAAMG,KAAKE,MAAM,KAAKC,QAAQC,GACpB,QAAhBA,EAAEC,QAAQ,OAGlBT,EAEN,OAAIC,EAAMG,KACJH,EAAMG,KAAKE,MAAM,KAEjB,KA5QDI,CAAkBb,GAE5B,IAAKG,IAAQA,EAAIW,OAEb,OADAlB,EAAmBI,IAAQ,EACpB,IAAIC,SAASC,IAChBA,OAIR,IAAIa,EAAmB,IAAId,SAAQ,CAACC,EAASc,MA4RjD,SAAqBC,EAAwCd,GACzD,IAAIe,EAAQ,EACRC,EAAWhB,EAAIW,OACdK,GAAUF,GAAS,GACxB,IAAIG,GAAO,EACX,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAUE,IAAK,CAE/BC,EADcnB,EAAIkB,IACG,CAACE,EAAKC,KAElBD,IAAKH,GAAO,KACXF,GAASC,GAAUF,EAASG,KACnCK,OAtSHC,EAAaC,WAEF9B,EAAkBG,GACrB2B,GACA/B,EAAmBI,IAAQ,EAC3BE,KAEAc,MAELb,MAG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ACA,OACA,IAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,OACA,IAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,OACA,IAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,OACA,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,EACA,EACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,IACA,IACA,OAIHgZ,GAAM,EACNC,GAAM,KAEP,CACCG,IAAO,EACPC,GAAM,EACNF,GAAM,MACNhO,OAAU,EACVoO,GAAM,CACLC,EAAK,CACJxZ,EAAK,GAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,EAAK,EACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,EACA,EACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,MACA,MACA,OAIHgZ,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,MACNhO,OAAU,EACVmO,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,KAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,GAAM,EACN9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,EACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,YACL9B,EAAK,EACH,OACA,IACD,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,GACA,KACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,QACA,QACA,OAIHgZ,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,MACNhO,OAAU,EACVmO,MAAS,u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ACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,YACL9B,EAAK,CACJ,QACA,QACA,SAMLgY,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,OACNhO,OAAU,EACVmO,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,QAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,EAAK,EACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,GACA,GACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,QACA,QACA,OAIHgZ,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,MACNG,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,KAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,MACA,IACA,IAGFyZ,EAAK,CACJzZ,EAAK,CACJ,KACA,GACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,IACA,IACA,OAIHgZ,GAAM,EACNC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,SACNG,MAAS,uCACTC,GAAM,CACLC,EAAK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YkG,oBAAoB5M,EAAMoR,EAAKvP,GAI5C0F,UAECiD,GAAMykB,kBAIW,MAAjB/sB,KAAKwa,SAAmBjb,KAAKsrB,OAAOmC,qBAAqBztB,KAAKorB,WAC7DI,OAAOiC,qBAAqBztB,KAAKorB,WhCrEhC9kB,EAAOonB,iBAEHpnB,EAAO+D,QAAQ/D,EAAO+D,OAAOjD,YAAYd,GgCyE/C8G,IAGApN,KAAK0M,MAAM5G,UAGXb,GAAY0oB"}
\ No newline at end of file
var t;!function(t){let e,s,i={},a={},n={},r={},o={},h={};function c(t){if(r[t])return new Promise((t=>{t()}));if(o[t])return o[t];let e=function(t){var e=g(t);if(!e)return null;if(e.atlas){var s=[t+".json"];return e.keys&&(s=s.concat(e.keys.split(",").filter((t=>".png"!=t.substr(-4))))),s}return e.keys?e.keys.split(","):null}(t);if(!e||!e.length)return r[t]=!0,new Promise((t=>{t()}));let s=new Promise(((s,i)=>{!function(t,e){let s=0,i=e.length;i||t(!0);let a=!0;for(var n=0;n<i;n++){l(e[n],((e,n)=>{e||(a=!1),++s==i&&t(a)}),this)}}((e=>{delete o[t],e?(r[t]=!0,s()):i()}),e)}));return o[t]=s,s}function l(e,s,n){var r=e.substring(e.lastIndexOf(".")+1,e.length);if("png"==r||"jpg"==r){let a=i[e]||FYGE.TextureCache[e];if(a)return s&&s.call(n,a,e),new Promise((t=>{t(a)}));if(h[e])return u(e,s,n);if((y=p(e))&&"jpg"!=r){var o=g(y);if(o&&o.atlas){var c=y+".json";return h[c]?h[c].then((t=>{let a=i[e]||FYGE.TextureCache[e];return s&&s.call(n,a,e),a}),(()=>(s&&s.call(n,null,e),null))):l(c).then((()=>{let t=i[e]||FYGE.TextureCache[e];return s&&s.call(n,t,e),t}),(()=>(s&&s.call(n,null,e),null)))}}var d=y?t.resPath+y+"/"+e:e,m=new Promise(((t,a)=>{FYGE.GlobalLoader.loadImage(((r,o)=>{if(delete h[e],r){let a=FYGE.Texture.from(o);i[e]=a,FYGE.Texture.addToCache(a,e),s&&s.call(n,a,e),t(a)}else s&&s.call(n,null,e),a()}),d)}));return h[e]=m,m}if("svga"==r){if(a[e])return s&&s.call(n,a[e],e),new Promise((t=>{t(a[e])}));if(h[e])return u(e,s,n);d=(y=p(e))?t.resPath+y+"/"+e:e,m=new Promise(((t,i)=>{SvgaParser.loadSvga(d,(i=>{delete h[e],a[e]=i,s&&s.call(n,i,e),t(i)}),(t=>{delete h[e],s&&s.call(n,null,e),i(t)}))}));return h[e]=m,m}if("json"==r){if(h[e])return u(e,s,n);var y;d=(y=p(e))?t.resPath+y+"/"+e:e,m=new Promise(((t,a)=>{var r=g(y).atlas;FYGE.GlobalLoader.loadImage(((o,c)=>{if(o){var l=FYGE.createTextureSheet(new FYGE.BaseTexture(c),r);for(let t in l)i[t]=l[t];s&&s.call(n,l,e),t(l)}else delete h[e],s&&s.call(n,null,e),a()}),d.replace("json","png"))}));return h[e]=m,m}}function d(t){if(!t)return null;var e=t.substring(t.lastIndexOf(".")+1,t.length);return"png"==e||"jpg"==e?i[t]||FYGE.TextureCache[t]||null:"svga"==e?a[t]||null:"mp3"==e?n[t]||null:void 0}function p(t){for(var s=0;s<e.groups.length;s++){var i=e.groups[s],a=i.keys;if(a&&a.split(",").indexOf(t)>-1)return i.name;if(i.atlas&&i.name+".json"==t)return i.name}return null}function g(t){for(var s,i=e.groups,a=0;a<i.length;a++)if(i[a].name===t){s=i[a];break}return s}function u(t,e,s){return h[t].then((i=>{e&&e.call(s,i,t)}),(()=>{e&&e.call(s,null,t)})),h[t]}function m(t,e=s){if(!e||!e.children||!e.children.length)return null;for(var i=0;i<e.children.length;i++){var a=e.children[i];if(a.name==t&&("container"==a.type||"item"==a.type))return a;var n=m(t,a);if(n)return n}return null}function y(t){var e;switch(t.type){case"container":e=new FYGE.Container;break;case"button":e=new FYGE.Button(d(t.props.tUp),t.props.tDown?d(t.props.tDown):null,t.props.tDisable?d(t.props.tDisable):null);break;case"text":e=new FYGE.TextField;for(let s in t.props)e[s]=t.props[s];break;case"sprite":e=new FYGE.Sprite(d(t.props.source));break;case"rect":(e=new FYGE.Shape).beginFill(FYGE.string2hex(t.props.fillColor)),e.drawRect(0,0,t.props.width,t.props.height),e.endFill()}return e.name=t.name,e.alpha=t.alpha||1,e.position.set(t.x,t.y),e}t.loadConfig=function(s){e=s,t.resPath=s.path},t.loadGroup=c,t.getResAsync=l,t.getResByUrl=function(){},t.getRes=d,t.loadAllGroup=function(){var t=e.groups,s=[];return t.forEach((t=>{s.push(c(t.name))})),Promise.all(s)},t.loadAllGroupForProgress=function(){return new Promise((t=>{var s=e.groups;let i=0;s.forEach((async e=>{await c(e.name),i++,ds.dispatchEvent("loadPer",i/(s.length-1)),i==s.length-1&&t(0)}))}))},t.loadSkinConfig=function(t){s=t},t.initSkinDisplay=function t(e,s,i){var a="string"==typeof s?m(s):s;if(a.children&&a.children.length)for(var n=0;n<a.children.length;n++){var r=a.children[n];if("item"!=r.type){var o=e.addChild(y(r));i&&r.id&&(i[r.id]=o),"container"==r.type&&t(o,r,i)}}},t.getSkinDataByName=m,t.destroyGroup=function(t){var e=g(t);if(e){var s=[];e.keys&&(s=e.keys.split(","));for(var a=[],n=0;n<s.length;n++){var r=d(s[n]);r&&(-1==a.indexOf(r.baseTexture)&&(r.baseTexture.destroy(),a.push(r.baseTexture)),r.destroy()),delete i[s[n]]}}}}(t||(t={}));let e,s,i=!1;const a=t=>{(()=>{if(!i){i=!0;const o=new r;s=E.topLayer,e=o;var t=(E.stageWidth-160)/2,a=(E.stageHeight-e.height)/2;e.x=E.stageOffsetX-s.x+t,e.y=E.stageOffsetY-s.y+a;var n=(new FYGE.Graphics).beginFill(0).drawRect(-t,-a,E.stageWidth,E.stageHeight).endFill();n.alpha=0,e.addChildAt(n,0)}})(),e.show(t),s.addChild(e)},n=()=>{s.removeChild(e)};class r extends FYGE.Container{msg;constructor(){super();var e=t.getRes("waitingBg.png"),s=new FYGE.Sprite(e);this.addChild(s);var i=t.getRes("waitingRot.png");let a=new FYGE.Sprite(i);a.x=(e.width-i.width)/2,a.y=47,a.anchorX=i.width/2,a.anchorY=i.height/2,this.addChild(a);let n=0;a.addEventListener(FYGE.Event.ENTER_FRAME,(()=>{n++,n%30==0&&(a.rotation+=45)}),this),this.msg=new FYGE.TextField,this.msg.y=125,this.msg.textWidth=e.width,this.msg.textAlign=FYGE.TEXT_ALIGN.CENTER,this.msg.size=26,this.msg.fillColor="#ffffff",this.addChild(this.msg)}show(t="加载中"){this.msg.text=t}destroy(){super.destroy(),this.msg=null}}let o,h,c,l,d=!1;const p=t=>{(()=>{if(!d){d=!0,o=new g,h=E.toastLayer,o.alpha=0,o.x=E.stageOffsetX-h.x+(E.stageWidth-o.width)/2;var t=o.height,e=E.stageOffsetY-h.y;c=e-t,l=e+(E.stageHeight-t)/2}})(),o.show(t),h.addChild(o),FYGE.Tween.removeTweens(o),FYGE.Tween.get(o).set({y:c,alpha:1}).to({y:l},500,FYGE.Ease.quartOut).wait(800).to({alpha:0},300).call((()=>{h.removeChild(o)}))};class g extends FYGE.Container{msg;bg;PADDING=40;constructor(){super(),this.mouseChildren=!1,this.mouseEnable=!1;var e=t.getRes("toastBg.png");this.bg=new FYGE.Sprite(e),this.addChild(this.bg),this.msg=new FYGE.TextField,this.msg.size=28,this.msg.fillColor="0xffffff",this.msg.text="",this.msg.verticalAlign=FYGE.VERTICAL_ALIGN.MIDDLE,this.msg.textHeight=e.height,this.msg.textAlign=FYGE.TEXT_ALIGN.CENTER,this.addChild(this.msg)}show(t){this.msg.text=t,this.msg.x=(this.bg.width-this.msg.textWidth)/2}destroy(){FYGE.Tween.removeTweens(this),super.destroy(),this.msg=null,this.bg=null}}class u{_parent;_bg;stacks=[];static _instance;static get instance(){return u._instance||(u._instance=new u)}init(t){this._parent=t;let e=new FYGE.Shape;e.beginFill(0),e.drawRect(E.stageOffsetX-t.x,E.stageOffsetY-t.y,E.stageWidth,E.stageHeight),e.endFill(),e.hitTestByPixel=!1,e.visible=!1,this._parent.addChild(e),this._bg=e}closeAll(){this.stacks.forEach((t=>t.hidePanel()))}show(t,e){a();const s=new t(e);return this.add(s),this.stacks.push(s),s.onLoaded=()=>{s.y=-(1624-E.stageHeight>>1),n(),this.updateView(!1),s.start(e),s.visible&&s.showAni()},s.onLoadError=()=>{n(),p("资源加载失败"),s.removeEventListener("onDestroy",this.onPanelHide,this),this.remove(s)},s}bgAni;updateView(t=!0){this.stacks.length?(this._parent.visible=!0,"hide"==this.bgAni&&(this.bgAni="show",FYGE.Tween.removeTweens(this._bg),this._bg.alpha=.7),!1===this._bg.visible&&(this._bg.visible=!0,this._bg.alpha=0,FYGE.Tween.get(this._bg).to({alpha:.7},200,FYGE.Ease.cubicOut))):this._bg.visible&&(this.bgAni="hide",FYGE.Tween.removeTweens(this._bg),FYGE.Tween.get(this._bg).to({alpha:0},200,FYGE.Ease.cubicOut).call((()=>{this._bg.visible=!1,this._current=null,this._parent.visible=!1})));for(let e=0;e<this.stacks.length;e++)e<this.stacks.length-1?this.stacks[e].visible=!1:(this.stacks[e].visible=!0,t&&this.stacks[e].showAni(),this._current=this.stacks[e])}add(t){this._parent.addChild(t),t.addEventListener("onDestroy",this.onPanelHide,this)}remove(t){this._parent.removeChild(t),this.stacks=this.stacks.filter((e=>e!=t))}onPanelHide(t){const e=t.target;e.removeEventListener("onDestroy",this.onPanelHide,this),this.remove(e),this.updateView()}_current;get currentPanel(){return this._current}closeCurrent(){this._current&&this._current.hidePanel()}destroy(){u._instance=null,this.stacks=null,this._current=null,this._parent=null,FYGE.Tween.removeTweens(this._bg),this._bg=null}}class m{_parent;_currentScene;static _instance;static get instance(){return m._instance||(m._instance=new m)}init(t){this._parent=t}change(t,e){let s=new t(e);s.visible=!1,a();let i=this._currentScene;s.onLoaded=()=>{n(),s.showAni((()=>{i&&i.destroy()})),s.visible=!0,s.start(e)},s.onLoadError=()=>{n(),p("资源加载失败"),this._currentScene=i||null,this._parent.removeChild(s)},this._currentScene=s,this._parent.addChild(s)}get currentScene(){return this._currentScene}destroy(){m._instance=null,this._currentScene=null,this._parent=null}}class y extends FYGE.Container{_bottomLayer;_sceneLayer;_popupLayer;_toastLayer;_topLayer;_shareLayer;init(t){t.addChild(this);for(var e=["_bottomLayer","_sceneLayer","_popupLayer","_toastLayer","_topLayer","_shareLayer"],s=0;s<e.length;s++)this[e[s]]=new FYGE.Container,this.addChild(this[e[s]]);this.shareLayer.y=-this.stageOffsetY,m.instance.init(this.sceneLayer),u.instance.init(this.popupLayer)}get bottomLayer(){return this._bottomLayer}get sceneLayer(){return this._sceneLayer}get popupLayer(){return this._popupLayer}get toastLayer(){return this._toastLayer}get topLayer(){return this._topLayer}get shareLayer(){return this._shareLayer}get stageHeight(){return this.stage?this.stage.viewRect.height:0}get stageWidth(){return this.stage?this.stage.viewRect.width:0}get stageOffsetX(){return this.stage?this.stage.viewRect.x:0}get stageOffsetY(){return this.stage?this.stage.viewRect.y:0}}const E=new y;const f=(t,e)=>u.instance.show(t,e),w=(t,e)=>{m.instance.change(t,e)};function b(t,e=!0){t&&(FYGE.Tween.removeTweens(t),e&&t.children&&t.children.length&&t.children.forEach((t=>{b(t)})))}function v(){d&&o&&!o.destroyed&&(o.destroy(),o=null,h=null,d=!1),i&&e&&!e.destroyed&&(e.destroy(),e=null,s=null,i=!1),u.instance.destroy(),m.instance.destroy()}var x,C;!function(t){t.ON_SHOW="onShow",t.ON_HIDE="onHide",t.UPDATE_TASK="onUpdateTask",t.UPDATE_SCENE="onUpdateScene"}(x||(x={}));class k extends FYGE.Container{data;constructor(t){super(),this.data=t,this.init()}init(){this.preLoadRes().then((()=>{this.skinName&&t.initSkinDisplay(this,this.skinName,this),this.initUi(),this.onLoaded&&this.onLoaded()}),(()=>{this.onLoadError&&this.onLoadError()}))}preLoadRes(){return new Promise(((e,s)=>{if(this.groupNames&&this.groupNames.length){for(var i=[],a=0;a<this.groupNames.length;a++)i.push(t.loadGroup(this.groupNames[a]));Promise.all(i).then(e,s)}else e()}))}initUi(){}onLoaded;onLoadError;get groupNames(){return null}get skinName(){return null}start(t){this.initEvents()}initEvents(){}removeEvents(){}enableMouseEvt(t){this.mouseEnable=t,this.mouseChildren=t}btnDelay(t,e=2e3){t.mouseEnable=!1,t.mouseChildren=!1,setTimeout((()=>{t.mouseEnable=!0,t.mouseChildren=!0}),e)}destroy(){b(this),this.removeEvents(),this.dispatchEvent("onDestroy"),super.destroy()}}class F extends k{showAni(t){t()}updateScene(){}}class B extends k{isShowing;showAni(){if(this.isShowing)return;this.isShowing=!0;let t=this.y||0;this.y=-200,FYGE.Tween.get(this).to({y:t},500,FYGE.Ease.quartOut).call((()=>{this.isShowing=!1}))}initEvents(){this.closeBtns.forEach((t=>{t&&t.addEventListener(FYGE.MouseEvent.CLICK,this.hidePanel,this)}))}removeEvents(){this.closeBtns.forEach((t=>{t&&t.removeEventListener(FYGE.MouseEvent.CLICK,this.hidePanel,this)}))}get closeBtns(){return[this.closeBtn]}hidePanel(){this.destroy()}}!function(t){t.addData="surge.addStat",t.getActivityBaseInfoById="feileJump.getActivityBaseInfoById",t.getGameInfo="feileJump.getGameInfo",t.startGame="feileJump.startGame",t.doHelp="feileJump.doHelp",t.getVipInfo="feileJump.getVipInfo",t.submitGame="feileJump.submitGame",t.continueGame="feileJump.continueGame",t.getRankList="feileJump.getRankList",t.getPrizeList="feileJump.getPrizeList",t.getRankRewards="feileJump.getRankRewards",t.getMyRankPrize="feileJump.getMyRankPrize",t.receiveEnamePrize="feileJump.receiveEnamePrize",t.openMember="mine.openMember",t.openTask="mine.openTask",t.authorize="mine.authorize",t.favorShop="mine.favorShop",t.getUserAddress="mine.getUserAddress",t.getAdoptName="mine.getAdoptName",t.getAppData="mine.getAppData",t.navigateToOutside="mine.navigateToOutside",t.navigateTo="mine.navigateTo",t.navigateBack="mine.navigateBack",t.showSharePanel="mine.showSharePanel",t.openDetail="mine.openDetail",t.reportAnalytics="mine.reportAnalytics",t.openMusic="mine.openMusic"}(C||(C={}));let T={};function G(t,e,s,i=!1){return new Promise(((a,n)=>{if(!my){const n=t.split(".");return void async function(t){let e=await fetch(t);return await e.json()}(`../../mock/miniTb/${n[0]}/${n[1]}.json`).then((n=>{T[t]=n,i||n.success||p(n.message||"网络异常"),s&&s(n.success,n),a(n),console.log(`\n%c[ mock ]\nNAME : ${t} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`,""+(n.success?"color:green":"color:red"),n.success,e,""+(n.success?"color:green":"color:red"),n)}),(()=>{a({success:!1,data:null})}))}let r=function(n){ds.removeEventListener(t,r);var o=n.data;T[t]=o,i||o.success||p(o.message||"网络超时"),s&&s(o.success,o),a(o),console.log(`\n%c[ request ]\nNAME : ${t} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`,""+(o.success?"color:green":"color:red"),o.success,e,""+(o.success?"color:green":"color:red"),o)};ds.addEventListener(t,r),ds.dispatchEvent({type:"onMessage"},{netName:t,parameter:e})}))}var L,S;!function(t){t.AD="ad",t.TASK_ICON="taskIcon",t.FOLLOW_SHOP="followShop",t.INVITE_FRIEND="inviteFriend",t.BROWSE_PRODUCT="browseProduct",t.COLLECTION_PRODUCT="collectionProduct",t.BUY_PRODUCT="buyProduct",t.IMPROVE_INFORMATION="improveInformation",t.SECRET_ORDER="secretOrder",t.SIGN_ICON="signIcon",t.BAG_ICON="bagIcon"}(L||(L={})),function(t){t[t.ENAME=1]="ENAME",t[t.CREDITS=2]="CREDITS",t[t.OBJECT=3]="OBJECT",t[t.THANKS=5]="THANKS"}(S||(S={}));var I=FYGE.TEXT_ALIGN,P=FYGE.Tween;function Y(){G(C.openTask)}class R{static cacheKey="cow_xiaobujian";static globalData;static async getGlobalData(){const{data:t}=await G(C.getAppData);R.globalData=t}static indexMask={};static activityBaseInfo={openId:"",rule:"",startTime:0,endTime:0,activityStatus:1,openPrizeStatus:1,totalScore:0,showImage:"https://yun.duiba.com.cn/aurora/assets/a2f9da458cc425df5b4428a1fe902606ea5dc4fd.jpg"};static async getActivityBaseInfo(){const{success:t,data:e}=await G(C.getActivityBaseInfoById);return e&&(R.activityBaseInfo=e),t}static gameInfo={score:0,gameTimes:0,isFirstEnterGame:!1};static async getGameInfo(){const{success:t,data:e}=await G(C.getGameInfo);return e&&(R.gameInfo=e),t}static async queryVip(){const{success:t,data:e}=await G(C.getVipInfo);return t&&e.isVip}static async checkPermission(){var t=my;if(!t)return;if("ios"==FYGE.osType)return;const{cloud:e}=getApp();var s="cloud://8105858AA48FED3F15CB94186ED0D5E7//feileJump.doHelp.json";s=(await e.file.getTempFileURL({fileId:[s]}))[0].url.replace("-internal",""),t.downloadFile({url:s,success(e){var s=e.apFilePath;t.getFileSystemManager().readFile({filePath:s,success:function(t){},fail:function(t){}})},fail(t){}})}static changeTextAlign(t,e,s){e!=I.LEFT&&(t.textAlign=e,s=s||t.textWidth,e==I.CENTER&&(t.x-=(s-t.textWidth)/2),e==I.RIGHT&&(t.x-=s-t.textWidth),t.textWidth=s)}static btnDelay(t,e=2e3){t.mouseEnable=!1,t.mouseChildren=!1,setTimeout((()=>{t.mouseEnable=!0,t.mouseChildren=!0}),e)}static getNumTextures(e){const s={};for(let i=0;i<=9;i++)s[i]=t.getRes(e+i+".png");return s}static getAdjustBottomHeight(t){return E.stageHeight-E.stageHeight*t+E.stageOffsetY}static getAdjustTopHeight(t){return E.stageHeight*t+E.stageOffsetY}}async function A(t){return new Promise((e=>{P.get(FYGE).wait(t).call(e)}))}var D=FYGE.Container,_=FYGE.Button,z=FYGE.MouseEvent,N=FYGE.Sprite,O=FYGE.TEXT_ALIGN,M=FYGE.TextField,U=FYGE.Shape,j=FYGE.Lottie,H=FYGE.Texture,K=FYGE.Graphics,X=FYGE.BitmapText;class q{static Btn(e,s,i,a,n=0,r=0,o,h,c=s,l=s){const d=new _(t.getRes(s),t.getRes(c),t.getRes(l));return d.addEventListener(z.CLICK,i,a),d.position.set(n,r),void 0!==o&&(d.anchorX=o),void 0!==h&&(d.anchorY=h),e&&e.addChild(d),d}static Sp(e,s,i=0,a=0){let n;if(s instanceof H)n=new N(s);else{const e=t.getRes(s);n=e?new N(e):N.fromUrl(s)}return n.position.set(i,a),e&&e.addChild(n),n}static Ctn(t,e=0,s=0){const i=new D;return i.position.set(e,s),i&&t.addChild(i),i}static Txt(t,e,s,i="#000000",a=O.LEFT,n=0,r=0,o=0,h=!1){const c=new M;return c.fillColor=i,c.size=s,n&&(c.textWidth=n),c.textAlign=a,c.position.set(r,o),c.text=e,c.bold=h,t&&t.addChild(c),c}static Rect(t,e,s,i=16711680,a=0,n=0,r=0,o=1){const h=new U;return h.beginFill(i),a?h.drawRoundedRect(0,0,e,s,a):h.drawRect(0,0,e,s),h.endFill(),h.alpha=o,h.position.set(n,r),t&&t.addChild(h),h}static Lottie(t,e,s=0,i=0){const a=new j(e);return a.x=s,a.y=i,t&&t.addChild(a),a}static Shape(t,e=0,s=0){const i=new U;return i.position.set(e,s),t&&t.addChild(i),i}static Graphics(t,e=0,s=0){const i=new K;return i.position.set(e,s),t&&t.addChild(i),i}static BitTxt(t,e,s="",i=0,a=0,n=1,r=1,o=0){const h=new X(e);return h.position.set(i,a),h.scale.set(n,r),h.text=s,h.gap=o,t&&t.addChild(h),h}}var W=FYGE.Button,V=FYGE.MouseEvent;class J extends B{get groupNames(){return["HelpPanel"]}vip;async initUi(){super.start(),this.vip=await R.queryVip(),q.Sp(this,"helpBg.png",84,435),this.addChild(new W(t.getRes("helpBtn.png"))).addEventListener(V.CLICK,this.doHelp,this).position.set(167,789),this.addChild(new W(t.getRes("comCloseBtn.png"))).addEventListener(V.CLICK,(()=>this.hidePanel())).position.set(598,369)}start(t){}hidePanel(){super.hidePanel(),R.globalData.inviteId="",this.data.call()}async doHelp(t){if(this.btnDelay(t.target),G(C.addData,{type:4},null,!0),R.globalData.inviteId==R.globalData.openId)return p("自己不能给自己助力"),void this.hidePanel();this.vip?this.hidePanel():await R.queryVip()?G(C.doHelp,{inviteId:R.globalData.inviteId},((t,e)=>{if(!t)return"430009"!=e.code&&p(e.message),void this.hidePanel();p("接受邀请成功"),this.hidePanel()}),!0):(p("请先加入会员"),setTimeout((()=>{G(C.openMember)}),1500))}}var $=FYGE.Button,Z=FYGE.MouseEvent;class Q extends B{get groupNames(){return["NoTimePanel"]}async initUi(){q.Sp(this,"noTimeBg.png",84,435),this.addChild(new $(t.getRes("noTimeBtn.png"))).addEventListener(Z.CLICK,(()=>{this.hidePanel(),Y()}),this).position.set(167,789),this.addChild(new $(t.getRes("comCloseBtn.png"))).addEventListener(Z.CLICK,this.hidePanel,this).position.set(598,369)}hidePanel(){super.hidePanel(),this.data&&"index"==this.data.from||w(ts)}}var tt=FYGE.Button,et=FYGE.MouseEvent;class st extends B{get groupNames(){return["RankPrizePanel"]}async initUi(){this.addChild(new FYGE.Sprite(t.getRes("rankNoPrizeBg.png"))).position.set(84,434),this.addChild(new tt(t.getRes("rankNoPrizeBtn.png"))).addEventListener(et.CLICK,this.hidePanel,this).position.set(166,789);const{rank:e,score:s}=this.data.rank,i=0==s?"-":e;q.Txt(this,i+"",60,"#704a5b",FYGE.TEXT_ALIGN.CENTER,750,0,623),this.addChild(new tt(t.getRes("comCloseBtn.png"))).addEventListener(et.CLICK,this.hidePanel,this).position.set(598,368)}}class it extends FYGE.Container{get skinName(){return null}constructor(e){super(),this.skinName&&t.initSkinDisplay(this,this.skinName,this),this.initUi(e)}initUi(t){}updateData(t){}initData(t,e){this.id=t,this.data=e,this.resetData()}id;data;resetData(){}}var at=FYGE.Button,nt=FYGE.MouseEvent,rt=FYGE.ScrollList,ot=FYGE.Shape,ht=FYGE.Sprite,ct=FYGE.TEXT_ALIGN,lt=FYGE.Texture;class dt extends B{get groupNames(){return["RankPanel"]}timeLabel;mRank;mNick;mScore;rankList;prizeList;async initUi(){this.addChild(new ht(t.getRes("rankBg.png"))).position.set(84,360);const e=new Date(R.activityBaseInfo.endTime);this.timeLabel=q.Txt(this,`排行榜奖励${e.getMonth()+1}${e.getDate()}${e.getHours()}时开奖`,24,"#704a5b",ct.CENTER,750,0,1006),this.timeLabel.bold=!0,this.mRank=q.Txt(this,"未入榜",24,"#704a5b",ct.CENTER,113,122,563),this.mNick=q.Txt(this,"",24,"#704a5b",ct.CENTER,200,231,563),this.mScore=q.Txt(this,"0分",24,"#704a5b",ct.CENTER,167,458,563),this.rankList=this.addChild(new rt(pt,500,69,500,360)),this.rankList.position.set(122,615),this.prizeList=this.addChild(new rt(gt,149,69,500,178,!1)),this.prizeList.position.set(122,1059),this.addChild(new at(t.getRes("comCloseBtn.png"))).addEventListener(nt.CLICK,this.hidePanel,this).position.set(598,294)}async start(){super.start();const{success:t,data:e,message:s}=await G(C.getRankList);if(t){const{rank:t,score:s,userNick:i}=e;this.mRank.text=0==s?"未入榜":t,this.mNick.text=i[0]+"**"+i[i.length-1],this.mScore.text=(s||0)+"分",this.rankList.updateData(e.list||[]),this.rankList.maxDistance+=30}const i=await G(C.getPrizeList);i.success&&(this.prizeList.updateData(i.data.list||[]),this.prizeList.maxDistance+=30)}}class pt extends it{rank;nick;score;icon;initUi(t){super.initUi(t),this.rank=q.Txt(this,"1",24,"#704a5b",ct.CENTER,113,0,28),this.nick=q.Txt(this,"",24,"#704a5b",ct.CENTER,200,109,28),this.score=q.Txt(this,"0分",24,"#704a5b",ct.CENTER,167,336,28),this.icon=q.Sp(this,"rankIcon.png"),this.icon.position.set(39,14);const e=this.addChild(new ot);e.beginFill(16169689),e.drawRect(0,69,500,2),e.endFill()}initData(t,e){if(super.initData(t,e),-1==t)return;const{rank:s,userNick:i,score:a}=this.data;this.rank.text=s,this.nick.text=i[0]+"**"+i[i.length-1],this.score.text=(a||0)+"分",this.icon.visible=+s<=3}}class gt extends it{prizeImg;nameLabel;initUi(t){super.initUi(t),this.prizeImg=this.addChild(new ht),this.prizeImg.anchorTexture.set(.5,.5),this.prizeImg.width=this.prizeImg.height=130,this.prizeImg.position.set(65,65),this.nameLabel=q.Txt(this,"0分",22,"#704a5b",ct.CENTER,130,0,150)}initData(t,e){if(super.initData(t,e),-1==t)return;this.prizeImg.texture=lt.fromUrl(e.image);const s=e.rank.split("-");s[0]==s[1]?this.nameLabel.text=`第${s[0]}名`:this.nameLabel.text=`第${e.rank}名`}}var ut=FYGE.Button,mt=FYGE.MouseEvent,yt=FYGE.Sprite;class Et extends B{get groupNames(){return["RankPrizePanel"]}async initUi(){this.addChild(new FYGE.Sprite(t.getRes("rankPrizeBg.png"))).position.set(84,434),this.addChild(new ut(t.getRes("rankPrizeBtn.png"))).addEventListener(mt.CLICK,this.clickPrizeBtn,this).position.set(166,979);const{rank:e,score:s}=this.data.rank,i=0==s?"-":e;q.Txt(this,i+"",60,"#704a5b",FYGE.TEXT_ALIGN.CENTER,750,0,623);const a=this.addChild(yt.fromUrl(this.data.prize.image));a.anchorTexture.set(.5,.5),a.position.set(375,790),a.width=a.height=214,this.addChild(new ut(t.getRes("comCloseBtn.png"))).addEventListener(mt.CLICK,this.hidePanel,this).position.set(598,368)}clickPrizeBtn(t){switch(this.btnDelay(t.target),this.data.prize.type){case 1:case 2:case 5:this.hidePanel();break;case 3:G(C.getUserAddress,{prizeId:this.data.prize._id},((t,e)=>{t&&(p("奖品发放成功\n请前往我的奖品处查看"),this.hidePanel())}),!0)}}}var ft=FYGE.TEXT_lINETYPE,wt=FYGE.ScrollPage,bt=FYGE.Button,vt=FYGE.MouseEvent;class xt extends B{get groupNames(){return["RulePanel"]}ruleTex;scroll;initUi(){this.addChild(new FYGE.Sprite(t.getRes("rulePanelBg.png"))).position.set(84,435);const e=R.activityBaseInfo.rule;q.Txt(this,e,26,"#704a5b",FYGE.TEXT_ALIGN.LEFT,444),this.ruleTex.lineType=ft.MULTI,this.scroll=this.addChild(new wt(444,370,this.ruleTex.textHeight+30)),this.scroll.position.set(158,590),this.scroll.view.addChild(this.ruleTex),this.addChild(new bt(t.getRes("rulePanelBtn.png"))).addEventListener(vt.CLICK,this.hidePanel,this).position.set(167,989),this.addChild(new bt(t.getRes("comCloseBtn.png"))).addEventListener(vt.CLICK,this.hidePanel,this).position.set(598,369)}start(t){super.start()}initEvents(){super.initEvents()}removeEvents(){super.removeEvents()}}const Ct={fr:30,ip:0,op:147,w:750,h:245,nm:"LoadingEffect",layers:[{ind:1,ty:2,nm:"点11",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:10,s:[472.5,242,0]},{t:16,s:[472.5,238.75,0]},{t:22,s:[472.5,242,0]},{t:41,s:[472.5,242,0]},{t:47,s:[472.5,238.75,0]},{t:53,s:[472.5,242,0]},{t:72,s:[472.5,242,0]},{t:78,s:[472.5,238.75,0]},{t:84,s:[472.5,242,0]},{t:103,s:[472.5,242,0]},{t:109,s:[472.5,238.75,0]},{t:115,s:[472.5,242,0]},{t:133,s:[472.5,242,0]},{t:139,s:[472.5,238.75,0]},{t:145,s:[472.5,242,0]},{t:164,s:[472.5,242,0]},{t:170,s:[472.5,238.75,0]},{t:176,s:[472.5,242,0]},{t:195,s:[472.5,242,0]},{t:201,s:[472.5,238.75,0]},{t:207,s:[472.5,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:2,ty:2,nm:"点10",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:8,s:[461.5,242,0]},{t:14,s:[461.5,238.75,0]},{t:20,s:[461.5,242,0]},{t:39,s:[461.5,242,0]},{t:45,s:[461.5,238.75,0]},{t:51,s:[461.5,242,0]},{t:70,s:[461.5,242,0]},{t:76,s:[461.5,238.75,0]},{t:82,s:[461.5,242,0]},{t:101,s:[461.5,242,0]},{t:107,s:[461.5,238.75,0]},{t:113,s:[461.5,242,0]},{t:131,s:[461.5,242,0]},{t:137,s:[461.5,238.75,0]},{t:143,s:[461.5,242,0]},{t:162,s:[461.5,242,0]},{t:168,s:[461.5,238.75,0]},{t:174,s:[461.5,242,0]},{t:193,s:[461.5,242,0]},{t:199,s:[461.5,238.75,0]},{t:205,s:[461.5,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:3,ty:2,nm:"点9",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:6,s:[450.625,242,0]},{t:12,s:[450.625,238.75,0]},{t:18,s:[450.625,242,0]},{t:37,s:[450.625,242,0]},{t:43,s:[450.625,238.75,0]},{t:49,s:[450.625,242,0]},{t:68,s:[450.625,242,0]},{t:74,s:[450.625,238.75,0]},{t:80,s:[450.625,242,0]},{t:99,s:[450.625,242,0]},{t:105,s:[450.625,238.75,0]},{t:111,s:[450.625,242,0]},{t:129,s:[450.625,242,0]},{t:135,s:[450.625,238.75,0]},{t:141,s:[450.625,242,0]},{t:160,s:[450.625,242,0]},{t:166,s:[450.625,238.75,0]},{t:172,s:[450.625,242,0]},{t:191,s:[450.625,242,0]},{t:197,s:[450.625,238.75,0]},{t:203,s:[450.625,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:4,ty:2,nm:"点8",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:4,s:[439.25,242,0]},{t:10,s:[439.25,238.75,0]},{t:16,s:[439.25,242,0]},{t:35,s:[439.25,242,0]},{t:41,s:[439.25,238.75,0]},{t:47,s:[439.25,242,0]},{t:66,s:[439.25,242,0]},{t:72,s:[439.25,238.75,0]},{t:78,s:[439.25,242,0]},{t:97,s:[439.25,242,0]},{t:103,s:[439.25,238.75,0]},{t:109,s:[439.25,242,0]},{t:127,s:[439.25,242,0]},{t:133,s:[439.25,238.75,0]},{t:139,s:[439.25,242,0]},{t:158,s:[439.25,242,0]},{t:164,s:[439.25,238.75,0]},{t:170,s:[439.25,242,0]},{t:189,s:[439.25,242,0]},{t:195,s:[439.25,238.75,0]},{t:201,s:[439.25,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:5,ty:2,nm:"点7",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:2,s:[428.125,242,0]},{t:8,s:[428.125,238.75,0]},{t:14,s:[428.125,242,0]},{t:33,s:[428.125,242,0]},{t:39,s:[428.125,238.75,0]},{t:45,s:[428.125,242,0]},{t:64,s:[428.125,242,0]},{t:70,s:[428.125,238.75,0]},{t:76,s:[428.125,242,0]},{t:95,s:[428.125,242,0]},{t:101,s:[428.125,238.75,0]},{t:107,s:[428.125,242,0]},{t:125,s:[428.125,242,0]},{t:131,s:[428.125,238.75,0]},{t:137,s:[428.125,242,0]},{t:156,s:[428.125,242,0]},{t:162,s:[428.125,238.75,0]},{t:168,s:[428.125,242,0]},{t:187,s:[428.125,242,0]},{t:193,s:[428.125,238.75,0]},{t:199,s:[428.125,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:6,ty:2,nm:"点1",refId:"7e4500a1-83be-4686-a46b-67147ed44ddd",ks:{o:{k:100},r:{k:0},p:{k:[{t:0,s:[416.5,242,0]},{t:6,s:[416.5,238.75,0]},{t:12,s:[416.5,242,0]},{t:31,s:[416.5,242,0]},{t:37,s:[416.5,238.75,0]},{t:43,s:[416.5,242,0]},{t:62,s:[416.5,242,0]},{t:68,s:[416.5,238.75,0]},{t:74,s:[416.5,242,0]},{t:93,s:[416.5,242,0]},{t:99,s:[416.5,238.75,0]},{t:105,s:[416.5,242,0]},{t:123,s:[416.5,242,0]},{t:129,s:[416.5,238.75,0]},{t:135,s:[416.5,242,0]},{t:154,s:[416.5,242,0]},{t:160,s:[416.5,238.75,0]},{t:166,s:[416.5,242,0]},{t:185,s:[416.5,242,0]},{t:191,s:[416.5,238.75,0]},{t:197,s:[416.5,242,0]}]},a:{k:[2.5,3,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:7,ty:2,nm:"Loading",refId:"a122de8a-beed-4442-9252-8c047986f371",ks:{o:{k:100},r:{k:0},p:{k:[342,233,0]},a:{k:[67,12,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:8,ty:3,nm:"空 5",ks:{o:{k:0},r:{k:0},p:{k:[{t:0,s:[-43.375,93.125,0]},{t:18,s:[125.625,93.125,0]},{t:28,s:[125.625,93.125,0]},{t:43,s:[271.625,93.125,0]},{t:54,s:[271.625,93.125,0]},{t:69,s:[421.625,93.125,0]},{t:80,s:[421.625,93.125,0]},{t:95,s:[539.625,81.125,0]},{t:106,s:[539.625,81.125,0]},{t:121,s:[653.625,84.625,0]},{t:132,s:[653.625,84.625,0]},{t:147,s:[797.625,84.625,0]}]},a:{k:[0,0,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:9,ty:3,nm:"空 1",parent:8,ks:{o:{k:0},r:{k:0},p:{k:[{t:0,s:[-.25,-10.25,0]},{t:9.212,s:[-.25,-36.25,0]},{t:18,s:[-.25,-10.25,0]},{t:26,s:[-.25,-10.25,0]},{t:35.212,s:[-.25,-36.25,0]},{t:44,s:[-.25,-10.25,0]},{t:52,s:[-.25,-10.25,0]},{t:61.212,s:[-.25,-36.25,0]},{t:70,s:[-.25,-10.25,0]},{t:78,s:[-.25,-10.25,0]},{t:87.212,s:[-.25,-36.25,0]},{t:96,s:[-.25,-10.25,0]},{t:104,s:[-.25,-10.25,0]},{t:113.212,s:[-.25,-36.25,0]},{t:122,s:[-.25,-10.25,0]},{t:130,s:[-.25,-10.25,0]},{t:139.212,s:[-.25,-36.25,0]},{t:148,s:[-.25,-10.25,0]},{t:156,s:[-.25,-10.25,0]},{t:165.212,s:[-.25,-36.25,0]},{t:174,s:[-.25,-10.25,0]},{t:182,s:[-.25,-10.25,0]},{t:191.212,s:[-.25,-36.25,0]},{t:200,s:[-.25,-10.25,0]},{t:208,s:[-.25,-10.25,0]},{t:217.212,s:[-.25,-36.25,0]},{t:226,s:[-.25,-10.25,0]},{t:234,s:[-.25,-10.25,0]},{t:243.212,s:[-.25,-36.25,0]},{t:252,s:[-.25,-10.25,0]}]},a:{k:[0,0,0]},s:{k:[21.25,21.25,100]}},ip:-8,op:199},{ind:10,ty:2,nm:"棋子头",parent:9,refId:"845ae874-998e-4f68-8e79-641eb77466f3",ks:{o:{k:100},r:{k:0},p:{k:[{t:-8,s:[-2.353,-160,0]},{t:0,s:[-2.353,-128.941,0]},{t:7.242,s:[-2.353,-160,0]},{t:18,s:[-2.353,-160,0]},{t:26,s:[-2.353,-128.941,0]},{t:33.242,s:[-2.353,-160,0]},{t:44,s:[-2.353,-160,0]},{t:52,s:[-2.353,-128.941,0]},{t:59.242,s:[-2.353,-160,0]},{t:70,s:[-2.353,-160,0]},{t:78,s:[-2.353,-128.941,0]},{t:85.242,s:[-2.353,-160,0]},{t:96,s:[-2.353,-160,0]},{t:104,s:[-2.353,-128.941,0]},{t:111.242,s:[-2.353,-160,0]},{t:122,s:[-2.353,-160,0]},{t:130,s:[-2.353,-128.941,0]},{t:137.242,s:[-2.353,-160,0]},{t:148,s:[-2.353,-160,0]},{t:156,s:[-2.353,-128.941,0]},{t:163.242,s:[-2.353,-160,0]},{t:174,s:[-2.353,-160,0]},{t:182,s:[-2.353,-128.941,0]},{t:189.242,s:[-2.353,-160,0]},{t:200,s:[-2.353,-160,0]},{t:208,s:[-2.353,-128.941,0]},{t:215.242,s:[-2.353,-160,0]},{t:226,s:[-2.353,-160,0]},{t:234,s:[-2.353,-128.941,0]},{t:241.2421875,s:[-2.353,-160,0]}]},a:{k:[12,12.5,0]},s:{k:[470.588,470.588,100]}},ip:-8,op:199},{ind:11,ty:2,nm:"棋子2",parent:9,refId:"ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d",ks:{o:{k:100},r:{k:0},p:{k:[0,63.529,0]},a:{k:[11.5,36,0]},s:{k:[{t:-8,s:[470.588,470.588,100]},{t:0,s:[470.588,377.588,100]},{t:7.242,s:[470.588,470.588,100]},{t:18,s:[470.588,470.588,100]},{t:26,s:[470.588,377.588,100]},{t:33.242,s:[470.588,470.588,100]},{t:44,s:[470.588,470.588,100]},{t:52,s:[470.588,377.588,100]},{t:59.242,s:[470.588,470.588,100]},{t:70,s:[470.588,470.588,100]},{t:78,s:[470.588,377.588,100]},{t:85.242,s:[470.588,470.588,100]},{t:96,s:[470.588,470.588,100]},{t:104,s:[470.588,377.588,100]},{t:111.242,s:[470.588,470.588,100]},{t:122,s:[470.588,470.588,100]},{t:130,s:[470.588,377.588,100]},{t:137.242,s:[470.588,470.588,100]},{t:148,s:[470.588,470.588,100]},{t:156,s:[470.588,377.588,100]},{t:163.242,s:[470.588,470.588,100]},{t:174,s:[470.588,470.588,100]},{t:182,s:[470.588,377.588,100]},{t:189.242,s:[470.588,470.588,100]},{t:200,s:[470.588,470.588,100]},{t:208,s:[470.588,377.588,100]},{t:215.242,s:[470.588,470.588,100]},{t:226,s:[470.588,470.588,100]},{t:234,s:[470.588,377.588,100]},{t:241.2421875,s:[470.588,470.588,100]}]}},ip:-8,op:199},{ind:12,ty:2,nm:"棋子投影",parent:9,refId:"7458bc9a-d07d-4a7c-972b-4de7ed7c040d",ks:{o:{k:30.196},r:{k:0},p:{k:[{t:0,s:[-67.059,-3.529,0]},{t:9.053,s:[-183.529,-60,0]},{t:18,s:[-67.059,-3.529,0]},{t:26,s:[-67.059,-3.529,0]},{t:35.053,s:[-183.529,-60,0]},{t:44,s:[-67.059,-3.529,0]},{t:52,s:[-67.059,-3.529,0]},{t:61.053,s:[-183.529,-60,0]},{t:70,s:[-67.059,-3.529,0]},{t:78,s:[-67.059,-3.529,0]},{t:87.053,s:[-183.529,-60,0]},{t:96,s:[-67.059,-3.529,0]},{t:104,s:[-67.059,-3.529,0]},{t:113.053,s:[-183.529,-60,0]},{t:122,s:[-67.059,-3.529,0]},{t:130,s:[-67.059,-3.529,0]},{t:139.053,s:[-183.529,-60,0]},{t:148,s:[-67.059,-3.529,0]},{t:156,s:[-67.059,-3.529,0]},{t:165.053,s:[-183.529,-60,0]},{t:174,s:[-67.059,-3.529,0]},{t:182,s:[-67.059,-3.529,0]},{t:191.053,s:[-183.529,-60,0]},{t:200,s:[-67.059,-3.529,0]},{t:208,s:[-67.059,-3.529,0]},{t:217.053,s:[-183.529,-60,0]},{t:226,s:[-67.059,-3.529,0]},{t:234,s:[-67.059,-3.529,0]},{t:243.053,s:[-183.529,-60,0]},{t:252,s:[-67.059,-3.529,0]}]},a:{k:[24,15,0]},s:{k:[470.588,470.588,100]}},ip:-8,op:199},{ind:13,ty:2,nm:"电影院",refId:"cd1a775d-36c9-4c8e-9c67-8191070068e9",ks:{o:{k:100},r:{k:0},p:{k:[127.5,111,0]},a:{k:[61.5,52,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:14,ty:2,nm:"形状 762",refId:"b48ee079-b3d7-4371-b294-944200eccba9",ks:{o:{k:100},r:{k:0},p:{k:[111.5,118,0]},a:{k:[68.5,37,0]},s:{k:[100,100,100]}},ip:0,op:147},{ind:15,ty:2,nm:"格子",refId:"5cab5037-81fc-4246-96e5-b1353f339275",ks:{o:{k:100},r:{k:0},p:{k:[450,108,0]},a:{k:[258,54,0]},s:{k:[100,100,100]}},ip:0,op:147}],markers:[{tm:147,cm:"1",dr:0}]};var kt=FYGE.loadGltf,Ft=FYGE.Scene3D,Bt=FYGE.Vector2;const Tt={};function Gt(t){const e=(new Ft).copy(Tt[t]);return e.scale.set(.005,.005,.005),e}async function Lt(t){return new Promise((e=>{if(Tt[t])return e(Gt(t));kt(t,(s=>{Tt[t]=s.scene,e(Gt(t))}),(t=>{console.error(t),e(new Ft),p("加载模型资源失败")}))}))}var St;!function(t){t.Cinema="Cinema",t.Cube1="Cube1",t.Cube2="Cube2",t.ChocolateShop="ChocolateShop",t.TennisCourt="TennisCourt",t.TennisBarrel="TennisBarrel",t.FlowerShop="FlowerShop",t.FILAShop="FILAShop",t.Logo1="Logo1",t.Logo2="Logo2"}(St||(St={}));const It=[St.Cinema,St.Cube1,St.Cube2,St.ChocolateShop,St.TennisCourt,St.TennisBarrel,St.FlowerShop,St.FILAShop,St.Logo1,St.Logo2],Pt=.06,Yt={playerConfig:{src:"https://yun.duiba.com.cn/aurora/assets/80244821c29db4c619fe3f0c90d57132d149d9bf.glb",tbsrc:"cloud://CEAE1CD8B6B8EAF842FD9754CF064639//棋子.glb"},boxConfig:{[St.Cinema]:{src:"https://yun.duiba.com.cn/aurora/assets/ca66f10db4bb98c483a612c2196a2baccf68f9ba.glb",tbsrc:"cloud://9C90F5DA62F3DD1FC7C8EB0657CB867D//电影院.glb",ow:.96,oz:.94,dx:.07,dz:.02,ir:Pt,testFun:"rect",score:0},[St.Cube1]:{src:"https://yun.duiba.com.cn/aurora/assets/660b0f9479686ee3efdbefea233d9cfec66573b1.glb",tbsrc:"cloud://F672EE52A61F3CFEA2CD455EC3AC3920//立方体1.glb",ow:.83,oz:.83,dx:0,dz:0,ir:Pt,testFun:"rect",score:0},[St.Cube2]:{src:"https://yun.duiba.com.cn/aurora/assets/cc85f0cd4f030874e60966c891d30f79ef0be927.glb",tbsrc:"cloud://78804605CF45221AD835915687B35908//立方体2.glb",ow:.87,oz:.88,dx:0,dz:0,ir:Pt,testFun:"rect",score:0},[St.ChocolateShop]:{src:"https://yun.duiba.com.cn/aurora/assets/f9fec8a8bcce73e23eb17b824eda33202daecf2f.glb",tbsrc:"cloud://D60F1E52845A434408A338CE2037D53F//巧克力店.glb",ow:.65,oz:.65,dx:.01,dz:.01,ir:Pt,testFun:"circle",score:0},[St.FlowerShop]:{src:"https://yun.duiba.com.cn/aurora/assets/0fcff8d4762f24f468d07f1671a5a8482b88ff41.glb",tbsrc:"cloud://5F122FEF16478E0BBEBE63D7B0B71539//花店.glb",ow:.8,oz:.91,dx:.024,dz:-.031,ir:Pt,testFun:"rect",score:0},[St.FILAShop]:{src:"https://yun.duiba.com.cn/aurora/assets/d4da10c0518b98a58c6bee9f720a6680fd726925.glb",tbsrc:"cloud://4153569ADBB267C5C29A60A2076AF812//file店铺.glb",ow:.92,oz:1.18,dx:0,dz:.02,ir:Pt,testFun:"rect",score:15},[St.TennisCourt]:{src:"https://yun.duiba.com.cn/aurora/assets/1e556dbdb1e60a31f87d5e386f2a0a027fd90397.glb",tbsrc:"cloud://73E2BDD33A55C202BBE979A93954E0F5//网球场.glb",ow:1.2,oz:1.665,dx:0,dz:0,ir:Pt,testFun:"rect",score:0},[St.TennisBarrel]:{src:"https://yun.duiba.com.cn/aurora/assets/a454a74ba50bc1d6801e510e9355be1de8ac8cda.glb",tbsrc:"cloud://CDD8F47A6945FE70A0D15ABF36875356//网球桶.glb",ow:.35,oz:.35,dx:0,dz:0,ir:Pt,testFun:"circle",score:0},[St.Logo1]:{src:"https://yun.duiba.com.cn/aurora/assets/74d4d08652acd570d5013226e80f22d0929c596c.glb",tbsrc:"cloud://7920741060B24380DBE357505D146877//LOGO1.glb",ow:.84,oz:.884,dx:-.09,dz:.005,ir:Pt,testFun:"rect",score:10},[St.Logo2]:{src:"https://yun.duiba.com.cn/aurora/assets/00e19f936170dbe9b09eb5dcd2c47e476a9c271b.glb",tbsrc:"cloud://92D7323E60199169EF79C8762BEC112A//logo2.glb",ow:.92,oz:.92,dx:0,dz:0,ir:Pt,testFun:"rect",score:0}}};function Rt(t){const e=Yt.boxConfig[t];return"tb"==FYGE.getEnv()&&(e.src=e.tbsrc),e}const At={rect:function(t,e,s,i){const a=(new Bt).copy(t).sub(e);return!(Math.abs(a.x)>s/2||Math.abs(a.y)>i/2)},circle:function(t,e,s){return t.distanceTo(e)<=s}},Dt=[{key:St.Cinema,probability:12},{key:St.Cube1,probability:13},{key:St.Cube2,probability:13},{key:St.ChocolateShop,probability:8},{key:St.FlowerShop,probability:12},{key:St.TennisCourt,probability:8},{key:St.TennisBarrel,probability:19},{key:St.FILAShop,probability:1},{key:St.Logo1,probability:2},{key:St.Logo2,probability:12}];Dt.sort(((t,e)=>t.probability-e.probability));let _t=0;Dt.forEach((t=>{_t=t.probability+=_t}));var zt=FYGE.Button,Nt=FYGE.MouseEvent;class Ot extends B{get groupNames(){return["OverPanel"]}async initUi(){this.addChild(new FYGE.Sprite(t.getRes("overNoPrizeBg.png"))).position.set(84,421),this.addChild(new zt(t.getRes("overBtn.png"))).addEventListener(Nt.CLICK,this.again,this).position.set(167,849),q.Txt(this,this.data.score+"",60,"#704a5b",FYGE.TEXT_ALIGN.CENTER,750,0,661),this.addChild(new zt(t.getRes("comCloseBtn.png"))).addEventListener(Nt.CLICK,this.hidePanel,this).position.set(598,369)}async again(t){if(this.btnDelay(t.target),this.data.gameTimes<=0)f(Q);else{const{success:t,data:e}=await G(C.startGame);if(!t)return;w(Ke,{startData:e})}super.hidePanel()}hidePanel(){super.hidePanel(),w(ts)}}var Mt=FYGE.Button,Ut=FYGE.MouseEvent,jt=FYGE.Sprite;class Ht extends B{get groupNames(){return["OverPanel"]}async initUi(){this.addChild(new FYGE.Sprite(t.getRes("overPrizeBg.png"))).position.set(84,309),this.addChild(new Mt(t.getRes("overBtn.png"))).addEventListener(Ut.CLICK,this.again,this).position.set(167,979),q.Txt(this,this.data.score+"",60,"#704a5b",FYGE.TEXT_ALIGN.CENTER,750,0,593),q.Txt(this,"请前往「我的奖品」页领取",24,"#a35e7a",FYGE.TEXT_ALIGN.CENTER,750,0,924);const e=this.addChild(jt.fromUrl(this.data.prizeInfo.image));e.anchorTexture.set(.5,.5),e.position.set(375,790),e.width=e.height=214,this.addChild(new Mt(t.getRes("comCloseBtn.png"))).addEventListener(Ut.CLICK,this.hidePanel,this).position.set(598,369)}async again(t){if(this.btnDelay(t.target),this.data.gameTimes<=0)f(Q);else{const{success:t,data:e}=await G(C.startGame);if(!t)return;w(Ke,{startData:e})}super.hidePanel()}clickPrizeBtn(t){switch(this.btnDelay(t.target),this.data.prizeInfo.type){case 1:G(C.receiveEnamePrize,{_id:this.data.prizeInfo._id,id:this.data.prizeInfo._id},((t,e)=>{if(!t||!e)return p("奖品发放失败\n请前往我的奖品处进行处理"),void this.hidePanel();e.data&&3==e.data.drawStatus?p("奖品发放成功\n请前往我的奖品处查看"):p("奖品发放失败\n请前往我的奖品处进行处理"),this.hidePanel()}),!0);break;case 3:G(C.getUserAddress,{prizeId:this.data.prizeInfo._id},((t,e)=>{t&&(p("奖品发放成功\n请前往我的奖品处查看"),this.hidePanel())}),!0);break;case 2:case 5:this.hidePanel()}}hidePanel(){super.hidePanel(),w(ts)}}var Kt=FYGE.Button,Xt=FYGE.MouseEvent;class qt extends B{get groupNames(){return["RevivePanel"]}vip;async initUi(){this.vip=await R.queryVip(),this.vip?this.hidePanel():(this.addChild(new FYGE.Sprite(t.getRes("reviveBg.png"))).position.set(84,474),this.addChild(new Kt(t.getRes("reviveCancel.png"))).addEventListener(Xt.CLICK,this.hidePanel,this).position.set(131,782),this.addChild(new Kt(t.getRes("reviveOk.png"))).addEventListener(Xt.CLICK,this.doRevive,this).position.set(385,778),this.addChild(new Kt(t.getRes("comCloseBtn.png"))).addEventListener(Xt.CLICK,this.hidePanel,this).position.set(598,369))}async doRevive(t){if(this.btnDelay(t.target),this.vip)return void this.hidePanel();const e=async()=>{const{success:t,data:e,message:s}=await G(C.continueGame,{gameId:this.data.gameId});if(!t||!e.isContinue)return p(s),void this.hidePanel();this.data.revive(),super.hidePanel()};await R.queryVip()?e():(p("请先加入会员"),ds.once("JoinMember",e),setTimeout((()=>{G(C.openMember)}),1500))}hidePanel(){super.hidePanel(),this.data.submit()}}class Wt{static readCache(t){return my?my.getStorageSync({key:t}).data:localStorage?localStorage.getItem(t):null}static writeCache(t,e="true"){my?my.setStorageSync({key:t,data:e}):localStorage&&localStorage.setItem(t,e)}static returnTodayTimes(t){var e=this.readCache("year"+t),s=this.readCache("month"+t),i=this.readCache("day"+t),a=new Date,n=a.getFullYear().toString(),r=a.getMonth().toString(),o=a.getDate().toString();if(this.int(n)<=this.int(e)&&this.int(r)<=this.int(s)&&this.int(o)<=this.int(i))return this.int(this.readCache(t));return this.writeCache("year"+t,n),this.writeCache("month"+t,r),this.writeCache("day"+t,o),this.writeCache(t,"0"),0}static randomT(t,e){return t&&"number"==typeof t.length&&t.length?t[Math.floor(Math.random()*t.length)]:("number"!=typeof e&&(e=t||1,t=0),t+Math.random()*(e-t))}static removeEle(t,e){var s=e.indexOf(t);s>=0&&e.splice(s,1)}static insert(t,e){for(var s=e.length-1;s>=0;s--)if(t>e[s]){e.splice(s+1,0,t);break}}static getRandomNumber(t,e,s){for(var i=[],a=0;a<s;a++){var n=Math.floor(Math.random()*(e-t+1)+t);i.indexOf(n)<0?i.push(n):a--}return i}static disturbNumberArr(t){t.sort((function(){return.5-Math.random()}))}static disturbArr(t){return t.sort((function(){return.5-Math.random()}))}static getRandomArrayElements(t,e){var s,i,a=t.slice(0),n=t.length,r=n-e;if(r<=0)return a;if(e<=0)return[];for(;n-- >r;)s=a[i=Math.floor((n+1)*Math.random())],a[i]=a[n],a[n]=s;return a.slice(r)}static getRandomArrayElementsEx(t,e){if(t.length<=e)return t.slice();if(e<=0)return[];for(var s=t.slice(),i=[];e--;){var a=Math.floor(Math.random()*s.length),n=s.splice(a,1)[0];i.push(n)}return i}static int(t){return t>>0}static emojiReg=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi;static addSpaceInString(t){if(!t.length||1==t.length)return t;for(var e="",s=0;s<t.length-1;s++)e=e+t[s]+" ";return e+=t[t.length-1]}static getShiFenMiaoByTimeStamp(t){var e=Math.floor(t%864e5/36e5),s=Math.floor(t%36e5/6e4),i=Math.floor(t%6e4/1e3);return(e=e<10?"0"+e:e)+"小时"+(s=s<10?"0"+s:s)+"分"+(i=i<10&&i>=1?"0"+i:i)+"秒"}static getRealStringLength(t){for(var e=0,s=t.length,i=-1,a=0;a<s;a++)e+=(i=t.charCodeAt(a))>=0&&i<=128?1:2;return e}static cutStringAcoRealLength(t,e,s="..."){let i=0,a="";for(let n of t){let t=n.charCodeAt(0);if(i+=t>=0&&t<=128?1:2,!(i<=e)){a=a.concat(s);break}a=a.concat(n)}return a}}var Vt=FYGE.BaseMaterial,Jt=FYGE.CircleGeometry,$t=FYGE.Mesh3D,Zt=FYGE.Object3D;FYGE.PlaneGeometry;var Qt=FYGE.Vector2;class te extends Zt{type;mesh;point;constructor(t){super(),this.type=t,t||(this.type=It[Math.random()*It.length>>0]),this.init()}async init(){const{ow:t,oz:e,ir:s,dx:i,dz:a,src:n,testFun:r}=Rt(this.type);this.point=this.addChild(new $t(new Jt(s,25,25),new Vt({color:11184810,alpha:.8}))),this.point.y=.65,this.point.rotationX=-90,this.point.visible=!1,this.mesh=await Lt(n),this.addChild(this.mesh),this.mesh.children[0].position.set(0,0,0),this.type==St.ChocolateShop?this.mesh.children[0].position.set(53.5,80,59):this.type==St.TennisBarrel&&this.mesh.children[0].position.set(6.5,36,16),this.mesh.x+=i,this.mesh.z+=a}useShadow(t){this.mesh.castShadow=!0,this.mesh.receiveShadow=!0,t.children.forEach((t=>{t.castShadow=!0,t.receiveShadow=!0,t.children&&this.useShadow(t)}))}outArea(t,e){const{x:s,z:i}=this,{ow:a,oz:n,ir:r,testFun:o}=Rt(this.type),h=new Qt(t,e),c=new Qt(s,i);if(!At[o](h,c,a,n)){const t=(new Qt).copy(h).sub(c),e=.1;let s,i;return 0!=t.x?(s=Math.abs(t.x)-a/2,i="x"):(s=Math.abs(t.y)-n/2,i="z"),{out:0,verFall:s>=e,fallDir:t.x+t.y>0?1:-1,fallAxis:i}}return{out:At.circle(h,c,r)?2:1}}}var ee=FYGE.Object3D,se=FYGE.Mesh3D,ie=FYGE.CircleGeometry,ae=FYGE.BaseMaterial,ne=FYGE.Tween;const re=new ie(.015,25,25),oe=new ae({color:65280}),he=new ae({color:16777215});class ce extends se{constructor(){super(re,he)}}class le extends ee{particles=[];cacheParticles=[];constructor(){super()}startTween;startLanding(){for(let t=0;t<20;t++){const t=this.createParticle();t.position.set(Wt.randomT(-.3,.3),Wt.randomT(-1.5,.5),Wt.randomT(-.3,.3)),t.material=he,this.particles.push(t),this.addChild(t),ne.get(t.position).to({x:t.position.x,y:.8,z:t.position.z},Wt.randomT(300,1e3)).call((()=>{this.removeChild(t),this.cacheParticles.push(t)}))}setTimeout((()=>{this.stop()}),1800)}startPush(){this.startTween=ne.get(this,{loop:!0}).call((()=>{for(let t=0;t<20;t++){const t=this.createParticle(),e=.7;t.position.set(Wt.randomT(-e,e),Wt.randomT(-e,e),Wt.randomT(-e,e)),t.material=Math.random()<.3?oe:he,this.particles.push(t),this.addChild(t),ne.get(t.position).to({x:0,y:0,z:0},Wt.randomT(300,1800)).call((()=>{this.removeChild(t),this.cacheParticles.push(t)}))}})).wait(600)}stop(){ne.removeTweens(this),this.particles.forEach((t=>{this.removeChild(t),this.cacheParticles.push(t),ne.removeTweens(t.position)})),this.particles.length=0}createParticle(){return this.cacheParticles.length?this.cacheParticles.shift():new ce}}var de,pe=FYGE.Object3D,ge=FYGE.Tween,ue=FYGE.Ease,me=FYGE.Mesh3D,ye=FYGE.BaseMaterial,Ee=FYGE.RingGeometry;!function(t){t[t.left=0]="left",t[t.right=1]="right"}(de||(de={}));const fe=new Ee(.14,.21,30,1);class we extends pe{particleEmitter;mesh;constructor(){super(),this.init()}async init(){const t=function(){const t=Yt.playerConfig;return"tb"==FYGE.getEnv()&&(t.src=t.tbsrc),t}(),e=this.mesh=await Lt(t.src);this.mesh.scale.set(.004,.004,.004),this.mesh.children[0].y=-35,this.addChild(e),this.particleEmitter=this.addChild(new le);const{x:s,y:i,z:a}=this.scene.camera.position;this.particleEmitter.lookAt(s,i,a)}async reset(){return new Promise((t=>{this.rotation.set(0,0,0,0),this.position.set(0,1.77,0),ge.get(this).to({y:.77},1e3,ue.bounceOut).call(t)}))}async jump(t,e){return new Promise((s=>{ge.get(this).to({y:1.5},250,ue.quadOut).to({y:.77},250,ue.quadIn),ge.get(this).to({x:t,z:e},500).call(s)}))}push(t){this.scaleY=1-t,this.y=.77-t/2-.13*t/.5}rot(t){let e="rotationX",s=this.mesh;t==de.left&&(e="rotationZ"),ge.get(s).to({[e]:"rotationX"==e?-360:360},500).call((()=>{s[e]=0}))}doubleEffect(t=1){for(let e=0;e<t;e++)ge.get({}).wait(180*e).call((()=>{const t=this.scene.addChild(new me(fe,new ye({color:16777215,alpha:1})));t.position.copy(this.position),t.y+=.01*e,t.rotationX=-90,ge.get(t.material).to({alpha:0},1e3,ue.quartOut),ge.get(t).to({scaleX:5,scaleY:5},800,ue.quartOut).call((()=>{this.scene.removeChild(t)}))}))}async fall(t,e){return new Promise((s=>{if(t.verFall)ge.get(this).to({y:.15},130).wait(e).call(s);else{const{fallDir:i,fallAxis:a}=t,n=90*i*("x"==a?-1:1);ge.get(this).wait(50).to({y:.08,[a]:this[a]+.2*i,["rotation"+("x"==a?"Z":"X")]:n},230,ue.quadIn).wait(e).call(s)}}))}async revive(t){return new Promise((e=>{ge.get(this).to({y:.77,rotationX:0,rotationY:0,rotationZ:0},750,ue.quartOut),ge.get(this).to({x:t.x,z:t.z},750,ue.quadIn).call(e)}))}}var be=FYGE.AmbientLight,ve=FYGE.Ease,xe=FYGE.Event,Ce=FYGE.MouseEvent,ke=FYGE.Scene3D,Fe=FYGE.Tween;const Be=new(0,FYGE.Vector3)(5.5,3.6,5.2);class Te extends ke{player;cacheBox={[St.Cinema]:[],[St.Cube1]:[],[St.Cube2]:[],[St.ChocolateShop]:[],[St.TennisCourt]:[],[St.TennisBarrel]:[],[St.FlowerShop]:[],[St.FILAShop]:[],[St.Logo1]:[],[St.Logo2]:[]};curBox;nextBox;canMove=!1;direction=de.right;outBox=[];pushParticle;pushObj={c:0};bonusScore=0;specialBonusTween=Fe.get({});constructor(){super(),this.initScene(),this.addEvents(),this.reset()}setView(t,e,s,i){this.viewX=t,this.viewY=e,this.viewWidth=s,this.viewHeight=i,this.camera.set(void 0,s/i,.1,1e3)}async reset(){for(let t=this.outBox.length-1;t>=0;t--){let e=this.outBox[t];this.removeChild(e),this.cacheBox[e.type].push(e)}this.outBox.length=0,this.curBox&&(this.removeChild(this.curBox),this.cacheBox[this.curBox.type].push(this.curBox)),this.nextBox&&(this.removeChild(this.nextBox),this.cacheBox[this.nextBox.type].push(this.nextBox)),this.pushObj={c:0},this.bonusScore=0,this.curBox=this.addChild(new te(St.Logo2)),this.curBox.position.set(0,0,0),this.nextBox=this.addChild(new te(St.Cinema)),this.nextBox.position.set(0,0,-1.7),this.direction=de.right,this.camera.position.copy(Be),this.moveCamera(0,-.85),await this.player.reset(),this.canMove=!0,this.pushParticle.position.copy(this.player.position);const{x:t,y:e,z:s}=this.camera.position;this.pushParticle.lookAt(t,e,s)}createBox(){const t=(()=>{const t=Math.random()*_t;for(let e=0,s=1;s<Dt.length;e++,s++){const i=Dt[e],a=Dt[s];if(t>i.probability&&t<=a.probability)return a.key}return St.Cinema})();return this.cacheBox[t].length?this.cacheBox[t].splice(0,1)[0]:new te(t)}initScene(){It.forEach((t=>{this.cacheBox[t].push(new te(t))})),this.addChild(new be(16777215,1)),this.player=this.addChild(new we),this.pushParticle=this.addChild(new le)}onUp=async()=>{this.pushParticle.stop(),this.nextBox.point.visible=!1,Fe.removeTweens(this.pushObj);const t=7*this.pushObj.c;let e=this.curBox.x,s=this.curBox.z;this.direction==de.left?e-=t:s-=t,await this.jump(e,s,this.direction),this.pushParticle.position.copy(this.player.position);const{x:i,z:a}=this.player;if(this.curBox.outArea(i,a).out>0)return void(this.canMove=!0);const n=this.nextBox.outArea(i,a);if(0==n.out)await this.die(n);else{const t=Rt(this.nextBox.type).score;0!=t&&(this.specialBonusTween=Fe.get({}).wait(2e3).call((()=>{this.player.particleEmitter.startLanding(),this.dispatchEvent(Pe.AddScore,{add:t})}))),this.player.particleEmitter.startLanding(),this.outBox.push(this.curBox),this.curBox=this.nextBox;let e=this.curBox.x,s=this.curBox.z,i=e,a=s;const r=Wt.randomT(1.72,3.3);Math.random()>.5?(this.direction=de.left,e-=r,i-=r/2):(this.direction=de.right,s-=r,a-=r/2),this.nextBox=this.addRect(e,s),this.moveCamera(i,a),2==n.out?(this.player.doubleEffect(++this.bonusScore),this.dispatchEvent(Pe.AddScore,{add:this.bonusScore+4})):(this.bonusScore=0,this.dispatchEvent(Pe.AddScore,{add:1})),this.canMove=!0}};onDown=()=>{this.canMove&&(this.canMove=!1,Fe.removeTweenSelf(this.specialBonusTween),this.pushParticle.startPush(),this.nextBox.point.visible=!0,this.pushObj={c:0},Fe.get(this.pushObj,{onChange:()=>{this.curBox.scaleY=1-this.pushObj.c,this.player.push(this.pushObj.c)}}).to({c:.65},1600).call((()=>{console.log("最大蓄力了")})),this.once(Ce.MOUSE_UP,this.onUp))};addEvents(){this.addEventListener(Ce.MOUSE_DOWN,this.onDown),this.addEventListener(xe.ENTER_FRAME,this.onUpdate,this)}moveCamera(t,e){const s=t+Be.x,i=e+Be.z;this.camera.y=Be.y,Fe.get(this.camera,{onChange:()=>{const{x:t,y:e,z:s}=this.camera;this.camera.lookAt(t-Be.x,0,s-Be.z)}}).to({x:s,z:i},500,ve.sineInOut)}addRect(t,e){const s=this.createBox();return s.position.set(t,1,e),this.addChild(s),Fe.get(s).to({y:0},320,ve.bounceOut),s}jump(t,e,s){return new Promise((i=>{this.player.scaleY=1,Fe.get(this.curBox).to({scaleY:1},300,ve.getBackOut(2.2)),this.player.jump(t,e).then(i),this.player.rot(s)}))}async die(t){console.log(t,"die"),await this.player.fall(t,800),this.dispatchEvent(Pe.GameOver)}async revive(){await this.player.revive(this.curBox),this.canMove=!0}onUpdate(){for(let t=this.outBox.length-1;t>=0;t--){let e=this.outBox[t],s=this.curBox.x,i=this.curBox.z;(e.x>s+8||e.z>i+8)&&(this.outBox.splice(t,1),this.removeChild(e),this.cacheBox[e.type].push(e))}}}var Ge=FYGE.Button,Le=FYGE.Container,Se=FYGE.MouseEvent;class Ie extends Le{on;off;static status=!0;static btns=[];static changeMusicStatus(t){Ie.status=t,Ie.btns.forEach((e=>{e.btn.changeTexture(t?e.on:e.off)})),G(C.openMusic,{isOn:t})}btn;constructor(t,e){super(),this.on=t,this.off=e,this.btn=this.addChild(new Ge(Ie.status?this.on:this.off)),this.btn.addEventListener(Se.CLICK,Ie.onClick,this),Ie.btns.push(this)}static onClick(){Ie.changeMusicStatus(!Ie.status)}destroy(){super.destroy(),Ie.btns.splice(Ie.btns.indexOf(this),1),this.btn.removeEventListener(Se.CLICK,Ie.onClick,this)}}var Pe,Ye=FYGE.BitmapText,Re=FYGE.TEXT_ALIGN,Ae=FYGE.Tween,De=FYGE.Event,_e=FYGE.Ease,ze=FYGE.Shape,Ne=FYGE.Container,Oe=FYGE.MouseEvent;!function(t){t.AddScore="AddScore",t.GameOver="GameOver"}(Pe||(Pe={}));class Me extends F{get groupNames(){return["game"]}scoreTxt;musicButton;jump3d;addScoreLabel;_score=0;get score(){return this._score}set score(t){this._score=t,this.scoreTxt.text=t+""}async initUi(){q.Sp(this,"com_bg.jpg"),this.data.startData.isFirstEnterGame&&await this.showGuide();const e=this.jump3d=this.addChild(new Te);e.setView(0,E.stageOffsetY,E.stageWidth,E.stageHeight),e.addEventListener(Pe.AddScore,this.addScore,this),e.addEventListener(Pe.GameOver,this.gameOver,this),this.musicButton=this.addChild(new Ie(t.getRes("gameMusicOn.png"),t.getRes("gameMusicOff.png"))),this.musicButton.position.set(636,E.stageOffsetY+265*E.stageOffsetY/422),this.musicButton.position.set(636,265);const s=R.getNumTextures("gameScore");s["+"]=t.getRes("gameScore+.png"),this.scoreTxt=this.addChild(new Ye(s)),this.scoreTxt.text="0",this.scoreTxt.textAlign=Re.LEFT,this.scoreTxt.position.set(65,E.stageOffsetY+305*E.stageOffsetY/422),this.scoreTxt.position.set(65,305),this.addScoreLabel=this.addChild(new Ye(s)),this.addScoreLabel.position.set(100,1e3),this.addScoreLabel.scale.set(.5,.5),this.addEventListener(De.ENTER_FRAME,(()=>{this.addScoreLabel.position.x=this.jump3d.player.stagePos.x}))}async showGuide(){return new Promise((t=>{const e=this.addChild(new Ne),s=e.addChild(new ze);s.beginFill(0,.8),s.drawRect(0,0,750,1624),s.endFill(),q.Sp(e,"guide.png",100,700),e.once(Oe.CLICK,(()=>{this.removeChild(e),t()}))}))}destroy(){super.destroy()}addScore(t){console.log("加分",t.data),this.score+=t.data.add,this.addScoreLabel.text=`+${t.data.add}`;const e=this.jump3d.player.stagePos.y;Ae.get(this.addScoreLabel).set({visible:!0,alpha:2,y:e}).to({y:e-100,alpha:0},1500,_e.quadOut).set({visible:!1})}async gameOver(t){const{gameId:e,beMember:s,isFirstEnterGame:i}=this.data.startData;s||!i?this.submitGame():f(qt,{gameId:this.data.startData.gameId,submit:this.submitGame,revive:this.reviveGame})}reviveGame=async()=>{this.data.startData.beMember=!0,await A(500),this.jump3d.revive()};submitGame=async()=>{const{success:t,data:e,message:s}=await G(C.submitGame,{gameId:this.data.startData.gameId,score:this.score,isGetPrize:this.score>=520});if(!t)return p(s),await A(1e3),void w(ts);const{prizeInfo:i,score:a,getScore:n,maxScore:r,gameTimes:o,avatar:h,userNick:c,rank:l}=e;R.gameInfo.gameTimes=o,i&&JSON.stringify(i)!=JSON.stringify({})&&5!=i.type?f(Ht,{score:this.score,prizeInfo:i,gameTimes:o}):f(Ot,{score:this.score,gameTimes:o})}}var Ue=FYGE.Lottie,je=FYGE.Tween,He=FYGE.Event;class Ke extends F{get groupNames(){return["loading","LoadingEffect"]}initUi(){q.Sp(this,"com_bg.jpg"),q.Sp(this,"loading_title.png",115,356);const t=this.addChild(new Ue(Ct));t.y=710,t.play()}async start(){super.start(),this.addEventListener(He.PROGRESS,this.progressEvent,this);const e=[];let s=0;for(let t of It){const i=Rt(t);e.push((async()=>{await Lt(i.src),this.dispatchEvent(He.PROGRESS,s+=.8/It.length)})())}await Promise.all(e),await t.loadGroup("game"),this.dispatchEvent(He.PROGRESS,.9),this.dispatchEvent(He.PROGRESS,1)}progressEvent(t){let e=t.data;je.get({},null,null,!0).to({value:e},0).call((()=>{e>=1&&(this.removeEventListener(He.PROGRESS,this.progressEvent,this),w(Me,{startData:this.data.startData}))}))}destroy(){super.destroy()}}var Xe=FYGE.Button,qe=FYGE.Container,We=FYGE.MouseEvent,Ve=FYGE.Shape,Je=FYGE.Sprite,$e=FYGE.TEXT_ALIGN,Ze=FYGE.VERTICAL_ALIGN,Qe=FYGE.Texture;class ts extends F{prizeBtn;taskBtn;ruleBtn;rankBtn;startBtn;paper;timeLabel;progress;get groupNames(){return["index"]}async initUi(){const{totalScore:e}=R.activityBaseInfo;this.paper=this.addChild(Je.fromUrl("https://yun.duiba.com.cn/aurora/assets/70c7fdc45ed8139bdc0a23ac004facc07abf3cfd.jpg")),this.progress=this.addChild(new es({value:e})),this.progress.y=1050,this.rankBtn=this.addChild(new Xe(t.getRes("rankBtn.png"))).addEventListener(We.CLICK,this.clickBtn,this),this.rankBtn.position.set(652,450),this.rankBtn.anchorX=98,this.taskBtn=this.addChild(new Xe(t.getRes("taskBtn.png"))).addEventListener(We.CLICK,this.clickBtn,this),this.taskBtn.position.set(599,388),this.taskBtn.anchorX=151,this.prizeBtn=this.addChild(new Xe(t.getRes("prizeBtn.png"))).addEventListener(We.CLICK,this.clickBtn,this),this.prizeBtn.y=392,this.prizeBtn.anchorX=0,this.ruleBtn=this.addChild(new Xe(t.getRes("ruleBtn.png"))).addEventListener(We.CLICK,this.clickBtn,this),this.ruleBtn.y=453,this.ruleBtn.anchorX=0,this.startBtn=this.addChild(new Xe(t.getRes("startBtn.png"))).addEventListener(We.CLICK,this.startGame,this),this.startBtn.position.set(128,1244),q.Sp(this.startBtn,"btnTipBg.png",426,-13),this.timeLabel=q.Txt(this.startBtn,`剩余次数:${R.gameInfo.gameTimes}`,20,"#ffffff",$e.CENTER,147,426,-13),this.timeLabel.textHeight=36,this.timeLabel.verticalAlign=Ze.MIDDLE,q.Txt(this,"单局奇迹值达520分\t\t必得「甜蜜福利」\t发完即止",22,"#ffa8d0",$e.CENTER,750,0,1376)}destroy(){super.destroy(),ds.removeEventListener("UpdateScene",this.updateIndex,this)}async updateIndex(){await R.getActivityBaseInfo(),await R.getGameInfo();const{showImage:t,totalScore:e}=R.activityBaseInfo;this.paper.texture=Qe.fromUrl(t),this.progress.value=e,this.timeLabel.text=`剩余次数:${R.gameInfo.gameTimes}`}async start(){super.start(),ds.addEventListener("UpdateScene",this.updateIndex,this),this.data&&"main"==this.data.from||(await R.getActivityBaseInfo(),await R.getGameInfo());const{showImage:t,totalScore:e}=R.activityBaseInfo;if(this.paper.texture=Qe.fromUrl(t),this.progress.value=e,this.timeLabel.text=`剩余次数:${R.gameInfo.gameTimes}`,3==R.activityBaseInfo.activityStatus&&3==R.activityBaseInfo.openPrizeStatus){const{success:t,data:e}=await G(C.getMyRankPrize);t&&e.showAwardDialog&&(e.prize&&5!=e.prize.type?f(Et,e):f(st,e))}const s=()=>{R.globalData.newUser&&(R.globalData.newUser=!1,f(xt))};R.globalData.inviteId&&3!=R.activityBaseInfo.activityStatus?f(J,{call:s}):s()}async startGame(t){if(this.btnDelay(t.target),1==R.activityBaseInfo.activityStatus)return p("活动未开始");if(3==R.activityBaseInfo.activityStatus)return p("活动已结束");if(R.gameInfo.gameTimes<=0)return void f(Q,{from:"index"});const{success:e,data:s}=await G(C.startGame);e&&w(Ke,{startData:s})}async clickBtn(t){switch(this.btnDelay(t.target),t.target){case this.ruleBtn:f(xt);break;case this.prizeBtn:G(C.navigateTo,{url:"/pages/myprize/myprize"},null,!0);break;case this.taskBtn:1==R.activityBaseInfo.activityStatus?p("活动未开始"):3==R.activityBaseInfo.activityStatus?p("活动已结束"):Y();break;case this.rankBtn:f(dt)}}}class es extends qe{constructor(t){super(),this.init(),this.value=t.value}_value=0;get value(){return this._value}set value(t){switch(this._value=t,this.miracleTxt.text=`当前总奇迹值:${t}`,!0){case t<=52e3:this.fill.mask.x=80*t/52e3+72-608;break;case t<=52e4:this.fill.mask.x=160*t/52e4+72-608+80;break;case t<=52e5:this.fill.mask.x=304*t/52e5+72-608+80+160;break;case t>52e5:this.fill.mask.x=72}}miracleTxt;fill;init(){q.Sp(this,"progressBg.png"),this.fill=q.Sp(this,"progressFill.png"),this.fill.position.set(69,79);const t=this.addChild(new Ve);t.beginFill(16711680),t.drawRoundedRect(0,0,608,25,10,10,10,10),t.endFill(),t.position.set(73,74),this.fill.mask=t,this.addChild(new ss("5.2万")).position.set(102,72),this.addChild(new ss("52万")).position.set(264,72),this.addChild(new ss("520万")).position.set(564,72),this.miracleTxt=q.Txt(this,"当前总奇迹值:0",24,"#ffffff",$e.CENTER,750,0,39),q.Txt(this,"当奇迹值达到520万时,将于519当天揭秘时尚运动代言人",22,"#ffffff",$e.CENTER,750,0,119)}}class ss extends qe{constructor(t){super(),q.Sp(this,"progressLabel.png");const e=q.Txt(this,t,22,"#000000",$e.CENTER,87,0,1.45);e.textHeight=31,e.verticalAlign=Ze.MIDDLE}}const is={groups:[{keys:"helpBg.png,helpBtn.png",name:"HelpPanel",atlas:{"helpBg.png":{x:2,y:2,w:581,h:547,ox:0,oy:0,sw:581,sh:547,ro:!1},"helpBtn.png":{x:2,y:551,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!1}}},{keys:"5cab5037-81fc-4246-96e5-b1353f339275.png,7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png,7e4500a1-83be-4686-a46b-67147ed44ddd.png,845ae874-998e-4f68-8e79-641eb77466f3.png,a122de8a-beed-4442-9252-8c047986f371.png,ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png,b48ee079-b3d7-4371-b294-944200eccba9.png,cd1a775d-36c9-4c8e-9c67-8191070068e9.png",name:"LoadingEffect",atlas:{"5cab5037-81fc-4246-96e5-b1353f339275.png":{x:2,y:2,w:516,h:108,ox:0,oy:0,sw:516,sh:108,ro:!1},"b48ee079-b3d7-4371-b294-944200eccba9.png":{x:2,y:112,w:137,h:74,ox:0,oy:0,sw:137,sh:74,ro:!1},"a122de8a-beed-4442-9252-8c047986f371.png":{x:141,y:112,w:134,h:24,ox:0,oy:0,sw:134,sh:24,ro:!1},"cd1a775d-36c9-4c8e-9c67-8191070068e9.png":{x:2,y:188,w:123,h:104,ox:0,oy:0,sw:123,sh:104,ro:!1},"7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png":{x:127,y:188,w:48,h:30,ox:0,oy:0,sw:48,sh:30,ro:!0},"ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png":{x:141,y:138,w:23,h:36,ox:0,oy:0,sw:23,sh:36,ro:!1},"845ae874-998e-4f68-8e79-641eb77466f3.png":{x:127,y:238,w:24,h:25,ox:0,oy:0,sw:24,sh:25,ro:!1},"7e4500a1-83be-4686-a46b-67147ed44ddd.png":{x:141,y:176,w:5,h:6,ox:0,oy:0,sw:5,sh:6,ro:!1}}},{keys:"noTimeBg.png,noTimeBtn.png",name:"NoTimePanel",atlas:{"noTimeBg.png":{x:2,y:2,w:581,h:547,ox:0,oy:0,sw:581,sh:547,ro:!1},"noTimeBtn.png":{x:2,y:551,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!1}}},{keys:"overBtn.png,overNoPrizeBg.png,overPrizeBg.png",name:"OverPanel",atlas:{"overPrizeBg.png":{x:2,y:2,w:581,h:843,ox:0,oy:0,sw:581,sh:843,ro:!1},"overNoPrizeBg.png":{x:585,y:2,w:581,h:577,ox:0,oy:0,sw:581,sh:577,ro:!0},"overBtn.png":{x:585,y:585,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!1}}},{keys:"rankBg.png,rankIcon.png",name:"RankPanel",atlas:{"rankBg.png":{x:2,y:2,w:581,h:944,ox:0,oy:0,sw:581,sh:944,ro:!1},"rankIcon.png":{x:585,y:2,w:34,h:42,ox:0,oy:0,sw:34,sh:42,ro:!1}}},{keys:"rankNoPrizeBg.png,rankNoPrizeBtn.png,rankPrizeBg.png,rankPrizeBtn.png",name:"RankPrizePanel",atlas:{"rankPrizeBg.png":{x:2,y:2,w:581,h:717,ox:0,oy:0,sw:581,sh:717,ro:!1},"rankNoPrizeBg.png":{x:585,y:2,w:581,h:546,ox:0,oy:0,sw:581,sh:546,ro:!0},"rankNoPrizeBtn.png":{x:585,y:585,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!1},"rankPrizeBtn.png":{x:2,y:721,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!1}}},{keys:"reviveBg.png,reviveCancel.png,reviveOk.png",name:"RevivePanel",atlas:{"reviveBg.png":{x:2,y:2,w:581,h:508,ox:0,oy:0,sw:581,sh:508,ro:!1},"reviveOk.png":{x:2,y:512,w:233,h:89,ox:0,oy:0,sw:233,sh:89,ro:!1},"reviveCancel.png":{x:237,y:512,w:224,h:85,ox:0,oy:0,sw:224,sh:85,ro:!1}}},{keys:"rulePanelBg.png,rulePanelBtn.png",name:"RulePanel",atlas:{"rulePanelBg.png":{x:2,y:2,w:581,h:717,ox:0,oy:0,sw:581,sh:717,ro:!1},"rulePanelBtn.png":{x:585,y:2,w:418,h:102,ox:0,oy:0,sw:418,sh:102,ro:!0}}},{keys:"comCloseBtn.png,com_bg.jpg,toastBg.png,waitingBg.png,waitingRot.png",name:"common",atlas:{"toastBg.png":{x:2,y:2,w:460,h:130,ox:0,oy:0,sw:460,sh:130,ro:!1},"waitingBg.png":{x:2,y:134,w:160,h:180,ox:0,oy:0,sw:160,sh:180,ro:!0},"comCloseBtn.png":{x:184,y:134,w:58,h:58,ox:0,oy:0,sw:58,sh:58,ro:!1},"waitingRot.png":{x:184,y:194,w:56,h:56,ox:0,oy:0,sw:56,sh:56,ro:!1}}},{keys:"gameMusicOff.png,gameMusicOn.png,gameScore+.png,gameScore0.png,gameScore1.png,gameScore2.png,gameScore3.png,gameScore4.png,gameScore5.png,gameScore6.png,gameScore7.png,gameScore8.png,gameScore9.png,guide.png",name:"game",atlas:{"guide.png":{x:2,y:2,w:320,h:416,ox:0,oy:0,sw:320,sh:416,ro:!1},"gameMusicOff.png":{x:324,y:2,w:82,h:82,ox:0,oy:0,sw:82,sh:82,ro:!1},"gameMusicOn.png":{x:324,y:86,w:82,h:82,ox:0,oy:0,sw:82,sh:82,ro:!1},"gameScore0.png":{x:324,y:170,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!0},"gameScore1.png":{x:324,y:216,w:28,h:56,ox:2,oy:0,sw:32,sh:56,ro:!0},"gameScore2.png":{x:324,y:246,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!0},"gameScore3.png":{x:324,y:292,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!0},"gameScore4.png":{x:324,y:338,w:44,h:56,ox:2,oy:0,sw:48,sh:56,ro:!1},"gameScore5.png":{x:408,y:2,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!1},"gameScore6.png":{x:408,y:60,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!1},"gameScore7.png":{x:408,y:118,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!1},"gameScore8.png":{x:382,y:176,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!0},"gameScore9.png":{x:382,y:222,w:44,h:56,ox:2,oy:0,sw:47,sh:56,ro:!0},"gameScore+.png":{x:382,y:268,w:42,h:40,ox:2,oy:8,sw:46,sh:56,ro:!1}}},{keys:"btnTipBg.png,prizeBtn.png,progressBg.png,progressFill.png,progressLabel.png,rankBtn.png,ruleBtn.png,startBtn.png,taskBtn.png",name:"index",atlas:{"progressBg.png":{x:2,y:2,w:750,h:188,ox:0,oy:0,sw:750,sh:188,ro:!1},"progressFill.png":{x:2,y:192,w:615,h:20,ox:0,oy:0,sw:615,sh:20,ro:!1},"startBtn.png":{x:2,y:214,w:490,h:111,ox:0,oy:0,sw:490,sh:111,ro:!1},"prizeBtn.png":{x:494,y:214,w:153,h:51,ox:0,oy:0,sw:153,sh:51,ro:!1},"taskBtn.png":{x:494,y:267,w:151,h:51,ox:0,oy:0,sw:151,sh:51,ro:!1},"btnTipBg.png":{x:2,y:327,w:147,h:36,ox:0,oy:0,sw:147,sh:36,ro:!1},"ruleBtn.png":{x:649,y:192,w:102,h:42,ox:0,oy:0,sw:102,sh:42,ro:!1},"rankBtn.png":{x:494,y:320,w:98,h:43,ox:0,oy:0,sw:98,sh:43,ro:!1},"progressLabel.png":{x:151,y:327,w:87,h:31,ox:0,oy:0,sw:87,sh:31,ro:!1}}},{keys:"loading_effect.png,loading_title.png",name:"loading",atlas:{"loading_effect.png":{x:2,y:2,w:665,h:121,ox:0,oy:0,sw:665,sh:121,ro:!1},"loading_title.png":{x:2,y:125,w:531,h:146,ox:0,oy:0,sw:531,sh:146,ro:!1}}}],path:"https://yun.duiba.com.cn/db_games/activity/template/1653551518/resource/"},as={x:0,y:0,type:"container",children:[]};var ns=FYGE.Tween,rs=FYGE.EventDispatcher,os=FYGE.RENDERER_TYPE,hs=FYGE.Event,cs=FYGE.getEnv,ls=FYGE.Texture;const ds=new rs;class ps{stage;requestID;_pause;canvas;constructor(t){let e;window||(FYGE.initedByCanvas(t),e=my.getSystemInfoSync());const s=this.stage=new FYGE.Stage(t,750,1624,e&&e.windowWidth||document.body.clientWidth,e&&e.windowHeight||document.body.clientHeight,os.WEBGL,!0,!1,e&&e.pixelRatio||window.devicePixelRatio||1,{antialias:!0});this.canvas=t,s.addEventListener(hs.INIT_STAGE,this.onAddToStage,this),this.loop()}loop=()=>{this._pause||(ns.flush(),this.stage.flush()),"tb"==cs()?this.requestID=this.canvas.requestAnimationFrame(this.loop):this.requestID=window.requestAnimationFrame(this.loop)};async onAddToStage(){E.init(this.stage),console.log("初始化层级完成"),t.loadConfig(is),console.log("初始化资源配置完成"),t.loadSkinConfig(as),console.log("初始化皮肤配置完成"),await t.loadGroup("common"),console.log("通用资源加载完成"),"web"==cs()&&document.getElementById("__loading__")&&(document.getElementById("__loading__").style.display="none"),await R.getGlobalData();const e=await R.getActivityBaseInfo();if(await t.getResAsync(R.activityBaseInfo.showImage||"https://yun.duiba.com.cn/aurora/assets/79e467e771f01e98fb1b6b7daa3cfeecb8584617.png"),!e)return void p("获取活动信息失败");await R.getGameInfo()?(R.checkPermission(),await Promise.all([ls.fromUrl("https://yun.duiba.com.cn/aurora/assets/923bcdee2d54f39797fb1cc5a79ab84da1bbe972.jpg"),ls.fromUrl("https://yun.duiba.com.cn/aurora/assets/92856abbb6293e863708fa2c0ea3556cf9b2afaa.jpg"),ls.fromUrl("https://yun.duiba.com.cn/aurora/assets/d660b9e12c66ad2c42fca23c57bf33db5009fedf.jpg"),ls.fromUrl("https://yun.duiba.com.cn/aurora/assets/a6903842083d8015e2e81d2dc652370574be6774.jpg")]),Ie.changeMusicStatus(!0),w(ts,{from:"main"})):p("获取游戏信息失败")}run(){this._pause=!1,ns._lastTime=null,ds.dispatchEvent({type:x.ON_SHOW})}pause(){ds.dispatchEvent({type:x.ON_HIDE})}addGlobalEvent(t,e,s,i=!1){i?ds.once(t,e,s):ds.addEventListener(t,e,s)}dispatchGlobalEvent(t,e){ds.dispatchEvent(t,e)}removeGlobalEvent(t,e,s){ds.removeEventListener(t,e,s)}destroy(){ns.removeAllTweens(),"tb"==FYGE.getEnv()?this.canvas.cancelAnimationFrame(this.requestID):window.cancelAnimationFrame(this.requestID),E.removeChildren(),E.parent&&E.parent.removeChild(E),v(),this.stage.destroy(),ds.removeAllEventListener()}}export{ds as GDispatcher,ps as Main};
//# sourceMappingURL=output.module.js.map
{"version":3,"file":"output.module.js","sources":["../../module/RES.ts","../../module/ctrls/waitingCtrl.ts","../../module/ctrls/toastCtrl.ts","../../module/ctrls/panelCtrl.ts","../../module/ctrls/sceneCtrl.ts","../../module/views/layers.ts","../../module/ctrls/index.ts","../../src/common/G_EVENT.ts","../../src/TaoBaoNet.ts","../../module/views/Module.ts","../../module/views/Scene.ts","../../module/views/Panel.ts","../../src/Tools.ts","../../src/UI.ts","../../src/panels/HelpPanel.ts","../../src/panels/NoTimePanel.ts","../../src/panels/RankNoPrizePanel.ts","../../module/views/Item.ts","../../src/panels/RankPanel.ts","../../src/panels/RankPrizePanel.ts","../../src/panels/RulePanel.ts","../../src/lotties/LoadingEffect.ts","../../src/scenes/Jump3D/MT.ts","../../src/panels/OverNoPrizePanel.ts","../../src/panels/OverPrizePanel.ts","../../src/panels/RevivePanel.ts","../../module/tools/GTool.ts","../../src/scenes/Jump3D/Box.ts","../../src/scenes/Jump3D/Particle.ts","../../src/scenes/Jump3D/Player.ts","../../src/scenes/Jump3D/Jump3d.ts","../../src/scenes/Jump3D/MusicBtn.ts","../../src/scenes/Jump3D/PlayScene.ts","../../src/scenes/LoadingScene.ts","../../src/scenes/IndexScene.ts","../../src/ResJson.ts","../../src/SkinJson.ts","../../src/Main.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["RES","resData","skinData","textureHash","videoEntityHash","soundHash","groupsCompleteHash","groupsPromiseHash","singleResPromiseHash","loadGroup","name","Promise","resolve","arr","group","getGroupByName","atlas","keys","concat","split","filter","k","substr","getGroupResByName","length","p","reject","callback","count","countAll","mark","i","getResAsync","res","str","this","loadResList","s","comFun","thisObj","type","substring","lastIndexOf","cached","FYGE","TextureCache","call","r","returnSingleResPromise","groupName","hasRes","json","then","src","resPath","GlobalLoader","loadImage","image","Texture","from","addToCache","SvgaParser","loadSvga","v","err","jsonData","data","t","createTextureSheet","BaseTexture","key","replace","getRes","groups","indexOf","getSkinDataByName","skinName","skinNode","children","child","gson","getDisplayByData","dis","Container","Button","props","tUp","tDown","tDisable","TextField","Sprite","source","Shape","beginFill","string2hex","fillColor","drawRect","width","height","endFill","alpha","position","set","x","y","loadConfig","path","getResByUrl","loadAllGroup","forEach","g","push","all","loadAllGroupForProgress","index","async","GDispatcher","dispatchEvent","loadSkinConfig","skinJson","initSkinDisplay","con","skin","root","addChild","id","destroyGroup","removedBase","baseTexture","destroy","_waiting","_parent","inited","showWaiting","msg","waiting","Waiting","layers","topLayer","offX","stageWidth","offY","stageHeight","stageOffsetX","stageOffsetY","bg","Graphics","addChildAt","initWaiting","show","hideWaiting","removeChild","constructor","super","rectBgTexture","rectBg","rotTexture","rot","anchorX","anchorY","addEventListener","Event","ENTER_FRAME","rotation","textWidth","textAlign","TEXT_ALIGN","CENTER","size","text","_toast","startY","endY","showToast","Toast","toastLayer","h","initToast","Tween","removeTweens","get","to","Ease","quartOut","wait","PADDING","mouseChildren","mouseEnable","toastBgTexture","verticalAlign","VERTICAL_ALIGN","MIDDLE","textHeight","PanelCtrl","_bg","stacks","static","instance","_instance","init","parent","hitTestByPixel","visible","closeAll","e","hidePanel","cls","panel","add","onLoaded","updateView","start","showAni","onLoadError","removeEventListener","onPanelHide","remove","bgAni","showPanelAni","cubicOut","_current","target","currentPanel","closeCurrent","SceneCtrl","_currentScene","change","scene","preScene","currentScene","Layers","_bottomLayer","_sceneLayer","_popupLayer","_toastLayer","_topLayer","_shareLayer","stage","shareLayer","sceneLayer","popupLayer","bottomLayer","viewRect","showPanel","changeScene","obj","isRecursive","destroyAllCtrls","destroyed","G_EVENT","TbNetName","Module","preLoadRes","initUi","groupNames","initEvents","removeEvents","enableMouseEvt","enable","btnDelay","delay","setTimeout","Scene","updateScene","Panel","isShowing","oriY","closeBtns","btn","MouseEvent","CLICK","dataRecord","sendTbNet","netName","parameter","hideMsg","my","netInfo","url","response","fetch","fetchAsync","success","message","console","log","fun","d","LogTbEnum","TBPRIZE_TYPE","goTask","openTask","Tools","getAppData","globalData","openId","rule","startTime","endTime","activityStatus","openPrizeStatus","totalScore","showImage","getActivityBaseInfoById","activityBaseInfo","score","gameTimes","isFirstEnterGame","getGameInfo","gameInfo","getVipInfo","isVip","tbMy","osType","cloud","getApp","file","getTempFileURL","fileId","downloadFile","apFilePath","getFileSystemManager","readFile","filePath","fail","align","LEFT","RIGHT","percent","sleep","time","Lottie","BitmapText","UI","enImg","func","that","tImg","disImg","undefined","imageName","sprite","texture","fromUrl","ctn","txt","color","bold","radius","shape","drawRoundedRect","lottie","graphics","scaleX","scaleY","gap","bitTxt","scale","HelpPanel","vip","queryVip","Sp","doHelp","inviteId","addData","code","openMember","NoTimePanel","IndexScene","RankNoPrizePanel","rank","rankTxt","Txt","Item","updateData","initData","resetData","ScrollList","RankPanel","timeLabel","mRank","mNick","mScore","rankList","prizeList","endDate","Date","getMonth","getDate","getHours","RankItem","PrizeItem","getRankList","userNick","list","maxDistance","prizeData","getPrizeList","nick","icon","prizeImg","nameLabel","anchorTexture","rankArr","RankPrizePanel","clickPrizeBtn","img","prize","getUserAddress","prizeId","_id","TEXT_lINETYPE","ScrollPage","RulePanel","ruleTex","scroll","lineType","MULTI","view","LoadingEffect","fr","ip","op","w","nm","ind","ty","refId","ks","o","a","markers","tm","cm","dr","loadGltf","Scene3D","Vector2","glbCache","getGlbFromCache","newScene","copy","M_loadGLB","error","BoxType","typeArr","Cinema","Cube1","Cube2","ChocolateShop","TennisCourt","TennisBarrel","FlowerShop","FILAShop","Logo1","Logo2","ir","GlobalConfig","playerConfig","tbsrc","boxConfig","ow","oz","dx","dz","testFun","getBoxConfig","config","getEnv","TestFun","rect","c","pc","sub","Math","abs","circle","distanceTo","probabilityConfig","probability","sort","b","pTotal","OverNoPrizePanel","again","startData","startGame","LoadingScene","OverPrizePanel","prizeInfo","receiveEnamePrize","drawStatus","RevivePanel","doRevive","revive","continueGame","gameId","isContinue","once","submit","GTool","getStorageSync","localStorage","getItem","value","setStorageSync","setItem","cacheKey","year1","readCache","month1","day1","date","year2","getFullYear","toString","month2","day2","int","writeCache","n","floor","random","splice","num","end","number","temp","shuffled","slice","min","arrCopy","outArr","rand","ele","timeStamp","hours","minutes","seconds","realLength","len","charCode","charCodeAt","limit","tailStr","out","BaseMaterial","CircleGeometry","Mesh3D","Object3D","PlaneGeometry","Box","mesh","point","rotationX","z","useShadow","castShadow","receiveShadow","outArea","px","pz","tx","tz","dv","pd","fallAxis","verFall","fallDir","particleGeo","particleMatGreen","particleMatWhite","Particle","ParticleEmitter","particles","cacheParticles","startTween","startLanding","createParticle","randomT","material","stop","startPush","loop","rang","shift","Direction","RingGeometry","ringGeo","Player","particleEmitter","getPlayerConfig","camera","lookAt","playY","bounceOut","quadOut","quadIn","left","doubleEffect","ring","oad","fd","fa","box","rotationY","rotationZ","AmbientLight","cameraPos","Vector3","Jump3d","player","cacheBox","curBox","nextBox","canMove","direction","right","outBox","pushParticle","pushObj","bonusScore","specialBonusTween","initScene","addEvents","reset","setView","viewX","viewY","viewWidth","viewHeight","moveCamera","createBox","last","now","l","getBoxType","onUp","jump","outAreaNext","die","GameEvent","AddScore","cx","cz","addRect","onDown","removeTweenSelf","onChange","MOUSE_UP","MOUSE_DOWN","onUpdate","camX","camZ","sineInOut","getBackOut","fall","GameOver","MusicBtn","on","off","status","btns","changeTexture","openMusic","isOn","onClick","changeMusicStatus","PlayScene","scoreTxt","musicButton","jump3d","addScoreLabel","_score","showGuide","addScore","gameOver","txtObj","getNumTextures","stagePos","_y","beMember","submitGame","reviveGame","isGetPrize","getScore","maxScore","avatar","JSON","stringify","ani","play","PROGRESS","progressEvent","loadPromise","pro","prizeBtn","taskBtn","ruleBtn","rankBtn","startBtn","paper","progress","IndexProgress","clickBtn","updateIndex","getActivityBaseInfo","getMyRankPrize","showAwardDialog","judgeRule","newUser","navigateTo","_value","miracleTxt","fill","mask","ProgressLabel","label","ResJson","ox","oy","sw","sh","ro","SkinJson","EventDispatcher","RENDERER_TYPE","Main","requestID","_pause","canvas","sysInfo","window","initedByCanvas","getSystemInfoSync","Stage","windowWidth","document","body","clientWidth","windowHeight","clientHeight","WEBGL","pixelRatio","devicePixelRatio","antialias","INIT_STAGE","onAddToStage","flush","requestAnimationFrame","getElementById","style","display","getGlobalData","baseSuccess","checkPermission","run","_lastTime","ON_SHOW","pause","ON_HIDE","addGlobalEvent","dispatchGlobalEvent","removeGlobalEvent","removeAllTweens","cancelAnimationFrame","removeChildren","removeAllEventListener"],"mappings":"AAsEM,IAAWA,GAAjB,SAAiBA,GACb,IAAIC,EAmZAC,EA3YAC,EAEA,GAIAC,EAEA,GAIAC,EAAY,GAIZC,EAEA,GAIAC,EAEA,GAIAC,EAEA,GAwBJ,SAAgBC,E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U,EACVoO,GAAM,CACLC,EAAK,CACJxZ,EAAK,GAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,EAAK,EACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,KACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,KACA,MACD,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,EACA,EACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,MACA,MACA,OAIHgZ,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,MACNhO,OAAU,EACVmO,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,KAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,GAAM,EACN9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,EACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,IACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,OACA,QACD,IAGF,CACC8B,EAAK,YACL9B,EAAK,EACH,OACA,IACD,MAKJyY,EAAK,CACJzZ,EAAK,CACJ,GACA,KACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,QACA,QACA,OAIHgZ,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,MACNhO,OAAU,EACVmO,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,KAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,EACA,OACA,IAGFyZ,EAAK,CACJzZ,EAAK,CACJ,KACA,GACA,IAGFgB,EAAK,CACJhB,EAAK,CACJ,CACC8C,GAAM,EACN9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,EACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,MACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,OACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,OACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,OACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,GACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,QACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,IACL9B,EAAK,CACJ,QACA,QACA,MAGF,CACC8B,EAAK,YACL9B,EAAK,CACJ,QACA,QACA,SAMLgY,IAAO,EACPC,GAAM,KAEP,CACCG,IAAO,GACPC,GAAM,EACNF,GAAM,OACNhO,OAAU,EACVmO,MAAS,uCACTC,GAAM,CACLC,EAAK,CACJxZ,EAAK,QAEN0B,EAAK,CACJ1B,EAAK,GAENI,EAAK,CACJJ,EAAK,CACJ,CACC8C,EAAK,EACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,MACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,OACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,GACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,EACH,QACA,MACD,IAGF,CACC8B,EAAK,QACL9B,EAAK,EACH,SACA,GACD,IAGF,CACC8B,EAAK,IACL9B,EAAK,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4,34 @@ ...@@ -4,30 +4,34 @@
* Copyright © 2021 haiyoucuv. All rights reserved. * Copyright © 2021 haiyoucuv. All rights reserved.
*/ */
import json from "@rollup/plugin-json"; import chalk from 'chalk';
import typescript from "@rollup/plugin-typescript";
import childProcess from "child_process";
import * as fs from "fs"; import * as fs from "fs";
import * as path from "path"; import * as path from "path";
import * as rollup from "rollup"; import * as rollup from "rollup";
import livereload from "rollup-plugin-livereload"; import json from "@rollup/plugin-json";
import progress from "rollup-plugin-progress";
import replace from "rollup-plugin-replace";
import serve from "rollup-plugin-serve";
import resolve from "@rollup/plugin-node-resolve"; import resolve from "@rollup/plugin-node-resolve";
import typescript from "@rollup/plugin-typescript";
import commonjs from "rollup-plugin-commonjs"; import commonjs from "rollup-plugin-commonjs";
import glslLoader from "rollup-plugin-glsl-loader"; import glslLoader from "rollup-plugin-glsl-loader";
import livereload from "rollup-plugin-livereload";
import progress from "rollup-plugin-progress";
import serve from "rollup-plugin-serve";
import colors from "colors"; import BannerVariable from "./config/plugins/BannerVariable/index.mjs";
import { _debounce, runScript } from "./config/utils/utils.mjs";
const argv = process.argv; const argv = process.argv;
const port = +argv[argv.indexOf("-p") + 1] || 8080; const port = +argv[argv.indexOf("-p") + 1] || 8080;
const open = +argv[argv.indexOf("-open") + 1] || false; const open = +argv[argv.indexOf("-open") + 1] || false;
const { version } = JSON.parse(fs.readFileSync("./package.json", "utf-8"));
watchResChange(); watchResChange();
const options = { const options = {
input: "src/Main.ts", // input: "src/Main.ts",
input: "src/index.ts",
cache: true, cache: true,
output: [ output: [
{ {
...@@ -44,16 +48,20 @@ const options = { ...@@ -44,16 +48,20 @@ const options = {
], ],
onwarn(warning) { onwarn(warning) {
if (warning.code !== 'CIRCULAR_DEPENDENCY') { if (warning.code !== 'CIRCULAR_DEPENDENCY') {
console.log(colors.red(`\n(!) ${warning.message}`)); console.log(chalk.red(`\n(!) ${warning.message}`));
} }
}, },
plugins: [ plugins: [
progress(), progress(),
replace({ BannerVariable({
ENV: JSON.stringify(process.env.NODE_ENV || 'development'), values: {
__ENV__: JSON.stringify(process.env.NODE_ENV || 'development'),
__version__: JSON.stringify(version),
__buildDate__: JSON.stringify(new Date()),
}
}), }),
resolve(),
typescript({ tsconfig: "./tsconfig.json" }), typescript({ tsconfig: "./tsconfig.json" }),
resolve(),
commonjs(), commonjs(),
json(), json(),
glslLoader({ glslLoader({
...@@ -92,37 +100,7 @@ function watchResChange() { ...@@ -92,37 +100,7 @@ function watchResChange() {
|| filename === "res.json" || filename === "res.json"
|| filename === "skin.json" || filename === "skin.json"
) return; ) return;
runScript(flushScript, (err) => err && console.log(err)); runScript(flushScript, (err) => err && console.error(err));
})); }));
runScript(flushScript, (err) => err && console.log(err)); runScript(flushScript, (err) => err && console.error(err));
}
function runScript(scriptPath, callback) {
let invoked = false;
const process = childProcess.fork(scriptPath);
process.on('error', (err) => {
if (invoked) return;
invoked = true;
callback(err);
});
process.on('exit', (code) => {
if (invoked) return;
invoked = true;
const err = code === 0 ? null : new Error('exit code ' + code);
callback(err);
});
}
function _debounce(fn, delay = 1000) {
let timer = null;
return function (...args) {
timer && clearTimeout(timer);
timer = setTimeout(fn, delay, ...args);
};
} }
...@@ -5,13 +5,16 @@ ...@@ -5,13 +5,16 @@
*/ */
import json from "@rollup/plugin-json"; import json from "@rollup/plugin-json";
import resolve from "@rollup/plugin-node-resolve";
import typescript from "@rollup/plugin-typescript"; import typescript from "@rollup/plugin-typescript";
import fs from "fs";
import commonjs from "rollup-plugin-commonjs";
import glslLoader from "rollup-plugin-glsl-loader"; import glslLoader from "rollup-plugin-glsl-loader";
import progress from "rollup-plugin-progress"; import progress from "rollup-plugin-progress";
import replace from "rollup-plugin-replace";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import { terser } from "rollup-plugin-terser"; import { terser } from "rollup-plugin-terser";
import BannerVariable from "./config/plugins/BannerVariable/index.mjs";
const { version } = JSON.parse(fs.readFileSync("./package.json", "utf-8"));
export default { export default {
input: "src/Main.ts", input: "src/Main.ts",
...@@ -30,10 +33,14 @@ export default { ...@@ -30,10 +33,14 @@ export default {
], ],
plugins: [ plugins: [
progress(), progress(),
replace({ BannerVariable({
ENV: JSON.stringify(process.env.NODE_ENV || 'prod'), values: {
__ENV__: JSON.stringify(process.env.NODE_ENV || 'development'),
__version__: JSON.stringify(version),
__buildDate__: JSON.stringify(new Date()),
}
}), }),
resolve({ preferBuiltins: true }), resolve(),
typescript({ sourceMap: true, watch: false, }), typescript({ sourceMap: true, watch: false, }),
commonjs(), commonjs(),
json(), json(),
......
...@@ -7,7 +7,6 @@ const chalk = require('chalk'); ...@@ -7,7 +7,6 @@ const chalk = require('chalk');
const ProgressBar = require('progress'); const ProgressBar = require('progress');
const iconv = require('iconv-lite'); const iconv = require('iconv-lite');
const colors = require("colors");
const config = require("../project.json"); const config = require("../project.json");
...@@ -136,7 +135,7 @@ if (!config.name) { ...@@ -136,7 +135,7 @@ if (!config.name) {
const now = new Date(); const now = new Date();
const version = Math.round(now.getTime() / 1000); const version = Math.round(now.getTime() / 1000);
console.log(colors.bgMagenta(`资源版本号:\n${version}`)); console.log(chalk.bgMagenta(`资源版本号:\n${version}`));
const autoupload = new TuiaAutoUpload({ const autoupload = new TuiaAutoUpload({
dir: './released/', dir: './released/',
......
...@@ -3,7 +3,7 @@ const co = require('co'); ...@@ -3,7 +3,7 @@ const co = require('co');
const OSS = require('ali-oss'); const OSS = require('ali-oss');
const config = require("../project.json"); const config = require("../project.json");
const colors = require("colors"); const chalk = require('chalk');
//只打包js时,自执行上传 //只打包js时,自执行上传
uploadSingleJs(); uploadSingleJs();
...@@ -27,7 +27,7 @@ function uploadSingleJs(url) { ...@@ -27,7 +27,7 @@ function uploadSingleJs(url) {
require("./createHtml")(`${config.type}/${config.name}/${version}`); require("./createHtml")(`${config.type}/${config.name}/${version}`);
console.log(colors.bgGreen(`版本号:\n${version}`)); console.log(chalk.bgGreen(`版本号:\n${version}`));
} }
......
import { ajax, jsonp } from "../module/ajax"
import { showToast } from "../module/ctrls"
import { duiba_md5 } from "../module/tools/security"
//////////补给站用到的接口集成
//部分情况需要,比如duiba_md5,需跳转下载的
// <script crossorigin="anonymous" src="//yun.duiba.com.cn/db_games/libs/zepto_security_downloadApp.min.js"></script>
/**
* 获取基本信息
*/
export function ajaxElement(): Promise<{ success: boolean, data?: any }> {
return new Promise((r) => {
ajax({
url: "/hdtool/recon/ajaxElement", //请求地址
type: "GET",//"POST", //请求方式
data: {
duibaId: window['CFG'].hdToolId,
activityId: window['CFG'].actId,
}, //请求参数
dataType: "json", // 返回值类型的设定,暂时只有json
async: true, //是否异步
// headers: headers,
success: function (res) {
if (!res.success) showToast(res.desc || "网络异常,请稍后再试")
r(res)
},
error: function (status) {
showToast("网络异常,请稍后再试")
r({ success: false })
},
})
})
}
/**
* 参与游戏
*/
export function doJoin(): Promise<{ success: boolean, data?: any }> {
return new Promise(async (r) => {
//获取token
var token = await getTokenHdtool();
if (!token) {//如果没有token
showToast("token获取失败")
r({ success: false })
return
}
ajax({
url: "/hdtool/recon/doJoin",
type: "GET",//"POST", //请求方式
data: {
token,
activityId: window['CFG'].actId,
activityType: "hdtool",
consumerId: window['CFG'].consumerId
}, //请求参数
dataType: "json", // 返回值类型的设定,暂时只有json
async: true, //是否异步
// headers: headers,
success: function (res) {
if (!res.success) showToast(res.desc || "网络异常,请稍后再试")
r(res)
},
error: function (status) {
showToast("网络异常,请稍后再试")
r({ success: false })
},
})
})
}
/**
* 开始游戏轮询
* @param orderId doJoin返回的数据中的data字段
*/
export function getNgameStartStatus(orderId): Promise<any> {
let count = 0;
return new Promise((resolve) => {
(async function ask(r) {
const data = await getN(orderId);
if (data.code == "0000000000") {
r(data);
} else {
//超过10次的话,提示下
if (++count >= 10) {
showToast("获取开始游戏信息失败\n请稍后重试")
r({ success: false })
return
}
setTimeout(() => { ask(r) }, 500)
}
})(resolve)
})
}
function getN(orderId): Promise<{ success: boolean, data?: any, code?: string }> {
return new Promise((r) => {
ajax({
url: "/hdtool/recon/ngame/getNgameStartStatus",
type: "GET",//"POST", //请求方式
data: {
orderId,
}, //请求参数
dataType: "json", // 返回值类型的设定,暂时只有json
async: true, //是否异步
// headers: headers,
success: function (res) {
r(res)
},
error: function (status) {
r({ success: false })
},
})
})
}
/**
*
* @param orderId doJoin里的数据data字段
* @param score 分数可能传1
* @param submitToken 轮询数据里的data.submitToken
*/
export function submit(orderId: string, score: number, submitToken: string): Promise<{ success: boolean, data?: any }> {
let gameData = "[]";
// let sgin = window['duiba_md5'](orderId + '' + score + '' + gameData + '' + submitToken);
let sgin = duiba_md5(orderId + '' + score + '' + gameData + '' + submitToken);
let dynamicData = JSON.stringify(`{t2:${new Date().getTime()}}`);
const param: any = {
orderId,
score,
gameData,
sgin,
dynamicData
};
return new Promise((r) => {
ajax({
url: "/hdtool/recon/ngame/ngameSubmit",
type: "POST", //请求方式
data: param, //请求参数
dataType: "json", // 返回值类型的设定,暂时只有json
async: true, //是否异步
// headers: headers,
success: function (res) {
if (!res.success) showToast(res.desc || "网络异常,请稍后再试")
r(res)
},
error: function (status) {
showToast("网络异常,正在重试中")
r({ success: false })
},
})
})
}
/**
* 获取奖品信息,这里面的data.element用于更新ajaxElement,要轮询
* @param orderId doJoin里的数据data字段
*/
export function getOrderStatus(orderId): Promise<{ success: boolean, data?: any }> {
let count = 0;
return new Promise((resolve) => {
(async function ask(r) {
const data = await getO(orderId);
if (data.code == "0000000000") {
r(data);
} else {
//超过10次的话,提示下
if (++count >= 10) {
showToast("获取开始游戏信息失败\n请稍后重试")
r({ success: false })
return
}
setTimeout(() => { ask(r) }, 500)
}
})(resolve)
})
}
function getO(orderId): Promise<{ success: boolean, data?: any, code?: string }> {
return new Promise((r) => {
ajax({
url: "/hdtool/recon/getOrderStatus", //请求地址
type: "GET",//"POST", //请求方式
data: {
orderId
}, //请求参数
dataType: "json", // 返回值类型的设定,暂时只有json
async: true, //是否异步
// headers: headers,
success: function (res) {
r(res)
},
error: function (status) {
r({ success: false })
},
})
})
}
/**
* 补给站获取token
*/
function getTokenHdtool(): Promise<string> {
return new Promise((r) => {
if (window.location.port == "8080") {//本地开发
r("token")
} else {
if (!window['getDuibaToken']) {
r(null);
} else {
window['getDuibaToken']((tokenObj) => {
r(tokenObj.token);
}, (key, messageObj) => {
r(null);
});
}
}
})
}
/**
* 获取我的奖品链接,老活动工具 window.location.href = getRecordUrl('00');
* @param type
* @param ids
*/
export function getRecordUrl(type: '00', ids?) {
let recordUrl;
let oaId;
oaId = window["CFG"].oaId;
recordUrl = window["CFG"].recordUrl;
if (!ids) {
ids = [oaId];
}
let i = 0;
const len = ids.length;
for (i; i < len; i++) {
if (window.location.href.indexOf("?") == -1) {
recordUrl += '?origins=' + ids[i] + type;
} else {
recordUrl += '&origins=' + ids[i] + type;
}
}
return recordUrl;
}
/**
* 补给站埋点
* @param type
* @param area
*/
export function sendLogBuji(type: 'exposure' | 'click', area: number) {
var appId = window["CFG"].appId;
var oaId = window["CFG"].oaId;
var dpm = appId + '.' + 263 + '.' + area + '.' + 1;//怎么拼按具体需求
var dcm = 202 + '.' + oaId + '.0.0';//怎么拼按具体需求
let params: any = {
dpm,
dcm,
appId,
consumerId: window["CFG"].consumerId,
domain: '//embedlog.duiba.com.cn'
};
let isExposure = (type == "exposure");
if (isExposure) {
jsonp('//embedlog.duiba.com.cn/exposure/standard', params);
} else {
jsonp('/log/click', params);
}
}
//补给站老活动会用到
window["CFG"] = {
actId: '143212468677481',
oaId: '143212468677481',
unitName: '猫币',
btnUnitName: '猫币',
doJoin: '/hdtool/doJoin?dpm=1.3.1.0&activityId=143212468677481',
quireOrder: '/hdtool/getOrderStatus',
styleConfig: '/hdtool/getHdtoolConfig',
getElement: '/hdtool/ajaxElement',
getPrizeDetail: '/hdtool/prizeDetail',
ajaxThroughInfo: '/hdtool/ajaxThroughInfo',
throughSubmit: '/hdtool/throughSubmit',
gameGetOrder: '/hdtool/getOrderInfo',//游戏获取订单信息接口
gameSubmit: '/hdtool/gameSubmit',//游戏结果提交接口
doSubmit: '/hdtool/submit',
adslotId: '',
consumerId: '1',
isNotLoginUser: false,
uid: '1',
hdType: 'duiba',
hdToolId: '43743',
appType: 'credits',
subType: 'lotteryMachine',
directSendCoupon: 'false',
ajaxAction: '',
recommendQueue: '/recommend/getRecommend',
recommendSkin: '/recommend/getRecommendSkin',
isShowDetail: true,
preview: false,
from: '',
login: '//activity.m.duiba.com.cn/hdtool/login?dpm=1.3.3.0',
flowRedirectUrl: '',
flowRedirectTuiaUrl: '',
isOpenRecommend: false,
getCreditsLink: 'mxsa://magicshop/cointask?uid=1&dbnewopen',
appId: '1',
recordUrl: '//activity.m.duiba.com.cn/crecord/record?dbnewopen&dpm=1.3.2.0',
shareDesc: '分享分享文案文案',
entranceDesc: '测试领奖,也可到我的奖品领奖哦!!!',
isSHowMeat: true,
needCouponModal: true, // 给前端用,判断是否需要使用配置的优惠券弹窗
needRecommendModal: true, // 给前端用,判断是否需要公用推荐位弹窗
asyncFiles: [], // 给前端用,异步加载的文件
shareAndroidLinkActivity: 'http://www.baidu.com',
shareIosLinkActivity: 'http://www.iqiyi.com'
};
...@@ -2,681 +2,52 @@ export const ResJson = { ...@@ -2,681 +2,52 @@ export const ResJson = {
"groups": [ "groups": [
{ {
"keys": "helpBg.png,helpBtn.png", "keys": "helpBg.png,helpBtn.png",
"name": "HelpPanel", "name": "HelpPanel"
"atlas": {
"helpBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 547,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 547,
"ro": false
},
"helpBtn.png": {
"x": 2,
"y": 551,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": false
}
}
}, },
{ {
"keys": "5cab5037-81fc-4246-96e5-b1353f339275.png,7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png,7e4500a1-83be-4686-a46b-67147ed44ddd.png,845ae874-998e-4f68-8e79-641eb77466f3.png,a122de8a-beed-4442-9252-8c047986f371.png,ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png,b48ee079-b3d7-4371-b294-944200eccba9.png,cd1a775d-36c9-4c8e-9c67-8191070068e9.png", "keys": "5cab5037-81fc-4246-96e5-b1353f339275.png,7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png,7e4500a1-83be-4686-a46b-67147ed44ddd.png,845ae874-998e-4f68-8e79-641eb77466f3.png,a122de8a-beed-4442-9252-8c047986f371.png,ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png,b48ee079-b3d7-4371-b294-944200eccba9.png,cd1a775d-36c9-4c8e-9c67-8191070068e9.png",
"name": "LoadingEffect", "name": "LoadingEffect"
"atlas": {
"5cab5037-81fc-4246-96e5-b1353f339275.png": {
"x": 2,
"y": 2,
"w": 516,
"h": 108,
"ox": 0,
"oy": 0,
"sw": 516,
"sh": 108,
"ro": false
},
"b48ee079-b3d7-4371-b294-944200eccba9.png": {
"x": 2,
"y": 112,
"w": 137,
"h": 74,
"ox": 0,
"oy": 0,
"sw": 137,
"sh": 74,
"ro": false
},
"a122de8a-beed-4442-9252-8c047986f371.png": {
"x": 141,
"y": 112,
"w": 134,
"h": 24,
"ox": 0,
"oy": 0,
"sw": 134,
"sh": 24,
"ro": false
},
"cd1a775d-36c9-4c8e-9c67-8191070068e9.png": {
"x": 2,
"y": 188,
"w": 123,
"h": 104,
"ox": 0,
"oy": 0,
"sw": 123,
"sh": 104,
"ro": false
},
"7458bc9a-d07d-4a7c-972b-4de7ed7c040d.png": {
"x": 127,
"y": 188,
"w": 48,
"h": 30,
"ox": 0,
"oy": 0,
"sw": 48,
"sh": 30,
"ro": true
},
"ad9681a6-9eb2-40ad-8c2c-0b3ad121a00d.png": {
"x": 141,
"y": 138,
"w": 23,
"h": 36,
"ox": 0,
"oy": 0,
"sw": 23,
"sh": 36,
"ro": false
},
"845ae874-998e-4f68-8e79-641eb77466f3.png": {
"x": 127,
"y": 238,
"w": 24,
"h": 25,
"ox": 0,
"oy": 0,
"sw": 24,
"sh": 25,
"ro": false
},
"7e4500a1-83be-4686-a46b-67147ed44ddd.png": {
"x": 141,
"y": 176,
"w": 5,
"h": 6,
"ox": 0,
"oy": 0,
"sw": 5,
"sh": 6,
"ro": false
}
}
}, },
{ {
"keys": "noTimeBg.png,noTimeBtn.png", "keys": "noTimeBg.png,noTimeBtn.png",
"name": "NoTimePanel", "name": "NoTimePanel"
"atlas": {
"noTimeBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 547,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 547,
"ro": false
},
"noTimeBtn.png": {
"x": 2,
"y": 551,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": false
}
}
}, },
{ {
"keys": "overBtn.png,overNoPrizeBg.png,overPrizeBg.png", "keys": "overBtn.png,overNoPrizeBg.png,overPrizeBg.png",
"name": "OverPanel", "name": "OverPanel"
"atlas": {
"overPrizeBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 843,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 843,
"ro": false
},
"overNoPrizeBg.png": {
"x": 585,
"y": 2,
"w": 581,
"h": 577,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 577,
"ro": true
},
"overBtn.png": {
"x": 585,
"y": 585,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": false
}
}
}, },
{ {
"keys": "rankBg.png,rankIcon.png", "keys": "rankBg.png,rankIcon.png",
"name": "RankPanel", "name": "RankPanel"
"atlas": {
"rankBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 944,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 944,
"ro": false
},
"rankIcon.png": {
"x": 585,
"y": 2,
"w": 34,
"h": 42,
"ox": 0,
"oy": 0,
"sw": 34,
"sh": 42,
"ro": false
}
}
}, },
{ {
"keys": "rankNoPrizeBg.png,rankNoPrizeBtn.png,rankPrizeBg.png,rankPrizeBtn.png", "keys": "rankNoPrizeBg.png,rankNoPrizeBtn.png,rankPrizeBg.png,rankPrizeBtn.png",
"name": "RankPrizePanel", "name": "RankPrizePanel"
"atlas": {
"rankPrizeBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 717,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 717,
"ro": false
},
"rankNoPrizeBg.png": {
"x": 585,
"y": 2,
"w": 581,
"h": 546,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 546,
"ro": true
},
"rankNoPrizeBtn.png": {
"x": 585,
"y": 585,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": false
},
"rankPrizeBtn.png": {
"x": 2,
"y": 721,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": false
}
}
}, },
{ {
"keys": "reviveBg.png,reviveCancel.png,reviveOk.png", "keys": "reviveBg.png,reviveCancel.png,reviveOk.png",
"name": "RevivePanel", "name": "RevivePanel"
"atlas": {
"reviveBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 508,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 508,
"ro": false
},
"reviveOk.png": {
"x": 2,
"y": 512,
"w": 233,
"h": 89,
"ox": 0,
"oy": 0,
"sw": 233,
"sh": 89,
"ro": false
},
"reviveCancel.png": {
"x": 237,
"y": 512,
"w": 224,
"h": 85,
"ox": 0,
"oy": 0,
"sw": 224,
"sh": 85,
"ro": false
}
}
}, },
{ {
"keys": "rulePanelBg.png,rulePanelBtn.png", "keys": "rulePanelBg.png,rulePanelBtn.png",
"name": "RulePanel", "name": "RulePanel"
"atlas": {
"rulePanelBg.png": {
"x": 2,
"y": 2,
"w": 581,
"h": 717,
"ox": 0,
"oy": 0,
"sw": 581,
"sh": 717,
"ro": false
},
"rulePanelBtn.png": {
"x": 585,
"y": 2,
"w": 418,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 418,
"sh": 102,
"ro": true
}
}
}, },
{ {
"keys": "comCloseBtn.png,com_bg.jpg,toastBg.png,waitingBg.png,waitingRot.png", "keys": "comCloseBtn.png,com_bg.jpg,toastBg.png,waitingBg.png,waitingRot.png",
"name": "common", "name": "common"
"atlas": {
"toastBg.png": {
"x": 2,
"y": 2,
"w": 460,
"h": 130,
"ox": 0,
"oy": 0,
"sw": 460,
"sh": 130,
"ro": false
},
"waitingBg.png": {
"x": 2,
"y": 134,
"w": 160,
"h": 180,
"ox": 0,
"oy": 0,
"sw": 160,
"sh": 180,
"ro": true
},
"comCloseBtn.png": {
"x": 184,
"y": 134,
"w": 58,
"h": 58,
"ox": 0,
"oy": 0,
"sw": 58,
"sh": 58,
"ro": false
},
"waitingRot.png": {
"x": 184,
"y": 194,
"w": 56,
"h": 56,
"ox": 0,
"oy": 0,
"sw": 56,
"sh": 56,
"ro": false
}
}
}, },
{ {
"keys": "gameMusicOff.png,gameMusicOn.png,gameScore+.png,gameScore0.png,gameScore1.png,gameScore2.png,gameScore3.png,gameScore4.png,gameScore5.png,gameScore6.png,gameScore7.png,gameScore8.png,gameScore9.png,guide.png", "keys": "gameMusicOff.png,gameMusicOn.png,gameScore+.png,gameScore0.png,gameScore1.png,gameScore2.png,gameScore3.png,gameScore4.png,gameScore5.png,gameScore6.png,gameScore7.png,gameScore8.png,gameScore9.png,guide.png",
"name": "game", "name": "game"
"atlas": {
"guide.png": {
"x": 2,
"y": 2,
"w": 320,
"h": 416,
"ox": 0,
"oy": 0,
"sw": 320,
"sh": 416,
"ro": false
},
"gameMusicOff.png": {
"x": 324,
"y": 2,
"w": 82,
"h": 82,
"ox": 0,
"oy": 0,
"sw": 82,
"sh": 82,
"ro": false
},
"gameMusicOn.png": {
"x": 324,
"y": 86,
"w": 82,
"h": 82,
"ox": 0,
"oy": 0,
"sw": 82,
"sh": 82,
"ro": false
},
"gameScore0.png": {
"x": 324,
"y": 170,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": true
},
"gameScore1.png": {
"x": 324,
"y": 216,
"w": 28,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 32,
"sh": 56,
"ro": true
},
"gameScore2.png": {
"x": 324,
"y": 246,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": true
},
"gameScore3.png": {
"x": 324,
"y": 292,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": true
},
"gameScore4.png": {
"x": 324,
"y": 338,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 48,
"sh": 56,
"ro": false
},
"gameScore5.png": {
"x": 408,
"y": 2,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": false
},
"gameScore6.png": {
"x": 408,
"y": 60,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": false
},
"gameScore7.png": {
"x": 408,
"y": 118,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": false
},
"gameScore8.png": {
"x": 382,
"y": 176,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": true
},
"gameScore9.png": {
"x": 382,
"y": 222,
"w": 44,
"h": 56,
"ox": 2,
"oy": 0,
"sw": 47,
"sh": 56,
"ro": true
},
"gameScore+.png": {
"x": 382,
"y": 268,
"w": 42,
"h": 40,
"ox": 2,
"oy": 8,
"sw": 46,
"sh": 56,
"ro": false
}
}
}, },
{ {
"keys": "btnTipBg.png,prizeBtn.png,progressBg.png,progressFill.png,progressLabel.png,rankBtn.png,ruleBtn.png,startBtn.png,taskBtn.png", "keys": "btnTipBg.png,prizeBtn.png,progressBg.png,progressFill.png,progressLabel.png,rankBtn.png,ruleBtn.png,startBtn.png,taskBtn.png",
"name": "index", "name": "index"
"atlas": {
"progressBg.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 188,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 188,
"ro": false
},
"progressFill.png": {
"x": 2,
"y": 192,
"w": 615,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 615,
"sh": 20,
"ro": false
},
"startBtn.png": {
"x": 2,
"y": 214,
"w": 490,
"h": 111,
"ox": 0,
"oy": 0,
"sw": 490,
"sh": 111,
"ro": false
},
"prizeBtn.png": {
"x": 494,
"y": 214,
"w": 153,
"h": 51,
"ox": 0,
"oy": 0,
"sw": 153,
"sh": 51,
"ro": false
},
"taskBtn.png": {
"x": 494,
"y": 267,
"w": 151,
"h": 51,
"ox": 0,
"oy": 0,
"sw": 151,
"sh": 51,
"ro": false
},
"btnTipBg.png": {
"x": 2,
"y": 327,
"w": 147,
"h": 36,
"ox": 0,
"oy": 0,
"sw": 147,
"sh": 36,
"ro": false
},
"ruleBtn.png": {
"x": 649,
"y": 192,
"w": 102,
"h": 42,
"ox": 0,
"oy": 0,
"sw": 102,
"sh": 42,
"ro": false
},
"rankBtn.png": {
"x": 494,
"y": 320,
"w": 98,
"h": 43,
"ox": 0,
"oy": 0,
"sw": 98,
"sh": 43,
"ro": false
},
"progressLabel.png": {
"x": 151,
"y": 327,
"w": 87,
"h": 31,
"ox": 0,
"oy": 0,
"sw": 87,
"sh": 31,
"ro": false
}
}
}, },
{ {
"keys": "loading_effect.png,loading_title.png", "keys": "loading_effect.png,loading_title.png",
"name": "loading", "name": "loading"
"atlas": {
"loading_effect.png": {
"x": 2,
"y": 2,
"w": 665,
"h": 121,
"ox": 0,
"oy": 0,
"sw": 665,
"sh": 121,
"ro": false
},
"loading_title.png": {
"x": 2,
"y": 125,
"w": 531,
"h": 146,
"ox": 0,
"oy": 0,
"sw": 531,
"sh": 146,
"ro": false
}
}
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1653467733/resource/" "path": "./resource/"
} }
\ No newline at end of file
...@@ -135,7 +135,7 @@ export function sendTbNet( ...@@ -135,7 +135,7 @@ export function sendTbNet(
//网络超时 //网络超时
// let waitObj; // let waitObj;
//@ts-ignore 本地开发,直接取数据 //@ts-ignore 本地开发,直接取数据
if (!my) { if (__ENV__ == "development") {
const netInfo = netName.split("."); const netInfo = netName.split(".");
const url = `../../mock/miniTb/${netInfo[0]}/${netInfo[1]}.json`; const url = `../../mock/miniTb/${netInfo[0]}/${netInfo[1]}.json`;
fetchAsync(url) fetchAsync(url)
......
...@@ -59,7 +59,7 @@ export function sendWebNet( ...@@ -59,7 +59,7 @@ export function sendWebNet(
): Promise<dataOut> { ): Promise<dataOut> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (window.location.port == "8080") { // window.location.port == "8080";考虑按端口判断 TODO if (__ENV__ == "development") { // TODO 编译后提供的变量
let path = netName.split('{projectId}/')[1];//后缀名字之前的是文件夹,mock里结构 let path = netName.split('{projectId}/')[1];//后缀名字之前的是文件夹,mock里结构
if (path.indexOf('/') <= -1) path = `projectX/${path}`; if (path.indexOf('/') <= -1) path = `projectX/${path}`;
const url = "../../mock/webNet/" + path + ".json"; const url = "../../mock/webNet/" + path + ".json";
......
console.log(11111);
console.log(new Date(__buildDate__));
...@@ -255,7 +255,7 @@ export class Jump3d extends Scene3D { ...@@ -255,7 +255,7 @@ export class Jump3d extends Scene3D {
this.player.push(this.pushObj.c); this.player.push(this.pushObj.c);
} }
}) })
.to({ c: 0.65 }, 1600, Ease.quadInOut) .to({ c: 0.65 }, 1600) // TODO 变态难度就加上后面的参数 , Ease.quadInOut
.call(() => { .call(() => {
console.log("最大蓄力了"); console.log("最大蓄力了");
}); });
......
...@@ -659,11 +659,6 @@ color-support@^1.1.2: ...@@ -659,11 +659,6 @@ color-support@^1.1.2:
resolved "http://npm.dui88.com:80/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" resolved "http://npm.dui88.com:80/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
integrity sha1-k4NDeaHMmgxh+C9S8NBDIiUb1aI= integrity sha1-k4NDeaHMmgxh+C9S8NBDIiUb1aI=
colors@^1.4.2:
version "1.4.0"
resolved "http://npm.dui88.com:80/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha1-xQSRR51MG9rtLJztMs98fcI2D3g=
commander@^2.12.1, commander@^2.15.1, commander@^2.20.0, commander@^2.8.1: commander@^2.12.1, commander@^2.15.1, commander@^2.20.0, commander@^2.8.1:
version "2.20.3" version "2.20.3"
resolved "http://npm.dui88.com:80/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" resolved "http://npm.dui88.com:80/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
...@@ -3140,14 +3135,6 @@ rollup-plugin-progress@^1.1.2: ...@@ -3140,14 +3135,6 @@ rollup-plugin-progress@^1.1.2:
dependencies: dependencies:
chalk "^2.4.2" chalk "^2.4.2"
rollup-plugin-replace@^2.2.0:
version "2.2.0"
resolved "http://npm.dui88.com:80/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz#f41ae5372e11e7a217cde349c8b5d5fd115e70e3"
integrity sha1-9BrlNy4R56IXzeNJyLXV/RFecOM=
dependencies:
magic-string "^0.25.2"
rollup-pluginutils "^2.6.0"
rollup-plugin-serve@^1.1.0: rollup-plugin-serve@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "http://npm.dui88.com:80/rollup-plugin-serve/-/rollup-plugin-serve-1.1.0.tgz#0654a57021a21b903340c69940f7463706e8288d" resolved "http://npm.dui88.com:80/rollup-plugin-serve/-/rollup-plugin-serve-1.1.0.tgz#0654a57021a21b903340c69940f7463706e8288d"
...@@ -3166,7 +3153,7 @@ rollup-plugin-terser@^7.0.2: ...@@ -3166,7 +3153,7 @@ rollup-plugin-terser@^7.0.2:
serialize-javascript "^4.0.0" serialize-javascript "^4.0.0"
terser "^5.0.0" terser "^5.0.0"
rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.1: rollup-pluginutils@^2.8.1:
version "2.8.2" version "2.8.2"
resolved "http://npm.dui88.com:80/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" resolved "http://npm.dui88.com:80/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
integrity sha1-cvKvB0i1kjZNvTOJ5gDlqURKNR4= integrity sha1-cvKvB0i1kjZNvTOJ5gDlqURKNR4=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment