<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="M4.345 5.25A1 1 0 0 0 4 6v21a1 1 0 0 0 2 0v-5.529c3.349-2.645 6.234-1.218 9.556.427 2.05 1.013 4.258 2.106 6.625 2.106 1.741 0 3.568-.594 5.478-2.25a1 1 0 0 0 .345-.75V6a1 1 0 0 0-1.659-.75c-3.5 3.029-6.465 1.561-9.901-.14-3.56-1.765-7.596-3.761-12.099.14M26 20.531c-3.349 2.645-6.234 1.218-9.556-.426-3.125-1.544-6.601-3.266-10.444-1.05V6.474c3.349-2.645 6.234-1.219 9.556.425C18.681 8.442 22.16 10.165 26 7.949z"/>`, 'thin': `<path fill="currentColor" d="M4.674 5.632a.5.5 0 0 0-.174.375V27a.5.5 0 1 0 1 0v-5.766c3.676-3.049 6.885-1.462 10.279.216 2.062 1.021 4.166 2.063 6.391 2.063 1.642 0 3.351-.57 5.157-2.133a.5.5 0 0 0 .173-.375v-15a.5.5 0 0 0-.828-.375c-3.75 3.25-7 1.634-10.45-.071-3.588-1.774-7.297-3.607-11.548.073M26.5 20.772c-3.676 3.05-6.885 1.462-10.279-.217C12.87 18.896 9.41 17.18 5.5 19.973V6.24c3.676-3.05 6.885-1.463 10.279.216C19.13 8.115 22.59 9.831 26.5 7.04z"/>`, 'light': `<path fill="currentColor" d="M4.51 5.421a.75.75 0 0 0-.26.567V27a.75.75 0 0 0 1.5 0v-5.652c3.51-2.85 6.485-1.375 9.918.32 2.015 1 4.186 2.073 6.5 2.073 1.696 0 3.47-.575 5.32-2.177A.75.75 0 0 0 27.75 21V5.988a.75.75 0 0 0-1.241-.568c-3.625 3.14-6.66 1.636-10.176-.105-3.487-1.726-7.458-3.67-11.823.106m21.74 15.225c-3.51 2.85-6.485 1.375-9.917-.322-3.158-1.564-6.697-3.315-10.583-.824V6.34c3.51-2.85 6.485-1.375 9.918.32 3.157 1.564 6.696 3.315 10.582.829z"/>`, 'bold': `<path fill="currentColor" d="M4.018 4.86A1.5 1.5 0 0 0 3.5 6v21a1.5 1.5 0 0 0 3 0v-5.285c2.855-2.14 5.262-1.14 8.835.625 2.029 1 4.342 2.15 6.85 2.15 1.84 0 3.785-.617 5.798-2.36A1.5 1.5 0 0 0 28.5 21V6a1.5 1.5 0 0 0-2.483-1.134c-3.088 2.676-5.566 1.664-9.352-.21C13.149 2.91 8.771.742 4.018 4.86M25.5 20.282c-2.855 2.142-5.262 1.14-8.835-.625C13.77 18.22 10.291 16.5 6.5 18.234V6.71c2.855-2.14 5.262-1.14 8.835.625 2.029 1 4.342 2.15 6.85 2.15A7.9 7.9 0 0 0 25.5 8.76z"/>`, 'fill': `<path fill="currentColor" d="M28 6v15a1 1 0 0 1-.345.75c-1.91 1.654-3.736 2.25-5.478 2.25-2.363 0-4.57-1.093-6.624-2.106-3.32-1.644-6.204-3.068-9.553-.423V27a1 1 0 1 1-2 0V6a1 1 0 0 1 .346-.75c4.5-3.897 8.539-1.901 12.099-.14 3.43 1.698 6.404 3.165 9.9.14A1 1 0 0 1 28 6"/>`, 'duotone': `<path fill="currentColor" d="M27 6v15c-8 6.929-14-6.929-22 0V6c8-6.929 14 6.929 22 0" opacity=".08"/><path fill="currentColor" d="M4.345 5.25A1 1 0 0 0 4 6v21a1 1 0 0 0 2 0v-5.529c3.349-2.645 6.234-1.218 9.556.427 2.05 1.013 4.258 2.106 6.625 2.106 1.741 0 3.568-.594 5.478-2.25a1 1 0 0 0 .345-.75V6a1 1 0 0 0-1.659-.75c-3.5 3.029-6.465 1.561-9.901-.14-3.56-1.765-7.596-3.761-12.099.14M26 20.531c-3.349 2.645-6.234 1.218-9.556-.426-3.125-1.544-6.601-3.266-10.444-1.05V6.474c3.349-2.645 6.234-1.219 9.556.425C18.681 8.442 22.16 10.165 26 7.949z"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'flag', componentName: 'Flag' } as const;
  const defaultViewBox = "0 0 32 32";

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

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