import { defineComponent as p, toRefs as i, openBlock as r, createElementBlock as c, unref as o, createElementVNode as e } from "vue";
const b = { class: "go-border-box" }, a = ["width", "height"], d = ["fill", "points"], h = ["stroke", "points"], u = ["stroke", "points"], k = ["stroke", "points"], f = ["stroke", "points"], g = ["stroke", "points"], v = ["stroke", "points"], y = p({ name: "EBorder12" }), x = /* @__PURE__ */ p({
  ...y,
  props: {
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(_) {
    const l = _, { w: t, h: s } = i(l.chartConfig.attr), { colors: n, backgroundColor: $ } = i(l.chartConfig.option);
    return (m, C) => (r(), c("div", b, [
      (r(), c("svg", {
        width: o(t),
        height: o(s)
      }, [
        e("polygon", {
          fill: o($),
          points: `
        10, 22 ${o(t) - 22}, 22 ${o(t) - 22}, ${o(s) - 86} ${o(t) - 84}, ${o(s) - 24} 10, ${o(s) - 24}
      `
        }, null, 8, d),
        e("polyline", {
          class: "bv-bb5-line-1",
          stroke: o(n)[0],
          points: `8, 5 ${o(t) - 5}, 5 ${o(t) - 5}, ${o(s) - 100}
          ${o(t) - 100}, ${o(s) - 5} 8, ${o(s) - 5} 8, 5`
        }, null, 8, h),
        e("polyline", {
          class: "bv-bb5-line-2",
          stroke: o(n)[1],
          points: `3, 5 ${o(t) - 20}, 5 ${o(t) - 20}, ${o(s) - 60}
          ${o(t) - 74}, ${o(s) - 5} 3, ${o(s) - 5} 3, 5`
        }, null, 8, u),
        e("polyline", {
          class: "bv-bb5-line-3",
          stroke: o(n)[1],
          points: `50, 13 ${o(t) - 35}, 13`
        }, null, 8, k),
        e("polyline", {
          class: "bv-bb5-line-4",
          stroke: o(n)[1],
          points: `15, 20 ${o(t) - 35}, 20`
        }, null, 8, f),
        e("polyline", {
          class: "bv-bb5-line-5",
          stroke: o(n)[1],
          points: `15, ${o(s) - 20} ${o(t) - 110}, ${o(s) - 20}`
        }, null, 8, g),
        e("polyline", {
          class: "bv-bb5-line-6",
          stroke: o(n)[1],
          points: `15, ${o(s) - 13} ${o(t) - 110}, ${o(s) - 13}`
        }, null, 8, v)
      ], 8, a))
    ]));
  }
});
export {
  x as default
};
