(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{FDju:function(t,n,e){"use strict";e.d(n,"a",function(){return r});var i=e("6eHG"),s=e("qzEW");function r(t){if(t.value&&t.value.toString().trim()){const n=t.value.toString();if(s.a.isNumber(n))return null;if(!n.match(/[\d]{2}\/[\d]{2}\/[\d]{4}/g))return{dataCompletaInvalida:!0};if(!i.a.isValidDate(n,"DD/MM/YYYY"))return{dataInvalida:!0}}return null}},JAJw:function(t,n,e){"use strict";e.d(n,"a",function(){return s});var i=e("8n1d");function s(t){if(t.value&&t.value.trim()){const n=new RegExp(/^([\+][0-9]{1,3}([ \.\-])?)?([\(][0-9]{1,6}[\)])?([0-9 \.\-]{1,32})(([A-Za-z \:]{1,11})?[0-9]{1,4}?)$/,"g"),e=i.a.removeAllSpecialChars(t.value);if(!n.test(t.value)||e.length<10||i.a.isRepeatedChars(e))return{invalidPhone:!0}}return null}},XyBk:function(t,n,e){"use strict";e.d(n,"a",function(){return i});class i{}},a0Ve:function(t,n,e){"use strict";e.d(n,"a",function(){return s});class i{constructor(t,n){this.id=t,this.descricao=n}}const s={ADMINISTRADOR:new i(1,"Administrador"),CLIENTE:new i(2,"Cliente"),EMPRESA:new i(3,"Empresa"),VENDEDOR:new i(4,"Vendedor")}},eCBd:function(t,n,e){"use strict";e.d(n,"a",function(){return o});var i=e("IheW"),s=e("edFq"),r=e("8Y7J");class o extends s.a{constructor(t){super(t,"admin/clientes")}blockOrUnblockCustomer(t){const n=(new i.h).append("customerId",t.id.toString());return this.http.put(`${this.api}/${this.endpoint}/${t.empresa.id}/bloqueio/usuario`,n)}lockOnlinePaymentReceivement(t){const n=(new i.h).append("customerId",t.toString());return this.http.put(`${this.api}/${this.endpoint}/${this.vendorId}/bloqueio/pagamento-online`,n)}findInactiveCustomers(){return this.http.get(`${this.api}/${this.endpoint}/${this.vendorId}/inactive-customers`)}getCustomerStatus(t){return t?"success":"danger"}getDetachedCustomers(){return this.http.get(`${this.api}/${this.endpoint}/${this.vendorId}/consultas/sem-pedidos-90`)}sendEmail(t){return this.http.post(`${this.api}/${this.endpoint}/${this.vendorId}/send-email`,t)}}o.ngInjectableDef=r["\u0275\u0275defineInjectable"]({factory:function(){return new o(r["\u0275\u0275inject"](i.c))},token:o,providedIn:"root"})},iqQw:function(t,n,e){"use strict";e.d(n,"a",function(){return s});var i=e("05o1");class s extends i.a{constructor(t){super(),this.id=t||null}}},iufN:function(t,n,e){"use strict";e.d(n,"a",function(){return s});var i=e("05o1");class s extends i.a{constructor(t,n,e){super(),this.login=t||"",this.senha=n||"",this.confirmacaoSenha=e||"",this.bloqueado=!1,this.demonstracao=!1}}}}]);