PageSourceSearch

https://simiti-bolivar.gov.co/chunk-YMUHLDV5.js

js simiti-bolivar.gov.co collected 2026-09-25 11:33:05 UTC 5,275 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-SPSMUDOJ.js";import{a as W}from"./chunk-C7WKRNUX.js";import"./chunk-BAGWPQZV.js";import{A,D as q,c as I,g as T,h as N,j as F,l as L,m as k,x as R,z as j}from"./chunk-TZ2MW36L.js";import{a as D}from"./chunk-WZBVDNS6.js";import{a as M}from"./chunk-3KOQRKYT.js";import{t as y}from"./chunk-MTKRVMUJ.js";import"./chunk-SHTGYNA2.js";import"./chunk-4YERUHPX.js";import{Db as g,Ib as x,Jb as s,Sb as _,Tb as c,Xa as a,Ya as u,Yb as E,Zb as b,_b as V,ac as w,da as S,ib as p,mb as m,na as v,oa as C,sb as d,xb as n,yb as i,zb as f}from"./chunk-DQGQ5ICO.js";import"./chunk-4IDNTCH7.js";function P(t,o){t&1&&(n(0,"span"),c(1,"Debes ingresar un c\xF3digo"),i())}function z(t,o){t&1&&(n(0,"span"),c(1,"Debes ingresar un c\xF3digo v\xE1lido"),i())}function G(t,o){if(t&1&&(n(0,"div",12),p(1,P,2,0,"span")(2,z,2,0,"span"),i()),t&2){s();let e=_(9);a(),d(!(e==null||e.errors==null)&&e.errors.required?1:-1),a(),d(!(e==null||e.errors==null)&&e.errors.maxlength||!(e==null||e.errors==null)&&e.errors.minlength?2:-1)}}function J(t,o){t&1&&(n(0,"div",12)(1,"span"),c(2,"Debes ingresar el Captcha"),i()())}function K(t,o){if(t&1&&f(0,"div",14),t&2){let e=s(2);m("textContent",e.error)}}function O(t,o){if(t&1){let e=g();n(0,"form",7,0),x("ngSubmit",function(){v(e);let l=s();return C(l.send())}),n(2,"div",8)(3,"h2",9),c(4," Datos del certificado "),i(),n(5,"div")(6,"label",10),c(7," Ingresa el n\xFAmero del certificado "),i(),n(8,"input",11,1),V("ngModelChange",function(l){v(e);let h=s();return b(h.model.id,l)||(h.model.id=l),C(l)}),i(),p(10,G,3,2,"div",12),i(),n(11,"div",13),p(12,J,3,0,"div",12),i(),p(13,K,1,1,"div",14),n(14,"div",15)(15,"button",16),x("click",function(){v(e);let l=s();return C(l.clear())}),n(16,"span"),c(17,"LIMPIAR"),i()(),n(18,"button",17),c(19,"ENVIAR"),i()()()()}if(t&2){let e=_(1),r=_(9),l=s();a(8),E("ngModel",l.model.id),a(2),d(r.invalid&&e.submitted?10:-1),a(2),d(e.submitted&&l.captchaValid?12:-1),a(),d(l.error?13:-1),a(2),m("disabled",l.isLoading),a(3),m("disabled",e.invalid||l.isLoading)}}function Q(t,o){if(t&1&&(n(0,"div",24)(1,"b"),c(2,"C\xE9dula catastral del predio"),i(),f(3,"div",23),i()),t&2){let e=s(2);a(3),m("textContent",e.response.cedulaCatastral)}}function U(t,o){if(t&1&&(n(0,"div",24)(1,"b"),c(2,"No de identificaci\xF3n del interesado"),i(),f(3,"div",23),i()),t&2){let e=s(2);a(3),m("textContent",e.response.numeroIdentificacion)}}function X(t,o){if(t&1&&(n(0,"div")(1,"div",8)(2,"div",18)(3,"div",19),f(4,"i",20),i(),n(5,"span"),c(6," Certificado v\xE1lido "),i()(),n(7,"div",9),c(8," Resumen de la solicitud "),i(),n(9,"div",21)(10,"div",22)(11,"b"),c(12,"C\xF3digo verificado"),i(),f(13,"div",23),i(),p(14,Q,4,1,"div",24)(15,U,4,1,"div",24),i()()()),t&2){let e=s();a(13),m("textContent",e.response.id),a(),d(e.response.cedulaCatastral?14:-1),a(),d(e.response.numeroIdentificacion?15:-1)}}var H=class t{constructor(o,e,r,l){this.certificateService=o;this.modalService=e;this.helperService=r;this.eventEmitterService=l}model={};title=null;captchaValid=!1;form;response;isLoading=!1;error;send(){this.isLoading=!0;var o=!0,e=window.sessionStorage.getItem("keyValueCaptcha");this.captchaValid=!1,window.sessionStorage.getItem("visibleCaptcha")==="true"&&(this.captchaValid=!1,e=hcaptcha.getResponse(window.sessionStorage.getItem("captchaWidgetID")),e.length===0&&(this.captchaValid=!0,o=!1)),o&&(this.model.captcha=e,this.form.$valid&&!this.form.isBusy?this.certificateService.checkCertification(this.model).subscribe({next:r=>{this.response=r},error:r=>{this.eventEmitterService.reloadCaptchaEvent.emit(),r.status===404?this.modalService.showAlert("C\xF3digo inv\xE1lido"):r.status===400&&this.helperService.handlerException(r)}}):this.form.submitted=!0),this.isLoading=!1}clear(){this.form.submitted=!1,this.model={},this.eventEmitterService.reloadCaptchaEvent.emit()}static \u0275fac=function(e){return new(e||t)(u(W),u(y),u(D),u(M))};static \u0275cmp=S({type:t,selectors:[["app-validate-certification"]],standalone:!0,features:[w],decls:8,vars:3,consts:[["form","ngForm"],["identification","ngModel"],[1,"content_all"],[3,"seedValue"],[1,"section-tit"],[1,"certificate-bg"],["name","form","novalidate",""],["name","form","novalidate","",3,"ngSubmit"],[1,"certificate-wData"],[1,"sub-title"],[1,"label"],["maxlength","32","minlength","32","required","","aria-required","true","autocomplete","off","placeholder","Ej. 508f2b7b708f45169f5d0d1edfd78e
10f","type","text","name","identification",3,"ngModelChange","ngModel"],[1,"error"],[1,"certificate-wCaptcha"],[1,"error",3,"textContent"],[1,"createCon-colBtns"],["type","button",1,"btn-progNew2",3,"click","disabled"],["type","submit",1,"btn-main","btn-main--publicar",3,"disabled"],[1,"certificate-sucsessRow"],[1,"certificate-wCheck"],[1,"icon-check"],[1,"certificate-wColData","certificate-wColData--valid"],[1,"certificate-colData"],[3,"textContent"],[1,"certificate-colData","certificate-colData--valid"]],template:function(e,r){e&1&&(n(0,"section",2),f(1,"app-seed",3),n(2,"h2",4),c(3,"Validez de certificado"),i()(),n(4,"div",5)(5,"section",2),p(6,O,20,6,"form",6)(7,X,16,3,"div"),i()()),e&2&&(a(),m("seedValue","Validez"),a(5),d(r.response?-1:6),a(),d(r.response?7:-1))},dependencies:[q,k,I,T,N,R,j,A,L,F,B]})};export{H as ValidateCertificationComponent};

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.