8a5303a4-8397-4fe4-bf94-f2daa44d1561.js 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. "use strict";
  2. cc._RF.push(module, '8a530Okg5dP5L+U8tqkTRVh', 'YZ_Tool_Kwai');
  3. // common-plugin/Scripts/YZ_Tool_Kwai.ts
  4. "use strict";
  5. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  6. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  7. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  8. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  9. return c > 3 && r && Object.defineProperty(target, key, r), r;
  10. };
  11. var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
  12. function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
  13. return new (P || (P = Promise))(function (resolve, reject) {
  14. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  15. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  16. function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
  17. step((generator = generator.apply(thisArg, _arguments || [])).next());
  18. });
  19. };
  20. var __generator = (this && this.__generator) || function (thisArg, body) {
  21. var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
  22. return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
  23. function verb(n) { return function (v) { return step([n, v]); }; }
  24. function step(op) {
  25. if (f) throw new TypeError("Generator is already executing.");
  26. while (_) try {
  27. if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
  28. if (y = 0, t) op = [op[0] & 2, t.value];
  29. switch (op[0]) {
  30. case 0: case 1: t = op; break;
  31. case 4: _.label++; return { value: op[1], done: false };
  32. case 5: _.label++; y = op[1]; op = [0]; continue;
  33. case 7: op = _.ops.pop(); _.trys.pop(); continue;
  34. default:
  35. if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
  36. if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
  37. if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
  38. if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
  39. if (t[2]) _.ops.pop();
  40. _.trys.pop(); continue;
  41. }
  42. op = body.call(thisArg, _);
  43. } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
  44. if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
  45. }
  46. };
  47. Object.defineProperty(exports, "__esModule", { value: true });
  48. var PlatUtils_1 = require("./PlatUtils");
  49. var Utils_1 = require("./Utils");
  50. var YZ_Constant_1 = require("./YZ_Constant");
  51. var YZ_LocalStorage_1 = require("./YZ_LocalStorage");
  52. var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
  53. var ST_ServerUrl = "http://apps.youlesp.com/gss?";
  54. var POST_ServerUrl = "http://report.youlesp.com/gss?";
  55. // 默认配置
  56. var ST_DefaultServerConfig = "";
  57. var YZ_Tool_Kwai = /** @class */ (function () {
  58. function YZ_Tool_Kwai() {
  59. this._recorder = null;
  60. this._videoPath = null;
  61. this._shareCallback = null;
  62. this.recorderStarTime = 0; //开始录屏时间
  63. this.isAutoShare = true; //是否自动分享
  64. this.isClickEnd = false;
  65. this._serverConfig = null;
  66. this._sysInfo = {};
  67. //设备UID
  68. this._uid = "0";
  69. //服务器返回UID
  70. this._service_uid = "0";
  71. this._loginTime = 0;
  72. this._loginInterval = 30;
  73. this._reportLoginTime = 0;
  74. this._reportLoginInterval = 30;
  75. this.isReport = false;
  76. //@ts-ignore
  77. this.kwaigame = kwaigame;
  78. this._canShowRecord = false;
  79. }
  80. Object.defineProperty(YZ_Tool_Kwai.prototype, "ServerConfig", {
  81. get: function () {
  82. return this._serverConfig;
  83. },
  84. enumerable: false,
  85. configurable: true
  86. });
  87. Object.defineProperty(YZ_Tool_Kwai.prototype, "SysInfo", {
  88. get: function () {
  89. return this._sysInfo;
  90. },
  91. enumerable: false,
  92. configurable: true
  93. });
  94. /**
  95. * 当前版本号
  96. */
  97. YZ_Tool_Kwai.prototype.gameVersion = function () {
  98. return Utils_1.utils.config.kwaiConfig.version;
  99. };
  100. Object.defineProperty(YZ_Tool_Kwai.prototype, "uid", {
  101. get: function () {
  102. // if (this._service_uid != "0") return this._uid;
  103. // this._login();
  104. return "0";
  105. },
  106. enumerable: false,
  107. configurable: true
  108. });
  109. Object.defineProperty(YZ_Tool_Kwai.prototype, "serviceId", {
  110. /**
  111. * 服务器返回UID
  112. */
  113. get: function () {
  114. if (this._service_uid != "0")
  115. return this._service_uid;
  116. this.reportLogin();
  117. return "0";
  118. },
  119. enumerable: false,
  120. configurable: true
  121. });
  122. YZ_Tool_Kwai.prototype._login = function () {
  123. return __awaiter(this, void 0, void 0, function () {
  124. var curTime, interval, self;
  125. return __generator(this, function (_a) {
  126. curTime = new Date().getTime();
  127. interval = (curTime - this._loginTime) / 1000;
  128. if (interval > 0 && interval < 30) {
  129. Utils_1.utils.showLog("\u767B\u5F55\u8BF7\u6C42\u95F4\u9694\u5C0F\u4E8E\uFF1A" + this._loginInterval + "\u79D2");
  130. return [2 /*return*/];
  131. }
  132. this._loginTime = curTime;
  133. self = this;
  134. Utils_1.utils.showLog("baidu暂时不获取uid,uid全部为0");
  135. this._uid = "0";
  136. return [2 /*return*/];
  137. });
  138. });
  139. };
  140. /**
  141. * 上报登录接口获取UID
  142. */
  143. YZ_Tool_Kwai.prototype.reportLogin = function () {
  144. var _this = this;
  145. if (this.isReport)
  146. return;
  147. this.isReport = true;
  148. var self = this;
  149. var curTime = new Date().getTime();
  150. var interval = (curTime - self._reportLoginTime) / 1000;
  151. if (interval > 0 && interval < 30) {
  152. Utils_1.utils.showLog("\u4E0A\u62A5\u767B\u5F55\u83B7\u53D6UID\u5C0F\u4E8E\uFF1A" + self._reportLoginInterval + "\u79D2");
  153. return;
  154. }
  155. self._reportLoginTime = curTime;
  156. var method = "m=login";
  157. var url = ST_ServerUrl + method + "&device_data=0";
  158. Utils_1.utils.commomHttpRequest(url, function (ret, data) {
  159. if (ret) {
  160. if (data) {
  161. var result = JSON.parse(data);
  162. Utils_1.utils.showLog("data=" + data);
  163. Utils_1.utils.showLog("result=" + result);
  164. Utils_1.utils.showLog("result.uid=" + result.uid);
  165. if (result.uid) {
  166. self._service_uid = "" + result.uid;
  167. Utils_1.utils.showLog("服务器请求登录成功! _service_uid=" + self._service_uid);
  168. YZ_LocalStorage_1.default.setItem(YZ_Constant_1.default.ST_SERVICE_UID, self._service_uid);
  169. }
  170. }
  171. }
  172. else {
  173. Utils_1.utils.showLog("获取数据失败1");
  174. }
  175. _this.isReport = false;
  176. });
  177. };
  178. /**
  179. *
  180. * @param data 配置数据
  181. */
  182. YZ_Tool_Kwai.prototype.init = function (data) {
  183. if (PlatUtils_1.default.IsKwai) {
  184. if (data) {
  185. var configObj = JSON.parse(data);
  186. if (configObj && configObj.kwai) {
  187. Utils_1.utils.showLog("本地配置数据:" + JSON.stringify(configObj.kwai));
  188. ST_DefaultServerConfig = JSON.stringify(configObj.kwai);
  189. }
  190. }
  191. this._service_uid = YZ_LocalStorage_1.default.getItem(YZ_Constant_1.default.ST_SERVICE_UID);
  192. this._service_uid = this._service_uid ? this._service_uid : "0";
  193. // // 获取系统信息
  194. // this._sysInfo = this.swan.getSystemInfoSync();
  195. // if (this._sysInfo) {
  196. // utils.showLog("百度小游戏平台信息: ", JSON.stringify(this._sysInfo));
  197. // } else {
  198. // utils.showLog("系统信息获取失败!");
  199. // }
  200. this._loadConfig();
  201. this.initRecord();
  202. // utils.emitServerInitEvent();
  203. }
  204. };
  205. YZ_Tool_Kwai.prototype.readyGo = function () {
  206. this.kwaigame.readyGo();
  207. };
  208. YZ_Tool_Kwai.prototype._loadConfig = function () {
  209. var _this = this;
  210. if (PlatUtils_1.default.IsKwai) {
  211. var method = "m=g";
  212. Utils_1.utils.commomHttpRequest(ST_ServerUrl + method, function (ret, data) {
  213. if (ret) {
  214. Utils_1.utils.showLog("快手服务器配置数据获取成功: data = ", data);
  215. if (data) {
  216. var result = JSON.parse(data);
  217. if (result) {
  218. if (!Utils_1.utils.DebugLoacalConfig) {
  219. _this._serverConfig = result;
  220. }
  221. else {
  222. cc.warn("开启了本地数据测试,使用本地配置!");
  223. }
  224. }
  225. else {
  226. Utils_1.utils.showLog("快手服务器配置数据不是合法的JSON数据, 使用本地配置!");
  227. }
  228. }
  229. }
  230. else {
  231. Utils_1.utils.showLog("快手服务器配置数据获取失败, 使用本地配置!");
  232. }
  233. if (!_this._serverConfig) {
  234. _this._serverConfig = JSON.parse(ST_DefaultServerConfig);
  235. }
  236. else {
  237. if (_this._serverConfig.shares && _this._serverConfig.shares.sy_title) {
  238. Utils_1.utils.config.otherconfig.shareTitle = _this._serverConfig.shares.sy_title;
  239. }
  240. if (_this._serverConfig.shares && _this._serverConfig.shares.sy_img) {
  241. Utils_1.utils.config.otherconfig.shareImgUrl = _this._serverConfig.shares.sy_img;
  242. }
  243. if (_this._serverConfig.is_local_pos_id
  244. && _this._serverConfig.is_local_pos_id == "false") {
  245. // 使用服务器下发的广告id
  246. Utils_1.utils.showLog("使用服务器下发的广告id");
  247. Utils_1.utils.config.kwaiConfig.videoId = _this._serverConfig.video_pos_id;
  248. Utils_1.utils.config.kwaiConfig.insertId = _this._serverConfig.intersititia_pos_id || Utils_1.utils.config.kwaiConfig.insertId;
  249. }
  250. else {
  251. Utils_1.utils.showLog("使用本地配置的广告ID");
  252. }
  253. }
  254. Utils_1.utils.emitServerInitEvent();
  255. });
  256. }
  257. };
  258. YZ_Tool_Kwai.prototype.initRecord = function () {
  259. var _this = this;
  260. if (!this.checkCanShowRecored()) {
  261. Utils_1.utils.showLog("当前平台不支持录屏组件!");
  262. return;
  263. }
  264. this._recorder = this.kwaigame.createMediaRecorder();
  265. if (this._recorder) {
  266. this._recorder.init({
  267. callback: function (error) {
  268. if (error) {
  269. Utils_1.utils.showLog("录屏初始化失败: " + JSON.stringify(error));
  270. _this._recorder = null;
  271. return;
  272. }
  273. Utils_1.utils.showLog("录屏初始化成功");
  274. }
  275. });
  276. this._recorder.onError({
  277. listener: function (error) {
  278. Utils_1.utils.isRecording = false;
  279. cc.game.emit("YZ_CommonMessage", { type: "YZ_RecordEnd" });
  280. Utils_1.utils.showLog("录屏终止: " + JSON.stringify(error));
  281. }
  282. });
  283. }
  284. // if (this._recorder) {
  285. // this._recorder.onStart((res) => {
  286. // self._videoPath = "";
  287. // this.isClickEnd = false;
  288. // this.is_auto_share_video = false;
  289. // utils.isRecording = true;
  290. // console.log("录屏开始>>>");
  291. // utils.showLog('录屏开始');
  292. // this.recorderStarTime = new Date().getTime();
  293. // cc.game.emit("YZ_CommonMessage", { type: "YZ_RecordStart" });
  294. // });
  295. // this._recorder.onStop((res) => {
  296. // utils.showLog("录屏结束 :" + res.videoPath);
  297. // utils.isRecording = false;
  298. // cc.game.emit("YZ_CommonMessage", { type: "YZ_RecordEnd" });
  299. // let curTime: number = new Date().getTime();
  300. // let interval: number = (curTime - this.recorderStarTime) / 1000;
  301. // if (interval > 3) {
  302. // self._videoPath = res.videoPath;
  303. // utils.showLog("录屏时间大于3秒", interval);
  304. // if (this.isAutoShare) {
  305. // if (this.isClickEnd) {
  306. // this.shareVideo();
  307. // this._shareCallback = null;
  308. // this.is_auto_share_video = true;
  309. // } else if (utils.checkResultShow(1)) {
  310. // utils.showLog("满足自动分享条件,弹出分享窗口!");
  311. // if (utils.rewardCloseFunc == null) {
  312. // utils.rewardValue = 0;
  313. // utils.showShareRecordPanel();
  314. // }
  315. // } else if (interval > 100) {
  316. // if (utils.rewardCloseFunc == null) {
  317. // utils.rewardValue = 0;
  318. // utils.showShareRecordPanel();
  319. // }
  320. // }
  321. // } else {
  322. // this.isAutoShare = true;
  323. // }
  324. // } else {
  325. // //@ts-ignore
  326. // if (this.isClickEnd) {
  327. // this.tt.showToast({
  328. // title: "录屏时间小于3秒!",
  329. // icon: "fail",
  330. // duration: 2000,
  331. // success(res) {
  332. // console.log(`${res}`);
  333. // },
  334. // fail(res) {
  335. // console.log(`showToast调用失败`);
  336. // }
  337. // });
  338. // }
  339. // self._videoPath = "";
  340. // utils.showLog("录屏时间小于3秒,录录屏地址置空!");
  341. // }
  342. // });
  343. // }
  344. };
  345. /**
  346. * 分享,有录屏就分享录屏,没有录屏就分享图片
  347. */
  348. YZ_Tool_Kwai.prototype.share = function (callback) {
  349. if (PlatUtils_1.default.IsKwai) {
  350. this._shareCallback = callback;
  351. if (this.recorderStarTime > 0) {
  352. this.shareVideo();
  353. }
  354. else {
  355. this.shareImage();
  356. }
  357. }
  358. };
  359. /**
  360. * 验证是否支持录屏
  361. */
  362. YZ_Tool_Kwai.prototype.checkCanShowRecored = function () {
  363. return this.kwaigame.isSupport(this.kwaigame.Support.features.Recorder);
  364. };
  365. /**
  366. * 分享录屏
  367. */
  368. YZ_Tool_Kwai.prototype.shareVideo = function () {
  369. var _this = this;
  370. if (this._recorder) {
  371. if (!this._canShowRecord) {
  372. this._shareCallback && this._shareCallback(false, "录屏时间不足!");
  373. return;
  374. }
  375. this._recorder.publishVideo({
  376. callback: function (error) {
  377. if (error) {
  378. Utils_1.utils.showLog("分享录屏失败: " + JSON.stringify(error));
  379. _this._shareCallback && _this._shareCallback(false, "分享录屏失败!");
  380. return;
  381. }
  382. _this._canShowRecord = false;
  383. Utils_1.utils.showLog("分享录屏成功");
  384. _this._shareCallback && _this._shareCallback(true, "分享录屏成功!");
  385. }
  386. });
  387. }
  388. else {
  389. if (this.checkCanShowRecored()) {
  390. Utils_1.utils.showLog("当前平台不支持录屏组件!");
  391. }
  392. else {
  393. Utils_1.utils.showLog("录屏初始化失败!");
  394. }
  395. this._shareCallback && this._shareCallback(false, "分享录屏失败!");
  396. }
  397. };
  398. /**
  399. * 开始录屏
  400. */
  401. YZ_Tool_Kwai.prototype.recordStart = function () {
  402. var _this = this;
  403. if (this._recorder) {
  404. this._recorder.start({
  405. callback: function (error) {
  406. if (error) {
  407. Utils_1.utils.isRecording = false;
  408. Utils_1.utils.showLog("开始录屏失败: " + JSON.stringify(error));
  409. return;
  410. }
  411. _this._canShowRecord = false;
  412. Utils_1.utils.isRecording = true;
  413. _this.recorderStarTime = new Date().getTime();
  414. cc.game.emit("YZ_CommonMessage", { type: "YZ_RecordStart" });
  415. Utils_1.utils.showLog("开始录屏成功");
  416. }
  417. });
  418. }
  419. };
  420. /**
  421. * 结束录屏
  422. */
  423. YZ_Tool_Kwai.prototype.recordEnd = function () {
  424. var _this = this;
  425. if (this._recorder) {
  426. this._recorder.stop({
  427. callback: function (error) {
  428. Utils_1.utils.isRecording = false;
  429. cc.game.emit("YZ_CommonMessage", { type: "YZ_RecordEnd" });
  430. _this._canShowRecord = false;
  431. if (error) {
  432. Utils_1.utils.showLog("停止录屏失败: " + JSON.stringify(error));
  433. return;
  434. }
  435. Utils_1.utils.showLog("停止录屏成功");
  436. var curTime = new Date().getTime();
  437. var interval = (curTime - _this.recorderStarTime) / 1000;
  438. if (interval > 3) {
  439. _this._canShowRecord = true;
  440. Utils_1.utils.showLog("录屏时间大于3秒", interval, " isClickEnd=", _this.isClickEnd);
  441. if (_this.isAutoShare) {
  442. if (_this.isClickEnd) {
  443. _this.shareVideo();
  444. _this._shareCallback = null;
  445. }
  446. else if (Utils_1.utils.checkResultShow(1)) {
  447. Utils_1.utils.showLog("满足自动分享条件,弹出分享窗口!");
  448. if (Utils_1.utils.rewardCloseFunc == null) {
  449. Utils_1.utils.rewardValue = 0;
  450. Utils_1.utils.showShareRecordPanel();
  451. }
  452. }
  453. else if (interval > 100) {
  454. if (Utils_1.utils.rewardCloseFunc == null) {
  455. Utils_1.utils.rewardValue = 0;
  456. Utils_1.utils.showShareRecordPanel();
  457. }
  458. }
  459. }
  460. else {
  461. _this.isAutoShare = true;
  462. }
  463. }
  464. else {
  465. //@ts-ignore
  466. if (_this.isClickEnd) {
  467. // this.tt.showToast({
  468. // title: "录屏时间小于3秒!",
  469. // icon: "fail",
  470. // duration: 2000,
  471. // success(res) {
  472. // console.log(`${res}`);
  473. // },
  474. // fail(res) {
  475. // console.log(`showToast调用失败`);
  476. // }
  477. // });
  478. }
  479. // self._videoPath = "";
  480. Utils_1.utils.showLog("录屏时间小于3秒,录录屏地址置空!");
  481. }
  482. }
  483. });
  484. }
  485. };
  486. YZ_Tool_Kwai.prototype.shareImage = function () {
  487. this.kwaigame.shareToMsg(this._getShareInfo());
  488. };
  489. YZ_Tool_Kwai.prototype._getShareInfo = function () {
  490. var _this = this;
  491. var params = {};
  492. params.title = Utils_1.utils.config.otherconfig.shareTitle;
  493. params.desc = Utils_1.utils.config.otherconfig.shareDesc ? Utils_1.utils.config.otherconfig.shareDesc : Utils_1.utils.config.otherconfig.shareTitle;
  494. params.iconUrl = Utils_1.utils.config.otherconfig.shareIcon ? Utils_1.utils.config.otherconfig.shareIcon : Utils_1.utils.config.otherconfig.shareImgUrl;
  495. params.imageUrl = Utils_1.utils.config.otherconfig.shareImgUrl;
  496. params.extension = {
  497. isShare: "share"
  498. };
  499. params.response = function (result) {
  500. Utils_1.utils.showLog("分享完成: " + JSON.stringify(result));
  501. _this._shareCallback && _this._shareCallback(true, "分享成功!");
  502. };
  503. return params;
  504. };
  505. /**
  506. * 上报关卡数据
  507. * @param level 当前关卡ID
  508. * @param levelName 关卡名称
  509. * @param status 状态
  510. */
  511. YZ_Tool_Kwai.prototype.postLevel = function (level, status, levelName) {
  512. if (PlatUtils_1.default.IsKwai) {
  513. var method = "m=rlevel";
  514. var url = POST_ServerUrl + method + ("&level_id=" + level + "&level_name=" + encodeURI(levelName) + "&status=" + status);
  515. Utils_1.utils.commomHttpRequest(url, function (ret, data) {
  516. if (ret) {
  517. Utils_1.utils.showLog("关卡数据上报成功!");
  518. }
  519. else {
  520. Utils_1.utils.showLog("关卡数据上报失败!");
  521. }
  522. }.bind(this));
  523. }
  524. };
  525. /**
  526. * 上报自定义事件
  527. * @param level 当前关卡ID
  528. * @param levelName 关卡名称
  529. * @param status 状态
  530. */
  531. YZ_Tool_Kwai.prototype.sendEvent = function (eventName) {
  532. if (PlatUtils_1.default.IsKwai) {
  533. var method = "m=revent";
  534. var url = POST_ServerUrl + method + ("&event=" + encodeURI(eventName));
  535. Utils_1.utils.commomHttpRequest(url, function (ret, data) {
  536. if (ret) {
  537. Utils_1.utils.showLog("上报自定义事件成功!");
  538. }
  539. else {
  540. Utils_1.utils.showLog("上报自定义事件失败!");
  541. }
  542. }.bind(this));
  543. }
  544. };
  545. YZ_Tool_Kwai.prototype._compareVersion = function (first, second) {
  546. return parseInt(first.split(".").join("")) >= parseInt(second.split(".").join(""));
  547. };
  548. YZ_Tool_Kwai = __decorate([
  549. ccclass
  550. ], YZ_Tool_Kwai);
  551. return YZ_Tool_Kwai;
  552. }());
  553. exports.default = YZ_Tool_Kwai;
  554. cc._RF.pop();