System.register("chunks:///_virtual/module_extra", ['./TableUtil.ts', './table_idiom.ts', './table_idiom_order.ts', './table_idiom_unorder_1_3.ts', './table_idiom_unorder_2_2.ts', './table_idiom_unorder_3_1.ts', './table_level.ts', './table_level_2.ts', './table_store.ts', './table_task.ts'], function () { return { setters: [null, null, null, null, null, null, null, null, null, null], execute: function () {} }; }); System.register("chunks:///_virtual/table_idiom_order.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "97c6a85yyRAh4ofP1Hv8lu1", "table_idiom_order", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_idiom_order = exports('table_idiom_order', (_dec = ccclass('table_idiom_order'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_idiom_order() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_idiom_order.get = function get(id) { return TableUtil.getTable(table_idiom_order, id); }; table_idiom_order.getList = function getList() { return TableUtil.getTables(table_idiom_order, 3846); }; var _proto = table_idiom_order.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_idiom_order.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_idiom_order.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_idiom_order, [{ key: "idiom", get: function get() { return this.data.idiom; } }, { key: "idiom_type", get: function get() { return this.data.idiom_type; } }, { key: "difficulty", get: function get() { return this.data.difficulty; } }, { key: "piece_1_word", get: function get() { return this.data.piece_1_word; } }, { key: "piece_2_word", get: function get() { return this.data.piece_2_word; } }]); return table_idiom_order; }(), _class2.TableName = "idiom_order", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_idiom_unorder_1_3.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "8605bqfWytGnZGReZWpVTwf", "table_idiom_unorder_1_3", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_idiom_unorder_1_3 = exports('table_idiom_unorder_1_3', (_dec = ccclass('table_idiom_unorder_1_3'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_idiom_unorder_1_3() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_idiom_unorder_1_3.get = function get(id) { return TableUtil.getTable(table_idiom_unorder_1_3, id); }; table_idiom_unorder_1_3.getList = function getList() { return TableUtil.getTables(table_idiom_unorder_1_3, 771); }; var _proto = table_idiom_unorder_1_3.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_idiom_unorder_1_3.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_idiom_unorder_1_3.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_idiom_unorder_1_3, [{ key: "idiom", get: function get() { return this.data.idiom; } }, { key: "idiom_type", get: function get() { return this.data.idiom_type; } }, { key: "difficulty", get: function get() { return this.data.difficulty; } }, { key: "piece_1_word", get: function get() { return this.data.piece_1_word; } }, { key: "piece_2_word", get: function get() { return this.data.piece_2_word; } }]); return table_idiom_unorder_1_3; }(), _class2.TableName = "idiom_unorder_1+3", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_idiom_unorder_2_2.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "2ab01P7D1xC+4sm5gCBL6Hr", "table_idiom_unorder_2_2", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_idiom_unorder_2_2 = exports('table_idiom_unorder_2_2', (_dec = ccclass('table_idiom_unorder_2_2'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_idiom_unorder_2_2() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_idiom_unorder_2_2.get = function get(id) { return TableUtil.getTable(table_idiom_unorder_2_2, id); }; table_idiom_unorder_2_2.getList = function getList() { return TableUtil.getTables(table_idiom_unorder_2_2, 1604); }; var _proto = table_idiom_unorder_2_2.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_idiom_unorder_2_2.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_idiom_unorder_2_2.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_idiom_unorder_2_2, [{ key: "idiom", get: function get() { return this.data.idiom; } }, { key: "idiom_type", get: function get() { return this.data.idiom_type; } }, { key: "difficulty", get: function get() { return this.data.difficulty; } }, { key: "piece_1_word", get: function get() { return this.data.piece_1_word; } }, { key: "piece_2_word", get: function get() { return this.data.piece_2_word; } }]); return table_idiom_unorder_2_2; }(), _class2.TableName = "idiom_unorder_2+2", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_idiom_unorder_3_1.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "54823q7ByBEUbgNpRVPsQMe", "table_idiom_unorder_3_1", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_idiom_unorder_3_1 = exports('table_idiom_unorder_3_1', (_dec = ccclass('table_idiom_unorder_3_1'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_idiom_unorder_3_1() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_idiom_unorder_3_1.get = function get(id) { return TableUtil.getTable(table_idiom_unorder_3_1, id); }; table_idiom_unorder_3_1.getList = function getList() { return TableUtil.getTables(table_idiom_unorder_3_1, 738); }; var _proto = table_idiom_unorder_3_1.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_idiom_unorder_3_1.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_idiom_unorder_3_1.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_idiom_unorder_3_1, [{ key: "idiom", get: function get() { return this.data.idiom; } }, { key: "idiom_type", get: function get() { return this.data.idiom_type; } }, { key: "difficulty", get: function get() { return this.data.difficulty; } }, { key: "piece_1_word", get: function get() { return this.data.piece_1_word; } }, { key: "piece_2_word", get: function get() { return this.data.piece_2_word; } }]); return table_idiom_unorder_3_1; }(), _class2.TableName = "idiom_unorder_3+1", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_idiom.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "66b6actiV5OT5PfIK2+fbca", "table_idiom", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_idiom = exports('table_idiom', (_dec = ccclass('table_idiom'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_idiom() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_idiom.get = function get(id) { return TableUtil.getTable(table_idiom, id); }; table_idiom.getList = function getList() { return TableUtil.getTables(table_idiom, 2052); }; var _proto = table_idiom.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_idiom.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_idiom.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_idiom, [{ key: "idiom", get: function get() { return this.data.idiom; } }, { key: "idiom_type", get: function get() { return this.data.idiom_type; } }, { key: "difficulty", get: function get() { return this.data.difficulty; } }, { key: "piece_1_word", get: function get() { return this.data.piece_1_word; } }, { key: "piece_2_word", get: function get() { return this.data.piece_2_word; } }]); return table_idiom; }(), _class2.TableName = "idiom", _class2.IdList = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_level_2.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "2983aKPOFdAWo81NNDemlLK", "table_level_2", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_level_2 = exports('table_level_2', (_dec = ccclass('table_level_2'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_level_2() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_level_2.get = function get(id) { return TableUtil.getTable(table_level_2, id); }; table_level_2.getList = function getList() { return TableUtil.getTables(table_level_2, 40); }; var _proto = table_level_2.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_level_2.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_level_2.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_level_2, [{ key: "idiom", get: function get() { return this.data.idiom; } }]); return table_level_2; }(), _class2.TableName = "level_2", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_level.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "33e66OI3mpIHbkpOTa5qoBr", "table_level", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_level = exports('table_level', (_dec = ccclass('table_level'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_level() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_level.get = function get(id) { return TableUtil.getTable(table_level, id); }; table_level.getList = function getList() { return TableUtil.getTables(table_level, 5); }; var _proto = table_level.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_level.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_level.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_level, [{ key: "time", get: function get() { return parseInt(this.data.time); } }, { key: "different_grade_level", get: function get() { return this.data.different_grade_level; } }, { key: "idiom_type_1", get: function get() { return this.data.idiom_type_1; } }, { key: "idiom_type_2", get: function get() { return this.data.idiom_type_2; } }, { key: "count", get: function get() { return parseInt(this.data.count); } // "time": "195", // "different_grade_level": "New User Guide", // "idiom_type_1": "", // "idiom_type_2": "见如故_通八达_往往", // "count": "0", // "easy_1_3": "0", // "hard_1_3": "0", // "easy_3_1": "0", // "hard_3_1": "0", // "easy_2_2": "0", // "hard_2_2": "3", // "total": "3" }, { key: "easy_1_3", get: function get() { return parseInt(this.data.easy_1_3); } }, { key: "hard_1_3", get: function get() { return parseInt(this.data.hard_1_3); } }, { key: "easy_3_1", get: function get() { return parseInt(this.data.easy_3_1); } }, { key: "hard_3_1", get: function get() { return parseInt(this.data.hard_3_1); } }, { key: "easy_2_2", get: function get() { return parseInt(this.data.easy_2_2); } }, { key: "hard_2_2", get: function get() { return parseInt(this.data.hard_2_2); } }, { key: "total", get: function get() { return parseInt(this.data.total); } }]); return table_level; }(), _class2.TableName = "level", _class2.IdList = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_store.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "99137Yt4d1L6JBAI6/xf5DC", "table_store", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_store = exports('table_store', (_dec = ccclass('table_store'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_store() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_store.get = function get(id) { return TableUtil.getTable(table_store, id); }; table_store.getList = function getList() { return TableUtil.getTables(table_store, 5); }; var _proto = table_store.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_store.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_store.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_store, [{ key: "type", get: function get() { return this.data.type; } }, { key: "cost", get: function get() { return this.data.cost; } }, { key: "num", get: function get() { return this.data.num; } }, { key: "name", get: function get() { return this.data.name; } }]); return table_store; }(), _class2.TableName = "store", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/table_task.ts", ['./rollupPluginModLoBabelHelpers.js', 'cc', './TableUtil.ts'], function (exports) { var _createClass, cclegacy, _decorator, TableUtil; return { setters: [function (module) { _createClass = module.createClass; }, function (module) { cclegacy = module.cclegacy; _decorator = module._decorator; }, function (module) { TableUtil = module.TableUtil; }], execute: function () { var _dec, _class, _class2; cclegacy._RF.push({}, "f4c45qg9AdKhq8rlGES1Urw", "table_task", undefined); var ccclass = _decorator.ccclass, property = _decorator.property; var table_task = exports('table_task', (_dec = ccclass('table_task'), _dec(_class = (_class2 = /*#__PURE__*/function () { function table_task() { this.data = void 0; /** 编号【KEY】 */ this.id = 0; } table_task.get = function get(id) { return TableUtil.getTable(table_task, id); }; table_task.getList = function getList() { return TableUtil.getTables(table_task, 5); }; var _proto = table_task.prototype; _proto.init = function init(id) { var table = TableUtil.get(table_task.TableName); this.data = table[id]; if (!this.data) console.error("配置表" + table_task.TableName + "没有ID:" + id); this.id = id; }; _createClass(table_task, [{ key: "goal", get: function get() { return this.data.goal; } }, { key: "type", get: function get() { return this.data.type; } }, { key: "num", get: function get() { return this.data.num; } }, { key: "name", get: function get() { return this.data.name; } }]); return table_task; }(), _class2.TableName = "task", _class2)) || _class)); cclegacy._RF.pop(); } }; }); System.register("chunks:///_virtual/TableUtil.ts", ['cc'], function (exports) { var cclegacy; return { setters: [function (module) { cclegacy = module.cclegacy; }], execute: function () { cclegacy._RF.push({}, "182a4n6HudPVq+xaUH+atf/", "TableUtil", undefined); /** 由编辑器生成 * 不要修改 * 数据表缓存 */ var data = new Map(); var tables = new Map(); var TableUtil = exports('TableUtil', /*#__PURE__*/function () { function TableUtil() {} /**获取一个表集*/ TableUtil.getTables = function getTables(type, ids) { var map = tables.get(type); if (!map) { map = new Map(); tables.set(type, map); } var ts = []; if (ids instanceof Array) { for (var i = 0; i < ids.length; i++) { var t = map.get(ids[i]); if (!t) { t = new type(); t.init(ids[i]); map.set(ids[i], t); } ts.push(t); } } else if (typeof ids === "number") { for (var _i = 0; _i < ids; _i++) { var _t = map.get(_i); if (!_t) { _t = new type(); _t.init(_i); map.set(_i, _t); } ts.push(_t); } } return ts; } /**获取一个数据表id的数据 * @param type 表类型 * @param id 主key */; TableUtil.getTable = function getTable(type, id) { var map = tables.get(type); if (!map) { map = new Map(); tables.set(type, map); } var t = map.get(id); if (!t) { t = new type(); t.init(id); map.set(id, t); } return t; } /** * 通知资源名从缓存中获取一个Json数据表 没有初始化 * @param name 资源名 */; TableUtil.get = function get(name) { if (data.has(name)) { return data.get(name); } else { console.error("没有加载的资源:" + name); return null; } }; TableUtil.set = function set(name, json) { data.set(name, json); }; TableUtil.has = function has(name) { return data.has(name); }; TableUtil["delete"] = function _delete(name) { data["delete"](name); }; TableUtil.clean = function clean() { data.clear(); tables.clear(); }; return TableUtil; }()); cclegacy._RF.pop(); } }; }); (function(r) { r('virtual:///prerequisite-imports/module_extra', 'chunks:///_virtual/module_extra'); })(function(mid, cid) { System.register(mid, [cid], function (_export, _context) { return { setters: [function(_m) { var _exportObj = {}; for (var _key in _m) { if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key]; } _export(_exportObj); }], execute: function () { } }; }); });