<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="m29.313 14.298-.654.577a1 1 0 1 1-1.315-1.5l.653-.571v-.009l-1.083-.094a1.003 1.003 0 1 1 .171-2l1.087.094a2 2 0 0 1 1.14 3.509zm-7.588 5.374.357 1.552a.998.998 0 0 0 1.823.305 1 1 0 0 0 .126-.755l-.356-1.559.982-.857a1 1 0 1 0-1.314-1.508l-.983.859a2 2 0 0 0-.635 1.966zM17 6.394V23.1l.034.019 1.485.902a1 1 0 0 1-1.038 1.71L16 24.83l-6.375 3.875a2 2 0 0 1-2.98-2.167l1.681-7.313-5.639-4.928a2 2 0 0 1 1.14-3.508l7.432-.643 2.901-6.92a1.994 1.994 0 0 1 3.68 0l2.91 6.92 1.343.116a1.004 1.004 0 0 1-.173 2l-1.345-.116a2 2 0 0 1-1.669-1.219zm-2.034 16.731.034-.019V6.394l-1.9 4.527a2 2 0 0 1-1.669 1.219L4 12.781v.013l5.641 4.917a2 2 0 0 1 .634 1.964l-1.69 7.317zm9.989 1.656a1 1 0 0 0-1.949.452L23.42 27l-1.399-.85a1.002 1.002 0 0 0-1.326 1.446 1 1 0 0 0 .287.264l1.404.852a2 2 0 0 0 2.98-2.167z"/>`, 'thin': `<path fill="currentColor" d="m28.983 13.92-.655.571a.5.5 0 0 1-.658-.75l.655-.571a.5.5 0 0 0 .148-.54.5.5 0 0 0-.43-.344l-1.087-.093a.502.502 0 0 1 .087-1l1.086.093a1.5 1.5 0 0 1 .854 2.634m-6.773 5.64.359 1.551a.5.5 0 1 0 .974-.225l-.358-1.551a.5.5 0 0 1 .16-.5l.983-.858a.501.501 0 0 0-.287-.898.5.5 0 0 0-.371.148l-.983.858a1.5 1.5 0 0 0-.477 1.475m-.25-7.804-1.345-.116a1.5 1.5 0 0 1-1.25-.914L16.5 3.91v19.508q.143.049.274.125l1.485.902a.5.5 0 1 1-.519.855l-1.49-.899a.49.49 0 0 0-.51 0l-6.388 3.875A1.5 1.5 0 0 1 7.12 26.65l1.69-7.317a.5.5 0 0 0-.16-.5l-5.637-4.92a1.5 1.5 0 0 1 .862-2.627l7.431-.642a.5.5 0 0 0 .415-.305l2.904-6.919a1.494 1.494 0 0 1 2.758 0l2.903 6.919a.5.5 0 0 0 .415.305l1.345.116a.502.502 0 1 1-.086 1zm-6.73 11.789q.13-.077.274-.125V3.909l-2.864 6.817a1.5 1.5 0 0 1-1.25.914l-7.433.643a.5.5 0 0 0-.43.342.5.5 0 0 0 .148.54l5.638 4.919a1.5 1.5 0 0 1 .477 1.475L8.1 26.875a.5.5 0 0 0 .464.62.5.5 0 0 0 .275-.074zm9.24 1.341a.499.499 0 1 0-.974.225l.404 1.764a.5.5 0 0 1-.739.546l-1.404-.852a.5.5 0 0 0-.518.855l1.403.852a1.5 1.5 0 0 0 2.233-1.625z"/>`, 'light': `<path fill="currentColor" d="m29.149 14.108-.649.57a.75.75 0 1 1-.986-1.124l.655-.571a.25.25 0 0 0 .073-.274.23.23 0 0 0-.212-.173l-1.088-.093a.753.753 0 0 1 .125-1.5l1.088.095a1.72 1.72 0 0 1 1.51 1.2 1.75 1.75 0 0 1-.516 1.87m-7.18 5.508.357 1.552a.75.75 0 1 0 1.462-.338l-.358-1.551a.26.26 0 0 1 .08-.25l.984-.858a.75.75 0 1 0-.986-1.125l-.984.858a1.75 1.75 0 0 0-.555 1.712M21.936 12l-1.346-.116a1.75 1.75 0 0 1-1.465-1.061L16.75 5.15v18.1q.078.037.154.081l1.486.903a.752.752 0 0 1 .054 1.246.75.75 0 0 1-.833.036l-1.486-.903a.24.24 0 0 0-.25 0l-6.389 3.875a1.75 1.75 0 0 1-2.611-1.893l1.69-7.316a.26.26 0 0 0-.08-.25l-5.634-4.921a1.75 1.75 0 0 1-.514-1.875 1.72 1.72 0 0 1 1.51-1.2l7.433-.643a.25.25 0 0 0 .206-.152l2.904-6.92a1.75 1.75 0 0 1 3.22 0l2.904 6.92a.25.25 0 0 0 .206.152l1.345.116a.753.753 0 0 1-.125 1.5zm-6.84 11.325q.075-.044.154-.081V5.15l-2.375 5.673a1.75 1.75 0 0 1-1.46 1.066l-7.434.642a.23.23 0 0 0-.212.173.25.25 0 0 0 .073.274l5.64 4.918a1.75 1.75 0 0 1 .554 1.72l-1.694 7.317a.24.24 0 0 0 .098.266.23.23 0 0 0 .268.011zm9.615 1.5a.751.751 0 1 0-1.461.338l.409 1.765a.25.25 0 0 1-.099.266.23.23 0 0 1-.267.011l-1.404-.852a.75.75 0 1 0-.779 1.28l1.404.853a1.75 1.75 0 0 0 2.611-1.89z"/>`, 'bold': `<path fill="currentColor" d="m29.641 14.675-.655.575a1.5 1.5 0 0 1-2.16-2.065 1.501 1.501 0 1 1 .299-2.988l1.087.094a2.5 2.5 0 0 1 1.424 4.384zm-7.61 2.659a2.5 2.5 0 0 0-.793 2.453l.357 1.552a1.5 1.5 0 0 0 2.924-.675l-.293-1.264.76-.664a1.501 1.501 0 0 0-1.464-2.56 1.5 1.5 0 0 0-.508.3zm-2.75 8.322a1.5 1.5 0 0 1-2.061.5L16 25.417l-6.125 3.72A2.5 2.5 0 0 1 6.15 26.43l1.625-7.03-5.416-4.725a2.5 2.5 0 0 1 1.424-4.384l7.125-.616 2.787-6.643a2.5 2.5 0 0 1 4.602 0l2.788 6.643 1.041.09a1.5 1.5 0 0 1-.251 2.985l-1.346-.116a2.49 2.49 0 0 1-2.087-1.524L17.5 8.875v13.944l1.279.776a1.5 1.5 0 0 1 .503 2.061M14.5 22.82V8.875l-.939 2.236a2.49 2.49 0 0 1-2.086 1.526l-6.267.543 4.76 4.154a2.5 2.5 0 0 1 .794 2.453L9.34 25.952zm11.174 2.845a1.5 1.5 0 0 0-2.963.32 1.5 1.5 0 0 0-1.49 2.605l.904.548a2.5 2.5 0 0 0 3.725-2.707z"/>`, 'fill': `<path fill="currentColor" d="M29.9 12.161a2 2 0 0 0-1.726-1.375l-7.424-.64-2.91-6.92a1.994 1.994 0 0 0-3.68 0l-2.901 6.92-7.433.643a2 2 0 0 0-1.138 3.508l5.638 4.928-1.69 7.317a2 2 0 0 0 2.98 2.168l6.375-3.875 6.389 3.875a2 2 0 0 0 2.98-2.168l-1.689-7.324 5.638-4.92a2 2 0 0 0 .591-2.137m-1.902.625-5.638 4.92a2 2 0 0 0-.635 1.964L23.419 27l-6.384-3.875c-.311-.19-.67-.29-1.034-.29V4.011l2.9 6.91a2 2 0 0 0 1.669 1.219l7.43.643v.008z"/>`, 'duotone': `<path fill="currentColor" d="M16 3v20.829c-.182 0-.36.05-.515.145l-6.387 3.875a1 1 0 0 1-1.487-1.087l1.69-7.317a1.01 1.01 0 0 0-.317-.986l-5.639-4.915a1 1 0 0 1 .567-1.759l7.433-.643a1 1 0 0 0 .834-.61l2.903-6.92A.98.98 0 0 1 16 3" opacity=".08"/><path fill="currentColor" d="M29.9 12.161a2 2 0 0 0-1.726-1.375l-7.424-.64-2.91-6.92a1.994 1.994 0 0 0-3.68 0l-2.901 6.92-7.433.643a2 2 0 0 0-1.138 3.508l5.638 4.928-1.69 7.317a2 2 0 0 0 2.98 2.168l6.375-3.875 6.389 3.875a2 2 0 0 0 2.98-2.168l-1.689-7.324 5.638-4.92a2 2 0 0 0 .591-2.137M8.585 27l1.69-7.325a2 2 0 0 0-.635-1.964L4 12.794v-.013l7.43-.641a2 2 0 0 0 1.669-1.219L15 6.394V23.1l-.034.019zM28 12.791l-5.637 4.92a2 2 0 0 0-.636 1.964L23.42 27l-6.384-3.875-.034-.019V6.394l1.9 4.527a2 2 0 0 0 1.669 1.219l7.43.643z"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'star-half', componentName: 'StarHalf' } as const;
  const defaultViewBox = "0 0 32 32";

  let { viewBox = defaultViewBox, ...rest }: IconProps = $props();
</script>

<IconBase {meta} viewBox={viewBox} weights={weights} {...rest} />
