<script lang="ts">
  import IconBase from '../../lib/IconBase.svelte';
  import type { IconProps } from '../../lib/types';
  
  const weights = { 'regular': `<path fill="currentColor" d="M16 2c-5.046 0-9 2.416-9 5.5v17c0 3.084 3.954 5.5 9 5.5s9-2.416 9-5.5v-17C25 4.416 21.046 2 16 2m0 2c3.311 0 7 1.438 7 3.5S19.311 11 16 11 9 9.563 9 7.5 12.689 4 16 4m0 24c-3.729 0-7-1.635-7-3.5V11c1.637 1.231 4.143 2 7 2s5.363-.775 7-2v13.5c0 1.865-3.271 3.5-7 3.5"/>`, 'thin': `<path fill="currentColor" d="M16 2.5c-4.766 0-8.5 2.196-8.5 5v17c0 2.804 3.734 5 8.5 5s8.5-2.196 8.5-5v-17c0-2.804-3.734-5-8.5-5m0 1c4.065 0 7.5 1.831 7.5 4s-3.435 4-7.5 4-7.5-1.831-7.5-4 3.435-4 7.5-4m7.5 21c0 2.169-3.435 4-7.5 4s-7.5-1.831-7.5-4V9.889C9.919 11.456 12.714 12.5 16 12.5s6.081-1.044 7.5-2.611z"/>`, 'light': `<path fill="currentColor" d="M16 2.25c-4.906 0-8.75 2.306-8.75 5.25v17c0 2.944 3.844 5.25 8.75 5.25s8.75-2.306 8.75-5.25v-17c0-2.944-3.844-5.25-8.75-5.25m0 1.5c3.93 0 7.25 1.718 7.25 3.75s-3.32 3.75-7.25 3.75S8.75 9.533 8.75 7.5 12.07 3.75 16 3.75m0 24.5c-3.93 0-7.25-1.718-7.25-3.75V10.476c1.56 1.383 4.199 2.274 7.25 2.274s5.69-.891 7.25-2.274V24.5c0 2.032-3.32 3.75-7.25 3.75"/>`, 'bold': `<path fill="currentColor" d="M22.393 3.01C20.66 2.036 18.39 1.5 16 1.5s-4.66.536-6.392 1.51C7.604 4.138 6.5 5.733 6.5 7.5v17c0 1.767 1.104 3.363 3.108 4.49 1.732.974 4.002 1.51 6.392 1.51s4.66-.536 6.392-1.51c2-1.125 3.108-2.722 3.108-4.49v-17c0-1.767-1.104-3.362-3.108-4.49M11.078 5.625C12.35 4.91 14.144 4.5 16 4.5s3.65.41 4.921 1.125c1 .565 1.579 1.25 1.579 1.875s-.575 1.31-1.579 1.875C19.65 10.09 17.856 10.5 16 10.5s-3.65-.41-4.921-1.125C10.075 8.81 9.5 8.125 9.5 7.5s.575-1.31 1.579-1.875m9.842 20.75C19.65 27.09 17.856 27.5 16 27.5s-3.65-.41-4.921-1.125C10.075 25.81 9.5 25.125 9.5 24.5V11.925l.107.065c1.733.974 4.003 1.51 6.393 1.51s4.66-.536 6.392-1.51l.108-.065V24.5c0 .625-.575 1.31-1.579 1.875"/>`, 'fill': `<path fill="currentColor" d="M16 2c-5.046 0-9 2.416-9 5.5v17c0 3.084 3.954 5.5 9 5.5s9-2.416 9-5.5v-17C25 4.416 21.046 2 16 2m0 26c-3.729 0-7-1.635-7-3.5V9.679C10.365 11.062 12.988 12 16 12s5.635-.937 7-2.321V24.5c0 1.865-3.271 3.5-7 3.5"/>`, 'duotone': `<path fill="currentColor" d="M24 7.5c0 2.485-3.581 4.5-8 4.5S8 9.985 8 7.5 11.581 3 16 3s8 2.015 8 4.5" opacity=".08"/><path fill="currentColor" d="M16 2c-5.046 0-9 2.416-9 5.5v17c0 3.084 3.954 5.5 9 5.5s9-2.416 9-5.5v-17C25 4.416 21.046 2 16 2m0 2c3.311 0 7 1.438 7 3.5S19.311 11 16 11 9 9.563 9 7.5 12.689 4 16 4m0 24c-3.729 0-7-1.635-7-3.5V11c1.637 1.231 4.143 2 7 2s5.363-.775 7-2v13.5c0 1.865-3.271 3.5-7 3.5"/>` } as const;
  const meta = { collection: 'phosphor', usageName: 'cylinder', componentName: 'Cylinder' } as const;
  const defaultViewBox = "0 0 32 32";

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

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