1jQuery,window.TRIPIT.util.CreditCard=function(){var e=this,r={a:"American Express",d:"Discover",m:"Mastercard",v:"Visa"},t={a:"amex.gif",d:"discover.gif",m:"mastercard.gif",v:"visa.gif"};return e.AMERICAN_EXPRESS="a",e.DISCOVER="d",e.MASTERCARD="m",e.VISA="v",e.UNKNOWN="unknown",e.determineCardType=function(e){var r=this.UNKNOWN,t=new RegExp("^3(4|7)"),a=new RegExp("^(6011|65)"),i=new RegExp("^(5[1-5]|2[2-7])"),n=new RegExp("^4");return(e=(e||"").replace(/ /g,"").replace(/-/g,"")).match(t)?r=this.AMERICAN_EXPRESS:e.match(i)?r=this.MASTERCARD:e.match(n)?r=this.VISA:e.match(a)&&(r=this.DISCOVER),r},e.getCardName=function(e){return r[e.toLowerCase()]},e.getCardLogo=function(e){return t[e.toLowerCase()]},e};
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.