1const o={CNI:"cni",BI:"bi",PASSPORT:"passport",CART_COND:"carta_conducao",CEDULA:"cedula"},d={cni:"addPassenger.docTypes.cni",bi:"addPassenger.docTypes.bi",passport:"addPassenger.docTypes.passport",carta_conducao:"addPassenger.docTypes.driverLicense",cedula:"addPassenger.docTypes.cedula"},t=["cni","passport","bi","carta_conducao","cedula"],u={cni:"CNI",passport:"Passaporte",bi:"Bilhete de Identidade",carta_conducao:"Carta de Condução",cedula:"Cédula"},f=Object.values(o);function g(e){return[...e].sort((n,s)=>t.indexOf(n.slug)-t.indexOf(s.slug))}function c(e){const n=t.indexOf(o[e.code??""]);return n===-1?t.length:n}function _(e){return[...e].sort((n,s)=>c(n)-c(s))}function T(e){const n=o[e.code??""];return n?u[n]:e.name}const i="cv";function r(e){return o[e.code]}function p(e){return e.toLowerCase()===i}function C(e,n){return l(e,[{slug:n}]).length>0}function l(e,n){return!e||p(e)?n:n.filter(s=>s.slug==="passport")}function D(e,n){const s=r(e),a=s?d[s]:void 0;return a?n(a):e.name}function y(e,n){return n.find(s=>r(s)===e)?.id}export{f as D,g as a,r as b,l as c,T as d,C as e,y as f,D as g,p as i,_ as s};
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.