/*
 * ImageToolbox is an image editor for android
 * Copyright (c) 2026 T8RIN (Malik Mukhametzyanov)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * You should have received a copy of the Apache License
 * along with this program.  If not, see <http://www.apache.org/licenses/LICENSE-2.0>.
 */

package com.t8rin.imagetoolbox.core.resources.icons

import com.t8rin.imagetoolbox.core.resources.Icons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val Icons.Filled.Bitcoin: ImageVector by lazy {
    Builder(
        name = "Bitcoin", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp,
        viewportWidth = 24.0f, viewportHeight = 24.0f
    ).apply {
        path(
            fill = SolidColor(Color.Black), stroke = null, strokeLineWidth = 0.0f,
            strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f,
            pathFillType = NonZero
        ) {
            moveTo(14.24f, 10.56f)
            curveTo(13.93f, 11.8f, 12.0f, 11.17f, 11.4f, 11.0f)
            lineTo(11.95f, 8.82f)
            curveTo(12.57f, 9.0f, 14.56f, 9.26f, 14.24f, 10.56f)
            moveTo(11.13f, 12.12f)
            lineTo(10.53f, 14.53f)
            curveTo(11.27f, 14.72f, 13.56f, 15.45f, 13.9f, 14.09f)
            curveTo(14.26f, 12.67f, 11.87f, 12.3f, 11.13f, 12.12f)
            moveTo(21.7f, 14.42f)
            curveTo(20.36f, 19.78f, 14.94f, 23.04f, 9.58f, 21.7f)
            curveTo(4.22f, 20.36f, 0.963f, 14.94f, 2.3f, 9.58f)
            curveTo(3.64f, 4.22f, 9.06f, 0.964f, 14.42f, 2.3f)
            curveTo(19.77f, 3.64f, 23.03f, 9.06f, 21.7f, 14.42f)
            moveTo(14.21f, 8.05f)
            lineTo(14.66f, 6.25f)
            lineTo(13.56f, 6.0f)
            lineTo(13.12f, 7.73f)
            curveTo(12.83f, 7.66f, 12.54f, 7.59f, 12.24f, 7.53f)
            lineTo(12.68f, 5.76f)
            lineTo(11.59f, 5.5f)
            lineTo(11.14f, 7.29f)
            curveTo(10.9f, 7.23f, 10.66f, 7.18f, 10.44f, 7.12f)
            lineTo(10.44f, 7.12f)
            lineTo(8.93f, 6.74f)
            lineTo(8.63f, 7.91f)
            curveTo(8.63f, 7.91f, 9.45f, 8.1f, 9.43f, 8.11f)
            curveTo(9.88f, 8.22f, 9.96f, 8.5f, 9.94f, 8.75f)
            lineTo(8.71f, 13.68f)
            curveTo(8.66f, 13.82f, 8.5f, 14.0f, 8.21f, 13.95f)
            curveTo(8.22f, 13.96f, 7.41f, 13.75f, 7.41f, 13.75f)
            lineTo(6.87f, 15.0f)
            lineTo(8.29f, 15.36f)
            curveTo(8.56f, 15.43f, 8.82f, 15.5f, 9.08f, 15.56f)
            lineTo(8.62f, 17.38f)
            lineTo(9.72f, 17.66f)
            lineTo(10.17f, 15.85f)
            curveTo(10.47f, 15.93f, 10.76f, 16.0f, 11.04f, 16.08f)
            lineTo(10.59f, 17.87f)
            lineTo(11.69f, 18.15f)
            lineTo(12.15f, 16.33f)
            curveTo(14.0f, 16.68f, 15.42f, 16.54f, 16.0f, 14.85f)
            curveTo(16.5f, 13.5f, 16.0f, 12.7f, 15.0f, 12.19f)
            curveTo(15.72f, 12.0f, 16.26f, 11.55f, 16.41f, 10.57f)
            curveTo(16.61f, 9.24f, 15.59f, 8.53f, 14.21f, 8.05f)
            close()
        }
    }
        .build()
}