{"html":"<script src=\"https:\/\/www.recaptcha.net\/recaptcha\/api.js\" async defer><\/script>\n\n<div class=\"overlay d-none\" id=\"inside-loader\">\n    <div class=\"overlay__inner\">\n        <div class='pac-man'><\/div>\n        <div class=\"overlay__content d-none\"><span class=\"spinner\"><\/span><\/div>\n    <\/div>\n<\/div>\n\n<div class=\"modal-dialog modal-lg\">\n    <div class=\"modal-content\">\n        <div class=\"modal-header\">\n            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n        <\/div>\n        <div class=\"wrapper login-page\">\n            <div class=\"container\">\n                <div class=\"order-steps-section\">\n                    <div class=\"steps-box-outer\">\n                        <div class=\"steps-box active\">\n                            <div class=\"steps-box-inner\">\n                                <div class=\"section-title\">\n                                    <h4 class=\"modal-title\">Sign in to your account<\/h4>\n                                <\/div>\n                                <div class=\"login-tabs\">\n                                    <ul>\n                                        <li>\n                                            <a href=\"#\"  data-tab=\"register-tab\">New Customer<\/a>\n                                        <\/li>\n                                        <li class=\"active\">\n                                            <a href=\"#\"  data-tab=\"login-tab\">Returning Customer<\/a>\n                                        <\/li>\n                                    <\/ul>\n                                <\/div>\n                                <div class=\"login-with\">\n                                    <div class=\"row\">\n                                                                                <div class=\"col-md-6 ps-lg-4 ps-md-3\">\n                                            <a href=\"https:\/\/assignmentauthority.com\/login\/apple\" class=\"btn btn-main btn-black w-100 js-social-login\" data-provider=\"apple\">\n                                                <img src=\"https:\/\/assignmentauthority.com\/assets\/frontend\/images\/icon-apple.svg\" class=\"img-fluid\" alt=\"\">\n                                                Sign In With Apple\n                                            <\/a>\n                                        <\/div>\n                                                                                                                        <div class=\"col-md-6 ps-lg-4 ps-md-3\">\n                                            <a href=\"https:\/\/assignmentauthority.com\/login\/google\" class=\"btn btn-main w-100 js-social-login\" data-provider=\"google\">\n                                                <img src=\"https:\/\/assignmentauthority.com\/assets\/frontend\/images\/icon-google.png\" class=\"img-fluid\" alt=\"\">\n                                                Sign In With Google\n                                            <\/a>\n                                        <\/div>\n                                                                            <\/div>\n                                <\/div> \n                                <div class=\"form-title-center\">\n                                    <label><strong>Or<\/strong><\/label>\n                                <\/div>\n                                <div class=\"tab-content\">\n                                    <!-- Registration Form -->\n                                    <div id=\"register-tab\" class=\"tab-pane\">\n                                        <form id=\"registerForm\" action=\"https:\/\/assignmentauthority.com\/realtime\/register\" method=\"POST\">\n                                            <input type=\"hidden\" name=\"_token\" value=\"pEtu2qDf4WasxMThk9dgDG9PzyH9rby8M3aLd7eE\" autocomplete=\"off\">                                            <div class=\"steps-box-form-inner\">\n                                                <div class=\"form-group\">\n                                                    <label>Name<\/label>\n                                                    <input type=\"text\" class=\"form-control\" name=\"name\">\n                                                <\/div>\n                                                <div class=\"form-group\">\n                                                    <label>Email Address<\/label>\n                                                    <input type=\"text\" class=\"form-control\" name=\"email\">\n                                                <\/div>\n                                                <div class=\"form-group\">\n                                                    <label>Password<\/label>\n                                                    <input id=\"password-register-field\" type=\"password\" class=\"form-control\" name=\"password\">\n                                                    <span toggle=\"#password-register-field\" class=\"fa fa-fw fa-eye-slash field-icongk toggle-password-register\"><\/span>\n                                                <\/div>\n                                                <div class=\"form-group\">\n                                                    <div class=\"g-recaptcha pb-3\"\n                                                        data-sitekey=\"6LcW5lYtAAAAAC3f0n2BxmQRFN6zl6qwA6HOUpun\">\n                                                    <\/div>\n                                                                                                    <\/div>\n                                                <div class=\"login-terms\">\n                                                    <div class=\"row\">\n                                                        <div class=\"col-md-12\">\n                                                            <div class=\"form-group\">\n                                                                <div class=\"form-check\">\n                                                                    <input class=\"form-check-input\" type=\"checkbox\" value=\"1\" name=\"refund_policy\" id=\"term-n-condition\">\n                                                                    <label class=\"form-check-label\" for=\"term-n-condition\">I agree to receive discount coupons, exclusive offers, and the latest news by email, SMS, phone, and other electronic<\/label>\n                                                                <\/div>\n                                                                <div class=\"form-check\">\n                                                                    <input class=\"form-check-input\" type=\"checkbox\" value=\"1\" name=\"term_n_condition\" id=\"privacy-policy\">\n                                                                    <label class=\"form-check-label\" for=\"privacy-policy\">I agree to the <a href=\"https:\/\/assignmentauthority.com\/policy\/term\" target=\"_blank\" rel=\"noopener\">Terms & Conditions<\/a>, <a href=\"https:\/\/assignmentauthority.com\/services\/code-conduct\" target=\"_blank\" rel=\"noopener\">Fair Use Policy<\/a> and <a href=\"https:\/\/assignmentauthority.com\/policy\/privacy\" target=\"_blank\" rel=\"noopener\">Privacy Policy<\/a><\/label>\n                                                                <\/div>\n                                                            <\/div>\n                                                        <\/div>\n                                                    <\/div>\n                                                <\/div>\n\n                                            <\/div>\n\n                                            <div class=\"steps-box-bottom-btn-outer\">\n                                                <button class=\"btn btn-main w-100\" id=\"registerButton\">Create Account &amp; Sign In<\/button>\n                                            <\/div>\n                                        <\/form>\n                                    <\/div>\n\n                                    <!-- Login Form -->\n                                    <div id=\"login-tab\" class=\"tab-pane active\">\n                                        <form  id=\"loginForm\" action=\"https:\/\/assignmentauthority.com\/realtime\/authorise\" method=\"POST\">\n                                            <input type=\"hidden\" name=\"_token\" value=\"pEtu2qDf4WasxMThk9dgDG9PzyH9rby8M3aLd7eE\" autocomplete=\"off\">                                            <div class=\"steps-box-form-inner\">\n                                                <div class=\"form-group\">\n                                                    <label>Email Address<\/label>\n                                                    <input type=\"text\" class=\"form-control\" name=\"email\">\n                                                <\/div>\n                                                <div class=\"form-group\">\n                                                    <label>Password<\/label>\n                                                    <input id=\"password-login-field\" type=\"password\" class=\"form-control\" name=\"password\">\n                                                    <span toggle=\"#password-login-field\" class=\"fa fa-fw fa-eye-slash field-icongk toggle-password-login\"><\/span>\n                                                <\/div>\n                                                <div class=\"form-group\">\n                                                    <div class=\"g-recaptcha pb-3\"\n                                                        data-sitekey=\"6LcW5lYtAAAAAC3f0n2BxmQRFN6zl6qwA6HOUpun\">\n                                                    <\/div>\n                                                                                                    <\/div>\n                                                <div class=\"login-forget\">\n                                                    <div class=\"row\">\n                                                        <div class=\"col-md-6\">\n                                                            <div class=\"form-group\">\n                                                                <div class=\"form-check\">\n                                                                    <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"flexCheckDefault1\">\n                                                                    <label class=\"form-check-label\" for=\"flexCheckDefault1\">Remember me<\/label>\n                                                                <\/div>\n                                                            <\/div>\n                                                        <\/div>\n                                                        <div class=\"col-md-6\">\n                                                            <div class=\"form-group text-md-end\">\n                                                                <label><a href=\"https:\/\/assignmentauthority.com\/forgot-password\" class=\"btn\">Forgot Password?<\/a><\/label>\n                                                            <\/div>\n                                                        <\/div>\n                                                    <\/div>\n                                                <\/div>\n                                            <\/div>\n                                        <\/form>\n                                        <div class=\"steps-box-bottom-btn-outer\">\n                                            <button class=\"btn btn-main w-100\" id=\"loginButton\">Login<\/button>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n<script>\n    $(document).ready(function () {\n        $('.login-tabs a').click(function (e) {\n            e.preventDefault();\n            var tabId = $(this).data('tab');\n            $('.tab-pane').hide();\n            $('#' + tabId).show();\n            $('.login-tabs li').removeClass('active');\n            $(this).closest('li').addClass('active');\n        });\n    });\n<\/script>\n<script>\n        document.getElementById('loginButton').addEventListener('click', function(event) {\n        event.preventDefault();\n        var form = document.getElementById('loginForm');\n        var formData = new FormData(form);\n        fetch(form.action, {\n                method: 'POST',\n                body: formData,\n                headers: {\n                'X-CSRF-TOKEN': 'pEtu2qDf4WasxMThk9dgDG9PzyH9rby8M3aLd7eE'\n            }\n        })\n            .then(response => {\n            if (!response.ok) {\n                Swal.fire({\n                    icon: 'error',\n                    title: 'Oops...',\n                    text: 'Details Mismacthed'\n                });\n        }\n            return response.json();\n        })\n        .then(data => {\n        if (data.success) {\n            Swal.fire({\n                icon: 'success',\n                title: 'Logged In!',\n                text: data.message,\n                onClose: function() {\n            }\n            });\n            runCallBackFunction();\n    } else {\n        Swal.fire({\n        icon: 'error',\n        title: 'Oops...',\n        text: data.message\n    });\n    }\n    })\n        .catch(error => {\n        console.error('There was an error!', error);\n    });\n    });\n<\/script>\n<script>\n    document.getElementById('registerButton').addEventListener('click', function(event) {\n        event.preventDefault();\n        var form = document.getElementById('registerForm');\n        var formData = new FormData(form);\n        $('#inside-loader').toggleClass('d-none');\n        fetch(form.action, {\n            method: 'POST',\n            body: formData,\n            headers: {\n                'X-CSRF-TOKEN': 'pEtu2qDf4WasxMThk9dgDG9PzyH9rby8M3aLd7eE'\n            }\n        })\n            .then(response => {\n                if (!response.ok) {\n                    Swal.fire({\n                        icon: 'error',\n                        title: 'Oops...',\n                        text: 'Details Mismacthed'\n                    });\n                }\n                $('#inside-loader').toggleClass('d-none');\n                return response.json();\n            })\n            .then(data => {\n                if (data.success) {\n                    \/\/ Commented things 09-08*2024\n                    \/\/ document.body.style.pointerEvents = 'none';\n                    \/\/ $('#exampleModalCenter').modal(\"show\");\n                    runCallBackFunction();\n                } else {\n                    Swal.fire({\n                        icon: 'error',\n                        title: 'Oops...',\n                        text: data.message\n                    });\n                }\n                $('#inside-loader').addClass('d-none');\n            })\n            .catch(error => {\n                console.error('There was an error!', error);\n            });\n    });\n<\/script>\n<script>\n    $(\".toggle-password-login\").click(function() {\n        $(this).toggleClass(\"fa-eye fa-eye-slash\");\n        var input = $($(this).attr(\"toggle\"));\n        if (input.attr(\"type\") == \"password\") {\n          input.attr(\"type\", \"text\");\n        } else {\n            input.attr(\"type\", \"password\");\n        }\n    });\n    $(\".toggle-password-register\").click(function() {\n        $(this).toggleClass(\"fa-eye fa-eye-slash\");\n        var input = $($(this).attr(\"toggle\"));\n        if (input.attr(\"type\") == \"password\") {\n            input.attr(\"type\", \"text\");\n        } else {\n            input.attr(\"type\", \"password\");\n        }\n    });\n<\/script>\n\n<script>\n\/\/ Social sign-in from the checkout box runs in a popup, so this page - and\n\/\/ with it the customer's progress and the file they attached - stays loaded.\n\/\/ On success we take exactly the same path as an email sign-in.\n(function () {\n    var origin = \"https:\\\/\\\/assignmentauthority.com\";\n    var popup = null;\n    var watcher = null;\n\n    function finishSignIn() {\n        if (watcher) { clearInterval(watcher); watcher = null; }\n        if (typeof runCallBackFunction === 'function') {\n            runCallBackFunction();\n        } else {\n            window.location.reload();\n        }\n    }\n\n    window.addEventListener('message', function (event) {\n        if (event.origin !== origin) return;\n        var d = event.data;\n        if (d && d.source === 'aa-social-login' && d.status === 'success') finishSignIn();\n    });\n\n    document.querySelectorAll('.js-social-login').forEach(function (link) {\n        link.addEventListener('click', function (e) {\n            var url = link.getAttribute('href');\n            url += (url.indexOf('?') === -1 ? '?' : '&') + 'popup=1';\n\n            var w = 520, h = 660;\n            var left = window.screenX + Math.max(0, (window.outerWidth - w) \/ 2);\n            var top = window.screenY + Math.max(0, (window.outerHeight - h) \/ 2);\n            popup = window.open(url, 'aa-social-login',\n                'width=' + w + ',height=' + h + ',left=' + left + ',top=' + top + ',menubar=no,toolbar=no');\n\n            \/\/ blocked, or a browser that ignores window.open: fall through to\n            \/\/ the plain link, which still signs in and returns to this page\n            if (!popup) return;\n\n            e.preventDefault();\n            popup.focus();\n\n            \/\/ the window may be closed after signing in without the message\n            \/\/ arriving (some providers land on an interstitial); check for a\n            \/\/ session once it goes away\n            if (watcher) clearInterval(watcher);\n            watcher = setInterval(function () {\n                if (popup && popup.closed) {\n                    clearInterval(watcher); watcher = null;\n                    fetch(\"https:\\\/\\\/assignmentauthority.com\\\/realtime\\\/authorise\\\/status\", {headers: {'X-Requested-With': 'XMLHttpRequest'}})\n                        .then(function (r) { return r.json(); })\n                        .then(function (d) { if (d && d.authenticated) finishSignIn(); })\n                        .catch(function () {});\n                }\n            }, 700);\n        });\n    });\n})();\n<\/script>\n","success":true}