System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
  "use strict";

  var _reporterNs, _cclegacy, LayerType, _crd, UIID, UIConfigData;

  function _reportPossibleCrUseOfLayerType(extras) {
    _reporterNs.report("LayerType", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  }

  function _reportPossibleCrUseOfUIConfig(extras) {
    _reporterNs.report("UIConfig", "../../../../../extensions/oops-plugin-framework/assets/core/gui/layer/LayerManager", _context.meta, extras);
  }

  return {
    setters: [function (_unresolved_) {
      _reporterNs = _unresolved_;
    }, function (_cc) {
      _cclegacy = _cc.cclegacy;
    }, function (_unresolved_2) {
      LayerType = _unresolved_2.LayerType;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "14663z2+5JJIYupyDayZnc3", "GameUIConfig", undefined);
      /*
       * @Date: 2021-08-12 09:33:37
       * @LastEditors: dgflash
       * @LastEditTime: 2023-02-15 09:38:36
       */


      /** 界面唯一标识（方便服务器通过编号数据触发界面打开） */
      _export("UIID", UIID = /*#__PURE__*/function (UIID) {
        UIID[UIID["Loading"] = 1] = "Loading";
        UIID[UIID["Alert"] = 2] = "Alert";
        UIID[UIID["Confirm"] = 3] = "Confirm";
        UIID[UIID["Demo"] = 4] = "Demo";
        return UIID;
      }({}));
      /** 打开界面方式的配置数据 */


      _export("UIConfigData", UIConfigData = {
        [UIID.Loading]: {
          layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
            error: Error()
          }), LayerType) : LayerType).UI,
          prefab: "gui/loading/loading"
        },
        [UIID.Alert]: {
          layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
            error: Error()
          }), LayerType) : LayerType).Dialog,
          prefab: "common/prefab/alert"
        },
        [UIID.Confirm]: {
          layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
            error: Error()
          }), LayerType) : LayerType).Dialog,
          prefab: "common/prefab/confirm"
        },
        [UIID.Demo]: {
          layer: (_crd && LayerType === void 0 ? (_reportPossibleCrUseOfLayerType({
            error: Error()
          }), LayerType) : LayerType).UI,
          prefab: "gui/demo/demo"
        }
      });

      _cclegacy._RF.pop();

      _crd = false;
    }
  };
});
//# sourceMappingURL=9dfb329a859a2798da304d98c9093752842f348f.js.map