'+n.GdprConsents[t].Message+"<\/div><\/label > <\/div>",$("#consent-div").append(f);$(".register-page-2").addClass("hidden");$(".register-step2-label").addClass("hidden");$("#existing-customer-info").removeClass("hidden");$(".register-step3-label").removeClass("hidden");$("#form-next-page-consents-button").removeClass("hidden");$("#ConsentsDiv").trigger("consentsDivShown");$(".register-backbutton").hide()},error:function(t){let i="Algo deu errado ao obter as informações do cliente existente";t&&t.status===404&&(i=t.responseText);$("#get-existing-customer-info-progress").hide();$("#get-existing-customer-info-message").removeClass("hidden");$("#get-existing-customer-info-message").text(i);setTimeout(function(){$("#get-existing-customer-info-message").addClass("hidden")},3e3);n()},complete:function(){$("#get-existing-customer-info-button").prop("disabled",!1);$("#ExistingCustomerInfoCompanyName").valid();$("#ExistingCustomerInfoDeliveryPlaceName").valid();$("#ExistingCustomerInfoDeliveryPlaceAddress").valid();$("#ExistingCustomerInfoDeliveryPlacePostalCode").valid();$("#ExistingCustomerInfoDeliveryPlacePhoneNumber").valid();$("#ExistingCustomerInfoDeliveryPlaceBusinessActivityId").valid();$("#ExistingCustomerInfoStoreName").valid()}})}function i(){var i={DeliveryPlaceVat:$("#ExistingCustomerInfoDeliveryPlaceVat").val(),DeliveryPlaceCode:$("#DeliveryPlaceCode").val()},t;addAntiForgeryToken(i);t=$("#ExistingCustomerInfoDeliveryPlaceBusinessActivityId");$.ajax({cache:!1,type:"POST",url:"",data:i,dataType:"json",success:function(n){var i,r,u;for(t.html(""),$.each(n.BusinessActivityMasterDatas,function(n,i){t.append($("