1"use strict";(self.webpackChunkclient_agriicola=self.webpackChunkclient_agriicola||[]).push([[8189],{87832:(x,v,d)=>{d.d(v,{r:()=>p});var e=d(40520),_=d(49518),m=d(43831),h=d(44371),P=d(92340),s=d(5e3);let p=(()=>{class g{constructor(a,i,c){this.httpClient=a,this.basePath=P.N.apiUsers,this.defaultHeaders=new e.WM,this.configuration=new h.V,c&&(this.configuration=c),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new _.H}addToHttpParams(a,i,c){return"object"!=typeof i||i instanceof Date?this.addToHttpParamsRecursive(a,i,c):this.addToHttpParamsRecursive(a,i)}addToHttpParamsRecursive(a,i,c){if(null==i)return a;if("object"==typeof i)if(Array.isArray(i))i.forEach(n=>a=this.addToHttpParamsRecursive(a,n,c));else if(i instanceof Date){if(null==c)throw Error("key may not be null if value is Date");a=a.append(c,i.toISOString().substr(0,10))}else Object.keys(i).forEach(n=>a=this.addToHttpParamsRecursive(a,i[n],null!=c?`${c}.${n}`:n));else{if(null==c)throw Error("key may not be null if value is not object or array");a=a.append(c,i)}return a}adminControllerDeletePlot(a,i="body",c=!1,n){if(null==a)throw new Error("Required parameter plotId was null or undefined when calling adminControllerDeletePlot.");let t,o=this.defaultHeaders;t=this.configuration.lookupCredential("bearer"),t&&(o=o.set("Authorization","Bearer "+t));let r=n&&n.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(o=o.set("Accept",r));let l=n&&n.context;void 0===l&&(l=new e.qT);let u="json";return r&&(r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.delete(`${this.configuration.basePath}/admin/delete-plot/plot/${encodeURIComponent(String(a))}`)}adminControllerDeleteUser(a,i="body",c=!1,n){if(null==a)throw new Error("Required parameter userId was null or undefined when calling adminControllerDeleteUser.");let t,o=this.defaultHeaders;t=this.configuration.lookupCredential("bearer"),t&&(o=o.set("Authorization","Bearer "+t));let r=n&&n.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(o=o.set("Accept",r));let l=n&&n.context;void 0===l&&(l=new e.qT);let u="json";return r&&(r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.delete(`${this.configuration.basePath}/admin/delete-user/user/${encodeURIComponent(String(a))}`)}}return g.\u0275fac=function(a){return new(a||g)(s.\u0275\u0275inject(e.eN),s.\u0275\u0275inject(m.G,8),s.\u0275\u0275inject(h.V,8))},g.\u0275prov=s.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},4309:(x,v,d)=>{d.d(v,{y:()=>p});var e=d(40520),_=d(49518),m=d(43831),h=d(44371),P=d(92340),s=d(5e3);let p=(()=>{class g{constructor(a,i,c){this.httpClient=a,this.basePath=P.N.apiUsers,this.defaultHeaders=new e.WM,this.configuration=new h.V,c&&(this.configuration=c),"string"!=typeof this.configuration.basePath&&("string"!=typeof i&&(i=this.basePath),this.configuration.basePath=i),this.encoder=this.configuration.encoder||new _.H}addToHttpParams(a,i,c){return"object"!=typeof i||i instanceof Date?this.addToHttpParamsRecursive(a,i,c):this.addToHttpParamsRecursive(a,i)}addToHttpParamsRecursive(a,i,c){if(null==i)return a;if("object"==typeof i)if(Array.isArray(i))i.forEach(n=>a=this.addToHttpParamsRecursive(a,n,c));else if(i instanceof Date){if(null==c)throw Error("key may not be null if value is Date");a=a.append(c,i.toISOString().substr(0,10))}
1else Object.keys(i).forEach(n=>a=this.addToHttpParamsRecursive(a,i[n],null!=c?`${c}.${n}`:n));else{if(null==c)throw Error("key may not be null if value is not object or array");a=a.append(c,i)}return a}usersControllerGetById(a,i="body",c=!1,n){if(null==a)throw new Error("Required parameter cropTypeId was null or undefined when calling usersControllerGetById.");let t,o=this.defaultHeaders;t=this.configuration.lookupCredential("bearer"),t&&(o=o.set("Authorization","Bearer "+t));let r=n&&n.httpHeaderAccept;void 0===r&&(r=this.configuration.selectHeaderAccept(["application/json"])),void 0!==r&&(o=o.set("Accept",r));let l=n&&n.context;void 0===l&&(l=new e.qT);let u="json";return r&&(u=r.startsWith("text")?"text":this.configuration.isJsonMime(r)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/users/get_species_by_crop_type/${encodeURIComponent(String(a))}`,{context:l,responseType:u,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:c})}usersControllerGetUsers(a,i,c="body",n=!1,o){if(null==a)throw new Error("Required parameter pageSize was null or undefined when calling usersControllerGetUsers.");if(null==i)throw new Error("Required parameter pageNumber was null or undefined when calling usersControllerGetUsers.");let r,t=this.defaultHeaders;r=this.configuration.lookupCredential("bearer"),r&&(t=t.set("Authorization","Bearer "+r));let l=o&&o.httpHeaderAccept;void 0===l&&(l=this.configuration.selectHeaderAccept(["application/json"])),void 0!==l&&(t=t.set("Accept",l));let u=o&&o.context;void 0===u&&(u=new e.qT);let C="json";return l&&(C=l.startsWith("text")?"text":this.configuration.isJsonMime(l)?"json":"blob"),this.httpClient.get(`${this.configuration.basePath}/users/get_users/pageSize/${encodeURIComponent(String(a))}/pageNumber/${encodeURIComponent(String(i))}`,{context:u,responseType:C,withCredentials:this.configuration.withCredentials,headers:t,observe:c,reportProgress:n})}}return g.\u0275fac=function(a){return new(a||g)(s.\u0275\u0275inject(e.eN),s.\u0275\u0275inject(m.G,8),s.\u0275\u0275inject(h.V,8))},g.\u0275prov=s.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},80953:(x,v,d)=>{d.d(v,{V:()=>c});var e=d(5e3),_=d(93075),m=d(36988),h=d(69808),P=d(91470);function s(n,o){1&n&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1,"*"),e.\u0275\u0275elementEnd())}function p(n,o){if(1&n&&(e.\u0275\u0275elementStart(0,"div",5)(1,"label",6),e.\u0275\u0275text(2),e.\u0275\u0275template(3,s,2,0,"span",7),e.\u0275\u0275elementEnd()()),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",t.label," "),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.required)}}function g(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",8),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().search()}),e.\u0275\u0275element(1,"i",9),e.\u0275\u0275elementEnd()}}function f(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",8),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().search()}),e.\u0275\u0275element(1,"i",10),e.\u0275\u0275elementEnd()}}function a(n,o){if(1&n&&(e.\u0275\u0275elementStart(0,"span",11),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275property("id",t.idInput+"input-alert"),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(t.inputsService.getErrorString(t.control,t.customErrorMessages))}}const i=function(n){return{"input-alert-border":n}};let c=(()=>{class n{constructor(t){this.inputsService=t,this.label="",this.idInput="inputSearch",this.readOnly=!1,this.maxlength=18,this.minlength=4,this.maskRule="",this.customErrorMessages={},this.valueChange=new e.EventEmitter,this.valueDrop=new e.EventEmitter,this.alertMessage="",this.required=!1,this.dropSearch=!1}ngOnInit(){this.required=this.control.hasValidator(_.kI.required)}search(){this.dropSearch?(this.valueDrop.emit(!0),this.dropSearch=!1,this.control.setValue("")):(this.valueChange.emit(!0),this.dropSearch=!0)}}return n.\u0275fac=function(t){return new(t||n)(e.\u0275\u0275directiveInject(m.j
1))},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-input-search"]],inputs:{label:"label",idInput:"idInput",placeholder:"placeholder",control:"control",submit:"submit",readOnly:"readOnly",maxlength:"maxlength",minlength:"minlength",maskRule:"maskRule",customErrorMessages:"customErrorMessages"},outputs:{valueChange:"valueChange",valueDrop:"valueDrop"},decls:7,vars:14,consts:[["class","label-input-container pb-1",4,"ngIf"],[1,"container-input-search"],["type","text","onkeypress","return (\n (event.charCode >= 65 && event.charCode <= 90) || \n (event.charCode >= 97 && event.charCode <= 122) ||\n (event.charCode >= 48 && event.charCode <= 57) ||\n (event.charCode == 225 || event.charCode == 233 || event.charCode == 237 || event.charCode == 243 || event.charCode == 250) ||\n (event.charCode == 193 || event.charCode == 201 || event.charCode == 205 || event.charCode == 211 || event.charCode ==218) ||\n (event.charCode == 164) ||\n (event.charCode == 165) ||\n (event.charCode == 209) ||\n (event.charCode == 241) ||\n (event.charCode == 46) ||\n (event.charCode == 32) ||\n (event.charCode == 47) ||\n (event.charCode >= 34 && event.charCode <= 45)\n )",3,"id","placeholder","formControl","readonly","minlength","maxlength","mask","ngClass"],["class","search-button cursor-pointer",3,"click",4,"ngIf"],["class","input-alert-text",3,"id",4,"ngIf"],[1,"label-input-container","pb-1"],[1,"label-input"],[4,"ngIf"],[1,"search-button","cursor-pointer",3,"click"],[1,"fa-solid","fa-magnifying-glass"],[1,"fa-solid","fa-xmark","font-color-main-strong","icon-delete-search"],[1,"input-alert-text",3,"id"]],template:function(t,r){1&t&&(e.\u0275\u0275template(0,p,4,2,"div",0),e.\u0275\u0275elementStart(1,"div",1),e.\u0275\u0275element(2,"input",2),e.\u0275\u0275template(3,g,2,0,"button",3),e.\u0275\u0275template(4,f,2,0,"button",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(5,"br"),e.\u0275\u0275template(6,a,2,2,"span",4)),2&t&&(e.\u0275\u0275property("ngIf",r.label),e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("placeholder",r.placeholder),e.\u0275\u0275propertyInterpolate("mask",r.maskRule),e.\u0275\u0275property("id",r.idInput)("formControl",r.control)("readonly",r.readOnly)("minlength",r.minlength)("maxlength",r.maxlength)("ngClass",e.\u0275\u0275pureFunction1(12,i,!r.control.valid&&r.submit)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!r.dropSearch),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.dropSearch),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!r.control.valid&&r.submit))},directives:[h.O5,_.Fj,P.hx,_.JJ,_.oH,_.wO,_.nD,h.mk],encapsulation:2,changeDetection:0}),n})()},17872:(x,v,d)=>{d.d(v,{F:()=>c});var e=d(5e3),_=d(92340),m=d(69808),h=d(81786);const P=function(n,o){return{"page-unselected":n,"page-selected":o}};function s(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",16),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext().$implicit;return e.\u0275\u0275nextContext(2).setCurrentPage(l)}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&n){const t=e.\u0275\u0275nextContext().$implicit,r=e.\u0275\u0275nextContext(2);e.\u0275\u0275property("ngClass",e.\u0275\u0275pureFunction2(2,P,t!==r.currentPage,t===r.currentPage)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t," ")}}function p(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",17),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).handleAllPages()}),e.\u0275\u0275text(1," ... "),e.\u0275\u0275elementEnd()}}function g(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275listener("click",function(){const u=e.\u0275\u0275restoreView(t).$implicit;return e.\u0275\u0275nextContext(4).setCurrentPage(u)}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&n){const t=o.$implicit;e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t," ")}}function f(n,o){if(1&n&&(e.\u0275\u0275elementStart(0,"div",18),e.\u0275\u0275template(1,g,2,1,"div",19),e.\u0275\u0275elementEnd()),2&n){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngForOf",t.allPages)}}function a(n,o){if(1&n&&(e.\u0275\u0275elementStart(0,"div",12),e.\u0275\u0275template(1,s,2,5,"div",13),e.\u0275\u0275template(2,p,2,0,"button",14),e.\u0275\u0275template(3,f,2,1,"div",15),e.\u0275\u0275elementEnd()),2&n){const t=o.$implicit,r=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","..."!==t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","..."===t),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","..."===t&&r.showAllPages)}}function i(n,o){if(1&n){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",3)(1,"div",4)(2,"button",5),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().setCurrentPage(1)}),e.\u0275\u0275element(3,"i",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"button",5),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().changePage(!0)}),e.\u0275\u0275element(5,"i",7),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"div",8),e.\u0275\u0275template(7,a,4,3,"div",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"button",5),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().changePage()}),e.\u0275\u0275element(9,"i",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"button",5),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const l=e.\u0275\u0275nextContext();return l.setCurrentPage(l.totalPages)}),e.\u0275\u0275element(11,"i",11),e.\u0275\u0275elementEnd()()()}if(2&n){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngForOf",t.arrayPagesNumber)}}let c=(()=>{class n{constructor(){this.totalPages=9,this.currentPage=1,this.pageChange=new e.EventEmitter,this.showAllPages=!1,this.allPages=[],this.arrayPagesNumber=[],this.numberPage=_.
1N.paginationPages}ngOnChanges(t){t.totalPages.currentValue&&this.calculatePagesNumber()}changePage(t=!1){t&&1!==this.currentPage?(this.currentPage--,this.pageChange.emit({currentPage:this.currentPage,itemsPerPage:this.numberPage})):!t&&this.currentPage!==this.totalPages&&(this.currentPage++,this.pageChange.emit({currentPage:this.currentPage,itemsPerPage:this.numberPage})),this.showAllPages=!1,this.calculatePagesNumber()}setCurrentPage(t){this.currentPage=t,this.pageChange.emit({currentPage:this.currentPage,itemsPerPage:this.numberPage}),this.showAllPages=!1,this.calculatePagesNumber()}handleAllPages(){this.calculateAllPages(),this.showAllPages=!this.showAllPages}calculateAllPages(){this.allPages=[];const t=this.arrayPagesNumber.indexOf("..."),l=this.arrayPagesNumber[t+1];for(let u=this.arrayPagesNumber[t-1]+1;u<l;u++)this.allPages.push(u)}calculatePagesNumber(){if(this.arrayPagesNumber=[],this.totalPages<=6)for(let t=1;t<=this.totalPages;t++)this.arrayPagesNumber.push(t);else{const t=this.currentPage,r=Math.max(1,t-1);let l=Math.min(t+1,this.totalPages);for(let u=r;u<=l;u++)this.arrayPagesNumber.push(u);l<this.totalPages-1?this.arrayPagesNumber.push("..."):(this.arrayPagesNumber.unshift("..."),this.arrayPagesNumber.unshift(1)),l<this.totalPages&&this.arrayPagesNumber.push(this.totalPages)}}handleClickOutside(t){const r=t.target,l=document.querySelector(".container-all-pages"),u=document.querySelector(".btn-more-pages");l&&!l.contains(r)&&u&&!u.contains(r)&&this.showAllPages&&(this.showAllPages=!1)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.\u0275\u0275defineComponent({type:n,selectors:[["app-paginator-control"]],hostBindings:function(t,r){1&t&&e.\u0275\u0275listener("click",function(u){return r.handleClickOutside(u)},!1,e.\u0275\u0275resolveDocument)},inputs:{totalPages:"totalPages",currentPage:"currentPage"},outputs:{pageChange:"pageChange"},features:[e.\u0275\u0275ProvidersFeature([e.HostListener]),e.\u0275\u0275NgOnChangesFeature],decls:7,vars:9,consts:[[1,"paginator"],["class","paginator-content",4,"ngIf"],[1,"information-text","font-color-gray","roboto-font-4"],[1,"paginator-content"],[1,"d-flex","container-controls"],[1,"btn-control","font-color-gray","cursor-pointer",3,"click"],[1,"fa-solid","fa-angles-left","icon-size"],[1,"fa-solid","fa-angle-left","icon-size"],[1,"dinamic-changes","align-items-center"],["class","font-page-selector container-more",4,"ngFor","ngForOf"],[1,"fa-solid","fa-angle-right","icon-size"],[1,"fa-solid","fa-angles-right","icon-size"],[1,"font-page-selector","container-more"],["class","text-center cursor-pointer font-page-selector",3,"ngClass","click",4,"ngIf"],["class","btn-more-pages cursor-pointer",3,"click",4,"ngIf"],["class","container-all-pages",4,"ngIf"],[1,"text-center","cursor-pointer","font-page-selector",3,"ngClass","click"],[1,"btn-more-pages","cursor-pointer",3,"click"],[1,"container-all-pages"],["class","text-center cursor-pointer font-page-selector",3,"click",4,"ngFor","ngForOf"],[1,"text-center","cursor-pointer","font-page-selector",3,"click"]],template:function(t,r){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275template(1,i,12,1,"div",1),e.\u0275\u0275elementStart(2,"div",2)(3,"span"),e.\u0275\u0275text(4),e.\u0275\u0275pipe(5,"translate"),e.\u0275\u0275pipe(6,"translate"),e.\u0275\u0275elementEnd()()()),2&t&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.totalPages>1),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate4("",e.\u0275\u0275pipeBind1(5,5,"shared.keywords.page")," ",r.currentPage," ",e.\u0275\u0275pipeBind1(6,7,"shared.keywords.of")," ",r.totalPages,""))},directives:[m.O5,m.sg,m.mk],pipes:[h.X$],styles:[".paginator[_ngcontent-%COMP%]{position:relative;width:100%;margin:auto auto 20px}.paginator-content[_ngcontent-%COMP%]{display:flex;padding-top:15px;justify-content:center}.btn-control[_ngcontent-%COMP%]{border:0px;background-color:transparent;font-size:large}.btn-control[_ngcontent-%COMP%]:hover{color:var(--color-main1)!important}.dinamic-changes[_ngcontent-%COMP%]{display:flex;padding-left:20px;padding-right:20px}.page-selected[_ngcontent-%COMP%]{margin:0 5px;color:var(--color-main1);border-bottom:2px solid var(--color-main1)}.page-unselected[_ngcontent-%COMP%]{color:var(--color-gray3);margin:0 5px}.information-text[_ngcontent-%COMP%]{position:absolute;top:0}.icon-size[_ngcontent-%COMP%]{font-size:1.6rem}.font-page-selector[_ngcontent-%COMP%]{font-size:1.4rem!important}.font-page-selector[_ngcontent-%COMP%]:hover{color:var(--color-main1)}.paginator-container-number[_ngcontent-%COMP%]{position:relative;display:flex}
1.container-controls[_ngcontent-%COMP%]{padding:8px 12px}.container-more[_ngcontent-%COMP%]{position:relative}.container-all-pages[_ngcontent-%COMP%]{left:0;top:24px;height:150px;padding:5px 10px;position:absolute;overflow-y:scroll;color:var(--color-gray3);background-color:#fff}.btn-more-pages[_ngcontent-%COMP%]{border:0px;font-size:1.3rem;background-color:transparent}"],changeDetection:0}),n})()},36988:(x,v,d)=>{d.d(v,{j:()=>m});var e=d(5e3),_=d(81786);let m=(()=>{class h{constructor(s){this.translateService=s}getErrorString(s,p={}){return s.errors?s.hasError("required")?this.translateService.instant(p.required?p.required:"inputAlerts.required"):s.hasError("minlength")?p.minlength?this.translateService.instant(p.minlength):this.translateService.instant("inputAlerts.minLenght")+s.errors.minlength.requiredLength:s.hasError("maxlength")?p.maxlength?this.translateService.instant(p.maxlength):this.translateService.instant("inputAlerts.maxLenght")+s.errors.maxlength.requiredLength:s.hasError("min")?p.min?this.translateService.instant(p.min):this.translateService.instant("inputAlerts.min")+s.errors.min.min:s.hasError("max")?p.max?this.translateService.instant(p.max):this.translateService.instant("inputAlerts.max")+s.errors.max.max:s.hasError("minDate")?p.minDate?this.translateService.instant(p.minDate):this.translateService.instant("inputAlerts.minDate")+s.errors.date:s.hasError("maxDate")?p.maxDate?this.translateService.instant(p.maxDate):this.translateService.instant("inputAlerts.maxDate")+s.errors.date:s.hasError("email")?this.translateService.instant("inputAlerts.email"):s.hasError("confirmedValidator")?this.translateService.instant("inputAlerts.confirmedValidator"):s.hasError("invalidEmailOrPhone")?this.translateService.instant("inputAlerts.invalidEmailOrPhone"):s.hasError("mask")&&"00000"===s.errors.mask.requiredMask?this.translateService.instant("inputAlerts.zipCode"):"^[A-Z]{4}[0-9]{6}[A-Z0-9]{3}$"===s.errors.pattern.requiredPattern?this.translateService.instant("inputAlerts.rfc"):"/[a-zA-Z]/"===s.errors.pattern.requiredPattern?this.translateService.instant("inputAlerts.noWhiteCaracteres"):"/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])/i"===s.errors.pattern.requiredPattern?this.translateService.instant("inputAlerts.email"):"^[^' ']+$"===s.errors.pattern.requiredPattern?this.translateService.instant("inputAlerts.passwordNoSpace"):"unknown error":""}}return h.\u0275fac=function(s){return new(s||h)(e.\u0275\u0275inject(_.sK))},h.\u0275prov=e.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()}}]);
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.