import { Icon } from '@iconify/css-solid';
import { splitProps } from 'solid-js';

const viewBox = {"width":64,"height":64};
const content = `<style>.hbxeftc {
  cx: 32px;
  cy: 32px;
  r: 30px;
  fill: #f42f4c;
}

.tzmihcba {
  fill: #4f682e;
  d: path("m23.3 44l3.3-9.9l-8.6-6.2h10.7L32 18l3.3 9.9H46L37.3 34l3.3 9.9l-8.6-6zm10.5-7.4l2.7 1.9l-1-3.1zm-5.3-1.2l-1 3.1l2.7-1.9zm.7-2.1l2.8 2l2.8-2l-1.1-3.2h-3.5zm-4.5-3.2l2.7 1.9l.6-1.9zM36.6 32l2.7-1.9H36zM31 27.9h2l-1-3.1z");
}
</style><circle class="hbxeftc"/><path class="tzmihcba"/>`;

/** @param props {{width?: string; height?: string;}} */
function Component(props) {
	const [local, others] = splitProps(props, ["width","height"]);

	return (<Icon width={local.width} height={local.height} viewBox={viewBox} content={content} fallback={"emojione:flag-for-morocco"} {...others} />);
}

export default Component;
