var t = require; var e = module; var i = exports; var s = (this && this.__awaiter) || function (t, n, r, l) { return new (r = r || Promise)(function (i, e) { function s(t) { try { a(l.next(t)); } catch (t) { e(t); } } function o(t) { try { a(l.throw(t)); } catch (t) { e(t); } } function a(t) { var e; t.done ? i(t.value) : ((e = t.value) instanceof r ? e : new r(function (t) { t(e); }) ).then(s, o); } a((l = l.apply(t, n || [])).next()); }); }; Object.defineProperty(i, "__esModule", {value: !0}), (i.AdData = i.AdDataManager = void 0); const o = t("CsvDataBase"), a = t("DataMsrBase"), n = t("ConfigManager"), r = t("ADController"); class l extends a.default { constructor() { super(h, "ad_data", "id"); } load() { const e = Object.create(null, {load: {get: () => super.load}}); return s(this, void 0, void 0, function* () { yield e.load.call(this); let t = {}; for (const e in this.datas) t[r.AdType[this.datas[e].enumKey]] = this.datas[e]; this.datas = t; }); } } i.AdDataManager = l; class h extends o.CsvDataBase { constructor() { super(...arguments), (this.id = null), (this.name = null), (this.enumKey = ""), (this.adTimes = null), (this.shareTimes = null), (this.superCashTimes = null), (this.payTimes = null), (this.type = null), (this.price = null), (this.totalTimes = null), (this.freeCnt = null), (this.isDayClear = null), (this.addSuperCash = null); } } (i.AdData = h), n.register(l, "AdDataManager");