<template>
<svg viewBox="0 0 18 18" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-HongBao`]" width="1em" height="1em" v-bind="$attrs"><path d="M13.2162 1H4.78378C4.3107 1 3.85698 1.18179 3.52246 1.50538C3.18793 1.82898 3 2.26786 3 2.72549V15.2745C3 15.7321 3.18793 16.171 3.52246 16.4946C3.85698 16.8182 4.3107 17 4.78378 17H13.2162C13.6893 17 14.143 16.8182 14.4775 16.4946C14.8121 16.171 15 15.7321 15 15.2745V2.72549C15 2.26786 14.8121 1.82898 14.4775 1.50538C14.143 1.18179 13.6893 1 13.2162 1ZM4.78378 1.94118H13.2162C13.4313 1.94118 13.6375 2.02381 13.7895 2.1709C13.9416 2.31798 14.027 2.51748 14.027 2.72549V15.2745C14.027 15.4825 13.9416 15.682 13.7895 15.8291C13.6375 15.9762 13.4313 16.0588 13.2162 16.0588H4.78378C4.56874 16.0588 4.36251 15.9762 4.21045 15.8291C4.0584 15.682 3.97297 15.4825 3.97297 15.2745V2.72549C3.97297 2.51748 4.0584 2.31798 4.21045 2.1709C4.36251 2.02381 4.56874 1.94118 4.78378 1.94118Z"/><path d="M9.00022 6C8.73756 5.99997 8.47746 6.05168 8.23479 6.15218C7.99211 6.25267 7.77161 6.39999 7.58586 6.58571C7.40012 6.77143 7.25279 6.99192 7.15226 7.23458C7.05174 7.47725 7 7.73734 7 8C7 8.26266 7.05174 8.52275 7.15226 8.76542C7.25279 9.00808 7.40012 9.22857 7.58586 9.41429C7.77161 9.60001 7.99211 9.74733 8.23479 9.84782C8.47746 9.94832 8.73756 10 9.00022 10C9.53062 9.99994 10.0393 9.7892 10.4143 9.41414C10.7893 9.03907 11 8.53039 11 8C11 7.4696 10.7893 6.96093 10.4143 6.58586C10.0393 6.2108 9.53062 6.00006 9.00022 6ZM9.00022 6.92308C9.14166 6.92306 9.28172 6.95089 9.41239 7.00501C9.54307 7.05912 9.66181 7.13844 9.76182 7.23844C9.86184 7.33845 9.94118 7.45717 9.99531 7.58784C10.0494 7.71851 10.0773 7.85856 10.0773 8C10.0773 8.14144 10.0494 8.28149 9.99531 8.41216C9.94118 8.54283 9.86184 8.66155 9.76182 8.76156C9.66181 8.86156 9.54307 8.94088 9.41239 8.99499C9.28172 9.0491 9.14166 9.07694 9.00022 9.07692C8.71463 9.07688 8.44075 8.9634 8.23883 8.76144C8.0369 8.55948 7.92346 8.28559 7.92346 8C7.92346 7.71441 8.0369 7.44051 8.23883 7.23856C8.44075 7.0366 8.71463 6.92312 9.00022 6.92308Z"/><path d="M5.1259 6.17579C5.20626 6.06336 5.31518 6.0002 5.42874 6.0002C5.54231 6.0002 5.65123 6.06336 5.73159 6.17579C6.13642 6.74259 6.50898 7.12365 6.87725 7.38463C7.01724 7.4839 7.15209 7.56316 7.3038 7.63921L7.70378 7.82974L7.72092 7.83855C7.82654 7.89495 7.91198 8.00754 7.95863 8.1518C8.00528 8.29605 8.00936 8.46029 7.96999 8.60874C7.93061 8.75719 7.85097 8.87783 7.7484 8.94439C7.64583 9.01095 7.52865 9.01805 7.42236 8.96413L7.29665 8.90368C7.21723 8.86646 7.10695 8.81482 7.04067 8.7824L7.01524 8.76999C6.83559 8.68123 6.66019 8.57641 6.49012 8.45617C6.03986 8.13715 5.59388 7.68044 5.12562 7.02478C5.08579 6.96902 5.0542 6.90282 5.03265 6.82995C5.01109 6.75707 5 6.67897 5 6.60009C5 6.52121 5.01109 6.4431 5.03265 6.37023C5.0542 6.29736 5.08579 6.23115 5.12562 6.17539L5.1259 6.17579ZM12.8744 6.17579C12.794 6.06323 12.685 6 12.5714 6C12.4578 6 12.3488 6.06323 12.2684 6.17579C11.8636 6.74259 11.4913 7.12365 11.1228 7.38463C10.9828 7.4839 10.8479 7.56316 10.6965 7.63921L10.2965 7.82974L10.2794 7.83855C10.1737 7.89495 10.0883 8.00754 10.0417 8.1518C9.995 8.29605 9.99092 8.46029 10.0303 8.60874C10.0697 8.75719 10.1493 8.87783 10.2519 8.94439C10.3545 9.01095 10.4716 9.01805 10.5779 8.96413L10.7036 8.90368C10.7831 8.86646 10.8933 8.81482 10.9593 8.7824L10.985 8.76999C11.1679 8.67793 11.3356 8.57986 11.5099 8.45617C11.9601 8.13715 12.4064 7.68044 12.8744 7.02478C12.9142 6.96902 12.9458 6.90282 12.9674 6.82995C12.9889 6.75707 13 6.67897 13 6.60009C13 6.52121 12.9889 6.4431 12.9674 6.37023C12.9458 6.29736 12.9142 6.23115 12.8744 6.17539V6.17579Z"/></svg>
</template>
<script>

export default {
  name: 'IconHongBao',
  props: {
    prefix: {
        type: String,
        default: 'LAIDO',
    },
    useCurrentColor: {
        type: Boolean,
        default: true,
    },
  },
};
</script>
