1 line
123 KiB
JavaScript
1 line
123 KiB
JavaScript
window.__require=function t(e,i,n){function o(a,s){if(!i[a]){if(!e[a]){var c=a.split("/");if(c=c[c.length-1],!e[c]){var h="function"==typeof __require&&__require;if(!s&&h)return h(c,!0);if(r)return r(c,!0);throw new Error("Cannot find module '"+a+"'")}a=c}var l=i[a]={exports:{}};e[a][0].call(l.exports,function(t){return o(e[a][1][t]||t)},l,l.exports,t,e,i,n)}return i[a].exports}for(var r="function"==typeof __require&&__require,a=0;a<n.length;a++)o(n[a]);return o}({AudioManager:[function(t,e,i){"use strict";cc._RF.push(e,"58403/n16JCa5sZhNMjZzGo","AudioManager");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=a.property,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.audioGameBgm0=null,e.audioButtonClick=null,e.audioWarning=null,e.audioWin=null,e.luodui=null,e}var i;return o(e,t),i=e,e.prototype.ctor=function(){this.mAudioMap={},this.bgMusicVolume=.1,this.effectMusicVolume=1,this.mMusicSwitch=1,this.mEffectSwitch=1},e.prototype.play=function(t,e,i,n){if((!n||this.mMusicSwitch)&&(n||this.mEffectSwitch)){var o=n?this.bgMusicVolume:this.effectMusicVolume;if(cc.sys.isBrowser){t==this.brickSound&&(o=.1),o=1;var r=cc.audioEngine.play(t,e,o);return i&&cc.audioEngine.setFinishCallback(r,function(){i.call(this)}.bind(this)),this.mAudioMap[t]=r,t}return t}},e.prototype.save=function(){},e.prototype.onLoad=function(){null==i._instance?(i._instance=this,cc.game.addPersistRootNode(this.node),this.reward=!1,this.finish=!1,this.rewardCount=0,this.ctor(),this.preload()):this.node.destroy()},e.prototype.preload=function(){cc.sys.platform===cc.sys.WECHAT_GAME&&[this.audioGameBgm0].forEach(function(){})},e.prototype.getAudioMusicSwitch=function(){return this.mMusicSwitch},e.prototype.getAudioEffectSwitch=function(){return this.mEffectSwitch},e.prototype.trunAudioSound=function(t){this.switchMusic(t),this.switchEffect(t)},e.prototype.switchMusic=function(t){this.mMusicSwitch!=(t?1:0)&&(this.mMusicSwitch=1-this.mMusicSwitch),t?this.playMusicGame():this.stopMusic()},e.prototype.switchEffect=function(t){this.mEffectSwitch!=(t?1:0)&&(this.mEffectSwitch=1-this.mEffectSwitch)},e.prototype.onHide=function(){cc.audioEngine.pauseAll()},e.prototype.onShow=function(){cc.audioEngine.resumeAll()},e.prototype.playMusic=function(t,e,i){i=!(void 0!==i&&!i),this.stopMusic(),this.mMusicKey=this.play(t,i,e,!0)},e.prototype.playMusicGame=function(){this.playMusic(this.audioGameBgm0,{},!0)},e.prototype.stopMusic=function(){var t=this.mAudioMap[this.mMusicKey];void 0!==t&&(cc.sys.isBrowser?cc.audioEngine.stop(t):t.stop(),cc.audioEngine.stop(t))},e.prototype.playJump=function(){},e.prototype.playLuo=function(){return this.play(this.luodui,!1,null,this.mEffectSwitch)},e.prototype.playGround=function(){},e.prototype.playPz=function(){},e.prototype.playGameStart=function(){},e.prototype.playGameOver=function(){},e.prototype.playGameResultFailed=function(){},e.prototype.playGameResultSuccess=function(){},e.prototype.playWarning=function(){return this.play(this.audioWarning,!1,null,this.mEffectSwitch)},e.prototype.playBrick=function(){},e.prototype.brickBoom=function(){},e.prototype.playAudioButton=function(){return this.play(this.audioButtonClick,!1,null,this.mEffectSwitch)},e.prototype.playWin=function(){return this.play(this.audioWin,!1,null,this.mEffectSwitch)},e.prototype.playRandomMatch=function(){this.playMusic(this.audioGameBgm0,{},!0)},e.prototype.playMatchFoundSound=function(){this.stopMusic()},r([c(cc.AudioClip)],e.prototype,"audioGameBgm0",void 0),r([c(cc.AudioClip)],e.prototype,"audioButtonClick",void 0),r([c(cc.AudioClip)],e.prototype,"audioWarning",void 0),r([c(cc.AudioClip)],e.prototype,"audioWin",void 0),r([c(cc.AudioClip)],e.prototype,"luodui",void 0),i=r([s],e)}(cc.Component);i.default=h,cc._RF.pop()},{}],DynamicAtlasManager:[function(t,e){"use strict";cc._RF.push(e,"5c9b8FZiaNLMrMDs9T3rByf","DynamicAtlasManager"),cc.Class({extends:cc.Component,properties:{},onLoad:function(){cc.dynamicAtlasManager.enabled=!1}}),cc._RF.pop()},{}],GameAppStart:[function(t,e,i){"use strict";cc._RF.push(e,"61d4ccY2ztLMYIh8WvqPPAw","GameAppStart"),Object.defineProperty(i,"__esModule",{value:!0});var n=t("../Config/GameConfig"),o=t("../Crypto/HttpUtil"),r=t("../Music/AudioManager"),a=t("../Notification/Notification"),s=t("../Storage/Storage"),c=t("../Tool/GameTool");window.initMgr=function(){cc.fx||(cc.fx={},console.log("\u521d\u59cb\u5316"),cc.fx.StateInfo={debugMode:!0,networkConnected:!0,networkType:"none",isOnForeground:!0},cc.fx.GameConfig=n.GameConfig,cc.fx.HttpUtil=o.default,cc.fx.GameTool=c.GameTool,cc.fx.AudioManager=r.default,cc.fx.Notifications=a.Notifications,cc.fx.StorageMessage=s.StorageMessage,cc.fx.ShareInfo={queryId:-1},cc.fx.BurialShareType={Default:"default",Invite:"invite",DailyInviteRoomJoin:"invite_join_room",DailyInviteFriend:"invite_friend",DailyInviteGroup:"invate_group",DailyInviteGroupAlive:"invate_alive",DailyInviteGroupReward:"invate_rewared",DailyInviteGroupBox:"invate_box",DailyInviteGroupBall:"invate_ball",MatchResult:"matchResult",MatchFix5:"MatchFix5",MatchFix20:"MatchFix20",MatchFix100:"MatchFix100",MatchFix500:"MatchFix500",NewerRedEnvelope:"newerRedEnvelope",CoinRoomResult:"coinRoomResult",HighRate:"highRate",CoinRoomWinStreak:"coinRoomWinStreak",CoinRoomBankruptcy1:"coinRoomBankruptcy1",CoinRoomBankruptcy2:"coinRoomBankruptcy2",CoinRoomBankruptcy3:"coinRoomBankruptcy3"},cc.fx.ShareWhereReward={Group:"group",Friend:"friend",All:"all"},cc.fx.clickStatEventType={clickStatEventTypeVideoAD:20173201,clickStatEventTypeClickAdVideo:20173202,clickStatEventTypeBannerAD:20173203,clickStatEventTypeUserFrom:99990001,clickStatEventTypeShare:99990002,clickStatEventTypeClickAdBtn:99990007,clickStatEventTypeBannerAD2:67890033,clickStatEventTypeSubmitVersionInfo:9999,clickStatEventTypeClickFirstAd:99990003,clickStatEventTypeClickSecondAd:99990004,clickStatEventTypeWxLoginStart:10001,clickStatEventTypeWxLoginSuccess:10002,clickStatEventTypeWxLoginFailed:10003,clickStatEventTypeAuthorizationStart:10003,clickStatEventTypeAuthorizationSuccess:10004,clickStatEventTypeAuthorizationFailed:10005,clickStatEventTypeLoginSDKStart:10007,clickStatEventTypeLoginSDKSuccess:10008,clickStatEventTypeLoginSDKFailed:10009,clickStatEventTypeTCP_Start:10009,clickStatEventTypeTCP_Success:10010,clickStatEventTypeTCP_Failed:10011})},cc._RF.pop()},{"../Config/GameConfig":"GameConfig","../Crypto/HttpUtil":"HttpUtil","../Music/AudioManager":"AudioManager","../Notification/Notification":"Notification","../Storage/Storage":"Storage","../Tool/GameTool":"GameTool"}],GameConfig:[function(t,e,i){"use strict";cc._RF.push(e,"c5692vnhwNF5J9nI7VNKQNW","GameConfig");var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0}),i.GameConfig=void 0;var o=t("../Share/share"),r=cc._decorator,a=r.ccclass,s=(r.property,function(){function t(){}var e;return e=t,Object.defineProperty(t,"Instance",{get:function(){return null==this._instance&&(this._instance=new e),this._instance},enumerable:!1,configurable:!0}),t.init=function(){this.GM_INFO_init(),this.CLICK_init(),this.LEVEL_INFO_init();var t=this;cc.resources.load("Json/GM_INFO",function(e,i){if(e)t.Authentication();else{var n=i.json;t.GM_INFO=n.data,o.WeChat.setShare(location.href),t.Authentication()}}),cc.resources.load("Json/CLICK_DATA",function(e,i){if(!e){var n=i.json;t.CLICK_DATA=n.data}}),cc.resources.load("Json/LEVEL_INFO",function(e,i){if(!e){var n=i.json;t.LEVEL_INFO=n.data}}),t.GAME_DATA=[]},t.GM_INFO_init=function(){this.GM_INFO={mean_Time:0,total:0,currSeed:203213,gameId:"100009",userId:0,guide:!0,url:"https://api.sparkus.cn",success:!1,matchId:null,custom:0}},t.CLICK_init=function(){this.CLICK_DATA={type:1,success:!1,round:0,totalSunCount:0,movedSunCount:0,sunSpeed:0,overlapSunCount:0,colorList:[],duration:0,difficultyLevel:0,sunList:[],stepTimeList:[],remainder:120}},t.LEVEL_INFO_init=function(){this.LEVEL_INFO=[{number:3,moveNumber:0,moveSpeed:0,maxDistance:200,maxMove:1200,repeat:0},{number:4,moveNumber:0,moveSpeed:0,maxDistance:200,maxMove:1200,repeat:0},{number:4,moveNumber:0,moveSpeed:0,maxDistance:200,maxMove:1200,repeat:1},{number:5,moveNumber:1,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:5,moveNumber:0,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:6,moveNumber:0,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:6,moveNumber:3,moveSpeed:4,maxDistance:200,maxMove:1200,repeat:0},{number:7,moveNumber:0,moveSpeed:4,maxDistance:200,maxMove:1200,repeat:0},{number:7,moveNumber:3,moveSpeed:4,maxDistance:200,maxMove:1200,repeat:0},{number:7,moveNumber:3,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:8,moveNumber:3,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:8,moveNumber:5,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:9,moveNumber:3,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:9,moveNumber:5,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:10,moveNumber:5,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:3,moveNumber:0,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:4,moveNumber:0,moveSpeed:0,maxDistance:200,maxMove:1200,repeat:0},{number:4,moveNumber:1,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:4,moveNumber:0,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:4,moveNumber:1,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:5,moveNumber:1,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:0},{number:5,moveNumber:0,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:5,moveNumber:1,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:5,moveNumber:2,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1},{number:5,moveNumber:3,moveSpeed:6,maxDistance:200,maxMove:1200,repeat:1}]},t.Authentication=function(){cc.fx.GameTool.Authentication()},t._instance=null,e=n([a("GameConfig")],t)}());i.GameConfig=s,cc._RF.pop()},{"../Share/share":"share"}],GameManager:[function(t,e,i){"use strict";cc._RF.push(e,"b0432BA295DjIOcuitdGKO1","GameManager");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=a.property,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ball=null,e.qiu1=null,e.qiu2=null,e.qiu3=null,e.linePrefab=null,e.hit=null,e.bg1=null,e.bg2=null,e.time=null,e.begin=!1,e.fuhuo=!1,e.over=!1,e.show=!1,e.levelLabel=null,e}return o(e,t),e.prototype.onLoad=function(){},e.prototype.start=function(){this.fit(),this.init()},e.prototype.init=function(){this.node.getChildByName("GameOver").zIndex=100,this.node.getChildByName("GameOver").active=!1,this.ball.zIndex=100,this.bg1=this.node.getChildByName("bg1"),this.bg2=this.node.getChildByName("bg2"),this.time=this.node.getChildByName("Top").getChildByName("time").getComponent(cc.Label),this.node.getChildByName("showBtn").active=!1,this.begin=!1,this.over=!1,this.fuhuo=!0,this.pause=!0,this.show=!1,this.round=0,this.level=2,this.countTime=60,0!=cc.fx.GameConfig.GM_INFO.custom&&(this.level=cc.fx.GameConfig.GM_INFO.custom,cc.fx.GameConfig.GM_INFO.custom+=1,this.countTime=12e6),this.timeCount=.1,this.clickNow=0,this.clickCount=0,this.timeStart=0,this.repeat=-1,this.numberRepeat=-1,this.route_Array=[],this.moveArray=[],this.now_Array=[],this.ball_Array=[],this.Pos_Array=[],this.time_Array=[],this.color_Array=[],cc.fx.GameConfig.GAME_DATA=[],cc.fx.GameConfig.GM_INFO.success=!1,this.startTime=0,this.overTime=0,this.winTime=0,cc.fx.GameConfig.GM_INFO.total=0,cc.fx.GameConfig.GM_INFO.mean_Time=0,this.schedule(this.updateCountDownTime,1),this.startGame()},e.prototype.fit=function(){this.fitTop=450,this.fitBot=-600,this.setFit()||(this.fitTop=600,this.fitBot=-700)},e.prototype.getSetScreenResolutionFlag=function(){var t=cc.winSize,e=t.width;return!(t.height/e>16.2/9)},e.prototype.setFit=function(){return this.getSetScreenResolutionFlag()},e.prototype.backScene=function(){cc.director.loadScene("LoadScene")},e.prototype.reStart=function(t){this.node.getChildByName("showBtn").active=!1,this.destroyLine(),this.timeCount=.1,this.clickNow=0,this.timeStart=0,this.repeat=-1,this.numberRepeat=-1,this.begin=!1,this.route_Array=[],this.now_Array=[],this.ball_Array=[],this.Pos_Array=[],this.moveArray=[],this.time_Array=[],this.color_Array=[],0==t?this.bgMove(1):1==t?this.startGame():2==t&&this.bgMove(-1)},e.prototype.getTime=function(){return(new Date).getTime()},e.prototype.passLevel=function(){var t=this;if(this.destroyLine(),0==this.over&&this.countTime>=0){for(var e=[],i=0,n=this.ball_Array[0],o=1;o<this.ball_Array.length;o++){var r=this.calculateDistance(this.ball_Array[o].x,this.ball_Array[o].y,this.ball_Array[o-1].x,this.ball_Array[o-1].y,2);e.push(r)}for(var a=function(o){setTimeout(function(){cc.tween(n).to(e[o-1],{x:t.ball_Array[o].x,y:t.ball_Array[o].y}).call(function(){t.ball_Array[o].active=!1,o==t.ball_Array.length-1&&setTimeout(function(){t.ball.opacity=255,t.ball.position=cc.v3(n.x,n.y,0),n.active=!1,t.clearSun(),t.reStart(0)},200)}).start()},1e3*i),i+=e[o-1]+.1},s=1;s<this.ball_Array.length;s++)a(s)}},e.prototype.loseLevel=function(t){var e=this;if(this.destroyLine(),0==this.over&&this.countTime>=0)for(var i=this.ball_Array[0],n=function(n){cc.tween(o.ball_Array[n]).to(2,{x:i.x,y:i.y}).call(function(){e.ball_Array[n].active=!1,n==e.ball_Array.length-1&&(e.ball.opacity=255,e.ball.position=cc.v3(i.x,i.y,0),e.clearSun(),e.reStart(t))}).start()},o=this,r=1;r<this.ball_Array.length;r++)n(r)},e.prototype.clearSun=function(){for(var t=0;t<this.ball_Array.length;t++)this.ball_Array[t].removeFromParent(),this.ball_Array[t]=null},e.prototype.clickSun=function(t){var e=this;if(1==this.begin){this.clickCount+=1;var i=cc.fx.GameTool.getTime();if(this.time_Array.push(i-this.timeStart),this.timeStart=cc.fx.GameTool.getTime(),t==this.clickNow){if(cc.fx.AudioManager._instance.playAudioButton(),this.clickNow>0&&this.createLine(cc.v2(this.ball_Array[this.clickNow-1].x,this.ball_Array[this.clickNow-1].y),cc.v2(this.ball_Array[this.clickNow].x,this.ball_Array[this.clickNow].y),.2),this.clickNow+=1,this.ball_Array[this.clickNow-1]&&(this.ball_Array[this.clickNow-1].getChildByName("guang").active=!1),this.clickNow==this.now_Array.length){this.pause=!0,cc.fx.GameConfig.GM_INFO.total+=this.clickNow,this.overTime=cc.fx.GameTool.getTime(),this.startTime>0&&this.overTime>0&&(cc.fx.GameConfig.GM_INFO.mean_Time+=this.overTime-this.startTime);var n=parseInt((this.overTime-this.startTime)/100+"");this.startTime=0,this.overTime=0,this.level<4&&this.level>1||this.level;var o=this.node.getChildByName("Win");o.active=!0,o.setScale(0),cc.fx.AudioManager._instance.playWin(),this.round+=1;var r=[];if(this.moveArray.length>0)for(var a=0;a<this.moveArray.length;a++)a!=this.repeat&&a!=this.numberRepeat||(this.moveArray[a]=2),r.push(this.moveArray[a]);else for(a=0;a<this.ball_Array.length;a++)a==this.repeat||a==this.numberRepeat?r.push(2):r.push(0);cc.fx.GameConfig.CLICK_DATA={type:1,success:!0,round:this.round,totalSunCount:this.now_Array.length,movedSunCount:cc.fx.GameConfig.LEVEL_INFO[this.level-1].moveNumber,sunSpeed:cc.fx.GameConfig.LEVEL_INFO[this.level-1].moveSpeed,overlapSunCount:cc.fx.GameConfig.LEVEL_INFO[this.level-1].repeat,colorList:this.color_Array,duration:n/10,difficultyLevel:this.level,sunList:r,stepTimeList:this.time_Array,remainder:this.countTime},cc.fx.GameConfig.CLICK_DATA.duration>50&&(cc.fx.GameConfig.CLICK_DATA.duration=50),this.setData(),cc.tween(o).delay(.4).to(.01,{scale:2.5}).to(.35,{scale:1}).delay(.4).call(function(){o.active=!1,e.destroyLine(),0==e.over&&e.countTime>=0&&(e.level>=15?(cc.fx.GameConfig.GM_INFO.success=!0,e.level+=0,e.fuhuo=!0,e.passLevel()):(e.level+=1,e.fuhuo=!0,e.passLevel()))}).start()}}else this.setLoss()}},e.prototype.setLoss=function(){cc.fx.AudioManager._instance.playWarning(),this.begin=!1,this.overTime=cc.fx.GameTool.getTime(),this.startTime>0&&this.overTime>0&&(cc.fx.GameConfig.GM_INFO.mean_Time+=this.overTime-this.startTime);var t=parseInt((this.overTime-this.startTime)/100+"");t>58&&(t=58),this.startTime=0,this.overTime=0,this.level<4&&this.level>1||this.level,this.round+=1;var e=[];if(this.moveArray.length>0)for(var i=0;i<this.moveArray.length;i++)i!=this.repeat&&i!=this.numberRepeat||(this.moveArray[i]=2),e.push(this.moveArray[i]);else for(i=0;i<this.ball_Array.length;i++)i==this.repeat||i==this.numberRepeat?e.push(2):e.push(0);cc.fx.GameConfig.CLICK_DATA={type:1,success:!1,round:this.round,totalSunCount:this.now_Array.length,movedSunCount:cc.fx.GameConfig.LEVEL_INFO[this.level-1].moveNumber,sunSpeed:cc.fx.GameConfig.LEVEL_INFO[this.level-1].moveSpeed,overlapSunCount:cc.fx.GameConfig.LEVEL_INFO[this.level-1].repeat,colorList:this.color_Array,duration:t/10,difficultyLevel:this.level,sunList:e,stepTimeList:this.time_Array,remainder:this.countTime},cc.fx.GameConfig.CLICK_DATA.duration>50&&(cc.fx.GameConfig.CLICK_DATA.duration=50),this.setData(),1==this.fuhuo?(this.fuhuo=!1,this.loseLevel(1)):this.level>2?(this.level-=1,this.fuhuo=!0,this.loseLevel(2)):this.loseLevel(1);var n=this.node.getChildByName("Over");cc.tween(n).to(.25,{opacity:255}).delay(.1).to(.2,{opacity:0}).delay(.1).to(.15,{opacity:255}).delay(.1).to(.1,{opacity:0}).start()},e.prototype.startGame=function(){0==this.over&&this.countTime>0&&(this.pause=!0,this.createSun(),this.begin=!1,cc.tween(this.ball).to(.5,{opacity:255,scale:1.3}).start())},e.prototype.runGame=function(){for(var t=this,e=-650,i=function(i){e=1e3*n.now_Array[i].time+e,setTimeout(function(){if(0==t.over){var e=t.now_Array[i].timeCount;e>.5&&(e=.5),0!=i&&t.ball&&t.now_Array[i]&&t.createLine(cc.v2(t.ball.x,t.ball.y),cc.v2(t.now_Array[i].x,t.now_Array[i].y),t.now_Array[i].time-e),cc.tween(t.ball).to(t.now_Array[i].time-e,{x:t.now_Array[i].x,y:t.now_Array[i].y}).to(.1,{scale:1}).call(function(){t.createBall(i,t.now_Array[i].color,t.now_Array[i].speed,t.now_Array[i].repeat),i==t.now_Array.length-1&&(t.ball.opacity=0,setTimeout(function(){t.destroyLine(),t.beginGame(),cc.fx.GameConfig.LEVEL_INFO[t.level-1].moveNumber<1?t.pause=!1:t.moveAction()},150))}).start()}},e)},n=this,o=0;o<this.now_Array.length;o++)i(o)},e.prototype.createMove=function(){var t=this;if(0==this.over){var e=cc.fx.GameConfig.LEVEL_INFO[this.level-1];if(e.moveSpeed>=2&&e.moveSpeed,1==e.repeat){this.repeat=parseInt(Math.random()*(e.number-1)+1+"");var i=0;this.repeat>4?(this.numberRepeat=parseInt(4*Math.random()+""),this.repeat==e.number-1&&(this.numberRepeat=this.repeat-parseInt(3*Math.random()+2+"")),i=this.Pos_Array[this.numberRepeat],this.Pos_Array[this.repeat]=i):(0==this.repeat&&(this.repeat=1),e.number-1-this.repeat==2?(this.numberRepeat=e.number-1,i=this.Pos_Array[this.numberRepeat]):e.number-1-this.repeat==1?(this.numberRepeat=this.repeat-2,i=this.Pos_Array[this.numberRepeat]):e.number-1-this.repeat==0?(this.numberRepeat=this.repeat-2,i=this.Pos_Array[this.numberRepeat]):e.number-1-this.repeat>2?(this.numberRepeat=parseInt(Math.random()*(e.number-this.repeat-2)+"")+this.repeat+2,i=this.Pos_Array[this.numberRepeat]):(this.numberRepeat=this.repeat-2,i=this.Pos_Array[this.numberRepeat]),this.Pos_Array[this.repeat]=i)}if(e.moveNumber>0){for(var n=cc.v2(0,0),o=0;o<e.number;o++)this.moveArray[o]=0;for(var r=0;r<e.moveNumber;r++)this.moveArray[e.number-1-r]=1;var a=0;if(this.moveArray.sort(function(){return Math.random()-.5}),1==this.moveArray[0])for(var s=e.number-1;s>=0;s--)0==this.moveArray[s]&&(this.moveArray[s]=1,this.moveArray[0]=0,s=-1);for(var c=0;c<this.moveArray.length;c++)if(1==this.moveArray[c]&&(c==this.repeat||c==this.numberRepeat))for(var h=this.moveArray.length-1;h>=0;h--)h!=c&&0==this.moveArray[h]&&h!=this.repeat&&h!=this.numberRepeat&&(this.moveArray[h]=1,this.moveArray[c]=0,h=-1);for(var l=function(e){1==u.moveArray[e]&&setTimeout(function(){n=t.getPos2(!0,e),t.Pos_Array[e]=n},300*(a+=1))},u=this,p=0;p<this.Pos_Array.length;p++)l(p)}}},e.prototype.updateArray=function(){for(var t=0;t<this.now_Array.length-1;t++)this.now_Array[t].x=this.Pos_Array[t].x,this.now_Array[t].y=this.Pos_Array[t].y},e.prototype.moveAction=function(){var t=this;this.updateArray();var e=this.moveArray,i=cc.fx.GameConfig.LEVEL_INFO[this.level-1],n=7;if(i.moveSpeed>=2&&(n=7-i.moveSpeed/2),i.moveNumber>0){for(var o=0;o<this.moveArray.length;o++)if(1==this.moveArray[o]&&(o==this.repeat||o==this.numberRepeat))for(var r=this.moveArray.length-1;r>=0;r--)r!=o&&0==this.moveArray[r]&&r!=this.repeat&&r!=this.numberRepeat&&(this.moveArray[r]=1,this.moveArray[o]=0,r=-1);for(var a=0,s=0;s<e.length;s++)1==e[s]&&(a=s);for(var c=function(i){if(1==e[i])if(i!=a){var o=n*h.calculateDistance(h.ball_Array[i].x,h.ball_Array[i].y,h.Pos_Array[i].x,h.Pos_Array[i].y,3);h.ball_Array[i].getComponent("Sun").move=!0,cc.tween(h.ball_Array[i]).to(o,{position:h.Pos_Array[i]}).call(function(){t.ball_Array[i].getComponent("Sun").move=!1}).start()}else o=n*h.calculateDistance(h.ball_Array[i].x,h.ball_Array[i].y,h.Pos_Array[i].x,h.Pos_Array[i].y,3),h.ball_Array[i].getComponent("Sun").move=!0,cc.tween(h.ball_Array[i]).to(o,{position:h.Pos_Array[i]}).call(function(){t.ball_Array[i].getComponent("Sun").move=!1}).start()},h=this,l=0;l<this.ball_Array.length;l++)c(l)}},e.prototype.beginGame=function(){this.begin=!0,this.startTime=cc.fx.GameTool.getTime(),this.timeStart=cc.fx.GameTool.getTime(),this.pause=!1},e.prototype.createSun=function(){for(var t=this,e=cc.fx.GameConfig.LEVEL_INFO[this.level-1],i=0,n=function(n){setTimeout(function(){if(0==t.over){var i=t.getPos(!1,n);t.Pos_Array.push(i),t.Pos_Array.length==e.number&&(t.createMove(),t.createPos())}},100*(i+=1))},o=0;o<e.number;o++)n(o)},e.prototype.createPos=function(){for(var t={x:this.ball.x,y:this.ball.y,time:0,timeCount:0,color:0,speed:0,repeat:!1},e=cc.fx.GameConfig.LEVEL_INFO[this.level-1],i=[0,1],n=0;n<e.number-2;n++){var o=parseInt(3*Math.random()+"");e.number<6&&2==o&&(o=0),i.push(o),i.sort(function(){return Math.random()-.5})}i.sort(function(){return Math.random()-.5}),4==e.number&&(i=[0,0,0,0]),this.color_Array=i;for(var r=0;r<e.number;r++){var a=this.timeCount+(.6-this.calculateDistance(this.ball.x,this.ball.y,this.Pos_Array[r].x,this.Pos_Array[r].y,1)),s=this.calculateDistance(this.ball.x,this.ball.y,this.Pos_Array[r].x,this.Pos_Array[r].y,1)+a;t={x:this.Pos_Array[r].x,y:this.Pos_Array[r].y,time:s,timeCount:a,color:i[r],speed:e.moveSpeed,repeat:!1},this.repeat==r?t.repeat=!0:this.numberRepeat==r&&(t.repeat=!0),this.now_Array.push(t)}this.runGame()},e.prototype.getPos=function(t,e){var i=620*Math.random()-310,n=Math.random()*(this.fitTop-this.fitBot)+this.fitBot,o=cc.v2(i,n);if(this.Pos_Array.length>0)for(var r=0;r<this.Pos_Array.length;r++){var a,s=!1;r==e&&(s=!0),0==(a=this.getDistance(i,n,this.Pos_Array[r].x,this.Pos_Array[r].y,s))&&(r=1e4,o=this.getPos(t,e)),1==a&&r==this.Pos_Array.length-1&&(r=1e4)}return o},e.prototype.getPos2=function(t,e){var i=620*Math.random()-310,n=Math.random()*(this.fitTop-this.fitBot)+this.fitBot,o=cc.v2(i,n);if(this.Pos_Array.length>0)for(var r=0;r<this.Pos_Array.length;r++){var a,s=!1;r==e&&(s=!0),0==(a=this.getDistance2(i,n,this.Pos_Array[r].x,this.Pos_Array[r].y,s))&&(r=1e4,o=this.getPos2(t,e)),1==a&&r==this.Pos_Array.length-1&&(r=1e4)}return o},e.prototype.getDistance=function(t,e,i,n,o){var r=!1,a=i-t,s=n-e,c=Math.sqrt(a*a+s*s);return c>160&&(1==o?(cc.fx.GameConfig,r=c<cc.fx.GameConfig.LEVEL_INFO[this.level-1].maxMove):r=c<cc.fx.GameConfig.LEVEL_INFO[this.level-1].maxMove),r},e.prototype.hitAction=function(t){var e=this;this.hit.active=!0,this.hit.opacity=0,this.hit.setPosition,this.hit.setPosition(this.ball_Array[t].x+35,this.ball_Array[t].y+35),cc.tween(this.hit).to(0,{opacity:255}).to(.2,{position:cc.v3(this.hit.x-35,this.hit.y-35,0)}).delay(.2).to(.1,{opacity:0}).call(function(){e.hit.active=!1}).start()},e.prototype.createBall=function(t,e,i,n){var o=null;0==e?o=cc.instantiate(this.qiu1):1==e?o=cc.instantiate(this.qiu2):2==e&&(o=cc.instantiate(this.qiu3)),o.parent=this.node.getChildByName("Sun"),o.zIndex=this.now_Array.length-t,o.setPosition(this.ball.x,this.ball.y),o.getComponent("Sun").init(t,e,i,n),this.ball_Array.push(o)},e.prototype.destroyLine=function(){for(var t=0;t<this.node.getChildByName("Line").children.length;t++)this.node.getChildByName("Line").children[t]&&(this.node.getChildByName("Line").children[t].removeFromParent(),this.node.getChildByName("Line").children[t]=null);this.node.getChildByName("Line").removeAllChildren()},e.prototype.createLine=function(t,e,i){var n=cc.instantiate(this.linePrefab);n.parent=this.node.getChildByName("Line"),n.setPosition(t.x,t.y);var o=e.x-t.x,r=e.y-t.y,a=Math.sqrt(o*o+r*r);n.height=a,n.getComponent(cc.Sprite).fillRange=0,n.angle=-this.calculateAngle(t.x,t.y,e.x,e.y),cc.tween(n.getComponent(cc.Sprite)).to(i,{fillRange:1}).start()},e.prototype.calculateAngle=function(t,e,i,n){return-(180*Math.atan2(n-e,i-t)/Math.PI-90)},e.prototype.calculateDistance=function(t,e,i,n,o){var r=i-t,a=n-e,s=0,c=Math.sqrt(r*r+a*a);return 1==o?(c>800&&(c=800),s=c/800*.6):2==o?(c>1200&&(c=1200),s=c/1200*1):3==o&&(c>1200&&(c=1200),s=c/1200*1.5),s},e.prototype.getDistance2=function(t,e,i,n,o){var r=!1,a=i-t,s=n-e,c=Math.sqrt(a*a+s*s);return c>160&&(r=1!=o||c<cc.fx.GameConfig.LEVEL_INFO[this.level-1].maxDistance),r},e.prototype.bgMove=function(t){var e=this,i=300*Math.random()+300,n=600*Math.random()-300,o=this.bg1.y-i*t,r=i/400*.7;cc.tween(this.ball).to(.3,{scale:1.3}).to(r,{x:n}).start(),cc.tween(this.bg1).delay(.3).to(r,{y:o}).start(),setTimeout(function(){0==e.over&&e.startGame()},1500*r)},e.prototype.updateCountDownTime=function(){if(this.countTime>0&&0==this.pause){if(this.countTime-=1,this.time.string=cc.fx.GameTool.getTimeMargin(this.countTime),this.countTime<5){cc.tween(this.time.node).to(.25,{scale:1.5,color:cc.color(255,0,0)}).to(.25,{scale:1,color:cc.color(255,255,255)}).start();var t=this.node.getChildByName("Over");cc.tween(t).to(.2,{opacity:255}).delay(.1).to(.2,{opacity:0}).start()}if(this.countTime<=0){this.begin=!1,this.over=!0,this.unschedule(this.updateCountDownTime),this.setLoss();var e=0;this.clickCount>0&&(e=parseInt(cc.fx.GameConfig.GM_INFO.mean_Time/this.clickCount+"")),cc.fx.GameConfig.GM_INFO.mean_Time=parseInt(e/100+""),cc.fx.GameConfig.GM_INFO.mean_Time=cc.fx.GameConfig.GM_INFO.mean_Time/10,e>1e4&&(e=100*(10*Math.random()+5)),this.gameOver(e)}}},e.prototype.setData=function(){cc.fx.GameTool.setGameData()},e.prototype.gameOver=function(t){cc.fx.GameTool.setRank(t),this.node.getChildByName("GameOver").active=!0,this.node.getChildByName("GameOver").opacity=0,cc.tween(this.node.getChildByName("GameOver")).to(.4,{opacity:255}).delay(2).to(.4,{opacity:50}).call(function(){cc.director.loadScene("OverScene")}).start()},e.prototype.showNumber=function(){0==this.show?this.show=!0:1==this.show&&(this.show=!1);for(var t=0;t<this.ball_Array.length;t++)this.ball_Array[t].getComponent("Sun").showNumber(this.show)},e.prototype.onEnable=function(){cc.fx.Notifications.on("clickSun",this.clickSun,this)},e.prototype.onDisable=function(){cc.fx.Notifications.off("clickSun",this.clickSun)},e.prototype.update=function(){},r([c(cc.Node)],e.prototype,"ball",void 0),r([c(cc.Prefab)],e.prototype,"qiu1",void 0),r([c(cc.Prefab)],e.prototype,"qiu2",void 0),r([c(cc.Prefab)],e.prototype,"qiu3",void 0),r([c(cc.Prefab)],e.prototype,"linePrefab",void 0),r([c(cc.Node)],e.prototype,"hit",void 0),r([c(cc.Label)],e.prototype,"levelLabel",void 0),r([s],e)}(cc.Component);i.default=h,cc._RF.pop()},{}],GameOver:[function(t,e,i){"use strict";cc._RF.push(e,"805c6nf399HWZeuWnNB9CTH","GameOver");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=a.property,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.count=null,e.time=null,e.selfNode=null,e.one=null,e.two=null,e.three=null,e.four=null,e.five=null,e}return o(e,t),e.prototype.start=function(){this.count.string=cc.fx.GameConfig.GM_INFO.total+"",cc.fx.GameConfig.GM_INFO.mean_Time>10&&(cc.fx.GameConfig.GM_INFO.mean_Time=(parseInt(10*Math.random()+"")+5)/10),this.time.string=cc.fx.GameConfig.GM_INFO.mean_Time+"s",this.init()},e.prototype.init=function(){this.listData=[],this.selfData=null,this.one.active=!1,this.two.active=!1,this.three.active=!1,this.four.active=!1,this.five.active=!1;var t=window.location.href;this.containsTrain(t)?(this.node.getChildByName("again").active=!1,this.node.getChildByName("back").active=!1,this.node.getChildByName("finishi").active=!0):(this.node.getChildByName("again").active=!0,this.node.getChildByName("back").active=!0,this.node.getChildByName("finishi").active=!1),this.getRank()},e.prototype.jumpFinishi=function(){window.location.href="https://train.sparkus.cn/poster/game/"},e.prototype.openRank=function(){cc.director.loadScene("RankScene")},e.prototype.again=function(){cc.director.loadScene("GameScene")},e.prototype.containsTrain=function(t){return/from=train/i.test(t)},e.prototype.getRank=function(){var t=this;cc.fx.GameTool.getRank({length:5},function(e){return t.getRankData(e)})},e.prototype.getRankData=function(t){if(t){cc.fx.GameTool.getRankData(t,this,4),cc.fx.GameTool.setPic(this.selfNode.getChildByName("pic").getChildByName("icon"),this.selfData.pic);for(var e=0;e<=4;e++)this.setRank(e,this.listData[e])}},e.prototype.setRank=function(t,e){var i=null;0==t?i=this.one:1==t?i=this.two:2==t?i=this.three:3==t?i=this.four:4==t&&(i=this.five),i&&(i.active=!0,cc.fx.GameTool.subName(e.nickName,4),i.getChildByName("name").getComponent(cc.Label).string=e.nickName,i.getChildByName("total").getComponent(cc.Label).string=e.totalSunCount,cc.fx.GameTool.setPic(i.getChildByName("pic").getChildByName("icon"),e.pic))},r([c(cc.Label)],e.prototype,"count",void 0),r([c(cc.Label)],e.prototype,"time",void 0),r([c(cc.Node)],e.prototype,"selfNode",void 0),r([c(cc.Node)],e.prototype,"one",void 0),r([c(cc.Node)],e.prototype,"two",void 0),r([c(cc.Node)],e.prototype,"three",void 0),r([c(cc.Node)],e.prototype,"four",void 0),r([c(cc.Node)],e.prototype,"five",void 0),r([s],e)}(cc.Component);i.default=h,cc._RF.pop()},{}],GameTool:[function(t,e,i){"use strict";cc._RF.push(e,"43bfcJ6/25Fs4fHUE0PeBOX","GameTool"),Object.defineProperty(i,"__esModule",{value:!0}),i.GameTool=void 0;var n={_startTime:0,_endTime:0,_totalTime:0,Authentication:function(){var t="user_"+cc.fx.GameConfig.GM_INFO.gameId,e=null;if(localStorage.getItem(t)&&(e=JSON.parse(localStorage.getItem(t))),"undifend"==e||null==e||""==e){var i=window.location.href;if(!this.containsTrain(i)||!this.isNumber(e.userId)){var n="https://api.sparkus.cn/api/user/auth/login?domain=hui32579WdYPsgYq&callback="+location.href;window.location.href=n}}else cc.fx.StorageMessage.setStorage(t,e),cc.fx.GameConfig.GM_INFO.userId=parseInt(e.userId)},isNumber:function(t){var e=!1;return(e="number"==typeof t)&&t<2e5&&(e=!1),e},containsTrain:function(t){return/from=train/i.test(t)},setGameData:function(){cc.fx.GameConfig.GAME_DATA=[],cc.fx.GameConfig.GAME_DATA.push(cc.fx.GameConfig.CLICK_DATA);var t=cc.fx.GameConfig.CLICK_DATA.round;cc.fx.GameConfig.CLICK_init();var e=cc.fx.GameConfig.GAME_DATA,i=this.getMatchId(t),n={gameId:cc.fx.GameConfig.GM_INFO.gameId,userId:cc.fx.GameConfig.GM_INFO.userId,matchId:i,data:e};console.log("\u4e0a\u4f20\u6570\u636e:",n),cc.fx.HttpUtil.uploadUserLogData(n,function(){})},setRank:function(t){var e={gameId:cc.fx.GameConfig.GM_INFO.gameId,userId:cc.fx.GameConfig.GM_INFO.userId,type:1,reactionTime:t,totalSunCount:cc.fx.GameConfig.GM_INFO.total,success:cc.fx.GameConfig.GM_INFO.success};cc.fx.HttpUtil.rankData(1,function(){},e)},getRank:function(t,e){var i=t.length,n={gameId:cc.fx.GameConfig.GM_INFO.gameId,userId:cc.fx.GameConfig.GM_INFO.userId,page:1,pageSize:i};cc.fx.HttpUtil.rankData(2,function(t){e(t)},n)},getMatchId:function(t){var e=cc.sys.localStorage.getItem("matchId"),i=e;if("undifend"==e||null==e)e=this.setMatchId();else if(1==this.containsNanana(e))e=this.setMatchId();else{var n=parseInt(i.substring(10,i.length));1==t&&(n+=1,e=i.slice(0,10)+n+"",this.containsNanana(e)&&(e=this.setMatchId()),cc.fx.GameConfig.GM_INFO.matchId=e,cc.sys.localStorage.setItem("matchId",e))}return 1==this.containsNanana(e)&&(e=this.setMatchId()),e},containsNanana:function(t){return/na/i.test(t)},setMatchId:function(){for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",e=[],i=0;i<10;i++){var n=Math.floor(Math.random()*t.length),o=t.charAt(n);e.push(o)}var r=e.join("")+1+"";return cc.sys.localStorage.setItem("matchNumber",1),this.containsNanana(r)&&(r=this.setMatchId()),cc.sys.localStorage.setItem("matchId",r),cc.fx.GameConfig.GM_INFO.matchId=r,r},subName:function(t,e){return t.length>e&&(t=t.substring(0,e)+"..."),t},setPic:function(t,e){t.active=!1;var i=e;setTimeout(function(){fetch(i).then(function(t){return t.headers.get("Content-Length")}).then(function(e){"5093"==e&&(t.active=!0)}).catch(function(){})},100),cc.assetManager.loadRemote(i,{ext:".png"},function(e,i){i&&(t.active=!0,t.getComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(i))})},getRankData:function(t,e,i){e.listData=t.data.list,e.selfData=t.data.info;var n=[],o=!1;cc.fx.GameTool.setPic(e.selfNode.getChildByName("pic").getChildByName("icon"),e.selfData.pic);for(var r=0;r<=e.listData.length-1;r++)n.push({rank:r+1,name:e.listData[r].nickName,total:e.listData[r].totalSunCount,pic:e.listData[r].pic}),cc.fx.GameConfig.GM_INFO.userId==e.listData[r].userId&&(o=!0,e.rankNumber=r,e.selfNode.getChildByName("rankLab").getComponent(cc.Label).string=r+1+""),r==e.listData.length-1&&0==o&&(e.rankNumber=r,e.selfNode.getChildByName("rankLab").getComponent(cc.Label).string="99+");var a=cc.fx.GameTool.subName(e.selfData.nickName,i);switch(e.selfNode.getChildByName("nameLab").getComponent(cc.Label).string=a,e.selfNode.getChildByName("totalLab").getComponent(cc.Label).string=e.selfData.totalSunCount,e.selfNode.getChildByName("rankLab").getComponent(cc.Label).string){case"1":e.selfNode.getChildByName("rank").getChildByName("one").active=!0;break;case"2":e.selfNode.getChildByName("rank").getChildByName("two").active=!0;break;case"3":e.selfNode.getChildByName("rank").getChildByName("three").active=!0}6==i&&(e.rankList.setData(n),e.selfNode.opacity=255,0==e.selfData.totalSunCount&&(e.selfNode.opacity=0))},getSetScreenResolutionFlag:function(){var t=cc.winSize,e=t.width;return!(t.height/e>16.2/9)},setFit:function(){return cc.fx.GameTool.getSetScreenResolutionFlag()},getGameInfo:function(){return!1},setGameInfo:function(){},getTimeMargin:function(t){var e,i;e=t,i=parseInt(e/3600+"");var n=parseInt((e-3600*i)/60+""),o=""+n;n<10&&(o="0"+n);var r=e-3600*i-60*n,a=r+"";return r<10&&(a="0"+r),o+":"+a},getTime:function(){return(new Date).getTime()},pushLister:function(){},removeAllLister:function(){}};i.GameTool=n,cc._RF.pop()},{}],GuideManager:[function(t,e,i){"use strict";cc._RF.push(e,"3fd2fh6vHNJeISUizW09xat","GuideManager");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=a.property,h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dialog=null,e.ball=null,e.qiu1=null,e.linePrefab=null,e}return o(e,t),e.prototype.start=function(){cc.fx.GameConfig.GM_INFO.custom=0,this.init(),this.startGuide(0)},e.prototype.init=function(){this.custom=1,this.ball.zIndex=100,this.Pos_Array=[],this.ball_Array=[],this.begin=!1,this.clickNow=0,this.tip=null},e.prototype.startGuide=function(t){var e=this,i="tip"+this.custom;0!=t?cc.tween(this.node).to(.5,{opacity:255}).call(function(){e.custom+=1,0!=t&&(e.custom=2),2==e.custom?e.createSun(!0):3==e.custom?e.createSun(!1):4==e.custom?e.begin=!0:5==e.custom&&cc.director.loadScene("GameScene")}).start():(this.tip=this.dialog.getChildByName(i),this.tip.active=!0,this.tip.opacity=0,cc.tween(this.tip).to(.5,{opacity:255}).start())},e.prototype.beginClick=function(){for(var t=0;t<this.ball_Array.length;t++)this.ball_Array[t].getComponent("Sun").move=!1},e.prototype.clickBtn=function(){cc.director.loadScene("GameScene")},e.prototype.next=function(){var t=this;cc.tween(this.tip).to(.5,{opacity:0}).call(function(){t.custom+=1,2==t.custom?t.createSun(!0):3==t.custom?t.createSun(!1):4==t.custom?t.begin=!0:5==t.custom&&cc.director.loadScene("GameScene")}).start()},e.prototype.createSun=function(t){var e=this;if(1==t){this.ball_Array=[],this.Pos_Array.push(cc.v2(-250,-216),cc.v2(200,-115),cc.v2(-35,-500));var i=this.calculateDistance(this.ball.x,this.ball.y,this.Pos_Array[0].x,this.Pos_Array[0].y);this.ball.opacity=0,cc.tween(this.ball).to(i,{position:this.Pos_Array[0]}).call(function(){e.createBall(0,0,0,!1)}).delay(1).call(function(){e.startGuide(0)}).start()}else{var n=this.calculateDistance(this.Pos_Array[0].x,this.Pos_Array[0].y,this.Pos_Array[1].x,this.Pos_Array[1].y),o=this.calculateDistance(this.Pos_Array[1].x,this.Pos_Array[1].y,this.Pos_Array[2].x,this.Pos_Array[2].y);this.ball.opacity=255,this.createLine(cc.v2(this.ball.x,this.ball.y),cc.v2(this.Pos_Array[1].x,this.Pos_Array[1].y),.5),cc.tween(this.ball).to(n,{position:this.Pos_Array[1]}).call(function(){e.createBall(1,0,0,!1)}).delay(.5).call(function(){e.createLine(cc.v2(e.ball.x,e.ball.y),cc.v2(e.Pos_Array[2].x,e.Pos_Array[2].y),.5)}).to(o,{position:this.Pos_Array[2]}).call(function(){e.createBall(2,0,0,!1),e.ball.opacity=0}).delay(.2).call(function(){e.destroyLine(),e.startGuide(0)}).start()}},e.prototype.createBall=function(t,e,i,n){var o=null;(o=cc.instantiate(this.qiu1)).parent=this.node.getChildByName("Sun"),o.zIndex=this.Pos_Array.length-t,o.setPosition(this.ball.x,this.ball.y),o.getComponent("Sun").init(t,e,i,n),o.getComponent("Sun").move=!0,this.ball_Array.push(o)},e.prototype.calculateDistance=function(t,e,i,n){var o=i-t,r=n-e,a=Math.sqrt(o*o+r*r);return a>800&&(a=800),a/800*.8},e.prototype.passLevel=function(){var t=this,e=this.node.getChildByName("Win");e.active=!0,e.setScale(0),cc.tween(e).delay(.4).to(.01,{scale:2.5}).to(.35,{scale:1}).delay(.6).call(function(){e.active=!1,setTimeout(function(){t.destroyLine();for(var e=[],i=0,n=t.ball_Array[0],o=1;o<t.ball_Array.length;o++){var r=t.calculateDistance(t.ball_Array[o].x,t.ball_Array[o].y,t.ball_Array[o-1].x,t.ball_Array[o-1].y);e.push(r)}for(var a=function(o){setTimeout(function(){cc.tween(n).to(e[o-1],{x:t.ball_Array[o].x,y:t.ball_Array[o].y}).call(function(){t.ball_Array[o].active=!1,o==t.ball_Array.length-1&&setTimeout(function(){t.ball.opacity=255,t.ball.position=cc.v3(n.x,n.y,0),t.ball.active=!1,t.startGuide(0)},200)}).start()},1e3*i),i+=e[o-1]+.1},s=1;s<t.ball_Array.length;s++)a(s)},400)}).start()},e.prototype.clickSun=function(t){var e=this;1==this.begin&&(t==this.clickNow?(cc.fx.AudioManager._instance.playAudioButton(),this.clickNow>0&&this.createLine(cc.v2(this.ball_Array[this.clickNow-1].x,this.ball_Array[this.clickNow-1].y),cc.v2(this.ball_Array[this.clickNow].x,this.ball_Array[this.clickNow].y),.2),this.clickNow+=1,cc.fx.GameConfig.GM_INFO.total+=1,setTimeout(function(){e.ball_Array[e.clickNow-1]&&(e.ball_Array[e.clickNow-1].getChildByName("guang").active=!1)},200),3==this.clickNow&&this.passLevel()):this.loseLevel())},e.prototype.loseLevel=function(){var t=this;this.begin=!1,cc.fx.AudioManager._instance.playWarning(),this.destroyLine();for(var e=this.ball_Array[0],i=function(i){cc.tween(n.ball_Array[i]).to(.6,{x:e.x,y:e.y}).call(function(){t.ball_Array[i].active=!1,i==t.ball_Array.length-1&&(t.ball.opacity=0,t.ball.position=cc.v3(e.x,e.y,0),t.clearSun(),t.custom=1,t.startGuide(1))}).start()},n=this,o=1;o<this.ball_Array.length;o++)i(o);var r=this.node.getChildByName("Over");cc.tween(r).to(.25,{opacity:255}).delay(.1).to(.2,{opacity:0}).delay(.1).to(.15,{opacity:255}).delay(.1).to(.1,{opacity:0}).start()},e.prototype.clearSun=function(){for(var t=0;t<this.ball_Array.length;t++)this.ball_Array[t].removeFromParent(),this.ball_Array[t]=null;this.ball_Array=[]},e.prototype.createLine=function(t,e,i){var n=cc.instantiate(this.linePrefab);n.parent=this.node.getChildByName("Line"),n.setPosition(t.x,t.y);var o=e.x-t.x,r=e.y-t.y,a=Math.sqrt(o*o+r*r);n.height=a,n.getComponent(cc.Sprite).fillRange=0,n.angle=-this.calculateAngle(t.x,t.y,e.x,e.y),cc.tween(n.getComponent(cc.Sprite)).to(i,{fillRange:1}).start()},e.prototype.destroyLine=function(){for(var t=0;t<this.node.getChildByName("Line").children.length;t++)this.node.getChildByName("Line").children[t]&&(this.node.getChildByName("Line").children[t].removeFromParent(),this.node.getChildByName("Line").children[t]=null);this.node.getChildByName("Line").removeAllChildren()},e.prototype.calculateAngle=function(t,e,i,n){return-(180*Math.atan2(n-e,i-t)/Math.PI-90)},e.prototype.onEnable=function(){cc.fx.Notifications.on("clickSun",this.clickSun,this)},e.prototype.onDisable=function(){cc.fx.Notifications.off("clickSun",this.clickSun)},r([c(cc.Node)],e.prototype,"dialog",void 0),r([c(cc.Node)],e.prototype,"ball",void 0),r([c(cc.Prefab)],e.prototype,"qiu1",void 0),r([c(cc.Prefab)],e.prototype,"linePrefab",void 0),r([s],e)}(cc.Component);i.default=h,cc._RF.pop()},{}],HttpUtil:[function(t,e,i){"use strict";cc._RF.push(e,"771a32aQBNGVKd3+66gyTKA","HttpUtil");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a},a=this&&this.__awaiter||function(t,e,i,n){return new(i||(i=Promise))(function(o,r){function a(t){try{c(n.next(t))}catch(e){r(e)}}function s(t){try{c(n.throw(t))}catch(e){r(e)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})},s=this&&this.__generator||function(t,e){var i,n,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(s){r=[6,s],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(i,"__esModule",{value:!0});var c=cc._decorator,h=c.ccclass,l=(c.property,t("./crypto-js.min.js")),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var i;return o(e,t),i=e,e.getShareInfo=function(t){return a(this,void 0,Promise,function(){var e,n;return s(this,function(){return console.log("\u8bbe\u7f6e\u5206\u4eab\u94fe\u63a5:",t),e=Math.floor((new Date).getTime()/1e3),n=i.apiSign("/api/share/cfg?gameId="+p.gameId+"&time="+e+"&url="+t,{}),[2,this.post(n,null,null)]})})},e.rankData=function(t,e,n){return a(this,void 0,Promise,function(){var o,r;return s(this,function(){return o=Math.floor((new Date).getTime()/1e3),r=i.apiSign("/api/get/rank/data?gameId="+p.gameId+"&dataType="+t+"&time="+o,n),this.post(r,n,e),[2]})})},e.uploadUserLogData=function(t,e){return a(this,void 0,Promise,function(){return s(this,function(){return this.post("/log/collect/data",t,e),[2]})})},e.getUserRecord=function(t,e){return a(this,void 0,Promise,function(){var n,o;return s(this,function(){return n=Math.floor((new Date).getTime()/1e3),o=i.apiSign("/api/get/user/data?gameId="+p.gameId+"&time="+n,t),this.post(o,t,e),[2]})})},e.post=function(t,e,i){return a(this,void 0,void 0,function(){var n;return s(this,function(o){switch(o.label){case 0:return[4,this.fetchData(t,e,"POST")];case 1:return n=o.sent(),i&&i(n),[2]}})})},e.get=function(t,e){return a(this,void 0,void 0,function(){var i;return s(this,function(n){switch(n.label){case 0:return[4,this.fetchData(t,null,"GET")];case 1:return i=n.sent(),e&&e(i),[2]}})})},e.fetchData=function(t,e,i){return a(this,void 0,void 0,function(){var n,o,r,a;return s(this,function(s){switch(s.label){case 0:n="https://api.sparkus.cn"+t,o={method:i,headers:{"Content-Type":"application/json"},body:e?JSON.stringify(e):null},s.label=1;case 1:return s.trys.push([1,4,,5]),[4,fetch(n,o)];case 2:if(!(r=s.sent()).ok)throw new Error("HTTP error! status: "+r.status);return[4,r.json()];case 3:return[2,s.sent()];case 4:return a=s.sent(),console.error("Fetch error:",a),[2,null];case 5:return[2]}})})},e.apiSign=function(t,e){void 0===e&&(e={});var i=t.trim();-1===i.indexOf("?")&&(i+="?");var n="sign="+y(i,d(e)),o=f.encryptByDES(n,p.secretKey);return o=encodeURIComponent(o),m(i)+"&_p="+o},i=r([h],e)}(cc.Component);i.default=u;var p={gameId:"100009",secretKey:"CMNhOzBA",EK:"hui231%1"},f=new(function(){function t(){this.keyHex=this.getHetKey()}return t.prototype.getHetKey=function(){return l.enc.Utf8.parse(p.EK)},t.prototype.encryptByDES=function(t,e){if(!t)return t;var i=e?l.enc.Utf8.parse(e):this.keyHex;return l.DES.encrypt(t,i,{mode:l.mode.ECB,padding:l.pad.Pkcs7}).toString()},t.prototype.decryptByDES=function(t,e){var i=e?l.enc.Utf8.parse(e):this.keyHex;return l.DES.decrypt({ciphertext:l.enc.Base64.parse(t)},i,{mode:l.mode.ECB,padding:l.pad.Pkcs7}).toString(l.enc.Utf8)},t.prototype.hmacSha256=function(t,e){var i=e?l.enc.Utf8.parse(e):this.keyHex;return l.HmacSHA256(t,i).toString()},t.prototype.verifyHmacSha256=function(t,e){return l.HmacSHA256(t,this.keyHex).toString()===e},t.prototype.encryptCBC=function(t){if(!t)return t;var e=l.enc.Utf8.parse(t);return l.AES.encrypt(e,this.keyHex,{iv:this.keyHex,mode:l.mode.CBC,padding:l.pad.ZeroPadding}).toString()},t.prototype.decryptCBC=function(t){if(!t)return t;var e=l.enc.Hex.parse(t),i=l.enc.Base64.stringify(e);return l.AES.decrypt(i,this.keyHex,{iv:this.keyHex,mode:l.mode.CBC,padding:l.pad.ZeroPadding}).toString(l.enc.Utf8).toString()},t}());function d(t){for(var e,i=Object.keys(t).sort(),n={},o=0;o<i.length;o++)""!==(e=t[i[o]])&&null!=e&&0!==e.length&&"{}"!=JSON.stringify(e)&&(n[i[o]]=t[i[o]]);var r=[];for(var a in n)r.push(encodeURIComponent(a)+"="+encodeURIComponent(n[a]));return r.join("&")}function y(t,e){var i=t.replace("?","");return i=i+"&"+e,encodeURIComponent(f.hmacSha256(i))}function m(t){var e=t.split("?",2),i=e[0],n=e[1];return i+"?"+new URLSearchParams(n).toString()}cc._RF.pop()},{"./crypto-js.min.js":"crypto-js.min"}],ItemRender:[function(t,e,i){"use strict";cc._RF.push(e,"ca0f9k0oBVDbpQC+OMNTF3m","ItemRender");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=(a.property,function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=null,e.itemIndex=0,e}return o(e,t),e.prototype.dataChanged=function(){var t=cc.fx.GameTool.subName(this.data.name,6);this.node.getChildByName("rankLab").getComponent(cc.Label).string=this.data.rank+"",this.node.getChildByName("nameLab").getComponent(cc.Label).string=t+"",this.node.getChildByName("totalLab").getComponent(cc.Label).string=this.data.total+"",this.node.getChildByName("rank").getChildByName("one").active=!1,this.node.getChildByName("rank").getChildByName("two").active=!1,this.node.getChildByName("rank").getChildByName("three").active=!1,1==this.data.rank?(this.node.getChildByName("rank").getChildByName("one").active=!0,this.node.getChildByName("rankLab").active=!1):2==this.data.rank?(this.node.getChildByName("rank").getChildByName("two").active=!0,this.node.getChildByName("rankLab").active=!1):3==this.data.rank?(this.node.getChildByName("rank").getChildByName("three").active=!0,this.node.getChildByName("rankLab").active=!1):this.node.getChildByName("rankLab").active=!0,this.setPic()},e.prototype.setPic=function(){var t=this;this.node.getChildByName("pic").getChildByName("icon").active=!1,this.node.getChildByName("pic").getChildByName("pic").active=!1;var e=this.data.pic;fetch(e).then(function(t){return t.headers.get("Content-Length")}).then(function(e){"5093"==e&&(t.node.getChildByName("pic").getChildByName("icon").active=!0)}).catch(function(){}),cc.assetManager.loadRemote(e,{ext:".png"},function(e,i){i?(t.node.getChildByName("pic").getChildByName("pic").active=!0,t.node.getChildByName("pic").getChildByName("pic").getComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(i)):console.log(e,i)})},r([s],e)}(cc.Component));i.default=c,cc._RF.pop()},{}],List:[function(t,e,i){"use strict";cc._RF.push(e,"d5421HgLShFKIjj5f18m1mi","List");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0}),i.StartAxisType=i.ListType=void 0;var a,s,c=t("./ItemRender"),h=cc._decorator,l=h.ccclass,u=h.property;(function(t){t[t.Horizontal=1]="Horizontal",t[t.Vertical=2]="Vertical",t[t.Grid=3]="Grid"})(a=i.ListType||(i.ListType={})),function(t){t[t.Horizontal=1]="Horizontal",t[t.Vertical=2]="Vertical"}(s=i.StartAxisType||(i.StartAxisType={}));var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.itemRender=null,e.type=a.Vertical,e.startAxis=s.Horizontal,e.spaceX=0,e.spaceY=0,e.padding_top=0,e.padding_buttom=0,e.padding_left=0,e._padding=0,e.padding_right=0,e.scrollView=null,e.content=null,e.itemDataList=[],e.spawnCount=0,e.itemList=[],e.itemHeight=0,e.itemWidth=0,e.itemPool=[],e.halfScrollView=0,e.lastContentPosX=0,e.lastContentPosY=0,e.gridRow=0,e.gridCol=0,e.updateTimer=0,e.updateInterval=.1,e.bScrolling=!1,e.updateFun=function(){},e}return o(e,t),e.prototype.onLoad=function(){this.itemHeight=this.itemRender.height,this.itemWidth=this.itemRender.width,this.scrollView=this.node.getComponent(cc.ScrollView),this.content=this.scrollView.content,this.content.anchorX=0,this.content.anchorY=1,this.content.removeAllChildren(),this.scrollView.node.on("scrolling",this.onScrolling,this)},e.prototype.setData=function(t){this.itemDataList=t.slice(),this.updateContent()},e.prototype.countListParam=function(){var t=this.itemDataList.length;this.type==a.Vertical?(this.scrollView.horizontal=!1,this.scrollView.vertical=!0,this.content.width=this.content.parent.width,this.content.height=t*this.itemHeight+(t-1)*this.spaceY+this.padding_top+this.padding_buttom,this.spawnCount=Math.round(this.scrollView.node.height/(this.itemHeight+this.spaceY))+2,this.halfScrollView=this.scrollView.node.height/2+this.itemHeight/2+this.spaceY,this.updateFun=this.updateV):this.type==a.Horizontal?(this.scrollView.horizontal=!0,this.scrollView.vertical=!1,this.content.width=t*this.itemWidth+(t-1)*this.spaceX+this.padding_left+this.padding_right,this.content.height=this.content.parent.height,this.spawnCount=Math.round(this.scrollView.node.width/(this.itemWidth+this.spaceX))+2,this.halfScrollView=this.scrollView.node.width/2+this.itemWidth/2+this.spaceX,this.updateFun=this.udpateH):this.type==a.Grid&&(this.startAxis==s.Vertical?(this.scrollView.horizontal=!1,this.scrollView.vertical=!0,this.content.width=this.content.parent.width,this.padding_left+this.padding_right+this.itemWidth+this.spaceX>this.content.width&&(this.padding_left=0,this.padding_right=0,console.error("padding_left\u6216padding_right\u8fc7\u5927")),this.gridCol=Math.floor((this.content.width-this.padding_left-this.padding_right)/(this.itemWidth+this.spaceX)),this.gridRow=Math.ceil(t/this.gridCol),this.content.height=this.gridRow*this.itemHeight+(this.gridRow-1)*this.spaceY+this.padding_top+this.padding_buttom,this.spawnCount=Math.round(this.scrollView.node.height/(this.itemHeight+this.spaceY))*this.gridCol+2*this.gridCol,this.halfScrollView=this.scrollView.node.height/2+this.itemHeight/2+this.spaceY,this.updateFun=this.updateGrid_V):this.startAxis==s.Horizontal&&(this.scrollView.horizontal=!0,this.scrollView.vertical=!1,this.content.height=this.content.parent.height,this.padding_top+this.padding_buttom+this.itemHeight+this.spaceY>this.content.height&&(this.padding_top=0,this.padding_buttom=0,console.error("padding_top\u6216padding_buttom\u8fc7\u5927")),this.gridRow=Math.floor((this.content.height-this.padding_top-this.padding_buttom)/(this.itemHeight+this.spaceY)),this.gridCol=Math.ceil(t/this.gridRow),this.content.width=this.gridCol*this.itemWidth+(this.gridCol-1)*this.spaceX+this.padding_left+this.padding_right,this.spawnCount=Math.round(this.scrollView.node.width/(this.itemWidth+this.spaceX))*this.gridRow+2*this.gridRow,this.halfScrollView=this.scrollView.node.width/2+this.itemWidth/2+this.spaceX,this.updateFun=this.updateGrid_H))},e.prototype.createList=function(t,e){this.itemDataList.length>this.spawnCount&&t+this.spawnCount-1>=this.itemDataList.length?(t=this.itemDataList.length-this.spawnCount,e=this.scrollView.getMaxScrollOffset()):this.itemDataList.length<=this.spawnCount&&(t=0);for(var i=0;i<this.spawnCount;i++){var n=void 0;if(i+t<this.itemDataList.length){null==this.itemList[i]?(n=this.getItem(),this.itemList.push(n),n.parent=this.content):n=this.itemList[i];var o=n.getComponent(c.default);if(o.itemIndex=i+t,o.data=this.itemDataList[i+t],o.dataChanged(),this.type==a.Vertical)n.setPosition(this.content.width/2,-n.height*(.5+i+t)-this.spaceY*(i+t)-this.padding_top);else if(this.type==a.Horizontal)n.setPosition(n.width*(.5+i+t)+this.spaceX*(i+t)+this.padding_left,-this.content.height/2);else if(this.type==a.Grid)if(this.startAxis==s.Vertical){var r=Math.floor((i+t)/this.gridCol),h=(i+t)%this.gridCol;n.setPosition(n.width*(.5+h)+this.spaceX*h+this.padding_left,-n.height*(.5+r)-this.spaceY*r-this.padding_top),n.opacity=255}else this.startAxis==s.Horizontal&&(r=(i+t)%this.gridRow,h=Math.floor((i+t)/this.gridRow),n.setPosition(n.width*(.5+h)+this.spaceX*h+this.padding_left,-n.height*(.5+r)-this.spaceY*r-this.padding_top),n.opacity=255)}else this.itemList.length>this.itemDataList.length-t&&((n=this.itemList.pop()).removeFromParent(),this.itemPool.push(n))}this.scrollView.scrollToOffset(e)},e.prototype.getItem=function(){return 0==this.itemPool.length?cc.instantiate(this.itemRender):this.itemPool.pop()},e.prototype.update=function(t){0!=this.bScrolling&&(this.updateTimer+=t,this.updateTimer<this.updateInterval||(this.updateTimer=0,this.bScrolling=!1,this.updateFun()))},e.prototype.onScrolling=function(){this.bScrolling=!0},e.prototype.updateV=function(){for(var t,e=this.itemList,i=this.halfScrollView,n=this.scrollView.content.y>this.lastContentPosY,o=(this.itemHeight+this.spaceY)*e.length,r=0;r<e.length;r++){t=e[r];var a=this.getPositionInView(t);if(n){if(a.y>i&&t.y-o-this.padding_buttom>-this.content.height){var s=(h=t.getComponent(c.default)).itemIndex+e.length;h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.y=t.y-o}}else if(a.y<-i&&t.y+o+this.padding_top<0){var h;s=(h=t.getComponent(c.default)).itemIndex-e.length,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.y=t.y+o}}this.lastContentPosY=this.scrollView.content.y},e.prototype.udpateH=function(){for(var t,e=this.itemList,i=this.halfScrollView,n=this.scrollView.content.x>this.lastContentPosX,o=(this.itemWidth+this.spaceX)*e.length,r=0;r<e.length;r++){t=e[r];var a=this.getPositionInView(t);if(n){if(a.x>i&&t.x-o-this.padding_left>0){var s=(h=t.getComponent(c.default)).itemIndex-e.length;h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.x=t.x-o}}else if(a.x<-i&&t.x+o+this.padding_right<this.content.width){var h;s=(h=t.getComponent(c.default)).itemIndex+e.length,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.x=t.x+o}}this.lastContentPosX=this.scrollView.content.x},e.prototype.updateGrid_V=function(){for(var t,e=this.itemList,i=this.halfScrollView,n=this.scrollView.content.y>this.lastContentPosY,o=(this.itemHeight+this.spaceY)*(this.spawnCount/this.gridCol),r=0;r<e.length;r++){t=e[r];var a=this.getPositionInView(t);if(n){if(a.y>i&&t.y-o-this.padding_buttom>-this.content.height){var s=(h=t.getComponent(c.default)).itemIndex+this.spawnCount/this.gridCol*this.gridCol;null!=this.itemDataList[s]?(t.y=t.y-o,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.opacity=255):(t.y=t.y-o,h.itemIndex=s,t.opacity=0)}}else if(a.y<-i&&t.y+o+this.padding_top<0){var h;s=(h=t.getComponent(c.default)).itemIndex-this.spawnCount/this.gridCol*this.gridCol,null!=this.itemDataList[s]?(t.y=t.y+o,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.opacity=255):(t.y=t.y+o,h.itemIndex=s,t.opacity=0)}}this.lastContentPosY=this.scrollView.content.y},e.prototype.updateGrid_H=function(){for(var t,e=this.itemList,i=this.halfScrollView,n=this.scrollView.content.x>this.lastContentPosX,o=(this.itemWidth+this.spaceX)*(this.spawnCount/this.gridRow),r=0;r<e.length;r++){t=e[r];var a=this.getPositionInView(t);if(n){if(a.x>i&&t.x-o-this.padding_left>0){var s=(h=t.getComponent(c.default)).itemIndex-this.spawnCount/this.gridRow*this.gridRow;null!=this.itemDataList[s]?(t.x=t.x-o,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.opacity=255):(t.x=t.x-o,h.itemIndex=s,t.opacity=0)}}else if(a.x<-i&&t.x+o+this.padding_right<this.content.width){var h;s=(h=t.getComponent(c.default)).itemIndex+this.spawnCount/this.gridRow*this.gridRow,null!=this.itemDataList[s]?(t.x=t.x+o,h.itemIndex=s,h.data=this.itemDataList[s],h.dataChanged(),t.opacity=255):(t.x=t.x+o,h.itemIndex=s,t.opacity=0)}}this.lastContentPosX=this.scrollView.content.x},e.prototype.getPositionInView=function(t){var e=t.parent.convertToWorldSpaceAR(t.position);return this.scrollView.node.convertToNodeSpaceAR(e)},e.prototype.getListData=function(){return this.itemDataList},e.prototype.addItem=function(t){this.itemDataList.push(t),this.updateContent()},e.prototype.addItemAt=function(t,e){null==this.itemDataList[t]&&this.itemDataList.length!=t||(this.itemDataList.splice(t,1,e),this.updateContent())},e.prototype.deleteItem=function(t){null!=this.itemDataList[t]&&(this.itemDataList.splice(t,1),this.updateContent())},e.prototype.changeItem=function(t,e){null!=this.itemDataList[t]&&(this.itemDataList[t]=e,this.updateContent())},e.prototype.updateContent=function(){if(0==this.itemList.length)this.countListParam(),this.createList(0,new cc.Vec2(0,0));else{this.type==a.Vertical?this.itemList.sort(function(t,e){return e.y-t.y}):this.type==a.Horizontal?this.itemList.sort(function(t,e){return t.x-e.x}):this.type==a.Grid&&(this.startAxis==s.Vertical?(this.itemList.sort(function(t,e){return t.x-e.x}),this.itemList.sort(function(t,e){return e.y-t.y})):this.startAxis==s.Horizontal&&(this.itemList.sort(function(t,e){return e.y-t.y}),this.itemList.sort(function(t,e){return t.x-e.x}))),this.countListParam();var t=this.itemList[0].getComponent(c.default).itemIndex;this.type==a.Grid&&this.startAxis==s.Vertical?t+=(t+this.spawnCount)%this.gridCol:this.type==a.Grid&&this.startAxis==s.Horizontal&&(t+=(t+this.spawnCount)%this.gridRow);var e=this.scrollView.getScrollOffset();e.x=-e.x,this.createList(t,e)}},e.prototype.onDestroy=function(){for(var t=this.itemList.length,e=0;e<t;e++)cc.isValid(this.itemList[e],!0)&&this.itemList[e].destroy();for(this.itemList.length=0,t=this.itemPool.length,e=0;e<t;e++)cc.isValid(this.itemPool[e],!0)&&this.itemPool[e].destroy();this.itemPool.length=0,this.itemDataList.length=0},r([u({type:cc.Node,tooltip:"\u5217\u8868\u9879"})],e.prototype,"itemRender",void 0),r([u({type:cc.Enum(a),tooltip:"\u6392\u5217\u65b9\u5f0f"})],e.prototype,"type",void 0),r([u({type:cc.Enum(s),tooltip:"\u7f51\u683c\u5e03\u5c40\u4e2d\u7684\u65b9\u5411",visible:function(){return this.type==a.Grid}})],e.prototype,"startAxis",void 0),r([u({type:cc.Integer,tooltip:"\u5217\u8868\u9879X\u95f4\u9694",visible:function(){return this.type==a.Horizontal||this.type==a.Grid}})],e.prototype,"spaceX",void 0),r([u({type:cc.Integer,tooltip:"\u5217\u8868\u9879Y\u95f4\u9694",visible:function(){return this.type==a.Vertical||this.type==a.Grid}})],e.prototype,"spaceY",void 0),r([u({type:cc.Integer,tooltip:"\u4e0a\u95f4\u8ddd",visible:function(){return this.type==a.Vertical||this.type==a.Grid}})],e.prototype,"padding_top",void 0),r([u({type:cc.Integer,tooltip:"\u4e0b\u95f4\u8ddd",visible:function(){return this.type==a.Vertical||this.type==a.Grid}})],e.prototype,"padding_buttom",void 0),r([u({type:cc.Integer,tooltip:"\u5de6\u95f4\u8ddd",visible:function(){return this.type==a.Horizontal||this.type==a.Grid}})],e.prototype,"padding_left",void 0),r([u(cc.Integer)],e.prototype,"_padding",void 0),r([u({type:cc.Integer,tooltip:"\u53f3\u95f4\u8ddd",visible:function(){return this.type==a.Horizontal||this.type==a.Grid}})],e.prototype,"padding_right",void 0),r([l],e)}(cc.Component);i.default=p,cc._RF.pop()},{"./ItemRender":"ItemRender"}],Load:[function(t,e,i){"use strict";cc._RF.push(e,"454adgphRpA6oq5lB6Cg1fK","Load");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=(a.property,a.requireComponent,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.start=function(){window.initMgr(),cc.fx.GameConfig.init();var t=window.location.href;this.containsTrain(t)?(console.log("\u65e0\u6392\u884c\u7248\u672c"),this.node.getChildByName("Rank").active=!1):console.log("\u6709\u6392\u884c\u7248\u672c")},e.prototype.containsTrain=function(t){return/from=train/i.test(t)},e.prototype.startGame=function(){cc.director.loadScene("GuideScene")},e.prototype.clickBtn=function(t,e){cc.fx.GameConfig.GM_INFO.custom=parseInt(e),cc.director.loadScene("GameScene")},e.prototype.openRank=function(){cc.director.loadScene("RankScene")},e.prototype.update=function(){},r([s],e)}(cc.Component));i.default=c,cc._RF.pop()},{}],Notification:[function(t,e,i){"use strict";cc._RF.push(e,"55403VjGlpPL564gsdiZBg3","Notification"),Object.defineProperty(i,"__esModule",{value:!0}),i.Notifications=void 0;i.Notifications={_eventMap:[],on:function(t,e,i){void 0===this._eventMap[t]&&(this._eventMap[t]=[]),this._eventMap[t].push({callback:e,target:i})},emit:function(t,e){var i=this._eventMap[t];if(void 0!==i)for(var n=0;n<i.length;n++){var o=i[n];o&&o.callback.call(o.target,e)}},off:function(t,e){var i=this._eventMap[t];if(void 0!==i)for(var n=0;n<i.length;n++){var o=i[n];if(o&&o.callback===e){i[n]=void 0;break}}},offMasgId:function(t){this._eventMap[t]=void 0},removeAllMsg:function(){for(var t in this._eventMap)this._eventMap[t]&&this.offMasgId(t)}},cc._RF.pop()},{}],RankManager:[function(t,e,i){"use strict";cc._RF.push(e,"e74a999IDFOabyymZgXQIiy","RankManager");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=t("./module/RankList/List"),s=cc._decorator,c=s.ccclass,h=s.property,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Player=null,e.selfNode=null,e.phone=null,e}return o(e,t),e.prototype.onLoad=function(){this.init()},e.prototype.init=function(){this.rankList=cc.find("ScrollView",this.node).getComponent(a.default),this.Player.getChildByName("rank").active=!1,this.listData=[],this.selfData=null,this.rankNumber=100,this.rankTotal=100,this.selfNode.opacity=0},e.prototype.start=function(){this.Player.active=!1,this.getRank()},e.prototype.getRank=function(){var t=this;cc.fx.GameTool.getRank({length:100},function(e){return t.getRankData(e)})},e.prototype.getRankData=function(t){t&&(console.log(t),cc.fx.GameTool.getRankData(t,this,6),this.setPic(this.selfData.pic))},e.prototype.backClick=function(){cc.director.loadScene("LoadScene")},e.prototype.playerAction=function(){var t=this;this.Player.getChildByName("rank").active=!1;var e=1;if(this.tween=cc.tween(this.Player).to(2,{position:cc.v3(210,453,0)}).call(function(){t.Player.getChildByName("rank").active=!0,t.Player.getChildByName("rank").getChildByName("number").getComponent(cc.Label).string=parseInt(100*e+"")+"%"}).start(),e=(this.listData.length-this.rankNumber)/this.listData.length,this.listData.length>=99&&this.rankNumber>=99){e=(49*Math.random()+1)/100;var i=cc.sys.localStorage.getItem("matchNumber");null!=i&&null!=i||(e=0)}setTimeout(function(){t.tween&&t.tween.stop(),t.Player.getChildByName("rank").active=!0,t.Player.getChildByName("rank").getChildByName("number").getComponent(cc.Label).string=parseInt(100*e+"")+"%"},2e3*e)},e.prototype.setPic=function(t){var e=this;this.phone.node.parent.getChildByName("icon").active=!1,this.phone.node.active=!1,this.Player.active=!0,this.Player.opacity=0,this.Player.getChildByName("mask").getChildByName("icon").active=!1,this.Player.getChildByName("mask").getChildByName("phone").active=!1,fetch(t).then(function(t){return t.headers.get("Content-Length")}).then(function(t){"5093"==t&&(e.phone.node.parent.getChildByName("icon").active=!0,e.Player.getChildByName("mask").getChildByName("icon").active=!0)}).catch(function(){});var i=this;cc.assetManager.loadRemote(t,{ext:".png"},function(t,e){i.Player.opacity=255,e?(i.phone.node.active=!0,i.phone.spriteFrame=new cc.SpriteFrame(e),i.Player.getChildByName("mask").getChildByName("icon").active=!1,i.Player.getChildByName("mask").getChildByName("phone").active=!0,i.Player.getChildByName("mask").getChildByName("phone").getComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(e),setTimeout(function(){i.playerAction()},500)):(i.Player.getChildByName("mask").getChildByName("icon").active=!0,setTimeout(function(){i.playerAction()},500))})},r([h(cc.Node)],e.prototype,"Player",void 0),r([h(cc.Node)],e.prototype,"selfNode",void 0),r([h(cc.Sprite)],e.prototype,"phone",void 0),r([c],e)}(cc.Component);i.default=l,cc._RF.pop()},{"./module/RankList/List":"List"}],Storage:[function(t,e,i){"use strict";cc._RF.push(e,"1002938VFRJd70RiAno9Iys","Storage"),Object.defineProperty(i,"__esModule",{value:!0}),i.StorageMessage=void 0;var n={getStorage:function(t){var e=null;return cc.sys.localStorage.getItem(t)&&(e=cc.sys.localStorage.getItem(t)),e&&(e=JSON.parse(e)),e},setStorage:function(t,e){var i=JSON.stringify(e);cc.sys.localStorage.setItem(t,i)},removeStorage:function(t){cc.sys.localStorage.getItem(t)&&cc.sys.localStorage.removeItem(t)}};i.StorageMessage=n,cc._RF.pop()},{}],Sun:[function(t,e,i){"use strict";cc._RF.push(e,"4be67sdkexCyqLl0NHd9N1f","Sun");var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};Object.defineProperty(i,"__esModule",{value:!0});var a=cc._decorator,s=a.ccclass,c=(a.property,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.start=function(){},e.prototype.init=function(t,e,i,n){this.touch=!0,this.move=!1,this.id_Number=t,this._color=e,this._speed=i,this._repeat=n,cc.tween(this.node.getChildByName("shan")).repeatForever(cc.tween().to(1,{opacity:0,scale:.5}).delay(.2).to(1,{opacity:255,scale:1.2}).delay(.5)).start()},e.prototype.showNumber=function(t){this.node.getChildByName("number").active=t,1==t&&(this.node.getChildByName("number").getComponent(cc.Label).string=this.id_Number+"")},e.prototype.clickBtn=function(t,e){"1"===e?0==this.move&&1==this.touch&&("GameNode"==this.node.parent.parent.name?1==this.node.parent.parent.getComponent("GameManager").begin&&(cc.tween(this.node.getChildByName("action")).to(.5,{opacity:0,scale:1.8}).start(),cc.tween(this.node).to(.3,{scale:1.3}).to(.3,{scale:1}).start(),this.touch=!1,this.node.zIndex=-1,cc.fx.Notifications.emit("clickSun",this.id_Number)):(this.touch=!1,this.node.zIndex=-1,cc.fx.Notifications.emit("clickSun",this.id_Number))):1==this.touch&&1==this.node.parent.parent.getComponent("GuideManager").begin&&(this.touch=!1,this.node.zIndex=-1,cc.fx.Notifications.emit("clickSun",this.id_Number))},r([s],e)}(cc.Component));i.default=c,cc._RF.pop()},{}],"crypto-js.min":[function(t,e,i){"use strict";cc._RF.push(e,"e64e1qXyT9CV6s0gDQdj/ed","crypto-js.min"),function(t,n){"object"==typeof i?e.exports=i=n():"function"==typeof define&&define.amd?define([],n):(void 0).CryptoJS=n()}(0,function(){var t,e,i,n,o,r,a,s=s||function(t){var e=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),i={},n=i.lib={},o=n.Base={extend:function(t){var i=e(this);return t&&i.mixIn(t),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},r=n.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||s).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<o;r++){var a=i[r>>>2]>>>24-r%4*8&255;e[n+r>>>2]|=a<<24-(n+r)%4*8}else for(r=0;r<o;r+=4)e[n+r>>>2]=i[r>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],o=function(e){e=e;var i=987654321,n=4294967295;return function(){var o=((i=36969*(65535&i)+(i>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return o/=4294967296,(o+=.5)*(t.random()>.5?1:-1)}},a=0;a<e;a+=4){var s=o(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new r.init(n,e)}}),a=i.enc={},s=a.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o++){var r=e[o>>>2]>>>24-o%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new r.init(i,e/2)}},c=a.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o++){var r=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new r.init(i,e)}},h=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},l=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=h.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,o=i.sigBytes,a=this.blockSize,s=o/(4*a),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,h=t.min(4*c,o);if(c){for(var l=0;l<c;l+=a)this._doProcessBlock(n,l);var u=n.splice(0,c);i.sigBytes-=h}return new r.init(u,h)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),u=(n.Hasher=l.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new u.HMAC.init(t,i).finalize(e)}}}),i.algo={});return i}(Math);return function(){function t(t,e,n){for(var o=[],r=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2,c=n[t.charCodeAt(a)]>>>6-a%4*2;o[r>>>2]|=(s|c)<<24-r%4*8,r++}return i.create(o,r)}var e=s,i=e.lib.WordArray;e.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var o=[],r=0;r<i;r+=3)for(var a=(e[r>>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<i;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var i=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var r=0;r<n.length;r++)o[n.charCodeAt(r)]=r}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(i=s)}return t(e,i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){function e(t,e,i,n,o,r,a){var s=t+(e&i|~e&n)+o+a;return(s<<r|s>>>32-r)+e}function i(t,e,i,n,o,r,a){var s=t+(e&n|i&~n)+o+a;return(s<<r|s>>>32-r)+e}function n(t,e,i,n,o,r,a){var s=t+(e^i^n)+o+a;return(s<<r|s>>>32-r)+e}function o(t,e,i,n,o,r,a){var s=t+(i^(e|~n))+o+a;return(s<<r|s>>>32-r)+e}var r=s,a=r.lib,c=a.WordArray,h=a.Hasher,l=r.algo,u=[];!function(){for(var e=0;e<64;e++)u[e]=4294967296*t.abs(t.sin(e+1))|0}();var p=l.MD5=h.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,r){for(var a=0;a<16;a++){var s=r+a,c=t[s];t[s]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var h=this._hash.words,l=t[r+0],p=t[r+1],f=t[r+2],d=t[r+3],y=t[r+4],m=t[r+5],g=t[r+6],v=t[r+7],_=t[r+8],b=t[r+9],C=t[r+10],w=t[r+11],x=t[r+12],S=t[r+13],A=t[r+14],k=t[r+15],B=h[0],N=h[1],M=h[2],P=h[3];B=e(B,N,M,P,l,7,u[0]),P=e(P,B,N,M,p,12,u[1]),M=e(M,P,B,N,f,17,u[2]),N=e(N,M,P,B,d,22,u[3]),B=e(B,N,M,P,y,7,u[4]),P=e(P,B,N,M,m,12,u[5]),M=e(M,P,B,N,g,17,u[6]),N=e(N,M,P,B,v,22,u[7]),B=e(B,N,M,P,_,7,u[8]),P=e(P,B,N,M,b,12,u[9]),M=e(M,P,B,N,C,17,u[10]),N=e(N,M,P,B,w,22,u[11]),B=e(B,N,M,P,x,7,u[12]),P=e(P,B,N,M,S,12,u[13]),M=e(M,P,B,N,A,17,u[14]),B=i(B,N=e(N,M,P,B,k,22,u[15]),M,P,p,5,u[16]),P=i(P,B,N,M,g,9,u[17]),M=i(M,P,B,N,w,14,u[18]),N=i(N,M,P,B,l,20,u[19]),B=i(B,N,M,P,m,5,u[20]),P=i(P,B,N,M,C,9,u[21]),M=i(M,P,B,N,k,14,u[22]),N=i(N,M,P,B,y,20,u[23]),B=i(B,N,M,P,b,5,u[24]),P=i(P,B,N,M,A,9,u[25]),M=i(M,P,B,N,d,14,u[26]),N=i(N,M,P,B,_,20,u[27]),B=i(B,N,M,P,S,5,u[28]),P=i(P,B,N,M,f,9,u[29]),M=i(M,P,B,N,v,14,u[30]),B=n(B,N=i(N,M,P,B,x,20,u[31]),M,P,m,4,u[32]),P=n(P,B,N,M,_,11,u[33]),M=n(M,P,B,N,w,16,u[34]),N=n(N,M,P,B,A,23,u[35]),B=n(B,N,M,P,p,4,u[36]),P=n(P,B,N,M,y,11,u[37]),M=n(M,P,B,N,v,16,u[38]),N=n(N,M,P,B,C,23,u[39]),B=n(B,N,M,P,S,4,u[40]),P=n(P,B,N,M,l,11,u[41]),M=n(M,P,B,N,d,16,u[42]),N=n(N,M,P,B,g,23,u[43]),B=n(B,N,M,P,b,4,u[44]),P=n(P,B,N,M,x,11,u[45]),M=n(M,P,B,N,k,16,u[46]),B=o(B,N=n(N,M,P,B,f,23,u[47]),M,P,l,6,u[48]),P=o(P,B,N,M,v,10,u[49]),M=o(M,P,B,N,A,15,u[50]),N=o(N,M,P,B,m,21,u[51]),B=o(B,N,M,P,x,6,u[52]),P=o(P,B,N,M,d,10,u[53]),M=o(M,P,B,N,C,15,u[54]),N=o(N,M,P,B,p,21,u[55]),B=o(B,N,M,P,_,6,u[56]),P=o(P,B,N,M,k,10,u[57]),M=o(M,P,B,N,g,15,u[58]),N=o(N,M,P,B,S,21,u[59]),B=o(B,N,M,P,y,6,u[60]),P=o(P,B,N,M,w,10,u[61]),M=o(M,P,B,N,f,15,u[62]),N=o(N,M,P,B,b,21,u[63]),h[0]=h[0]+B|0,h[1]=h[1]+N|0,h[2]=h[2]+M|0,h[3]=h[3]+P|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;i[o>>>5]|=128<<24-o%32;var r=t.floor(n/4294967296),a=n;i[15+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),i[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,h=0;h<4;h++){var l=c[h];c[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var t=h.clone.call(this);return t._hash=this._hash.clone(),t}});r.MD5=h._createHelper(p),r.HmacMD5=h._createHmacHelper(p)}(Math),e=(t=s).lib,i=e.WordArray,n=e.Hasher,o=t.algo,r=[],a=o.SHA1=n.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],o=i[1],a=i[2],s=i[3],c=i[4],h=0;h<80;h++){if(h<16)r[h]=0|t[e+h];else{var l=r[h-3]^r[h-8]^r[h-14]^r[h-16];r[h]=l<<1|l>>>31}var u=(n<<5|n>>>27)+c+r[h];u+=h<20?1518500249+(o&a|~o&s):h<40?1859775393+(o^a^s):h<60?(o&a|o&s|a&s)-1894007588:(o^a^s)-899497514,c=s,s=a,a=o<<30|o>>>2,o=n,n=u}i[0]=i[0]+n|0,i[1]=i[1]+o|0,i[2]=i[2]+a|0,i[3]=i[3]+s|0,i[4]=i[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(i/4294967296),e[15+(n+64>>>9<<4)]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),t.SHA1=n._createHelper(a),t.HmacSHA1=n._createHmacHelper(a),function(t){var e=s,i=e.lib,n=i.WordArray,o=i.Hasher,r=e.algo,a=[],c=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)e(n)&&(o<8&&(a[o]=i(t.pow(n,.5))),c[o]=i(t.pow(n,1/3)),o++),n++}();var h=[],l=r.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],o=i[1],r=i[2],a=i[3],s=i[4],l=i[5],u=i[6],p=i[7],f=0;f<64;f++){if(f<16)h[f]=0|t[e+f];else{var d=h[f-15],y=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,m=h[f-2],g=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;h[f]=y+h[f-7]+g+h[f-16]}var v=n&o^n&r^o&r,_=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),b=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&u)+c[f]+h[f];p=u,u=l,l=s,s=a+b|0,a=r,r=o,o=n,n=b+(_+v)|0}i[0]=i[0]+n|0,i[1]=i[1]+o|0,i[2]=i[2]+r|0,i[3]=i[3]+a|0,i[4]=i[4]+s|0,i[5]=i[5]+l|0,i[6]=i[6]+u|0,i[7]=i[7]+p|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return i[o>>>5]|=128<<24-o%32,i[14+(o+64>>>9<<4)]=t.floor(n/4294967296),i[15+(o+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(l),e.HmacSHA256=o._createHmacHelper(l)}(Math),function(){function t(t){return t<<8&4278255360|t>>>8&16711935}var e=s,i=e.lib.WordArray,n=e.enc;n.Utf16=n.Utf16BE={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o+=2){var r=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=t.charCodeAt(o)<<16-o%2*16;return i.create(n,2*e)}},n.Utf16LE={stringify:function(e){for(var i=e.words,n=e.sigBytes,o=[],r=0;r<n;r+=2){var a=t(i[r>>>2]>>>16-r%4*8&65535);o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var n=e.length,o=[],r=0;r<n;r++)o[r>>>1]|=t(e.charCodeAt(r)<<16-r%2*16);return i.create(o,2*n)}}}(),function(){if("function"==typeof ArrayBuffer){var t=s.lib.WordArray,e=t.init;(t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var i=t.byteLength,n=[],o=0;o<i;o++)n[o>>>2]|=t[o]<<24-o%4*8;e.call(this,n,i)}else e.apply(this,arguments)}).prototype=t}}(),function(){function t(t,e,i){return t^e^i}function e(t,e,i){return t&e|~t&i}function i(t,e,i){return(t|~e)^i}function n(t,e,i){return t&i|e&~i}function o(t,e,i){return t^(e|~i)}function r(t,e){return t<<e|t>>>32-e}var a=s,c=a.lib,h=c.WordArray,l=c.Hasher,u=a.algo,p=h.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=h.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=h.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=h.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),m=h.create([0,1518500249,1859775393,2400959708,2840853838]),g=h.create([1352829926,1548603684,1836072691,2053994217,0]),v=u.RIPEMD160=l.extend({_doReset:function(){this._hash=h.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,s){for(var c=0;c<16;c++){var h=s+c,l=a[h];a[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var u,v,_,b,C,w,x,S,A,k,B,N=this._hash.words,M=m.words,P=g.words,L=p.words,I=f.words,R=d.words,G=y.words;for(w=u=N[0],x=v=N[1],S=_=N[2],A=b=N[3],k=C=N[4],c=0;c<80;c+=1)B=u+a[s+L[c]]|0,B+=c<16?t(v,_,b)+M[0]:c<32?e(v,_,b)+M[1]:c<48?i(v,_,b)+M[2]:c<64?n(v,_,b)+M[3]:o(v,_,b)+M[4],B=(B=r(B|=0,R[c]))+C|0,u=C,C=b,b=r(_,10),_=v,v=B,B=w+a[s+I[c]]|0,B+=c<16?o(x,S,A)+P[0]:c<32?n(x,S,A)+P[1]:c<48?i(x,S,A)+P[2]:c<64?e(x,S,A)+P[3]:t(x,S,A)+P[4],B=(B=r(B|=0,G[c]))+k|0,w=k,k=A,A=r(S,10),S=x,x=B;B=N[1]+_+A|0,N[1]=N[2]+b+k|0,N[2]=N[3]+C+w|0,N[3]=N[4]+u+x|0,N[4]=N[0]+v+S|0,N[0]=B},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,r=o.words,a=0;a<5;a++){var s=r[a];r[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=l.clone.call(this);return t._hash=this._hash.clone(),t}});a.RIPEMD160=l._createHelper(v),a.HmacRIPEMD160=l._createHmacHelper(v)}(Math),function(){var t=s,e=t.lib.Base,i=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=i.parse(e));var n=t.blockSize,o=4*n;e.sigBytes>o&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),a=this._iKey=e.clone(),s=r.words,c=a.words,h=0;h<n;h++)s[h]^=1549556828,c[h]^=909522486;r.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}})}(),function(){var t=s,e=t.lib,i=e.Base,n=e.WordArray,o=t.algo,r=o.SHA1,a=o.HMAC,c=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:r,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,o=a.create(i.hasher,t),r=n.create(),s=n.create([1]),c=r.words,h=s.words,l=i.keySize,u=i.iterations;c.length<l;){var p=o.update(e).finalize(s);o.reset();for(var f=p.words,d=f.length,y=p,m=1;m<u;m++){y=o.finalize(y),o.reset();for(var g=y.words,v=0;v<d;v++)f[v]^=g[v]}r.concat(p),h[0]++}return r.sigBytes=4*l,r}});t.PBKDF2=function(t,e,i){return c.create(i).compute(t,e)}}(),function(){var t=s,e=t.lib,i=e.Base,n=e.WordArray,o=t.algo,r=o.MD5,a=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:r,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,o=i.hasher.create(),r=n.create(),a=r.words,s=i.keySize,c=i.iterations;a.length<s;){h&&o.update(h);var h=o.update(t).finalize(e);o.reset();for(var l=1;l<c;l++)h=o.finalize(h),o.reset();r.concat(h)}return r.sigBytes=4*s,r}});t.EvpKDF=function(t,e,i){return a.create(i).compute(t,e)}}(),function(){var t=s,e=t.lib.WordArray,i=t.algo,n=i.SHA256,o=i.SHA224=n.extend({_doReset:function(){this._hash=new e.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=4,t}});t.SHA224=n._createHelper(o),t.HmacSHA224=n._createHmacHelper(o)}(),function(){var t=s,e=t.lib,i=e.Base,n=e.WordArray,o=t.x64={};o.Word=i.extend({init:function(t,e){this.high=t,this.low=e}}),o.WordArray=i.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,i=[],o=0;o<e;o++){var r=t[o];i.push(r.high),i.push(r.low)}return n.create(i,this.sigBytes)},clone:function(){for(var t=i.clone.call(this),e=t.words=this.words.slice(0),n=e.length,o=0;o<n;o++)e[o]=e[o].clone();return t}})}(),function(t){var e=s,i=e.lib,n=i.WordArray,o=i.Hasher,r=e.x64.Word,a=e.algo,c=[],h=[],l=[];!function(){for(var t=1,e=0,i=0;i<24;i++){c[t+5*e]=(i+1)*(i+2)/2%64;var n=(2*t+3*e)%5;t=e%5,e=n}for(t=0;t<5;t++)for(e=0;e<5;e++)h[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,a=0;a<24;a++){for(var s=0,u=0,p=0;p<7;p++){if(1&o){var f=(1<<p)-1;f<32?u^=1<<f:s^=1<<f-32}128&o?o=o<<1^113:o<<=1}l[a]=r.create(s,u)}}();var u=[];!function(){for(var t=0;t<25;t++)u[t]=r.create()}();var p=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new r.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var i=this._state,n=this.blockSize/2,o=0;o<n;o++){var r=t[e+2*o],a=t[e+2*o+1];r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(N=i[o]).high^=a,N.low^=r}for(var s=0;s<24;s++){for(var p=0;p<5;p++){for(var f=0,d=0,y=0;y<5;y++)f^=(N=i[p+5*y]).high,d^=N.low;var m=u[p];m.high=f,m.low=d}for(p=0;p<5;p++){var g=u[(p+4)%5],v=u[(p+1)%5],_=v.high,b=v.low;for(f=g.high^(_<<1|b>>>31),d=g.low^(b<<1|_>>>31),y=0;y<5;y++)(N=i[p+5*y]).high^=f,N.low^=d}for(var C=1;C<25;C++){var w=(N=i[C]).high,x=N.low,S=c[C];S<32?(f=w<<S|x>>>32-S,d=x<<S|w>>>32-S):(f=x<<S-32|w>>>64-S,d=w<<S-32|x>>>64-S);var A=u[h[C]];A.high=f,A.low=d}var k=u[0],B=i[0];for(k.high=B.high,k.low=B.low,p=0;p<5;p++)for(y=0;y<5;y++){var N=i[C=p+5*y],M=u[C],P=u[(p+1)%5+5*y],L=u[(p+2)%5+5*y];N.high=M.high^~P.high&L.high,N.low=M.low^~P.low&L.low}N=i[0];var I=l[s];N.high^=I.high,N.low^=I.low}},_doFinalize:function(){var e=this._data,i=e.words,o=(this._nDataBytes,8*e.sigBytes),r=32*this.blockSize;i[o>>>5]|=1<<24-o%32,i[(t.ceil((o+1)/r)*r>>>5)-1]|=128,e.sigBytes=4*i.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,h=[],l=0;l<c;l++){var u=a[l],p=u.high,f=u.low;p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),h.push(f),h.push(p)}return new n.init(h,s)},clone:function(){for(var t=o.clone.call(this),e=t._state=this._state.slice(0),i=0;i<25;i++)e[i]=e[i].clone();return t}});e.SHA3=o._createHelper(p),e.HmacSHA3=o._createHmacHelper(p)}(Math),function(){function t(){return o.create.apply(o,arguments)}var e=s,i=e.lib.Hasher,n=e.x64,o=n.Word,r=n.WordArray,a=e.algo,c=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],h=[];!function(){for(var e=0;e<80;e++)h[e]=t()}();var l=a.SHA512=i.extend({_doReset:function(){this._hash=new r.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],o=i[1],r=i[2],a=i[3],s=i[4],l=i[5],u=i[6],p=i[7],f=n.high,d=n.low,y=o.high,m=o.low,g=r.high,v=r.low,_=a.high,b=a.low,C=s.high,w=s.low,x=l.high,S=l.low,A=u.high,k=u.low,B=p.high,N=p.low,M=f,P=d,L=y,I=m,R=g,G=v,D=_,T=b,O=C,F=w,E=x,H=S,j=A,z=k,V=B,W=N,U=0;U<80;U++){var K=h[U];if(U<16)var X=K.high=0|t[e+2*U],q=K.low=0|t[e+2*U+1];else{var Y=h[U-15],J=Y.high,Z=Y.low,Q=(J>>>1|Z<<31)^(J>>>8|Z<<24)^J>>>7,$=(Z>>>1|J<<31)^(Z>>>8|J<<24)^(Z>>>7|J<<25),tt=h[U-2],et=tt.high,it=tt.low,nt=(et>>>19|it<<13)^(et<<3|it>>>29)^et>>>6,ot=(it>>>19|et<<13)^(it<<3|et>>>29)^(it>>>6|et<<26),rt=h[U-7],at=rt.high,st=rt.low,ct=h[U-16],ht=ct.high,lt=ct.low;X=(X=(X=Q+at+((q=$+st)>>>0<$>>>0?1:0))+nt+((q+=ot)>>>0<ot>>>0?1:0))+ht+((q+=lt)>>>0<lt>>>0?1:0),K.high=X,K.low=q}var ut,pt=O&E^~O&j,ft=F&H^~F&z,dt=M&L^M&R^L&R,yt=P&I^P&G^I&G,mt=(M>>>28|P<<4)^(M<<30|P>>>2)^(M<<25|P>>>7),gt=(P>>>28|M<<4)^(P<<30|M>>>2)^(P<<25|M>>>7),vt=(O>>>14|F<<18)^(O>>>18|F<<14)^(O<<23|F>>>9),_t=(F>>>14|O<<18)^(F>>>18|O<<14)^(F<<23|O>>>9),bt=c[U],Ct=bt.high,wt=bt.low,xt=V+vt+((ut=W+_t)>>>0<W>>>0?1:0),St=gt+yt;V=j,W=z,j=E,z=H,E=O,H=F,O=D+(xt=(xt=(xt=xt+pt+((ut+=ft)>>>0<ft>>>0?1:0))+Ct+((ut+=wt)>>>0<wt>>>0?1:0))+X+((ut+=q)>>>0<q>>>0?1:0))+((F=T+ut|0)>>>0<T>>>0?1:0)|0,D=R,T=G,R=L,G=I,L=M,I=P,M=xt+(mt+dt+(St>>>0<gt>>>0?1:0))+((P=ut+St|0)>>>0<ut>>>0?1:0)|0}d=n.low=d+P,n.high=f+M+(d>>>0<P>>>0?1:0),m=o.low=m+I,o.high=y+L+(m>>>0<I>>>0?1:0),v=r.low=v+G,r.high=g+R+(v>>>0<G>>>0?1:0),b=a.low=b+T,a.high=_+D+(b>>>0<T>>>0?1:0),w=s.low=w+F,s.high=C+O+(w>>>0<F>>>0?1:0),S=l.low=S+H,l.high=x+E+(S>>>0<H>>>0?1:0),k=u.low=k+z,u.high=A+j+(k>>>0<z>>>0?1:0),N=p.low=N+W,p.high=B+V+(N>>>0<W>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(i/4294967296),e[31+(n+128>>>10<<5)]=i,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=i._createHelper(l),e.HmacSHA512=i._createHmacHelper(l)}(),function(){var t=s,e=t.x64,i=e.Word,n=e.WordArray,o=t.algo,r=o.SHA512,a=o.SHA384=r.extend({_doReset:function(){this._hash=new n.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var t=r._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=r._createHelper(a),t.HmacSHA384=r._createHmacHelper(a)}(),s.lib.Cipher||function(t){var e=s,i=e.lib,n=i.Base,o=i.WordArray,r=i.BufferedBlockAlgorithm,a=e.enc,c=(a.Utf8,a.Base64),h=e.algo.EvpKDF,l=i.Cipher=r.extend({cfg:n.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,i){this.cfg=this.cfg.extend(i),this._xformMode=t,this._key=e,this.reset()},reset:function(){r.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:g}return function(e){return{encrypt:function(i,n,o){return t(n).encrypt(e,i,n,o)},decrypt:function(i,n,o){return t(n).decrypt(e,i,n,o)}}}}()}),u=(i.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),e.mode={}),p=i.BlockCipherMode=n.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),f=u.CBC=function(){function e(e,i,n){var o=this._iv;if(o){var r=o;this._iv=t}else r=this._prevBlock;for(var a=0;a<n;a++)e[i+a]^=r[a]}var i=p.extend();return i.Encryptor=i.extend({processBlock:function(t,i){var n=this._cipher,o=n.blockSize;e.call(this,t,i,o),n.encryptBlock(t,i),this._prevBlock=t.slice(i,i+o)}}),i.Decryptor=i.extend({processBlock:function(t,i){var n=this._cipher,o=n.blockSize,r=t.slice(i,i+o);n.decryptBlock(t,i),e.call(this,t,i,o),this._prevBlock=r}}),i}(),d=(e.pad={}).Pkcs7={pad:function(t,e){for(var i=4*e,n=i-t.sigBytes%i,r=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(r);var c=o.create(a,n);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},y=(i.BlockCipher=l.extend({cfg:l.cfg.extend({mode:f,padding:d}),reset:function(){l.reset.call(this);var t=this.cfg,e=t.iv,i=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=i.createEncryptor;else n=i.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==n?this._mode.init(this,e&&e.words):(this._mode=n.call(i,this,e&&e.words),this._mode.__creator=n)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else e=this._process(!0),t.unpad(e);return e},blockSize:4}),i.CipherParams=n.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),m=(e.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,i=t.salt;if(i)var n=o.create([1398893684,1701076831]).concat(i).concat(e);else n=e;return n.toString(c)},parse:function(t){var e=c.parse(t),i=e.words;if(1398893684==i[0]&&1701076831==i[1]){var n=o.create(i.slice(2,4));i.splice(0,4),e.sigBytes-=16}return y.create({ciphertext:e,salt:n})}},g=i.SerializableCipher=n.extend({cfg:n.extend({format:m}),encrypt:function(t,e,i,n){n=this.cfg.extend(n);var o=t.createEncryptor(i,n),r=o.finalize(e),a=o.cfg;return y.create({ciphertext:r,key:i,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,e,i,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),t.createDecryptor(i,n).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),v=(e.kdf={}).OpenSSL={execute:function(t,e,i,n){n||(n=o.random(8));var r=h.create({keySize:e+i}).compute(t,n),a=o.create(r.words.slice(e),4*i);return r.sigBytes=4*e,y.create({key:r,iv:a,salt:n})}},_=i.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:v}),encrypt:function(t,e,i,n){var o=(n=this.cfg.extend(n)).kdf.execute(i,t.keySize,t.ivSize);n.iv=o.iv;var r=g.encrypt.call(this,t,e,o.key,n);return r.mixIn(o),r},decrypt:function(t,e,i,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var o=n.kdf.execute(i,t.keySize,t.ivSize,e.salt);return n.iv=o.iv,g.decrypt.call(this,t,e,o.key,n)}})}(),s.mode.CFB=function(){function t(t,e,i,n){var o=this._iv;if(o){var r=o.slice(0);this._iv=void 0}else r=this._prevBlock;n.encryptBlock(r,0);for(var a=0;a<i;a++)t[e+a]^=r[a]}var e=s.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(e,i){var n=this._cipher,o=n.blockSize;t.call(this,e,i,o,n),this._prevBlock=e.slice(i,i+o)}}),e.Decryptor=e.extend({processBlock:function(e,i){var n=this._cipher,o=n.blockSize,r=e.slice(i,i+o);t.call(this,e,i,o,n),this._prevBlock=r}}),e}(),s.mode.ECB=function(){var t=s.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t}(),s.pad.AnsiX923={pad:function(t,e){var i=t.sigBytes,n=4*e,o=n-i%n,r=i+o-1;t.clamp(),t.words[r>>>2]|=o<<24-r%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},s.pad.Iso10126={pad:function(t,e){var i=4*e,n=i-t.sigBytes%i;t.concat(s.lib.WordArray.random(n-1)).concat(s.lib.WordArray.create([n<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},s.pad.Iso97971={pad:function(t,e){t.concat(s.lib.WordArray.create([2147483648],1)),s.pad.ZeroPadding.pad(t,e)},unpad:function(t){s.pad.ZeroPadding.unpad(t),t.sigBytes--}},s.mode.OFB=function(){var t=s.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var i=this._cipher,n=i.blockSize,o=this._iv,r=this._keystream;o&&(r=this._keystream=o.slice(0),this._iv=void 0),i.encryptBlock(r,0);for(var a=0;a<n;a++)t[e+a]^=r[a]}});return t.Decryptor=e,t}(),s.pad.NoPadding={pad:function(){},unpad:function(){}},function(){var t=s,e=t.lib.CipherParams,i=t.enc.Hex;t.format.Hex={stringify:function(t){return t.ciphertext.toString(i)},parse:function(t){var n=i.parse(t);return e.create({ciphertext:n})}}}(),function(){var t=s,e=t.lib.BlockCipher,i=t.algo,n=[],o=[],r=[],a=[],c=[],h=[],l=[],u=[],p=[],f=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var i=0,s=0;for(e=0;e<256;e++){var d=s^s<<1^s<<2^s<<3^s<<4;d=d>>>8^255&d^99,n[i]=d,o[d]=i;var y=t[i],m=t[y],g=t[m],v=257*t[d]^16843008*d;r[i]=v<<24|v>>>8,a[i]=v<<16|v>>>16,c[i]=v<<8|v>>>24,h[i]=v,v=16843009*g^65537*m^257*y^16843008*i,l[d]=v<<24|v>>>8,u[d]=v<<16|v>>>16,p[d]=v<<8|v>>>24,f[d]=v,i?(i=y^t[t[t[g^y]]],s^=t[t[s]]):i=s=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,i=t.sigBytes/4,o=4*((this._nRounds=i+6)+1),r=this._keySchedule=[],a=0;a<o;a++)if(a<i)r[a]=e[a];else{var s=r[a-1];a%i?i>6&&a%i==4&&(s=n[s>>>24]<<24|n[s>>>16&255]<<16|n[s>>>8&255]<<8|n[255&s]):(s=n[(s=s<<8|s>>>24)>>>24]<<24|n[s>>>16&255]<<16|n[s>>>8&255]<<8|n[255&s],s^=d[a/i|0]<<24),r[a]=r[a-i]^s}for(var c=this._invKeySchedule=[],h=0;h<o;h++)a=o-h,s=h%4?r[a]:r[a-4],c[h]=h<4||a<=4?s:l[n[s>>>24]]^u[n[s>>>16&255]]^p[n[s>>>8&255]]^f[n[255&s]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,r,a,c,h,n)},decryptBlock:function(t,e){var i=t[e+1];t[e+1]=t[e+3],t[e+3]=i,this._doCryptBlock(t,e,this._invKeySchedule,l,u,p,f,o),i=t[e+1],t[e+1]=t[e+3],t[e+3]=i},_doCryptBlock:function(t,e,i,n,o,r,a,s){for(var c=this._nRounds,h=t[e]^i[0],l=t[e+1]^i[1],u=t[e+2]^i[2],p=t[e+3]^i[3],f=4,d=1;d<c;d++){var y=n[h>>>24]^o[l>>>16&255]^r[u>>>8&255]^a[255&p]^i[f++],m=n[l>>>24]^o[u>>>16&255]^r[p>>>8&255]^a[255&h]^i[f++],g=n[u>>>24]^o[p>>>16&255]^r[h>>>8&255]^a[255&l]^i[f++],v=n[p>>>24]^o[h>>>16&255]^r[l>>>8&255]^a[255&u]^i[f++];h=y,l=m,u=g,p=v}y=(s[h>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&p])^i[f++],m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[p>>>8&255]<<8|s[255&h])^i[f++],g=(s[u>>>24]<<24|s[p>>>16&255]<<16|s[h>>>8&255]<<8|s[255&l])^i[f++],v=(s[p>>>24]<<24|s[h>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^i[f++],t[e]=y,t[e+1]=m,t[e+2]=g,t[e+3]=v},keySize:8});t.AES=e._createHelper(y)}(),function(){function t(t,e){var i=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=i,this._lBlock^=i<<t}function e(t,e){var i=(this._rBlock>>>t^this._lBlock)&e;this._lBlock^=i,this._rBlock^=i<<t}var i=s,n=i.lib,o=n.WordArray,r=n.BlockCipher,a=i.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=a.DES=r.extend({_doReset:function(){for(var t=this._key.words,e=[],i=0;i<56;i++){var n=c[i]-1;e[i]=t[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],r=0;r<16;r++){var a=o[r]=[],s=l[r];for(i=0;i<24;i++)a[i/6|0]|=e[(h[i]-1+s)%28]<<31-i%6,a[4+(i/6|0)]|=e[28+(h[i+24]-1+s)%28]<<31-i%6;for(a[0]=a[0]<<1|a[0]>>>31,i=1;i<7;i++)a[i]=a[i]>>>4*(i-1)+3;a[7]=a[7]<<5|a[7]>>>27}var u=this._invSubKeys=[];for(i=0;i<16;i++)u[i]=o[15-i]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(i,n,o){this._lBlock=i[n],this._rBlock=i[n+1],t.call(this,4,252645135),t.call(this,16,65535),e.call(this,2,858993459),e.call(this,8,16711935),t.call(this,1,1431655765);for(var r=0;r<16;r++){for(var a=o[r],s=this._lBlock,c=this._rBlock,h=0,l=0;l<8;l++)h|=u[l][((c^a[l])&p[l])>>>0];this._lBlock=c,this._rBlock=s^h}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,t.call(this,1,1431655765),e.call(this,8,16711935),e.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),i[n]=this._lBlock,i[n+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});i.DES=r._createHelper(f);var d=a.TripleDES=r.extend({_doReset:function(){var t=this._key.words;this._des1=f.createEncryptor(o.create(t.slice(0,2))),this._des2=f.createEncryptor(o.create(t.slice(2,4))),this._des3=f.createEncryptor(o.create(t.slice(4,6)))},encryptBlock:function(t,e){this._des1.encryptBlock(t,e),this._des2.decryptBlock(t,e),this._des3.encryptBlock(t,e)},decryptBlock:function(t,e){this._des3.decryptBlock(t,e),this._des2.encryptBlock(t,e),this._des1.decryptBlock(t,e)},keySize:6,ivSize:2,blockSize:2});i.TripleDES=r._createHelper(d)}(),function(){function t(){for(var t=this._S,e=this._i,i=this._j,n=0,o=0;o<4;o++){i=(i+t[e=(e+1)%256])%256;var r=t[e];t[e]=t[i],t[i]=r,n|=t[(t[e]+t[i])%256]<<24-8*o}return this._i=e,this._j=i,n}var e=s,i=e.lib.StreamCipher,n=e.algo,o=n.RC4=i.extend({_doReset:function(){for(var t=this._key,e=t.words,i=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var r=0;o<256;o++){var a=o%i,s=e[a>>>2]>>>24-a%4*8&255;r=(r+n[o]+s)%256;var c=n[o];n[o]=n[r],n[r]=c}this._i=this._j=0},_doProcessBlock:function(e,i){e[i]^=t.call(this)},keySize:8,ivSize:0});e.RC4=i._createHelper(o);var r=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)t.call(this)}});e.RC4Drop=i._createHelper(r)}(),s.mode.CTRGladman=function(){function t(t){if(255==(t>>24&255)){var e=t>>16&255,i=t>>8&255,n=255&t;255===e?(e=0,255===i?(i=0,255===n?n=0:++n):++i):++e,t=0,t+=e<<16,t+=i<<8,t+=n}else t+=1<<24;return t}function e(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var i=s.lib.BlockCipherMode.extend(),n=i.Encryptor=i.extend({processBlock:function(t,i){var n=this._cipher,o=n.blockSize,r=this._iv,a=this._counter;r&&(a=this._counter=r.slice(0),this._iv=void 0),e(a);var s=a.slice(0);n.encryptBlock(s,0);for(var c=0;c<o;c++)t[i+c]^=s[c]}});return i.Decryptor=n,i}(),function(){function t(){for(var t=this._X,e=this._C,i=0;i<8;i++)r[i]=e[i];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<r[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<r[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<r[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<r[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<r[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<r[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<r[6]>>>0?1:0)|0,this._b=e[7]>>>0<r[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+e[i],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[i]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}var e=s,i=e.lib.StreamCipher,n=e.algo,o=[],r=[],a=[],c=n.Rabbit=i.extend({_doReset:function(){for(var e=this._key.words,i=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var o=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)t.call(this);for(n=0;n<8;n++)r[n]^=o[n+4&7];if(i){var a=i.words,s=a[0],c=a[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=h>>>16|4294901760&l,p=l<<16|65535&h;for(r[0]^=h,r[1]^=u,r[2]^=l,r[3]^=p,r[4]^=h,r[5]^=u,r[6]^=l,r[7]^=p,n=0;n<4;n++)t.call(this)}},_doProcessBlock:function(e,i){var n=this._X;t.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[i+r]^=o[r]},blockSize:4,ivSize:2});e.Rabbit=i._createHelper(c)}(),s.mode.CTR=function(){var t=s.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var i=this._cipher,n=i.blockSize,o=this._iv,r=this._counter;o&&(r=this._counter=o.slice(0),this._iv=void 0);var a=r.slice(0);i.encryptBlock(a,0),r[n-1]=r[n-1]+1|0;for(var s=0;s<n;s++)t[e+s]^=a[s]}});return t.Decryptor=e,t}(),function(){function t(){for(var t=this._X,e=this._C,i=0;i<8;i++)r[i]=e[i];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<r[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<r[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<r[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<r[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<r[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<r[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<r[6]>>>0?1:0)|0,this._b=e[7]>>>0<r[7]>>>0?1:0,i=0;i<8;i++){var n=t[i]+e[i],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[i]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}var e=s,i=e.lib.StreamCipher,n=e.algo,o=[],r=[],a=[],c=n.RabbitLegacy=i.extend({_doReset:function(){var e=this._key.words,i=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)t.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(i){var a=i.words,s=a[0],c=a[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=h>>>16|4294901760&l,p=l<<16|65535&h;for(o[0]^=h,o[1]^=u,o[2]^=l,o[3]^=p,o[4]^=h,o[5]^=u,o[6]^=l,o[7]^=p,r=0;r<4;r++)t.call(this)}},_doProcessBlock:function(e,i){var n=this._X;t.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[i+r]^=o[r]},blockSize:4,ivSize:2});e.RabbitLegacy=i._createHelper(c)}(),s.pad.ZeroPadding={pad:function(t,e){var i=4*e;t.clamp(),t.sigBytes+=i-(t.sigBytes%i||i)},unpad:function(t){for(var e=t.words,i=t.sigBytes-1;!(e[i>>>2]>>>24-i%4*8&255);)i--;t.sigBytes=i+1}},s}),cc._RF.pop()},{}],share:[function(t,e,i){"use strict";cc._RF.push(e,"7290caA39xMWZc2phTMKovP","share");var n=this&&this.__awaiter||function(t,e,i,n){return new(i||(i=Promise))(function(o,r){function a(t){try{c(n.next(t))}catch(e){r(e)}}function s(t){try{c(n.throw(t))}catch(e){r(e)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof i?e:new i(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var i,n,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,n=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(s){r=[6,s],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(i,"__esModule",{value:!0}),i.WeChat=void 0;var r={gameId:"100009",shareLine:"zDLsruVI",EK:"hui231%1"},a=function(){function t(){}return t.setShare=function(e){var i=this.removeQueryParams(e);r.shareLine=i,t.getSignature(e)},t.getResult=function(e){if(e){var i=e.data;wx.config({debug:!1,appId:i.appId,timestamp:i.timestamp,nonceStr:i.nonceStr,signature:i.signature,jsApiList:["onMenuShareTimeline","updateAppMessageShareData","updateTimelineShareData","onMenuShareAppMessage"]}),wx.checkJsApi({jsApiList:["updateAppMessageShareData"],success:function(){setTimeout(function(){t.changeShare()},100),setTimeout(function(){t.changeShare()},200)}})}},t.changeShare=function(){wx.ready(function(){wx.updateAppMessageShareData({title:"\u8bb0\u5fc6\u529b\u8ba4\u77e5\u6d4b\u8bc4",desc:"\u4f60\u7684\u6ce8\u610f\u529b\u548c\u5de5\u4f5c\u8bb0\u5fc6\u6709\u95ee\u9898\u5417\uff1f",link:r.shareLine,imgUrl:"https://static.sparkus.cn/public/shootsun.jpg",success:function(){console.log("\u5206\u4eab\u597d\u53cb\u6210\u529f\u56de\u8c03")}}),wx.updateTimelineShareData({title:"\u8bb0\u5fc6\u529b\u8ba4\u77e5\u6d4b\u8bc4",link:r.shareLine,imgUrl:"https://static.sparkus.cn/public/shootsun.jpg",success:function(){console.log("\u5206\u4eab\u670b\u53cb\u5708\u6210\u529f\u56de\u8c03")}})})},t.getSignature=function(e){return new Promise(function(){t.getShareInfo(encodeURIComponent(e),t.getResult)})},t.getShareInfo=function(t,e){return n(this,void 0,Promise,function(){var i,n;return o(this,function(){return i=Math.floor((new Date).getTime()/1e3),n=cc.fx.HttpUtil.apiSign("/api/share/cfg?gameId="+cc.fx.GameConfig.GM_INFO.gameId+"&time="+i+"&url="+t,{}),[2,cc.fx.HttpUtil.get(n,e)]})})},t.containsNanana=function(t){return/test/i.test(t)},t.removeQueryParams=function(t){return t.replace(/\?.*$/,"")},t}();i.WeChat=a,cc._RF.pop()},{}],"use_v2.1-2.2.1_cc.Toggle_event":[function(t,e){"use strict";cc._RF.push(e,"7a231Rz0d9LBYYgY3bDYlLB","use_v2.1-2.2.1_cc.Toggle_event"),cc.Toggle&&(cc.Toggle._triggerEventInScript_isChecked=!0),cc._RF.pop()},{}]},{},["DynamicAtlasManager","GameManager","GameOver","GuideManager","Load","RankManager","Sun","GameConfig","HttpUtil","crypto-js.min","GameAppStart","AudioManager","Notification","ItemRender","List","share","Storage","GameTool","use_v2.1-2.2.1_cc.Toggle_event"]); |