PageSourceSearch

https://www.telfordestateagent.co.uk/templates/ea-r7/js/jquery.placeholder.min.js

js telfordestateagent.co.uk collected 2026-09-29 04:00:56 UTC 2,472 bytes, 1 lines download raw bytes

1!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){function t(t,a){var r=this,o=e(r);if(r.value==o.attr("placeholder")&&o.hasClass(u.customClass))if(o.data("placeholder-password")){if(o=o.hide().nextAll('input[type="password"]:first').show().attr("id",o.removeAttr("id").data("placeholder-id")),!0===t)return o[0].value=a;o.focus()}else r.value="",o.removeClass(u.customClass),r==l()&&r.select()}function a(){var a,l,r,o,n=this,s=e(n),c=this.id;if(""===n.value){if("password"===n.type){if(!s.data("placeholder-textinput")){try{a=s.clone().attr({type:"text"})}catch(t){a=e("<input>").attr(e.extend((l=this,r={},o=/^jQuery\d+$/,e.each(l.attributes,function(e,t){t.specified&&!o.test(t.name)&&(r[t.name]=t.value)}),r),{type:"text"}))}a.removeAttr("name").data({"placeholder-password":s,"placeholder-id":c}).bind("focus.placeholder",t),s.data({"placeholder-textinput":a,"placeholder-id":c}).before(a)}s=s.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",c).show()}s.addClass(u.customClass),s[0].value=s.attr("placeholder")}else s.removeClass(u.customClass)}function l(){try{return document.activeElement}catch(e){}}var r,o,n="[object OperaMini]"==Object.prototype.toString.call(window.operamini),s="placeholder"in document.createElement("input")&&!n,c="placeholder"in document.createElement("textarea")&&!n,d=e.valHooks,i=e.propHooks;if(s&&c)(o=e.fn.placeholder=function(){return this}).input=o.textarea=!0;else{var u={};(o=e.fn.placeholder=function(l){u=e.extend({},{customClass:"placeholder"},l);return this.filter((s?"textarea":":input")+"[placeholder]").not("."+u.customClass).bind({"focus.placeholder":t,"blur.placeholder":a}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=s,o.textarea=c,r={get:function(t){var a=e(t),l=a.data("placeholder-password");return l?l[0].value:a.data("placeholder-enabled")&&a.hasClass("placeholder")?"":t.value},set:function(r,o){var n=e(r),s=n.data("placeholder-password");return s?s[0].value=o:n.data("placeholder-enabled")?(""===o?(r.value=o,r!=l()&&a.call(r)):n.hasClass(u.customClass)&&t.call(r,!0,o)||(r.value=o),n):r.value=o}},s||(d.input=r,i.value=r),c||(d.textarea=r,i.value=r),e(function(){e(document).delegate("form","submit.placeholder",function(){var l=e("."+u.customClass,this).each(t);setTimeout(function(){l.each(a)},10)})}),e(window).bind("beforeunload.placeholder",function(){e("."+u.customClass).each(function(){this.value=""})})}});

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.