import { defineComponent, toRefs, openBlock, createElementBlock, createVNode, unref, withCtx } from "vue";
import _sfc_main$1 from "../../../NComponents/configCommon/refConfig.mjs";
import img1 from "./images/title.mjs";
import "./index.vue_vue_type_style_index_0_scoped_true_lang.mjs";
import _export_sfc from "../../../../_virtual/plugin-vue_export-helper.mjs";
const _hoisted_1 = { class: "title04" };
const __default__ = defineComponent({ name: "ETitle05" });
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  props: {
    chartConfig: {
      type: Object,
      required: true,
      default: () => {
        return {
          option: {
            bgImageConfig: {
              imgSrc: img1,
              width: 964,
              height: 89
            },
            titleConfig: {
              text: "\u89C6\u9891\u76D1\u63A7",
              fontSize: 36,
              fontWeight: "bold",
              color: "rgba(210, 241, 241, 1)"
            },
            titleConfig2: {
              text: "Video surveillance",
              fontSize: 24,
              fontWeight: "bold",
              color: "rgba(67, 114, 104, 1)"
            }
          }
        };
      }
    }
  },
  setup(__props) {
    const props = __props;
    const { bgImageConfig, titleConfig, titleConfig2 } = toRefs(
      props.chartConfig.option
    );
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock("div", _hoisted_1, [
        createVNode(_sfc_main$1, {
          config: unref(bgImageConfig),
          type: "bgImg",
          class: "allcenter"
        }, {
          default: withCtx(() => [
            createVNode(_sfc_main$1, {
              config: unref(titleConfig),
              type: "text",
              class: "title1"
            }, null, 8, ["config"]),
            createVNode(_sfc_main$1, {
              config: unref(titleConfig2),
              type: "text"
            }, null, 8, ["config"])
          ]),
          _: 1
        }, 8, ["config"])
      ]);
    };
  }
});
var _ETitle05 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8be3a560"]]);
export { _ETitle05 as default };
