Commit af663e25 authored by huoshizhe's avatar huoshizhe

feat:

parent 95f23254
{ {"ver":"1.1.2","uuid":"e976091a-1c92-4be8-bdef-e61b8d23d13d","isBundle":false,"bundleName":"","priority":1,"compressionType":{"ios":"default","android":"default"},"optimizeHotUpdate":{"ios":false,"android":false},"inlineSpriteFrames":{"ios":false,"android":false},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2", \ No newline at end of file
"uuid": "e976091a-1c92-4be8-bdef-e61b8d23d13d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {
"ios": "default",
"android": "default"
},
"optimizeHotUpdate": {
"ios": false,
"android": false
},
"inlineSpriteFrames": {
"ios": false,
"android": false
},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -88,7 +88,7 @@ cc.Class({ ...@@ -88,7 +88,7 @@ cc.Class({
}, },
getDefaultData() { getDefaultData() {
const dataJson = '{"groupArr":[{"ques":"","optionArr":[{"text":"A"},{"text":"pp","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/b75df34ef55bd1c6e3a799f1dac87fec.mp3"},{"text":"l","isEmpty":false,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"e","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"l","isEmpty":true},{"text":"l","isEmpty":true}],"wrongArr":[{"text":"acw","audio_url":"http://staging-teach.cdn.ireadabc.com/736c616e8b66a3ae03c8e8636ca46f0f.mp3"},{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/89060c9eddd5f0f67908cce77ee74f94.mp3"}],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/991a9dd15e889ee4ff13538e49f6a0d7.png"},{"ques":"","optionArr":[{"text":"O","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3"},{"text":"r","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"},{"text":"an"},{"text":"g","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/70f35e529377b982daebc23ad92fa670.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"}],"wrongArr":[{"text":"c","audio_url":"http://staging-teach.cdn.ireadabc.com/9259e1b99cc17f61210e7edc17f1d697.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/f6f4bbef497409fef3c8f1d375893829.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},{"ques":"","optionArr":[{"text":"F","audio_url":"http://staging-teach.cdn.ireadabc.com/c870b402b69186efb491d62f8da98d24.mp3","isEmpty":true},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/ed1a2dc4bfa7d35041ca94d1badde8ed.mp3","isEmpty":true},{"text":"r"},{"text":"e"},{"text":"f"},{"text":"i"},{"text":"h"},{"text":"h","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0d11dcd7138f61dbead3dfaa5eb84b47.mp3"},{"text":"t"},{"text":"e"},{"text":"r"}],"wrongArr":[],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/78ba347c18b181fd4550d30bb14c90c5.mp3"}],"isHideShadow":true}'; const dataJson = '{"groupArr":[{"ques":"","optionArr":[{"text":"t","audio_url":"http://staging-teach.cdn.ireadabc.com/163441a48b0325b021baddfa3cdc1f3d.mp3"},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/3a2459fbf41e71d847dbc1e1d8344174.mp3","isEmpty":true},{"text":"m","audio_url":"http://staging-teach.cdn.ireadabc.com/0f743e137f343f7fe09419c981be894d.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/1fe2d4e53ced46e1f92abdf6f254161e.mp3","isEmpty":true}],"wrongArr":[{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3"},{"text":"p","audio_url":"http://staging-teach.cdn.ireadabc.com/4490c2c78484295467c9659032e7e246.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/43ccaa0f07e6458066cc0bd8513abd8c.png","word_audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3"},{"ques":"","optionArr":[{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/e59508fcb910512285616b9c198228e0.mp3"},{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3","isEmpty":true},{"text":"r","audio_url":"http://staging-teach.cdn.ireadabc.com/59a72e6ecfa057f8f6da2626a96d3669.mp3"},{"text":"k","audio_url":"http://staging-teach.cdn.ireadabc.com/e43be13f630211e8dd6411d5d8c3a7e8.mp3","isEmpty":true}],"wrongArr":[{"text":"s","audio_url":"http://staging-teach.cdn.ireadabc.com/908f9b5631cc7e6c5fb203ca58b637c1.mp3"},{"text":"u","audio_url":"http://staging-teach.cdn.ireadabc.com/379b7c13ba6268c7519ece40afde9af9.mp3"}],"audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/cf03dee298a89e23014e3269b3ab8680.png"}]}';
const data1 = JSON.parse(dataJson); const data1 = JSON.parse(dataJson);
return data1; return data1;
}, },
......
...@@ -298,9 +298,7 @@ export function onHomeworkFinish() { ...@@ -298,9 +298,7 @@ export function onHomeworkFinish() {
const middleLayer = cc.find('middleLayer'); const middleLayer = cc.find('middleLayer');
if (middleLayer) { if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer'); const middleLayerComponent = middleLayer.getComponent('middleLayer');
if (middleLayerComponent.role == 'student') { middleLayerComponent.onHomeworkFinish();
middleLayerComponent.onHomeworkFinish(() => { });
}
return; return;
} }
} }
......
...@@ -123,7 +123,7 @@ window.boot = function () { ...@@ -123,7 +123,7 @@ window.boot = function () {
if (window.jsb) { if (window.jsb) {
var isRuntime = (typeof loadRuntime === 'function'); var isRuntime = (typeof loadRuntime === 'function');
if (isRuntime) { if (isRuntime) {
require('src/settings.beb00.js'); require('src/settings.d79c9.js');
require('src/cocos2d-runtime.js'); require('src/cocos2d-runtime.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.10dcf.js'); require('src/physics.10dcf.js');
...@@ -131,7 +131,7 @@ if (window.jsb) { ...@@ -131,7 +131,7 @@ if (window.jsb) {
require('jsb-adapter/engine/index.js'); require('jsb-adapter/engine/index.js');
} }
else { else {
require('src/settings.beb00.js'); require('src/settings.d79c9.js');
require('src/cocos2d-jsb.3c4f0.js'); require('src/cocos2d-jsb.3c4f0.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.10dcf.js'); require('src/physics.10dcf.js');
......
{"paths":{"0":["texture/letter_big_bg/p2_di",3],"1":["texture/letter_big/g2",3],"2":["texture/letter_big/a2",3],"3":["texture/letter_big/n2",3],"4":["texture/letter_small/q",3],"5":["texture/letter_big/s2",3],"6":["texture/letter_big/v2",3],"7":["texture/letter_small_bg/d_di",3],"8":["texture/letter_big_bg/r2_di",3],"9":["texture/letter_small_bg/z_di",3],"10":["texture/bg_sahua",3],"11":["texture/letter_big_bg/o2_di",3],"12":["texture/letter_big/e2",3],"13":["texture/letter_big_bg/w2_di",3],"14":["texture/letter_big_bg/s2_di",3],"15":["texture/letter_small_bg/w_di",3],"16":["texture/letter_big/c2",3],"17":["texture/letter_small/w",3],"18":["texture/letter_big_bg/h2_di",3],"19":["texture/letter_small_bg/q_di",3],"20":["texture/letter_small_bg/j_di",3],"21":["texture/letter_big/u2",3],"22":["texture/bg",3],"23":["texture/letter_small/i",3],"24":["texture/letter_small_bg/p_di",3],"25":["texture/ques_bg",3],"26":["texture/letter_big_bg/i2_di",3],"27":["texture/letter_small/y",3],"28":["texture/letter_big/m2",3],"29":["texture/letter_small/d",3],"30":["texture/letter_big/p2",3],"31":["texture/letter_small_bg/k_di",3],"32":["audio/wrong",5],"33":["texture/letter_small/l",3],"34":["texture/letter_big_bg/z2_di",3],"35":["texture/letter_big_bg/u2_di",3],"36":["texture/letter_small_bg/a_di",3],"37":["texture/letter_small_bg/r_di",3],"38":["texture/letter_big_bg/j2_di",3],"39":["texture/letter_big/z2",3],"40":["texture/letter_big_bg/x2_di",3],"41":["texture/letter_small_bg/m_di",3],"42":["texture/letter_small/k",3],"43":["texture/Berlin_Sans_FB",6],"44":["texture/letter_big_bg/b2_di",3],"45":["anima/laba/btn_laba2",3],"46":["texture/letter_small/m",3],"47":["texture/letter_big/w2",3],"48":["texture/letter_small/o",3],"49":["anima/laba/btn_laba",3],"50":["texture/letter_small_bg/t_di",3],"51":["texture/letter_big/l2",3],"52":["texture/letter_big_bg/a2_di",3],"53":["texture/letter_small_bg/n_di",3],"54":["texture/letter_small/p",3],"55":["texture/letter_small_bg/v_di",3],"56":["texture/letter_small/u",3],"57":["texture/letter_big/x2",3],"58":["texture/star",3],"59":["audio/end",5],"60":["texture/letter_big_bg/q2_di",3],"61":["texture/panel",3],"62":["texture/letter_big_bg/f2_di",3],"63":["texture/letter_big/i2",3],"64":["anima/laba/btn_laba3",3],"65":["texture/letter_small_bg/o_di",3],"66":["texture/letter_small/h",3],"67":["texture/letter_big_bg/g2_di",3],"68":["texture/letter_small_bg/c_di",3],"69":["texture/letter_big/t2",3],"70":["texture/letter_small/b",3],"71":["audio/big_star",5],"72":["texture/letter_small/x",3],"73":["audio/next",5],"74":["texture/letter_small/g",3],"75":["texture/letter_small/t",3],"76":["texture/letter_big_bg/m2_di",3],"77":["texture/letter_small_bg/g_di",3],"78":["texture/letter_big_bg/v2_di",3],"79":["texture/letter_big_bg/n2_di",3],"80":["texture/letter_big/q2",3],"81":["texture/letter_small/e",3],"82":["texture/letter_big/d2",3],"83":["texture/letter_small/z",3],"84":["texture/letter_big_bg/e2_di",3],"85":["texture/letter_small/a",3],"86":["texture/letter_small_bg/u_di",3],"87":["texture/letter_small_bg/f_di",3],"88":["texture/letter_big_bg/t2_di",3],"89":["texture/letter_small/c",3],"90":["texture/letter_small_bg/s_di",3],"91":["texture/letter_small_bg/y_di",3],"92":["texture/letter_small/f",3],"93":["texture/letter_big/h2",3],"94":["texture/letter_big/b2",3],"95":["anima/dragonbone/right_tex",3],"96":["texture/letter_small_bg/e_di",3],"97":["texture/letter_big/o2",3],"98":["texture/letter_big_bg/d2_di",3],"99":["texture/letter_small/r",3],"100":["texture/letter_big_bg/l2_di",3],"101":["texture/letter_big/y2",3],"102":["texture/letter_small/v",3],"103":["texture/letter_small_bg/x_di",3],"104":["audio/right",5],"105":["anima/laba/btn_laba4",3],"106":["texture/icon_bigstar",3],"107":["texture/letter_big/k2",3],"108":["texture/letter_big_bg/c2_di",3],"109":["texture/letter_small_bg/l_di",3],"110":["texture/letter_big_bg/k2_di",3],"111":["texture/letter_big_bg/y2_di",3],"112":["texture/letter_small/n",3],"113":["texture/letter_small_bg/i_di",3],"114":["texture/letter_small/j",3],"115":["texture/letter_big/j2",3],"116":["texture/star_bg",3],"117":["texture/letter_big/r2",3],"118":["texture/letter_small/s",3],"119":["texture/letter_small_bg/h_di",3],"120":["texture/letter_small_bg/b_di",3],"121":["texture/letter_big/f2",3],"122":["texture/letter_big_bg/k2_di",1,1],"123":["texture/letter_big/l2",1,1],"124":["texture/letter_small_bg/l_di",1,1],"125":["texture/letter_small_bg/c_di",1,1],"126":["texture/letter_small/t",1,1],"127":["texture/letter_small/i",1,1],"128":["texture/letter_big_bg/e2_di",1,1],"129":["texture/letter_big/j2",1,1],"130":["texture/letter_small_bg/w_di",1,1],"131":["texture/letter_big/v2",1,1],"132":["texture/letter_small/n",1,1],"133":["texture/bg",1,1],"134":["texture/letter_big_bg/r2_di",1,1],"135":["texture/letter_big/o2",1,1],"136":["texture/letter_small/w",1,1],"137":["texture/letter_big/h2",1,1],"138":["anima/dragonbone/right_tex",1,1],"139":["texture/letter_small_bg/y_di",1,1],"140":["texture/letter_small/x",1,1],"141":["texture/letter_big_bg/d2_di",1,1],"142":["texture/letter_small_bg/m_di",1,1],"143":["texture/letter_big_bg/w2_di",1,1],"144":["texture/letter_big/w2",1,1],"145":["texture/letter_small/q",1,1],"146":["texture/icon_bigstar",1,1],"147":["texture/letter_small/s",1,1],"148":["anima/dragonbone/right_tex",2],"149":["texture/letter_big/z2",1,1],"150":["texture/letter_big_bg/c2_di",1,1],"151":["texture/letter_big_bg/l2_di",1,1],"152":["texture/letter_big/g2",1,1],"153":["texture/letter_small_bg/i_di",1,1],"154":["texture/letter_big_bg/n2_di",1,1],"155":["texture/letter_small_bg/b_di",1,1],"156":["texture/letter_small/h",1,1],"157":["anima/laba/laba",4],"158":["texture/letter_small/j",1,1],"159":["texture/letter_small_bg/z_di",1,1],"160":["texture/letter_small/d",1,1],"161":["texture/letter_small_bg/h_di",1,1],"162":["texture/letter_big_bg/m2_di",1,1],"163":["texture/letter_small_bg/p_di",1,1],"164":["texture/letter_small_bg/o_di",1,1],"165":["texture/bg_sahua",1,1],"167":["texture/letter_small/r",1,1],"168":["texture/letter_small/g",1,1],"169":["texture/letter_big_bg/t2_di",1,1],"170":["texture/letter_small_bg/e_di",1,1],"171":["texture/letter_small/a",1,1],"172":["texture/letter_small_bg/a_di",1,1],"173":["anima/laba/btn_laba2",1,1],"174":["texture/letter_small_bg/x_di",1,1],"175":["texture/star",1,1],"176":["texture/letter_big_bg/y2_di",1,1],"177":["texture/letter_small/p",1,1],"178":["texture/letter_small_bg/s_di",1,1],"179":["texture/letter_big/m2",1,1],"180":["texture/letter_small_bg/q_di",1,1],"181":["texture/letter_small/k",1,1],"182":["texture/letter_small_bg/t_di",1,1],"183":["anima/dragonbone/right_ske",0],"184":["texture/letter_big/u2",1,1],"185":["texture/letter_big_bg/p2_di",1,1],"186":["texture/letter_small_bg/n_di",1,1],"187":["texture/letter_big_bg/j2_di",1,1],"188":["texture/letter_big_bg/b2_di",1,1],"189":["texture/letter_small/z",1,1],"190":["texture/letter_small/l",1,1],"191":["texture/letter_small/f",1,1],"192":["texture/letter_small/v",1,1],"193":["texture/letter_big_bg/h2_di",1,1],"194":["texture/ques_bg",1,1],"195":["texture/letter_small/y",1,1],"196":["texture/letter_big/s2",1,1],"197":["texture/letter_big_bg/o2_di",1,1],"198":["texture/letter_big_bg/f2_di",1,1],"199":["texture/letter_big/b2",1,1],"200":["texture/letter_small_bg/j_di",1,1],"201":["texture/letter_big_bg/z2_di",1,1],"202":["texture/letter_big/c2",1,1],"203":["texture/letter_big_bg/v2_di",1,1],"204":["texture/letter_small_bg/r_di",1,1],"205":["texture/letter_small_bg/g_di",1,1],"206":["texture/panel",1,1],"207":["texture/letter_big/a2",1,1],"208":["texture/letter_small/c",1,1],"209":["texture/letter_small/u",1,1],"210":["texture/letter_big/p2",1,1],"211":["texture/letter_small/e",1,1],"212":["anima/laba/btn_laba4",1,1],"213":["texture/letter_small_bg/k_di",1,1],"214":["anima/laba/btn_laba",1,1],"215":["texture/letter_big_bg/q2_di",1,1],"216":["texture/letter_small_bg/v_di",1,1],"217":["texture/letter_small/b",1,1],"218":["texture/letter_big/r2",1,1],"219":["texture/letter_big_bg/a2_di",1,1],"220":["texture/letter_big/n2",1,1],"221":["texture/letter_small/o",1,1],"222":["texture/letter_big_bg/u2_di",1,1],"223":["texture/letter_small_bg/f_di",1,1],"224":["texture/letter_big/e2",1,1],"225":["texture/letter_small_bg/d_di",1,1],"226":["texture/letter_big/x2",1,1],"227":["anima/laba/btn_laba3",1,1],"228":["texture/letter_big/d2",1,1],"229":["texture/letter_big/i2",1,1],"230":["texture/letter_small/m",1,1],"231":["texture/letter_big/k2",1,1],"232":["texture/letter_big/f2",1,1],"233":["texture/letter_big_bg/i2_di",1,1],"234":["texture/letter_small_bg/u_di",1,1],"235":["texture/star_bg",1,1],"236":["texture/letter_big_bg/x2_di",1,1],"237":["texture/letter_big_bg/g2_di",1,1],"238":["texture/letter_big/q2",1,1],"239":["texture/letter_big_bg/s2_di",1,1],"240":["texture/letter_big/y2",1,1],"241":["texture/letter_big/t2",1,1]},"types":["dragonBones.DragonBonesAsset","cc.SpriteFrame","dragonBones.DragonBonesAtlasAsset","cc.Texture2D","cc.AnimationClip","cc.AudioClip","cc.TTFFont"],"uuids":["05rYTHOBRFioJLYTzce4Tr","08GQ+TfypJy4IZCGuDb8jo","0dXRJSIKNNeIHaHaPEB5nq","10wNZJJnpNHKKNSnYB8ka+","16vsh7feFH9aNtbk7cgG5c","18T9xD5wVL37fR6q1un02N","18YWTZJaVLfZS+BXK/c07m","1f3/AHdMdIU58Oabo7JuIZ","214nIKdBhBXZz/GmE7pS19","24rw1BRhRCnI6j2ivGjZM/","24zlUWWZVLf4h5rjzmHRz3","26poXDBB5GAp15t2DC0eL9","287WEY0IFE0YTQcUVl2RWt","29G4pUF39OGISF8dfgErZa","2cCeU3pS5J5I5nIHWbCdGx","2fLg1N8rZOjoY+Pq4XHsAe","30PVchSFpMdqVM2z5DrdGb","32eCFNWp9Jh6JRpURj+z5f","37v4rODrJAuLoO99pJ8ynz","39i9tg4TlE95FHWK8mtbYq","3bhjiq6PNDzqQjkx+zw4OP","46fVB2RSxIxpYbkdEgbfan","49Vlrfy11CJ6JFajv7PP63","49hp3fwSFGBabFeOgoy1pN","4ccjbAIN5HjKTTEAhCQZ63","4c8qTPX99H24Eovkw0/5UI","4djG+RRm1Gs6fN9VkVsYH5","4evrE9+iVMVIYNb5kAzf6p","4e4MtD6QZExLpIgVo5uZfF","4fFBAAlrVHT44N2fq4w3eV","50vyhzPR5DwJt/nGJHNdcG","51zTQFOP1O1YY+9eBm+A5Y","52uINa1zdLAZ2gmJmpRHeR","572IsPoAZDwYxPqSpMqkKC","58SbZyKjdIiLhShG9RIluR","5bGXIo9uFKX7Gcp71cugHW","5bt4zzDsFF3bFAbeFbC3n3","5dWlLA2jNA1rc2oiVI8Jc1","5doTn4n7lD+pGQTSidypxJ","60paZKTOtHPJR+qUEtQDRF","62Xqsg46RJVoKZBXHUDfp2","64CTMz1sNLzpRg+zvuOK2U","64st44lHBIDov87JmVspaO","65gwb2E6dKZ6hKUU4KGsll","66b1G6fxxNf6nEzCYkGQ3t","6aNwy1BrxIrLsVSp7hza0O","6bgsCv/GFIAZorsxUZFlui","6dmOh1culDPIf+pIww/S+A","6e0/P8y79Ixrx10mLZZSr5","6fMWBfIyxOw7ELss3T9us6","73A/Oe519JuK0hDXrA3RsD","73MN4e+HVFOrRV7CVSwC9o","73Tqik8JNLIrMmatci/NHm","79tSTgADNA4Ij0b3kpYTUm","7dbwCl6ydH1ZxmVLN4k/Jl","7eEoD4VIRDJat8ID/HcSKu","7elRdLRKZATaXUOsV4ZxUz","84FDLiSvdEPagquWx3jCYn","87y4BgwjVJ/5lv8Eh7gP8K","8amIKzot1FVZZcGdwgQ7KR","8buj3tcIhJdbyAIneTG6Xx","90t+AZO4BLt5mchnQffkiA","960YpbuEFBPLhcAxpg/tBX","97MX0sDGdLEo6r2VEL4BvO","97uCkK/CNPHLpXqam6U/Fz","98DJDa3ydNc6Oq8Wg7DYFc","98v8I8TMZLApVe9s3z/FhW","99JscT8XpE8Yo1+0PhjcDk","99LxdJOcJNkazkuhRek1hI","9aXTWphJpE8LvSfcsWlr9h","9dsrv6yKNLiakRUUgSd/R2","9for8Q8DNFg4zJATXKWarL","9fwR7mCtpCt7C02LxtUEfN","a0eg7fTJxMIJ9ozsHxc1mw","a6M8ZKp6ZKwrtPMz6H81Cr","abdKgRmZVC0rZVW/aYR4Pn","acNtkCQEhGpa7qbU6PnPM7","ado1XZT+1MxLjDQ1JPw+Zm","afQAGowrdDdZf2xDFOa8hr","b4kvu7QYlEMoNK9MbATpTA","b438YN5HRACKe4IZTScp2E","b6qtE3j0lPWq9QbeeevSM4","b8iJEjoj1EJ598serD5vPN","b8z4A72DVGka94xFieVzzr","b9oYImZOlCjqDqb7uUcrjJ","bdBspmIzdDJqW1yanozL4N","bdm4frBnZE3Yk599kXwgkU","beVsk2yVxMaYT/JMjY10g5","beomPF4odAvo1WOGuoli3w","bfIXjSOBFAmaTCeafjPVCe","c0srcpjSZIpJNFU05K9APK","c2Kx6cpb1LRJmrSTqe7k44","c2ignbVVdN3YE34YtGXSgM","c3Mbrrf8FKqrYinbiEbffz","c4+fWw9GBHLJRAduyjVzMj","c7MGPLay1L0L/fPUdwds/6","c8MSQ2BLtO+o2dwyoEaHTP","c9t3i9J1dEZ7ty3GpkWlZx","c9zlb8+BhKZ4H/lDpXPD9Z","cckTRtKr5CWK4Pr53PXR/3","ce+smsO5pM/oXIWanYPXR2","d02ZvnWidGr5plCT60lC2k","d1wjGrDxFOsZRF9HW5r+3o","d1xy1hWnpDPr5vYjMaRbet","d2K1G+RVROZrsInnwgtNSz","d3Urt1CcxM6ZoZ/trBgakM","d3pJUylapOfJKLonsCSXqP","d7NjGTDylNJpQ8H7RCsdx/","d8vorn0uJD5qh+vDLCW1qK","daDI5OkSxFPYxXvKddLWiN","ddd4NibE9AQ5NEfc16s0EY","dePM7LlAhNuJ41C/bbEqfW","dezcfcYS9LFq+u3S0vCioJ","e13EQjAu9FPIv6TkO6NO3u","e5OPPMABxNiosYJfK3yuU8","ecBDvzfh5CYLiCwIOoEbSj","ee09FXaJBFjblg9xiUVoQh","f2H3sYGOBIAoYc/JRV/ypi","f6bOTwoMBAap/2xerTL9bG","fb9b58V6ZKFp6OtDyfkKer","fdrYrwWxNDo4rnA/naopud","fe8rMaP8BAArG6jUFrIYQP","00Gwfq2+dD3puu+nzd2eNz","00cLKsJhdEy7QfKy+6ugwP","06QQxGhSZDur63Pl64/QTr","0bZukc64dE75GN+4hx9Q7k","0dw4/2NvNF94Je2P9KRRlp","0eARcGOitBmaBOhcTUCoGU","10e+Cm4o9PWZHhCrfia4d5","11zGxV+gpHLILO5/K8P4k5","12QPCGMnNBaL+fEOGSn0Ie","18SGxEBe1Gy6wCAfanEDMd","1dFCIaOwBJLoyK++2XHaOR","1dM4krYNJMzLzqIhLuoiwD","20EhEyQiVGQJYk4bAcdI6J","22+DVMN6xF5IZVEH4V8pgk","23ofZ0HkBIQIj03I6JA/me","23xeGe8XpJ6KEU7kNqtQZd","28V0pv+RREnbxQOWDKMZKh","2aPa1EWWBCsr3J5klndmVF","2a610Ge0VEep2DaGC78Qe1","2bwhDPStdGDImS7PMUAUeL","2dv9F9MJNOWJlhqekh5hku","32KYTc71FPZLPRDj4dHXlt","34gS1Na9dBm4xnuaVMngb8","34n6HYdO9F4oiusgdmv6SI","342Xq+8/tFmZ1aVecw9tiX","35z8q7cfNKEIsA5l2D6B9h","37BXJiXXtG17U/2i1ynVk4","37PtJUcPFEiL5m45vy+j8M","39uCp1pGtI9brn9y/jqK6i","3cld5RP/VEsaoc+ZaDDHwC","43g2npE25MLrfsCe8Ju+h3","47DK+7b5ZIpKYsralQH9EU","47/6mJzadM5aL+XTK60c6R","48h9KGDyhHrZyaI4cV9gdd","4aq/wm11lIbK9o9DtND/k/","4fGhRrzEpGoIAVPLxYCGfn","54cCALJkhLvqHYu1r7Gvgv","55FbUyRJpAAbbuODAUMfAd","566zT8UOlCpYo0NGqAxZrD","57zp78SqREZK+Min7k07ne","58No3CgCdPV44yJPX2Q9ya","58ejUsLl1K4YyVsEvZgf7J","5bDi2pf/FF+Zi3uRRSYsuW","5d9Ae6iQ9PVqJx7tgVbG0Q","5eCgOqm55AdrUIfb8gm7EV","5e+cUP7JRAKqeYgOJfT682","60l+s75oxOxKJ7UjwTJ+m5","61YJazy99CuoMfpZjWZ17b","67vexUgu9FNpzN6H1kw9M0","68kf5dpMFMSLS912LcRJ1/","69E3JJBKBIxbmqYqu0Kl0f","6agG7vpOFBkKzSBnFeNEFx","6cvZfZKkxBxaW9l2M4Oq06","71wji0T5FBWYeHC4t3Eyhp","766DHJEp1IKb8MTmhmxJ05","7f+iDKbUFORZeRnwrfZZU7","82wLQIikBFgp8KVawa6GQt","8200LrOzdKUbbGaaenaAwg","838GF21ztN1bPMem7vrB+4","84rPJulbRDGIXfniaqR0/o","88nRchqItKd7CRhadcSMIr","89EqhH22pPpJ28TmZ+ml4A","8bD4sXffdLobmVOYDF5D0t","8bSGyhKkFG5ojIaEvDirs4","8dsEl0LxBCbrN1YBhsmU5Y","8fszZC6KZC/YVR/3a/QSVM","96XNfFF8xGsa9X1uJicNCc","9b9s8I5EpCSLVqcT9g7AmT","9fAmVsluxM6rMXIAUtcqfk","9f0Jv3NtVApZNuBkIQ+2+W","a1utS6WINHwqyWOXAFbRGB","a2Y3iTdgdFjbmnBf034oI1","aaMvL4MfFMBZ8FEy1Ve9GL","ab6j5Bu2pCZ7DFdeqG9cJW","ads3GAhlVDyJtrvIkPEzZw","adwJfGxPJO25L8rN07E461","b3g1s7SbZG6p+bTvTbfbdS","b3tLNY4xpNxpjpGGgMr6Yk","b4IRxI7dpGQ4UzmCfcgyBY","b7lSL7g9lIOK6qq/BbNnft","b7sbnvRSxBRqY74RBOCGYm","bcR7QV6PJPfoxODPu07NRv","bdUgH2E/FGfJHM0l+0KnZw","bd/N9fOrNJzIMgKsfiS3OZ","beSMwOjzhAVaSbmtl34D6E","c0Zyk88s5L57tI0gWlFD1K","c0auudV5dKo4qJ5qAcTz+u","c1/wlZyXJL85BPKv6Zmp2/","c4YpdUFdRKSLTl3DJG8zFH","c5Ga6+YcdL+b9DNgZMiNOw","c6A58W7alCIZU1pWcvLb+d","c9fSaJZ+xIH6U0ilYmSUF+","cc6x7AyGZIpanJHAW6zPE8","cealMnuIFJZ6l4jvcj9ppv","cfcIXC5uBNkrxCFeZCAQBP","d0QQ7gfJJMY6LTO9H4R2WV","d4SbX1RV1I/J8hVxYpdkrp","d5mchlno9Doq8GKgdaV7js","d5oH5aPmRENprAvAC02ctY","d57F6BgypJq4END/i4pJmw","d6ebE29TJBFb0sqd023tmH","d7+pBHkqZEvLBh397A3tN3","d8MMQvECZFYbSVb6+OAO7G","dcAj9xz0RBc4sjW2EtSKVA","dfbK8PmxRMvJq1NFlWwmnL","e0+evOGWdMdruzh5p8bNwu","e1eLQTMEpMoIavxJsvpVHR","e5OudWeEBD9LL/b18mKn3P","e6rSQciSVB04PplvtL3veo","ecjaChnf9AAYg5DfU4vT9B","ecwMJPcM9JHb2WJrTDUXLw","efJUu2pYFMoZcTEdCToyIR","f33RZ8JRRO1bve++tBgAM5","f5tad6qrpMSaWoa/Jzx+lt","f7tCYsCudFHrODC30JD2Qu","f8rvtGVe9AcYeuMB4UVhKv","f8ui1glGdMuZsP8crUS5xg","f9s/b3dB1MKIL6zl49Au0T","fd2PMGuetOBI2l3O5IhMZe","feTbJpgI1NjLmTGZq0VF3D","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/PS02/scene/PS02.fire":166},"redirect":[242,0],"deps":["internal"],"packs":null,"name":"PS02","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true,"versions":{"import":[122,"99067",123,"911e9",0,"7871f",124,"3f096",1,"7871f",125,"5a08e",2,"7871f",126,"67317",127,"5affa",128,"9c992",3,"7871f",129,"b9c24",130,"0d621",4,"7871f",131,"89970",5,"7871f",6,"7871f",132,"af992",133,"53933",7,"7871f",134,"0bc6c",8,"7871f",135,"53600",136,"e8d10",137,"4fc6a",9,"7871f",10,"7871f",11,"7871f",138,"758a6",12,"7871f",13,"7871f",139,"ad238",140,"a4d11",141,"492f0",14,"7871f",142,"109e3",15,"7871f",16,"7871f",143,"813e7",17,"7871f",144,"7b3ff",145,"fccfb",146,"71045",147,"2262a",148,"d732e",149,"6b834",18,"7871f",19,"7871f",150,"baaac",20,"7871f",151,"7c06b",152,"0bd9d",21,"7871f",153,"586f4",154,"91802",155,"5a978",22,"7871f",23,"7871f",156,"b7f51",24,"7871f",25,"7871f",26,"7871f",27,"7871f",28,"7871f",29,"7871f",157,"083b2",30,"7871f",31,"7871f",32,"7589f",158,"abf7f",159,"1df49",160,"dd180",161,"15e60",33,"7871f",162,"78b46",34,"7871f",163,"ba0a0",164,"77d76",35,"7871f",36,"7871f",37,"7871f",38,"7871f",165,"e68f1",166,"cc7ed",167,"c0597",168,"40cfc",39,"7871f",169,"81ecb",40,"7871f",41,"7871f",42,"7871f",43,"7e7f5",44,"7871f",170,"ae2b8",171,"dde2b",172,"0bd7b",45,"7871f",173,"d45ea",46,"7871f",174,"547e0",47,"7871f",48,"7871f",49,"7871f",175,"63238",50,"7871f",51,"7871f",52,"7871f",176,"35418",53,"7871f",54,"7871f",55,"7871f",56,"7871f",177,"83432",178,"c8bd0",179,"2a467",180,"c88d1",57,"7871f",181,"12698",58,"7871f",182,"e7360",183,"e24a2",59,"93abe",184,"10367",185,"853c8",60,"7871f",186,"7d383",187,"fb2d3",61,"7871f",188,"cdd27",62,"7871f",63,"7871f",64,"7871f",65,"7871f",66,"7871f",67,"7871f",68,"7871f",69,"7871f",189,"f9790",70,"7871f",190,"5bc24",71,"a7e59",72,"7871f",191,"d7ddc",73,"b34fa",192,"e477a",193,"32073",74,"7871f",194,"e5ea6",75,"7871f",195,"7f93a",76,"7871f",77,"7871f",196,"6f830",197,"69d10",78,"7871f",198,"845b4",199,"92e1d",200,"098f6",79,"7871f",80,"7871f",81,"7871f",201,"42d65",202,"c09d4",82,"7871f",83,"7871f",84,"7871f",203,"57eb9",85,"7871f",204,"ee8f4",86,"7871f",205,"440fd",206,"8fce4",87,"7871f",88,"7871f",89,"7871f",207,"04c7c",208,"6891d",90,"7871f",209,"32ffa",91,"7871f",92,"7871f",93,"7871f",210,"806f8",94,"7871f",211,"df4e4",212,"ea136",95,"7871f",96,"7871f",213,"63771",97,"7871f",98,"7871f",99,"7871f",214,"c0f39",215,"025f1",100,"7871f",216,"43eff",217,"fe296",101,"7871f",102,"7871f",103,"7871f",104,"7d9ee",105,"7871f",106,"7871f",218,"3a314",219,"160d1",220,"8e633",221,"a168c",222,"21684",107,"7871f",223,"37c4a",224,"77162",108,"7871f",109,"7871f",225,"b16a1",110,"7871f",111,"7871f",112,"7871f",226,"8c49b",227,"34df5",228,"5c084",113,"7871f",114,"7871f",229,"b2bf3",230,"67947",115,"7871f",231,"d83a3",232,"ae634",116,"7871f",233,"00b6e",117,"7871f",234,"7f83e",235,"5cafe",118,"7871f",236,"37898",237,"ee3c0",238,"60255",239,"1fc80",119,"7871f",120,"7871f",240,"0791f",241,"24c49",121,"7871f"],"native":[0,"ddf61",1,"ee55a",2,"6f0a7",3,"ab73f",4,"525ea",5,"f85b2",6,"162b3",7,"0ab35",8,"bac03",9,"48c80",10,"84713",11,"c876e",12,"19abc",13,"cc50e",14,"77b7c",15,"eef1f",16,"17f77",17,"98a96",18,"0427f",19,"aeae9",20,"5f7cd",21,"df1ec",22,"2b681",23,"69973",24,"ca12f",25,"08f36",26,"7dfbb",27,"8bc6c",28,"cfaed",29,"c6ae9",30,"50b30",31,"34b33",32,"52662",33,"4616c",34,"8ffd2",35,"0bb59",36,"afb80",37,"72037",38,"e941e",39,"7426f",40,"336a8",41,"1bbc1",42,"f681a",43,"fe202",44,"a9fd2",45,"49541",46,"a4fdf",47,"03bf5",48,"bd9c1",49,"6e9ac",50,"0cf64",51,"fd9d5",52,"87aff",53,"02c40",54,"45760",55,"f7b1e",56,"193c1",57,"08894",58,"e42e5",59,"9df3f",60,"2f843",61,"d0b1f",62,"8c58a",63,"6de29",64,"f664e",65,"ac2e8",66,"cca68",67,"870e0",68,"23821",69,"f0c3c",70,"3cc55",71,"7fe84",72,"9d311",73,"fe252",74,"49a00",75,"4ba63",76,"e5c8f",77,"a08e6",78,"9dfcd",79,"60c16",80,"6f744",81,"64872",82,"455a6",83,"aecb4",84,"b4506",85,"118a2",86,"b4533",87,"9dff5",88,"3cd6d",89,"58056",90,"66be4",91,"b6539",92,"d6d5c",93,"83e8b",94,"1975f",95,"b75b2",96,"93483",97,"8a8e4",98,"406d6",99,"9717a",100,"910df",101,"a0601",102,"9a8ac",103,"74b18",104,"95b8f",105,"04d35",106,"bb424",107,"eb1c8",108,"90f1a",109,"9b49b",110,"3c770",111,"18548",112,"8defa",113,"2cea6",114,"4c3c1",115,"cab1b",116,"9f996",117,"54e4a",118,"4633c",119,"b3270",120,"4a09d",121,"a4504"]}}
\ No newline at end of file
...@@ -123,7 +123,7 @@ window.boot = function () { ...@@ -123,7 +123,7 @@ window.boot = function () {
if (window.jsb) { if (window.jsb) {
var isRuntime = (typeof loadRuntime === 'function'); var isRuntime = (typeof loadRuntime === 'function');
if (isRuntime) { if (isRuntime) {
require('src/settings.beb00.js'); require('src/settings.d79c9.js');
require('src/cocos2d-runtime.js'); require('src/cocos2d-runtime.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.10dcf.js'); require('src/physics.10dcf.js');
...@@ -131,7 +131,7 @@ if (window.jsb) { ...@@ -131,7 +131,7 @@ if (window.jsb) {
require('jsb-adapter/engine/index.js'); require('jsb-adapter/engine/index.js');
} }
else { else {
require('src/settings.beb00.js'); require('src/settings.d79c9.js');
require('src/cocos2d-jsb.3c4f0.js'); require('src/cocos2d-jsb.3c4f0.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.10dcf.js'); require('src/physics.10dcf.js');
......
{"paths":{"0":["texture/letter_big_bg/p2_di",3],"1":["texture/letter_big/g2",3],"2":["texture/letter_big/a2",3],"3":["texture/letter_big/n2",3],"4":["texture/letter_small/q",3],"5":["texture/letter_big/s2",3],"6":["texture/letter_big/v2",3],"7":["texture/letter_small_bg/d_di",3],"8":["texture/letter_big_bg/r2_di",3],"9":["texture/letter_small_bg/z_di",3],"10":["texture/bg_sahua",3],"11":["texture/letter_big_bg/o2_di",3],"12":["texture/letter_big/e2",3],"13":["texture/letter_big_bg/w2_di",3],"14":["texture/letter_big_bg/s2_di",3],"15":["texture/letter_small_bg/w_di",3],"16":["texture/letter_big/c2",3],"17":["texture/letter_small/w",3],"18":["texture/letter_big_bg/h2_di",3],"19":["texture/letter_small_bg/q_di",3],"20":["texture/letter_small_bg/j_di",3],"21":["texture/letter_big/u2",3],"22":["texture/bg",3],"23":["texture/letter_small/i",3],"24":["texture/letter_small_bg/p_di",3],"25":["texture/ques_bg",3],"26":["texture/letter_big_bg/i2_di",3],"27":["texture/letter_small/y",3],"28":["texture/letter_big/m2",3],"29":["texture/letter_small/d",3],"30":["texture/letter_big/p2",3],"31":["texture/letter_small_bg/k_di",3],"32":["audio/wrong",5],"33":["texture/letter_small/l",3],"34":["texture/letter_big_bg/z2_di",3],"35":["texture/letter_big_bg/u2_di",3],"36":["texture/letter_small_bg/a_di",3],"37":["texture/letter_small_bg/r_di",3],"38":["texture/letter_big_bg/j2_di",3],"39":["texture/letter_big/z2",3],"40":["texture/letter_big_bg/x2_di",3],"41":["texture/letter_small_bg/m_di",3],"42":["texture/letter_small/k",3],"43":["texture/Berlin_Sans_FB",6],"44":["texture/letter_big_bg/b2_di",3],"45":["anima/laba/btn_laba2",3],"46":["texture/letter_small/m",3],"47":["texture/letter_big/w2",3],"48":["texture/letter_small/o",3],"49":["anima/laba/btn_laba",3],"50":["texture/letter_small_bg/t_di",3],"51":["texture/letter_big/l2",3],"52":["texture/letter_big_bg/a2_di",3],"53":["texture/letter_small_bg/n_di",3],"54":["texture/letter_small/p",3],"55":["texture/letter_small_bg/v_di",3],"56":["texture/letter_small/u",3],"57":["texture/letter_big/x2",3],"58":["texture/star",3],"59":["audio/end",5],"60":["texture/letter_big_bg/q2_di",3],"61":["texture/panel",3],"62":["texture/letter_big_bg/f2_di",3],"63":["texture/letter_big/i2",3],"64":["anima/laba/btn_laba3",3],"65":["texture/letter_small_bg/o_di",3],"66":["texture/letter_small/h",3],"67":["texture/letter_big_bg/g2_di",3],"68":["texture/letter_small_bg/c_di",3],"69":["texture/letter_big/t2",3],"70":["texture/letter_small/b",3],"71":["audio/big_star",5],"72":["texture/letter_small/x",3],"73":["audio/next",5],"74":["texture/letter_small/g",3],"75":["texture/letter_small/t",3],"76":["texture/letter_big_bg/m2_di",3],"77":["texture/letter_small_bg/g_di",3],"78":["texture/letter_big_bg/v2_di",3],"79":["texture/letter_big_bg/n2_di",3],"80":["texture/letter_big/q2",3],"81":["texture/letter_small/e",3],"82":["texture/letter_big/d2",3],"83":["texture/letter_small/z",3],"84":["texture/letter_big_bg/e2_di",3],"85":["texture/letter_small/a",3],"86":["texture/letter_small_bg/u_di",3],"87":["texture/letter_small_bg/f_di",3],"88":["texture/letter_big_bg/t2_di",3],"89":["texture/letter_small/c",3],"90":["texture/letter_small_bg/s_di",3],"91":["texture/letter_small_bg/y_di",3],"92":["texture/letter_small/f",3],"93":["texture/letter_big/h2",3],"94":["texture/letter_big/b2",3],"95":["anima/dragonbone/right_tex",3],"96":["texture/letter_small_bg/e_di",3],"97":["texture/letter_big/o2",3],"98":["texture/letter_big_bg/d2_di",3],"99":["texture/letter_small/r",3],"100":["texture/letter_big_bg/l2_di",3],"101":["texture/letter_big/y2",3],"102":["texture/letter_small/v",3],"103":["texture/letter_small_bg/x_di",3],"104":["audio/right",5],"105":["anima/laba/btn_laba4",3],"106":["texture/icon_bigstar",3],"107":["texture/letter_big/k2",3],"108":["texture/letter_big_bg/c2_di",3],"109":["texture/letter_small_bg/l_di",3],"110":["texture/letter_big_bg/k2_di",3],"111":["texture/letter_big_bg/y2_di",3],"112":["texture/letter_small/n",3],"113":["texture/letter_small_bg/i_di",3],"114":["texture/letter_small/j",3],"115":["texture/letter_big/j2",3],"116":["texture/star_bg",3],"117":["texture/letter_big/r2",3],"118":["texture/letter_small/s",3],"119":["texture/letter_small_bg/h_di",3],"120":["texture/letter_small_bg/b_di",3],"121":["texture/letter_big/f2",3],"122":["texture/letter_big_bg/k2_di",1,1],"123":["texture/letter_big/l2",1,1],"124":["texture/letter_small_bg/l_di",1,1],"125":["texture/letter_small_bg/c_di",1,1],"126":["texture/letter_small/t",1,1],"127":["texture/letter_small/i",1,1],"128":["texture/letter_big_bg/e2_di",1,1],"129":["texture/letter_big/j2",1,1],"130":["texture/letter_small_bg/w_di",1,1],"131":["texture/letter_big/v2",1,1],"132":["texture/letter_small/n",1,1],"133":["texture/bg",1,1],"134":["texture/letter_big_bg/r2_di",1,1],"135":["texture/letter_big/o2",1,1],"136":["texture/letter_small/w",1,1],"137":["texture/letter_big/h2",1,1],"138":["anima/dragonbone/right_tex",1,1],"139":["texture/letter_small_bg/y_di",1,1],"140":["texture/letter_small/x",1,1],"141":["texture/letter_big_bg/d2_di",1,1],"142":["texture/letter_small_bg/m_di",1,1],"143":["texture/letter_big_bg/w2_di",1,1],"144":["texture/letter_big/w2",1,1],"145":["texture/letter_small/q",1,1],"146":["texture/icon_bigstar",1,1],"147":["texture/letter_small/s",1,1],"148":["anima/dragonbone/right_tex",2],"149":["texture/letter_big/z2",1,1],"150":["texture/letter_big_bg/c2_di",1,1],"151":["texture/letter_big_bg/l2_di",1,1],"152":["texture/letter_big/g2",1,1],"153":["texture/letter_small_bg/i_di",1,1],"154":["texture/letter_big_bg/n2_di",1,1],"155":["texture/letter_small_bg/b_di",1,1],"156":["texture/letter_small/h",1,1],"157":["anima/laba/laba",4],"158":["texture/letter_small/j",1,1],"159":["texture/letter_small_bg/z_di",1,1],"160":["texture/letter_small/d",1,1],"161":["texture/letter_small_bg/h_di",1,1],"162":["texture/letter_big_bg/m2_di",1,1],"163":["texture/letter_small_bg/p_di",1,1],"164":["texture/letter_small_bg/o_di",1,1],"165":["texture/bg_sahua",1,1],"167":["texture/letter_small/r",1,1],"168":["texture/letter_small/g",1,1],"169":["texture/letter_big_bg/t2_di",1,1],"170":["texture/letter_small_bg/e_di",1,1],"171":["texture/letter_small/a",1,1],"172":["texture/letter_small_bg/a_di",1,1],"173":["anima/laba/btn_laba2",1,1],"174":["texture/letter_small_bg/x_di",1,1],"175":["texture/star",1,1],"176":["texture/letter_big_bg/y2_di",1,1],"177":["texture/letter_small/p",1,1],"178":["texture/letter_small_bg/s_di",1,1],"179":["texture/letter_big/m2",1,1],"180":["texture/letter_small_bg/q_di",1,1],"181":["texture/letter_small/k",1,1],"182":["texture/letter_small_bg/t_di",1,1],"183":["anima/dragonbone/right_ske",0],"184":["texture/letter_big/u2",1,1],"185":["texture/letter_big_bg/p2_di",1,1],"186":["texture/letter_small_bg/n_di",1,1],"187":["texture/letter_big_bg/j2_di",1,1],"188":["texture/letter_big_bg/b2_di",1,1],"189":["texture/letter_small/z",1,1],"190":["texture/letter_small/l",1,1],"191":["texture/letter_small/f",1,1],"192":["texture/letter_small/v",1,1],"193":["texture/letter_big_bg/h2_di",1,1],"194":["texture/ques_bg",1,1],"195":["texture/letter_small/y",1,1],"196":["texture/letter_big/s2",1,1],"197":["texture/letter_big_bg/o2_di",1,1],"198":["texture/letter_big_bg/f2_di",1,1],"199":["texture/letter_big/b2",1,1],"200":["texture/letter_small_bg/j_di",1,1],"201":["texture/letter_big_bg/z2_di",1,1],"202":["texture/letter_big/c2",1,1],"203":["texture/letter_big_bg/v2_di",1,1],"204":["texture/letter_small_bg/r_di",1,1],"205":["texture/letter_small_bg/g_di",1,1],"206":["texture/panel",1,1],"207":["texture/letter_big/a2",1,1],"208":["texture/letter_small/c",1,1],"209":["texture/letter_small/u",1,1],"210":["texture/letter_big/p2",1,1],"211":["texture/letter_small/e",1,1],"212":["anima/laba/btn_laba4",1,1],"213":["texture/letter_small_bg/k_di",1,1],"214":["anima/laba/btn_laba",1,1],"215":["texture/letter_big_bg/q2_di",1,1],"216":["texture/letter_small_bg/v_di",1,1],"217":["texture/letter_small/b",1,1],"218":["texture/letter_big/r2",1,1],"219":["texture/letter_big_bg/a2_di",1,1],"220":["texture/letter_big/n2",1,1],"221":["texture/letter_small/o",1,1],"222":["texture/letter_big_bg/u2_di",1,1],"223":["texture/letter_small_bg/f_di",1,1],"224":["texture/letter_big/e2",1,1],"225":["texture/letter_small_bg/d_di",1,1],"226":["texture/letter_big/x2",1,1],"227":["anima/laba/btn_laba3",1,1],"228":["texture/letter_big/d2",1,1],"229":["texture/letter_big/i2",1,1],"230":["texture/letter_small/m",1,1],"231":["texture/letter_big/k2",1,1],"232":["texture/letter_big/f2",1,1],"233":["texture/letter_big_bg/i2_di",1,1],"234":["texture/letter_small_bg/u_di",1,1],"235":["texture/star_bg",1,1],"236":["texture/letter_big_bg/x2_di",1,1],"237":["texture/letter_big_bg/g2_di",1,1],"238":["texture/letter_big/q2",1,1],"239":["texture/letter_big_bg/s2_di",1,1],"240":["texture/letter_big/y2",1,1],"241":["texture/letter_big/t2",1,1]},"types":["dragonBones.DragonBonesAsset","cc.SpriteFrame","dragonBones.DragonBonesAtlasAsset","cc.Texture2D","cc.AnimationClip","cc.AudioClip","cc.TTFFont"],"uuids":["05rYTHOBRFioJLYTzce4Tr","08GQ+TfypJy4IZCGuDb8jo","0dXRJSIKNNeIHaHaPEB5nq","10wNZJJnpNHKKNSnYB8ka+","16vsh7feFH9aNtbk7cgG5c","18T9xD5wVL37fR6q1un02N","18YWTZJaVLfZS+BXK/c07m","1f3/AHdMdIU58Oabo7JuIZ","214nIKdBhBXZz/GmE7pS19","24rw1BRhRCnI6j2ivGjZM/","24zlUWWZVLf4h5rjzmHRz3","26poXDBB5GAp15t2DC0eL9","287WEY0IFE0YTQcUVl2RWt","29G4pUF39OGISF8dfgErZa","2cCeU3pS5J5I5nIHWbCdGx","2fLg1N8rZOjoY+Pq4XHsAe","30PVchSFpMdqVM2z5DrdGb","32eCFNWp9Jh6JRpURj+z5f","37v4rODrJAuLoO99pJ8ynz","39i9tg4TlE95FHWK8mtbYq","3bhjiq6PNDzqQjkx+zw4OP","46fVB2RSxIxpYbkdEgbfan","49Vlrfy11CJ6JFajv7PP63","49hp3fwSFGBabFeOgoy1pN","4ccjbAIN5HjKTTEAhCQZ63","4c8qTPX99H24Eovkw0/5UI","4djG+RRm1Gs6fN9VkVsYH5","4evrE9+iVMVIYNb5kAzf6p","4e4MtD6QZExLpIgVo5uZfF","4fFBAAlrVHT44N2fq4w3eV","50vyhzPR5DwJt/nGJHNdcG","51zTQFOP1O1YY+9eBm+A5Y","52uINa1zdLAZ2gmJmpRHeR","572IsPoAZDwYxPqSpMqkKC","58SbZyKjdIiLhShG9RIluR","5bGXIo9uFKX7Gcp71cugHW","5bt4zzDsFF3bFAbeFbC3n3","5dWlLA2jNA1rc2oiVI8Jc1","5doTn4n7lD+pGQTSidypxJ","60paZKTOtHPJR+qUEtQDRF","62Xqsg46RJVoKZBXHUDfp2","64CTMz1sNLzpRg+zvuOK2U","64st44lHBIDov87JmVspaO","65gwb2E6dKZ6hKUU4KGsll","66b1G6fxxNf6nEzCYkGQ3t","6aNwy1BrxIrLsVSp7hza0O","6bgsCv/GFIAZorsxUZFlui","6dmOh1culDPIf+pIww/S+A","6e0/P8y79Ixrx10mLZZSr5","6fMWBfIyxOw7ELss3T9us6","73A/Oe519JuK0hDXrA3RsD","73MN4e+HVFOrRV7CVSwC9o","73Tqik8JNLIrMmatci/NHm","79tSTgADNA4Ij0b3kpYTUm","7dbwCl6ydH1ZxmVLN4k/Jl","7eEoD4VIRDJat8ID/HcSKu","7elRdLRKZATaXUOsV4ZxUz","84FDLiSvdEPagquWx3jCYn","87y4BgwjVJ/5lv8Eh7gP8K","8amIKzot1FVZZcGdwgQ7KR","8buj3tcIhJdbyAIneTG6Xx","90t+AZO4BLt5mchnQffkiA","960YpbuEFBPLhcAxpg/tBX","97MX0sDGdLEo6r2VEL4BvO","97uCkK/CNPHLpXqam6U/Fz","98DJDa3ydNc6Oq8Wg7DYFc","98v8I8TMZLApVe9s3z/FhW","99JscT8XpE8Yo1+0PhjcDk","99LxdJOcJNkazkuhRek1hI","9aXTWphJpE8LvSfcsWlr9h","9dsrv6yKNLiakRUUgSd/R2","9for8Q8DNFg4zJATXKWarL","9fwR7mCtpCt7C02LxtUEfN","a0eg7fTJxMIJ9ozsHxc1mw","a6M8ZKp6ZKwrtPMz6H81Cr","abdKgRmZVC0rZVW/aYR4Pn","acNtkCQEhGpa7qbU6PnPM7","ado1XZT+1MxLjDQ1JPw+Zm","afQAGowrdDdZf2xDFOa8hr","b4kvu7QYlEMoNK9MbATpTA","b438YN5HRACKe4IZTScp2E","b6qtE3j0lPWq9QbeeevSM4","b8iJEjoj1EJ598serD5vPN","b8z4A72DVGka94xFieVzzr","b9oYImZOlCjqDqb7uUcrjJ","bdBspmIzdDJqW1yanozL4N","bdm4frBnZE3Yk599kXwgkU","beVsk2yVxMaYT/JMjY10g5","beomPF4odAvo1WOGuoli3w","bfIXjSOBFAmaTCeafjPVCe","c0srcpjSZIpJNFU05K9APK","c2Kx6cpb1LRJmrSTqe7k44","c2ignbVVdN3YE34YtGXSgM","c3Mbrrf8FKqrYinbiEbffz","c4+fWw9GBHLJRAduyjVzMj","c7MGPLay1L0L/fPUdwds/6","c8MSQ2BLtO+o2dwyoEaHTP","c9t3i9J1dEZ7ty3GpkWlZx","c9zlb8+BhKZ4H/lDpXPD9Z","cckTRtKr5CWK4Pr53PXR/3","ce+smsO5pM/oXIWanYPXR2","d02ZvnWidGr5plCT60lC2k","d1wjGrDxFOsZRF9HW5r+3o","d1xy1hWnpDPr5vYjMaRbet","d2K1G+RVROZrsInnwgtNSz","d3Urt1CcxM6ZoZ/trBgakM","d3pJUylapOfJKLonsCSXqP","d7NjGTDylNJpQ8H7RCsdx/","d8vorn0uJD5qh+vDLCW1qK","daDI5OkSxFPYxXvKddLWiN","ddd4NibE9AQ5NEfc16s0EY","dePM7LlAhNuJ41C/bbEqfW","dezcfcYS9LFq+u3S0vCioJ","e13EQjAu9FPIv6TkO6NO3u","e5OPPMABxNiosYJfK3yuU8","ecBDvzfh5CYLiCwIOoEbSj","ee09FXaJBFjblg9xiUVoQh","f2H3sYGOBIAoYc/JRV/ypi","f6bOTwoMBAap/2xerTL9bG","fb9b58V6ZKFp6OtDyfkKer","fdrYrwWxNDo4rnA/naopud","fe8rMaP8BAArG6jUFrIYQP","00Gwfq2+dD3puu+nzd2eNz","00cLKsJhdEy7QfKy+6ugwP","06QQxGhSZDur63Pl64/QTr","0bZukc64dE75GN+4hx9Q7k","0dw4/2NvNF94Je2P9KRRlp","0eARcGOitBmaBOhcTUCoGU","10e+Cm4o9PWZHhCrfia4d5","11zGxV+gpHLILO5/K8P4k5","12QPCGMnNBaL+fEOGSn0Ie","18SGxEBe1Gy6wCAfanEDMd","1dFCIaOwBJLoyK++2XHaOR","1dM4krYNJMzLzqIhLuoiwD","20EhEyQiVGQJYk4bAcdI6J","22+DVMN6xF5IZVEH4V8pgk","23ofZ0HkBIQIj03I6JA/me","23xeGe8XpJ6KEU7kNqtQZd","28V0pv+RREnbxQOWDKMZKh","2aPa1EWWBCsr3J5klndmVF","2a610Ge0VEep2DaGC78Qe1","2bwhDPStdGDImS7PMUAUeL","2dv9F9MJNOWJlhqekh5hku","32KYTc71FPZLPRDj4dHXlt","34gS1Na9dBm4xnuaVMngb8","34n6HYdO9F4oiusgdmv6SI","342Xq+8/tFmZ1aVecw9tiX","35z8q7cfNKEIsA5l2D6B9h","37BXJiXXtG17U/2i1ynVk4","37PtJUcPFEiL5m45vy+j8M","39uCp1pGtI9brn9y/jqK6i","3cld5RP/VEsaoc+ZaDDHwC","43g2npE25MLrfsCe8Ju+h3","47DK+7b5ZIpKYsralQH9EU","47/6mJzadM5aL+XTK60c6R","48h9KGDyhHrZyaI4cV9gdd","4aq/wm11lIbK9o9DtND/k/","4fGhRrzEpGoIAVPLxYCGfn","54cCALJkhLvqHYu1r7Gvgv","55FbUyRJpAAbbuODAUMfAd","566zT8UOlCpYo0NGqAxZrD","57zp78SqREZK+Min7k07ne","58No3CgCdPV44yJPX2Q9ya","58ejUsLl1K4YyVsEvZgf7J","5bDi2pf/FF+Zi3uRRSYsuW","5d9Ae6iQ9PVqJx7tgVbG0Q","5eCgOqm55AdrUIfb8gm7EV","5e+cUP7JRAKqeYgOJfT682","60l+s75oxOxKJ7UjwTJ+m5","61YJazy99CuoMfpZjWZ17b","67vexUgu9FNpzN6H1kw9M0","68kf5dpMFMSLS912LcRJ1/","69E3JJBKBIxbmqYqu0Kl0f","6agG7vpOFBkKzSBnFeNEFx","6cvZfZKkxBxaW9l2M4Oq06","71wji0T5FBWYeHC4t3Eyhp","766DHJEp1IKb8MTmhmxJ05","7f+iDKbUFORZeRnwrfZZU7","82wLQIikBFgp8KVawa6GQt","8200LrOzdKUbbGaaenaAwg","838GF21ztN1bPMem7vrB+4","84rPJulbRDGIXfniaqR0/o","88nRchqItKd7CRhadcSMIr","89EqhH22pPpJ28TmZ+ml4A","8bD4sXffdLobmVOYDF5D0t","8bSGyhKkFG5ojIaEvDirs4","8dsEl0LxBCbrN1YBhsmU5Y","8fszZC6KZC/YVR/3a/QSVM","96XNfFF8xGsa9X1uJicNCc","9b9s8I5EpCSLVqcT9g7AmT","9fAmVsluxM6rMXIAUtcqfk","9f0Jv3NtVApZNuBkIQ+2+W","a1utS6WINHwqyWOXAFbRGB","a2Y3iTdgdFjbmnBf034oI1","aaMvL4MfFMBZ8FEy1Ve9GL","ab6j5Bu2pCZ7DFdeqG9cJW","ads3GAhlVDyJtrvIkPEzZw","adwJfGxPJO25L8rN07E461","b3g1s7SbZG6p+bTvTbfbdS","b3tLNY4xpNxpjpGGgMr6Yk","b4IRxI7dpGQ4UzmCfcgyBY","b7lSL7g9lIOK6qq/BbNnft","b7sbnvRSxBRqY74RBOCGYm","bcR7QV6PJPfoxODPu07NRv","bdUgH2E/FGfJHM0l+0KnZw","bd/N9fOrNJzIMgKsfiS3OZ","beSMwOjzhAVaSbmtl34D6E","c0Zyk88s5L57tI0gWlFD1K","c0auudV5dKo4qJ5qAcTz+u","c1/wlZyXJL85BPKv6Zmp2/","c4YpdUFdRKSLTl3DJG8zFH","c5Ga6+YcdL+b9DNgZMiNOw","c6A58W7alCIZU1pWcvLb+d","c9fSaJZ+xIH6U0ilYmSUF+","cc6x7AyGZIpanJHAW6zPE8","cealMnuIFJZ6l4jvcj9ppv","cfcIXC5uBNkrxCFeZCAQBP","d0QQ7gfJJMY6LTO9H4R2WV","d4SbX1RV1I/J8hVxYpdkrp","d5mchlno9Doq8GKgdaV7js","d5oH5aPmRENprAvAC02ctY","d57F6BgypJq4END/i4pJmw","d6ebE29TJBFb0sqd023tmH","d7+pBHkqZEvLBh397A3tN3","d8MMQvECZFYbSVb6+OAO7G","dcAj9xz0RBc4sjW2EtSKVA","dfbK8PmxRMvJq1NFlWwmnL","e0+evOGWdMdruzh5p8bNwu","e1eLQTMEpMoIavxJsvpVHR","e5OudWeEBD9LL/b18mKn3P","e6rSQciSVB04PplvtL3veo","ecjaChnf9AAYg5DfU4vT9B","ecwMJPcM9JHb2WJrTDUXLw","efJUu2pYFMoZcTEdCToyIR","f33RZ8JRRO1bve++tBgAM5","f5tad6qrpMSaWoa/Jzx+lt","f7tCYsCudFHrODC30JD2Qu","f8rvtGVe9AcYeuMB4UVhKv","f8ui1glGdMuZsP8crUS5xg","f9s/b3dB1MKIL6zl49Au0T","fd2PMGuetOBI2l3O5IhMZe","feTbJpgI1NjLmTGZq0VF3D","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/PS02/scene/PS02.fire":166},"redirect":[242,0],"deps":["internal"],"packs":null,"name":"PS02","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true,"versions":{"import":[122,"99067",123,"911e9",0,"7871f",124,"3f096",1,"7871f",125,"5a08e",2,"7871f",126,"67317",127,"5affa",128,"9c992",3,"7871f",129,"b9c24",130,"0d621",4,"7871f",131,"89970",5,"7871f",6,"7871f",132,"af992",133,"53933",7,"7871f",134,"0bc6c",8,"7871f",135,"53600",136,"e8d10",137,"4fc6a",9,"7871f",10,"7871f",11,"7871f",138,"758a6",12,"7871f",13,"7871f",139,"ad238",140,"a4d11",141,"492f0",14,"7871f",142,"109e3",15,"7871f",16,"7871f",143,"813e7",17,"7871f",144,"7b3ff",145,"fccfb",146,"71045",147,"2262a",148,"d732e",149,"6b834",18,"7871f",19,"7871f",150,"baaac",20,"7871f",151,"7c06b",152,"0bd9d",21,"7871f",153,"586f4",154,"91802",155,"5a978",22,"7871f",23,"7871f",156,"b7f51",24,"7871f",25,"7871f",26,"7871f",27,"7871f",28,"7871f",29,"7871f",157,"083b2",30,"7871f",31,"7871f",32,"7589f",158,"abf7f",159,"1df49",160,"dd180",161,"15e60",33,"7871f",162,"78b46",34,"7871f",163,"ba0a0",164,"77d76",35,"7871f",36,"7871f",37,"7871f",38,"7871f",165,"e68f1",166,"cc7ed",167,"c0597",168,"40cfc",39,"7871f",169,"81ecb",40,"7871f",41,"7871f",42,"7871f",43,"7e7f5",44,"7871f",170,"ae2b8",171,"dde2b",172,"0bd7b",45,"7871f",173,"d45ea",46,"7871f",174,"547e0",47,"7871f",48,"7871f",49,"7871f",175,"63238",50,"7871f",51,"7871f",52,"7871f",176,"35418",53,"7871f",54,"7871f",55,"7871f",56,"7871f",177,"83432",178,"c8bd0",179,"2a467",180,"c88d1",57,"7871f",181,"12698",58,"7871f",182,"e7360",183,"e24a2",59,"93abe",184,"10367",185,"853c8",60,"7871f",186,"7d383",187,"fb2d3",61,"7871f",188,"cdd27",62,"7871f",63,"7871f",64,"7871f",65,"7871f",66,"7871f",67,"7871f",68,"7871f",69,"7871f",189,"f9790",70,"7871f",190,"5bc24",71,"a7e59",72,"7871f",191,"d7ddc",73,"b34fa",192,"e477a",193,"32073",74,"7871f",194,"e5ea6",75,"7871f",195,"7f93a",76,"7871f",77,"7871f",196,"6f830",197,"69d10",78,"7871f",198,"845b4",199,"92e1d",200,"098f6",79,"7871f",80,"7871f",81,"7871f",201,"42d65",202,"c09d4",82,"7871f",83,"7871f",84,"7871f",203,"57eb9",85,"7871f",204,"ee8f4",86,"7871f",205,"440fd",206,"8fce4",87,"7871f",88,"7871f",89,"7871f",207,"04c7c",208,"6891d",90,"7871f",209,"32ffa",91,"7871f",92,"7871f",93,"7871f",210,"806f8",94,"7871f",211,"df4e4",212,"ea136",95,"7871f",96,"7871f",213,"63771",97,"7871f",98,"7871f",99,"7871f",214,"c0f39",215,"025f1",100,"7871f",216,"43eff",217,"fe296",101,"7871f",102,"7871f",103,"7871f",104,"7d9ee",105,"7871f",106,"7871f",218,"3a314",219,"160d1",220,"8e633",221,"a168c",222,"21684",107,"7871f",223,"37c4a",224,"77162",108,"7871f",109,"7871f",225,"b16a1",110,"7871f",111,"7871f",112,"7871f",226,"8c49b",227,"34df5",228,"5c084",113,"7871f",114,"7871f",229,"b2bf3",230,"67947",115,"7871f",231,"d83a3",232,"ae634",116,"7871f",233,"00b6e",117,"7871f",234,"7f83e",235,"5cafe",118,"7871f",236,"37898",237,"ee3c0",238,"60255",239,"1fc80",119,"7871f",120,"7871f",240,"0791f",241,"24c49",121,"7871f"],"native":[0,"ddf61",1,"ee55a",2,"6f0a7",3,"ab73f",4,"525ea",5,"f85b2",6,"162b3",7,"0ab35",8,"bac03",9,"48c80",10,"84713",11,"c876e",12,"19abc",13,"cc50e",14,"77b7c",15,"eef1f",16,"17f77",17,"98a96",18,"0427f",19,"aeae9",20,"5f7cd",21,"df1ec",22,"2b681",23,"69973",24,"ca12f",25,"08f36",26,"7dfbb",27,"8bc6c",28,"cfaed",29,"c6ae9",30,"50b30",31,"34b33",32,"52662",33,"4616c",34,"8ffd2",35,"0bb59",36,"afb80",37,"72037",38,"e941e",39,"7426f",40,"336a8",41,"1bbc1",42,"f681a",43,"fe202",44,"a9fd2",45,"49541",46,"a4fdf",47,"03bf5",48,"bd9c1",49,"6e9ac",50,"0cf64",51,"fd9d5",52,"87aff",53,"02c40",54,"45760",55,"f7b1e",56,"193c1",57,"08894",58,"e42e5",59,"9df3f",60,"2f843",61,"d0b1f",62,"8c58a",63,"6de29",64,"f664e",65,"ac2e8",66,"cca68",67,"870e0",68,"23821",69,"f0c3c",70,"3cc55",71,"7fe84",72,"9d311",73,"fe252",74,"49a00",75,"4ba63",76,"e5c8f",77,"a08e6",78,"9dfcd",79,"60c16",80,"6f744",81,"64872",82,"455a6",83,"aecb4",84,"b4506",85,"118a2",86,"b4533",87,"9dff5",88,"3cd6d",89,"58056",90,"66be4",91,"b6539",92,"d6d5c",93,"83e8b",94,"1975f",95,"b75b2",96,"93483",97,"8a8e4",98,"406d6",99,"9717a",100,"910df",101,"a0601",102,"9a8ac",103,"74b18",104,"95b8f",105,"04d35",106,"bb424",107,"eb1c8",108,"90f1a",109,"9b49b",110,"3c770",111,"18548",112,"8defa",113,"2cea6",114,"4c3c1",115,"cab1b",116,"9f996",117,"54e4a",118,"4633c",119,"b3270",120,"4a09d",121,"a4504"]}}
\ No newline at end of file
window.__require=function t(e,n,i){function a(r,c){if(!n[r]){if(!e[r]){var s=r.split("/");if(s=s[s.length-1],!e[s]){var h="function"==typeof __require&&__require;if(!c&&h)return h(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+r+"'")}r=s}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){return a(e[r][1][t]||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof __require&&__require,r=0;r<i.length;r++)a(i[r]);return a}({PS02:[function(t,e){"use strict";cc._RF.push(e,"8b6622IIfBDFrKy2BvAvT4U","PS02"),cc.Class({extends:cc.Component,properties:{},start:function(){}}),cc._RF.pop()},{}],scene:[function(t,e){"use strict";cc._RF.push(e,"1e6c5bmzb5Cw7tGU+6pyb+T","scene");var n,i=t("./util");cc.Class(((n={extends:cc.Component,properties:{baseWidth:1280,baseHeight:720},onLoad:function(){cc.debug.setDisplayStats(!1),this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,canvas:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var n=cc.winSize.width/e.width,i=cc.winSize.height/e.height;this._cocosScale=Math.min(n,i),n=e.width/this._designSize.width,i=e.height/this._designSize.height,this._mapScaleMin=Math.min(n,i)*this._cocosScale,this._mapScaleMax=Math.max(n,i)*this._cocosScale,this.canvas=cc.find("Canvas")},start:function(){var t=this;this.getData(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.preload()},getData:function(t){if(window&&window.courseware)window.courseware.getData(t,"Z_05_nxuan1");else{var e=cc.find("middleLayer");e?e.getComponent("middleLayer").getData(t):t(this.getDefaultData())}},getDefaultData:function(){return JSON.parse('{"groupArr":[{"ques":"","optionArr":[{"text":"A"},{"text":"pp","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/b75df34ef55bd1c6e3a799f1dac87fec.mp3"},{"text":"l","isEmpty":false,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"e","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"l","isEmpty":true},{"text":"l","isEmpty":true}],"wrongArr":[{"text":"acw","audio_url":"http://staging-teach.cdn.ireadabc.com/736c616e8b66a3ae03c8e8636ca46f0f.mp3"},{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/89060c9eddd5f0f67908cce77ee74f94.mp3"}],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/991a9dd15e889ee4ff13538e49f6a0d7.png"},{"ques":"","optionArr":[{"text":"O","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3"},{"text":"r","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"},{"text":"an"},{"text":"g","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/70f35e529377b982daebc23ad92fa670.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"}],"wrongArr":[{"text":"c","audio_url":"http://staging-teach.cdn.ireadabc.com/9259e1b99cc17f61210e7edc17f1d697.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/f6f4bbef497409fef3c8f1d375893829.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},{"ques":"","optionArr":[{"text":"F","audio_url":"http://staging-teach.cdn.ireadabc.com/c870b402b69186efb491d62f8da98d24.mp3","isEmpty":true},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/ed1a2dc4bfa7d35041ca94d1badde8ed.mp3","isEmpty":true},{"text":"r"},{"text":"e"},{"text":"f"},{"text":"i"},{"text":"h"},{"text":"h","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0d11dcd7138f61dbead3dfaa5eb84b47.mp3"},{"text":"t"},{"text":"e"},{"text":"r"}],"wrongArr":[],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/78ba347c18b181fd4550d30bb14c90c5.mp3"}],"isHideShadow":true}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++)this._imageResList.push({url:t[e].pic_url||""})},addPreloadAudio:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++){for(var n=t[e].optionArr,i=0;i<n.length;i++)this._audioResList.push({url:n[i].audio_url||""});this._audioResList.push({url:t[e].audio_url||""}),this._audioResList.push({url:t[e].word_audio_url||""})}},addPreloadAnima:function(){},loadEnd:function(){this.initData(),this.initView(),this.initListener()},initMusic:function(){cc.assetManager.loadRemote(this.data.bg_audio_url,function(t,e){cc.audioEngine.setMusicVolume(.3),cc.audioEngine.playMusic(e,!0)})},groupIndex:null,wordDisWidth:null,_curShowItem:null,emptyGroupArr:null,initData:function(){this.groupIndex=0,this.wordDisWidth=10,this.initCurGroup(),this.initAudioEffect()},rightClip:null,wrongClip:null,bigStarClip:null,nextClip:null,endClip:null,initAudioEffect:function(){this.rightClip=cc.find("Canvas/res/audio/right").getComponent(cc.AudioSource).clip,this.wrongClip=cc.find("Canvas/res/audio/wrong").getComponent(cc.AudioSource).clip,this.bigStarClip=cc.find("Canvas/res/audio/big_star").getComponent(cc.AudioSource).clip,this.nextClip=cc.find("Canvas/res/audio/next").getComponent(cc.AudioSource).clip,this.endClip=cc.find("Canvas/res/audio/end").getComponent(cc.AudioSource).clip},curGroup:null,initCurGroup:function(){this.curGroup=JSON.parse(JSON.stringify(this.data.groupArr[this.groupIndex]))},initListener:function(){var t=this,e=cc.find("Canvas"),n=!1,i=function(n){t.canvasTouchMove(n),e.hasEventListener(cc.Node.EventType.MOUSE_MOVE)&&e.off(cc.Node.EventType.MOUSE_MOVE,a)},a=function(a){n&&(t.canvasTouchMove(a),e.hasEventListener(cc.Node.EventType.TOUCH_MOVE)&&(e.off(cc.Node.EventType.TOUCH_MOVE,i),t.removeHtmlCanvasListener("touchmove")))},o=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.MOUSE_UP)&&e.off(cc.Node.EventType.MOUSE_UP,r),e.hasEventListener(cc.Node.EventType.MOUSE_LEAVE)&&e.off(cc.Node.EventType.MOUSE_LEAVE,r),t.removeHtmlTouchEnd()},r=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.TOUCH_END)&&e.off(cc.Node.EventType.TOUCH_END,o),e.hasEventListener(cc.Node.EventType.TOUCH_CANCEL)&&e.off(cc.Node.EventType.TOUCH_CANCEL,o)};e.on(cc.Node.EventType.TOUCH_MOVE,i),e.on(cc.Node.EventType.MOUSE_MOVE,a),e.on(cc.Node.EventType.TOUCH_END,o),e.on(cc.Node.EventType.TOUCH_CANCEL,o),e.on(cc.Node.EventType.MOUSE_UP,r)},removeHtmlCanvasListener:function(t){document.querySelector("canvas").addEventListener(t,function(){})},removeHtmlTouchEnd:function(){document.querySelector("canvas").removeEventListener("touchend",this.htmlCanvasTouchendFunc,this)},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(){this._curShowItem&&(this.checkOnEmptyLetter(),this._curShowItem=null)},initView:function(){this.initQuestion(),this.initAnswerGroup(),this.initStar(),this.refreshWordNode()},bigStarArr:null,initStar:function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},initQuestion:function(){this.initQuestionPanel(),this.initQuestionLabel(),this.initQuestionSound()},panel:null,initQuestionPanel:function(){var t=(0,i.getSprNode)("panel");t.scale=this._mapScaleMin,t.x=0,t.y=170*this._mapScaleMin,this.canvas.addChild(t),this.panel=t,this.refreshCurPic()},refreshCurPic:function(){var t=this;(0,i.getSprNodeByUrl)(this.curGroup.pic_url,function(e){var n=t.panel.pic,a=function(){cc.tween(e.node).to(.3,{opacity:255},{easing:"sineInOut"}).start(),t.playQuestionSound()};t.panel.addChild(e.node),e.node.y=10;var o=489/e.node.width,r=290/e.node.height;e.node.scale=Math.min(o,r),t.panel.pic=e.node,e.node.opacity=0,n?(cc.tween(n).to(.2,{opacity:0},{easing:"sineOut"}).call(function(){n.removeFromParent(),a()}).start(),(0,i.playAudioByUrl)(t.nextClip)):a()})},soundNode:null,initQuestionSound:function(){var t=this,e=new cc.Node;e.x=this.panel.width/2-30,e.y=this.panel.height/2-30,e.parent=this.panel,e.zIndex=12,this.soundNode=e;var n=cc.find("Canvas/btn_laba");n.parent=e,n.x=0,n.y=0,e.anima=n;var a=(0,i.getSprNode)("btn_laba");e.addChild(a,2),e.icon=a,a.addComponent(cc.Button),a.on("click",function(){t.playQuestionSound()})},playQuestionSound:function(){var t=this;this.soundNode.icon.active=!1;var e=this.soundNode.anima.getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t.soundNode.icon.active=!0})},wordNode:null,initQuestionLabel:function(){var t=new cc.Node;t.scale=.9*this._mapScaleMin,this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.canvas.addChild(t),this.wordNode=t;for(var o=t.width,r=0;r<t.children.length;r++)t.children[r].x-=o/2},refreshQuestionLabel:function(){var t=this;cc.tween(this.wordNode).to(.2,{opacity:0},{easing:"cubicIn"}).call(function(){t.resetWordNode()}).to(.3,{opacity:255},{easing:"cubicInOut"}).start()},resetWordNode:function(){var t=this.wordNode;t.width=0,t.removeAllChildren(),this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.refreshWordNode()},getLetterGroup:function(t,e){void 0===e&&(e=!0);var n=t.text,a=new cc.Node;a.width=this.wordDisWidth,a.data=t,a.emptyArr=[],a.letterArr=[];for(var o=!!e&&t.isEmpty,r=0;r<n.length;r++){var c=this.getLetterResName(n[r],!1);console.log("resName: ",c);var s=(0,i.getSprNode)(c);if(a.addChild(s),s.x=a.width+s.width/2,a.width+=s.width+this.wordDisWidth,a.height=s.height,a.letterArr.push(s),o){var h=this.getLetterResName(n[r],o),d=(0,i.getSprNode)(h);a.addChild(d),d.x=s.x,d.y=12,a.emptyArr.push(d)}}o&&(this.hideGroupLetter(a),this.data.isHideShadow&&this.changeShadowToBg(a));for(var u=a.width,l=0;l<a.children.length;l++)a.children[l].x-=u/2;return a},changeShadowToBg:function(t){for(var e=t.emptyArr,n=0;n<e.length;n++)e[n].removeFromParent();var a=(0,i.getSprNode)("ques_bg");t.addChild(a),t.emptyArr=[a]},refreshWordNode:function(){console.log("this.wordNode: ",this.wordNode);for(var t=this.wordNode.children,e=0,n=0;n<t.length;n++){var i=t[n];this.refreshLetterGroup(i),i.x=e,e+=i.totalW+this.wordDisWidth}e-=this.wordDisWidth,this.wordNode.width=e;var a=this.wordNode,o=a.width;o>.9*this.canvas.width?a.scale=.9*this.canvas.width/o:a.scale=1;for(var r=0;r<a.children.length;r++)a.children[r].x-=o/2},refreshLetterGroup:function(t){var e,n=t.letterArr,i=t.emptyArr;console.log("letterArr: ",n),console.log("emptyArr: ",i);var a=n;i&&null!=(e=i[0])&&e.active&&(a=i),t.width=0;for(var o=0,r=0;r<a.length;r++)a[r].x=o+a[r].width/2,o+=a[r].width+this.wordDisWidth;t.totalW=o},showGroupLetter:function(t){console.log("showGroupLetter : ",t);for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!0;for(var a=0;a<n.length;a++)n[a].active=!1},hideGroupLetter:function(t){for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!1;for(var a=0;a<n.length;a++)n[a].active=!0},getLetterResName:function(t,e){return e?/[A-Z]/.test(t)?"letter_big_bg/"+t.toLowerCase()+"2_di":"letter_small_bg/"+t+"_di":/[A-Z]/.test(t)?"letter_big/"+t.toLowerCase()+"2":"letter_small/"+t},answerGroupArr:null,answerNode:null,initAnswerGroup:function(t){var e;void 0===t&&(t=!1),this.answerNode?this.answerNode.width=0:((e=new cc.Node).scale=this._mapScaleMin,this.answerNode=e,this.canvas.addChild(e)),e=this.answerNode;for(var n=this.getAnswerArr(),i=[],a=0;a<n.length;a++){var o=n[a],r=this.getLetterGroup(o,!1);this.addLetterDragListener(r),this.addLetterSound(o,r),r.x=e.width+r.width/2,e.addChild(r),e.width+=r.width+30,i.push(r)}var c=.9*this.canvas.width;e.width>c&&(e.scale=c/e.width),e.x=-e.width/2*e.scale,e.y=-230*this._mapScaleMin,this.answerGroupArr=i;for(var s=0;s<i.length;s++){var h=i[s],d=this.canvas.convertToNodeSpaceAR(h.parent.convertToWorldSpaceAR(cc.v2(h.x,h.y)));h.x=d.x,h.y=d.y,h.parent=this.canvas,h.scale=e.scale,h.baseX=h.x,h.baseY=h.y,h.baseS=h.scale,t&&(h.opacity=0,cc.tween(h).delay(.2).to(.3,{opacity:255},{easing:"cubicInOut"}).start())}},addLetterSound:function(t,e){t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,n){e.audioClip=n})},addLetterDragListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(){t.data.isEnd||(e._curShowItem=t,t.zIndex=3,t.tween&&t.tween.stop(),e.dragCurItem())})},getAnswerArr:function(){for(var t=this.curGroup.optionArr,e=[],n=0;n<t.length;n++)t[n].isEmpty&&e.push(t[n]);return e=e.concat(this.curGroup.wrongArr),(0,i.randomSortByArr)(e)},checkOnEmptyLetter:function(){console.log("emptyGroupArr: ",this.emptyGroupArr);for(var t=0;t<this.emptyGroupArr.length;t++){var e=this.emptyGroupArr[t];if(console.log("letterGroup.data: ",e.data),console.log("this._curShowItem.data: ",this._curShowItem.data),e.data&&e.data.text==this._curShowItem.data.text){console.log("data in ");var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(e.getBoundingBoxToWorld().contains(n))return console.log("rect in "),(0,i.removeItemFromArr)(this.emptyGroupArr,e),this.showLetterSuccess(e),void this.checkGroupEnd()}}this.letterBack()},letterBack:function(){if(this._curShowItem){(0,i.playAudio)(this.wrongClip);var t=this._curShowItem;t.tween=cc.tween(t).to(.5,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.zIndex=0,t.tween=null}).start()}},isDrag:null,dragCurItem:function(){this.isDrag=!0,this.playCurItemAudio()},playCurItemAnima:function(){if(this._curShowItem){var t=this._curShowItem;t.tween&&t.tween.stop();var e=this._curShowItem.baseS;t.tween=cc.tween(t).to(.075,{scaleX:1.22*e,scaleY:.78*e},{easing:"quadOut"}).to(.15,{scaleX:.95*e,scaleY:1.05*e},{easing:"quadInOut"}).to(.15,{scaleX:1.02*e,scaleY:.98*e},{easing:"quadInOut"}).to(.15,{scaleX:1*e,scaleY:1*e},{easing:"quadInOut"}).call(function(){t.tween=null}).start()}},playCurItemAudio:function(){var t=this;this._curShowItem&&this._curShowItem.audioClip&&(this.playEffectByAudioClip(this._curShowItem.audioClip,function(){t.isDrag&&t.playCurItemAudio()}),this.playCurItemAnima())},playEffectByAudioClip:function(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}},showLetterSuccess:function(t){console.log(" in showLetterSuccess"),this.showGroupLetter(t),this.refreshWordNode(),this.showDragSuccessAnima(t),this._curShowItem.active=!1},showDragSuccessAnima:function(t){var e=cc.find("Canvas/res/anima/right"),n=cc.instantiate(e);t.addChild(n,20),n.x=t.totalW/2,(0,i.playAudio)(this.rightClip)},checkGroupEnd:function(){var t=this;0==this.emptyGroupArr.length&&((0,i.delayCall)(.4,function(){t.showGroupEndAnima(),t.playWordAudio(),t.wrongLetterLeave()}),(0,i.delayCall)(1,function(){t.showBigStar()}))},wrongLetterLeave:function(){for(var t=this.answerGroupArr,e=0;e<t.length;e++)t[e].active&&this.showLetterLeaveAnima(t[e])},showLetterLeaveAnima:function(t){t.data.isEnd=!0,cc.tween(t).delay(1*Math.random()).to(1.5,{y:t.y-this.canvas.height,angle:520*Math.random()-260},{easing:"cubicIn"}).start()},showGroupEndAnima:function(){var t=this.wordNode.scale;cc.tween(this.wordNode).to(.4,{scaleX:1.3*t,scaleY:1.3*t},{easing:"quintOut"}).delay(.01).to(.4,{scaleX:1*t,scaleY:1*t},{easing:"quintIn"}).call(function(){}).start()},playWordAudio:function(){this.curGroup.word_audio_url&&(0,i.playAudioByUrl)(this.curGroup.word_audio_url,function(){})},enterNext:function(){},checkGameEnd:function(){if(this.groupIndex++,!this.data.groupArr[this.groupIndex])return console.log("this.gameEnd"),void this.gameEnd();this.initCurGroup(),this.refreshQuestionLabel(),this.refreshCurPic(),this.initAnswerGroup(!0)},holeArr:null,initHole:function(){this.holeArr=[];for(var t=100*this._mapScaleMin,e=260*this._mapScaleMin,n=(this.canvas.width-2*t-4*e)/3,i=-this.canvas.width/2+t+e/2,a=200*this._mapScaleMin,o=-this.canvas.height/2+260*this._mapScaleMin,r=0,c=0;c<8;c++){var s=this.getHole();this.canvas.addChild(s),this.holeArr.push(s),s.x=i+c%4*(e+n),s.y=o-r*a,3==c&&r++}}}).bigStarArr=null,n.initStar_=function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},n.startBtn=null,n.restartBtn=null,n.initBtn=function(){var t=this,e=cc.find("Canvas/btn_start");e.scale=this._mapScaleMin,e.active=!0,e.zIndex=50,e.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(e).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){e.active=!1,t.startBtnClicked(),t.addSoundBtnListner()}).start()}),this.startBtn=e;var n=cc.find("Canvas/btn_restart");n.zIndex=50,n.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(n).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){n.active=!1,t.restartBtnClicked()}).start()}),this.restartBtn=e},n.showSoundBtn=function(){var t=cc.find("Canvas/btn_laba");t.scale=this._mapScaleMin,t.zIndex=1},n.startBtnClicked=function(){var t=this;this.showQuestion(function(){cc.tween(t).delay(.3).call(function(){t.showPenguin()}).start()}),(0,i.playAudio)(this.btnClip)},n.restartBtnClicked=function(){this.groupIndex=0,this.initCurGroup(),this.hideBigStar(),this.startBtnClicked()},n.hideBigStar=function(){if(this.bigStarArr)for(var t=0;t<this.bigStarArr.length;t++)cc.tween(this.bigStarArr[t].star).to(.5,{scale:0},{easing:"cubicOut"}).start()},n.soundAnima=null,n.addSoundBtnListner=function(){var t=this,e=cc.find("Canvas/btn_laba");e.addComponent(cc.Button),e.on("click",function(){(0,i.playAudio)(t.btnClip,function(){t.showQuestion()})})},n.showQuestion=function(t){var e=cc.find("Canvas/btn_laba").getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t&&"function"==typeof t&&t()})},n.getHole=function(){var t=new cc.Node;t.scale=this._mapScaleMin;var e=(0,i.getSprNode)("hole_1");t.addChild(e,1);var n=(0,i.getSprNode)("hole_2");return t.addChild(n,10),t},n.showPenguin=function(){this.showOnePenguin()},n.showOnePenguin=function(){var t=this;if(!this.checkIsGroupEnd()){var e=this.getFreeHole();if(e){var n=this.getPenguin(),i=this.getOptionData();this.addPenguin(e,n,i)}else cc.tween(this).delay(.3).call(function(){t.showOnePenguin()}).start()}},n.getOptionData=function(){return(0,i.randomSortByArr)(this.curGroup.optionArr)[0]},n.getPenguin=function(){if(this.penguinPool.length>0)return this.penguinPool.shift();var t=new cc.Node,e=(0,i.RandomInt)(1,2),n=(0,i.getSprNode)("penguin_"+e);return t.penguin=n,this.addPenguinWrong(t,e),this.addTextPanel(t),this.addPicPanel(t),this.addClickNode(t),t.textPanel.y=n.height/2+t.textPanel.height/2-25,t.picPanel.y=n.height/2+t.picPanel.height/2-25,t.addChild(t.picPanel),t.addChild(t.textPanel),t.addChild(n),t.addChild(t.wrong),t},n.addClickNode=function(t){var e=this,n=new cc.Node;n.addComponent(cc.Button),n.width=270,n.height=180,n.anchorX=0,n.anchorY=0,n.on("click",function(){e.checkPenguinIsRight(t)}),t.addChild(n,10),n.x=-130,n.y=40,n.opacity=50},n.checkPenguinIsRight=function(t){t.data&&(this.isRightDuration||t.data.end||("1"==t.data.isRight?(this.showPenguinRight(t),t.data.end=!0):this.showPenguinWrong(t)))},n.isRightDuration=null,n.showPenguinRight=function(t){this.isRightDuration=!0,this.showAnimaStar(t),this.stopPenguin(t),this.showRightSound(t)},n.showPenguinWrong=function(t){t.penguin.active=!1,t.wrong.active=!0,(0,i.playAudio)(this.wrongClip)},n.showAnimaStar=function(t){var e=cc.find("Canvas/res/anima/star"),n=cc.instantiate(e);t.addChild(n,20),n.x=0,n.y=t.textPanel.y},n.checkNextStar=function(t){var e=this,n=t.data;console.log("this.curGroup: ",this.curGroup);var i=this.curGroup.optionArr,a=i.indexOf(n);-1!=a&&i.splice(a,1),this.checkIsGroupEnd()?this.showBigStar():cc.tween(this).delay(1).call(function(){e.showOnePenguin()}).start(),this.hideCurPenguin(t),this.isRightDuration=!1},n.hideCurPenguin=function(t){var e=this,n=t.hideData,i=n.downY,a=n.moveTime,o=n.panel,r=n.hole;cc.tween(t).call(function(){c()}).to(a,{y:i},{easing:"quadInOut"}).call(function(){t.active=!1,t.penguin.active=!0,t.wrong.active=!1,r.penguin=null,e.penguinPool.push(t),t.moveTween=null}).start();var c=function(){cc.tween(o).to(.3*a,{opacity:0}).call(function(){o.active=!1}).start()}},n.showBigStar=function(){var t=this;if(!this.bigStarArr||this.bigStarArr.length<=0)this.checkGameEnd();else{var e=this.bigStarArr[this.groupIndex],n=e.starBig;n.scale=1;var a=e.star;a.active=!0,a.scaleX=.7/e.scale,a.scaleY=1/e.scale,a.angle=90;var o=cc.find("Canvas"),r=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/2)),c=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/4));a.x=r.x,a.y=r.y-n.height,console.log("middlePos = "+JSON.stringify(c)),cc.tween(a).to(.3,{y:c.y+80},{easing:"quadOut"}).to(.1,{y:c.y+40,scaleX:1.2/e.scale,scaleY:.8/e.scale},{easing:"quadOut"}).to(.1,{y:c.y,scaleX:1/e.scale,scaleY:1/e.scale},{easing:"quadOut"}).delay(.1).to(.8,{angle:-720,scale:1}).start(),cc.tween(a).delay(.6).to(.8,{x:0},{easing:"quadIn"}).start(),cc.tween(a).delay(.6).to(.8,{y:0},{easing:"quadOut"}).start(),cc.tween(n).delay(.6).to(.8,{scale:0},{easing:"quadOut"}).call(function(){t.checkGameEnd()}).start(),(0,i.playAudio)(this.bigStarClip)}},n.gameEnd=function(){var t=this;this.playEndEffect(),cc.tween(this).delay(.2).call(function(){(0,i.onHomeworkFinish)(),t.showRestartBtn()}).start()},n.showRestartBtn=function(){var t=cc.find("Canvas/btn_restart");t.zIndex=20,t.active=!0,t.scale=0,cc.tween(t).to(1,{scale:this._mapScaleMin},{easing:"elasticOut"}).start()},n.playEndEffect=function(){(0,i.playAudio)(this.endClip);var t=cc.find("Canvas/Main Camera");t.zIndex=100,(0,i.showTrebleFirework)(t,cc.find("RibbonNodeBase").children)},n.checkIsGroupEnd=function(){for(var t=this.curGroup.optionArr,e=0;e<t.length;e++)if("1"==t[e].isRight)return!1;return!0},n.stopPenguin=function(t){t.moveTween&&(console.log("node.moveTween: ",t.moveTween),t.moveTween.stop())},n.showRightSound=function(t){var e=this;(0,i.playAudio)(this.rightClip,function(){t.data.audio_url?(0,i.playAudioByUrl)(t.data.audio_url,function(){e.checkNextStar(t)}):e.checkNextStar(t)})},n.addPenguinWrong=function(t,e){var n=(0,i.getSprNode)("penguin_"+e+"_wrong");n.active=!1,t.wrong=n},n.addTextPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_text");n.active=!1,t.textPanel=n;var a=new cc.Node,o=a.addComponent(cc.Label);n.addChild(a,5),o.fontSize=54,o.lineHeight=54,o.font=cc.find("Canvas/res/font/Berlin Sans FB").getComponent(cc.Label).font;var r=new cc.Color;cc.Color.fromHEX(r,"c1431d"),a.color=r,a.y=-2.5,n.label=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.addPicPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_pic");n.active=!1,t.picPanel=n;var a=new cc.Node,o=a.addComponent(cc.Sprite);n.addChild(a),a.y=0,n.spr=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.getFreeHole=function(){for(var t=(0,i.randomSortByArr)(this.holeArr),e=0;e<t.length;e++)if(!t[e].penguin)return t[e];return null},n.addPenguin=function(t,e,n){var a,o=this;e.active=!0,e.parent=t,e.zIndex=5,t.penguin=e,e.y=-180,a="text"==n.type?e.textPanel:e.picPanel,this.setPanelData(a,n);var r=.2+.1*Math.random(),c=1+2*Math.random();e.hideData={downY:-180,moveTime:r,panel:a,hole:t},e.moveTween=cc.tween(e).to(r,{y:0},{easing:"quadInOut"}).delay(c).call(function(){h()}).to(r,{y:-180},{easing:"quadInOut"}).call(function(){e.active=!1,e.penguin.active=!0,e.wrong.active=!1,t.penguin=null,o.penguinPool.push(e),e.moveTween=null}).start();var s=.3+2*Math.random();cc.tween(this).delay(s).call(function(){o.isRightDuration||o.showOnePenguin()}).start();var h=function(){cc.tween(a).to(.3*r,{opacity:0}).call(function(){a.active=!1}).start()};a.active=!0,a.opacity=0,cc.tween(a).to(.3*r,{opacity:255}).start(),(0,i.playAudio)(this.appearClip)},n.setPanelData=function(t,e){t.data=e,t.parent.data=e,"text"==e.type?this.setTextPanelData(t,e):this.setPicPanelData(t,e)},n.setTextPanelData=function(t,e){t.label.string=e.text,t.label._forceUpdateRenderData(!0),t.label.node.width>255?t.label.node.scale=255/t.label.node.width:t.label.node.scale=1},n.setPicPanelData=function(t,e){cc.loader.load({url:e.pic_url},function(e,n){var i=new cc.SpriteFrame(n);t.spr.spriteFrame=i;var a=215/n.width,o=135/n.height,r=Math.min(a,o);t.spr.node.scale=r})},n._cocosScale=null,n.initBg=function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,n=cc.winSize.height/t.height,i=Math.min(e,n);this._cocosScale=i;var a=cc.find("Canvas/bg");e=t.width/a.width,n=t.height/a.height,a.scale=Math.max(e,n)*i,a.anchorX=1,a.anchorY=0,a.x=t.width/2*i,a.y=-t.height/2*i;var o=cc.find("Canvas/bg"),r=new cc.Node;r.x=-o.x,r.y=-o.y,r.scaleX=o.scaleX,r.scaleY=o.scaleY,o.addChild(r);var c=r.addComponent(cc.Graphics);c.fillColor=this.data.bgColor||"#f9bd03",c.fillRect(-o.width/2,-o.height/2,o.width,o.height),c.fill()},n.initHotZone=function(){this.initHotZoneBg()},n.hotZoneBg=null,n.initHotZoneBg=function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas");var e=107*this._mapScaleMin+22;this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(n,i){t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;var a=new cc.Node;a.name="bgItemSpr";var o=new cc.SpriteFrame(i);a.addComponent(cc.Sprite).spriteFrame=o,a.width=t.hotZoneBg.width,a.height=t.hotZoneBg.height,a.parent=t.hotZoneBg,window.bg=a;var r=t.canvas.width/t.hotZoneBg.width,c=(t.canvas.height-e)/t.hotZoneBg.height,s=Math.min(r,c);t.hotZoneBg.scale=s,t.hotZoneBg.y=0-e/2,t.initHotZoneItem()})},n.initHotZoneItem=function(){var t=this;this.data.hotZoneItemArr.forEach(function(e){"0"==e.gIdx?t.setOneAnimaSmall(e):"1"==e.gIdx?t.setOnePic(e):"2"==e.gIdx?t.setOneRect(e):"3"==e.gIdx&&t.setOneAction(e)})},n.setOneAction=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.x,n.y,n.width,n.height,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=t["actionData_"+t.gIdx];if(o&&"text"==o.type){var r=this.setOneActionText(n,o);r.node.scale=a*t.fontScale,r._forceUpdateRenderData(!0)}},n.setOneActionText=function(t,e){var n=new cc.Node;n.parent=t;var i=n.addComponent(cc.Label);i.font=cc.find("Canvas/res/font/aharoni").getComponent(cc.Label).font,i.string=e.text,n.color=cc.Color.BLACK;for(var a=e.changeOption,o=[],r=0;r<a.length;r++){var c=a[r];if(console.log("opArr[0]",a[r]),"fontColor"==c[0]){var s=new cc.Color;cc.Color.fromHEX(s,c[1]),n.color=s}else"opacity"==c[0]?(n.opacity=Number(c[1]/100*255)+.1,o.push({item:n,option:'{"'+c[0]+'" : '+c[2]/100*255+"}",optionName:c[0]})):(i[c[0]]=c[1],o.push({item:i,option:'{"'+c[0]+'" : '+c[2]+"}",optionName:c[0]}))}return e.audio_url&&cc.assetManager.loadRemote(e.audio_url,function(t,e){n.audioClip=e}),i.lineHeight=i.fontSize,n.y+=t.height/2,n.x+=t.width/2,t.addComponent(cc.Button),t.on("click",function(){n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8)),n.isClicked,n.isClicked=!0;for(var t=0;t<o.length;t++){var i=o[t];"opacity"==i.optionName&&(console.log("~~~ ",i.item[i.optionName]),cc.tween(i.item).to(e.changeTime,JSON.parse(i.option)).start())}}),i},n.setOneAnimaSmall=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=new cc.Node;o.name="anima_"+t.index,this.hotZoneBg.addChild(o),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){o.audioClip=e});var r=o.addComponent(dragonBones.ArmatureDisplay);if(t.texPngData){var c=t.texPngData.url,s=t.skeJsonData.url,h=t.texJsonData.url;cc.loader.load(c,function(t,e){cc.loader.load({url:h,type:"txt"},function(t,i){cc.loader.load({url:s,type:"txt"},function(t,a){var c=new dragonBones.DragonBonesAtlasAsset;c.atlasJson=i,c.texture=e;var s=new dragonBones.DragonBonesAsset;s.dragonBonesJson=a,r.dragonAtlasAsset=c,r.dragonAsset=s;for(var h=JSON.parse(s.dragonBonesJson).armature,d=[],u=0;u<h.length;u++)d.push(h[u].name);if(d.length>0){var l=d[0];r.armatureName=l;for(var p=h[0].animation,g=[],f=0;f<p.length;f++)g.push(p[f].name);n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),o.audioClip&&(cc.audioEngine.stopAllEffects(),cc.director.emit("STOP_ALL_AUDIO"),cc.audioEngine.playEffect(o.audioClip,!1,.8)),g.length>0&&r.playAnimation(g[0],1)})}o.x=n.x+n.width/2,o.y=n.y+n.height/2;var v=n.width/o.width,m=n.height/o.height,w=Math.min(v,m);o.scale=w})})})}},n.setOnePic=function(t){var e=this,n=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="pic"+t.index,i.data=t,this.hotZoneBg.addChild(i),cc.loader.load({url:t.pic_url},function(a,o){i.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(o);var r=n/e.hotZoneBg.scaleY;i.width=t.rect.width*r,i.height=t.rect.height*r,i.x=-e.hotZoneBg.width/2+t.rect.x*r,i.y=e.hotZoneBg.height/2-t.rect.height*r-t.rect.y*r,i.anchorX=i.anchorY=0,t.audio_url&&e.addPicAudio(i)})},n.setOneRect=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill(),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){n.audioClip=e}),n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8))})},n.addPicAudio=function(t){var e=t.data;cc.assetManager.loadRemote(e.audio_url,function(e,n){t.audioClip=n}),t.addComponent(cc.Button),t.on("click",function(){t.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(t.audioClip,!1,.8))})},n)),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,n){"use strict";function i(t,e,n,i,a,o,r){try{var c=t[o](r),s=c.value}catch(h){return void n(h)}c.done?e(s):Promise.resolve(s).then(i,a)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(a,o){var r=t.apply(e,n);function c(t){i(r,a,o,c,s,"next",t)}function s(t){i(r,a,o,c,s,"throw",t)}c(void 0)})}}function o(t,e){void 0===e&&(e=0);var n=Math.max(t,e),i=Math.min(t,e);return Math.floor(Math.random()*(n-i)+i)}function r(t,e){cc.loader.load({url:t},function(t,n){var i=new cc.SpriteFrame(n);e&&e(i)})}function c(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}}function s(){return h.apply(this,arguments)}function h(){return(h=a(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,n){try{setTimeout(function(){t()},1e3*e)}catch(i){n(i)}}));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}cc._RF.push(e,"25ccfBBvfNLaoaDwk5MOf7U","util"),n.__esModule=!0,n.getPosByAngle=function(t,e){var n=t*Math.PI/180;return{x:Math.sin(n)*e,y:Math.cos(n)*e}},n.getAngleByPos=function(t,e,n,i){var a=Math.abs(t-n),o=Math.abs(e-i),r=o/Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),c=Math.acos(r),s=Math.floor(180/(Math.PI/c)*100)/100;return n>t&&i>e&&(s=180-s),n===t&&i>e&&(s=180),n>t&&i===e&&(s=90),n<t&&i>e&&(s=180+s),n<t&&i===e&&(s=270),n<t&&i<e&&(s=360-s),s},n.exchangeNodePos=function(t,e,n){return t.convertToNodeSpaceAR(e.convertToWorldSpaceAR(cc.v2(n.x,n.y)))},n.RandomInt=o,n.randomSortByArr=function(t){for(var e=[],n=t.concat();n.length>0;){var i=Math.floor(n.length*Math.random());e.push(n[i]),n.splice(i,1)}return e},n.setSprNodeMaxLen=function(t,e,n){var i=e/t.width,a=n/t.height,o=Math.min(i,a);t.scale=Math.round(1e3*o)/1e3},n.getSpriteFrimeByUrl=r,n.getSprNode=function(t){var e=cc.find("Canvas/res/img/"+t).getComponent(cc.Sprite).spriteFrame,n=new cc.Node;return n.addComponent(cc.Sprite).spriteFrame=e,n},n.getSprNodeByUrl=function(t,e){var n=(new cc.Node).addComponent(cc.Sprite);r(t,function(t){n.spriteFrame=t,e&&e(n)})},n.playAudio=c,n.playAudioByUrl=function(t,e){void 0===e&&(e=null),t?cc.assetManager.loadRemote(t,function(t,n){c(n,e)}):e&&"function"==typeof e&&e()},n.asyncDelay=s,n.showFireworks=u,n.asyncTweenTo=function(){return f.apply(this,arguments)},n.asyncTweenBy=v,n.showTrebleFirework=function(t,e){var n=new d(t,e);n.pos=cc.v2(0,-400),n.side=cc.v2(0,1e3),n.range=200,n.number=100,n.scalseRange=.4;var i=d.copy(n);i.pos=cc.v2(-600,-400),i.side=cc.v2(200,1e3);var a=d.copy(n);a.pos=cc.v2(600,-400),a.side=cc.v2(-200,1e3),u(n),u(i),u(a)},n.onHomeworkFinish=function(){var t=cc.find("middleLayer");if(t){var e=t.getComponent("middleLayer");"student"==e.role&&e.onHomeworkFinish(function(){})}else;},n.getRect=function(t,e,n,i,a){void 0===a&&(a=!0),a&&(t=-n/2,e=-i/2);var o=new cc.Node,r=o.addComponent(cc.Graphics);return r.lineWidth=2,r.strokeColor=cc.Color.BLACK,r.fillColor=cc.Color.GREEN.setA(50),r.rect(t,e,n,i),r.stroke(),r.fill(),o},n.removeItemFromArr=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.delayCall=function(t,e){return cc.tween({}).delay(t).call(function(){e&&e()}).start()},n.FireworkSettings=void 0;var d=function(){function t(t,e,n,i,a,o,r){void 0===n&&(n=cc.v2(0,0)),void 0===i&&(i=cc.v2(0,100)),void 0===a&&(a=50),void 0===o&&(o=100),void 0===r&&(r=0),this.baseNode=void 0,this.nodeList=void 0,this.pos=void 0,this.side=void 0,this.range=void 0,this.number=void 0,this.scalseRange=void 0,this.baseNode=t,this.nodeList=e,this.pos=n,this.side=i,this.range=a,this.number=o,this.scalseRange=r}return t.copy=function(e){return new t(e.baseNode,e.nodeList,e.pos,e.side,e.range,e.number)},t}();function u(){return l.apply(this,arguments)}function l(){return(l=a(regeneratorRuntime.mark(function t(e){var n,i,r,c,h,d,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.baseNode,i=e.nodeList,r=e.pos,c=e.side,h=e.range,d=e.number,u=e.scalseRange,new Array(d).fill(" ").forEach(function(){var t=a(regeneratorRuntime.mark(function t(){var e,a,d,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new cc.Node).parent=n,e.x=r.x,e.y=r.y,e.angle=60*Math.random()-30,(a=cc.instantiate(i[o(i.length)])).parent=e,a.active=!0,a.x=0,a.y=0,a.angle=0,a.scale=(Math.random()-.5)*u+1,d=Math.random(),l=Math.PI*(2*Math.random()-1),t.next=16,v(e,.3,{x:c.x*d+Math.cos(l)*h*d,y:c.y*d+Math.sin(l)*h*d},{easing:"quadIn"});case 16:return cc.tween(e).by(8,{y:-2e3}).start(),cc.tween(e).to(5,{scale:(Math.random()-.5)*u+1}).start(),p(e),t.next=21,s(Math.random());case 21:cc.tween(a).by(.15,{x:-10,angle:-10}).by(.3,{x:20,angle:20}).by(.15,{x:-10,angle:-10}).union().repeatForever().start(),cc.tween(e).delay(5).to(.3,{opacity:0}).call(function(){a.stopAllActions(),a.active=!1,a.parent=null,a=null}).start();case 23:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return g.apply(this,arguments)}function g(){return(g=a(regeneratorRuntime.mark(function t(e){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=1+Math.random(),i=o(-200,200)*n,t.next=4,v(e,n,{x:i,angle:60*i/200});case 4:p(e);case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(){return(f=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).to(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(){return m.apply(this,arguments)}function m(){return(m=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).by(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}n.FireworkSettings=d,cc._RF.pop()},{}]},{},["PS02","scene","util"]); window.__require=function t(e,n,i){function a(r,c){if(!n[r]){if(!e[r]){var s=r.split("/");if(s=s[s.length-1],!e[s]){var h="function"==typeof __require&&__require;if(!c&&h)return h(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+r+"'")}r=s}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){return a(e[r][1][t]||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof __require&&__require,r=0;r<i.length;r++)a(i[r]);return a}({PS02:[function(t,e){"use strict";cc._RF.push(e,"8b6622IIfBDFrKy2BvAvT4U","PS02"),cc.Class({extends:cc.Component,properties:{},start:function(){}}),cc._RF.pop()},{}],scene:[function(t,e){"use strict";cc._RF.push(e,"1e6c5bmzb5Cw7tGU+6pyb+T","scene");var n,i=t("./util");cc.Class(((n={extends:cc.Component,properties:{baseWidth:1280,baseHeight:720},onLoad:function(){cc.debug.setDisplayStats(!1),this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,canvas:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var n=cc.winSize.width/e.width,i=cc.winSize.height/e.height;this._cocosScale=Math.min(n,i),n=e.width/this._designSize.width,i=e.height/this._designSize.height,this._mapScaleMin=Math.min(n,i)*this._cocosScale,this._mapScaleMax=Math.max(n,i)*this._cocosScale,this.canvas=cc.find("Canvas")},start:function(){var t=this;this.getData(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.preload()},getData:function(t){if(window&&window.courseware)window.courseware.getData(t,"Z_05_nxuan1");else{var e=cc.find("middleLayer");e?e.getComponent("middleLayer").getData(t):t(this.getDefaultData())}},getDefaultData:function(){return JSON.parse('{"groupArr":[{"ques":"","optionArr":[{"text":"t","audio_url":"http://staging-teach.cdn.ireadabc.com/163441a48b0325b021baddfa3cdc1f3d.mp3"},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/3a2459fbf41e71d847dbc1e1d8344174.mp3","isEmpty":true},{"text":"m","audio_url":"http://staging-teach.cdn.ireadabc.com/0f743e137f343f7fe09419c981be894d.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/1fe2d4e53ced46e1f92abdf6f254161e.mp3","isEmpty":true}],"wrongArr":[{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3"},{"text":"p","audio_url":"http://staging-teach.cdn.ireadabc.com/4490c2c78484295467c9659032e7e246.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/43ccaa0f07e6458066cc0bd8513abd8c.png","word_audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3"},{"ques":"","optionArr":[{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/e59508fcb910512285616b9c198228e0.mp3"},{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3","isEmpty":true},{"text":"r","audio_url":"http://staging-teach.cdn.ireadabc.com/59a72e6ecfa057f8f6da2626a96d3669.mp3"},{"text":"k","audio_url":"http://staging-teach.cdn.ireadabc.com/e43be13f630211e8dd6411d5d8c3a7e8.mp3","isEmpty":true}],"wrongArr":[{"text":"s","audio_url":"http://staging-teach.cdn.ireadabc.com/908f9b5631cc7e6c5fb203ca58b637c1.mp3"},{"text":"u","audio_url":"http://staging-teach.cdn.ireadabc.com/379b7c13ba6268c7519ece40afde9af9.mp3"}],"audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/cf03dee298a89e23014e3269b3ab8680.png"}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++)this._imageResList.push({url:t[e].pic_url||""})},addPreloadAudio:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++){for(var n=t[e].optionArr,i=0;i<n.length;i++)this._audioResList.push({url:n[i].audio_url||""});this._audioResList.push({url:t[e].audio_url||""}),this._audioResList.push({url:t[e].word_audio_url||""})}},addPreloadAnima:function(){},loadEnd:function(){this.initData(),this.initView(),this.initListener()},initMusic:function(){cc.assetManager.loadRemote(this.data.bg_audio_url,function(t,e){cc.audioEngine.setMusicVolume(.3),cc.audioEngine.playMusic(e,!0)})},groupIndex:null,wordDisWidth:null,_curShowItem:null,emptyGroupArr:null,initData:function(){this.groupIndex=0,this.wordDisWidth=10,this.initCurGroup(),this.initAudioEffect()},rightClip:null,wrongClip:null,bigStarClip:null,nextClip:null,endClip:null,initAudioEffect:function(){this.rightClip=cc.find("Canvas/res/audio/right").getComponent(cc.AudioSource).clip,this.wrongClip=cc.find("Canvas/res/audio/wrong").getComponent(cc.AudioSource).clip,this.bigStarClip=cc.find("Canvas/res/audio/big_star").getComponent(cc.AudioSource).clip,this.nextClip=cc.find("Canvas/res/audio/next").getComponent(cc.AudioSource).clip,this.endClip=cc.find("Canvas/res/audio/end").getComponent(cc.AudioSource).clip},curGroup:null,initCurGroup:function(){this.curGroup=JSON.parse(JSON.stringify(this.data.groupArr[this.groupIndex]))},initListener:function(){var t=this,e=cc.find("Canvas"),n=!1,i=function(n){t.canvasTouchMove(n),e.hasEventListener(cc.Node.EventType.MOUSE_MOVE)&&e.off(cc.Node.EventType.MOUSE_MOVE,a)},a=function(a){n&&(t.canvasTouchMove(a),e.hasEventListener(cc.Node.EventType.TOUCH_MOVE)&&(e.off(cc.Node.EventType.TOUCH_MOVE,i),t.removeHtmlCanvasListener("touchmove")))},o=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.MOUSE_UP)&&e.off(cc.Node.EventType.MOUSE_UP,r),e.hasEventListener(cc.Node.EventType.MOUSE_LEAVE)&&e.off(cc.Node.EventType.MOUSE_LEAVE,r),t.removeHtmlTouchEnd()},r=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.TOUCH_END)&&e.off(cc.Node.EventType.TOUCH_END,o),e.hasEventListener(cc.Node.EventType.TOUCH_CANCEL)&&e.off(cc.Node.EventType.TOUCH_CANCEL,o)};e.on(cc.Node.EventType.TOUCH_MOVE,i),e.on(cc.Node.EventType.MOUSE_MOVE,a),e.on(cc.Node.EventType.TOUCH_END,o),e.on(cc.Node.EventType.TOUCH_CANCEL,o),e.on(cc.Node.EventType.MOUSE_UP,r)},removeHtmlCanvasListener:function(t){document.querySelector("canvas").addEventListener(t,function(){})},removeHtmlTouchEnd:function(){document.querySelector("canvas").removeEventListener("touchend",this.htmlCanvasTouchendFunc,this)},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(){this._curShowItem&&(this.checkOnEmptyLetter(),this._curShowItem=null)},initView:function(){this.initQuestion(),this.initAnswerGroup(),this.initStar(),this.refreshWordNode()},bigStarArr:null,initStar:function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},initQuestion:function(){this.initQuestionPanel(),this.initQuestionLabel(),this.initQuestionSound()},panel:null,initQuestionPanel:function(){var t=(0,i.getSprNode)("panel");t.scale=this._mapScaleMin,t.x=0,t.y=170*this._mapScaleMin,this.canvas.addChild(t),this.panel=t,this.refreshCurPic()},refreshCurPic:function(){var t=this;(0,i.getSprNodeByUrl)(this.curGroup.pic_url,function(e){var n=t.panel.pic,a=function(){cc.tween(e.node).to(.3,{opacity:255},{easing:"sineInOut"}).start(),t.playQuestionSound()};t.panel.addChild(e.node),e.node.y=10;var o=489/e.node.width,r=290/e.node.height;e.node.scale=Math.min(o,r),t.panel.pic=e.node,e.node.opacity=0,n?(cc.tween(n).to(.2,{opacity:0},{easing:"sineOut"}).call(function(){n.removeFromParent(),a()}).start(),(0,i.playAudioByUrl)(t.nextClip)):a()})},soundNode:null,initQuestionSound:function(){var t=this,e=new cc.Node;e.x=this.panel.width/2-30,e.y=this.panel.height/2-30,e.parent=this.panel,e.zIndex=12,this.soundNode=e;var n=cc.find("Canvas/btn_laba");n.parent=e,n.x=0,n.y=0,e.anima=n;var a=(0,i.getSprNode)("btn_laba");e.addChild(a,2),e.icon=a,a.addComponent(cc.Button),a.on("click",function(){t.playQuestionSound()})},playQuestionSound:function(){var t=this;this.soundNode.icon.active=!1;var e=this.soundNode.anima.getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t.soundNode.icon.active=!0})},wordNode:null,initQuestionLabel:function(){var t=new cc.Node;t.scale=.9*this._mapScaleMin,this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.canvas.addChild(t),this.wordNode=t;for(var o=t.width,r=0;r<t.children.length;r++)t.children[r].x-=o/2},refreshQuestionLabel:function(){var t=this;cc.tween(this.wordNode).to(.2,{opacity:0},{easing:"cubicIn"}).call(function(){t.resetWordNode()}).to(.3,{opacity:255},{easing:"cubicInOut"}).start()},resetWordNode:function(){var t=this.wordNode;t.width=0,t.removeAllChildren(),this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.refreshWordNode()},getLetterGroup:function(t,e){void 0===e&&(e=!0);var n=t.text,a=new cc.Node;a.width=this.wordDisWidth,a.data=t,a.emptyArr=[],a.letterArr=[];for(var o=!!e&&t.isEmpty,r=0;r<n.length;r++){var c=this.getLetterResName(n[r],!1);console.log("resName: ",c);var s=(0,i.getSprNode)(c);if(a.addChild(s),s.x=a.width+s.width/2,a.width+=s.width+this.wordDisWidth,a.height=s.height,a.letterArr.push(s),o){var h=this.getLetterResName(n[r],o),d=(0,i.getSprNode)(h);a.addChild(d),d.x=s.x,d.y=12,a.emptyArr.push(d)}}o&&(this.hideGroupLetter(a),this.data.isHideShadow&&this.changeShadowToBg(a));for(var u=a.width,l=0;l<a.children.length;l++)a.children[l].x-=u/2;return a},changeShadowToBg:function(t){for(var e=t.emptyArr,n=0;n<e.length;n++)e[n].removeFromParent();var a=(0,i.getSprNode)("ques_bg");t.addChild(a),t.emptyArr=[a]},refreshWordNode:function(){console.log("this.wordNode: ",this.wordNode);for(var t=this.wordNode.children,e=0,n=0;n<t.length;n++){var i=t[n];this.refreshLetterGroup(i),i.x=e,e+=i.totalW+this.wordDisWidth}e-=this.wordDisWidth,this.wordNode.width=e;var a=this.wordNode,o=a.width;o>.9*this.canvas.width?a.scale=.9*this.canvas.width/o:a.scale=1;for(var r=0;r<a.children.length;r++)a.children[r].x-=o/2},refreshLetterGroup:function(t){var e,n=t.letterArr,i=t.emptyArr;console.log("letterArr: ",n),console.log("emptyArr: ",i);var a=n;i&&(null==(e=i[0])?void 0:e.active)&&(a=i),t.width=0;for(var o=0,r=0;r<a.length;r++)a[r].x=o+a[r].width/2,o+=a[r].width+this.wordDisWidth;t.totalW=o},showGroupLetter:function(t){console.log("showGroupLetter : ",t);for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!0;for(var a=0;a<n.length;a++)n[a].active=!1},hideGroupLetter:function(t){for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!1;for(var a=0;a<n.length;a++)n[a].active=!0},getLetterResName:function(t,e){return e?/[A-Z]/.test(t)?"letter_big_bg/"+t.toLowerCase()+"2_di":"letter_small_bg/"+t+"_di":/[A-Z]/.test(t)?"letter_big/"+t.toLowerCase()+"2":"letter_small/"+t},answerGroupArr:null,answerNode:null,initAnswerGroup:function(t){var e;void 0===t&&(t=!1),this.answerNode?this.answerNode.width=0:((e=new cc.Node).scale=this._mapScaleMin,this.answerNode=e,this.canvas.addChild(e)),e=this.answerNode;for(var n=this.getAnswerArr(),i=[],a=0;a<n.length;a++){var o=n[a],r=this.getLetterGroup(o,!1);this.addLetterDragListener(r),this.addLetterSound(o,r),r.x=e.width+r.width/2,e.addChild(r),e.width+=r.width+30,i.push(r)}var c=.9*this.canvas.width;e.width>c&&(e.scale=c/e.width),e.x=-e.width/2*e.scale,e.y=-230*this._mapScaleMin,this.answerGroupArr=i;for(var s=0;s<i.length;s++){var h=i[s],d=this.canvas.convertToNodeSpaceAR(h.parent.convertToWorldSpaceAR(cc.v2(h.x,h.y)));h.x=d.x,h.y=d.y,h.parent=this.canvas,h.scale=e.scale,h.baseX=h.x,h.baseY=h.y,h.baseS=h.scale,t&&(h.opacity=0,cc.tween(h).delay(.2).to(.3,{opacity:255},{easing:"cubicInOut"}).start())}},addLetterSound:function(t,e){t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,n){e.audioClip=n})},addLetterDragListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(){t.data.isEnd||(e._curShowItem=t,t.zIndex=3,t.tween&&t.tween.stop(),e.dragCurItem())})},getAnswerArr:function(){for(var t=this.curGroup.optionArr,e=[],n=0;n<t.length;n++)t[n].isEmpty&&e.push(t[n]);return e=e.concat(this.curGroup.wrongArr),(0,i.randomSortByArr)(e)},checkOnEmptyLetter:function(){console.log("emptyGroupArr: ",this.emptyGroupArr);for(var t=0;t<this.emptyGroupArr.length;t++){var e=this.emptyGroupArr[t];if(console.log("letterGroup.data: ",e.data),console.log("this._curShowItem.data: ",this._curShowItem.data),e.data&&e.data.text==this._curShowItem.data.text){console.log("data in ");var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(e.getBoundingBoxToWorld().contains(n))return console.log("rect in "),(0,i.removeItemFromArr)(this.emptyGroupArr,e),this.showLetterSuccess(e),void this.checkGroupEnd()}}this.letterBack()},letterBack:function(){if(this._curShowItem){(0,i.playAudio)(this.wrongClip);var t=this._curShowItem;t.tween=cc.tween(t).to(.5,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.zIndex=0,t.tween=null}).start()}},isDrag:null,dragCurItem:function(){this.isDrag=!0,this.playCurItemAudio()},playCurItemAnima:function(){if(this._curShowItem){var t=this._curShowItem;t.tween&&t.tween.stop();var e=this._curShowItem.baseS;t.tween=cc.tween(t).to(.075,{scaleX:1.22*e,scaleY:.78*e},{easing:"quadOut"}).to(.15,{scaleX:.95*e,scaleY:1.05*e},{easing:"quadInOut"}).to(.15,{scaleX:1.02*e,scaleY:.98*e},{easing:"quadInOut"}).to(.15,{scaleX:1*e,scaleY:1*e},{easing:"quadInOut"}).call(function(){t.tween=null}).start()}},playCurItemAudio:function(){var t=this;this._curShowItem&&this._curShowItem.audioClip&&(this.playEffectByAudioClip(this._curShowItem.audioClip,function(){t.isDrag&&t.playCurItemAudio()}),this.playCurItemAnima())},playEffectByAudioClip:function(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}},showLetterSuccess:function(t){console.log(" in showLetterSuccess"),this.showGroupLetter(t),this.refreshWordNode(),this.showDragSuccessAnima(t),this._curShowItem.active=!1},showDragSuccessAnima:function(t){var e=cc.find("Canvas/res/anima/right"),n=cc.instantiate(e);t.addChild(n,20),n.x=t.totalW/2,(0,i.playAudio)(this.rightClip)},checkGroupEnd:function(){var t=this;0==this.emptyGroupArr.length&&((0,i.delayCall)(.4,function(){t.showGroupEndAnima(),t.playWordAudio(),t.wrongLetterLeave()}),(0,i.delayCall)(1,function(){t.showBigStar()}))},wrongLetterLeave:function(){for(var t=this.answerGroupArr,e=0;e<t.length;e++)t[e].active&&this.showLetterLeaveAnima(t[e])},showLetterLeaveAnima:function(t){t.data.isEnd=!0,cc.tween(t).delay(1*Math.random()).to(1.5,{y:t.y-this.canvas.height,angle:520*Math.random()-260},{easing:"cubicIn"}).start()},showGroupEndAnima:function(){var t=this.wordNode.scale;cc.tween(this.wordNode).to(.4,{scaleX:1.3*t,scaleY:1.3*t},{easing:"quintOut"}).delay(.01).to(.4,{scaleX:1*t,scaleY:1*t},{easing:"quintIn"}).call(function(){}).start()},playWordAudio:function(){this.curGroup.word_audio_url&&(0,i.playAudioByUrl)(this.curGroup.word_audio_url,function(){})},enterNext:function(){},checkGameEnd:function(){if(this.groupIndex++,!this.data.groupArr[this.groupIndex])return console.log("this.gameEnd"),void this.gameEnd();this.initCurGroup(),this.refreshQuestionLabel(),this.refreshCurPic(),this.initAnswerGroup(!0)},holeArr:null,initHole:function(){this.holeArr=[];for(var t=100*this._mapScaleMin,e=260*this._mapScaleMin,n=(this.canvas.width-2*t-4*e)/3,i=-this.canvas.width/2+t+e/2,a=200*this._mapScaleMin,o=-this.canvas.height/2+260*this._mapScaleMin,r=0,c=0;c<8;c++){var s=this.getHole();this.canvas.addChild(s),this.holeArr.push(s),s.x=i+c%4*(e+n),s.y=o-r*a,3==c&&r++}}}).bigStarArr=null,n.initStar_=function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},n.startBtn=null,n.restartBtn=null,n.initBtn=function(){var t=this,e=cc.find("Canvas/btn_start");e.scale=this._mapScaleMin,e.active=!0,e.zIndex=50,e.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(e).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){e.active=!1,t.startBtnClicked(),t.addSoundBtnListner()}).start()}),this.startBtn=e;var n=cc.find("Canvas/btn_restart");n.zIndex=50,n.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(n).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){n.active=!1,t.restartBtnClicked()}).start()}),this.restartBtn=e},n.showSoundBtn=function(){var t=cc.find("Canvas/btn_laba");t.scale=this._mapScaleMin,t.zIndex=1},n.startBtnClicked=function(){var t=this;this.showQuestion(function(){cc.tween(t).delay(.3).call(function(){t.showPenguin()}).start()}),(0,i.playAudio)(this.btnClip)},n.restartBtnClicked=function(){this.groupIndex=0,this.initCurGroup(),this.hideBigStar(),this.startBtnClicked()},n.hideBigStar=function(){if(this.bigStarArr)for(var t=0;t<this.bigStarArr.length;t++)cc.tween(this.bigStarArr[t].star).to(.5,{scale:0},{easing:"cubicOut"}).start()},n.soundAnima=null,n.addSoundBtnListner=function(){var t=this,e=cc.find("Canvas/btn_laba");e.addComponent(cc.Button),e.on("click",function(){(0,i.playAudio)(t.btnClip,function(){t.showQuestion()})})},n.showQuestion=function(t){var e=cc.find("Canvas/btn_laba").getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t&&"function"==typeof t&&t()})},n.getHole=function(){var t=new cc.Node;t.scale=this._mapScaleMin;var e=(0,i.getSprNode)("hole_1");t.addChild(e,1);var n=(0,i.getSprNode)("hole_2");return t.addChild(n,10),t},n.showPenguin=function(){this.showOnePenguin()},n.showOnePenguin=function(){var t=this;if(!this.checkIsGroupEnd()){var e=this.getFreeHole();if(e){var n=this.getPenguin(),i=this.getOptionData();this.addPenguin(e,n,i)}else cc.tween(this).delay(.3).call(function(){t.showOnePenguin()}).start()}},n.getOptionData=function(){return(0,i.randomSortByArr)(this.curGroup.optionArr)[0]},n.getPenguin=function(){if(this.penguinPool.length>0)return this.penguinPool.shift();var t=new cc.Node,e=(0,i.RandomInt)(1,2),n=(0,i.getSprNode)("penguin_"+e);return t.penguin=n,this.addPenguinWrong(t,e),this.addTextPanel(t),this.addPicPanel(t),this.addClickNode(t),t.textPanel.y=n.height/2+t.textPanel.height/2-25,t.picPanel.y=n.height/2+t.picPanel.height/2-25,t.addChild(t.picPanel),t.addChild(t.textPanel),t.addChild(n),t.addChild(t.wrong),t},n.addClickNode=function(t){var e=this,n=new cc.Node;n.addComponent(cc.Button),n.width=270,n.height=180,n.anchorX=0,n.anchorY=0,n.on("click",function(){e.checkPenguinIsRight(t)}),t.addChild(n,10),n.x=-130,n.y=40,n.opacity=50},n.checkPenguinIsRight=function(t){t.data&&(this.isRightDuration||t.data.end||("1"==t.data.isRight?(this.showPenguinRight(t),t.data.end=!0):this.showPenguinWrong(t)))},n.isRightDuration=null,n.showPenguinRight=function(t){this.isRightDuration=!0,this.showAnimaStar(t),this.stopPenguin(t),this.showRightSound(t)},n.showPenguinWrong=function(t){t.penguin.active=!1,t.wrong.active=!0,(0,i.playAudio)(this.wrongClip)},n.showAnimaStar=function(t){var e=cc.find("Canvas/res/anima/star"),n=cc.instantiate(e);t.addChild(n,20),n.x=0,n.y=t.textPanel.y},n.checkNextStar=function(t){var e=this,n=t.data;console.log("this.curGroup: ",this.curGroup);var i=this.curGroup.optionArr,a=i.indexOf(n);-1!=a&&i.splice(a,1),this.checkIsGroupEnd()?this.showBigStar():cc.tween(this).delay(1).call(function(){e.showOnePenguin()}).start(),this.hideCurPenguin(t),this.isRightDuration=!1},n.hideCurPenguin=function(t){var e=this,n=t.hideData,i=n.downY,a=n.moveTime,o=n.panel,r=n.hole;cc.tween(t).call(function(){c()}).to(a,{y:i},{easing:"quadInOut"}).call(function(){t.active=!1,t.penguin.active=!0,t.wrong.active=!1,r.penguin=null,e.penguinPool.push(t),t.moveTween=null}).start();var c=function(){cc.tween(o).to(.3*a,{opacity:0}).call(function(){o.active=!1}).start()}},n.showBigStar=function(){var t=this;if(!this.bigStarArr||this.bigStarArr.length<=0)this.checkGameEnd();else{var e=this.bigStarArr[this.groupIndex],n=e.starBig;n.scale=1;var a=e.star;a.active=!0,a.scaleX=.7/e.scale,a.scaleY=1/e.scale,a.angle=90;var o=cc.find("Canvas"),r=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/2)),c=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/4));a.x=r.x,a.y=r.y-n.height,console.log("middlePos = "+JSON.stringify(c)),cc.tween(a).to(.3,{y:c.y+80},{easing:"quadOut"}).to(.1,{y:c.y+40,scaleX:1.2/e.scale,scaleY:.8/e.scale},{easing:"quadOut"}).to(.1,{y:c.y,scaleX:1/e.scale,scaleY:1/e.scale},{easing:"quadOut"}).delay(.1).to(.8,{angle:-720,scale:1}).start(),cc.tween(a).delay(.6).to(.8,{x:0},{easing:"quadIn"}).start(),cc.tween(a).delay(.6).to(.8,{y:0},{easing:"quadOut"}).start(),cc.tween(n).delay(.6).to(.8,{scale:0},{easing:"quadOut"}).call(function(){t.checkGameEnd()}).start(),(0,i.playAudio)(this.bigStarClip)}},n.gameEnd=function(){var t=this;this.playEndEffect(),cc.tween(this).delay(.2).call(function(){(0,i.onHomeworkFinish)(),t.showRestartBtn()}).start()},n.showRestartBtn=function(){var t=cc.find("Canvas/btn_restart");t.zIndex=20,t.active=!0,t.scale=0,cc.tween(t).to(1,{scale:this._mapScaleMin},{easing:"elasticOut"}).start()},n.playEndEffect=function(){(0,i.playAudio)(this.endClip);var t=cc.find("Canvas/Main Camera");t.zIndex=100,(0,i.showTrebleFirework)(t,cc.find("RibbonNodeBase").children)},n.checkIsGroupEnd=function(){for(var t=this.curGroup.optionArr,e=0;e<t.length;e++)if("1"==t[e].isRight)return!1;return!0},n.stopPenguin=function(t){t.moveTween&&(console.log("node.moveTween: ",t.moveTween),t.moveTween.stop())},n.showRightSound=function(t){var e=this;(0,i.playAudio)(this.rightClip,function(){t.data.audio_url?(0,i.playAudioByUrl)(t.data.audio_url,function(){e.checkNextStar(t)}):e.checkNextStar(t)})},n.addPenguinWrong=function(t,e){var n=(0,i.getSprNode)("penguin_"+e+"_wrong");n.active=!1,t.wrong=n},n.addTextPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_text");n.active=!1,t.textPanel=n;var a=new cc.Node,o=a.addComponent(cc.Label);n.addChild(a,5),o.fontSize=54,o.lineHeight=54,o.font=cc.find("Canvas/res/font/Berlin Sans FB").getComponent(cc.Label).font;var r=new cc.Color;cc.Color.fromHEX(r,"c1431d"),a.color=r,a.y=-2.5,n.label=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.addPicPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_pic");n.active=!1,t.picPanel=n;var a=new cc.Node,o=a.addComponent(cc.Sprite);n.addChild(a),a.y=0,n.spr=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.getFreeHole=function(){for(var t=(0,i.randomSortByArr)(this.holeArr),e=0;e<t.length;e++)if(!t[e].penguin)return t[e];return null},n.addPenguin=function(t,e,n){var a,o=this;e.active=!0,e.parent=t,e.zIndex=5,t.penguin=e,e.y=-180,a="text"==n.type?e.textPanel:e.picPanel,this.setPanelData(a,n);var r=.2+.1*Math.random(),c=1+2*Math.random();e.hideData={downY:-180,moveTime:r,panel:a,hole:t},e.moveTween=cc.tween(e).to(r,{y:0},{easing:"quadInOut"}).delay(c).call(function(){h()}).to(r,{y:-180},{easing:"quadInOut"}).call(function(){e.active=!1,e.penguin.active=!0,e.wrong.active=!1,t.penguin=null,o.penguinPool.push(e),e.moveTween=null}).start();var s=.3+2*Math.random();cc.tween(this).delay(s).call(function(){o.isRightDuration||o.showOnePenguin()}).start();var h=function(){cc.tween(a).to(.3*r,{opacity:0}).call(function(){a.active=!1}).start()};a.active=!0,a.opacity=0,cc.tween(a).to(.3*r,{opacity:255}).start(),(0,i.playAudio)(this.appearClip)},n.setPanelData=function(t,e){t.data=e,t.parent.data=e,"text"==e.type?this.setTextPanelData(t,e):this.setPicPanelData(t,e)},n.setTextPanelData=function(t,e){t.label.string=e.text,t.label._forceUpdateRenderData(!0),t.label.node.width>255?t.label.node.scale=255/t.label.node.width:t.label.node.scale=1},n.setPicPanelData=function(t,e){cc.loader.load({url:e.pic_url},function(e,n){var i=new cc.SpriteFrame(n);t.spr.spriteFrame=i;var a=215/n.width,o=135/n.height,r=Math.min(a,o);t.spr.node.scale=r})},n._cocosScale=null,n.initBg=function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,n=cc.winSize.height/t.height,i=Math.min(e,n);this._cocosScale=i;var a=cc.find("Canvas/bg");e=t.width/a.width,n=t.height/a.height,a.scale=Math.max(e,n)*i,a.anchorX=1,a.anchorY=0,a.x=t.width/2*i,a.y=-t.height/2*i;var o=cc.find("Canvas/bg"),r=new cc.Node;r.x=-o.x,r.y=-o.y,r.scaleX=o.scaleX,r.scaleY=o.scaleY,o.addChild(r);var c=r.addComponent(cc.Graphics);c.fillColor=this.data.bgColor||"#f9bd03",c.fillRect(-o.width/2,-o.height/2,o.width,o.height),c.fill()},n.initHotZone=function(){this.initHotZoneBg()},n.hotZoneBg=null,n.initHotZoneBg=function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas");var e=107*this._mapScaleMin+22;this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(n,i){t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;var a=new cc.Node;a.name="bgItemSpr";var o=new cc.SpriteFrame(i);a.addComponent(cc.Sprite).spriteFrame=o,a.width=t.hotZoneBg.width,a.height=t.hotZoneBg.height,a.parent=t.hotZoneBg,window.bg=a;var r=t.canvas.width/t.hotZoneBg.width,c=(t.canvas.height-e)/t.hotZoneBg.height,s=Math.min(r,c);t.hotZoneBg.scale=s,t.hotZoneBg.y=0-e/2,t.initHotZoneItem()})},n.initHotZoneItem=function(){var t=this;this.data.hotZoneItemArr.forEach(function(e){"0"==e.gIdx?t.setOneAnimaSmall(e):"1"==e.gIdx?t.setOnePic(e):"2"==e.gIdx?t.setOneRect(e):"3"==e.gIdx&&t.setOneAction(e)})},n.setOneAction=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.x,n.y,n.width,n.height,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=t["actionData_"+t.gIdx];if(o&&"text"==o.type){var r=this.setOneActionText(n,o);r.node.scale=a*t.fontScale,r._forceUpdateRenderData(!0)}},n.setOneActionText=function(t,e){var n=new cc.Node;n.parent=t;var i=n.addComponent(cc.Label);i.font=cc.find("Canvas/res/font/aharoni").getComponent(cc.Label).font,i.string=e.text,n.color=cc.Color.BLACK;for(var a=e.changeOption,o=[],r=0;r<a.length;r++){var c=a[r];if(console.log("opArr[0]",a[r]),"fontColor"==c[0]){var s=new cc.Color;cc.Color.fromHEX(s,c[1]),n.color=s}else"opacity"==c[0]?(n.opacity=Number(c[1]/100*255)+.1,o.push({item:n,option:'{"'+c[0]+'" : '+c[2]/100*255+"}",optionName:c[0]})):(i[c[0]]=c[1],o.push({item:i,option:'{"'+c[0]+'" : '+c[2]+"}",optionName:c[0]}))}return e.audio_url&&cc.assetManager.loadRemote(e.audio_url,function(t,e){n.audioClip=e}),i.lineHeight=i.fontSize,n.y+=t.height/2,n.x+=t.width/2,t.addComponent(cc.Button),t.on("click",function(){n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8)),n.isClicked,n.isClicked=!0;for(var t=0;t<o.length;t++){var i=o[t];"opacity"==i.optionName&&(console.log("~~~ ",i.item[i.optionName]),cc.tween(i.item).to(e.changeTime,JSON.parse(i.option)).start())}}),i},n.setOneAnimaSmall=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=new cc.Node;o.name="anima_"+t.index,this.hotZoneBg.addChild(o),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){o.audioClip=e});var r=o.addComponent(dragonBones.ArmatureDisplay);if(t.texPngData){var c=t.texPngData.url,s=t.skeJsonData.url,h=t.texJsonData.url;cc.loader.load(c,function(t,e){cc.loader.load({url:h,type:"txt"},function(t,i){cc.loader.load({url:s,type:"txt"},function(t,a){var c=new dragonBones.DragonBonesAtlasAsset;c.atlasJson=i,c.texture=e;var s=new dragonBones.DragonBonesAsset;s.dragonBonesJson=a,r.dragonAtlasAsset=c,r.dragonAsset=s;for(var h=JSON.parse(s.dragonBonesJson).armature,d=[],u=0;u<h.length;u++)d.push(h[u].name);if(d.length>0){var l=d[0];r.armatureName=l;for(var p=h[0].animation,g=[],f=0;f<p.length;f++)g.push(p[f].name);n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),o.audioClip&&(cc.audioEngine.stopAllEffects(),cc.director.emit("STOP_ALL_AUDIO"),cc.audioEngine.playEffect(o.audioClip,!1,.8)),g.length>0&&r.playAnimation(g[0],1)})}o.x=n.x+n.width/2,o.y=n.y+n.height/2;var v=n.width/o.width,m=n.height/o.height,w=Math.min(v,m);o.scale=w})})})}},n.setOnePic=function(t){var e=this,n=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="pic"+t.index,i.data=t,this.hotZoneBg.addChild(i),cc.loader.load({url:t.pic_url},function(a,o){i.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(o);var r=n/e.hotZoneBg.scaleY;i.width=t.rect.width*r,i.height=t.rect.height*r,i.x=-e.hotZoneBg.width/2+t.rect.x*r,i.y=e.hotZoneBg.height/2-t.rect.height*r-t.rect.y*r,i.anchorX=i.anchorY=0,t.audio_url&&e.addPicAudio(i)})},n.setOneRect=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill(),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){n.audioClip=e}),n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8))})},n.addPicAudio=function(t){var e=t.data;cc.assetManager.loadRemote(e.audio_url,function(e,n){t.audioClip=n}),t.addComponent(cc.Button),t.on("click",function(){t.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(t.audioClip,!1,.8))})},n)),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,n){"use strict";function i(t,e,n,i,a,o,r){try{var c=t[o](r),s=c.value}catch(h){return void n(h)}c.done?e(s):Promise.resolve(s).then(i,a)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(a,o){var r=t.apply(e,n);function c(t){i(r,a,o,c,s,"next",t)}function s(t){i(r,a,o,c,s,"throw",t)}c(void 0)})}}function o(t,e){void 0===e&&(e=0);var n=Math.max(t,e),i=Math.min(t,e);return Math.floor(Math.random()*(n-i)+i)}function r(t,e){cc.loader.load({url:t},function(t,n){var i=new cc.SpriteFrame(n);e&&e(i)})}function c(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}}function s(){return h.apply(this,arguments)}function h(){return(h=a(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,n){try{setTimeout(function(){t()},1e3*e)}catch(i){n(i)}}));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}cc._RF.push(e,"25ccfBBvfNLaoaDwk5MOf7U","util"),n.__esModule=!0,n.getPosByAngle=function(t,e){var n=t*Math.PI/180;return{x:Math.sin(n)*e,y:Math.cos(n)*e}},n.getAngleByPos=function(t,e,n,i){var a=Math.abs(t-n),o=Math.abs(e-i),r=o/Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),c=Math.acos(r),s=Math.floor(180/(Math.PI/c)*100)/100;return n>t&&i>e&&(s=180-s),n===t&&i>e&&(s=180),n>t&&i===e&&(s=90),n<t&&i>e&&(s=180+s),n<t&&i===e&&(s=270),n<t&&i<e&&(s=360-s),s},n.exchangeNodePos=function(t,e,n){return t.convertToNodeSpaceAR(e.convertToWorldSpaceAR(cc.v2(n.x,n.y)))},n.RandomInt=o,n.randomSortByArr=function(t){for(var e=[],n=t.concat();n.length>0;){var i=Math.floor(n.length*Math.random());e.push(n[i]),n.splice(i,1)}return e},n.setSprNodeMaxLen=function(t,e,n){var i=e/t.width,a=n/t.height,o=Math.min(i,a);t.scale=Math.round(1e3*o)/1e3},n.getSpriteFrimeByUrl=r,n.getSprNode=function(t){var e=cc.find("Canvas/res/img/"+t).getComponent(cc.Sprite).spriteFrame,n=new cc.Node;return n.addComponent(cc.Sprite).spriteFrame=e,n},n.getSprNodeByUrl=function(t,e){var n=(new cc.Node).addComponent(cc.Sprite);r(t,function(t){n.spriteFrame=t,e&&e(n)})},n.playAudio=c,n.playAudioByUrl=function(t,e){void 0===e&&(e=null),t?cc.assetManager.loadRemote(t,function(t,n){c(n,e)}):e&&"function"==typeof e&&e()},n.asyncDelay=s,n.showFireworks=u,n.asyncTweenTo=function(){return f.apply(this,arguments)},n.asyncTweenBy=v,n.showTrebleFirework=function(t,e){var n=new d(t,e);n.pos=cc.v2(0,-400),n.side=cc.v2(0,1e3),n.range=200,n.number=100,n.scalseRange=.4;var i=d.copy(n);i.pos=cc.v2(-600,-400),i.side=cc.v2(200,1e3);var a=d.copy(n);a.pos=cc.v2(600,-400),a.side=cc.v2(-200,1e3),u(n),u(i),u(a)},n.onHomeworkFinish=function(){var t=cc.find("middleLayer");t&&t.getComponent("middleLayer").onHomeworkFinish()},n.getRect=function(t,e,n,i,a){void 0===a&&(a=!0),a&&(t=-n/2,e=-i/2);var o=new cc.Node,r=o.addComponent(cc.Graphics);return r.lineWidth=2,r.strokeColor=cc.Color.BLACK,r.fillColor=cc.Color.GREEN.setA(50),r.rect(t,e,n,i),r.stroke(),r.fill(),o},n.removeItemFromArr=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.delayCall=function(t,e){return cc.tween({}).delay(t).call(function(){e&&e()}).start()},n.FireworkSettings=void 0;var d=function(){function t(t,e,n,i,a,o,r){void 0===n&&(n=cc.v2(0,0)),void 0===i&&(i=cc.v2(0,100)),void 0===a&&(a=50),void 0===o&&(o=100),void 0===r&&(r=0),this.baseNode=void 0,this.nodeList=void 0,this.pos=void 0,this.side=void 0,this.range=void 0,this.number=void 0,this.scalseRange=void 0,this.baseNode=t,this.nodeList=e,this.pos=n,this.side=i,this.range=a,this.number=o,this.scalseRange=r}return t.copy=function(e){return new t(e.baseNode,e.nodeList,e.pos,e.side,e.range,e.number)},t}();function u(){return l.apply(this,arguments)}function l(){return(l=a(regeneratorRuntime.mark(function t(e){var n,i,r,c,h,d,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.baseNode,i=e.nodeList,r=e.pos,c=e.side,h=e.range,d=e.number,u=e.scalseRange,new Array(d).fill(" ").forEach(function(){var t=a(regeneratorRuntime.mark(function t(){var e,a,d,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new cc.Node).parent=n,e.x=r.x,e.y=r.y,e.angle=60*Math.random()-30,(a=cc.instantiate(i[o(i.length)])).parent=e,a.active=!0,a.x=0,a.y=0,a.angle=0,a.scale=(Math.random()-.5)*u+1,d=Math.random(),l=Math.PI*(2*Math.random()-1),t.next=16,v(e,.3,{x:c.x*d+Math.cos(l)*h*d,y:c.y*d+Math.sin(l)*h*d},{easing:"quadIn"});case 16:return cc.tween(e).by(8,{y:-2e3}).start(),cc.tween(e).to(5,{scale:(Math.random()-.5)*u+1}).start(),p(e),t.next=21,s(Math.random());case 21:cc.tween(a).by(.15,{x:-10,angle:-10}).by(.3,{x:20,angle:20}).by(.15,{x:-10,angle:-10}).union().repeatForever().start(),cc.tween(e).delay(5).to(.3,{opacity:0}).call(function(){a.stopAllActions(),a.active=!1,a.parent=null,a=null}).start();case 23:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return g.apply(this,arguments)}function g(){return(g=a(regeneratorRuntime.mark(function t(e){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=1+Math.random(),i=o(-200,200)*n,t.next=4,v(e,n,{x:i,angle:60*i/200});case 4:p(e);case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(){return(f=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).to(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(){return m.apply(this,arguments)}function m(){return(m=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).by(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}n.FireworkSettings=d,cc._RF.pop()},{}]},{},["PS02","scene","util"]);
\ No newline at end of file \ No newline at end of file
{"paths":{"0":["texture/letter_big_bg/p2_di",3],"1":["texture/letter_big/g2",3],"2":["texture/letter_big/a2",3],"3":["texture/letter_big/n2",3],"4":["texture/letter_small/q",3],"5":["texture/letter_big/s2",3],"6":["texture/letter_big/v2",3],"7":["texture/letter_small_bg/d_di",3],"8":["texture/letter_big_bg/r2_di",3],"9":["texture/letter_small_bg/z_di",3],"10":["texture/bg_sahua",3],"11":["texture/letter_big_bg/o2_di",3],"12":["texture/letter_big/e2",3],"13":["texture/letter_big_bg/w2_di",3],"14":["texture/letter_big_bg/s2_di",3],"15":["texture/letter_small_bg/w_di",3],"16":["texture/letter_big/c2",3],"17":["texture/letter_small/w",3],"18":["texture/letter_big_bg/h2_di",3],"19":["texture/letter_small_bg/q_di",3],"20":["texture/letter_small_bg/j_di",3],"21":["texture/letter_big/u2",3],"22":["texture/bg",3],"23":["texture/letter_small/i",3],"24":["texture/letter_small_bg/p_di",3],"25":["texture/ques_bg",3],"26":["texture/letter_big_bg/i2_di",3],"27":["texture/letter_small/y",3],"28":["texture/letter_big/m2",3],"29":["texture/letter_small/d",3],"30":["texture/letter_big/p2",3],"31":["texture/letter_small_bg/k_di",3],"32":["audio/wrong",5],"33":["texture/letter_small/l",3],"34":["texture/letter_big_bg/z2_di",3],"35":["texture/letter_big_bg/u2_di",3],"36":["texture/letter_small_bg/a_di",3],"37":["texture/letter_small_bg/r_di",3],"38":["texture/letter_big_bg/j2_di",3],"39":["texture/letter_big/z2",3],"40":["texture/letter_big_bg/x2_di",3],"41":["texture/letter_small_bg/m_di",3],"42":["texture/letter_small/k",3],"43":["texture/Berlin_Sans_FB",6],"44":["texture/letter_big_bg/b2_di",3],"45":["anima/laba/btn_laba2",3],"46":["texture/letter_small/m",3],"47":["texture/letter_big/w2",3],"48":["texture/letter_small/o",3],"49":["anima/laba/btn_laba",3],"50":["texture/letter_small_bg/t_di",3],"51":["texture/letter_big/l2",3],"52":["texture/letter_big_bg/a2_di",3],"53":["texture/letter_small_bg/n_di",3],"54":["texture/letter_small/p",3],"55":["texture/letter_small_bg/v_di",3],"56":["texture/letter_small/u",3],"57":["texture/letter_big/x2",3],"58":["texture/star",3],"59":["audio/end",5],"60":["texture/letter_big_bg/q2_di",3],"61":["texture/panel",3],"62":["texture/letter_big_bg/f2_di",3],"63":["texture/letter_big/i2",3],"64":["anima/laba/btn_laba3",3],"65":["texture/letter_small_bg/o_di",3],"66":["texture/letter_small/h",3],"67":["texture/letter_big_bg/g2_di",3],"68":["texture/letter_small_bg/c_di",3],"69":["texture/letter_big/t2",3],"70":["texture/letter_small/b",3],"71":["audio/big_star",5],"72":["texture/letter_small/x",3],"73":["audio/next",5],"74":["texture/letter_small/g",3],"75":["texture/letter_small/t",3],"76":["texture/letter_big_bg/m2_di",3],"77":["texture/letter_small_bg/g_di",3],"78":["texture/letter_big_bg/v2_di",3],"79":["texture/letter_big_bg/n2_di",3],"80":["texture/letter_big/q2",3],"81":["texture/letter_small/e",3],"82":["texture/letter_big/d2",3],"83":["texture/letter_small/z",3],"84":["texture/letter_big_bg/e2_di",3],"85":["texture/letter_small/a",3],"86":["texture/letter_small_bg/u_di",3],"87":["texture/letter_small_bg/f_di",3],"88":["texture/letter_big_bg/t2_di",3],"89":["texture/letter_small/c",3],"90":["texture/letter_small_bg/s_di",3],"91":["texture/letter_small_bg/y_di",3],"92":["texture/letter_small/f",3],"93":["texture/letter_big/h2",3],"94":["texture/letter_big/b2",3],"95":["anima/dragonbone/right_tex",3],"96":["texture/letter_small_bg/e_di",3],"97":["texture/letter_big/o2",3],"98":["texture/letter_big_bg/d2_di",3],"99":["texture/letter_small/r",3],"100":["texture/letter_big_bg/l2_di",3],"101":["texture/letter_big/y2",3],"102":["texture/letter_small/v",3],"103":["texture/letter_small_bg/x_di",3],"104":["audio/right",5],"105":["anima/laba/btn_laba4",3],"106":["texture/icon_bigstar",3],"107":["texture/letter_big/k2",3],"108":["texture/letter_big_bg/c2_di",3],"109":["texture/letter_small_bg/l_di",3],"110":["texture/letter_big_bg/k2_di",3],"111":["texture/letter_big_bg/y2_di",3],"112":["texture/letter_small/n",3],"113":["texture/letter_small_bg/i_di",3],"114":["texture/letter_small/j",3],"115":["texture/letter_big/j2",3],"116":["texture/star_bg",3],"117":["texture/letter_big/r2",3],"118":["texture/letter_small/s",3],"119":["texture/letter_small_bg/h_di",3],"120":["texture/letter_small_bg/b_di",3],"121":["texture/letter_big/f2",3],"122":["texture/letter_big_bg/k2_di",1,1],"123":["texture/letter_big/l2",1,1],"124":["texture/letter_small_bg/l_di",1,1],"125":["texture/letter_small_bg/c_di",1,1],"126":["texture/letter_small/t",1,1],"127":["texture/letter_small/i",1,1],"128":["texture/letter_big_bg/e2_di",1,1],"129":["texture/letter_big/j2",1,1],"130":["texture/letter_small_bg/w_di",1,1],"131":["texture/letter_big/v2",1,1],"132":["texture/letter_small/n",1,1],"133":["texture/bg",1,1],"134":["texture/letter_big_bg/r2_di",1,1],"135":["texture/letter_big/o2",1,1],"136":["texture/letter_small/w",1,1],"137":["texture/letter_big/h2",1,1],"138":["anima/dragonbone/right_tex",1,1],"139":["texture/letter_small_bg/y_di",1,1],"140":["texture/letter_small/x",1,1],"141":["texture/letter_big_bg/d2_di",1,1],"142":["texture/letter_small_bg/m_di",1,1],"143":["texture/letter_big_bg/w2_di",1,1],"144":["texture/letter_big/w2",1,1],"145":["texture/letter_small/q",1,1],"146":["texture/icon_bigstar",1,1],"147":["texture/letter_small/s",1,1],"148":["anima/dragonbone/right_tex",2],"149":["texture/letter_big/z2",1,1],"150":["texture/letter_big_bg/c2_di",1,1],"151":["texture/letter_big_bg/l2_di",1,1],"152":["texture/letter_big/g2",1,1],"153":["texture/letter_small_bg/i_di",1,1],"154":["texture/letter_big_bg/n2_di",1,1],"155":["texture/letter_small_bg/b_di",1,1],"156":["texture/letter_small/h",1,1],"157":["anima/laba/laba",4],"158":["texture/letter_small/j",1,1],"159":["texture/letter_small_bg/z_di",1,1],"160":["texture/letter_small/d",1,1],"161":["texture/letter_small_bg/h_di",1,1],"162":["texture/letter_big_bg/m2_di",1,1],"163":["texture/letter_small_bg/p_di",1,1],"164":["texture/letter_small_bg/o_di",1,1],"165":["texture/bg_sahua",1,1],"167":["texture/letter_small/r",1,1],"168":["texture/letter_small/g",1,1],"169":["texture/letter_big_bg/t2_di",1,1],"170":["texture/letter_small_bg/e_di",1,1],"171":["texture/letter_small/a",1,1],"172":["texture/letter_small_bg/a_di",1,1],"173":["anima/laba/btn_laba2",1,1],"174":["texture/letter_small_bg/x_di",1,1],"175":["texture/star",1,1],"176":["texture/letter_big_bg/y2_di",1,1],"177":["texture/letter_small/p",1,1],"178":["texture/letter_small_bg/s_di",1,1],"179":["texture/letter_big/m2",1,1],"180":["texture/letter_small_bg/q_di",1,1],"181":["texture/letter_small/k",1,1],"182":["texture/letter_small_bg/t_di",1,1],"183":["anima/dragonbone/right_ske",0],"184":["texture/letter_big/u2",1,1],"185":["texture/letter_big_bg/p2_di",1,1],"186":["texture/letter_small_bg/n_di",1,1],"187":["texture/letter_big_bg/j2_di",1,1],"188":["texture/letter_big_bg/b2_di",1,1],"189":["texture/letter_small/z",1,1],"190":["texture/letter_small/l",1,1],"191":["texture/letter_small/f",1,1],"192":["texture/letter_small/v",1,1],"193":["texture/letter_big_bg/h2_di",1,1],"194":["texture/ques_bg",1,1],"195":["texture/letter_small/y",1,1],"196":["texture/letter_big/s2",1,1],"197":["texture/letter_big_bg/o2_di",1,1],"198":["texture/letter_big_bg/f2_di",1,1],"199":["texture/letter_big/b2",1,1],"200":["texture/letter_small_bg/j_di",1,1],"201":["texture/letter_big_bg/z2_di",1,1],"202":["texture/letter_big/c2",1,1],"203":["texture/letter_big_bg/v2_di",1,1],"204":["texture/letter_small_bg/r_di",1,1],"205":["texture/letter_small_bg/g_di",1,1],"206":["texture/panel",1,1],"207":["texture/letter_big/a2",1,1],"208":["texture/letter_small/c",1,1],"209":["texture/letter_small/u",1,1],"210":["texture/letter_big/p2",1,1],"211":["texture/letter_small/e",1,1],"212":["anima/laba/btn_laba4",1,1],"213":["texture/letter_small_bg/k_di",1,1],"214":["anima/laba/btn_laba",1,1],"215":["texture/letter_big_bg/q2_di",1,1],"216":["texture/letter_small_bg/v_di",1,1],"217":["texture/letter_small/b",1,1],"218":["texture/letter_big/r2",1,1],"219":["texture/letter_big_bg/a2_di",1,1],"220":["texture/letter_big/n2",1,1],"221":["texture/letter_small/o",1,1],"222":["texture/letter_big_bg/u2_di",1,1],"223":["texture/letter_small_bg/f_di",1,1],"224":["texture/letter_big/e2",1,1],"225":["texture/letter_small_bg/d_di",1,1],"226":["texture/letter_big/x2",1,1],"227":["anima/laba/btn_laba3",1,1],"228":["texture/letter_big/d2",1,1],"229":["texture/letter_big/i2",1,1],"230":["texture/letter_small/m",1,1],"231":["texture/letter_big/k2",1,1],"232":["texture/letter_big/f2",1,1],"233":["texture/letter_big_bg/i2_di",1,1],"234":["texture/letter_small_bg/u_di",1,1],"235":["texture/star_bg",1,1],"236":["texture/letter_big_bg/x2_di",1,1],"237":["texture/letter_big_bg/g2_di",1,1],"238":["texture/letter_big/q2",1,1],"239":["texture/letter_big_bg/s2_di",1,1],"240":["texture/letter_big/y2",1,1],"241":["texture/letter_big/t2",1,1]},"types":["dragonBones.DragonBonesAsset","cc.SpriteFrame","dragonBones.DragonBonesAtlasAsset","cc.Texture2D","cc.AnimationClip","cc.AudioClip","cc.TTFFont"],"uuids":["05rYTHOBRFioJLYTzce4Tr","08GQ+TfypJy4IZCGuDb8jo","0dXRJSIKNNeIHaHaPEB5nq","10wNZJJnpNHKKNSnYB8ka+","16vsh7feFH9aNtbk7cgG5c","18T9xD5wVL37fR6q1un02N","18YWTZJaVLfZS+BXK/c07m","1f3/AHdMdIU58Oabo7JuIZ","214nIKdBhBXZz/GmE7pS19","24rw1BRhRCnI6j2ivGjZM/","24zlUWWZVLf4h5rjzmHRz3","26poXDBB5GAp15t2DC0eL9","287WEY0IFE0YTQcUVl2RWt","29G4pUF39OGISF8dfgErZa","2cCeU3pS5J5I5nIHWbCdGx","2fLg1N8rZOjoY+Pq4XHsAe","30PVchSFpMdqVM2z5DrdGb","32eCFNWp9Jh6JRpURj+z5f","37v4rODrJAuLoO99pJ8ynz","39i9tg4TlE95FHWK8mtbYq","3bhjiq6PNDzqQjkx+zw4OP","46fVB2RSxIxpYbkdEgbfan","49Vlrfy11CJ6JFajv7PP63","49hp3fwSFGBabFeOgoy1pN","4ccjbAIN5HjKTTEAhCQZ63","4c8qTPX99H24Eovkw0/5UI","4djG+RRm1Gs6fN9VkVsYH5","4evrE9+iVMVIYNb5kAzf6p","4e4MtD6QZExLpIgVo5uZfF","4fFBAAlrVHT44N2fq4w3eV","50vyhzPR5DwJt/nGJHNdcG","51zTQFOP1O1YY+9eBm+A5Y","52uINa1zdLAZ2gmJmpRHeR","572IsPoAZDwYxPqSpMqkKC","58SbZyKjdIiLhShG9RIluR","5bGXIo9uFKX7Gcp71cugHW","5bt4zzDsFF3bFAbeFbC3n3","5dWlLA2jNA1rc2oiVI8Jc1","5doTn4n7lD+pGQTSidypxJ","60paZKTOtHPJR+qUEtQDRF","62Xqsg46RJVoKZBXHUDfp2","64CTMz1sNLzpRg+zvuOK2U","64st44lHBIDov87JmVspaO","65gwb2E6dKZ6hKUU4KGsll","66b1G6fxxNf6nEzCYkGQ3t","6aNwy1BrxIrLsVSp7hza0O","6bgsCv/GFIAZorsxUZFlui","6dmOh1culDPIf+pIww/S+A","6e0/P8y79Ixrx10mLZZSr5","6fMWBfIyxOw7ELss3T9us6","73A/Oe519JuK0hDXrA3RsD","73MN4e+HVFOrRV7CVSwC9o","73Tqik8JNLIrMmatci/NHm","79tSTgADNA4Ij0b3kpYTUm","7dbwCl6ydH1ZxmVLN4k/Jl","7eEoD4VIRDJat8ID/HcSKu","7elRdLRKZATaXUOsV4ZxUz","84FDLiSvdEPagquWx3jCYn","87y4BgwjVJ/5lv8Eh7gP8K","8amIKzot1FVZZcGdwgQ7KR","8buj3tcIhJdbyAIneTG6Xx","90t+AZO4BLt5mchnQffkiA","960YpbuEFBPLhcAxpg/tBX","97MX0sDGdLEo6r2VEL4BvO","97uCkK/CNPHLpXqam6U/Fz","98DJDa3ydNc6Oq8Wg7DYFc","98v8I8TMZLApVe9s3z/FhW","99JscT8XpE8Yo1+0PhjcDk","99LxdJOcJNkazkuhRek1hI","9aXTWphJpE8LvSfcsWlr9h","9dsrv6yKNLiakRUUgSd/R2","9for8Q8DNFg4zJATXKWarL","9fwR7mCtpCt7C02LxtUEfN","a0eg7fTJxMIJ9ozsHxc1mw","a6M8ZKp6ZKwrtPMz6H81Cr","abdKgRmZVC0rZVW/aYR4Pn","acNtkCQEhGpa7qbU6PnPM7","ado1XZT+1MxLjDQ1JPw+Zm","afQAGowrdDdZf2xDFOa8hr","b4kvu7QYlEMoNK9MbATpTA","b438YN5HRACKe4IZTScp2E","b6qtE3j0lPWq9QbeeevSM4","b8iJEjoj1EJ598serD5vPN","b8z4A72DVGka94xFieVzzr","b9oYImZOlCjqDqb7uUcrjJ","bdBspmIzdDJqW1yanozL4N","bdm4frBnZE3Yk599kXwgkU","beVsk2yVxMaYT/JMjY10g5","beomPF4odAvo1WOGuoli3w","bfIXjSOBFAmaTCeafjPVCe","c0srcpjSZIpJNFU05K9APK","c2Kx6cpb1LRJmrSTqe7k44","c2ignbVVdN3YE34YtGXSgM","c3Mbrrf8FKqrYinbiEbffz","c4+fWw9GBHLJRAduyjVzMj","c7MGPLay1L0L/fPUdwds/6","c8MSQ2BLtO+o2dwyoEaHTP","c9t3i9J1dEZ7ty3GpkWlZx","c9zlb8+BhKZ4H/lDpXPD9Z","cckTRtKr5CWK4Pr53PXR/3","ce+smsO5pM/oXIWanYPXR2","d02ZvnWidGr5plCT60lC2k","d1wjGrDxFOsZRF9HW5r+3o","d1xy1hWnpDPr5vYjMaRbet","d2K1G+RVROZrsInnwgtNSz","d3Urt1CcxM6ZoZ/trBgakM","d3pJUylapOfJKLonsCSXqP","d7NjGTDylNJpQ8H7RCsdx/","d8vorn0uJD5qh+vDLCW1qK","daDI5OkSxFPYxXvKddLWiN","ddd4NibE9AQ5NEfc16s0EY","dePM7LlAhNuJ41C/bbEqfW","dezcfcYS9LFq+u3S0vCioJ","e13EQjAu9FPIv6TkO6NO3u","e5OPPMABxNiosYJfK3yuU8","ecBDvzfh5CYLiCwIOoEbSj","ee09FXaJBFjblg9xiUVoQh","f2H3sYGOBIAoYc/JRV/ypi","f6bOTwoMBAap/2xerTL9bG","fb9b58V6ZKFp6OtDyfkKer","fdrYrwWxNDo4rnA/naopud","fe8rMaP8BAArG6jUFrIYQP","00Gwfq2+dD3puu+nzd2eNz","00cLKsJhdEy7QfKy+6ugwP","06QQxGhSZDur63Pl64/QTr","0bZukc64dE75GN+4hx9Q7k","0dw4/2NvNF94Je2P9KRRlp","0eARcGOitBmaBOhcTUCoGU","10e+Cm4o9PWZHhCrfia4d5","11zGxV+gpHLILO5/K8P4k5","12QPCGMnNBaL+fEOGSn0Ie","18SGxEBe1Gy6wCAfanEDMd","1dFCIaOwBJLoyK++2XHaOR","1dM4krYNJMzLzqIhLuoiwD","20EhEyQiVGQJYk4bAcdI6J","22+DVMN6xF5IZVEH4V8pgk","23ofZ0HkBIQIj03I6JA/me","23xeGe8XpJ6KEU7kNqtQZd","28V0pv+RREnbxQOWDKMZKh","2aPa1EWWBCsr3J5klndmVF","2a610Ge0VEep2DaGC78Qe1","2bwhDPStdGDImS7PMUAUeL","2dv9F9MJNOWJlhqekh5hku","32KYTc71FPZLPRDj4dHXlt","34gS1Na9dBm4xnuaVMngb8","34n6HYdO9F4oiusgdmv6SI","342Xq+8/tFmZ1aVecw9tiX","35z8q7cfNKEIsA5l2D6B9h","37BXJiXXtG17U/2i1ynVk4","37PtJUcPFEiL5m45vy+j8M","39uCp1pGtI9brn9y/jqK6i","3cld5RP/VEsaoc+ZaDDHwC","43g2npE25MLrfsCe8Ju+h3","47DK+7b5ZIpKYsralQH9EU","47/6mJzadM5aL+XTK60c6R","48h9KGDyhHrZyaI4cV9gdd","4aq/wm11lIbK9o9DtND/k/","4fGhRrzEpGoIAVPLxYCGfn","54cCALJkhLvqHYu1r7Gvgv","55FbUyRJpAAbbuODAUMfAd","566zT8UOlCpYo0NGqAxZrD","57zp78SqREZK+Min7k07ne","58No3CgCdPV44yJPX2Q9ya","58ejUsLl1K4YyVsEvZgf7J","5bDi2pf/FF+Zi3uRRSYsuW","5d9Ae6iQ9PVqJx7tgVbG0Q","5eCgOqm55AdrUIfb8gm7EV","5e+cUP7JRAKqeYgOJfT682","60l+s75oxOxKJ7UjwTJ+m5","61YJazy99CuoMfpZjWZ17b","67vexUgu9FNpzN6H1kw9M0","68kf5dpMFMSLS912LcRJ1/","69E3JJBKBIxbmqYqu0Kl0f","6agG7vpOFBkKzSBnFeNEFx","6cvZfZKkxBxaW9l2M4Oq06","71wji0T5FBWYeHC4t3Eyhp","766DHJEp1IKb8MTmhmxJ05","7f+iDKbUFORZeRnwrfZZU7","82wLQIikBFgp8KVawa6GQt","8200LrOzdKUbbGaaenaAwg","838GF21ztN1bPMem7vrB+4","84rPJulbRDGIXfniaqR0/o","88nRchqItKd7CRhadcSMIr","89EqhH22pPpJ28TmZ+ml4A","8bD4sXffdLobmVOYDF5D0t","8bSGyhKkFG5ojIaEvDirs4","8dsEl0LxBCbrN1YBhsmU5Y","8fszZC6KZC/YVR/3a/QSVM","96XNfFF8xGsa9X1uJicNCc","9b9s8I5EpCSLVqcT9g7AmT","9fAmVsluxM6rMXIAUtcqfk","9f0Jv3NtVApZNuBkIQ+2+W","a1utS6WINHwqyWOXAFbRGB","a2Y3iTdgdFjbmnBf034oI1","aaMvL4MfFMBZ8FEy1Ve9GL","ab6j5Bu2pCZ7DFdeqG9cJW","ads3GAhlVDyJtrvIkPEzZw","adwJfGxPJO25L8rN07E461","b3g1s7SbZG6p+bTvTbfbdS","b3tLNY4xpNxpjpGGgMr6Yk","b4IRxI7dpGQ4UzmCfcgyBY","b7lSL7g9lIOK6qq/BbNnft","b7sbnvRSxBRqY74RBOCGYm","bcR7QV6PJPfoxODPu07NRv","bdUgH2E/FGfJHM0l+0KnZw","bd/N9fOrNJzIMgKsfiS3OZ","beSMwOjzhAVaSbmtl34D6E","c0Zyk88s5L57tI0gWlFD1K","c0auudV5dKo4qJ5qAcTz+u","c1/wlZyXJL85BPKv6Zmp2/","c4YpdUFdRKSLTl3DJG8zFH","c5Ga6+YcdL+b9DNgZMiNOw","c6A58W7alCIZU1pWcvLb+d","c9fSaJZ+xIH6U0ilYmSUF+","cc6x7AyGZIpanJHAW6zPE8","cealMnuIFJZ6l4jvcj9ppv","cfcIXC5uBNkrxCFeZCAQBP","d0QQ7gfJJMY6LTO9H4R2WV","d4SbX1RV1I/J8hVxYpdkrp","d5mchlno9Doq8GKgdaV7js","d5oH5aPmRENprAvAC02ctY","d57F6BgypJq4END/i4pJmw","d6ebE29TJBFb0sqd023tmH","d7+pBHkqZEvLBh397A3tN3","d8MMQvECZFYbSVb6+OAO7G","dcAj9xz0RBc4sjW2EtSKVA","dfbK8PmxRMvJq1NFlWwmnL","e0+evOGWdMdruzh5p8bNwu","e1eLQTMEpMoIavxJsvpVHR","e5OudWeEBD9LL/b18mKn3P","e6rSQciSVB04PplvtL3veo","ecjaChnf9AAYg5DfU4vT9B","ecwMJPcM9JHb2WJrTDUXLw","efJUu2pYFMoZcTEdCToyIR","f33RZ8JRRO1bve++tBgAM5","f5tad6qrpMSaWoa/Jzx+lt","f7tCYsCudFHrODC30JD2Qu","f8rvtGVe9AcYeuMB4UVhKv","f8ui1glGdMuZsP8crUS5xg","f9s/b3dB1MKIL6zl49Au0T","fd2PMGuetOBI2l3O5IhMZe","feTbJpgI1NjLmTGZq0VF3D","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/PS02/scene/PS02.fire":166},"redirect":[242,0],"deps":["internal"],"packs":null,"name":"PS02","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true,"versions":{"import":[122,"99067",123,"911e9",0,"7871f",124,"3f096",1,"7871f",125,"5a08e",2,"7871f",126,"67317",127,"5affa",128,"9c992",3,"7871f",129,"b9c24",130,"0d621",4,"7871f",131,"89970",5,"7871f",6,"7871f",132,"af992",133,"53933",7,"7871f",134,"0bc6c",8,"7871f",135,"53600",136,"e8d10",137,"4fc6a",9,"7871f",10,"7871f",11,"7871f",138,"758a6",12,"7871f",13,"7871f",139,"ad238",140,"a4d11",141,"492f0",14,"7871f",142,"109e3",15,"7871f",16,"7871f",143,"813e7",17,"7871f",144,"7b3ff",145,"fccfb",146,"71045",147,"2262a",148,"d732e",149,"6b834",18,"7871f",19,"7871f",150,"baaac",20,"7871f",151,"7c06b",152,"0bd9d",21,"7871f",153,"586f4",154,"91802",155,"5a978",22,"7871f",23,"7871f",156,"b7f51",24,"7871f",25,"7871f",26,"7871f",27,"7871f",28,"7871f",29,"7871f",157,"083b2",30,"7871f",31,"7871f",32,"7589f",158,"abf7f",159,"1df49",160,"dd180",161,"15e60",33,"7871f",162,"78b46",34,"7871f",163,"ba0a0",164,"77d76",35,"7871f",36,"7871f",37,"7871f",38,"7871f",165,"e68f1",166,"cc7ed",167,"c0597",168,"40cfc",39,"7871f",169,"81ecb",40,"7871f",41,"7871f",42,"7871f",43,"7e7f5",44,"7871f",170,"ae2b8",171,"dde2b",172,"0bd7b",45,"7871f",173,"d45ea",46,"7871f",174,"547e0",47,"7871f",48,"7871f",49,"7871f",175,"63238",50,"7871f",51,"7871f",52,"7871f",176,"35418",53,"7871f",54,"7871f",55,"7871f",56,"7871f",177,"83432",178,"c8bd0",179,"2a467",180,"c88d1",57,"7871f",181,"12698",58,"7871f",182,"e7360",183,"e24a2",59,"93abe",184,"10367",185,"853c8",60,"7871f",186,"7d383",187,"fb2d3",61,"7871f",188,"cdd27",62,"7871f",63,"7871f",64,"7871f",65,"7871f",66,"7871f",67,"7871f",68,"7871f",69,"7871f",189,"f9790",70,"7871f",190,"5bc24",71,"a7e59",72,"7871f",191,"d7ddc",73,"b34fa",192,"e477a",193,"32073",74,"7871f",194,"e5ea6",75,"7871f",195,"7f93a",76,"7871f",77,"7871f",196,"6f830",197,"69d10",78,"7871f",198,"845b4",199,"92e1d",200,"098f6",79,"7871f",80,"7871f",81,"7871f",201,"42d65",202,"c09d4",82,"7871f",83,"7871f",84,"7871f",203,"57eb9",85,"7871f",204,"ee8f4",86,"7871f",205,"440fd",206,"8fce4",87,"7871f",88,"7871f",89,"7871f",207,"04c7c",208,"6891d",90,"7871f",209,"32ffa",91,"7871f",92,"7871f",93,"7871f",210,"806f8",94,"7871f",211,"df4e4",212,"ea136",95,"7871f",96,"7871f",213,"63771",97,"7871f",98,"7871f",99,"7871f",214,"c0f39",215,"025f1",100,"7871f",216,"43eff",217,"fe296",101,"7871f",102,"7871f",103,"7871f",104,"7d9ee",105,"7871f",106,"7871f",218,"3a314",219,"160d1",220,"8e633",221,"a168c",222,"21684",107,"7871f",223,"37c4a",224,"77162",108,"7871f",109,"7871f",225,"b16a1",110,"7871f",111,"7871f",112,"7871f",226,"8c49b",227,"34df5",228,"5c084",113,"7871f",114,"7871f",229,"b2bf3",230,"67947",115,"7871f",231,"d83a3",232,"ae634",116,"7871f",233,"00b6e",117,"7871f",234,"7f83e",235,"5cafe",118,"7871f",236,"37898",237,"ee3c0",238,"60255",239,"1fc80",119,"7871f",120,"7871f",240,"0791f",241,"24c49",121,"7871f"],"native":[0,"ddf61",1,"ee55a",2,"6f0a7",3,"ab73f",4,"525ea",5,"f85b2",6,"162b3",7,"0ab35",8,"bac03",9,"48c80",10,"84713",11,"c876e",12,"19abc",13,"cc50e",14,"77b7c",15,"eef1f",16,"17f77",17,"98a96",18,"0427f",19,"aeae9",20,"5f7cd",21,"df1ec",22,"2b681",23,"69973",24,"ca12f",25,"08f36",26,"7dfbb",27,"8bc6c",28,"cfaed",29,"c6ae9",30,"50b30",31,"34b33",32,"52662",33,"4616c",34,"8ffd2",35,"0bb59",36,"afb80",37,"72037",38,"e941e",39,"7426f",40,"336a8",41,"1bbc1",42,"f681a",43,"fe202",44,"a9fd2",45,"49541",46,"a4fdf",47,"03bf5",48,"bd9c1",49,"6e9ac",50,"0cf64",51,"fd9d5",52,"87aff",53,"02c40",54,"45760",55,"f7b1e",56,"193c1",57,"08894",58,"e42e5",59,"9df3f",60,"2f843",61,"d0b1f",62,"8c58a",63,"6de29",64,"f664e",65,"ac2e8",66,"cca68",67,"870e0",68,"23821",69,"f0c3c",70,"3cc55",71,"7fe84",72,"9d311",73,"fe252",74,"49a00",75,"4ba63",76,"e5c8f",77,"a08e6",78,"9dfcd",79,"60c16",80,"6f744",81,"64872",82,"455a6",83,"aecb4",84,"b4506",85,"118a2",86,"b4533",87,"9dff5",88,"3cd6d",89,"58056",90,"66be4",91,"b6539",92,"d6d5c",93,"83e8b",94,"1975f",95,"b75b2",96,"93483",97,"8a8e4",98,"406d6",99,"9717a",100,"910df",101,"a0601",102,"9a8ac",103,"74b18",104,"95b8f",105,"04d35",106,"bb424",107,"eb1c8",108,"90f1a",109,"9b49b",110,"3c770",111,"18548",112,"8defa",113,"2cea6",114,"4c3c1",115,"cab1b",116,"9f996",117,"54e4a",118,"4633c",119,"b3270",120,"4a09d",121,"a4504"]}}
\ No newline at end of file
{"ios":{"sceneName":"PS02","version":"35b40"},"android":{"sceneName":"PS02","version":"35b40"}} {"ios":{"sceneName":"PS02","version":"7ada0"},"android":{"sceneName":"PS02","version":"7ada0"}}
\ No newline at end of file \ No newline at end of file
{"paths":{"0":["texture/letter_big_bg/p2_di",3],"1":["texture/letter_big/g2",3],"2":["texture/letter_big/a2",3],"3":["texture/letter_big/n2",3],"4":["texture/letter_small/q",3],"5":["texture/letter_big/s2",3],"6":["texture/letter_big/v2",3],"7":["texture/letter_small_bg/d_di",3],"8":["texture/letter_big_bg/r2_di",3],"9":["texture/letter_small_bg/z_di",3],"10":["texture/bg_sahua",3],"11":["texture/letter_big_bg/o2_di",3],"12":["texture/letter_big/e2",3],"13":["texture/letter_big_bg/w2_di",3],"14":["texture/letter_big_bg/s2_di",3],"15":["texture/letter_small_bg/w_di",3],"16":["texture/letter_big/c2",3],"17":["texture/letter_small/w",3],"18":["texture/letter_big_bg/h2_di",3],"19":["texture/letter_small_bg/q_di",3],"20":["texture/letter_small_bg/j_di",3],"21":["texture/letter_big/u2",3],"22":["texture/bg",3],"23":["texture/letter_small/i",3],"24":["texture/letter_small_bg/p_di",3],"25":["texture/ques_bg",3],"26":["texture/letter_big_bg/i2_di",3],"27":["texture/letter_small/y",3],"28":["texture/letter_big/m2",3],"29":["texture/letter_small/d",3],"30":["texture/letter_big/p2",3],"31":["texture/letter_small_bg/k_di",3],"32":["audio/wrong",5],"33":["texture/letter_small/l",3],"34":["texture/letter_big_bg/z2_di",3],"35":["texture/letter_big_bg/u2_di",3],"36":["texture/letter_small_bg/a_di",3],"37":["texture/letter_small_bg/r_di",3],"38":["texture/letter_big_bg/j2_di",3],"39":["texture/letter_big/z2",3],"40":["texture/letter_big_bg/x2_di",3],"41":["texture/letter_small_bg/m_di",3],"42":["texture/letter_small/k",3],"43":["texture/Berlin_Sans_FB",6],"44":["texture/letter_big_bg/b2_di",3],"45":["anima/laba/btn_laba2",3],"46":["texture/letter_small/m",3],"47":["texture/letter_big/w2",3],"48":["texture/letter_small/o",3],"49":["anima/laba/btn_laba",3],"50":["texture/letter_small_bg/t_di",3],"51":["texture/letter_big/l2",3],"52":["texture/letter_big_bg/a2_di",3],"53":["texture/letter_small_bg/n_di",3],"54":["texture/letter_small/p",3],"55":["texture/letter_small_bg/v_di",3],"56":["texture/letter_small/u",3],"57":["texture/letter_big/x2",3],"58":["texture/star",3],"59":["audio/end",5],"60":["texture/letter_big_bg/q2_di",3],"61":["texture/panel",3],"62":["texture/letter_big_bg/f2_di",3],"63":["texture/letter_big/i2",3],"64":["anima/laba/btn_laba3",3],"65":["texture/letter_small_bg/o_di",3],"66":["texture/letter_small/h",3],"67":["texture/letter_big_bg/g2_di",3],"68":["texture/letter_small_bg/c_di",3],"69":["texture/letter_big/t2",3],"70":["texture/letter_small/b",3],"71":["audio/big_star",5],"72":["texture/letter_small/x",3],"73":["audio/next",5],"74":["texture/letter_small/g",3],"75":["texture/letter_small/t",3],"76":["texture/letter_big_bg/m2_di",3],"77":["texture/letter_small_bg/g_di",3],"78":["texture/letter_big_bg/v2_di",3],"79":["texture/letter_big_bg/n2_di",3],"80":["texture/letter_big/q2",3],"81":["texture/letter_small/e",3],"82":["texture/letter_big/d2",3],"83":["texture/letter_small/z",3],"84":["texture/letter_big_bg/e2_di",3],"85":["texture/letter_small/a",3],"86":["texture/letter_small_bg/u_di",3],"87":["texture/letter_small_bg/f_di",3],"88":["texture/letter_big_bg/t2_di",3],"89":["texture/letter_small/c",3],"90":["texture/letter_small_bg/s_di",3],"91":["texture/letter_small_bg/y_di",3],"92":["texture/letter_small/f",3],"93":["texture/letter_big/h2",3],"94":["texture/letter_big/b2",3],"95":["anima/dragonbone/right_tex",3],"96":["texture/letter_small_bg/e_di",3],"97":["texture/letter_big/o2",3],"98":["texture/letter_big_bg/d2_di",3],"99":["texture/letter_small/r",3],"100":["texture/letter_big_bg/l2_di",3],"101":["texture/letter_big/y2",3],"102":["texture/letter_small/v",3],"103":["texture/letter_small_bg/x_di",3],"104":["audio/right",5],"105":["anima/laba/btn_laba4",3],"106":["texture/icon_bigstar",3],"107":["texture/letter_big/k2",3],"108":["texture/letter_big_bg/c2_di",3],"109":["texture/letter_small_bg/l_di",3],"110":["texture/letter_big_bg/k2_di",3],"111":["texture/letter_big_bg/y2_di",3],"112":["texture/letter_small/n",3],"113":["texture/letter_small_bg/i_di",3],"114":["texture/letter_small/j",3],"115":["texture/letter_big/j2",3],"116":["texture/star_bg",3],"117":["texture/letter_big/r2",3],"118":["texture/letter_small/s",3],"119":["texture/letter_small_bg/h_di",3],"120":["texture/letter_small_bg/b_di",3],"121":["texture/letter_big/f2",3],"122":["texture/letter_big_bg/k2_di",1,1],"123":["texture/letter_big/l2",1,1],"124":["texture/letter_small_bg/l_di",1,1],"125":["texture/letter_small_bg/c_di",1,1],"126":["texture/letter_small/t",1,1],"127":["texture/letter_small/i",1,1],"128":["texture/letter_big_bg/e2_di",1,1],"129":["texture/letter_big/j2",1,1],"130":["texture/letter_small_bg/w_di",1,1],"131":["texture/letter_big/v2",1,1],"132":["texture/letter_small/n",1,1],"133":["texture/bg",1,1],"134":["texture/letter_big_bg/r2_di",1,1],"135":["texture/letter_big/o2",1,1],"136":["texture/letter_small/w",1,1],"137":["texture/letter_big/h2",1,1],"138":["anima/dragonbone/right_tex",1,1],"139":["texture/letter_small_bg/y_di",1,1],"140":["texture/letter_small/x",1,1],"141":["texture/letter_big_bg/d2_di",1,1],"142":["texture/letter_small_bg/m_di",1,1],"143":["texture/letter_big_bg/w2_di",1,1],"144":["texture/letter_big/w2",1,1],"145":["texture/letter_small/q",1,1],"146":["texture/icon_bigstar",1,1],"147":["texture/letter_small/s",1,1],"148":["anima/dragonbone/right_tex",2],"149":["texture/letter_big/z2",1,1],"150":["texture/letter_big_bg/c2_di",1,1],"151":["texture/letter_big_bg/l2_di",1,1],"152":["texture/letter_big/g2",1,1],"153":["texture/letter_small_bg/i_di",1,1],"154":["texture/letter_big_bg/n2_di",1,1],"155":["texture/letter_small_bg/b_di",1,1],"156":["texture/letter_small/h",1,1],"157":["anima/laba/laba",4],"158":["texture/letter_small/j",1,1],"159":["texture/letter_small_bg/z_di",1,1],"160":["texture/letter_small/d",1,1],"161":["texture/letter_small_bg/h_di",1,1],"162":["texture/letter_big_bg/m2_di",1,1],"163":["texture/letter_small_bg/p_di",1,1],"164":["texture/letter_small_bg/o_di",1,1],"165":["texture/bg_sahua",1,1],"167":["texture/letter_small/r",1,1],"168":["texture/letter_small/g",1,1],"169":["texture/letter_big_bg/t2_di",1,1],"170":["texture/letter_small_bg/e_di",1,1],"171":["texture/letter_small/a",1,1],"172":["texture/letter_small_bg/a_di",1,1],"173":["anima/laba/btn_laba2",1,1],"174":["texture/letter_small_bg/x_di",1,1],"175":["texture/star",1,1],"176":["texture/letter_big_bg/y2_di",1,1],"177":["texture/letter_small/p",1,1],"178":["texture/letter_small_bg/s_di",1,1],"179":["texture/letter_big/m2",1,1],"180":["texture/letter_small_bg/q_di",1,1],"181":["texture/letter_small/k",1,1],"182":["texture/letter_small_bg/t_di",1,1],"183":["anima/dragonbone/right_ske",0],"184":["texture/letter_big/u2",1,1],"185":["texture/letter_big_bg/p2_di",1,1],"186":["texture/letter_small_bg/n_di",1,1],"187":["texture/letter_big_bg/j2_di",1,1],"188":["texture/letter_big_bg/b2_di",1,1],"189":["texture/letter_small/z",1,1],"190":["texture/letter_small/l",1,1],"191":["texture/letter_small/f",1,1],"192":["texture/letter_small/v",1,1],"193":["texture/letter_big_bg/h2_di",1,1],"194":["texture/ques_bg",1,1],"195":["texture/letter_small/y",1,1],"196":["texture/letter_big/s2",1,1],"197":["texture/letter_big_bg/o2_di",1,1],"198":["texture/letter_big_bg/f2_di",1,1],"199":["texture/letter_big/b2",1,1],"200":["texture/letter_small_bg/j_di",1,1],"201":["texture/letter_big_bg/z2_di",1,1],"202":["texture/letter_big/c2",1,1],"203":["texture/letter_big_bg/v2_di",1,1],"204":["texture/letter_small_bg/r_di",1,1],"205":["texture/letter_small_bg/g_di",1,1],"206":["texture/panel",1,1],"207":["texture/letter_big/a2",1,1],"208":["texture/letter_small/c",1,1],"209":["texture/letter_small/u",1,1],"210":["texture/letter_big/p2",1,1],"211":["texture/letter_small/e",1,1],"212":["anima/laba/btn_laba4",1,1],"213":["texture/letter_small_bg/k_di",1,1],"214":["anima/laba/btn_laba",1,1],"215":["texture/letter_big_bg/q2_di",1,1],"216":["texture/letter_small_bg/v_di",1,1],"217":["texture/letter_small/b",1,1],"218":["texture/letter_big/r2",1,1],"219":["texture/letter_big_bg/a2_di",1,1],"220":["texture/letter_big/n2",1,1],"221":["texture/letter_small/o",1,1],"222":["texture/letter_big_bg/u2_di",1,1],"223":["texture/letter_small_bg/f_di",1,1],"224":["texture/letter_big/e2",1,1],"225":["texture/letter_small_bg/d_di",1,1],"226":["texture/letter_big/x2",1,1],"227":["anima/laba/btn_laba3",1,1],"228":["texture/letter_big/d2",1,1],"229":["texture/letter_big/i2",1,1],"230":["texture/letter_small/m",1,1],"231":["texture/letter_big/k2",1,1],"232":["texture/letter_big/f2",1,1],"233":["texture/letter_big_bg/i2_di",1,1],"234":["texture/letter_small_bg/u_di",1,1],"235":["texture/star_bg",1,1],"236":["texture/letter_big_bg/x2_di",1,1],"237":["texture/letter_big_bg/g2_di",1,1],"238":["texture/letter_big/q2",1,1],"239":["texture/letter_big_bg/s2_di",1,1],"240":["texture/letter_big/y2",1,1],"241":["texture/letter_big/t2",1,1]},"types":["dragonBones.DragonBonesAsset","cc.SpriteFrame","dragonBones.DragonBonesAtlasAsset","cc.Texture2D","cc.AnimationClip","cc.AudioClip","cc.TTFFont"],"uuids":["05rYTHOBRFioJLYTzce4Tr","08GQ+TfypJy4IZCGuDb8jo","0dXRJSIKNNeIHaHaPEB5nq","10wNZJJnpNHKKNSnYB8ka+","16vsh7feFH9aNtbk7cgG5c","18T9xD5wVL37fR6q1un02N","18YWTZJaVLfZS+BXK/c07m","1f3/AHdMdIU58Oabo7JuIZ","214nIKdBhBXZz/GmE7pS19","24rw1BRhRCnI6j2ivGjZM/","24zlUWWZVLf4h5rjzmHRz3","26poXDBB5GAp15t2DC0eL9","287WEY0IFE0YTQcUVl2RWt","29G4pUF39OGISF8dfgErZa","2cCeU3pS5J5I5nIHWbCdGx","2fLg1N8rZOjoY+Pq4XHsAe","30PVchSFpMdqVM2z5DrdGb","32eCFNWp9Jh6JRpURj+z5f","37v4rODrJAuLoO99pJ8ynz","39i9tg4TlE95FHWK8mtbYq","3bhjiq6PNDzqQjkx+zw4OP","46fVB2RSxIxpYbkdEgbfan","49Vlrfy11CJ6JFajv7PP63","49hp3fwSFGBabFeOgoy1pN","4ccjbAIN5HjKTTEAhCQZ63","4c8qTPX99H24Eovkw0/5UI","4djG+RRm1Gs6fN9VkVsYH5","4evrE9+iVMVIYNb5kAzf6p","4e4MtD6QZExLpIgVo5uZfF","4fFBAAlrVHT44N2fq4w3eV","50vyhzPR5DwJt/nGJHNdcG","51zTQFOP1O1YY+9eBm+A5Y","52uINa1zdLAZ2gmJmpRHeR","572IsPoAZDwYxPqSpMqkKC","58SbZyKjdIiLhShG9RIluR","5bGXIo9uFKX7Gcp71cugHW","5bt4zzDsFF3bFAbeFbC3n3","5dWlLA2jNA1rc2oiVI8Jc1","5doTn4n7lD+pGQTSidypxJ","60paZKTOtHPJR+qUEtQDRF","62Xqsg46RJVoKZBXHUDfp2","64CTMz1sNLzpRg+zvuOK2U","64st44lHBIDov87JmVspaO","65gwb2E6dKZ6hKUU4KGsll","66b1G6fxxNf6nEzCYkGQ3t","6aNwy1BrxIrLsVSp7hza0O","6bgsCv/GFIAZorsxUZFlui","6dmOh1culDPIf+pIww/S+A","6e0/P8y79Ixrx10mLZZSr5","6fMWBfIyxOw7ELss3T9us6","73A/Oe519JuK0hDXrA3RsD","73MN4e+HVFOrRV7CVSwC9o","73Tqik8JNLIrMmatci/NHm","79tSTgADNA4Ij0b3kpYTUm","7dbwCl6ydH1ZxmVLN4k/Jl","7eEoD4VIRDJat8ID/HcSKu","7elRdLRKZATaXUOsV4ZxUz","84FDLiSvdEPagquWx3jCYn","87y4BgwjVJ/5lv8Eh7gP8K","8amIKzot1FVZZcGdwgQ7KR","8buj3tcIhJdbyAIneTG6Xx","90t+AZO4BLt5mchnQffkiA","960YpbuEFBPLhcAxpg/tBX","97MX0sDGdLEo6r2VEL4BvO","97uCkK/CNPHLpXqam6U/Fz","98DJDa3ydNc6Oq8Wg7DYFc","98v8I8TMZLApVe9s3z/FhW","99JscT8XpE8Yo1+0PhjcDk","99LxdJOcJNkazkuhRek1hI","9aXTWphJpE8LvSfcsWlr9h","9dsrv6yKNLiakRUUgSd/R2","9for8Q8DNFg4zJATXKWarL","9fwR7mCtpCt7C02LxtUEfN","a0eg7fTJxMIJ9ozsHxc1mw","a6M8ZKp6ZKwrtPMz6H81Cr","abdKgRmZVC0rZVW/aYR4Pn","acNtkCQEhGpa7qbU6PnPM7","ado1XZT+1MxLjDQ1JPw+Zm","afQAGowrdDdZf2xDFOa8hr","b4kvu7QYlEMoNK9MbATpTA","b438YN5HRACKe4IZTScp2E","b6qtE3j0lPWq9QbeeevSM4","b8iJEjoj1EJ598serD5vPN","b8z4A72DVGka94xFieVzzr","b9oYImZOlCjqDqb7uUcrjJ","bdBspmIzdDJqW1yanozL4N","bdm4frBnZE3Yk599kXwgkU","beVsk2yVxMaYT/JMjY10g5","beomPF4odAvo1WOGuoli3w","bfIXjSOBFAmaTCeafjPVCe","c0srcpjSZIpJNFU05K9APK","c2Kx6cpb1LRJmrSTqe7k44","c2ignbVVdN3YE34YtGXSgM","c3Mbrrf8FKqrYinbiEbffz","c4+fWw9GBHLJRAduyjVzMj","c7MGPLay1L0L/fPUdwds/6","c8MSQ2BLtO+o2dwyoEaHTP","c9t3i9J1dEZ7ty3GpkWlZx","c9zlb8+BhKZ4H/lDpXPD9Z","cckTRtKr5CWK4Pr53PXR/3","ce+smsO5pM/oXIWanYPXR2","d02ZvnWidGr5plCT60lC2k","d1wjGrDxFOsZRF9HW5r+3o","d1xy1hWnpDPr5vYjMaRbet","d2K1G+RVROZrsInnwgtNSz","d3Urt1CcxM6ZoZ/trBgakM","d3pJUylapOfJKLonsCSXqP","d7NjGTDylNJpQ8H7RCsdx/","d8vorn0uJD5qh+vDLCW1qK","daDI5OkSxFPYxXvKddLWiN","ddd4NibE9AQ5NEfc16s0EY","dePM7LlAhNuJ41C/bbEqfW","dezcfcYS9LFq+u3S0vCioJ","e13EQjAu9FPIv6TkO6NO3u","e5OPPMABxNiosYJfK3yuU8","ecBDvzfh5CYLiCwIOoEbSj","ee09FXaJBFjblg9xiUVoQh","f2H3sYGOBIAoYc/JRV/ypi","f6bOTwoMBAap/2xerTL9bG","fb9b58V6ZKFp6OtDyfkKer","fdrYrwWxNDo4rnA/naopud","fe8rMaP8BAArG6jUFrIYQP","00Gwfq2+dD3puu+nzd2eNz","00cLKsJhdEy7QfKy+6ugwP","06QQxGhSZDur63Pl64/QTr","0bZukc64dE75GN+4hx9Q7k","0dw4/2NvNF94Je2P9KRRlp","0eARcGOitBmaBOhcTUCoGU","10e+Cm4o9PWZHhCrfia4d5","11zGxV+gpHLILO5/K8P4k5","12QPCGMnNBaL+fEOGSn0Ie","18SGxEBe1Gy6wCAfanEDMd","1dFCIaOwBJLoyK++2XHaOR","1dM4krYNJMzLzqIhLuoiwD","20EhEyQiVGQJYk4bAcdI6J","22+DVMN6xF5IZVEH4V8pgk","23ofZ0HkBIQIj03I6JA/me","23xeGe8XpJ6KEU7kNqtQZd","28V0pv+RREnbxQOWDKMZKh","2aPa1EWWBCsr3J5klndmVF","2a610Ge0VEep2DaGC78Qe1","2bwhDPStdGDImS7PMUAUeL","2dv9F9MJNOWJlhqekh5hku","32KYTc71FPZLPRDj4dHXlt","34gS1Na9dBm4xnuaVMngb8","34n6HYdO9F4oiusgdmv6SI","342Xq+8/tFmZ1aVecw9tiX","35z8q7cfNKEIsA5l2D6B9h","37BXJiXXtG17U/2i1ynVk4","37PtJUcPFEiL5m45vy+j8M","39uCp1pGtI9brn9y/jqK6i","3cld5RP/VEsaoc+ZaDDHwC","43g2npE25MLrfsCe8Ju+h3","47DK+7b5ZIpKYsralQH9EU","47/6mJzadM5aL+XTK60c6R","48h9KGDyhHrZyaI4cV9gdd","4aq/wm11lIbK9o9DtND/k/","4fGhRrzEpGoIAVPLxYCGfn","54cCALJkhLvqHYu1r7Gvgv","55FbUyRJpAAbbuODAUMfAd","566zT8UOlCpYo0NGqAxZrD","57zp78SqREZK+Min7k07ne","58No3CgCdPV44yJPX2Q9ya","58ejUsLl1K4YyVsEvZgf7J","5bDi2pf/FF+Zi3uRRSYsuW","5d9Ae6iQ9PVqJx7tgVbG0Q","5eCgOqm55AdrUIfb8gm7EV","5e+cUP7JRAKqeYgOJfT682","60l+s75oxOxKJ7UjwTJ+m5","61YJazy99CuoMfpZjWZ17b","67vexUgu9FNpzN6H1kw9M0","68kf5dpMFMSLS912LcRJ1/","69E3JJBKBIxbmqYqu0Kl0f","6agG7vpOFBkKzSBnFeNEFx","6cvZfZKkxBxaW9l2M4Oq06","71wji0T5FBWYeHC4t3Eyhp","766DHJEp1IKb8MTmhmxJ05","7f+iDKbUFORZeRnwrfZZU7","82wLQIikBFgp8KVawa6GQt","8200LrOzdKUbbGaaenaAwg","838GF21ztN1bPMem7vrB+4","84rPJulbRDGIXfniaqR0/o","88nRchqItKd7CRhadcSMIr","89EqhH22pPpJ28TmZ+ml4A","8bD4sXffdLobmVOYDF5D0t","8bSGyhKkFG5ojIaEvDirs4","8dsEl0LxBCbrN1YBhsmU5Y","8fszZC6KZC/YVR/3a/QSVM","96XNfFF8xGsa9X1uJicNCc","9b9s8I5EpCSLVqcT9g7AmT","9fAmVsluxM6rMXIAUtcqfk","9f0Jv3NtVApZNuBkIQ+2+W","a1utS6WINHwqyWOXAFbRGB","a2Y3iTdgdFjbmnBf034oI1","aaMvL4MfFMBZ8FEy1Ve9GL","ab6j5Bu2pCZ7DFdeqG9cJW","ads3GAhlVDyJtrvIkPEzZw","adwJfGxPJO25L8rN07E461","b3g1s7SbZG6p+bTvTbfbdS","b3tLNY4xpNxpjpGGgMr6Yk","b4IRxI7dpGQ4UzmCfcgyBY","b7lSL7g9lIOK6qq/BbNnft","b7sbnvRSxBRqY74RBOCGYm","bcR7QV6PJPfoxODPu07NRv","bdUgH2E/FGfJHM0l+0KnZw","bd/N9fOrNJzIMgKsfiS3OZ","beSMwOjzhAVaSbmtl34D6E","c0Zyk88s5L57tI0gWlFD1K","c0auudV5dKo4qJ5qAcTz+u","c1/wlZyXJL85BPKv6Zmp2/","c4YpdUFdRKSLTl3DJG8zFH","c5Ga6+YcdL+b9DNgZMiNOw","c6A58W7alCIZU1pWcvLb+d","c9fSaJZ+xIH6U0ilYmSUF+","cc6x7AyGZIpanJHAW6zPE8","cealMnuIFJZ6l4jvcj9ppv","cfcIXC5uBNkrxCFeZCAQBP","d0QQ7gfJJMY6LTO9H4R2WV","d4SbX1RV1I/J8hVxYpdkrp","d5mchlno9Doq8GKgdaV7js","d5oH5aPmRENprAvAC02ctY","d57F6BgypJq4END/i4pJmw","d6ebE29TJBFb0sqd023tmH","d7+pBHkqZEvLBh397A3tN3","d8MMQvECZFYbSVb6+OAO7G","dcAj9xz0RBc4sjW2EtSKVA","dfbK8PmxRMvJq1NFlWwmnL","e0+evOGWdMdruzh5p8bNwu","e1eLQTMEpMoIavxJsvpVHR","e5OudWeEBD9LL/b18mKn3P","e6rSQciSVB04PplvtL3veo","ecjaChnf9AAYg5DfU4vT9B","ecwMJPcM9JHb2WJrTDUXLw","efJUu2pYFMoZcTEdCToyIR","f33RZ8JRRO1bve++tBgAM5","f5tad6qrpMSaWoa/Jzx+lt","f7tCYsCudFHrODC30JD2Qu","f8rvtGVe9AcYeuMB4UVhKv","f8ui1glGdMuZsP8crUS5xg","f9s/b3dB1MKIL6zl49Au0T","fd2PMGuetOBI2l3O5IhMZe","feTbJpgI1NjLmTGZq0VF3D","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/PS02/scene/PS02.fire":166},"redirect":[242,0],"deps":["internal"],"packs":null,"name":"PS02","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true,"versions":{"import":[122,"99067",123,"911e9",0,"7871f",124,"3f096",1,"7871f",125,"5a08e",2,"7871f",126,"67317",127,"5affa",128,"9c992",3,"7871f",129,"b9c24",130,"0d621",4,"7871f",131,"89970",5,"7871f",6,"7871f",132,"af992",133,"53933",7,"7871f",134,"0bc6c",8,"7871f",135,"53600",136,"e8d10",137,"4fc6a",9,"7871f",10,"7871f",11,"7871f",138,"758a6",12,"7871f",13,"7871f",139,"ad238",140,"a4d11",141,"492f0",14,"7871f",142,"109e3",15,"7871f",16,"7871f",143,"813e7",17,"7871f",144,"7b3ff",145,"fccfb",146,"71045",147,"2262a",148,"d732e",149,"6b834",18,"7871f",19,"7871f",150,"baaac",20,"7871f",151,"7c06b",152,"0bd9d",21,"7871f",153,"586f4",154,"91802",155,"5a978",22,"7871f",23,"7871f",156,"b7f51",24,"7871f",25,"7871f",26,"7871f",27,"7871f",28,"7871f",29,"7871f",157,"083b2",30,"7871f",31,"7871f",32,"7589f",158,"abf7f",159,"1df49",160,"dd180",161,"15e60",33,"7871f",162,"78b46",34,"7871f",163,"ba0a0",164,"77d76",35,"7871f",36,"7871f",37,"7871f",38,"7871f",165,"e68f1",166,"cc7ed",167,"c0597",168,"40cfc",39,"7871f",169,"81ecb",40,"7871f",41,"7871f",42,"7871f",43,"7e7f5",44,"7871f",170,"ae2b8",171,"dde2b",172,"0bd7b",45,"7871f",173,"d45ea",46,"7871f",174,"547e0",47,"7871f",48,"7871f",49,"7871f",175,"63238",50,"7871f",51,"7871f",52,"7871f",176,"35418",53,"7871f",54,"7871f",55,"7871f",56,"7871f",177,"83432",178,"c8bd0",179,"2a467",180,"c88d1",57,"7871f",181,"12698",58,"7871f",182,"e7360",183,"e24a2",59,"93abe",184,"10367",185,"853c8",60,"7871f",186,"7d383",187,"fb2d3",61,"7871f",188,"cdd27",62,"7871f",63,"7871f",64,"7871f",65,"7871f",66,"7871f",67,"7871f",68,"7871f",69,"7871f",189,"f9790",70,"7871f",190,"5bc24",71,"a7e59",72,"7871f",191,"d7ddc",73,"b34fa",192,"e477a",193,"32073",74,"7871f",194,"e5ea6",75,"7871f",195,"7f93a",76,"7871f",77,"7871f",196,"6f830",197,"69d10",78,"7871f",198,"845b4",199,"92e1d",200,"098f6",79,"7871f",80,"7871f",81,"7871f",201,"42d65",202,"c09d4",82,"7871f",83,"7871f",84,"7871f",203,"57eb9",85,"7871f",204,"ee8f4",86,"7871f",205,"440fd",206,"8fce4",87,"7871f",88,"7871f",89,"7871f",207,"04c7c",208,"6891d",90,"7871f",209,"32ffa",91,"7871f",92,"7871f",93,"7871f",210,"806f8",94,"7871f",211,"df4e4",212,"ea136",95,"7871f",96,"7871f",213,"63771",97,"7871f",98,"7871f",99,"7871f",214,"c0f39",215,"025f1",100,"7871f",216,"43eff",217,"fe296",101,"7871f",102,"7871f",103,"7871f",104,"7d9ee",105,"7871f",106,"7871f",218,"3a314",219,"160d1",220,"8e633",221,"a168c",222,"21684",107,"7871f",223,"37c4a",224,"77162",108,"7871f",109,"7871f",225,"b16a1",110,"7871f",111,"7871f",112,"7871f",226,"8c49b",227,"34df5",228,"5c084",113,"7871f",114,"7871f",229,"b2bf3",230,"67947",115,"7871f",231,"d83a3",232,"ae634",116,"7871f",233,"00b6e",117,"7871f",234,"7f83e",235,"5cafe",118,"7871f",236,"37898",237,"ee3c0",238,"60255",239,"1fc80",119,"7871f",120,"7871f",240,"0791f",241,"24c49",121,"7871f"],"native":[0,"ddf61",1,"ee55a",2,"6f0a7",3,"ab73f",4,"525ea",5,"f85b2",6,"162b3",7,"0ab35",8,"bac03",9,"48c80",10,"84713",11,"c876e",12,"19abc",13,"cc50e",14,"77b7c",15,"eef1f",16,"17f77",17,"98a96",18,"0427f",19,"aeae9",20,"5f7cd",21,"df1ec",22,"2b681",23,"69973",24,"ca12f",25,"08f36",26,"7dfbb",27,"8bc6c",28,"cfaed",29,"c6ae9",30,"50b30",31,"34b33",32,"52662",33,"4616c",34,"8ffd2",35,"0bb59",36,"afb80",37,"72037",38,"e941e",39,"7426f",40,"336a8",41,"1bbc1",42,"f681a",43,"fe202",44,"a9fd2",45,"49541",46,"a4fdf",47,"03bf5",48,"bd9c1",49,"6e9ac",50,"0cf64",51,"fd9d5",52,"87aff",53,"02c40",54,"45760",55,"f7b1e",56,"193c1",57,"08894",58,"e42e5",59,"9df3f",60,"2f843",61,"d0b1f",62,"8c58a",63,"6de29",64,"f664e",65,"ac2e8",66,"cca68",67,"870e0",68,"23821",69,"f0c3c",70,"3cc55",71,"7fe84",72,"9d311",73,"fe252",74,"49a00",75,"4ba63",76,"e5c8f",77,"a08e6",78,"9dfcd",79,"60c16",80,"6f744",81,"64872",82,"455a6",83,"aecb4",84,"b4506",85,"118a2",86,"b4533",87,"9dff5",88,"3cd6d",89,"58056",90,"66be4",91,"b6539",92,"d6d5c",93,"83e8b",94,"1975f",95,"b75b2",96,"93483",97,"8a8e4",98,"406d6",99,"9717a",100,"910df",101,"a0601",102,"9a8ac",103,"74b18",104,"95b8f",105,"04d35",106,"bb424",107,"eb1c8",108,"90f1a",109,"9b49b",110,"3c770",111,"18548",112,"8defa",113,"2cea6",114,"4c3c1",115,"cab1b",116,"9f996",117,"54e4a",118,"4633c",119,"b3270",120,"4a09d",121,"a4504"]}}
\ No newline at end of file
window.__require=function t(e,n,i){function a(r,c){if(!n[r]){if(!e[r]){var s=r.split("/");if(s=s[s.length-1],!e[s]){var h="function"==typeof __require&&__require;if(!c&&h)return h(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+r+"'")}r=s}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){return a(e[r][1][t]||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof __require&&__require,r=0;r<i.length;r++)a(i[r]);return a}({PS02:[function(t,e){"use strict";cc._RF.push(e,"8b6622IIfBDFrKy2BvAvT4U","PS02"),cc.Class({extends:cc.Component,properties:{},start:function(){}}),cc._RF.pop()},{}],scene:[function(t,e){"use strict";cc._RF.push(e,"1e6c5bmzb5Cw7tGU+6pyb+T","scene");var n,i=t("./util");cc.Class(((n={extends:cc.Component,properties:{baseWidth:1280,baseHeight:720},onLoad:function(){cc.debug.setDisplayStats(!1),this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,canvas:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var n=cc.winSize.width/e.width,i=cc.winSize.height/e.height;this._cocosScale=Math.min(n,i),n=e.width/this._designSize.width,i=e.height/this._designSize.height,this._mapScaleMin=Math.min(n,i)*this._cocosScale,this._mapScaleMax=Math.max(n,i)*this._cocosScale,this.canvas=cc.find("Canvas")},start:function(){var t=this;this.getData(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.preload()},getData:function(t){if(window&&window.courseware)window.courseware.getData(t,"Z_05_nxuan1");else{var e=cc.find("middleLayer");e?e.getComponent("middleLayer").getData(t):t(this.getDefaultData())}},getDefaultData:function(){return JSON.parse('{"groupArr":[{"ques":"","optionArr":[{"text":"A"},{"text":"pp","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/b75df34ef55bd1c6e3a799f1dac87fec.mp3"},{"text":"l","isEmpty":false,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"e","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/3c070a33d021725219ab7eec9e60cb39.mp3"},{"text":"l","isEmpty":true},{"text":"l","isEmpty":true}],"wrongArr":[{"text":"acw","audio_url":"http://staging-teach.cdn.ireadabc.com/736c616e8b66a3ae03c8e8636ca46f0f.mp3"},{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/89060c9eddd5f0f67908cce77ee74f94.mp3"}],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/991a9dd15e889ee4ff13538e49f6a0d7.png"},{"ques":"","optionArr":[{"text":"O","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/1961d807c944e6551af02c7b57e117f3.mp3"},{"text":"r","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"},{"text":"an"},{"text":"g","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/70f35e529377b982daebc23ad92fa670.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/0128a59057e63c4c6b4b96556d077a98.mp3"}],"wrongArr":[{"text":"c","audio_url":"http://staging-teach.cdn.ireadabc.com/9259e1b99cc17f61210e7edc17f1d697.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/f6f4bbef497409fef3c8f1d375893829.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},{"ques":"","optionArr":[{"text":"F","audio_url":"http://staging-teach.cdn.ireadabc.com/c870b402b69186efb491d62f8da98d24.mp3","isEmpty":true},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/ed1a2dc4bfa7d35041ca94d1badde8ed.mp3","isEmpty":true},{"text":"r"},{"text":"e"},{"text":"f"},{"text":"i"},{"text":"h"},{"text":"h","isEmpty":true,"audio_url":"http://staging-teach.cdn.ireadabc.com/0d11dcd7138f61dbead3dfaa5eb84b47.mp3"},{"text":"t"},{"text":"e"},{"text":"r"}],"wrongArr":[],"word_audio_url":"http://staging-teach.cdn.ireadabc.com/78ba347c18b181fd4550d30bb14c90c5.mp3"}],"isHideShadow":true}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++)this._imageResList.push({url:t[e].pic_url||""})},addPreloadAudio:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++){for(var n=t[e].optionArr,i=0;i<n.length;i++)this._audioResList.push({url:n[i].audio_url||""});this._audioResList.push({url:t[e].audio_url||""}),this._audioResList.push({url:t[e].word_audio_url||""})}},addPreloadAnima:function(){},loadEnd:function(){this.initData(),this.initView(),this.initListener()},initMusic:function(){cc.assetManager.loadRemote(this.data.bg_audio_url,function(t,e){cc.audioEngine.setMusicVolume(.3),cc.audioEngine.playMusic(e,!0)})},groupIndex:null,wordDisWidth:null,_curShowItem:null,emptyGroupArr:null,initData:function(){this.groupIndex=0,this.wordDisWidth=10,this.initCurGroup(),this.initAudioEffect()},rightClip:null,wrongClip:null,bigStarClip:null,nextClip:null,endClip:null,initAudioEffect:function(){this.rightClip=cc.find("Canvas/res/audio/right").getComponent(cc.AudioSource).clip,this.wrongClip=cc.find("Canvas/res/audio/wrong").getComponent(cc.AudioSource).clip,this.bigStarClip=cc.find("Canvas/res/audio/big_star").getComponent(cc.AudioSource).clip,this.nextClip=cc.find("Canvas/res/audio/next").getComponent(cc.AudioSource).clip,this.endClip=cc.find("Canvas/res/audio/end").getComponent(cc.AudioSource).clip},curGroup:null,initCurGroup:function(){this.curGroup=JSON.parse(JSON.stringify(this.data.groupArr[this.groupIndex]))},initListener:function(){var t=this,e=cc.find("Canvas"),n=!1,i=function(n){t.canvasTouchMove(n),e.hasEventListener(cc.Node.EventType.MOUSE_MOVE)&&e.off(cc.Node.EventType.MOUSE_MOVE,a)},a=function(a){n&&(t.canvasTouchMove(a),e.hasEventListener(cc.Node.EventType.TOUCH_MOVE)&&(e.off(cc.Node.EventType.TOUCH_MOVE,i),t.removeHtmlCanvasListener("touchmove")))},o=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.MOUSE_UP)&&e.off(cc.Node.EventType.MOUSE_UP,r),e.hasEventListener(cc.Node.EventType.MOUSE_LEAVE)&&e.off(cc.Node.EventType.MOUSE_LEAVE,r),t.removeHtmlTouchEnd()},r=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.TOUCH_END)&&e.off(cc.Node.EventType.TOUCH_END,o),e.hasEventListener(cc.Node.EventType.TOUCH_CANCEL)&&e.off(cc.Node.EventType.TOUCH_CANCEL,o)};e.on(cc.Node.EventType.TOUCH_MOVE,i),e.on(cc.Node.EventType.MOUSE_MOVE,a),e.on(cc.Node.EventType.TOUCH_END,o),e.on(cc.Node.EventType.TOUCH_CANCEL,o),e.on(cc.Node.EventType.MOUSE_UP,r)},removeHtmlCanvasListener:function(t){document.querySelector("canvas").addEventListener(t,function(){})},removeHtmlTouchEnd:function(){document.querySelector("canvas").removeEventListener("touchend",this.htmlCanvasTouchendFunc,this)},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(){this._curShowItem&&(this.checkOnEmptyLetter(),this._curShowItem=null)},initView:function(){this.initQuestion(),this.initAnswerGroup(),this.initStar(),this.refreshWordNode()},bigStarArr:null,initStar:function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},initQuestion:function(){this.initQuestionPanel(),this.initQuestionLabel(),this.initQuestionSound()},panel:null,initQuestionPanel:function(){var t=(0,i.getSprNode)("panel");t.scale=this._mapScaleMin,t.x=0,t.y=170*this._mapScaleMin,this.canvas.addChild(t),this.panel=t,this.refreshCurPic()},refreshCurPic:function(){var t=this;(0,i.getSprNodeByUrl)(this.curGroup.pic_url,function(e){var n=t.panel.pic,a=function(){cc.tween(e.node).to(.3,{opacity:255},{easing:"sineInOut"}).start(),t.playQuestionSound()};t.panel.addChild(e.node),e.node.y=10;var o=489/e.node.width,r=290/e.node.height;e.node.scale=Math.min(o,r),t.panel.pic=e.node,e.node.opacity=0,n?(cc.tween(n).to(.2,{opacity:0},{easing:"sineOut"}).call(function(){n.removeFromParent(),a()}).start(),(0,i.playAudioByUrl)(t.nextClip)):a()})},soundNode:null,initQuestionSound:function(){var t=this,e=new cc.Node;e.x=this.panel.width/2-30,e.y=this.panel.height/2-30,e.parent=this.panel,e.zIndex=12,this.soundNode=e;var n=cc.find("Canvas/btn_laba");n.parent=e,n.x=0,n.y=0,e.anima=n;var a=(0,i.getSprNode)("btn_laba");e.addChild(a,2),e.icon=a,a.addComponent(cc.Button),a.on("click",function(){t.playQuestionSound()})},playQuestionSound:function(){var t=this;this.soundNode.icon.active=!1;var e=this.soundNode.anima.getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t.soundNode.icon.active=!0})},wordNode:null,initQuestionLabel:function(){var t=new cc.Node;t.scale=.9*this._mapScaleMin,this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.canvas.addChild(t),this.wordNode=t;for(var o=t.width,r=0;r<t.children.length;r++)t.children[r].x-=o/2},refreshQuestionLabel:function(){var t=this;cc.tween(this.wordNode).to(.2,{opacity:0},{easing:"cubicIn"}).call(function(){t.resetWordNode()}).to(.3,{opacity:255},{easing:"cubicInOut"}).start()},resetWordNode:function(){var t=this.wordNode;t.width=0,t.removeAllChildren(),this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.refreshWordNode()},getLetterGroup:function(t,e){void 0===e&&(e=!0);var n=t.text,a=new cc.Node;a.width=this.wordDisWidth,a.data=t,a.emptyArr=[],a.letterArr=[];for(var o=!!e&&t.isEmpty,r=0;r<n.length;r++){var c=this.getLetterResName(n[r],!1);console.log("resName: ",c);var s=(0,i.getSprNode)(c);if(a.addChild(s),s.x=a.width+s.width/2,a.width+=s.width+this.wordDisWidth,a.height=s.height,a.letterArr.push(s),o){var h=this.getLetterResName(n[r],o),d=(0,i.getSprNode)(h);a.addChild(d),d.x=s.x,d.y=12,a.emptyArr.push(d)}}o&&(this.hideGroupLetter(a),this.data.isHideShadow&&this.changeShadowToBg(a));for(var u=a.width,l=0;l<a.children.length;l++)a.children[l].x-=u/2;return a},changeShadowToBg:function(t){for(var e=t.emptyArr,n=0;n<e.length;n++)e[n].removeFromParent();var a=(0,i.getSprNode)("ques_bg");t.addChild(a),t.emptyArr=[a]},refreshWordNode:function(){console.log("this.wordNode: ",this.wordNode);for(var t=this.wordNode.children,e=0,n=0;n<t.length;n++){var i=t[n];this.refreshLetterGroup(i),i.x=e,e+=i.totalW+this.wordDisWidth}e-=this.wordDisWidth,this.wordNode.width=e;var a=this.wordNode,o=a.width;o>.9*this.canvas.width?a.scale=.9*this.canvas.width/o:a.scale=1;for(var r=0;r<a.children.length;r++)a.children[r].x-=o/2},refreshLetterGroup:function(t){var e,n=t.letterArr,i=t.emptyArr;console.log("letterArr: ",n),console.log("emptyArr: ",i);var a=n;i&&null!=(e=i[0])&&e.active&&(a=i),t.width=0;for(var o=0,r=0;r<a.length;r++)a[r].x=o+a[r].width/2,o+=a[r].width+this.wordDisWidth;t.totalW=o},showGroupLetter:function(t){console.log("showGroupLetter : ",t);for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!0;for(var a=0;a<n.length;a++)n[a].active=!1},hideGroupLetter:function(t){for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!1;for(var a=0;a<n.length;a++)n[a].active=!0},getLetterResName:function(t,e){return e?/[A-Z]/.test(t)?"letter_big_bg/"+t.toLowerCase()+"2_di":"letter_small_bg/"+t+"_di":/[A-Z]/.test(t)?"letter_big/"+t.toLowerCase()+"2":"letter_small/"+t},answerGroupArr:null,answerNode:null,initAnswerGroup:function(t){var e;void 0===t&&(t=!1),this.answerNode?this.answerNode.width=0:((e=new cc.Node).scale=this._mapScaleMin,this.answerNode=e,this.canvas.addChild(e)),e=this.answerNode;for(var n=this.getAnswerArr(),i=[],a=0;a<n.length;a++){var o=n[a],r=this.getLetterGroup(o,!1);this.addLetterDragListener(r),this.addLetterSound(o,r),r.x=e.width+r.width/2,e.addChild(r),e.width+=r.width+30,i.push(r)}var c=.9*this.canvas.width;e.width>c&&(e.scale=c/e.width),e.x=-e.width/2*e.scale,e.y=-230*this._mapScaleMin,this.answerGroupArr=i;for(var s=0;s<i.length;s++){var h=i[s],d=this.canvas.convertToNodeSpaceAR(h.parent.convertToWorldSpaceAR(cc.v2(h.x,h.y)));h.x=d.x,h.y=d.y,h.parent=this.canvas,h.scale=e.scale,h.baseX=h.x,h.baseY=h.y,h.baseS=h.scale,t&&(h.opacity=0,cc.tween(h).delay(.2).to(.3,{opacity:255},{easing:"cubicInOut"}).start())}},addLetterSound:function(t,e){t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,n){e.audioClip=n})},addLetterDragListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(){t.data.isEnd||(e._curShowItem=t,t.zIndex=3,t.tween&&t.tween.stop(),e.dragCurItem())})},getAnswerArr:function(){for(var t=this.curGroup.optionArr,e=[],n=0;n<t.length;n++)t[n].isEmpty&&e.push(t[n]);return e=e.concat(this.curGroup.wrongArr),(0,i.randomSortByArr)(e)},checkOnEmptyLetter:function(){console.log("emptyGroupArr: ",this.emptyGroupArr);for(var t=0;t<this.emptyGroupArr.length;t++){var e=this.emptyGroupArr[t];if(console.log("letterGroup.data: ",e.data),console.log("this._curShowItem.data: ",this._curShowItem.data),e.data&&e.data.text==this._curShowItem.data.text){console.log("data in ");var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(e.getBoundingBoxToWorld().contains(n))return console.log("rect in "),(0,i.removeItemFromArr)(this.emptyGroupArr,e),this.showLetterSuccess(e),void this.checkGroupEnd()}}this.letterBack()},letterBack:function(){if(this._curShowItem){(0,i.playAudio)(this.wrongClip);var t=this._curShowItem;t.tween=cc.tween(t).to(.5,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.zIndex=0,t.tween=null}).start()}},isDrag:null,dragCurItem:function(){this.isDrag=!0,this.playCurItemAudio()},playCurItemAnima:function(){if(this._curShowItem){var t=this._curShowItem;t.tween&&t.tween.stop();var e=this._curShowItem.baseS;t.tween=cc.tween(t).to(.075,{scaleX:1.22*e,scaleY:.78*e},{easing:"quadOut"}).to(.15,{scaleX:.95*e,scaleY:1.05*e},{easing:"quadInOut"}).to(.15,{scaleX:1.02*e,scaleY:.98*e},{easing:"quadInOut"}).to(.15,{scaleX:1*e,scaleY:1*e},{easing:"quadInOut"}).call(function(){t.tween=null}).start()}},playCurItemAudio:function(){var t=this;this._curShowItem&&this._curShowItem.audioClip&&(this.playEffectByAudioClip(this._curShowItem.audioClip,function(){t.isDrag&&t.playCurItemAudio()}),this.playCurItemAnima())},playEffectByAudioClip:function(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}},showLetterSuccess:function(t){console.log(" in showLetterSuccess"),this.showGroupLetter(t),this.refreshWordNode(),this.showDragSuccessAnima(t),this._curShowItem.active=!1},showDragSuccessAnima:function(t){var e=cc.find("Canvas/res/anima/right"),n=cc.instantiate(e);t.addChild(n,20),n.x=t.totalW/2,(0,i.playAudio)(this.rightClip)},checkGroupEnd:function(){var t=this;0==this.emptyGroupArr.length&&((0,i.delayCall)(.4,function(){t.showGroupEndAnima(),t.playWordAudio(),t.wrongLetterLeave()}),(0,i.delayCall)(1,function(){t.showBigStar()}))},wrongLetterLeave:function(){for(var t=this.answerGroupArr,e=0;e<t.length;e++)t[e].active&&this.showLetterLeaveAnima(t[e])},showLetterLeaveAnima:function(t){t.data.isEnd=!0,cc.tween(t).delay(1*Math.random()).to(1.5,{y:t.y-this.canvas.height,angle:520*Math.random()-260},{easing:"cubicIn"}).start()},showGroupEndAnima:function(){var t=this.wordNode.scale;cc.tween(this.wordNode).to(.4,{scaleX:1.3*t,scaleY:1.3*t},{easing:"quintOut"}).delay(.01).to(.4,{scaleX:1*t,scaleY:1*t},{easing:"quintIn"}).call(function(){}).start()},playWordAudio:function(){this.curGroup.word_audio_url&&(0,i.playAudioByUrl)(this.curGroup.word_audio_url,function(){})},enterNext:function(){},checkGameEnd:function(){if(this.groupIndex++,!this.data.groupArr[this.groupIndex])return console.log("this.gameEnd"),void this.gameEnd();this.initCurGroup(),this.refreshQuestionLabel(),this.refreshCurPic(),this.initAnswerGroup(!0)},holeArr:null,initHole:function(){this.holeArr=[];for(var t=100*this._mapScaleMin,e=260*this._mapScaleMin,n=(this.canvas.width-2*t-4*e)/3,i=-this.canvas.width/2+t+e/2,a=200*this._mapScaleMin,o=-this.canvas.height/2+260*this._mapScaleMin,r=0,c=0;c<8;c++){var s=this.getHole();this.canvas.addChild(s),this.holeArr.push(s),s.x=i+c%4*(e+n),s.y=o-r*a,3==c&&r++}}}).bigStarArr=null,n.initStar_=function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},n.startBtn=null,n.restartBtn=null,n.initBtn=function(){var t=this,e=cc.find("Canvas/btn_start");e.scale=this._mapScaleMin,e.active=!0,e.zIndex=50,e.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(e).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){e.active=!1,t.startBtnClicked(),t.addSoundBtnListner()}).start()}),this.startBtn=e;var n=cc.find("Canvas/btn_restart");n.zIndex=50,n.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(n).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){n.active=!1,t.restartBtnClicked()}).start()}),this.restartBtn=e},n.showSoundBtn=function(){var t=cc.find("Canvas/btn_laba");t.scale=this._mapScaleMin,t.zIndex=1},n.startBtnClicked=function(){var t=this;this.showQuestion(function(){cc.tween(t).delay(.3).call(function(){t.showPenguin()}).start()}),(0,i.playAudio)(this.btnClip)},n.restartBtnClicked=function(){this.groupIndex=0,this.initCurGroup(),this.hideBigStar(),this.startBtnClicked()},n.hideBigStar=function(){if(this.bigStarArr)for(var t=0;t<this.bigStarArr.length;t++)cc.tween(this.bigStarArr[t].star).to(.5,{scale:0},{easing:"cubicOut"}).start()},n.soundAnima=null,n.addSoundBtnListner=function(){var t=this,e=cc.find("Canvas/btn_laba");e.addComponent(cc.Button),e.on("click",function(){(0,i.playAudio)(t.btnClip,function(){t.showQuestion()})})},n.showQuestion=function(t){var e=cc.find("Canvas/btn_laba").getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t&&"function"==typeof t&&t()})},n.getHole=function(){var t=new cc.Node;t.scale=this._mapScaleMin;var e=(0,i.getSprNode)("hole_1");t.addChild(e,1);var n=(0,i.getSprNode)("hole_2");return t.addChild(n,10),t},n.showPenguin=function(){this.showOnePenguin()},n.showOnePenguin=function(){var t=this;if(!this.checkIsGroupEnd()){var e=this.getFreeHole();if(e){var n=this.getPenguin(),i=this.getOptionData();this.addPenguin(e,n,i)}else cc.tween(this).delay(.3).call(function(){t.showOnePenguin()}).start()}},n.getOptionData=function(){return(0,i.randomSortByArr)(this.curGroup.optionArr)[0]},n.getPenguin=function(){if(this.penguinPool.length>0)return this.penguinPool.shift();var t=new cc.Node,e=(0,i.RandomInt)(1,2),n=(0,i.getSprNode)("penguin_"+e);return t.penguin=n,this.addPenguinWrong(t,e),this.addTextPanel(t),this.addPicPanel(t),this.addClickNode(t),t.textPanel.y=n.height/2+t.textPanel.height/2-25,t.picPanel.y=n.height/2+t.picPanel.height/2-25,t.addChild(t.picPanel),t.addChild(t.textPanel),t.addChild(n),t.addChild(t.wrong),t},n.addClickNode=function(t){var e=this,n=new cc.Node;n.addComponent(cc.Button),n.width=270,n.height=180,n.anchorX=0,n.anchorY=0,n.on("click",function(){e.checkPenguinIsRight(t)}),t.addChild(n,10),n.x=-130,n.y=40,n.opacity=50},n.checkPenguinIsRight=function(t){t.data&&(this.isRightDuration||t.data.end||("1"==t.data.isRight?(this.showPenguinRight(t),t.data.end=!0):this.showPenguinWrong(t)))},n.isRightDuration=null,n.showPenguinRight=function(t){this.isRightDuration=!0,this.showAnimaStar(t),this.stopPenguin(t),this.showRightSound(t)},n.showPenguinWrong=function(t){t.penguin.active=!1,t.wrong.active=!0,(0,i.playAudio)(this.wrongClip)},n.showAnimaStar=function(t){var e=cc.find("Canvas/res/anima/star"),n=cc.instantiate(e);t.addChild(n,20),n.x=0,n.y=t.textPanel.y},n.checkNextStar=function(t){var e=this,n=t.data;console.log("this.curGroup: ",this.curGroup);var i=this.curGroup.optionArr,a=i.indexOf(n);-1!=a&&i.splice(a,1),this.checkIsGroupEnd()?this.showBigStar():cc.tween(this).delay(1).call(function(){e.showOnePenguin()}).start(),this.hideCurPenguin(t),this.isRightDuration=!1},n.hideCurPenguin=function(t){var e=this,n=t.hideData,i=n.downY,a=n.moveTime,o=n.panel,r=n.hole;cc.tween(t).call(function(){c()}).to(a,{y:i},{easing:"quadInOut"}).call(function(){t.active=!1,t.penguin.active=!0,t.wrong.active=!1,r.penguin=null,e.penguinPool.push(t),t.moveTween=null}).start();var c=function(){cc.tween(o).to(.3*a,{opacity:0}).call(function(){o.active=!1}).start()}},n.showBigStar=function(){var t=this;if(!this.bigStarArr||this.bigStarArr.length<=0)this.checkGameEnd();else{var e=this.bigStarArr[this.groupIndex],n=e.starBig;n.scale=1;var a=e.star;a.active=!0,a.scaleX=.7/e.scale,a.scaleY=1/e.scale,a.angle=90;var o=cc.find("Canvas"),r=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/2)),c=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/4));a.x=r.x,a.y=r.y-n.height,console.log("middlePos = "+JSON.stringify(c)),cc.tween(a).to(.3,{y:c.y+80},{easing:"quadOut"}).to(.1,{y:c.y+40,scaleX:1.2/e.scale,scaleY:.8/e.scale},{easing:"quadOut"}).to(.1,{y:c.y,scaleX:1/e.scale,scaleY:1/e.scale},{easing:"quadOut"}).delay(.1).to(.8,{angle:-720,scale:1}).start(),cc.tween(a).delay(.6).to(.8,{x:0},{easing:"quadIn"}).start(),cc.tween(a).delay(.6).to(.8,{y:0},{easing:"quadOut"}).start(),cc.tween(n).delay(.6).to(.8,{scale:0},{easing:"quadOut"}).call(function(){t.checkGameEnd()}).start(),(0,i.playAudio)(this.bigStarClip)}},n.gameEnd=function(){var t=this;this.playEndEffect(),cc.tween(this).delay(.2).call(function(){(0,i.onHomeworkFinish)(),t.showRestartBtn()}).start()},n.showRestartBtn=function(){var t=cc.find("Canvas/btn_restart");t.zIndex=20,t.active=!0,t.scale=0,cc.tween(t).to(1,{scale:this._mapScaleMin},{easing:"elasticOut"}).start()},n.playEndEffect=function(){(0,i.playAudio)(this.endClip);var t=cc.find("Canvas/Main Camera");t.zIndex=100,(0,i.showTrebleFirework)(t,cc.find("RibbonNodeBase").children)},n.checkIsGroupEnd=function(){for(var t=this.curGroup.optionArr,e=0;e<t.length;e++)if("1"==t[e].isRight)return!1;return!0},n.stopPenguin=function(t){t.moveTween&&(console.log("node.moveTween: ",t.moveTween),t.moveTween.stop())},n.showRightSound=function(t){var e=this;(0,i.playAudio)(this.rightClip,function(){t.data.audio_url?(0,i.playAudioByUrl)(t.data.audio_url,function(){e.checkNextStar(t)}):e.checkNextStar(t)})},n.addPenguinWrong=function(t,e){var n=(0,i.getSprNode)("penguin_"+e+"_wrong");n.active=!1,t.wrong=n},n.addTextPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_text");n.active=!1,t.textPanel=n;var a=new cc.Node,o=a.addComponent(cc.Label);n.addChild(a,5),o.fontSize=54,o.lineHeight=54,o.font=cc.find("Canvas/res/font/Berlin Sans FB").getComponent(cc.Label).font;var r=new cc.Color;cc.Color.fromHEX(r,"c1431d"),a.color=r,a.y=-2.5,n.label=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.addPicPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_pic");n.active=!1,t.picPanel=n;var a=new cc.Node,o=a.addComponent(cc.Sprite);n.addChild(a),a.y=0,n.spr=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.getFreeHole=function(){for(var t=(0,i.randomSortByArr)(this.holeArr),e=0;e<t.length;e++)if(!t[e].penguin)return t[e];return null},n.addPenguin=function(t,e,n){var a,o=this;e.active=!0,e.parent=t,e.zIndex=5,t.penguin=e,e.y=-180,a="text"==n.type?e.textPanel:e.picPanel,this.setPanelData(a,n);var r=.2+.1*Math.random(),c=1+2*Math.random();e.hideData={downY:-180,moveTime:r,panel:a,hole:t},e.moveTween=cc.tween(e).to(r,{y:0},{easing:"quadInOut"}).delay(c).call(function(){h()}).to(r,{y:-180},{easing:"quadInOut"}).call(function(){e.active=!1,e.penguin.active=!0,e.wrong.active=!1,t.penguin=null,o.penguinPool.push(e),e.moveTween=null}).start();var s=.3+2*Math.random();cc.tween(this).delay(s).call(function(){o.isRightDuration||o.showOnePenguin()}).start();var h=function(){cc.tween(a).to(.3*r,{opacity:0}).call(function(){a.active=!1}).start()};a.active=!0,a.opacity=0,cc.tween(a).to(.3*r,{opacity:255}).start(),(0,i.playAudio)(this.appearClip)},n.setPanelData=function(t,e){t.data=e,t.parent.data=e,"text"==e.type?this.setTextPanelData(t,e):this.setPicPanelData(t,e)},n.setTextPanelData=function(t,e){t.label.string=e.text,t.label._forceUpdateRenderData(!0),t.label.node.width>255?t.label.node.scale=255/t.label.node.width:t.label.node.scale=1},n.setPicPanelData=function(t,e){cc.loader.load({url:e.pic_url},function(e,n){var i=new cc.SpriteFrame(n);t.spr.spriteFrame=i;var a=215/n.width,o=135/n.height,r=Math.min(a,o);t.spr.node.scale=r})},n._cocosScale=null,n.initBg=function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,n=cc.winSize.height/t.height,i=Math.min(e,n);this._cocosScale=i;var a=cc.find("Canvas/bg");e=t.width/a.width,n=t.height/a.height,a.scale=Math.max(e,n)*i,a.anchorX=1,a.anchorY=0,a.x=t.width/2*i,a.y=-t.height/2*i;var o=cc.find("Canvas/bg"),r=new cc.Node;r.x=-o.x,r.y=-o.y,r.scaleX=o.scaleX,r.scaleY=o.scaleY,o.addChild(r);var c=r.addComponent(cc.Graphics);c.fillColor=this.data.bgColor||"#f9bd03",c.fillRect(-o.width/2,-o.height/2,o.width,o.height),c.fill()},n.initHotZone=function(){this.initHotZoneBg()},n.hotZoneBg=null,n.initHotZoneBg=function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas");var e=107*this._mapScaleMin+22;this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(n,i){t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;var a=new cc.Node;a.name="bgItemSpr";var o=new cc.SpriteFrame(i);a.addComponent(cc.Sprite).spriteFrame=o,a.width=t.hotZoneBg.width,a.height=t.hotZoneBg.height,a.parent=t.hotZoneBg,window.bg=a;var r=t.canvas.width/t.hotZoneBg.width,c=(t.canvas.height-e)/t.hotZoneBg.height,s=Math.min(r,c);t.hotZoneBg.scale=s,t.hotZoneBg.y=0-e/2,t.initHotZoneItem()})},n.initHotZoneItem=function(){var t=this;this.data.hotZoneItemArr.forEach(function(e){"0"==e.gIdx?t.setOneAnimaSmall(e):"1"==e.gIdx?t.setOnePic(e):"2"==e.gIdx?t.setOneRect(e):"3"==e.gIdx&&t.setOneAction(e)})},n.setOneAction=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.x,n.y,n.width,n.height,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=t["actionData_"+t.gIdx];if(o&&"text"==o.type){var r=this.setOneActionText(n,o);r.node.scale=a*t.fontScale,r._forceUpdateRenderData(!0)}},n.setOneActionText=function(t,e){var n=new cc.Node;n.parent=t;var i=n.addComponent(cc.Label);i.font=cc.find("Canvas/res/font/aharoni").getComponent(cc.Label).font,i.string=e.text,n.color=cc.Color.BLACK;for(var a=e.changeOption,o=[],r=0;r<a.length;r++){var c=a[r];if(console.log("opArr[0]",a[r]),"fontColor"==c[0]){var s=new cc.Color;cc.Color.fromHEX(s,c[1]),n.color=s}else"opacity"==c[0]?(n.opacity=Number(c[1]/100*255)+.1,o.push({item:n,option:'{"'+c[0]+'" : '+c[2]/100*255+"}",optionName:c[0]})):(i[c[0]]=c[1],o.push({item:i,option:'{"'+c[0]+'" : '+c[2]+"}",optionName:c[0]}))}return e.audio_url&&cc.assetManager.loadRemote(e.audio_url,function(t,e){n.audioClip=e}),i.lineHeight=i.fontSize,n.y+=t.height/2,n.x+=t.width/2,t.addComponent(cc.Button),t.on("click",function(){n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8)),n.isClicked,n.isClicked=!0;for(var t=0;t<o.length;t++){var i=o[t];"opacity"==i.optionName&&(console.log("~~~ ",i.item[i.optionName]),cc.tween(i.item).to(e.changeTime,JSON.parse(i.option)).start())}}),i},n.setOneAnimaSmall=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=new cc.Node;o.name="anima_"+t.index,this.hotZoneBg.addChild(o),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){o.audioClip=e});var r=o.addComponent(dragonBones.ArmatureDisplay);if(t.texPngData){var c=t.texPngData.url,s=t.skeJsonData.url,h=t.texJsonData.url;cc.loader.load(c,function(t,e){cc.loader.load({url:h,type:"txt"},function(t,i){cc.loader.load({url:s,type:"txt"},function(t,a){var c=new dragonBones.DragonBonesAtlasAsset;c.atlasJson=i,c.texture=e;var s=new dragonBones.DragonBonesAsset;s.dragonBonesJson=a,r.dragonAtlasAsset=c,r.dragonAsset=s;for(var h=JSON.parse(s.dragonBonesJson).armature,d=[],u=0;u<h.length;u++)d.push(h[u].name);if(d.length>0){var l=d[0];r.armatureName=l;for(var p=h[0].animation,g=[],f=0;f<p.length;f++)g.push(p[f].name);n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),o.audioClip&&(cc.audioEngine.stopAllEffects(),cc.director.emit("STOP_ALL_AUDIO"),cc.audioEngine.playEffect(o.audioClip,!1,.8)),g.length>0&&r.playAnimation(g[0],1)})}o.x=n.x+n.width/2,o.y=n.y+n.height/2;var v=n.width/o.width,m=n.height/o.height,w=Math.min(v,m);o.scale=w})})})}},n.setOnePic=function(t){var e=this,n=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="pic"+t.index,i.data=t,this.hotZoneBg.addChild(i),cc.loader.load({url:t.pic_url},function(a,o){i.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(o);var r=n/e.hotZoneBg.scaleY;i.width=t.rect.width*r,i.height=t.rect.height*r,i.x=-e.hotZoneBg.width/2+t.rect.x*r,i.y=e.hotZoneBg.height/2-t.rect.height*r-t.rect.y*r,i.anchorX=i.anchorY=0,t.audio_url&&e.addPicAudio(i)})},n.setOneRect=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill(),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){n.audioClip=e}),n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8))})},n.addPicAudio=function(t){var e=t.data;cc.assetManager.loadRemote(e.audio_url,function(e,n){t.audioClip=n}),t.addComponent(cc.Button),t.on("click",function(){t.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(t.audioClip,!1,.8))})},n)),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,n){"use strict";function i(t,e,n,i,a,o,r){try{var c=t[o](r),s=c.value}catch(h){return void n(h)}c.done?e(s):Promise.resolve(s).then(i,a)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(a,o){var r=t.apply(e,n);function c(t){i(r,a,o,c,s,"next",t)}function s(t){i(r,a,o,c,s,"throw",t)}c(void 0)})}}function o(t,e){void 0===e&&(e=0);var n=Math.max(t,e),i=Math.min(t,e);return Math.floor(Math.random()*(n-i)+i)}function r(t,e){cc.loader.load({url:t},function(t,n){var i=new cc.SpriteFrame(n);e&&e(i)})}function c(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}}function s(){return h.apply(this,arguments)}function h(){return(h=a(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,n){try{setTimeout(function(){t()},1e3*e)}catch(i){n(i)}}));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}cc._RF.push(e,"25ccfBBvfNLaoaDwk5MOf7U","util"),n.__esModule=!0,n.getPosByAngle=function(t,e){var n=t*Math.PI/180;return{x:Math.sin(n)*e,y:Math.cos(n)*e}},n.getAngleByPos=function(t,e,n,i){var a=Math.abs(t-n),o=Math.abs(e-i),r=o/Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),c=Math.acos(r),s=Math.floor(180/(Math.PI/c)*100)/100;return n>t&&i>e&&(s=180-s),n===t&&i>e&&(s=180),n>t&&i===e&&(s=90),n<t&&i>e&&(s=180+s),n<t&&i===e&&(s=270),n<t&&i<e&&(s=360-s),s},n.exchangeNodePos=function(t,e,n){return t.convertToNodeSpaceAR(e.convertToWorldSpaceAR(cc.v2(n.x,n.y)))},n.RandomInt=o,n.randomSortByArr=function(t){for(var e=[],n=t.concat();n.length>0;){var i=Math.floor(n.length*Math.random());e.push(n[i]),n.splice(i,1)}return e},n.setSprNodeMaxLen=function(t,e,n){var i=e/t.width,a=n/t.height,o=Math.min(i,a);t.scale=Math.round(1e3*o)/1e3},n.getSpriteFrimeByUrl=r,n.getSprNode=function(t){var e=cc.find("Canvas/res/img/"+t).getComponent(cc.Sprite).spriteFrame,n=new cc.Node;return n.addComponent(cc.Sprite).spriteFrame=e,n},n.getSprNodeByUrl=function(t,e){var n=(new cc.Node).addComponent(cc.Sprite);r(t,function(t){n.spriteFrame=t,e&&e(n)})},n.playAudio=c,n.playAudioByUrl=function(t,e){void 0===e&&(e=null),t?cc.assetManager.loadRemote(t,function(t,n){c(n,e)}):e&&"function"==typeof e&&e()},n.asyncDelay=s,n.showFireworks=u,n.asyncTweenTo=function(){return f.apply(this,arguments)},n.asyncTweenBy=v,n.showTrebleFirework=function(t,e){var n=new d(t,e);n.pos=cc.v2(0,-400),n.side=cc.v2(0,1e3),n.range=200,n.number=100,n.scalseRange=.4;var i=d.copy(n);i.pos=cc.v2(-600,-400),i.side=cc.v2(200,1e3);var a=d.copy(n);a.pos=cc.v2(600,-400),a.side=cc.v2(-200,1e3),u(n),u(i),u(a)},n.onHomeworkFinish=function(){var t=cc.find("middleLayer");if(t){var e=t.getComponent("middleLayer");"student"==e.role&&e.onHomeworkFinish(function(){})}else;},n.getRect=function(t,e,n,i,a){void 0===a&&(a=!0),a&&(t=-n/2,e=-i/2);var o=new cc.Node,r=o.addComponent(cc.Graphics);return r.lineWidth=2,r.strokeColor=cc.Color.BLACK,r.fillColor=cc.Color.GREEN.setA(50),r.rect(t,e,n,i),r.stroke(),r.fill(),o},n.removeItemFromArr=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.delayCall=function(t,e){return cc.tween({}).delay(t).call(function(){e&&e()}).start()},n.FireworkSettings=void 0;var d=function(){function t(t,e,n,i,a,o,r){void 0===n&&(n=cc.v2(0,0)),void 0===i&&(i=cc.v2(0,100)),void 0===a&&(a=50),void 0===o&&(o=100),void 0===r&&(r=0),this.baseNode=void 0,this.nodeList=void 0,this.pos=void 0,this.side=void 0,this.range=void 0,this.number=void 0,this.scalseRange=void 0,this.baseNode=t,this.nodeList=e,this.pos=n,this.side=i,this.range=a,this.number=o,this.scalseRange=r}return t.copy=function(e){return new t(e.baseNode,e.nodeList,e.pos,e.side,e.range,e.number)},t}();function u(){return l.apply(this,arguments)}function l(){return(l=a(regeneratorRuntime.mark(function t(e){var n,i,r,c,h,d,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.baseNode,i=e.nodeList,r=e.pos,c=e.side,h=e.range,d=e.number,u=e.scalseRange,new Array(d).fill(" ").forEach(function(){var t=a(regeneratorRuntime.mark(function t(){var e,a,d,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new cc.Node).parent=n,e.x=r.x,e.y=r.y,e.angle=60*Math.random()-30,(a=cc.instantiate(i[o(i.length)])).parent=e,a.active=!0,a.x=0,a.y=0,a.angle=0,a.scale=(Math.random()-.5)*u+1,d=Math.random(),l=Math.PI*(2*Math.random()-1),t.next=16,v(e,.3,{x:c.x*d+Math.cos(l)*h*d,y:c.y*d+Math.sin(l)*h*d},{easing:"quadIn"});case 16:return cc.tween(e).by(8,{y:-2e3}).start(),cc.tween(e).to(5,{scale:(Math.random()-.5)*u+1}).start(),p(e),t.next=21,s(Math.random());case 21:cc.tween(a).by(.15,{x:-10,angle:-10}).by(.3,{x:20,angle:20}).by(.15,{x:-10,angle:-10}).union().repeatForever().start(),cc.tween(e).delay(5).to(.3,{opacity:0}).call(function(){a.stopAllActions(),a.active=!1,a.parent=null,a=null}).start();case 23:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return g.apply(this,arguments)}function g(){return(g=a(regeneratorRuntime.mark(function t(e){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=1+Math.random(),i=o(-200,200)*n,t.next=4,v(e,n,{x:i,angle:60*i/200});case 4:p(e);case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(){return(f=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).to(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(){return m.apply(this,arguments)}function m(){return(m=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).by(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}n.FireworkSettings=d,cc._RF.pop()},{}]},{},["PS02","scene","util"]); window.__require=function t(e,n,i){function a(r,c){if(!n[r]){if(!e[r]){var s=r.split("/");if(s=s[s.length-1],!e[s]){var h="function"==typeof __require&&__require;if(!c&&h)return h(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+r+"'")}r=s}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){return a(e[r][1][t]||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof __require&&__require,r=0;r<i.length;r++)a(i[r]);return a}({PS02:[function(t,e){"use strict";cc._RF.push(e,"8b6622IIfBDFrKy2BvAvT4U","PS02"),cc.Class({extends:cc.Component,properties:{},start:function(){}}),cc._RF.pop()},{}],scene:[function(t,e){"use strict";cc._RF.push(e,"1e6c5bmzb5Cw7tGU+6pyb+T","scene");var n,i=t("./util");cc.Class(((n={extends:cc.Component,properties:{baseWidth:1280,baseHeight:720},onLoad:function(){cc.debug.setDisplayStats(!1),this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,_frameSize:null,_mapScaleMin:null,_mapScaleMax:null,_cocosScale:null,canvas:null,initSize:function(){var t=cc.view.getFrameSize().width/cc.view.getFrameSize().height>=cc.Canvas.instance.designResolution.width/cc.Canvas.instance.designResolution.height;cc.Canvas.instance.fitHeight=t,cc.Canvas.instance.fitWidth=!t;var e=cc.view.getFrameSize();this._frameSize=e,this._designSize=cc.view.getDesignResolutionSize();var n=cc.winSize.width/e.width,i=cc.winSize.height/e.height;this._cocosScale=Math.min(n,i),n=e.width/this._designSize.width,i=e.height/this._designSize.height,this._mapScaleMin=Math.min(n,i)*this._cocosScale,this._mapScaleMax=Math.max(n,i)*this._cocosScale,this.canvas=cc.find("Canvas")},start:function(){var t=this;this.getData(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.preload()},getData:function(t){if(window&&window.courseware)window.courseware.getData(t,"Z_05_nxuan1");else{var e=cc.find("middleLayer");e?e.getComponent("middleLayer").getData(t):t(this.getDefaultData())}},getDefaultData:function(){return JSON.parse('{"groupArr":[{"ques":"","optionArr":[{"text":"t","audio_url":"http://staging-teach.cdn.ireadabc.com/163441a48b0325b021baddfa3cdc1f3d.mp3"},{"text":"i","audio_url":"http://staging-teach.cdn.ireadabc.com/3a2459fbf41e71d847dbc1e1d8344174.mp3","isEmpty":true},{"text":"m","audio_url":"http://staging-teach.cdn.ireadabc.com/0f743e137f343f7fe09419c981be894d.mp3"},{"text":"e","audio_url":"http://staging-teach.cdn.ireadabc.com/1fe2d4e53ced46e1f92abdf6f254161e.mp3","isEmpty":true}],"wrongArr":[{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3"},{"text":"p","audio_url":"http://staging-teach.cdn.ireadabc.com/4490c2c78484295467c9659032e7e246.mp3"}],"pic_url":"http://staging-teach.cdn.ireadabc.com/43ccaa0f07e6458066cc0bd8513abd8c.png","word_audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3","audio_url":"http://staging-teach.cdn.ireadabc.com/50c895494d5761769dd2401e7f2d3ecc.mp3"},{"ques":"","optionArr":[{"text":"w","audio_url":"http://staging-teach.cdn.ireadabc.com/e59508fcb910512285616b9c198228e0.mp3"},{"text":"o","audio_url":"http://staging-teach.cdn.ireadabc.com/937fc595d0bd23321fc3559a97e0aa55.mp3","isEmpty":true},{"text":"r","audio_url":"http://staging-teach.cdn.ireadabc.com/59a72e6ecfa057f8f6da2626a96d3669.mp3"},{"text":"k","audio_url":"http://staging-teach.cdn.ireadabc.com/e43be13f630211e8dd6411d5d8c3a7e8.mp3","isEmpty":true}],"wrongArr":[{"text":"s","audio_url":"http://staging-teach.cdn.ireadabc.com/908f9b5631cc7e6c5fb203ca58b637c1.mp3"},{"text":"u","audio_url":"http://staging-teach.cdn.ireadabc.com/379b7c13ba6268c7519ece40afde9af9.mp3"}],"audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","word_audio_url":"http://staging-teach.cdn.ireadabc.com/5ff4a9aef01f1ed5fac35a3d299968d5.mp3","pic_url":"http://staging-teach.cdn.ireadabc.com/cf03dee298a89e23014e3269b3ab8680.png"}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(){t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++)this._imageResList.push({url:t[e].pic_url||""})},addPreloadAudio:function(){var t=this.data.groupArr;if(t)for(var e=0;e<t.length;e++){for(var n=t[e].optionArr,i=0;i<n.length;i++)this._audioResList.push({url:n[i].audio_url||""});this._audioResList.push({url:t[e].audio_url||""}),this._audioResList.push({url:t[e].word_audio_url||""})}},addPreloadAnima:function(){},loadEnd:function(){this.initData(),this.initView(),this.initListener()},initMusic:function(){cc.assetManager.loadRemote(this.data.bg_audio_url,function(t,e){cc.audioEngine.setMusicVolume(.3),cc.audioEngine.playMusic(e,!0)})},groupIndex:null,wordDisWidth:null,_curShowItem:null,emptyGroupArr:null,initData:function(){this.groupIndex=0,this.wordDisWidth=10,this.initCurGroup(),this.initAudioEffect()},rightClip:null,wrongClip:null,bigStarClip:null,nextClip:null,endClip:null,initAudioEffect:function(){this.rightClip=cc.find("Canvas/res/audio/right").getComponent(cc.AudioSource).clip,this.wrongClip=cc.find("Canvas/res/audio/wrong").getComponent(cc.AudioSource).clip,this.bigStarClip=cc.find("Canvas/res/audio/big_star").getComponent(cc.AudioSource).clip,this.nextClip=cc.find("Canvas/res/audio/next").getComponent(cc.AudioSource).clip,this.endClip=cc.find("Canvas/res/audio/end").getComponent(cc.AudioSource).clip},curGroup:null,initCurGroup:function(){this.curGroup=JSON.parse(JSON.stringify(this.data.groupArr[this.groupIndex]))},initListener:function(){var t=this,e=cc.find("Canvas"),n=!1,i=function(n){t.canvasTouchMove(n),e.hasEventListener(cc.Node.EventType.MOUSE_MOVE)&&e.off(cc.Node.EventType.MOUSE_MOVE,a)},a=function(a){n&&(t.canvasTouchMove(a),e.hasEventListener(cc.Node.EventType.TOUCH_MOVE)&&(e.off(cc.Node.EventType.TOUCH_MOVE,i),t.removeHtmlCanvasListener("touchmove")))},o=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.MOUSE_UP)&&e.off(cc.Node.EventType.MOUSE_UP,r),e.hasEventListener(cc.Node.EventType.MOUSE_LEAVE)&&e.off(cc.Node.EventType.MOUSE_LEAVE,r),t.removeHtmlTouchEnd()},r=function(i){n=!1,t.canvasTouchEnd(i),e.hasEventListener(cc.Node.EventType.TOUCH_END)&&e.off(cc.Node.EventType.TOUCH_END,o),e.hasEventListener(cc.Node.EventType.TOUCH_CANCEL)&&e.off(cc.Node.EventType.TOUCH_CANCEL,o)};e.on(cc.Node.EventType.TOUCH_MOVE,i),e.on(cc.Node.EventType.MOUSE_MOVE,a),e.on(cc.Node.EventType.TOUCH_END,o),e.on(cc.Node.EventType.TOUCH_CANCEL,o),e.on(cc.Node.EventType.MOUSE_UP,r)},removeHtmlCanvasListener:function(t){document.querySelector("canvas").addEventListener(t,function(){})},removeHtmlTouchEnd:function(){document.querySelector("canvas").removeEventListener("touchend",this.htmlCanvasTouchendFunc,this)},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(){this._curShowItem&&(this.checkOnEmptyLetter(),this._curShowItem=null)},initView:function(){this.initQuestion(),this.initAnswerGroup(),this.initStar(),this.refreshWordNode()},bigStarArr:null,initStar:function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},initQuestion:function(){this.initQuestionPanel(),this.initQuestionLabel(),this.initQuestionSound()},panel:null,initQuestionPanel:function(){var t=(0,i.getSprNode)("panel");t.scale=this._mapScaleMin,t.x=0,t.y=170*this._mapScaleMin,this.canvas.addChild(t),this.panel=t,this.refreshCurPic()},refreshCurPic:function(){var t=this;(0,i.getSprNodeByUrl)(this.curGroup.pic_url,function(e){var n=t.panel.pic,a=function(){cc.tween(e.node).to(.3,{opacity:255},{easing:"sineInOut"}).start(),t.playQuestionSound()};t.panel.addChild(e.node),e.node.y=10;var o=489/e.node.width,r=290/e.node.height;e.node.scale=Math.min(o,r),t.panel.pic=e.node,e.node.opacity=0,n?(cc.tween(n).to(.2,{opacity:0},{easing:"sineOut"}).call(function(){n.removeFromParent(),a()}).start(),(0,i.playAudioByUrl)(t.nextClip)):a()})},soundNode:null,initQuestionSound:function(){var t=this,e=new cc.Node;e.x=this.panel.width/2-30,e.y=this.panel.height/2-30,e.parent=this.panel,e.zIndex=12,this.soundNode=e;var n=cc.find("Canvas/btn_laba");n.parent=e,n.x=0,n.y=0,e.anima=n;var a=(0,i.getSprNode)("btn_laba");e.addChild(a,2),e.icon=a,a.addComponent(cc.Button),a.on("click",function(){t.playQuestionSound()})},playQuestionSound:function(){var t=this;this.soundNode.icon.active=!1;var e=this.soundNode.anima.getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t.soundNode.icon.active=!0})},wordNode:null,initQuestionLabel:function(){var t=new cc.Node;t.scale=.9*this._mapScaleMin,this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.canvas.addChild(t),this.wordNode=t;for(var o=t.width,r=0;r<t.children.length;r++)t.children[r].x-=o/2},refreshQuestionLabel:function(){var t=this;cc.tween(this.wordNode).to(.2,{opacity:0},{easing:"cubicIn"}).call(function(){t.resetWordNode()}).to(.3,{opacity:255},{easing:"cubicInOut"}).start()},resetWordNode:function(){var t=this.wordNode;t.width=0,t.removeAllChildren(),this.emptyGroupArr=[];for(var e=this.curGroup.optionArr,n=0;n<e.length;n++){var i=e[n],a=this.getLetterGroup(i);a.x=t.width+a.width/2,t.addChild(a),t.width+=a.width,i.isEmpty&&this.emptyGroupArr.push(a)}t.y=this.panel.y-247*this._mapScaleMin,this.refreshWordNode()},getLetterGroup:function(t,e){void 0===e&&(e=!0);var n=t.text,a=new cc.Node;a.width=this.wordDisWidth,a.data=t,a.emptyArr=[],a.letterArr=[];for(var o=!!e&&t.isEmpty,r=0;r<n.length;r++){var c=this.getLetterResName(n[r],!1);console.log("resName: ",c);var s=(0,i.getSprNode)(c);if(a.addChild(s),s.x=a.width+s.width/2,a.width+=s.width+this.wordDisWidth,a.height=s.height,a.letterArr.push(s),o){var h=this.getLetterResName(n[r],o),d=(0,i.getSprNode)(h);a.addChild(d),d.x=s.x,d.y=12,a.emptyArr.push(d)}}o&&(this.hideGroupLetter(a),this.data.isHideShadow&&this.changeShadowToBg(a));for(var u=a.width,l=0;l<a.children.length;l++)a.children[l].x-=u/2;return a},changeShadowToBg:function(t){for(var e=t.emptyArr,n=0;n<e.length;n++)e[n].removeFromParent();var a=(0,i.getSprNode)("ques_bg");t.addChild(a),t.emptyArr=[a]},refreshWordNode:function(){console.log("this.wordNode: ",this.wordNode);for(var t=this.wordNode.children,e=0,n=0;n<t.length;n++){var i=t[n];this.refreshLetterGroup(i),i.x=e,e+=i.totalW+this.wordDisWidth}e-=this.wordDisWidth,this.wordNode.width=e;var a=this.wordNode,o=a.width;o>.9*this.canvas.width?a.scale=.9*this.canvas.width/o:a.scale=1;for(var r=0;r<a.children.length;r++)a.children[r].x-=o/2},refreshLetterGroup:function(t){var e,n=t.letterArr,i=t.emptyArr;console.log("letterArr: ",n),console.log("emptyArr: ",i);var a=n;i&&(null==(e=i[0])?void 0:e.active)&&(a=i),t.width=0;for(var o=0,r=0;r<a.length;r++)a[r].x=o+a[r].width/2,o+=a[r].width+this.wordDisWidth;t.totalW=o},showGroupLetter:function(t){console.log("showGroupLetter : ",t);for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!0;for(var a=0;a<n.length;a++)n[a].active=!1},hideGroupLetter:function(t){for(var e=t.letterArr,n=t.emptyArr,i=0;i<e.length;i++)e[i].active=!1;for(var a=0;a<n.length;a++)n[a].active=!0},getLetterResName:function(t,e){return e?/[A-Z]/.test(t)?"letter_big_bg/"+t.toLowerCase()+"2_di":"letter_small_bg/"+t+"_di":/[A-Z]/.test(t)?"letter_big/"+t.toLowerCase()+"2":"letter_small/"+t},answerGroupArr:null,answerNode:null,initAnswerGroup:function(t){var e;void 0===t&&(t=!1),this.answerNode?this.answerNode.width=0:((e=new cc.Node).scale=this._mapScaleMin,this.answerNode=e,this.canvas.addChild(e)),e=this.answerNode;for(var n=this.getAnswerArr(),i=[],a=0;a<n.length;a++){var o=n[a],r=this.getLetterGroup(o,!1);this.addLetterDragListener(r),this.addLetterSound(o,r),r.x=e.width+r.width/2,e.addChild(r),e.width+=r.width+30,i.push(r)}var c=.9*this.canvas.width;e.width>c&&(e.scale=c/e.width),e.x=-e.width/2*e.scale,e.y=-230*this._mapScaleMin,this.answerGroupArr=i;for(var s=0;s<i.length;s++){var h=i[s],d=this.canvas.convertToNodeSpaceAR(h.parent.convertToWorldSpaceAR(cc.v2(h.x,h.y)));h.x=d.x,h.y=d.y,h.parent=this.canvas,h.scale=e.scale,h.baseX=h.x,h.baseY=h.y,h.baseS=h.scale,t&&(h.opacity=0,cc.tween(h).delay(.2).to(.3,{opacity:255},{easing:"cubicInOut"}).start())}},addLetterSound:function(t,e){t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,n){e.audioClip=n})},addLetterDragListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(){t.data.isEnd||(e._curShowItem=t,t.zIndex=3,t.tween&&t.tween.stop(),e.dragCurItem())})},getAnswerArr:function(){for(var t=this.curGroup.optionArr,e=[],n=0;n<t.length;n++)t[n].isEmpty&&e.push(t[n]);return e=e.concat(this.curGroup.wrongArr),(0,i.randomSortByArr)(e)},checkOnEmptyLetter:function(){console.log("emptyGroupArr: ",this.emptyGroupArr);for(var t=0;t<this.emptyGroupArr.length;t++){var e=this.emptyGroupArr[t];if(console.log("letterGroup.data: ",e.data),console.log("this._curShowItem.data: ",this._curShowItem.data),e.data&&e.data.text==this._curShowItem.data.text){console.log("data in ");var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(e.getBoundingBoxToWorld().contains(n))return console.log("rect in "),(0,i.removeItemFromArr)(this.emptyGroupArr,e),this.showLetterSuccess(e),void this.checkGroupEnd()}}this.letterBack()},letterBack:function(){if(this._curShowItem){(0,i.playAudio)(this.wrongClip);var t=this._curShowItem;t.tween=cc.tween(t).to(.5,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.zIndex=0,t.tween=null}).start()}},isDrag:null,dragCurItem:function(){this.isDrag=!0,this.playCurItemAudio()},playCurItemAnima:function(){if(this._curShowItem){var t=this._curShowItem;t.tween&&t.tween.stop();var e=this._curShowItem.baseS;t.tween=cc.tween(t).to(.075,{scaleX:1.22*e,scaleY:.78*e},{easing:"quadOut"}).to(.15,{scaleX:.95*e,scaleY:1.05*e},{easing:"quadInOut"}).to(.15,{scaleX:1.02*e,scaleY:.98*e},{easing:"quadInOut"}).to(.15,{scaleX:1*e,scaleY:1*e},{easing:"quadInOut"}).call(function(){t.tween=null}).start()}},playCurItemAudio:function(){var t=this;this._curShowItem&&this._curShowItem.audioClip&&(this.playEffectByAudioClip(this._curShowItem.audioClip,function(){t.isDrag&&t.playCurItemAudio()}),this.playCurItemAnima())},playEffectByAudioClip:function(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}},showLetterSuccess:function(t){console.log(" in showLetterSuccess"),this.showGroupLetter(t),this.refreshWordNode(),this.showDragSuccessAnima(t),this._curShowItem.active=!1},showDragSuccessAnima:function(t){var e=cc.find("Canvas/res/anima/right"),n=cc.instantiate(e);t.addChild(n,20),n.x=t.totalW/2,(0,i.playAudio)(this.rightClip)},checkGroupEnd:function(){var t=this;0==this.emptyGroupArr.length&&((0,i.delayCall)(.4,function(){t.showGroupEndAnima(),t.playWordAudio(),t.wrongLetterLeave()}),(0,i.delayCall)(1,function(){t.showBigStar()}))},wrongLetterLeave:function(){for(var t=this.answerGroupArr,e=0;e<t.length;e++)t[e].active&&this.showLetterLeaveAnima(t[e])},showLetterLeaveAnima:function(t){t.data.isEnd=!0,cc.tween(t).delay(1*Math.random()).to(1.5,{y:t.y-this.canvas.height,angle:520*Math.random()-260},{easing:"cubicIn"}).start()},showGroupEndAnima:function(){var t=this.wordNode.scale;cc.tween(this.wordNode).to(.4,{scaleX:1.3*t,scaleY:1.3*t},{easing:"quintOut"}).delay(.01).to(.4,{scaleX:1*t,scaleY:1*t},{easing:"quintIn"}).call(function(){}).start()},playWordAudio:function(){this.curGroup.word_audio_url&&(0,i.playAudioByUrl)(this.curGroup.word_audio_url,function(){})},enterNext:function(){},checkGameEnd:function(){if(this.groupIndex++,!this.data.groupArr[this.groupIndex])return console.log("this.gameEnd"),void this.gameEnd();this.initCurGroup(),this.refreshQuestionLabel(),this.refreshCurPic(),this.initAnswerGroup(!0)},holeArr:null,initHole:function(){this.holeArr=[];for(var t=100*this._mapScaleMin,e=260*this._mapScaleMin,n=(this.canvas.width-2*t-4*e)/3,i=-this.canvas.width/2+t+e/2,a=200*this._mapScaleMin,o=-this.canvas.height/2+260*this._mapScaleMin,r=0,c=0;c<8;c++){var s=this.getHole();this.canvas.addChild(s),this.holeArr.push(s),s.x=i+c%4*(e+n),s.y=o-r*a,3==c&&r++}}}).bigStarArr=null,n.initStar_=function(){var t=this.data.groupArr;if(!(t.length<=1)){this.bigStarArr=[];var e=this.canvas.width/2-80*this._mapScaleMin,n=this.canvas.height/2-80*this._mapScaleMin,a=80*this._mapScaleMin,o=1;t.length>5&&(a=400/t.length*this._mapScaleMin,o=5/t.length);for(var r=0;r<t.length;r++){var c=(0,i.getSprNode)("star_bg");this.canvas.addChild(c,2),c.x=e,c.y=n-r*a,c.scale=o;var s=(0,i.getSprNode)("star");c.addChild(s),s.active=!1,c.star=s;var h=(0,i.getSprNode)("icon_bigstar");s.addChild(h),h.angle=-90,c.starBig=h,this.bigStarArr.push(c)}}},n.startBtn=null,n.restartBtn=null,n.initBtn=function(){var t=this,e=cc.find("Canvas/btn_start");e.scale=this._mapScaleMin,e.active=!0,e.zIndex=50,e.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(e).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){e.active=!1,t.startBtnClicked(),t.addSoundBtnListner()}).start()}),this.startBtn=e;var n=cc.find("Canvas/btn_restart");n.zIndex=50,n.on(cc.Node.EventType.TOUCH_START,function(){console.log(" in click"),cc.tween(n).to(.05,{scale:.9*t._mapScaleMin}).to(.05,{scale:1*t._mapScaleMin}).call(function(){n.active=!1,t.restartBtnClicked()}).start()}),this.restartBtn=e},n.showSoundBtn=function(){var t=cc.find("Canvas/btn_laba");t.scale=this._mapScaleMin,t.zIndex=1},n.startBtnClicked=function(){var t=this;this.showQuestion(function(){cc.tween(t).delay(.3).call(function(){t.showPenguin()}).start()}),(0,i.playAudio)(this.btnClip)},n.restartBtnClicked=function(){this.groupIndex=0,this.initCurGroup(),this.hideBigStar(),this.startBtnClicked()},n.hideBigStar=function(){if(this.bigStarArr)for(var t=0;t<this.bigStarArr.length;t++)cc.tween(this.bigStarArr[t].star).to(.5,{scale:0},{easing:"cubicOut"}).start()},n.soundAnima=null,n.addSoundBtnListner=function(){var t=this,e=cc.find("Canvas/btn_laba");e.addComponent(cc.Button),e.on("click",function(){(0,i.playAudio)(t.btnClip,function(){t.showQuestion()})})},n.showQuestion=function(t){var e=cc.find("Canvas/btn_laba").getComponent(cc.Animation);e.play(),(0,i.playAudioByUrl)(this.curGroup.audio_url,function(){e.stop(),t&&"function"==typeof t&&t()})},n.getHole=function(){var t=new cc.Node;t.scale=this._mapScaleMin;var e=(0,i.getSprNode)("hole_1");t.addChild(e,1);var n=(0,i.getSprNode)("hole_2");return t.addChild(n,10),t},n.showPenguin=function(){this.showOnePenguin()},n.showOnePenguin=function(){var t=this;if(!this.checkIsGroupEnd()){var e=this.getFreeHole();if(e){var n=this.getPenguin(),i=this.getOptionData();this.addPenguin(e,n,i)}else cc.tween(this).delay(.3).call(function(){t.showOnePenguin()}).start()}},n.getOptionData=function(){return(0,i.randomSortByArr)(this.curGroup.optionArr)[0]},n.getPenguin=function(){if(this.penguinPool.length>0)return this.penguinPool.shift();var t=new cc.Node,e=(0,i.RandomInt)(1,2),n=(0,i.getSprNode)("penguin_"+e);return t.penguin=n,this.addPenguinWrong(t,e),this.addTextPanel(t),this.addPicPanel(t),this.addClickNode(t),t.textPanel.y=n.height/2+t.textPanel.height/2-25,t.picPanel.y=n.height/2+t.picPanel.height/2-25,t.addChild(t.picPanel),t.addChild(t.textPanel),t.addChild(n),t.addChild(t.wrong),t},n.addClickNode=function(t){var e=this,n=new cc.Node;n.addComponent(cc.Button),n.width=270,n.height=180,n.anchorX=0,n.anchorY=0,n.on("click",function(){e.checkPenguinIsRight(t)}),t.addChild(n,10),n.x=-130,n.y=40,n.opacity=50},n.checkPenguinIsRight=function(t){t.data&&(this.isRightDuration||t.data.end||("1"==t.data.isRight?(this.showPenguinRight(t),t.data.end=!0):this.showPenguinWrong(t)))},n.isRightDuration=null,n.showPenguinRight=function(t){this.isRightDuration=!0,this.showAnimaStar(t),this.stopPenguin(t),this.showRightSound(t)},n.showPenguinWrong=function(t){t.penguin.active=!1,t.wrong.active=!0,(0,i.playAudio)(this.wrongClip)},n.showAnimaStar=function(t){var e=cc.find("Canvas/res/anima/star"),n=cc.instantiate(e);t.addChild(n,20),n.x=0,n.y=t.textPanel.y},n.checkNextStar=function(t){var e=this,n=t.data;console.log("this.curGroup: ",this.curGroup);var i=this.curGroup.optionArr,a=i.indexOf(n);-1!=a&&i.splice(a,1),this.checkIsGroupEnd()?this.showBigStar():cc.tween(this).delay(1).call(function(){e.showOnePenguin()}).start(),this.hideCurPenguin(t),this.isRightDuration=!1},n.hideCurPenguin=function(t){var e=this,n=t.hideData,i=n.downY,a=n.moveTime,o=n.panel,r=n.hole;cc.tween(t).call(function(){c()}).to(a,{y:i},{easing:"quadInOut"}).call(function(){t.active=!1,t.penguin.active=!0,t.wrong.active=!1,r.penguin=null,e.penguinPool.push(t),t.moveTween=null}).start();var c=function(){cc.tween(o).to(.3*a,{opacity:0}).call(function(){o.active=!1}).start()}},n.showBigStar=function(){var t=this;if(!this.bigStarArr||this.bigStarArr.length<=0)this.checkGameEnd();else{var e=this.bigStarArr[this.groupIndex],n=e.starBig;n.scale=1;var a=e.star;a.active=!0,a.scaleX=.7/e.scale,a.scaleY=1/e.scale,a.angle=90;var o=cc.find("Canvas"),r=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/2)),c=(0,i.exchangeNodePos)(a.parent,o,cc.v2(0,-o.height/4));a.x=r.x,a.y=r.y-n.height,console.log("middlePos = "+JSON.stringify(c)),cc.tween(a).to(.3,{y:c.y+80},{easing:"quadOut"}).to(.1,{y:c.y+40,scaleX:1.2/e.scale,scaleY:.8/e.scale},{easing:"quadOut"}).to(.1,{y:c.y,scaleX:1/e.scale,scaleY:1/e.scale},{easing:"quadOut"}).delay(.1).to(.8,{angle:-720,scale:1}).start(),cc.tween(a).delay(.6).to(.8,{x:0},{easing:"quadIn"}).start(),cc.tween(a).delay(.6).to(.8,{y:0},{easing:"quadOut"}).start(),cc.tween(n).delay(.6).to(.8,{scale:0},{easing:"quadOut"}).call(function(){t.checkGameEnd()}).start(),(0,i.playAudio)(this.bigStarClip)}},n.gameEnd=function(){var t=this;this.playEndEffect(),cc.tween(this).delay(.2).call(function(){(0,i.onHomeworkFinish)(),t.showRestartBtn()}).start()},n.showRestartBtn=function(){var t=cc.find("Canvas/btn_restart");t.zIndex=20,t.active=!0,t.scale=0,cc.tween(t).to(1,{scale:this._mapScaleMin},{easing:"elasticOut"}).start()},n.playEndEffect=function(){(0,i.playAudio)(this.endClip);var t=cc.find("Canvas/Main Camera");t.zIndex=100,(0,i.showTrebleFirework)(t,cc.find("RibbonNodeBase").children)},n.checkIsGroupEnd=function(){for(var t=this.curGroup.optionArr,e=0;e<t.length;e++)if("1"==t[e].isRight)return!1;return!0},n.stopPenguin=function(t){t.moveTween&&(console.log("node.moveTween: ",t.moveTween),t.moveTween.stop())},n.showRightSound=function(t){var e=this;(0,i.playAudio)(this.rightClip,function(){t.data.audio_url?(0,i.playAudioByUrl)(t.data.audio_url,function(){e.checkNextStar(t)}):e.checkNextStar(t)})},n.addPenguinWrong=function(t,e){var n=(0,i.getSprNode)("penguin_"+e+"_wrong");n.active=!1,t.wrong=n},n.addTextPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_text");n.active=!1,t.textPanel=n;var a=new cc.Node,o=a.addComponent(cc.Label);n.addChild(a,5),o.fontSize=54,o.lineHeight=54,o.font=cc.find("Canvas/res/font/Berlin Sans FB").getComponent(cc.Label).font;var r=new cc.Color;cc.Color.fromHEX(r,"c1431d"),a.color=r,a.y=-2.5,n.label=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.addPicPanel=function(t){var e=this,n=(0,i.getSprNode)("panel_pic");n.active=!1,t.picPanel=n;var a=new cc.Node,o=a.addComponent(cc.Sprite);n.addChild(a),a.y=0,n.spr=o,n.addComponent(cc.Button),n.on("click",function(){e.checkPenguinIsRight(t)})},n.getFreeHole=function(){for(var t=(0,i.randomSortByArr)(this.holeArr),e=0;e<t.length;e++)if(!t[e].penguin)return t[e];return null},n.addPenguin=function(t,e,n){var a,o=this;e.active=!0,e.parent=t,e.zIndex=5,t.penguin=e,e.y=-180,a="text"==n.type?e.textPanel:e.picPanel,this.setPanelData(a,n);var r=.2+.1*Math.random(),c=1+2*Math.random();e.hideData={downY:-180,moveTime:r,panel:a,hole:t},e.moveTween=cc.tween(e).to(r,{y:0},{easing:"quadInOut"}).delay(c).call(function(){h()}).to(r,{y:-180},{easing:"quadInOut"}).call(function(){e.active=!1,e.penguin.active=!0,e.wrong.active=!1,t.penguin=null,o.penguinPool.push(e),e.moveTween=null}).start();var s=.3+2*Math.random();cc.tween(this).delay(s).call(function(){o.isRightDuration||o.showOnePenguin()}).start();var h=function(){cc.tween(a).to(.3*r,{opacity:0}).call(function(){a.active=!1}).start()};a.active=!0,a.opacity=0,cc.tween(a).to(.3*r,{opacity:255}).start(),(0,i.playAudio)(this.appearClip)},n.setPanelData=function(t,e){t.data=e,t.parent.data=e,"text"==e.type?this.setTextPanelData(t,e):this.setPicPanelData(t,e)},n.setTextPanelData=function(t,e){t.label.string=e.text,t.label._forceUpdateRenderData(!0),t.label.node.width>255?t.label.node.scale=255/t.label.node.width:t.label.node.scale=1},n.setPicPanelData=function(t,e){cc.loader.load({url:e.pic_url},function(e,n){var i=new cc.SpriteFrame(n);t.spr.spriteFrame=i;var a=215/n.width,o=135/n.height,r=Math.min(a,o);t.spr.node.scale=r})},n._cocosScale=null,n.initBg=function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,n=cc.winSize.height/t.height,i=Math.min(e,n);this._cocosScale=i;var a=cc.find("Canvas/bg");e=t.width/a.width,n=t.height/a.height,a.scale=Math.max(e,n)*i,a.anchorX=1,a.anchorY=0,a.x=t.width/2*i,a.y=-t.height/2*i;var o=cc.find("Canvas/bg"),r=new cc.Node;r.x=-o.x,r.y=-o.y,r.scaleX=o.scaleX,r.scaleY=o.scaleY,o.addChild(r);var c=r.addComponent(cc.Graphics);c.fillColor=this.data.bgColor||"#f9bd03",c.fillRect(-o.width/2,-o.height/2,o.width,o.height),c.fill()},n.initHotZone=function(){this.initHotZoneBg()},n.hotZoneBg=null,n.initHotZoneBg=function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas");var e=107*this._mapScaleMin+22;this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(n,i){t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;var a=new cc.Node;a.name="bgItemSpr";var o=new cc.SpriteFrame(i);a.addComponent(cc.Sprite).spriteFrame=o,a.width=t.hotZoneBg.width,a.height=t.hotZoneBg.height,a.parent=t.hotZoneBg,window.bg=a;var r=t.canvas.width/t.hotZoneBg.width,c=(t.canvas.height-e)/t.hotZoneBg.height,s=Math.min(r,c);t.hotZoneBg.scale=s,t.hotZoneBg.y=0-e/2,t.initHotZoneItem()})},n.initHotZoneItem=function(){var t=this;this.data.hotZoneItemArr.forEach(function(e){"0"==e.gIdx?t.setOneAnimaSmall(e):"1"==e.gIdx?t.setOnePic(e):"2"==e.gIdx?t.setOneRect(e):"3"==e.gIdx&&t.setOneAction(e)})},n.setOneAction=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.x,n.y,n.width,n.height,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=t["actionData_"+t.gIdx];if(o&&"text"==o.type){var r=this.setOneActionText(n,o);r.node.scale=a*t.fontScale,r._forceUpdateRenderData(!0)}},n.setOneActionText=function(t,e){var n=new cc.Node;n.parent=t;var i=n.addComponent(cc.Label);i.font=cc.find("Canvas/res/font/aharoni").getComponent(cc.Label).font,i.string=e.text,n.color=cc.Color.BLACK;for(var a=e.changeOption,o=[],r=0;r<a.length;r++){var c=a[r];if(console.log("opArr[0]",a[r]),"fontColor"==c[0]){var s=new cc.Color;cc.Color.fromHEX(s,c[1]),n.color=s}else"opacity"==c[0]?(n.opacity=Number(c[1]/100*255)+.1,o.push({item:n,option:'{"'+c[0]+'" : '+c[2]/100*255+"}",optionName:c[0]})):(i[c[0]]=c[1],o.push({item:i,option:'{"'+c[0]+'" : '+c[2]+"}",optionName:c[0]}))}return e.audio_url&&cc.assetManager.loadRemote(e.audio_url,function(t,e){n.audioClip=e}),i.lineHeight=i.fontSize,n.y+=t.height/2,n.x+=t.width/2,t.addComponent(cc.Button),t.on("click",function(){n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8)),n.isClicked,n.isClicked=!0;for(var t=0;t<o.length;t++){var i=o[t];"opacity"==i.optionName&&(console.log("~~~ ",i.item[i.optionName]),cc.tween(i.item).to(e.changeTime,JSON.parse(i.option)).start())}}),i},n.setOneAnimaSmall=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill();var o=new cc.Node;o.name="anima_"+t.index,this.hotZoneBg.addChild(o),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){o.audioClip=e});var r=o.addComponent(dragonBones.ArmatureDisplay);if(t.texPngData){var c=t.texPngData.url,s=t.skeJsonData.url,h=t.texJsonData.url;cc.loader.load(c,function(t,e){cc.loader.load({url:h,type:"txt"},function(t,i){cc.loader.load({url:s,type:"txt"},function(t,a){var c=new dragonBones.DragonBonesAtlasAsset;c.atlasJson=i,c.texture=e;var s=new dragonBones.DragonBonesAsset;s.dragonBonesJson=a,r.dragonAtlasAsset=c,r.dragonAsset=s;for(var h=JSON.parse(s.dragonBonesJson).armature,d=[],u=0;u<h.length;u++)d.push(h[u].name);if(d.length>0){var l=d[0];r.armatureName=l;for(var p=h[0].animation,g=[],f=0;f<p.length;f++)g.push(p[f].name);n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),o.audioClip&&(cc.audioEngine.stopAllEffects(),cc.director.emit("STOP_ALL_AUDIO"),cc.audioEngine.playEffect(o.audioClip,!1,.8)),g.length>0&&r.playAnimation(g[0],1)})}o.x=n.x+n.width/2,o.y=n.y+n.height/2;var v=n.width/o.width,m=n.height/o.height,w=Math.min(v,m);o.scale=w})})})}},n.setOnePic=function(t){var e=this,n=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="pic"+t.index,i.data=t,this.hotZoneBg.addChild(i),cc.loader.load({url:t.pic_url},function(a,o){i.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(o);var r=n/e.hotZoneBg.scaleY;i.width=t.rect.width*r,i.height=t.rect.height*r,i.x=-e.hotZoneBg.width/2+t.rect.x*r,i.y=e.hotZoneBg.height/2-t.rect.height*r-t.rect.y*r,i.anchorX=i.anchorY=0,t.audio_url&&e.addPicAudio(i)})},n.setOneRect=function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.name="rect"+t.index,this.hotZoneBg.addChild(n);var i=n.addComponent(cc.Graphics);i.lineWidth=4,i.strokeColor=cc.Color.BLACK,i.fillColor=cc.Color.WHITE.setA(100);var a=e/this.hotZoneBg.scaleY;n.width=t.rect.width*a,n.height=t.rect.height*a,n.x=-this.hotZoneBg.width/2+t.rect.x*a,n.y=this.hotZoneBg.height/2-t.rect.height*a-t.rect.y*a,n.anchorX=n.anchorY=0,this.data.bgItem.isShowDebugLine&&i.rect(0,0,n.width,n.height),i.stroke(),i.fill(),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){n.audioClip=e}),n.addComponent(cc.Button),n.on("click",function(){n.isClicked,n.isClicked=!0,console.log("clicked"),n.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(n.audioClip,!1,.8))})},n.addPicAudio=function(t){var e=t.data;cc.assetManager.loadRemote(e.audio_url,function(e,n){t.audioClip=n}),t.addComponent(cc.Button),t.on("click",function(){t.audioClip&&(cc.audioEngine.stopAllEffects(),cc.audioEngine.playEffect(t.audioClip,!1,.8))})},n)),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,n){"use strict";function i(t,e,n,i,a,o,r){try{var c=t[o](r),s=c.value}catch(h){return void n(h)}c.done?e(s):Promise.resolve(s).then(i,a)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(a,o){var r=t.apply(e,n);function c(t){i(r,a,o,c,s,"next",t)}function s(t){i(r,a,o,c,s,"throw",t)}c(void 0)})}}function o(t,e){void 0===e&&(e=0);var n=Math.max(t,e),i=Math.min(t,e);return Math.floor(Math.random()*(n-i)+i)}function r(t,e){cc.loader.load({url:t},function(t,n){var i=new cc.SpriteFrame(n);e&&e(i)})}function c(t,e){if(void 0===e&&(e=null),t){var n=cc.audioEngine.playEffect(t,!1,.8);e&&cc.audioEngine.setFinishCallback(n,function(){e()})}}function s(){return h.apply(this,arguments)}function h(){return(h=a(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,n){try{setTimeout(function(){t()},1e3*e)}catch(i){n(i)}}));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}cc._RF.push(e,"25ccfBBvfNLaoaDwk5MOf7U","util"),n.__esModule=!0,n.getPosByAngle=function(t,e){var n=t*Math.PI/180;return{x:Math.sin(n)*e,y:Math.cos(n)*e}},n.getAngleByPos=function(t,e,n,i){var a=Math.abs(t-n),o=Math.abs(e-i),r=o/Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),c=Math.acos(r),s=Math.floor(180/(Math.PI/c)*100)/100;return n>t&&i>e&&(s=180-s),n===t&&i>e&&(s=180),n>t&&i===e&&(s=90),n<t&&i>e&&(s=180+s),n<t&&i===e&&(s=270),n<t&&i<e&&(s=360-s),s},n.exchangeNodePos=function(t,e,n){return t.convertToNodeSpaceAR(e.convertToWorldSpaceAR(cc.v2(n.x,n.y)))},n.RandomInt=o,n.randomSortByArr=function(t){for(var e=[],n=t.concat();n.length>0;){var i=Math.floor(n.length*Math.random());e.push(n[i]),n.splice(i,1)}return e},n.setSprNodeMaxLen=function(t,e,n){var i=e/t.width,a=n/t.height,o=Math.min(i,a);t.scale=Math.round(1e3*o)/1e3},n.getSpriteFrimeByUrl=r,n.getSprNode=function(t){var e=cc.find("Canvas/res/img/"+t).getComponent(cc.Sprite).spriteFrame,n=new cc.Node;return n.addComponent(cc.Sprite).spriteFrame=e,n},n.getSprNodeByUrl=function(t,e){var n=(new cc.Node).addComponent(cc.Sprite);r(t,function(t){n.spriteFrame=t,e&&e(n)})},n.playAudio=c,n.playAudioByUrl=function(t,e){void 0===e&&(e=null),t?cc.assetManager.loadRemote(t,function(t,n){c(n,e)}):e&&"function"==typeof e&&e()},n.asyncDelay=s,n.showFireworks=u,n.asyncTweenTo=function(){return f.apply(this,arguments)},n.asyncTweenBy=v,n.showTrebleFirework=function(t,e){var n=new d(t,e);n.pos=cc.v2(0,-400),n.side=cc.v2(0,1e3),n.range=200,n.number=100,n.scalseRange=.4;var i=d.copy(n);i.pos=cc.v2(-600,-400),i.side=cc.v2(200,1e3);var a=d.copy(n);a.pos=cc.v2(600,-400),a.side=cc.v2(-200,1e3),u(n),u(i),u(a)},n.onHomeworkFinish=function(){var t=cc.find("middleLayer");t&&t.getComponent("middleLayer").onHomeworkFinish()},n.getRect=function(t,e,n,i,a){void 0===a&&(a=!0),a&&(t=-n/2,e=-i/2);var o=new cc.Node,r=o.addComponent(cc.Graphics);return r.lineWidth=2,r.strokeColor=cc.Color.BLACK,r.fillColor=cc.Color.GREEN.setA(50),r.rect(t,e,n,i),r.stroke(),r.fill(),o},n.removeItemFromArr=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.delayCall=function(t,e){return cc.tween({}).delay(t).call(function(){e&&e()}).start()},n.FireworkSettings=void 0;var d=function(){function t(t,e,n,i,a,o,r){void 0===n&&(n=cc.v2(0,0)),void 0===i&&(i=cc.v2(0,100)),void 0===a&&(a=50),void 0===o&&(o=100),void 0===r&&(r=0),this.baseNode=void 0,this.nodeList=void 0,this.pos=void 0,this.side=void 0,this.range=void 0,this.number=void 0,this.scalseRange=void 0,this.baseNode=t,this.nodeList=e,this.pos=n,this.side=i,this.range=a,this.number=o,this.scalseRange=r}return t.copy=function(e){return new t(e.baseNode,e.nodeList,e.pos,e.side,e.range,e.number)},t}();function u(){return l.apply(this,arguments)}function l(){return(l=a(regeneratorRuntime.mark(function t(e){var n,i,r,c,h,d,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.baseNode,i=e.nodeList,r=e.pos,c=e.side,h=e.range,d=e.number,u=e.scalseRange,new Array(d).fill(" ").forEach(function(){var t=a(regeneratorRuntime.mark(function t(){var e,a,d,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new cc.Node).parent=n,e.x=r.x,e.y=r.y,e.angle=60*Math.random()-30,(a=cc.instantiate(i[o(i.length)])).parent=e,a.active=!0,a.x=0,a.y=0,a.angle=0,a.scale=(Math.random()-.5)*u+1,d=Math.random(),l=Math.PI*(2*Math.random()-1),t.next=16,v(e,.3,{x:c.x*d+Math.cos(l)*h*d,y:c.y*d+Math.sin(l)*h*d},{easing:"quadIn"});case 16:return cc.tween(e).by(8,{y:-2e3}).start(),cc.tween(e).to(5,{scale:(Math.random()-.5)*u+1}).start(),p(e),t.next=21,s(Math.random());case 21:cc.tween(a).by(.15,{x:-10,angle:-10}).by(.3,{x:20,angle:20}).by(.15,{x:-10,angle:-10}).union().repeatForever().start(),cc.tween(e).delay(5).to(.3,{opacity:0}).call(function(){a.stopAllActions(),a.active=!1,a.parent=null,a=null}).start();case 23:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}());case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return g.apply(this,arguments)}function g(){return(g=a(regeneratorRuntime.mark(function t(e){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=1+Math.random(),i=o(-200,200)*n,t.next=4,v(e,n,{x:i,angle:60*i/200});case 4:p(e);case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function f(){return(f=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).to(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(){return m.apply(this,arguments)}function m(){return(m=a(regeneratorRuntime.mark(function t(e,n,i,a){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===a&&(a=void 0),t.abrupt("return",new Promise(function(t,o){try{cc.tween(e).by(n,i,a).call(function(){t()}).start()}catch(r){o(r)}}));case 2:case"end":return t.stop()}},t)}))).apply(this,arguments)}n.FireworkSettings=d,cc._RF.pop()},{}]},{},["PS02","scene","util"]);
\ No newline at end of file \ No newline at end of file
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