[
    {
        "label": "Nome do app",
        "name": "APP_NAME",
        "value": null,
        "type": "STRING"
    },
    {
        "label": "Logo do app",
        "name": "APP_LOGO",
        "value": "https://bafkreihqfce2j7olrlalh4oxlond5gpkbzodnhgkugyk3gkm3nn5c5nnry.ipfs.w3s.link",
        "type": "IMAGE"
    },
    {
        "label": "Imagem de fundo",
        "name": "APP_BACKGROUND_IMAGE",
        "value": "https://bafkreiaqxcbiuwbxtmmu5wjhivuduj3mfrlncrn4dj3caecrpiui7pgste.ipfs.w3s.link",
        "type": "IMAGE"
    },
    {
        "label": "Tipo do fundo do app",
        "name": "APP_BACKGROUND_TYPE",
        "value": {
            "options": [
                {
                    "label": "Imagem",
                    "value": "IMAGE"
                },
                {
                    "label": "Cor",
                    "value": "COLOR"
                }
            ],
            "selected": "IMAGE"
        },
        "type": "SELECT"
    },
    {
        "label": "Cor de fundo",
        "name": "APP_BACKGROUND_COLOR",
        "value": "#7D7D7DFF",
        "type": "COLOR"
    },
    {
        "label": "Cor do card inicial",
        "name": "APP_CARD_COLOR",
        "value": "#00000089",
        "type": "COLOR"
    },
    {
        "label": "Raio do card inicial",
        "name": "APP_CARD_RADIUS",
        "value": 20,
        "type": "INTEGER"
    },
    {
        "label": "Cor do card de status",
        "name": "APP_CARD_STATUS_COLOR",
        "value": "#1d242e73",
        "type": "COLOR"
    },
    {
        "label": "Raio do card de status",
        "name": "APP_CARD_STATUS_RADIUS",
        "value": 25,
        "type": "INTEGER"
    },
    {
        "label": "Cor do card de configurações",
        "name": "APP_CARD_CONFIG_COLOR",
        "value": "#0000007B",
        "type": "COLOR"
    },
    {
        "label": "Cor do fundo dos dialogs",
        "name": "APP_DIALOG_BACKGROUND_COLOR",
        "value": "#0000007B",
        "type": "COLOR"
    },
    {
        "label": "Cor do fundo do dialog de log",
        "name": "APP_DIALOG_LOGGER_COLOR",
        "value": "#080e16c7",
        "type": "COLOR"
    },
    {
        "label": "Cor das bordas",
        "name": "APP_BORDER_COLOR",
        "value": "#23E9D6FF",
        "type": "COLOR"
    },
    {
        "label": "Cor dos inputs",
        "name": "APP_INPUT_COLOR",
        "value": "#1d242e73",
        "type": "COLOR"
    },
    {
        "label": "Raio dos inputs",
        "name": "APP_INPUT_RADIUS",
        "value": 25,
        "type": "INTEGER"
    },
    {
        "label": "Cor dos textos",
        "name": "APP_TEXT_COLOR",
        "value": "#FFFFFFFF",
        "type": "COLOR"
    },
    {
        "label": "Cor dos botões",
        "name": "APP_BUTTON_COLOR",
        "value": "#80808094",
        "type": "COLOR"
    },
    {
        "label": "Raio dos botões",
        "name": "APP_BUTTON_RADIUS",
        "value": 25,
        "type": "INTEGER"
    },
    {
        "label": "Cor dos icones",
        "name": "APP_ICON_COLOR",
        "value": "#D5D5D5FF",
        "type": "COLOR"
    },
    {
        "label": "Exibir modo de conexão",
        "name": "APP_SHOW_CONNECTION_MODE",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Atualizar automaticamente as configurações ao lançar uma atualização.",
        "name": "APP_CONFIG_AUTO_UPDATE",
        "value": false,
        "type": "BOOLEAN"
    },
    {
        "label": "Iniciar o app automaticamente ao reiniciar o dispositivo",
        "name": "APP_AUTO_START",
        "value": false,
        "type": "BOOLEAN"
    },
    {
        "label": "Usar limiter de conexão",
        "name": "APP_CONNECTION_LIMITER",
        "value": false,
        "type": "BOOLEAN"
    },
    {
        "label": "Usar botão de atualizações",
        "name": "APP_BTN_UPDATE_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Usar botão de registros",
        "name": "APP_BTN_LOGGER_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Usar botão de pagina webview",
        "name": "APP_BTN_PAGE_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Ativar dialog de erros",
        "name": "APP_DIALOG_ERROR_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Ativar dialog de checkuser",
        "name": "APP_CHECKUSER_DIALOG_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Ativar toast de sucesso",
        "name": "APP_SUCCESS_TOAST_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Ativar toast de erro",
        "name": "APP_ERROR_TOAST_ENABLED",
        "value": true,
        "type": "BOOLEAN"
    },
    {
        "label": "Usar layout webview",
        "name": "APP_LAYOUT_WEBVIEW_ENABLED",
        "value": false,
        "type": "BOOLEAN"
    },
    {
        "label": "Mensagem",
        "name": "APP_MESSAGE",
        "value": "Bem vindo ao CONECT-VELOOX ",
        "type": "TEXT"
    },
    {
        "label": "URL de atualização do aplicativo",
        "name": "APP_UPDATE_URL",
        "value": null,
        "type": "URL"
    },
    {
        "label": "Tipo de mensagem",
        "name": "APP_MESSAGE_TYPE",
        "value": {
            "options": [
                {
                    "label": "Alerta",
                    "value": "ALERT"
                },
                {
                    "label": "Informação",
                    "value": "INFO"
                },
                {
                    "label": "Boas vindas",
                    "value": "WELCOME"
                },
                {
                    "label": "Sem mensagem",
                    "value": "NONE"
                }
            ],
            "selected": "WELCOME"
        },
        "type": "SELECT"
    },
    {
        "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
        "name": "APP_LAYOUT_WEBVIEW",
        "value": null,
        "type": "HTML"
    },
    {
        "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
        "name": "APP_SUPPORT_BUTTON",
        "value": "<!DOCTYPE html>\r\n<html lang=\"en\">\r\n\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <title>Motocavip</title>\r\n    <style>\r\n        @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');\r\n\r\n        html,\r\n        body {\r\n            font-family: 'Roboto', sans-serif;\r\n            margin: 0;\r\n            padding: 0;\r\n            box-sizing: border-box;\r\n        }\r\n\r\n        .continer {\r\n            justify-content: space-between;\r\n            display: flex;\r\n            align-items: center;\r\n            padding: 0.9rem;\r\n            padding-top: 30px;\r\n            color: #FFF;\r\n        }\r\n\r\n        .d-flex {\r\n            display: flex;\r\n            justify-content: flex-end;\r\n            align-items: center;\r\n        }\r\n\r\n        .btn {\r\n            margin-right: 5px;\r\n            border: none;\r\n            background: #000000;\r\n            padding: 0.4rem;\r\n            border-radius: 10px;\r\n            color: #FFF;\r\n        }\r\n\r\n        .ip-local {\r\n            margin-left: 20px;\r\n            color: #FFF;\r\n        }\r\n    </style>\r\n\r\n<body>\r\n\t</div>\r\n        </div>\r\n        <div class=\"continer\">\r\n            <p class=\"ms-2\" id=\"total\"></p>\r\n        <div class=\"d-flex\"\r\n                    <path\r\n                        d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\" />\r\n                </svg>\r\n            </button>\r\n            <button class=\"btn\" class=\"btn\" onclick=\"Android.showCheckUser()\">\r\n                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"currentColor\"\r\n                    class=\"bi bi-calendar-day\" viewBox=\"0 0 16 16\">\r\n                    <path\r\n                        d=\"M4.684 11.523v-2.3h2.261v-.61H4.684V6.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V8.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105zm2.805-5.093c0 .238.192.425.43.425a.428.428 0 1 0 0-.855.426.426 0 0 0-.43.43zm.094 5.093h.672V7.418h-.672v4.105z\" />\r\n                    <path\r\n                        d=\"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z\" />\r\n                </svg>\r\n            </button>\r\n            <button class=\"btn\" onclick=\"document.location.href='https://t.me/LuccaVPN'\">\r\n                <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"currentColor\"\r\n                    class=\"bi bi-telegram\" viewBox=\"0 0 16 16\">\r\n                    <path\r\n                        d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z\" />\r\n                </svg>\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <script src=\"http://static.tumblr.com/8l2gpxb/lcllulgcn/snowstorm.js\"></script>\r\n    <script>\r\n        document.getElementById('ip').innerHTML = Android.getLocalIP();\r\n\r\n        const config = JSON.parse(Android.getConfig());\r\n        const urlCheckUser = new URL(config.urlCheckUser);\r\n        urlCheckUser.protocol = 'ws:';\r\n        const socket = new WebSocket(urlCheckUser);\r\n\r\n        socket.onopen = function (e) {\r\n            socket.send(JSON.stringify({\r\n                action: 'all',\r\n                data: {}\r\n            }));\r\n        };\r\n\r\n        socket.onmessage = function (event) {\r\n            const data = JSON.parse(event.data);\r\n            if (data.total === undefined)\r\n                return;\r\n\r\n            const total = data.total;\r\n            document.getElementById('total').innerHTML = String(total).padStart(2, '0');\r\n            socket.close();\r\n        };\r\n    </script>\r\n</body>\r\n\r\n</html>",
        "type": "HTML"
    },
    {
        "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
        "name": "APP_WEB_VIEW",
        "value": null,
        "type": "HTML"
    }
]