System.register("chunks:///_virtual/Adapter.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,o,r,s,a,c,h,u;return{setters:[function(e){t=e.inheritsLoose,n=e.createClass},function(e){i=e.cclegacy,o=e._decorator,r=e.size,s=e.Component,a=e.screen,c=e.view,h=e.v4,u=e.UITransform}],execute:function(){i._RF.push({},"bd749XlRlxBuozLdQ22l+pP","Adapter",void 0);o.ccclass,o.property;var d=function(e){return e[e.Unknown=0]="Unknown",e[e.LandscapeLeft=1]="LandscapeLeft",e[e.LandscapeRight=2]="LandscapeRight",e[e.Portrait=3]="Portrait",e[e.UpsideDown=4]="UpsideDown",e}(d||{}),l=r(0,0),p=r(0,0),f=e("Adapter",function(e){function i(){for(var t,n=arguments.length,i=new Array(n),o=0;o0&&(i?this._flags|=t:this._flags&=~t,this._isDirty=!0)},s.resetInEditor=function(){this.doLayout(!0)},s.doLayout=function(t){if(void 0===t&&(t=!1),this._isDirty||t){var i=this.widget;if(!this.isFullScreenAdaption)return;if(!i||!i.enabled)return;i.isAlignTop&&this.isAlignTop&&(i.isAbsoluteTop=!0,this.direction==a.direction.Portrait?i.top=this.top+a.safeArea.outside.height:i.top=this.top),i.isAlignBottom&&this.isAlignBottom&&(i.isAbsoluteBottom=!0,this.direction==a.direction.UpsideDown?i.bottom=this.bottom+a.safeArea.outside.height:i.bottom=this.bottom),i.isAlignLeft&&this.isAlignLeft&&(i.isAbsoluteLeft=!0,this.direction==a.direction.LandscapeLeft?i.left=this.left+a.safeArea.outside.width:i.left=this.left),i.isAlignRight&&this.isAlignRight&&(i.isAbsoluteRight=!0,this.direction==a.direction.LandscapeRight?i.right=this.right+a.safeArea.outside.width:i.right=this.right),i.updateAlignment(),this._isDirty=!1,this.doOnAdapterComplete()}},s.onChangeSize=function(){this.doLayout(!0)},s.update=function(i){t.prototype.update&&t.prototype.update.call(this,i),this.doLayout()},n(i,[{key:"isAlignTop",get:function(){return(this._flags&k.TOP)>0},set:function(t){this.setFlag(k.TOP,t)}},{key:"isAlignBottom",get:function(){return(this._flags&k.BOTTOM)>0},set:function(t){this.setFlag(k.BOTTOM,t)}},{key:"isAlignLeft",get:function(){return(this._flags&k.LEFT)>0},set:function(t){this.setFlag(k.LEFT,t)}},{key:"isAlignRight",get:function(){return(this._flags&k.RIGHT)>0},set:function(t){this.setFlag(k.RIGHT,t)}},{key:"top",get:function(){return this._top},set:function(t){this._top!=t&&(this._top=t,this._isDirty=!0)}},{key:"bottom",get:function(){return this._bottom},set:function(t){this._bottom!=t&&(this._bottom=t,this._isDirty=!0)}},{key:"left",get:function(){return this._left},set:function(t){this._left!=t&&(this._left=t,this._isDirty=!0)}},{key:"right",get:function(){return this._right},set:function(t){this._right!=t&&(this._right=t,this._isDirty=!0)}},{key:"widget",get:function(){var t=this.getComponent(l);return t||this.addComponent(l)}}]),i}(a)).prototype,"_flags",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return k.None}}),i(O.prototype,"isAlignTop",[c],Object.getOwnPropertyDescriptor(O.prototype,"isAlignTop"),O.prototype),i(O.prototype,"isAlignBottom",[g],Object.getOwnPropertyDescriptor(O.prototype,"isAlignBottom"),O.prototype),i(O.prototype,"isAlignLeft",[f],Object.getOwnPropertyDescriptor(O.prototype,"isAlignLeft"),O.prototype),i(O.prototype,"isAlignRight",[y],Object.getOwnPropertyDescriptor(O.prototype,"isAlignRight"),O.prototype),D=i(O.prototype,"_top",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),i(O.prototype,"top",[d],Object.getOwnPropertyDescriptor(O.prototype,"top"),O.prototype),L=i(O.prototype,"_bottom",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),i(O.prototype,"bottom",[A],Object.getOwnPropertyDescriptor(O.prototype,"bottom"),O.prototype),w=i(O.prototype,"_left",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),i(O.prototype,"left",[b],Object.getOwnPropertyDescriptor(O.prototype,"left"),O.prototype),P=i(O.prototype,"_right",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),i(O.prototype,"right",[_],Object.getOwnPropertyDescriptor(O.prototype,"right"),O.prototype),m=O))||m)||m)||m));s._RF.pop()}}})); System.register("chunks:///_virtual/AdapterSprite.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Adapter.ts"],(function(t){var e,i,s,n,r,o,p,h,a,c,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,s=t.createClass},function(t){n=t.cclegacy,r=t._decorator,o=t.Enum,p=t.Sprite,h=t.Widget,a=t.v3,c=t.UITransform},function(t){l=t.Adapter}],execute:function(){var d,T,u,y,g,f,S;n._RF.push({},"eeb87KiuDBE4KodowbfprPJ","AdapterSprite",void 0);var v=r.ccclass,w=r.property,E=r.executeInEditMode,I=r.menu,L=t("SpriteScaleType",function(t){return t[t.FILL=0]="FILL",t[t.SUIT=1]="SUIT",t}({})),O=t("SpriteAlignType",function(t){return t[t.LEFT=0]="LEFT",t[t.TOP=1]="TOP",t[t.RIGHT=2]="RIGHT",t[t.BOTTOM=3]="BOTTOM",t[t.CENTER=4]="CENTER",t}({}));t("default",(d=v("AdapterSprite"),T=E(!0),u=I("Quick适配组件/AdapterSprite"),y=w({type:o(L),tooltip:"缩放类型:\n -FILL: 缩放到填满父节点(如果父节点有裁剪,图像可能会被裁剪,节点可能会超出父节点)\n -SUIT: 缩放到刚好在父节点内部最大化显示(图像会完整显示,但父节点上下或者左右可能会留空)"}),g=w({type:o(O),tooltip:"齐方式类型:\n -LEFT: 缩放后靠左对齐\n -TOP: 缩放后靠上对齐\n -RIGHT: 缩放后靠右对齐\n -BOTTOM: 缩放后靠下对齐\n -CENTER: 缩放后居中对齐"}),d(f=T(f=u((e((S=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),n=0;nn.width/n.height){if(t==L.SUIT){var r=n.width/this.width;this.node.scale=a(r,r)}else if(t==L.FILL){var o=n.height/this.height;this.node.scale=a(o,o)}}else if(t==L.SUIT){var p=n.height/this.height;this.node.scale=a(p,p)}else if(t==L.FILL){var c=n.width/this.width;this.node.scale=a(c,c)}switch(e){case O.CENTER:this.node.setPosition(a());break;case O.LEFT:this.node.setPosition(a(-.5*(n.width-this.width*this.node.scale.x),0));break;case O.RIGHT:this.node.setPosition(a(.5*(n.width-this.width*this.node.scale.x),0));break;case O.TOP:this.node.setPosition(a(0,.5*(n.height-this.height*this.node.scale.x)));break;case O.BOTTOM:this.node.setPosition(a(0,-.5*(n.height-this.height*this.node.scale.x)))}this.doOnAdapterComplete()}},s(e,[{key:"scaleType",get:function(){return this._scaleType},set:function(t){this._scaleType=t}},{key:"alignType",get:function(){return this._alignType},set:function(t){this._alignType=t}},{key:"parentTrans",get:function(){var t;return null==(t=this.node.parent)?void 0:t.getComponent(c)}}]),e}(l)).prototype,"scaleType",[y],Object.getOwnPropertyDescriptor(S.prototype,"scaleType"),S.prototype),e(S.prototype,"alignType",[g],Object.getOwnPropertyDescriptor(S.prototype,"alignType"),S.prototype),f=S))||f)||f)||f));n._RF.pop()}}})); System.register("chunks:///_virtual/AdapterView.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Adapter.ts"],(function(e){var i,t,s,a,o;return{setters:[function(e){i=e.inheritsLoose},function(e){t=e.cclegacy,s=e._decorator,a=e.v3},function(e){o=e.Adapter}],execute:function(){var n;t._RF.push({},"aa0f6X8h7FGOousEfBO0lS4","AdapterView",void 0);var r=s.ccclass,d=(s.property,s.executeInEditMode),c=s.menu;e("default",r("AdapterView")(n=d(!0)(n=c("Quick适配组件/AdapterView")(n=function(e){function t(){return e.apply(this,arguments)||this}return i(t,e),t.prototype.onChangeSize=function(){if(o.safeArea=null,this.node){if(this.isFullScreenAdaption)this.width=o.safeArea.width/o.safeArea.designPxToScreenPxRatio,this.height=o.safeArea.height/o.safeArea.designPxToScreenPxRatio;else switch(this.width=o.safeArea.safe.width/o.safeArea.designPxToScreenPxRatio,this.height=o.safeArea.safe.height/o.safeArea.designPxToScreenPxRatio,this.direction){case o.direction.LandscapeLeft:this.node.setPosition(a(o.safeArea.outside.width/o.safeArea.designPxToScreenPxRatio,0));break;case o.direction.LandscapeRight:this.node.setPosition(a(-o.safeArea.outside.width/o.safeArea.designPxToScreenPxRatio,0));break;case o.direction.Portrait:this.node.setPosition(a(0,-o.safeArea.outside.height/o.safeArea.designPxToScreenPxRatio));break;case o.direction.UpsideDown:this.node.setPosition(a(0,o.safeArea.outside.height/o.safeArea.designPxToScreenPxRatio));break;default:console.log("获取不到设备方向,直接居中处理"),this.node.setPosition(a(0,0))}this.doOnAdapterComplete()}},t}(o))||n)||n)||n);t._RF.pop()}}})); System.register("chunks:///_virtual/ArsenalUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./List.ts","./Utils.ts","./UserData.ts","./GunItem.ts","./AutoBind.ts","./BaseExp.ts","./GunAttrItem.ts","./GunTypeItem.ts","./UIManager.ts","./Constants.ts","./MsgHints.ts","./Game.ts"],(function(t){var n,e,a,i,u,r,l,s,o,c,p,f,g,y,m,h,d,_,b,G,D;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,a=t.initializerDefineProperty,i=t.assertThisInitialized,u=t.extends},function(t){r=t.cclegacy,l=t._decorator,s=t.Label,o=t.Node},function(t){c=t.default},function(t){p=t.Utils},function(t){f=t.userIns},function(t){g=t.GunItem},function(t){y=t.autoBind},function(t){m=t.BaseExp},function(t){h=t.GunAttrItem},function(t){d=t.GunTypeItem},function(t){_=t.uiMgr},function(t){b=t.Constants},function(t){G=t.default},function(t){D=t.Game}],execute:function(){var v,A,I,L,T,w,U,V,C,z,B,k,E,x,M;r._RF.push({},"8d2c6im4+tP95EQaOIZ0YX1","ArsenalUI",void 0);var O=l.ccclass;l.property,t("ArsenalUI",(v=O("ArsenalUI"),A=y({type:c,tooltip:"枪的属性列表"}),I=y({type:c,tooltip:"枪的类型列表"}),L=y({type:c,tooltip:"枪的列表"}),T=y({type:s,tooltip:"枪的名字"}),w=y({type:s,tooltip:"枪的类型的名字"}),U=y({type:o,tooltip:"模型摄像机"}),v((z=n((C=function(t){function n(){for(var n,e=arguments.length,u=new Array(e),r=0;r=c.bgVolumeMax?clearInterval(t.time_id):t.audioSource.volume=u}),1e3*e)}t.playStatus=!0}},!(o=this.cachedAudioArr.find((function(t){return t.path==e})))){t.next=10;break}n(o),t.next=12;break;case 10:return t.next=12,l.loadAsset(s.bundleName.audios,e,a,(function(t,u){if(t)p.error("加载资源失败:",t);else{var r={path:e,clip:u,audioSource:null,playStatus:!1,totalTime:u.getDuration(),time_id:-1,t:0};c.cachedAudioArr.push(r),n(r)}}));case 12:case"end":return t.stop()}}),t,this)})));return function(e,u,r){return t.apply(this,arguments)}}(),n.playOneShot=function(){var t=u(r().mark((function t(e,u){var i,n,o=this;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u&&(u=!0),!f.isNull(e)&&d.data.soundFx){t.next=3;break}return t.abrupt("return");case 3:if(i=function(t){!u&&t.playStatus||(null==t.audioSource&&(t.audioSource=o.audioSourceLoop(!1)),t.audioSource.clip=t.clip,t.audioSource.play(),t.audioSource.volume=1,t.playStatus=!0,setTimeout((function(){t.playStatus=!1}),1e3*t.totalTime))},!(n=this.cachedAudioArr.find((function(t){return t.path==e})))){t.next=9;break}i(n),t.next=11;break;case 9:return t.next=11,l.loadAsset(s.bundleName.audios,e,a,(function(t,u){if(t)p.error("加载资源失败:",t);else{var r={path:e,clip:u,audioSource:null,playStatus:!1,totalTime:u.getDuration(),time_id:-1,t:0};o.cachedAudioArr.push(r),i(r)}}));case 11:case"end":return t.stop()}}),t,this)})));return function(e,u){return t.apply(this,arguments)}}(),n.stop=function(t,e){var u=this;if(void 0===e&&(e=-1),!f.isNull(t)){var r=this.cachedAudioArr.find((function(e){return e.path==t}));if(r){if(!r.audioSource)return;if(!r.audioSource.playing)return;r.time_id&&clearInterval(r.time_id);var i=r.audioSource;if(-1==e)null==i||i.pause();else{r.t=0;var n=1/e/10;r.time_id=setInterval((function(){if(i){r.t+=n;var t=u.bgVolumeMax-r.t/e;t<=0?(clearInterval(r.time_id),null==i||i.pause()):i.volume=t<=0?0:t}}),1e3*n)}r.playStatus=!1}}},n.audioSourceLoop=function(t){return t?this.getAudioSource(null,!0,this.bgVolumeMax):this.getAudioSource(null,!1,1)},n.getAudioSource=function(t,e,u){void 0===t&&(t=null),void 0===e&&(e=!1),void 0===u&&(u=1);var r=new o;return t&&(r.clip=t),r.loop=e,r.volume=u,r},i}(c))||v);t("audioMgr",S.ins());i._RF.pop()}}})); System.register("chunks:///_virtual/AutoBind.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n;return{setters:[function(t){e=t.createForOfIteratorHelperLoose},function(t){n=t.cclegacy}],execute:function(){t({autoBind:function(t,e){if(void 0!==e){var n=t;return r.has(n)||r.set(n,{}),void(r.get(n)[e]={})}return function(e,n){r.has(e)||r.set(e,{});var o="function"==typeof t?{type:t}:t;r.get(e)[n]=o}},initAutoBindings:function(t){var e=r.get(Object.getPrototypeOf(t));if(!e)return;var n=new Map;for(var u in i(t.node,n),e){var a=e[u],c=n.get(u);if(c){var f=o(t,u,a);t[u]=!f||c instanceof f?c:c.getComponent(f)}}}}),n._RF.push({},"02dbcLwQzZCspaVMhjyt9dj","AutoBind",void 0);var r=new WeakMap;function o(t,e,n){if(n.type)return n.type;var r=t[e];return null!=r?r.constructor:null}function i(t,n){n.set(t.name,t);for(var r,o=e(t.children);!(r=o()).done;){i(r.value,n)}}n._RF.pop()}}})); System.register("chunks:///_virtual/BaseExp.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils.ts","./Logger.ts","./UIManager.ts","./EventEmitter.ts","./AutoBind.ts","./Constants.ts","./AudioManager.ts"],(function(t){var n,e,i,s,o,a,c,r,h,u,l,d,g,f,v,p,B,m,y,C,E,k;return{setters:[function(t){n=t.inheritsLoose,e=t.createClass},function(t){i=t.cclegacy,s=t._decorator,o=t.Node,a=t.Tween,c=t.Vec3,r=t.tween,h=t.easing,u=t.UITransform,l=t.Vec2,d=t.Button,g=t.js,f=t.EventHandler,v=t.Component},function(t){p=t.Utils},function(t){B=t.Logger},function(t){m=t.uiMgr},function(t){y=t.eventEmitter},function(t){C=t.initAutoBindings},function(t){E=t.Constants},function(t){k=t.audioMgr}],execute:function(){var _;i._RF.push({},"f7232bGb6xDy4F0OYIYaAsF","BaseExp",void 0);var A=s.ccclass;s.property,t("BaseExp",A("BaseExp")(_=function(t){function i(){for(var n,e=arguments.length,i=new Array(e),s=0;s0?B.log(t.name+"按钮已经存在绑定,跳过自动绑定"):a.push(o)},s.onDestroy=function(){for(var t=0;t1?n-1:0),i=1;i=i.delay&&!i.createComplete&&(i.createComplete=!0,e.createEnemy(i.data).then((function(){var n,t=null==(n=e.eTimeMaps)?void 0:n.get(i);t&&(clearInterval(t),e.eTimeMaps.delete(i))}))))}),17.5);e.eTimeMaps.set(i,o)},r=0;r0){var u,c=this.gunBase.node.worldPosition;s.sort((function(e,t){return o.distance(e.hitPoint,c)-o.distance(t.hitPoint,c)}));for(var f,v=null,m=a(s);!(f=m()).done;){var p=f.value;if(p.collider.args){v=p;break}}v=null!=(u=v)?u:s[0],this.addHitImpact(v);var g=v.collider.args;if(g){var B=g[0],P=g[1],b=this.gunBase.data.attack;if(P instanceof d){var S=P,H=!1;if(B==y.enemyPartType.head&&(l.I.player.headShotNum+=1,b=l.I.player.pData.headshotDmgMul*b,H=!0),B==y.enemyPartType.shield&&S.shieldHp>0)return void(S.shieldHp-=b);S.isShotHead=H,S.isTank()?B==y.enemyPartType.tank&&S.subHP(b,this.gunBase.data):(S.raycastResults=v,S.subHP(b,this.gunBase.data))}else if(P instanceof h){P.subHP(b,this.gunBase.data,l.I.player.node)}}this.autoRecycle()}},i}(u))||f);i._RF.pop()}}})); System.register("chunks:///_virtual/Bullet10.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./BulletBase.ts"],(function(t){var e,i,o,s,a,n,r;return{setters:[function(t){e=t.inheritsLoose},function(t){i=t.cclegacy,o=t._decorator,s=t.Vec3},function(t){a=t.PoolManager},function(t){n=t.Game},function(t){r=t.BulletBase}],execute:function(){var l;i._RF.push({},"d795a460dJCIanwcZSOLmLj","Bullet10",void 0);var c=o.ccclass;o.property,t("Bullet10",c("Bullet10")(l=function(t){function i(){for(var e,i=arguments.length,o=new Array(i),s=0;s=this.moveTime&&this.isHit&&(n.I.player.subHP(this.gunBase.data.attack,this.gunBase.data),this.autoRecycle(),this.curTime=0)}},i}(r))||l);i._RF.pop()}}})); System.register("chunks:///_virtual/Bullet14.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./BulletBase.ts"],(function(t){var e,i,s,o,a,n,r;return{setters:[function(t){e=t.inheritsLoose},function(t){i=t.cclegacy,s=t._decorator,o=t.Vec3},function(t){a=t.PoolManager},function(t){n=t.Game},function(t){r=t.BulletBase}],execute:function(){var l;i._RF.push({},"bfbe82nNGFIZYvxrsfEzbJp","Bullet14",void 0);var c=s.ccclass;s.property,t("Bullet14",c("Bullet14")(l=function(t){function i(){for(var e,i=arguments.length,s=new Array(i),o=0;o=this.moveTime&&this.isHit&&(n.I.player.subHP(this.gunBase.data.attack,this.gunBase.data),this.autoRecycle(),this.curTime=0)}},i}(r))||l);i._RF.pop()}}})); System.register("chunks:///_virtual/Bullet2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./BulletBase.ts","./Sundries.ts","./GameEnums.ts","./Enemy.ts"],(function(e){var t,a,i,s,n,r,o,l,u,c,h,d,v;return{setters:[function(e){t=e.inheritsLoose,a=e.createForOfIteratorHelperLoose},function(e){i=e.cclegacy,s=e._decorator,n=e.geometry,r=e.PhysicsSystem,o=e.Vec3},function(e){l=e.PoolManager},function(e){u=e.Game},function(e){c=e.BulletBase},function(e){h=e.Sundries},function(e){d=e.GameEnums},function(e){v=e.Enemy}],execute:function(){var y;i._RF.push({},"a110bAYlUhDpLF6MbvBeX7d","Bullet2",void 0);var f=s.ccclass;s.property,e("Bullet2",f("Bullet2")(y=function(e){function i(){for(var t,a=arguments.length,i=new Array(a),s=0;s0){var l,c=this.gunBase.node.worldPosition;s.sort((function(e,t){return o.distance(e.hitPoint,c)-o.distance(t.hitPoint,c)}));for(var y,f=null,p=a(s);!(y=p()).done;){var m=y.value;if(m.collider.args){f=m;break}}f=null!=(l=f)?l:s[0],this.addHitImpact(f);var g=f.collider.args;if(g){var B=g[0],P=g[1],S=this.gunBase.data.attack;if(P instanceof v){var b=P,H=!1;if(B==d.enemyPartType.head&&(u.I.player.headShotNum+=1,S=u.I.player.pData.headshotDmgMul*S,H=!0),B==d.enemyPartType.shield&&b.shieldHp>0)return void(b.shieldHp-=S);b.isShotHead=H,b.isTank()?B==d.enemyPartType.tank&&b.subHP(S,this.gunBase.data):(b.raycastResults=f,b.subHP(S,this.gunBase.data))}else if(P instanceof h){P.subHP(S,this.gunBase.data,u.I.player.node)}}this.autoRecycle()}},i}(c))||y);i._RF.pop()}}})); System.register("chunks:///_virtual/Bullet3.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./BulletBase.ts","./Sundries.ts","./Enemy.ts","./GameEnums.ts"],(function(e){var t,a,i,s,n,r,o,l,u,c,h,d,v;return{setters:[function(e){t=e.inheritsLoose,a=e.createForOfIteratorHelperLoose},function(e){i=e.cclegacy,s=e._decorator,n=e.geometry,r=e.PhysicsSystem,o=e.Vec3},function(e){l=e.PoolManager},function(e){u=e.Game},function(e){c=e.BulletBase},function(e){h=e.Sundries},function(e){d=e.Enemy},function(e){v=e.GameEnums}],execute:function(){var y;i._RF.push({},"49ae7Uhv3BCg6sL1a16tVcn","Bullet3",void 0);var f=s.ccclass;s.property,e("Bullet3",f("Bullet3")(y=function(e){function i(){for(var t,a=arguments.length,i=new Array(a),s=0;s0){var l,c=this.gunBase.node.worldPosition;s.sort((function(e,t){return o.distance(e.hitPoint,c)-o.distance(t.hitPoint,c)}));for(var y,f=null,p=a(s);!(y=p()).done;){var m=y.value;if(m.collider.args){f=m;break}}f=null!=(l=f)?l:s[0],this.addHitImpact(f);var g=f.collider.args;if(g){var B=g[0],P=g[1],S=this.gunBase.data.attack;if(P instanceof d){var H=P,R=!1;if(B==v.enemyPartType.head&&(u.I.player.headShotNum+=1,S=u.I.player.pData.headshotDmgMul*S,R=!0),B==v.enemyPartType.shield&&H.shieldHp>0)return void(H.shieldHp-=S);H.isShotHead=R,H.isTank()?B==v.enemyPartType.tank&&H.subHP(S,this.gunBase.data):(H.raycastResults=f,H.subHP(S,this.gunBase.data))}else if(P instanceof h){P.subHP(S,this.gunBase.data,u.I.player.node)}}this.autoRecycle()}},i}(c))||y);i._RF.pop()}}})); System.register("chunks:///_virtual/BulletBase.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./ResUtil.ts","./Game.ts","./UserData.ts"],(function(t){var e,n,a,i,o,s,r,l,u,c;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator,i=t.Vec3,o=t.Component},function(t){s=t.PoolManager},function(t){r=t.ResUtil},function(t){l=t.Game},function(t){u=t.userIns,c=t.GunAttribute}],execute:function(){var d;n._RF.push({},"051dfv7+IlCjZaFXRdIPsX0","BulletBase",void 0);var h=a.ccclass;a.property,t("BulletBase",h("BulletBase")(d=function(t){function n(){var e;return(e=t.call(this)||this).isDead=!1,e.gunBase=null,e.recycleTime=3,e.isDead=!1,e}e(n,t);var a=n.prototype;return a.start=function(){setTimeout(this.autoRecycle.bind(this),1e3*this.recycleTime)},a.stabilityGetBulletPos=function(t){var e=u.getGunMaxValue(this.gunBase.data,c.stability).totalValue,n=this.gunBase.data.stability,a=Math.max(0,1-n/e),i=l.I.player.shootUI.getScreenCenterPos();return i.x+=(Math.random()-.5)*a*t,i.y+=(Math.random()-.5)*a*t,i},a.addHitImpact=function(t){r.loadRes("enemy/sundries/hit_impact",this.node).then((function(e){e&&(e.worldPosition=t.hitPoint.add(t.hitNormal.multiplyScalar(.01)),e.forward=t.hitNormal.multiplyScalar(-1),e.setParent(t.collider.node,!0)),setTimeout((function(){e.parent&&s.putNode(e)}),3e3)})).catch((function(t){console.error("加载sundries/hit_impact异常",t)}))},a.getBulletTime=function(){var t=l.I.player.shootUI.getCrossHairPos(),e=this.node.position.clone(),n=i.distance(new i(e.x,0,e.z),new i(t.x,0,t.z));return Math.max(n/(5*this.gunBase.data.bulletSpeed),.25)},a.autoRecycle=function(){!this.isDead&&this.node.parent&&(this.isDead=!0,s.putNode(this.node))},n}(o))||d);n._RF.pop()}}})); System.register("chunks:///_virtual/BulletMagazine.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./Constants.ts","./BaseExp.ts"],(function(e){var t,i,n,a,l,r,o,s,u,c,p,g,f,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized,l=e.createClass},function(e){r=e.cclegacy,o=e._decorator,s=e.Node,u=e.SpriteFrame,c=e.Sprite},function(e){p=e.PoolManager},function(e){g=e.Game},function(e){f=e.Constants},function(e){h=e.BaseExp}],execute:function(){var m,y,b,z,_,d,v,N,M,B,w;r._RF.push({},"83c6ckag1RAjY4TUul1spSN","BulletMagazine",void 0);var C=o.ccclass,D=o.property;e("BulletMagazine",(m=C("BulletMagazine"),y=D({type:s,tooltip:"滚动内容"}),b=D({type:s,tooltip:"子弹预制体"}),z=D({type:u,tooltip:"用过的子弹图片"}),_=D({type:u,tooltip:"正常的子弹图片"}),m((N=t((v=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),r=0;r "+t+"/spriteFrame","\n(请确认是否使用完整SpriteFrame路径)"),i.load(t,n,(function(n,l){if(n||!l){console.error("加载失败 ["+e+"] "+t+":",n.message);var i=c?"\n可能原因:\n1. 使用完整路径如 "+t+"/spriteFrame 类型为SpriteFrame\n2. 或者加载Texture: "+t+"/texture 类型为Texture":"\n请检查资源路径是否正确";return console.warn("空资源 ["+e+"] "+t,i),null==r||r(n),void o(null!=n?n:new Error("Asset is null"))}s._assetCache.set(a,l),console.log("加载资源 "+t+" 成功: "+a+" + 类型为: "+(null==l?void 0:l.constructor.name)),null==r||r(n,l),u(l)}))}))}))},o.releaseBundle=function(e,t){void 0===t&&(t=!1);var n=this._bundles.get(e);n&&(n.refCount--,(n.refCount<=0||t)&&(l.removeBundle(n.bundle),this._bundles.delete(e),console.log("已释放Bundle: "+e)))},o.getBundle=function(){var e=r(s().mark((function e(t){var n,r,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=null==(n=this._bundles.get(t))?void 0:n.bundle)){e.next=3;break}return e.abrupt("return",r);case 3:return e.prev=3,e.next=6,new Promise((function(e,n){l.loadBundle(t,(function(t,r){t?n(t):e(r)}))}));case 6:return a=e.sent,e.abrupt("return",a);case 10:return e.prev=10,e.t0=e.catch(3),console.error("加载Bundle "+t+" 失败:",e.t0),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),o.hasBundle=function(e){return this._bundles.has(e)},o.releaseAll=function(e){var t=this;void 0===e&&(e=!1),this._bundles.forEach((function(n,r){return t.releaseBundle(r,e)}))},o._expandDirectoryAssets=function(){var e=r(s().mark((function e(t,n){var r,a,u,o=this;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],a=s().mark((function e(){var a,l,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(a=n[u])&&a.isDirectory){e.next=5;break}null!=a&&a.skipLoading||r.push(a),e.next=11;break;case 5:return l=a.path.endsWith("/")?a.path:a.path+"/",e.next=8,o._getBundleAssets(t,{excludeFolders:!0,excludeExtensions:[".meta"]});case 8:i=e.sent,i.filter((function(e){return e.path.startsWith(l)&&!e.path.substring(l.length).includes("/")})).forEach((function(e){r.push({path:e.path,type:e.type,skipLoading:!1})}));case 11:case"end":return e.stop()}}),e)})),u=0;case 3:if(!(u=0;i--)this.frequency(e,t[i],r)>0&&(n=t[i]);return n||t[0]},unsafeParse:function(e,t,r){var n,i,s=e.split(t.newline);function u(e){var r=e.shift();if(r.indexOf('"')>=0){for(var n=0,i=0,s=0;e.length>0&&(-1!==(n=r.indexOf('"',i))||s%2!=0);)-1!==n?(i=n+1,s++):r=r+t.newline+e.shift();var u,a=[],o=0,l=0,c=0,h=r.length;for(var f in r)if(r.hasOwnProperty(f)){var d=parseInt(f),v=r[f];0===d&&'"'===v&&(o++,l=1),'"'===v&&(o++,r[d-1]===t.delimiter&&l===d&&l++),'"'===v&&o%2==0&&(r[d+1]!==t.delimiter&&d+1!==h||(c=d,u=r.substring(l,c),a.push(u),c=l=c+2)),v===t.delimiter&&o%2==0&&((c=d)>l?(u=r.substring(l,c),a.push(u),c=l=c+1):c===l&&(a.push(""),c=l=c+1))}return(c=h)>=l&&(u=r.substring(l,c),a.push(u)),a}return r.split(t.delimiter)}for(t.skip>0&&s.splice(t.skip),t.header?(!0===t.header?(t.comment=u(s),t.cast=u(s),n=u(s)):"Array"===this.getType(t.header)&&(n=t.header),i=this.buildObjectConstructor(n,s[0].split(t.delimiter),t.cast)):i=this.buildArrayConstructor(n,s[0].split(t.delimiter),t.cast);s.length>0;){var a=u(s);a.length>1&&r(i(a),n[0])}return!0},safeParse:function(e,t,r){t.delimiter;var n=t.newline,i=e.split(n);return t.skip>0&&i.splice(t.skip),!0},encodeCells:function(e,t,r){for(var n=e.slice(0),i=0,s=n.length;i0)||n)},encode:function(e,t,r){var n;return"Function"===this.getType(t)?(r=t,t={}):"Function"!==this.getType(r)&&(r=(n=[]).push.bind(n)),(t=this.assign({},this.STANDARD_ENCODE_OPTS,t)).skip>0&&(e=e.slice(t.skip)),("Array"===this.getType(e[0])?this.encodeArrays:this.encodeObjects)(e,t,r)&&(!(n.length>0)||n.join(t.newline))}};e("CsvParser",i("CsvParser")(n=function(){function e(){this._csvTables={},this._csvTableForArr={},this._tableCast={},this._tableComment={}}var t=e.prototype;return t.addTable=function(e,t,r){if(!this._csvTables[e]||r){var n={},i=[];return o.parse(t,{header:!0,cast:"any"},(function(e,t){n[e[t]]=e,i.push(e)})),this._tableCast[e]=o.opts.cast,this._tableComment[e]=o.opts.comment,this._csvTables[e]=n,this._csvTableForArr[e]=i,i}},t.getTableArr=function(e){return this._csvTableForArr[e]},t.getTable=function(e){return this._csvTables[e]},t.queryOne=function(e,t,r){var n=this.getTable(e);if(!n)return null;if(!t)return n[r];for(var i in n)if(n.hasOwnProperty(i)&&n[i][t]===r)return n[i]},t.queryByID=function(e,t){return this.queryOne(e,null,t)},t.queryAll=function(e,t,r){var n=this.getTable(e);if(!n||!t)return null;var i={};for(var s in n)n.hasOwnProperty(s)&&n[s][t]===r&&(i[s]=n[s]);return i},t.queryIn=function(e,t,r){var n=this.getTable(e);if(!n||!t)return null;for(var i={},s=Object.keys(n),u=s.length,a=0;a-1&&(i[s[a]]=o)}return i},t.queryByCondition=function(e,t){if(t.constructor!==Object)return null;var r=this.getTable(e);if(!r)return null;for(var n={},i=Object.keys(r),s=i.length,u=Object.keys(t),a=u.length,o=0;or},e}())||a);t._RF.pop()}}})); System.register("chunks:///_virtual/en.ts",["cc","./LanguageData.ts"],(function(){var e,u;return{setters:[function(u){e=u.cclegacy},function(e){u=e.default}],execute:function(){e._RF.push({},"c2ee7NzXEdG1Z3CXlfjoO8M","en",void 0),u.languages.en={main:{"加载中...":"loading...","关卡任务:%{value}":"Task: %{value}","关卡任务 %{value}":"Task %{value}","%{value}级解锁":"Level%{value}","凑齐道具不足":"Insufficient items","未找到合适物品":"No suitable item found","冰冻中":"Frozen","体力已满":"Stamina full","已满":"Full","购买成功":"Purchase successful","关卡%{value}通过":"Level %{value} completed"}},e._RF.pop()}}})); System.register("chunks:///_virtual/Enemy.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Game.ts","./Player.ts","./Utils.ts","./ResUtil.ts","./MsgHints.ts","./UserData.ts","./AutoBind.ts","./BaseExp.ts","./GunBase.ts","./PoolManager.ts","./AudioManager.ts","./Constants.ts","./GameEnums.ts"],(function(e){var t,i,n,s,a,o,r,l,h,u,c,d,p,y,m,f,g,v,w,k,b,_,P,H,x,D,S,C,N,T;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,s=e.assertThisInitialized,a=e.createClass,o=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){l=e.cclegacy,h=e._decorator,u=e.ProgressBar,c=e.Node,d=e.Collider,p=e.Vec3,y=e.UIOpacity,m=e.Label,f=e.tween,g=e.SkeletalAnimation},function(e){v=e.Game},function(e){w=e.Player},function(e){k=e.Utils},function(e){b=e.ResUtil},function(e){_=e.default},function(e){P=e.userIns},function(e){H=e.autoBind},function(e){x=e.BaseExp},function(e){D=e.GunBase},function(e){S=e.PoolManager},function(e){C=e.audioMgr},function(e){N=e.Constants},function(e){T=e.GameEnums}],execute:function(){var I,A,B,F,M,G,z,R,E,O,L,U,W,j,K,J,V;l._RF.push({},"5abcfOgUyRGS6wKMns5W55C","Enemy",void 0);var q=h.ccclass;h.property,e("Enemy",(I=q("Enemy"),A=H({type:u,tooltip:"敌人血量"}),B=H({type:c,tooltip:"敌人受伤节点"}),F=H({type:d,tooltip:"敌人头部"}),M=H({type:d,tooltip:"敌人身体"}),G=H({type:d,tooltip:"坦克身体"}),z=H({type:c,tooltip:"坦克行走"}),R=H({type:c,tooltip:"坦克射击"}),I((L=t((O=function(e){function t(){for(var t,i=arguments.length,a=new Array(i),o=0;o0&&(e.hp+=i+a.shield_hp)}return Object.assign(e,n)}},l.createGun=function(){var e=o(r().mark((function e(){var t,i,n,s,a,o,l,h;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.removeGun(),t=this.enemyNode.getChildByName("gun_pos"),i=this.data.weapon_id_1,n=P.enemyWeaponTable.find((function(e){return e.gun_id==i})),e.next=6,b.loadRes("enemy/gun/"+n.gun_prb_name);case 6:if(s=e.sent,this.gun=s.getComponent(D),s.active=!0,s.parent=t.parent,s.worldPosition=t.worldPosition.clone(),s.eulerAngles=t.eulerAngles.clone(),this.gun.init(this.data,this),0==(a=this.data.weapon_id_2)){e.next=27;break}return o=P.enemyWeaponTable.find((function(e){return e.gun_id==a})),e.next=18,b.loadRes("enemy/gun/"+o.gun_prb_name,this.enemyNode);case 18:l=e.sent,h=this.enemyNode.getChildByName("shield_pos"),l.active=!0,l.parent=h.parent,l.worldPosition=h.worldPosition.clone(),l.eulerAngles=h.eulerAngles.clone(),l.children[0].getComponent(d).args=[T.enemyPartType.shield,this],this.shieldNode=l,this.shieldHp=o.shield_hp;case 27:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),l.removeGun=function(){this.gun&&(this.gun.endFire(),S.putNode(this.gun.node),this.gun=null),this.isFire=!1,this.removeShield()},l.removeShield=function(){this.shieldNode&&(S.putNode(this.shieldNode),this.shieldNode=null),this._shieldHp=0},l.tankHeavySmoke=function(){var e=this;this.isTank()&&(this.heavySmoke||this.curHP<.3*this.data.hp&&b.playParticle("effects/Prefabs/HeavySmoke",0,new p(.2,.2,.2),(function(t){t.parent=e.node.parent,t.worldPosition=e.node.worldPosition.clone(),t.active=!0,e.heavySmoke=t})))},l.subHP=function(e,t){var i=this;if(!(v.I.isPause||this.isDead||null==e||this.curHP<=0)){if(this.hpBar.node.active=!0,this.scheduleOnce((function(){i.hpBar&&(i.hpBar.node.active=!1)}),.8),this.curHP-=e,this.tankHeavySmoke(),e>this.originHP)return this.escape=!1,this.showHurt(k.numberToString(e)),void this.recycle();this.curHP<=0&&!this.isDead?(this.escape=!1,this.recycle()):(this.hpBar.progress=this.curHP/this.originHP,this.showHurt(k.numberToString(e)))}},l.walk=function(e){if(!(e.length<=0)){this.curMoveIndex=0,this.pathList=e;var t=1/this.data.speed;this.isTank()?(this.tank_walk.active=!0,this.tank_shoot.active=!1):b.playSkeletalAnim(this.skeletalAnim,T.enemyAnimType.walk,t),this.updateDir(e[0].clone())}},l.beginFire=function(){this.player&&!this.player.isDead&&this.gun&&(this.isFire=!0,this.gun.fire())},l.endFire=function(){this.gun.endFire(),this.isFire=!1},l.recycle=function(e){var t=this;if(void 0===e&&(e=!0),this.node&&!this.isDead){e&&(this.isTank()?C.playOneShot(N.audios.Tank_Explosion):C.playOneShot(this.isShotHead?N.audios.head_shot:N.audios.enemy_die)),this.removeGun(),this.curHP=0;var i=2;this.isTank()?(b.playParticle("effects/Prefabs/TankBoom",3,new p(.1,.1,.1),(function(e){e.parent=t.node.parent,e.worldPosition=t.node.worldPosition.clone(),e.active=!0}),(function(){t.heavySmoke&&t.heavySmoke.parent&&(S.putNode(t.heavySmoke),t.heavySmoke=null)})),this.node.active=!1,i=3):b.playSkeletalAnim(this.skeletalAnim,T.enemyAnimType.die),this.isDead=!0,this.hpBar.node.active=!1;var n=function(e){this.node.getComponent(y).opacity=255,S.putNode(this.node),e&&v.I.buildEnemys.subtractEnemy(this)}.bind(this,e);this.unschedule(n),this.scheduleOnce(n,i)}},l.showHurt=function(e){var t=this;if(!v.I.isGameOver&&!this.isDead){this.raycastResults&&b.playParticle("effects/Prefabs/blood",1,new p(.35,.35,.35),(function(e){e.active=!0,e.setParent(t.raycastResults.collider.node.parent),e.worldPosition=t.raycastResults.hitPoint.add(t.raycastResults.hitNormal.multiplyScalar(.01)),e.forward=t.raycastResults.hitNormal.multiplyScalar(-1)}));var i=S.getNode(this.hurt_num,this.hurt_num.parent),n=i.getComponent(m);n.color=k.hexColor(this.isShotHead?"#F51414":"#FFFFFF"),n.string=e;var s=this.hpBar.node.position.clone();i.position=s;var a=this.hurt_num.scale.clone();i.scale=a,i.getComponent(y).opacity=255;var o=[],r=k.getRandomFloat(0,1)>.5;o=r?[new p(-.1+s.x,.3+s.y),new p(-.4+s.x,.4+s.y),new p(-.6+s.x,s.y)]:[new p(.1+s.x,.3+s.y),new p(.4+s.x,.4+s.y),new p(.6+s.x,s.y)],i.position=new p(o[2].x,o[2].y-.8,s.z);f(i).parallel(f().to(.65,{scale:new p(.4*a.x,.4*a.y,.4*a.z)}),f().to(.65,o[2],{onUpdate:function(e,t){if(i.parent){var n=(a=t,r=o[0],l=o[1],h=o[2],u=(1-a)*(1-a)*r.x+2*a*(1-a)*l.x+a*a*h.x,c=(1-a)*(1-a)*r.y+2*a*(1-a)*l.y+a*a*h.y,new p(u,c,s.z));i.position=new p(n.x,n.y-.8,s.z)}var a,r,l,h,u,c}})).call(function(){var e=this;f(this.getComponent(y)).to(.15,{opacity:0}).call((function(){S.putNode(e)})).start()}.bind(i)).start()}},l.calculateIsHit=function(){var e=this.getDifficultyData(),t=Math.random();return!(e.precision<0)&&(e.precision>1||t<=e.precision)},l.addDiffHP=function(){if(this.node&&!this.isDead&&!v.I.isGameOver&&!this.isDead){var e=this.getDifficultyData();e.hp_ratio>0&&(this.curHP+=this.originHP*e.hp_ratio)}},l.getDifficultyData=function(){var e=P.getCurLevelData().precision,t=e,i={precision:e,hp_ratio:0,reaction_time:0},n=Math.floor(v.I.buildEnemys.getCurKillNum()/3);i.precision+=.01*n;return P.passNum>3?(i.precision+=.05*P.passNum,i.precision=Math.min(t,.9),i.hp_ratio+=.15*P.passNum,i.hp_ratio=Math.min(i.hp_ratio,1)):(i.precision-=.05*P.passNum,i.precision=Math.max(i.precision,.1),i.reaction_time+=.5),i},l.update=function(e){if(!v.I.isGameOver&&!v.I.isPause&&this.data&&!this.isDead){var t=this.pathList[this.curMoveIndex];if(t){var i=this.node.worldPosition.clone(),n=t.clone().subtract(i),s=new p;p.subtract(s,t,i);var a=s.length(),o=this.speed*e;if(o>0){var r=i.add(n.normalize().multiplyScalar(o));this.node.worldPosition=r;var l=this.curMoveIndex==this.pathList.length-1?v.I.player.node.worldPosition:this.pathList[this.curMoveIndex+1];this.updateDir(l)}o>a&&(1!=this.curMoveIndex||v.I.buildEnemys.isOpenDoor||(v.I.map.openDoor(),v.I.buildEnemys.isOpenDoor=!0),this.curMoveIndex++,this.curMoveIndex>=this.pathList.length&&(this.beginFire(),this.isTank()?(this.tank_walk.active=!1,this.tank_shoot.active=!0):b.playSkeletalAnim(this.skeletalAnim,T.enemyAnimType.shoot,this.data.atk_speed),this.updateDir(v.I.player.node.worldPosition)))}}},l.updateDir=function(e){var t=this.node.worldPosition.clone(),i=p.subtract(new p,t,e);i.normalize();var n=this.node.forward.clone();p.slerp(n,n,i,.15),this.node.forward=n},l.isTank=function(){return this.data.id==T.enemyType.tank},a(t,[{key:"shieldHp",get:function(){return this._shieldHp},set:function(e){this._shieldHp=e,this._shieldHp<=0&&this.removeShield()}}]),t}(x)).prototype,"hpBar",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=t(O.prototype,"hurt_num",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=t(O.prototype,"headCollider",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=t(O.prototype,"bodyCollider",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=t(O.prototype,"tankCollider",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=t(O.prototype,"tank_walk",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(O.prototype,"tank_shoot",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=O))||E));l._RF.pop()}}})); System.register("chunks:///_virtual/EventEmitter.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Singleton.ts"],(function(t){var e,n,r,i;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,r=t._decorator},function(t){i=t.Singleton}],execute:function(){var s;n._RF.push({},"eef30aCO4hI0ZvvAJvZaGOD","EventEmitter",void 0);var c=r.ccclass,o=(r.property,c("EventEmitter")(s=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i0)for(var r=n.length-1;r>=0;r--)n[r].target===t&&n.splice(r,1)},r.dispatch=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&i.slice().forEach((function(e){try{e.func.apply(e.target,n)}catch(e){console.error("事件["+t+"]处理错误:",e)}}))},n}(i))||s);t("eventEmitter",o.ins());n._RF.pop()}}})); System.register("chunks:///_virtual/FollowCamera2D.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,o,i,a,n,l,c,s,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,o=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){a=e.cclegacy,n=e._decorator,l=e.v3,c=e.Node,s=e.Camera,u=e.Component}],execute:function(){var p,f,d,h,m,g;a._RF.push({},"39574FqrINNe7Tcwcsr+YQE","FollowCamera2D",void 0);var y=n.ccclass,v=n.property,w=l();e("FollowCamera2D",(p=y("FollowCamera2D"),f=v(c),p((m=t((h=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),n=0;n0&&(this.playSFs=this.playSFArray),this.currnSprite||(this.currnSprite=this.node.getComponent(p)),this.playSFs.length>0?(this.isPlayAnim=!0,this.playTime=0,this.loop=t,this.duration=i/this.playSFs.length,this.endFunc=n,this.idx=e,this.currnSprite.spriteFrame=this.playSFs[0],this.playIdxFunc=r):this.isPlayAnim=!1)},s.update=function(i){if(this.isPlayAnim&&this.currnSprite&&this.currnSprite.node.active){var t=h.I;if(!t||!t.isPause){this.playTime+=i;var n=Math.floor(this.playTime/this.duration);if(this.loop)n>=this.playSFs.length&&(n-=this.playSFs.length,this.playTime-=this.duration*this.playSFs.length),this.currnSprite.spriteFrame=this.playSFs[n];else{var r;if(n>=this.playSFs.length)this.isPlayAnim=!1,null==(r=this.endFunc)||r.call(this);else this.currnSprite.spriteFrame=this.playSFs[n];this.playIdxFunc&&this.idx==n&&this.playIdxFunc()}}}},t}(o)).prototype,"playSFArray",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),y=F))||y));s._RF.pop()}}})); System.register("chunks:///_virtual/FreeCamera.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,o,s,n,r,h,a,p,d,_,c,l,u,y;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,o=e.initializerDefineProperty,s=e.assertThisInitialized},function(e){n=e.cclegacy,r=e._decorator,h=e.Vec2,a=e.Vec3,p=e.Quat,d=e.input,_=e.Input,c=e.game,l=e.KeyCode,u=e.v2,y=e.Component}],execute:function(){var E,v,K,Y,f,S,m,k;n._RF.push({},"2b35dHdg+tFjZ6hoX5bj5+9","FreeCamera",void 0);var M=r.ccclass,D=r.property,T=new h,P=new h,A=new a,g=new p,w=new a,W=new a;e("FreeCamera",(E=M("FreeCamera"),v=D({slide:!0,range:[.05,.5,.01]}),E((f=t((Y=function(e){function t(){for(var t,i=arguments.length,n=new Array(i),r=0;r0?t:n,r=d.randomArray(i)[0].pos;return e&&(r.x+=d.getRandomFloat(-.5,.5),r.z+=d.getRandomFloat(-.5,.5)),r},o.getAmbushClas=function(){(!this.ambushPoints||this.ambushPoints.length<=0)&&this.parseAmbushPoints();var n=this.ambushPoints.filter((function(n){return!n.isVacancy})),t=n.length>0?n:this.ambushPoints;return d.randomArray(t)[0]},o.getRandomPos=function(n,t){if(20003==n.id)return t.worldPosition.clone();var e=t.children[0].worldPosition.clone();if(t.children.length>=2){var i=t.children[0].worldPosition.clone(),r=t.children[1].worldPosition.clone(),o=d.getRandomFloat(0,1);e.x=i.x+(r.x-i.x)*o,e.z=i.z+(r.z-i.z)*o}return e},o.getRandomBornPosition=function(){if(!this.enemy_born_area)return s.ZERO;var n=this.enemy_born_area.getWorldScale(),t=n.x,e=n.z,i=(Math.random()-.5)*t,r=(Math.random()-.5)*e,o=this.enemy_born_area.worldPosition;return new s(o.x+i,o.y,o.z+r)},o.resetData=function(){this.ambushPoints.forEach((function(n){n.isVacancy=!1,n.standPosArr.forEach((function(n){return n.isVacancy=!1})),n.roadPosArr.forEach((function(n){return n.isVacancy=!1})),n.ambushPosArr.forEach((function(n){return n.isVacancy=!1})),n.escapePosArr.forEach((function(n){return n.isVacancy=!1}))}))},t}(h)).prototype,"ambush_points",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(v.prototype,"enemy_born_area",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(v.prototype,"miidle_inline",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=t(v.prototype,"miidle_outline",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(v.prototype,"doors",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(v.prototype,"sundries",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=v))||A));o._RF.pop()}}})); System.register("chunks:///_virtual/Gun1.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./UIManager.ts","./Constants.ts","./Bullet1.ts","./GunBase.ts","./AudioManager.ts"],(function(t){var e,i,o,n,s,l,r,a,u,c,h,d,f,p,m,g,y;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,o=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){s=t.cclegacy,l=t._decorator,r=t.Node,a=t.tween,u=t.director,c=t.Vec3},function(t){h=t.PoolManager},function(t){d=t.Game},function(t){f=t.uiMgr},function(t){p=t.Constants},function(t){m=t.Bullet1},function(t){g=t.GunBase},function(t){y=t.audioMgr}],execute:function(){var b,v,P,B,N,z,w;s._RF.push({},"6984845eWhGy4N9LVXaCypl","Gun1",void 0);var C=l.ccclass,I=l.property;t("Gun1",(b=C("Gun1"),v=I({type:r,tooltip:"子弹节点"}),P=I({type:r,tooltip:"开火特效节点"}),b((z=e((N=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),l=0;l=this.data.magazine)this.shotBullets=0,null==(t=this.ammoCb)||t.call(this,this.data);this.endFire()}},s.getBulleNode=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=null);var i=h.getNode(this.bulletNode,u.getScene()),o=i.getComponent(m);o.init(this),i.worldPosition=this.muzzleNode.worldPosition.clone();var n,s=f.getPageComponent(p.popUIs.gunfightShootUI),l=e?e.worldPosition:s.getCrossHairPos(),r=c.subtract(new c,l,this.muzzleNode.worldPosition).normalize();if(t)n=r;else{var a=5*(Math.random()-.5)*Math.PI/180,d=5*(Math.random()-.5)*Math.PI/180;n=new c(r.x+a,r.y+d,r.z).normalize()}return i.forward=n,o.setBulletVector(n),o},s.recycle=function(){this.smokes.forEach((function(t){t&&t.parent&&h.putNode(t)})),this.smokes=[]},e}(g)).prototype,"bulletNode",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(N.prototype,"fireEffect",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=N))||B));s._RF.pop()}}})); System.register("chunks:///_virtual/Gun10.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Game.ts","./PoolManager.ts","./GunBase.ts","./Bullet10.ts","./Utils.ts","./AudioManager.ts","./Constants.ts"],(function(t){var i,e,s,o,n,r,l,a,u,h,c,f,d,p,m,y;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,s=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){n=t.cclegacy,r=t._decorator,l=t.Node,a=t.Vec3,u=t.director},function(t){h=t.Game},function(t){c=t.PoolManager},function(t){f=t.GunBase},function(t){d=t.Bullet10},function(t){p=t.Utils},function(t){m=t.audioMgr},function(t){y=t.Constants}],execute:function(){var b,g,v,F,N,w,z;n._RF.push({},"02422u5XL9Ip55qizRWXZh6","Gun10",void 0);var C=r.ccclass,G=r.property;t("Gun10",(b=C("Gun10"),g=G({type:l,tooltip:"子弹节点"}),v=G({type:l,tooltip:"开火特效节点"}),b((w=i((N=function(t){function i(){for(var i,e=arguments.length,n=new Array(e),r=0;r=this.r_delay&&!this.isGo)return this.diff+=t,void(this.isGo=!0);this.curTime+=t}if(this.curTime>=e-this.r_delay)if(this.isFire)this.isFristShoot=!1,this.r_delay=p.getRandomFloat(0,e),this.diff=0,this.isGo=!1,m.playOneShot(y.audios.Enemy_attack,!1),this.createBullet(),this.curTime=0,this.isCb=!1;else if(!this.isFire&&!this.isCb)this.isFire=!1,null==(i=this.endCb)||i.call(this,this.data.type),this.isCb=!0}},n.getNextAllow=function(){var t=h.I.player;return!(!t||t.isDead||!this.isFire||h.I.isPause||h.I.isGameOver)},n.recycle=function(){this.smokes.forEach((function(t){t&&t.parent&&c.putNode(t)})),this.smokes=[]},i}(f)).prototype,"bulletNode",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(N.prototype,"fireEffect",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=N))||F));n._RF.pop()}}})); System.register("chunks:///_virtual/Gun14.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./GunBase.ts","./Bullet14.ts","./Utils.ts","./AudioManager.ts","./Constants.ts"],(function(t){var i,e,s,o,n,r,l,a,u,h,c,f,d,p,m,y;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,s=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){n=t.cclegacy,r=t._decorator,l=t.Node,a=t.Vec3,u=t.director},function(t){h=t.PoolManager},function(t){c=t.Game},function(t){f=t.GunBase},function(t){d=t.Bullet14},function(t){p=t.Utils},function(t){m=t.audioMgr},function(t){y=t.Constants}],execute:function(){var b,g,v,F,N,w,C;n._RF.push({},"0d7bfOMJexIJ7DSg3dmO0p5","Gun14",void 0);var z=r.ccclass,G=r.property;t("Gun14",(b=z("Gun14"),g=G({type:l,tooltip:"子弹节点"}),v=G({type:l,tooltip:"开火特效节点"}),b((w=i((N=function(t){function i(){for(var i,e=arguments.length,n=new Array(e),r=0;r=this.r_delay&&!this.isGo)return this.diff+=t,void(this.isGo=!0);this.curTime+=t}if(this.curTime>=e-this.r_delay)if(this.isFire)this.isFristShoot=!1,this.r_delay=p.getRandomFloat(.4,.8),this.diff=0,this.isGo=!1,m.playOneShot(y.audios.Tank_Attack,!1),this.createBullet(),this.curTime=0,this.isCb=!1;else if(!this.isFire&&!this.isCb)this.isFire=!1,null==(i=this.endCb)||i.call(this,this.data.type),this.isCb=!0}},n.getNextAllow=function(){var t=c.I.player;return!(!t||t.isDead||!this.isFire||c.I.isPause||c.I.isGameOver)},n.recycle=function(){this.smokes.forEach((function(t){t&&t.parent&&h.putNode(t)})),this.smokes=[]},i}(f)).prototype,"bulletNode",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(N.prototype,"fireEffect",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=N))||F));n._RF.pop()}}})); System.register("chunks:///_virtual/Gun2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./UIManager.ts","./Constants.ts","./Bullet2.ts","./GunBase.ts","./AudioManager.ts"],(function(t){var e,i,o,n,s,r,a,l,u,c,h,d,f,p,m,g,v;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,o=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){s=t.cclegacy,r=t._decorator,a=t.Node,l=t.tween,u=t.director,c=t.Vec3},function(t){h=t.PoolManager},function(t){d=t.Game},function(t){f=t.uiMgr},function(t){p=t.Constants},function(t){m=t.Bullet2},function(t){g=t.GunBase},function(t){v=t.audioMgr}],execute:function(){var y,b,P,B,z,I,N;s._RF.push({},"ee60532jRJA+Yb0xK9EBiXK","Gun2",void 0);var w=r.ccclass,M=r.property;t("Gun2",(y=w("Gun2"),b=M({type:a,tooltip:"子弹节点"}),P=M({type:a,tooltip:"开火特效节点"}),y((I=e((z=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),r=0;r=this.data.magazine&&(this.shotBullets=0,null==(t=this.ammoCb)||t.call(this,this.data)))},s.getBulleNode=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=null);var i=h.getNode(this.bulletNode,u.getScene()),o=i.getComponent(m);o.init(this),i.worldPosition=this.muzzleNode.worldPosition.clone();var n,s=f.getPageComponent(p.popUIs.gunfightShootUI),r=e?e.worldPosition:s.getCrossHairPos(),a=c.subtract(new c,r,this.muzzleNode.worldPosition).normalize();if(t)n=a;else{var l=5*(Math.random()-.5)*Math.PI/180,d=5*(Math.random()-.5)*Math.PI/180;n=new c(a.x+l,a.y+d,a.z).normalize()}return i.forward=n,o.setBulletVector(n),o},s.update=function(t){var e=d.I.player;!e||e.isDead||!this.isFire||d.I.isPause||d.I.isGameOver||d.I.player.isReloadMagazine||(d.I.player.shootUI.isScopeOpen?(this.curTime+=t,this.curTime>=.2&&(this.createBullet(),this.curTime=0)):this.endFire())},s.recycle=function(){this.smokes.forEach((function(t){t&&t.parent&&h.putNode(t)})),this.smokes=[]},e}(g)).prototype,"bulletNode",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(z.prototype,"fireEffect",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=z))||B));s._RF.pop()}}})); System.register("chunks:///_virtual/Gun3.ts",["./rollupPluginModLoBabelHelpers.js","cc","./PoolManager.ts","./Game.ts","./UIManager.ts","./Constants.ts","./Bullet3.ts","./GunBase.ts","./AudioManager.ts"],(function(t){var e,i,o,n,s,r,a,l,u,h,c,d,f,p,m,g,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,o=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){s=t.cclegacy,r=t._decorator,a=t.Node,l=t.tween,u=t.director,h=t.Vec3},function(t){c=t.PoolManager},function(t){d=t.Game},function(t){f=t.uiMgr},function(t){p=t.Constants},function(t){m=t.Bullet3},function(t){g=t.GunBase},function(t){b=t.audioMgr}],execute:function(){var y,v,P,I,B,C,z;s._RF.push({},"78968+ieCBBYogdwotoc6ol","Gun3",void 0);var F=r.ccclass,w=r.property;t("Gun3",(y=F("Gun3"),v=w({type:a,tooltip:"子弹节点"}),P=w({type:a,tooltip:"开火特效节点"}),y((C=e((B=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),r=0;r=this.data.magazine&&(this.shotBullets=0,null==(t=this.ammoCb)||t.call(this,this.data)))},s.getBulleNode=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=null);var i=c.getNode(this.bulletNode,u.getScene()),o=i.getComponent(m);o.init(this),i.worldPosition=this.muzzleNode.worldPosition.clone();var n,s=f.getPageComponent(p.popUIs.gunfightShootUI),r=e?e.worldPosition:s.getCrossHairPos(),a=h.subtract(new h,r,this.muzzleNode.worldPosition).normalize();if(t)n=a;else{var l=5*(Math.random()-.5)*Math.PI/180,d=5*(Math.random()-.5)*Math.PI/180;n=new h(a.x+l,a.y+d,a.z).normalize()}return i.forward=n,o.setBulletVector(n),o},s.update=function(t){var e=d.I.player;!e||e.isDead||!this.isFire||d.I.isPause||d.I.isGameOver||d.I.player.isReloadMagazine||(this.curTime+=t,this.curTime>=.22&&(this.burstFireCount--,this.createBullet(),this.curTime=0,this.burstFireCount<=0&&(this.burstFireCount=3,this.endFire(),this.scheduleOnce((function(){d.I.player.shootUI.isScopeOpen=!1}),.5))))},s.recycle=function(){this.smokes.forEach((function(t){t&&t.parent&&c.putNode(t)})),this.smokes=[]},e}(g)).prototype,"bulletNode",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(B.prototype,"fireEffect",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=B))||I));s._RF.pop()}}})); System.register("chunks:///_virtual/GunAttrItem.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ListItem.ts","./ResUtil.ts"],(function(t){var e,r,a,i,l,n,o,s,u,p,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,a=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){l=t.cclegacy,n=t._decorator,o=t.Sprite,s=t.ProgressBar,u=t.Label},function(t){p=t.default},function(t){c=t.ResUtil}],execute:function(){var b,_,g,f,y,h,m,d,v,w,z;l._RF.push({},"2de32DH/ZFOOK0Lwiy3r4Yj","GunAttrItem",void 0);var I=n.ccclass,A=n.property;t("GunAttrItem",(b=I("GunAttrItem"),_=A({type:o,tooltip:"枪的属性图片"}),g=A({type:s,tooltip:"属性值的最大进度"}),f=A({type:u,tooltip:"属性值的数据文本"}),y=A({type:u,tooltip:"枪的属性多语言名字"}),b((d=e((m=function(t){function e(){for(var e,r=arguments.length,l=new Array(r),n=0;n1;this.cut_gun_btn.active=e,this.cut_video.active=e,R.data.cutNum>0?(this.cut_num_label.string="x"+R.data.cutNum,this.cut_video.active=!1):(this.cut_num_label.string="lack",this.cut_video.active=!0)},r.loadTaskData=function(){var e=R.getCurLevelData();this.gk_num_lable.string=N("main.关卡任务 %{value}",{value:e.id}),this.taskDatas=w.I.buildEnemys.enemyTypeRecords,this.task_scrollView.numItems=this.taskDatas.length,this.gunDataUI()},r.setTaskItemData=function(e,t){e.getComponent(O).init(this.taskDatas[t])},r.gunDataUI=function(){var e=w.I.player.pData;if(!w.I.isGameOver&&!w.I.isPause&&w.I.player.gun&&e){this.crossHair.active=!0;var t=this.weaponCategoryGun()==H.weaponCategory.rifle;this.scopeOverlay.active=!t,this.gun_name_label.string=e.name_lang;var i=1==e.type;if(w.I.player.isReloadMagazine)this.rifle_bullets_bg.active=!1,this.snipe_bullets_scrollView.node.active=!1;else if(this.rifle_bullets_bg.active=!i,this.snipe_bullets_scrollView.node.active=i,i)this.snipe_bullets_scrollView.magazineNum=e.magazine;else{this.rifle_bullets_scrollView.magazineNum=e.magazine;var o=e.magazine-w.I.player.gun.shotBullets;this.rifle_bullet_progressBar.progress=o/e.magazine,this.rifle_bullet_num_label.string=o+"/"+e.magazine}}},r.reloadMagazineing=function(e,t){var i=this;e<=0?null==t||t():(this.reloadProgressBar.node.active=!0,this.reloadProgressBar.progress=1,this.rifle_bullets_bg.active=!1,this.snipe_bullets_scrollView.node.active=!1,y(this.reloadProgressBar).to(e,{progress:0},{easing:d.linear,onStart:function(){y(i.reloadProgressBar).stop()},onComplete:function(){i.reloadProgressBar.node.active=!1,null==t||t()}}).start())},r.crossHairStability=function(){var e=this,t=w.I.player.pData;if(t){this.gunDataUI(),this.wheel.position=this.wheelPos;var i=R.getGunMaxValue(t,S.stability).totalValue,o=Math.max(0,1-t.stability/i),a=5+20*o,n=.6-.3*(1-o),r=0,s=function t(i){r+=i;var o=a*(Math.random()-.5)*Math.max(1-r/n,0),s=a*(Math.random()-.5)*Math.max(1-r/n,0);e.wheel.position=new g(e.wheelPos.x+o,e.wheelPos.y+s,e.wheelPos.z),r>=n&&(e.wheel.position=e.wheelPos,e.unschedule(t))};this.unschedule(s),this.schedule(s,.02)}},r.onNodeTouchMove=function(e){var t=e.getDelta(),i=this._isScopeOpen?.2:.6;this.currentYRotation-=t.x*B.data.sensitivity*i,this.currentXRotation-=t.y*B.data.sensitivity*i,this.currentYRotation=ze(this.currentYRotation,-this.maxHorizontalAngle,this.maxHorizontalAngle),this.currentXRotation=ze(this.currentXRotation,-this.maxVerticalAngle,this.maxVerticalAngle);var o=new h;h.fromEuler(o,0,this.currentYRotation,0);var a=new h;h.fromEuler(a,+this.currentXRotation,0,0);var n=new h;h.multiply(n,o,a),h.multiply(n,this.initialPlayerRotation,n),w.I.player.node.rotation=n},r.onCustomNodeTouchEnd=function(){},r.onWheelClick=function(){this.isScopeOpen=!0},r.onWheelRelease=function(){var e=this;if(!w.I.player.isReloadMagazine)if(this.zoomValid)switch(this.weaponCategoryGun()){case H.weaponCategory.sniper:w.I.player.shoot(),this.scheduleOnce((function(){e.isScopeOpen=!1}),.5);break;case H.weaponCategory.dmr:w.I.player.shoot();break;case H.weaponCategory.rifle:this.isScopeOpen=!1}else this.isScopeOpen=!1},r.openScope=function(){var e=w.I.player.pData;if(e&&!w.I.player.isReloadMagazine){var t=this.weaponCategoryGun()==H.weaponCategory.rifle;switch(this.weaponCategoryGun()){case H.weaponCategory.sniper:case H.weaponCategory.dmr:break;case H.weaponCategory.rifle:w.I.player.shoot()}this.isZoomingIn=!0,this.zoomDuration=72/e.zoomingSpeed;var i=t?1/e.rifleZoom:1/e.scopeZoom;this.targetFov=this.originalFov*i;var o=this.originalFov-this.targetFov;this.zoomSpeed=o/this.zoomDuration,this.zoomStartTime=f.now()}},r.closeScope=function(){this.isZoomingIn=!1,this.isZoomingOut=!0;var e=this.originalFov-this.targetFov;this.zoomSpeed=e/this.zoomDuration},r.weaponCategoryGun=function(){var e=w.I.player.pData;return e?e.id==H.palyerWeaponType.akm||e.id==H.palyerWeaponType.m416?H.weaponCategory.rifle:e.id==H.palyerWeaponType.vss||e.id==H.palyerWeaponType.sks?H.weaponCategory.dmr:H.weaponCategory.sniper:H.weaponCategory.sniper},r.getCrossHairPos=function(){var e=this.getScreenCenterPos(),t=new b.Ray;w.I.camera.screenPointToRay(e.x,e.y,t);var i=w.I.player.gun.muzzleNode.worldPosition;return new g(i.x+t.d.x*this.bulletDistance,i.y+t.d.y*this.bulletDistance,i.z+t.d.z*this.bulletDistance)},r.getScreenCenterPos=function(){var e=this.crossHair.worldPosition.clone();return w.I.canvas.getChildByName("Camera2D").getComponent(m).worldToScreen(e)},r.playerHurtTwinkle=function(e){var t=this;this.hpProgressBar.progress=e;var i=e<=.3,o=this.injury_blood.getComponent(v);if(!i&&this.isHurtRun)return this.isHurtRun=!1,_.stopAllByTarget(o),void(this.injury_blood.active=!1);i&&!this.isHurtRun?(this.isHurtRun=!0,this.injury_blood.active=!0,o.opacity=255,y(o).to(.5,{opacity:0},{easing:d.linear}).to(.5,{opacity:255},{easing:d.linear}).repeatForever().start()):i||(this.injury_blood.active=!0,_.stopAllByTarget(o),o.opacity=255,y(o).to(.4,{opacity:0},{easing:d.linear}).call((function(){t.injury_blood.active=!1})).start())},r.onBtnClicked=function(t,i){var o=this;e.prototype.onBtnClicked.call(this,t,i);var a=t.target.name;if("pause_btn"===a)T.show(I.popUIs.pauseUI);else if("shot_btn"===a){switch(this.weaponCategoryGun()){case H.weaponCategory.sniper:w.I.player.shoot();break;case H.weaponCategory.rifle:this._isScopeOpen=!0,w.I.player.shoot(),this.scheduleOnce((function(){o._isScopeOpen=!1}),1.5);break;case H.weaponCategory.dmr:w.I.player.shoot()}}else if("cut_gun_btn"===a){if(R.data.guns.length<=1)return void D.show("Go unlock more guns");if(w.I.player.isReloadMagazine)return void D.show("Loading ammo...");R.data.cutNum>0?w.I.player.randomCutGun():E.platform.showRewardVideo((function(e){e&&(R.data.cutNum+=5,o.cut_num_label.string="x"+R.data.cutNum,o.cut_video.active=!1)}))}else"clean_btn"===a?(R.removeData(),w.I.player.pData=R.getCurUseGun(),D.show("重新加载数据完成")):"unlock_btn"===a&&(R.unlockAllGuns(),D.show("已经解锁全部枪数据"))},r.update=function(e){if(this.isZoomingIn){var t=w.I.camera.fov;if(t>this.targetFov){var i=t-this.zoomSpeed*e;w.I.camera.fov=Math.max(i,this.targetFov)}else{(f.now()-this.zoomStartTime)/1e3<=1.5&&(this.zoomValid=!0),this.isZoomingIn=!1}}else if(this.isZoomingOut){var o=w.I.camera.fov;if(ozt.NONE}}),q=ft({tooltip:z,visible:function(){return this.selectedMode==zt.SINGLE}}),J=ft({serializable:!1}),gt(K=b(K=E(K=P(K=L(($=e((Q=function(t){function e(){for(var e,i=arguments.length,n=new Array(i),a=0;a0)this.frameCount--;else if(this.frameCount=this._updateRate,!this._aniDelRuning){if(this.cyclic){var e=this.content.getPosition();e=this._sizeType?e.y:e.x;var i=this._allItemSizeNoEdge+(this._sizeType?this._lineGap:this._columnGap),s=this._sizeType?new I(0,i,0):new I(i,0,0),o=this.content.getPosition();switch(this._alignCalcType){case 1:e>-this._cyclicPos1?(o.set(-this._cyclicPos2,o.y,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.subtract(s))):e<-this._cyclicPos2&&(o.set(-this._cyclicPos1,o.y,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.add(s)));break;case 2:ethis._cyclicPos2&&(o.set(this._cyclicPos1,o.y,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.subtract(s)));break;case 3:ethis._cyclicPos2&&(o.set(o.x,this._cyclicPos1,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.subtract(s)));break;case 4:e>-this._cyclicPos1?(o.set(o.x,-this._cyclicPos2,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.subtract(s))):e<-this._cyclicPos2&&(o.set(o.x,-this._cyclicPos1,o.z),this.content.setPosition(o),this._scrollView.isAutoScrolling()&&(this._scrollView._autoScrollStartPosition=this._scrollView._autoScrollStartPosition.add(s)))}}var n,a,l,r;if(this._calcViewPos(),this._sizeType?(n=this.viewTop,l=this.viewBottom):(a=this.viewRight,r=this.viewLeft),this._virtual){var c;this.displayData=[];var h=0,_=this._numItems-1;if(this._customSize)for(var d=!1;h<=_&&!d;h++)switch(c=this._calcItemPos(h),this._align){case v.Type.HORIZONTAL:c.right>=r&&c.left<=a?this.displayData.push(c):0!=h&&this.displayData.length>0&&(d=!0);break;case v.Type.VERTICAL:c.bottom<=n&&c.top>=l?this.displayData.push(c):0!=h&&this.displayData.length>0&&(d=!0);break;case v.Type.GRID:switch(this._startAxis){case v.AxisDirection.HORIZONTAL:c.bottom<=n&&c.top>=l?this.displayData.push(c):0!=h&&this.displayData.length>0&&(d=!0);break;case v.AxisDirection.VERTICAL:c.right>=r&&c.left<=a?this.displayData.push(c):0!=h&&this.displayData.length>0&&(d=!0)}}else{var u=this._itemSize.width+this._columnGap,m=this._itemSize.height+this._lineGap;switch(this._alignCalcType){case 1:h=(r-this._leftGap)/u,_=(a-this._leftGap)/u;break;case 2:h=(-a-this._rightGap)/u,_=(-r-this._rightGap)/u;break;case 3:h=(-n-this._topGap)/m,_=(-l-this._topGap)/m;break;case 4:h=(l-this._bottomGap)/m,_=(n-this._bottomGap)/m}for(h=Math.floor(h)*this._colLineNum,_=Math.ceil(_)*this._colLineNum,h<0&&(h=0),--_>=this._numItems&&(_=this._numItems-1);h<=_;h++)this.displayData.push(this._calcItemPos(h))}if(this._delRedundantItem(),this.displayData.length<=0||!this._numItems)return void(this._lastDisplayData=[]);this.firstListId=this.displayData[0].id,this.displayItemNum=this.displayData.length;var p=this._lastDisplayData.length,g=this.displayItemNum!=p;if(g&&(this.frameByFrameRenderNum>0&&this._lastDisplayData.sort((function(t,e){return t-e})),g=this.firstListId!=this._lastDisplayData[0]||this.displayData[this.displayItemNum-1].id!=this._lastDisplayData[p-1]),this._forceUpdate||g)if(this.frameByFrameRenderNum>0)this._numItems>0?(this._updateDone?this._updateCounter=0:this._doneAfterUpdate=!0,this._updateDone=!1):(this._updateCounter=0,this._updateDone=!0);else{this._lastDisplayData=[];for(var f=0;f0?t.x:0,this.viewLeft=(t.x<0?-t.x:0)-this.elasticLeft,this.viewRight=this.viewLeft+this._thisNodeUt.width,this.elasticRight=this.viewRight>this._contentUt.width?Math.abs(this.viewRight-this._contentUt.width):0,this.viewRight+=this.elasticRight;break;case 2:this.elasticRight=t.x<0?-t.x:0,this.viewRight=(t.x>0?-t.x:0)+this.elasticRight,this.viewLeft=this.viewRight-this._thisNodeUt.width,this.elasticLeft=this.viewLeft<-this._contentUt.width?Math.abs(this.viewLeft+this._contentUt.width):0,this.viewLeft-=this.elasticLeft;break;case 3:this.elasticTop=t.y<0?Math.abs(t.y):0,this.viewTop=(t.y>0?-t.y:0)+this.elasticTop,this.viewBottom=this.viewTop-this._thisNodeUt.height,this.elasticBottom=this.viewBottom<-this._contentUt.height?Math.abs(this.viewBottom+this._contentUt.height):0,this.viewBottom+=this.elasticBottom;break;case 4:this.elasticBottom=t.y>0?Math.abs(t.y):0,this.viewBottom=(t.y<0?-t.y:0)-this.elasticBottom,this.viewTop=this.viewBottom+this._thisNodeUt.height,this.elasticTop=this.viewTop>this._contentUt.height?Math.abs(this.viewTop-this._contentUt.height):0,this.viewTop-=this.elasticTop}},a._calcItemPos=function(t){var e,i,s,o,n,a,l,r;switch(this._align){case v.Type.HORIZONTAL:switch(this._horizontalDir){case v.HorizontalDirection.LEFT_TO_RIGHT:if(this._customSize){var c=this._getFixedSize(t);n=this._leftGap+(this._itemSize.width+this._columnGap)*(t-c.count)+(c.val+this._columnGap*c.count);var h=this._customSize[t];e=h>0?h:this._itemSize.width}else n=this._leftGap+(this._itemSize.width+this._columnGap)*t,e=this._itemSize.width;if(this.lackCenter)n-=this._leftGap,n+=this._contentUt.width/2-this._allItemSizeNoEdge/2;return{id:t,left:n,right:a=n+e,x:n+this._itemTmpUt.anchorX*e,y:this._itemTmp.y};case v.HorizontalDirection.RIGHT_TO_LEFT:if(this._customSize){var _=this._getFixedSize(t);a=-this._rightGap-(this._itemSize.width+this._columnGap)*(t-_.count)-(_.val+this._columnGap*_.count);var d=this._customSize[t];e=d>0?d:this._itemSize.width}else a=-this._rightGap-(this._itemSize.width+this._columnGap)*t,e=this._itemSize.width;if(this.lackCenter)a+=this._rightGap,a-=this._contentUt.width/2-this._allItemSizeNoEdge/2;return{id:t,right:a,left:n=a-e,x:n+this._itemTmpUt.anchorX*e,y:this._itemTmp.y}}break;case v.Type.VERTICAL:switch(this._verticalDir){case v.VerticalDirection.TOP_TO_BOTTOM:if(this._customSize){var u=this._getFixedSize(t);s=-this._topGap-(this._itemSize.height+this._lineGap)*(t-u.count)-(u.val+this._lineGap*u.count);var m=this._customSize[t];i=m>0?m:this._itemSize.height}else s=-this._topGap-(this._itemSize.height+this._lineGap)*t,i=this._itemSize.height;if(this.lackCenter)s+=this._topGap,s-=this._contentUt.height/2-this._allItemSizeNoEdge/2;return{id:t,top:s,bottom:o=s-i,x:this._itemTmp.x,y:o+this._itemTmpUt.anchorY*i};case v.VerticalDirection.BOTTOM_TO_TOP:if(this._customSize){var p=this._getFixedSize(t);o=this._bottomGap+(this._itemSize.height+this._lineGap)*(t-p.count)+(p.val+this._lineGap*p.count);var g=this._customSize[t];i=g>0?g:this._itemSize.height}else o=this._bottomGap+(this._itemSize.height+this._lineGap)*t,i=this._itemSize.height;if(this.lackCenter)o-=this._bottomGap,o+=this._contentUt.height/2-this._allItemSizeNoEdge/2;return{id:t,top:s=o+i,bottom:o,x:this._itemTmp.x,y:o-this._itemTmpUt.anchorY*i}}case v.Type.GRID:var f=Math.floor(t/this._colLineNum);switch(this._startAxis){case v.AxisDirection.HORIZONTAL:switch(this._verticalDir){case v.VerticalDirection.TOP_TO_BOTTOM:r=(o=(s=-this._topGap-(this._itemSize.height+this._lineGap)*f)-this._itemSize.height)+this._itemTmpUt.anchorY*this._itemSize.height;break;case v.VerticalDirection.BOTTOM_TO_TOP:s=(o=this._bottomGap+(this._itemSize.height+this._lineGap)*f)+this._itemSize.height,r=o+this._itemTmpUt.anchorY*this._itemSize.height}switch(l=this._leftGap+t%this._colLineNum*(this._itemSize.width+this._columnGap),this._horizontalDir){case v.HorizontalDirection.LEFT_TO_RIGHT:l+=this._itemTmpUt.anchorX*this._itemSize.width,l-=this._contentUt.anchorX*this._contentUt.width;break;case v.HorizontalDirection.RIGHT_TO_LEFT:l+=(1-this._itemTmpUt.anchorX)*this._itemSize.width,l-=(1-this._contentUt.anchorX)*this._contentUt.width,l*=-1}return{id:t,top:s,bottom:o,x:l,y:r};case v.AxisDirection.VERTICAL:switch(this._horizontalDir){case v.HorizontalDirection.LEFT_TO_RIGHT:a=(n=this._leftGap+(this._itemSize.width+this._columnGap)*f)+this._itemSize.width,l=n+this._itemTmpUt.anchorX*this._itemSize.width,l-=this._contentUt.anchorX*this._contentUt.width;break;case v.HorizontalDirection.RIGHT_TO_LEFT:l=(n=(a=-this._rightGap-(this._itemSize.width+this._columnGap)*f)-this._itemSize.width)+this._itemTmpUt.anchorX*this._itemSize.width,l+=(1-this._contentUt.anchorX)*this._contentUt.width}switch(r=-this._topGap-t%this._colLineNum*(this._itemSize.height+this._lineGap),this._verticalDir){case v.VerticalDirection.TOP_TO_BOTTOM:r-=(1-this._itemTmpUt.anchorY)*this._itemSize.height,r+=(1-this._contentUt.anchorY)*this._contentUt.height;break;case v.VerticalDirection.BOTTOM_TO_TOP:r-=this._itemTmpUt.anchorY*this._itemSize.height,r+=this._contentUt.anchorY*this._contentUt.height,r*=-1}return{id:t,left:n,right:a,x:l,y:r}}}},a._calcExistItemPos=function(t){var e=this.getItemByListId(t);if(!e)return null;var i=e.getComponent(f),s=e.getPosition(),o={id:t,x:s.x,y:s.y};return this._sizeType?(o.top=s.y+i.height*(1-i.anchorY),o.bottom=s.y-i.height*i.anchorY):(o.left=s.x-i.width*i.anchorX,o.right=s.x+i.width*(1-i.anchorX)),o},a.getItemPos=function(t){return this._virtual||this.frameByFrameRenderNum?this._calcItemPos(t):this._calcExistItemPos(t)},a._getFixedSize=function(t){if(!this._customSize)return null;null==t&&(t=this._numItems);var e=0,i=0;for(var s in this._customSize)parseInt(s)0||t.elasticRight>0||t.elasticBottom>0||t.elasticLeft>0)){var e=t._sizeType?t.viewTop:t.viewLeft,i=(t._sizeType?t._thisNodeUt.height:t._thisNodeUt.width)*t.pageDistance;if(Math.abs(t._beganPos-e)>i){var s=.5;switch(t._alignCalcType){case 1:case 4:t._beganPos>e?t.prePage(s):t.nextPage(s);break;case 2:case 3:t._beganPos0||t.elasticRight>0||t.elasticBottom>0||t.elasticLeft>0)){t.adhering=!0,t._calcNearestItem();var e=(t._sizeType?t._topGap:t._leftGap)/(t._sizeType?t._thisNodeUt.height:t._thisNodeUt.width);t.scrollTo(t.nearestListId,.7,e)}},a.update=function(){if(!(this.frameByFrameRenderNum<=0||this._updateDone))if(this._virtual){for(var t=this._updateCounter+this.frameByFrameRenderNum>this.displayItemNum?this.displayItemNum:this._updateCounter+this.frameByFrameRenderNum,e=this._updateCounter;e=this.displayItemNum-1?this._doneAfterUpdate?(this._updateCounter=0,this._updateDone=!1,this._doneAfterUpdate=!1):(this._updateDone=!0,this._delRedundantItem(),this._forceUpdate=!1,this._calcNearestItem(),this.slideMode==wt.PAGE&&(this.curPageNum=this.nearestListId)):this._updateCounter+=this.frameByFrameRenderNum}else if(this._updateCounterthis._numItems?this._numItems:this._updateCounter+this.frameByFrameRenderNum,o=this._updateCounter;ozt.NONE){var e=t.node;switch(this.selectedMode){case zt.SINGLE:t.selected=this.selectedId==e._listId;break;case zt.MULT:t.selected=this.multSelected.indexOf(e._listId)>=0}}},a._resetItemSize=function(t){},a._updateItemPos=function(t){var e=isNaN(t)?t:this.getItemByListId(t),i=this.getItemPos(e._listId);e.setPosition(i.x,i.y)},a.setMultSelected=function(t,e){var i=this;if(i.checkInited()){var s,o;if(Array.isArray(t)||(t=[t]),null==e)i.multSelected=t;else if(e)for(var n=t.length-1;n>=0;n--)s=t[n],(o=i.multSelected.indexOf(s))<0&&i.multSelected.push(s);else for(var a=t.length-1;a>=0;a--)s=t[a],(o=i.multSelected.indexOf(s))>=0&&i.multSelected.splice(o,1);i._forceUpdate=!0,i._onScrolling()}},a.getMultSelected=function(){return this.multSelected},a.hasMultSelected=function(t){return this.multSelected&&this.multSelected.indexOf(t)>=0},a.updateItem=function(t){if(this.checkInited()){Array.isArray(t)||(t=[t]);for(var e=0,i=t.length;e=0;e--){var i=this.content.children[e];if(i._listId==t)return i}},a._getOutsideItem=function(){for(var t,e=[],i=this.content.children.length-1;i>=0;i--)t=this.content.children[i],this.displayData.find((function(e){return e.id==t._listId}))||e.push(t);return e},a._delRedundantItem=function(){if(this._virtual)for(var t=this._getOutsideItem(),e=t.length-1;e>=0;e--){var i=t[e];if(!this._scrollItem||i._listId!=this._scrollItem._listId){i.isCached=!0,D.putNode(i);for(var s=this._lastDisplayData.length-1;s>=0;s--)if(this._lastDisplayData[s]==i._listId){this._lastDisplayData.splice(s,1);break}}}else for(;this.content.children.length>this._numItems;)this._delSingleItem(this.content.children[this.content.children.length-1])},a._delSingleItem=function(t){t.removeFromParent(),t.destroy&&t.destroy(),t=null},a.aniDelItem=function(t,e,i){var s=this;if(!s.checkInited()||s.cyclic||!s._virtual)return console.error("This function is not allowed to be called!");if(!e)return console.error("CallFunc are not allowed to be NULL, You need to delete the corresponding index in the data array in the CallFunc!");if(s._aniDelRuning)return console.warn("Please wait for the current deletion to finish!");var o,n=s.getItemByListId(t);if(n){o=n.getComponent(N),s._aniDelRuning=!0,s._aniDelCB=e,s._aniDelItem=n,s._aniDelBeforePos=n.position,s._aniDelBeforeScale=n.scale;var a=s.displayData[s.displayData.length-1].id,l=o.selected;o.showAni(i,(function(){var i;if(a=0&&s._selectedId--;else if(s.selectedMode==zt.MULT&&s.multSelected.length){var r=s.multSelected.indexOf(t);r>=0&&s.multSelected.splice(r,1);for(var c=s.multSelected.length-1;c>=0;c--){s.multSelected[c]>=t&&s.multSelected[c]--}}if(s._customSize){s._customSize[t]&&delete s._customSize[t];var h,_={};for(var d in s._customSize){h=s._customSize[d];var u=parseInt(d);_[u-(u>=t?1:0)]=h}s._customSize=_}for(var m,p,g=null!=i?i:a;g>=t+1;g--)if(n=s.getItemByListId(g)){var f=s._calcItemPos(g-1);m=S(n).to(.2333,{position:new I(f.x,f.y,0)}),g<=t+1&&(p=!0,m.call((function(){s._aniDelRuning=!1,e(t),delete s._aniDelCB}))),m.start()}p||(s._aniDelRuning=!1,e(t),s._aniDelCB=null)}),!0)}else e(t)},a.scrollTo=function(t,e,i,s){void 0===e&&(e=.5),void 0===i&&(i=null),void 0===s&&(s=!1);var o=this;if(o.checkInited(!1)){null==e?e=.5:e<0&&(e=0),t<0?t=0:t>=o._numItems&&(t=o._numItems-1),!o._virtual&&o._layout&&o._layout.enabled&&o._layout.updateLayout();var n,a,l=o.getItemPos(t);if(!l)return z;switch(o._alignCalcType){case 1:n=l.left,n-=null!=i?o._thisNodeUt.width*i:o._leftGap,l=new I(n,0,0);break;case 2:n=l.right-o._thisNodeUt.width,n+=null!=i?o._thisNodeUt.width*i:o._rightGap,l=new I(n+o._contentUt.width,0,0);break;case 3:a=l.top,a+=null!=i?o._thisNodeUt.height*i:o._topGap,l=new I(0,-a,0);break;case 4:a=l.bottom+o._thisNodeUt.height,a-=null!=i?o._thisNodeUt.height*i:o._bottomGap,l=new I(0,-a+o._contentUt.height,0)}var r=o.content.getPosition();r=Math.abs(o._sizeType?r.y:r.x);var c=o._sizeType?l.y:l.x;Math.abs((null!=o._scrollPos?o._scrollPos:r)-c)>.5&&(o._scrollView.scrollToOffset(l,e),o._scrollToListId=t,o._scrollToEndTime=(new Date).getTime()/1e3+e,o._scrollToSo=o.scheduleOnce((function(){if(o._adheringBarrier||(o.adhering=o._adheringBarrier=!1),o._scrollPos=o._scrollToListId=o._scrollToEndTime=o._scrollToSo=null,s){var e=o.getItemByListId(t);e&&S(e).to(.1,{scale:1.05}).to(.1,{scale:1}).start()}}),e+.1),e<=0&&o._onScrolling())}},a._calcNearestItem=function(){var t,e,i,s,o,n,a=this;a.nearestListId=null,a._virtual&&a._calcViewPos(),i=a.viewTop,s=a.viewRight,o=a.viewBottom,n=a.viewLeft;for(var l=!1,r=0;r=n&&(a.nearestListId=t.id,n>e&&(a.nearestListId+=a._colLineNum),l=!0);break;case 2:t.left<=s&&(a.nearestListId=t.id,s=o&&(a.nearestListId=t.id,o>e&&(a.nearestListId+=a._colLineNum),l=!0)}if((t=a._virtual?a.displayData[a.displayItemNum-1]:a._calcExistItemPos(a._numItems-1))&&t.id==a._numItems-1)switch(e=a._sizeType?(t.top+t.bottom)/2:e=(t.left+t.right)/2,a._alignCalcType){case 1:s>e&&(a.nearestListId=t.id);break;case 2:ne&&(a.nearestListId=t.id)}},a.prePage=function(t){void 0===t&&(t=.5),this.checkInited()&&this.skipPage(this.curPageNum-1,t)},a.nextPage=function(t){void 0===t&&(t=.5),this.checkInited()&&this.skipPage(this.curPageNum+1,t)},a.skipPage=function(t,e){var i=this;if(i.checkInited())return i._slideMode!=wt.PAGE?console.error("This function is not allowed to be called, Must SlideMode = PAGE!"):void(t<0||t>=i._numItems||i.curPageNum!=t&&(i.curPageNum=t,i.pageChangeEvent&&u.emitEvents([i.pageChangeEvent],t),i.scrollTo(t,e)))},a.calcCustomSize=function(t){var e=this;if(e.checkInited()){if(!e._itemTmp)return console.error("Unset template item!");if(!e.renderEvent)return console.error("Unset Render-Event!");e._customSize={};for(var i=D.getNode(e._itemTmp,e.content),s=i.getComponent(f),o=0;o=0&&t<=6&&(this._updateRate=t)}},{key:"selectedId",get:function(){return this._selectedId},set:function(t){var e,i=this;switch(i.selectedMode){case zt.SINGLE:if(!i.repeatEventSingle&&t==i._selectedId)return;if(e=i.getItemByListId(t),i._selectedId>=0?i._lastSelectedId=i._selectedId:i._lastSelectedId=null,i._selectedId=t,e&&(e.getComponent(N).selected=!0),i._lastSelectedId>=0&&i._lastSelectedId!=i._selectedId){var s=i.getItemByListId(i._lastSelectedId);s&&(s.getComponent(N).selected=!1)}i.selectedEvent&&u.emitEvents([i.selectedEvent],e,t%this._actualNumItems,null==i._lastSelectedId?null:i._lastSelectedId%this._actualNumItems);break;case zt.MULT:if(!(e=i.getItemByListId(t)))return;var o=e.getComponent(N);i._selectedId>=0&&(i._lastSelectedId=i._selectedId),i._selectedId=t;var n=!o.selected;o.selected=n;var a=i.multSelected.indexOf(t);n&&a<0?i.multSelected.push(t):!n&&a>=0&&i.multSelected.splice(a,1),i.selectedEvent&&u.emitEvents([i.selectedEvent],e,t%this._actualNumItems,null==i._lastSelectedId?null:i._lastSelectedId%this._actualNumItems,n)}}},{key:"numItems",get:function(){return this._actualNumItems},set:function(t){var e=this;if(e.checkInited(!1))if(null==t||t<0)console.error("numItems set the wrong::",t);else if(e._actualNumItems=e._numItems=t,e._forceUpdate=!0,e._virtual)e._resizeContent(),e.cyclic&&(e._numItems=e._cyclicNum*e._numItems),e._onScrolling(),e.frameByFrameRenderNum||e.slideMode!=wt.PAGE||(e.curPageNum=e.nearestListId);else{e.cyclic&&(e._resizeContent(),e._numItems=e._cyclicNum*e._numItems);var i=e.content.getComponent(v);if(i&&(i.enabled=!0),e._delRedundantItem(),e.firstListId=0,e.frameByFrameRenderNum>0){for(var s=e.frameByFrameRenderNum>e._numItems?e._numItems:e.frameByFrameRenderNum,o=0;oW.NONE}}),E=G({type:d,tooltip:b,visible:function(){return this.selectedMode==W.SWITCH}}),I=G({tooltip:b}),M(F=y(F=C(F=_((T=t((N=function(e){function t(){for(var t,i=arguments.length,s=new Array(i),r=0;r0&&this.btnCom.clickEvents.unshift(this.createEvt(this,"onClickThis")),this.adaptiveSize&&this.node.on(c.EventType.SIZE_CHANGED,this._onSizeChange,this),this._eventReg=!0)},r._onSizeChange=function(){this.list._onItemAdaptive(this.node)},r.createEvt=function(e,t,i){if(void 0===i&&(i=null),e.isValid){e.comName=e.comName||e.name.match(/\<(.*?)\>/g).pop().replace(/\<|>/g,"");var n=new p;return n.target=i||e.node,n.component=e.comName,n.handler=t,n}},r.showAni=function(e,t,i){var n,o=this,s=o.node.getComponent(h);switch(e){case 0:n=m(o.node).to(.2,{scale:new f(.7,.7)}).by(.3,{position:new f(0,2*s.height)});break;case 1:n=m(o.node).to(.2,{scale:new f(.7,.7)}).by(.3,{position:new f(2*s.width,0)});break;case 2:n=m(o.node).to(.2,{scale:new f(.7,.7)}).by(.3,{position:new f(0,-2*s.height)});break;case 3:n=m(o.node).to(.2,{scale:new f(.7,.7)}).by(.3,{position:new f(-2*s.width,0)});break;default:n=m(o.node).to(.3,{scale:new f(.1,.1)})}(t||i)&&n.call((function(){if(i){o.list._delSingleItem(o.node);for(var e=o.list.displayData.length-1;e>=0;e--)if(o.list.displayData[e].id==o.listId){o.list.displayData.splice(e,1);break}}t()})),n.start()},r.onClickThis=function(){this.list.selectedId=this.listId},s(t,[{key:"selected",get:function(){return this._selected},set:function(e){if(this._selected=e,this.selectedFlag)switch(this.selectedMode){case W.TOGGLE:this.selectedFlag.active=e;break;case W.SWITCH:var t=this.selectedFlag.getComponent(u);t&&(t.spriteFrame=e?this.selectedSpriteFrame:this._unselectedSpriteFrame)}}},{key:"btnCom",get:function(){return this._btnCom||(this._btnCom=this.node.getComponent(v)),this._btnCom}}]),t}(g)).prototype,"selectedMode",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return W.NONE}}),z=t(N.prototype,"selectedFlag",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(N.prototype,"selectedSpriteFrame",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(N.prototype,"adaptiveSize",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=N))||F)||F)||F)||F));r._RF.pop()}}})); System.register("chunks:///_virtual/LoadingUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Logger.ts"],(function(r){var e,t,s,n,i,a,o,u,c,p,g,h;return{setters:[function(r){e=r.applyDecoratedDescriptor,t=r.inheritsLoose,s=r.initializerDefineProperty,n=r.assertThisInitialized,i=r.asyncToGenerator,a=r.regeneratorRuntime},function(r){o=r.cclegacy,u=r._decorator,c=r.Label,p=r.Component,g=r.tween},function(r){h=r.Logger}],execute:function(){var l,d,f,_,b,k,L;o._RF.push({},"0b1a611XNpHVLjup75rkN0R","LoadingUI",void 0);var x=u.ccclass,P=u.property;r("LoadingUI",(l=x("LoadingUI"),d=P(c),f=P(c),l((k=e((b=function(r){function e(){for(var e,t=arguments.length,i=new Array(t),a=0;a2&&this.preIndexs.shift()},s(i,[{key:"tabBarIndex",get:function(){return this._tabBarIndex},set:function(t){this.cutTabBarIndex(null,t)}}]),i}(I)).prototype,"editBox",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(O.prototype,"gold_lable",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=i(O.prototype,"diamond_lable",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=i(O.prototype,"task_des_lable",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=i(O.prototype,"level_lable",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=i(O.prototype,"task_scrollView",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=i(O.prototype,"animPosArr",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),C=O))||C));o._RF.pop()}}})); System.register("chunks:///_virtual/ModelRotator.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,o,n,i,r,s,a,c,h,u,l,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,n=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){r=t.cclegacy,s=t._decorator,a=t.quat,c=t.Vec3,h=t.Node,u=t.tween,l=t.Tween,p=t.Component}],execute:function(){var d,g,v,T,_,f,y,R,E;r._RF.push({},"70003AYwQ5EK6B4bgpBRvvR","ModelRotator",void 0);var S=s.ccclass,b=s.property;t("ModelRotator",(d=S("ModelRotator"),g=b({tooltip:"初始旋转速度(度/秒)"}),v=b({tooltip:"触摸后的减速系数(0-1)"}),T=b({tooltip:"斜角旋转的X轴角度(度)"}),d((y=e((f=function(t){function e(){for(var e,o=arguments.length,r=new Array(o),s=0;s=o?(t.overflow=s.Overflow.RESIZE_HEIGHT,e.width=n.max_width-40,i.width=n.max_width,i.height=e.height+10):(t.overflow=s.Overflow.NONE,e.width=r,i.width=r+40,i.height=e.height+30)}},i._playAnimation=function(){var t=this;l.stopAllByTarget(this.node),this.node.setScale(h(0,0,0)),g(this.node).to(.1,{scale:h(1.1,1.1,1)}).to(.1,{scale:h(.9,.9,1)}).to(.1,{scale:h(1,1,1)}).delay(n.default_duration).by(.5,{position:h(0,100,0)}).call((function(){t.reset(),p.putNode(t.node)})).start()},i.reset=function(){var t=this.getMsgLable(),e=t.node.getComponent(a);return e.width=n.max_width-2*n.padding,e.height=50,t.overflow=s.Overflow.NONE,this.node.setScale(h(1,1,1)),t},n.show=function(t){if(t){var e=this.createMsgNode(),i=c("Canvas");if(i){e.active=!0,e.parent=i,e.setSiblingIndex(9999);var o=e.getComponent(n);o&&o.setMsg(t)}}},i.getMsgLable=function(){return this.node.getChildByName("label").getComponent(s)},n}(u)).node_name="MsgHints",v.default_duration=1.5,v.max_width=430,v.padding=15,m=v))||m);n._RF.pop()}}})); System.register("chunks:///_virtual/Nodes.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,i,o,r,_,s,a,d,u,c,f,l,h,p,m,v;return{setters:[function(t){e=t.createClass},function(t){n=t.cclegacy,i=t.game,o=t.director,r=t.Director,_=t.Node,s=t.Label,a=t.Sprite,d=t.UIOpacity,u=t.UITransform,c=t.Animation,f=t.EditBox,l=t.RichText,h=t.Layout,p=t.ProgressBar,m=t.Slider,v=t.Toggle}],execute:function(){n._RF.push({},"6ad1amQ7hpEvIsDrio8/oVQ","Nodes",void 0);var g=function(){function t(t){var e=this;this.label=void 0,this.sprite=void 0,this.ui_opacity=void 0,this.ui_transform=void 0,this.animation=void 0,this.edit_box=void 0,this.rich_text=void 0,this.layout=void 0,this.progress_bar=void 0,this.slider=void 0,this.toggle=void 0,this._node=void 0,this._order_n=0,this._node=t,this._node.components.forEach((function(t){t instanceof s?e.label=t:t instanceof a?e.sprite=t:t instanceof d?e.ui_opacity=t:t instanceof u?e.ui_transform=t:t instanceof c?e.animation=t:t instanceof f?e.edit_box=t:t instanceof l?e.rich_text=t:t instanceof h?e.layout=t:t instanceof p?e.progress_bar=t:t instanceof m?e.slider=t:t instanceof v&&(e.toggle=t)}))}return t.prototype._set_order_n=function(e){var n=this;if(this._order_n!==e&&this._node.isValid){var o=y(this._node.parent);if(o){this._order_n=e;var r=Date.now()-t._order_update_time_n;t._order_update_task_fs.push((function(){n._node.isValid&&o._node.isValid&&n._node.parent===o._node&&[].concat(o._node.children).sort((function(t,e){var n,i,o,r;return(null!=(n=null==(i=y(t,!1))?void 0:i._order_n)?n:0)-(null!=(o=null==(r=y(e,!1))?void 0:r._order_n)?o:0)})).forEach((function(t,e){t.setSiblingIndex(e)}))})),null===t.order_update_timer&&(null===t.order_update_timer&&r=this._targetValue&&(this._currentValue=this._targetValue,this._isAnimating=!1,this.unschedule(this.updateNumber)),this.updateDisplay())},a.updateDisplay=function(){this.string=Math.floor(this._currentValue).toString()},a.onDestroy=function(){this.unschedule(this.updateNumber)},u(e,[{key:"duration",get:function(){return this._duration},set:function(t){this._duration=o.clamp(t,.1,5)}}]),e}(l)).prototype,"_duration",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.5}}),e(_.prototype,"duration",[g],Object.getOwnPropertyDescriptor(_.prototype,"duration"),_.prototype),p=_))||p));a._RF.pop()}}})); System.register("chunks:///_virtual/ObtainUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseExp.ts","./AutoBind.ts","./UserData.ts","./Constants.ts","./UIManager.ts","./ResUtil.ts","./LanguageData.ts"],(function(t){var i,e,n,a,o,l,r,s,c,u,p,b,h,d,f,_,g,y,m;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,l=t._decorator,r=t.Node,s=t.Sprite,c=t.Label,u=t.Tween,p=t.tween,b=t.Vec3},function(t){h=t.BaseExp},function(t){d=t.autoBind},function(t){f=t.userIns},function(t){_=t.Constants},function(t){g=t.uiMgr},function(t){y=t.ResUtil},function(t){m=t.default}],execute:function(){var v,w,U,I,B,z,C,A,k,F,O,D,T,L,R,S,Z;o._RF.push({},"f34aaF0nZZBjK1olhfGubr9","ObtainUI",void 0);var x=l.ccclass;l.property,t("ObtainUI",(v=x("ObtainUI"),w=d({type:r,tooltip:"旋转光节点"}),U=d({type:s,tooltip:"获得的物品图片"}),I=d({type:s,tooltip:"获得的物品图片缩影"}),B=d({type:c,tooltip:"获得的物品的名字"}),z=d({type:c,tooltip:"描述文字"}),C=d({type:r,tooltip:"底部提交确认按钮"}),A=d({type:r,tooltip:"拥有状态"}),v((O=i((F=function(t){function i(){for(var i,e=arguments.length,o=new Array(e),l=0;l=1900?e._shareSuccessHandler&&e._shareSuccessHandler(!0):(i.showModal({title:"分享提示",content:"成功分享到群即可获得奖励",success:function(n){n.confirm?e.shareShowReward(e._shareSuccessHandler(!1)):n.cancel&&(e._shareSuccessHandler=null),e._shareModalIsActive=!1}}),e._shareModalIsActive=!0),e._onHideTime=1/0))})),this.__createVideoAd()},n.isCheckScene=function(e){void 0===e&&(e=null),i.checkScene({scene:"sidebar",success:function(n){e&&(n.isExist,e(!1))},fail:function(n){console.error("检查侧边栏支持失败",n),e&&e(!1)}})},n.openSideBar=function(e){void 0===e&&(e=null),i.navigateToScene({scene:"sidebar",success:function(){null==e||e("成功打开侧边栏",!0)},fail:function(n){null==e||e("打开侧边栏失败",!1)}})},n.isSupportDesk=function(){return!0},n.addDesk=function(e){i.addShortcut({success:function(){i.showToast({title:"创建桌面快捷方式成功"})},fail:function(e){i.showToast({title:"创建桌面快捷方式失败",err:e})}})},n.showToast=function(e){var n={title:"",icon:"none",duration:2e3};Object.assign(n,e),i.showToast(n)},n.shareAppMessage=function(e){void 0===e&&(e={}),i.shareAppMessage(e)},n.vibrateShort=function(e){void 0===e&&(e={}),i.vibrateShort(e)},n.vibrateLong=function(e){void 0===e&&(e={}),i.vibrateLong(e)},n.showCustomAd=function(e){},n.hideCustomAd=function(){},n.showSigleCustomAd=function(){},n.hideSigleCustomAd=function(){},n.shareShowReward=function(e){void 0===e&&(e=null),e&&(this._shareSuccessHandler=e),this._onHideTime=Date.now(),this.shareAppMessage({title:this._shareStr,query:"shareMsg=a=1"})},n.showRewardVideo=function(e){var n=this;void 0===e&&(e=null),this._rewardVideo?(this._videoSuccessHandler=e,this._rewardVideo.show().then((function(){console.log("视频播放成功")})).catch((function(i){n._rewardVideo.load().then((function(){n._rewardVideo.show().then((function(){console.log("视频重新加载,播放成功")}))})).catch((function(i){null==n._videoSuccessHandler||n._videoSuccessHandler(!1),n.shareShowReward(e),n._videoSuccessHandler=null}))}))):this.__turnVideoToShare(e)},n.showBannerAd=function(){var e=this;if(this._bannerAd){var n=i.getSystemInfoSync(),t=n.screenWidth,s=n.screenHeight;this._bannerAd.show().then((function(){e._bannerAd.style.left=(t-e._bannerAd.style.realWidth)/2,e._bannerAd.style.top=s-e._bannerAd.style.realHeight})).catch((function(e){console.log("banner广告显示出错",e)}))}},n.hideBannerAd=function(e){void 0===e&&(e=!1),this._bannerAd&&(this._bannerAd.hide(),e&&this.refreshBannerAd())},n.refreshBannerAd=function(){this._bannerAd&&(this._bannerAd.destroy(),this.__createBannerAd())},n.showInterstitialAd=function(e){if(void 0===e&&(e=!1),e){if(!this._interstitialAd)return;this._interstitialAd.show()}else{if(!this._interstitialAd)return;var n=Date.now();if(null==this._showInterstitialAdTime)return void(this._showInterstitialAdTime=n);n-this._showInterstitialAdTime>12e4&&(this._interstitialAd.show(),this._showInterstitialAdTime=n)}},n.exitGame=function(){wx.exitMiniProgram({})},n.__createVideoAd=function(){var e=this;this._rewardVideo=i.createRewardedVideoAd({adUnitId:t.video}),this._rewardVideo.onClose((function(n){n&&n.isEnded||void 0===n?null==e._videoSuccessHandler||e._videoSuccessHandler(!0):(e.showToast({title:"完整观看视频才有奖励哦"}),null==e._videoSuccessHandler||e._videoSuccessHandler(!1)),e._videoSuccessHandler=null})),this._rewardVideo.onError((function(n){null==e._videoSuccessHandler||e._videoSuccessHandler(!1),e.showToast({title:"暂时没有可观看的视频"}),e.shareShowReward(e._videoSuccessHandler),e._videoSuccessHandler=null}))},n.__createBannerAd=function(){var e=i.getSystemInfoSync(),n=e.screenWidth,s=e.screenHeight,o=.85*n,r=(n-o)/2;this._bannerAd=i.createBannerAd({adUnitId:t.banner,adIntervals:48,style:{left:r,top:s-70,width:o,height:70}}),this._bannerAd.onError((function(e){e.errCode})),this._bannerAd.onResize((function(){}))},n.__createInterstitialAd=function(){this._interstitialAd=i.createInterstitialAd({adUnitId:t.interstitial})},n.__turnVideoToShare=function(e){this.shareShowReward(e),this._videoSuccessHandler=null},e}()));n._RF.pop()}}})); System.register("chunks:///_virtual/PlatformWX.ts",["cc","./Adapter.ts","./Constants.ts"],(function(e){var t,s,i;return{setters:[function(e){t=e.cclegacy},function(e){s=e.Adapter},function(e){i=e.Constants}],execute:function(){t._RF.push({},"d1121qicJhCnZMiZ3CzCLbc","PlatformWX",void 0);var n={banner:"adunit-fa7b08ac6d8cf200",video:"adunit-29b5f0955ee77f59",interstitial:"adunit-a3615ebe31eba64a",multiGridCustom:"adunit-xxx",sigleGridCustom:"adunit-d4f43001efd879de"};e("default",new(function(){function e(){this._onHideTime=1/0,this._rewardVideo=void 0,this._bannerAd=void 0,this._interstitialAd=void 0,this._customAd=void 0,this._sigleCustomAd=void 0,this._shareSuccessHandler=null,this._videoSuccessHandler=null,this._customAdCloseHandler=null,this._showInterstitialAdTime=null,this._shareModalIsActive=!1,this._shareStr="东北F4来到美国西部拓荒时代,保卫城镇,完成自我救赎。"}var t=e.prototype;return t.initialize=function(){var e=this;console.log("初始化微信框架"),wx.showShareMenu({withShareTicket:!0,menus:["shareAppMessage","shareTimeline"],success:function(){},fail:function(){},complete:function(){}}),wx.onShareAppMessage(function(){wx.shareAppMessage({imageUrl:"share.jpg",title:this._shareStr,query:"shareMsg=a=1"})}.bind(this)),wx.onShow((function(t){null!=e._shareSuccessHandler&&(e._shareModalIsActive||(Date.now()-e._onHideTime>=1900?e._shareSuccessHandler&&e._shareSuccessHandler(!0):(wx.showModal({title:"分享提示",content:"成功分享到群即可获得奖励",success:function(t){t.confirm?e.shareShowReward(e._shareSuccessHandler(!1)):t.cancel&&(e._shareSuccessHandler=null),e._shareModalIsActive=!1}}),e._shareModalIsActive=!0),e._onHideTime=1/0))})),this.__createVideoAd()},t.showToast=function(e){var t={title:"",icon:"none",duration:2e3};Object.assign(t,e),wx.showToast(t)},t.shareAppMessage=function(e){void 0===e&&(e={}),wx.shareAppMessage(e)},t.vibrateShort=function(e){void 0===e&&(e={}),wx.vibrateShort(e)},t.vibrateLong=function(e){void 0===e&&(e={}),wx.vibrateLong(e)},t.isSupportDesk=function(){return!!wx.canAddToFavorites},t.addDesk=function(){wx.canAddToFavorites?wx.canAddToFavorites({success:function(e){e.canAdd?wx.addToFavorites({title:i.gameName,query:"",success:function(){this.showToast({title:"添加到桌面成功"})},fail:function(e){this.showToast({title:"添加到桌面失败",err:e})}}):this.showToast({title:"当前环境不支持添加到桌面"})},fail:function(e){this.showToast({title:"检查添加到桌面权限失败",err:e})}}):this.showToast({title:"当前环境不支持添加到桌面"})},t.shareShowReward=function(e){void 0===e&&(e=null),e&&(this._shareSuccessHandler=e),this._onHideTime=Date.now(),this.shareAppMessage({imageUrl:"share.jpg",title:this._shareStr,query:"shareMsg=a=1"})},t.showRewardVideo=function(e){var t=this;void 0===e&&(e=null),this._rewardVideo?(this._videoSuccessHandler=e,this._rewardVideo.show().then((function(){console.log("视频播放成功")})).catch((function(s){t._rewardVideo.load().then((function(){t._rewardVideo.show().then((function(){console.log("视频重新加载,播放成功")}))})).catch((function(s){null==t._videoSuccessHandler||t._videoSuccessHandler(!1),t.shareShowReward(e),t._videoSuccessHandler=null}))}))):this.__turnVideoToShare(e)},t.showBannerAd=function(){var e=this;if(this._bannerAd){var t=wx.getSystemInfoSync(),s=t.screenWidth,i=t.screenHeight;this._bannerAd.show().then((function(){e._bannerAd.style.left=(s-e._bannerAd.style.realWidth)/2,e._bannerAd.style.top=i-e._bannerAd.style.realHeight})).catch((function(e){console.log("banner广告显示出错",e)}))}},t.hideBannerAd=function(e){void 0===e&&(e=!1),this._bannerAd&&(this._bannerAd.hide(),e&&this.refreshBannerAd())},t.refreshBannerAd=function(){this._bannerAd&&(this._bannerAd.destroy(),this.__createBannerAd())},t.showInterstitialAd=function(e){if(void 0===e&&(e=!1),e){if(!this._interstitialAd)return;this._interstitialAd.show()}else{if(!this._interstitialAd)return;var t=Date.now();if(null==this._showInterstitialAdTime)return void(this._showInterstitialAdTime=t);t-this._showInterstitialAdTime>12e4&&(this._interstitialAd.show(),this._showInterstitialAdTime=t)}},t.showCustomAd=function(e){this._customAd&&(this._customAdCloseHandler=e,this._customAd.show().catch((function(e){console.log("原生广告显示出错",e)})))},t.hideCustomAd=function(){this._customAd&&this._customAd.hide().catch((function(e){console.log("原生广告隐藏出错",e)}))},t.showSigleCustomAd=function(){this._sigleCustomAd&&this._sigleCustomAd.show().catch((function(e){console.log("原生当个格子广告显示出错",e)}))},t.hideSigleCustomAd=function(){this._sigleCustomAd&&this._sigleCustomAd.hide().catch((function(e){console.log("隐藏单个格子广告出错",e)}))},t.__customSigleAdExist=function(){var e=this;this._sigleCustomAd||this.__createSigleCustomAd(),this._sigleCustomAd.show().then((function(){e._sigleCustomAd.isShow()&&e.hideSigleCustomAd()})).catch((function(t){e._sigleCustomAd.isShow()&&e.hideSigleCustomAd()}))},t.__customAdExist=function(){var e=this;this._customAd||this.__createCustomAd(),this._customAd.show().then((function(){e._customAd.isShow()&&e.hideCustomAd()})).catch((function(t){e._customAd.isShow()&&e.hideCustomAd()}))},t.exitGame=function(){wx.exitMiniProgram({})},t.__createVideoAd=function(){var e=this;this._rewardVideo=wx.createRewardedVideoAd({adUnitId:n.video}),this._rewardVideo.onClose((function(t){t&&t.isEnded||void 0===t?null==e._videoSuccessHandler||e._videoSuccessHandler(!0):(e.showToast({title:"完整观看视频才有奖励哦"}),null==e._videoSuccessHandler||e._videoSuccessHandler(!1)),e._videoSuccessHandler=null})),this._rewardVideo.onError((function(t){null==e._videoSuccessHandler||e._videoSuccessHandler(!1),e.showToast({title:"暂时没有可观看的视频"}),e.shareShowReward(e._videoSuccessHandler),e._videoSuccessHandler=null}))},t.__createBannerAd=function(){var e=wx.getSystemInfoSync(),t=(s.isNormalScreen(),.85*e.screenWidth);this._bannerAd=wx.createBannerAd({adUnitId:n.banner,adIntervals:48,style:{left:0,top:e.screenHeight,width:t,height:70}}),this._bannerAd.onError((function(e){e.errCode})),this._bannerAd.onResize((function(){}))},t.__createInterstitialAd=function(){this._interstitialAd=wx.createInterstitialAd({adUnitId:n.interstitial})},t.__createCustomAd=function(){var e=this,t=wx.getSystemInfoSync();this._customAd=wx.createCustomAd({adUnitId:n.multiGridCustom,adIntervals:60,style:{left:0,top:.16*t.screenHeight,with:.9*t.screenWidth}}),this._customAd&&(this._customAd.onHide((function(t){e._customAdCloseHandler&&e._customAdCloseHandler()})),this._customAd.onError((function(e){e.errCode})))},t.__createSigleCustomAd=function(){var e=wx.getSystemInfoSync(),t=s.isNormalScreen();this._sigleCustomAd=wx.createCustomAd({adUnitId:n.sigleGridCustom,adIntervals:60,style:{left:.49*e.screenWidth,top:.038*e.screenHeight+(t?20:35)}}),this._sigleCustomAd.onError((function(e){console.log("展示格子广告失败1")}))},t.__turnVideoToShare=function(e){this.shareShowReward(e),this._videoSuccessHandler=null},e}()));t._RF.pop()}}})); System.register("chunks:///_virtual/Player.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseExp.ts","./PoolManager.ts","./UIManager.ts","./Constants.ts","./UserData.ts","./AutoBind.ts","./GunBase.ts","./ResUtil.ts","./Game.ts","./MsgHints.ts","./PlayerCamera.ts","./AudioManager.ts","./Utils.ts","./GameEnums.ts"],(function(t){var e,i,n,a,o,s,l,r,u,h,p,c,d,g,y,f,m,_,b,P,I,v,U,D;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized,o=t.createClass},function(t){s=t.cclegacy,l=t._decorator,r=t.Node,u=t.SkeletalAnimation,h=t.Tween},function(t){p=t.BaseExp},function(t){c=t.PoolManager},function(t){d=t.uiMgr},function(t){g=t.Constants},function(t){y=t.userIns},function(t){f=t.autoBind},function(t){m=t.GunBase},function(t){_=t.ResUtil},function(t){b=t.Game},function(t){P=t.default},function(t){I=t.PlayerCamera},function(t){v=t.audioMgr},function(t){U=t.Utils},function(t){D=t.GameEnums}],execute:function(){var k,C,z,G,M,w,A,N,S,H,R,B,T,E,x;s._RF.push({},"2ff50wmAl5EppYKqh0ngPHz","Player",void 0);var O=l.ccclass;l.property,t("Player",(k=O("Player"),C=f({type:r,tooltip:"创建枪的位置"}),z=f({type:r,tooltip:"玩家头的位置"}),G=f({type:r,tooltip:"敌人埋伏点"}),M=f({type:r,tooltip:"玩家身子的位置"}),w=f({type:u,tooltip:"玩家人物动画节点"}),A=f({type:I,tooltip:"玩家摄像机抖动控制"}),k((H=e((S=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),s=0;s1){var i=e.findIndex((function(e){return e.id==t.pData.id})),n=e[(i+1)%e.length];y.changeGun(n.id),this.loadGunName(n.prb_name,!0)}}},s.removeGun=function(){this.gun&&(this.gun.endFire(),c.putNode(this.gun.node),this.gun=null)},s.subHP=function(t,e){var i=this;if(!(b.I.isPause||b.I.isGameOver||this.isDead||t<=0)){this.curHP-=t,this.curHP=this.curHP<0?0:this.curHP;var n=this.curHP/this.pData.hp;this.shootUI.playerHurtTwinkle(n),this.curHP<=0&&!this.isDead&&(b.I.isGameOver=!0,v.playOneShot(g.audios.loss),d.show(g.popUIs.settleUI,[{isWin:!1,headShotNum:this.headShotNum,cb:function(){}}]),this.isDead=!0,this.recycle(),_.playSkeletalAnim(this.player_skeletal,D.playerAnimType.die,1.5,(function(){i.player_skeletal.stop(),i.player_skeletal.node.active=!1})))}},s.setPlayerPos=function(){if(this.pData){var t=this.playPosNodes.length,e=y.getCurLevelData(),i=Math.min(e.point-1,t-1),n=this.playPosNodes[i];this.node.worldPosition=n.worldPosition.clone(),this.node.eulerAngles=n.eulerAngles.clone()}},s.recycle=function(){this.removeGun(),this.isReloadMagazine=!1,this.headShotNum=0},s.update=function(t){this.isCutShoot&&this.shootUI&&this.pData&&(this.shootUI.gunDataUI(),this.isCutShoot=!1,this.shootUI.originalInitial())},o(e,[{key:"shootUI",get:function(){return this._shootUI||(this._shootUI=d.getPageComponent(g.popUIs.gunfightShootUI)),this._shootUI}},{key:"pData",get:function(){return this._pData||(this._pData=y.getCurUseGun()),this._pData},set:function(t){this._pData=t}}]),e}(p)).prototype,"gun_pos",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(S.prototype,"head",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(S.prototype,"ambush",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(S.prototype,"body",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"player_skeletal",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(S.prototype,"mainCamera",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=S))||N));s._RF.pop()}}})); System.register("chunks:///_virtual/PlayerCamera.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,e,s,a,n,o,r;return{setters:[function(t){i=t.inheritsLoose},function(t){e=t.cclegacy,s=t._decorator,a=t.math,n=t.randomRange,o=t.Vec3,r=t.Component}],execute:function(){var h;e._RF.push({},"619d01JKG1NDJ7W6p8rn+AL","PlayerCamera",void 0);var l=s.ccclass;s.property,t("PlayerCamera",l("PlayerCamera")(h=function(t){function e(){for(var i,e=arguments.length,s=new Array(e),a=0;a=1&&(this.canShake=!1,this.node.setPosition(this.originalPos.x,this.originalPos.y,this.startZ))}else this.node.position=this.originalPos},s.easeOutQuad=function(t){return t*(2-t)},e}(r))||h);e._RF.pop()}}})); System.register("chunks:///_virtual/polyglot.min.ts",["cc"],(function(n){var t;return{setters:[function(n){t=n.cclegacy}],execute:function(){n("polyglot",(function(n){return new g(n)})),t._RF.push({},"26839JcVWpGabE9xA7/uWJw","polyglot.min",void 0);var r=function(n,t,r){if(n=arguments[0],t="function"==typeof arguments[1]?arguments[1]:new Function,Array.isArray(n))n.forEach((function(n,r,e){t(n,r)}));else for(var e in n)if(n.hasOwnProperty(e)){var i=n[e];t(i,e)}},e=function(n,t){return n.hasOwnProperty(t)};var i=function(n){!function(n){console.warn(n)}(n)},s=String.prototype.replace,o=String.prototype.split,u="||||",a=function(n){var t=n%100,r=t%10;return 11!==t&&1===r?0:2<=r&&r<=4&&!(t>=12&&t<=14)?1:2},l={pluralTypes:{arabic:function(n){if(n<3)return n;var t=n%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:a,chinese:function(){return 0},croatian:a,french:function(n){return n>1?1:0},german:function(n){return 1!==n?1:0},russian:a,lithuanian:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&n%10<=9&&(n%100<11||n%100>19)?1:2},czech:function(n){return 1===n?0:n>=2&&n<=4?1:2},polish:function(n){if(1===n)return 0;var t=n%10;return 2<=t&&t<=4&&(n%100<10||n%100>=20)?1:2},icelandic:function(n){return n%10!=1||n%100==11?1:0},slovenian:function(n){var t=n%100;return 1===t?0:2===t?1:3===t||4===t?2:3}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]}};function c(n,t){var e=function(n){var t={};return r(n,(function(n,e){r(n,(function(n){t[n]=e}),this)}),this),t}(n.pluralTypeToLanguages);return e[t]||e[o.call(t,/-/,1)[0]]||e.en}function f(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var h=/%\{(.*?)\}/g;function p(n,t,r,i,a){if("string"!=typeof n)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return n;var f=n,p=i||h,g=a||l,y="number"==typeof t?{smart_count:t}:t;if(null!=y.smart_count&&f){var v=o.call(f,u);f=(v[function(n,t,r){return n.pluralTypes[c(n,t)](r)}(g,r||"en",y.smart_count)]||v[0]).replace(/^\s+|\s+$/gm,"")}return f=s.call(f,p,(function(n,t){return e(y,t)&&null!=y[t]?y[t]:n}))}var g=n("Polyglot",function(){function n(n){this.phrases={},this.pluralRules={},this.currentLocale="",this.onMissingKey=null,this.warn=null,this.tokenRegex=void 0;var t=n||{};this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var r=t.allowMissing?p:null;this.onMissingKey="function"==typeof t.onMissingKey?t.onMissingKey:r,this.warn=t.warn||i,this.tokenRegex=function(n){var t=n&&n.prefix||"%{",r=n&&n.suffix||"}";if(t===u||r===u)throw new RangeError('"||||" token is reserved for pluralization');return new RegExp(f(t)+"(.*?)"+f(r),"g")}(t.interpolation),this.pluralRules=t.pluralRules||l}n.transformPhrase=function(n,t,r){return p(n,t,r)};var t=n.prototype;return t.has=function(n){return e(this.phrases,n)},t.t=function(n,t){var r,e,i=null==t?{}:t;if("string"==typeof this.phrases[n])r=this.phrases[n];else if("string"==typeof i._)r=i._;else if(this.onMissingKey){e=(0,this.onMissingKey)(n,i,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+n+'"'),e=n;return"string"==typeof r&&(e=p(r,i,this.currentLocale,this.tokenRegex,this.pluralRules)),e},t.replace=function(n){this.clear(),this.extend(n)},t.clear=function(){this.phrases={}},t.locale=function(n){return n&&(this.currentLocale=n),this.currentLocale},t.extend=function(n,t){var e=this;r(n,(function(n,r){var i=t?t+"."+r:r;"object"==typeof n?e.extend(n,i):e.phrases[i]=n}),this)},t.unset=function(n,t){"string"==typeof n?delete this.phrases[n]:r(n,(function(n,r){var e=t?t+"."+r:r;"object"==typeof n?this.unset(n,e):delete this.phrases[e]}),this)},n}());t._RF.pop()}}})); System.register("chunks:///_virtual/PoolManager.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(o){var t,e,n,r,l,c,i;return{setters:[function(o){t=o.inheritsLoose},function(o){e=o.cclegacy,n=o._decorator,r=o.Prefab,l=o.instantiate,c=o.Vec3,i=o.Component}],execute:function(){var s,a;e._RF.push({},"43f17BYDINONr03pwdby0M9","PoolManager",void 0);var u=n.ccclass;n.property,o("PoolManager",u("PoolManager")(((a=function(o){function e(){return o.apply(this,arguments)||this}return t(e,o),e.getNode=function(o,t){var e=o instanceof r?o.data.name:o.name,n=null,i=this._objectPools.get(e);return(n=(null==i?void 0:i.length)>0?i.pop():l(o))&&(n.active=!0,n.position=c.ZERO,t&&n.setParent(t)),n},e.getName=function(o,t){var e=this._objectPools.get(o),n=null==e?void 0:e.pop();return n&&(n.active=!0,t&&n.setParent(t)),null!=n?n:null},e.putNode=function(o){if(null!=o&&o.isValid&&o){var t=o.name;o.removeFromParent(),o.active=!1,t?(this._objectPools.has(t)||this._objectPools.set(t,[]),this._objectPools.get(t).push(o)):o.destroy()}},e.getPoolSize=function(o){var t,e;return null!=(t=null==(e=this._objectPools.get(o))?void 0:e.length)?t:0},e.clearPool=function(o){var t=this._objectPools.get(o);t&&(t.forEach((function(o){return o.destroy()})),this._objectPools.delete(o))},e.clearAll=function(){this._objectPools.forEach((function(o,t){o.forEach((function(o){return o.destroy()}))})),this._objectPools.clear()},e}(i))._objectPools=new Map,s=a))||s);e._RF.pop()}}})); System.register("chunks:///_virtual/ResolutionAutoFit.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,e,o,n,s,l,u,c,r,a,h;return{setters:[function(t){i=t.inheritsLoose},function(t){e=t.cclegacy,o=t._decorator,n=t.screen,s=t.view,l=t.find,u=t.UITransform,c=t.Size,r=t.ResolutionPolicy,a=t.size,h=t.Component}],execute:function(){var p;e._RF.push({},"f237c0rurlJMK37Xb4mkHTf","ResolutionAutoFit",void 0);var d=o.ccclass;o.property,t("ResolutionAutoFit",d("ResolutionAutoFit")(p=function(t){function e(){for(var i,e=arguments.length,o=new Array(e),n=0;no?s.setResolutionPolicy(r.FIXED_HEIGHT):s.setResolutionPolicy(r.FIXED_WIDTH),this._oldSize.set(t)}},e}(h))||p);e._RF.pop()}}})); System.register("chunks:///_virtual/ResUtil.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils.ts","./Constants.ts","./BundleManager.ts","./Logger.ts","./PoolManager.ts","./UIManager.ts"],(function(e){var n,t,r,o,a,s,i,c,l,u,f,d,p,m,g,v,h,b,y,S;return{setters:[function(e){n=e.asyncToGenerator,t=e.regeneratorRuntime},function(e){r=e.cclegacy,o=e._decorator,a=e.SpriteFrame,s=e.Node,i=e.Sprite,c=e.director,l=e.v3,u=e.ParticleSystem,f=e.Prefab,d=e.tween,p=e.UIOpacity,m=e.v2},function(e){g=e.Utils},function(e){v=e.Constants},function(e){h=e.bundleMgr},function(e){b=e.Logger},function(e){y=e.PoolManager},function(e){S=e.uiMgr}],execute:function(){var x;r._RF.push({},"3015eqw5adC8ZqXLnnEky33","ResUtil",void 0);var P=o.ccclass;o.property,e("ITEM_TYPE",function(e){return e.Diamond="diamond",e.Coin="coin",e.Boomerang="boomerang",e}({})),e("EffectType",function(e){return e.Bleeding="effects/Prefabs/blood",e.BarrelExplosion="effects/Prefabs/OilBoom",e.RockDebris="effects/Prefabs/StoneBoom",e.VehicleSmoke="effects/Prefabs/HeavySmoke",e.VehicleExplosion="effects/Prefabs/TankBoom",e}({})),e("ResUtil",P("ResUtil")(x=function(){function e(){}return e.setSpriteFrame=function(e,n){if(!g.isNull(e)){var t="texture/"+e+"/spriteFrame";h.loadAsset(v.bundleName.prefabs,t,a,(function(e,t){if(!e){var r=n instanceof s?n.getComponent(i):n;r?r.spriteFrame=t:console.error("Target node does not have a Sprite component!")}}))}},e.setSpriteFrameAsset=function(e,n,t,r,o){g.isNull(e)&&(e=v.bundleName.prefabs,n.startsWith("texture/")||(n="texture/"+n+"/spriteFrame")),g.isNull(n)||h.loadAsset(e,n,t,(function(e,n){if(!e){var t=r instanceof s?r.getComponent(i):r;t?t.spriteFrame=n:console.error("Target node does not have a Sprite component!")}null==o||o(e,n)}))},e.preloadScene=function(e,n,t){g.isNull(e)?b.warn("[SceneLoader] Scene name cannot be null or empty!"):c.preloadScene(e,(function(e,n){null==t||t(null,n>0?e/n:0)}),(function(r,o){if(r)return b.error('[SceneLoader] Failed to preload scene "'+e+'":',r),void(null==t||t(r,0));null==n||n(),b.log('[SceneLoader] Scene "'+e+'" preloaded successfully'),null==t||t(null,1)}))},e.loadRes=function(e,r){return new Promise(n(t().mark((function n(o,a){var s,i;return t().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,!g.isNull(e)){n.next=4;break}return o(null),n.abrupt("return");case 4:return n.next=6,h.loadAsset(v.bundleName.prefabs,e,f);case 6:s=n.sent,i=y.getNode(s,r),o(i),n.next=15;break;case 11:n.prev=11,n.t0=n.catch(0),console.error("加载资源失败: "+e,n.t0),a(new Error("加载资源失败:: "+e));case 15:case"end":return n.stop()}}),n,null,[[0,11]])}))))},e.flyAnim=function(){var e=n(t().mark((function e(n,r,o,a,s,i){var c,u,p,b,x,P,w,k,N,R,C,M;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=function(e,n,t,r){for(var o=[],a=Math.PI/180*Math.round(360/r),s=0;s0&&c.getComponent(p).scheduleOnce(function(){this.getComponentsInChildren(u).forEach((function(e){e.stop()})),y.putNode(this)}.bind(c),a);case 7:case"end":return n.stop()}}),n)})));return function(e,n,t,o,a){return r.apply(this,arguments)}}(),e.playSkeletalAnim=function(e,n,t,r){if(void 0===t&&(t=0),void 0===r&&(r=null),e){var o=e.clips.find((function(e){return e.name==n}));if(o){var a=e.getState(n);a.speed=t>0?o.duration/t:1,e.play(n),r&&e.scheduleOnce(r,t>0?t:o.duration)}else b.error('[ResUtil.playSkeletalAnim] 未找到名为 "'+n+'" 的动画剪辑')}},e.playParticle=function(n,t,r,o,a){void 0===t&&(t=0),void 0===r&&(r=l(1,1,1)),g.isNull(n)||e.loadRes(n).then((function(e){e&&(null==o||o(e),e.getComponentsInChildren(u).forEach((function(e){e.node.setWorldScale(r),e.scaleSpace=1,e.stop(),e.play()})),t>0&&setTimeout((function(){e.parent&&y.putNode(e)}),1e3*t),null==a||a())}))},e}())||x);r._RF.pop()}}})); System.register("chunks:///_virtual/SensitiveWords.ts",["cc"],(function(a){var n;return{setters:[function(a){n=a.cclegacy}],execute:function(){n._RF.push({},"6423eE1EpBD3p103BCyA6Jq","SensitiveWords",void 0);a("default",["第一代领导","第二代领导","第三代领导","第四代领导","第五代领导","第六代领导","第七代领导","第1代领导","第2代领导","第3代领导","第4代领导","第5代领导","第6代领导","第7代领导","一位老同志的谈话","国办发","中办发","腐败中国","三个呆婊","你办事我放心","社会主义灭亡","打倒中国","灭亡中国","亡党亡国","粉碎四人帮","激流中国","特供","特贡","特共","zf大楼","殃视","贪污腐败","强制拆除","形式主义","政治风波","太子党","上海帮","北京帮","清华帮","红色贵族","权贵集团","河蟹社会","喝血社会","九风","9风","十七大","十7大","17da","九学","9学","四风","4风","双规","南街村","最淫官员","警匪","官匪","独夫民贼","官商勾结","城管暴力执法","强制捐款","毒豺","一党执政","一党专制","一党专政","专制政权","宪法法院","胡平","苏晓康","贺卫方","谭作人","焦国标","万润南","张志新","辛灝年","高勤荣","王炳章","高智晟","司马璐","刘晓竹","刘宾雁","魏京生","寻找林昭的灵魂","别梦成灰","谁是新中国","讨伐中宣部","异议人士","民运人士","启蒙派","选国家主席","民一主","min主","民竹","民珠","民猪","chinesedemocracy","大赦国际","国际特赦","da选","投公","公头","宪政","平反","党章","维权","昝爱宗","宪章","08宪","08xz","觉醒的中国公民日渐清楚地认识到","抿主","民主","敏主","人拳","人木又","人quan","renquan","中国人权","中国的人权","中国新民党","群体事件","群体性事件","上中央","去中央","讨说法","请愿","请命","公开信","联名上书","万人大签名","万人骚动","截访","上访","shangfang","信访","访民","集合","集会","组织集体","静坐","静zuo","jing坐","示威","示wei","游行","you行","游xing","youxing","官逼民反","反party","反共","抗议","亢议","抵制","低制","底制","di制","抵zhi","dizhi","boycott","血书","焚烧中国国旗","baoluan","流血冲突","出现暴动","发生暴动","引起暴动","baodong","灭共","杀毙","罢工","霸工","罢考","罢餐","罢参","罢饭","罢吃","罢食","罢课","罢ke","霸课","ba课","罢教","罢学","罢运","网特","网评员","网络评论员","五毛党","五毛们","5毛党","戒严","jieyan","jie严","戒yan","8的平方事件","知道64","八九年","贰拾年","2o年","20和谐年","贰拾周年","六四","六河蟹四","六百度四","六和谐四","陆四","陆肆","198964","5月35","89年春夏之交","64惨案","64时期","64运动","4事件","四事件","北京风波","学潮","学chao","xuechao","学百度潮","门安天","天按门","坦克压大学生","民主女神","历史的伤口","高自联","北高联","维多利亚公园","thegateofheavenlypeace","bloodisonthesquare","为了忘却的纪念","血洗京城","四二六社论","王丹","柴玲","沈彤","封从德","王超华","王维林","吾尔开希","吾尔开西","侯德健","阎明复","方励之","蒋捷连","丁子霖","辛灏年","蒋彦永","严家其","陈一咨","中华局域网","党的喉舌","互联网审查","当局严密封锁","新闻封锁","封锁消息","爱国者同盟","关闭所有论坛","网络封锁","金盾工程","gfw","无界浏览","无界网络","自由门","何清涟","中国的陷阱","汪兆钧","记者无疆界","境外媒体","维基百科","纽约时报","bbc中文网","华盛顿邮报","世界日报","东森新闻网","东森电视","基督教科学箴言报","星岛日报","亚洲周刊","泰晤士报","美联社","中央社","雅虎香港","wikipedia","youtube","googleblogger","美国之音","美国广播公司","英国金融时报","自由亚洲","中央日报","自由时报","中国时报","反分裂","威胁论","左翼联盟","钓鱼岛","保钓组织","主权","弓单","火乍","木仓","石肖","核蛋","步qiang","bao炸","爆zha","baozha","zha药","zha弹","炸dan","炸yao","zhadan","zhayao","hmtd","三硝基甲苯","六氟化铀","炸药配方","弹药配方","炸弹配方","皮箱炸弹","火药配方","人体炸弹","人肉炸弹","解放军","兵力部署","军转","军事社","8341部队","第21集团军","七大军区","7大军区","北京军区","沈阳军区","济南军区","成都军区","广州军区","南京军区","兰州军区","颜色革命","规模冲突","塔利班","基地组织","恐怖分子","恐怖份子","三股势力","印尼屠华","印尼事件","蒋公纪念歌","马英九","mayingjiu","李天羽","苏贞昌","林文漪","陈水扁","陈s扁","陈随便","阿扁","a扁","告全国同胞书","台百度湾","台完","台wan","taiwan","台弯","湾台","台湾国","台湾共和国","台军","台独","台毒","台du","taidu","twdl","一中一台","打台湾","两岸关系","两岸战争","攻占台湾","支持台湾","进攻台湾","占领台湾","统一台湾","收复台湾","登陆台湾","解放台湾","解放tw","解决台湾","光复民国","台湾独立","台湾问题","台海问题","台海危机","台海统一","台海大战","台海战争","台海局势","入联","入耳关","中华联邦","国民党","x民党","民进党","青天白日","闹独立","duli","fenlie","日本万岁","小泽一郎","劣等民族","汉人","汉维","维汉","吾尔","热比娅","伊力哈木","疆独","东突厥斯坦解放组织","东突解放组织","蒙古分裂分子","列确","阿旺晋美","藏人","臧人","zang人","藏民","藏m","达赖","赖达","dalai","哒赖","dl喇嘛","丹增嘉措","打砸抢","西独","藏独","葬独","臧独","藏毒","藏du","zangdu","支持zd","藏暴乱","藏青会","雪山狮子旗","拉萨","啦萨","啦沙","啦撒","拉sa","lasa","la萨","西藏","藏西","xizang","xi藏","x藏","西z","tibet","希葬","希藏","硒藏","稀藏","西脏","西奘","西葬","西臧","援藏","bjork","王千源","安拉","回教","回族","回回","回民","穆斯林","穆罕穆德","穆罕默德","默罕默德","伊斯兰","圣战组织","清真","清zhen","qingzhen","真主","阿拉伯","高丽棒子","韩国狗","满洲第三帝国","满狗","鞑子","胡的接班人","钦定接班人","习近平","平近习","xjp","习太子","习明泽","老习","温家宝","温加宝","温x","温jia宝","温宝宝","温加饱","温加保","张培莉","温云松","温如春","温jb","胡温","胡x","胡jt","胡boss","胡总","胡王八","hujintao","胡jintao","胡j涛","胡惊涛","胡景涛","胡紧掏","湖紧掏","胡紧套","锦涛","hjt","胡派","胡主席","刘永清","胡海峰","胡海清","江泽民","民泽江","江胡","江主席","江书记","江浙闽","江沢民","江浙民","茳泽民","zemin","ze民","老江","老j","江core","江x","江派","江zm","jzm","江戏子","江蛤蟆","江某某","江贼","江猪","江氏集团","江绵恒","江绵康","王冶坪","江泽慧","邓小平","平小邓","xiao平","邓xp","邓晓平","邓朴方","邓榕","邓质方","毛泽东","猫泽东","猫则东","chairmanmao","猫贼洞","毛zd","毛zx","z东","ze东","泽d","zedong","毛太祖","毛相","主席画像","改革历程","朱镕基","朱容基","朱镕鸡","朱容鸡","朱云来","李鹏","李peng","里鹏","李月月鸟","李小鹏","李小琳","华主席","华国","锋同志","白春礼","薄熙来","薄一波","蔡赴朝","蔡武","曹刚川","常万全","陈炳德","陈德铭","陈建国","陈良宇","陈绍基","陈同海","陈至立","戴秉国","丁一平","董建华","杜德印","杜世成","傅锐","郭伯雄","郭金龙","贺国强","胡春华","耀邦","华建敏","黄华华","黄丽满","黄兴国","回良玉","贾庆林","贾廷安","靖志远","李长春","李春城","李建国","李克强","李岚清","李沛瑶","李荣融","李瑞环","李铁映","李先念","李学举","李源潮","栗智","梁光烈","廖锡龙","林树森","林炎志","林左鸣","令计划","柳斌杰","刘奇葆","刘少奇","刘延东","刘云山","刘志军","龙新民","路甬祥","罗箭","吕祖善","马飚","马恺","孟建柱","欧广源","强卫","沈跃跃","宋平顺","粟戎生","苏树林","孙家正","铁凝","屠光绍","王东明","汪东兴","王鸿举","王沪宁","王乐泉","王洛林","王岐山","王胜俊","王太华","王学军","王兆国","王振华","吴邦国","吴定富","吴官正","无官正","吴胜利","吴仪","奚国华","习仲勋","徐才厚","许其亮","徐绍史","杨洁篪","叶剑英","由喜贵","于幼军","俞正声","袁纯清","曾培炎","曾庆红","曾宪梓","曾荫权","张德江","张定发","张高丽","张立昌","张荣坤","张志国","赵洪祝","紫阳","周生贤","周永康","朱海仑","政治局常委","中纪委","主席像","总书记","中南海","大陆当局","中国当局","北京当局","共产党","党产共","gcd","共贪党","gongchandang","阿共","共一产一党","产党共","公产党","工产党","共c党","共x党","共铲","供产","共惨","供铲党","供铲谠","供铲裆","共残党","共残主义","共产主义的幽灵","拱铲","老共","中共","中珙","中gong","gc党","贡挡","gong党","g产","狗产蛋","共残裆","恶党","邪党","共产专制","共产王朝","裆中央","土共","土g","共狗","g匪","共匪","仇共","communistparty","政府","症腐","政腐","政付","正府","政俯","政一府","政百度府","政f","zhengfu","政zhi","挡中央","档中央","中央领导","中国zf","中央zf","国wu院","中华帝国","gong和","大陆官方","北京政权 ","福音会","中国教徒","统一教","观音法门","清海无上师","盘古","李洪志","志洪李","李宏志","轮功","法轮","轮法功","三去车仑","氵去车仑","发论工","法x功","法o功","法0功","法一轮一功","轮子功","车仑工力","法lun","fa轮","法lg","flg","fl功","falungong","大法弟子","大纪元","dajiyuan","明慧网","明慧周报","正见网","新唐人","伪火","退党","tuidang","退dang","超越红墙","自fen","真善忍","九评","9评","9ping","九ping","jiuping","藏字石","集体自杀","自sha","zi杀","suicide","titor","逢8必灾","逢八必灾","逢9必乱","逢九必乱","朱瑟里诺","根达亚文明","诺查丹玛斯","人类灭亡进程表","按照马雅历法","推背图","推bei图","济世灵文","诸世纪","爱女人","爱液","按摩棒","拔出来","爆草","包二奶","暴干","暴奸","暴乳","爆乳","暴淫","屄","被操","被插","被干","逼奸","仓井空","插暴","操逼","操黑","操烂","肏你","肏死","操死","操我","厕奴","插比","插b","插逼","插进","插你","插我","插阴","潮吹","潮喷","成人电影","成人论坛","成人色情","成人网站","成人文学","成人小说","艳情小说","成人游戏","吃精","赤裸","抽插","扌由插","抽一插","春药","大波","大力抽送","大乳","荡妇","荡女","盗撮","多人轮","发浪","放尿","肥逼","粉穴","封面女郎","风月大陆","干死你","干穴","肛交","肛门","龟头","裹本","国产av","好嫩","豪乳","黑逼","后庭","后穴","虎骑","花花公子","换妻俱乐部","黄片","几吧","鸡吧","鸡巴","鸡奸","寂寞男","寂寞女","妓女","激情","集体淫","奸情","叫床","脚交","金鳞岂是池中物","金麟岂是池中物","精液","就去日","巨屌","菊花洞","菊门","巨奶","巨乳","菊穴","开苞","口爆","口活","口交","口射","口淫","裤袜","狂操","狂插","浪逼","浪妇","浪叫","浪女","狼友","聊性","流淫","铃木麻","凌辱","漏乳","露b","乱交","乱伦","轮暴","轮操","轮奸","裸陪","买春","美逼","美少妇","美乳","美腿","美穴","美幼","秘唇","迷奸","密穴","蜜穴","蜜液","摸奶","摸胸","母奸","奈美","奶子","男奴","内射","嫩逼","嫩女","嫩穴","捏弄","女优","炮友","砲友","喷精","屁眼","品香堂","前凸后翘","强jian","强暴","强奸处女","情趣用品","情色","拳交","全裸","群交","惹火身材","人妻","人兽","日逼","日烂","肉棒","肉逼","肉唇","肉洞","肉缝","肉棍","肉茎","肉具","揉乳","肉穴","肉欲","乳爆","乳房","乳沟","乳交","乳头","三级片","骚逼","骚比","骚女","骚水","骚穴","色逼","色界","色猫","色盟","色情网站","色区","色色","色诱","色欲","色b","少年阿宾","少修正","射爽","射颜","食精","释欲","兽奸","兽交","手淫","兽欲","熟妇","熟母","熟女","爽片","爽死我了","双臀","死逼","丝袜","丝诱","松岛枫","酥痒","汤加丽","套弄","体奸","体位","舔脚","舔阴","调教","偷欢","偷拍","推油","脱内裤","文做","我就色","无码","舞女","无修正","吸精","夏川纯","相奸","小逼","校鸡","小穴","小xue","写真","性感妖娆","性感诱惑","性虎","性饥渴","性技巧","性交","性奴","性虐","性息","性欲","胸推","穴口","学生妹","穴图","亚情","颜射","阳具","杨思敏","要射了","夜勤病栋","一本道","一夜欢","一夜情","一ye情","阴部","淫虫","阴唇","淫荡","阴道","淫电影","阴阜","淫妇","淫河","阴核","阴户","淫贱","淫叫","淫教师","阴茎","阴精","淫浪","淫媚","淫糜","淫魔","淫母","淫女","淫虐","淫妻","淫情","淫色","淫声浪语","淫兽学园","淫书","淫术炼金士","淫水","淫娃","淫威","淫亵","淫样","淫液","淫照","阴b","应召","幼交","幼男","幼女","欲火","欲女","玉女心经","玉蒲团","玉乳","欲仙欲死","玉穴","援交","原味内衣","援助交际","张筱雨","招鸡","招妓","中年美妇","抓胸","自拍","自慰","作爱","18禁","99bb","a4u","a4y","adult","amateur","anal","a片","fuck","gay片","g点","g片","hardcore","h动画","h动漫","incest","porn","secom","sexinsex","sm女王","xiao77","xing伴侣","tokyohot","yin荡","汉芯造假","杨树宽","中印边界谈判结果","喂奶门","摸nai门","酒瓶门","脱裤门","75事件","新疆骚乱","食堂涨价","饭菜涨价","h1n1","瘟疫爆发","yangjia","y佳","yang佳","杨佳","杨j","袭警","杀警","武侯祠","川b26931","贺立旗","周正毅","px项目","骂四川","家l福","家le福","加了服","麦当劳被砸","豆腐渣","这不是天灾","龙小霞","震其国土","yuce","提前预测","地震预测","隐瞒地震","李四光预测","蟾蜍迁徙","地震来得更猛烈","八级地震毫无预报","踩踏事故","聂树斌","万里大造林","陈相贵","张丹红","尹方明","李树菲","王奉友","零八奥运艰","惨奥","奥晕","凹晕","懊运","懊孕","奥孕","奥你妈的运","反奥","628事件","weng安","wengan","翁安","瓮安事件","化工厂爆炸","讨回工资","专业代理","帮忙点一下","帮忙点下","请点击进入","详情请进入","私人侦探","私家侦探","针孔摄象","调查婚外情","信用卡提现","无抵押贷款","广告代理","原音铃声","借腹生子","找个妈妈","找个爸爸","代孕妈妈","代生孩子","代开发票","腾讯客服电话","销售热线","免费订购热线","低价出售","款到发货","回复可见","免费二级域名","免费使用","免费索取","蚁力神","婴儿汤","售肾","刻章办","买小车","套牌车","玛雅网","电脑传讯","视频来源","下载速度","高清在线","全集在线","在线播放","txt下载","六位qq","6位qq","位的qq","个qb","送qb","用刀横向切腹","完全自杀手册","四海帮","足球投注","地下钱庄","中国复兴党","阿波罗网","曾道人","六合彩","改卷内幕","替考试","隐形耳机","出售答案","考中答案","答an","da案","资金周转","救市","股市圈钱","崩盘","资金短缺","证监会","质押贷款","小额贷款","周小川","刘明康","尚福林","孔丹","安眠酮","代血浆","普萘洛尔","呋塞米","西布曲明","testosterone","胰岛素样生长因子","促红细胞生成素","地西泮","尼可刹米","甲睾酮","adrenaline","erythropoietin","地奈德","莫达非尼","氯噻嗪","苯巴比妥","促性腺激素","泼尼松","麻黄草","雄烯二醇","地塞米松","tamoxifen","strychnine","androst","新型毒品","杜冷丁","兴奋剂","mdma","海洛因","海luo因","heroin","diamorphine","diacetylmorphine","鸦片","阿芙蓉","咖啡因","cocain","三唑仑","美沙酮","麻古","k粉","凯他敏","ketamine","冰毒","苯丙胺","cannabis","大麻","爱他死","氯胺酮","benzodiazepines","甲基安非他明","安非他命","吗啡","morphine","摇头丸","迷药","乖乖粉","narcotic","麻醉药","精神药品 ","穴海","协警","纳米比亚","专业调查","有华龙","jq的来","电信路","第一夫人","党鞭","黄巨","荡尽天下","家元自称玉皇大帝","主席李世民","何祚庥","刘刚","不要沉默","后勤集团","食堂涨价","发国难财","浪漫邂逅","红满堂","张小洋","炸学校","子宫","叫晶晶的女孩","回派","社会黑暗","国之母","国母","国姆","东方微点","震惊全球","nowto","chengdu","徐明","六月飞雪","暴力虐待","暴力袭击","天府广场","粮荒","洗脑班","复制地址到地址栏","李愚蠢","中国猪","台湾猪","进化不完全的生命体","震死他们","贱人","装b","大sb","傻逼","傻b","煞逼","煞笔","刹笔","傻比","沙比","欠干","婊子养的","我日你","我操","我草","卧艹","卧槽","爆你菊","艹你","cao你","你他妈","真他妈","别他吗","草你吗","草你丫","操你妈","擦你妈","操你娘","操他妈","日你妈","干你妈","干你娘","娘西皮","狗操","狗草","狗杂种","狗日的","操你祖宗","操你全家","操你大爷","妈逼","你麻痹","麻痹的","妈了个逼","马勒","狗娘养","贱比","贱b","下贱","死全家","全家死光","全家不得好死","全家死绝","白痴","无耻","sb","杀b","你吗b","你妈的","婊子","贱货","人渣","混蛋","媚外","和弦","兼职","限量","铃声","性伴侣","男公关","火辣","精子","射精","诱奸","强奸","做爱","性爱","发生关系","按摩","快感","处男","猛男","少妇","屌","屁股","下体","a片","内裤","浑圆","咪咪","发情","刺激","白嫩","粉嫩","兽性","风骚","呻吟","sm","阉割","高潮","裸露","不穿","一丝不挂","脱光","干你","干死","我干","中日没有不友好的","木牛流马的污染比汽车飞机大","他们嫌我挡了城市的道路","当官靠后台","警察我们是为人民服务的","中石化说亏损","做人不能太cctv了","领导干部吃王八","工商税务两条狼","公检法是流氓","公安把秩序搞乱","剖腹一刀五千几","读不起选个学校三万起","父母下岗儿下地","裙中性运动","qq","匕首","管制刀具","弹药","bb弹","违禁品","军用品","电棍","手枪","机枪","步枪","气枪","电狗","手狗","枪模","模型枪","仿真枪","狙击枪","信号枪","麻醉枪","来福枪","来复枪","冲锋枪","散弹枪","卡宾枪","枪支","枪械","炸药","硝铵","火药","燃烧瓶","可燃物","爆炸物","炸弹","雷管","原子弹","燃烧弹","tnt","qq","sb","sm","银联","云闪付"]);n._RF.pop()}}})); System.register("chunks:///_virtual/SettingData.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Constants.ts","./Utils.ts","./Singleton.ts","./AudioManager.ts"],(function(t){var a,e,n,s,i,o,r,c,u;return{setters:[function(t){a=t.inheritsLoose,e=t.createClass},function(t){n=t.cclegacy,s=t._decorator,i=t.sys},function(t){o=t.Constants},function(t){r=t.Utils},function(t){c=t.Singleton},function(t){u=t.audioMgr}],execute:function(){var l;n._RF.push({},"87ebcQ+nuBFsImwA+JoSKmd","SettingData",void 0);var h=s.ccclass,d=(s.property,h("SettingData")(l=function(t){function n(){for(var a,e=arguments.length,n=new Array(e),s=0;s0;if(this.headshot_reward_btn.active=y,y){var v=I.I.player.pData.headshotReward.split("_"),N=v[0],S=v[1],U=Number(S)*I.I.player.headShotNum,C=this.headshot_reward_btn.getChildByName("reward_icon"),B=f.itemTable.find((function(t){return t.id==N}));w.setSpriteFrame(B.icon,C),this.headshot_reward_btn.getChildByName("reward_num_lable").getComponent(u).string="x"+U,this.scheduleOnce((function(){t.flyReward(B,Number(U),t.headshot_reward_btn)}),.5)}this.next_level_btn.active=this.param.isWin,this.restart_btn.active=!this.param.isWin},l.flyReward=function(t,e,i){e<=0||(S.playOneShot(m.audios.reward),1==t.type?(f.data.gold+=e,w.flyAnim(v.Coin,i,this.gold_lable.node,5,50,(function(t){}))):2==t.type&&(f.data.diamond+=e,w.flyAnim(v.Diamond,i,this.diamond_lable.node,5,50,(function(t){}))))},l.onBtnClicked=function(e,i){var n=this;t.prototype.onBtnClicked.call(this,e,i);var a=e.target.name;if("restart_btn"===a)y.hide(m.popUIs.settleUI,this.param.cb),I.I.restart();else if("back_home_btn"===a)y.pop(m.mainUIs.main);else if("next_level_btn"===a){var l=function(){y.hide(m.popUIs.settleUI,n.param.cb),I.I.nextLevel()},r=I.I.player.pData.adforceShow2;z.getRandomFloat(0,1)<=r?N.platform.showRewardVideo((function(t){t&&l()})):l()}else"video_btn"===a&&N.platform.showRewardVideo((function(t){t&&(n.video_btn.active=!1,n.scheduleOnce((function(){var t=(n.param.isWin?n.levelData.reward_1:n.levelData.reward_2).split("_"),e=t[0],i=t[1],a=2*Number(i),l=f.itemTable.find((function(t){return t.id==e}));n.flyReward(l,a,n.video_btn)}),.3))}))},e}(d)).prototype,"success_sf",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=e(Y.prototype,"fail_sf",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=e(Y.prototype,"gun_def_sf",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=e(Y.prototype,"success_status_icon",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=e(Y.prototype,"task_num_lable",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=e(Y.prototype,"gun_icon",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=e(Y.prototype,"progress_num_lable",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=e(Y.prototype,"gun_not_unlock_icon",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=e(Y.prototype,"gun_unlock_icon",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nt=e(Y.prototype,"rotation_light",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),at=e(Y.prototype,"task_reward_btn",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=e(Y.prototype,"headshot_reward_btn",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rt=e(Y.prototype,"next_level_btn",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ot=e(Y.prototype,"back_home_btn",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),st=e(Y.prototype,"restart_btn",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=e(Y.prototype,"video_btn",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=e(Y.prototype,"gold_lable",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_t=e(Y.prototype,"diamond_lable",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=Y))||J));l._RF.pop()}}})); System.register("chunks:///_virtual/Singleton.ts",["cc"],(function(n){var t;return{setters:[function(n){t=n.cclegacy}],execute:function(){t._RF.push({},"35443DU2a9HQo4/Jh2U4R1R","Singleton",void 0);n("Singleton",function(){function n(){}return n.ins=function(){return this._ins||(this._ins=new this),this._ins},n.destroy=function(){this._ins=null},n}());t._RF.pop()}}})); System.register("chunks:///_virtual/StateManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Singleton.ts","./Constants.ts","./UserData.ts","./Utils.ts"],(function(t){var n,i,e,s,a,r,o;return{setters:[function(t){n=t.inheritsLoose},function(t){i=t.cclegacy,e=t._decorator},function(t){s=t.Singleton},function(t){a=t.Constants},function(t){r=t.userIns},function(t){o=t.Utils}],execute:function(){var u;i._RF.push({},"d10a2XpdK9L24FMMF9uqCTp","StateManager",void 0);var c=e.ccclass,g=(e.property,c("StateManager")(u=function(t){function i(){for(var n,i=arguments.length,e=new Array(i),s=0;s0){var i=this.coinList[0];this.coin_title_lable.string=_.isZh?i.name:i.name_lang}if(this.coin_scrollView.numItems=this.coinList.length,this.diamondList=t.filter((function(t){return 2===t.type})),this.diamond_scrollView.numItems=this.diamondList.length,this.diamondList.length>0){var e=this.diamondList[0];this.diamond_title_lable.string=_.isZh?e.name:e.name_lang}},a.setCoinItemData=function(t,i){var e=this;t.getComponent(h).init(this.coinList[i],(function(t,i){e.clicked(t,i)}))},a.setDiamondItemData=function(t,i){t.getComponent(h).init(this.diamondList[i],this.clicked.bind(this))},a.clicked=function(t,i){var e=this;I.playOneShot(y.audios.click);var n=Number(t.price_2);g.platform.showRewardVideo((function(o){o&&(t.alreadyVideo+=1,t.alreadyVideo>=n?(t.alreadyVideo=0,1==t.type?(I.playOneShot(y.audios.buy),p.data.gold+=t.quantity,w.flyAnim(L.Coin,i,e.gold_lable.node,5,50,(function(t){}))):2==t.type&&(I.playOneShot(y.audios.buy),p.data.diamond+=t.quantity,w.flyAnim(L.Diamond,i,e.diamond_lable.node,5,50,(function(t){})))):m.show("Watch "+(n-t.alreadyVideo)+" more times to purchase successfully!"),1==t.type?e.coin_scrollView.updateAll():2==t.type&&e.diamond_scrollView.updateAll())}))},i}(c)).prototype,"coin_scrollView",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=i(k.prototype,"diamond_scrollView",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=i(k.prototype,"gold_lable",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=i(k.prototype,"diamond_lable",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=i(k.prototype,"coin_title_lable",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=i(k.prototype,"diamond_title_lable",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=k))||M));a._RF.pop()}}})); System.register("chunks:///_virtual/SuccessUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseExp.ts","./AutoBind.ts","./UserData.ts","./Constants.ts","./UIManager.ts","./ResUtil.ts","./LanguageData.ts"],(function(t){var e,i,n,a,o,l,s,r,c,u,p,b,d,h,_,f,g,y,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,l=t._decorator,s=t.Node,r=t.Sprite,c=t.Label,u=t.Tween,p=t.tween,b=t.Vec3},function(t){d=t.BaseExp},function(t){h=t.autoBind},function(t){_=t.userIns},function(t){f=t.Constants},function(t){g=t.uiMgr},function(t){y=t.ResUtil},function(t){m=t.default}],execute:function(){var v,w,I,U,B,z,A,S,k,C,D,F,T,L,R,x,M;o._RF.push({},"82bdafbov1NI4pcI+yBlNAb","SuccessUI",void 0);var N=l.ccclass;l.property,t("SuccessUI",(v=N("SuccessUI"),w=h({type:s,tooltip:"旋转光节点"}),I=h({type:r,tooltip:"获得的物品图片"}),U=h({type:r,tooltip:"获得的物品图片缩影"}),B=h({type:c,tooltip:"获得的物品的名字"}),z=h({type:c,tooltip:"描述文字"}),A=h({type:s,tooltip:"底部提交确认按钮"}),S=h({type:s,tooltip:"拥有状态"}),v((D=e((C=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),l=0;lMath.abs(t)?t=0:e=0),this._targetAngles.set(n.x+20*e,n.y+20*t,n.z)},a.onCameraZoom=function(e){this._targetLen=e,this._targetLenthis.lenMax&&(this._targetLen=this.lenMax)},t}(c)).prototype,"target",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=t(f.prototype,"lookAtOffset",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return l()}}),y=t(f.prototype,"zoomSensitivity",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),d=t(f.prototype,"lenMin",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),_=t(f.prototype,"lenMax",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 100}}),M=t(f.prototype,"len",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 5}}),w=t(f.prototype,"rotateVHSeparately",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),z=t(f.prototype,"tweenTime",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.2}}),p=f))||p));a._RF.pop()}}})); System.register("chunks:///_virtual/TossBoomerangUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseExp.ts","./AutoBind.ts","./Constants.ts","./UserData.ts","./Utils.ts","./UIManager.ts","./StateManager.ts","./ResUtil.ts","./PoolManager.ts","./AudioManager.ts","./Nodes.ts"],(function(t){var n,o,e,a,i,r,l,s,u,c,d,p,g,h,m,b,f,y,_,I,v,w,B,U;return{setters:[function(t){n=t.applyDecoratedDescriptor,o=t.inheritsLoose,e=t.initializerDefineProperty,a=t.assertThisInitialized,i=t.createForOfIteratorHelperLoose},function(t){r=t.cclegacy,l=t._decorator,s=t.Node,u=t.Label,c=t.UITransform,d=t.Vec3,p=t.tween},function(t){g=t.BaseExp},function(t){h=t.autoBind},function(t){m=t.Constants},function(t){b=t.userIns},function(t){f=t.Utils},function(t){y=t.uiMgr},function(t){_=t.stateMgr},function(t){I=t.ResUtil,v=t.ITEM_TYPE},function(t){w=t.PoolManager},function(t){B=t.audioMgr},function(t){U=t.default}],execute:function(){var M,T,C,A,x,z,R,P,D,S,k,E,O;r._RF.push({},"27272ucZTlL27Dpvfou+OTG","TossBoomerangUI",void 0);var N=l.ccclass;l.property,t("TossBoomerangUI",(M=N("TossBoomerangUI"),T=h({type:s,tooltip:"靶面中的所有靶心"}),C=h({type:s,tooltip:"飞镖按钮"}),A=h({type:u,tooltip:"金币文本"}),x=h({type:u,tooltip:"钻石文本"}),z=h({type:u,tooltip:"飞镖个数文本"}),M((D=n((P=function(t){function n(){for(var n,o=arguments.length,i=new Array(o),r=0;r0?this.boomerang_num_lable.string=b.data.boomerang:this.boomerang_num_lable.string="Buy"},r.buyBoomerang=function(){y.show(m.popUIs.buyBoomerangUI)},r.startToss=function(t,n){var o=this;if(void 0===t&&(t=null),!this.isBoomeranging)if(b.data.boomerang<=0)this.buyBoomerang();else{var e=null;if(t)e=t.target;else{var a=f.getRandomInt(0,this.content.children.length-1);e=this.content.children[a]}B.playOneShot(m.audios.dart),this.isBoomeranging=!0,b.data.boomerang-=1,this.setBoomerang();for(var r,l=b.boomerangTable.reduce((function(t,n){return t+n.weight}),0),s=Math.min(Math.random()*l,l-1e-6),u=0,g=null,h=i(b.boomerangTable);!(r=h()).done;){var y=r.value;if(s0){var o=s.children.slice(-2)[0];o.parent=null;var l=o.name.replace(/^\w/,(function(e){return e.toUpperCase()}));a=o.getComponent(l)}else(a=this.getPageComponent(u.mainUIs.main)).tabBarIndex=a.preIndexs.slice(-2)[0];else{var p=e.split("/").pop(),c=p.replace(/^\w/,(function(e){return e.toUpperCase()}));if(n||(n=[]),r)(a=this.getPageComponent(u.mainUIs.main)).tabBarIndex=a.sceneNames.indexOf(e),s.removeAllChildren();else{var f=this.panels.get(e),g=s.children.findIndex((function(e){return e.name==p}));-1!==g&&(s.children.slice(g+1).forEach((function(e){e.parent=null})),s.children.splice(g+1)),f.setSiblingIndex(f.parent.children.length),a=f.getComponent(c)}}a&&a.pop&&a.pop.apply(a,n),"function"==typeof t&&(null==t||t())},r.hide=function(e,n){if(this.panels.has(e)){var t=this.panels.get(e),i=e.split("/").pop(),s=i.replace(/^\w/,(function(e){return e.toUpperCase()}));if(Object.values(u.mainUIs).includes(e)){h.findName(this.getCurentSceneRoot(),this.pageUIs).children.forEach((function(e){e.setPosition(new o(e.name==i?5e5:0,0,1))}))}else{t.parent=null;var r=t.getComponent(s);r&&r.hide&&r.hide.apply(r)}"function"==typeof n&&(null==n||n())}},r.getPageComponent=function(e,n){if(this.panels.has(e)){var t=e.split("/").pop().replace(/^\w/,(function(e){return e.toUpperCase()}));return this.panels.get(e).getComponent(null!=n?n:t)}return null},r.getPageNode=function(e){return h.isNull(e)?null:this.panels.has(e)?this.panels.get(e):null},r.hasPageNode=function(e){if(h.isNull(e))return!1;var n=e.split("/").pop(),t=this.getCurentSceneRoot(),i=h.findName(t,this.pageUIs),s=h.findName(t,this.popUIs);return i.children.concat(s.children).some((function(e){return e.name==n}))},r.getCurentSceneRoot=function(){return a.getScene().getChildByName("Canvas")},s}(c))||g));e("uiMgr",m.ins());s._RF.pop()}}})); System.register("chunks:///_virtual/UpgradeGunUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseExp.ts","./List.ts","./AutoBind.ts","./UserData.ts","./MsgHints.ts","./Constants.ts","./StateManager.ts","./UpgradeItem.ts","./UIManager.ts","./AudioManager.ts"],(function(t){var e,n,a,i,r,u,o,l,s,c,d,p,g,f,m,h,_,b,U;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,a=t.initializerDefineProperty,i=t.assertThisInitialized,r=t.extends},function(t){u=t.cclegacy,o=t._decorator,l=t.Label,s=t.Node},function(t){c=t.BaseExp},function(t){d=t.default},function(t){p=t.autoBind},function(t){g=t.userIns},function(t){f=t.default},function(t){m=t.Constants},function(t){h=t.stateMgr},function(t){_=t.UpgradeItem},function(t){b=t.uiMgr},function(t){U=t.audioMgr}],execute:function(){var v,y,I,D,G,w,A,x,L,M,E;u._RF.push({},"247c72EjOJKwrNfkJ+UppoA","UpgradeGunUI",void 0);var z=o.ccclass;o.property,t("UpgradeGunUI",(v=z("UpgradeGunUI"),y=p({type:d,tooltip:"枪的属性数据"}),I=p({type:l,tooltip:"金币文本"}),D=p({type:l,tooltip:"钻石文本"}),G=p({type:s,tooltip:"模型摄像机"}),v((x=e((A=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),u=0;u0?Math.max.apply(Math,n.map((function(e){return e.level}))):0,i=t+"Level";return{totalValue:v.playerGunsTable.find((function(t){return t.id==e.id}))[t]+a,maxLevel:l,isMaxLevel:e[i]>=l}},i.upgradeGun=function(e,t){if(e){var n=this.data.guns.find((function(t){return t.id==e.id}));if(n)n[t+"Level"]+=1,this.getGunData(e.id,!0,t)}},i.getCurUseGun=function(){var e={};if(this.data.useIdx=1e8?(t/1e8).toFixed(1)+"亿":t>=1e7?(t/1e7).toFixed(1)+"千万":t>=1e6?(t/1e6).toFixed(1)+"百万":t>=1e4?(t/1e4).toFixed(1)+"万":t>=1e3?(t/1e3).toFixed(1)+"k":t.toString()},t.objectToArray=function(t){var r=[];for(var e in t)t.hasOwnProperty(e)&&r.push(t[e]);return r},t.arrayToObject=function(t,r){var e={};for(var n in t)t.hasOwnProperty(n)&&t[n][r]&&(e[t[n][r]]=t[n]);return e},t.getWeightRandIndex=function(t,r){for(var e=Math.floor(Math.random()*r),n=0,o=0;o=t+1);){n=this.getRandomInt(0,t);for(var a=0,i=0;i0;n--){var o=Math.floor(Math.random()*(n+1)),a=[e[o],e[n]];e[n]=a[0],e[o]=a[1]}return r>=e.length?e:e.slice(0,r)},t.isEmptyObject=function(t){var r=!0;if(t&&t.constructor===Object){for(var e in t)if(t.hasOwnProperty(e)){r=!1;break}}else r=!1;return r},t.isNewDay=function(t){var r=new Date(t),e=new Date,n=r.getYear(),o=r.getMonth(),a=r.getDate(),i=e.getYear(),u=e.getMonth(),f=e.getDate();return i>n||(u>o||f>a)},t.getPropertyCount=function(t){var r,e=0;for(r in t)t.hasOwnProperty(r)&&e++;return e},t.difference=function(t,r){var e=[];if(t.constructor!==Array||r.constructor!==Array)return e;for(var n=t.length,o=0;oe}return o},t.getDeltaDays=function(t,r){t=new Date(t),r=new Date(r);var e=t.getFullYear(),n=t.getMonth()+1,o=t.getDate(),a=r.getFullYear(),i=r.getMonth()+1,u=r.getDate();t=new Date(e+"/"+n+"/"+o+" GMT+0800").getTime();var f=(r=new Date(a+"/"+i+"/"+u+" GMT+0800").getTime())-t;return Math.floor(f/864e5)},t.getMin=function(t){var r=null;if(t.constructor===Array)for(var e=t.length,n=0;nNumber(t[n])?Number(t[n]):r;return r},t.formatTwoDigits=function(t){return(Array(2).join(0)+t).slice(-2)},t.formatDate=function(t,r){var e={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var n in/(y+)/.test(r)&&(r=r.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(r)&&(r=r.replace(RegExp.$1,1===RegExp.$1.length?e[n]:("00"+e[n]).substr((""+e[n]).length)));return r},t.getDay=function(){var t=new Date;return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},t.formatName=function(t,r){r=r||6;var e=this._stringToArray(t),n="";if(e.length>r){for(var o=0;o=1e4)){e=Math.floor(t)+r[n];break}t/=1e3}return""===e&&(e=Math.floor(t)+"U"),e},t.verbatim=function(t,r,e,n,o,a){if(void 0===n&&(n=0),void 0===o&&(o=0),void 0===a&&(a=.1),r.hasOwnProperty("length")){t.node.active=!0,t.unscheduleAllCallbacks();var i=function(){var o=r.replace(/ /g,"").split(""),i=0,u="";t.schedule((function r(){if(u+=o[i],t.string=u,++i>=o.length){t.unschedule(r);var a=function(){null==e||e()};n>0?t.scheduleOnce(a,n):a()}}),a,Number.MAX_SAFE_INTEGER)};o>0?t.scheduleOnce(i.bind(this),o):i()}},t.formatValue=function(t){for(var r=[],e="",n=0;n<26;n++)r.push(String.fromCharCode(97+n));for(var o=0;o=1e4)){e=Math.floor(t)+r[o];break}t/=1e3}return e},t.formatTimeForSecond=function(t,r){void 0===r&&(r=!1);var e="",n=t%60,o=Math.floor(t/60);o=o<0?0:o;var a=Math.floor(o/60),i=o%60;return a>0?(e+=a>9?a.toString():"0"+a,e+=":"):e+="00:",e+=i>9?i.toString():"0"+i,r||(e+=":",e+=n>9?n.toString():"0"+n),e},t.distance=function(t,r){var e=r.x-t.x,n=r.y-t.y,o=r.z-t.z;return Math.sqrt(e*e+n*n+o*o)},t.formatTimeForMillisecond=function(t){var r=Math.floor(t/1e3%60),e=Math.floor(t/1e3/60%60);return{hour:Math.floor(t/1e3/60/60),minute:e,second:r}},t.formatTimestamp=function(t){var r=new Date(t);return r.getFullYear()+"-"+String(r.getMonth()+1).padStart(2,"0")+"-"+String(r.getDate()).padStart(2,"0")+" "+String(r.getHours()).padStart(2,"0")+":"+String(r.getMinutes()).padStart(2,"0")+":"+String(r.getSeconds()).padStart(2,"0")},t.randomArray=function(t){for(var r=t.length-1;r>0;r--){var e=Math.floor(Math.random()*(r+1)),n=[t[e],t[r]];t[r]=n[0],t[e]=n[1]}return t},t.getOffsetMimutes=function(t,r){var e=r-t;return Math.floor(e%36e5/6e4)},t.getRandomFloat=function(t,r){return Math.random()*(r-t)+t},t.formatNumToFixed=function(t,r){return void 0===r&&(r=0),Number(t.toFixed(r))},t.lerp=function(t,r,e){void 0===e&&(e=.25);var n=r;return t>r?n=r+(t-r)*e:t>2,a=(3&r)<<4|(e=t.charCodeAt(l++))>>4,i=(15&e)<<2|(n=t.charCodeAt(l++))>>6,u=63&n,isNaN(e)?i=u=64:isNaN(n)&&(u=64),c=c+f.charAt(o)+f.charAt(a)+f.charAt(i)+f.charAt(u);return c},t._utf8Encode=function(t){t=t.replace(/\r\n/g,"\n");for(var r="",e=0;e127&&n<2048?(r+=String.fromCharCode(n>>6|192),r+=String.fromCharCode(63&n|128)):(r+=String.fromCharCode(n>>12|224),r+=String.fromCharCode(n>>6&63|128),r+=String.fromCharCode(63&n|128))}return r},t._utf8Decode=function(t){for(var r="",e=0,n=0,o=0,a=0;e191&&n<224?(o=t.charCodeAt(e+1),r+=String.fromCharCode((31&n)<<6|63&o),e+=2):(o=t.charCodeAt(e+1),a=t.charCodeAt(e+2),r+=String.fromCharCode((15&n)<<12|(63&o)<<6|63&a),e+=3);return r},t._base64Decode=function(t){var r,e,n,o,a,i,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f="",c=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");c>4,e=(15&o)<<4|(a=u.indexOf(t.charAt(c++)))>>2,n=(3&a)<<6|(i=u.indexOf(t.charAt(c++))),f+=String.fromCharCode(r),64!=a&&(f+=String.fromCharCode(e)),64!=i&&(f+=String.fromCharCode(n));return f=this._utf8Decode(f)},t.pageAnim=function(t,r,e){void 0===r&&(r=!0);var a=t.getComponent(n);if(t&&a){a.opacity=r?25:255;var i=r?255:25;o(a).to(.4,{opacity:i}).call(function(){null==e||e()}.bind(this)).start()}else null==e||e()},t.chunk=function(t,r){if(!(null===t?0:t.length)||r<1)return[];for(var e=[];t.length>r;)e.push(t.slice(0,r)),t=t.slice(r);return e.push(t),e},t.upperCase=function(t){return this.isNull(t)?"":t.replace(/^\w/,(function(t){return t.toUpperCase()}))},t.findName=function(t,r){var e;return-1!=r.indexOf("/")?e=a(r,t):(t||(t=i.getScene()),e=t.name===r?t:this.findChild(r,t)),e||(console.log("没有找到指定的Node, node name ==",r),null)},t.findChild=function(t,r){var e=r.getChildByName(t);if(e)return e;for(var n=r.children,o=0;oo){if(0==r)return(n=Math.ceil(n/o)).toString()+"万";var a=(n/o).toFixed(r);return e?this.removeZeros(a)+"万":a+"万"}return Math.ceil(t).toString()},t.formatNumber=function(t){if(null==t||null==t)return 0;var r=t.toString();if(r.includes(".")&&/\.0+$/.test(r))return parseInt(r,10);var e=t.toFixed(2);return e.endsWith(".00")?parseInt(e,10):parseFloat(e)},t.removeZeros=function(t){var r=t.trim();if(-1!==r.indexOf(".")){for(var e=r.length-1;"0"===r[e];)e--;return"."===r[e]&&e--,r.slice(0,e+1)}return r},t.remove=function(t,r){var e=t.indexOf(r);e>-1&&t.splice(e,1)},t.hexColor=function(t){var r=t.replace(/^#?/,"0x"),e=parseInt(r);return new u(e>>16,(65280&e)>>8,255&e,255)},t.filtion=function(t){return g.some((function(r){var e=t.toLowerCase(),n=r.toLowerCase();return e.includes(n)}))},t.pDistance=function(t,r){var e=t.x-r.x,n=t.y-r.y;return Math.sqrt(e*e+n*n)},t.pAbsDistance=function(t,r){return Math.abs(t.x-r.x)+Math.abs(t.y-r.y)},t.angle_to_vector=function(t){var r=this.angle_to_radian(t),e=Math.cos(r),n=Math.sin(r);return new f(e,n).normalize()},t.vector_to_angle=function(t){var r=t.normalize().signAngle(new f(1,0));return-this.radian_to_angle(r)},t.angle_to_radian=function(t){return Math.PI/180*t},t.radian_to_angle=function(t){return 180/Math.PI*t},t.getAngle=function(t,r){var e=r.x-t.x,n=r.y-t.y,o=e/Math.sqrt(e*e+n*n),a=Math.acos(o),i=180/(Math.PI/a);return n<0?i=0-i:0==n&&e<0&&(i=180),i},t.numberToString=function(t){console.log("当前的值: "+t);var r=Number(t);return isNaN(r)?"0":r<1e5?Math.floor(r).toString():this.formatBigNumber(r,["","K","M","B"],1e3)},t.formatBigNumber=function(t,r,e){void 0===e&&(e=1e4);var n=Number(t);if(isNaN(n))return"0";var o=r||["","万","亿","万亿"],a=e;if(n=1e3?c=0:f>=100&&(c=1);var l=f.toFixed(c);return l.endsWith(".00")?l=l.slice(0,-3):l.endsWith("0")&&c>0&&(l=l.replace(/0+$/,"").replace(/\.$/,"")),l+o[u]},t.convertPosition=function(t,r){var e=t.position.clone(),n=t.parent.getComponent(c).convertToWorldSpaceAR(e);return r.getComponent(c).convertToNodeSpaceAR(n)},t.randomPointGenerator=function(t,r){var e=Math.random()*Math.PI*2,n=Math.sqrt(Math.random())*r,o=t.x+n*Math.cos(e),a=t.y+n*Math.sin(e);return new l(o,a,1)},t.convertPositionPos=function(t,r,e){var n=r.clone(),o=t.parent.getComponent(c).convertToWorldSpaceAR(n);return e.getComponent(c).convertToNodeSpaceAR(o)},t.getScreenCenterWorldPos=function(t,r){if(void 0===r&&(r=0),!t)return l.ZERO;var e=h.getVisibleSize(),n=e.width/2,o=e.height/2,a=t.screenPointToRay(n,o),i=(r-a.o.y)/a.d.y;return new l(a.o.x+a.d.x*i,a.o.y+a.d.y*i,a.o.z+a.d.z*i)},t.lookAtNode=function(t,r,e){if(void 0===e&&(e=.3),t&&r){var n=r.worldPosition,a=t.worldPosition,i=new l;l.subtract(i,n,a);var u=new l(i.x,0,i.z).normalize(),f=(l.distance(n,a),n.y-a.y),c=s.toRadian(s.clamp(180*Math.atan2(f,Math.sqrt(i.x*i.x+i.z*i.z))/Math.PI,-89,89)),h=new d;d.fromViewUp(h,u,l.UP);var g=new d;if(d.fromEuler(g,c,0,0),d.multiply(h,h,g),e<=0)t.setRotation(h);else{var v=t.rotation.clone();o(t).to(e,{rotation:h},{onUpdate:function(r,e){var n=new d;d.slerp(n,v,h,e),t.setRotation(n)}}).start()}}},t.calculateParabolaCenter=function(t,r){var e=r.x-t.x,n=(t.x+r.x)/2,o=Math.max(t.y,r.y)+Math.abs(e)/4;return new l(n,o)},t.randomUIPointGenerator=function(t,r,e){var n=t.getComponent(c).contentSize,o=Math.min(n.width/2-Math.abs(r.x),n.height/2-Math.abs(r.y)),a=Math.min(e,o),i=Math.random()*Math.PI*2,u=Math.sqrt(Math.random())*a;return new l(r.x+u*Math.cos(i),r.y+u*Math.sin(i),0)},t.getRandomColor=function(){var t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random()),e=Math.floor(256*Math.random());return new u(t,r,e)},t.ratioInterstitialAd=function(t){void 0===t&&(t=.2);var r=Math.min(t,1);Math.random()<=r&&v.platform.showInterstitialAd()},t}())||m);r._RF.pop()}}})); System.register("chunks:///_virtual/Verbatim.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i;return{setters:[function(t){e=t.extends},function(t){i=t.cclegacy}],execute:function(){i._RF.push({},"0a3efyhuFtIZ6sQMHFeWv8u","Verbatim",void 0);t("VerbatimEffect",function(){function t(t,i){void 0===i&&(i={}),this.label=void 0,this.textQueue=[],this.currentIndex=0,this.isPlaying=!1,this.options=void 0,this.onCompleteCallback=null,this.onCharCallback=null,this.onTextStartCallback=null,this.onTextCompleteCallback=null,this.label=t,this.options=e({speed:.1,delay:0,callbackDelay:0,autoStart:!0,preserveSpaces:!1},i)}var i=t.prototype;return i.addText=function(t){var e;Array.isArray(t)?(e=this.textQueue).push.apply(e,t):this.textQueue.push(t);return this},i.onComplete=function(t){return this.onCompleteCallback=t,this},i.onChar=function(t){return this.onCharCallback=t,this},i.onTextStart=function(t){return this.onTextStartCallback=t,this},i.onTextComplete=function(t){return this.onTextCompleteCallback=t,this},i.start=function(){var t=this;this.isPlaying||0===this.textQueue.length||(this.isPlaying=!0,this.currentIndex=0,this.label.node.active=!0,this.label.string="",this.options.delay&&this.options.delay>0?this.label.scheduleOnce((function(){return t.playNextText()}),this.options.delay):this.playNextText())},i.stop=function(){this.isPlaying=!1,this.label.unscheduleAllCallbacks()},i.skipCurrent=function(){if(this.isPlaying){this.label.unscheduleAllCallbacks();var t=this.textQueue[this.currentIndex];this.label.string=this.options.preserveSpaces?t:t.replace(/\s/g,""),this.handleTextComplete(t,this.currentIndex)}},i.skipAll=function(){if(this.isPlaying){this.stop();for(var t="",e=this.currentIndex;e=this.textQueue.length)return this.isPlaying=!1,void(this.onCompleteCallback&&this.executeCallback(this.onCompleteCallback,this.options.callbackDelay));var e=this.textQueue[this.currentIndex],i=(this.options.preserveSpaces?e:e.replace(/\s/g,"")).split(""),l=0,s="";this.onTextStartCallback&&this.onTextStartCallback(e,this.currentIndex);this.label.schedule((function n(){if(t.isPlaying){var a=i[l];s+=a,t.label.string=s,t.onCharCallback&&t.onCharCallback(a),++l>=i.length&&(t.label.unschedule(n),t.handleTextComplete(e,t.currentIndex++))}}),this.options.speed,i.length-1,0)},i.handleTextComplete=function(t,e){this.onTextCompleteCallback&&this.onTextCompleteCallback(t,e),this.playNextText()},i.executeCallback=function(t,e){void 0===e&&(e=0),e&&e>0?this.label.scheduleOnce((function(){return t()}),e):t()},t}());i._RF.pop()}}})); System.register("chunks:///_virtual/zh.ts",["cc","./LanguageData.ts"],(function(){var e,a;return{setters:[function(a){e=a.cclegacy},function(e){a=e.default}],execute:function(){e._RF.push({},"3c2acsRBE9KO4h4sGTiBlRL","zh",void 0),a.languages.zh={main:{"加载中...":"资源加载中...","关卡任务:%{value}":"关卡任务:%{value}","关卡任务 %{value}":"关卡任务 %{value}","%{value}级解锁":"%{value}级解锁","凑齐道具不足":"凑齐道具不足","未找到合适物品":"未找到合适物品","冰冻中":"冰冻中","体力已满":"体力已满","购买成功":"购买成功","已满":"已满","关卡%{value}通过":"关卡%{value} 通过"}},e._RF.pop()}}})); (function(r) { r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main'); })(function(mid, cid) { System.register(mid, [cid], function (_export, _context) { return { setters: [function(_m) { var _exportObj = {}; for (var _key in _m) { if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key]; } _export(_exportObj); }], execute: function () { } }; }); });