import { BlockButton } from '../types/blocks';
import { images } from '../assets';

interface StylePresets {
  [key: string]: {
    buttons: BlockButton[];
  };
}

export const stylePresets: StylePresets = {
  chibi: {
    buttons: [
      {
        id: 'chibi-sportscar',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF5722', '#F4511E']
        },
            title: 'Спорткар',
            imageUrl: images.sportcar,
        action: {
          type: 'selectPreset',
          value: 'sportscar'
        }
      },
      {
        id: 'chibi-skateboard',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#4CAF50', '#45A049']
        },
            title: 'Скейтборд',
            imageUrl: images.skateboard,
        action: {
          type: 'selectPreset',
          value: 'skateboard'
        }
      },
      {
        id: 'chibi-coffee',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#795548', '#5D4037']
        },
            title: 'Кофе',
            imageUrl: images.coffee,
        action: {
          type: 'selectPreset',
          value: 'coffee'
        }
      },
      {
        id: 'chibi-flowers',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
            title: 'Цветы',
            imageUrl: images.flowers,
        action: {
          type: 'selectPreset',
          value: 'flowers'
        }
      },
      {
        id: 'chibi-balloon',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#2196F3', '#1976D2']
        },
            title: 'Шарик',
            imageUrl: images.balloon,
        action: {
          type: 'selectPreset',
          value: 'balloon'
        }
      },
      {
        id: 'chibi-book',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#9C27B0', '#7B1FA2']
        },
            title: 'Книга',
            imageUrl: images.book,
        action: {
          type: 'selectPreset',
          value: 'book'
        }
      },
      {
        id: 'chibi-icecream',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
            title: 'Мороженое',
            imageUrl: images.icecream,
        action: {
          type: 'selectPreset',
          value: 'icecream'
        }
      },
      {
        id: 'chibi-umbrella',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#3F51B5', '#303F9F']
        },
            title: 'Зонт',
            imageUrl: images.umbrella,
        action: {
          type: 'selectPreset',
          value: 'umbrella'
        }
      },
      {
        id: 'chibi-cocktail',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#E91E63', '#C2185B']
        },
            title: 'Коктейль',
            imageUrl: images.cocktail,
        action: {
          type: 'selectPreset',
          value: 'cocktail'
        }
      },
      {
        id: 'chibi-gift',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
            title: 'Подарок',
            imageUrl: images.gift,
        action: {
          type: 'selectPreset',
          value: 'gift'
        }
      },
      {
        id: 'chibi-dog',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#795548', '#5D4037']
        },
            title: 'Собака',
            imageUrl: images.dog,
        action: {
          type: 'selectPreset',
          value: 'dog'
        }
      },
      {
        id: 'chibi-newspaper',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#607D8B', '#455A64']
        },
            title: 'Газета',
            imageUrl: images.newspaper,
        action: {
          type: 'selectPreset',
          value: 'newspaper'
        }
      },
      {
        id: 'chibi-bicycle',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#4CAF50', '#45A049']
        },
            title: 'Велосипед',
            imageUrl: images.bicycle,
        action: {
          type: 'selectPreset',
          value: 'bicycle'
        }
      },
      {
        id: 'chibi-surfer',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#00BCD4', '#0097A7']
        },
            title: 'Серфер',
            imageUrl: images.surfing,
        action: {
          type: 'selectPreset',
          value: 'surfer'
        }
      },
      {
        id: 'chibi-detective',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#9E9E9E', '#757575']
        },
            title: 'Детектив',
            imageUrl: images.detective,
        action: {
          type: 'selectPreset',
          value: 'detective'
        }
      },
      {
        id: 'chibi-biker',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#212121', '#000000']
        },
            title: 'Байкер',
            imageUrl: images.moto,
        action: {
          type: 'selectPreset',
          value: 'biker'
        }
      },
      {
        id: 'chibi-fairy',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
            title: 'Фея',
            imageUrl: images.fairy,
        action: {
          type: 'selectPreset',
          value: 'fairy'
        }
      },
      {
        id: 'chibi-scientist',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#3F51B5', '#303F9F']
        },
            title: 'Ученый',
            imageUrl: images.science,
        action: {
          type: 'selectPreset',
          value: 'scientist'
        }
      },
      {
        id: 'chibi-cowboy',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#795548', '#5D4037']
        },
            title: 'Ковбой',
            imageUrl: images.cowboy,
        action: {
          type: 'selectPreset',
          value: 'cowboy'
        }
      },
      {
        id: 'chibi-knight',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#607D8B', '#455A64']
        },
            title: 'Рыцарь',
            imageUrl: images.knight,
        action: {
          type: 'selectPreset',
          value: 'knight'
        }
      },
      {
        id: 'chibi-ballerina',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
            title: 'Балерина',
            imageUrl: images.balerina,
        action: {
          type: 'selectPreset',
          value: 'ballerina'
        }
      },
      {
        id: 'chibi-firefighter',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF5722', '#F4511E']
        },
            title: 'Пожарный',
            imageUrl: images.fire,
        action: {
          type: 'selectPreset',
          value: 'firefighter'
        }
      },
      {
        id: 'chibi-chef',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF5722', '#F4511E']
        },
            title: 'Шеф-повар',
            imageUrl: images.cook,
        action: {
          type: 'selectPreset',
          value: 'chef'
        }
      }
    ]
  },
  realism: {
    buttons: [
      {
        id: 'realism-business',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#2196F3', '#1976D2']
        },
        title: 'Деловой',
        icon: '💼',
        action: {
          type: 'selectPreset',
          value: 'business'
        }
      },
      {
        id: 'realism-casual',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF5722', '#F4511E']
        },
        title: 'Повседневный',
        icon: '👕',
        action: {
          type: 'selectPreset',
          value: 'casual'
        }
      },
      {
        id: 'realism-sport',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#4CAF50', '#45A049']
        },
        title: 'Спортивный',
        icon: '⚽',
        action: {
          type: 'selectPreset',
          value: 'sport'
        }
      },
      {
        id: 'realism-evening',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#9C27B0', '#7B1FA2']
        },
        title: 'Вечерний',
        icon: '🌙',
        action: {
          type: 'selectPreset',
          value: 'evening'
        }
      },
      {
        id: 'realism-beach',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#00BCD4', '#0097A7']
        },
        title: 'Пляжный',
        icon: '🏖️',
        action: {
          type: 'selectPreset',
          value: 'beach'
        }
      },
      {
        id: 'realism-winter',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#90CAF9', '#64B5F6']
        },
        title: 'Зимний',
        icon: '❄️',
        action: {
          type: 'selectPreset',
          value: 'winter'
        }
      },
      {
        id: 'realism-retro',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#795548', '#5D4037']
        },
        title: 'Ретро',
        icon: '🎸',
        action: {
          type: 'selectPreset',
          value: 'retro'
        }
      },
      {
        id: 'realism-cyberpunk',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#E91E63', '#9C27B0']
        },
        title: 'Киберпанк',
        icon: '🤖',
        action: {
          type: 'selectPreset',
          value: 'cyberpunk'
        }
      },
      {
        id: 'realism-military',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#4CAF50', '#2E7D32']
        },
        title: 'Военный',
        icon: '🪖',
        action: {
          type: 'selectPreset',
          value: 'military'
        }
      },
      {
        id: 'realism-steampunk',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#795548', '#3E2723']
        },
        title: 'Стимпанк',
        icon: '⚙️',
        action: {
          type: 'selectPreset',
          value: 'steampunk'
        }
      }
    ]
  },
  emotions: {
    buttons: [
      {
        id: 'emotions-happy',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FFD700', '#FFA500']
        },
        title: 'Радость',
        icon: '😊',
        action: {
          type: 'selectPreset',
          value: 'happy'
        }
      },
      {
        id: 'emotions-sad',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#2196F3', '#1976D2']
        },
        title: 'Грусть',
        icon: '😢',
        action: {
          type: 'selectPreset',
          value: 'sad'
        }
      },
      {
        id: 'emotions-angry',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF5722', '#F4511E']
        },
        title: 'Злость',
        icon: '😠',
        action: {
          type: 'selectPreset',
          value: 'angry'
        }
      },
      {
        id: 'emotions-love',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF69B4', '#FF1493']
        },
        title: 'Любовь',
        icon: '❤️',
        action: {
          type: 'selectPreset',
          value: 'love'
        }
      },
      {
        id: 'emotions-surprise',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#9C27B0', '#7B1FA2']
        },
        title: 'Удивление',
        icon: '😲',
        action: {
          type: 'selectPreset',
          value: 'surprise'
        }
      },
      {
        id: 'emotions-fear',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#607D8B', '#455A64']
        },
        title: 'Страх',
        icon: '😱',
        action: {
          type: 'selectPreset',
          value: 'fear'
        }
      },
      {
        id: 'emotions-sleepy',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#9575CD', '#7E57C2']
        },
        title: 'Сонный',
        icon: '😴',
        action: {
          type: 'selectPreset',
          value: 'sleepy'
        }
      },
      {
        id: 'emotions-cool',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#212121', '#000000']
        },
        title: 'Крутой',
        icon: '😎',
        action: {
          type: 'selectPreset',
          value: 'cool'
        }
      },
      {
        id: 'emotions-silly',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#4CAF50', '#2E7D32']
        },
        title: 'Глупый',
        icon: '🤪',
        action: {
          type: 'selectPreset',
          value: 'silly'
        }
      },
      {
        id: 'emotions-thinking',
        type: 'square',
        background: {
          type: 'gradient',
          colors: ['#FF9800', '#F57C00']
        },
        title: 'Думающий',
        icon: '🤔',
        action: {
          type: 'selectPreset',
          value: 'thinking'
        }
      }
    ]
  }
};
