
<html>
    <head>
        <page-builder-block>
        @php include '../app/general/__header__.tpl' @endphp
        <link rel="stylesheet" href="<?= $path['assets_css'] . '/app.css' ?>" />
        <span id="builderCssToken">
        </span>
        </page-builder-block>
    </head>
    <body>
        @php perform_body_tag_open_actions(); @endphp
        @php perform_dynamic_upsell_content_parse($currentUpsellDetails);@endphp
  

     <a onclick="setSkipLink('@php echo get_no_thank_you_link() @endphp')" href="javascript:void(0);" class="nothanks_anchor">No Thanks, I don’t want to upgrade my order.</a>

        @php include 'app/general/__scripts__.tpl'; @endphp
        <p id="loading-indicator" style="display:none;">Processing...</p>
        @php include 'app/general/__analytics__.tpl'; @endphp
        <script>
        function setSkipLink(lnk){
            let xhr = new XMLHttpRequest();
            xhr.open("GET", app_config.offer_path + AJAX_PATH + "extensions/upsellmanager/set-skip-link?link="+lnk);
            xhr.send();
            xhr.onreadystatechange = function() {
                if (xhr.readyState === 4 && xhr.status === 200) {
                   // console.log("casd"+xhr.responseText);
                    window.location.href = lnk;
                }
            };
        }
        </script>
        @php perform_body_tag_close_actions(); @endphp
    </body>
</html>
