1(function(n){n.fn.saurom=function(t){function s(n){for(var t=n.attributes,r={},u=/^data*/,i=0;i<t.length;i++)t[i].specified&&!u.test(t[i].name)&&(r[t[i].name]=t[i].value);return t.oldValue!=null&&typeof t.oldValue!="undefined"&&t.oldValue.value.length>0&&(r.value=t.oldValue.value),r}function u(t,i,r,u){var f=n("#"+r).val();f!=u&&n("#"+r).val(u)}var i=n.extend({},n.fn.saurom.defaults,t),h=new RegExp("[^"+i.character+"]","gi"),c=0,r=navigator.userAgent.toLowerCase(),f=r.indexOf("msie")>0,e=r.indexOf("msie 8")>0,l=r.indexOf("chrome")>0,o=r.indexOf("firefox")>0;this.each(function(t){var d="Clone"+t,nt="show-pwd"+t,r=n(this),v=this.id,rt=this.name,y=v+d,ut=v+nt,g=v+d,b=!1,l=!1,a;if(!v||!rt)return alert("sauromjs: Please set 'id' and 'name' attributes for elements!"),!1;var h=n("<input>").attr(n.extend(s(this),{id:y,name:g,autocomplete:"off",type:"text",disabled:"disabled","data-no-enable":"true"})),p=n.trim(r.val()),tt=h.val();p.length>0&&p!=tt&&h.val(p);var ft=n("#"+y)[0],c=n('<span class="show-pwd-btn">Show/Hide Password</span>'),it=r.parent(),w=n('<div class="as-pwd-container"></div>'),k=n('<span style="display:none;font-size:'+parseInt(r.css("font-size"))+'">●</span>');if(w.append(r),w.append(k),r.after(h),h.after(c).hide(),it.append(w),i.isSecureRevealEye==="True"){a="",c.addClass("disabled");r.on("keydown",function(n){if(o&&a==""&&(a=r.val()),a===r.val()&&n.keyCode!=8){var t=document.getElementById(r[0].id),i=t.value.substr(t.selectionStart,t.selectionEnd-t.selectionStart);i==a&&i.length>0&&(l=!0)}n.keyCode==8&&r.val().length===2&&(l=!0),r.val().length===0&&n.keyCode&&n.keyCode!=8&&(c.removeClass("disabled"),l=!0),l&&n.keyCode&&n.keyCode!=8&&n.keyCode!=37&&c.removeClass("disabled")});r.on("keyup",function(n){n.keyCode||(a=r.val()),r.val().length===0?(c.addClass("disabled"),l=!0):r.val().length===1&&n.keyCode&&!l?(c.removeClass("disabled"),l=!0):l=!1});r.on("focusout",function(){b||c.addClass("disabled"),l=!1});c.on("mouseover",function(){b=!0});r.on("focus",function(){a=r.val()})}r.on("change",function(){var n=r.val();u(t,v,y,n)});h.on("change",function(){var n=h.val();u(t,y,v,n)});h.on("focus",function(){h.select()});c.bind("mouseup",function(){i.isSecureRevealEye==="True"&&setTimeout(function(){r.focus()}
1,1),r.toggle(),h.toggle()}),c.bind("mousedown",function(){r.toggle(),h.toggle(),r.attr("disabled")=="disabled"?h.attr("disabled",!0):h.removeAttr("disabled"),r.val().trim()!=""&&typeof i.eyeballClickCallbackReference!="undefined"&&i.eyeballClickCallbackReference!=null&&eval(i.eyeballClickCallbackReference)}),c.mouseout(function(){i.isSecureRevealEye==="True"&&(b=!1,setTimeout(function(){r.focus()},1)),r.show(),h.hide().attr("disabled",!0)}),i.isSecureRevealEye==="False"&&r.keypress(function(t){var a=new RegExp("[a-zA-Z0-9]"),c=String.fromCharCode(t.charCode?t.charCode:t.which),v=r.val().length,u=parseInt(r.attr("maxlength")),l;if(u=u>0?u:30,r.attr("maxlength",u),a.test(c)&&v<u){var s=n('<span class="last-letter"></span>'),o=k.outerWidth(),h=r.outerHeight();f&&!e&&(o=o+.5),l=parseInt((r.caret().start+2.5)*o),s.attr("style","display: block; top: 0px; left:"+l+"px; line-height:"+h+"px; width:"+o+"px; height: "+h+"; margin-bottom: -"+h+"px;").html(c),r.after(s),setTimeout(function(){s.remove()},i.visibleTimeout)}})})},n.fn.saurom.defaults={visibleTimeout:300},n.fn.saurom.clientCallBack=function(t){var i,r,u;t!=undefined&&t!==null&&(i=n.fn.saurom.tryParseJson(t),typeof i=="object"&&(r=n("#"+i.clientId),u=r.next(),i.forceClientUpdate===!0&&(r.attr("oldvalue",i.oldValue),u.attr("oldvalue",i.oldValue),u.val(i.oldValue)),r.toggle(),u.toggle(),r.attr("disabled")=="disabled"?u.attr("disabled",!0):u.removeAttr("disabled"),n.fn.saurom.progress(r.parent(),!1)))},n.fn.saurom.tryParseJson=function(n){try{var t=JSON.parse(n);if(t!==undefined)return t}catch(i){}return!1},n.fn.saurom.progress=function(n,t){window.kendo==undefined&&(window.kendo=window.parent.kendo),window.kendo!==undefined&&window.kendo.ui.progress(n,t)}})(jQuery)
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.