{"id":1226,"date":"2026-09-10T01:37:00","date_gmt":"2026-09-10T01:37:00","guid":{"rendered":"https:\/\/plastaps.makmark.com\/?page_id=1226"},"modified":"2026-09-10T01:37:48","modified_gmt":"2026-09-10T01:37:48","slug":"register","status":"publish","type":"page","link":"https:\/\/plastaps.com\/ar\/register\/","title":{"rendered":"Register"},"content":{"rendered":"\r\n<div class=\"plastaps-wrapper plastaps-auth-wrapper\">\r\n    <div class=\"plastaps-container plastaps-auth-container\">\r\n\r\n        <div class=\"plastaps-auth-card\">\r\n\r\n            <div class=\"plastaps-auth-header\">\r\n                <div class=\"plastaps-auth-logo\">\r\n                    <i class=\"fa-solid fa-recycle\"><\/i>\r\n                <\/div>\r\n                <h1>\u0627\u0646\u0636\u0645 \u0625\u0644\u0649 \u0628\u0644\u0627\u0633\u062a\u0627\u0628\u0633<\/h1>\r\n                <p>\u0623\u0646\u0634\u0626 \u062d\u0633\u0627\u0628\u0643 \u0648\u0627\u0628\u062f\u0623 \u0641\u064a \u062a\u062f\u0627\u0648\u0644 \u0627\u0644\u0645\u0648\u0627\u062f \u0627\u0644\u0628\u0644\u0627\u0633\u062a\u064a\u0643\u064a\u0629 \u0641\u064a \u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629<\/p>\r\n            <\/div>\r\n\r\n                        <div class=\"plastaps-auth-trial-banner\">\r\n                <i class=\"fa-solid fa-gift\"><\/i>\r\n                <div>\r\n                    <strong>Free 30-Day Trial!<\/strong>\r\n                    <span>All new accounts get full access to our Basic package for 30 days \u2014 no payment required.<\/span>\r\n                <\/div>\r\n            <\/div>\r\n            \r\n            <form id=\"plastaps-register-form\" class=\"plastaps-auth-form\" novalidate>\r\n\r\n                <div class=\"plastaps-auth-error\" id=\"register-error\" style=\"display:none;\"><\/div>\r\n\r\n                <!-- Full Name -->\r\n                <div class=\"plastaps-form-group\">\r\n                    <label for=\"reg-full-name\">\r\n                        <i class=\"fa-solid fa-user\"><\/i> \u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0643\u0627\u0645\u0644 <span class=\"required\">*<\/span>\r\n                    <\/label>\r\n                    <input type=\"text\"\r\n                           id=\"reg-full-name\"\r\n                           name=\"full_name\"\r\n                           class=\"plastaps-form-control\"\r\n                           placeholder=\"\u0627\u0633\u0645\u0643 \u0627\u0644\u0643\u0627\u0645\u0644\"\r\n                           autocomplete=\"name\"\r\n                           required>\r\n                <\/div>\r\n\r\n                <!-- Email -->\r\n                <div class=\"plastaps-form-group\">\r\n                    <label for=\"reg-email\">\r\n                        <i class=\"fa-solid fa-envelope\"><\/i> \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a <span class=\"required\">*<\/span>\r\n                    <\/label>\r\n                    <input type=\"email\"\r\n                           id=\"reg-email\"\r\n                           name=\"email\"\r\n                           class=\"plastaps-form-control\"\r\n                           placeholder=\"you@example.com\"\r\n                           autocomplete=\"email\"\r\n                           required>\r\n                <\/div>\r\n\r\n                <!-- Phone -->\r\n                <div class=\"plastaps-form-group\">\r\n                    <label for=\"reg-phone\">\r\n                        <i class=\"fa-solid fa-phone\"><\/i> \u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641 <span class=\"required\">*<\/span>\r\n                    <\/label>\r\n                    <input type=\"tel\"\r\n                           id=\"reg-phone\"\r\n                           name=\"phone\"\r\n                           class=\"plastaps-form-control\"\r\n                           placeholder=\"+966 5X XXX XXXX\"\r\n                           autocomplete=\"tel\"\r\n                           required>\r\n                <\/div>\r\n\r\n                <!-- Password Row -->\r\n                <div class=\"plastaps-auth-row\">\r\n                    <div class=\"plastaps-form-group\">\r\n                        <label for=\"reg-password\">\r\n                            <i class=\"fa-solid fa-lock\"><\/i> \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 <span class=\"required\">*<\/span>\r\n                        <\/label>\r\n                        <input type=\"password\"\r\n                               id=\"reg-password\"\r\n                               name=\"password\"\r\n                               class=\"plastaps-form-control\"\r\n                               placeholder=\"8 \u0623\u062d\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644\"\r\n                               autocomplete=\"new-password\"\r\n                               required>\r\n                    <\/div>\r\n\r\n                    <div class=\"plastaps-form-group\">\r\n                        <label for=\"reg-confirm-password\">\r\n                            <i class=\"fa-solid fa-lock\"><\/i> \u062a\u0623\u0643\u064a\u062f \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 <span class=\"required\">*<\/span>\r\n                        <\/label>\r\n                        <input type=\"password\"\r\n                               id=\"reg-confirm-password\"\r\n                               name=\"confirm_password\"\r\n                               class=\"plastaps-form-control\"\r\n                               placeholder=\"\u062a\u0643\u0631\u0627\u0631 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\"\r\n                               autocomplete=\"new-password\"\r\n                               required>\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <!-- Role Selection -->\r\n                <div class=\"plastaps-form-group\">\r\n                    <label class=\"plastaps-auth-role-label\">\r\n                        <i class=\"fa-solid fa-user-tag\"><\/i> \u0623\u0631\u063a\u0628 \u0641\u064a <span class=\"required\">*<\/span>\r\n                    <\/label>\r\n\r\n                    <div class=\"plastaps-auth-roles\">\r\n\r\n                        <label class=\"plastaps-auth-role-card\" data-role=\"plastaps_buyer\">\r\n                            <input type=\"radio\" name=\"role\" value=\"plastaps_buyer\" required>\r\n                            <div class=\"plastaps-auth-role-icon\">\r\n                                <i class=\"fa-solid fa-cart-shopping\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"plastaps-auth-role-title\">\u0627\u0644\u0645\u0634\u062a\u0631\u064a<\/div>\r\n                            <div class=\"plastaps-auth-role-desc\">\u062a\u0635\u0641\u062d \u0648\u0634\u0631\u0627\u0621 \u0627\u0644\u0645\u0648\u0627\u062f<\/div>\r\n                        <\/label>\r\n\r\n                        <label class=\"plastaps-auth-role-card\" data-role=\"plastaps_seller\">\r\n                            <input type=\"radio\" name=\"role\" value=\"plastaps_seller\">\r\n                            <div class=\"plastaps-auth-role-icon\">\r\n                                <i class=\"fa-solid fa-tag\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"plastaps-auth-role-title\">\u0627\u0644\u0628\u0627\u0626\u0639<\/div>\r\n                            <div class=\"plastaps-auth-role-desc\">\u0627\u0639\u0631\u0636 \u0648\u0628\u0650\u0639 \u0645\u0648\u0627\u062f\u0643 \u0627\u0644\u0628\u0644\u0627\u0633\u062a\u064a\u0643\u064a\u0629<\/div>\r\n                        <\/label>\r\n\r\n                        <label class=\"plastaps-auth-role-card\" data-role=\"plastaps_dual\">\r\n                            <input type=\"radio\" name=\"role\" value=\"plastaps_dual\">\r\n                            <div class=\"plastaps-auth-role-icon\">\r\n                                <i class=\"fa-solid fa-arrows-rotate\"><\/i>\r\n                            <\/div>\r\n                            <div class=\"plastaps-auth-role-title\">\u0643\u0644\u0627\u0647\u0645\u0627<\/div>\r\n                            <div class=\"plastaps-auth-role-desc\">\u0627\u0644\u0634\u0631\u0627\u0621 \u0648\u0627\u0644\u0628\u064a\u0639 \u0628\u062d\u0631\u064a\u0629<\/div>\r\n                        <\/label>\r\n\r\n                    <\/div>\r\n                <\/div>\r\n\r\n                <!-- Terms -->\r\n                <div class=\"plastaps-form-group plastaps-auth-terms\">\r\n                    <label>\r\n                        <input type=\"checkbox\" name=\"terms\" value=\"1\" required>\r\n                        <span>\r\n                            \u0623\u0648\u0627\u0641\u0642 \u0639\u0644\u0649                            <a href=\"#\" target=\"_blank\" rel=\"noopener\">\u0634\u0631\u0648\u0637 \u0627\u0644\u062e\u062f\u0645\u0629<\/a>\r\n                            \u0648                            <a href=\"#\" target=\"_blank\" rel=\"noopener\">\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629<\/a>\r\n                        <\/span>\r\n                    <\/label>\r\n                <\/div>\r\n\r\n                <!-- Submit -->\r\n                <button type=\"submit\" class=\"plastaps-btn plastaps-btn-orange plastaps-btn-lg plastaps-btn-block\" id=\"register-submit-btn\">\r\n                    <i class=\"fa-solid fa-user-plus\"><\/i> \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628                <\/button>\r\n\r\n                <!-- Login link -->\r\n                <div class=\"plastaps-auth-footer\">\r\n                    \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f                    <a href=\"https:\/\/plastaps.com\/ar\/login\/\">\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644<\/a>\r\n                <\/div>\r\n\r\n            <\/form>\r\n        <\/div>\r\n\r\n    <\/div>\r\n<\/div>\r\n\r\n<style>\r\n\/* ========== Auth Pages Shared Styles ========== *\/\r\n.plastaps-auth-wrapper {\r\n    min-height: 70vh;\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    padding: 40px 16px;\r\n    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);\r\n}\r\n\r\n.plastaps-auth-container {\r\n    width: 100%;\r\n    max-width: 620px;\r\n    padding: 0 !important;\r\n}\r\n\r\n.plastaps-auth-card {\r\n    background: #ffffff;\r\n    border: 1px solid #e2e8f0;\r\n    border-radius: 24px;\r\n    padding: 40px;\r\n    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);\r\n}\r\n\r\n.plastaps-auth-header {\r\n    text-align: center;\r\n    margin-bottom: 28px;\r\n}\r\n\r\n.plastaps-auth-logo {\r\n    width: 72px;\r\n    height: 72px;\r\n    border-radius: 20px;\r\n    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);\r\n    color: #fff;\r\n    display: inline-flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    font-size: 32px;\r\n    margin-bottom: 16px;\r\n    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);\r\n}\r\n\r\n.plastaps-auth-header h1 {\r\n    font-size: 28px;\r\n    font-weight: 800;\r\n    color: #0f172a;\r\n    margin: 0 0 8px;\r\n    letter-spacing: -0.5px;\r\n}\r\n\r\n.plastaps-auth-header p {\r\n    font-size: 15px;\r\n    color: #64748b;\r\n    margin: 0;\r\n    line-height: 1.6;\r\n}\r\n\r\n.plastaps-auth-trial-banner {\r\n    display: flex;\r\n    align-items: flex-start;\r\n    gap: 12px;\r\n    background: #fff7ed;\r\n    border: 1px solid #fed7aa;\r\n    border-radius: 12px;\r\n    padding: 14px 18px;\r\n    margin-bottom: 24px;\r\n    font-size: 14px;\r\n    color: #9a3412;\r\n    line-height: 1.5;\r\n}\r\n\r\n.plastaps-auth-trial-banner i {\r\n    color: #f97316;\r\n    font-size: 20px;\r\n    flex-shrink: 0;\r\n    margin-top: 2px;\r\n}\r\n\r\n.plastaps-auth-trial-banner strong {\r\n    display: block;\r\n    font-weight: 700;\r\n    margin-bottom: 2px;\r\n}\r\n\r\n.plastaps-auth-trial-banner span {\r\n    color: #78350f;\r\n    font-size: 13px;\r\n}\r\n\r\n.plastaps-auth-form {\r\n    display: flex;\r\n    flex-direction: column;\r\n}\r\n\r\n.plastaps-auth-row {\r\n    display: grid;\r\n    grid-template-columns: 1fr 1fr;\r\n    gap: 16px;\r\n}\r\n\r\n.plastaps-auth-roles {\r\n    display: grid;\r\n    grid-template-columns: repeat(3, 1fr);\r\n    gap: 12px;\r\n    margin-top: 8px;\r\n}\r\n\r\n.plastaps-auth-role-card {\r\n    position: relative;\r\n    display: flex;\r\n    flex-direction: column;\r\n    align-items: center;\r\n    text-align: center;\r\n    padding: 18px 12px;\r\n    border: 2px solid #e2e8f0;\r\n    border-radius: 14px;\r\n    cursor: pointer;\r\n    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);\r\n    background: #fff;\r\n}\r\n\r\n.plastaps-auth-role-card:hover {\r\n    border-color: #fdba74;\r\n    background: #fff7ed;\r\n    transform: translateY(-2px);\r\n}\r\n\r\n.plastaps-auth-role-card input[type=\"radio\"] {\r\n    position: absolute;\r\n    opacity: 0;\r\n    pointer-events: none;\r\n}\r\n\r\n.plastaps-auth-role-card .plastaps-auth-role-icon {\r\n    width: 44px;\r\n    height: 44px;\r\n    border-radius: 12px;\r\n    background: #f1f5f9;\r\n    color: #64748b;\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    font-size: 18px;\r\n    margin-bottom: 10px;\r\n    transition: all 0.25s ease;\r\n}\r\n\r\n.plastaps-auth-role-card .plastaps-auth-role-title {\r\n    font-size: 14px;\r\n    font-weight: 700;\r\n    color: #0f172a;\r\n    margin-bottom: 4px;\r\n}\r\n\r\n.plastaps-auth-role-card .plastaps-auth-role-desc {\r\n    font-size: 11px;\r\n    color: #94a3b8;\r\n    line-height: 1.4;\r\n}\r\n\r\n.plastaps-auth-role-card.is-selected,\r\n.plastaps-auth-role-card:has(input:checked) {\r\n    border-color: #f97316;\r\n    background: #fff7ed;\r\n    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);\r\n}\r\n\r\n.plastaps-auth-role-card.is-selected .plastaps-auth-role-icon,\r\n.plastaps-auth-role-card:has(input:checked) .plastaps-auth-role-icon {\r\n    background: #f97316;\r\n    color: #ffffff;\r\n}\r\n\r\n.plastaps-auth-role-card.is-selected .plastaps-auth-role-title,\r\n.plastaps-auth-role-card:has(input:checked) .plastaps-auth-role-title {\r\n    color: #9a3412;\r\n}\r\n\r\n.plastaps-auth-terms label {\r\n    display: flex;\r\n    align-items: flex-start;\r\n    gap: 10px;\r\n    font-size: 13px;\r\n    color: #475569;\r\n    line-height: 1.5;\r\n    cursor: pointer;\r\n}\r\n\r\n.plastaps-auth-terms input[type=\"checkbox\"] {\r\n    width: 18px;\r\n    height: 18px;\r\n    margin-top: 2px;\r\n    flex-shrink: 0;\r\n    accent-color: #f97316;\r\n}\r\n\r\n.plastaps-auth-terms a {\r\n    color: #f97316;\r\n    font-weight: 600;\r\n    text-decoration: none;\r\n}\r\n\r\n.plastaps-auth-terms a:hover {\r\n    text-decoration: underline;\r\n}\r\n\r\n.plastaps-auth-footer {\r\n    text-align: center;\r\n    margin-top: 20px;\r\n    font-size: 14px;\r\n    color: #64748b;\r\n}\r\n\r\n.plastaps-auth-footer a {\r\n    color: #f97316;\r\n    font-weight: 600;\r\n    text-decoration: none;\r\n}\r\n\r\n.plastaps-auth-footer a:hover {\r\n    text-decoration: underline;\r\n}\r\n\r\n.plastaps-auth-error {\r\n    background: #fef2f2;\r\n    border: 1px solid #fecaca;\r\n    color: #991b1b;\r\n    border-radius: 10px;\r\n    padding: 12px 16px;\r\n    font-size: 14px;\r\n    margin-bottom: 20px;\r\n    display: flex;\r\n    align-items: flex-start;\r\n    gap: 8px;\r\n}\r\n\r\n.plastaps-auth-error i {\r\n    color: #dc2626;\r\n    flex-shrink: 0;\r\n    margin-top: 2px;\r\n}\r\n\r\n@media (max-width: 640px) {\r\n    .plastaps-auth-card {\r\n        padding: 28px 20px;\r\n        border-radius: 18px;\r\n    }\r\n\r\n    .plastaps-auth-row {\r\n        grid-template-columns: 1fr;\r\n        gap: 0;\r\n    }\r\n\r\n    .plastaps-auth-roles {\r\n        grid-template-columns: 1fr;\r\n    }\r\n\r\n    .plastaps-auth-role-card {\r\n        flex-direction: row;\r\n        text-align: left;\r\n        gap: 14px;\r\n        padding: 16px;\r\n    }\r\n\r\n    .plastaps-auth-role-card .plastaps-auth-role-icon {\r\n        margin-bottom: 0;\r\n    }\r\n\r\n    .plastaps-auth-role-title {\r\n        margin-bottom: 2px !important;\r\n    }\r\n}\r\n<\/style>\r\n\r\n<script>\r\njQuery(function($) {\r\n    \/\/ Role card selection visual feedback\r\n    $('.plastaps-auth-role-card input[type=\"radio\"]').on('change', function() {\r\n        $('.plastaps-auth-role-card').removeClass('is-selected');\r\n        $(this).closest('.plastaps-auth-role-card').addClass('is-selected');\r\n    });\r\n\r\n    \/\/ Form submit\r\n    $('#plastaps-register-form').on('submit', function(e) {\r\n        e.preventDefault();\r\n\r\n        var $form = $(this);\r\n        var $error = $('#register-error');\r\n        var $btn = $('#register-submit-btn');\r\n\r\n        $error.hide().html('');\r\n\r\n        \/\/ Client-side validation\r\n        var fullName = $.trim($form.find('input[name=\"full_name\"]').val());\r\n        var email    = $.trim($form.find('input[name=\"email\"]').val());\r\n        var phone    = $.trim($form.find('input[name=\"phone\"]').val());\r\n        var password = $form.find('input[name=\"password\"]').val();\r\n        var confirm  = $form.find('input[name=\"confirm_password\"]').val();\r\n        var role     = $form.find('input[name=\"role\"]:checked').val();\r\n        var terms    = $form.find('input[name=\"terms\"]').is(':checked');\r\n\r\n        if (!fullName) {\r\n            return showError('\u064a\u064f\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0627\u0633\u0645\u0643 \u0627\u0644\u0643\u0627\u0645\u0644.');\r\n        }\r\n        if (!email || !\/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/.test(email)) {\r\n            return showError('\u064a\u064f\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0635\u0627\u0644\u062d.');\r\n        }\r\n        if (!phone) {\r\n            return showError('\u064a\u064f\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643.');\r\n        }\r\n        if (!password || password.length < 8) {\r\n            return showError('\u064a\u062c\u0628 \u0623\u0646 \u062a\u0643\u0648\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 8 \u0623\u062d\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644.');\r\n        }\r\n        if (password !== confirm) {\r\n            return showError('\u0643\u0644\u0645\u062a\u0627 \u0627\u0644\u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0645\u062a\u0637\u0627\u0628\u0642\u062a\u064a\u0646.');\r\n        }\r\n        if (!role) {\r\n            return showError('\u064a\u064f\u0631\u062c\u0649 \u062a\u062d\u062f\u064a\u062f \u0645\u0627 \u062a\u0631\u063a\u0628 \u0641\u064a \u0642\u064a\u0627\u0645\u0647 \u0639\u0644\u0649 \u0645\u0646\u0635\u0629 \u0628\u0644\u0627\u0633\u062a\u0627\u0628\u0633.');\r\n        }\r\n        if (!terms) {\r\n            return showError('\u064a\u062c\u0628 \u0623\u0646 \u062a\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 \u0634\u0631\u0648\u0637 \u0627\u0644\u062e\u062f\u0645\u0629 \u0648\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629.');\r\n        }\r\n\r\n        \/\/ Submit via AJAX\r\n        $btn.prop('disabled', true).html('<i class=\"fa-solid fa-spinner fa-spin\"><\/i> \u062c\u0627\u0631\u064a \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628...');\r\n\r\n        $.ajax({\r\n            url: plastaps_ajax.ajax_url,\r\n            type: 'POST',\r\n            dataType: 'json',\r\n            data: {\r\n                action: 'plastaps_register_user',\r\n                nonce: plastaps_ajax.nonce,\r\n                full_name: fullName,\r\n                email: email,\r\n                phone: phone,\r\n                password: password,\r\n                confirm_password: confirm,\r\n                role: role,\r\n                terms: terms ? '1' : '0'\r\n            },\r\n            success: function(response) {\r\n                if (response && response.success) {\r\n                    var msg = (response.data && response.data.message) ? response.data.message : '\u062a\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628! \u062c\u0627\u0631\u064a \u0627\u0644\u062a\u0648\u062c\u064a\u0647...';\r\n                    $error.hide();\r\n                    $btn.html('<i class=\"fa-solid fa-circle-check\"><\/i> ' + msg);\r\n                    var redirect = (response.data && response.data.redirect_url) ? response.data.redirect_url : (plastaps_ajax.site_url + '\/dashboard\/');\r\n                    setTimeout(function() {\r\n                        window.location.href = redirect;\r\n                    }, 800);\r\n                } else {\r\n                    var msg = (response && response.data && typeof response.data === 'string') ? response.data : '\u0641\u0634\u0644 \u0627\u0644\u062a\u0633\u062c\u064a\u0644. \u064a\u064f\u0631\u062c\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.';\r\n                    showError(msg);\r\n                    $btn.prop('disabled', false).html('<i class=\"fa-solid fa-user-plus\"><\/i> \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628');\r\n                }\r\n            },\r\n            error: function() {\r\n                showError('\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u064a\u064f\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0627\u062a\u0635\u0627\u0644\u0643 \u0648\u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.');\r\n                $btn.prop('disabled', false).html('<i class=\"fa-solid fa-user-plus\"><\/i> \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628');\r\n            }\r\n        });\r\n\r\n        function showError(msg) {\r\n            $error.html('<i class=\"fa-solid fa-circle-exclamation\"><\/i> <span>' + msg + '<\/span>').show();\r\n            $('html, body').animate({\r\n                scrollTop: $error.offset().top - 100\r\n            }, 300);\r\n            $btn.prop('disabled', false).html('<i class=\"fa-solid fa-user-plus\"><\/i> \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628');\r\n        }\r\n    });\r\n});\r\n<\/script>\n","protected":false},"excerpt":{"rendered":"\u0627\u0646\u0636\u0645 \u0625\u0644\u0649 \u0628\u0644\u0627\u0633\u062a\u0627\u0628\u0633 \u0623\u0646\u0634\u0626 \u062d\u0633\u0627\u0628\u0643 \u0648\u0627\u0628\u062f\u0623 \u0641\u064a \u062a\u062f\u0627\u0648\u0644 \u0627\u0644\u0645\u0648\u0627\u062f \u0627\u0644\u0628\u0644\u0627\u0633\u062a\u064a\u0643\u064a\u0629 \u0641\u064a \u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629 Free 30-Day Trial! All new accounts","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"plastaps_category":[],"class_list":["post-1226","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/pages\/1226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/comments?post=1226"}],"version-history":[{"count":0,"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/pages\/1226\/revisions"}],"wp:attachment":[{"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/media?parent=1226"}],"wp:term":[{"taxonomy":"plastaps_category","embeddable":true,"href":"https:\/\/plastaps.com\/ar\/wp-json\/wp\/v2\/plastaps_category?post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}