s -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="cameraSettings">
    <div class="offcanvas-header">
        <button type="button" class="btn-close" data-bs-dismiss="offcanvas"></button>
    </div>
    <div class="offcanvas-body">
        {% include 'camera_controls.html' %}
    </div>
</div>

<script>
document.getElementById("captureButton").addEventListener("click", function() {
    let button = document.getElementById("captureButton");
    button.disabled = true;
    showOverlay();

    fetch