<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="m31.47 11.118-15-8a1 1 0 0 0-.94 0l-15 8a1 1 0 0 0 0 1.765L4 14.733v6.053c0 .491.18.966.508 1.331C6.145 23.942 9.814 27 16 27a16.3 16.3 0 0 0 6-1.095V30a1 1 0 1 0 2 0v-5.061a14.5 14.5 0 0 0 3.493-2.822 2 2 0 0 0 .507-1.33v-6.053l3.47-1.851a1 1 0 0 0 0-1.765M16 25c-5.409 0-8.59-2.642-10-4.214V15.8l9.53 5.083a1 1 0 0 0 .94 0l5.53-2.95v5.793C20.425 24.461 18.44 25 16 25m10-4.219c-.6.665-1.27 1.263-2 1.782v-5.697l2-1.066zm-2.5-5.913-.027-.017-7-3.734a1 1 0 0 0-.94 1.765L21.375 16 16 18.866 3.125 12 16 5.134 28.875 12z"/>`, 'thin': `<path fill="currentColor" d="m31.235 11.559-15-8a.5.5 0 0 0-.47 0l-15 8a.5.5 0 0 0 0 .882L4.5 14.434v6.352c-.003.368.13.725.375 1C6.456 23.547 10 26.503 16 26.503c2.625 0 4.775-.566 6.5-1.35V30a.5.5 0 0 0 1 0v-5.352a14 14 0 0 0 3.625-2.864c.244-.276.378-.632.375-1v-6.35l3.735-1.993a.5.5 0 0 0 0-.882M16 25.5c-5.604 0-8.906-2.75-10.375-4.385a.5.5 0 0 1-.125-.329v-5.82l10.265 5.475a.5.5 0 0 0 .47 0L22.5 17.1v6.941c-1.678.834-3.826 1.459-6.5 1.459m10.5-4.714a.5.5 0 0 1-.125.33 13 13 0 0 1-2.875 2.375v-6.925l3-1.6zm-3.074-5.314a.5.5 0 0 0-.191-.18l-7-3.733a.5.5 0 0 0-.47.882L22.437 16 16 19.434 2.062 12 16 4.566 29.937 12z"/>`, 'light': `<path fill="currentColor" d="m31.353 11.339-15-8a.74.74 0 0 0-.705 0l-15 8a.75.75 0 0 0 0 1.322l3.602 1.923v6.202c0 .43.158.845.444 1.165C6.303 23.742 9.91 26.75 16 26.75c2.144.02 4.27-.394 6.25-1.216V30a.75.75 0 1 0 1.5 0v-5.206a14.2 14.2 0 0 0 3.556-2.844c.287-.32.445-.734.444-1.164v-6.202l3.603-1.923a.751.751 0 0 0 0-1.322M16 25.25c-5.5 0-8.75-2.695-10.19-4.301a.25.25 0 0 1-.06-.163v-5.402l9.898 5.277a.75.75 0 0 0 .705 0l5.897-3.145v6.375c-1.625.778-3.694 1.359-6.25 1.359m10.25-4.464a.25.25 0 0 1-.06.163c-.72.798-1.54 1.5-2.44 2.089v-6.322l2.5-1.332zm-2.769-5.625a1 1 0 0 0-.125-.088l-7-3.733a.75.75 0 0 0-.705 1.322L21.906 16 16 19.15 2.594 12 16 4.85 29.406 12z"/>`, 'bold': `<path fill="currentColor" d="m31.225 10.686-14.5-8a1.5 1.5 0 0 0-1.45 0l-14.5 8a1.5 1.5 0 0 0 0 2.625l2.725 1.5v5.97a2.5 2.5 0 0 0 .636 1.665C5.829 24.337 9.625 27.5 16 27.5c1.693.01 3.378-.233 5-.719V30a1.5 1.5 0 1 0 3 0v-4.485a15 15 0 0 0 3.863-3.064c.411-.457.638-1.05.637-1.665v-5.97l2.725-1.5a1.5 1.5 0 0 0 0-2.625zM16 5.714 27.395 12l-4.145 2.287-.023-.014-6.5-3.587a1.5 1.5 0 0 0-1.45 2.625l4.875 2.687L16 18.288 4.605 12zM16 24.5c-5.053 0-8.081-2.384-9.5-3.909v-4.125l8.775 4.843a1.5 1.5 0 0 0 1.45 0L21 18.955v4.654a13.8 13.8 0 0 1-5 .891m9.5-3.909q-.692.74-1.5 1.351V17.3l1.5-.828z"/>`, 'fill': `<path fill="currentColor" d="M22 25.905q1.036-.409 2-.966V30a1 1 0 0 1-2 0zm1.47-11.054-7-3.734a1 1 0 0 0-.94 1.765L21.375 16l2.125-1.133zm8-3.734-15-8a1 1 0 0 0-.94 0l-15 8a1 1 0 0 0 0 1.765L4 14.735v6.052c0 .491.18.966.508 1.331C6.145 23.942 9.814 27 16 27a16.3 16.3 0 0 0 6-1.095v-9.571L21.375 16 16 18.866 5.48 13.25 3.125 12 16 5.134 28.875 12l-2.347 1.25h-.008l-3.02 1.617a1 1 0 0 1 .5.867v9.205a14.5 14.5 0 0 0 3.493-2.822 2 2 0 0 0 .507-1.33v-6.053l3.47-1.851a1 1 0 0 0 0-1.765"/>`, 'duotone': `<path fill="currentColor" d="M27 14.134v6.652a1 1 0 0 1-.25.664C25.337 23.024 21.887 26 16 26s-9.335-2.976-10.75-4.55a1 1 0 0 1-.25-.664v-6.652L16 20z" opacity=".08"/><path fill="currentColor" d="m31.47 11.118-15-8a1 1 0 0 0-.94 0l-15 8a1 1 0 0 0 0 1.765L4 14.733v6.053c0 .491.18.966.508 1.331C6.145 23.942 9.814 27 16 27a16.3 16.3 0 0 0 6-1.095V30a1 1 0 1 0 2 0v-5.061a14.5 14.5 0 0 0 3.493-2.822 2 2 0 0 0 .507-1.33v-6.053l3.47-1.851a1 1 0 0 0 0-1.765M16 25c-5.409 0-8.59-2.642-10-4.214V15.8l9.53 5.083a1 1 0 0 0 .94 0l5.53-2.95v5.793C20.425 24.461 18.44 25 16 25m10-4.219c-.6.665-1.27 1.263-2 1.782v-5.697l2-1.066zm-2.5-5.913-.027-.017-7-3.734a1 1 0 0 0-.94 1.765L21.375 16 16 18.866 3.125 12 16 5.134 28.875 12z"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'graduation-cap', componentName: 'GraduationCap' } as const;
  const defaultViewBox = "0 0 32 32";

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

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