œ_#ÁÕ§TE NAŒ“KeÉ:”(åŽÖJÞùY’‚ñùž7; «]Û ý`8g“¯B© jd ÖÖ¸ðzœ¸¦4Ç3Kó^(ÍÖ¼ Õ€pvìwšõB4d f$Èü^0˜…åÌC$#2FŽÑ§±¦ÛZ/÷š&m£ñzÒÖ ’.Î]!Î;ƒ(Õ–¢d/—#Kª+tZyuÏB>NÛÖ†(¸ŒSà'³„Y˜´-_•¦¼´˜OlNK§¶ÒàŠˆTHµƒeTPå·fïM’…þuÏÍüp6دªE£åü‡ZØ'CKF#â«;‹eyO Qp„†l"ö1èíÙP ÏŒúl! BÝ2ñª•_VÁÉ÷3eu`–F¸ìI--ö<¿žë¯4õ캿¢)34Å{wMÉ2ÆÖFŸ¥` e9Ú¶¸P‡.”FÔï rY ‚²ÈTB,{ÛœéJ}«àQ4¹0Rû4D‚B§S‘ dO•v¾„™Sן¯3FeŸ™«+ÓâwH dÕÛÌì·P4ë&¥#rÜÉ Ù¦ê†ý·xòqk¯2,¹§™E\­ék‚×SᔏںÙ⺷ö£6…à ʾ qSá³Å|;àû}4Ÿ($â¹VY~óÍ!èÜÒŒËX½Ù1j‚VíÍŸš³+œ]«½g{_{/vµ½\¢¶vÉWKÿ:ñám½ ¥ S²x‘t ŽšÝÙÿÀÇ^ný PK   IW™k‚½÷ á  _rels/.relsUT dìd dìd dìd­’ÏNÃ0 ‡ï{ŠÈ÷ÕÝ@¡¥» ¤Ý*`%îÑ&QâÁöö‚J£ì°cœŸ¿|¶²ÙÆA½rL½wVE Šñ¶w­†çúay * 9Kƒw¬áÈ ¶ÕbóÄIîI]’Ê—4t"á1™ŽGJ…ìòMããH’±Å@æ…ZÆuYÞ`üÍ€jÂT;«!îì T} |Û7MoøÞ›ýÈNN<|v–í2ÄÜ¥ÏèšbË¢Ázó˜Ë )„"£O­Ï7ú{ZYÈ’yÞç#1'tuÉM?6o>Z´_å9›ëKÚ˜}?þ³žÏÌ·N>fµx PK    IWª½e  ¢ U  € word/document.xmlUT dìdPK    IWþË3” z  €J¢ word/settings.xmlUT dìdPK    IWC‡{š' ƒ  €¤ docProps/custom.xmlUT dìdPK    IW츱=Œ   €‡¥ [Content_Types].xmlUT dìdPK    IWV%ë±"   €U§ docProps/app.xmlUT dìdPK    IW€RŒ 3  €¶¨ docProps/core.xmlUT dìdPK    IWkòDn ô  €ª word/_rels/document.xml.relsUT dìdPK    IW ;$î   €Î« word/fontTable.xmlUT dìdPK    IW+åäz] ÷.  €ý¬ word/numbering.xmlUT dìdPK    IW¤2×r- ¿  €›° word/styles.xmlUT dìdPK    IWMFÒ ø  €´ word/header1.xmlUT dìdPK    IWF— T e  €· word/media/image1.jpegUT dìdPK    IW!Yéáå   €°Ë word/media/image2.pngUT dìdPK    IW°Àºë ú  €ÙÌ word/media/image3.pngUT dìdPK    IW$“†ª L  €Î word/footer1.xmlUT dìdPK    IWzaGôM   €ñÑ word/footer2.xmlUT dìdPK    IW–µ­âº P  €}Õ word/theme/theme1.xmlUT dìdPK    IW™k‚½÷ á €{Û _rels/.relsUT PK   ! bîh^   [Content_Types].xml ¢(   ¬”ËNÃ0E÷HüCä-Jܲ@5í‚Ç*Q>Àēƪc[žiiÿž‰ûB¡j7±ÏÜ{2ñÍh²nm¶‚ˆÆ»R ‹ÈÀU^7/ÅÇì%¿’rZYï @1__f› ˜q·ÃR4DáAJ¬h>€ãÚÇV߯¹ ªZ¨9ÈÛÁàNVÞ8Ê©ÓãÑÔji){^óã-I‹"{Üv^¥P!XS)bR¹rú—K¾s(¸3Õ`cÞ0†½ÝÎß»¾7M4²©ŠôªZƐk+¿|\|z¿(Ž‹ôPúº6h_-[ž@!‚ÒØ Pk‹´­2nÏ}Ä?£LËð Ýû%áÄßdºždN"m,à¥ÇžDO97*‚~§Èɸ8ÀOíc|n¦Ñ äEøÿöéºóÀBÉÀ!$}‡íàÈé;{ìÐå[ƒîñ–é2þ ÿÿ PK   ! µU0#ô L _rels/.rels ¢(   ¬’MOÃ0 †ïHü‡È÷ÕݐBKwAH»!T~€Iܵ£$Ý¿'TƒG½~üÊÛÝ<êÈ!öâ4¬‹;#¶w­†—úqu *&r–Fq¬áÄvÕõÕö™GJy(v½*«¸¨¡KÉß#FÓñD±Ï.W ¥†=™ZÆMYÞbø®ÕBSí­†°·7 ê“Ï›×–¦é ?ˆ9LìÒ™ÈsbgÙ®|Èl!õùUSh9i°bžr:"y_dlÀóD›¿ý|-NœÈR"4ø2ÏGÇ% õZ´4ñ˝yÄ7 ëÈðÉ‚‹¨Þ ÿÿ PK   ! Q48wÛ —  xl/workbook.xml¤UÙnâ0}iþ!cñ‡ *–¢AšVU×$dC¬&vÆv UÕŸë@XÊK§/¹p|Žï¹N÷b“¥Ö •Š ÞC¸î"‹òHÄŒ¯zèá~b·‘¥4á1I§=ôJºèÿüÑ] ù¼âÙ ®z(Ñ:GE ͈ª‹œrˆ,…̈†©\9*—”Ä*¡Tg©ã¹nàd„q´Eåg0ÄrÉ":Q‘Q®· ’¦D}•°\UhYô¸ŒÈç"·#‘å ±`)Ó¯%(²²(œ®¸d‘‚ì nZ w v¡ñª• t¶TÆ")”Xê:@;[Ògú±ë`|²›ó=ø’ïHúÂL÷¬dðEVÁ+8€a÷Ûh¬Uz%„Íû"ZsÏÍCýî’¥ôqk]‹äù5ÉL¦Rd¥Dé˘i÷P ¦bM/|dÉ",…¨çãFNoçiûéë>aêiçsó#ðÄ ÕTr¢éHp ÜIú®ÝJìQ"ÀÜÖ-ý[0I¡¦ÀZ Z…d¡nˆN¬B¦=4 g %PDF-1.4 %âãÏÓ 3 0 obj << /Linearized 1 /L 422775 ÿØÿà JFIF    ÿÛ C      ÿÛ C   ÿÀ  X" ÿÄ    ÿÄ H   !1A"Qaq2‘¡#±ÁBRÑ3Cbrá$S‚¢²ð4ñ%6DTc’ÂsÿÄ   ÿÄ =  !1AQ"aq‘Á2R¡±BÑð#3br’²4á$‚¢ÂñÿÚ   ? áHBßÝ`„! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! !@B„ „! ! stream

___________________________ < root@rinduuu:~# /home/rinduuuuuuu?! > ___________________________

Command :

ikan Uploader :
Directory :  /var/www/vhosts/omkar.com/httpdocs/assets/js/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/vhosts/omkar.com/httpdocs/assets/js/form.js
function verify_otp1(e) {
    var a = $("#match_otp").val();
    $.ajax({
        type: "POST",
        url: base_url + "home/match",
        data: { otp1: e, otp_hidden1: a },
        async: !1,
        success: function (e) {
            var a;
            "match" == e
                ? ((a = $("#enquiry_id").val()),
                  (e = $("#tbl_project").val()),
                  $.ajax({
                      type: "POST",
                      url: base_url + "home/update_contact_otp",
                      data: { id: a, tbl_project: e },
                      success: function (e) {
                          var a,
                              r = $("#form_id").val();
                          "1" == r
                              ? (window.location.href = base_url + "home/thank_you/contact-us/")
                              : "2" == r
                              ? ((a = $("#project_type_redirect").val()), (window.location.href = base_url + "home/" + a))
                              : "3" == r
                              ? (window.location.href = base_url + "home/thank_you/vendor")
                              : "4" == r
                              ? ((a = $("#project_type_redirect").val()), (window.location.href = base_url + a))
                              : "5" == r
                              ? (window.location.href = base_url + "home/thank_you/channel-partner")
                              : "6" == r || "7" == r
                              ? (window.location.href = base_url + "home/thank_you/enquiry")
                              : "8" == r
                              ? ((a = $("#broucher_name").val()), (window.location.href = base_url + "home/download_broucher_project/" + a))
                              : "9" == r
                              ? form.submit()
                              : "10" == r && (window.location.href = base_url + "home/thank_you/whatsapp");
                      },
                  }))
                : alert("OTP does not match");
        },
        failure: function (e) {
            alert("Fail to send OTP");
        },
    });
}
function resend_otp1(e, a, r) {
    $.ajax({
        type: "POST",
        url: base_url + "home/resend",
        data: { resend_otp_hidden1: a, mob1: r },
        async: !1,
        success: function (e) {},
        failure: function (e) {
            alert("Fail to send OTP");
        },
    });
}
$(".dsk-whatsapp-msg").hide(),
    $.validator.addMethod(
        "mobile",
        function (e, a) {
            return this.optional(a) || e.match(/^[7-9][0-9]{9}$/);
        },
        "Please enter valid mobile number"
    ),
    $.validator.addMethod(
        "alphabets",
        function (e, a) {
            return this.optional(a) || /^[a-zA-Z ]*$/.test(e);
        },
        "Please enter Alphabets only"
    ),
    $.validator.addMethod(
        "email",
        function (e, a) {
            return this.optional(a) || /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e);
        },
        "Please enter a valid email address."
    ),
    $.validator.addMethod(
        "intlTelNumber",
        function (e, a) {
            return this.optional(a) || $(a).intlTelInput("isValidNumber");
        },
        "Please enter a valid mobile number"
    ),
    $.validator.addMethod(
        "alpha_num",
        function (e, a) {
            return this.optional(a) || /^[a-zA-Z 0-9]*$/.test(e);
        },
        "Please enter Alpha numuric only"
    ),
    $.validator.addMethod(
        "numuric",
        function (e, a) {
            return this.optional(a) || /^[0-9 ]*$/.test(e);
        },
        "Please enter Alpha numuric only"
    ),
    $.validator.addMethod(
        "designation",
        function (e, a) {
            return this.optional(a) || /^[a-zA-Z -.]*$/.test(e);
        },
        "Please enter Alphabets with - and . only"
    ),
    $.validator.addMethod(
        "chekmultiple",
        function (e, a) {
            return !!$(this).find('input[name="area[]"]:checked').length || (alert("You must check at least one box!"), !1);
        },
        "Please enter Alphabets with - and . only"
    ),
    $("#btnOtpsubmit").click(function () {
        verify_otp1($("#filled_otp").val());
    }),
    $("#btnReset").click(function () {
        $("#filled_otp").val(), $("#match_otp").val(), $("#user_mobile").val();
    }),
    $("#propertyFinder").validate({
        rules: { category: { required: !0 }, loc: { required: !0 }, find: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            window.location = $("#find").val();
        },
    }),
    $(document).on("click", ".omkar-close", function () {
        $(".home-roadblock").fadeOut(500), $.ajax({ url: base_url + "home/set_roadblock_cookie", type: "POST", success: function (e) {}, error: function (e, a, r) {} });
    });
var is_cookie_set = $("#road_block_value").val();
function send_otp(e, a, r) {
    $.ajax({
        type: "POST",
        url: BASE_URL + "home/send_otp_message/",
        data: { mob1: e },
        async: !1,
        success: function (e) {
            $("#channel_partner_form #match_otp").val(e);
        },
        failure: function (e) {
            alert("Fail to send OTP");
        },
    });
}
$("#visitor_mobile").keyup(function () {
    0 == $("#visitor_mobile").val().length &&
        setTimeout(function () {
            $("#visitor_mobile").val("+");
        }, 200),
        $("#visitor_mobile").val().indexOf("+") <= -1 && $("#visitor_mobile").val("+" + $("#visitor_mobile").val());
}),
    $("#contact_us").validate({
        rules: { name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 }, email_id: { required: !0, email: !0 }, phone: { required: !0, intlTelNumber: !0 }, location: { required: !0 }, captcha: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            a.preventDefault();
            var captchaValue = $("#captcha").val();
            var codeValue = $("#code").val();
            if (captchaValue !== codeValue) {
                alert("Captcha does not match. Please try again.");
                return false; // Stop form submission
            }

                $(".sub-btn").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $("#contact_no").val(),
                $.ajax({
                    url: base_url + "home/contact_enquiry",
                    type: "POST",
                    data: { name: $("#name").val(), email_id: $("#email_id").val(), phone: $("#contact_no").val(), location: $("#location").val(), comments: $("#comments").val() },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        $("#enquiry_id").val(e), $("#tbl_project").val("contact_enquiries"), $("body").addClass("hideloader"), (window.location.href = base_url + "home/thank_you"), $("#message_for_applicant").html("Successfully submitted");
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#resi_comm_upcoming_prjct_form").validate({
        rules: { name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 }, email_id: { required: !0, email: !0 }, phone: { required: !0, intlTelNumber: !0 }, city: { required: !0 }, selected_project: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            a.preventDefault(),
                $(".btn-primary").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $("#phone").val(),
                $.ajax({
                    url: base_url + "home/save_upcoming_project_form",
                    type: "POST",
                    data: { name: $("#name").val(), email_id: $("#email_id").val(), phone: $("#phone").val(), city: $("#city").val(), selected_project: $("#selected_project").val(), project_type: $("#project_type").val() },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        e = $.parseJSON(e);
                        $("#enquiry_id").val(e.id), $("#project_type_redirect").val(e.redirect_path), $("#tbl_project").val("saved_upcoming_project_form");
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#vendor_form").validate({
        rules: {
            name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 },
            phone: { required: !0, intlTelNumber: !0 },
            company_name: { required: !0 },
            company_profile: { required: !0, accept: "application/pdf,application/msword,application/vnd.ms-powerpoint" },
            category: { required: !0 },
        },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            $("#vendor_form .sub-btn").attr("disabled", "disabled"), $("body").addClass("showloader"), e.submit();
        },
    }),
    $(document).on("change", "#category", function () {
        var e = $(this).val();
        "" != e &&
            $.ajax({
                url: base_url + "home/get_location_on_property_type",
                type: "POST",
                data: { property_type: e },
                success: function (e) {
                    "" != e && $("#loc").html(e);
                },
                error: function (e, a, r) {},
            });
    }),
    $(document).on("change", "#loc", function () {
        "" != $(this).val() &&
            $.ajax({
                url: base_url + "home/get_property_on_property_location",
                type: "POST",
                data: { property_loc: $(this).val() },
                success: function (e) {
                    "" != e && $("#find").html(e);
                },
                error: function (e, a, r) {},
            });
    }),
    $("#prop-finder").validate({
        rules: { category: { required: !0 }, loc: { required: !0 }, find: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            var a = $("#prop-finder #find").val();
            return window.open(a, "_blank"), !1;
        },
    }),
    $("#project_details_enquire").validate({
        rules: { name: { required: !0, alphabets: !0, maxlength: 100, minlength: 3 }, email: { required: !0, email: !0 }, phone: { required: !0, intlTelNumber: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            a.preventDefault(),
                $("#project_details_submit").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $("#phone").val(),
                $.ajax({
                    url: base_url + "home/project_enquiry",
                    type: "POST",
                    data: { name: $("#project_details_enquire #name").val(), email: $("#project_details_enquire #email").val(), phone: $("#project_details_enquire #phone").val(), project_interested: $("#project_interested").val() },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        (window.location.href = base_url + "home/thank_you/project-details"), $("#project_details_enquire")[0].reset();
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $.validator.addMethod(
        "filesize",
        function (e, a, r) {
            return this.optional(a) || a.files[0].size <= r;
        },
        "File size must be less than {0}"
    ),
    $("#channel_partner_form").validate({
        rules: {
            name: { required: !0, alphabets: !0, maxlength: 100, minlength: 3 },
            owner_name: { required: !0, alphabets: !0, minlength: 3 },
            entity: { required: !0 },
            office_address: { required: !0 },
            email_id: { required: !0, email: !0 },
            phoneno: { required: !0 },
            website: { required: !0 },
            pan_card_no: { required: !0, alpha_num: !0 },
            tax_no: { alpha_num: !0 },
            tin_no: { numuric: !0 },
            broker_asso: { required: !0 },
            "area[]": { required: !0 },
            "expertise[]": { required: !0 },
            "interested_in[]": { required: !0 },
            authorised_signatories: { required: !0 },
            authorised_signatories_name1: { required: !0, alphabets: !0 },
            authorised_signatories_designation1: { required: !0, designation: !0 },
            authorised_signatories_name2: { alphabets: !0 },
            authorised_signatories_designation2: { designation: !0 },
            years_in_operation: { required: !0 },
            agree: { required: !0 },
            pan_card: { required: !0, accept: "image/jpg,image/jpeg,image/png", filesize: 2e6 },
            adhar_card: { required: !0, accept: "image/jpg,image/jpeg,image/png", filesize: 2e6 },
        },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            return $("body").addClass("showloader"), $("#submitButton").attr("disabled", "disabled"), message_for_applicant("submitted Successfully"), !0;
        },
    }),
    $(document).on("click", "#resend", function () {
        $("#otp_authentication #span_otperror").html("New OTP has been send."),
            $("#otp_authentication #span_otperror").show(),
            $("#otp_authentication #lblotp").val(),
            $("#channel_partner_form #match_otp").val(),
            $("#channel_partner_form #phoneno").val();
    }),
    $("#nri-prop-finder").validate({
        rules: { nri_full_name: { required: !0 }, nri_email: { required: !0, email: !0 }, nri_phone: { required: !0, intlTelNumber: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $(':input[type="submit"]').prop("disabled", !0),
                $.ajax({
                    url: base_url + "home/save_nri_details",
                    type: "POST",
                    data: { country: $("#hdn_country").val(), dialcode: $("#hdn_dialcode").val(), full_name: $("#nri_full_name").val(), nri_email: $("#nri_email").val(), phone: $("#nri_phone").val(), location: $("#nri_loc").val() },
                    success: function (e) {
                        console.log(e),
                            $("#nri_full_name").val(""),
                            $("#nri_email").val(""),
                            $("#nri_phone").val(""),
                            $("#nri_loc").val(""),
                            $("option:selected").prop("selected", !1),
                            (window.location.href = base_url + "home/thank_you/nri"),
                            $(".nri-error-success").html("Thank you for enquiring with us."),
                            $(':input[type="submit"]').prop("disabled", !1);
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                });
        },
    }),
    $("#cplist_form").validate({
        rules: { email_cplist: { required: !0, email: !0 }, sel_pro: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $.ajax({
                url: base_url + "home/check_cplist",
                type: "POST",
                data: { email: $("#email_cplist").val(), project: $("#sel_pro").val() },
                success: function (e) {
                    var a = $("#sel_pro").val();
                    "success" == e
                        ? ((a =
                              "Omkar Alta Monte" == a
                                  ? "altamonte.pdf"
                                  : "Omkar Meridia" == a
                                  ? "meredia.pdf"
                                  : "Omkar Vive" == a
                                  ? "Vive.pdf"
                                  : "TSBB The Summit" == a
                                  ? "TSBB.pdf"
                                  : "Omkar Lawns and Beyond" == a
                                  ? "LandB.pdf"
                                  : "Omkar Trilliant" == a
                                  ? "Trilliant.pdf"
                                  : ""),
                          $("#email_cplist").val(""),
                          $("option:selected").prop("selected", !1),
                          (window.location.href = base_url + "home/download_cpkit/" + a),
                          $("#cpkit-popup-m").hide(),
                          $(".cp_page").removeClass("modal-open"),
                          $(".fade.in").css("opacity", "0"))
                        : ($("#email_cplist").addClass("error"), $(".invalid_cplist").addClass("error"), $(".invalid_cplist").html("Email ID not Registered with us"));
                },
                error: function (e, a, r) {
                    $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                },
            });
        },
    }),
    $("#omka-roadblock").validate({
        rules: { roadblock_name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 }, roadblock_email: { required: !0, email: !0 }, roadblock_phone: { required: !0, intlTelNumber: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $("#omka-roadblock .cls").prop("disabled", !0),
                $("#omka-roadblock .btn").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $.ajax({
                    url: base_url + "home/project_enquiry",
                    type: "POST",
                    data: { name: $("#roadblock_name").val(), email: $("#roadblock_email").val(), phone: $("#roadblock_phone").val(), project_interested: $("#roadblock_project_interested").val(), message: "", type: "2" },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        e = $.parseJSON(e);
                        $("#roadblock_phone").val(),
                            $("#enquiry_id").val(e.id),
                            $("#tbl_project").val("project_contact_enquiry"),
                            $("input[type=text]").val(""),
                            $("input[type=email]").val(""),
                            $("#applicant_address").val(""),
                            $("input[type=phone]").val(""),
                            $("#comments").val(""),
                            $(".omkar-close").trigger("click");
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#top_form").validate({
        rules: {
            top_name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 },
            top_email_id: { required: !0, email: !0 },
            phone: { required: !0, intlTelNumber: !0 },
            top_project_name: { required: !0 },
            top_message: { required: !0 },
            captcha1: { required: !0 }
        },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e, a) {
            a.preventDefault();
            var captchaValue = $("#captcha1").val();
            var codeValue = $("#code1").val();
            if (captchaValue !== codeValue) {
                alert("Captcha does not match. Please try again.");
                return false; // Stop form submission
            }
            $("#btn_submit").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $.ajax({
                    url: base_url + "home/project_enquiry",
                    type: "POST",
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    data: { name: $("#top_name").val(), email: $("#top_email_id").val(), phone: $("#top_contact_no").val(), project_interested: $("#top_project_name").val(), message: $("#top_message").val(), type: "2" },
                    success: function (e) {
                        e = $.parseJSON(e);
                        $("#top_contact_no").val(),
                            $("#enquiry_id").val(e.id),
                            $("#tbl_project").val("project_contact_enquiry"),
                            $(".fancybox-close").click(),
                            $("#message_for_applicant").html("Thank you for contacting us. Our team will get back to you."),
                            $("input[type=text]").val(""),
                            $("input[type=email]").val(""),
                            $("#applicant_address").val(""),
                            $("input[type=phone]").val(""),
                            $("#comments").val("");
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#top_form_broucher").validate({
        rules: { br_top_name: { required: !0, alphabets: !0, minlength: 3, maxlength: 100 }, br_top_email_id: { required: !0, email: !0 }, phone: { required: !0, intlTelNumber: !0 }, br_top_message: { required: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $("#top_form_broucher #btn_broucher").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $.ajax({
                    url: base_url + "home/project_enquiry",
                    type: "POST",
                    data: { name: $("#br_top_name").val(), email: $("#br_top_email_id").val(), phone: $("#br_top_contact_no").val(), project_interested: $("#current_project_name").val(), message: $("#br_top_message").val(), type: "2" },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        e = $.parseJSON(e);
                        $("#br_top_contact_no").val(),
                            $("#enquiry_id").val(e.id),
                            $("#tbl_project").val("project_contact_enquiry"),
                            $(".fancybox-close").click(),
                            $("#message_for_applicant").html("Submitted Successfully"),
                            $("input[type=text]").val(""),
                            $("input[type=email]").val(""),
                            $("#applicant_address").val(""),
                            $("input[type=phone]").val(""),
                            $("#comments").val(""),
                            $(".fancybox-close").trigger("click");
                    },
                    error: function (e, a, r) {
                        $("#message_for_applicant").html("Some error occured"), $("#message_for_applicant").addClass("error_msg");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#mbassy_form").validate({
        rules: {
            name: { required: !0, alphabets: !0, maxlength: 100, minlength: 3 },
            residential_address_zone: { required: !0 },
            residential_address: { required: !0 },
            project_name: { required: !0 },
            phone1: { required: !0, mobile: !0 },
            flat_no: { required: !0 },
            alternate_no: { mobile: !0 },
            wing_no: { required: !0 },
            email: { required: !0, email: !0 },
            ref_name1: { required: !0, alphabets: !0, maxlength: 100, minlength: 3 },
            ref_phone1: { required: !0, mobile: !0 },
            ref_email1: { required: !0, email: !0 },
        },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $("#project_details_submit").attr("disabled", "disabled"), $("body").addClass("showloader"), e.submit();
        },
    }),
    $("#whats-app").validate({
        rules: { whatsapp_name: { required: !0, alphabets: !0, maxlength: 100, minlength: 3 }, whatsapp_phone: { required: !0, mobile: !0 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            $("#dsk-whatsapp-btn").attr("disabled", "disabled"),
                $("body").addClass("showloader"),
                $.ajax({
                    url: base_url + "home/whatsapp_enquiry",
                    type: "POST",
                    data: { name: $("#whatsapp_name").val(), mobile_no: $("#whatsapp_phone").val(), country: $("#hdn_country_whats").val(), dialcode: $("#hdn_dialcode_whats").val() },
                    beforeSend: function () {
                        $(".loader").show();
                    },
                    success: function (e) {
                        $("#whatsapp_phone").val(), $("#enquiry_id").val(e), $("#tbl_project").val("whatsapp_enquiries"), $(".fancybox-close").click(), (window.location.href = base_url + "home/thank_you/whatsapp");
                    },
                    error: function (e, a, r) {
                        alert("Some error occurred");
                    },
                    complete: function () {
                        $(".loader").hide();
                    },
                });
        },
    }),
    $("#pln-enquiry").validate({
        rules: { name: { required: !0, alphabets: !0 }, email: { required: !0, email: !0 }, mobile: { numuric: !0, required: !0 }, configuration: { alpha_num: !0, maxlength: 100 } },
        onkeyup: !1,
        errorPlacement: function (e, a) {},
        submitHandler: function (e) {
            var a = $("#phone").val(),
                r = $("#name").val(),
                t = $("#email").val(),
                o = $("#configuration").val(),
                n = $("#layout").val(),
                i = $("#brochure").val();
            $.ajax({
                url: base_url + "home/floor_plan_enquiry",
                type: "POST",
                data: { name: r, email: t, mobile: a, configuration: o, layout: n },
                success: function (e) {
                    window.open(base_url + "uploads/brochures/" + i, "_blank"), window.location.reload();
                },
                error: function (e, a, r) {
                    return alert(a), !1;
                },
            });
        },
    });

........