PageSourceSearch

https://ehip.phv.si/HibisEb/jakarta.faces.resource/keyfilter/keyfi…?ln=primefaces&v=15.0.13&e=15.0.13

js phv.si collected 2026-10-01 16:42:03 UTC 1,349 bytes, 3 lines download raw bytes

1(function(a){a.fn.keyfilter=function(c){return this.on("keypress.keyfilter",function(d){var b=d.key;"Control"===b||"Alt"===b||"Meta"===b||d.ctrlKey||d.altKey||d.metaKey||1!==b.length&&"Unidentified"!==b||("function"===typeof c?c.call(this,b):c.test(b))||d.preventDefault()})};a.extend(a.fn.keyfilter,{defaults:{masks:{pint:/[\d]/,"int":/[\d\-]/,pnum:/[\d\.]/,money:/[\d\.\s,]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9_]/i}},version:1.8})})(jQuery);
2PrimeFaces.widget.KeyFilter=PrimeFaces.widget.BaseWidget.extend({init:function(a){this._super(a);this.target=PrimeFaces.expressions.SearchExpressionFacade.resolveComponentsAsSelector(this.jq,this.cfg.target);if(this.target.is(":input"))this.applyKeyFilter(this.target,a);else{var c=$(":not(:submit):not(:button):not([readonly]):input:visible:enabled:first",this.target);this.applyKeyFilter(c,a)}},applyKeyFilter:function(a,c){if(this.cfg.regEx)a.keyfilter(this.cfg.regEx);else if(this.cfg.inputRegEx){var d=
3this.cfg.inputRegEx,b="";a.on("input",function(e){d.test(this.value)?b=this.value:this.value=b})}else this.cfg.testFunction?a.keyfilter(this.cfg.testFunction):this.cfg.mask&&a.keyfilter($.fn.keyfilter.defaults.masks[this.cfg.mask]);a.on("drop",function(e){e.preventDefault()});if(c.preventPaste)a.on("paste",function(e){e.preventDefault()})}});

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.