/*!
* 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://v3.bootcss.com/customize/?id=7c2d3992edb440e3339a)
* config saved to config.json and https://gist.github.com/7c2d3992edb440e3339a
*/
if("undefined"==typeof jquery)throw new error("bootstrap's javascript requires jquery");+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),s=i.data("bs.alert");s||i.data("bs.alert",s=new o(this)),"string"==typeof e&&s[e].call(i)})}var i='[data-dismiss="alert"]',o=function(e){t(e).on("click",i,this.close)};o.version="3.2.0",o.prototype.close=function(e){function i(){n.detach().trigger("closed.bs.alert").remove()}var o=t(this),s=o.attr("data-target");s||(s=o.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var n=t(s);e&&e.preventdefault(),n.length||(n=o.hasclass("alert")?o:o.parent()),n.trigger(e=t.event("close.bs.alert")),e.isdefaultprevented()||(n.removeclass("in"),t.support.transition&&n.hasclass("fade")?n.one("bstransitionend",i).emulatetransitionend(150):i())};var s=t.fn.alert;t.fn.alert=e,t.fn.alert.constructor=o,t.fn.alert.noconflict=function(){return t.fn.alert=s,this},t(document).on("click.bs.alert.data-api",i,o.prototype.close)}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.button"),n="object"==typeof e&&e;s||o.data("bs.button",s=new i(this,n)),"toggle"==e?s.toggle():e&&s.setstate(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.defaults,o),this.isloading=!1};i.version="3.2.0",i.defaults={loadingtext:"loading..."},i.prototype.setstate=function(e){var i="disabled",o=this.$element,s=o.is("input")?"val":"html",n=o.data();e+="text",null==n.resettext&&o.data("resettext",o[s]()),o[s](null==n[e]?this.options[e]:n[e]),settimeout(t.proxy(function(){"loadingtext"==e?(this.isloading=!0,o.addclass(i).attr(i,i)):this.isloading&&(this.isloading=!1,o.removeclass(i).removeattr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasclass("active")?t=!1:e.find(".active").removeclass("active")),t&&i.prop("checked",!this.$element.hasclass("active")).trigger("change")}t&&this.$element.toggleclass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.constructor=i,t.fn.button.noconflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasclass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),i.preventdefault()})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.carousel"),n=t.extend({},i.defaults,o.data(),"object"==typeof e&&e),r="string"==typeof e?e:n.slide;s||o.data("bs.carousel",s=new i(this,n)),"number"==typeof e?s.to(e):r?s[r]():n.interval&&s.pause().cycle()})}var i=function(e,i){this.$element=t(e).on("keydown.bs.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.version="3.2.0",i.defaults={interval:5e3,pause:"hover",wrap:!0},i.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventdefault()},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearinterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setinterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getitemindex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.to=function(e){var i=this,o=this.getitemindex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(e)}):o==e?this.pause().cycle():this.slide(e>o?"next":"prev",t(this.$items[e]))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearinterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,i){var o=this.$element.find(".item.active"),s=i||o[e](),n=this.interval,r="next"==e?"left":"right",a="next"==e?"first":"last",l=this;if(!s.length){if(!this.options.wrap)return;s=this.$element.find(".item")[a]()}if(s.hasclass("active"))return this.sliding=!1;var h=s[0],p=t.event("slide.bs.carousel",{relatedtarget:h,direction:r});if(this.$element.trigger(p),!p.isdefaultprevented()){if(this.sliding=!0,n&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeclass("active");var c=t(this.$indicators.children()[this.getitemindex(s)]);c&&c.addclass("active")}var d=t.event("slid.bs.carousel",{relatedtarget:h,direction:r});return t.support.transition&&this.$element.hasclass("slide")?(s.addclass(e),s[0].offsetwidth,o.addclass(r),s.addclass(r),o.one("bstransitionend",function(){s.removeclass([e,r].join(" ")).addclass("active"),o.removeclass(["active",r].join(" ")),l.sliding=!1,settimeout(function(){l.$element.trigger(d)},0)}).emulatetransitionend(1e3*o.css("transition-duration").slice(0,-1))):(o.removeclass("active"),s.addclass("active"),this.sliding=!1,this.$element.trigger(d)),n&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.constructor=i,t.fn.carousel.noconflict=function(){return t.fn.carousel=o,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(i){var o,s=t(this),n=t(s.attr("data-target")||(o=s.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(n.hasclass("carousel")){var r=t.extend({},n.data(),s.data()),a=s.attr("data-slide-to");a&&(r.interval=!1),e.call(n,r),a&&n.data("bs.carousel").to(a),i.preventdefault()}}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jquery),+function(t){"use strict";function e(e){e&&3===e.which||(t(s).remove(),t(n).each(function(){var o=i(t(this)),s={relatedtarget:this};o.hasclass("open")&&(o.trigger(e=t.event("hide.bs.dropdown",s)),e.isdefaultprevented()||o.removeclass("open").trigger("hidden.bs.dropdown",s))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[a-za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function o(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new r(this)),"string"==typeof e&&o[e].call(i)})}var s=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(e){t(e).on("click.bs.dropdown",this.toggle)};r.version="3.2.0",r.prototype.toggle=function(o){var s=t(this);if(!s.is(".disabled, :disabled")){var n=i(s),r=n.hasclass("open");if(e(),!r){"ontouchstart"in document.documentelement&&!n.closest(".navbar-nav").length&&t('
').insertafter(t(this)).on("click",e);var a={relatedtarget:this};if(n.trigger(o=t.event("show.bs.dropdown",a)),o.isdefaultprevented())return;s.trigger("focus"),n.toggleclass("open").trigger("shown.bs.dropdown",a)}return!1}},r.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keycode)){var o=t(this);if(e.preventdefault(),e.stoppropagation(),!o.is(".disabled, :disabled")){var s=i(o),r=s.hasclass("open");if(!r||r&&27==e.keycode)return 27==e.which&&s.find(n).trigger("focus"),o.trigger("click");var a=" li:not(.divider):visible a",l=s.find('[role="menu"]'+a+', [role="listbox"]'+a);if(l.length){var h=l.index(l.filter(":focus"));38==e.keycode&&h>0&&h--,40==e.keycode&&h').appendto(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currenttarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),s&&this.$backdrop[0].offsetwidth,this.$backdrop.addclass("in"),!e)return;s?this.$backdrop.one("bstransitionend",e).emulatetransitionend(150):e()}else if(!this.isshown&&this.$backdrop){this.$backdrop.removeclass("in");var n=function(){i.removebackdrop(),e&&e()};t.support.transition&&this.$element.hasclass("fade")?this.$backdrop.one("bstransitionend",n).emulatetransitionend(150):n()}else e&&e()},i.prototype.checkscrollbar=function(){document.body.clientwidth>=window.innerwidth||(this.scrollbarwidth=this.scrollbarwidth||this.measurescrollbar())},i.prototype.setscrollbar=function(){var t=parseint(this.$body.css("padding-right")||0,10);this.scrollbarwidth&&this.$body.css("padding-right",t+this.scrollbarwidth)},i.prototype.resetscrollbar=function(){this.$body.css("padding-right","")},i.prototype.measurescrollbar=function(){var t=document.createelement("div");t.classname="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetwidth-t.clientwidth;return this.$body[0].removechild(t),e};var o=t.fn.modal;t.fn.modal=e,t.fn.modal.constructor=i,t.fn.modal.noconflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var o=t(this),s=o.attr("href"),n=t(o.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,"")),r=n.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},n.data(),o.data());o.is("a")&&i.preventdefault(),n.one("show.bs.modal",function(t){t.isdefaultprevented()||n.one("hidden.bs.modal",function(){o.is(":visible")&&o.trigger("focus")})}),e.call(n,r,this)})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.tooltip"),n="object"==typeof e&&e;(s||"destroy"!=e)&&(s||o.data("bs.tooltip",s=new i(this,n)),"string"==typeof e&&s[e]())})}var i=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverstate=this.$element=null,this.init("tooltip",t,e)};i.version="3.2.0",i.defaults={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getoptions(o),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var s=this.options.trigger.split(" "),n=s.length;n--;){var r=s[n];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixtitle()},i.prototype.getdefaults=function(){return i.defaults},i.prototype.getoptions=function(e){return e=t.extend({},this.getdefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getdelegateoptions=function(){var e={},i=this.getdefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currenttarget).data("bs."+this.type);return i||(i=new this.constructor(e.currenttarget,this.getdelegateoptions()),t(e.currenttarget).data("bs."+this.type,i)),cleartimeout(i.timeout),i.hoverstate="in",i.options.delay&&i.options.delay.show?void(i.timeout=settimeout(function(){"in"==i.hoverstate&&i.show()},i.options.delay.show)):i.show()},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currenttarget).data("bs."+this.type);return i||(i=new this.constructor(e.currenttarget,this.getdelegateoptions()),t(e.currenttarget).data("bs."+this.type,i)),cleartimeout(i.timeout),i.hoverstate="out",i.options.delay&&i.options.delay.hide?void(i.timeout=settimeout(function(){"out"==i.hoverstate&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.event("show.bs."+this.type);if(this.hascontent()&&this.enabled){this.$element.trigger(e);var i=t.contains(document.documentelement,this.$element[0]);if(e.isdefaultprevented()||!i)return;var o=this,s=this.tip(),n=this.getuid(this.type);this.setcontent(),s.attr("id",n),this.$element.attr("aria-describedby",n),this.options.animation&&s.addclass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,l=a.test(r);l&&(r=r.replace(a,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addclass(r).data("bs."+this.type,this),this.options.container?s.appendto(this.options.container):s.insertafter(this.$element);var h=this.getposition(),p=s[0].offsetwidth,c=s[0].offsetheight;if(l){var d=r,f=this.$element.parent(),u=this.getposition(f);r="bottom"==r&&h.top+h.height+c-u.scroll>u.height?"top":"top"==r&&h.top-u.scroll-c<0?"bottom":"right"==r&&h.right+p>u.width?"left":"left"==r&&h.left-pr.top+r.height&&(s.top=r.top+r.height-l)}else{var h=e.left-n,p=e.left+n+i;hr.width&&(s.left=r.left+r.width-p)}return s},i.prototype.gettitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getuid=function(t){do t+=~~(1e6*math.random());while(document.getelementbyid(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.validate=function(){this.$element[0].parentnode||(this.hide(),this.$element=null,this.options=null)},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleenabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currenttarget).data("bs."+this.type),i||(i=new this.constructor(e.currenttarget,this.getdelegateoptions()),t(e.currenttarget).data("bs."+this.type,i))),i.tip().hasclass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){cleartimeout(this.timeout),this.hide().$element.off("."+this.type).removedata("bs."+this.type)};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.constructor=i,t.fn.tooltip.noconflict=function(){return t.fn.tooltip=o,this}}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.popover"),n="object"==typeof e&&e;(s||"destroy"!=e)&&(s||o.data("bs.popover",s=new i(this,n)),"string"==typeof e&&s[e]())})}var i=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new error("popover requires tooltip.js");i.version="3.2.0",i.defaults=t.extend({},t.fn.tooltip.constructor.defaults,{placement:"right",trigger:"click",content:"",template:''}),i.prototype=t.extend({},t.fn.tooltip.constructor.prototype),i.prototype.constructor=i,i.prototype.getdefaults=function(){return i.defaults},i.prototype.setcontent=function(){var t=this.tip(),e=this.gettitle(),i=this.getcontent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").empty()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeclass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},i.prototype.hascontent=function(){return this.gettitle()||this.getcontent()},i.prototype.getcontent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},i.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var o=t.fn.popover;t.fn.popover=e,t.fn.popover.constructor=i,t.fn.popover.noconflict=function(){return t.fn.popover=o,this}}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.tab");s||o.data("bs.tab",s=new i(this)),"string"==typeof e&&s[e]()})}var i=function(e){this.element=t(e)};i.version="3.2.0",i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=e.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasclass("active")){var s=i.find(".active:last a")[0],n=t.event("show.bs.tab",{relatedtarget:s});if(e.trigger(n),!n.isdefaultprevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){e.trigger({type:"shown.bs.tab",relatedtarget:s})})}}},i.prototype.activate=function(e,i,o){function s(){n.removeclass("active").find("> .dropdown-menu > .active").removeclass("active"),e.addclass("active"),r?(e[0].offsetwidth,e.addclass("in")):e.removeclass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addclass("active"),o&&o()}var n=i.find("> .active"),r=o&&t.support.transition&&n.hasclass("fade");r?n.one("bstransitionend",s).emulatetransitionend(150):s(),n.removeclass("in")};var o=t.fn.tab;t.fn.tab=e,t.fn.tab.constructor=i,t.fn.tab.noconflict=function(){return t.fn.tab=o,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(i){i.preventdefault(),e.call(t(this),"show")})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.affix"),n="object"==typeof e&&e;s||o.data("bs.affix",s=new i(this,n)),"string"==typeof e&&s[e]()})}var i=function(e,o){this.options=t.extend({},i.defaults,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkposition,this)).on("click.bs.affix.data-api",t.proxy(this.checkpositionwitheventloop,this)),this.$element=t(e),this.affixed=this.unpin=this.pinnedoffset=null,this.checkposition()};i.version="3.2.0",i.reset="affix affix-top affix-bottom",i.defaults={offset:0,target:window},i.prototype.getpinnedoffset=function(){if(this.pinnedoffset)return this.pinnedoffset;this.$element.removeclass(i.reset).addclass("affix");var t=this.$target.scrolltop(),e=this.$element.offset();return this.pinnedoffset=e.top-t},i.prototype.checkpositionwitheventloop=function(){settimeout(t.proxy(this.checkposition,this),1)},i.prototype.checkposition=function(){if(this.$element.is(":visible")){var e=t(document).height(),o=this.$target.scrolltop(),s=this.$element.offset(),n=this.options.offset,r=n.top,a=n.bottom;"object"!=typeof n&&(a=r=n),"function"==typeof r&&(r=n.top(this.$element)),"function"==typeof a&&(a=n.bottom(this.$element));var l=null!=this.unpin&&o+this.unpin<=s.top?!1:null!=a&&s.top+this.$element.height()>=e-a?"bottom":null!=r&&r>=o?"top":!1;if(this.affixed!==l){null!=this.unpin&&this.$element.css("top","");var h="affix"+(l?"-"+l:""),p=t.event(h+".bs.affix");this.$element.trigger(p),p.isdefaultprevented()||(this.affixed=l,this.unpin="bottom"==l?this.getpinnedoffset():null,this.$element.removeclass(i.reset).addclass(h).trigger(t.event(h.replace("affix","affixed"))),"bottom"==l&&this.$element.offset({top:e-this.$element.height()-a}))}}};var o=t.fn.affix;t.fn.affix=e,t.fn.affix.constructor=i,t.fn.affix.noconflict=function(){return t.fn.affix=o,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),o=i.data();o.offset=o.offset||{},o.offsetbottom&&(o.offset.bottom=o.offsetbottom),o.offsettop&&(o.offset.top=o.offsettop),e.call(i,o)})})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.collapse"),n=t.extend({},i.defaults,o.data(),"object"==typeof e&&e);!s&&n.toggle&&"show"==e&&(e=!e),s||o.data("bs.collapse",s=new i(this,n)),"string"==typeof e&&s[e]()})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.defaults,o),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};i.version="3.2.0",i.defaults={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasclass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasclass("in")){var i=t.event("show.bs.collapse");if(this.$element.trigger(i),!i.isdefaultprevented()){var o=this.$parent&&this.$parent.find("> .panel > .in");if(o&&o.length){var s=o.data("bs.collapse");if(s&&s.transitioning)return;e.call(o,"hide"),s||o.data("bs.collapse",null)}var n=this.dimension();this.$element.removeclass("collapse").addclass("collapsing")[n](0),this.transitioning=1;var r=function(){this.$element.removeclass("collapsing").addclass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var a=t.camelcase(["scroll",n].join("-"));this.$element.one("bstransitionend",t.proxy(r,this)).emulatetransitionend(350)[n](this.$element[0][a])}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasclass("in")){var e=t.event("hide.bs.collapse");if(this.$element.trigger(e),!e.isdefaultprevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetheight,this.$element.addclass("collapsing").removeclass("collapse").removeclass("in"),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeclass("collapsing").addclass("collapse")};return t.support.transition?void this.$element[i](0).one("bstransitionend",t.proxy(o,this)).emulatetransitionend(350):o.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasclass("in")?"hide":"show"]()};var o=t.fn.collapse;t.fn.collapse=e,t.fn.collapse.constructor=i,t.fn.collapse.noconflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o,s=t(this),n=s.attr("data-target")||i.preventdefault()||(o=s.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""),r=t(n),a=r.data("bs.collapse"),l=a?"toggle":s.data(),h=s.attr("data-parent"),p=h&&t(h);a&&a.transitioning||(p&&p.find('[data-toggle="collapse"][data-parent="'+h+'"]').not(s).addclass("collapsed"),s[r.hasclass("in")?"addclass":"removeclass"]("collapsed")),e.call(r,l)})}(jquery),+function(t){"use strict";function e(i,o){var s=t.proxy(this.process,this);this.$body=t("body"),this.$scrollelement=t(t(i).is("body")?window:i),this.options=t.extend({},e.defaults,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activetarget=null,this.scrollheight=0,this.$scrollelement.on("scroll.bs.scrollspy",s),this.refresh(),this.process()}function i(i){return this.each(function(){var o=t(this),s=o.data("bs.scrollspy"),n="object"==typeof i&&i;s||o.data("bs.scrollspy",s=new e(this,n)),"string"==typeof i&&s[i]()})}e.version="3.2.0",e.defaults={offset:10},e.prototype.getscrollheight=function(){return this.$scrollelement[0].scrollheight||math.max(this.$body[0].scrollheight,document.documentelement.scrollheight)},e.prototype.refresh=function(){var e="offset",i=0;t.iswindow(this.$scrollelement[0])||(e="position",i=this.$scrollelement.scrolltop()),this.offsets=[],this.targets=[],this.scrollheight=this.getscrollheight();var o=this;this.$body.find(this.selector).map(function(){var o=t(this),s=o.data("target")||o.attr("href"),n=/^#./.test(s)&&t(s);return n&&n.length&&n.is(":visible")&&[[n[e]().top+i,s]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){o.offsets.push(this[0]),o.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollelement.scrolltop()+this.options.offset,i=this.getscrollheight(),o=this.options.offset+i-this.$scrollelement.height(),s=this.offsets,n=this.targets,r=this.activetarget;if(this.scrollheight!=i&&this.refresh(),e>=o)return r!=(t=n[n.length-1])&&this.activate(t);if(r&&e<=s[0])return r!=(t=n[0])&&this.activate(t);for(t=s.length;t--;)r!=n[t]&&e>=s[t]&&(!s[t+1]||e<=s[t+1])&&this.activate(n[t])},e.prototype.activate=function(e){this.activetarget=e,t(this.selector).parentsuntil(this.options.target,".active").removeclass("active");var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addclass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addclass("active")),o.trigger("activate.bs.scrollspy")};var o=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.constructor=e,t.fn.scrollspy.noconflict=function(){return t.fn.scrollspy=o,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jquery),+function(t){"use strict";function e(){var t=document.createelement("bootstrap"),e={webkittransition:"webkittransitionend",moztransition:"transitionend",otransition:"otransitionend otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulatetransitionend=function(e){var i=!1,o=this;t(this).one("bstransitionend",function(){i=!0});var s=function(){i||t(o).trigger(t.support.transition.end)};return settimeout(s,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bstransitionend={bindtype:t.support.transition.end,delegatetype:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleobj.handler.apply(this,arguments):void 0}})})}(jquery);