/* GENERATED FILE */
<template>
  <svg
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 256 256"
    :width="displaySize"
    :height="displaySize"
    :fill="displayColor"
    :transform="displayMirrored"
    v-bind="$attrs"
    v-on="$listeners"
  >
    <slot />
    <g v-if="displayWeight === 'bold'">
      <rect
        x="101.1"
        y="35.1"
        width="53.7"
        height="53.74"
        rx="8"
        transform="translate(-6.4 108.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="24"
      />
      <rect
        x="167.1"
        y="101.1"
        width="53.7"
        height="53.74"
        rx="8"
        transform="translate(-33.7 174.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="24"
      />
      <rect
        x="35.1"
        y="101.1"
        width="53.7"
        height="53.74"
        rx="8"
        transform="translate(-72.4 81.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="24"
      />
      <rect
        x="101.1"
        y="167.1"
        width="53.7"
        height="53.74"
        rx="8"
        transform="translate(-99.7 147.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="24"
      />
    </g>
    <g v-else-if="displayWeight === 'duotone'">
      <rect
        x="99.7"
        y="35.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-7.8 109.3) rotate(-45)"
        opacity="0.2"
      />
      <rect
        x="163.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-34.3 173.3) rotate(-45)"
        opacity="0.2"
      />
      <rect
        x="35.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-71.8 82.7) rotate(-45)"
        opacity="0.2"
      />
      <rect
        x="99.7"
        y="163.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-98.3 146.7) rotate(-45)"
        opacity="0.2"
      />
      <rect
        x="99.7"
        y="35.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-7.8 109.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="163.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-34.3 173.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="35.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-71.8 82.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="99.7"
        y="163.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-98.3 146.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
    </g>
    <g v-else-if="displayWeight === 'fill'">
      <path
        d="M88,75.3a16.1,16.1,0,0,1,0-22.6L116.7,24a15.9,15.9,0,0,1,22.6,0L168,52.7a16.1,16.1,0,0,1,0,22.6L139.3,104a15.9,15.9,0,0,1-22.6,0Zm144,41.4L203.3,88a15.9,15.9,0,0,0-22.6,0L152,116.7a16.1,16.1,0,0,0,0,22.6L180.7,168a15.9,15.9,0,0,0,22.6,0L232,139.3A16.1,16.1,0,0,0,232,116.7Zm-128,0L75.3,88a15.9,15.9,0,0,0-22.6,0L24,116.7a16.1,16.1,0,0,0,0,22.6L52.7,168a15.9,15.9,0,0,0,22.6,0L104,139.3A16.1,16.1,0,0,0,104,116.7ZM139.3,152a15.9,15.9,0,0,0-22.6,0L88,180.7a16.1,16.1,0,0,0,0,22.6L116.7,232a15.9,15.9,0,0,0,22.6,0L168,203.3a16.1,16.1,0,0,0,0-22.6Z"
      />
    </g>
    <g v-else-if="displayWeight === 'light'">
      <rect
        x="99.7"
        y="35.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-7.8 109.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="12"
      />
      <rect
        x="163.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-34.3 173.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="12"
      />
      <rect
        x="35.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-71.8 82.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="12"
      />
      <rect
        x="99.7"
        y="163.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-98.3 146.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="12"
      />
    </g>
    <g v-else-if="displayWeight === 'thin'">
      <rect
        x="99.7"
        y="35.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-7.8 109.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="8"
      />
      <rect
        x="163.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-34.3 173.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="8"
      />
      <rect
        x="35.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-71.8 82.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="8"
      />
      <rect
        x="99.7"
        y="163.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-98.3 146.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="8"
      />
    </g>
    <g v-else-if="displayWeight === 'regular'">
      <rect
        x="99.7"
        y="35.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-7.8 109.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="163.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-34.3 173.3) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="35.7"
        y="99.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-71.8 82.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
      <rect
        x="99.7"
        y="163.7"
        width="56.6"
        height="56.57"
        rx="8"
        transform="translate(-98.3 146.7) rotate(-45)"
        fill="none"
        :stroke="displayColor"
        stroke-linecap="round"
        stroke-linejoin="round"
        stroke-width="16"
      />
    </g>
  </svg>
</template>

<script lang="ts">
import Vue from "vue";
import {
  IconComputed,
  IconProps,
  PropValidator,
  IconContext,
  ContextGetter
} from "@/lib/types";
export default Vue.extend<{}, {}, IconComputed, IconProps>({
  name: "PhDiamondsFour",
  props: PropValidator,
  inject: ContextGetter,
  computed: {
    displayWeight() {
      const { weight, contextWeight } = this as IconProps & IconContext;
      return weight ?? contextWeight;
    },
    displaySize() {
      const { size, contextSize } = this as IconProps & IconContext;
      return size ?? contextSize;
    },
    displayColor() {
      const { color, contextColor } = this as IconProps & IconContext;
      return color ?? contextColor;
    },
    displayMirrored() {
      const { mirrored, contextMirrored } = this as IconProps & IconContext;
      return mirrored ?? contextMirrored ? "scale(-1, 1)" : undefined;
    }
  }
});
</script>
