import { defineComponent as p, toRefs as l, openBlock as i, createElementBlock as c, normalizeStyle as _, unref as o, createElementVNode as n } from "vue";
const a = ["width", "height"], h = ["stroke"], k = ["stroke", "points"], u = ["stroke", "points"], g = ["stroke", "points"], b = ["stroke"], w = ["stroke", "points"], y = ["stroke", "points"], f = ["stroke", "points"], m = p({ name: "EBorder06" }), E = /* @__PURE__ */ p({
  ...m,
  props: {
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(d) {
    const r = d, { w: e, h: s } = l(r.chartConfig.attr), { colors: t, backgroundColor: $ } = l(r.chartConfig.option);
    return (x, C) => (i(), c("div", {
      class: "go-border-box",
      style: _(`
      box-shadow: inset 0 0 40px ${o(t)[0]}; 
      border: 1px solid ${o(t)[1]};
      background-color: ${o($)};
    `)
    }, [
      (i(), c("svg", {
        width: o(e),
        height: o(s)
      }, [
        n("polyline", {
          class: "go-border-line-w-2",
          stroke: o(t)[0],
          points: "0, 25 0, 0 25, 0"
        }, null, 8, h),
        n("polyline", {
          class: "go-border-line-w-2",
          stroke: o(t)[0],
          points: `${o(e) - 25}, 0 ${o(e)}, 0 ${o(e)}, 25`
        }, null, 8, k),
        n("polyline", {
          class: "go-border-line-w-2",
          stroke: o(t)[0],
          points: `${o(e) - 25}, ${o(s)} ${o(e)}, ${o(s)} ${o(e)}, ${o(s) - 25}`
        }, null, 8, u),
        n("polyline", {
          class: "go-border-line-w-2",
          stroke: o(t)[0],
          points: `0, ${o(s) - 25} 0, ${o(s)} 25, ${o(s)}`
        }, null, 8, g),
        n("polyline", {
          class: "go-border-line-w-5",
          stroke: o(t)[1],
          points: "0, 10 0, 0 10, 0"
        }, null, 8, b),
        n("polyline", {
          class: "go-border-line-w-5",
          stroke: o(t)[1],
          points: `${o(e) - 10}, 0 ${o(e)}, 0 ${o(e)}, 10`
        }, null, 8, w),
        n("polyline", {
          class: "go-border-line-w-5",
          stroke: o(t)[1],
          points: `${o(e) - 10}, ${o(s)} ${o(e)}, ${o(s)} ${o(e)}, ${o(s) - 10}`
        }, null, 8, y),
        n("polyline", {
          class: "go-border-line-w-5",
          stroke: o(t)[1],
          points: `0, ${o(s) - 10} 0, ${o(s)} 10, ${o(s)}`
        }, null, 8, f)
      ], 8, a))
    ], 4));
  }
});
export {
  E as default
};
