/*
 * 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 androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import com.t8rin.imagetoolbox.core.resources.Icons

val Icons.Outlined.Eyedropper: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.Eyedropper",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(20.319f, 3.627f)
            curveToRelative(-1.17f, -1.17f, -3.07f, -1.17f, -4.24f, 0f)
            lineToRelative(-1.82f, 1.82f)
            lineToRelative(-0.301f, -0.301f)
            curveToRelative(-0.586f, -0.586f, -1.536f, -0.586f, -2.121f, 0f)
            curveToRelative(-0.586f, 0.586f, -0.586f, 1.536f, 0f, 2.121f)
            lineToRelative(0.355f, 0.355f)
            lineToRelative(-0.71f, 0.71f)
            lineToRelative(-6.85f, 6.85f)
            curveToRelative(-0.095f, 0.095f, -0.17f, 0.209f, -0.221f, 0.334f)
            lineToRelative(-1.534f, 3.795f)
            curveToRelative(-0.151f, 0.374f, -0.064f, 0.801f, 0.221f, 1.086f)
            lineToRelative(0.56f, 0.56f)
            curveToRelative(0.285f, 0.285f, 0.713f, 0.372f, 1.086f, 0.221f)
            lineToRelative(3.795f, -1.534f)
            curveToRelative(0.125f, -0.05f, 0.238f, -0.126f, 0.333f, -0.221f)
            lineToRelative(6.85f, -6.85f)
            curveToRelative(0.01f, -0.01f, 0.013f, -0.023f, 0.022f, -0.033f)
            lineToRelative(0.682f, -0.682f)
            lineToRelative(0.36f, 0.36f)
            curveToRelative(0.586f, 0.586f, 1.536f, 0.586f, 2.121f, 0f)
            curveToRelative(0.586f, -0.586f, 0.586f, -1.536f, 0f, -2.121f)
            lineToRelative(-0.408f, -0.408f)
            lineToRelative(1.82f, -1.82f)
            curveToRelative(1.17f, -1.17f, 1.17f, -3.07f, 0f, -4.24f)
            close()
            moveTo(13.361f, 12.095f)
            lineToRelative(-5.627f, 5.635f)
            curveToRelative(-0.09f, 0.09f, -0.197f, 0.163f, -0.314f, 0.213f)
            lineToRelative(-2.292f, 0.984f)
            lineToRelative(0.984f, -2.292f)
            curveToRelative(0.05f, -0.117f, 0.123f, -0.224f, 0.213f, -0.314f)
            lineToRelative(5.731f, -5.723f)
            lineToRelative(0f, 0f)
            lineToRelative(0.619f, -0.619f)
            lineToRelative(0.227f, -0.227f)
            curveToRelative(0f, -0f, 0f, -0.001f, 0.001f, -0.001f)
            lineToRelative(0.709f, -0.709f)
            lineToRelative(1.396f, 1.396f)
            lineToRelative(-1.651f, 1.651f)
            lineToRelative(0.006f, 0.006f)
            close()
        }
    }.build()
}

val Icons.TwoTone.Eyedropper: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "TwoTone.Eyedropper",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(20.319f, 3.627f)
            curveToRelative(-1.17f, -1.17f, -3.07f, -1.17f, -4.24f, 0f)
            lineToRelative(-1.82f, 1.82f)
            lineToRelative(-0.301f, -0.301f)
            curveToRelative(-0.586f, -0.586f, -1.536f, -0.586f, -2.121f, 0f)
            curveToRelative(-0.586f, 0.586f, -0.586f, 1.536f, 0f, 2.121f)
            lineToRelative(0.355f, 0.355f)
            lineToRelative(-0.71f, 0.71f)
            lineToRelative(-6.85f, 6.85f)
            curveToRelative(-0.095f, 0.095f, -0.17f, 0.209f, -0.221f, 0.334f)
            lineToRelative(-1.534f, 3.795f)
            curveToRelative(-0.151f, 0.374f, -0.064f, 0.801f, 0.221f, 1.086f)
            lineToRelative(0.56f, 0.56f)
            curveToRelative(0.285f, 0.285f, 0.713f, 0.372f, 1.086f, 0.221f)
            lineToRelative(3.795f, -1.534f)
            curveToRelative(0.125f, -0.05f, 0.238f, -0.126f, 0.333f, -0.221f)
            lineToRelative(6.85f, -6.85f)
            curveToRelative(0.01f, -0.01f, 0.013f, -0.023f, 0.022f, -0.033f)
            lineToRelative(0.682f, -0.682f)
            lineToRelative(0.36f, 0.36f)
            curveToRelative(0.586f, 0.586f, 1.536f, 0.586f, 2.121f, 0f)
            curveToRelative(0.586f, -0.586f, 0.586f, -1.536f, 0f, -2.121f)
            lineToRelative(-0.408f, -0.408f)
            lineToRelative(1.82f, -1.82f)
            curveToRelative(1.17f, -1.17f, 1.17f, -3.07f, 0f, -4.24f)
            close()
            moveTo(13.361f, 12.095f)
            lineToRelative(-5.627f, 5.635f)
            curveToRelative(-0.09f, 0.09f, -0.197f, 0.163f, -0.314f, 0.213f)
            lineToRelative(-2.292f, 0.984f)
            lineToRelative(0.984f, -2.292f)
            curveToRelative(0.05f, -0.117f, 0.123f, -0.224f, 0.213f, -0.314f)
            lineToRelative(5.731f, -5.723f)
            lineToRelative(0f, 0f)
            lineToRelative(0.619f, -0.619f)
            lineToRelative(0.227f, -0.227f)
            curveToRelative(0f, -0f, 0f, -0.001f, 0.001f, -0.001f)
            lineToRelative(0.709f, -0.709f)
            lineToRelative(1.396f, 1.396f)
            lineToRelative(-1.651f, 1.651f)
            lineToRelative(0.006f, 0.006f)
            close()
        }
        path(
            fill = SolidColor(Color.Black),
            fillAlpha = 0.3f,
            strokeAlpha = 0.3f
        ) {
            moveTo(13.361f, 12.095f)
            lineToRelative(-5.627f, 5.635f)
            curveToRelative(-0.09f, 0.09f, -0.197f, 0.163f, -0.314f, 0.213f)
            lineToRelative(-2.292f, 0.984f)
            lineToRelative(0.984f, -2.292f)
            curveToRelative(0.05f, -0.117f, 0.123f, -0.224f, 0.213f, -0.314f)
            lineToRelative(5.731f, -5.723f)
            lineToRelative(0f, 0f)
            lineToRelative(0.619f, -0.619f)
            lineToRelative(0.227f, -0.227f)
            curveToRelative(0f, -0f, 0f, -0.001f, 0.001f, -0.001f)
            lineToRelative(0.709f, -0.709f)
            lineToRelative(1.396f, 1.396f)
            lineToRelative(-1.651f, 1.651f)
            lineToRelative(0.006f, 0.006f)
            close()
        }
    }.build()
}