1function validate_rating_form(){var e=!1;if($("#input-1").css("border",""),$("#input-2").css("border",""),$("#message_r").css("border",""),$(".control-label").css("color",""),""==$.trim($("#input-1").val())&&($("#input-1").css("border","1px solid red"),e=!0),""==$.trim($("#input-2").val())&&($("#input-2").css("border","1px solid red"),e=!0),""==$("#rate").val()&&($(".control-label").css("color","red"),e=!0),""==$("#message_r").val()&&($("#message_r").css("border","1px solid red"),e=!0),1==e)return!1;$("#submit_rating").prop("disabled",!0),$("#submit_rating").html("Please wait..."),$("#review_form").submit()}function validaterf(){var e=!1;if($("#rfname").css("border",""),$("#exist_email").css("border",""),$("#rfnumber").css("border",""),$("#exist_ordercode").css("border",""),$("#olddeadline").css("border",""),$("#newdeadline").css("border",""),$("#rfreason").css("border",""),""==$.trim($("#rfname").val())&&($("#rfname").css("border","1px solid red"),e=!0),""==$("#exist_email").val())$("#exist_email").addClass("has-error"),e=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#exist_email").val())||($("#exist_email").css("border","1px solid red"),e=!0)}if(""==$("#exist_ordercode").val().trim()&&($("#exist_ordercode").css("border","1px solid red"),e=!0),""==$("#olddeadline").val().trim()&&($("#olddeadline").css("border","1px solid red"),e=!0),""==$("#newdeadline").val()&&($("#newdeadline").css("border","1px solid red"),e=!0),""==$("#rfreasonfor").val()&&($("#rfreasonfor").css("border","1px solid red"),e=!0),1==e)return!1;$("#rfbtn").prop("disabled",!0),$("#rfbtn").html("Please wait...");var t=$(".rfndFM")[0],a=new FormData(t);$.ajax({url:"https://www.sampleassignments.com/support_send-details.php",type:"POST",data:a,contentType:!1,cache:!1,processData:!1,beforeSend:function(){},complete:function(){},success:function(e){var t=e.replace(/\n/g,"").split("___")[0];window.location="https://www.sampleassignments.com/refund-thanks.html?ti="+t.trim()},error:function(){}})}function send_otp(e=""){var t="";""!=e.trim()&&(t=e),$("#opt_err").html(""),$("#user_otp").val(""),$("#otp_verification_section").hide();var a=!1;$("#exist_email_err").html(""),$("#otp_send_btn").show(),$(".otpMsg").hide();var s=$("#exist_email").val();if(""==s.trim())$("#exist_email").addClass("empty_field"),$("#exist_email_err").html("Please enter email"),a=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#exist_email").val())?$("#exist_email").removeClass("empty_field"):($("#exist_email").addClass("empty_field"),$("#exist_email_err").html("Please enter a valid email"),a=!0)}if(1==a)return!1;$.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:{get:"send_otp",email:s,action:"send",ticket_from:t},beforeSend:function(){$("#otp_send_btn").html("Please wait...")},complete:function(e){},success:function(e){if("0"!=(e=e.trim())){var t=e.split("Mailer Error:")[0];$("#otp_send_btn").html("Send OTP"),$("#old_otp").val(t),$("#otp_verification_section").show(),start_resend_counter(),$("#couter_id").val("90"),$("#otp_send_btn").hide(),$(".otpMsg").show(),$("#rst_email_btn").show()}else $("#exist_email_err").html("No orders associated with this email. Please share the email Id with which order was placed."),$("#otp_send_btn").html("Send OTP"),$("#otp_send_btn").show(),$("#otp_send_btn").prop("disabled",!0),$("#otp_send_btn").addClass("ob"),$("#rst_email_btn").show()},error:function(e){console.log("An error occurred."),console.log(e)}})}function change_order_email(e=""){$("#exist_email").val(""),$("#exist_email").focus(),$("#exist_email_err").html(""),""!=$("#old_otp").val().trim()&&($("#otp_verification_section").hide(),$("#otp_send_btn").show(),$("#old_otp").val(""),$("#rst_email_btn").hide(),$(".otpMsg").hide(),$("#opt_err").hide())}function verify_otp(){$("#user_otp").removeClass("empty_field"),$(".otpMsg").hide(),$("#exist_ordercode").empty().append('<option value="">Select Your Order</option>'),$("#opt_err").hide();var e=$("#exist_email").val(),t=$("#user_otp").val(),a=$("#old_otp").val();
1return $("#otp_err").html(""),""==t.trim()?($("#opt_err").html("Please Enter OTP"),$("#user_otp").addClass("empty_field"),$("#opt_err").show(),!1):t.trim()!=a.trim()?($("#user_otp").addClass("empty_field"),$("#opt_err").html("The OTP you entered is incorrect!"),$("#opt_err").show(),!1):void $.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:{get:"verify_otp",email:e,user_otp:t,action:"send"},beforeSend:function(){$(".otpbtn").html("Please wait..."),$("#exist_ordercode > option:first-child").text("Fetching your Orders. Please wait...")},complete:function(e){},success:function(e){$(".otpbtn").html("Verify OTP");var t=(t=e.replace(/\n/g,"")).split("___"),a=$("#exist_country_code").val().trim();if(""!=t[0].trim()){$("#exist_ordercode").append(t[0]),$("#exist_ordercode > option:first-child").text("Select Your Order"),$(".otpbtn").html("Verified"),$("#client_id").val(t[1]),$("#exist_name").val(t[2]);var s=t[3].replace(a,"");$("#exist_phone").val(s),$(".otpbtn").prop("disabled",!0),$("#resend_btn, #resend_counter_msg").hide(),$("#verifiedField").val("1"),$("#oc_ci").show()}else $("#exist_ordercode > option:first-child").text("No orders associated with this email. Please share the email Id with which order was placed.")},error:function(e){console.log("An error occurred."),console.log(e)}})}function verify_otp_for_rr(){$(".otpMsg").hide(),$("#user_otp").removeClass("empty_field"),$("#exist_ordercode").empty().append('<option value="">Select Your Order</option>'),$("#opt_err").hide();var e=$("#exist_email").val(),t=$("#user_otp").val(),a=$("#old_otp").val();return $("#otp_err").html(""),""==t.trim()?($("#opt_err").html("Please Enter OTP"),$("#user_otp").addClass("empty_field"),$("#opt_err").show(),!1):t.trim()!=a.trim()?($("#user_otp").addClass("empty_field"),$("#opt_err").html("The OTP you entered is incorrect!"),$("#opt_err").show(),!1):void $.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:{get:"verify_otp",email:e,user_otp:t,action:"send"},beforeSend:function(){$(".otpbtn").html("Please wait...")},complete:function(e){},success:function(e){$(".otpbtn").html("Verify OTP"),""!=e.replace(/\n/g,"").split("___")[0].trim()?window.location="https://www.sampleassignments.com/revision-request":$("#exist_ordercode > option:first-child").text("No orders associated with this email. Please share the email Id with which order was placed.")},error:function(e){console.log("An error occurred."),console.log(e)}})}function verify_otp_for_rf(){$(".otpMsg").hide(),$("#user_otp").removeClass("empty_field"),$("#exist_ordercode").empty().append('<option value="">Select Order</option>'),$("#opt_err").hide();var e=$("#exist_email").val(),t=$("#user_otp").val(),a=$("#old_otp").val();return $("#otp_err").html(""),""==t.trim()?($("#opt_err").html("Please Enter OTP"),$("#user_otp").addClass("empty_field"),$("#opt_err").show(),!1):t.trim()!=a.trim()?($("#user_otp").addClass("empty_field"),$("#opt_err").html("The OTP you entered is incorrect!"),$("#opt_err").show(),!1):void $.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:{get:"verify_otp",email:e,user_otp:t,action:"send"},beforeSend:function(){$(".otpbtn").html("Please wait...")},complete:function(e){},success:function(e){var t;$(".otpbtn").html("Verify OTP"),""!=(t=(t=e.replace(/\n/g,"")).split("___"))[0].trim()?($("#exist_ordercode").append(t[0]),$("#exist_ordercode > option:first-child").text("Select Your Order"),$(".otpbtn").html("Verified"),$("#rf_client_id").val(t[1]),$("#rfname").val(t[2]),$("#rfnumber").val(t[3]),$(".otpbtn").prop("disabled",!0),$("#resend_btn, #resend_counter_msg").hide(),$("#verifiedField").val("1"),$("#other_details").show(),$(".email_div, #otp_verification_section").hide()):$("#exist_ordercode > option:first-child").text("No orders associated with this email. Please share the email Id with which order was placed.")},error:function(e){console.log("An error occurred."),console.log(e)}})}function start_resend_counter(){setInterval(function(){$("#resend_btn").hide(),"1"!=$("#verifiedField").val().trim()&&$("#resend_counter_msg").show(),0!=$("#couter_id").val()&&($("#couter_id").val(parseInt($("#couter_id").val())-1),$("#resend_counter_msg").html("Resend OTP in<b> "+$("#couter_id").val()+" </b>sec")),$("#couter_id").val()<=0&&("1"!=$("#verifiedField").val().trim()&&$("#resend_btn").show(),$("#resend_counter_msg").hide())},1e3)}function validateExitingFrom(){var e=!1,t=($("#client_id").val(),$("#exist_ordercode").val()),a=$("#reason").val(),s=$("#exist_name").val(),o=$("#exist_email").val(),r=($("#exist_phone").val(),$("#hour").val()),i=$("#minute").val(),l=$
1("#exist_comment").val();if($("#exist_email_err").html(""),""==t.trim()?($("#exist_ordercode").addClass("empty_field"),e=!0):$("#exist_ordercode").removeClass("empty_field"),""==s.trim()?($("#exist_name").addClass("empty_field"),e=!0):$("#exist_name").removeClass("empty_field"),""==o.trim())$("#exist_email").addClass("empty_field"),e=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#exist_email").val())?$("#exist_email").removeClass("empty_field"):($("#exist_email").addClass("empty_field"),e=!0)}if($("#exist_phone").val().trim().length<9||$("#exist_phone").val().trim().length>15?($("#exist_phone").addClass("empty_field"),e=!0):$("#exist_phone").removeClass("empty_field"),""==r.trim()?($("#hour").addClass("empty_field"),e=!0):$("#hour").removeClass("empty_field"),""==i.trim()?($("#minute").addClass("empty_field"),e=!0):$("#minute").removeClass("empty_field"),""==a.trim()?($("#reason").addClass("empty_field"),e=!0):$("#reason").removeClass("empty_field"),""==l.trim()?($("#exist_comment").addClass("empty_field"),e=!0):$("#exist_comment").removeClass("empty_field"),""==$("#exist_form_captcha").val()?($("#exist_form_captcha").addClass("empty_field"),e=!0):$("#exist_form_captcha").val()!=$("#captcha_hidden_value_ef").val()?($("#exist_form_captcha").addClass("empty_field"),e=!0):$("#exist_form_captcha").removeClass("empty_field"),0==$("#condi").prop("checked")&&($(".tick").css("color","red"),e=!0),1==e)return!1;$(".nextbtn").prop("disabled",!0),$(".nextbtn").html("Please wait...");var d=$("#support_form")[0],n=new FormData(d);$.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:n,cache:!1,contentType:!1,processData:!1,beforeSend:function(){},complete:function(e){},success:function(e){$(".nextbtn").prop("disabled",!1);var t=e.replace(/\n/g,"").split("___")[0];window.location="support-thanks.html?ti="+t.trim()},error:function(e){console.log("An error occurred."),console.log(e)}})}function checkEmptyField(e){if(""==$("#"+e).val().trim()?$("#"+e).addClass("empty_field"):$("#"+e).removeClass("empty_field"),"exist_ordercode"==e){var t=$("#exist_ordercode option:selected").attr("data-uid");$("#uid").val(t);var a=$("#exist_ordercode option:selected").attr("data-oid");$("#oid").val(a)}if("exist_email"==e)if(""==$("#"+e).val().trim())$("#otp_send_btn").prop("disabled",!0),$("#otp_send_btn").addClass("ob"),$("#"+e).addClass("empty_field");else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#exist_email").val())?($("#otp_send_btn").prop("disabled",!1),$("#otp_send_btn").removeClass("ob"),$("#"+e).removeClass("empty_field")):($("#otp_send_btn").prop("disabled",!0),$("#otp_send_btn").addClass("ob"),$("#"+e).addClass("empty_field"))}}function nospace_input2(e){$("#"+e).keydown(function(e){if(charCode=e.which?e.which:e.keyCode,32==charCode)return!1})}function onlyphone_input2(e){$("#"+e).keydown(function(t){var a=$("#"+e).val();if(charCode=t.which?t.which:t.keyCode,$("#keycode_text").html(charCode),!(charCode>=96&&charCode<=105||charCode>=48&&charCode<=57||8==charCode||46==charCode||9==charCode||13==charCode))return!1;"0"===a.charAt(0)&&(a=a.replace("0","")),a=a.replace("+",""),$("#"+e).val(a),phone_number_validation2(e)})}function phone_number_validation2(e){var t=$("#"+e).val();t=parseInt(t,10),$("#"+e).val(t)}function firstStepValidation(){var e=!1;if(""==$("#exist_email").val().trim())$("#exist_email").addClass("empty_field"),e=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#exist_email").val())?$("#exist_email").removeClass("empty_field"):($("#exist_email").addClass("empty_field"),e=!0)}if(""==$("#exist_ordercode").val().trim()?($("#exist_ordercode").addClass("empty_field"),e=!0):$("#exist_ordercode").removeClass("empty_field"),1==e)return!1;$("#tab1").removeClass("show"),$("#tab1").removeClass("active"),$("#tab2").addClass("show"),$("#tab2").addClass("active"),$("#tab3").removeClass("show"),$("#tab3").removeClass("active"),$(".nav-tabs li:first-child").removeClass("active"),$(".nav-tabs li:nth-child(2)").addClass("active"),$(".nav-tabs li:nth-child(3)").removeClass("active")}function secondStepValidation(){var e=!1,t=($("#reason").val(),$("#exist_name").val()),a=($("#exist_phone").val(),$("#hour").val()),s=$("#minute").val();$("#exist_comment").val();if(""==t.trim()?($("#exist_name").addClass("empty_field"),e=!0):$("#exist_name").removeClass("empty_field"),$("#exist_phone").val().trim().length<9||$("#exist_phone").val().trim().length>15?($("#exist_phone").addClass("empty_field"),e=!0):$("#exist_phone").removeClass("empty_field"),""==a.trim()?($("#hour").addClass("empty_field"),e=!0):$("#hour").removeClass("empty_field"),""==s.trim()?($("#minute").addClass("empty_field"),e=!0):$("#minute").removeClass("empty_field"),1==e)return!1;$("#tab2").removeClass("show"),$("#tab2").removeClass("active"),$("#tab3").addClass("show"),$("#tab3").addClass("active"),$(".nav-tabs li:nth-child(2)").removeClass("active"),$(".nav-tabs li:nth-child(3)").addClass("active")}function form_validate_vs_forms(){var e=!0;if($("#file_1_vs").css("border",""),$("#file_2_vs").css("border",""),$("#file_3_vs").css("border",""),$("#file_4_vs").css("border",""),$("#vs_email").css("border",""),$("#vs_tel").css("border",""),$("#vs_country").css("border",""),$("#vs_capture_deadline").css("border",""),$("#captcha_vs").css("border",""),$(".checkbox_box > label").css("color",""),""==$("#file_1_vs").val()&&(e=!1,$("#file_1_vs").css("border","1p
1x solid red")),""==$("#file_2_vs").val()&&(e=!1,$("#file_2_vs").css("border","1px solid red")),""==$("#file_3_vs").val()&&(e=!1,$("#file_3_vs").css("border","1px solid red")),""==$("#file_4_vs").val()&&(e=!1,$("#file_4_vs").css("border","1px solid red")),""==$("#vs_email").val())e=!1,$("#vs_email").css("border","1px solid red");else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#vs_email").val())||($("#vs_email").css("border","1px solid red"),error_found=!0)}if($("#vs_tel").val().length<7&&(e=!1,$("#vs_tel").css("border","1px solid red")),""==$("#vs_capture_deadline").val()&&(e=!1,$("#vs_capture_deadline").css("border","1px solid red")),""==$("#captcha_vs").val()?(e=!1,$("#captcha_vs").css("border","1px solid red")):$("#captcha_vs").val()!=$("#captcha_hidden_value_vs").val()&&(e=!1,$("#captcha_vs").css("border","1px solid red")),0==$("#com_o_f_tcapply").prop("checked")&&($(".checkbox_box > label").css("color","red"),e=!1),0==e)return!1;$("#submit_v_buttton_vs").html("Please wait...")}function firstStepValidationAyq(){var e=!1;""==$("#question_title").val().trim()?($("#question_title").addClass("empty_field"),e=!0):$("#question_title").removeClass("empty_field");var t=$("#question_desc").val(),a=$("#ayq_file").val();if(""==t.trim()&&""==a?($("#ayq_des").show(),e=!0):$("#ayq_des").hide(),1==e)return!1;$("#tab1").removeClass("show"),$("#tab1").removeClass("active"),$("#tab2").addClass("show"),$("#tab2").addClass("active"),$("#tab3").removeClass("show"),$("#tab3").removeClass("active"),$(".nav-tabs li:first-child").removeClass("active"),$(".nav-tabs li:nth-child(2)").addClass("active"),$(".nav-tabs li:nth-child(3)").removeClass("active")}function secondStepValidationAyq(){var e=!1,t=$("#ayq_name").val(),a=($("#ayq_phone").val(),$("#ayq_email").val());if(""==t.trim()?($("#ayq_name").addClass("empty_field"),e=!0):$("#ayq_name").removeClass("empty_field"),""==a.trim())$("#ayq_email").addClass("empty_field"),e=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#ayq_email").val())?$("#ayq_email").removeClass("empty_field"):($("#ayq_email").addClass("empty_field"),e=!0)}if($("#ayq_phone").val().length<7||$("#ayq_phone").val().length>15?($("#ayq_phone").addClass("empty_field"),e=!0):$("#ayq_phone").removeClass("empty_field"),1==e)return!1;$("#tab2").removeClass("show"),$("#tab2").removeClass("active"),$("#tab3").addClass("show"),$("#tab3").addClass("active"),$(".nav-tabs li:nth-child(2)").removeClass("active"),$(".nav-tabs li:nth-child(3)").addClass("active")}function submit_ayq_form(){var e=!1;(""==$("#com_o_f_subject").val()?($("#com_o_f_subject").addClass("empty_field"),e=!0):$("#com_o_f_subject").removeClass("empty_field"),"Other Subjects"==$("#com_o_f_subject option:selected").text())&&(""==$("#comm_o_f_other_subject").val().trim()?($("#comm_o_f_other_subject").addClass("empty_field"),e=!0):$("#com_o_f_subject").removeClass("empty_field"));if(""==$("#ayq_deadline").val().trim()?($("#ayq_deadline").addClass("empty_field"),e=!0):$("#ayq_deadline").removeClass("empty_field"),""==$("#ayq_wordcount").val().trim()?($("#ayq_wordcount").addClass("empty_field"),e=!0):$("#ayq_wordcount").removeClass("empty_field"),0==$("#tnc3").prop("checked")&&($(".tick").css("color","red"),e=!0),""==$("#com_o_f_captcha_ayq").val()?($("#com_o_f_captcha_ayq").addClass("empty_field"),e=!0):$("#com_o_f_captcha_ayq").val()!=$("#captcha_hidden_value_ayq").val()?($("#com_o_f_captcha_ayq").addClass("empty_field"),e=!0):$("#com_o_f_captcha_ayq").removeClass("empty_field"),1==e)return!1;$(".ayq_submit_btn").prop("disabled",!0),$(".ayq_submit_btn").html("Please wait..."),save_analitics("ayq_form"),$("#ayq_form").submit()}function validate_rr_form(){var e=!1;""==$("#exist_ordercode").val().trim()?($(".exist_ordercode_err").show(),$("#exist_ordercode").val(""),$("#exist_ordercode").focus(),e=!0):$(".exist_ordercode_err").hide();var t=$("#revision_reasion_type").val();(""==t.trim()?($(".revision_reasion_type_err").show(),$("#revision_reasion_type").val(""),$("#revision_reasion_type").focus(),e=!0):$(".revision_reasion_type_err").hide(),"other"==t.trim())?""==$("#reasion_desc").val().trim()?($(".reasion_desc_err").show(),$("#reasion_desc").val(""),$("#reasion_desc").focus(),e=!0):$(".reasion_desc_err").hide():$(".reasion_desc_err").hide();return""==$("#description").val().trim()?($(".description_err").show(),$("#description").val(""),$("#description").focus(),e=!0):$(".description_err").hide(),"0"==$("#deadline").val().trim()?($(".deadline_err").show(),$("#deadline").val(""),$("#deadline").focus(),e=!0):$(".deadline_err").hide(),1!=$("#condi").prop("checked")?($(".tick").css("color","red"),e=!0):$(".tick").css("color",""),1!=e}function countChar(e){var t=e.value.length;t>=50?(e.value=e.value.substring(0,50),$(".character-exceed").show(),$(".character-allow").hide()):($("#charNum").text(50-t),$(".character-exceed").hide(),$(".character-allow").show())}function validate_order_code_field(){if(""==$("#rr_order_code").val().trim())return $("#rr_order_code").css("border","2px solid red"),!1;$("#rr_order_code").css("border","")}$(function(){$(".rate-btn").mouseenter(function(){$(".rate-btn").removeClass("rate-btn-hover");for(var e=$(this).attr("id");e>=0;e--)$(".rate-btn-"+e).addClass("rate-btn-hover")}),$(".rate-btn").mouseleave(function(){$(".rate-btn").removeClass("rate-btn-hover")}
1),$(".rate-btn").click(function(){var e=$(this).attr("id");$("#rate").val(e),$(".rate-btn").removeClass("rate-btn-active");for(var t=e;t>=0;t--)$(".rate-btn-"+t).addClass("rate-btn-active");$("#rate").val(e)})}),$("#exist_name, #ayq_name, #sample_name").keydown(function(e){var t=e.keyCode;8==t||32==t||46==t||t>=35&&t<=40||t>=65&&t<=90||e.preventDefault()}),nospace_input2("exist_email"),nospace_input2("exist_ordercode"),nospace_input2("sample_email"),onlyphone_input2("exist_phone"),onlyphone_input2("phone_sol"),$(document).ready(function(){if(""==$("#current_html").val())a='<div class="flag au"></div>+61',s="13",t="+61",o="Australia",$("#exist_countrySelect").html(a),$("#exist_country").val(s),$("#exist_country_code").val(t),$("#exist_country_name").val(o);else{var e=$("#current_html").val(),t=$("#current_c_code").val(),a='<div class="flag '+e+'"></div>'+t,s=$("#current_country_id").val(),o=$("#current_country").val();$("#exist_countrySelect").html(a),$("#exist_country").val(s),$("#exist_country_code").val(t),$("#exist_country_name").val(o)}$("#exist_country-codes li a").on("click",function(){$("#exist_country").val($(this).attr("value")),$("#exist_country_code").val($(this).attr("data-country-phone-code")),$("#exist_country_name").val($(this).attr("data-country-name")),"oth"!=$(this).attr("data-country-code")?$("#exist_country-codes button span.value").html('<div class="flag '+$(this).attr("data-country-code")+'"></div>'+$(this).attr("data-country-phone-code")):$("#exist_country-codes button span.value").html("Others"),$("#exist_phone").focus()})}),$(".selectOption select").on("change",function(){"other"==$(this).val()?$(".otherTextarea").slideDown("solw"):$(".otherTextarea").slideUp("solw"),$(".fatTRev").removeClass("active")}),$(document).ready(function(){$(".fileAttchWrp").on("click",".addMore",function(){0;$(".fileAttchWrp ul").append('<li><input type="file" name="attch[]" class="form-control" /> <button type="button" class="btn btn-primary minusBtn waves-effect waves-light"> - Remove</button></li>')}),$(".fileAttchWrp").on("click",".minusBtn",function(){0,$(this).parent("li").remove()}),$(".fatTRev select").on("change",function(){"1"==$(this).val()?$(".fatTRev").addClass("active"):$(".fatTRev").removeClass("active")}),$(".select-change").click(function(){$(".fatTRev input").val("Fast Track Revision"),$("#deadline").val($(this).data("val")).trigger("change"),console.log($("#deadline").val()),"Fast Track Revision"==$(".fatTRev input").val()&&$(".fatTRev").addClass("active")})}),$(document).ready(function(e){$("#revision_form").on("submit",function(e){e.preventDefault(),validate_rr_form()&&$.ajax({url:"https://www.sampleassignments.com/support_send-details.php",type:"POST",data:new FormData(this),contentType:!1,cache:!1,processData:!1,beforeSend:function(){$("#loading").show(),$(".rr_submit_btn").hide()},complete:function(){$("#loading").hide(),$(".rr_submit_btn").show()},success:function(e){var t=e.replace(/\n/g,"").split("___")[0];window.location="revision-request/thanks.html?ti="+t.trim()},error:function(){}})})}),nospace_input2("rfemail"),nospace_input2("text_order"),nospace_input2("email_r"),nospace_input2("ayq_email"),GenerateCaptcha2("vs"),GenerateCaptcha2("ef"),GenerateCaptcha2("ayq");var date=new Date;function GenerateCaptcha2(e){var t=Math.ceil(10*Math.random())+"",a=Math.ceil(10*Math.random())+"",s=Math.ceil(10*Math.random())+"",o=new Array(4).join().replace(/(.|$)/g,function(){return(36*Math.random()|0).toString(36)[Math.random()<.5?"toString":"toUpperCase"]()})+t+""+a+s;$("#captcha_hidden_value_"+e).val(o)}function get_user_orders(){$.ajax({type:"POST",url:"https://www.sampleassignments.com/support_send-details.php",data:{action:"get_orders"},beforeSend:function(){},success:function(e){console.log(e);var t=(t=e.replace(/\n/g,"")).split("___");$("#exist_ordercode").append(t[0]),$("#exist_ordercode > option:first-child").text("Select Your Order"),$("#rr_u_email").val(t[4]),$("#rr_u_phone").val(t[3]),$("#rr_u_name").val(t[2]),$("#rr_u_client_id").val(t[1])},error:function(e){console.log("An error occurred.")}})}function show_hide_sample_extra_fields(){$(".infoForm").toggle(),0==$(".additional_fields").prop("checked")?$("#sample_bt
1n").html("Download"):$("#sample_btn").html("Order Now")}date.setHours(date.getHours()+2),$("#vs_capture_deadline, #ayq_deadline").datetimepicker({weekStart:1,todayBtn:1,autoclose:1,todayHighlight:1,format:"mm/dd/yyyy hh:00",startView:2,minView:1,forceParse:0,startDate:date}),$("#newdeadline, #olddeadline").datetimepicker({weekStart:1,todayBtn:1,autoclose:1,todayHighlight:1,format:"mm/dd/yyyy hh:00",startView:2,minView:1,forceParse:0}),$(document).ready(function(){"revision"==$("input[name=ticket_from]").val()&&get_user_orders()}),$(document).ready(function(){GenerateCaptcha("sample");var e=new Date;e.setHours(e.getHours()+4),$("#deadline_sol").datetimepicker({weekStart:1,todayBtn:0,autoclose:1,todayHighlight:1,format:"mm/dd/yyyy hh:00",startView:2,minView:1,forceParse:0,startDate:e}),htm='<div class="flag au"></div>+61',country_id="13",c_code="+61",country="Australia",$("#countrySelect-sol").html(htm),$("#country_sol").val(country_id),$("#country_code_sol").val(c_code),$("#country_name_sol").val(country),$("#country-codes-sol li a").on("click",function(){$("#country_sol").val($(this).attr("value")),$("#country_code_sol").val($(this).attr("data-country-phone-code")),$("#country_name_sol").val($(this).attr("data-country-name")),"oth"!=$(this).attr("data-country-code")?$("#country-codes-sol button span.value").html('<div class="flag '+$(this).attr("data-country-code")+'"></div>'+$(this).attr("data-country-phone-code")):$("#country-codes-sol button span.value").html("Others"),$("#phone_sol").focus()})});var comm_o_f_other_subject='<fieldset class="col-sm-12"><div class="form-group" id="other_sub_sol" style="margin: 15px 0;position: relative; z-index: 100;"><input id="other_subject_sol"name="other_subject_sol" class="form-control" type="text" placeholder="Subject Name *"/></div></fieldset>';function validate_sample_form(){var e=!1,t=$("#sample_name").val();""==t.trim()?($("#sample_name").addClass("empty_field"),e=!0):$("#sample_name").removeClass("empty_field");var a=$("#sample_email").val();if(""==a.trim())$("#sample_email").addClass("empty_field"),e=!0;else{/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test($("#sample_email").val())?$("#sample_email").removeClass("empty_field"):($("#sample_email").addClass("empty_field"),e=!0)}var s=$("#phone_sol").val();""==s.trim()||s.trim().length<9||s.trim().length>15?($("#phone_sol").addClass("empty_field"),e=!0):$("#phone_sol").removeClass("empty_field");var o="0";if(1==$(".additional_fields").prop("checked")){if(o="1",""==$("#subject_sol").val()?($("#subject_sol").addClass("empty_field"),e=!0):$("#subject_sol").removeClass("empty_field"),"Other Subjects"==$("#subject_sol option:selected").text())""==$("#other_subject_sol").val().trim()?($("#other_subject_sol").addClass("empty_field"),e=!0):$("#subject_sol").removeClass("empty_field");""==$("#deadline_sol").val().trim()?($("#deadline_sol").addClass("empty_field"),e=!0):$("#deadline_sol").removeClass("empty_field")}if(""==$("#com_o_f_captcha_sample").val()?($("#com_o_f_captcha_sample").addClass("empty_field"),e=!0):$("#com_o_f_captcha_sample").val()!=$("#captcha_hidden_value_sample").val()?($("#com_o_f_captcha_sample").addClass("empty_field"),e=!0):$("#com_o_f_captcha_sample").removeClass("empty_field"),1==e)return!1;$("#sample_btn").prop("disabled",!0),$("#sample_btn").html("Please wait...");var r=$("#sample-download-btn").attr("data-value"),i=$("#sample-download-btn").attr("data-id"),l=$("#country_code_sol").val()+s;window.open("https://www.sampleassignments.com/dowmload_solution.php?file="+r+"&name="+t+"&email="+a+"&res_id="+i+"&phone="+l+"&assignment_solution="+o,"_blank"),1==$(".additional_fields").prop("checked")?$("#sample_form").submit():($("#sample_btn").prop("disabled",!1),$("#sample_btn").html("Download"),$("#download_text").show(),$("#dwn_row").hide(),$(".mt").html("")),$("#sample_form").trigger("reset")}$(comm_o_f_other_subject).insertAfter("#subject_sol"),$("#other_subject_sol,#other_sub_sol").hide(),$("#subject_sol").on("change",function(){if("Other Subjects"!=$("#subject_sol option:selected").text()){var e=$
1("#subject_sol").val();$("#subject_id_sol").val(e);var t=$("#subject_sol option:selected").text();$("#subject_name_sol").val(t),$("#other_subject_sol, #other_sub_sol").hide()}else $("#other_subject_sol, #other_sub_sol").show(),$("#other_subject_sol").focus(),$("#subject_id_sol").val(""),$("#subject_name_sol").val("")}),$("#other_subject_sol").keyup(function(){$("#subject_name_sol").val($("#other_subject_sol").val().trim())});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.