/*! * Bootstrap v3.2.0 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=4ca9fd6268f622a755e8) * Config saved to config.json and https://gist.github.com/4ca9fd6268f622a755e8 */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(o){"use strict";function t(t){t&&3===t.which||(o(n).remove(),o(d).each(function(){var r=e(o(this)),n={relatedTarget:this};r.hasClass("open")&&(r.trigger(t=o.Event("hide.bs.dropdown",n)),t.isDefaultPrevented()||r.removeClass("open").trigger("hidden.bs.dropdown",n))}))}function e(t){var e=t.attr("data-target");e||(e=t.attr("href"),e=e&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var r=e&&o(e);return r&&r.length?r:t.parent()}function r(t){return this.each(function(){var e=o(this),r=e.data("bs.dropdown");r||e.data("bs.dropdown",r=new i(this)),"string"==typeof t&&r[t].call(e)})}var n=".dropdown-backdrop",d='[data-toggle="dropdown"]',i=function(t){o(t).on("click.bs.dropdown",this.toggle)};i.VERSION="3.2.0",i.prototype.toggle=function(r){var n=o(this);if(!n.is(".disabled, :disabled")){var d=e(n),i=d.hasClass("open");if(t(),!i){"ontouchstart"in document.documentElement&&!d.closest(".navbar-nav").length&&o('
').insertAfter(o(this)).on("click",t);var a={relatedTarget:this};if(d.trigger(r=o.Event("show.bs.dropdown",a)),r.isDefaultPrevented())return;n.trigger("focus"),d.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},i.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var r=o(this);if(t.preventDefault(),t.stopPropagation(),!r.is(".disabled, :disabled")){var n=e(r),i=n.hasClass("open");if(!i||i&&27==t.keyCode)return 27==t.which&&n.find(d).trigger("focus"),r.trigger("click");var a=" li:not(.divider):visible a",s=n.find('[role="menu"]'+a+', [role="listbox"]'+a);if(s.length){var p=s.index(s.filter(":focus"));38==t.keyCode&&p>0&&p--,40==t.keyCode&&p