1(function($) { 2 // Move the Offcanvas Toggle button in the Header 3 $(document).ready(function() { 4 $("div.g-offcanvas-toggle:not(.offcanvas-toggle-particle)").prependTo($("#g-header")); 5 }); 6 7 // Fixed Footer 8 $(document).ready(function() { 9 if( $('.fixed-footer').length ) { 10 fixedFooter(); 11 12 $(window).resize(function() { 13 fixedFooter(); 14 }); 15 } 16 17 function fixedFooter() { 18 var siteContainer = $("#g-container-site"); 19 var footerContainer = $(".fixed-footer"); 20 var footerHeight = $(footerContainer).height(); 21 22 $(siteContainer).css("margin-bottom", footerHeight); 23 } 24 }); 25 26 // Header Shadow 27 $(document).ready(function() { 28 if( $('#g-header').length ) { 29 $('<div class="g-header-shadow"></div>').appendTo($("#g-header .g-container")); 30 } 31 }); 32 33 // Copyright Border 34 $(document).ready(function() { 35 if( $('#g-copyright').length ) { 36 $('<div class="g-copyright-border"></div>').prependTo($("#g-copyright .g-container")); 37 } 38 }); 39})(jQuery); 40 41 42/* jQuery Nice Select - v1.0 43 https://github.com/hernansartorio/jquery-nice-select 44 Made by Hernán Sartorio */ 45!function(e){e.fn.niceSelect=function(){this.hide(),this.each(function(){var s=e(this);if(!s.next().hasClass("nice-select")){s.after('<div class="nice-select '+(s.attr("class")||"")+(s.attr("disabled")?"disabled":'" tabindex="0')+'"><span class="current"></span><ul class="list"></ul></div>');var t=s.next(),i=s.find("option"),n=s.find("option:selected");t.find(".current").html(n.data("display")||n.text()),i.each(function(){var s=e(this).data("display");t.find("ul").append('<li class="option'+(e(this).is(":selected")?" selected":"")+(e(this).is(":disabled")?" disabled":"")+'" data-value="'+e(this).val()+'"'+(s?' data-display="'+s:"")+'">'+e(this).text()+"</li>")})}}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(s){var t=e(this);e(".nice-select").not(t).removeClass("open"),t.toggleClass("open"),t.hasClass("open")?(t.find(".option"),t.find(".focus").removeClass("focus"),t.find(".selected").addClass("focus")):t.focus()}),e(document).on("click.nice_select",function(s){0===e(s.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(s){var t=e(this),i=t.closest(".
45nice-select");i.find(".selected").removeClass("selected"),t.addClass("selected");var n=t.data("display")||t.text();i.find(".current").text(n),i.prev("select").val(t.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(s){var t=e(this),i=e(t.find(".focus")||t.find(".list .option.selected"));if(32==s.keyCode||13==s.keyCode)return t.hasClass("open")?i.trigger("click"):t.trigger("click"),!1;if(40==s.keyCode){if(t.hasClass("open")){var n=i.nextAll(".option:not(.disabled)").first();n.length>0&&(t.find(".focus").removeClass("focus"),n.addClass("focus"))}else t.trigger("click");return!1}if(38==s.keyCode){if(t.hasClass("open")){var c=i.prevAll(".option:not(.disabled)").first();c.length>0&&(t.find(".focus").removeClass("focus"),c.addClass("focus"))}else t.trigger("click");return!1}if(27==s.keyCode)t.hasClass("open")&&t.trigger("click");else if(9==s.keyCode&&t.hasClass("open"))return!1})}}(jQuery); 46 47(function($) { 48 $(document).ready(function() { 49 $('.solidres-module select').niceSelect(); 50 $('#solidres select').niceSelect(); 51 }); 52})(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.