1(function($){$.fn.readall=function(options){var settings=$.extend({showheight:96,showrows:null,animationspeed:200,btnTextShowmore:"Read more",btnTextShowless:"Read less",btnClassShowmore:"readall-button",btnClassShowless:"readall-button"},options);return $(this).each(function(){var $this=$(this),fullheight=function(){return $this[0].scrollHeight},wrapperclass="readall-wrapper",hiddenclass="readall-hide";if(settings.showrows!=null){var lineHeight=Math.floor(parseFloat($this.css("font-size"))*1.5);settings.showheight=lineHeight*settings.showrows}$this.addClass("readall").css({overflow:"hidden"});var onResize=function(event){var _button2=$this.parent().find("button."+settings.btnClassShowmore.replace(/\s+/g,".")+", button."+settings.btnClassShowless.replace(/\s+/g,"."));fullheight()>settings.showheight+$(_button2).outerHeight()?(!$(_button2).is(":visible")||event==null)&&($this.css({height:settings.showheight+"px","max-height":settings.showheight+"px"}),$(_button2).text(settings.btnTextShowmore),$this.addClass(hiddenclass),$(_button2).removeClass(settings.btnClassShowless).addClass(settings.btnClassShowmore),$(_button2).show()):($(_button2).is(":visible")||event==null)&&($this.css({height:"","max-height":""}),$this.removeClass(hiddenclass),$(_button2).hide())};if($this.parent().not(wrapperclass)){$this.wrap($("<div />").addClass(wrapperclass));var _button=$("<button />").addClass(settings.btnClassShowmore).text(settings.btnTextShowmore).on("click",function(e){e.preventDefault(),$this.hasClass(hiddenclass)?$this.css({height:settings.showheight+"px","max-height":""}).animate({height:fullheight()+"px"},settings.animationspeed,function(){$this.css({height:""}),$(_button).text(settings.btnTextShowless)}):$this.animate({height:settings.showheight+"px"},settings.animationspeed,function(){$this.css({"max-height":settings.showheight+"px"}),$(_button).text(settings.btnTextShowmore)}),$this.toggleClass(hiddenclass),$(this).toggleClass(settings.btnClassShowmore).toggleClass(settings.btnClassShowless)});$this.after(_button),$(window).on("orientationchange resize",onResize),onResize(null)}}),this}})(jQuery); 2//# sourceMappingURL=/cdn/shop/t/32/assets/jquery.readall.js.map?v=128560397331262366211774263519
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.