PageSourceSearch

https://www.ventanillamovilidad.com.co/_app/immutable/nodes/12.881fa899.js

js ventanillamovilidad.com.co collected 2026-10-04 13:34:39 UTC 10,999 bytes, 1 lines download raw bytes

1import{S as Ve,i as Ce,s as Pe,a as C,k as c,z as Te,r as P,Q as ye,h as o,c as T,l as d,m,A as Ie,u as y,p as l,b as ue,B as je,G as e,W as ie,H as pe,X as Ae,v as $,g as Ne,d as ke,C as we,M as ge,o as De,Y as Ee}from"../chunks/index.0263b380.js";import"../chunks/marked.esm.ce691d05.js";import{B as Re}from"../chunks/breadcrumb.524786e3.js";function he(s){let a,t,v,p,r,E,O,_,I,D,U,n,i,L,A,S,j,W;return{c(){a=c("div"),t=c("label"),v=P("Validación de seguridad: ¿cuánto es "),p=P(s[4]),r=C(),E=c("span"),O=P("+"),_=C(),I=P(s[5]),D=P("?"),U=C(),n=c("div"),i=c("input"),L=C(),A=c("button"),S=P("Refrescar"),this.h()},l(h){a=d(h,"DIV",{class:!0});var b=m(a);t=d(b,"LABEL",{for:!0,class:!0});var w=m(t);v=y(w,"Validación de seguridad: ¿cuánto es "),p=y(w,s[4]),r=T(w),E=d(w,"SPAN",{class:!0});var R=m(E);O=y(R,"+"),R.forEach(o),_=T(w),I=y(w,s[5]),D=y(w,"?"),w.forEach(o),U=T(b),n=d(b,"DIV",{class:!0});var V=m(n);i=d(V,"INPUT",{id:!0,type:!0,placeholder:!0,min:!0,inputmode:!0,autocomplete:!0,class:!0}),L=T(V),A=d(V,"BUTTON",{type:!0,class:!0});var H=m(A);S=y(H,"Refrescar"),H.forEach(o),V.forEach(o),b.forEach(o),this.h()},h(){l(E,"class","captcha-operator svelte-g59ubi"),l(t,"for","captchaAnswer"),l(t,"class","svelte-g59ubi"),l(i,"id","captchaAnswer"),l(i,"type","number"),l(i,"placeholder","Respuesta"),l(i,"min","0"),l(i,"inputmode","numeric"),l(i,"autocomplete","off"),l(i,"class","svelte-g59ubi"),l(A,"type","button"),l(A,"class","secondary-btn svelte-g59ubi"),A.disabled=s[2],l(n,"class","captcha-row svelte-g59ubi"),l(a,"class","captcha-group svelte-g59ubi")},m(h,b){ue(h,a,b),e(a,t),e(t,v),e(t,p),e(t,r),e(t,E),e(E,O),e(t,_),e(t,I),e(t,D),e(a,U),e(a,n),e(n,i),ie(i,s[6]),e(n,L),e(n,A),e(A,S),j||(W=[pe(i,"input",s[14]),pe(A,"click",s[10])],j=!0)},p(h,b){b&16&&$(p,h[4]),b&32&&$(I,h[5]),b&64&&Ee(i.value)!==h[6]&&ie(i,h[6]),b&4&&(A.disabled=h[2])},d(h){h&&o(a),j=!1,ge(W)}}}function me(s){let a,t,v;return{c(){a=c("div"),t=c("p"),v=P(s[7]),this.h()},l(p){a=d(p,"DIV",{class:!0});var r=m(a);t=d(r,"P",{class:!0});var E=m(t);
1v=y(E,s[7]),E.forEach(o),r.forEach(o),this.h()},h(){l(t,"class","svelte-g59ubi"),l(a,"class","error-box svelte-g59ubi")},m(p,r){ue(p,a,r),e(a,t),e(t,v)},p(p,r){r&128&&$(v,p[7])},d(p){p&&o(a)}}}function ve(s){let a,t,v;return{c(){a=c("div"),t=c("p"),v=P(s[1]),this.h()},l(p){a=d(p,"DIV",{class:!0});var r=m(a);t=d(r,"P",{class:!0});var E=m(t);v=y(E,s[1]),E.forEach(o),r.forEach(o),this.h()},h(){l(t,"class","svelte-g59ubi"),l(a,"class","error-box svelte-g59ubi")},m(p,r){ue(p,a,r),e(a,t),e(t,v)},p(p,r){r&2&&$(v,p[1])},d(p){p&&o(a)}}}function be(s){let a,t,v,p,r,E,O,_,I=s[3].placa+"",D,U,n,i,L,A,S=s[3].empresa+"",j,W,h,b,w,R,V=s[3].estado+"",H,x,z,q,Z,ee,Y=_e(s[3].fechaVence)+"",te,ae,Q,M,le,F,N,k;return{c(){a=c("div"),t=c("h3"),v=P("Resultado"),p=C(),r=c("p"),E=c("strong"),O=P("Placa:"),_=C(),D=P(I),U=C(),n=c("p"),i=c("strong"),L=P("Empresa:"),A=C(),j=P(S),W=C(),h=c("p"),b=c("strong"),w=P("Estado:"),R=C(),H=P(V),x=C(),z=c("p"),q=c("strong"),Z=P("Vencimiento:"),ee=C(),te=P(Y),ae=C(),Q=c("div"),M=c("p"),le=P("Tenga en cuenta que si desea conocer información adicional del automotor puede ingresar a través del link de consulta "),F=c("a"),N=P("https://portalpublico.runt.gov.co/#/consulta-vehiculo/consulta/consulta-ciudadana"),k=P("."),this.h()},l(g){a=d(g,"DIV",{class:!0});var u=m(a);t=d(u,"H3",{class:!0});var f=m(t);v=y(f,"Resultado"),f.forEach(o),p=T(u),r=d(u,"P",{});var B=m(r);E=d(B,"STRONG",{});var J=m(E);O=y(J,"Placa:"),J.forEach(o),_=T(B),D=y(B,I),B.forEach(o),U=T(u),n=d(u,"P",{});var se=m(n);i=d(se,"STRONG",{});var G=m(i);L=y(G,"Empresa:"),G.forEach(o),A=T(se),j=y(se,S),se.forEach(o),W=T(u),h=d(u,"P",{});var oe=m(h);b=d(oe,"STRONG",{});var X=m(b);w=y(X,"Estado:"),X.forEach(o),R=T(oe),H=y(oe,V),oe.forEach(o),x=T(u),z=d(u,"P",{});var K=m(z);q=d(K,"STRONG",{});var ce=m(q);Z=y(ce,"Vencimiento:"),ce.forEach(o),ee=T(K),te=y(K,Y),K.forEach(o),ae=T(u),Q=d(u,"DIV",{class:!0});var re=m(Q);M=d(re,"P",{class:!0});var ne=m(M);le=y(ne,"Tenga en cuenta que si desea conocer información adicional del automotor puede ingresar a través del link de consulta "),F=d(ne,"A",{href:!0,target:!0,rel:!0,class:!0});var de=m(F);N=y(de,"https://portalpublico.runt.gov.co/#/consulta-vehiculo/consulta/consulta-ciudadana"),de.forEach(o),k=y(ne,"."),ne.forEach(o),re.forEach(o),u.forEach(o),this.h()},h(){l(t,"class","svelte-g59ubi"),l(F,"href","https://portalpublico.runt.gov.co/#/consulta-vehiculo/consulta/consulta-ciudadana"),l(F,"target","_blank"),l(F,"rel","noopener noreferrer"),l(F,"class","svelte-g59ubi"),l(M,"class","svelte-g59ubi"),l(Q,"class","more-info svelte-g59ubi"),l(a,"class","result-card svelte-g59ubi")},m(g,u){ue(g,a,u),e(a,t),e(t,v),e(a,p),e(a,r),e(r,E),e(E,O),e(r,_),e(r,D),e(a,U),e(a,n),e(n,i),e(i,L),e(n,A),e(n,j),e(a,W),e(a,h),e(h,b),e(b,w),e(h,R),e(h,H),e(a,x),e(a,z),e(z,q),e(q,Z),e(z,ee),e(z,te),e(a,ae),e(a,Q),e(Q,M),e(M,le),e(M,F),e(F,N),e(M,k)},p(g,u){u&8&&I!==(I=g[3].placa+"")&&$(D,I),u&8&&S!==(S=g[3].empresa+"")&&$(j,S),u&8&&V!==(V=g[3].estado+"")&&$(H,V),u&8&&Y!==(Y=_e(g[3].fechaVence)+"")&&$(te,Y)},d(g){g&&o(a)}}}function Be(s){let a,t,v,p,r,E,O,_,I,D,U,n,i,L,A,S,j,W,h,b,w,R,V,H,x,z,q,Z=s[2]?"Consultando...":"Consultar",ee,Y,te,ae,Q,M,le,F;v=new Re({props:{path:"consulta-to",nodo:""}});let N=s[8]&&he(s),k=s[7]&&me(s),g=s[1]&&ve(s),u=s[3]&&be(s);return{c(){a=C(),t=c("div"),Te(v.$$.fragment),p=C(),r=c("p"),E=P("La tarjeta de operación es el documento único que autoriza a un vehículo automotor para prestar el servicio público de transporte de pasajeros bajo la responsabilidad de una empresa de transporte, de acuerdo con los servicios o radio de acción autorizados. La tarjeta de operación se expedirá únicamente a los vehículos legalmente vinculados a las empresas de transporte público debidamente habilitadas y que cumplan con la capacidad transportadora fijada a cada una de ellas."),O=C(),_=c("section"),I=c("h2"),D=P("Consulta vigencia de tarjeta de operación"),U=C(),n=c("form"),i=c("div"),L=c("label"),A=P("Sitio web"),S=C(),j=c("input"),W=C(),h=c("div"),b=c("label"),w=P("Placa del vehículo"),R=C(),V=c("input"),H=C(),N&&N.c(),x=C(),z=c("div"),q=c("button"),ee=P(Z),te=C(),k&&k.c(),ae=C(),g&&g.c(),Q=C(),u&&u.c(),this.h()}
1,l(f){ye("svelte-ofjbop",document.head).forEach(o),a=T(f),t=d(f,"DIV",{class:!0});var J=m(t);Ie(v.$$.fragment,J),p=T(J),r=d(J,"P",{});var se=m(r);E=y(se,"La tarjeta de operación es el documento único que autoriza a un vehículo automotor para prestar el servicio público de transporte de pasajeros bajo la responsabilidad de una empresa de transporte, de acuerdo con los servicios o radio de acción autorizados. La tarjeta de operación se expedirá únicamente a los vehículos legalmente vinculados a las empresas de transporte público debidamente habilitadas y que cumplan con la capacidad transportadora fijada a cada una de ellas."),se.forEach(o),O=T(J),_=d(J,"SECTION",{class:!0});var G=m(_);I=d(G,"H2",{class:!0});var oe=m(I);D=y(oe,"Consulta vigencia de tarjeta de operación"),oe.forEach(o),U=T(G),n=d(G,"FORM",{});var X=m(n);i=d(X,"DIV",{class:!0,"aria-hidden":!0});var K=m(i);L=d(K,"LABEL",{for:!0});var ce=m(L);A=y(ce,"Sitio web"),ce.forEach(o),S=T(K),j=d(K,"INPUT",{id:!0,type:!0,name:!0,tabindex:!0,autocomplete:!0}),K.forEach(o),W=T(X),h=d(X,"DIV",{class:!0});var re=m(h);b=d(re,"LABEL",{for:!0,class:!0});var ne=m(b);w=y(ne,"Placa del vehículo"),ne.forEach(o),R=T(re),V=d(re,"INPUT",{id:!0,type:!0,placeholder:!0,maxlength:!0,autocomplete:!0,inputmode:!0,class:!0}),re.forEach(o),H=T(X),N&&N.l(X),x=T(X),z=d(X,"DIV",{class:!0});var de=m(z);q=d(de,"BUTTON",{type:!0,class:!0});var fe=m(q);ee=y(fe,Z),fe.forEach(o),de.forEach(o),X.forEach(o),te=T(G),k&&k.l(G),ae=T(G),g&&g.l(G),Q=T(G),u&&u.l(G),G.forEach(o),J.forEach(o),this.h()},h(){document.title="Consulta tarjeta de operación",l(I,"class","svelte-g59ubi"),l(L,"for","companyWebsite"),l(j,"id","companyWebsite"),l(j,"type","text"),l(j,"name","companyWebsite"),l(j,"tabindex","-1"),l(j,"autocomplete","off"),l(i,"class","hp-field svelte-g59ubi"),l(i,"aria-hidden","true"),l(b,"for","plate"),l(b,"class","svelte-g59ubi"),l(V,"id","plate"),l(V,"type","text"),l(V,"placeholder","ABC123"),l(V,"maxlength","6"),l(V,"autocomplete","off"),l(V,"inputmode","text"),l(V,"class","svelte-g59ubi"),l(h,"class","form-group svelte-g59ubi"),l(q,"type","submit"),l(q,"class","primary-btn svelte-g59ubi"),q.disabled=Y=s[2]||!s[8],l(z,"class","form-actions svelte-g59ubi"),n.noValidate=!0,l(_,"class","plate-search svelte-g59ubi"),l(t,"class","page-wrapper")},m(f,B){ue(f,a,B),ue(f,t,B),je(v,t,null),e(t,p),e(t,r),e(r,E),e(t,O),e(t,_),e(_,I),e(I,D),e(_,U),e(_,n),e(n,i),e(i,L),e(L,A),e(i,S),e(i,j),ie(j,s[9]),e(n,W),e(n,h),e(h,b),e(b,w),e(h,R),e(h,V),ie(V,s[0]),e(n,H),N&&N.m(n,null),e(n,x),e(n,z),e(z,q),e(q,ee),e(_,te),k&&k.m(_,null),e(_,ae),g&&g.m(_,null),e(_,Q),u&&u.m(_,null),M=!0,le||(F=[pe(j,"input",s[12]),pe(V,"input",s[13]),pe(n,"submit",Ae(s[11]))],le=!0)},p(f,[B]){B&512&&j.value!==f[9]&&ie(j,f[9]),B&1&&V.value!==f[0]&&ie(V,f[0]),f[8]?N?N.p(f,B):(N=he(f),N.c(),N.m(n,x)):N&&(N.d(1),N=null),(!M||B&4)&&Z!==(Z=f[2]?"Consultando...":"Consultar")&&$(ee,Z),(!M||B&260&&Y!==(Y=f[2]||!f[8]))&&(q.disabled=Y),f[7]?k?k.p(f,B):(k=me(f),k.c(),k.m(_,ae)):k&&(k.d(1),k=null),f[1]?g?g.p(f,B):(g=ve(f),g.c(),g.m(_,Q)):g&&(g.d(1),g=null),f[3]?u?u.p(f,B):(u=be(f),u.c(),u.m(_,null)):u&&(u.d(1),u=null)},i(f){M||(Ne(v.$$.fragment,f),M=!0)},o(f){ke(v.$$.fragment,f),M=!1},d(f){f&&o(a),f&&o(t),we(v),N&&N.d(),k&&k.d(),g&&g.d(),u&&u.d(),le=!1,ge(F)}}}const Le=/^[A-Z]{3}[0-9]{3}$/;function _e(s){if(!s)return"N/A";const a=new Date(s);return new Intl.DateTimeFormat("es-CO",{year:"numeric",month:"long",day:"numeric"}).format(a)}function Oe(s,a,t){let v="",p="",r=!1,E=null,O=0,_=0,I="",D="",U=!1,n="";De(()=>{i()});function i(){t(4,O=Math.floor(Math.random()*9)+1),t(5,_=Math.floor(Math.random()*9)+1),t(6,I=""),t(7,D=""),t(8,U=!0)}function L(){const h=O+_,b=Number(I);return I!==""&&Number.isInteger(b)&&b===h}async function A(){var b;if(r)return;t(1,p=""),t(7,D=""),t(3,E=null);const h=v.trim().toUpperCase();if(n.trim()!==""){t(1,p="Solicitud no válida."),i();return}if(!Le.test(h)){t(1,p="Formato inválido. Ej: ABC123");return}if(!L()){t(7,D="La validación de seguridad es incorrecta. Inténtalo nuevamente."),i();return}t(2,r=!0);try{const R=await(await fetch(`https://apivus.circulemosdigital.com.co/fx-retpconsultas-dt-prd/V1.0/ConsultaExistenciaTO/${h}`)).json();if(R.isError){t(1,p=R.message);return}t(3,E={placa:R.placa,empresa:(b=R.nombreEmpresaVinculacionTo)==null?void 0:b.trim(),estado:R.estadoTO,fechaVence:R.fechaVence})}catch(w){t(1,p="Error al consultar el servicio"),console.error(w)}finally{t(2,r=!1),i()}}function S(){n=this.value,t(9,n)}function j(){v=this.value,t(0,v)}function W(){I=Ee(this.value),t(6,I)}return s.$$.update=()=>{s.$$.dirty&1&&t(0,v=v.toUpperCase())},[v,p,r,E,O,_,I,D,U,n,i,A,S,j,W]}
1class Ue extends Ve{constructor(a){super(),Ce(this,a,Oe,Be,Pe,{})}}export{Ue as component};

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.