/*! * bootstrap v3.3.5 (http://getbootstrap.com) * copyright 2011-2016 twitter, inc. * licensed under mit (https://github.com/twbs/bootstrap/blob/master/license) */ /*! * generated using the bootstrap customizer (http://getbootstrap.com/customize/?id=7cb115170866b55297d0a7cc365864ff) * config saved to config.json and https://gist.github.com/7cb115170866b55297d0a7cc365864ff */ if("undefined"==typeof jquery)throw new error("bootstrap's javascript requires jquery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new error("bootstrap's javascript requires jquery version 1.9.1 or higher, but lower than version 3")}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.alert");n||i.data("bs.alert",n=new o(this)),"string"==typeof e&&n[e].call(i)})}var i='[data-dismiss="alert"]',o=function(e){t(e).on("click",i,this.close)};o.version="3.3.6",o.transition_duration=150,o.prototype.close=function(e){function i(){a.detach().trigger("closed.bs.alert").remove()}var n=t(this),s=n.attr("data-target");s||(s=n.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);e&&e.preventdefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.event("close.bs.alert")),e.isdefaultprevented()||(a.removeclass("in"),t.support.transition&&a.hasclass("fade")?a.one("bstransitionend",i).emulatetransitionend(o.transition_duration):i())};var n=t.fn.alert;t.fn.alert=e,t.fn.alert.constructor=o,t.fn.alert.noconflict=function(){return t.fn.alert=n,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),n=o.data("bs.button"),s="object"==typeof e&&e;n||o.data("bs.button",n=new i(this,s)),"toggle"==e?n.toggle():e&&n.setstate(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.defaults,o),this.isloading=!1};i.version="3.3.6",i.defaults={loadingtext:"loading..."},i.prototype.setstate=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="text",null==s.resettext&&o.data("resettext",o[n]()),settimeout(t.proxy(function(){o[n](null==s[e]?this.options[e]:s[e]),"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")&&(t=!1),e.find(".active").removeclass("active"),this.$element.addclass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasclass("active")&&(t=!1),this.$element.toggleclass("active")),i.prop("checked",this.$element.hasclass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasclass("active")),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"),t(i.target).is('input[type="radio"]')||t(i.target).is('input[type="checkbox"]')||i.preventdefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleclass("focus",/^focus(in)?$/.test(e.type))})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},i.defaults,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;n||o.data("bs.carousel",n=new i(this,s)),"number"==typeof e?n.to(e):a?n[a]():s.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentelement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.version="3.3.6",i.transition_duration=600,i.defaults={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagname)){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.getitemfordirection=function(t,e){var i=this.getitemindex(e),o="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(o&&!this.options.wrap)return e;var n="prev"==t?-1:1,s=(i+n)%this.$items.length;return this.$items.eq(s)},i.prototype.to=function(t){var e=this,i=this.getitemindex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},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,o){var n=this.$element.find(".item.active"),s=o||this.getitemfordirection(e,n),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasclass("active"))return this.sliding=!1;var h=s[0],d=t.event("slide.bs.carousel",{relatedtarget:h,direction:r});if(this.$element.trigger(d),!d.isdefaultprevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeclass("active");var p=t(this.$indicators.children()[this.getitemindex(s)]);p&&p.addclass("active")}var c=t.event("slid.bs.carousel",{relatedtarget:h,direction:r});return t.support.transition&&this.$element.hasclass("slide")?(s.addclass(e),s[0].offsetwidth,n.addclass(r),s.addclass(r),n.one("bstransitionend",function(){s.removeclass([e,r].join(" ")).addclass("active"),n.removeclass(["active",r].join(" ")),l.sliding=!1,settimeout(function(){l.$element.trigger(c)},0)}).emulatetransitionend(i.transition_duration)):(n.removeclass("active"),s.addclass("active"),this.sliding=!1,this.$element.trigger(c)),a&&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};var n=function(i){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasclass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventdefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),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){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 i(i){i&&3===i.which||(t(n).remove(),t(s).each(function(){var o=t(this),n=e(o),s={relatedtarget:this};n.hasclass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagname)&&t.contains(n[0],i.target)||(n.trigger(i=t.event("hide.bs.dropdown",s)),i.isdefaultprevented()||(o.attr("aria-expanded","false"),n.removeclass("open").trigger(t.event("hidden.bs.dropdown",s)))))}))}function o(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new a(this)),"string"==typeof e&&o[e].call(i)})}var n=".dropdown-backdrop",s='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.version="3.3.6",a.prototype.toggle=function(o){var n=t(this);if(!n.is(".disabled, :disabled")){var s=e(n),a=s.hasclass("open");if(i(),!a){"ontouchstart"in document.documentelement&&!s.closest(".navbar-nav").length&&t(document.createelement("div")).addclass("dropdown-backdrop").insertafter(t(this)).on("click",i);var r={relatedtarget:this};if(s.trigger(o=t.event("show.bs.dropdown",r)),o.isdefaultprevented())return;n.trigger("focus").attr("aria-expanded","true"),s.toggleclass("open").trigger(t.event("shown.bs.dropdown",r))}return!1}},a.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagname)){var o=t(this);if(i.preventdefault(),i.stoppropagation(),!o.is(".disabled, :disabled")){var n=e(o),a=n.hasclass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&n.find(s).trigger("focus"),o.trigger("click");var r=" li:not(.disabled):visible a",l=n.find(".dropdown-menu"+r);if(l.length){var h=l.index(i.target);38==i.which&&h>0&&h--,40==i.which&&hdocument.documentelement.clientheight;this.$element.css({paddingleft:!this.bodyisoverflowing&&t?this.scrollbarwidth:"",paddingright:this.bodyisoverflowing&&!t?this.scrollbarwidth:""})},i.prototype.resetadjustments=function(){this.$element.css({paddingleft:"",paddingright:""})},i.prototype.checkscrollbar=function(){var t=window.innerwidth;if(!t){var e=document.documentelement.getboundingclientrect();t=e.right-math.abs(e.left)}this.bodyisoverflowing=document.body.clientwidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getoptions(o),this.$viewport=this.options.viewport&&t(t.isfunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.instate={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+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)),e instanceof t.event&&(i.instate["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasclass("in")||"in"==i.hoverstate?void(i.hoverstate="in"):(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.isinstatetrue=function(){for(var t in this.instate)if(this.instate[t])return!0;return!1},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)),e instanceof t.event&&(i.instate["focusout"==e.type?"focus":"hover"]=!1),i.isinstatetrue()?void 0:(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 o=t.contains(this.$element[0].ownerdocument.documentelement,this.$element[0]);if(e.isdefaultprevented()||!o)return;var n=this,s=this.tip(),a=this.getuid(this.type);this.setcontent(),s.attr("id",a),this.$element.attr("aria-describedby",a),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,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"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),this.$element.trigger("inserted.bs."+this.type);var d=this.getposition(),p=s[0].offsetwidth,c=s[0].offsetheight;if(h){var f=r,u=this.getposition(this.$viewport);r="bottom"==r&&d.bottom+c>u.bottom?"top":"top"==r&&d.top-cu.width?"left":"left"==r&&d.left-pa.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;ha.right&&(n.left=a.left+a.width-d)}return n},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(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},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))),e?(i.instate.click=!i.instate.click,i.isinstatetrue()?i.enter(i):i.leave(i)):i.tip().hasclass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;cleartimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removedata("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};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),n=o.data("bs.popover"),s="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||o.data("bs.popover",n=new i(this,s)),"string"==typeof e&&n[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.3.6",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").children().detach().end()[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")};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),n=o.data("bs.tab");n||o.data("bs.tab",n=new i(this)),"string"==typeof e&&n[e]()})}var i=function(e){this.element=t(e)};i.version="3.3.6",i.transition_duration=150,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 n=i.find(".active:last a"),s=t.event("hide.bs.tab",{relatedtarget:e[0]}),a=t.event("show.bs.tab",{relatedtarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isdefaultprevented()&&!s.isdefaultprevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedtarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedtarget:n[0]})})}}},i.prototype.activate=function(e,o,n){function s(){a.removeclass("active").find("> .dropdown-menu > .active").removeclass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addclass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetwidth,e.addclass("in")):e.removeclass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addclass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var a=o.find("> .active"),r=n&&t.support.transition&&(a.length&&a.hasclass("fade")||!!o.find("> .fade").length);a.length&&r?a.one("bstransitionend",s).emulatetransitionend(i.transition_duration):s(),a.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};var n=function(i){i.preventdefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof e&&e;n||o.data("bs.affix",n=new i(this,s)),"string"==typeof e&&n[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=null,this.unpin=null,this.pinnedoffset=null,this.checkposition()};i.version="3.3.6",i.reset="affix affix-top affix-bottom",i.defaults={offset:0,target:window},i.prototype.getstate=function(t,e,i,o){var n=this.$target.scrolltop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return i>n?"top":!1;if("bottom"==this.affixed)return null!=i?n+this.unpin<=s.top?!1:"bottom":t-o>=n+a?!1:"bottom";var r=null==this.affixed,l=r?n:s.top,h=r?a:e;return null!=i&&i>=n?"top":null!=o&&l+h>=t-o?"bottom":!1},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=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getstate(a,e,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.event(l+".bs.affix");if(this.$element.trigger(h),h.isdefaultprevented())return;this.affixed=r,this.unpin="bottom"==r?this.getpinnedoffset():null,this.$element.removeclass(i.reset).addclass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-e-s})}};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||{},null!=o.offsetbottom&&(o.offset.bottom=o.offsetbottom),null!=o.offsettop&&(o.offset.top=o.offsettop),e.call(i,o)})})}(jquery),+function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.defaults,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.defaults,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getparent():this.addariaandcollapsedclass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.version="3.3.6",o.transition_duration=350,o.defaults={toggle:!0},o.prototype.dimension=function(){var t=this.$element.hasclass("width");return t?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasclass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=t.event("show.bs.collapse");if(this.$element.trigger(s),!s.isdefaultprevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeclass("collapse").addclass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeclass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeclass("collapsing").addclass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelcase(["scroll",a].join("-"));this.$element.one("bstransitionend",t.proxy(r,this)).emulatetransitionend(o.transition_duration)[a](this.$element[0][l]); }}}},o.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 in").attr("aria-expanded",!1),this.$trigger.addclass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeclass("collapsing").addclass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bstransitionend",t.proxy(n,this)).emulatetransitionend(o.transition_duration):n.call(this)}}},o.prototype.toggle=function(){this[this.$element.hasclass("in")?"hide":"show"]()},o.prototype.getparent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o);this.addariaandcollapsedclass(e(n),n)},this)).end()},o.prototype.addariaandcollapsedclass=function(t,e){var i=t.hasclass("in");t.attr("aria-expanded",i),e.toggleclass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.constructor=o,t.fn.collapse.noconflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventdefault();var s=e(n),a=s.data("bs.collapse"),r=a?"toggle":n.data();i.call(s,r)})}(jquery),+function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollelement=t(t(i).is(document.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",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()})}e.version="3.3.6",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=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollheight=this.getscrollheight(),t.iswindow(this.$scrollelement[0])||(i="position",o=this.$scrollelement.scrolltop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.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(),n=this.offsets,s=this.targets,a=this.activetarget;if(this.scrollheight!=i&&this.refresh(),e>=o)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e=n[t]&&(void 0===n[t+1]||e