<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">

    <title>Projeto Campus</title>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-lg-12">
            <div class="insere-info"></div>
            <div class="w-100" id="reader"></div>
        </div>
    </div>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script src="<?php echo e(url('/resources/js/html5-qrcode/html5-qrcode.min.js')); ?>"></script>
<script>
    $(function () {
        function onScanSuccess(decodedText, decodedResult) {
            // Handle on success condition with the decoded text or result.
            $('.insere-info').html(decodedText);
            html5QrcodeScanner.clear();
            // alert(`Scan result: ${decodedText}`, decodedResult);
        }

        var html5QrcodeScanner = new Html5QrcodeScanner("reader", { fps: 60, qrbox: 300 });
        html5QrcodeScanner.render(onScanSuccess);
    });
</script>
</body>
</html><?php /**PATH /home/yuripinzetta/youneedevs.com.br/projeto-campus/resources/views/app.blade.php ENDPATH**/ ?>