PageSourceSearch

https://cdn.adlinktech.com/ModuleScripts/polymer/polymer-form.min.js

js adlinktech.com collected 2026-10-01 10:32:38 UTC 1,905 bytes, 1 lines download raw bytes

1(function(n){n.fn.polymerForm=function(t){var i=n.extend({label_default:"",base_color:"",active_color:"",bar_height:"1px",label_color:"",origin:"center",margin_top:"",margin_bottom:""},t);return this.each(function(){var f=n(this),c=n(this).attr("label")||i.label_default,l=n(this).attr("base-color")||i.base_color,a=n(this).attr("active-color")||i.active_color,v=n(this).attr("margin-top")||i.margin_top,y=n(this).attr("margin-bottom")||i.margin_bottom,s=n(this).attr("bar-height")||i.bar_height,p=n(this).attr("label-color")||i.label_color,t=n(this).attr("origin")||i.origin,u;t!=="left"&&t!=="right"&&t!=="center"&&(t="center");var w=n(this).val(),h=n("<div class='polymer-form'>"),r=n("<label class='placeholder'><\/label>").text(c),e=n("<div class='bar'><\/div>"),o=n("<div class='bar-in'><\/div>");h.css({"margin-top":v,"margin-bottom":y});e.css({backgroundColor:l,height:s});o.css({backgroundColor:a,height:s});e.append(o);r.css({color:p});u={};switch(t){case"left":u={position:"absolute"};break;case"right":u={position:"absolute",right:"0"}}o.css(u);n(this).wrap(h);n(this).after(r);n(this).after(e);n(this).focus(function(){var t=n(this).parent().find(".bar-in"),i=n(this).parent().siblings(".input-group-addon");t.addClass("active");i.addClass("active");r.addClass("active");n(this).parent().addClass("dirty")});n(this).blur(function(){var t=n(this).parent().find(".bar-in"),i=n(this).parent().siblings(".input-group-addon");t.removeClass("active");i.removeClass("active");r.removeClass("active");n(this).val()==""&&(n(this).parent().removeClass("dirty"),n(this).parent().next(".required").removeClass("hide"))});n(this).change(function(){f.val()!==""&&(n(this).parent().addClass("dirty"),n(this).parent().next(".required").addClass("hide"))});r.click(function(){f.focus()});f.val()!==""&&(n(this).parent().addClass("dirty"),n(this).parent().next(".required").addClass("hide"))}),this}})(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.