/*
 * 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.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val Icons.Outlined.Pdf: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.Pdf",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(9.427f, 9.511f)
            curveToRelative(-0.216f, -0.216f, -0.483f, -0.323f, -0.802f, -0.323f)
            horizontalLineToRelative(-2.25f)
            verticalLineToRelative(5.625f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(-2.25f)
            horizontalLineToRelative(1.125f)
            curveToRelative(0.319f, 0f, 0.586f, -0.108f, 0.802f, -0.323f)
            curveToRelative(0.216f, -0.216f, 0.323f, -0.483f, 0.323f, -0.802f)
            verticalLineToRelative(-1.125f)
            curveToRelative(0f, -0.319f, -0.108f, -0.586f, -0.323f, -0.802f)
            close()
            moveTo(8.625f, 11.438f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-1.125f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(1.125f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(13.927f, 9.511f)
            curveToRelative(-0.216f, -0.216f, -0.483f, -0.323f, -0.802f, -0.323f)
            horizontalLineToRelative(-2.25f)
            verticalLineToRelative(5.625f)
            horizontalLineToRelative(2.25f)
            curveToRelative(0.319f, 0f, 0.586f, -0.108f, 0.802f, -0.323f)
            curveToRelative(0.216f, -0.216f, 0.323f, -0.483f, 0.323f, -0.802f)
            verticalLineToRelative(-3.375f)
            curveToRelative(0f, -0.319f, -0.108f, -0.586f, -0.323f, -0.802f)
            close()
            moveTo(13.125f, 13.688f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-3.375f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(3.375f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(15.375f, 14.813f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -2.25f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(-1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(-2.25f, 0f)
            lineToRelative(0f, 5.625f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(20.339f, 3.661f)
            curveToRelative(-0.441f, -0.441f, -0.97f, -0.661f, -1.589f, -0.661f)
            horizontalLineTo(5.25f)
            curveToRelative(-0.619f, 0f, -1.148f, 0.22f, -1.589f, 0.661f)
            reflectiveCurveToRelative(-0.661f, 0.97f, -0.661f, 1.589f)
            verticalLineToRelative(13.5f)
            curveToRelative(0f, 0.619f, 0.22f, 1.148f, 0.661f, 1.589f)
            reflectiveCurveToRelative(0.97f, 0.661f, 1.589f, 0.661f)
            horizontalLineToRelative(13.5f)
            curveToRelative(0.619f, 0f, 1.148f, -0.22f, 1.589f, -0.661f)
            reflectiveCurveToRelative(0.661f, -0.97f, 0.661f, -1.589f)
            verticalLineTo(5.25f)
            curveToRelative(0f, -0.619f, -0.22f, -1.148f, -0.661f, -1.589f)
            close()
            moveTo(18.75f, 18.75f)
            horizontalLineTo(5.25f)
            verticalLineTo(5.25f)
            horizontalLineToRelative(13.5f)
            verticalLineToRelative(13.5f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(5.25f, 5.25f)
            verticalLineToRelative(13.5f)
            verticalLineTo(5.25f)
            close()
        }
    }.build()
}

val Icons.TwoTone.Pdf: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "TwoTone.Pdf",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(9.427f, 9.511f)
            curveToRelative(-0.216f, -0.216f, -0.483f, -0.323f, -0.802f, -0.323f)
            horizontalLineToRelative(-2.25f)
            verticalLineToRelative(5.625f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(-2.25f)
            horizontalLineToRelative(1.125f)
            curveToRelative(0.319f, 0f, 0.586f, -0.108f, 0.802f, -0.323f)
            curveToRelative(0.216f, -0.216f, 0.323f, -0.483f, 0.323f, -0.802f)
            verticalLineToRelative(-1.125f)
            curveToRelative(0f, -0.319f, -0.108f, -0.586f, -0.323f, -0.802f)
            close()
            moveTo(8.625f, 11.438f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-1.125f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(1.125f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(13.927f, 9.511f)
            curveToRelative(-0.216f, -0.216f, -0.483f, -0.323f, -0.802f, -0.323f)
            horizontalLineToRelative(-2.25f)
            verticalLineToRelative(5.625f)
            horizontalLineToRelative(2.25f)
            curveToRelative(0.319f, 0f, 0.586f, -0.108f, 0.802f, -0.323f)
            curveToRelative(0.216f, -0.216f, 0.323f, -0.483f, 0.323f, -0.802f)
            verticalLineToRelative(-3.375f)
            curveToRelative(0f, -0.319f, -0.108f, -0.586f, -0.323f, -0.802f)
            close()
            moveTo(13.125f, 13.688f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-3.375f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(3.375f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(15.375f, 14.813f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -2.25f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(-1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(1.125f, 0f)
            lineToRelative(0f, -1.125f)
            lineToRelative(-2.25f, 0f)
            lineToRelative(0f, 5.625f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(20.339f, 3.661f)
            curveToRelative(-0.441f, -0.441f, -0.97f, -0.661f, -1.589f, -0.661f)
            horizontalLineTo(5.25f)
            curveToRelative(-0.619f, 0f, -1.148f, 0.22f, -1.589f, 0.661f)
            reflectiveCurveToRelative(-0.661f, 0.97f, -0.661f, 1.589f)
            verticalLineToRelative(13.5f)
            curveToRelative(0f, 0.619f, 0.22f, 1.148f, 0.661f, 1.589f)
            reflectiveCurveToRelative(0.97f, 0.661f, 1.589f, 0.661f)
            horizontalLineToRelative(13.5f)
            curveToRelative(0.619f, 0f, 1.148f, -0.22f, 1.589f, -0.661f)
            reflectiveCurveToRelative(0.661f, -0.97f, 0.661f, -1.589f)
            verticalLineTo(5.25f)
            curveToRelative(0f, -0.619f, -0.22f, -1.148f, -0.661f, -1.589f)
            close()
            moveTo(18.75f, 18.75f)
            horizontalLineTo(5.25f)
            verticalLineTo(5.25f)
            horizontalLineToRelative(13.5f)
            verticalLineToRelative(13.5f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(5.25f, 5.25f)
            verticalLineToRelative(13.5f)
            verticalLineTo(5.25f)
            close()
        }
        path(
            fill = SolidColor(Color.Black),
            fillAlpha = 0.3f,
            strokeAlpha = 0.3f
        ) {
            moveTo(5.25f, 5.25f)
            horizontalLineToRelative(13.5f)
            verticalLineToRelative(13.5f)
            horizontalLineToRelative(-13.5f)
            close()
        }
    }.build()
}

val Icons.Rounded.Pdf: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Rounded.Pdf",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(12f, 10.313f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(3.375f)
            horizontalLineToRelative(-1.125f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(7.5f, 10.313f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(1.125f)
            horizontalLineToRelative(-1.125f)
            close()
        }
        path(fill = SolidColor(Color.Black)) {
            moveTo(20.339f, 3.661f)
            curveToRelative(-0.441f, -0.441f, -0.97f, -0.661f, -1.589f, -0.661f)
            horizontalLineTo(5.25f)
            curveToRelative(-0.619f, 0f, -1.148f, 0.22f, -1.589f, 0.661f)
            reflectiveCurveToRelative(-0.661f, 0.97f, -0.661f, 1.589f)
            verticalLineToRelative(13.5f)
            curveToRelative(0f, 0.619f, 0.22f, 1.148f, 0.661f, 1.589f)
            reflectiveCurveToRelative(0.97f, 0.661f, 1.589f, 0.661f)
            horizontalLineToRelative(13.5f)
            curveToRelative(0.619f, 0f, 1.148f, -0.22f, 1.589f, -0.661f)
            reflectiveCurveToRelative(0.661f, -0.97f, 0.661f, -1.589f)
            verticalLineTo(5.25f)
            curveToRelative(0f, -0.619f, -0.22f, -1.148f, -0.661f, -1.589f)
            close()
            moveTo(9.75f, 11.438f)
            curveToRelative(0f, 0.319f, -0.108f, 0.586f, -0.323f, 0.802f)
            reflectiveCurveToRelative(-0.483f, 0.323f, -0.802f, 0.323f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(2.25f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-5.625f)
            horizontalLineToRelative(2.25f)
            curveToRelative(0.319f, 0f, 0.586f, 0.108f, 0.802f, 0.323f)
            reflectiveCurveToRelative(0.323f, 0.483f, 0.323f, 0.802f)
            verticalLineToRelative(1.125f)
            close()
            moveTo(14.25f, 13.688f)
            curveToRelative(0f, 0.319f, -0.108f, 0.586f, -0.323f, 0.802f)
            reflectiveCurveToRelative(-0.483f, 0.323f, -0.802f, 0.323f)
            horizontalLineToRelative(-2.25f)
            verticalLineToRelative(-5.625f)
            horizontalLineToRelative(2.25f)
            curveToRelative(0.319f, 0f, 0.586f, 0.108f, 0.802f, 0.323f)
            reflectiveCurveToRelative(0.323f, 0.483f, 0.323f, 0.802f)
            verticalLineToRelative(3.375f)
            close()
            moveTo(17.625f, 10.313f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(1.125f)
            horizontalLineToRelative(1.125f)
            verticalLineToRelative(1.125f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(2.25f)
            horizontalLineToRelative(-1.125f)
            verticalLineToRelative(-5.625f)
            horizontalLineToRelative(2.25f)
            verticalLineToRelative(1.125f)
            close()
        }
    }.build()
}
