/*
 * 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.Rounded.FileImage: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Rounded.FileImage",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(19.85f, 8.063f)
            curveToRelative(-0.1f, -0.242f, -0.242f, -0.454f, -0.425f, -0.638f)
            lineToRelative(-4.85f, -4.85f)
            curveToRelative(-0.183f, -0.183f, -0.396f, -0.325f, -0.638f, -0.425f)
            curveToRelative(-0.242f, -0.1f, -0.496f, -0.15f, -0.763f, -0.15f)
            horizontalLineToRelative(-7.175f)
            curveToRelative(-0.55f, 0f, -1.021f, 0.196f, -1.412f, 0.588f)
            reflectiveCurveToRelative(-0.588f, 0.862f, -0.588f, 1.412f)
            verticalLineToRelative(16f)
            curveToRelative(0f, 0.55f, 0.196f, 1.021f, 0.588f, 1.412f)
            reflectiveCurveToRelative(0.862f, 0.588f, 1.412f, 0.588f)
            horizontalLineToRelative(12f)
            curveToRelative(0.55f, 0f, 1.021f, -0.196f, 1.412f, -0.588f)
            reflectiveCurveToRelative(0.588f, -0.862f, 0.588f, -1.412f)
            verticalLineToRelative(-11.175f)
            curveToRelative(0f, -0.267f, -0.05f, -0.521f, -0.15f, -0.763f)
            close()
            moveTo(7.86f, 9.245f)
            curveToRelative(0.334f, -0.334f, 0.74f, -0.501f, 1.217f, -0.501f)
            reflectiveCurveToRelative(0.883f, 0.167f, 1.216f, 0.501f)
            curveToRelative(0.334f, 0.334f, 0.501f, 0.739f, 0.501f, 1.216f)
            curveToRelative(0f, 0.477f, -0.167f, 0.883f, -0.501f, 1.217f)
            curveToRelative(-0.334f, 0.334f, -0.739f, 0.501f, -1.216f, 0.501f)
            reflectiveCurveToRelative(-0.883f, -0.167f, -1.217f, -0.501f)
            curveToRelative(-0.334f, -0.334f, -0.501f, -0.739f, -0.501f, -1.217f)
            curveToRelative(0f, -0.477f, 0.167f, -0.883f, 0.501f, -1.216f)
            close()
            moveTo(17.054f, 18.757f)
            curveToRelative(-0.091f, 0.167f, -0.228f, 0.251f, -0.41f, 0.251f)
            horizontalLineTo(7.528f)
            curveToRelative(-0.182f, 0f, -0.319f, -0.084f, -0.41f, -0.251f)
            curveToRelative(-0.091f, -0.167f, -0.076f, -0.327f, 0.046f, -0.479f)
            lineToRelative(1.823f, -2.439f)
            curveToRelative(0.091f, -0.122f, 0.213f, -0.182f, 0.365f, -0.182f)
            reflectiveCurveToRelative(0.273f, 0.061f, 0.365f, 0.182f)
            lineToRelative(1.687f, 2.256f)
            lineToRelative(2.37f, -3.168f)
            curveToRelative(0.091f, -0.122f, 0.213f, -0.182f, 0.365f, -0.182f)
            curveToRelative(0.152f, 0f, 0.273f, 0.061f, 0.365f, 0.182f)
            lineToRelative(2.507f, 3.35f)
            curveToRelative(0.122f, 0.152f, 0.137f, 0.311f, 0.046f, 0.479f)
            close()
            moveTo(14f, 9f)
            curveToRelative(-0.283f, 0f, -0.521f, -0.096f, -0.713f, -0.287f)
            curveToRelative(-0.192f, -0.192f, -0.287f, -0.429f, -0.287f, -0.713f)
            verticalLineToRelative(-4f)
            lineToRelative(5f, 5f)
            horizontalLineToRelative(-4f)
            close()
        }
    }.build()
}

val Icons.Outlined.FileImage: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.FileImage",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(19.85f, 8.063f)
            curveToRelative(-0.1f, -0.242f, -0.242f, -0.454f, -0.425f, -0.638f)
            lineToRelative(-4.85f, -4.85f)
            curveToRelative(-0.183f, -0.183f, -0.396f, -0.325f, -0.638f, -0.425f)
            curveToRelative(-0.242f, -0.1f, -0.496f, -0.15f, -0.763f, -0.15f)
            horizontalLineToRelative(-7.175f)
            curveToRelative(-0.55f, 0f, -1.021f, 0.196f, -1.412f, 0.588f)
            reflectiveCurveToRelative(-0.588f, 0.862f, -0.588f, 1.412f)
            verticalLineToRelative(16f)
            curveToRelative(0f, 0.55f, 0.196f, 1.021f, 0.588f, 1.412f)
            reflectiveCurveToRelative(0.862f, 0.588f, 1.412f, 0.588f)
            horizontalLineToRelative(12f)
            curveToRelative(0.55f, 0f, 1.021f, -0.196f, 1.412f, -0.588f)
            reflectiveCurveToRelative(0.588f, -0.862f, 0.588f, -1.412f)
            verticalLineToRelative(-11.175f)
            curveToRelative(0f, -0.267f, -0.05f, -0.521f, -0.15f, -0.763f)
            close()
            moveTo(18f, 20f)
            horizontalLineTo(6f)
            verticalLineTo(4f)
            horizontalLineToRelative(7f)
            verticalLineToRelative(4f)
            curveToRelative(0f, 0.283f, 0.096f, 0.521f, 0.287f, 0.713f)
            curveToRelative(0.192f, 0.192f, 0.429f, 0.287f, 0.713f, 0.287f)
            horizontalLineToRelative(4f)
            verticalLineToRelative(11f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(6f, 4f)
            lineToRelative(0f, 5f)
            lineToRelative(0f, -5f)
            lineToRelative(0f, 16f)
            lineToRelative(0f, -16f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(7.528f, 18.828f)
            horizontalLineToRelative(9.116f)
            curveToRelative(0.182f, 0f, 0.319f, -0.084f, 0.41f, -0.251f)
            reflectiveCurveToRelative(0.076f, -0.327f, -0.046f, -0.479f)
            lineToRelative(-2.507f, -3.35f)
            curveToRelative(-0.091f, -0.122f, -0.213f, -0.182f, -0.365f, -0.182f)
            reflectiveCurveToRelative(-0.273f, 0.061f, -0.365f, 0.182f)
            lineToRelative(-2.37f, 3.168f)
            lineToRelative(-1.687f, -2.256f)
            curveToRelative(-0.091f, -0.122f, -0.213f, -0.182f, -0.365f, -0.182f)
            reflectiveCurveToRelative(-0.273f, 0.061f, -0.365f, 0.182f)
            lineToRelative(-1.823f, 2.439f)
            curveToRelative(-0.122f, 0.152f, -0.137f, 0.311f, -0.046f, 0.479f)
            reflectiveCurveToRelative(0.228f, 0.251f, 0.41f, 0.251f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(10.293f, 11.499f)
            curveToRelative(0.334f, -0.334f, 0.501f, -0.739f, 0.501f, -1.217f)
            reflectiveCurveToRelative(-0.167f, -0.883f, -0.501f, -1.217f)
            reflectiveCurveToRelative(-0.739f, -0.501f, -1.217f, -0.501f)
            reflectiveCurveToRelative(-0.883f, 0.167f, -1.217f, 0.501f)
            reflectiveCurveToRelative(-0.501f, 0.739f, -0.501f, 1.217f)
            reflectiveCurveToRelative(0.167f, 0.883f, 0.501f, 1.217f)
            reflectiveCurveToRelative(0.739f, 0.501f, 1.217f, 0.501f)
            reflectiveCurveToRelative(0.883f, -0.167f, 1.217f, -0.501f)
            close()
        }
    }.build()
}