FlyUp/build/FlyUp/assets/main/index.3eb95.js
2024-08-02 17:23:53 +08:00

1 line
127 KiB
JavaScript

window.__require=function t(e,i,n){function o(r,s){if(!i[r]){if(!e[r]){var c=r.split("/");if(c=c[c.length-1],!e[c]){var l="function"==typeof __require&&__require;if(!s&&l)return l(c,!0);if(a)return a(c,!0);throw new Error("Cannot find module '"+r+"'")}r=c}var h=i[r]={exports:{}};e[r][0].call(h.exports,function(t){return o(e[r][1][t]||t)},h,h.exports,t,e,i,n)}return i[r].exports}for(var a="function"==typeof __require&&__require,r=0;r<n.length;r++)o(n[r]);return o}({AudioManager:[function(t,e,i){"use strict";cc._RF.push(e,"7574f5PdlZP4Kt9dxMgkIPZ","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=cc._decorator,s=r.ccclass,c=r.property,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.audioGameBgm0=null,e.jump=null,e.luodi=null,e.pz=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 a=cc.audioEngine.play(t,e,o);return i&&cc.audioEngine.setFinishCallback(a,function(){i.call(this)}.bind(this)),this.mAudioMap[t]=a,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(){},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(){return this.play(this.jump,!1,null,this.mEffectSwitch)},e.prototype.playLuo=function(){return this.play(this.luodui,!1,null,this.mEffectSwitch)},e.prototype.playGround=function(){return this.play(this.luodi,!1,null,this.mEffectSwitch)},e.prototype.playPz=function(){return this.play(this.pz,!1,null,this.mEffectSwitch)},e.prototype.playGameStart=function(){},e.prototype.playGameOver=function(){},e.prototype.playGameResultFailed=function(){},e.prototype.playGameResultSuccess=function(){},e.prototype.playWarning=function(){},e.prototype.playBrick=function(){},e.prototype.brickBoom=function(){},e.prototype.playAudioButton=function(){},e.prototype.playRandomMatch=function(){this.playMusic(this.audioGameBgm0,{},!0)},e.prototype.playMatchFoundSound=function(){this.stopMusic()},a([c(cc.AudioClip)],e.prototype,"audioGameBgm0",void 0),a([c(cc.AudioClip)],e.prototype,"jump",void 0),a([c(cc.AudioClip)],e.prototype,"luodi",void 0),a([c(cc.AudioClip)],e.prototype,"pz",void 0),a([c(cc.AudioClip)],e.prototype,"luodui",void 0),i=a([s],e)}(cc.Component);i.default=l,cc._RF.pop()},{}],Block:[function(t,e,i){"use strict";cc._RF.push(e,"2bf4dXY+rJG37abLKiCEh7s","Block");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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./GameManager"),c=t("./tool/Notification"),l=cc._decorator,h=l.ccclass,u=l.property,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.onLoad=function(){this.node.getComponent(cc.PolygonCollider).enabled=!0,this.speed=10,this.num=0,this.move=!1,this.node.name.length>6?this.num=parseInt(this.node.name.substring(5,7)):this.num=parseInt(this.node.name.substring(5,6)),this.speed=r.default._instance.BLOCK_INFO[this.num-1].speed,this.init()},e.prototype.start=function(){},e.prototype.init=function(){var t=this,e=this.speed;if(this.getSpeed(),this.num>r.default._instance.GM_INFO.blockScale?this.speed<r.default._instance.LEVEL_INFO.slowSpeed&&(this.speed=r.default._instance.LEVEL_INFO.slowSpeed):this.speed<r.default._instance.LEVEL_INFO.fastSpeed&&(this.speed=r.default._instance.LEVEL_INFO.fastSpeed),this.speed>e&&(this.speed=e),13==this.num||r.default._instance.GM_INFO.probation){if(s.default._instance.block){var i=parseInt(3*Math.random()+"")+1;this.speed=s.default._instance.block.getComponent("Block").speed+i}this.node.getComponent(cc.PolygonCollider).enabled=!1,this.node.getComponent(cc.BoxCollider).enabled=!1,r.default._instance.CLICK_DATA.fakeSpeed=this.speed}else r.default._instance.CLICK_DATA.block=this.num,r.default._instance.CLICK_DATA.speed=this.speed,this.getDifficulty(),s.default._instance.Air2.push(this.speed),s.default._instance.Air2.length>99&&console.log("\u88ab\u9650\u5236\u540e",s.default._instance.Air2);this.move=!0,this.tween=cc.tween(this.node).to(this.speed,{x:-this.node.x}).call(function(){t.move=!1}).start()},e.prototype.getSpeed=function(){var t=r.default._instance.LEVEL_INFO.reduceSpeed;t>35&&(t=35),t=parseInt(Math.random()*t+"");var e=10*Math.random(),i=1;r.default._instance.LEVEL_INFO.speed<1.3?i=9:r.default._instance.LEVEL_INFO.speed<1.5?i=7:r.default._instance.LEVEL_INFO.speed<1.8?i=5:r.default._instance.LEVEL_INFO.speed<2&&(i=3),e>i&&(t=-t),this.speed=this.speed/r.default._instance.LEVEL_INFO.speed,this.speed=parseInt(10*this.speed/10+""),t=parseInt(10*t/10+""),this.speed=this.speed-t/10,13!=this.num&&(s.default._instance.Air.push(this.speed),99==s.default._instance.Air.length&&console.log("\u521d\u59cb\u6570\u636e",s.default._instance.Air))},e.prototype.getDifficulty=function(){var t=0;(t=(Math.abs(this.speed-s.default._instance.oldSpeed)/10+1)*(11-this.speed))<=1?t=1:t>=7&&(t=7);var e;e=this.node.width<180?0:this.node.width<199?.5:1;var i=0;1==s.default._instance.interfere&&(i=1);var n=0;this.num>6&&(n=1),s.default._instance.oldSpeed=this.speed,this.difficulty=0,this.difficulty=t+e+i+n,this.difficulty=parseInt(10*this.difficulty+""),r.default._instance.CLICK_DATA.difficulty=this.difficulty/10,s.default._instance.difficultyArray+=r.default._instance.CLICK_DATA.difficulty,r.default._instance.CLICK_DATA.difficulty>r.default._instance.GM_INFO.difficultyMax&&(r.default._instance.GM_INFO.difficultyMax=r.default._instance.CLICK_DATA.difficulty)},e.prototype.setScore=function(t){var e,i=this.difficulty/10,n=r.default._instance.LEVEL_INFO.layer,o=r.default._instance.LEVEL_INFO.doubleHit;e=parseInt(t*i*n*o+""),c.Notification.emit("addScore",e)},e.prototype.hide=function(){var t=this;cc.tween(this.node).to(.2,{opacity:0}).call(function(){t.node.active=!1,t.node.removeFromParent(),t.node=null}).start()},e.prototype.onCollisionEnter=function(t,e){if((!s.default._instance||1!=s.default._instance.over)&&"Player"==t.node.name){var i=e.name.length;t.name.substring(6,i),1==this.move&&this.tween&&this.tween.stop()}},e.prototype.update=function(){},a([u(cc.Label)],e.prototype,"label",void 0),a([u],e.prototype,"text",void 0),a([h],e)}(cc.Component);i.default=d,cc._RF.pop()},{"./GameData":"GameData","./GameManager":"GameManager","./tool/Notification":"Notification"}],Camera:[function(t,e,i){"use strict";cc._RF.push(e,"ba5152SuShBF7Gc5uHiGsp0","Camera");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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./GameManager"),c=t("./tool/Notification"),l=cc._decorator,h=l.ccclass,u=l.property,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){this.node.on(cc.Node.EventType.TOUCH_START,this.jump,this)},e.prototype.jump=function(){s.default._instance?0==s.default._instance.over&&1==s.default._instance.begin&&c.Notification.emit("jump",null):1==r.default._instance.GM_INFO.probation&&c.Notification.emit("jump",null)},a([u(cc.Label)],e.prototype,"label",void 0),a([u],e.prototype,"text",void 0),a([h],e)}(cc.Component);i.default=d,cc._RF.pop()},{"./GameData":"GameData","./GameManager":"GameManager","./tool/Notification":"Notification"}],GameData:[function(t,e,i){"use strict";cc._RF.push(e,"f2f0bI5PsVI+o18xF6G+KVa","GameData");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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=cc._decorator,s=r.ccclass,c=(r.property,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}var i;return o(e,t),i=e,e.prototype.onLoad=function(){null==i._instance?(i._instance=this,this.AudioManager=this.node.getComponent("BallAudioManager")):this.node.destroy()},e.prototype.start=function(){this.GAME_DATA=[],this.GM_INFO_init(),this.LEVEL_init(),this.BLOCK_INFO_init(),this.CLICK_init()},e.prototype.GM_INFO_init=function(){this.GM_INFO={mean_Time:0,total:0,currSeed:203213,gameId:"100001",userId:"",guide:!0,url:"https://dev.api.sparkus.cn",custom:0,jumpUpTime:.5,jumpDownTime:.4,jumpHeight:150,blockMin:30,blockMax:-10,blockScale:5,distanceMin:100,distanceMax:110,life:3,levelMax:1,difficultyMax:1,score:0,success:!0,probation:!0}},e.prototype.CLICK_init=function(){i._instance.CLICK_DATA={type:1,level:0,block:0,percent:0,getScore:0,totalScore:0,difficulty:0,height:!1,combo:0,accuracy:0,jumps:0,timer:0,fake:!1,fakeSpeed:0,speed:0,round:0}},e.prototype.LEVEL_init=function(){this.LEVEL_INFO={speed:1,addSpeed:.015,reduceSpeed:0,jiansu:3,round1:10,round2:20,round3:30,doubleSuccess:3,fastSpeed:3.5,slowSpeed:4.5,doubleHit:1,doubleAdd:.05,doubleMax:2,layer:100,layerAdd:2,star1:.2,star2:.4,star3:.8,scoreMax:12e4,levelMax:1,difficultyMax:1}},e.prototype.BLOCK_INFO_init=function(){this.BLOCK_INFO=[{name:"block1",speed:8,thickness:!1},{name:"block2",speed:9,thickness:!1},{name:"block3",speed:8,thickness:!1},{name:"block4",speed:9,thickness:!1},{name:"block5",speed:8,thickness:!1},{name:"block6",speed:8,thickness:!1},{name:"block7",speed:10,thickness:!0},{name:"block8",speed:10,thickness:!0},{name:"block9",speed:10,thickness:!0},{name:"block10",speed:10,thickness:!0},{name:"block11",speed:10,thickness:!0},{name:"block12",speed:10,thickness:!0},{name:"block0",speed:14,thickness:!1}]},i=a([s],e)}(cc.Component));i.default=c,cc._RF.pop()},{}],GameManager:[function(t,e,i){"use strict";cc._RF.push(e,"b26a49RCSFPT4C+F7xAd62t","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./tool/GameTool"),c=t("./tool/Notification"),l=cc._decorator,h=l.ccclass,u=l.property,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.Camera=null,e.topUI=null,e.Player=null,e.Ground=null,e.Xin=null,e.time=null,e.GameOver=null,e.Tip=null,e.blockPrefab=[],e}var i;return o(e,t),i=e,e.prototype.onLoad=function(){cc.game.setFrameRate(61),cc.director.getCollisionManager().enabled=!0,i._instance=this,this.Air=[],this.Air2=[]},e.prototype.onEnable=function(){c.Notification.on("createBlock",this.createBlock,this),c.Notification.on("addScore",this.addScore,this),c.Notification.on("createCrackBlock",this.createCrackBlock,this),c.Notification.on("showGround",this.showGround,this),c.Notification.on("death",this.getDeath,this),c.Notification.on("jump",this.jump,this),c.Notification.on("setData",this.setData,this)},e.prototype.onDestroy=function(){c.Notification.off("createBlock",this.createBlock),c.Notification.off("addScore",this.addScore),c.Notification.off("createCrackBlock",this.createCrackBlock),c.Notification.off("death",this.getDeath),c.Notification.off("jump",this.jump),c.Notification.off("showGround",this.showGround),c.Notification.off("setData",this.setData)},e.prototype.fit=function(){this.node.getChildByName("bg2").y=-2167.675,this.setFit()||(this.node.getChildByName("bg2").y=-2100,this.topUI.y=660)},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.init=function(){this.drop=this.topUI.y-this.Camera.node.y,this.score=0,this.oldSpeed=10,this.guide=-1,this.begin=!0,this.over=!1,this.interfere=!1,this.round=0,this.level=0,r.default._instance.GM_INFO.levelMax=1,r.default._instance.GM_INFO.difficultyMax=1,r.default._instance.GM_INFO.life=3,this.blockArray=[],this.difficultyArray=0,this.cameraMove=!1,this.countTime=180,this.topUI.getChildByName("xin1").active=!0,this.topUI.getChildByName("xin2").active=!0,this.topUI.getChildByName("xin3").active=!0,this.topUI.getChildByName("star1").active=!1,this.topUI.getChildByName("star2").active=!1,this.topUI.getChildByName("star3").active=!1,r.default._instance.LEVEL_init(),this.schedule(this.updateCountDownTime,1)},e.prototype.start=function(){var t=this;if(this.fit(),this.init(),r.default._instance.GM_INFO.probation){this.Player.getComponent("Player").jumpPause=!0;var e=this.Tip.getChildByName("tip");this.tipShow(e,-1,!0)}else this.node.getChildByName("Begin").opacity=0,this.node.getChildByName("Begin").scale=2,this.node.getChildByName("Begin")?cc.tween(this.node.getChildByName("Begin")).to(.5,{opacity:255,scale:1}).delay(.5).to(.5,{opacity:0,scale:0}).call(function(){t.startGame()}).start():setTimeout(function(){t.startGame()},1e3)},e.prototype.startGuide=function(t,e){var i=this;if(this.guide=t,console.log("startGuide",t),0==t)this.careteGuideBlock(1);else if(2==t){var n=this.node.getChildByName("Block").children[this.node.getChildByName("Block").children.length-1];cc.tween(n).to(.7,{x:0}).start(),this.tipHide("tip2",3,!1)}else if(3==t)if(1==e)this.round+=1,this.careteGuideBlock(3);else{var o=this.Tip.getChildByName("tip3");this.tipShow(o,t,!1),setTimeout(function(){i.tipHide("tip3",null,!1),i.round+=1,i.careteGuideBlock(3)},3e3)}else if(4==t)this.round+=1,this.careteGuideBlock(4);else if(5==t)this.round+=1,this.careteGuideBlock(5);else if(6==t)n=this.node.getChildByName("Block").children[this.node.getChildByName("Block").children.length-1],cc.tween(n).to(.7,{x:0}).start(),this.tipHide("tip4",7,e);else if(7==t)1==e?(this.round+=1,this.careteGuideBlock(7)):(o=this.Tip.getChildByName("tip5"),this.tipShow(o,t,!1),setTimeout(function(){i.tipHide("tip5",null,e),i.round+=1,i.careteGuideBlock(7)},2e3));else if(8==t)this.round+=1,this.careteGuideBlock(8);else if(9==t){this.Player.getComponent("Player").jumpPause=!0;var a=this.Tip.getChildByName("tip6");setTimeout(function(){i.tipShow(a,t,!1)},1e3)}},e.prototype.tipShow=function(t,e,i){var n=this,o=t,a=this.Tip.getChildByName("left"),r=this.Tip.getChildByName("right");a.width=0,r.width=0,o.opacity=0,cc.tween(a).to(.25,{width:348}).start(),cc.tween(r).to(.25,{width:348}).start(),cc.tween(o).delay(.15).to(.15,{opacity:255}).call(function(){n.guide=e,5==e&&(n.guide=6),5!=e&&1!=e||(n.Player.getComponent("Player").jumpPause=!1)}).start(),1==i&&(this.Tip.getChildByName("btn_next").active=!0,this.Tip.getChildByName("btn_jump").active=!0,cc.tween(this.Tip.getChildByName("btn_next")).delay(.5).to(.2,{opacity:255}).start(),cc.tween(this.Tip.getChildByName("btn_jump")).delay(.5).to(.2,{opacity:255}).start()),"tip6"==o.name&&(this.Tip.getChildByName("btn_start").active=!0,cc.tween(this.Tip.getChildByName("btn_start")).delay(1).to(.2,{opacity:255}).start())},e.prototype.tipHide=function(t,e,i){var n=this,o=this.Tip.getChildByName(t),a=this.Tip.getChildByName("left"),r=this.Tip.getChildByName("right");cc.tween(a).delay(.1).to(.25,{width:0}).start(),cc.tween(r).delay(.1).to(.25,{width:0}).start(),cc.tween(o).to(.12,{opacity:0}).delay(1.5).call(function(){"tip3"!=o.name&&"tip5"!=t&&(n.Player.getComponent("Player").jumpPause=!0),null!=e&&n.startGuide(e,i)}).start()},e.prototype.careteGuideBlock=function(t){var e=this;this.Ground.active=!1;var i=this.Tip.getChildByName("tip2");5==t&&(i=this.Tip.getChildByName("tip4")),this.Player.getComponent("Player").jumpPause=!0;var n=cc.instantiate(this.blockPrefab[13]),o=this.Player.getComponent("Player").basicHeight+r.default._instance.GM_INFO.blockMin;t>4&&(o+=n.height+r.default._instance.GM_INFO.blockMax,r.default._instance.CLICK_DATA.height=!0),n.setPosition(cc.v2(this.round%2==0?480:-480,o)),n.parent=this.node.getChildByName("Block");var a=150,s=3;1==t||5==t?a=this.round%2==0?a:-a:3!=t&&4!=t&&7!=t&&8!=t&&9!=t||(this.Player.getComponent("Player").jumpPause=!1,a=-n.x,s=7),cc.tween(n).to(s,{x:a}).call(function(){1!=t&&5!=t||(1==t&&(e.Player.getComponent("Player").jumpPause=!0),e.tipShow(i,t,!1))}).start()},e.prototype.showGround=function(t){var e=this;setTimeout(function(){e.Ground.active=!0,e.Ground.y=t},500)},e.prototype.guideStart=function(){this.tipHide("tip6",null,!1),this.Tip.getChildByName("btn_next").active=!1,this.Tip.getChildByName("btn_jump").active=!1,this.Tip.getChildByName("btn_start").active=!1,r.default._instance.GM_INFO.probation=!1,this.destroyBlock(!1),this.onDestroy(),cc.director.loadScene("GameScene")},e.prototype.guideNext=function(){-1==this.guide&&(this.tipHide("tip",0,!1),this.Tip.getChildByName("btn_next").active=!1,this.Tip.getChildByName("btn_jump").active=!1,this.Tip.getChildByName("btn_start").active=!1)},e.prototype.guideJump=function(){this.Tip.getChildByName("btn_next").active=!1,this.Tip.getChildByName("btn_jump").active=!1,this.Tip.getChildByName("btn_start").active=!1,r.default._instance.GM_INFO.probation=!1,this.destroyBlock(!1),this.onDestroy(),cc.director.loadScene("GameScene")},e.prototype.jump=function(){this.Player.getComponent("Player").jump()},e.prototype.startGame=function(){this.createBlock()},e.prototype.addScore=function(t){var e=this;r.default._instance.CLICK_DATA.getScore=parseInt(t),i._instance.score+=parseInt(t),r.default._instance.CLICK_DATA.totalScore=i._instance.score,this.topUI.getChildByName("nandu").getComponent(cc.Label).string=i._instance.score+"";var n=i._instance.score/r.default._instance.LEVEL_INFO.scoreMax;cc.tween(this.topUI.getChildByName("progress").getComponent(cc.Sprite)).to(.5,{fillRange:n}).call(function(){n>=r.default._instance.LEVEL_INFO.star1&&!e.topUI.getChildByName("star1").active&&(e.topUI.getChildByName("star1").active=!0),n>=r.default._instance.LEVEL_INFO.star2&&!e.topUI.getChildByName("star2").active&&(e.topUI.getChildByName("star2").active=!0),n>=r.default._instance.LEVEL_INFO.star3&&!e.topUI.getChildByName("star3").active&&(e.topUI.getChildByName("star3").active=!0)}).start()},e.prototype.createBlock=function(){if(0==this.over&&1==this.begin){this.Ground.active=!1,this.Player.getComponent("Player").jumpPause=!1;var t=Math.floor(12*Math.random());this.round<=10&&5==t&&(t=Math.floor(6*Math.random()+6));var e=cc.instantiate(this.blockPrefab[t]),i=this.Player.getComponent("Player").basicHeight+r.default._instance.GM_INFO.blockMin;t>r.default._instance.GM_INFO.blockScale&&(i+=e.height+r.default._instance.GM_INFO.blockMax,r.default._instance.CLICK_DATA.height=!0),i>=0&&0==this.cameraMove&&(this.countHeight=this.Player.getComponent("Player").basicHeight-this.Camera.node.y,this.cameraMove=!0),e.setPosition(cc.v2(this.round%2==0?480:-480,i)),e.parent=this.node.getChildByName("Block"),e.zIndex=10,this.block=null,this.block=e,this.round+=1,this.level+=1,this.round>r.default._instance.GM_INFO.levelMax&&(r.default._instance.GM_INFO.levelMax=this.round),r.default._instance.CLICK_DATA.level=this.round,r.default._instance.CLICK_DATA.round=this.level,r.default._instance.LEVEL_INFO.layer+=r.default._instance.LEVEL_INFO.layerAdd,r.default._instance.LEVEL_INFO.speed<2&&(r.default._instance.LEVEL_INFO.speed+=r.default._instance.LEVEL_INFO.addSpeed),r.default._instance.LEVEL_INFO.reduceSpeed<=100&&(r.default._instance.LEVEL_INFO.reduceSpeed+=r.default._instance.LEVEL_INFO.jiansu),this.round==r.default._instance.LEVEL_INFO.round1?r.default._instance.LEVEL_INFO.jiansu=2:this.round==r.default._instance.LEVEL_INFO.round2?r.default._instance.LEVEL_INFO.jiansu=1:this.round==r.default._instance.LEVEL_INFO.round3&&(r.default._instance.LEVEL_INFO.jiansu=.5)}},e.prototype.createAir=function(){for(var t=0;t<100;t++){this.Ground.active=!1;var e=Math.floor(12*Math.random());this.round<=10&&5==e&&(e=Math.floor(6*Math.random()+6));var i=cc.instantiate(this.blockPrefab[e]),n=this.Player.getComponent("Player").basicHeight+r.default._instance.GM_INFO.blockMin;e>r.default._instance.GM_INFO.blockScale&&(n+=i.height+r.default._instance.GM_INFO.blockMax,r.default._instance.CLICK_DATA.height=!0),i.setPosition(cc.v2(this.round%2==0?480:-480,n)),i.parent=this.node.getChildByName("Block"),i.zIndex=10,this.round+=1,this.level+=1,this.round>r.default._instance.GM_INFO.levelMax&&(r.default._instance.GM_INFO.levelMax=this.round),r.default._instance.CLICK_DATA.level=this.round,r.default._instance.CLICK_DATA.round=this.level,r.default._instance.LEVEL_INFO.layer+=r.default._instance.LEVEL_INFO.layerAdd,r.default._instance.LEVEL_INFO.speed+=r.default._instance.LEVEL_INFO.addSpeed,r.default._instance.LEVEL_INFO.reduceSpeed<=80&&(r.default._instance.LEVEL_INFO.reduceSpeed+=r.default._instance.LEVEL_INFO.jiansu),this.round==r.default._instance.LEVEL_INFO.round1?r.default._instance.LEVEL_INFO.jiansu=2:this.round==r.default._instance.LEVEL_INFO.round2?r.default._instance.LEVEL_INFO.jiansu=1:this.round==r.default._instance.LEVEL_INFO.round3&&(r.default._instance.LEVEL_INFO.jiansu=.5)}},e.prototype.clearAir=function(){cc.director.loadScene("GameScene")},e.prototype.createCrackBlock=function(){if(this.interfere=!0,r.default._instance.CLICK_DATA.fake=this.interfere,this.round>1&&this.destroyBlock(!0),0==this.over&&1==this.begin){var t=cc.instantiate(this.blockPrefab[12]),e=this.Player.getComponent("Player").basicHeight;1==r.default._instance.CLICK_DATA.height&&(e+=t.height/2),t.setPosition(cc.v2(this.round%2==0?480:-480,e)),t.parent=this.node.getChildByName("CrackBlock"),t.zIndex=1}},e.prototype.destroyBlock=function(t){if(1==t){if(this.node&&this.node.getChildByName("CrackBlock")&&this.node.getChildByName("CrackBlock").children)for(var e=this.node.getChildByName("CrackBlock").children,i=0;i<e.length;i++)e[i]&&e[i].getComponent("Block").hide()}else{var n=this.node.getChildByName("Block").children;for(i=0;i<n.length;i++)n[i]&&(n[i].active=!1)}},e.prototype.xinAction=function(){var t=this.topUI.getChildByName("xin1");2==r.default._instance.GM_INFO.life?t=this.topUI.getChildByName("xin3"):1==r.default._instance.GM_INFO.life&&(t=this.topUI.getChildByName("xin2")),cc.tween(t).to(.6,{scale:1.6,opacity:0}).call(function(){t.active=!1}).start()},e.prototype.getDeath=function(t){var e=this;1==t?(this.destroyBlock(!1),cc.tween(this.Player).to(1,{y:-500},{easing:"cubicIn"}).call(function(){e.Player.getComponent("Player").init(),e.guide>5?6==e.guide?(e.guide=5,e.round=2,e.startGuide(5,!0)):(e.round=1,e.startGuide(6,!0)):(e.round=0,e.startGuide(3,!0))}).delay(.5).call(function(){}).start()):r.default._instance.GM_INFO.life>0?(r.default._instance.GM_INFO.life-=1,this.getDevive(1)):(r.default._instance.GM_INFO.life=-1,this.getDevive(3))},e.prototype.getDevive=function(t){var e=this;this.round=0,r.default._instance.LEVEL_init(),this.topUI.getChildByName("star3").active,this.interfere=!1,r.default._instance.CLICK_DATA.fake=this.interfere,this.destroyBlock(!1);for(var i=this.node.getChildByName("CrackBlock").children,n=0;n<i.length;n++)i[n]&&(i[n].active=!1);var o=1;this.Player.y>500&&(o=(this.Player.y+500)/1e3*o),cc.tween(this.Player).to(o,{y:-500},{easing:"cubicIn"}).call(function(){e.Player.getComponent("Player").xinAction()}).delay(.5).call(function(){e.xinAction(),e.Player.getComponent("Player").init(),t>1?(e.Xin.parent.active=!0,e.Xin.getComponent(cc.Sprite).fillRange=0,cc.tween(e.Xin.getComponent(cc.Sprite)).to(t,{fillRange:1}).delay(.3).call(function(){e.Xin.parent.active=!1}).delay(0).call(function(){e.createBlock()}).start()):setTimeout(function(){e.createBlock()},1e3*(t+.5))}).start()},e.prototype.setData=function(){r.default._instance.CLICK_DATA.totalScore=i._instance.score,r.default._instance.CLICK_DATA.timer=this.countTime,r.default._instance.CLICK_DATA.level=this.round,r.default._instance.CLICK_DATA.round=this.level,s.GameTool.setGameData()},e.prototype.getMatchId=function(){var t=cc.sys.localStorage.getItem("matchId");if("undifend"==t||null==t)t=this.setMatchId();else if(1==this.containsNanana(t))t=this.setMatchId();else{var e=parseInt(t[10]);1==this.level&&(e+=1),t=t.slice(0,10)+e+"",r.default._instance.GM_INFO.matchId=t,cc.sys.localStorage.setItem("matchId",t)}return t},e.prototype.containsNanana=function(t){return/na/i.test(t)},e.prototype.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 a=e.join("")+1+"";return cc.sys.localStorage.setItem("matchNumber",1),cc.sys.localStorage.setItem("matchId",a),r.default._instance.GM_INFO.matchId=a,a},e.prototype.updateCountDownTime=function(){var t=this;this.countTime>0&&!r.default._instance.GM_INFO.probation&&(this.countTime-=1,this.time.string=this.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(),this.countTime<=0&&(this.unschedule(this.updateCountDownTime),this.begin=!1,this.over=!0,this.overStop(),this.setRank(),setTimeout(function(){t.overOpen()},2e3)))},e.prototype.overStop=function(){this.Player.getComponent("Player").jumpAction&&this.Player.getComponent("Player").jumpAction.stop();for(var t=this.node.getChildByName("Block").children,e=0;e<t.length;e++)t[e]&&t[e].getComponent("Block").tween&&t[e].getComponent("Block").tween.stop();var i=this.node.getChildByName("CrackBlock").children;for(e=0;e<i.length;e++)i[e]&&i[e].getComponent("Block").tween&&i[e].getComponent("Block").tween.stop()},e.prototype.setRank=function(){r.default._instance.GM_INFO.score=this.score,s.GameTool.setRank()},e.prototype.overOpen=function(){this.Player.active=!1,this.destroyBlock(!1),this.destroyBlock(!0),this.GameOver.active=!0,this.GameOver.getChildByName("score").getComponent(cc.Label).string=this.score+"",this.GameOver.getChildByName("level").getComponent(cc.Label).string=r.default._instance.GM_INFO.levelMax+"";var t=parseInt(this.difficultyArray/this.level*10+"");this.GameOver.getChildByName("difficulty").getComponent(cc.Label).string=t/10+""},e.prototype.backLoad=function(){this.destroyBlock(!1),this.destroyBlock(!0),this.onDestroy(),cc.director.loadScene("LoadScene")},e.prototype.again=function(){this.destroyBlock(!1),this.destroyBlock(!0),this.onDestroy(),cc.director.loadScene("GameScene")},e.prototype.openRank=function(){cc.director.loadScene("RankScene")},e.prototype.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 a=e-3600*i-60*n,r=a+"";return a<10&&(r="0"+a),o+":"+r},e.prototype.update=function(){1==this.cameraMove&&0==this.over&&(this.Camera.node.y=this.Player.y-this.countHeight,this.Camera.node.y<=0&&(this.Camera.node.y=0),this.topUI.y=this.Camera.node.y+this.drop)},a([u(cc.Camera)],e.prototype,"Camera",void 0),a([u(cc.Node)],e.prototype,"topUI",void 0),a([u(cc.Node)],e.prototype,"Player",void 0),a([u(cc.Node)],e.prototype,"Ground",void 0),a([u(cc.Node)],e.prototype,"Xin",void 0),a([u(cc.Label)],e.prototype,"time",void 0),a([u(cc.Node)],e.prototype,"GameOver",void 0),a([u(cc.Node)],e.prototype,"Tip",void 0),a([u([cc.Prefab])],e.prototype,"blockPrefab",void 0),i=a([h],e)}(cc.Component);i.default=d,cc._RF.pop()},{"./GameData":"GameData","./tool/GameTool":"GameTool","./tool/Notification":"Notification"}],GameOver:[function(t,e,i){"use strict";cc._RF.push(e,"53de0OgdaRLNq9UFqvuJI/u","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=cc._decorator,s=r.ccclass,c=r.property,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){},e.prototype.reStart=function(){cc.director.loadScene("GameScene")},a([c(cc.Label)],e.prototype,"label",void 0),a([c],e.prototype,"text",void 0),a([s],e)}(cc.Component);i.default=l,cc._RF.pop()},{}],GameScene:[function(t,e,i){"use strict";cc._RF.push(e,"d14c5oIAFtGepa7XMccAMNQ","GameScene");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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=cc._decorator,s=r.ccclass,c=r.property,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){},a([c(cc.Label)],e.prototype,"label",void 0),a([c],e.prototype,"text",void 0),a([s],e)}(cc.Component);i.default=l,cc._RF.pop()},{}],GameTool:[function(t,e,i){"use strict";cc._RF.push(e,"35a73aTEIBAZoXKp/xutwzU","GameTool"),Object.defineProperty(i,"__esModule",{value:!0}),i.GameTool=void 0;var n=t("../GameData"),o=t("../crypto/HttpUtil"),a=t("./Storage"),r={_startTime:0,_endTime:0,_totalTime:0,getSeedRandom:function(t,e){e=e||1,t=t||0,n.default._instance.GM_INFO.currSeed=(9301*n.default._instance.GM_INFO.currSeed+49297)%233280;var i=t+n.default._instance.GM_INFO.currSeed/233280*(e-t);return Math.floor(i)},Authentication:function(){var t="user_"+n.default._instance.GM_INFO.gameId,e=JSON.parse(localStorage.getItem(t));if("undifend"==e||null==e||""==e){var i="https://api.sparkus.cn/api/user/auth/login?domain=hui32579WdYPsgYq&callback="+location.href;window.location.href=i}else a.StorageMessage.setStorage(t,e),n.default._instance.GM_INFO.userId=parseInt(e.userId)},setGameData:function(){n.default._instance.GAME_DATA=[],n.default._instance.GAME_DATA.push(n.default._instance.CLICK_DATA),n.default._instance.CLICK_init();var t={matchId:this.getMatchId(n.default._instance.GAME_DATA[0].round),data:n.default._instance.GAME_DATA};o.default.uploadUserLogData(t,function(){})},setRank:function(){var t={type:1,round:"1",score:n.default._instance.GM_INFO.score,success:n.default._instance.GM_INFO.success};o.default.rankData(1,function(){},t)},getMatchId:function(t){var e=cc.sys.localStorage.getItem("matchId");if("undifend"==e||null==e)e=this.setMatchId();else if(1==this.containsNanana(e))e=this.setMatchId();else{var i=parseInt(cc.sys.localStorage.getItem("matchNumber"));1==t&&(i+=1,cc.sys.localStorage.setItem("matchNumber",i)),e=e.slice(0,10)+i+"",n.default._instance.GM_INFO.matchId=e,cc.sys.localStorage.setItem("matchId",e)}return e},containsNanana:function(t){return/na/i.test(t)},setMatchId:function(){for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",e=[],i=0;i<10;i++){var o=Math.floor(Math.random()*t.length),a=t.charAt(o);e.push(a)}var r=e.join("")+1+"";return cc.sys.localStorage.setItem("matchNumber",1),cc.sys.localStorage.setItem("matchId",r),n.default._instance.GM_INFO.matchId=r,r},getSetScreenResolutionFlag:function(){var t=cc.winSize,e=t.width;return!(t.height/e>16.2/9)},setFit:function(){return r.getSetScreenResolutionFlag()},getTip:function(){switch(Math.floor(4*Math.random())+1){case 1:return"\u6839\u636e\u5c0f\u7403\u7684\u4f4d\u7f6e\uff0c\u5408\u7406\u6643\u52a8\u624b\u673a\uff0c\u786e\u4fdd\u5c0f\u7403\u4e0d\u6389\u51fa\u6728\u677f\u3002";case 2:return"\u6839\u636e\u5c0f\u7403\u4f4d\u7f6e\u63a7\u5236\u6643\u52a8\u5e45\u5ea6\uff0c\u8fc7\u5927\u6216\u8fc7\u5c0f\u90fd\u4e0d\u662f\u4e2a\u597d\u9009\u62e9\u3002";case 3:return"\u4e0d\u8981\u88ab\u5929\u4e0a\u6389\u843d\u7684\u969c\u788d\u5413\u5230\uff0c\u6709\u65f6\u5019\u5b83\u53cd\u800c\u4f1a\u5e2e\u4f60\u4fdd\u6301\u5e73\u8861\u3002";case 4:return"\u5c1d\u8bd5\u7740\u9876\u5f00\u6389\u843d\u7684\u969c\u788d\uff0c\u662f\u4e2a\u5f88\u9177\u7684\u73a9\u6cd5\u3002"}},beginTiming:function(){this._startTime=(new Date).getTime()},endTiming:function(){this._endTime=(new Date).getTime()},updateScoreTime:function(){var t=(new Date).getTime(),e=t-this._startTime;(e<0||e>500)&&(e=Math.round(1e3*cc.director.getAnimationInterval())),this._endTime+=e/1e3,this._totalTime=this._endTime.toFixed(2),n.default._instance.GM_INFO.currScore=this._totalTime,this._startTime=t},countDown:function(){this._endTime=(new Date).getTime(),this._totalTime=Math.floor((this._endTime-this._startTime)/1e3),n.default._instance.GM_INFO.remainingTime=n.default._instance.GM_INFO.totalTime-this._totalTime},getGameInfo:function(){return!1},reset:function(){cc.director.loadScene("LoadScene")},setGameInfo:function(){},getTimeMargin:function(t){var e=t,i=Math.floor(e/3600),n=e-3600*i,o=Math.floor(n/60);return"\u5269\u4f59:"+i+":"+o+":"+(e-3600*i-60*o)},getTimeMargin2:function(t){var e=t,i=null,n=null,o=Math.floor(e/3600),a=e-3600*o;return(i=Math.floor(a/60))<10&&(i="0"+i),(n=e-3600*o-60*i)<10&&(n="0"+n),"\u5269\u4f59:"+i+":"+n},getTime:function(t){var e=null,i=null;return i=t-60*(e=Math.floor(t/60)),e<10&&(e="0"+e),i<10&&(i="0"+i),e+":"+i},getNumber:function(t,e){var i=e-3;return t>Math.pow(1e3,8)*Math.pow(10,i)?t/Math.pow(1e3,8)<100?Math.floor(t/Math.pow(1e3,8)*10)/10+"S":Math.floor(t/Math.pow(1e3,8))+"S":t>Math.pow(1e3,7)*Math.pow(10,i)?t/Math.pow(1e3,7)<100?Math.floor(t/Math.pow(1e3,7)*10)/10+"s":Math.floor(t/Math.pow(1e3,7))+"s":t>Math.pow(1e3,6)*Math.pow(10,i)?t/Math.pow(1e3,6)<100?Math.floor(t/Math.pow(1e3,6)*10)/10+"Q":Math.floor(t/Math.pow(1e3,6))+"Q":t>Math.pow(1e3,5)*Math.pow(10,i)?t/Math.pow(1e3,5)<100?Math.floor(t/Math.pow(1e3,5)*10)/10+"q":Math.floor(t/Math.pow(1e3,5))+"q":t>Math.pow(1e3,4)*Math.pow(10,i)?t/Math.pow(1e3,4)<100?Math.floor(t/Math.pow(1e3,4)*10)/10+"t":Math.floor(t/Math.pow(1e3,4))+"t":t>Math.pow(1e3,3)*Math.pow(10,i)?t/Math.pow(1e3,3)<100?Math.floor(t/Math.pow(1e3,3)*10)/10+"b":Math.floor(t/Math.pow(1e3,3))+"b":t>Math.pow(1e3,2)*Math.pow(10,i)?t/Math.pow(1e3,2)<100?Math.floor(t/Math.pow(1e3,2)*10)/10+"m":Math.floor(t/Math.pow(1e3,2))+"m":t>Math.pow(1e3,1)*Math.pow(10,i)?t/Math.pow(1e3,1)<100?Math.floor(t/Math.pow(1e3,1)*10)/10+"k":Math.floor(t/Math.pow(1e3,1))+"k":Math.floor(t/Math.pow(1e3,0))+""},begainTiming:function(){this._startTime=(new Date).getTime()},endTiming2:function(){var t=(new Date).getTime();this._endTime=t,this._totalTime=t-this._startTime},getScoreTime:function(){var t=(new Date).getTime(),e=t-this._startTime;(e<0||e>500)&&(e=Math.round(1e3*cc.director.getAnimationInterval())),n.default._instance.GM_INFO.currScore+=e,this._startTime=t},getFormatTime:function(t){var e=new Date;e.setTime(t);var i=e.getMilliseconds(),n=null,o=null,a=null;return(n=Math.floor(i/10)%100)<10&&(n="0"+n),(o=e.getSeconds())<10&&(o="0"+o),(a=e.getMinutes())<10&&(a="0"+a),(a+=":")+(o+=":")+n},pushLister:function(){},removeAllLister:function(){}};i.GameTool=r,cc._RF.pop()},{"../GameData":"GameData","../crypto/HttpUtil":"HttpUtil","./Storage":"Storage"}],HttpUtil:[function(t,e,i){"use strict";cc._RF.push(e,"9ed319W0ElIkJ/97wj9KJh8","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r},r=this&&this.__awaiter||function(t,e,i,n){return new(i||(i=Promise))(function(o,a){function r(t){try{c(n.next(t))}catch(e){a(e)}}function s(t){try{c(n.throw(t))}catch(e){a(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(r,s)}c((n=n.apply(t,e||[])).next())})},s=this&&this.__generator||function(t,e){var i,n,o,a,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(a){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,n=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){r=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(6===a[0]&&r.label<o[1]){r.label=o[1],o=a;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(a);break}o[2]&&r.ops.pop(),r.trys.pop();continue}a=e.call(t,r)}catch(s){a=[6,s],n=0}finally{i=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};Object.defineProperty(i,"__esModule",{value:!0});var c=t("../GameData"),l=t("./crypto-js.min.js"),h=cc._decorator,u=h.ccclass,d=(h.property,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 r(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.httpPost(n,null,null)]})})},e.rankData=function(t,e,n){return r(this,void 0,Promise,function(){var o,a;return s(this,function(){return n.gameId=c.default._instance.GM_INFO.gameId,n.userId=c.default._instance.GM_INFO.userId,o=Math.floor((new Date).getTime()/1e3),a=i.apiSign("/api/get/rank/data?gameId="+p.gameId+"&dataType="+t+"&time="+o,n),this.httpPost(a,n,e),[2]})})},e.uploadUserLogData=function(t,e){return r(this,void 0,Promise,function(){return s(this,function(){return t.gameId=c.default._instance.GM_INFO.gameId,t.userId=c.default._instance.GM_INFO.userId,this.httpPost("/log/collect/data",t,e),[2]})})},e.getUserRecord=function(t,e){return r(this,void 0,Promise,function(){var n,o;return s(this,function(){return t.gameId=c.default._instance.GM_INFO.gameId,t.userId=c.default._instance.GM_INFO.userId,n=Math.floor((new Date).getTime()/1e3),o=i.apiSign("/api/get/user/data?gameId="+p.gameId+"&time="+n,t),this.httpPost(o,t,e),[2]})})},e.httpPost=function(t,e,i){e&&(e.gameId=c.default._instance.GM_INFO.gameId,e.userId=c.default._instance.GM_INFO.userId);var n="https://api.sparkus.cn"+t,o=new XMLHttpRequest;o.open("POST",n),o.setRequestHeader("Content-Type","application/json"),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){var t=o.responseText;if(!t)return void console.log("\u521d\u59cb\u5316\u5931\u8d25");console.log(t);var e=JSON.parse(t);console.log("http success:"+e),i&&i(e)}else i&&i(e)},o.send(JSON.stringify(e))},e.httpGet=function(t,e){var i="https://api.sparkus.cn"+t;console.log(i);var n=new XMLHttpRequest;n.open("GET",i),n.setRequestHeader("Content-Type","text/plain"),n.onreadystatechange=function(){if(4==n.readyState&&200==n.status){var i=n.responseText;if(i){var o=JSON.parse(i);console.info("http success:"+o),e&&e(o)}else e&&e(o)}else console.info("http fail:"+t),e&&e(null)},n.send()},e.apiSign=function(t,e){void 0===e&&(e={});var i=t.trim();-1===i.indexOf("?")&&(i+="?");var n="sign="+g(i,y(e)),o=f.encryptByDES(n,p.secretKey);return o=encodeURIComponent(o),_(i)+"&_p="+o},i=a([u],e)}(cc.Component));i.default=d;var p={gameId:"100001",secretKey:"zDLsruVI",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 y(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 a=[];for(var r in n)a.push(encodeURIComponent(r)+"="+encodeURIComponent(n[r]));return a.join("&")}function g(t,e){var i=t.replace("?","");return i=i+"&"+e,encodeURIComponent(f.hmacSha256(i))}function _(t){var e=t.split("?",2),i=e[0],n=e[1];return i+"?"+new URLSearchParams(n).toString()}cc._RF.pop()},{"../GameData":"GameData","./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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=cc._decorator,s=r.ccclass,c=(r.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(){this.data.name.length>7&&(this.data.name=this.data.name.substring(0,7)+"..."),this.node.getChildByName("rankLab").getComponent(cc.Label).string=this.data.rank+"",this.node.getChildByName("nameLab").getComponent(cc.Label).string=this.data.name+"",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,e=this.data.pic;cc.assetManager.loadRemote(e,{ext:".png"},function(e,i){i&&(t.node.getChildByName("pic").getChildByName("pic").getComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(i))})},a([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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0}),i.StartAxisType=i.ListType=void 0;var r,s,c=t("./ItemRender"),l=cc._decorator,h=l.ccclass,u=l.property;(function(t){t[t.Horizontal=1]="Horizontal",t[t.Vertical=2]="Vertical",t[t.Grid=3]="Grid"})(r=i.ListType||(i.ListType={})),function(t){t[t.Horizontal=1]="Horizontal",t[t.Vertical=2]="Vertical"}(s=i.StartAxisType||(i.StartAxisType={}));var d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.itemRender=null,e.type=r.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==r.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))+5,this.halfScrollView=this.scrollView.node.height/2+this.itemHeight/2+this.spaceY,this.updateFun=this.updateV):this.type==r.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==r.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==r.Vertical)n.setPosition(this.content.width/2,-n.height*(.5+i+t)-this.spaceY*(i+t)-this.padding_top);else if(this.type==r.Horizontal)n.setPosition(n.width*(.5+i+t)+this.spaceX*(i+t)+this.padding_left,-this.content.height/2);else if(this.type==r.Grid)if(this.startAxis==s.Vertical){var a=Math.floor((i+t)/this.gridCol),l=(i+t)%this.gridCol;n.setPosition(n.width*(.5+l)+this.spaceX*l+this.padding_left,-n.height*(.5+a)-this.spaceY*a-this.padding_top),n.opacity=255}else this.startAxis==s.Horizontal&&(a=(i+t)%this.gridRow,l=Math.floor((i+t)/this.gridRow),n.setPosition(n.width*(.5+l)+this.spaceX*l+this.padding_left,-n.height*(.5+a)-this.spaceY*a-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,a=0;a<e.length;a++){t=e[a];var r=this.getPositionInView(t);if(n){if(r.y>i&&t.y-o-this.padding_buttom>-this.content.height){var s=(l=t.getComponent(c.default)).itemIndex+e.length;l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.y=t.y-o}}else if(r.y<-i&&t.y+o+this.padding_top<0){var l;s=(l=t.getComponent(c.default)).itemIndex-e.length,l.itemIndex=s,l.data=this.itemDataList[s],l.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,a=0;a<e.length;a++){t=e[a];var r=this.getPositionInView(t);if(n){if(r.x>i&&t.x-o-this.padding_left>0){var s=(l=t.getComponent(c.default)).itemIndex-e.length;l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.x=t.x-o}}else if(r.x<-i&&t.x+o+this.padding_right<this.content.width){var l;s=(l=t.getComponent(c.default)).itemIndex+e.length,l.itemIndex=s,l.data=this.itemDataList[s],l.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),a=0;a<e.length;a++){t=e[a];var r=this.getPositionInView(t);if(n){if(r.y>i&&t.y-o-this.padding_buttom>-this.content.height){var s=(l=t.getComponent(c.default)).itemIndex+this.spawnCount/this.gridCol*this.gridCol;null!=this.itemDataList[s]?(t.y=t.y-o,l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.opacity=255):(t.y=t.y-o,l.itemIndex=s,t.opacity=0)}}else if(r.y<-i&&t.y+o+this.padding_top<0){var l;s=(l=t.getComponent(c.default)).itemIndex-this.spawnCount/this.gridCol*this.gridCol,null!=this.itemDataList[s]?(t.y=t.y+o,l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.opacity=255):(t.y=t.y+o,l.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),a=0;a<e.length;a++){t=e[a];var r=this.getPositionInView(t);if(n){if(r.x>i&&t.x-o-this.padding_left>0){var s=(l=t.getComponent(c.default)).itemIndex-this.spawnCount/this.gridRow*this.gridRow;null!=this.itemDataList[s]?(t.x=t.x-o,l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.opacity=255):(t.x=t.x-o,l.itemIndex=s,t.opacity=0)}}else if(r.x<-i&&t.x+o+this.padding_right<this.content.width){var l;s=(l=t.getComponent(c.default)).itemIndex+this.spawnCount/this.gridRow*this.gridRow,null!=this.itemDataList[s]?(t.x=t.x+o,l.itemIndex=s,l.data=this.itemDataList[s],l.dataChanged(),t.opacity=255):(t.x=t.x+o,l.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==r.Vertical?this.itemList.sort(function(t,e){return e.y-t.y}):this.type==r.Horizontal?this.itemList.sort(function(t,e){return t.x-e.x}):this.type==r.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==r.Grid&&this.startAxis==s.Vertical?t+=(t+this.spawnCount)%this.gridCol:this.type==r.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},a([u({type:cc.Node,tooltip:"\u5217\u8868\u9879"})],e.prototype,"itemRender",void 0),a([u({type:cc.Enum(r),tooltip:"\u6392\u5217\u65b9\u5f0f"})],e.prototype,"type",void 0),a([u({type:cc.Enum(s),tooltip:"\u7f51\u683c\u5e03\u5c40\u4e2d\u7684\u65b9\u5411",visible:function(){return this.type==r.Grid}})],e.prototype,"startAxis",void 0),a([u({type:cc.Integer,tooltip:"\u5217\u8868\u9879X\u95f4\u9694",visible:function(){return this.type==r.Horizontal||this.type==r.Grid}})],e.prototype,"spaceX",void 0),a([u({type:cc.Integer,tooltip:"\u5217\u8868\u9879Y\u95f4\u9694",visible:function(){return this.type==r.Vertical||this.type==r.Grid}})],e.prototype,"spaceY",void 0),a([u({type:cc.Integer,tooltip:"\u4e0a\u95f4\u8ddd",visible:function(){return this.type==r.Vertical||this.type==r.Grid}})],e.prototype,"padding_top",void 0),a([u({type:cc.Integer,tooltip:"\u4e0b\u95f4\u8ddd",visible:function(){return this.type==r.Vertical||this.type==r.Grid}})],e.prototype,"padding_buttom",void 0),a([u({type:cc.Integer,tooltip:"\u5de6\u95f4\u8ddd",visible:function(){return this.type==r.Horizontal||this.type==r.Grid}})],e.prototype,"padding_left",void 0),a([u(cc.Integer)],e.prototype,"_padding",void 0),a([u({type:cc.Integer,tooltip:"\u53f3\u95f4\u8ddd",visible:function(){return this.type==r.Horizontal||this.type==r.Grid}})],e.prototype,"padding_right",void 0),a([h],e)}(cc.Component);i.default=d,cc._RF.pop()},{"./ItemRender":"ItemRender"}],Load:[function(t,e,i){"use strict";cc._RF.push(e,"08fd79IH4NDy6e43JUK4PUm","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./tool/GameTool"),c=t("./tool/share"),l=cc._decorator,h=l.ccclass,u=l.property,d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.label=null,e.text="hello",e}return o(e,t),e.prototype.start=function(){s.GameTool.Authentication(),c.WeChat.setShare(location.href)},e.prototype.click=function(){r.default._instance.GM_INFO.probation?cc.director.loadScene("GuideScene"):cc.director.loadScene("GameScene")},e.prototype.openRank=function(){cc.director.loadScene("RankScene")},a([u(cc.Label)],e.prototype,"label",void 0),a([u],e.prototype,"text",void 0),a([h],e)}(cc.Component);i.default=d,cc._RF.pop()},{"./GameData":"GameData","./tool/GameTool":"GameTool","./tool/share":"share"}],Notification:[function(t,e,i){"use strict";cc._RF.push(e,"bc645/UI1FCCZN1kaSNle9o","Notification"),Object.defineProperty(i,"__esModule",{value:!0}),i.Notification=void 0;i.Notification={_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()},{}],Player:[function(t,e,i){"use strict";cc._RF.push(e,"7fd74nqW4BCN6aFalN5nmyL","Player");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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./GameManager"),c=t("./tool/AudioManager"),l=t("./tool/Notification"),h=cc._decorator,u=h.ccclass,d=h.property,p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.add=null,e.plist=null,e}return o(e,t),e.prototype.start=function(){this.init()},e.prototype.init=function(){this.jumpState=0,this.jumpHeight=this.node.y,this.basicHeight=this.node.y,this.up=!0,this.double=!1,this.death=!1,this.jumpAction=null,this.block=null,this.interfere=!1,this.jumpPause=!0},e.prototype.jump=function(){var t=this;if(this.jumpState<2){if(0==this.jumpState)0==this.death&&this.node.getChildByName("sp").getComponent(sp.Skeleton).setAnimation(1,"jump",!1);else if((1==this.jumpState||this.node.y>this.jumpHeight+r.default._instance.GM_INFO.jumpHeight-5)&&0==this.death){if(s.default._instance.guide>0&&s.default._instance.guide<3)return;this.node.getChildByName("sp").getComponent(sp.Skeleton).setAnimation(1,"jump",!1)}setTimeout(function(){if(0==t.jumpState){if(1==t.jumpPause)return;t.block&&("block13"!=t.block.name?t.block.getComponent("Block").hide():(t.block.active=!1,t.jumpPause=!0),t.block=null),1==s.default._instance.guide&&(s.default._instance.guide=2,s.default._instance.startGuide(2,!1)),r.default._instance.CLICK_DATA.jumps=1,c.default._instance.playJump(),t.jumpState+=1,t.up=!0,l.Notification.emit("showGround",t.node.y),t.jumpAction=cc.tween(t.node).to(r.default._instance.GM_INFO.jumpUpTime,{position:cc.v3(0,t.jumpHeight+r.default._instance.GM_INFO.jumpHeight,0)},{easing:"quadOut"}).call(function(){t.up=!1,t.jumpState=-1,t.node.y,t.jumpHeight}).to(r.default._instance.GM_INFO.jumpDownTime,{position:cc.v3(0,t.jumpHeight,0)},{easing:"cubicIn"}).call(function(){t.jumpHeight=t.node.y,t.jumpState=-1,t.up=!0}).start()}else if(1==t.jumpState||t.node.y>t.jumpHeight+r.default._instance.GM_INFO.jumpHeight-15){if(s.default._instance.guide>0&&s.default._instance.guide<3)return;6==s.default._instance.guide&&(t.jumpPause=!0,s.default._instance.startGuide(6,!1)),t.jumpAction&&t.jumpAction.stop(),c.default._instance.playJump(),r.default._instance.CLICK_DATA.jumps=2,t.jumpState=2,t.up=!0,t.jumpAction=cc.tween(t.node).to(r.default._instance.GM_INFO.jumpUpTime,{position:cc.v3(0,t.node.y+r.default._instance.GM_INFO.jumpHeight,0)},{easing:"quadOut"}).call(function(){t.up=!1}).to(1.5*r.default._instance.GM_INFO.jumpDownTime,{position:cc.v3(0,t.jumpHeight,0)},{easing:"cubicIn"}).call(function(){t.jumpState=-1,t.jumpHeight=t.node.y,t.up=!0}).start()}},100)}},e.prototype.onCollisionEnter=function(t){if(!s.default._instance||1!=s.default._instance.over){var e=t.name.length,i=6;"Ground"!=t.node.name&&(-1==s.default._instance.guide?t.node.getComponent("Block").num>9&&(i=7):i=7);var n=t.name.substring(i,e);if("<PolygonCollider>"==n&&(this.node.y<=t.node.y&&1==this.up&&0==this.death?(this.jumpAction&&this.jumpAction.stop(),this.jumpState=-1,c.default._instance.playGround(),console.log("\u6b7b\u4ea11"),this.gameDeath()):"Ground"==t.node.name&&0==this.death&&(this.jumpState=-1,console.log("\u6b7b\u4ea12"),this.gameDeath())),"<BoxCollider>"==n){if(1==this.death)return void console.log("\u5df2\u7ecf\u6b7b\u4ea1");var o=Math.abs(this.node.y-t.node.y),a=t.node.width/2,l=Math.abs(this.node.x-t.node.x)/a;1==this.up?(console.log("\u6b7b\u4ea14"),c.default._instance.playGround(),this.gameDeath()):100*l<r.default._instance.GM_INFO.distanceMin&&0!=this.jumpState?this.success(t,100*l):o>=20||100*l>r.default._instance.GM_INFO.distanceMax?(console.log("\u6b7b\u4ea13","\u843d\u5dee:",o,"\u72b6\u6001:",this.up),c.default._instance.playGround(),this.gameDeath()):(console.log("\u767e\u5206\u6bd4:",100*l+"%"),this.success(t,100*l))}}},e.prototype.success=function(t,e){if(this.jumpPause=!0,-1!=s.default._instance.guide)if(this.basicHeight=this.node.y,t.node.stopAllActions(),3==s.default._instance.guide||4==s.default._instance.guide)s.default._instance.startGuide(4,!1),4==s.default._instance.guide&&(s.default._instance.guide=5);else if(5==s.default._instance.guide){this.jumpPause=!0;var i=s.default._instance.Tip.getChildByName("good");cc.tween(i).to(.3,{opacity:255,scale:1}).delay(.5).to(.2,{opacity:0}).call(function(){s.default._instance.startGuide(5,!1)}).start()}else 7==s.default._instance.guide?s.default._instance.startGuide(8,!1):8==s.default._instance.guide&&(this.jumpPause=!0,i=s.default._instance.Tip.getChildByName("perfet"),cc.tween(i).to(.3,{opacity:255,scale:1}).delay(.5).to(.2,{opacity:0}).call(function(){s.default._instance.startGuide(9,!1)}).start());var n=parseInt(10*e+"")/10;r.default._instance.CLICK_DATA.percent=n,s.default._instance&&s.default._instance.destroyBlock(!0),this.add.active=!0,this.add.opacity=0;var o=1;if(e<=10?o=3:e<=20&&(o=2),r.default._instance.CLICK_DATA.accuracy=o,this.add.getChildByName("icon").getComponent(cc.Sprite).spriteFrame=this.plist.getSpriteFrames()[o],this.add.getChildByName("jia").getComponent(cc.Sprite).spriteFrame=this.plist.getSpriteFrames()[o+3],this.addAction(),this.node.getChildByName("guang").active=!0,this.node.getChildByName("guang").getComponent(sp.Skeleton).setAnimation(0,"double_1",!1),this.jumpAction&&this.jumpAction.stop(),0==this.death&&this.node.getChildByName("sp").getComponent(sp.Skeleton).setAnimation(1,"jump",!1),this.basicHeight=this.node.y,o>1){c.default._instance.playPz(),0==this.double?(this.double=!0,r.default._instance.LEVEL_INFO.doubleHit=1.05):r.default._instance.LEVEL_INFO.doubleHit+=r.default._instance.LEVEL_INFO.doubleAdd;var a=20*(r.default._instance.LEVEL_INFO.doubleHit-1);r.default._instance.CLICK_DATA.combo=parseInt(a+"")}else c.default._instance.playLuo(),this.double=!1,r.default._instance.CLICK_DATA.combo=0;this.block=t.node,"block13"!=this.block.name&&(this.block.getComponent("Block").setScore(o),l.Notification.emit("setData",null)),setTimeout(function(){-1==s.default._instance.guide&&(l.Notification.emit("createBlock",null),0==r.default._instance.LEVEL_INFO.doubleSuccess&&setTimeout(function(){l.Notification.emit("createCrackBlock",null)},100))},10),o>1&&0!=r.default._instance.LEVEL_INFO.doubleSuccess?r.default._instance.LEVEL_INFO.doubleSuccess-=1:0!=r.default._instance.LEVEL_INFO.doubleSuccess&&r.default._instance.LEVEL_INFO.doubleSuccess<3&&(r.default._instance.LEVEL_INFO.doubleSuccess=3),0==r.default._instance.LEVEL_INFO.doubleSuccess||(s.default._instance.interfere=!1,r.default._instance.CLICK_DATA.fake=s.default._instance.interfere),this.jumpState=0,this.up=!0,this.node.y=t.node.y-3+t.node.height/2,this.jumpHeight=this.node.y},e.prototype.gameDeath=function(){this.jumpPause=!0,r.default._instance.GM_INFO.probation?(this.death=!0,6==s.default._instance.guide&&s.default._instance.tipHide("tip4",null),this.jumpAction&&this.jumpAction.stop(),this.jumpState=-1,l.Notification.emit("death",!0)):(r.default._instance.CLICK_DATA.combo=0,r.default._instance.CLICK_DATA.accuracy=0,r.default._instance.CLICK_DATA.percent=-1,l.Notification.emit("setData",null),this.double=!1,r.default._instance.LEVEL_INFO.doubleSuccess=3,this.death=!0,this.jumpAction&&this.jumpAction.stop(),this.jumpState=-1,l.Notification.emit("death",!1))},e.prototype.xinAction=function(){if(r.default._instance.GM_INFO.life>=0){var t=this.node.getChildByName("xin");t.y=120,cc.tween(t).to(.2,{opacity:255,y:t.y+50}).delay(.5).to(.3,{opacity:0,y:t.y+100}).call(function(){}).start()}},e.prototype.addAction=function(){var t=this;this.add.y=120,cc.tween(this.add).to(.2,{opacity:255,y:this.add.y+50}).delay(.5).to(.3,{opacity:0,y:this.add.y+100}).call(function(){t.add.active=!1}).start()},e.prototype.update=function(){},a([d(cc.Node)],e.prototype,"add",void 0),a([d(cc.SpriteAtlas)],e.prototype,"plist",void 0),a([u],e)}(cc.Component);i.default=p,cc._RF.pop()},{"./GameData":"GameData","./GameManager":"GameManager","./tool/AudioManager":"AudioManager","./tool/Notification":"Notification"}],RankManager:[function(t,e,i){"use strict";cc._RF.push(e,"9c7ccNc8VlJ9Jy7qfTPoy0E","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)}),a=this&&this.__decorate||function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};Object.defineProperty(i,"__esModule",{value:!0});var r=t("./GameData"),s=t("./ListView/List"),c=t("./crypto/HttpUtil"),l=t("./tool/GameTool"),h=cc._decorator,u=h.ccclass,d=h.property,p=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(s.default),this.Player.getChildByName("rank").active=!1,this.listData=[],this.selfData=null,this.rankNumber=100,this.rankTotal=100,this.selfNode.opacity=0,this.fit()},e.prototype.fit=function(){l.GameTool.setFit()||(this.node.getChildByName("ScrollView").getChildByName("view").height=840)},e.prototype.start=function(){this.Player.active=!1,this.getRank()},e.prototype.getRank=function(){c.default.rankData(2,this.getRankData.bind(this),{page:1,pageSize:100})},e.prototype.getRankData=function(t){if(t){this.listData=t.data.list,this.selfData=t.data.info;for(var e=[],i=!1,n=0;n<=this.listData.length-1;n++)e.push({rank:n+1,name:this.listData[n].nickName,total:this.listData[n].score,pic:this.listData[n].pic}),r.default._instance.GM_INFO.userId==this.listData[n].userId&&(i=!0,this.rankNumber=n,this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string=n+1+""),n==this.listData.length-1&&0==i&&(this.rankNumber=101,this.listData.length>=99?this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string="99+":this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string="\u672a\u6392\u540d");0==this.listData.length&&(this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string="\u672a\u6392\u540d"),this.rankList.setData(e),this.selfData.nickName.length>6&&(this.selfData.nickName=this.selfData.nickName.substring(0,6)+"..."),this.selfNode.getChildByName("nameLab").getComponent(cc.Label).string=this.selfData.nickName,this.selfData.score&&(this.selfNode.getChildByName("totalLab").getComponent(cc.Label).string=this.selfData.score),this.setPic(this.selfData.pic),"1"==this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string?this.selfNode.getChildByName("rank").getChildByName("one").active=!0:"2"==this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string?this.selfNode.getChildByName("rank").getChildByName("two").active=!0:"3"==this.selfNode.getChildByName("rankLab").getComponent(cc.Label).string&&(this.selfNode.getChildByName("rank").getChildByName("three").active=!0),this.selfNode.opacity=255,0==this.selfData.score&&(this.selfNode.opacity=0)}},e.prototype.backClick=function(){cc.director.loadScene("LoadScene")},e.prototype.playerAction=function(){var t=this;this.Player.getChildByName("rank").active=!1;var e=1;this.tween=cc.tween(this.Player).to(2,{position:cc.v3(210,535,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>0?this.listData.length>=99?this.rankNumber>=99?this.getRankRandom():(this.listData.length-this.rankNumber)/this.listData.length:this.rankNumber>99?0:(this.listData.length-this.rankNumber)/this.listData.length:0,setTimeout(function(){t.tween&&t.tween.stop(),t.Player&&(t.Player.getChildByName("rank").active=!0,t.Player.getChildByName("rank").getChildByName("number").getComponent(cc.Label).string=parseInt(100*e+"")+"%")},2e3*e)},e.prototype.getRankRandom=function(){var t=(49*Math.random()+1)/100,e=cc.sys.localStorage.getItem("matchNumber");return null!=e&&null!=e||(t=0),t},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))})},a([d(cc.Node)],e.prototype,"Player",void 0),a([d(cc.Node)],e.prototype,"selfNode",void 0),a([d(cc.Sprite)],e.prototype,"phone",void 0),a([u],e)}(cc.Component);i.default=p,cc._RF.pop()},{"./GameData":"GameData","./ListView/List":"List","./crypto/HttpUtil":"HttpUtil","./tool/GameTool":"GameTool"}],Storage:[function(t,e,i){"use strict";cc._RF.push(e,"e4f51plCa5CE6sxRV+Bx5GJ","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()},{}],"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,a,r,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)}},a=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 a=0;a<o;a++){var r=i[a>>>2]>>>24-a%4*8&255;e[n+a>>>2]|=r<<24-(n+a)%4*8}else for(a=0;a<o;a+=4)e[n+a>>>2]=i[a>>>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)}},r=0;r<e;r+=4){var s=o(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new a.init(n,e)}}),r=i.enc={},s=r.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o++){var a=e[o>>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).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 a.init(i,e/2)}},c=r.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o<i;o++){var a=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(a))}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 a.init(i,e)}},l=r.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)))}},h=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,o=i.sigBytes,r=this.blockSize,s=o/(4*r),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*r,l=t.min(4*c,o);if(c){for(var h=0;h<c;h+=r)this._doProcessBlock(n,h);var u=n.splice(0,c);i.sigBytes-=l}return new a.init(u,l)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),u=(n.Hasher=h.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.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=[],a=0,r=0;r<e;r++)if(r%4){var s=n[t.charCodeAt(r-1)]<<r%4*2,c=n[t.charCodeAt(r)]>>>6-r%4*2;o[a>>>2]|=(s|c)<<24-a%4*8,a++}return i.create(o,a)}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=[],a=0;a<i;a+=3)for(var r=(e[a>>>2]>>>24-a%4*8&255)<<16|(e[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|e[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<i;s++)o.push(n.charAt(r>>>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 a=0;a<n.length;a++)o[n.charCodeAt(a)]=a}var r=n.charAt(64);if(r){var s=e.indexOf(r);-1!==s&&(i=s)}return t(e,i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){function e(t,e,i,n,o,a,r){var s=t+(e&i|~e&n)+o+r;return(s<<a|s>>>32-a)+e}function i(t,e,i,n,o,a,r){var s=t+(e&n|i&~n)+o+r;return(s<<a|s>>>32-a)+e}function n(t,e,i,n,o,a,r){var s=t+(e^i^n)+o+r;return(s<<a|s>>>32-a)+e}function o(t,e,i,n,o,a,r){var s=t+(i^(e|~n))+o+r;return(s<<a|s>>>32-a)+e}var a=s,r=a.lib,c=r.WordArray,l=r.Hasher,h=a.algo,u=[];!function(){for(var e=0;e<64;e++)u[e]=4294967296*t.abs(t.sin(e+1))|0}();var d=h.MD5=l.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,a){for(var r=0;r<16;r++){var s=a+r,c=t[s];t[s]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var l=this._hash.words,h=t[a+0],d=t[a+1],p=t[a+2],f=t[a+3],y=t[a+4],g=t[a+5],_=t[a+6],m=t[a+7],v=t[a+8],C=t[a+9],w=t[a+10],b=t[a+11],k=t[a+12],B=t[a+13],S=t[a+14],N=t[a+15],I=l[0],M=l[1],L=l[2],O=l[3];I=e(I,M,L,O,h,7,u[0]),O=e(O,I,M,L,d,12,u[1]),L=e(L,O,I,M,p,17,u[2]),M=e(M,L,O,I,f,22,u[3]),I=e(I,M,L,O,y,7,u[4]),O=e(O,I,M,L,g,12,u[5]),L=e(L,O,I,M,_,17,u[6]),M=e(M,L,O,I,m,22,u[7]),I=e(I,M,L,O,v,7,u[8]),O=e(O,I,M,L,C,12,u[9]),L=e(L,O,I,M,w,17,u[10]),M=e(M,L,O,I,b,22,u[11]),I=e(I,M,L,O,k,7,u[12]),O=e(O,I,M,L,B,12,u[13]),L=e(L,O,I,M,S,17,u[14]),I=i(I,M=e(M,L,O,I,N,22,u[15]),L,O,d,5,u[16]),O=i(O,I,M,L,_,9,u[17]),L=i(L,O,I,M,b,14,u[18]),M=i(M,L,O,I,h,20,u[19]),I=i(I,M,L,O,g,5,u[20]),O=i(O,I,M,L,w,9,u[21]),L=i(L,O,I,M,N,14,u[22]),M=i(M,L,O,I,y,20,u[23]),I=i(I,M,L,O,C,5,u[24]),O=i(O,I,M,L,S,9,u[25]),L=i(L,O,I,M,f,14,u[26]),M=i(M,L,O,I,v,20,u[27]),I=i(I,M,L,O,B,5,u[28]),O=i(O,I,M,L,p,9,u[29]),L=i(L,O,I,M,m,14,u[30]),I=n(I,M=i(M,L,O,I,k,20,u[31]),L,O,g,4,u[32]),O=n(O,I,M,L,v,11,u[33]),L=n(L,O,I,M,b,16,u[34]),M=n(M,L,O,I,S,23,u[35]),I=n(I,M,L,O,d,4,u[36]),O=n(O,I,M,L,y,11,u[37]),L=n(L,O,I,M,m,16,u[38]),M=n(M,L,O,I,w,23,u[39]),I=n(I,M,L,O,B,4,u[40]),O=n(O,I,M,L,h,11,u[41]),L=n(L,O,I,M,f,16,u[42]),M=n(M,L,O,I,_,23,u[43]),I=n(I,M,L,O,C,4,u[44]),O=n(O,I,M,L,k,11,u[45]),L=n(L,O,I,M,N,16,u[46]),I=o(I,M=n(M,L,O,I,p,23,u[47]),L,O,h,6,u[48]),O=o(O,I,M,L,m,10,u[49]),L=o(L,O,I,M,S,15,u[50]),M=o(M,L,O,I,g,21,u[51]),I=o(I,M,L,O,k,6,u[52]),O=o(O,I,M,L,f,10,u[53]),L=o(L,O,I,M,w,15,u[54]),M=o(M,L,O,I,d,21,u[55]),I=o(I,M,L,O,v,6,u[56]),O=o(O,I,M,L,N,10,u[57]),L=o(L,O,I,M,_,15,u[58]),M=o(M,L,O,I,B,21,u[59]),I=o(I,M,L,O,y,6,u[60]),O=o(O,I,M,L,b,10,u[61]),L=o(L,O,I,M,p,15,u[62]),M=o(M,L,O,I,C,21,u[63]),l[0]=l[0]+I|0,l[1]=l[1]+M|0,l[2]=l[2]+L|0,l[3]=l[3]+O|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 a=t.floor(n/4294967296),r=n;i[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),i[14+(o+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var h=c[l];c[l]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return s},clone:function(){var t=l.clone.call(this);return t._hash=this._hash.clone(),t}});a.MD5=l._createHelper(d),a.HmacMD5=l._createHmacHelper(d)}(Math),e=(t=s).lib,i=e.WordArray,n=e.Hasher,o=t.algo,a=[],r=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],r=i[2],s=i[3],c=i[4],l=0;l<80;l++){if(l<16)a[l]=0|t[e+l];else{var h=a[l-3]^a[l-8]^a[l-14]^a[l-16];a[l]=h<<1|h>>>31}var u=(n<<5|n>>>27)+c+a[l];u+=l<20?1518500249+(o&r|~o&s):l<40?1859775393+(o^r^s):l<60?(o&r|o&s|r&s)-1894007588:(o^r^s)-899497514,c=s,s=r,r=o<<30|o>>>2,o=n,n=u}i[0]=i[0]+n|0,i[1]=i[1]+o|0,i[2]=i[2]+r|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(r),t.HmacSHA1=n._createHmacHelper(r),function(t){var e=s,i=e.lib,n=i.WordArray,o=i.Hasher,a=e.algo,r=[],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&&(r[o]=i(t.pow(n,.5))),c[o]=i(t.pow(n,1/3)),o++),n++}();var l=[],h=a.SHA256=o.extend({_doReset:function(){this._hash=new n.init(r.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],o=i[1],a=i[2],r=i[3],s=i[4],h=i[5],u=i[6],d=i[7],p=0;p<64;p++){if(p<16)l[p]=0|t[e+p];else{var f=l[p-15],y=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,g=l[p-2],_=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[p]=y+l[p-7]+_+l[p-16]}var m=n&o^n&a^o&a,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),C=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&h^~s&u)+c[p]+l[p];d=u,u=h,h=s,s=r+C|0,r=a,a=o,o=n,n=C+(v+m)|0}i[0]=i[0]+n|0,i[1]=i[1]+o|0,i[2]=i[2]+a|0,i[3]=i[3]+r|0,i[4]=i[4]+s|0,i[5]=i[5]+h|0,i[6]=i[6]+u|0,i[7]=i[7]+d|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(h),e.HmacSHA256=o._createHmacHelper(h)}(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 a=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(a))}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=[],a=0;a<n;a+=2){var r=t(i[a>>>2]>>>16-a%4*8&65535);o.push(String.fromCharCode(r))}return o.join("")},parse:function(e){for(var n=e.length,o=[],a=0;a<n;a++)o[a>>>1]|=t(e.charCodeAt(a)<<16-a%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 a(t,e){return t<<e|t>>>32-e}var r=s,c=r.lib,l=c.WordArray,h=c.Hasher,u=r.algo,d=l.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]),p=l.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]),f=l.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=l.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]),g=l.create([0,1518500249,1859775393,2400959708,2840853838]),_=l.create([1352829926,1548603684,1836072691,2053994217,0]),m=u.RIPEMD160=h.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,s){for(var c=0;c<16;c++){var l=s+c,h=r[l];r[l]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}var u,m,v,C,w,b,k,B,S,N,I,M=this._hash.words,L=g.words,O=_.words,A=d.words,x=p.words,P=f.words,D=y.words;for(b=u=M[0],k=m=M[1],B=v=M[2],S=C=M[3],N=w=M[4],c=0;c<80;c+=1)I=u+r[s+A[c]]|0,I+=c<16?t(m,v,C)+L[0]:c<32?e(m,v,C)+L[1]:c<48?i(m,v,C)+L[2]:c<64?n(m,v,C)+L[3]:o(m,v,C)+L[4],I=(I=a(I|=0,P[c]))+w|0,u=w,w=C,C=a(v,10),v=m,m=I,I=b+r[s+x[c]]|0,I+=c<16?o(k,B,S)+O[0]:c<32?n(k,B,S)+O[1]:c<48?i(k,B,S)+O[2]:c<64?e(k,B,S)+O[3]:t(k,B,S)+O[4],I=(I=a(I|=0,D[c]))+N|0,b=N,N=S,S=a(B,10),B=k,k=I;I=M[1]+v+S|0,M[1]=M[2]+C+N|0,M[2]=M[3]+w+b|0,M[3]=M[4]+u+k|0,M[4]=M[0]+m+B|0,M[0]=I},_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,a=o.words,r=0;r<5;r++){var s=a[r];a[r]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=h.clone.call(this);return t._hash=this._hash.clone(),t}});r.RIPEMD160=h._createHelper(m),r.HmacRIPEMD160=h._createHmacHelper(m)}(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 a=this._oKey=e.clone(),r=this._iKey=e.clone(),s=a.words,c=r.words,l=0;l<n;l++)s[l]^=1549556828,c[l]^=909522486;a.sigBytes=r.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,a=o.SHA1,r=o.HMAC,c=o.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,o=r.create(i.hasher,t),a=n.create(),s=n.create([1]),c=a.words,l=s.words,h=i.keySize,u=i.iterations;c.length<h;){var d=o.update(e).finalize(s);o.reset();for(var p=d.words,f=p.length,y=d,g=1;g<u;g++){y=o.finalize(y),o.reset();for(var _=y.words,m=0;m<f;m++)p[m]^=_[m]}a.concat(d),l[0]++}return a.sigBytes=4*h,a}});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,a=o.MD5,r=o.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var i=this.cfg,o=i.hasher.create(),a=n.create(),r=a.words,s=i.keySize,c=i.iterations;r.length<s;){l&&o.update(l);var l=o.update(t).finalize(e);o.reset();for(var h=1;h<c;h++)l=o.finalize(l),o.reset();a.concat(l)}return a.sigBytes=4*s,a}});t.EvpKDF=function(t,e,i){return r.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 a=t[o];i.push(a.high),i.push(a.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,a=e.x64.Word,r=e.algo,c=[],l=[],h=[];!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++)l[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,r=0;r<24;r++){for(var s=0,u=0,d=0;d<7;d++){if(1&o){var p=(1<<d)-1;p<32?u^=1<<p:s^=1<<p-32}128&o?o=o<<1^113:o<<=1}h[r]=a.create(s,u)}}();var u=[];!function(){for(var t=0;t<25;t++)u[t]=a.create()}();var d=r.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var i=this._state,n=this.blockSize/2,o=0;o<n;o++){var a=t[e+2*o],r=t[e+2*o+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),(M=i[o]).high^=r,M.low^=a}for(var s=0;s<24;s++){for(var d=0;d<5;d++){for(var p=0,f=0,y=0;y<5;y++)p^=(M=i[d+5*y]).high,f^=M.low;var g=u[d];g.high=p,g.low=f}for(d=0;d<5;d++){var _=u[(d+4)%5],m=u[(d+1)%5],v=m.high,C=m.low;for(p=_.high^(v<<1|C>>>31),f=_.low^(C<<1|v>>>31),y=0;y<5;y++)(M=i[d+5*y]).high^=p,M.low^=f}for(var w=1;w<25;w++){var b=(M=i[w]).high,k=M.low,B=c[w];B<32?(p=b<<B|k>>>32-B,f=k<<B|b>>>32-B):(p=k<<B-32|b>>>64-B,f=b<<B-32|k>>>64-B);var S=u[l[w]];S.high=p,S.low=f}var N=u[0],I=i[0];for(N.high=I.high,N.low=I.low,d=0;d<5;d++)for(y=0;y<5;y++){var M=i[w=d+5*y],L=u[w],O=u[(d+1)%5+5*y],A=u[(d+2)%5+5*y];M.high=L.high^~O.high&A.high,M.low=L.low^~O.low&A.low}M=i[0];var x=h[s];M.high^=x.high,M.low^=x.low}},_doFinalize:function(){var e=this._data,i=e.words,o=(this._nDataBytes,8*e.sigBytes),a=32*this.blockSize;i[o>>>5]|=1<<24-o%32,i[(t.ceil((o+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*i.length,this._process();for(var r=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],h=0;h<c;h++){var u=r[h],d=u.high,p=u.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(d)}return new n.init(l,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(d),e.HmacSHA3=o._createHmacHelper(d)}(Math),function(){function t(){return o.create.apply(o,arguments)}var e=s,i=e.lib.Hasher,n=e.x64,o=n.Word,a=n.WordArray,r=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)],l=[];!function(){for(var e=0;e<80;e++)l[e]=t()}();var h=r.SHA512=i.extend({_doReset:function(){this._hash=new a.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],a=i[2],r=i[3],s=i[4],h=i[5],u=i[6],d=i[7],p=n.high,f=n.low,y=o.high,g=o.low,_=a.high,m=a.low,v=r.high,C=r.low,w=s.high,b=s.low,k=h.high,B=h.low,S=u.high,N=u.low,I=d.high,M=d.low,L=p,O=f,A=y,x=g,P=_,D=m,G=v,F=C,j=w,E=b,T=k,R=B,H=S,V=N,z=I,U=M,K=0;K<80;K++){var X=l[K];if(K<16)var W=X.high=0|t[e+2*K],Y=X.low=0|t[e+2*K+1];else{var J=l[K-15],q=J.high,Z=J.low,Q=(q>>>1|Z<<31)^(q>>>8|Z<<24)^q>>>7,$=(Z>>>1|q<<31)^(Z>>>8|q<<24)^(Z>>>7|q<<25),tt=l[K-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),at=l[K-7],rt=at.high,st=at.low,ct=l[K-16],lt=ct.high,ht=ct.low;W=(W=(W=Q+rt+((Y=$+st)>>>0<$>>>0?1:0))+nt+((Y+=ot)>>>0<ot>>>0?1:0))+lt+((Y+=ht)>>>0<ht>>>0?1:0),X.high=W,X.low=Y}var ut,dt=j&T^~j&H,pt=E&R^~E&V,ft=L&A^L&P^A&P,yt=O&x^O&D^x&D,gt=(L>>>28|O<<4)^(L<<30|O>>>2)^(L<<25|O>>>7),_t=(O>>>28|L<<4)^(O<<30|L>>>2)^(O<<25|L>>>7),mt=(j>>>14|E<<18)^(j>>>18|E<<14)^(j<<23|E>>>9),vt=(E>>>14|j<<18)^(E>>>18|j<<14)^(E<<23|j>>>9),Ct=c[K],wt=Ct.high,bt=Ct.low,kt=z+mt+((ut=U+vt)>>>0<U>>>0?1:0),Bt=_t+yt;z=H,U=V,H=T,V=R,T=j,R=E,j=G+(kt=(kt=(kt=kt+dt+((ut+=pt)>>>0<pt>>>0?1:0))+wt+((ut+=bt)>>>0<bt>>>0?1:0))+W+((ut+=Y)>>>0<Y>>>0?1:0))+((E=F+ut|0)>>>0<F>>>0?1:0)|0,G=P,F=D,P=A,D=x,A=L,x=O,L=kt+(gt+ft+(Bt>>>0<_t>>>0?1:0))+((O=ut+Bt|0)>>>0<ut>>>0?1:0)|0}f=n.low=f+O,n.high=p+L+(f>>>0<O>>>0?1:0),g=o.low=g+x,o.high=y+A+(g>>>0<x>>>0?1:0),m=a.low=m+D,a.high=_+P+(m>>>0<D>>>0?1:0),C=r.low=C+F,r.high=v+G+(C>>>0<F>>>0?1:0),b=s.low=b+E,s.high=w+j+(b>>>0<E>>>0?1:0),B=h.low=B+R,h.high=k+T+(B>>>0<R>>>0?1:0),N=u.low=N+V,u.high=S+H+(N>>>0<V>>>0?1:0),M=d.low=M+U,d.high=I+z+(M>>>0<U>>>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(h),e.HmacSHA512=i._createHmacHelper(h)}(),function(){var t=s,e=t.x64,i=e.Word,n=e.WordArray,o=t.algo,a=o.SHA512,r=o.SHA384=a.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=a._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=a._createHelper(r),t.HmacSHA384=a._createHmacHelper(r)}(),s.lib.Cipher||function(t){var e=s,i=e.lib,n=i.Base,o=i.WordArray,a=i.BufferedBlockAlgorithm,r=e.enc,c=(r.Utf8,r.Base64),l=e.algo.EvpKDF,h=i.Cipher=a.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(){a.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?v:_}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=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),e.mode={}),d=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}}),p=u.CBC=function(){function e(e,i,n){var o=this._iv;if(o){var a=o;this._iv=t}else a=this._prevBlock;for(var r=0;r<n;r++)e[i+r]^=a[r]}var i=d.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,a=t.slice(i,i+o);n.decryptBlock(t,i),e.call(this,t,i,o),this._prevBlock=a}}),i}(),f=(e.pad={}).Pkcs7={pad:function(t,e){for(var i=4*e,n=i-t.sigBytes%i,a=n<<24|n<<16|n<<8|n,r=[],s=0;s<n;s+=4)r.push(a);var c=o.create(r,n);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},y=(i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:f}),reset:function(){h.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)}})),g=(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})}},_=i.SerializableCipher=n.extend({cfg:n.extend({format:g}),encrypt:function(t,e,i,n){n=this.cfg.extend(n);var o=t.createEncryptor(i,n),a=o.finalize(e),r=o.cfg;return y.create({ciphertext:a,key:i,iv:r.iv,algorithm:t,mode:r.mode,padding:r.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}}),m=(e.kdf={}).OpenSSL={execute:function(t,e,i,n){n||(n=o.random(8));var a=l.create({keySize:e+i}).compute(t,n),r=o.create(a.words.slice(e),4*i);return a.sigBytes=4*e,y.create({key:a,iv:r,salt:n})}},v=i.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:m}),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 a=_.encrypt.call(this,t,e,o.key,n);return a.mixIn(o),a},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,_.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 a=o.slice(0);this._iv=void 0}else a=this._prevBlock;n.encryptBlock(a,0);for(var r=0;r<i;r++)t[e+r]^=a[r]}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,a=e.slice(i,i+o);t.call(this,e,i,o,n),this._prevBlock=a}}),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,a=i+o-1;t.clamp(),t.words[a>>>2]|=o<<24-a%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,a=this._keystream;o&&(a=this._keystream=o.slice(0),this._iv=void 0),i.encryptBlock(a,0);for(var r=0;r<n;r++)t[e+r]^=a[r]}});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=[],a=[],r=[],c=[],l=[],h=[],u=[],d=[],p=[];!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 f=s^s<<1^s<<2^s<<3^s<<4;f=f>>>8^255&f^99,n[i]=f,o[f]=i;var y=t[i],g=t[y],_=t[g],m=257*t[f]^16843008*f;a[i]=m<<24|m>>>8,r[i]=m<<16|m>>>16,c[i]=m<<8|m>>>24,l[i]=m,m=16843009*_^65537*g^257*y^16843008*i,h[f]=m<<24|m>>>8,u[f]=m<<16|m>>>16,d[f]=m<<8|m>>>24,p[f]=m,i?(i=y^t[t[t[_^y]]],s^=t[t[s]]):i=s=1}}();var f=[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),a=this._keySchedule=[],r=0;r<o;r++)if(r<i)a[r]=e[r];else{var s=a[r-1];r%i?i>6&&r%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^=f[r/i|0]<<24),a[r]=a[r-i]^s}for(var c=this._invKeySchedule=[],l=0;l<o;l++)r=o-l,s=l%4?a[r]:a[r-4],c[l]=l<4||r<=4?s:h[n[s>>>24]]^u[n[s>>>16&255]]^d[n[s>>>8&255]]^p[n[255&s]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,r,c,l,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,h,u,d,p,o),i=t[e+1],t[e+1]=t[e+3],t[e+3]=i},_doCryptBlock:function(t,e,i,n,o,a,r,s){for(var c=this._nRounds,l=t[e]^i[0],h=t[e+1]^i[1],u=t[e+2]^i[2],d=t[e+3]^i[3],p=4,f=1;f<c;f++){var y=n[l>>>24]^o[h>>>16&255]^a[u>>>8&255]^r[255&d]^i[p++],g=n[h>>>24]^o[u>>>16&255]^a[d>>>8&255]^r[255&l]^i[p++],_=n[u>>>24]^o[d>>>16&255]^a[l>>>8&255]^r[255&h]^i[p++],m=n[d>>>24]^o[l>>>16&255]^a[h>>>8&255]^r[255&u]^i[p++];l=y,h=g,u=_,d=m}y=(s[l>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^i[p++],g=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&l])^i[p++],_=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[l>>>8&255]<<8|s[255&h])^i[p++],m=(s[d>>>24]<<24|s[l>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^i[p++],t[e]=y,t[e+1]=g,t[e+2]=_,t[e+3]=m},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,a=n.BlockCipher,r=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],l=[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],h=[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}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=r.DES=a.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=[],a=0;a<16;a++){var r=o[a]=[],s=h[a];for(i=0;i<24;i++)r[i/6|0]|=e[(l[i]-1+s)%28]<<31-i%6,r[4+(i/6|0)]|=e[28+(l[i+24]-1+s)%28]<<31-i%6;for(r[0]=r[0]<<1|r[0]>>>31,i=1;i<7;i++)r[i]=r[i]>>>4*(i-1)+3;r[7]=r[7]<<5|r[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 a=0;a<16;a++){for(var r=o[a],s=this._lBlock,c=this._rBlock,l=0,h=0;h<8;h++)l|=u[h][((c^r[h])&d[h])>>>0];this._lBlock=c,this._rBlock=s^l}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,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=a._createHelper(p);var f=r.TripleDES=a.extend({_doReset:function(){var t=this._key.words;this._des1=p.createEncryptor(o.create(t.slice(0,2))),this._des2=p.createEncryptor(o.create(t.slice(2,4))),this._des3=p.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=a._createHelper(f)}(),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 a=t[e];t[e]=t[i],t[i]=a,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 a=0;o<256;o++){var r=o%i,s=e[r>>>2]>>>24-r%4*8&255;a=(a+n[o]+s)%256;var c=n[o];n[o]=n[a],n[a]=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 a=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(a)}(),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,a=this._iv,r=this._counter;a&&(r=this._counter=a.slice(0),this._iv=void 0),e(r);var s=r.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++)a[i]=e[i];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<a[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<a[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<a[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<a[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<a[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<a[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<a[6]>>>0?1:0)|0,this._b=e[7]>>>0<a[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,l=((4294901760&n)*n|0)+((65535&n)*n|0);r[i]=c^l}t[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,t[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,t[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,t[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,t[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,t[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,t[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,t[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}var e=s,i=e.lib.StreamCipher,n=e.algo,o=[],a=[],r=[],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],a=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++)a[n]^=o[n+4&7];if(i){var r=i.words,s=r[0],c=r[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&h,d=h<<16|65535&l;for(a[0]^=l,a[1]^=u,a[2]^=h,a[3]^=d,a[4]^=l,a[5]^=u,a[6]^=h,a[7]^=d,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 a=0;a<4;a++)o[a]=16711935&(o[a]<<8|o[a]>>>24)|4278255360&(o[a]<<24|o[a]>>>8),e[i+a]^=o[a]},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,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0);var r=a.slice(0);i.encryptBlock(r,0),a[n-1]=a[n-1]+1|0;for(var s=0;s<n;s++)t[e+s]^=r[s]}});return t.Decryptor=e,t}(),function(){function t(){for(var t=this._X,e=this._C,i=0;i<8;i++)a[i]=e[i];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<a[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<a[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<a[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<a[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<a[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<a[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<a[6]>>>0?1:0)|0,this._b=e[7]>>>0<a[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,l=((4294901760&n)*n|0)+((65535&n)*n|0);r[i]=c^l}t[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,t[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,t[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,t[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,t[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,t[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,t[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,t[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}var e=s,i=e.lib.StreamCipher,n=e.algo,o=[],a=[],r=[],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 a=0;a<4;a++)t.call(this);for(a=0;a<8;a++)o[a]^=n[a+4&7];if(i){var r=i.words,s=r[0],c=r[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),u=l>>>16|4294901760&h,d=h<<16|65535&l;for(o[0]^=l,o[1]^=u,o[2]^=h,o[3]^=d,o[4]^=l,o[5]^=u,o[6]^=h,o[7]^=d,a=0;a<4;a++)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 a=0;a<4;a++)o[a]=16711935&(o[a]<<8|o[a]>>>24)|4278255360&(o[a]<<24|o[a]>>>8),e[i+a]^=o[a]},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,"850e92SXJVD2rcZ5BirDc9b","share");var n=this&&this.__awaiter||function(t,e,i,n){return new(i||(i=Promise))(function(o,a){function r(t){try{c(n.next(t))}catch(e){a(e)}}function s(t){try{c(n.throw(t))}catch(e){a(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(r,s)}c((n=n.apply(t,e||[])).next())})},o=this&&this.__generator||function(t,e){var i,n,o,a,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(a){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,n=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(!(o=(o=r.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){r=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(6===a[0]&&r.label<o[1]){r.label=o[1],o=a;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(a);break}o[2]&&r.ops.pop(),r.trys.pop();continue}a=e.call(t,r)}catch(s){a=[6,s],n=0}finally{i=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}};Object.defineProperty(i,"__esModule",{value:!0}),i.WeChat=void 0;var a=t("../crypto/HttpUtil"),r=t("../GameData"),s={gameId:"100001",shareLine:"zDLsruVI",EK:"hui231%1"},c=function(){function t(){}return t.setShare=function(e){var i=this.removeQueryParams(e);s.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(t){console.log("\u68c0\u67e5api",t)}}),setTimeout(function(){t.changeShare()},100),setTimeout(function(){t.changeShare()},200)}},t.changeShare=function(){wx.ready(function(){wx.updateAppMessageShareData({title:"\u624b\u773c\u534f\u8c03\u7ec3\u4e60",desc:"\u8111\u96fe\u5bfc\u81f4\u4f60\u7684\u624b\u773c\u534f\u8c03\u53d8\u6162\u548c\u4f30\u6d4b\u4e0d\u51c6\u5417\uff1f",link:s.shareLine,imgUrl:"https://static.sparkus.cn/public/flyup.jpg",success:function(){console.log("\u5206\u4eab\u597d\u53cb\u6210\u529f\u56de\u8c03")}}),wx.updateTimelineShareData({title:"\u624b\u773c\u534f\u8c03\u7ec3\u4e60",link:s.shareLine,imgUrl:"https://static.sparkus.cn/public/flyup.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=a.default.apiSign("/api/share/cfg?gameId="+r.default._instance.GM_INFO.gameId+"&time="+i+"&url="+t,{}),[2,a.default.httpGet(n,e)]})})},t.containsNanana=function(t){return/test/i.test(t)},t.removeQueryParams=function(t){return t.replace(/\?.*$/,"")},t}();i.WeChat=c,cc._RF.pop()},{"../GameData":"GameData","../crypto/HttpUtil":"HttpUtil"}],"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()},{}]},{},["Block","Camera","GameData","GameManager","GameOver","GameScene","ItemRender","List","Load","Player","RankManager","HttpUtil","crypto-js.min","AudioManager","GameTool","Notification","Storage","share","use_v2.1-2.2.1_cc.Toggle_event"]);