text: /*! jQuery.responsiveMenu - v0.1.2 - 2014-01-11
  * https://github.com/jurgelenas/responsiveMenu
  * Copyright (c) 2014 Julius Jurgelėnas; Licensed MIT */(function(){var a=function(a,b){return function(){return a.apply(b,arguments)}};!function(b,c,d){var e,f;return f={appendTo:null,switchWidth:768,currentClass:"current",visualTab:"--",maxDepth:null,manualMediaQueries:!1,label:null,selectors:{menuElement:"li",menuAnchor:"> a",submenu:"> ul"}},e=function(){function e(c,d){this.element=c,this.onResize=a(this.onResize,this),this.element=b(this.element),this.options=b.extend({},f,d),this.defaults=f,this.init()}return e.prototype.init=function(){var a=this;return this.select=this.createSelect(),null===this.options.appendTo?this.select.appendTo(this.element.parent()):this.select.appendTo(b(this.options.appendTo)),this.select.change(function(c){return a.redirectTo(b(c.currentTarget).val())}),this.options.manualMediaQueries?void 0:b(c).resize(function(c){return a.onResize(b(c.currentTarget))}).trigger("resize")},e.prototype.createSelect=function(){var a,c,d,e,f=this;return a=b('<select class="responsive-select-menu" />'),d=this.generateMenuTree(this.element),e="",null!==this.options.label&&(e+=this.createOption(this.options.label,"#no-redirect",!1,0)),c=function(a,d){return d++,null!==f.options.maxDepth&&d>f.options.maxDepth?void 0:b.each(a,function(a,b){return e+=f.createOption(b.title,b.url,b.current,d),void 0!==b.subnodes?c(b.subnodes,d):void 0})},c(d,0),a.append(e)},e.prototype.generateMenuTree=function(a){var c,d=this;return c=[],b(a).children(this.options.selectors.menuElement).each(function(a,e){var f,g,h;return g=b(e),f=b(g).find(d.options.selectors.menuAnchor),h=g.find(d.options.selectors.submenu),c.push({title:f.text(),url:f.attr("href"),current:g.hasClass(d.options.currentClass),subnodes:d.generateMenuTree(h)})}),c},e.prototype.createOption=function(a,b,c,d){var e,f;return f=this.repeatPattern(this.options.visualTab,d),e="",c&&(e=' selected="selected"'),'<option value="'+b+'"'+e+">"+f+a+"</option>"},e.prototype.repeatPattern=function(a,b){return 1>=b?"":Array(b).join(a)+" "},e.prototype.onResize=function(a){return a.width()<=this.options.switchWidth?(this.element.hide(),this.select.show()):(this.select.hide(),this.element.show())},e.prototype.redirectTo=function(a){return"#no-redirect"!==a?d.location.href=a:void 0},e}(),b.fn.responsiveMenu=function(a){return this.each(function(){return b.data(this,"responsiveMenu")?void 0:b.data(this,"responsiveMenu",new e(this,a))})}}(jQuery,window,document)}).call(this);