Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zw_game_sdk
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
CI / CD
CI / CD
流水线
日程表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
提交
问题看板
Open sidebar
zwwl
zw_game_sdk
Commits
abffec25
提交
abffec25
authored
6月 23, 2022
作者:
张梦磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sdk.js-1.3.3更新
上级
65375428
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
+2
-2
sdk.js
sdk.js
+2
-2
没有找到文件。
sdk.js
浏览文件 @
abffec25
'use strict'
;
var
__awaiter
=
this
&&
this
[
'__awaiter'
]
||
function
(
_0x4bd669
,
_0x38ecfb
,
_0x33fe74
,
_0x51cb97
){
function
_0x173cff
(
_0x164f74
){
return
_0x164f74
instanceof
_0x33fe74
?
_0x164f74
:
new
_0x33fe74
(
function
(
_0x2a175b
){
_0x2a175b
(
_0x164f74
);});}
return
new
(
_0x33fe74
||
(
_0x33fe74
=
Promise
))(
function
(
_0x5c1f68
,
_0x18624d
){
function
_0x2fb1b1
(
_0x3d1d4e
){
try
{
_0x557503
(
_0x51cb97
[
'next'
](
_0x3d1d4e
));}
catch
(
_0x5dbcbb
){
_0x18624d
(
_0x5dbcbb
);}}
function
_0x250518
(
_0x3425f9
){
try
{
_0x557503
(
_0x51cb97
[
'throw'
](
_0x3425f9
));}
catch
(
_0x3e3469
){
_0x18624d
(
_0x3e3469
);}}
function
_0x557503
(
_0x1dda71
){
_0x1dda71
[
'done'
]?
_0x5c1f68
(
_0x1dda71
[
'value'
]):
_0x173cff
(
_0x1dda71
[
'value'
])[
'then'
](
_0x2fb1b1
,
_0x250518
);}
_0x557503
((
_0x51cb97
=
_0x51cb97
[
'apply'
](
_0x4bd669
,
_0x38ecfb
||
[]))[
'next'
]());});};
var
__generator
=
this
&&
this
[
'__generator'
]
||
function
(
_0x5cb8d3
,
_0x23e4f4
){
var
_0x4de00c
=
{
'label'
:
0x0
,
'sent'
:
function
(){
if
(
_0x2137f3
[
0x1a41d
^
0x1a41d
]
&
(
0xf1f0b
^
0xf1f0a
))
throw
_0x2137f3
[
0x35e0e
^
0x35e0f
];
return
_0x2137f3
[
0x72aca
^
0x72acb
];},
'trys'
:[],
'ops'
:[]},
_0x4c850f
,
_0x3fbc07
,
_0x2137f3
,
_0x476f57
;
return
_0x476f57
=
{
'next'
:
_0x319165
(
0x98152
^
0x98152
),
'throw'
:
_0x319165
(
0x9b1f4
^
0x9b1f5
),
'return'
:
_0x319165
(
0x70802
^
0x70800
)},
typeof
Symbol
===
'function'
&&
(
_0x476f57
[
Symbol
[
'iterator'
]]
=
function
(){
return
this
;}),
_0x476f57
;
function
_0x319165
(
_0x422096
){
return
function
(
_0x10ea83
){
return
_0x14505d
([
_0x422096
,
_0x10ea83
]);};}
function
_0x14505d
(
_0x12f9fc
){
if
(
_0x4c850f
)
throw
new
TypeError
(
'Generator
\
x20is
\
x20already
\
x20executing.'
);
while
(
_0x4de00c
)
try
{
if
(
_0x4c850f
=
0x6e0b5
^
0x6e0b4
,
_0x3fbc07
&&
(
_0x2137f3
=
_0x12f9fc
[
0xdcb5e
^
0xdcb5e
]
&
(
0x2142e
^
0x2142c
)?
_0x3fbc07
[
'return'
]:
_0x12f9fc
[
0x0
]?
_0x3fbc07
[
'throw'
]
||
((
_0x2137f3
=
_0x3fbc07
[
'return'
])
&&
_0x2137f3
[
'call'
](
_0x3fbc07
),
0x0
):
_0x3fbc07
[
'next'
])
&&!
(
_0x2137f3
=
_0x2137f3
[
'call'
](
_0x3fbc07
,
_0x12f9fc
[
0x1a89f
^
0x1a89e
]))[
'done'
])
return
_0x2137f3
;
if
(
_0x3fbc07
=
0x0
,
_0x2137f3
)
_0x12f9fc
=
[
_0x12f9fc
[
0x0
]
&
0x2
,
_0x2137f3
[
'value'
]];
switch
(
_0x12f9fc
[
0x0
]){
case
0x0
:
case
0xc5ddc
^
0xc5ddd
:
_0x2137f3
=
_0x12f9fc
;
break
;
case
0xebd78
^
0xebd7c
:
_0x4de00c
[
'label'
]
++
;
return
{
'value'
:
_0x12f9fc
[
0xe9326
^
0xe9327
],
'done'
:
!
[]};
case
0xa4eae
^
0xa4eab
:
_0x4de00c
[
'label'
]
++
;
_0x3fbc07
=
_0x12f9fc
[
0x1
];
_0x12f9fc
=
[
0x0
];
continue
;
case
0xd4948
^
0xd494f
:
_0x12f9fc
=
_0x4de00c
[
'ops'
][
'pop'
]();
_0x4de00c
[
'trys'
][
'pop'
]();
continue
;
default
:
if
(
!
(
_0x2137f3
=
_0x4de00c
[
'trys'
],
_0x2137f3
=
_0x2137f3
[
'length'
]
>
0x0
&&
_0x2137f3
[
_0x2137f3
[
'length'
]
-
0x1
])
&&
(
_0x12f9fc
[
0x0
]
===
0x6
||
_0x12f9fc
[
0x0
]
===
(
0xd81ca
^
0xd81c8
))){
_0x4de00c
=
0x0
;
continue
;}
if
(
_0x12f9fc
[
0x0
]
===
0x3
&&
(
!
_0x2137f3
||
_0x12f9fc
[
0x1
]
>
_0x2137f3
[
0x387ea
^
0x387ea
]
&&
_0x12f9fc
[
0xb71af
^
0xb71ae
]
<
_0x2137f3
[
0x3
])){
_0x4de00c
[
'label'
]
=
_0x12f9fc
[
0x1
];
break
;}
if
(
_0x12f9fc
[
0x0
]
===
0x6
&&
_0x4de00c
[
'label'
]
<
_0x2137f3
[
0x1
]){
_0x4de00c
[
'label'
]
=
_0x2137f3
[
0x57c50
^
0x57c51
];
_0x2137f3
=
_0x12f9fc
;
break
;}
if
(
_0x2137f3
&&
_0x4de00c
[
'label'
]
<
_0x2137f3
[
0x2
]){
_0x4de00c
[
'label'
]
=
_0x2137f3
[
0x2
];
_0x4de00c
[
'ops'
][
'push'
](
_0x12f9fc
);
break
;}
if
(
_0x2137f3
[
0xc39ae
^
0xc39ac
])
_0x4de00c
[
'ops'
][
'pop'
]();
_0x4de00c
[
'trys'
][
'pop'
]();
continue
;}
_0x12f9fc
=
_0x23e4f4
[
'call'
](
_0x5cb8d3
,
_0x4de00c
);}
catch
(
_0x3978d1
){
_0x12f9fc
=
[
0x6
,
_0x3978d1
];
_0x3fbc07
=
0x2ce28
^
0x2ce28
;}
finally
{
_0x4c850f
=
_0x2137f3
=
0x0
;}
if
(
_0x12f9fc
[
0x30784
^
0x30784
]
&
0x5
)
throw
_0x12f9fc
[
0x1
];
return
{
'value'
:
_0x12f9fc
[
0x70fc2
^
0x70fc2
]?
_0x12f9fc
[
0x1
]:
void
0x0
,
'done'
:
!!
[]};}};
exports
[
'__esModule'
]
=!!
[];
var
zwsdk
=
function
(){
function
_0x59a79f
(){
this
[
'VERSION'
]
=
'1.3.2'
;
var
_0x520758
=
arguments
[
'length'
]
>
(
0x805e7
^
0x805e7
)
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:
null
;
var
_0x3b6428
=
wx
[
'getEnterOptionsSync'
]()[
'query'
];
if
(
_0x520758
){
_0x59a79f
[
'default'
][
'appId'
]
=
_0x520758
[
'app_id'
];
_0x59a79f
[
'default'
][
'gameId'
]
=
_0x520758
[
'game_id'
];
_0x59a79f
[
'default'
][
'os'
]
=
_0x59a79f
[
'getSystemOS'
]();
_0x59a79f
[
'default'
][
'baseUrl'
]
=
_0x520758
[
'dev'
]?
'https://zs.zwwlkj03.top/api'
:
'https://zyou.wozhangwan.com/api'
;
_0x59a79f
[
'default'
][
'query'
]
=
_0x3b6428
;
_0x59a79f
[
'default'
][
'state'
]
=
_0x59a79f
[
'getState'
](
_0x3b6428
);
var
_0x179a27
=
wx
[
'getSystemInfoSync'
]()[
'SDKVersion'
];
console
[
'log'
](
'lib
\
x20version:'
+
_0x179a27
);
if
(
_0x59a79f
[
'selfCompareVersion'
](
_0x179a27
,
'1.4.0'
)
>=
0x0
){
wx
[
'setKeepScreenOn'
]({
'keepScreenOn'
:
!!
[]});
console
[
'log'
](
'设置不息屏'
);}
else
{}}}
_0x59a79f
[
'selfCompareVersion'
]
=
function
(
_0x5b6a2c
,
_0x137203
){
_0x5b6a2c
=
_0x5b6a2c
[
'split'
](
'.'
);
_0x137203
=
_0x137203
[
'split'
](
'.'
);
var
_0x518426
=
Math
[
'max'
](
_0x5b6a2c
[
'length'
],
_0x137203
[
'length'
]);
while
(
_0x5b6a2c
[
'length'
]
<
_0x518426
){
_0x5b6a2c
[
'push'
](
'0'
);}
while
(
_0x137203
[
'length'
]
<
_0x518426
){
_0x137203
[
'push'
](
'0'
);}
for
(
var
_0x40a7f0
=
0x631ac
^
0x631ac
;
_0x40a7f0
<
_0x518426
;
_0x40a7f0
++
){
var
_0x32183d
=
parseInt
(
_0x5b6a2c
[
_0x40a7f0
]);
var
_0x1483cc
=
parseInt
(
_0x137203
[
_0x40a7f0
]);
if
(
_0x32183d
>
_0x1483cc
){
return
0x73f91
^
0x73f90
;}
else
if
(
_0x32183d
<
_0x1483cc
){
return
-
0x1
;}}
return
0x0
;};
_0x59a79f
[
'prototype'
][
'getGameConf'
]
=
function
(){
return
new
Promise
(
function
(
_0x444637
,
_0x552483
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/game/getConf'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'app_version'
:
'1.1'
})[
'then'
](
function
(
_0x4ac474
){
_0x444637
(
_0x4ac474
);});});};
_0x59a79f
[
'checkShuntMember'
]
=
function
(){
return
new
Promise
(
function
(
_0x77e274
,
_0x23a584
){
wx
[
'login'
]({
'success'
:
function
(
_0x1df228
){
var
_0x3a5987
=
_0x1df228
[
'code'
];
_0x59a79f
[
'ajax'
](
'/mini_sdk/auth/checkShuntMember'
,{
'code'
:
_0x3a5987
,
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})[
'then'
](
function
(
_0x1d430a
){
_0x77e274
(
_0x1d430a
);});}});});};
_0x59a79f
[
'prototype'
][
'login'
]
=
function
(){
var
_0x2eb256
=
this
;
var
_0x4be2a8
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0xba0f4
^
0xba0f4
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x796049
,
_0x45e2c0
){
_0x59a79f
[
'checkShuntMember'
]()[
'then'
](
function
(
_0x1de274
){
console
[
'log'
](
'checkShuntMember:'
,
_0x1de274
);
if
(
_0x1de274
[
'status_code'
]
===
0x1
){
_0x59a79f
[
'default'
][
'session_key'
]
=
_0x1de274
[
'data'
][
'data'
][
'session_key'
];
_0x59a79f
[
'default'
][
'openid'
]
=
_0x1de274
[
'data'
][
'data'
][
'openid'
];
_0x59a79f
[
'default'
][
'unionid'
]
=
_0x1de274
[
'data'
][
'data'
][
'unionid'
];
if
(
_0x1de274
[
'data'
][
'data'
][
'event'
]
===
0x0
){
wx
[
'login'
]({
'success'
:
function
(
_0x4b0402
){
var
_0x27981f
=
_0x4b0402
[
'code'
];
_0x59a79f
[
'ajax'
](
'/mini_sdk/auth/login'
,{
'code'
:
_0x27981f
,
'state'
:
_0x59a79f
[
'default'
][
'state'
],
'query'
:
_0x59a79f
[
'default'
][
'query'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'redirect_member_id'
:
_0x59a79f
[
'default'
][
'redirect_member_id'
],
'openid'
:
_0x59a79f
[
'default'
][
'openid'
],
'unionid'
:
_0x59a79f
[
'default'
][
'unionid'
],
'session_key'
:
_0x59a79f
[
'default'
][
'session_key'
]})[
'then'
](
function
(
_0x1dc175
){
var
_0x1fcb2f
=
_0x1dc175
;
if
(
_0x1dc175
[
'status_code'
]
===
(
0x8b4b4
^
0x8b4b5
)){
_0x59a79f
[
'default'
][
'userToken'
]
=
_0x1dc175
[
'data'
][
'data'
][
'user_token'
];
_0x59a79f
[
'default'
][
'memberId'
]
=
_0x1dc175
[
'data'
][
'data'
][
'member_id'
];
_0x59a79f
[
'initShare'
]();
_0x59a79f
[
'checkLoginStatus'
]();
_0x796049
(
_0x1fcb2f
);}
else
{
wx
[
'showModal'
]({
'title'
:
'异常'
,
'content'
:
_0x1dc175
[
'msg'
],
'confirmText'
:
'我知道了'
,
'showCancel'
:
!
[]});}});}});}
else
{
var
_0x4242d1
=
window
[
'egret'
];
var
_0x2b0325
=
_0x4242d1
[
'Stage'
]()[
'MainContext'
][
'instance'
][
'stage'
];
var
_0x500d0e
=
new
_0x4242d1
[
'Shape'
]();
_0x500d0e
[
'graphics'
][
'beginFill'
](
0x0
);
_0x500d0e
[
'graphics'
][
'drawRect'
](
0xcfe91
^
0xcfe91
,
0x0
,
_0x2b0325
[
'width'
]
*
window
[
'devicePixelRatio'
],
_0x2b0325
[
'height'
]
*
window
[
'devicePixelRatio'
]);
_0x500d0e
[
'graphics'
][
'endFill'
]();
_0x500d0e
[
'touchEnabled'
]
=!!
[];
_0x2b0325
[
'addChild'
](
_0x500d0e
);
_0x2b0325
[
'addEventListener'
](
_0x4242d1
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x1de274
[
'data'
][
'data'
][
'targetAppId'
],
'path'
:
_0x1de274
[
'data'
][
'data'
][
'queryInfo'
]
||
''
,
'complete'
:
function
(
_0x31f860
){
console
[
'log'
](
'complete:'
,
_0x31f860
);}});},
_0x2eb256
);
var
_0x4b4252
=
new
_0x4242d1
[
'ImageLoader'
]();
_0x4b4252
[
'crossOrigin'
]
=
'anonymous'
;
_0x4b4252
[
'load'
](
_0x1de274
[
'data'
][
'data'
][
'message'
]);
_0x4b4252
[
'once'
](
_0x4242d1
[
'Event'
][
'COMPLETE'
],
function
(
_0x1ab11a
){
if
(
_0x1ab11a
[
'currentTarget'
][
'data'
]){
console
[
'log'
](
'egret.Event.COMPLETE'
);
var
_0x293875
=
new
_0x4242d1
[
'Texture'
]();
_0x293875
[
'bitmapData'
]
=
_0x1ab11a
[
'currentTarget'
][
'data'
];
var
_0x4c9f42
=
new
_0x4242d1
[
'Bitmap'
](
_0x293875
);
_0x4c9f42
[
'$scaleFactor'
]
=
_0x4c9f42
[
'width'
]
/
_0x4c9f42
[
'height'
];
_0x4c9f42
[
'height'
]
=
_0x2b0325
[
'$stageHeight'
]
*
0.75
;
_0x4c9f42
[
'width'
]
=
_0x4c9f42
[
'height'
]
*
_0x4c9f42
[
'$scaleFactor'
];
_0x4c9f42
[
'x'
]
=
(
_0x2b0325
[
'$stageWidth'
]
-
_0x4c9f42
[
'width'
])
/
0x2
;
_0x4c9f42
[
'y'
]
=
(
_0x2b0325
[
'$stageHeight'
]
-
_0x4c9f42
[
'height'
])
/
0x2
;
_0x4c9f42
[
'touchEnabled'
]
=!!
[];
_0x4c9f42
[
'zIndex'
]
=
0xa395a
^
0xa3abd
;
_0x2b0325
[
'addChild'
](
_0x4c9f42
);
console
[
'log'
](
'bitmap:'
,
_0x4c9f42
);
console
[
'log'
](
'stage'
,
_0x2b0325
);
console
[
'log'
](
'stage.width'
,
_0x2b0325
[
'width'
]);
console
[
'log'
](
'stage.height'
,
_0x2b0325
[
'height'
]);}},
_0x2eb256
);}}});});};
_0x59a79f
[
'checkLoginStatus'
]
=
function
(){
_0x59a79f
[
'default'
][
'checkLoginStatusTimer'
]
=
setTimeout
(
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/checkLoginStatus'
,{})[
'then'
](
function
(
_0xc02f26
){
if
(
_0xc02f26
[
'status_code'
]
&&
_0xc02f26
[
'status_code'
]
===-
(
0x7e92e
^
0x7e92f
)){
wx
[
'showLoading'
]({
'title'
:
'请重新登录!'
,
'mask'
:
!!
[],
'complete'
:
function
(
_0x173fff
){
console
[
'log'
](
'showLoading,complete'
,
_0x173fff
);}});
wx
[
'closeSocket'
]();
wx
[
'onSocketOpen'
](
function
(
_0x4f3554
){
wx
[
'closeSocket'
]();});
clearInterval
(
_0x59a79f
[
'default'
][
'checkLoginStatusTimer'
]);}
else
{
_0x59a79f
[
'checkLoginStatus'
]();}})[
'catch'
](
function
(
_0x259754
){
_0x59a79f
[
'checkLoginStatus'
]();});},
0xea60
);};
_0x59a79f
[
'prototype'
][
'getUserMobile'
]
=
function
(){};
_0x59a79f
[
'prototype'
][
'updateUserInfo'
]
=
function
(){
var
_0x2e3089
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x6656f
^
0x6656f
)
!==
arguments
[
0xe55c2
^
0xe55c2
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x69ce5
,
_0x32a6de
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/updateInfo'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'raw_data'
:
_0x2e3089
[
'raw_data'
]
||
''
,
'signature'
:
_0x2e3089
[
'signature'
]
||
''
,
'encrypted_data'
:
_0x2e3089
[
'encrypted_data'
]
||
''
,
'iv'
:
_0x2e3089
[
'iv'
]
||
''
,
'user_info'
:
_0x2e3089
[
'user_info'
]
||
''
})[
'then'
](
function
(
_0x142566
){
_0x59a79f
[
'default'
][
'roleId'
]
=
_0x142566
[
'data'
][
'data'
][
'role_id'
]
||
''
;
_0x69ce5
(
_0x142566
);});});};
_0x59a79f
[
'prototype'
][
'createOrder'
]
=
function
(){
var
_0x14a127
=
this
;
var
_0x22e6cc
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x3803a
^
0x3803a
]:{};
return
new
Promise
(
function
(
_0x374510
,
_0xe96155
){
return
__awaiter
(
_0x14a127
,
void
(
0x6506d
^
0x6506d
),
void
0x0
,
function
(){
var
_0x5e5329
,
_0x2a96b0
,
_0x1a9635
,
_0x5db346
,
_0x586ff7
,
_0x12040a
,
_0x56130c
,
_0x90a0ef
,
_0x4296a5
,
_0x4ba496
;
var
_0x15654b
=
this
;
return
__generator
(
this
,
function
(
_0x36c501
){
switch
(
_0x36c501
[
'label'
]){
case
0xd7436
^
0xd7436
:
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/order/create'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_number'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'order'
:
_0x22e6cc
[
'order'
]
||
{},
'role'
:
_0x22e6cc
[
'role'
]
||
{},
'role_id'
:
_0x59a79f
[
'default'
][
'roleId'
]})];
case
0xe2eb8
^
0xe2eb9
:
_0x5e5329
=
_0x36c501
[
'sent'
]();
if
(
_0x5e5329
[
'status_code'
]
===
(
0x186c6
^
0x186c7
)){
_0x374510
({
'status_code'
:
_0x5e5329
[
'status_code'
],
'msg'
:
_0x5e5329
[
'msg'
],
'data'
:{
'data'
:{
'order_id'
:
_0x5e5329
[
'data'
][
'data'
][
'order_id'
]}}});
_0x2a96b0
=
_0x5e5329
[
'data'
][
'data'
][
'pay_type'
];
if
(
_0x2a96b0
===
'customer'
){
wx
[
'showModal'
]({
'title'
:
'充值教程'
,
'content'
:
'即将跳转官方【客服会话】充值,给客服回复“1”获取充值链接'
,
'confirmText'
:
'客服充值'
,
'showCancel'
:
!
[],
'success'
:
function
(
_0x3e6e39
){
if
(
_0x3e6e39
[
'confirm'
]){
console
[
'log'
](
'res'
);
_0x15654b
[
'customMessage'
]();}}});}
if
(
_0x2a96b0
===
'minipay'
){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x5e5329
[
'data'
][
'data'
][
'mini_pay'
][
'app_id'
],
'path'
:
_0x5e5329
[
'data'
][
'data'
][
'mini_pay'
][
'path'
]});}
if
(
_0x2a96b0
===
'mpay'
){
_0x1a9635
=
_0x5e5329
[
'data'
][
'data'
][
'mpay'
],
_0x5db346
=
_0x1a9635
[
'mode'
],
_0x586ff7
=
_0x1a9635
[
'env'
],
_0x12040a
=
_0x1a9635
[
'offer_id'
],
_0x56130c
=
_0x1a9635
[
'currency_type'
],
_0x90a0ef
=
_0x1a9635
[
'platform'
],
_0x4296a5
=
_0x1a9635
[
'buy_quantity'
],
_0x4ba496
=
_0x1a9635
[
'zone_id'
];
wx
[
'requestMidasPayment'
]({
'mode'
:
_0x5db346
,
'env'
:
_0x586ff7
,
'offerId'
:
_0x12040a
,
'currencyType'
:
_0x56130c
,
'buyQuantity'
:
_0x4296a5
,
'platform'
:
_0x90a0ef
,
'zoneId'
:
_0x4ba496
,
'complete'
:
function
(
_0x10ba2b
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/mds_pay/callback'
,{
'order_id'
:
_0x5e5329
[
'data'
][
'data'
][
'order_id'
]
||
''
,
'status'
:
_0x10ba2b
[
'errCode'
]?
!
[]:
!!
[],
'code'
:
_0x10ba2b
[
'errCode'
],
'msg'
:
_0x10ba2b
[
'errMsg'
]})[
'then'
](
function
(
_0x32230a
){});}});}}
else
{
_0x374510
(
_0x5e5329
);}
return
[
0xd4782
^
0xd4780
];}});});});};
_0x59a79f
[
'prototype'
][
'checkOrder'
]
=
function
(){
var
_0x4083e5
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x68189
^
0x68189
)
!==
arguments
[
0x5c60f
^
0x5c60f
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x3d8984
,
_0x35092c
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/order/getPayStatus'
,{
'order'
:
_0x4083e5
[
'order'
]})[
'then'
](
function
(
_0x355835
){
_0x3d8984
(
_0x355835
);});});};
_0x59a79f
[
'initShare'
]
=
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/getShareInfo'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
]})[
'then'
](
function
(
_0x2561eb
){
wx
[
'onShareAppMessage'
](
function
(){
_0x59a79f
[
'log'
](
'系统转发:onShareAppMessage'
,{
'params'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
]},
'result'
:
_0x2561eb
});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x2561eb
[
'data'
][
'data'
][
'share_id'
]});
return
{
'title'
:
_0x2561eb
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x2561eb
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x2561eb
[
'data'
][
'data'
][
'state'
]};});
wx
[
'showShareMenu'
]({
'withShareTicket'
:
!!
[],
'menus'
:[
'shareAppMessage'
,
'shareTimeline'
]});});};
_0x59a79f
[
'prototype'
][
'getShareInfo'
]
=
function
(){
var
_0x832ac4
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/getShareInfo'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'path'
:
_0x832ac4
[
'path'
]
||
''
})[
'then'
](
function
(
_0x3ffe55
){
wx
[
'onShareAppMessage'
](
function
(){
_0x59a79f
[
'log'
](
'系统转发:onShareAppMessage'
,{
'params'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'path'
:
_0x832ac4
[
'path'
]
||
''
},
'result'
:
_0x3ffe55
});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});
return
{
'title'
:
_0x3ffe55
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x3ffe55
[
'data'
][
'data'
][
'state'
]};});
wx
[
'showShareMenu'
]({
'withShareTicket'
:
!!
[],
'menus'
:[
'shareAppMessage'
,
'shareTimeline'
]});
if
(
_0x832ac4
[
'shareAppMessage'
]
||
_0x832ac4
[
'shareAppMessage'
]
===
undefined
){
wx
[
'shareAppMessage'
]({
'title'
:
_0x3ffe55
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x3ffe55
[
'data'
][
'data'
][
'state'
]});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});
_0x59a79f
[
'log'
](
'主动转发:shareAppMessage'
,{
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});}});};
_0x59a79f
[
'reportShare'
]
=
function
(){
var
_0x27815c
=
arguments
[
'length'
]
>
(
0x5a361
^
0x5a361
)
&&
void
(
0xb6466
^
0xb6466
)
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/report'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'share_id'
:
_0x27815c
[
'share_id'
]
||
''
,
'ext'
:
_0x27815c
[
'ext'
]
||
''
})[
'then'
](
function
(
_0x106e23
){
console
[
'log'
](
_0x106e23
);});};
_0x59a79f
[
'prototype'
][
'updateRole'
]
=
function
(){
var
_0x3bed3f
=
arguments
[
'length'
]
>
(
0xda10f
^
0xda10f
)
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x444cb7
,
_0x338e4e
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/role/report'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_number'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'role'
:
_0x3bed3f
[
'role'
]
||
{}})[
'then'
](
function
(
_0x37e8f9
){
_0x444cb7
(
_0x37e8f9
);});});};
_0x59a79f
[
'prototype'
][
'checkMsg'
]
=
function
(){
var
_0x450ad8
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x5bfb7
^
0x5bfb7
)
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x32a9bb
,
_0x4d7acb
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/check/message'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'content'
:
_0x450ad8
[
'content'
]
||
''
})[
'then'
](
function
(
_0x160ca4
){
_0x32a9bb
(
_0x160ca4
);});});};
_0x59a79f
[
'prototype'
][
'checkImg'
]
=
function
(){
var
_0x21a29a
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x10bbe2
,
_0xea785
){
wx
[
'uploadFile'
]({
'url'
:
_0x59a79f
[
'default'
][
'baseUrl'
]
+
'/mini_sdk/check/image'
,
'filePath'
:
_0x21a29a
[
'filePath'
],
'name'
:
'image'
,
'header'
:{
'User-Token'
:
_0x59a79f
[
'default'
][
'userToken'
]},
'formData'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'user_token'
:
_0x59a79f
[
'default'
][
'userToken'
]},
'success'
:
function
(
_0x2d121d
){
_0x10bbe2
(
_0x2d121d
);}});});};
_0x59a79f
[
'prototype'
][
'customMessage'
]
=
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/custom_message/config'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})[
'then'
](
function
(
_0x2bffa0
){
if
(
_0x2bffa0
[
'status_code'
]
===
0x1
){
wx
[
'openCustomerServiceConversation'
]({
'sessionFrom'
:
_0x2bffa0
[
'data'
][
'data'
][
'session_from'
],
'showMessageCard'
:
_0x2bffa0
[
'data'
][
'data'
][
'show_message_card'
],
'sendMessageTitle'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_title'
],
'sendMessagePath'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_path'
],
'sendMessageImg'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_img'
],
'complete'
:
function
(
_0x454489
){
console
[
'log'
](
'openCustomerServiceConversation:'
,
_0x454489
);
_0x59a79f
[
'log'
](
'客服会话:openCustomerServiceConversation'
,
_0x454489
);}});}});};
_0x59a79f
[
'prototype'
][
'sendCaptcha'
]
=
function
(){
var
_0x266627
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x70884
^
0x70884
]:{};
return
new
Promise
(
function
(
_0x38adfe
,
_0x464cb5
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/captcha/send'
,{
'mobile'
:
_0x266627
[
'mobile'
]
||
''
})[
'then'
](
function
(
_0x1e8b28
){
_0x38adfe
(
_0x1e8b28
);});});};
_0x59a79f
[
'prototype'
][
'bindMobile'
]
=
function
(){
var
_0x1f7931
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0xbbaae
^
0xbbaae
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x3b2247
,
_0x446668
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/bindMobile'
,{
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'mobile'
:
_0x1f7931
[
'mobile'
]
||
''
,
'code'
:
_0x1f7931
[
'code'
]
||
''
,
'key'
:
_0x1f7931
[
'key'
]
||
''
})[
'then'
](
function
(
_0xc3dca9
){
_0x3b2247
(
_0xc3dca9
);});});};
_0x59a79f
[
'ajax'
]
=
function
(
_0x323eb0
,
_0x124e42
){
var
_0x47d3d2
=
{
'content-type'
:
'application/json'
};
if
(
_0x59a79f
[
'default'
][
'userToken'
]){
_0x47d3d2
[
'User-Token'
]
=
_0x59a79f
[
'default'
][
'userToken'
];}
var
_0x5c64f5
=
_0x124e42
[
'showLoading'
],
_0x1aa9ad
=
_0x124e42
[
'loadingParams'
],
_0x4e71b0
=
_0x124e42
[
'showToast'
],
_0x18b9aa
=
_0x124e42
[
'toastParams'
];
_0x5c64f5
&&
wx
[
'showLoading'
](
_0x1aa9ad
);
return
new
Promise
(
function
(
_0xbc7aec
,
_0x2c5241
){
wx
[
'request'
]({
'method'
:
'POST'
,
'url'
:
_0x59a79f
[
'default'
][
'baseUrl'
]
+
_0x323eb0
,
'data'
:
_0x124e42
,
'header'
:
_0x47d3d2
,
'success'
:
function
(
_0xe3c41d
){
_0x5c64f5
&&
wx
[
'hideLoading'
]();
if
(
_0x4e71b0
){
_0x18b9aa
[
'title'
]
=
_0xe3c41d
[
'data'
][
'msg'
];
wx
[
'showToast'
](
_0x18b9aa
);}
_0xbc7aec
(
_0xe3c41d
[
'data'
]);},
'fail'
:
function
(
_0x2d574d
){
_0x5c64f5
&&
wx
[
'hideLoading'
]();
if
(
_0x4e71b0
){
_0x18b9aa
[
'title'
]
=
_0x2d574d
[
'errMsg'
];
wx
[
'showToast'
](
_0x18b9aa
);}
_0xbc7aec
(
_0x2d574d
);}});});};
_0x59a79f
[
'getSystemOS'
]
=
function
(){
var
_0x44a53a
=
wx
[
'getSystemInfoSync'
]()[
'system'
];
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'android'
)
>-
(
0xb8a1f
^
0xb8a1e
))
return
'android'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'ios'
)
>-
(
0xaa7d6
^
0xaa7d7
))
return
'ios'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'windows'
)
>-
0x1
)
return
'windows'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'macos'
)
>-
(
0x955e2
^
0x955e3
))
return
'macos'
;
return
'other'
;};
_0x59a79f
[
'getSystemBrand'
]
=
function
(){
var
_0x4846ea
=
wx
[
'getSystemInfoSync'
]()[
'brand'
];
return
_0x4846ea
;};
_0x59a79f
[
'getSystemNumber'
]
=
function
(){
var
_0x4353d4
=
wx
[
'getSystemInfoSync'
]()[
'model'
];
return
_0x4353d4
;};
_0x59a79f
[
'midasPay'
]
=
function
(
_0x3b9831
){
return
wx
[
'requestMidasPayment'
](
_0x3b9831
);};
_0x59a79f
[
'getQueryVariable'
]
=
function
(
_0x46ba11
,
_0x3949fc
){
var
_0x10dbcf
=
_0x46ba11
;
var
_0x1d001b
=
_0x10dbcf
[
'split'
](
'&'
);
for
(
var
_0x4b03d8
=
0x3df04
^
0x3df04
;
_0x4b03d8
<
_0x1d001b
[
'length'
];
_0x4b03d8
++
){
var
_0x426fca
=
_0x1d001b
[
_0x4b03d8
][
'split'
](
'='
);
if
(
_0x426fca
[
0x50b46
^
0x50b46
]
===
_0x3949fc
){
return
_0x426fca
[
0xb74ee
^
0xb74ef
];}}
return
''
;};
_0x59a79f
[
'getState'
]
=
function
(
_0x1d3832
){
if
(
_0x1d3832
[
'state'
]){
return
_0x1d3832
[
'state'
];}
if
(
_0x1d3832
[
'scene'
]
&&
_0x1d3832
[
'scene'
][
'indexOf'
](
'state'
)
>-
0x1
){
return
_0x59a79f
[
'getQueryVariable'
](
decodeURIComponent
(
_0x1d3832
[
'scene'
]),
'state'
);}
return
''
;};
_0x59a79f
[
'log'
]
=
function
(
_0x181d29
,
_0x5c56be
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/sdk_log/miniLog'
,{
'name'
:
_0x181d29
,
'value'
:
_0x5c56be
})[
'then'
](
function
(
_0x499d34
){
console
[
'log'
](
'log:'
,
_0x499d34
);});};
_0x59a79f
[
'prototype'
][
'egretTools'
]
=
function
(
_0x3d1e2a
){
return
__awaiter
(
this
,
void
(
0x642fc
^
0x642fc
),
void
0x0
,
function
(){
var
_0x240cc5
,
_0x2852c4
,
_0x31ac67
,
_0x24d081
,
_0x45fc74
,
_0x464ac4
,
_0x29b8d4
,
_0x32f87b
,
_0x548447
,
_0x13149f
,
_0x4769ce
,
_0x30dc54
,
_0x833ee3
,
_0x1c647a
,
_0x240579
,
_0x2522f0
,
_0x339921
,
_0x4e4587
,
_0x59573a
,
_0x31e7b2
,
_0x2902ee
,
_0x121706
,
_0x5a2c8d
,
_0x26cd60
,
_0x1c36ae
,
_0x5929dd
,
_0x42abc2
,
_0x308add
,
_0xaf3e15
,
_0xd7d032
,
_0x5cc267
,
_0x120a09
,
_0xf1be68
,
_0x493cf9
,
_0x42f1cc
,
_0x16c3ed
,
_0xa16b5a
,
_0x4082c0
,
_0x52a667
;
var
_0x3bc2f2
=
this
;
return
__generator
(
this
,
function
(
_0x378123
){
switch
(
_0x378123
[
'label'
]){
case
0x0
:
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'flag'
]){
return
[
0x2
];}
_0x59a79f
[
'default'
][
'egretTools'
][
'flag'
]
=!!
[];
return
[
0x751c2
^
0x751c6
,
this
[
'getGameConf'
]()];
case
0x1
:
_0x240cc5
=
_0x378123
[
'sent'
]();
if
(
_0x240cc5
[
'data'
][
'data'
][
'quick_button_show'
]
===
0x2
){
console
[
'log'
](
'不显示'
);
return
[
0x8a623
^
0x8a621
,
!
[]];}
console
[
'log'
](
'config'
,
_0x240cc5
);
_0x2852c4
=
function
(
_0xacda40
){
var
_0x9eaaa9
;
var
_0x1d5059
;
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
>
0x0
&&
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>
0x0
){
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>=
_0xacda40
[
'target'
][
'maxWidth'
]
/
_0xacda40
[
'target'
][
'maxHeight'
]){
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
>
_0xacda40
[
'target'
][
'maxWidth'
]){
_0x9eaaa9
=
_0xacda40
[
'target'
][
'maxWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
*
_0xacda40
[
'target'
][
'maxWidth'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];}
else
{
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}}
else
{
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>
_0xacda40
[
'target'
][
'maxHeight'
]){
_0x1d5059
=
_0xacda40
[
'target'
][
'maxHeight'
];
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
*
_0xacda40
[
'target'
][
'maxHeight'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}
else
{
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}}
_0xacda40
[
'target'
][
'height'
]
=
_0x1d5059
;
_0xacda40
[
'target'
][
'width'
]
=
_0x9eaaa9
;}};
_0x31ac67
=
function
(
_0x256a89
,
_0xab4b6f
){
return
new
Promise
(
function
(
_0x194745
,
_0x3b4c12
){
var
_0x25a5e3
=
new
egret
[
'ImageLoader'
]();
_0x25a5e3
[
'crossOrigin'
]
=
'anonymous'
;
_0x25a5e3
[
'load'
](
_0x256a89
);
_0x25a5e3
[
'once'
](
egret
[
'Event'
][
'COMPLETE'
],
function
(
_0x55bb5e
){
if
(
_0x55bb5e
[
'currentTarget'
][
'data'
]){
var
_0x439ee1
=
new
egret
[
'Texture'
]();
_0x439ee1
[
'bitmapData'
]
=
_0x55bb5e
[
'currentTarget'
][
'data'
];
var
_0x1401bd
=
new
egret
[
'Bitmap'
](
_0x439ee1
);
_0x1401bd
[
'visible'
]
=!
[];
_0xab4b6f
[
'addChild'
](
_0x1401bd
);
_0x1401bd
[
'$scaleFactor'
]
=
_0x1401bd
[
'width'
]
/
_0x1401bd
[
'height'
];
_0x1401bd
[
'addEventListener'
](
egret
[
'Event'
][
'COMPLETE'
],
_0x2852c4
,
_0x3bc2f2
);
_0x194745
(
_0x1401bd
);}},
_0x3bc2f2
);});};
_0x24d081
=
function
(
_0x1a2803
){
return
new
Promise
(
function
(
_0x396033
,
_0x3b32ae
){
var
_0x4cade7
=
new
egret
[
'TextField'
]();
_0x4cade7
[
'type'
]
=
egret
[
'TextFieldType'
][
'INPUT'
];
_0x1a2803
[
'addChild'
](
_0x4cade7
);
_0x396033
(
_0x4cade7
);});};
_0x45fc74
=
function
(
_0x4a06d4
){
return
new
Promise
(
function
(
_0x5da2c3
,
_0x3be80
){
var
_0x48d2f5
=
new
egret
[
'TextField'
]();
_0x4a06d4
[
'addChild'
](
_0x48d2f5
);
_0x5da2c3
(
_0x48d2f5
);});};
_0x464ac4
=
function
(){
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0xf1be68
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x42f1cc
[
'visible'
]
=!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0xd7d032
[
'visible'
]
=!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x4082c0
[
'$tabVisible'
]
=!
[];
_0x4082c0
[
'visible'
]
=!!
[];
_0x548447
();};
_0x29b8d4
=
function
(){
if
(
_0x59a79f
[
'default'
][
'mobile'
]){
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'visible'
]
=!!
[];}
else
{
_0x59573a
[
'visible'
]
=!!
[];
_0x2902ee
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!!
[];
_0x31e7b2
[
'visible'
]
=!!
[];
_0x5a2c8d
[
'visible'
]
=!!
[];
console
[
'log'
](
'zwsdk.default.egretTools.timeNum:'
,
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]);
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
(
0xa90cf
^
0xa90f3
)){
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!
[];}
else
{
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];}}
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0xf1be68
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0xd7d032
[
'visible'
]
=!!
[];
_0x4082c0
[
'$tabVisible'
]
=!!
[];
_0x4082c0
[
'visible'
]
=!
[];
_0x548447
();};
_0x32f87b
=
function
(){
for
(
var
_0x2603d4
in
_0x5cc267
){
if
(
_0x5cc267
[
_0x2603d4
]
&&
_0x5cc267
[
_0x2603d4
][
'img'
]){
_0x5cc267
[
_0x2603d4
][
'img'
][
'visible'
]
=!!
[];
_0x5cc267
[
_0x2603d4
][
'text'
][
'visible'
]
=!!
[];}}};
_0x548447
=
function
(){
for
(
var
_0x2372bb
in
_0x5cc267
){
if
(
_0x5cc267
[
_0x2372bb
]
&&
_0x5cc267
[
_0x2372bb
][
'img'
]){
_0x5cc267
[
_0x2372bb
][
'img'
][
'visible'
]
=!
[];
_0x5cc267
[
_0x2372bb
][
'text'
][
'visible'
]
=!
[];}}};
_0x13149f
=
''
;
_0x4769ce
=
function
(){
return
__awaiter
(
_0x3bc2f2
,
void
(
0x83b37
^
0x83b37
),
void
0x0
,
function
(){
var
_0x40b142
,
_0x52e998
,
_0x32ddf6
,
_0x228c51
;
return
__generator
(
this
,
function
(
_0x4b85da
){
switch
(
_0x4b85da
[
'label'
]){
case
0xac993
^
0xac993
:
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
=
0x3c
;
_0x52e998
=
_0x31e7b2
[
'text'
];
_0x32ddf6
=
/^1
[
3-9
][
0-9
]{9}
|1
[
3-9
][
0-9
][
*
]{4}[
0-9
]{4}
$/
;
if
(
!
_0x52e998
){
wx
[
'showToast'
]({
'title'
:
'请输入手机号'
,
'icon'
:
'none'
});
return
[
0x32e5f
^
0x32e5d
,
!
[]];}
else
if
(
!
_0x32ddf6
[
'test'
](
_0x52e998
)){
wx
[
'showToast'
]({
'title'
:
'请输入正确的手机号'
,
'icon'
:
'none'
});
return
[
0xed890
^
0xed892
,
!
[]];}
return
[
0xaf61c
^
0xaf618
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/captcha/send'
,{
'mobile'
:
_0x52e998
})];
case
0x1
:
_0x228c51
=
_0x4b85da
[
'sent'
]();
if
(
_0x228c51
[
'status_code'
]
===
0x1
){
wx
[
'showToast'
]({
'title'
:
'验证码发送成功'
,
'icon'
:
'none'
});
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];
_0x121706
[
'text'
]
=
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
+
'秒'
;
console
[
'log'
](
'getVercode'
);
_0x13149f
=
_0x228c51
[
'data'
][
'data'
][
'key'
];
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]
=
setInterval
(
function
(){
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
--
;
_0x121706
[
'text'
]
=
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
+
'秒'
;
console
[
'log'
](
'
\
x20
\
x20vercodeText.text:'
,
_0x121706
[
'text'
]);
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
(
0xcc5ba
^
0xcc5ba
)){
clearInterval
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]);
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!!!
[];
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
=
0x2d66a
^
0x2d656
;}},
0x3e8
);}
else
{
wx
[
'showToast'
]({
'title'
:
'验证码发送失败'
,
'icon'
:
'none'
});}
return
[
0x2
];}});});};
_0x30dc54
=
function
(){
return
__awaiter
(
_0x3bc2f2
,
void
0x0
,
void
0x0
,
function
(){
var
_0x270fb7
,
_0x22017b
,
_0x365bcb
;
return
__generator
(
this
,
function
(
_0x4e1e92
){
switch
(
_0x4e1e92
[
'label'
]){
case
0x0
:
_0x270fb7
=
_0x31e7b2
[
'text'
];
_0x22017b
=
_0x2902ee
[
'text'
];
if
(
!
_0x13149f
)
return
[
0x3
,
0x2
];
return
[
0x7ef7b
^
0x7ef7f
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/bindMobile'
,{
'mobile'
:
_0x270fb7
,
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'code'
:
_0x22017b
,
'key'
:
_0x13149f
})];
case
0x1
:
_0x365bcb
=
_0x4e1e92
[
'sent'
]();
if
(
_0x365bcb
[
'status_code'
]
===
0x1
){
wx
[
'showToast'
]({
'title'
:
'绑定成功'
,
'icon'
:
'none'
});
_0x59a79f
[
'default'
][
'mobile'
]
=
_0x270fb7
;
clearInterval
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]);
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!
[];
_0x31e7b2
[
'visible'
]
=!
[];
_0x2902ee
[
'visible'
]
=!
[];
_0x5a2c8d
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'text'
]
=
_0x59a79f
[
'default'
][
'mobile'
][
'substr'
](
0x0
,
0x3
)
+
'****'
+
_0x59a79f
[
'default'
][
'mobile'
][
'substr'
](
0x7
);
_0x42abc2
[
'visible'
]
=!!
[];
_0x59573a
[
'visible'
]
=!
[];}
console
[
'log'
](
'bindMobile:'
,
_0x365bcb
);
return
[
0x3
,
0x3
];
case
0x2
:
wx
[
'showToast'
]({
'title'
:
'请先获取验证码'
,
'icon'
:
'none'
});
_0x4e1e92
[
'label'
]
=
0x3
;
case
0x5fc17
^
0x5fc14
:
return
[
0x2
];}});});};
_0x833ee3
=
0x352
;
console
[
'log'
](
'container:'
,
_0x3d1e2a
);
_0x1c647a
=
_0x3d1e2a
[
'stage'
][
'stageWidth'
];
_0x240579
=
_0x3d1e2a
[
'stage'
][
'stageHeight'
];
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/info'
,{
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
]})];
case
0xeed9a
^
0xeed98
:
_0x2522f0
=
_0x378123
[
'sent'
]();
if
(
_0x2522f0
[
'status_code'
]
===
0x1
){
_0x59a79f
[
'default'
][
'mobile'
]
=
_0x2522f0
[
'data'
][
'data'
][
'mobile'
];}
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/gift_ball/image'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})];
case
0x3
:
_0x339921
=
_0x378123
[
'sent'
]();
return
[
0x97359
^
0x9735d
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/gift_ball/gameList'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})];
case
0xe51c1
^
0xe51c5
:
_0x4e4587
=
_0x378123
[
'sent'
]();
console
[
'log'
](
'userInfo:'
,
_0x2522f0
);
console
[
'log'
](
'flImg:'
,
_0x339921
);
console
[
'log'
](
'gameList:'
,
_0x4e4587
);
_0x1c36ae
=
0x64
;
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/ybd.png'
,
_0x3d1e2a
)];
case
0x5
:
_0x5929dd
=
_0x378123
[
'sent'
]();
_0x5929dd
[
'zIndex'
]
=
_0x1c36ae
;
_0x5929dd
[
'width'
]
=
_0x833ee3
;
_0x5929dd
[
'x'
]
=
0x0
;
_0x5929dd
[
'height'
]
=
_0x5929dd
[
'width'
]
/
_0x5929dd
[
'$scaleFactor'
];
_0x5929dd
[
'y'
]
=
(
_0x240579
-
_0x5929dd
[
'height'
])
/
0x2
;
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
=
new
egret
[
'TextField'
]();
_0x42abc2
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x42abc2
[
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x42abc2
[
'width'
]
=
0xc8
;
_0x42abc2
[
'text'
]
=
_0x59a79f
[
'default'
][
'mobile'
];
_0x42abc2
[
'size'
]
=
0x1c
;
_0x42abc2
[
'height'
]
=
0x1e
;
_0x42abc2
[
'textColor'
]
=
0xba8a2a
;
_0x42abc2
[
'textAlign'
]
=
'center'
;
_0x42abc2
[
'wordWrap'
]
=!!
[];
_0x42abc2
[
'x'
]
=
_0x5929dd
[
'width'
]
/
0x2
-
(
0x668d0
^
0x668c4
)
-
0x3c
;
_0x42abc2
[
'y'
]
=
(
_0x240579
-
_0x5929dd
[
'height'
])
/
(
0x751f2
^
0x751f0
)
+
0xf8
;
_0x42abc2
[
'visible'
]
=!
[];
_0x3d1e2a
[
'addChild'
](
_0x42abc2
);
if
(
!
_0x2522f0
[
'data'
][
'data'
][
'mobile'
])
return
[
0x30fe4
^
0x30fe7
,
0x7
];
return
[
0x45876
^
0x45872
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/ybd.png'
,
_0x3d1e2a
)];
case
0x6
:
_0x59573a
=
_0x378123
[
'sent'
]();
_0x59573a
[
'width'
]
=
_0x833ee3
;
_0x59573a
[
'x'
]
=
0x0
;
_0x59573a
[
'zIndex'
]
=
_0x1c36ae
;
_0x59573a
[
'height'
]
=
_0x59573a
[
'width'
]
/
_0x59573a
[
'$scaleFactor'
];
_0x59573a
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
;
_0x59573a
[
'visible'
]
=!
[];
console
[
'log'
](
'img1:ok'
);
return
[
0x3
,
0x52f61
^
0x52f6c
];
case
0x7
:
return
[
0x1b9b9
^
0x1b9bd
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bdzh.png'
,
_0x3d1e2a
)];
case
0x8
:
_0x59573a
=
_0x378123
[
'sent'
]();
_0x59573a
[
'width'
]
=
_0x833ee3
;
_0x59573a
[
'zIndex'
]
=
_0x1c36ae
;
_0x59573a
[
'x'
]
=
0x0
;
_0x59573a
[
'height'
]
=
_0x59573a
[
'width'
]
/
_0x59573a
[
'$scaleFactor'
];
_0x59573a
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
;
_0x59573a
[
'visible'
]
=!
[];
console
[
'log'
](
'img1:ok'
);
return
[
0x44ffe
^
0x44ffa
,
_0x24d081
(
_0x3d1e2a
)];
case
0xde820
^
0xde829
:
_0x31e7b2
=
_0x378123
[
'sent'
]();
_0x31e7b2
[
'width'
]
=
0xb9
;
_0x31e7b2
[
'size'
]
=
0xf
;
_0x31e7b2
[
'height'
]
=
0xea2f6
^
0xea2ed
;
_0x31e7b2
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
(
0xdd360
^
0xdd30e
);
_0x31e7b2
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0x37fcd
^
0x37fcf
)
+
(
0xdb030
^
0xdb0cf
)
+
(
0xbda9e
^
0xbdab6
);
_0x31e7b2
[
'border'
]
=!
[];
_0x31e7b2
[
'visible'
]
=!
[];
_0x31e7b2
[
'verticalAlign'
]
=
'middle'
;
_0x31e7b2
[
'borderColor'
]
=
0xff0000
;
_0x31e7b2
[
'textColor'
]
=
0x0
;
_0x31e7b2
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
return
[
0x73603
^
0x73607
,
_0x24d081
(
_0x3d1e2a
)];
case
0xbcd0b
^
0xbcd01
:
_0x2902ee
=
_0x378123
[
'sent'
]();
_0x2902ee
[
'width'
]
=
0x1e041
^
0x1e01e
;
_0x2902ee
[
'size'
]
=
0xbca9d
^
0xbca92
;
_0x2902ee
[
'height'
]
=
0xabcef
^
0xabcf4
;
_0x2902ee
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
(
0x7778e
^
0x777e0
);
_0x2902ee
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0xed489
^
0xed48b
)
+
(
0x43bef
^
0x43ac3
)
+
0x28
;
_0x2902ee
[
'border'
]
=!
[];
_0x2902ee
[
'verticalAlign'
]
=
'middle'
;
_0x2902ee
[
'borderColor'
]
=
0xff0000
;
_0x2902ee
[
'textColor'
]
=
0x2c797
^
0x2c797
;
_0x2902ee
[
'visible'
]
=!
[];
_0x2902ee
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x121706
=
new
egret
[
'TextField'
]();
_0x121706
[
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x121706
[
'width'
]
=
0x4b
;
_0x121706
[
'text'
]
=
''
;
_0x121706
[
'size'
]
=
0xf
;
_0x121706
[
'height'
]
=
0xf
;
_0x121706
[
'textColor'
]
=
0xff0000
;
_0x121706
[
'textAlign'
]
=
'center'
;
_0x121706
[
'x'
]
=
_0x59573a
[
'width'
]
/
(
0xb61e9
^
0xb61eb
);
_0x121706
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0xa7650
^
0xa7652
)
+
0x132
+
0x28
;
_0x3d1e2a
[
'addChild'
](
_0x121706
);
_0x121706
[
'visible'
]
=!
[];
_0x121706
[
'zIndex'
]
=
_0x1c36ae
+
(
0x76918
^
0x76919
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yzm.png'
,
_0x3d1e2a
)];
case
0xb
:
_0x26cd60
=
_0x378123
[
'sent'
]();
_0x26cd60
[
'width'
]
=
0x46
;
_0x26cd60
[
'height'
]
=
_0x26cd60
[
'width'
]
/
_0x26cd60
[
'$scaleFactor'
];
_0x26cd60
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
+
0x5
;
_0x26cd60
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0x22cc7
^
0x22cc5
)
+
(
0x7bb4e
^
0x7ba7c
)
+
0x28
;
_0x26cd60
[
'touchEnabled'
]
=!!
[];
_0x26cd60
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x26cd60
[
'visible'
]
=!
[];
_0x26cd60
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x17e2d8
){
console
[
'log'
](
'获取验证码'
);
_0x4769ce
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/submit.png'
,
_0x3d1e2a
)];
case
0x69b4a
^
0x69b46
:
_0x5a2c8d
=
_0x378123
[
'sent'
]();
_0x5a2c8d
[
'width'
]
=
0xb4
;
_0x5a2c8d
[
'height'
]
=
_0x5a2c8d
[
'width'
]
/
_0x5a2c8d
[
'$scaleFactor'
];
_0x5a2c8d
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
0x75
-
0x8
;
_0x5a2c8d
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
+
0x18b
;
_0x5a2c8d
[
'touchEnabled'
]
=!!
[];
_0x5a2c8d
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x5a2c8d
[
'visible'
]
=!
[];
_0x5a2c8d
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1fbbbd
){
_0x30dc54
();
console
[
'log'
](
_0x31e7b2
[
'text'
]);
console
[
'log'
](
_0x2902ee
[
'text'
]);});
_0x378123
[
'label'
]
=
0xd
;
case
0xd
:
if
(
!
(
_0x339921
[
'status_code'
]
===
0x1
&&
_0x339921
[
'data'
][
'data'
][
'image_url'
]))
return
[
0x3
,
0xf
];
return
[
0x4
,
_0x31ac67
(
_0x339921
[
'data'
][
'data'
][
'image_url'
],
_0x3d1e2a
)];
case
0xe
:
_0x308add
=
_0x378123
[
'sent'
]();
return
[
0x3
,
0x11
];
case
0xf
:
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg.png'
,
_0x3d1e2a
)];
case
0x10
:
_0x308add
=
_0x378123
[
'sent'
]();
_0x378123
[
'label'
]
=
0x11
;
case
0x11
:
_0x308add
[
'width'
]
=
_0x833ee3
;
_0x308add
[
'x'
]
=
0x0
;
_0x308add
[
'height'
]
=
_0x308add
[
'width'
]
/
_0x308add
[
'$scaleFactor'
];
_0x308add
[
'y'
]
=
(
_0x240579
-
_0x308add
[
'height'
])
/
0x2
;
_0x308add
[
'visible'
]
=!
[];
_0x308add
[
'zIndex'
]
=
_0x1c36ae
;
console
[
'log'
](
'img2:ok'
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx.png'
,
_0x3d1e2a
)];
case
0x12
:
_0xaf3e15
=
_0x378123
[
'sent'
]();
_0xaf3e15
[
'width'
]
=
_0x833ee3
;
_0xaf3e15
[
'x'
]
=
0x0
;
_0xaf3e15
[
'height'
]
=
_0xaf3e15
[
'width'
]
/
_0xaf3e15
[
'$scaleFactor'
];
_0xaf3e15
[
'y'
]
=
(
_0x240579
-
_0xaf3e15
[
'height'
])
/
0x2
;
_0xaf3e15
[
'visible'
]
=!
[];
_0xaf3e15
[
'zIndex'
]
=
_0x1c36ae
;
console
[
'log'
](
'img3:ok'
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/close.png'
,
_0x3d1e2a
)];
case
0x13
:
_0xd7d032
=
_0x378123
[
'sent'
]();
_0xd7d032
[
'width'
]
=
0x23
;
_0xd7d032
[
'x'
]
=
_0x59573a
[
'width'
]
-
0x78
;
_0xd7d032
[
'height'
]
=
_0xd7d032
[
'width'
]
/
_0xd7d032
[
'$scaleFactor'
];
_0xd7d032
[
'y'
]
=
_0x240579
-
_0x59573a
[
'height'
]
+
0x46
;
_0xd7d032
[
'touchEnabled'
]
=!!
[];
_0xd7d032
[
'zIndex'
]
=
_0x1c36ae
+
0x2
;
_0xd7d032
[
'visible'
]
=!
[];
_0xd7d032
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x5df761
){
_0x464ac4
();});
_0x5cc267
=
{};
_0x4e4587
[
'data'
][
'data'
][
'map'
](
function
(
_0x19a46f
,
_0x1b34a9
){
return
__awaiter
(
_0x3bc2f2
,
void
0x0
,
void
0x0
,
function
(){
var
_0x47f761
,
_0x1b507b
,
_0x26c1c8
,
_0x4305bc
,
_0x56429b
;
return
__generator
(
this
,
function
(
_0x3ce5a7
){
switch
(
_0x3ce5a7
[
'label'
]){
case
0x0
:
_0x47f761
=
0x46
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]]
=
{};
_0x1b507b
=
_0x5cc267
[
_0x19a46f
[
'app_id'
]];
_0x26c1c8
=
'img'
;
return
[
0x4
,
_0x31ac67
(
_0x19a46f
[
'head_img'
],
_0x3d1e2a
)];
case
0x1
:
_0x1b507b
[
_0x26c1c8
]
=
_0x3ce5a7
[
'sent'
]();
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'width'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'height'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'touchEnabled'
]
=!!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1239fd
){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x19a46f
[
'app_id'
],
'path'
:
_0x19a46f
[
'channel_key'
]
||
''
,
'complete'
:
function
(
_0x3eca88
){
console
[
'log'
](
'complete:'
,
_0x3eca88
);}});});
_0x4305bc
=
_0x1b34a9
%
0x5
===
0x0
?
0x78
:
0x78
+
_0x1b34a9
%
0x5
*
(
_0x47f761
+
0x14
);
_0x56429b
=
(
_0x240579
-
_0xaf3e15
[
'height'
])
/
0x2
+
0x8c
+
0x64
*
parseInt
(
_0x1b34a9
/
0x5
);
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'x'
]
=
_0x4305bc
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'y'
]
=
_0x56429b
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
]
=
new
egret
[
'TextField'
]();
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'width'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'text'
]
=
_0x19a46f
[
'game_name'
];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'size'
]
=
0xf
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'height'
]
=
0x1e
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'textColor'
]
=
0xba8a2a
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'textAlign'
]
=
'center'
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'wordWrap'
]
=!!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'x'
]
=
_0x4305bc
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'y'
]
=
_0x56429b
+
_0x47f761
+
0x5
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'visible'
]
=!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x3d1e2a
[
'addChild'
](
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
]);
return
[
0x2
];}});});});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bd-open.png'
,
_0x3d1e2a
)];
case
0x14
:
_0x120a09
=
_0x378123
[
'sent'
]();
_0x120a09
[
'width'
]
=
0xb4
;
_0x120a09
[
'x'
]
=
0x64
+
0x32
;
_0x120a09
[
'height'
]
=
_0x120a09
[
'width'
]
/
_0x120a09
[
'$scaleFactor'
];
_0x120a09
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x120a09
[
'touchEnabled'
]
=!!
[];
_0x120a09
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x120a09
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bd-close.png'
,
_0x3d1e2a
)];
case
0x15
:
_0xf1be68
=
_0x378123
[
'sent'
]();
_0xf1be68
[
'width'
]
=
0xb4
;
_0xf1be68
[
'x'
]
=
0x64
+
0x32
;
_0xf1be68
[
'height'
]
=
_0xf1be68
[
'width'
]
/
_0xf1be68
[
'$scaleFactor'
];
_0xf1be68
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0xf1be68
[
'touchEnabled'
]
=!!
[];
_0xf1be68
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0xf1be68
[
'visible'
]
=!
[];
_0xf1be68
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x5d5825
){
console
[
'log'
](
'bd_close_button:'
,
_0xf1be68
);
_0xf1be68
[
'visible'
]
=!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!!
[];
if
(
_0x59a79f
[
'default'
][
'mobile'
]){
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'visible'
]
=!!
[];}
else
{
_0x59573a
[
'visible'
]
=!!
[];
_0x31e7b2
[
'visible'
]
=!!
[];
_0x2902ee
[
'visible'
]
=!!
[];
_0x5a2c8d
[
'visible'
]
=!!
[];
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
0x3c
){
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!
[];}
else
{
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];}}
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0x548447
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg1.png'
,
_0x3d1e2a
)];
case
0x16
:
_0x493cf9
=
_0x378123
[
'sent'
]();
_0x493cf9
[
'width'
]
=
0xb4
;
_0x493cf9
[
'x'
]
=
0x15e
;
_0x493cf9
[
'height'
]
=
_0x493cf9
[
'width'
]
/
_0x493cf9
[
'$scaleFactor'
];
_0x493cf9
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x493cf9
[
'touchEnabled'
]
=!!
[];
_0x493cf9
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x493cf9
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg2.png'
,
_0x3d1e2a
)];
case
0x17
:
_0x42f1cc
=
_0x378123
[
'sent'
]();
_0x42f1cc
[
'width'
]
=
0xb4
;
_0x42f1cc
[
'x'
]
=
0x15e
;
_0x42f1cc
[
'height'
]
=
_0x42f1cc
[
'width'
]
/
_0x42f1cc
[
'$scaleFactor'
];
_0x42f1cc
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x42f1cc
[
'touchEnabled'
]
=!!
[];
_0x42f1cc
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x42f1cc
[
'visible'
]
=!
[];
_0x42f1cc
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1834fb
){
_0xf1be68
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x548447
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx1.png'
,
_0x3d1e2a
)];
case
0x18
:
_0x16c3ed
=
_0x378123
[
'sent'
]();
_0x16c3ed
[
'width'
]
=
0xb4
;
_0x16c3ed
[
'x'
]
=
0x226
;
_0x16c3ed
[
'height'
]
=
_0x16c3ed
[
'width'
]
/
_0x16c3ed
[
'$scaleFactor'
];
_0x16c3ed
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x16c3ed
[
'touchEnabled'
]
=!!
[];
_0x16c3ed
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x16c3ed
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx2.png'
,
_0x3d1e2a
)];
case
0x19
:
_0xa16b5a
=
_0x378123
[
'sent'
]();
_0xa16b5a
[
'width'
]
=
0xb4
;
_0xa16b5a
[
'x'
]
=
0x226
;
_0xa16b5a
[
'height'
]
=
_0xa16b5a
[
'width'
]
/
_0xa16b5a
[
'$scaleFactor'
];
_0xa16b5a
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0xa16b5a
[
'touchEnabled'
]
=!!
[];
_0xa16b5a
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0xa16b5a
[
'visible'
]
=!
[];
_0xa16b5a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x3d5d03
){
_0xf1be68
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0xa16b5a
[
'visible'
]
=!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x32f87b
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/suspension.png'
,
_0x3d1e2a
)];
case
0x1a
:
_0x4082c0
=
_0x378123
[
'sent'
]();
_0x4082c0
[
'name'
]
=
'suspension'
;
_0x4082c0
[
'width'
]
=
0x50
;
_0x4082c0
[
'height'
]
=
0x50
;
_0x4082c0
[
'x'
]
=
0x64
;
_0x4082c0
[
'y'
]
=
_0x240579
/
0x2
-
_0x4082c0
[
'height'
];
_0x4082c0
[
'touchEnabled'
]
=!!
[];
_0x4082c0
[
'visible'
]
=!!
[];
_0x4082c0
[
'$isTouch'
]
=!
[];
_0x4082c0
[
'$isMove'
]
=!
[];
_0x4082c0
[
'$tabVisible'
]
=!
[];
_0x4082c0
[
'$tabVisible'
]
=
_0x1c36ae
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img1'
]
=
_0x59573a
;
_0x59a79f
[
'default'
][
'egretTools'
][
'ybdImg'
]
=
_0x5929dd
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img2'
]
=
_0x308add
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img3'
]
=
_0xaf3e15
;
_0x59a79f
[
'default'
][
'egretTools'
][
'bd_close_button'
]
=
_0xf1be68
;
_0x59a79f
[
'default'
][
'egretTools'
][
'bd_open_button'
]
=
_0x120a09
;
_0x59a79f
[
'default'
][
'egretTools'
][
'fl_close_button'
]
=
_0x42f1cc
;
_0x59a79f
[
'default'
][
'egretTools'
][
'fl_open_button'
]
=
_0x493cf9
;
_0x59a79f
[
'default'
][
'egretTools'
][
'yx_close_button'
]
=
_0xa16b5a
;
_0x59a79f
[
'default'
][
'egretTools'
][
'yx_open_button'
]
=
_0x16c3ed
;
_0x59a79f
[
'default'
][
'egretTools'
][
'close_button'
]
=
_0xd7d032
;
_0x59a79f
[
'default'
][
'egretTools'
][
'phoneInput'
]
=
_0x31e7b2
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercodeInput'
]
=
_0x2902ee
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercode_button'
]
=
_0x26cd60
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercodeText'
]
=
_0x121706
;
_0x59a79f
[
'default'
][
'egretTools'
][
'suspension'
]
=
_0x4082c0
;
wx
[
'$egretTools'
]
=
_0x59a79f
[
'default'
][
'egretTools'
];
_0x52a667
=
new
egret
[
'Point'
]();
_0x4082c0
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_BEGIN'
],
function
(
_0x287df2
){
_0x4082c0
[
'$isTouch'
]
=!!
[];
_0x52a667
[
'x'
]
=
_0x287df2
[
'stageX'
]
-
_0x4082c0
[
'x'
];
_0x52a667
[
'y'
]
=
_0x287df2
[
'stageY'
]
-
_0x4082c0
[
'y'
];
_0x3d1e2a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_BEGIN'
],
function
(
_0x357f36
){
if
(
_0x357f36
[
'stageX'
]
<
_0x4082c0
[
'x'
]
||
_0x357f36
[
'stageX'
]
>
_0x4082c0
[
'x'
]
+
_0x4082c0
[
'width'
]){
_0x4082c0
[
'$isTouch'
]
=!
[];}
if
(
_0x357f36
[
'stageY'
]
<
_0x4082c0
[
'y'
]
||
_0x357f36
[
'stageY'
]
>
_0x4082c0
[
'y'
]
+
_0x4082c0
[
'height'
]){
_0x4082c0
[
'$isTouch'
]
=!
[];}},
_0x3bc2f2
);
_0x3d1e2a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_MOVE'
],
function
(
_0x3b66cc
){
if
(
_0x4082c0
[
'$isTouch'
]){
_0x4082c0
[
'x'
]
=
_0x3b66cc
[
'stageX'
]
-
_0x52a667
[
'x'
];
_0x4082c0
[
'y'
]
=
_0x3b66cc
[
'stageY'
]
-
_0x52a667
[
'y'
];
if
(
_0x4082c0
[
'x'
]
<
0x0
){
_0x4082c0
[
'x'
]
=
0x0
;}
if
(
_0x4082c0
[
'y'
]
<
0x0
){
_0x4082c0
[
'y'
]
=
0x0
;}
if
(
_0x4082c0
[
'x'
]
>
_0x1c647a
-
_0x4082c0
[
'width'
]){
_0x4082c0
[
'x'
]
=
_0x1c647a
-
_0x4082c0
[
'width'
];}
if
(
_0x4082c0
[
'y'
]
>
_0x240579
-
_0x4082c0
[
'height'
]){
_0x4082c0
[
'y'
]
=
_0x240579
-
_0x4082c0
[
'height'
];}
_0x4082c0
[
'$isMove'
]
=!!
[];}},
_0x3bc2f2
);},
_0x3d1e2a
);
_0x4082c0
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_END'
],
function
(
_0x505e64
){
_0x4082c0
[
'$isTouch'
]
=!
[];
if
(
_0x4082c0
[
'$isMove'
]){}
else
{
if
(
_0x4082c0
[
'$tabVisible'
]){
_0x464ac4
();
_0x4082c0
[
'$tabVisible'
]
=!
[];}
else
{
_0x29b8d4
();
_0x4082c0
[
'$tabVisible'
]
=!!
[];}}
_0x4082c0
[
'$isMove'
]
=!
[];
_0x3d1e2a
[
'removeEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_MOVE'
],
function
(
_0x2cfe63
){
if
(
_0x4082c0
[
'$isTouch'
]){
_0x4082c0
[
'x'
]
=
_0x2cfe63
[
'stageX'
]
-
_0x52a667
[
'x'
];
_0x4082c0
[
'y'
]
=
_0x2cfe63
[
'stageY'
]
-
_0x52a667
[
'y'
];
_0x4082c0
[
'$isMove'
]
=!!
[];}},
_0x3bc2f2
);},
_0x3d1e2a
);
return
[
0x2
];}});});};
_0x59a79f
[
'default'
]
=
{
'checkLoginStatusTimer'
:
null
,
'appId'
:
''
,
'gameId'
:
''
,
'os'
:
_0x59a79f
[
'getSystemOS'
](),
'device_number'
:
_0x59a79f
[
'getSystemNumber'
](),
'device_brand'
:
_0x59a79f
[
'getSystemBrand'
](),
'mobile'
:
''
,
'memberId'
:
''
,
'roleId'
:
''
,
'playerId'
:
''
,
'userToken'
:
''
,
'baseUrl'
:
''
,
'suspensionVisible'
:
!!
[],
'egretTools'
:{
'flag'
:
!
[],
'timeNum'
:
0x3c
}};
return
_0x59a79f
;}();
exports
[
'default'
]
=
zwsdk
;
'use strict'
;
var
__awaiter
=
this
&&
this
[
'__awaiter'
]
||
function
(
_0x4bd669
,
_0x38ecfb
,
_0x33fe74
,
_0x51cb97
){
function
_0x173cff
(
_0x164f74
){
return
_0x164f74
instanceof
_0x33fe74
?
_0x164f74
:
new
_0x33fe74
(
function
(
_0x2a175b
){
_0x2a175b
(
_0x164f74
);});}
return
new
(
_0x33fe74
||
(
_0x33fe74
=
Promise
))(
function
(
_0x5c1f68
,
_0x18624d
){
function
_0x2fb1b1
(
_0x3d1d4e
){
try
{
_0x557503
(
_0x51cb97
[
'next'
](
_0x3d1d4e
));}
catch
(
_0x5dbcbb
){
_0x18624d
(
_0x5dbcbb
);}}
function
_0x250518
(
_0x3425f9
){
try
{
_0x557503
(
_0x51cb97
[
'throw'
](
_0x3425f9
));}
catch
(
_0x3e3469
){
_0x18624d
(
_0x3e3469
);}}
function
_0x557503
(
_0x1dda71
){
_0x1dda71
[
'done'
]?
_0x5c1f68
(
_0x1dda71
[
'value'
]):
_0x173cff
(
_0x1dda71
[
'value'
])[
'then'
](
_0x2fb1b1
,
_0x250518
);}
_0x557503
((
_0x51cb97
=
_0x51cb97
[
'apply'
](
_0x4bd669
,
_0x38ecfb
||
[]))[
'next'
]());});};
var
__generator
=
this
&&
this
[
'__generator'
]
||
function
(
_0x5cb8d3
,
_0x23e4f4
){
var
_0x4de00c
=
{
'label'
:
0x0
,
'sent'
:
function
(){
if
(
_0x2137f3
[
0x1a41d
^
0x1a41d
]
&
(
0xf1f0b
^
0xf1f0a
))
throw
_0x2137f3
[
0x35e0e
^
0x35e0f
];
return
_0x2137f3
[
0x72aca
^
0x72acb
];},
'trys'
:[],
'ops'
:[]},
_0x4c850f
,
_0x3fbc07
,
_0x2137f3
,
_0x476f57
;
return
_0x476f57
=
{
'next'
:
_0x319165
(
0x98152
^
0x98152
),
'throw'
:
_0x319165
(
0x9b1f4
^
0x9b1f5
),
'return'
:
_0x319165
(
0x70802
^
0x70800
)},
typeof
Symbol
===
'function'
&&
(
_0x476f57
[
Symbol
[
'iterator'
]]
=
function
(){
return
this
;}),
_0x476f57
;
function
_0x319165
(
_0x422096
){
return
function
(
_0x10ea83
){
return
_0x14505d
([
_0x422096
,
_0x10ea83
]);};}
function
_0x14505d
(
_0x12f9fc
){
if
(
_0x4c850f
)
throw
new
TypeError
(
'Generator
\
x20is
\
x20already
\
x20executing.'
);
while
(
_0x4de00c
)
try
{
if
(
_0x4c850f
=
0x6e0b5
^
0x6e0b4
,
_0x3fbc07
&&
(
_0x2137f3
=
_0x12f9fc
[
0xdcb5e
^
0xdcb5e
]
&
(
0x2142e
^
0x2142c
)?
_0x3fbc07
[
'return'
]:
_0x12f9fc
[
0x0
]?
_0x3fbc07
[
'throw'
]
||
((
_0x2137f3
=
_0x3fbc07
[
'return'
])
&&
_0x2137f3
[
'call'
](
_0x3fbc07
),
0x0
):
_0x3fbc07
[
'next'
])
&&!
(
_0x2137f3
=
_0x2137f3
[
'call'
](
_0x3fbc07
,
_0x12f9fc
[
0x1a89f
^
0x1a89e
]))[
'done'
])
return
_0x2137f3
;
if
(
_0x3fbc07
=
0x0
,
_0x2137f3
)
_0x12f9fc
=
[
_0x12f9fc
[
0x0
]
&
0x2
,
_0x2137f3
[
'value'
]];
switch
(
_0x12f9fc
[
0x0
]){
case
0x0
:
case
0xc5ddc
^
0xc5ddd
:
_0x2137f3
=
_0x12f9fc
;
break
;
case
0xebd78
^
0xebd7c
:
_0x4de00c
[
'label'
]
++
;
return
{
'value'
:
_0x12f9fc
[
0xe9326
^
0xe9327
],
'done'
:
!
[]};
case
0xa4eae
^
0xa4eab
:
_0x4de00c
[
'label'
]
++
;
_0x3fbc07
=
_0x12f9fc
[
0x1
];
_0x12f9fc
=
[
0x0
];
continue
;
case
0xd4948
^
0xd494f
:
_0x12f9fc
=
_0x4de00c
[
'ops'
][
'pop'
]();
_0x4de00c
[
'trys'
][
'pop'
]();
continue
;
default
:
if
(
!
(
_0x2137f3
=
_0x4de00c
[
'trys'
],
_0x2137f3
=
_0x2137f3
[
'length'
]
>
0x0
&&
_0x2137f3
[
_0x2137f3
[
'length'
]
-
0x1
])
&&
(
_0x12f9fc
[
0x0
]
===
0x6
||
_0x12f9fc
[
0x0
]
===
(
0xd81ca
^
0xd81c8
))){
_0x4de00c
=
0x0
;
continue
;}
if
(
_0x12f9fc
[
0x0
]
===
0x3
&&
(
!
_0x2137f3
||
_0x12f9fc
[
0x1
]
>
_0x2137f3
[
0x387ea
^
0x387ea
]
&&
_0x12f9fc
[
0xb71af
^
0xb71ae
]
<
_0x2137f3
[
0x3
])){
_0x4de00c
[
'label'
]
=
_0x12f9fc
[
0x1
];
break
;}
if
(
_0x12f9fc
[
0x0
]
===
0x6
&&
_0x4de00c
[
'label'
]
<
_0x2137f3
[
0x1
]){
_0x4de00c
[
'label'
]
=
_0x2137f3
[
0x57c50
^
0x57c51
];
_0x2137f3
=
_0x12f9fc
;
break
;}
if
(
_0x2137f3
&&
_0x4de00c
[
'label'
]
<
_0x2137f3
[
0x2
]){
_0x4de00c
[
'label'
]
=
_0x2137f3
[
0x2
];
_0x4de00c
[
'ops'
][
'push'
](
_0x12f9fc
);
break
;}
if
(
_0x2137f3
[
0xc39ae
^
0xc39ac
])
_0x4de00c
[
'ops'
][
'pop'
]();
_0x4de00c
[
'trys'
][
'pop'
]();
continue
;}
_0x12f9fc
=
_0x23e4f4
[
'call'
](
_0x5cb8d3
,
_0x4de00c
);}
catch
(
_0x3978d1
){
_0x12f9fc
=
[
0x6
,
_0x3978d1
];
_0x3fbc07
=
0x2ce28
^
0x2ce28
;}
finally
{
_0x4c850f
=
_0x2137f3
=
0x0
;}
if
(
_0x12f9fc
[
0x30784
^
0x30784
]
&
0x5
)
throw
_0x12f9fc
[
0x1
];
return
{
'value'
:
_0x12f9fc
[
0x70fc2
^
0x70fc2
]?
_0x12f9fc
[
0x1
]:
void
0x0
,
'done'
:
!!
[]};}};
exports
[
'__esModule'
]
=!!
[];
var
zwsdk
=
function
(){
function
_0x59a79f
(){
this
[
'VERSION'
]
=
'1.3.3'
;
var
_0x520758
=
arguments
[
'length'
]
>
(
0x805e7
^
0x805e7
)
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:
null
;
var
_0x3b6428
=
wx
[
'getEnterOptionsSync'
]()[
'query'
];
if
(
_0x520758
){
_0x59a79f
[
'default'
][
'appId'
]
=
_0x520758
[
'app_id'
];
_0x59a79f
[
'default'
][
'gameId'
]
=
_0x520758
[
'game_id'
];
_0x59a79f
[
'default'
][
'os'
]
=
_0x59a79f
[
'getSystemOS'
]();
_0x59a79f
[
'default'
][
'baseUrl'
]
=
_0x520758
[
'dev'
]?
'https://zs.zwwlkj03.top/api'
:
'https://zyou.wozhangwan.com/api'
;
_0x59a79f
[
'default'
][
'query'
]
=
_0x3b6428
;
_0x59a79f
[
'default'
][
'state'
]
=
_0x59a79f
[
'getState'
](
_0x3b6428
);
var
_0x179a27
=
wx
[
'getSystemInfoSync'
]()[
'SDKVersion'
];
console
[
'log'
](
'lib
\
x20version:'
+
_0x179a27
);
if
(
_0x59a79f
[
'selfCompareVersion'
](
_0x179a27
,
'1.4.0'
)
>=
0x0
){
wx
[
'setKeepScreenOn'
]({
'keepScreenOn'
:
!!
[]});
console
[
'log'
](
'设置不息屏'
);}
else
{}}}
_0x59a79f
[
'selfCompareVersion'
]
=
function
(
_0x5b6a2c
,
_0x137203
){
_0x5b6a2c
=
_0x5b6a2c
[
'split'
](
'.'
);
_0x137203
=
_0x137203
[
'split'
](
'.'
);
var
_0x518426
=
Math
[
'max'
](
_0x5b6a2c
[
'length'
],
_0x137203
[
'length'
]);
while
(
_0x5b6a2c
[
'length'
]
<
_0x518426
){
_0x5b6a2c
[
'push'
](
'0'
);}
while
(
_0x137203
[
'length'
]
<
_0x518426
){
_0x137203
[
'push'
](
'0'
);}
for
(
var
_0x40a7f0
=
0x631ac
^
0x631ac
;
_0x40a7f0
<
_0x518426
;
_0x40a7f0
++
){
var
_0x32183d
=
parseInt
(
_0x5b6a2c
[
_0x40a7f0
]);
var
_0x1483cc
=
parseInt
(
_0x137203
[
_0x40a7f0
]);
if
(
_0x32183d
>
_0x1483cc
){
return
0x73f91
^
0x73f90
;}
else
if
(
_0x32183d
<
_0x1483cc
){
return
-
0x1
;}}
return
0x0
;};
_0x59a79f
[
'prototype'
][
'getGameConf'
]
=
function
(){
return
new
Promise
(
function
(
_0x444637
,
_0x552483
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/game/getConf'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'app_version'
:
'1.1'
})[
'then'
](
function
(
_0x4ac474
){
_0x444637
(
_0x4ac474
);});});};
_0x59a79f
[
'checkShuntMember'
]
=
function
(){
return
new
Promise
(
function
(
_0x77e274
,
_0x23a584
){
wx
[
'login'
]({
'success'
:
function
(
_0x1df228
){
var
_0x3a5987
=
_0x1df228
[
'code'
];
_0x59a79f
[
'ajax'
](
'/mini_sdk/auth/checkShuntMember'
,{
'code'
:
_0x3a5987
,
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})[
'then'
](
function
(
_0x1d430a
){
_0x77e274
(
_0x1d430a
);});}});});};
_0x59a79f
[
'prototype'
][
'login'
]
=
function
(){
var
_0x2eb256
=
this
;
var
_0x4be2a8
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0xba0f4
^
0xba0f4
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x796049
,
_0x45e2c0
){
_0x59a79f
[
'checkShuntMember'
]()[
'then'
](
function
(
_0x1de274
){
console
[
'log'
](
'checkShuntMember:'
,
_0x1de274
);
if
(
_0x1de274
[
'status_code'
]
===
0x1
){
_0x59a79f
[
'default'
][
'session_key'
]
=
_0x1de274
[
'data'
][
'data'
][
'session_key'
];
_0x59a79f
[
'default'
][
'openid'
]
=
_0x1de274
[
'data'
][
'data'
][
'openid'
];
_0x59a79f
[
'default'
][
'unionid'
]
=
_0x1de274
[
'data'
][
'data'
][
'unionid'
];
if
(
_0x1de274
[
'data'
][
'data'
][
'event'
]
===
0x0
){
wx
[
'login'
]({
'success'
:
function
(
_0x4b0402
){
var
_0x27981f
=
_0x4b0402
[
'code'
];
_0x59a79f
[
'ajax'
](
'/mini_sdk/auth/login'
,{
'code'
:
_0x27981f
,
'state'
:
_0x59a79f
[
'default'
][
'state'
],
'query'
:
_0x59a79f
[
'default'
][
'query'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'redirect_member_id'
:
_0x59a79f
[
'default'
][
'redirect_member_id'
],
'openid'
:
_0x59a79f
[
'default'
][
'openid'
],
'unionid'
:
_0x59a79f
[
'default'
][
'unionid'
],
'session_key'
:
_0x59a79f
[
'default'
][
'session_key'
]})[
'then'
](
function
(
_0x1dc175
){
var
_0x1fcb2f
=
_0x1dc175
;
if
(
_0x1dc175
[
'status_code'
]
===
(
0x8b4b4
^
0x8b4b5
)){
_0x59a79f
[
'default'
][
'userToken'
]
=
_0x1dc175
[
'data'
][
'data'
][
'user_token'
];
_0x59a79f
[
'default'
][
'memberId'
]
=
_0x1dc175
[
'data'
][
'data'
][
'member_id'
];
_0x59a79f
[
'initShare'
]();
_0x59a79f
[
'checkLoginStatus'
]();
_0x796049
(
_0x1fcb2f
);}
else
{
wx
[
'showModal'
]({
'title'
:
'异常'
,
'content'
:
_0x1dc175
[
'msg'
],
'confirmText'
:
'我知道了'
,
'showCancel'
:
!
[]});}});}});}
else
{
var
_0x4242d1
=
window
[
'egret'
];
var
_0x2b0325
=
_0x4242d1
[
'Stage'
]()[
'MainContext'
][
'instance'
][
'stage'
];
var
_0x500d0e
=
new
_0x4242d1
[
'Shape'
]();
_0x500d0e
[
'graphics'
][
'beginFill'
](
0x0
);
_0x500d0e
[
'graphics'
][
'drawRect'
](
0xcfe91
^
0xcfe91
,
0x0
,
_0x2b0325
[
'width'
]
*
window
[
'devicePixelRatio'
],
_0x2b0325
[
'height'
]
*
window
[
'devicePixelRatio'
]);
_0x500d0e
[
'graphics'
][
'endFill'
]();
_0x500d0e
[
'touchEnabled'
]
=!!
[];
_0x2b0325
[
'addChild'
](
_0x500d0e
);
_0x2b0325
[
'addEventListener'
](
_0x4242d1
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x1de274
[
'data'
][
'data'
][
'targetAppId'
],
'path'
:
_0x1de274
[
'data'
][
'data'
][
'queryInfo'
]
||
''
,
'complete'
:
function
(
_0x31f860
){
console
[
'log'
](
'complete:'
,
_0x31f860
);}});},
_0x2eb256
);
var
_0x4b4252
=
new
_0x4242d1
[
'ImageLoader'
]();
_0x4b4252
[
'crossOrigin'
]
=
'anonymous'
;
_0x4b4252
[
'load'
](
_0x1de274
[
'data'
][
'data'
][
'message'
]);
_0x4b4252
[
'once'
](
_0x4242d1
[
'Event'
][
'COMPLETE'
],
function
(
_0x1ab11a
){
if
(
_0x1ab11a
[
'currentTarget'
][
'data'
]){
console
[
'log'
](
'egret.Event.COMPLETE'
);
var
_0x293875
=
new
_0x4242d1
[
'Texture'
]();
_0x293875
[
'bitmapData'
]
=
_0x1ab11a
[
'currentTarget'
][
'data'
];
var
_0x4c9f42
=
new
_0x4242d1
[
'Bitmap'
](
_0x293875
);
_0x4c9f42
[
'$scaleFactor'
]
=
_0x4c9f42
[
'width'
]
/
_0x4c9f42
[
'height'
];
_0x4c9f42
[
'height'
]
=
_0x2b0325
[
'$stageHeight'
]
*
0.75
;
_0x4c9f42
[
'width'
]
=
_0x4c9f42
[
'height'
]
*
_0x4c9f42
[
'$scaleFactor'
];
_0x4c9f42
[
'x'
]
=
(
_0x2b0325
[
'$stageWidth'
]
-
_0x4c9f42
[
'width'
])
/
0x2
;
_0x4c9f42
[
'y'
]
=
(
_0x2b0325
[
'$stageHeight'
]
-
_0x4c9f42
[
'height'
])
/
0x2
;
_0x4c9f42
[
'touchEnabled'
]
=!!
[];
_0x4c9f42
[
'zIndex'
]
=
0xa395a
^
0xa3abd
;
_0x2b0325
[
'addChild'
](
_0x4c9f42
);
console
[
'log'
](
'bitmap:'
,
_0x4c9f42
);
console
[
'log'
](
'stage'
,
_0x2b0325
);
console
[
'log'
](
'stage.width'
,
_0x2b0325
[
'width'
]);
console
[
'log'
](
'stage.height'
,
_0x2b0325
[
'height'
]);}},
_0x2eb256
);}}});});};
_0x59a79f
[
'checkLoginStatus'
]
=
function
(){
_0x59a79f
[
'default'
][
'checkLoginStatusTimer'
]
=
setTimeout
(
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/checkLoginStatus'
,{})[
'then'
](
function
(
_0xc02f26
){
if
(
_0xc02f26
[
'status_code'
]
&&
_0xc02f26
[
'status_code'
]
===-
(
0x7e924
^
0x7e940
)){
wx
[
'showLoading'
]({
'title'
:
'请重新登录!'
,
'mask'
:
!!
[],
'complete'
:
function
(
_0x173fff
){
console
[
'log'
](
'showLoading,complete'
,
_0x173fff
);}});
wx
[
'closeSocket'
]();
wx
[
'onSocketOpen'
](
function
(
_0x4f3554
){
wx
[
'closeSocket'
]();});
clearInterval
(
_0x59a79f
[
'default'
][
'checkLoginStatusTimer'
]);}
else
{
_0x59a79f
[
'checkLoginStatus'
]();}})[
'catch'
](
function
(
_0x259754
){
_0x59a79f
[
'checkLoginStatus'
]();});},
0xea60
);};
_0x59a79f
[
'prototype'
][
'getUserMobile'
]
=
function
(){};
_0x59a79f
[
'prototype'
][
'updateUserInfo'
]
=
function
(){
var
_0x2e3089
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x6656f
^
0x6656f
)
!==
arguments
[
0xe55c2
^
0xe55c2
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x69ce5
,
_0x32a6de
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/updateInfo'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'raw_data'
:
_0x2e3089
[
'raw_data'
]
||
''
,
'signature'
:
_0x2e3089
[
'signature'
]
||
''
,
'encrypted_data'
:
_0x2e3089
[
'encrypted_data'
]
||
''
,
'iv'
:
_0x2e3089
[
'iv'
]
||
''
,
'user_info'
:
_0x2e3089
[
'user_info'
]
||
''
})[
'then'
](
function
(
_0x142566
){
_0x59a79f
[
'default'
][
'roleId'
]
=
_0x142566
[
'data'
][
'data'
][
'role_id'
]
||
''
;
_0x69ce5
(
_0x142566
);});});};
_0x59a79f
[
'prototype'
][
'createOrder'
]
=
function
(){
var
_0x14a127
=
this
;
var
_0x22e6cc
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x3803a
^
0x3803a
]:{};
return
new
Promise
(
function
(
_0x374510
,
_0xe96155
){
return
__awaiter
(
_0x14a127
,
void
(
0x6506d
^
0x6506d
),
void
0x0
,
function
(){
var
_0x5e5329
,
_0x2a96b0
,
_0x1a9635
,
_0x5db346
,
_0x586ff7
,
_0x12040a
,
_0x56130c
,
_0x90a0ef
,
_0x4296a5
,
_0x4ba496
;
var
_0x15654b
=
this
;
return
__generator
(
this
,
function
(
_0x36c501
){
switch
(
_0x36c501
[
'label'
]){
case
0xd7436
^
0xd7436
:
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/order/create'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_number'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'order'
:
_0x22e6cc
[
'order'
]
||
{},
'role'
:
_0x22e6cc
[
'role'
]
||
{},
'role_id'
:
_0x59a79f
[
'default'
][
'roleId'
]})];
case
0xe2eb8
^
0xe2eb9
:
_0x5e5329
=
_0x36c501
[
'sent'
]();
if
(
_0x5e5329
[
'status_code'
]
===
(
0x186c6
^
0x186c7
)){
_0x374510
({
'status_code'
:
_0x5e5329
[
'status_code'
],
'msg'
:
_0x5e5329
[
'msg'
],
'data'
:{
'data'
:{
'order_id'
:
_0x5e5329
[
'data'
][
'data'
][
'order_id'
]}}});
_0x2a96b0
=
_0x5e5329
[
'data'
][
'data'
][
'pay_type'
];
if
(
_0x2a96b0
===
'customer'
){
wx
[
'showModal'
]({
'title'
:
'充值教程'
,
'content'
:
'即将跳转官方【客服会话】充值,给客服回复“1”获取充值链接'
,
'confirmText'
:
'客服充值'
,
'showCancel'
:
!
[],
'success'
:
function
(
_0x3e6e39
){
if
(
_0x3e6e39
[
'confirm'
]){
console
[
'log'
](
'res'
);
_0x15654b
[
'customMessage'
]();}}});}
if
(
_0x2a96b0
===
'minipay'
){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x5e5329
[
'data'
][
'data'
][
'mini_pay'
][
'app_id'
],
'path'
:
_0x5e5329
[
'data'
][
'data'
][
'mini_pay'
][
'path'
]});}
if
(
_0x2a96b0
===
'mpay'
){
_0x1a9635
=
_0x5e5329
[
'data'
][
'data'
][
'mpay'
],
_0x5db346
=
_0x1a9635
[
'mode'
],
_0x586ff7
=
_0x1a9635
[
'env'
],
_0x12040a
=
_0x1a9635
[
'offer_id'
],
_0x56130c
=
_0x1a9635
[
'currency_type'
],
_0x90a0ef
=
_0x1a9635
[
'platform'
],
_0x4296a5
=
_0x1a9635
[
'buy_quantity'
],
_0x4ba496
=
_0x1a9635
[
'zone_id'
];
wx
[
'requestMidasPayment'
]({
'mode'
:
_0x5db346
,
'env'
:
_0x586ff7
,
'offerId'
:
_0x12040a
,
'currencyType'
:
_0x56130c
,
'buyQuantity'
:
_0x4296a5
,
'platform'
:
_0x90a0ef
,
'zoneId'
:
_0x4ba496
,
'complete'
:
function
(
_0x10ba2b
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/mds_pay/callback'
,{
'order_id'
:
_0x5e5329
[
'data'
][
'data'
][
'order_id'
]
||
''
,
'status'
:
_0x10ba2b
[
'errCode'
]?
!
[]:
!!
[],
'code'
:
_0x10ba2b
[
'errCode'
],
'msg'
:
_0x10ba2b
[
'errMsg'
]})[
'then'
](
function
(
_0x32230a
){});}});}}
else
{
_0x374510
(
_0x5e5329
);}
return
[
0xd4782
^
0xd4780
];}});});});};
_0x59a79f
[
'prototype'
][
'checkOrder'
]
=
function
(){
var
_0x4083e5
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x68189
^
0x68189
)
!==
arguments
[
0x5c60f
^
0x5c60f
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x3d8984
,
_0x35092c
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/order/getPayStatus'
,{
'order'
:
_0x4083e5
[
'order'
]})[
'then'
](
function
(
_0x355835
){
_0x3d8984
(
_0x355835
);});});};
_0x59a79f
[
'initShare'
]
=
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/getShareInfo'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
]})[
'then'
](
function
(
_0x2561eb
){
wx
[
'onShareAppMessage'
](
function
(){
_0x59a79f
[
'log'
](
'系统转发:onShareAppMessage'
,{
'params'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
]},
'result'
:
_0x2561eb
});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x2561eb
[
'data'
][
'data'
][
'share_id'
]});
return
{
'title'
:
_0x2561eb
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x2561eb
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x2561eb
[
'data'
][
'data'
][
'state'
]};});
wx
[
'showShareMenu'
]({
'withShareTicket'
:
!!
[],
'menus'
:[
'shareAppMessage'
,
'shareTimeline'
]});});};
_0x59a79f
[
'prototype'
][
'getShareInfo'
]
=
function
(){
var
_0x832ac4
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/getShareInfo'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'path'
:
_0x832ac4
[
'path'
]
||
''
})[
'then'
](
function
(
_0x3ffe55
){
wx
[
'onShareAppMessage'
](
function
(){
_0x59a79f
[
'log'
](
'系统转发:onShareAppMessage'
,{
'params'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'path'
:
_0x832ac4
[
'path'
]
||
''
},
'result'
:
_0x3ffe55
});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});
return
{
'title'
:
_0x3ffe55
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x3ffe55
[
'data'
][
'data'
][
'state'
]};});
wx
[
'showShareMenu'
]({
'withShareTicket'
:
!!
[],
'menus'
:[
'shareAppMessage'
,
'shareTimeline'
]});
if
(
_0x832ac4
[
'shareAppMessage'
]
||
_0x832ac4
[
'shareAppMessage'
]
===
undefined
){
wx
[
'shareAppMessage'
]({
'title'
:
_0x3ffe55
[
'data'
][
'data'
][
'title'
],
'imageUrl'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_img'
],
'query'
:
'state='
+
_0x3ffe55
[
'data'
][
'data'
][
'state'
]});
_0x59a79f
[
'reportShare'
]({
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});
_0x59a79f
[
'log'
](
'主动转发:shareAppMessage'
,{
'share_id'
:
_0x3ffe55
[
'data'
][
'data'
][
'share_id'
]});}});};
_0x59a79f
[
'reportShare'
]
=
function
(){
var
_0x27815c
=
arguments
[
'length'
]
>
(
0x5a361
^
0x5a361
)
&&
void
(
0xb6466
^
0xb6466
)
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
_0x59a79f
[
'ajax'
](
'/mini_sdk/share/report'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'share_id'
:
_0x27815c
[
'share_id'
]
||
''
,
'ext'
:
_0x27815c
[
'ext'
]
||
''
})[
'then'
](
function
(
_0x106e23
){
console
[
'log'
](
_0x106e23
);});};
_0x59a79f
[
'prototype'
][
'updateRole'
]
=
function
(){
var
_0x3bed3f
=
arguments
[
'length'
]
>
(
0xda10f
^
0xda10f
)
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x444cb7
,
_0x338e4e
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/role/report'
,{
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'os'
:
_0x59a79f
[
'default'
][
'os'
],
'device_number'
:
_0x59a79f
[
'default'
][
'device_number'
],
'device_brand'
:
_0x59a79f
[
'default'
][
'device_brand'
],
'role'
:
_0x3bed3f
[
'role'
]
||
{}})[
'then'
](
function
(
_0x37e8f9
){
_0x444cb7
(
_0x37e8f9
);});});};
_0x59a79f
[
'prototype'
][
'checkMsg'
]
=
function
(){
var
_0x450ad8
=
arguments
[
'length'
]
>
0x0
&&
void
(
0x5bfb7
^
0x5bfb7
)
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x32a9bb
,
_0x4d7acb
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/check/message'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'content'
:
_0x450ad8
[
'content'
]
||
''
})[
'then'
](
function
(
_0x160ca4
){
_0x32a9bb
(
_0x160ca4
);});});};
_0x59a79f
[
'prototype'
][
'checkImg'
]
=
function
(){
var
_0x21a29a
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x10bbe2
,
_0xea785
){
wx
[
'uploadFile'
]({
'url'
:
_0x59a79f
[
'default'
][
'baseUrl'
]
+
'/mini_sdk/check/image'
,
'filePath'
:
_0x21a29a
[
'filePath'
],
'name'
:
'image'
,
'header'
:{
'User-Token'
:
_0x59a79f
[
'default'
][
'userToken'
]},
'formData'
:{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
],
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'app_id'
:
_0x59a79f
[
'default'
][
'appId'
],
'user_token'
:
_0x59a79f
[
'default'
][
'userToken'
]},
'success'
:
function
(
_0x2d121d
){
_0x10bbe2
(
_0x2d121d
);}});});};
_0x59a79f
[
'prototype'
][
'customMessage'
]
=
function
(){
_0x59a79f
[
'ajax'
](
'/mini_sdk/custom_message/config'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})[
'then'
](
function
(
_0x2bffa0
){
if
(
_0x2bffa0
[
'status_code'
]
===
0x1
){
wx
[
'openCustomerServiceConversation'
]({
'sessionFrom'
:
_0x2bffa0
[
'data'
][
'data'
][
'session_from'
],
'showMessageCard'
:
_0x2bffa0
[
'data'
][
'data'
][
'show_message_card'
],
'sendMessageTitle'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_title'
],
'sendMessagePath'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_path'
],
'sendMessageImg'
:
_0x2bffa0
[
'data'
][
'data'
][
'send_message_img'
],
'complete'
:
function
(
_0x454489
){
console
[
'log'
](
'openCustomerServiceConversation:'
,
_0x454489
);
_0x59a79f
[
'log'
](
'客服会话:openCustomerServiceConversation'
,
_0x454489
);}});}});};
_0x59a79f
[
'prototype'
][
'sendCaptcha'
]
=
function
(){
var
_0x266627
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0x0
]?
arguments
[
0x70884
^
0x70884
]:{};
return
new
Promise
(
function
(
_0x38adfe
,
_0x464cb5
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/captcha/send'
,{
'mobile'
:
_0x266627
[
'mobile'
]
||
''
})[
'then'
](
function
(
_0x1e8b28
){
_0x38adfe
(
_0x1e8b28
);});});};
_0x59a79f
[
'prototype'
][
'bindMobile'
]
=
function
(){
var
_0x1f7931
=
arguments
[
'length'
]
>
0x0
&&
void
0x0
!==
arguments
[
0xbbaae
^
0xbbaae
]?
arguments
[
0x0
]:{};
return
new
Promise
(
function
(
_0x3b2247
,
_0x446668
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/bindMobile'
,{
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'mobile'
:
_0x1f7931
[
'mobile'
]
||
''
,
'code'
:
_0x1f7931
[
'code'
]
||
''
,
'key'
:
_0x1f7931
[
'key'
]
||
''
})[
'then'
](
function
(
_0xc3dca9
){
_0x3b2247
(
_0xc3dca9
);});});};
_0x59a79f
[
'ajax'
]
=
function
(
_0x323eb0
,
_0x124e42
){
var
_0x47d3d2
=
{
'content-type'
:
'application/json'
};
if
(
_0x59a79f
[
'default'
][
'userToken'
]){
_0x47d3d2
[
'User-Token'
]
=
_0x59a79f
[
'default'
][
'userToken'
];}
var
_0x5c64f5
=
_0x124e42
[
'showLoading'
],
_0x1aa9ad
=
_0x124e42
[
'loadingParams'
],
_0x4e71b0
=
_0x124e42
[
'showToast'
],
_0x18b9aa
=
_0x124e42
[
'toastParams'
];
_0x5c64f5
&&
wx
[
'showLoading'
](
_0x1aa9ad
);
return
new
Promise
(
function
(
_0xbc7aec
,
_0x2c5241
){
wx
[
'request'
]({
'method'
:
'POST'
,
'url'
:
_0x59a79f
[
'default'
][
'baseUrl'
]
+
_0x323eb0
,
'data'
:
_0x124e42
,
'header'
:
_0x47d3d2
,
'success'
:
function
(
_0xe3c41d
){
_0x5c64f5
&&
wx
[
'hideLoading'
]();
if
(
_0x4e71b0
){
_0x18b9aa
[
'title'
]
=
_0xe3c41d
[
'data'
][
'msg'
];
wx
[
'showToast'
](
_0x18b9aa
);}
_0xbc7aec
(
_0xe3c41d
[
'data'
]);},
'fail'
:
function
(
_0x2d574d
){
_0x5c64f5
&&
wx
[
'hideLoading'
]();
if
(
_0x4e71b0
){
_0x18b9aa
[
'title'
]
=
_0x2d574d
[
'errMsg'
];
wx
[
'showToast'
](
_0x18b9aa
);}
_0xbc7aec
(
_0x2d574d
);}});});};
_0x59a79f
[
'getSystemOS'
]
=
function
(){
var
_0x44a53a
=
wx
[
'getSystemInfoSync'
]()[
'system'
];
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'android'
)
>-
(
0xb8a1f
^
0xb8a1e
))
return
'android'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'ios'
)
>-
(
0xaa7d6
^
0xaa7d7
))
return
'ios'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'windows'
)
>-
0x1
)
return
'windows'
;
if
(
_0x44a53a
[
'toLocaleLowerCase'
]()[
'indexOf'
](
'macos'
)
>-
(
0x955e2
^
0x955e3
))
return
'macos'
;
return
'other'
;};
_0x59a79f
[
'getSystemBrand'
]
=
function
(){
var
_0x4846ea
=
wx
[
'getSystemInfoSync'
]()[
'brand'
];
return
_0x4846ea
;};
_0x59a79f
[
'getSystemNumber'
]
=
function
(){
var
_0x4353d4
=
wx
[
'getSystemInfoSync'
]()[
'model'
];
return
_0x4353d4
;};
_0x59a79f
[
'midasPay'
]
=
function
(
_0x3b9831
){
return
wx
[
'requestMidasPayment'
](
_0x3b9831
);};
_0x59a79f
[
'getQueryVariable'
]
=
function
(
_0x46ba11
,
_0x3949fc
){
var
_0x10dbcf
=
_0x46ba11
;
var
_0x1d001b
=
_0x10dbcf
[
'split'
](
'&'
);
for
(
var
_0x4b03d8
=
0x3df04
^
0x3df04
;
_0x4b03d8
<
_0x1d001b
[
'length'
];
_0x4b03d8
++
){
var
_0x426fca
=
_0x1d001b
[
_0x4b03d8
][
'split'
](
'='
);
if
(
_0x426fca
[
0x50b46
^
0x50b46
]
===
_0x3949fc
){
return
_0x426fca
[
0xb74ee
^
0xb74ef
];}}
return
''
;};
_0x59a79f
[
'getState'
]
=
function
(
_0x1d3832
){
if
(
_0x1d3832
[
'state'
]){
return
_0x1d3832
[
'state'
];}
if
(
_0x1d3832
[
'scene'
]
&&
_0x1d3832
[
'scene'
][
'indexOf'
](
'state'
)
>-
0x1
){
return
_0x59a79f
[
'getQueryVariable'
](
decodeURIComponent
(
_0x1d3832
[
'scene'
]),
'state'
);}
return
''
;};
_0x59a79f
[
'log'
]
=
function
(
_0x181d29
,
_0x5c56be
){
_0x59a79f
[
'ajax'
](
'/mini_sdk/sdk_log/miniLog'
,{
'name'
:
_0x181d29
,
'value'
:
_0x5c56be
})[
'then'
](
function
(
_0x499d34
){
console
[
'log'
](
'log:'
,
_0x499d34
);});};
_0x59a79f
[
'prototype'
][
'egretTools'
]
=
function
(
_0x3d1e2a
){
return
__awaiter
(
this
,
void
(
0x642fc
^
0x642fc
),
void
0x0
,
function
(){
var
_0x240cc5
,
_0x2852c4
,
_0x31ac67
,
_0x24d081
,
_0x45fc74
,
_0x464ac4
,
_0x29b8d4
,
_0x32f87b
,
_0x548447
,
_0x13149f
,
_0x4769ce
,
_0x30dc54
,
_0x833ee3
,
_0x1c647a
,
_0x240579
,
_0x2522f0
,
_0x339921
,
_0x4e4587
,
_0x59573a
,
_0x31e7b2
,
_0x2902ee
,
_0x121706
,
_0x5a2c8d
,
_0x26cd60
,
_0x1c36ae
,
_0x5929dd
,
_0x42abc2
,
_0x308add
,
_0xaf3e15
,
_0xd7d032
,
_0x5cc267
,
_0x120a09
,
_0xf1be68
,
_0x493cf9
,
_0x42f1cc
,
_0x16c3ed
,
_0xa16b5a
,
_0x4082c0
,
_0x52a667
;
var
_0x3bc2f2
=
this
;
return
__generator
(
this
,
function
(
_0x378123
){
switch
(
_0x378123
[
'label'
]){
case
0x0
:
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'flag'
]){
return
[
0x2
];}
_0x59a79f
[
'default'
][
'egretTools'
][
'flag'
]
=!!
[];
return
[
0x751c2
^
0x751c6
,
this
[
'getGameConf'
]()];
case
0x1
:
_0x240cc5
=
_0x378123
[
'sent'
]();
if
(
_0x240cc5
[
'data'
][
'data'
][
'quick_button_show'
]
===
0x2
){
console
[
'log'
](
'不显示'
);
return
[
0x8a623
^
0x8a621
,
!
[]];}
console
[
'log'
](
'config'
,
_0x240cc5
);
_0x2852c4
=
function
(
_0xacda40
){
var
_0x9eaaa9
;
var
_0x1d5059
;
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
>
0x0
&&
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>
0x0
){
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>=
_0xacda40
[
'target'
][
'maxWidth'
]
/
_0xacda40
[
'target'
][
'maxHeight'
]){
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
>
_0xacda40
[
'target'
][
'maxWidth'
]){
_0x9eaaa9
=
_0xacda40
[
'target'
][
'maxWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
*
_0xacda40
[
'target'
][
'maxWidth'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];}
else
{
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}}
else
{
if
(
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
]
>
_0xacda40
[
'target'
][
'maxHeight'
]){
_0x1d5059
=
_0xacda40
[
'target'
][
'maxHeight'
];
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
]
*
_0xacda40
[
'target'
][
'maxHeight'
]
/
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}
else
{
_0x9eaaa9
=
_0xacda40
[
'target'
][
'texture'
][
'textureWidth'
];
_0x1d5059
=
_0xacda40
[
'target'
][
'texture'
][
'textureHeight'
];}}
_0xacda40
[
'target'
][
'height'
]
=
_0x1d5059
;
_0xacda40
[
'target'
][
'width'
]
=
_0x9eaaa9
;}};
_0x31ac67
=
function
(
_0x256a89
,
_0xab4b6f
){
return
new
Promise
(
function
(
_0x194745
,
_0x3b4c12
){
var
_0x25a5e3
=
new
egret
[
'ImageLoader'
]();
_0x25a5e3
[
'crossOrigin'
]
=
'anonymous'
;
_0x25a5e3
[
'load'
](
_0x256a89
);
_0x25a5e3
[
'once'
](
egret
[
'Event'
][
'COMPLETE'
],
function
(
_0x55bb5e
){
if
(
_0x55bb5e
[
'currentTarget'
][
'data'
]){
var
_0x439ee1
=
new
egret
[
'Texture'
]();
_0x439ee1
[
'bitmapData'
]
=
_0x55bb5e
[
'currentTarget'
][
'data'
];
var
_0x1401bd
=
new
egret
[
'Bitmap'
](
_0x439ee1
);
_0x1401bd
[
'visible'
]
=!
[];
_0xab4b6f
[
'addChild'
](
_0x1401bd
);
_0x1401bd
[
'$scaleFactor'
]
=
_0x1401bd
[
'width'
]
/
_0x1401bd
[
'height'
];
_0x1401bd
[
'addEventListener'
](
egret
[
'Event'
][
'COMPLETE'
],
_0x2852c4
,
_0x3bc2f2
);
_0x194745
(
_0x1401bd
);}},
_0x3bc2f2
);});};
_0x24d081
=
function
(
_0x1a2803
){
return
new
Promise
(
function
(
_0x396033
,
_0x3b32ae
){
var
_0x4cade7
=
new
egret
[
'TextField'
]();
_0x4cade7
[
'type'
]
=
egret
[
'TextFieldType'
][
'INPUT'
];
_0x1a2803
[
'addChild'
](
_0x4cade7
);
_0x396033
(
_0x4cade7
);});};
_0x45fc74
=
function
(
_0x4a06d4
){
return
new
Promise
(
function
(
_0x5da2c3
,
_0x3be80
){
var
_0x48d2f5
=
new
egret
[
'TextField'
]();
_0x4a06d4
[
'addChild'
](
_0x48d2f5
);
_0x5da2c3
(
_0x48d2f5
);});};
_0x464ac4
=
function
(){
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0xf1be68
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x42f1cc
[
'visible'
]
=!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0xd7d032
[
'visible'
]
=!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x4082c0
[
'$tabVisible'
]
=!
[];
_0x4082c0
[
'visible'
]
=!!
[];
_0x548447
();};
_0x29b8d4
=
function
(){
if
(
_0x59a79f
[
'default'
][
'mobile'
]){
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'visible'
]
=!!
[];}
else
{
_0x59573a
[
'visible'
]
=!!
[];
_0x2902ee
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!!
[];
_0x31e7b2
[
'visible'
]
=!!
[];
_0x5a2c8d
[
'visible'
]
=!!
[];
console
[
'log'
](
'zwsdk.default.egretTools.timeNum:'
,
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]);
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
(
0xa90cf
^
0xa90f3
)){
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!
[];}
else
{
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];}}
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0xf1be68
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0xd7d032
[
'visible'
]
=!!
[];
_0x4082c0
[
'$tabVisible'
]
=!!
[];
_0x4082c0
[
'visible'
]
=!
[];
_0x548447
();};
_0x32f87b
=
function
(){
for
(
var
_0x2603d4
in
_0x5cc267
){
if
(
_0x5cc267
[
_0x2603d4
]
&&
_0x5cc267
[
_0x2603d4
][
'img'
]){
_0x5cc267
[
_0x2603d4
][
'img'
][
'visible'
]
=!!
[];
_0x5cc267
[
_0x2603d4
][
'text'
][
'visible'
]
=!!
[];}}};
_0x548447
=
function
(){
for
(
var
_0x2372bb
in
_0x5cc267
){
if
(
_0x5cc267
[
_0x2372bb
]
&&
_0x5cc267
[
_0x2372bb
][
'img'
]){
_0x5cc267
[
_0x2372bb
][
'img'
][
'visible'
]
=!
[];
_0x5cc267
[
_0x2372bb
][
'text'
][
'visible'
]
=!
[];}}};
_0x13149f
=
''
;
_0x4769ce
=
function
(){
return
__awaiter
(
_0x3bc2f2
,
void
(
0x83b37
^
0x83b37
),
void
0x0
,
function
(){
var
_0x40b142
,
_0x52e998
,
_0x32ddf6
,
_0x228c51
;
return
__generator
(
this
,
function
(
_0x4b85da
){
switch
(
_0x4b85da
[
'label'
]){
case
0xac993
^
0xac993
:
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
=
0x3c
;
_0x52e998
=
_0x31e7b2
[
'text'
];
_0x32ddf6
=
/^1
[
3-9
][
0-9
]{9}
|1
[
3-9
][
0-9
][
*
]{4}[
0-9
]{4}
$/
;
if
(
!
_0x52e998
){
wx
[
'showToast'
]({
'title'
:
'请输入手机号'
,
'icon'
:
'none'
});
return
[
0x32e5f
^
0x32e5d
,
!
[]];}
else
if
(
!
_0x32ddf6
[
'test'
](
_0x52e998
)){
wx
[
'showToast'
]({
'title'
:
'请输入正确的手机号'
,
'icon'
:
'none'
});
return
[
0xed890
^
0xed892
,
!
[]];}
return
[
0xaf61c
^
0xaf618
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/captcha/send'
,{
'mobile'
:
_0x52e998
})];
case
0x1
:
_0x228c51
=
_0x4b85da
[
'sent'
]();
if
(
_0x228c51
[
'status_code'
]
===
0x1
){
wx
[
'showToast'
]({
'title'
:
'验证码发送成功'
,
'icon'
:
'none'
});
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];
_0x121706
[
'text'
]
=
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
+
'秒'
;
console
[
'log'
](
'getVercode'
);
_0x13149f
=
_0x228c51
[
'data'
][
'data'
][
'key'
];
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]
=
setInterval
(
function
(){
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
--
;
_0x121706
[
'text'
]
=
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
+
'秒'
;
console
[
'log'
](
'
\
x20
\
x20vercodeText.text:'
,
_0x121706
[
'text'
]);
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
(
0xcc5ba
^
0xcc5ba
)){
clearInterval
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]);
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!!!
[];
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
=
0x2d66a
^
0x2d656
;}},
0x3e8
);}
else
{
wx
[
'showToast'
]({
'title'
:
'验证码发送失败'
,
'icon'
:
'none'
});}
return
[
0x2
];}});});};
_0x30dc54
=
function
(){
return
__awaiter
(
_0x3bc2f2
,
void
0x0
,
void
0x0
,
function
(){
var
_0x270fb7
,
_0x22017b
,
_0x365bcb
;
return
__generator
(
this
,
function
(
_0x4e1e92
){
switch
(
_0x4e1e92
[
'label'
]){
case
0x0
:
_0x270fb7
=
_0x31e7b2
[
'text'
];
_0x22017b
=
_0x2902ee
[
'text'
];
if
(
!
_0x13149f
)
return
[
0x3
,
0x2
];
return
[
0x7ef7b
^
0x7ef7f
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/bindMobile'
,{
'mobile'
:
_0x270fb7
,
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
],
'code'
:
_0x22017b
,
'key'
:
_0x13149f
})];
case
0x1
:
_0x365bcb
=
_0x4e1e92
[
'sent'
]();
if
(
_0x365bcb
[
'status_code'
]
===
0x1
){
wx
[
'showToast'
]({
'title'
:
'绑定成功'
,
'icon'
:
'none'
});
_0x59a79f
[
'default'
][
'mobile'
]
=
_0x270fb7
;
clearInterval
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timer'
]);
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!
[];
_0x31e7b2
[
'visible'
]
=!
[];
_0x2902ee
[
'visible'
]
=!
[];
_0x5a2c8d
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'text'
]
=
_0x59a79f
[
'default'
][
'mobile'
][
'substr'
](
0x0
,
0x3
)
+
'****'
+
_0x59a79f
[
'default'
][
'mobile'
][
'substr'
](
0x7
);
_0x42abc2
[
'visible'
]
=!!
[];
_0x59573a
[
'visible'
]
=!
[];}
console
[
'log'
](
'bindMobile:'
,
_0x365bcb
);
return
[
0x3
,
0x3
];
case
0x2
:
wx
[
'showToast'
]({
'title'
:
'请先获取验证码'
,
'icon'
:
'none'
});
_0x4e1e92
[
'label'
]
=
0x3
;
case
0x5fc17
^
0x5fc14
:
return
[
0x2
];}});});};
_0x833ee3
=
0x352
;
console
[
'log'
](
'container:'
,
_0x3d1e2a
);
_0x1c647a
=
_0x3d1e2a
[
'stage'
][
'stageWidth'
];
_0x240579
=
_0x3d1e2a
[
'stage'
][
'stageHeight'
];
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/member/info'
,{
'member_id'
:
_0x59a79f
[
'default'
][
'memberId'
]})];
case
0xeed9a
^
0xeed98
:
_0x2522f0
=
_0x378123
[
'sent'
]();
if
(
_0x2522f0
[
'status_code'
]
===
0x1
){
_0x59a79f
[
'default'
][
'mobile'
]
=
_0x2522f0
[
'data'
][
'data'
][
'mobile'
];}
return
[
0x4
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/gift_ball/image'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})];
case
0x3
:
_0x339921
=
_0x378123
[
'sent'
]();
return
[
0x97359
^
0x9735d
,
_0x59a79f
[
'ajax'
](
'/mini_sdk/gift_ball/gameList'
,{
'game_id'
:
_0x59a79f
[
'default'
][
'gameId'
]})];
case
0xe51c1
^
0xe51c5
:
_0x4e4587
=
_0x378123
[
'sent'
]();
console
[
'log'
](
'userInfo:'
,
_0x2522f0
);
console
[
'log'
](
'flImg:'
,
_0x339921
);
console
[
'log'
](
'gameList:'
,
_0x4e4587
);
_0x1c36ae
=
0x64
;
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/ybd.png'
,
_0x3d1e2a
)];
case
0x5
:
_0x5929dd
=
_0x378123
[
'sent'
]();
_0x5929dd
[
'zIndex'
]
=
_0x1c36ae
;
_0x5929dd
[
'width'
]
=
_0x833ee3
;
_0x5929dd
[
'x'
]
=
0x0
;
_0x5929dd
[
'height'
]
=
_0x5929dd
[
'width'
]
/
_0x5929dd
[
'$scaleFactor'
];
_0x5929dd
[
'y'
]
=
(
_0x240579
-
_0x5929dd
[
'height'
])
/
0x2
;
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
=
new
egret
[
'TextField'
]();
_0x42abc2
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x42abc2
[
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x42abc2
[
'width'
]
=
0xc8
;
_0x42abc2
[
'text'
]
=
_0x59a79f
[
'default'
][
'mobile'
];
_0x42abc2
[
'size'
]
=
0x1c
;
_0x42abc2
[
'height'
]
=
0x1e
;
_0x42abc2
[
'textColor'
]
=
0xba8a2a
;
_0x42abc2
[
'textAlign'
]
=
'center'
;
_0x42abc2
[
'wordWrap'
]
=!!
[];
_0x42abc2
[
'x'
]
=
_0x5929dd
[
'width'
]
/
0x2
-
(
0x668d0
^
0x668c4
)
-
0x3c
;
_0x42abc2
[
'y'
]
=
(
_0x240579
-
_0x5929dd
[
'height'
])
/
(
0x751f2
^
0x751f0
)
+
0xf8
;
_0x42abc2
[
'visible'
]
=!
[];
_0x3d1e2a
[
'addChild'
](
_0x42abc2
);
if
(
!
_0x2522f0
[
'data'
][
'data'
][
'mobile'
])
return
[
0x30fe4
^
0x30fe7
,
0x7
];
return
[
0x45876
^
0x45872
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/ybd.png'
,
_0x3d1e2a
)];
case
0x6
:
_0x59573a
=
_0x378123
[
'sent'
]();
_0x59573a
[
'width'
]
=
_0x833ee3
;
_0x59573a
[
'x'
]
=
0x0
;
_0x59573a
[
'zIndex'
]
=
_0x1c36ae
;
_0x59573a
[
'height'
]
=
_0x59573a
[
'width'
]
/
_0x59573a
[
'$scaleFactor'
];
_0x59573a
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
;
_0x59573a
[
'visible'
]
=!
[];
console
[
'log'
](
'img1:ok'
);
return
[
0x3
,
0x52f61
^
0x52f6c
];
case
0x7
:
return
[
0x1b9b9
^
0x1b9bd
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bdzh.png'
,
_0x3d1e2a
)];
case
0x8
:
_0x59573a
=
_0x378123
[
'sent'
]();
_0x59573a
[
'width'
]
=
_0x833ee3
;
_0x59573a
[
'zIndex'
]
=
_0x1c36ae
;
_0x59573a
[
'x'
]
=
0x0
;
_0x59573a
[
'height'
]
=
_0x59573a
[
'width'
]
/
_0x59573a
[
'$scaleFactor'
];
_0x59573a
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
;
_0x59573a
[
'visible'
]
=!
[];
console
[
'log'
](
'img1:ok'
);
return
[
0x44ffe
^
0x44ffa
,
_0x24d081
(
_0x3d1e2a
)];
case
0xde820
^
0xde829
:
_0x31e7b2
=
_0x378123
[
'sent'
]();
_0x31e7b2
[
'width'
]
=
0xb9
;
_0x31e7b2
[
'size'
]
=
0xf
;
_0x31e7b2
[
'height'
]
=
0xea2f6
^
0xea2ed
;
_0x31e7b2
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
(
0xdd360
^
0xdd30e
);
_0x31e7b2
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0x37fcd
^
0x37fcf
)
+
(
0xdb030
^
0xdb0cf
)
+
(
0xbda9e
^
0xbdab6
);
_0x31e7b2
[
'border'
]
=!
[];
_0x31e7b2
[
'visible'
]
=!
[];
_0x31e7b2
[
'verticalAlign'
]
=
'middle'
;
_0x31e7b2
[
'borderColor'
]
=
0xff0000
;
_0x31e7b2
[
'textColor'
]
=
0x0
;
_0x31e7b2
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
return
[
0x73603
^
0x73607
,
_0x24d081
(
_0x3d1e2a
)];
case
0xbcd0b
^
0xbcd01
:
_0x2902ee
=
_0x378123
[
'sent'
]();
_0x2902ee
[
'width'
]
=
0x1e041
^
0x1e01e
;
_0x2902ee
[
'size'
]
=
0xbca9d
^
0xbca92
;
_0x2902ee
[
'height'
]
=
0xabcef
^
0xabcf4
;
_0x2902ee
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
(
0x7778e
^
0x777e0
);
_0x2902ee
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0xed489
^
0xed48b
)
+
(
0x43bef
^
0x43ac3
)
+
0x28
;
_0x2902ee
[
'border'
]
=!
[];
_0x2902ee
[
'verticalAlign'
]
=
'middle'
;
_0x2902ee
[
'borderColor'
]
=
0xff0000
;
_0x2902ee
[
'textColor'
]
=
0x2c797
^
0x2c797
;
_0x2902ee
[
'visible'
]
=!
[];
_0x2902ee
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x121706
=
new
egret
[
'TextField'
]();
_0x121706
[
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x121706
[
'width'
]
=
0x4b
;
_0x121706
[
'text'
]
=
''
;
_0x121706
[
'size'
]
=
0xf
;
_0x121706
[
'height'
]
=
0xf
;
_0x121706
[
'textColor'
]
=
0xff0000
;
_0x121706
[
'textAlign'
]
=
'center'
;
_0x121706
[
'x'
]
=
_0x59573a
[
'width'
]
/
(
0xb61e9
^
0xb61eb
);
_0x121706
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0xa7650
^
0xa7652
)
+
0x132
+
0x28
;
_0x3d1e2a
[
'addChild'
](
_0x121706
);
_0x121706
[
'visible'
]
=!
[];
_0x121706
[
'zIndex'
]
=
_0x1c36ae
+
(
0x76918
^
0x76919
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yzm.png'
,
_0x3d1e2a
)];
case
0xb
:
_0x26cd60
=
_0x378123
[
'sent'
]();
_0x26cd60
[
'width'
]
=
0x46
;
_0x26cd60
[
'height'
]
=
_0x26cd60
[
'width'
]
/
_0x26cd60
[
'$scaleFactor'
];
_0x26cd60
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
+
0x5
;
_0x26cd60
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
(
0x22cc7
^
0x22cc5
)
+
(
0x7bb4e
^
0x7ba7c
)
+
0x28
;
_0x26cd60
[
'touchEnabled'
]
=!!
[];
_0x26cd60
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x26cd60
[
'visible'
]
=!
[];
_0x26cd60
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x17e2d8
){
console
[
'log'
](
'获取验证码'
);
_0x4769ce
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/submit.png'
,
_0x3d1e2a
)];
case
0x69b4a
^
0x69b46
:
_0x5a2c8d
=
_0x378123
[
'sent'
]();
_0x5a2c8d
[
'width'
]
=
0xb4
;
_0x5a2c8d
[
'height'
]
=
_0x5a2c8d
[
'width'
]
/
_0x5a2c8d
[
'$scaleFactor'
];
_0x5a2c8d
[
'x'
]
=
_0x59573a
[
'width'
]
/
0x2
-
0x75
-
0x8
;
_0x5a2c8d
[
'y'
]
=
(
_0x240579
-
_0x59573a
[
'height'
])
/
0x2
+
0x18b
;
_0x5a2c8d
[
'touchEnabled'
]
=!!
[];
_0x5a2c8d
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x5a2c8d
[
'visible'
]
=!
[];
_0x5a2c8d
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1fbbbd
){
_0x30dc54
();
console
[
'log'
](
_0x31e7b2
[
'text'
]);
console
[
'log'
](
_0x2902ee
[
'text'
]);});
_0x378123
[
'label'
]
=
0xd
;
case
0xd
:
if
(
!
(
_0x339921
[
'status_code'
]
===
0x1
&&
_0x339921
[
'data'
][
'data'
][
'image_url'
]))
return
[
0x3
,
0xf
];
return
[
0x4
,
_0x31ac67
(
_0x339921
[
'data'
][
'data'
][
'image_url'
],
_0x3d1e2a
)];
case
0xe
:
_0x308add
=
_0x378123
[
'sent'
]();
return
[
0x3
,
0x11
];
case
0xf
:
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg.png'
,
_0x3d1e2a
)];
case
0x10
:
_0x308add
=
_0x378123
[
'sent'
]();
_0x378123
[
'label'
]
=
0x11
;
case
0x11
:
_0x308add
[
'width'
]
=
_0x833ee3
;
_0x308add
[
'x'
]
=
0x0
;
_0x308add
[
'height'
]
=
_0x308add
[
'width'
]
/
_0x308add
[
'$scaleFactor'
];
_0x308add
[
'y'
]
=
(
_0x240579
-
_0x308add
[
'height'
])
/
0x2
;
_0x308add
[
'visible'
]
=!
[];
_0x308add
[
'zIndex'
]
=
_0x1c36ae
;
console
[
'log'
](
'img2:ok'
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx.png'
,
_0x3d1e2a
)];
case
0x12
:
_0xaf3e15
=
_0x378123
[
'sent'
]();
_0xaf3e15
[
'width'
]
=
_0x833ee3
;
_0xaf3e15
[
'x'
]
=
0x0
;
_0xaf3e15
[
'height'
]
=
_0xaf3e15
[
'width'
]
/
_0xaf3e15
[
'$scaleFactor'
];
_0xaf3e15
[
'y'
]
=
(
_0x240579
-
_0xaf3e15
[
'height'
])
/
0x2
;
_0xaf3e15
[
'visible'
]
=!
[];
_0xaf3e15
[
'zIndex'
]
=
_0x1c36ae
;
console
[
'log'
](
'img3:ok'
);
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/close.png'
,
_0x3d1e2a
)];
case
0x13
:
_0xd7d032
=
_0x378123
[
'sent'
]();
_0xd7d032
[
'width'
]
=
0x23
;
_0xd7d032
[
'x'
]
=
_0x59573a
[
'width'
]
-
0x78
;
_0xd7d032
[
'height'
]
=
_0xd7d032
[
'width'
]
/
_0xd7d032
[
'$scaleFactor'
];
_0xd7d032
[
'y'
]
=
_0x240579
-
_0x59573a
[
'height'
]
+
0x46
;
_0xd7d032
[
'touchEnabled'
]
=!!
[];
_0xd7d032
[
'zIndex'
]
=
_0x1c36ae
+
0x2
;
_0xd7d032
[
'visible'
]
=!
[];
_0xd7d032
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x5df761
){
_0x464ac4
();});
_0x5cc267
=
{};
_0x4e4587
[
'data'
][
'data'
][
'map'
](
function
(
_0x19a46f
,
_0x1b34a9
){
return
__awaiter
(
_0x3bc2f2
,
void
0x0
,
void
0x0
,
function
(){
var
_0x47f761
,
_0x1b507b
,
_0x26c1c8
,
_0x4305bc
,
_0x56429b
;
return
__generator
(
this
,
function
(
_0x3ce5a7
){
switch
(
_0x3ce5a7
[
'label'
]){
case
0x0
:
_0x47f761
=
0x46
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]]
=
{};
_0x1b507b
=
_0x5cc267
[
_0x19a46f
[
'app_id'
]];
_0x26c1c8
=
'img'
;
return
[
0x4
,
_0x31ac67
(
_0x19a46f
[
'head_img'
],
_0x3d1e2a
)];
case
0x1
:
_0x1b507b
[
_0x26c1c8
]
=
_0x3ce5a7
[
'sent'
]();
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'width'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'height'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'touchEnabled'
]
=!!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1239fd
){
wx
[
'navigateToMiniProgram'
]({
'appId'
:
_0x19a46f
[
'app_id'
],
'path'
:
_0x19a46f
[
'channel_key'
]
||
''
,
'complete'
:
function
(
_0x3eca88
){
console
[
'log'
](
'complete:'
,
_0x3eca88
);}});});
_0x4305bc
=
_0x1b34a9
%
0x5
===
0x0
?
0x78
:
0x78
+
_0x1b34a9
%
0x5
*
(
_0x47f761
+
0x14
);
_0x56429b
=
(
_0x240579
-
_0xaf3e15
[
'height'
])
/
0x2
+
0x8c
+
0x64
*
parseInt
(
_0x1b34a9
/
0x5
);
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'x'
]
=
_0x4305bc
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'y'
]
=
_0x56429b
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'img'
][
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
]
=
new
egret
[
'TextField'
]();
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'type'
]
=
egret
[
'TextFieldType'
][
'DYNAMIC'
];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'width'
]
=
_0x47f761
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'text'
]
=
_0x19a46f
[
'game_name'
];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'size'
]
=
0xf
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'height'
]
=
0x1e
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'textColor'
]
=
0xba8a2a
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'textAlign'
]
=
'center'
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'wordWrap'
]
=!!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'x'
]
=
_0x4305bc
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'y'
]
=
_0x56429b
+
_0x47f761
+
0x5
;
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'visible'
]
=!
[];
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
][
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x3d1e2a
[
'addChild'
](
_0x5cc267
[
_0x19a46f
[
'app_id'
]][
'text'
]);
return
[
0x2
];}});});});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bd-open.png'
,
_0x3d1e2a
)];
case
0x14
:
_0x120a09
=
_0x378123
[
'sent'
]();
_0x120a09
[
'width'
]
=
0xb4
;
_0x120a09
[
'x'
]
=
0x64
+
0x32
;
_0x120a09
[
'height'
]
=
_0x120a09
[
'width'
]
/
_0x120a09
[
'$scaleFactor'
];
_0x120a09
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x120a09
[
'touchEnabled'
]
=!!
[];
_0x120a09
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x120a09
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/bd-close.png'
,
_0x3d1e2a
)];
case
0x15
:
_0xf1be68
=
_0x378123
[
'sent'
]();
_0xf1be68
[
'width'
]
=
0xb4
;
_0xf1be68
[
'x'
]
=
0x64
+
0x32
;
_0xf1be68
[
'height'
]
=
_0xf1be68
[
'width'
]
/
_0xf1be68
[
'$scaleFactor'
];
_0xf1be68
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0xf1be68
[
'touchEnabled'
]
=!!
[];
_0xf1be68
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0xf1be68
[
'visible'
]
=!
[];
_0xf1be68
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x5d5825
){
console
[
'log'
](
'bd_close_button:'
,
_0xf1be68
);
_0xf1be68
[
'visible'
]
=!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!!
[];
if
(
_0x59a79f
[
'default'
][
'mobile'
]){
_0x5929dd
[
'visible'
]
=!!
[];
_0x42abc2
[
'visible'
]
=!!
[];}
else
{
_0x59573a
[
'visible'
]
=!!
[];
_0x31e7b2
[
'visible'
]
=!!
[];
_0x2902ee
[
'visible'
]
=!!
[];
_0x5a2c8d
[
'visible'
]
=!!
[];
if
(
_0x59a79f
[
'default'
][
'egretTools'
][
'timeNum'
]
===
0x3c
){
_0x26cd60
[
'visible'
]
=!!
[];
_0x121706
[
'visible'
]
=!
[];}
else
{
_0x26cd60
[
'visible'
]
=!
[];
_0x121706
[
'visible'
]
=!!
[];}}
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0x548447
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg1.png'
,
_0x3d1e2a
)];
case
0x16
:
_0x493cf9
=
_0x378123
[
'sent'
]();
_0x493cf9
[
'width'
]
=
0xb4
;
_0x493cf9
[
'x'
]
=
0x15e
;
_0x493cf9
[
'height'
]
=
_0x493cf9
[
'width'
]
/
_0x493cf9
[
'$scaleFactor'
];
_0x493cf9
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x493cf9
[
'touchEnabled'
]
=!!
[];
_0x493cf9
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x493cf9
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/flg2.png'
,
_0x3d1e2a
)];
case
0x17
:
_0x42f1cc
=
_0x378123
[
'sent'
]();
_0x42f1cc
[
'width'
]
=
0xb4
;
_0x42f1cc
[
'x'
]
=
0x15e
;
_0x42f1cc
[
'height'
]
=
_0x42f1cc
[
'width'
]
/
_0x42f1cc
[
'$scaleFactor'
];
_0x42f1cc
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x42f1cc
[
'touchEnabled'
]
=!!
[];
_0x42f1cc
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x42f1cc
[
'visible'
]
=!
[];
_0x42f1cc
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x1834fb
){
_0xf1be68
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!
[];
_0xa16b5a
[
'visible'
]
=!!
[];
_0x493cf9
[
'visible'
]
=!!
[];
_0x16c3ed
[
'visible'
]
=!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!!
[];
_0xaf3e15
[
'visible'
]
=!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x548447
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx1.png'
,
_0x3d1e2a
)];
case
0x18
:
_0x16c3ed
=
_0x378123
[
'sent'
]();
_0x16c3ed
[
'width'
]
=
0xb4
;
_0x16c3ed
[
'x'
]
=
0x226
;
_0x16c3ed
[
'height'
]
=
_0x16c3ed
[
'width'
]
/
_0x16c3ed
[
'$scaleFactor'
];
_0x16c3ed
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0x16c3ed
[
'touchEnabled'
]
=!!
[];
_0x16c3ed
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0x16c3ed
[
'visible'
]
=!
[];
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/yxzx2.png'
,
_0x3d1e2a
)];
case
0x19
:
_0xa16b5a
=
_0x378123
[
'sent'
]();
_0xa16b5a
[
'width'
]
=
0xb4
;
_0xa16b5a
[
'x'
]
=
0x226
;
_0xa16b5a
[
'height'
]
=
_0xa16b5a
[
'width'
]
/
_0xa16b5a
[
'$scaleFactor'
];
_0xa16b5a
[
'y'
]
=
_0x59573a
[
'x'
]
+
_0x59573a
[
'height'
]
+
0x2a
-
0x3c
;
_0xa16b5a
[
'touchEnabled'
]
=!!
[];
_0xa16b5a
[
'zIndex'
]
=
_0x1c36ae
+
0x1
;
_0xa16b5a
[
'visible'
]
=!
[];
_0xa16b5a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_TAP'
],
function
(
_0x3d5d03
){
_0xf1be68
[
'visible'
]
=!!
[];
_0x42f1cc
[
'visible'
]
=!!
[];
_0xa16b5a
[
'visible'
]
=!
[];
_0x493cf9
[
'visible'
]
=!
[];
_0x16c3ed
[
'visible'
]
=!!
[];
_0x120a09
[
'visible'
]
=!
[];
_0x59573a
[
'visible'
]
=!
[];
_0x5929dd
[
'visible'
]
=!
[];
_0x42abc2
[
'visible'
]
=!
[];
_0x308add
[
'visible'
]
=!
[];
_0xaf3e15
[
'visible'
]
=!!
[];
_0x2902ee
&&
(
_0x2902ee
[
'visible'
]
=!
[]);
_0x121706
&&
(
_0x121706
[
'visible'
]
=!
[]);
_0x26cd60
&&
(
_0x26cd60
[
'visible'
]
=!
[]);
_0x31e7b2
&&
(
_0x31e7b2
[
'visible'
]
=!
[]);
_0x5a2c8d
&&
(
_0x5a2c8d
[
'visible'
]
=!
[]);
_0x32f87b
();});
return
[
0x4
,
_0x31ac67
(
'https://wanxiaomeng-1255977238.file.myqcloud.com/suspension/suspension.png'
,
_0x3d1e2a
)];
case
0x1a
:
_0x4082c0
=
_0x378123
[
'sent'
]();
_0x4082c0
[
'name'
]
=
'suspension'
;
_0x4082c0
[
'width'
]
=
0x50
;
_0x4082c0
[
'height'
]
=
0x50
;
_0x4082c0
[
'x'
]
=
0x64
;
_0x4082c0
[
'y'
]
=
_0x240579
/
0x2
-
_0x4082c0
[
'height'
];
_0x4082c0
[
'touchEnabled'
]
=!!
[];
_0x4082c0
[
'visible'
]
=!!
[];
_0x4082c0
[
'$isTouch'
]
=!
[];
_0x4082c0
[
'$isMove'
]
=!
[];
_0x4082c0
[
'$tabVisible'
]
=!
[];
_0x4082c0
[
'$tabVisible'
]
=
_0x1c36ae
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img1'
]
=
_0x59573a
;
_0x59a79f
[
'default'
][
'egretTools'
][
'ybdImg'
]
=
_0x5929dd
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img2'
]
=
_0x308add
;
_0x59a79f
[
'default'
][
'egretTools'
][
'img3'
]
=
_0xaf3e15
;
_0x59a79f
[
'default'
][
'egretTools'
][
'bd_close_button'
]
=
_0xf1be68
;
_0x59a79f
[
'default'
][
'egretTools'
][
'bd_open_button'
]
=
_0x120a09
;
_0x59a79f
[
'default'
][
'egretTools'
][
'fl_close_button'
]
=
_0x42f1cc
;
_0x59a79f
[
'default'
][
'egretTools'
][
'fl_open_button'
]
=
_0x493cf9
;
_0x59a79f
[
'default'
][
'egretTools'
][
'yx_close_button'
]
=
_0xa16b5a
;
_0x59a79f
[
'default'
][
'egretTools'
][
'yx_open_button'
]
=
_0x16c3ed
;
_0x59a79f
[
'default'
][
'egretTools'
][
'close_button'
]
=
_0xd7d032
;
_0x59a79f
[
'default'
][
'egretTools'
][
'phoneInput'
]
=
_0x31e7b2
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercodeInput'
]
=
_0x2902ee
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercode_button'
]
=
_0x26cd60
;
_0x59a79f
[
'default'
][
'egretTools'
][
'vercodeText'
]
=
_0x121706
;
_0x59a79f
[
'default'
][
'egretTools'
][
'suspension'
]
=
_0x4082c0
;
wx
[
'$egretTools'
]
=
_0x59a79f
[
'default'
][
'egretTools'
];
_0x52a667
=
new
egret
[
'Point'
]();
_0x4082c0
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_BEGIN'
],
function
(
_0x287df2
){
_0x4082c0
[
'$isTouch'
]
=!!
[];
_0x52a667
[
'x'
]
=
_0x287df2
[
'stageX'
]
-
_0x4082c0
[
'x'
];
_0x52a667
[
'y'
]
=
_0x287df2
[
'stageY'
]
-
_0x4082c0
[
'y'
];
_0x3d1e2a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_BEGIN'
],
function
(
_0x357f36
){
if
(
_0x357f36
[
'stageX'
]
<
_0x4082c0
[
'x'
]
||
_0x357f36
[
'stageX'
]
>
_0x4082c0
[
'x'
]
+
_0x4082c0
[
'width'
]){
_0x4082c0
[
'$isTouch'
]
=!
[];}
if
(
_0x357f36
[
'stageY'
]
<
_0x4082c0
[
'y'
]
||
_0x357f36
[
'stageY'
]
>
_0x4082c0
[
'y'
]
+
_0x4082c0
[
'height'
]){
_0x4082c0
[
'$isTouch'
]
=!
[];}},
_0x3bc2f2
);
_0x3d1e2a
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_MOVE'
],
function
(
_0x3b66cc
){
if
(
_0x4082c0
[
'$isTouch'
]){
_0x4082c0
[
'x'
]
=
_0x3b66cc
[
'stageX'
]
-
_0x52a667
[
'x'
];
_0x4082c0
[
'y'
]
=
_0x3b66cc
[
'stageY'
]
-
_0x52a667
[
'y'
];
if
(
_0x4082c0
[
'x'
]
<
0x0
){
_0x4082c0
[
'x'
]
=
0x0
;}
if
(
_0x4082c0
[
'y'
]
<
0x0
){
_0x4082c0
[
'y'
]
=
0x0
;}
if
(
_0x4082c0
[
'x'
]
>
_0x1c647a
-
_0x4082c0
[
'width'
]){
_0x4082c0
[
'x'
]
=
_0x1c647a
-
_0x4082c0
[
'width'
];}
if
(
_0x4082c0
[
'y'
]
>
_0x240579
-
_0x4082c0
[
'height'
]){
_0x4082c0
[
'y'
]
=
_0x240579
-
_0x4082c0
[
'height'
];}
_0x4082c0
[
'$isMove'
]
=!!
[];}},
_0x3bc2f2
);},
_0x3d1e2a
);
_0x4082c0
[
'addEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_END'
],
function
(
_0x505e64
){
_0x4082c0
[
'$isTouch'
]
=!
[];
if
(
_0x4082c0
[
'$isMove'
]){}
else
{
if
(
_0x4082c0
[
'$tabVisible'
]){
_0x464ac4
();
_0x4082c0
[
'$tabVisible'
]
=!
[];}
else
{
_0x29b8d4
();
_0x4082c0
[
'$tabVisible'
]
=!!
[];}}
_0x4082c0
[
'$isMove'
]
=!
[];
_0x3d1e2a
[
'removeEventListener'
](
egret
[
'TouchEvent'
][
'TOUCH_MOVE'
],
function
(
_0x2cfe63
){
if
(
_0x4082c0
[
'$isTouch'
]){
_0x4082c0
[
'x'
]
=
_0x2cfe63
[
'stageX'
]
-
_0x52a667
[
'x'
];
_0x4082c0
[
'y'
]
=
_0x2cfe63
[
'stageY'
]
-
_0x52a667
[
'y'
];
_0x4082c0
[
'$isMove'
]
=!!
[];}},
_0x3bc2f2
);},
_0x3d1e2a
);
return
[
0x2
];}});});};
_0x59a79f
[
'default'
]
=
{
'checkLoginStatusTimer'
:
null
,
'appId'
:
''
,
'gameId'
:
''
,
'os'
:
_0x59a79f
[
'getSystemOS'
](),
'device_number'
:
_0x59a79f
[
'getSystemNumber'
](),
'device_brand'
:
_0x59a79f
[
'getSystemBrand'
](),
'mobile'
:
''
,
'memberId'
:
''
,
'roleId'
:
''
,
'playerId'
:
''
,
'userToken'
:
''
,
'baseUrl'
:
''
,
'suspensionVisible'
:
!!
[],
'egretTools'
:{
'flag'
:
!
[],
'timeNum'
:
0x3c
}};
return
_0x59a79f
;}();
exports
[
'default'
]
=
zwsdk
;
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论