Commit 551a201e authored by huangwenjie's avatar huangwenjie

预加载

parent 29da8486
......@@ -7,5 +7,6 @@ module.exports = {
framework: 'react',
ts: false
} ]
]
],
sourceType: 'unambiguous'
}
......@@ -4,6 +4,6 @@
"main": "",
"license": "MIT",
"dependencies": {
"fyge": "2.0.43"
"fyge": "2.0.50"
}
}
......@@ -2,7 +2,7 @@
# yarn lockfile v1
fyge@2.0.43:
version "2.0.43"
resolved "http://npm.dui88.com:80/fyge/-/fyge-2.0.43.tgz#0e587104e4050772014810f85d01a7bed4f1482f"
integrity sha1-DlhxBOQFB3IBSBD4XQGnvtTxSC8=
fyge@2.0.50:
version "2.0.50"
resolved "http://npm.dui88.com:80/fyge/-/fyge-2.0.50.tgz#50c680b490d6055bfe70a9c1873c3a31c944ab90"
integrity sha1-UMaAtJDWBVv+cKnBhzw6MclEq5A=
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -74,6 +74,7 @@
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^1.6.1",
"style-resources-loader": "^1.4.1",
"stylelint": "9.3.0"
"stylelint": "9.3.0",
"fyge": "2.0.50"
}
}
......@@ -8,9 +8,12 @@ import './taro-ui.scss'
import config from './config/config'
import './utils/mdProxy'
import { cloundAlarm } from './utils/dingTalk'
const FYGE = require('./utils/fyge.min.js');
const output = require('./utils/output.js');
const { env, tornadoAPI, defaultActivityId, requestType } = config
cloud.init({ env })
Taro.onError(msg => {
......@@ -22,10 +25,16 @@ class App extends Component {
console.log('options :>> ', options)
const { activityId } = options.query || {}
const app = getApp()
console.log(JSON.stringify(output))
app.cloud = cloud
app.tornadoAPI = tornadoAPI
app.activityId = activityId || defaultActivityId
app.isOnlineAct = !!activityId
my.PreLoader = output.PreLoader
my.GDispatcher = output.GDispatcher
my.NewGame = output.Main
}
// 页面后台切前台
componentDidShow () {}
......
import {
Main
} from './output';
// import {
// Main,
// GDispatcher
// } from '../../../utils/output.js';
/**
* 直接取,app
*/
......@@ -25,16 +26,17 @@ Component({
my.createCanvas({
id: 'canvas',
success: (ccc) => {
const dpr = my.getSystemInfoSync().pixelRatio
const windowWidth = my.getSystemInfoSync().windowWidth;
const windowHeight = my.getSystemInfoSync().windowHeight;
// const dpr = my.getSystemInfoSync().pixelRatio
// const windowWidth = my.getSystemInfoSync().windowWidth;
// const windowHeight = my.getSystemInfoSync().windowHeight;
// ccc.width = windowWidth * dpr + dpr; //重新修改会有误差
// ccc.height = windowHeight * dpr + dpr;
// console.log(Main)
console.log(ccc.width, ccc.height)
// console.log(ccc.width, ccc.height)
if (!this.main) {
try {
this.main = new Main(ccc)
this.main = new my.NewGame(ccc)
my.GDispatcher.addEventListener("GameSceneReady", self.gameSceneReady, self)
//添加事件,为了和main里的通信
this.main.addGlobalEvent("onMessage", self.onMessage, self)
} catch (err) {
......@@ -44,6 +46,9 @@ Component({
}
})
},
gameSceneReady() {
my.GDispatcher.dispatchEvent("GameStart")
},
//和main通信的方法,接收main的信息
onMessage(e) {
//接口名字
......
This source diff could not be displayed because it is too large. You can view the blob instead.
import React, { useRef, useState, useEffect } from 'react'
import { View, Image } from '@tarojs/components'
import { View, Image, Canvas } from '@tarojs/components'
import { useShareAppMessage, useDidShow, getApp, showToast } from '@tarojs/taro'
import classnames from 'classnames'
import { SHARE_CONFIG } from '@/const.js'
......@@ -15,12 +15,16 @@ import JackpotModal from '@/components/_tb_modal/JackpotModal'
import Auth from '@/components/_tb_modal/Auth/Auth'
import styles from './index.module.less'
import tbcc from 'tbcc-sdk-ts'
import { useAudio } from '@/hooks/useAudio'
import { CLOUD_OBJ, BGMUSIC_URL } from '@/const'
const FYGE = require('@/utils/fyge.min.js')
const { navigateTo, openDetail, showSharePanel } = tbcc.tb
const { getImgShareUrl, checkIsMember, validateActivityStatus } = tbcc.utils
import {useAudio} from '@/hooks/useAudio'
import {CLOUD_OBJ, BGMUSIC_URL} from '@/const'
const INDEX_CONFIG = {
bg: '', // 背景 cloud://C4015B7CEC23CF013A78247E2852524F//火箭待机小球抖动.json
......@@ -41,29 +45,29 @@ function Index() {
const { activityInfo, setActivityInfoAndStatus } = useActivityInfoModel()
const { loginInfo } = useLoginInfoModel()
const [ memberVisible, setMemberVisible ] = useState(false)
const [ doHelpModalVisible, setDoHelpModalVisible ] = useState(false)
const [ ruleModalVisible, setRuleModalVisible ] = useState(false)
const [ tasksModalVisible, setTasksModalVisible ] = useState(false)
const [memberVisible, setMemberVisible] = useState(false)
const [doHelpModalVisible, setDoHelpModalVisible] = useState(false)
const [ruleModalVisible, setRuleModalVisible] = useState(false)
const [tasksModalVisible, setTasksModalVisible] = useState(false)
// 中奖弹窗
const [ prizeModalVisible, setPrizeModalVisible] = useState(false)
const [prizeModalVisible, setPrizeModalVisible] = useState(false)
// 分享图
const SHARE_IMG = useRef('')
// 助力弹窗类型
const [helpType,setHelpType] = useState(HELP_MODAL_TYPE.HELP)
const [helpType, setHelpType] = useState(HELP_MODAL_TYPE.HELP)
// 助力弹窗类型
const [helpInfo,setHelpInfo] = useState({})
const [helpInfo, setHelpInfo] = useState({})
// 助力弹窗标识
const showHelp = useRef(false)
// 用户信息
const [ userInfo, setUserInfo] = useState({})
const [userInfo, setUserInfo] = useState({})
const fetchActivityInfo = async() => {
const fetchActivityInfo = async () => {
const { success, data } = await API.getActivityBaseInfoById()
if(success) {
if (success) {
const { startTime, endTime, rule } = data
setActivityInfoAndStatus({
startTime, endTime, rule
startTime, endTime, rule
})
// 判断活动未开始 且 app.isOnlineAct = false
}
......@@ -73,12 +77,37 @@ function Index() {
const { success, data } = await API.getUserInfo()
success && setUserInfo(data)
}
useEffect(() =>{
fetchActivityInfo()
useEffect(() => {
setTimeout(async () => {
let c = await my.createOffscreenCanvas()
console.log("2222222")
FYGE.initedByTbCanvas(c)
console.log("123123123132", c)
try {
await my.PreLoader()
} catch (e) {
console.error(e)
}
fetchActivityInfo()
}, 2000);
// getImgShareUrl('cloud://CEFE74AE67921906B5AF842150646D35/share.png').then(url => {
// SHARE_IMG.current = url
// })
},[])
}, [])
const onLoadingCanvasReady = async () => {
FYGE.setEnv(FYGE.EnvType.tb)
// let c = FYGE.createCanvas()
// console.log("有没有:", c.createImage)
console.log("1111111111111")
my.createCanvas({
id: 'loadingCanvas',
success: async (c) => {
}
})
}
// 授权登录完成
const { isLogin, authInfo } = useLogin(async (info) => {
handleVisibleModal(info)
......@@ -86,7 +115,7 @@ function Index() {
// 查看是否有助力信息
const getShareInfo = async () => {
const { success, data } = await API.getShareInfo()
if(success && data && data?.inviteCount) {
if (success && data && data?.inviteCount) {
setHelpInfo(data)
setDoHelpModalVisible(true)
setHelpType(HELP_MODAL_TYPE.REWARDS)
......@@ -110,9 +139,9 @@ function Index() {
const { inviteId } = info
const isVip = await checkIsMember()
// 是否为助力弹窗
if(inviteId && !showHelp.current) {
if (inviteId && !showHelp.current) {
setDoHelpModalVisible(true)
setHelpType(isVip? HELP_MODAL_TYPE.FAIL: HELP_MODAL_TYPE.HELP)
setHelpType(isVip ? HELP_MODAL_TYPE.FAIL : HELP_MODAL_TYPE.HELP)
showHelp.current = true
return;
}
......@@ -128,17 +157,17 @@ function Index() {
setMemberVisible(false)
}
const onHandleClose = () => {
const onHandleClose = () => {
setDoHelpModalVisible(false)
if(loginInfo.newUser) {
if (loginInfo.newUser) {
handleVisibleModal(loginInfo)
}
if(helpType === HELP_MODAL_TYPE.REWARDS) {
if (helpType === HELP_MODAL_TYPE.REWARDS) {
fetchUserInfo()
}
}
const onHandleIndex = (type,updateActInfo) => {
const onHandleIndex = (type, updateActInfo) => {
const Fn = {
'updateUserInfo': () => {
fetchUserInfo()
......@@ -158,62 +187,63 @@ function Index() {
return (
<>
{/* <canvas id="loadingCanvas" type="2d" ></canvas> */}
<ContainerFit hasFitPsd={true} bg={INDEX_CONFIG.bg}>
<View className={styles.rule} style={{ backgroundImage: `url(${INDEX_CONFIG.ruleButton})` }} onClick={() => setRuleModalVisible(true)}>活动规则</View>
<View className={styles.my_prize} style={{ backgroundImage: `url(${INDEX_CONFIG.myPrizeButton})` }} onClick={() => onHandleIndex('prize')}>我的奖品</View>
<View className={styles.tasks} onClick={() => setTasksModalVisible(true)}>任务</View>
<View className={styles.games} onClick={() =>onHandleIndex('game') }>游戏</View>
<View className={styles.games} onClick={() => onHandleIndex('game')}>游戏</View>
<View className={styles.bemember} onTap={() => setMemberVisible(true)}>入会</View>
<View className={styles.comps} onClick={() => onHandleIndex('comps')}>组件预览</View>
<View className={styles['prize_modal_btn']} onTap={()=>setPrizeModalVisible(true)}>中奖弹窗</View>
<View className={styles['prize_modal_btn']} onTap={() => setPrizeModalVisible(true)}>中奖弹窗</View>
</ContainerFit>
{/* 中奖弹窗 */}
{
prizeModalVisible &&
<JackpotModal
closePostion='bottom'
bg=''
width='600'
height='700'
top='45%'
prizeItem={prizeItem}
onClose={() => setPrizeModalVisible(false)}
/>
<JackpotModal
closePostion='bottom'
bg=''
width='600'
height='700'
top='45%'
prizeItem={prizeItem}
onClose={() => setPrizeModalVisible(false)}
/>
}
{
tasksModalVisible &&
<TasksModal
onUpdate={() => { console.warn('任务数据更新了')}}
onClose={() => setTasksModalVisible(false)}
/>
<TasksModal
onUpdate={() => { console.warn('任务数据更新了') }}
onClose={() => setTasksModalVisible(false)}
/>
}
{
ruleModalVisible &&
<RuleModal
closePostion='bottom'
bg=''
width='500'
height='300'
rule={activityInfo.rule}
onClose={() => setRuleModalVisible(false)}
/>
<RuleModal
closePostion='bottom'
bg=''
width='500'
height='300'
rule={activityInfo.rule}
onClose={() => setRuleModalVisible(false)}
/>
}
{
doHelpModalVisible &&
<DoHelpModal
closePostion='bottom'
bg=''
width='500'
height='500'
top='45%'
newVip={false}
onClose={() => setDoHelpModalVisible(false)}
/>
<DoHelpModal
closePostion='bottom'
bg=''
width='500'
height='500'
top='45%'
newVip={false}
onClose={() => setDoHelpModalVisible(false)}
/>
}
{<member-modal expend={memberVisible} onClose={onClose} onAuthFail={onAuthFail} onAuthSuccess={onAuthSuccess} />}
{authInfo?.visible && <Auth clickAuthBtn={authInfo.onHandleSetting} /> }
{authInfo?.visible && <Auth clickAuthBtn={authInfo.onHandleSetting} />}
{false && <canvas-comp />}
</>
)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
const FYGE = require("./fyge.min.js");
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var s=t();for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}}(window,(function(){return function(e){var t={};function s(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,s),o.l=!0,o.exports}return s.m=e,s.c=t,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)s.d(i,o,function(t){return e[t]}.bind(null,o));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=2)}([function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RES=void 0,function(e){let t,s,i={},o={},n={},r={},a={},h={};function p(e){if(r[e])return Promise.resolve();if(a[e])return a[e];let t=function(e){var t=y(e);if(!t)return null;if(t.atlas){var s=[e+".sht"];return t.keys&&(s=s.concat(t.keys.split(",").filter(e=>".png"!=e.substr(-4)))),s}return t.keys?t.keys.split(","):null}(e);if(!t||!t.length)return r[e]=!0,Promise.resolve();let s=new Promise((s,i)=>{!function(e,t){let s=0,i=t.length;i||e(!0);let o=!0;for(var n=0;n<i;n++){c(t[n],(t,n)=>{t||(o=!1),++s==i&&e(o)},this)}}(t=>{delete a[e],t?(r[e]=!0,s()):i()},t)});return a[e]=s,s}function c(t,s,r){var a=t.substring(t.lastIndexOf(".")+1,t.length);if("png"==a||"jpg"==a){let o=i[t]||FYGE.TextureCache[t];if(o)return s&&s.call(r,o,t),Promise.resolve(o);if(h[t])return g(t,s,r);if((f=d(t))&&"jpg"!=a){var p=y(f);if(p&&p.atlas){var l=f+".sht";return(h[l]||c(l)).then(e=>{let o=i[t]||FYGE.TextureCache[t];return s&&s.call(r,o,t),o},()=>(s&&s.call(r,null,t),null))}}var x=f?e.resPath+f+"/"+t:t,u=new Promise((e,o)=>{FYGE.GlobalLoader.loadImage((n,a)=>{if(delete h[t],n){let o=FYGE.Texture.from(a);i[t]=o,FYGE.Texture.addToCache(o,t),s&&s.call(r,o,t),e(o)}else s&&s.call(r,null,t),o()},x)});return h[t]=u,u}if("svga"==a){if(o[t])return s&&s.call(r,o[t],t),Promise.resolve(o[t]);if(h[t])return g(t,s,r);x=(f=d(t))?e.resPath+f+"/"+t:t,u=new Promise((e,i)=>{SvgaParser.loadSvga(x,i=>{delete h[t],o[t]=i,s&&s.call(r,i,t),e(i)},e=>{delete h[t],s&&s.call(r,null,t),i(e)})});return h[t]=u,u}if("sht"==a){if(h[t])return g(t,s,r);x=(f=d(t))?e.resPath+f+"/"+t:t,u=new Promise((e,o)=>{var n=y(f).atlas;((n="object"==typeof n?n:null)?FYGE.GlobalLoader.loadImage:FYGE.GlobalLoader.loadSheet.bind(FYGE.GlobalLoader))((a,p)=>{if(a){var c=FYGE.createTextureSheet(new FYGE.BaseTexture(n?p:p.img),n||p.json);for(let e in c)i[e]=c[e];s&&s.call(r,c,t),e(c)}else delete h[t],s&&s.call(r,null,t),o()},n?x.slice(0,-3)+"png":x)});return h[t]=u,u}if("spi"==a){if(n[t])return s&&s.call(r,n[t],t),Promise.resolve(o[t]);if(h[t])return g(t,s,r);var f;x=(f=d(t))?e.resPath+f+"/"+t:t,u=new Promise((e,i)=>{FYGE.loadSpine(x,i=>{delete h[t],n[t]=i,s&&s.call(r,i,t),e(i)},e=>{delete h[t],s&&s.call(r,null,t),i(e)})});return h[t]=u,u}}function l(e){if(!e)return null;var t=e.substring(e.lastIndexOf(".")+1,e.length);return"png"==t||"jpg"==t?i[e]||FYGE.TextureCache[e]:"svga"==t?o[e]:"spi"==t?n[e]:null}function d(e){for(var s=0;s<t.groups.length;s++){var i=t.groups[s],o=i.keys;if(o&&o.split(",").indexOf(e)>-1)return i.name;if(i.atlas&&i.name+".sht"==e)return i.name}return null}function y(e){for(var s,i=t.groups,o=0;o<i.length;o++)if(i[o].name===e){s=i[o];break}return s}function g(e,t,s){return h[e].then(i=>{t&&t.call(s,i,e)},()=>{t&&t.call(s,null,e)}),h[e]}function x(e,t=s){if(!t||!t.children||!t.children.length)return null;for(var i=0;i<t.children.length;i++){var o=t.children[i];if(o.name==e&&("container"==o.type||"item"==o.type))return o;var n=x(e,o);if(n)return n}return null}function u(e){var t;switch(e.type){case"container":t=new FYGE.Container;break;case"button":t=new FYGE.Button(l(e.props.tUp),e.props.tDown?l(e.props.tDown):null,e.props.tDisable?l(e.props.tDisable):null);break;case"text":t=new FYGE.TextField;for(let s in e.props)t[s]=e.props[s];break;case"sprite":t=new FYGE.Sprite(l(e.props.source)),e.props.width&&(t.width=e.props.width),e.props.height&&(t.height=e.props.height);break;case"rect":(t=new FYGE.Shape).beginFill(FYGE.string2hex(e.props.fillColor)),t.drawRect(0,0,e.props.width,e.props.height),t.endFill()}return t.name=e.name,t.alpha="number"==typeof e.alpha?e.alpha:1,t.rotation=e.rotation||0,t.position.set(e.x,e.y),t}e.loadConfig=function(s){t=s,e.resPath="tb"==FYGE.getEnv()?s.path:window.resPath||s.path},e.loadGroup=p,e.getResAsync=c,e.getResByUrl=function(){},e.getRes=l,e.loadAllGroup=function(){var e=t.groups,s=[];return e.forEach(e=>{s.push(p(e.name))}),Promise.all(s)},e.loadSkinConfig=function(e){s=e},e.initSkinDisplay=function e(t,s,i){var o="string"==typeof s?x(s):s;if(o.children&&o.children.length)for(var n=0;n<o.children.length;n++){var r=o.children[n];if("item"!=r.type){var a=t.addChild(u(r));i&&r.id&&(i[r.id]=a),"container"==r.type&&e(a,r,i)}}},e.getSkinDataByName=x,e.destroyGroup=function(e){var t=y(e);if(t){delete r[e],delete h[e+".sht"];var s=[];t.keys&&(s=t.keys.split(","));for(var o=[],n=0;n<s.length;n++){var a=l(s[n]);a&&a.baseTexture&&(-1==o.indexOf(a.baseTexture)&&(a.baseTexture.destroy(),o.push(a.baseTexture)),a.destroy(),delete i[s[n]])}}}}(t.RES||(t.RES={}))},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyLayers=t.layers=void 0;const i=s(7),o=s(8);class n extends FYGE.Container{init(e){e.addChild(this);for(var t=["_bottomLayer","_sceneLayer","_popupLayer","_toastLayer","_topLayer","_shareLayer"],s=0;s<t.length;s++)this[t[s]]=new FYGE.Container,this.addChild(this[t[s]]);this.shareLayer.y=-this.stageOffsetY,o.default.instance.init(this.sceneLayer),i.default.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}}t.layers=new n,t.destroyLayers=function(){t.layers.removeChildren(),t.layers.parent&&t.layers.parent.removeChild(t.layers)}},function(e,t,s){"use strict";var i=this&&this.__awaiter||function(e,t,s,i){return new(s||(s=Promise))((function(o,n){function r(e){try{h(i.next(e))}catch(e){n(e)}}function a(e){try{h(i.throw(e))}catch(e){n(e)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(r,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Main=t.PreLoader=t.GDispatcher=void 0;const o=s(9),n=s(1),r=s(0),a=s(6),h=s(20),p=s(21),c=s(22),l=s(23);t.GDispatcher=new FYGE.EventDispatcher,t.PreLoader=()=>i(void 0,void 0,void 0,(function*(){try{FYGE.setEnv(FYGE.EnvType.tb),r.RES.loadConfig(h.ResJson),console.log("初始化资源配置完成"),r.RES.loadSkinConfig(c.SkinJson),console.log("初始化皮肤配置完成"),yield r.RES.loadGroup("common"),console.log("通用资源加载完成")}catch(e){throw new Error(e)}}));t.Main=class{constructor(e){var t;window||(FYGE.initedByCanvas(e),t=my.getSystemInfoSync());var s=new FYGE.Stage(e,750,1624,t&&t.windowWidth||document.body.clientWidth,t&&t.windowHeight||document.body.clientHeight,FYGE.RENDERER_TYPE.CANVAS,!0,!1,t&&t.pixelRatio||window.devicePixelRatio||1);this.stage=s,this.canvas=e,s.addEventListener(FYGE.Event.INIT_STAGE,this.onAddToStage,this);var i=this;!function t(){i._pause||(FYGE.Tween.flush(),s.flush());"tb"==FYGE.getEnv()?i.requestID=e.requestAnimationFrame(t):i.requestID=window.requestAnimationFrame(t)}()}onAddToStage(){return i(this,void 0,void 0,(function*(){n.layers.init(this.stage),console.log("初始化层级完成"),"web"==FYGE.getEnv()&&document.getElementById("__loading__")&&(document.getElementById("__loading__").style.display="none"),a.changeScene(o.PlayScene)}))}run(){this._pause=!1,FYGE.Tween._lastTime=null,t.GDispatcher.dispatchEvent({type:l.G_EVENT.ON_SHOW})}pause(){t.GDispatcher.dispatchEvent({type:l.G_EVENT.ON_HIDE})}addGlobalEvent(e,s,i,o=!1){o?t.GDispatcher.once(e,s,i):t.GDispatcher.addEventListener(e,s,i)}dispatchGlobalEvent(e,s){t.GDispatcher.dispatchEvent(e,s)}removeGlobalEvent(e,s,i){t.GDispatcher.removeEventListener(e,s,i)}destroy(){FYGE.Tween.removeAllTweens(),"tb"==FYGE.getEnv()?this.canvas.cancelAnimationFrame(this.requestID):window.cancelAnimationFrame(this.requestID),n.destroyLayers(),a.destroyAllCtrls(),this.stage.destroy(),t.GDispatcher.removeAllEventListener(),p.destroyTbNetData()}}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyWaiting=t.hideWaiting=t.showWaiting=void 0;const i=s(0),o=s(1);let n,r,a=!1;t.showWaiting=e=>{(()=>{if(!a){a=!0;const i=new h;r=o.layers.topLayer,n=i;var e=(o.layers.stageWidth-160)/2,t=(o.layers.stageHeight-n.height)/2;n.x=o.layers.stageOffsetX-r.x+e,n.y=o.layers.stageOffsetY-r.y+t;var s=(new FYGE.Graphics).beginFill(0).drawRect(-e,-t,o.layers.stageWidth,o.layers.stageHeight).endFill();s.alpha=0,n.addChildAt(s,0)}})(),n.show(e),r.addChild(n)},t.hideWaiting=()=>{r.removeChild(n)},t.destroyWaiting=()=>{a&&n&&!n.destroyed&&(n.destroy(),n=null,r=null,a=!1)};class h extends FYGE.Container{constructor(){super();var e=i.RES.getRes("waitingBg.png"),t=new FYGE.Sprite(e);this.addChild(t);var s=i.RES.getRes("waitingRot.png");let o=new FYGE.Sprite(s);o.x=(e.width-s.width)/2,o.y=47,o.anchorX=s.width/2,o.anchorY=s.height/2,this.addChild(o);let n=0;o.addEventListener(FYGE.Event.ENTER_FRAME,()=>{n++,n%30==0&&(o.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(e="加载中"){this.msg.text=e}destroy(){super.destroy(),this.msg=null}}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyToast=t.showToast=void 0;const i=s(1),o=s(0);let n,r,a,h,p=!1;t.showToast=e=>{(()=>{if(!p){p=!0,n=new c,r=i.layers.toastLayer,n.alpha=0,n.x=i.layers.stageOffsetX-r.x+(i.layers.stageWidth-n.width)/2;var e=n.height,t=i.layers.stageOffsetY-r.y;a=t-e,h=t+(i.layers.stageHeight-e)/2}})(),n.show(e),r.addChild(n),FYGE.Tween.removeTweens(n),FYGE.Tween.get(n).set({y:a,alpha:1}).to({y:h},500,FYGE.Ease.quartOut).wait(800).to({alpha:0},300).call(()=>{r.removeChild(n)})},t.destroyToast=()=>{p&&n&&!n.destroyed&&(n.destroy(),n=null,r=null,p=!1)};class c extends FYGE.Container{constructor(){super(),this.PADDING=40,this.mouseChildren=!1,this.mouseEnable=!1;var e=o.RES.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(e){this.msg.text=e,this.msg.x=(this.bg.width-this.msg.textWidth)/2}destroy(){FYGE.Tween.removeTweens(this),super.destroy(),this.msg=null,this.bg=null}}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tools=void 0;const i=s(0),o=s(1);var n=FYGE.Tween,r=FYGE.Ease;class a{static getSprite(e,t=0,s=0){var o=new FYGE.Sprite(i.RES.getRes(e));return o.x=t,o.y=s,o}static getText(e,t,s="#000000",i=FYGE.TEXT_ALIGN.LEFT,o=0,n=0,r=0){var a=new FYGE.TextField;return a.fillColor=s,a.size=t,a.textWidth=o,a.textAlign=i,a.x=n,a.y=r,a.text=e,a}static getRect(e,t,s=16711680,i=1,o=0,n=0,r=0){var a=new FYGE.Graphics;return a.beginFill(s),a.alpha=i,o?a.drawRoundedRect(0,0,e,t,o):a.drawRect(0,0,e,t),a.endFill(),a.position.set(n,r),a}static getCircle(e=10,t=16711680,s=1,i=0,o=0){var n=new FYGE.Graphics;return n.beginFill(t),n.alpha=s,n.drawCircle(0,0,e),n.endFill(),n.position.set(i,o),n}static getAdjustHeight(e,t,s="bot"){var i="top"==s?0:"bot"==s?2*o.layers.stageOffsetY:o.layers.stageOffsetY;return o.layers.stageHeight<=1206?t+i:(o.layers.stageHeight-1206)/418*(e-t)+t+i}static changeTextAlign(e,t,s){t!=FYGE.TEXT_ALIGN.LEFT&&(e.textAlign=t,s=s||e.textWidth,t==FYGE.TEXT_ALIGN.CENTER&&(e.x-=(s-e.textWidth)/2),t==FYGE.TEXT_ALIGN.RIGHT&&(e.x-=s-e.textWidth),e.textWidth=s)}static customToast(e,t=(()=>0),s=2e3,i=300){n.get(e).set({alpha:0,visible:!0}).to({alpha:1},i,r.quadIn).wait(s).to({alpha:0},i,r.quadOut).set({alpha:0,visible:!1}).call(()=>{t()})}static btnDelay(e,t=2e3){e.mouseEnable=!1,e.mouseChildren=!1,setTimeout(()=>{e.mouseEnable=!0,e.mouseChildren=!0},t)}static getNumTextures(e){for(var t={},s=0;s<=9;s++)t[s]=i.RES.getRes(e+s+".png");return t}static getAdjustBottomHeight(e){return o.layers.stageHeight-o.layers.stageHeight*e+o.layers.stageOffsetY}static getAdjustTopHeight(e){return o.layers.stageHeight*e+o.layers.stageOffsetY}}t.Tools=a,a.cacheKey="guideThreeSquirrels"},function(e,t,s){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,s,i){void 0===i&&(i=s),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[s]}})}:function(e,t,s,i){void 0===i&&(i=s),e[i]=t[s]}),o=this&&this.__exportStar||function(e,t){for(var s in e)"default"===s||t.hasOwnProperty(s)||i(t,e,s)};Object.defineProperty(t,"__esModule",{value:!0}),t.destroyAllCtrls=t.removeTweens=t.clearWait=t.wait=t.showAlert=t.getCurrentScene=t.changeScene=t.closeCurrentPanel=t.closeAllPanels=t.showConfirm=t.showPanel=void 0;const n=s(3),r=s(7),a=s(8),h=s(4);var p=s(4);Object.defineProperty(t,"showToast",{enumerable:!0,get:function(){return p.showToast}}),o(s(3),t),t.showPanel=(e,t)=>r.default.instance.show(e,t),t.showConfirm=(e,t)=>r.default.instance.show(e,t).makePromise(),t.closeAllPanels=()=>{r.default.instance.closeAll()},t.closeCurrentPanel=()=>{r.default.instance.closeCurrent()},t.changeScene=(e,t)=>{a.default.instance.change(e,t)},t.getCurrentScene=function(){return a.default.instance.currentScene},t.showAlert=(e,t)=>{my?my.alert({title:e||"",content:t||""}):console.log(e,t)},t.wait=function(e,t){let s={};return FYGE.Tween.get(s).wait(t).call(e),s},t.clearWait=function(e){e&&FYGE.Tween.removeTweens(e)},t.removeTweens=function e(t,s=!0){t&&(FYGE.Tween.removeTweens(t),s&&t.children&&t.children.length&&t.children.forEach(t=>{e(t)}))},t.destroyAllCtrls=function(){h.destroyToast(),n.destroyWaiting(),r.default.instance.destroy(),a.default.instance.destroy()}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=s(1),o=s(3),n=s(4);class r{constructor(){this.stacks=[]}static get instance(){return r._instance||(r._instance=new r)}init(e){this._parent=e;let t=new FYGE.Shape;t.beginFill(0),t.drawRect(i.layers.stageOffsetX-e.x,i.layers.stageOffsetY-e.y,i.layers.stageWidth,i.layers.stageHeight),t.endFill(),t.hitTestByPixel=!1,t.visible=!1,this._parent.addChild(t),this._bg=t}closeAll(){this.stacks.forEach(e=>e.hidePanel())}show(e,t){o.showWaiting();const s=new e(t);return this.add(s),this.stacks.push(s),s.onLoaded=()=>{o.hideWaiting(),this.updateView(!1),s.start(t),s.visible&&s.showAni()},s.onLoadError=()=>{o.hideWaiting(),n.showToast("资源加载失败"),s.removeEventListener("onDestroy",this.onPanelHide,this),this.remove(s)},s}updateView(e=!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 t=0;t<this.stacks.length;t++)t<this.stacks.length-1?this.stacks[t].visible=!1:(this.stacks[t].visible=!0,e&&this.stacks[t].showAni(),this._current=this.stacks[t])}add(e){this._parent.addChild(e),e.addEventListener("onDestroy",this.onPanelHide,this)}remove(e){this._parent.removeChild(e),this.stacks=this.stacks.filter(t=>t!=e)}onPanelHide(e){const t=e.target;t.removeEventListener("onDestroy",this.onPanelHide,this),this.remove(t),this.updateView()}closeCurrent(){this._current&&this._current.hidePanel()}destroy(){r._instance=null,this.stacks=null,this._current=null,this._parent=null,FYGE.Tween.removeTweens(this._bg),this._bg=null}}t.default=r},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=s(3),o=s(4);class n{static get instance(){return n._instance||(n._instance=new n)}init(e){this._parent=e}change(e,t){let s=new e(t);s.visible=!1,i.showWaiting();let n=this._currentScene;s.onLoaded=()=>{i.hideWaiting(),s.showAni(()=>{n&&n.destroy()}),s.visible=!0,s.start(t)},s.onLoadError=()=>{i.hideWaiting(),o.showToast("资源加载失败"),this._currentScene=n||null,this._parent.removeChild(s)},this._currentScene=s,this._parent.addChild(s)}get currentScene(){return this._currentScene}destroy(){n._instance=null,this._currentScene=null,this._parent=null}}t.default=n},function(e,t,s){"use strict";var i=this&&this.__awaiter||function(e,t,s,i){return new(s||(s=Promise))((function(o,n){function r(e){try{h(i.next(e))}catch(e){n(e)}}function a(e){try{h(i.throw(e))}catch(e){n(e)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(r,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayScene=void 0;const o=s(10),n=s(11),r=s(1),a=s(0),h=s(12),p=s(2),c=s(5),l=s(14),d=s(15),y=s(16),g=s(17),x=s(18),u=s(19);class f extends h.Scene{constructor(){super(...arguments),this.gameState=0,this.beatPool=[],this.isPause=!1,this.currBeatTime=0,this.trackIdx=0,this.startTime=Date.now(),this.checkType=null,this.perfectCount=0,this.greatCount=0,this.goodCount=0,this._score=0}get groupNames(){return["playScene","ani","perfectAni"]}set countdown(e){e<=0&&(e=0),this._countdown=e,this.cdTxt&&(this.cdTxt.text=e+"")}get countdown(){return this._countdown}set score(e){e<0&&(e=0),this._score=e,this.scoreTxt&&(this.scoreTxt.text=e+"")}get score(){return this._score}initUi(){this.addChild(c.Tools.getSprite("backBg.jpg")),this.addChild(c.Tools.getSprite("preBottomBg.jpg")).position.set(0,r.layers.stage.stageHeight-680+r.layers.stageOffsetY),this.addChild(c.Tools.getSprite("preBgTop.png")).position.set(0,r.layers.stage.stageHeight-680-207+r.layers.stageOffsetY),this.aniBox=this.addChild(new FYGE.Container),this.aniBox.position.set(0,0),this.man=this.aniBox.addChild(c.Tools.getSprite("man.png")),this.man.scale.set(.62,.62),this.man.position.set(130,320-r.layers.stageOffsetY),this.shadowAni=this.aniBox.addChild(new FYGE.Lottie(u.shadowAni)),this.shadowAni.position.set(80,880-r.layers.stageOffsetY),this.shadowAni.visible=!1;let e=[];for(let t=0;t<67;t++)e.push(a.RES.getRes("街舞ss_000"+(t>=10?t:"0"+t)+".png"));this.ani=this.aniBox.addChild(new FYGE.FrameAni(e)),this.ani.scale.set(1.6,1.6),this.ani.position.set(375,760-r.layers.stageOffsetY),this.ani.play(0),this.ani.visible=!1,this.beatBox=this.addChild(new FYGE.Container),this.beatBox.position.set(0,r.layers.stage.stageHeight-680-207-140+r.layers.stageOffsetY),this.beatBox.addChild(c.Tools.getSprite("beatBaseBg.png")).position.set(0,400),(this.controlBox=this.addChild(new l.ControlBox)).position.set(190,r.layers.stage.stageHeight-420+r.layers.stageOffsetY),this.topBox=this.addChild(new FYGE.Container),this.topBox.position.set(0,125+r.layers.stageOffsetY),this.scoreBox=this.topBox.addChild(new FYGE.Container),this.scoreBox.addChild(c.Tools.getSprite("timerBg.png")),this.scoreBox.position.set(480,0),this.musicBtn=this.topBox.addChild(new g.TbMusicBtn),this.musicBtn.position.set(200,-5);let t=c.Tools.getNumTextures("score"),s=c.Tools.getNumTextures("cd");this.scoreTxt=this.scoreBox.addChild(new FYGE.BitmapText(t)),this.scoreTxt.text="0",this.scoreTxt.gap=-8,this.scoreTxt.position.set(124,60),this.cdTxt=this.scoreBox.addChild(new FYGE.BitmapText(s)),this.cdTxt.text="60",this.cdTxt.gap=2,this.cdTxt.position.set(200,157),this.prepareBox=this.addChild(new FYGE.Container),this.prepareBox.addChild(c.Tools.getRect(750,1624,0,.6)),this.prepareCd=this.prepareBox.addChild(new FYGE.Lottie(x.cdAni)),this.prepareCd.position.set(110,600-r.layers.stageOffsetY),this.prepareCd.stop(),this.prepareBox.visible=!1,window?null!=window.isPlayMusic&&null!=window.isPlayMusic||(window.isPlayMusic=!0):null!=my.isPlayMusic&&null!=my.isPlayMusic||(my.isPlayMusic=!0),this.guideBox=this.addChild(new n.GuideLayer)}start(e){super.start();let t=d.BeatConfig;for(let e=0;e<t.length;e++){this.trackIdx++,this.trackIdx>3&&(this.trackIdx=0);let s=["leftTips.png","upTips.png","downTips.png","rightTips.png"][this.trackIdx],i=c.Tools.getSprite(s);i.anchorTexture.set(.5,.5),i.beatType=this.trackIdx,i.beatTime=t[e],i.inStage=!1,this.beatPool.push(i)}p.GDispatcher.dispatchEvent("GameSceneReady")}initEvents(){super.initEvents(),this.musicBtn.addEventListener(FYGE.MouseEvent.CLICK,this.onClick_musicBtn,this),this.addEventListener(FYGE.Event.ENTER_FRAME,this.onEnterFrame,this),p.GDispatcher.addEventListener("GameOnShow",this.onShow,this),p.GDispatcher.addEventListener("GameOnHide",this.onHide,this),p.GDispatcher.addEventListener("GameStart",this.onGameStart,this),p.GDispatcher.addEventListener("GameRestart",this.onGameRestart,this),p.GDispatcher.addEventListener("game_onClick_up",this.checkScore,this),p.GDispatcher.addEventListener("game_onClick_down",this.checkScore,this),p.GDispatcher.addEventListener("game_onClick_left",this.checkScore,this),p.GDispatcher.addEventListener("game_onClick_right",this.checkScore,this)}onGameStart(e){var t;return i(this,void 0,void 0,(function*(){(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.isGuide)&&(yield this.guideBox.show()),yield this.prepareTimer(),this.gameState=1,this.startTimer()}))}onGameRestart(){return i(this,void 0,void 0,(function*(){this.isPause=!1,this.currBeatTime=0,this.trackIdx=0,this.startTime=Date.now(),this.checkType=null,this.perfectCount=0,this.greatCount=0,this.goodCount=0,this.countdown=60,this.score=0,this.topBox.visible=!0,this.controlBox.visible=!0,this.ani.visible=!1,this.shadowAni.visible=!1,this.beatPool.forEach(e=>{e.inStage=!1,e.used=!1,e.checked=!1,e.scale.set(.5,.5),e.alpha=1}),setTimeout(()=>{this.musicBtn.change(),my&&my.isPlayMusic&&this.musicBtn.on()},200),yield this.prepareTimer(),this.gameState=1,this.startTimer()}))}prepareTimer(){return new Promise(e=>{this.prepareBox.visible=!0,this.man.visible=!0,this.prepareCd.startAniRange(0,this.prepareCd.totalFrames,1,()=>{this.prepareBox.visible=!1,this.shadowAni.visible=!0,this.man.visible=!1,this.ani.visible=!0,this.ani.play(0),this.shadowAni.play(0),e()})})}startTimer(){this.isPause=!1,y.Timer(6e4,e=>{this.countdown=Math.round(e/1e3),e<=0&&(this.gameState=2,console.info("游戏结束"),my&&(this.controlBox.visible=!1,this.topBox.visible=!1,p.GDispatcher.dispatchEvent("GameOver",{score:this.score})),setTimeout(()=>{this.clearBeat()},200))})}onClick_musicBtn(){window?(window.isPlayMusic?this.musicBtn.off():this.musicBtn.on(),window.isPlayMusic=!window.isPlayMusic):(my.isPlayMusic?this.musicBtn.off():this.musicBtn.on(),my.isPlayMusic=!my.isPlayMusic)}onEnterFrame(){if(this.isPause||1!==this.gameState)return;let e=1,t=Date.now();if(t-this.startTime>1e3)this.startTime=t;else{if(e=(t-this.startTime)/16.7,this.currBeatTime+=t-this.startTime,this.startTime=t,null!==this.checkType){let e=this.checkType;this.checkType=null;for(let t=this.beatPool.length-1;t>=0;t--){let s=this.beatPool[t];if(s.inStage&&e==s.beatType&&!s.checked){if(Math.abs(s.y-470)<20){s.checked=!0,s.inStage=!1,this.perfectCount++,this.greatCount=0,this.goodCount=0;let e=20;this.perfectCount>=3&&(e=60),this.score+=e,FYGE.Tween.get(s).to({scaleX:1.3,scaleY:1.3,alpha:0},600).call(()=>{this.removeChild(s)});let t=this.beatBox.addChildAt(new FYGE.Lottie(o.perfectAni),2);return t.position.set(s.x-150,s.y-150),t.startAniRange(0,t.totalFrames,1,()=>{this.beatBox.removeChild(t)}),y.vibrateShort(),void this.scoreAni("perfect",s.x)}if(Math.abs(s.y-470)<50){s.checked=!0,s.inStage=!1,this.greatCount++,this.perfectCount=0,this.goodCount=0;let e=10;return this.greatCount>=3&&(e=40),this.score+=e,FYGE.Tween.get(s).to({scaleX:1.3,scaleY:1.3,alpha:0},600).call(()=>{this.removeChild(s)}),y.vibrateShort(),void this.scoreAni("great",s.x)}if(Math.abs(s.y-470)<90){s.checked=!0,s.inStage=!1,this.goodCount++,this.perfectCount=0,this.greatCount=0;let e=5;return this.goodCount>=3&&(e=20),this.score+=e,FYGE.Tween.get(s).to({scaleX:1.3,scaleY:1.3,alpha:0},600).call(()=>{this.removeChild(s)}),y.vibrateShort(),void this.scoreAni("good",s.x)}}}}for(let t=this.beatPool.length-1;t>=0;t--){let s=this.beatPool[t];if(s.inStage){s.y+=d.SPEED*e;let t=1-(400-s.y)/400>0?1-(400-s.y)/400>1?1:1-(400-s.y)/400:0;s.scale.set(t,t),s.y>580&&(this.scoreAni("miss",s.x),s.inStage=!1,this.perfectCount=0,this.greatCount=0,this.goodCount=0,FYGE.Tween.get(s).to({scaleX:1.3,scaleY:1.3,alpha:0},600).call(()=>{this.beatBox.removeChild(s)}))}}for(let e=this.beatPool.length-1;e>=0;e--){let t=this.beatPool[e];if(!t.used&&!t.inStage&&t.beatTime-this.currBeatTime<=500){let e=d.TrackX[t.beatType];t.x=e,t.y=200,t.scale.set(0,0),this.beatBox.addChild(t),t.used=!0,t.inStage=!0}}}}checkScore(e){switch(e.type){case"game_onClick_left":this.checkType=0;break;case"game_onClick_up":this.checkType=1;break;case"game_onClick_down":this.checkType=2;break;case"game_onClick_right":this.checkType=3}}scoreAni(e,t){switch(e){case"miss":let e=this.beatBox.addChild(c.Tools.getSprite("miss.png",t,250));e.anchorTexture.set(.5,.5),e.scale.set(0,0),FYGE.Tween.get(e).to({y:200,scaleX:1,scaleY:1},300).wait(600).call(()=>{this.beatBox.removeChild(e)});break;case"good":let s=this.beatBox.addChild(c.Tools.getSprite("good.png",t,250));s.anchorTexture.set(.5,.5),s.scale.set(0,0),FYGE.Tween.get(s).to({y:200,scaleX:1,scaleY:1},300).wait(600).call(()=>{this.beatBox.removeChild(s)});break;case"great":let i=this.beatBox.addChild(c.Tools.getSprite("great.png",t,250));i.anchorTexture.set(.5,.5),i.scale.set(0,0),FYGE.Tween.get(i).to({y:200,scaleX:1,scaleY:1},300).wait(600).call(()=>{this.beatBox.removeChild(i)});break;case"perfect":let o=this.beatBox.addChild(c.Tools.getSprite("perfect.png",t,250));o.anchorTexture.set(.5,.5),o.scale.set(0,0),FYGE.Tween.get(o).to({y:200,scaleX:1,scaleY:1},300).wait(600).call(()=>{this.beatBox.removeChild(o)})}}onShow(){my&&my.isPlayMusic?this.musicBtn.on():this.musicBtn.off()}onHide(){this.musicBtn.off()}removeEvents(){super.removeEvents(),this.musicBtn.removeEventListener(FYGE.MouseEvent.CLICK,this.onClick_musicBtn,this),this.removeEventListener(FYGE.Event.ENTER_FRAME,this.onEnterFrame,this),p.GDispatcher.removeEventListener("GameOnShow",this.onShow,this),p.GDispatcher.removeEventListener("GameOnHide",this.onHide,this),p.GDispatcher.removeEventListener("GameStart",this.onGameStart,this),p.GDispatcher.removeEventListener("GameRestart",this.onGameRestart,this),p.GDispatcher.removeEventListener("game_onClick_up",this.checkScore,this),p.GDispatcher.removeEventListener("game_onClick_down",this.checkScore,this),p.GDispatcher.removeEventListener("game_onClick_left",this.checkScore,this),p.GDispatcher.removeEventListener("game_onClick_right",this.checkScore,this)}clearBeat(){let e=this.beatBox.children.length;if(e>0)for(let t=e-1;t>=0;t--){let e=this.beatBox.children[t];e.beatTime&&(e.inStage=!1,e.used=!1,e.checked=!1,this.beatBox.removeChild(e))}}}t.PlayScene=f},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perfectAni=void 0,t.perfectAni={fr:30,ip:0,op:22,w:292,h:328,nm:"完美点击触发",layers:[{ind:1,ty:2,nm:"按下时出现 3",refId:"a3a1d8ee00da7958e1a546bfabd5477e",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:20,s:[100]},{t:23,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:4,s:[145.5,151.5,0],to:[-22.667,8.833,0],ti:[22.667,-8.833,0]},{t:16,s:[9.5,204.5,0]}]},a:{k:[9.5,9.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:4,s:[100,100,100]},{t:22,s:[107,107,100]}]}},ip:4,op:17},{ind:2,ty:2,nm:"按下时出现 2",refId:"a3a1d8ee00da7958e1a546bfabd5477e",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:13,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:19,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:25,s:[100]},{t:28,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:8,s:[145.5,151.5,0],to:[9,1.833,0],ti:[-9,-1.833,0]},{t:20,s:[199.5,162.5,0]}]},a:{k:[9.5,9.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:8,s:[100,100,100]},{t:26,s:[107,107,100]}]}},ip:8,op:21},{ind:3,ty:2,nm:"图层 1588",refId:"a4755f660d7e84b40fb2210a31df2469",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[100]},{t:20,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[146.5,150.5,0],to:[-.667,-22.333,0],ti:[.667,22.333,0]},{t:12,s:[142.5,16.5,0]}]},a:{k:[15.5,15.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{t:18,s:[107,107,100]}]}},ip:0,op:13},{ind:4,ty:2,nm:"图层 1590",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:6,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:12,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:15,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:18,s:[100]},{t:21,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:1,s:[146,147.5,0],to:[17.833,9.833,0],ti:[-17.833,-9.833,0]},{t:13,s:[253,206.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:1,s:[100,100,100]},{t:19,s:[107,107,100]}]}},ip:1,op:14},{ind:5,ty:2,nm:"图层 1592",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:20,s:[100]},{t:23,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:3,s:[146,147.5,0],to:[6.833,27.833,0],ti:[-6.833,-27.833,0]},{t:15,s:[187,314.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:3,s:[100,100,100]},{t:21,s:[107,107,100]}]}},ip:3,op:16},{ind:6,ty:2,nm:"图层 1587",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[100]},{t:20,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[146,147.5,0],to:[-8.5,19.167,0],ti:[8.5,-19.167,0]},{t:12,s:[95,262.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{t:18,s:[107,107,100]}]}},ip:0,op:13},{ind:7,ty:2,nm:"按下时出现",refId:"a3a1d8ee00da7958e1a546bfabd5477e",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:10,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:16,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:19,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:22,s:[100]},{t:25,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:5,s:[145.5,151.5,0],to:[12.167,14.5,0],ti:[-12.167,-14.5,0]},{t:17,s:[218.5,238.5,0]}]},a:{k:[9.5,9.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:5,s:[100,100,100]},{t:23,s:[107,107,100]}]}},ip:5,op:18},{ind:8,ty:2,nm:"图层 1586",refId:"a4755f660d7e84b40fb2210a31df2469",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:6,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:12,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:15,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:18,s:[100]},{t:21,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:1,s:[146.5,150.5,0],to:[15.333,-11.167,0],ti:[-15.333,11.167,0]},{t:13,s:[238.5,83.5,0]}]},a:{k:[15.5,15.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:1,s:[38,38,100]},{t:19,s:[62,62,100]}]}},ip:1,op:14},{ind:9,ty:2,nm:"图层 1591",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:8,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:20,s:[100]},{t:23,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:3,s:[146,147.5,0],to:[22,-2.167,0],ti:[-22,2.167,0]},{t:15,s:[278,134.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:3,s:[100,100,100]},{t:21,s:[107,107,100]}]}},ip:3,op:16},{ind:10,ty:2,nm:"图层 1593",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:6,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:12,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:15,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:18,s:[100]},{t:21,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:1,s:[146,147.5,0],to:[-6.333,-10.833,0],ti:[6.333,10.833,0]},{t:13,s:[108,82.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:1,s:[100,100,100]},{t:19,s:[107,107,100]}]}},ip:1,op:14},{ind:11,ty:2,nm:"图层 1589",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:20,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26,s:[100]},{t:29,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:9,s:[146,147.5,0],to:[-6.667,6,0],ti:[6.667,-6,0]},{t:21,s:[106,183.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:9,s:[100,100,100]},{t:27,s:[107,107,100]}]}},ip:9,op:22},{ind:12,ty:2,nm:"图层 1585",refId:"235229bb337b9ce81676d210bb8fdbab",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:5,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:11,s:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:14,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[100]},{t:20,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[146,147.5,0],to:[-16.333,-10.333,0],ti:[16.333,10.333,0]},{t:12,s:[48,85.5,0]}]},a:{k:[13,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{t:18,s:[107,107,100]}]}},ip:0,op:13},{ind:13,ty:0,nm:"点击反馈导出",refId:"c",ks:{o:{k:100},r:{k:0},p:{k:[230,-246,0]},a:{k:[123,-207,0]},s:{k:[147,147,100]}},w:140,h:140,ip:0,op:11.25},{ind:14,ty:2,nm:"内圈光 2",parent:17,refId:"a4ef144015b601218847af5006ca473d",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:12,s:[100]},{t:18,s:[0]}]},r:{k:0},p:{k:[103,103,0]},a:{k:[81,81,0]},s:{k:[141,141,100]}},ip:5,op:19},{ind:15,ty:2,nm:"内圈光",parent:18,refId:"a4ef144015b601218847af5006ca473d",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:7,s:[100]},{t:13,s:[0]}]},r:{k:0},p:{k:[103,103,0]},a:{k:[81,81,0]},s:{k:[147,147,100]}},ip:0,op:14},{ind:16,ty:2,nm:"内圈白 3",refId:"50afc519d391d2afa50afc48d370a3da",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:9,s:[100]},{t:15,s:[0]}]},r:{k:0},p:{k:[148,151,0]},a:{k:[103,103,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:2,s:[15,15,100]},{t:16,s:[120,120,100]}]}},ip:2,op:16},{ind:17,ty:2,nm:"内圈白 2",refId:"50afc519d391d2afa50afc48d370a3da",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:12,s:[100]},{t:18,s:[0]}]},r:{k:0},p:{k:[148,151,0]},a:{k:[103,103,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:5,s:[15,15,100]},{t:19,s:[120,120,100]}]}},ip:5,op:19},{ind:18,ty:2,nm:"内圈白",refId:"50afc519d391d2afa50afc48d370a3da",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:7,s:[100]},{t:13,s:[0]}]},r:{k:0},p:{k:[148,151,0]},a:{k:[103,103,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[15,15,100]},{t:14,s:[120,120,100]}]}},ip:0,op:14}],markers:[],tiny:.75,assets:[{id:"c",layers:[{ddd:0,ind:1,ty:2,nm:"点击反馈_00025.png",cl:"png",refId:"d1d65b2dfdc5053ceb44104a3b8e2f92",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[68.5,67.5,0],ix:2},a:{a:0,k:[34.5,34.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:1.25,op:2.5,st:1.25,bm:0},{ddd:0,ind:2,ty:2,nm:"点击反馈_00026.png",cl:"png",refId:"5cf2a38cf5dce87059564c54892805b3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[65.5,70,0],ix:2},a:{a:0,k:[55.5,54,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:2.5,op:3.75,st:2.5,bm:0},{ddd:0,ind:3,ty:2,nm:"点击反馈_00027.png",cl:"png",refId:"ceb378de3ad1966504d766212a7b27d4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[70,70,0],ix:2},a:{a:0,k:[70,70,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:3.75,op:5,st:3.75,bm:0},{ddd:0,ind:4,ty:2,nm:"点击反馈_00028.png",cl:"png",refId:"7affaf11a518d1da0b8c9a9e38bb785d",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[70,70,0],ix:2},a:{a:0,k:[70,70,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:5,op:6.25,st:5,bm:0},{ddd:0,ind:5,ty:2,nm:"点击反馈_00029.png",cl:"png",refId:"3845e4a54c4aaae49a130ea806107c73",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[70,70,0],ix:2},a:{a:0,k:[70,70,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:6.25,op:7.5,st:6.25,bm:0},{ddd:0,ind:6,ty:2,nm:"点击反馈_00030.png",cl:"png",refId:"3e8e00ecb80fe9edde372bcaee58d1e2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[70,70,0],ix:2},a:{a:0,k:[70,70,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:7.5,op:8.75,st:7.5,bm:0},{ddd:0,ind:7,ty:2,nm:"点击反馈_00031.png",cl:"png",refId:"2e3278c6e015ef7e84e36a738fc73a93",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[70,70,0],ix:2},a:{a:0,k:[70,70,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:8.75,op:10,st:8.75,bm:0}]}]}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GuideLayer=void 0;const i=s(1),o=s(5);class n extends FYGE.Container{constructor(){super(),this.setup()}setup(){let e=this.guideMask=this.addChild(new FYGE.Shape);e.beginFill(0,.7),e.drawRect(0,0,750,1624),e.endFill(),this.guideMask.visible=!1,this.guide1=this.addChild(new FYGE.Container),this.guide1.addChild(o.Tools.getSprite("guideTips.png",95,i.layers.stage.viewRect.height+i.layers.stageOffsetY-800)),this.guide1.addChild(o.Tools.getSprite("upTips.png",300,i.layers.stage.viewRect.height+i.layers.stageOffsetY-560)).anchorTexture.set(.5,.5),this.guide1.addChild(o.Tools.getSprite("upDownBtn.png",310,i.layers.stage.stageHeight+i.layers.stageOffsetY-420)),this.guide1.visible=!1}show(){return new Promise(e=>{this.visible=!0,this.guideMask.visible=!0,this.guide1.visible=!0,this.once(FYGE.MouseEvent.CLICK,(function(){this.visible=!1,this.guideMask.visible=!1,this.guide1.visible=!1,e()}),this)})}createRect(e,t,s,i,o){let n=new FYGE.Shape;n.beginFill(0,.7),n.drawRect(t,s,i,o),n.endFill(),e.addChild(n)}}t.GuideLayer=n},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scene=void 0;const i=s(13);class o extends i.Module{showAni(e){e()}updateScene(){}}t.Scene=o},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Module=void 0;const i=s(0),o=s(6);class n extends FYGE.Container{constructor(e){super(),this.data=e,this.init()}init(){this.preLoadRes().then(()=>{this.skinName&&i.RES.initSkinDisplay(this,this.skinName,this),this.initUi(),this.onLoaded&&this.onLoaded()},()=>{this.onLoadError&&this.onLoadError()})}preLoadRes(){return new Promise((e,t)=>{if(this.groupNames&&this.groupNames.length){for(var s=[],o=0;o<this.groupNames.length;o++)s.push(i.RES.loadGroup(this.groupNames[o]));Promise.all(s).then(e,t)}else e(null)})}initUi(){}get groupNames(){return null}get skinName(){return null}start(e){this.initEvents()}initEvents(){}removeEvents(){}enableMouseEvt(e){this.mouseEnable=e,this.mouseChildren=e}btnDelay(e,t=2e3){e.mouseEnable=!1,e.mouseChildren=!1,setTimeout(()=>{e.mouseEnable=!0,e.mouseChildren=!0},t)}destroy(){o.removeTweens(this),this.removeEvents(),this.dispatchEvent("onDestroy"),super.destroy()}}t.Module=n},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ControlBox=void 0;const i=s(2),o=s(0);class n extends FYGE.Container{constructor(){super(),this.setup()}setup(){let e=this.up=this.addChild(new FYGE.Button(o.RES.getRes("upBtn.png"),o.RES.getRes("upDownBtn.png"))),t=this.down=this.addChild(new FYGE.Button(o.RES.getRes("downBtn.png"),o.RES.getRes("downDownBtn.png"))),s=this.left=this.addChild(new FYGE.Button(o.RES.getRes("leftBtn.png"),o.RES.getRes("leftDownBtn.png"))),i=this.right=this.addChild(new FYGE.Button(o.RES.getRes("rightBtn.png"),o.RES.getRes("rightDownBtn.png")));e.position.set(120,0),t.position.set(120,180),s.position.set(-20,90),i.position.set(260,90),this.up.addEventListener(FYGE.MouseEvent.CLICK,this.onClick_up,this),this.down.addEventListener(FYGE.MouseEvent.CLICK,this.onClick_down,this),this.left.addEventListener(FYGE.MouseEvent.CLICK,this.onClick_left,this),this.right.addEventListener(FYGE.MouseEvent.CLICK,this.onClick_right,this)}onClick_up(){i.GDispatcher.dispatchEvent("game_onClick_up")}onClick_down(){i.GDispatcher.dispatchEvent("game_onClick_down")}onClick_left(){i.GDispatcher.dispatchEvent("game_onClick_left")}onClick_right(){i.GDispatcher.dispatchEvent("game_onClick_right")}}t.ControlBox=n},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SPEED=t.TrackX=t.BeatConfig=void 0,t.BeatConfig=[1676,2452,3705,4652,5196,6345,7364,7955,8390,8676,9444,10916,12337,13286,13911,14507,14734,16101,17209,17214,18300,19198,19706,19769,20443,20913,20995,21895,22855,23521,24509,25521,26192,27147,28250,28434,29921,31e3,31665,32096,33223,33319,34038,34300,34871,35471,36136,36719,38145,38277,39649,40460,41457,42571,43430,44051,45354,45519,45958,47389,48234,48858,49502,50621,50641,50646,50693,50751,51207,51349,52109,53134,54494,54632,55446,55963,56134,57494,58632,59446];let i=[],o=1e3;for(let e=0;e<80;e++){let e=o+Math.round(1500*Math.random());o=e,i.push(e)}t.TrackX=[140,300,450,605],t.SPEED=3},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vibrateLong=t.vibrateShort=t.clearTimer=t.Timer=void 0,t.Timer=function(e,t){var s={a:e};return FYGE.Tween.get(s,{onChange:()=>{t(s.a)}}).to({a:0},e),s},t.clearTimer=function(e){e&&FYGE.Tween.removeTweens(e)},t.vibrateShort=()=>{try{my.vibrateShort({success:()=>{}})}catch(e){}},t.vibrateLong=()=>{try{my.vibrateLong({success:()=>{}})}catch(e){}}},function(e,t,s){"use strict";var i=this&&this.__awaiter||function(e,t,s,i){return new(s||(s=Promise))((function(o,n){function r(e){try{h(i.next(e))}catch(e){n(e)}}function a(e){try{h(i.throw(e))}catch(e){n(e)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(r,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.createAudio=t.TbMusicBtn=void 0;const o=s(5),n=s(0),r={bg1:"cloud://B5ADF33DC09C37E34AE55D729D572278/bg1.mp3",bg2:"cloud://D395C6C8175BCE52A8251DD4502EC6FB/bg2.mp3",bg3:"cloud://B41E272376315BD53CC39C4C463E5B96/bg3.mp3",bg4:"cloud://E5744FABAEEBC8AE44F47D2F0ABCB9F7/bg4.mp3",bg5:"cloud://EC8979607AA9AE3B6F7A5C556ED3BE8A/bg5.mp3"},a=window?{}:getApp();let h={};class p extends FYGE.Container{constructor(){super(),this.state=0,this.setup()}setup(){return i(this,void 0,void 0,(function*(){if(!window){let e=[];Object.keys(r).forEach(t=>{e.push((e=>i(this,void 0,void 0,(function*(){const t=yield a.cloud.file.getTempFileURL({fileId:r[e]});t[0]&&(h[e]=t[0].url),console.log(h[e])})))(t))}),yield Promise.all(e);let t=Object.keys(h)[Math.round((Object.keys(h).length-1)*Math.random())];console.log(t),this.currSrc=h[t],console.log(this.currSrc)}this.base=this.addChild(o.Tools.getSprite("videoDisc.png")),this.base.position.set(30,30),this.btn=this.addChild(o.Tools.getSprite("musicOnBtn.png")),this.btn.anchorTexture.set(.5,.5),this.btn.position.set(72,72),this.needle=this.addChild(o.Tools.getSprite("needle.png")),this.needle.position.set(0,15),my&&my.isPlayMusic?this.on():this.off()}))}change(){let e=Object.keys(h)[Math.round((Object.keys(h).length-1)*Math.random())];this.currSrc=h[e]}on(){FYGE.Tween.removeTweens(this.needle),this.btn.rotation=0,this.btn.texture=n.RES.getRes("musicOnBtn.png"),FYGE.Tween.get(this.needle).to({rotation:0},300),FYGE.Tween.get(this.btn,{loop:!0}).to({rotation:360},2e3),console.log("currSrc:",this.currSrc),window||d(!0,this.currSrc,!0)}off(){FYGE.Tween.removeTweens(this.needle),FYGE.Tween.removeTweens(this.btn),FYGE.Tween.get(this.needle).to({rotation:15},300),this.btn.texture=n.RES.getRes("musicOffBtn.png"),this.btn.rotation=0,window||d(!1,this.currSrc,!0)}}t.TbMusicBtn=p;class c{constructor(e){const{src:t}=e;if(!t)return console.error("请输入音频链接"),!1;try{const t=my.createInnerAudioContext();return Object.keys(e).forEach(s=>{t[s]=e[s]}),t}catch(e){console.error("当前版本不支持音频")}}}t.createAudio=e=>new c(e);let l={};const d=(e,s,i=!1)=>{for(let e in l)l[e].isOn&&l[e].stop();const o=s;e?(l[o]||(l[o]=t.createAudio({src:s,autoplay:!0,loop:i}),l[o].onPlay(()=>{l[o].isOn=e}),l[o].onStop(()=>{l[o].isOn=!1}),l[o].onEnded(()=>{const e=my.getSystemInfoSync();e&&e.platform.includes("Android")?l[o].play():(e&&e.platform.includes("iOS")||e.platform.includes("iPhone OS "))&&(l[o].isOn=!1)})),l[o].play()):l[o]&&l[o].stop()}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cdAni=void 0,t.cdAni={fr:30,ip:0,op:90,w:509,h:350,nm:"倒计时导出新",layers:[{ind:1,ty:2,nm:"3",refId:"84081385ba856861ff5afe8f8ee0c105",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:23,s:[100]},{t:29,s:[0]}]},r:{k:0},p:{k:[254.5,178,0]},a:{k:[55.5,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:10,s:[132,132,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:16,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:23,s:[119,119,100]},{t:29,s:[45,45,100]}]}},ip:0,op:30},{ind:2,ty:2,nm:"2",refId:"e92208f1924adc335033ed57b240e3db",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:53,s:[100]},{t:59,s:[0]}]},r:{k:0},p:{k:[254.5,171,0]},a:{k:[56.5,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:40,s:[132,132,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:46,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:53,s:[119,119,100]},{t:59,s:[45,45,100]}]}},ip:30,op:60},{ind:3,ty:2,nm:"1",refId:"2d6ff2f9eb342ff9d87798503e87d594",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:78.241,s:[100]},{t:86,s:[0]}]},r:{k:0},p:{k:[254,167,0]},a:{k:[26,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:60,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:67,s:[153,153,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:72.689,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:78.241,s:[119,119,100]},{t:83,s:[147,147,100]}]}},ip:60,op:89},{ind:4,ty:2,nm:"6",refId:"84081385ba856861ff5afe8f8ee0c105",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:25,s:[23]},{t:31,s:[0]}]},r:{k:0},p:{k:[254.609,168.583,0]},a:{k:[55.5,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:2,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:12,s:[160.908,160.908,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:18,s:[121.9,121.9,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:25,s:[145.061,145.061,100]},{t:31,s:[54.855,54.855,100]}]}},ip:2,op:32},{ind:5,ty:2,nm:"5",refId:"e92208f1924adc335033ed57b240e3db",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:56,s:[23]},{t:62,s:[0]}]},r:{k:0},p:{k:[254.609,160.05,0]},a:{k:[56.5,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:33,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:43,s:[160.908,160.908,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:49,s:[121.9,121.9,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:56,s:[145.061,145.061,100]},{t:62,s:[54.855,54.855,100]}]}},ip:33,op:63},{ind:6,ty:2,nm:"4",refId:"2d6ff2f9eb342ff9d87798503e87d594",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:80,s:[23]},{t:88,s:[0]}]},r:{k:0},p:{k:[254,155.174,0]},a:{k:[26,83,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:62,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:69,s:[186.507,186.507,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:74.689,s:[121.9,121.9,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:80.241,s:[145.061,145.061,100]},{t:85,s:[179.193,179.193,100]}]}},ip:62,op:89},{ind:7,ty:2,nm:"椭圆 1901",refId:"0ad58ae67a8dbae9b7945fd24dae5c90",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:80.241,s:[100]},{t:85,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[383.5,247.5,0],to:[-16.5,-5.25,0],ti:[-15.25,-1,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:44,s:[379.5,270.5,0],to:[15.25,1,0],ti:[0,0,0]},{t:88,s:[383.5,247.5,0]}],x:"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},a:{k:[9.5,9.5,0]},s:{k:[100,100,100]}},ip:0,op:89},{ind:8,ty:2,nm:"椭圆 1899 拷贝 3",refId:"64fc43a0ef2f64be1f50c13802e01851",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:78,s:[100]},{t:82.759,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[358.5,314.5,0],to:[-27,-39,0],ti:[-41.5,-6,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:44,s:[328.5,332.5,0],to:[41.5,6,0],ti:[0,0,0]},{t:88,s:[358.5,314.5,0]}],x:"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},a:{k:[16.5,16.5,0]},s:{k:[100,100,100]}},ip:0,op:89},{ind:9,ty:2,nm:"椭圆 1900",refId:"e4882e95cd0d93a804e2fd32f329fe7d",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:78,s:[100]},{t:82.759,s:[0]}]},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[127.5,276.5,0],to:[-25.5,-3,0],ti:[-19.5,-10,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:44,s:[138.5,253.5,0],to:[19.5,10,0],ti:[0,0,0]},{t:88,s:[127.5,276.5,0]}],x:"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},a:{k:[13.5,13.5,0]},s:{k:[100,100,100]}},ip:0,op:89},{ind:10,ty:2,nm:"椭圆 1899 拷贝 2",refId:"7552f85b6175bb97617d97872b51fe60",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:81,s:[100]},{t:85.759,s:[0]}]},r:{k:0},p:{k:[254.5,295.5,0]},a:{k:[88.5,12.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:81,s:[100,100,100]},{t:86,s:[204,204,100]}]}},ip:0,op:89},{ind:11,ty:2,nm:"椭圆 1899",refId:"5a231dc014b6e40255902d830bd6aaf9",ks:{o:{k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:84,s:[100]},{t:88.759,s:[0]}]},r:{k:0},p:{k:[254.5,295.5,0]},a:{k:[182.5,26.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:84,s:[100,100,100]},{t:89,s:[149,149,100]}]}},ip:0,op:89}],markers:[],tiny:.55}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shadowAni=void 0,t.shadowAni={fr:30,ip:0,op:67,w:554,h:144,nm:"影子导出",layers:[{ind:1,ty:2,nm:"yz.png",refId:"5f9c3a3ae2bf9061eaa11a176e7587f0",ks:{o:{k:100},r:{k:0},p:{k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[349,67,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:7,s:[349,67,0],to:[-8.667,0,0],ti:[8.667,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:16,s:[297,67,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:22,s:[297,75,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:27,s:[297,67,0],to:[-4,0,0],ti:[8,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:37,s:[273,67,0],to:[-8,0,0],ti:[0,-2,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:45,s:[249,67,0],to:[0,2,0],ti:[-4,-2,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:56,s:[273,79,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:61,s:[273,79,0],to:[8.957,0,0],ti:[-12.667,2,0]},{t:67,s:[349,67,0]}],x:"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},a:{k:[118.5,66.5,0]},s:{k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:7,s:[171,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:16,s:[109,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:22,s:[121,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[109,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:37,s:[238,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:45,s:[127,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:56,s:[119,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:61,s:[119,100,100]},{t:67,s:[100,100,100]}],x:"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"}},ip:0,op:67}],markers:[]}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResJson=void 0,t.ResJson={groups:[{keys:"街舞ss_00000.png,街舞ss_00001.png,街舞ss_00002.png,街舞ss_00003.png,街舞ss_00004.png,街舞ss_00005.png,街舞ss_00006.png,街舞ss_00007.png,街舞ss_00008.png,街舞ss_00009.png,街舞ss_00010.png,街舞ss_00011.png,街舞ss_00012.png,街舞ss_00013.png,街舞ss_00014.png,街舞ss_00015.png,街舞ss_00016.png,街舞ss_00017.png,街舞ss_00018.png,街舞ss_00019.png,街舞ss_00020.png,街舞ss_00021.png,街舞ss_00022.png,街舞ss_00023.png,街舞ss_00024.png,街舞ss_00025.png,街舞ss_00026.png,街舞ss_00027.png,街舞ss_00028.png,街舞ss_00029.png,街舞ss_00030.png,街舞ss_00031.png,街舞ss_00032.png,街舞ss_00033.png,街舞ss_00034.png,街舞ss_00035.png,街舞ss_00036.png,街舞ss_00037.png,街舞ss_00038.png,街舞ss_00039.png,街舞ss_00040.png,街舞ss_00041.png,街舞ss_00042.png,街舞ss_00043.png,街舞ss_00044.png,街舞ss_00045.png,街舞ss_00046.png,街舞ss_00047.png,街舞ss_00048.png,街舞ss_00049.png,街舞ss_00050.png,街舞ss_00051.png,街舞ss_00052.png,街舞ss_00053.png,街舞ss_00054.png,街舞ss_00055.png,街舞ss_00056.png,街舞ss_00057.png,街舞ss_00058.png,街舞ss_00059.png,街舞ss_00060.png,街舞ss_00061.png,街舞ss_00062.png,街舞ss_00063.png,街舞ss_00064.png,街舞ss_00065.png,街舞ss_00066.png",name:"ani",atlas:{"街舞ss_00056.png":{x:2,y:2,w:71,h:289,ox:65,oy:17,sw:210,sh:320,ro:!1},"街舞ss_00019.png":{x:75,y:2,w:124,h:288,ox:29,oy:7,sw:210,sh:320,ro:!1},"街舞ss_00024.png":{x:201,y:2,w:108,h:287,ox:36,oy:14,sw:210,sh:320,ro:!1},"街舞ss_00050.png":{x:2,y:293,w:85,h:287,ox:44,oy:8,sw:210,sh:320,ro:!0},"街舞ss_00055.png":{x:311,y:2,w:71,h:287,ox:63,oy:17,sw:210,sh:320,ro:!1},"街舞ss_00057.png":{x:2,y:380,w:72,h:287,ox:65,oy:18,sw:210,sh:320,ro:!0},"街舞ss_00018.png":{x:384,y:2,w:121,h:286,ox:32,oy:7,sw:210,sh:320,ro:!1},"街舞ss_00025.png":{x:2,y:454,w:97,h:286,ox:42,oy:16,sw:210,sh:320,ro:!0},"街舞ss_00049.png":{x:507,y:2,w:87,h:286,ox:42,oy:10,sw:210,sh:320,ro:!1},"街舞ss_00054.png":{x:291,y:291,w:74,h:286,ox:59,oy:16,sw:210,sh:320,ro:!0},"街舞ss_00017.png":{x:291,y:367,w:116,h:285,ox:37,oy:8,sw:210,sh:320,ro:!0},"街舞ss_00041.png":{x:2,y:553,w:143,h:285,ox:19,oy:16,sw:210,sh:320,ro:!0},"街舞ss_00051.png":{x:290,y:485,w:83,h:285,ox:47,oy:9,sw:210,sh:320,ro:!0},"街舞ss_00053.png":{x:289,y:570,w:77,h:285,ox:55,oy:14,sw:210,sh:320,ro:!0},"街舞ss_00020.png":{x:596,y:2,w:125,h:284,ox:28,oy:10,sw:210,sh:320,ro:!1},"街舞ss_00023.png":{x:596,y:288,w:114,h:284,ox:33,oy:14,sw:210,sh:320,ro:!1},"街舞ss_00026.png":{x:2,y:698,w:90,h:284,ox:43,oy:18,sw:210,sh:320,ro:!0},"街舞ss_00033.png":{x:289,y:649,w:111,h:284,ox:33,oy:17,sw:210,sh:320,ro:!0},"街舞ss_00042.png":{x:723,y:2,w:122,h:284,ox:21,oy:16,sw:210,sh:320,ro:!1},"街舞ss_00052.png":{x:712,y:288,w:80,h:284,ox:51,oy:12,sw:210,sh:320,ro:!1},"街舞ss_00016.png":{x:2,y:790,w:112,h:283,ox:41,oy:13,sw:210,sh:320,ro:!0},"街舞ss_00021.png":{x:288,y:762,w:123,h:283,ox:29,oy:12,sw:210,sh:320,ro:!0},"街舞ss_00034.png":{x:576,y:574,w:140,h:283,ox:22,oy:15,sw:210,sh:320,ro:!1},"街舞ss_00040.png":{x:847,y:2,w:158,h:283,ox:18,oy:18,sw:210,sh:320,ro:!1},"街舞ss_00022.png":{x:718,y:574,w:120,h:282,ox:30,oy:13,sw:210,sh:320,ro:!0},"街舞ss_00048.png":{x:794,y:288,w:88,h:282,ox:41,oy:14,sw:210,sh:320,ro:!1},"街舞ss_00058.png":{x:884,y:287,w:73,h:281,ox:65,oy:19,sw:210,sh:320,ro:!1},"街舞ss_00032.png":{x:718,y:696,w:91,h:280,ox:37,oy:20,sw:210,sh:320,ro:!0},"街舞ss_00035.png":{x:2,y:904,w:159,h:280,ox:16,oy:16,sw:210,sh:320,ro:!0},"街舞ss_00043.png":{x:718,y:789,w:99,h:280,ox:27,oy:18,sw:210,sh:320,ro:!0},"街舞ss_00009.png":{x:284,y:904,w:127,h:279,ox:50,oy:19,sw:210,sh:320,ro:!0},"街舞ss_00027.png":{x:565,y:890,w:84,h:279,ox:45,oy:21,sw:210,sh:320,ro:!0},"街舞ss_00039.png":{x:1007,y:2,w:171,h:279,ox:14,oy:19,sw:210,sh:320,ro:!1},"街舞ss_00047.png":{x:959,y:287,w:89,h:279,ox:41,oy:18,sw:210,sh:320,ro:!1},"街舞ss_00010.png":{x:1050,y:283,w:107,h:278,ox:54,oy:20,sw:210,sh:320,ro:!1},"街舞ss_00015.png":{x:1050,y:563,w:111,h:278,ox:45,oy:19,sw:210,sh:320,ro:!1},"街舞ss_00036.png":{x:846,y:890,w:172,h:277,ox:13,oy:18,sw:210,sh:320,ro:!0},"街舞ss_00038.png":{x:2,y:1065,w:179,h:277,ox:8,oy:20,sw:210,sh:320,ro:!0},"街舞ss_00059.png":{x:565,y:976,w:76,h:277,ox:65,oy:20,sw:210,sh:320,ro:!0},"街舞ss_00000.png":{x:284,y:1033,w:113,h:276,ox:58,oy:20,sw:210,sh:320,ro:!0},"街舞ss_00001.png":{x:562,y:1054,w:123,h:276,ox:56,oy:19,sw:210,sh:320,ro:!0},"街舞ss_00008.png":{x:840,y:1064,w:136,h:276,ox:47,oy:21,sw:210,sh:320,ro:!0},"街舞ss_00044.png":{x:281,y:1148,w:90,h:276,ox:34,oy:21,sw:210,sh:320,ro:!0},"街舞ss_00060.png":{x:1180,y:2,w:79,h:276,ox:64,oy:22,sw:210,sh:320,ro:!1},"街舞ss_00066.png":{x:1125,y:843,w:113,h:276,ox:58,oy:20,sw:210,sh:320,ro:!1},"街舞ss_00002.png":{x:2,y:1246,w:128,h:275,ox:55,oy:20,sw:210,sh:320,ro:!0},"街舞ss_00011.png":{x:559,y:1179,w:101,h:275,ox:57,oy:23,sw:210,sh:320,ro:!0},"街舞ss_00031.png":{x:281,y:1240,w:85,h:275,ox:40,oy:23,sw:210,sh:320,ro:!0},"街舞ss_00037.png":{x:1261,y:2,w:181,h:275,ox:7,oy:20,sw:210,sh:320,ro:!1},"街舞ss_00046.png":{x:1159,y:283,w:88,h:275,ox:40,oy:22,sw:210,sh:320,ro:!1},"街舞ss_00007.png":{x:1163,y:560,w:136,h:274,ox:47,oy:22,sw:210,sh:320,ro:!0},"街舞ss_00028.png":{x:1249,y:280,w:83,h:274,ox:45,oy:24,sw:210,sh:320,ro:!1},"街舞ss_00045.png":{x:1163,y:698,w:86,h:274,ox:39,oy:23,sw:210,sh:320,ro:!0},"街舞ss_00065.png":{x:1334,y:279,w:101,h:274,ox:61,oy:22,sw:210,sh:320,ro:!1},"街舞ss_00003.png":{x:836,y:1202,w:129,h:273,ox:55,oy:22,sw:210,sh:320,ro:!0},"街舞ss_00012.png":{x:1118,y:1121,w:106,h:273,ox:55,oy:25,sw:210,sh:320,ro:!0},"街舞ss_00014.png":{x:1111,y:1229,w:112,h:273,ox:47,oy:25,sw:210,sh:320,ro:!0},"街舞ss_00061.png":{x:558,y:1282,w:84,h:273,ox:64,oy:24,sw:210,sh:320,ro:!0},"街舞ss_00006.png":{x:1240,y:786,w:132,h:272,ox:50,oy:24,sw:210,sh:320,ro:!1},"街舞ss_00013.png":{x:2,y:1376,w:111,h:272,ox:51,oy:26,sw:210,sh:320,ro:!0},"街舞ss_00064.png":{x:833,y:1333,w:87,h:272,ox:65,oy:24,sw:210,sh:320,ro:!0},"街舞ss_00004.png":{x:279,y:1327,w:130,h:271,ox:55,oy:24,sw:210,sh:320,ro:!0},"街舞ss_00005.png":{x:1107,y:1343,w:132,h:271,ox:53,oy:24,sw:210,sh:320,ro:!0},"街舞ss_00029.png":{x:552,y:1368,w:83,h:271,ox:45,oy:27,sw:210,sh:320,ro:!0},"街舞ss_00030.png":{x:1444,y:2,w:83,h:271,ox:44,oy:27,sw:210,sh:320,ro:!1},"街舞ss_00062.png":{x:1439,y:279,w:86,h:270,ox:64,oy:26,sw:210,sh:320,ro:!1},"街舞ss_00063.png":{x:1439,y:551,w:86,h:270,ox:65,oy:26,sw:210,sh:320,ro:!1}}},{keys:"cd0.png,cd1.png,cd2.png,cd3.png,cd4.png,cd5.png,cd6.png,cd7.png,cd8.png,cd9.png,comCloseBtn.png,score0.png,score1.png,score2.png,score3.png,score4.png,score5.png,score6.png,score7.png,score8.png,score9.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,关闭按钮2.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},"关闭按钮.png":{x:184,y:134,w:60,h:60,ox:0,oy:0,sw:60,sh:60,ro:!1},"关闭按钮2.png":{x:184,y:196,w:60,h:60,ox:0,oy:0,sw:60,sh:60,ro:!1},"waitingRot.png":{x:246,y:134,w:56,h:56,ox:0,oy:0,sw:56,sh:56,ro:!1},"score5.png":{x:246,y:192,w:51,h:43,ox:0,oy:0,sw:51,sh:43,ro:!0},"score2.png":{x:246,y:245,w:49,h:43,ox:0,oy:0,sw:49,sh:43,ro:!0},"score7.png":{x:291,y:192,w:49,h:42,ox:0,oy:0,sw:49,sh:42,ro:!0},"comCloseBtn.png":{x:291,y:243,w:48,h:48,ox:0,oy:0,sw:48,sh:48,ro:!1},"score3.png":{x:304,y:134,w:48,h:44,ox:0,oy:0,sw:48,sh:44,ro:!0},"score9.png":{x:335,y:184,w:48,h:44,ox:0,oy:0,sw:48,sh:44,ro:!0},"score4.png":{x:350,y:134,w:47,h:42,ox:0,oy:0,sw:47,sh:42,ro:!0},"score6.png":{x:341,y:234,w:47,h:44,ox:0,oy:0,sw:47,sh:44,ro:!0},"score8.png":{x:381,y:183,w:47,h:44,ox:0,oy:0,sw:47,sh:44,ro:!0},"score0.png":{x:394,y:134,w:46,h:44,ox:0,oy:0,sw:46,sh:44,ro:!0},"score1.png":{x:427,y:182,w:30,h:42,ox:0,oy:0,sw:30,sh:42,ro:!1},"cd0.png":{x:440,y:134,w:22,h:34,ox:0,oy:0,sw:22,sh:34,ro:!1},"cd3.png":{x:427,y:226,w:21,h:34,ox:0,oy:0,sw:21,sh:34,ro:!0},"cd6.png":{x:184,y:258,w:22,h:34,ox:0,oy:0,sw:22,sh:34,ro:!1},"cd8.png":{x:208,y:258,w:22,h:34,ox:0,oy:0,sw:22,sh:34,ro:!1},"cd9.png":{x:387,y:232,w:22,h:34,ox:0,oy:0,sw:22,sh:34,ro:!0},"cd2.png":{x:387,y:256,w:22,h:33,ox:0,oy:0,sw:22,sh:33,ro:!1},"cd5.png":{x:411,y:256,w:21,h:33,ox:0,oy:0,sw:21,sh:33,ro:!1},"cd1.png":{x:341,y:283,w:9,h:32,ox:0,oy:0,sw:9,sh:32,ro:!0},"cd4.png":{x:434,y:249,w:23,h:32,ox:0,oy:0,sw:23,sh:32,ro:!1},"cd7.png":{x:2,y:296,w:21,h:32,ox:0,oy:0,sw:21,sh:32,ro:!0}}},{keys:"235229bb337b9ce81676d210bb8fdbab.png,2e3278c6e015ef7e84e36a738fc73a93.png,3845e4a54c4aaae49a130ea806107c73.png,3e8e00ecb80fe9edde372bcaee58d1e2.png,50afc519d391d2afa50afc48d370a3da.png,5cf2a38cf5dce87059564c54892805b3.png,7affaf11a518d1da0b8c9a9e38bb785d.png,a3a1d8ee00da7958e1a546bfabd5477e.png,a4755f660d7e84b40fb2210a31df2469.png,a4ef144015b601218847af5006ca473d.png,ceb378de3ad1966504d766212a7b27d4.png,d1d65b2dfdc5053ceb44104a3b8e2f92.png",name:"perfectAni",atlas:{"50afc519d391d2afa50afc48d370a3da.png":{x:2,y:2,w:206,h:206,ox:0,oy:0,sw:206,sh:206,ro:!1},"a4ef144015b601218847af5006ca473d.png":{x:210,y:2,w:162,h:162,ox:0,oy:0,sw:162,sh:162,ro:!1},"2e3278c6e015ef7e84e36a738fc73a93.png":{x:2,y:210,w:140,h:140,ox:0,oy:0,sw:140,sh:140,ro:!1},"3845e4a54c4aaae49a130ea806107c73.png":{x:144,y:210,w:140,h:140,ox:0,oy:0,sw:140,sh:140,ro:!1},"3e8e00ecb80fe9edde372bcaee58d1e2.png":{x:2,y:352,w:140,h:140,ox:0,oy:0,sw:140,sh:140,ro:!1},"7affaf11a518d1da0b8c9a9e38bb785d.png":{x:144,y:352,w:140,h:140,ox:0,oy:0,sw:140,sh:140,ro:!1},"ceb378de3ad1966504d766212a7b27d4.png":{x:374,y:2,w:140,h:140,ox:0,oy:0,sw:140,sh:140,ro:!1},"5cf2a38cf5dce87059564c54892805b3.png":{x:374,y:144,w:111,h:108,ox:0,oy:0,sw:111,sh:108,ro:!1},"d1d65b2dfdc5053ceb44104a3b8e2f92.png":{x:286,y:166,w:69,h:69,ox:0,oy:0,sw:69,sh:69,ro:!1},"a4755f660d7e84b40fb2210a31df2469.png":{x:210,y:166,w:31,h:31,ox:0,oy:0,sw:31,sh:31,ro:!1},"235229bb337b9ce81676d210bb8fdbab.png":{x:487,y:144,w:26,h:25,ox:0,oy:0,sw:26,sh:25,ro:!1},"a3a1d8ee00da7958e1a546bfabd5477e.png":{x:487,y:171,w:19,h:19,ox:0,oy:0,sw:19,sh:19,ro:!1}}},{keys:"0ad58ae67a8dbae9b7945fd24dae5c90.png,2d6ff2f9eb342ff9d87798503e87d594.png,5a231dc014b6e40255902d830bd6aaf9.png,5f9c3a3ae2bf9061eaa11a176e7587f0.png,64fc43a0ef2f64be1f50c13802e01851.png,7552f85b6175bb97617d97872b51fe60.png,84081385ba856861ff5afe8f8ee0c105.png,backBg.jpg,beatBaseBg.png,downBtn.png,downDownBtn.png,downTips.png,e4882e95cd0d93a804e2fd32f329fe7d.png,e92208f1924adc335033ed57b240e3db.png,gameOverTips.png,gameStartTips.png,good.png,great.png,guideTips.png,leftBtn.png,leftDownBtn.png,leftTips.png,man.png,miss.png,musicOffBtn.png,musicOnBtn.png,needle.png,p1.png,p2.png,p3.png,pBottom.png,perfect.png,preBgTop.png,preBottomBg.jpg,rightBtn.png,rightDownBtn.png,rightTips.png,timerBg.png,upBtn.png,upDownBtn.png,upTips.png,videoDisc.png",name:"playScene",atlas:{"beatBaseBg.png":{x:2,y:2,w:750,h:140,ox:0,oy:0,sw:750,sh:140,ro:!1},"preBgTop.png":{x:2,y:144,w:750,h:207,ox:0,oy:0,sw:750,sh:207,ro:!1},"man.png":{x:2,y:353,w:252,h:732,ox:263,oy:295,sw:750,sh:1624,ro:!0},"guideTips.png":{x:2,y:607,w:420,h:168,ox:0,oy:0,sw:420,sh:168,ro:!1},"5a231dc014b6e40255902d830bd6aaf9.png":{x:754,y:2,w:365,h:53,ox:0,oy:0,sw:365,sh:53,ro:!0},"pBottom.png":{x:424,y:607,w:365,h:93,ox:0,oy:0,sw:365,sh:93,ro:!1},"timerBg.png":{x:2,y:777,w:270,h:214,ox:0,oy:0,sw:270,sh:215,ro:!1},"perfect.png":{x:424,y:702,w:243,h:114,ox:0,oy:0,sw:243,sh:114,ro:!0},"5f9c3a3ae2bf9061eaa11a176e7587f0.png":{x:540,y:702,w:237,h:133,ox:0,oy:0,sw:237,sh:133,ro:!1},"great.png":{x:540,y:837,w:228,h:97,ox:0,oy:0,sw:228,sh:97,ro:!1},"good.png":{x:274,y:777,w:204,h:96,ox:0,oy:0,sw:204,sh:96,ro:!0},"miss.png":{x:809,y:2,w:204,h:96,ox:0,oy:0,sw:204,sh:96,ro:!0},"7552f85b6175bb97617d97872b51fe60.png":{x:372,y:947,w:177,h:25,ox:0,oy:0,sw:177,sh:25,ro:!1},"2d6ff2f9eb342ff9d87798503e87d594.png":{x:736,y:369,w:52,h:166,ox:0,oy:0,sw:52,sh:166,ro:!0},"84081385ba856861ff5afe8f8ee0c105.png":{x:736,y:423,w:111,h:166,ox:0,oy:0,sw:111,sh:166,ro:!0},"e92208f1924adc335033ed57b240e3db.png":{x:791,y:536,w:113,h:166,ox:0,oy:0,sw:113,sh:166,ro:!1},"p3.png":{x:779,y:704,w:111,h:166,ox:0,oy:0,sw:111,sh:166,ro:!1},"p1.png":{x:551,y:936,w:52,h:164,ox:0,oy:0,sw:52,sh:164,ro:!0},"p2.png":{x:907,y:2,w:113,h:164,ox:0,oy:0,sw:113,sh:164,ro:!1},"gameOverTips.png":{x:372,y:777,w:141,h:44,ox:0,oy:0,sw:141,sh:44,ro:!0},"downBtn.png":{x:892,y:704,w:127,h:136,ox:0,oy:0,sw:127,sh:136,ro:!1},"leftBtn.png":{x:892,y:842,w:127,h:136,ox:0,oy:0,sw:127,sh:136,ro:!1},"rightBtn.png":{x:809,y:208,w:127,h:136,ox:0,oy:0,sw:127,sh:136,ro:!1},"upBtn.png":{x:2,y:993,w:127,h:136,ox:0,oy:0,sw:127,sh:136,ro:!0},"downDownBtn.png":{x:274,y:990,w:127,h:130,ox:0,oy:0,sw:127,sh:130,ro:!1},"leftDownBtn.png":{x:403,y:990,w:127,h:130,ox:0,oy:0,sw:127,sh:130,ro:!1},"rightDownBtn.png":{x:532,y:990,w:128,h:130,ox:0,oy:0,sw:128,sh:130,ro:!1},"upDownBtn.png":{x:140,y:993,w:127,h:130,ox:0,oy:0,sw:127,sh:130,ro:!0},"gameStartTips.png":{x:662,y:990,w:128,h:42,ox:0,oy:0,sw:128,sh:42,ro:!0},"needle.png":{x:938,y:168,w:65,h:89,ox:0,oy:0,sw:65,sh:89,ro:!1},"upTips.png":{x:906,y:346,w:84,h:84,ox:0,oy:0,sw:84,sh:84,ro:!1},"videoDisc.png":{x:904,y:432,w:84,h:84,ox:0,oy:0,sw:84,sh:84,ro:!1},"downTips.png":{x:938,y:259,w:81,h:82,ox:0,oy:0,sw:81,sh:82,ro:!0},"leftTips.png":{x:906,y:518,w:82,h:82,ox:0,oy:0,sw:82,sh:82,ro:!1},"rightTips.png":{x:906,y:602,w:82,h:82,ox:0,oy:0,sw:82,sh:82,ro:!1},"musicOffBtn.png":{x:736,y:536,w:39,h:38,ox:0,oy:0,sw:39,sh:38,ro:!1},"musicOnBtn.png":{x:770,y:872,w:39,h:38,ox:0,oy:0,sw:39,sh:38,ro:!1},"64fc43a0ef2f64be1f50c13802e01851.png":{x:811,y:872,w:33,h:33,ox:0,oy:0,sw:33,sh:33,ro:!1},"e4882e95cd0d93a804e2fd32f329fe7d.png":{x:992,y:342,w:27,h:27,ox:0,oy:0,sw:27,sh:27,ro:!1},"0ad58ae67a8dbae9b7945fd24dae5c90.png":{x:809,y:346,w:19,h:19,ox:0,oy:0,sw:19,sh:19,ro:!1}}}],path:"https://yun.duiba.com.cn/db_games/activity/template/1640920607/resource/"}},function(e,t,s){"use strict";var i=this&&this.__awaiter||function(e,t,s,i){return new(s||(s=Promise))((function(o,n){function r(e){try{h(i.next(e))}catch(e){n(e)}}function a(e){try{h(i.throw(e))}catch(e){n(e)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(r,a)}h((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TBPRIZE_TYPE=t.getTbServerTime=t.checkTbDownloadPermission=t.clickLogTb=t.LogTbEnum=t.destroyTbNetData=t.getTbData=t.sendTbNet=t.TbNetName=void 0;const o=s(6),n=s(2);var r;!function(e){e.addData="xtep2c.addData",e.getActivityBaseInfoById="xtep2c.getActivityBaseInfoById",e.gameOver="mine.GameOver",e.getRankList="xtep2c.getRankList",e.rankPrizePop="xtep2c.rankPrizePop",e.receiveEnamePrize="xtep2c.receiveEnamePrize",e.startGame="xtep2c.startGame",e.submitScore="xtep2c.submitScore",e.authorize="mine.authorize",e.favorShop="mine.favorShop",e.getUserAddress="mine.getUserAddress",e.getAdoptName="mine.getAdoptName",e.getAppData="mine.getAppData",e.navigateToOutside="mine.navigateToOutside",e.navigateTo="mine.navigateTo",e.navigateBack="mine.navigateBack",e.showSharePanel="mine.showSharePanel",e.openDetail="mine.openDetail",e.reportAnalytics="mine.reportAnalytics",e.openMusic="mine.openMusic"}(r=t.TbNetName||(t.TbNetName={}));let a={};function h(e,t,s,r=!1){return new Promise((h,p)=>{if(!my)return void function(e){return i(this,void 0,void 0,(function*(){let t=yield fetch(e);return yield t.json()}))}("../../mock/miniTb/"+e+".json").then(i=>{a[e]=i,r||i.success||o.showToast(i.message||"网络超时"),s&&s(i.success,i),h(i),console.log(`\n%c[ mock ]\nNAME : ${e} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`,""+(i.success?"color:green":"color:red"),i.success,t,""+(i.success?"color:green":"color:red"),i)},()=>{r||o.showToast("网络超时"),s&&s(!1),h({success:!1})});let c=function(i){n.GDispatcher.removeEventListener(e,c);var p=i.data;a[e]=p,r||p.success||o.showToast(p.message||"网络超时"),s&&s(p.success,p),h(p),console.log(`\n%c[ request ]\nNAME : ${e} \nSTATE : %o \nPARAM : %o \n%cDATA : %o \n`,""+(p.success?"color:green":"color:red"),p.success,t,""+(p.success?"color:green":"color:red"),p)};n.GDispatcher.addEventListener(e,c),n.GDispatcher.dispatchEvent({type:"onMessage"},{netName:e,parameter:t})})}t.sendTbNet=h,t.getTbData=function(e){return a[e]||null},t.destroyTbNetData=function(){a={}},function(e){e.AD="ad",e.TASK_ICON="taskIcon",e.FOLLOW_SHOP="followShop",e.INVITE_FRIEND="inviteFriend",e.BROWSE_PRODUCT="browseProduct",e.COLLECTION_PRODUCT="collectionProduct",e.BUY_PRODUCT="buyProduct",e.IMPROVE_INFORMATION="improveInformation",e.SECRET_ORDER="secretOrder",e.SIGN_ICON="signIcon",e.BAG_ICON="bagIcon"}(t.LogTbEnum||(t.LogTbEnum={})),t.clickLogTb=function(e){h(r.addData,{params:{elemType:e},type:"click"},()=>{},!0),h(r.reportAnalytics,{logkey:e},()=>{},!0)},t.checkTbDownloadPermission=function(e){return i(this,void 0,void 0,(function*(){var t;try{t=my}catch(e){}if(!t)return;if("android"!==FYGE.getOsType())return;const{cloud:s}=getApp();var i=e;i=(yield s.file.getTempFileURL({fileId:[i]}))[0].url.replace("-internal",""),t.downloadFile({url:i,success(e){var s=e.apFilePath;t.getFileSystemManager().readFile({filePath:s,success:function(e){},fail:function(e){}})},fail(e){}})}))},t.getTbServerTime=()=>new Promise((e,t)=>{"tb"==FYGE.getEnv()?my.getServerTime({success:t=>{e(+t.time)},fail:t=>{e(Date.now())}}):e(Date.now())}),function(e){e[e.ENAME=1]="ENAME",e[e.CREDITS=2]="CREDITS",e[e.OBJECT=3]="OBJECT",e[e.THANKS=5]="THANKS"}(t.TBPRIZE_TYPE||(t.TBPRIZE_TYPE={}))},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SkinJson=void 0,t.SkinJson={x:0,y:0,type:"container",children:[{name:"RankPrizePanel",x:0,y:0,type:"container",children:[{name:"排行榜中奖弹框背景",x:73,y:286,type:"sprite",props:{source:"排行榜中奖弹框背景.png"}},{name:"开心收下",x:200,y:918,type:"button",props:{tUp:"开心收下.png"},id:"acceptBtn"},{name:"rank",x:425,y:481,type:"text",props:{text:"第2名",size:46.00000264373655,fillColor:"#ef453b",textAlpha:1,lineHeight:46.00000264373655},id:"rank"},{name:"预置奖品图",x:245,y:561,type:"sprite",props:{source:"预置奖品图.png"},id:"img"},{name:"关闭按钮",x:352,y:1131,type:"button",props:{tUp:"关闭按钮.png"},id:"closeBtn"}]},{name:"RankNoPrizePanel",x:0,y:0,type:"container",children:[{name:"排行榜未中奖弹框背景",x:112,y:449,type:"sprite",props:{source:"排行榜未中奖弹框背景.png"}},{name:"rankTxt",x:304,y:648,type:"text",props:{text:"500",size:77.19737209164602,fillColor:"#ef453b",textAlpha:1,lineHeight:77.19737209164602},id:"rankTxt"},{name:"关闭按钮",x:352,y:1062,type:"button",props:{tUp:"关闭按钮.png"},id:"closeBtn"},{name:"知道啦",x:225,y:849,type:"button",props:{tUp:"知道啦.png"},id:"knowBtn"}]},{name:"RulePanel",x:0,y:0,type:"container",children:[{name:"ruleBg",x:28,y:248,type:"sprite",props:{source:"ruleBg.png"}},{name:"规则内容",x:74,y:369,type:"text",props:{text:"游戏规则\n",size:30.000001742792332,fillColor:"#000000",textAlpha:1,lineHeight:30.000001742792332},id:"ruleTxt"},{name:"我知道了",x:164,y:1197,type:"button",props:{tUp:"我知道了.png"},id:"knowBtn"},{name:"关闭按钮2",x:625,y:272,type:"button",props:{tUp:"关闭按钮2.png"},id:"closeBtn"}]},{name:"HelpPanel",x:0,y:0,type:"container",children:[{name:"助力背景",x:86,y:379,type:"sprite",props:{source:"助力背景.png"}},{name:"为他助力",x:229,y:730,type:"button",props:{tUp:"为他助力.png"},id:"helpBtn"},{name:"关闭按钮2",x:583,y:390,type:"button",props:{tUp:"关闭按钮2.png"},id:"closeBtn"}]},{name:"TaskPanel",x:0,y:0,type:"container",children:[{name:"taskBg",x:0,y:560,type:"sprite",props:{source:"taskBg.png"}},{name:"滚动内容",x:25,y:718,type:"container",children:[{name:"购买",x:0,y:0,type:"sprite",props:{source:"购买.png"}},{name:"txt5",x:151,y:710,type:"text",props:{text:"预售商品付定金(0/2)",size:32,fillColor:"#3c3836",textAlpha:1,lineHeight:32},id:"txt5"},{name:"txt4",x:151,y:545,type:"text",props:{text:"浏览指定页面10s(0/1)",size:32,fillColor:"#3c3836",textAlpha:1,lineHeight:32},id:"txt4"},{name:"txt2",x:151,y:212,type:"text",props:{text:"每日登陆(0/1)",size:32,fillColor:"#3c3836",textAlpha:1,lineHeight:32},id:"txt2"},{name:"txt1",x:152,y:44,type:"text",props:{text:"关注店铺(0/1)",size:32,fillColor:"#3c3836",textAlpha:1,lineHeight:32},id:"txt1"},{name:"goCompleteBtn",x:529,y:707,type:"button",props:{tUp:"goCompleteBtn.png"},id:"btn5"},{name:"receiveBtn",x:530,y:540,type:"button",props:{tUp:"receiveBtn.png"},id:"btn4"},{name:"goCompleteBtn",x:533,y:377,type:"button",props:{tUp:"goCompleteBtn.png"},id:"btn3"},{name:"completeBtn",x:533,y:210,type:"button",props:{tUp:"completeBtn.png"},id:"btn2"},{name:"completeBtn",x:533,y:43,type:"button",props:{tUp:"completeBtn.png"},id:"btn1"}],id:"scrollView"},{name:"关闭按钮1",x:675,y:572,type:"button",props:{tUp:"关闭按钮1.png"},id:"closeBtn"}]},{name:"RankPanel",x:0,y:0,type:"container",children:[{name:"排行榜背景",x:56,y:284,type:"sprite",props:{source:"排行榜背景.png"}},{name:"RankItem",x:112,y:549,type:"item",children:[{name:"num3",x:0,y:1,type:"sprite",props:{source:"num3.png"},id:"num3"},{name:"num2",x:0,y:2,type:"sprite",props:{source:"num2.png"},id:"num2"},{name:"num1",x:0,y:0,type:"sprite",props:{source:"num1.png"},id:"num1"},{name:"排名预置图",x:5,y:0,type:"sprite",props:{source:"排名预置图.png"},id:"rank"},{name:"nickName",x:174,y:13,type:"text",props:{text:"一**猛",size:30,fillColor:"#000000",textAlpha:1,lineHeight:30},id:"nickName"},{name:"score",x:363,y:14,type:"text",props:{text:"29310900分",size:30,fillColor:"#ef3d32",textAlpha:1,lineHeight:30},id:"score"}]},{name:"RankPrizeItem",x:87,y:1069,type:"item",children:[{name:"nameTxt",x:38,y:155,type:"text",props:{text:"第一名",size:26,fillColor:"#000000",textAlpha:1,lineHeight:26},id:"nameTxt"},{name:"奖项预置图",x:0,y:0,type:"sprite",props:{source:"奖项预置图.png"},id:"img"}]},{name:"openTime",x:201,y:1008,type:"text",props:{text:"排行榜奖励X月X日X点开奖",size:30,fillColor:"#fffefe",textAlpha:1,lineHeight:30},id:"openTime"},{name:"rankNum",x:103,y:474,type:"text",props:{text:"未入榜 ",size:30,fillColor:"#b3640b",textAlpha:1,lineHeight:30},id:"rankNum"},{name:"nickName",x:289,y:472,type:"text",props:{text:"巴拉巴拉",size:34,fillColor:"#b3640b",textAlpha:1,lineHeight:34},id:"nickName"},{name:"score",x:502,y:473,type:"text",props:{text:"293109分",size:34,fillColor:"#b3640b",textAlpha:1,lineHeight:34},id:"score"},{name:"关闭按钮",x:636,y:218,type:"button",props:{tUp:"关闭按钮.png"},id:"closeBtn"}]},{name:"StartScene",x:0,y:0,type:"container",children:[{name:"startSceneBg",x:0,y:0,type:"sprite",props:{source:"startSceneBg.jpg"}},{name:"底部按钮区",x:0,y:1242,type:"container",children:[{name:"底部按钮区背景",x:0,y:0,type:"sprite",props:{source:"底部按钮区背景.png"}},{name:"icon",x:56,y:35,type:"container",children:[{name:"赚次数按钮",x:547,y:0,type:"button",props:{tUp:"赚次数按钮.png"},id:"taskBtn"},{name:"运动锦鲤按钮",x:258,y:0,type:"button",props:{tUp:"运动锦鲤按钮.png"},id:"lotBtn"},{name:"排行榜按钮",x:0,y:0,type:"button",props:{tUp:"排行榜按钮.png"},id:"rankBtn"}]}]},{name:"timesTxt",x:286,y:1205,type:"text",props:{text:"剩余次数:3次",size:28.000000155257368,fillColor:"#ffffff",textAlpha:1,lineHeight:28.000000155257368},id:"timesTxt"},{name:"开始游戏",x:171,y:1052,type:"button",props:{tUp:"开始游戏.png"},id:"startBtn"},{name:"规则按钮",x:621,y:212,type:"button",props:{tUp:"规则按钮.png"},id:"ruleBtn"},{name:"奖品按钮",x:11,y:212,type:"button",props:{tUp:"奖品按钮.png"},id:"recordBtn"}]}]}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.G_EVENT=void 0,function(e){e.ON_SHOW="onShow",e.ON_HIDE="onHide",e.UPDATE_TASK="onUpdateTask",e.UPDATE_SCENE="onUpdateScene"}(t.G_EVENT||(t.G_EVENT={}))}])}));
//# sourceMappingURL=output.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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