1function eqCheckAndShowOther(){$("#enquiry_form_modal #eqinputRef").val()=="Other"?($("#eqinputRefOtherDiv").removeClass("hide"),$("#eqinputRefOtherDiv").show()):$("#eqinputRefOtherDiv").hide()}function submitEnquiryPopUpForm(){var modalId="#enquiry_form_modal";typeof __timeOutHandlerList=="undefined"&&(__timeOutHandlerList=[]),typeof __timeOutHandlerList[modalId]=="undefined"&&setListnerClearModalMsgOnInputChange(modalId);let em=$("#enquiry_form_modal #eqworkemail").val();if(empty(em)){showModalErrorMsg("#enquiry_form_modal #eqErrorMsg","Email can not be empty","#enquiry_form_modal #eqworkemail");return}if(!isValidEmailAddress(em)){showModalErrorMsg("#enquiry_form_modal #eqErrorMsg","Invalid email","#enquiry_form_modal #eqworkemail");return}if(!isOfficialEmail(em)){showModalErrorMsg("#enquiry_form_modal #eqErrorMsg","Your work domain's email is required","#enquiry_form_modal #eqworkemail");return}let fname=$("#enquiry_form_modal #eqfirstname").val();if(empty(fname)||!fname.match(/[A-Zaz]/i)){showModalErrorMsg("#enquiry_form_modal #eqErrorMsg","First name can not be empty or numeric","#enquiry_form_modal #eqfirstname");return}let lname=$("#enquiry_form_modal #eqlastname").val();if(empty(lname)||!lname.match(/[A-Zaz]/i)){showModalErrorMsg("#enquiry_form_modal #eqErrorMsg","Last name can not be empty or numeric","#enquiry_form_modal #eqlastname");return}let msg=$("#enquiry_form_modal #eqmessage").val();if(empty(msg)||msg.length<20){showModalErrorMsg("","Please provide the message in 20 characters or more","#enquiry_form_modal #eqmessage");return}let jobTitle=$("#enquiry_form_modal #eqjobtitle").val(),companyName=$("#enquiry_form_modal #eqcompanyname").val(),phone=$("#enquiry_form_modal #eqphonenumber").val(),totalEmp=$("#enquiry_form_modal #eqcompanysize").val(),formId=$("#enquiry_form_modal #eqformid").val(),referrer=$("#enquiry_form_modal #eqinputRef").val(),otherReferrer=$("#enquiry_form_modal #eqinputRefOther").val(),dbcRequiredKey=0,dbcRequired=0;if($("#enquiry_form_modal #eqinputDBCCount").length>0&&(dbcRequiredKey=1,dbcRequired=$("#enquiry_form_modal #eqinputDBCCount").val()),empty(referrer)||referrer=="not-selected"){showModalErrorMsg("","Please provide the referrer information","#enquiry_form_modal #eqinputRef");return}if(referrer=="Other"&&empty(otherReferrer)){showModalErrorMsg("","Please provide the other referrer information","#enquiry_form_modal #eqinputRefOther");return}let formdata={cmd:"submitWebEnquiryForm",form_name:formId,email:em,fname,lname,job_title:jobTitle,company_name:companyName,phone,total_employees:totalEmp,referrer,other_referrer:otherReferrer,msg,page_id:window.location.href,dbc_key_exist:dbcRequiredKey,dbc_count:dbcRequired};showLoaderOnBlock(),typeof FormParser!="undefined"&&(FormParser.containerSelector="#enq_popup_main");let tokenData=$("#enq_popup_main input[name=_t]").val();!isEmpty(tokenData)&&tokenData!="#"&&(formdata._t=tokenData),$.post("//"+__api_domain+"/user/services/openapi",formdata,function(response){if(isCaptchaRequired(response,function(token){isEmpty(token)||(hideLoader(),$("#enquiry_form_modal").find(".h-captcha").remove())})&&(hideLoader(),json=parseResponseData(response),json._parseCode)){let errorMsg=getObjectData(response,["errorMsg"]);getObjectData(response,["errorCode"])!==0?showAlertMessage("S",empty(errorMsg)?"Something went wrong!":errorMsg):showAlertMessage("S","Your request is successfully submitted. Our sales representative will soon contact you.",function(){$("#enquiry_form_modal").modal("hide")},1)}})}function showEnquiryPopUpModal(formId="DefaultWebForm",requiredDBC=!1){let value=0;requiredDBC&&($("#custom_dbc_plan").hasClass("show")&&$("#custom_dbc_plan").modal("hide"),$(".modal-backdrop").hasClass("show")&&$(".modal-backdrop").hide(),value=$("input[name=dbc_card_count]").val()),typeof formId=="undefined"&&(formId="DefaultWebForm"),$("#enquiry_form_modal").length>0&&$("#enquiry_form_modal").remove();let html=` 2 <div class="modal fade" id="enquiry_form_modal" tabindex="-1" role="dialog" aria-labelledby="enquiry_form_modal" 3 aria-hidden="true"> 4 <div class="modal-dialog modal-lg schedule_demo_popup" role="document"> 5 <div class="modal-content"> 6 <div class="modal-header border-0"> 7 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
8 <span aria-hidden="true">×</span> 9 </button> 10 </div> 11 <div class="modal-body"> 12 <div class="row"> 13 <div class="col-md-6 text-center"> 14 <div class="enq_popup_left"> 15 <h3 class="font-weight-bold">Schedule a personalized demo 16 <br/>for your use case 17 with our QR code expert</h3> 18 19 <img src="`+getCdnUrl()+`/images/enquiry_form/sales_person.png" class="mb-3 mt-3" /><br /> 20 <strong> Mayuri B.</strong> 21 <div class="section_border"></div> 22 <img src="`+getCdnUrl()+`/images/enquiry_form/enquiry_brands_logo.webp?v=2" class="img-fluid" /> 23 </div> 24 </div> 25 <div class="col-md-6"> 26 <form id="enq_popup_main"> 27 <div class="qrc_form_step_wrapper"> 28 <div class="form-row"> 29 <div class="form-group col-md-12"> 30 <label for="eqworkemail">Work Email *</label> 31 <input type="email" class="form-control" required id="eqworkemail"> 32 <input type="hidden" class="form-control" value="`+formId+`" id="eqformid"> 33 </div> 34 </div> 35 <div class="form-row"> 36 <div class="form-group col-md-6"> 37 <label for="eqfirstname">First Name *</label> 38 <input type="text" class="form-control" id="eqfirstname"> 39 </div> 40 <div class="form-group col-md-6"> 41 <label for="eqlastname">Last Name *</label> 42 <input type="text" class="form-control" id="eqlastname"> 43 </div> 44 </div> 45 46 <div class="form-row"> 47 <div class="form-group col-md-6"> 48 <label for="eqjobtitle">Job Title</label> 49 <input type="text" class="form-control" id="eqjobtitle"> 50 </div> 51 <div class="form-group col-md-6"> 52 <label for="eqcompanyname">Company Name</label> 53 <input type="text" class="form-control" id="eqcompanyname"> 54 </div> 55 </div> 56 <div class="form-row"> 57 <div class="form-group col-md-6"> 58 <label for="eqphonenumber">Phone Number</label> 59 <input type="text" class="form-control" id="eqphonenumber"> 60 </div> 61 <div class="form-group col-md-6"> 62 <label for="eqcompanysize">Total Employees</label> 63 <input type="text" class="form-control" id="eqcompanysize" placeholder="e.g. 15"> 64 </div> 65 </div> 66 <div class="form-group"> 67 <label for="eqmessage"> 68 Our demo is designed for users interested in discovering our premium features and paid plans. Please briefly share your use case so we can provide the best assistance. *</label> 69 <textarea class="form-control" id="eqmessage" placeholder="type here..." 70 rows="3"></textarea> 71 </div> 72 <div class="form-row"> 73 <div class="form-group col-md-12"> 74 <label for="eqinputRef">How did you learn about us? *</label> 75 <select id="eqinputRef" class="form-control" onchange="eqCheckAndShowOther();"> 76 <option selected value="not-selected">-- Select --</option> 77 <option value="Google">Google</option> 78 <option value="Instagram">Instagram</option> 79 <option value="Linkedin">Linkedin</option> 80 <option value="Friend">Friend</option> 81 <option value="Email">Email</option> 82 <option value="Other">Other medium</option> 83 </select> 84 </div> 85 </div> 86 <div class="form-group hide" id="eqinputRefOtherDiv"> 87 <label for="eqmessage">Please provide the details of other medium </label> 88 <input type="text" class="form-control" id="eqinputRefOther" placeholder="type here.."/> 89 </div> 90 91 `+(requiredDBC?` 92 <div class="form-group" id="eqinputDBCCountDiv"> 93 <label for="eqmessage">Digital Business Card Required </label> 94 <input type="text" value="`+value+`" class="form-control" id="eqinputDBCCount" placeholder="type here.."/> 95 </div> 96 `:"")+` 97 98 99 <!-- div id="eqErrorMsg" class="red error"></div --> 100 <div class="qrc_form_action_btn"> 101 <button type="button" onclick="submitEnquiryPopUpForm(); return false;" class="btn btn-primary w-100">Submit</button> 102 </div> 103 </div> 104 <div class="qrc_form_step_wrapper d-none"></div> 105 </form> 106 </div> 107 </div> 108 </div> 109 110 </div> 111 </div> 112 </div>`;$("body").append(html),$("#enquiry_form_modal").modal("show")}$(document).ready(function(){let currUrl=window.location.href;(currUrl.indexOf("?spop=Y")!=-1||currUrl.indexOf("&spop=Y")!=-1)&&showEnquiryPopUpModal()});
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.