if("undefined"===typeof jQuery)throw Error("Bootstrap's JavaScript requires jQuery");+function(b){b=b.fn.jquery.split(" ")[0].split(".");if(2>b[0]&&9>b[1]||1==b[0]&&9==b[1]&&1>b[2]||2<b[0])throw Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3");}(jQuery);
+function(b){var d=function(c){b(c).on("click",'[data-dismiss\x3d"alert"]',this.close)};d.VERSION="3.3.6";d.TRANSITION_DURATION=150;d.prototype.close=function(c){function a(){f.detach().trigger("closed.bs.alert").remove()}var g=b(this),h=g.attr("data-target");h||(h=(h=g.attr("href"))&&h.replace(/.*(?=#[^\s]*$)/,""));var f=b(h);c&&c.preventDefault();f.length||(f=g.closest(".alert"));f.trigger(c=b.Event("close.bs.alert"));c.isDefaultPrevented()||(f.removeClass("in"),b.support.transition&&f.hasClass("fade")?
f.one("bsTransitionEnd",a).emulateTransitionEnd(d.TRANSITION_DURATION):a())};var e=b.fn.alert;b.fn.alert=function(c){return this.each(function(){var a=b(this),g=a.data("bs.alert");g||a.data("bs.alert",g=new d(this));"string"==typeof c&&g[c].call(a)})};b.fn.alert.Constructor=d;b.fn.alert.noConflict=function(){b.fn.alert=e;return this};b(document).on("click.bs.alert.data-api",'[data-dismiss\x3d"alert"]',d.prototype.close)}(jQuery);
+function(b){function d(a){return this.each(function(){var g=b(this),h=g.data("bs.button"),c="object"==typeof a&&a;h||g.data("bs.button",h=new e(this,c));"toggle"==a?h.toggle():a&&h.setState(a)})}var e=function(a,g){this.$element=b(a);this.options=b.extend({},e.DEFAULTS,g);this.isLoading=!1};e.VERSION="3.3.6";e.DEFAULTS={loadingText:"loading..."};e.prototype.setState=function(a){var g=this.$element,h=g.is("input")?"val":"html",c=g.data();a+="Text";null==c.resetText&&g.data("resetText",g[h]());setTimeout(b.proxy(function(){g[h](null==
c[a]?this.options[a]:c[a]);"loadingText"==a?(this.isLoading=!0,g.addClass("disabled").attr("disabled","disabled")):this.isLoading&&(this.isLoading=!1,g.removeClass("disabled").removeAttr("disabled"))},this),0)};e.prototype.toggle=function(){var a=!0,g=this.$element.closest('[data-toggle\x3d"buttons"]');if(g.length){var b=this.$element.find("input");"radio"==b.prop("type")?(b.prop("checked")&&(a=!1),g.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==b.prop("type")&&
(b.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active"));b.prop("checked",this.$element.hasClass("active"));a&&b.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var c=b.fn.button;b.fn.button=d;b.fn.button.Constructor=e;b.fn.button.noConflict=function(){b.fn.button=c;return this};b(document).on("click.bs.button.data-api",'[data-toggle^\x3d"button"]',function(a){var g=b(a.target);
g.hasClass("btn")||(g=g.closest(".btn"));d.call(g,"toggle");b(a.target).is('input[type\x3d"radio"]')||b(a.target).is('input[type\x3d"checkbox"]')||a.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^\x3d"button"]',function(a){b(a.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(a.type))})}(jQuery);
+function(b){function d(g){return this.each(function(){var a=b(this),c=a.data("bs.carousel"),d=b.extend({},e.DEFAULTS,a.data(),"object"==typeof g&&g),l="string"==typeof g?g:d.slide;c||a.data("bs.carousel",c=new e(this,d));if("number"==typeof g)c.to(g);else if(l)c[l]();else d.interval&&c.pause().cycle()})}var e=function(g,a){this.$element=b(g);this.$indicators=this.$element.find(".carousel-indicators");this.options=a;this.$items=this.$active=this.interval=this.sliding=this.paused=null;this.options.keyboard&&
this.$element.on("keydown.bs.carousel",b.proxy(this.keydown,this));"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",b.proxy(this.pause,this)).on("mouseleave.bs.carousel",b.proxy(this.cycle,this))};e.VERSION="3.3.6";e.TRANSITION_DURATION=600;e.DEFAULTS={interval:5E3,pause:"hover",wrap:!0,keyboard:!0};e.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();
break;default:return}a.preventDefault()}};e.prototype.cycle=function(a){a||(this.paused=!1);this.interval&&clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval(b.proxy(this.next,this),this.options.interval));return this};e.prototype.getItemIndex=function(a){this.$items=a.parent().children(".item");return this.$items.index(a||this.$active)};e.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b);return("prev"==a&&0===c||"next"==a&&c==this.$items.length-
1)&&!this.options.wrap?b:this.$items.eq((c+("prev"==a?-1:1))%this.$items.length)};e.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||0>a))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))};e.prototype.pause=function(a){a||(this.paused=!0);this.$element.find(".next, .prev").length&&b.support.transition&&(this.$element.trigger(b.support.transition.end),
this.cycle(!0));this.interval=clearInterval(this.interval);return this};e.prototype.next=function(){if(!this.sliding)return this.slide("next")};e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};e.prototype.slide=function(a,c){var f=this.$element.find(".item.active"),d=c||this.getItemForDirection(a,f),l=this.interval,k="next"==a?"left":"right",m=this;if(d.hasClass("active"))return this.sliding=!1;var q=d[0],p=b.Event("slide.bs.carousel",{relatedTarget:q,direction:k});this.$element.trigger(p);
if(!p.isDefaultPrevented()){this.sliding=!0;l&&this.pause();this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),(p=b(this.$indicators.children()[this.getItemIndex(d)]))&&p.addClass("active"));var r=b.Event("slid.bs.carousel",{relatedTarget:q,direction:k});b.support.transition&&this.$element.hasClass("slide")?(d.addClass(a),d[0].offsetWidth,f.addClass(k),d.addClass(k),f.one("bsTransitionEnd",function(){d.removeClass([a,k].join(" ")).addClass("active");f.removeClass(["active",
k].join(" "));m.sliding=!1;setTimeout(function(){m.$element.trigger(r)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(f.removeClass("active"),d.addClass("active"),this.sliding=!1,this.$element.trigger(r));l&&this.cycle();return this}};var c=b.fn.carousel;b.fn.carousel=d;b.fn.carousel.Constructor=e;b.fn.carousel.noConflict=function(){b.fn.carousel=c;return this};var a=function(a){var c,f=b(this),e=b(f.attr("data-target")||(c=f.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""));if(e.hasClass("carousel")){c=
b.extend({},e.data(),f.data());if(f=f.attr("data-slide-to"))c.interval=!1;d.call(e,c);f&&e.data("bs.carousel").to(f);a.preventDefault()}};b(document).on("click.bs.carousel.data-api","[data-slide]",a).on("click.bs.carousel.data-api","[data-slide-to]",a);b(window).on("load",function(){b('[data-ride\x3d"carousel"]').each(function(){var a=b(this);d.call(a,a.data())})})}(jQuery);
+function(b){function d(a){var c=a.attr("data-target");c||(c=(c=a.attr("href"))&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));return(c=c&&b(c))&&c.length?c:a.parent()}function e(a){a&&3===a.which||(b(".dropdown-backdrop").remove(),b('[data-toggle\x3d"dropdown"]').each(function(){var c=b(this),f=d(c),e={relatedTarget:this};!f.hasClass("open")||a&&"click"==a.type&&/input|textarea/i.test(a.target.tagName)&&b.contains(f[0],a.target)||(f.trigger(a=b.Event("hide.bs.dropdown",e)),a.isDefaultPrevented()||
(c.attr("aria-expanded","false"),f.removeClass("open").trigger(b.Event("hidden.bs.dropdown",e))))}))}var c=function(a){b(a).on("click.bs.dropdown",this.toggle)};c.VERSION="3.3.6";c.prototype.toggle=function(a){var c=b(this);if(!c.is(".disabled, :disabled")){var f=d(c);a=f.hasClass("open");e();if(!a){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length)b(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(b(this)).on("click",e);var n={relatedTarget:this};
f.trigger(a=b.Event("show.bs.dropdown",n));if(a.isDefaultPrevented())return;c.trigger("focus").attr("aria-expanded","true");f.toggleClass("open").trigger(b.Event("shown.bs.dropdown",n))}return!1}};c.prototype.keydown=function(a){if(/(38|40|27|32)/.test(a.which)&&!/input|textarea/i.test(a.target.tagName)){var c=b(this);a.preventDefault();a.stopPropagation();if(!c.is(".disabled, :disabled")){var f=d(c),e=f.hasClass("open");if(!e&&27!=a.which||e&&27==a.which)return 27==a.which&&f.find('[data-toggle\x3d"dropdown"]').trigger("focus"),
c.trigger("click");c=f.find(".dropdown-menu li:not(.disabled):visible a");c.length&&(f=c.index(a.target),38==a.which&&0<f&&f--,40==a.which&&f<c.length-1&&f++,~f||(f=0),c.eq(f).trigger("focus"))}}};var a=b.fn.dropdown;b.fn.dropdown=function(a){return this.each(function(){var h=b(this),f=h.data("bs.dropdown");f||h.data("bs.dropdown",f=new c(this));"string"==typeof a&&f[a].call(h)})};b.fn.dropdown.Constructor=c;b.fn.dropdown.noConflict=function(){b.fn.dropdown=a;return this};b(document).on("click.bs.dropdown.data-api",
e).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",'[data-toggle\x3d"dropdown"]',c.prototype.toggle).on("keydown.bs.dropdown.data-api",'[data-toggle\x3d"dropdown"]',c.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",c.prototype.keydown)}(jQuery);
+function(b){function d(a,c){return this.each(function(){var h=b(this),f=h.data("bs.modal"),d=b.extend({},e.DEFAULTS,h.data(),"object"==typeof a&&a);f||h.data("bs.modal",f=new e(this,d));if("string"==typeof a)f[a](c);else d.show&&f.show(c)})}var e=function(a,c){this.options=c;this.$body=b(document.body);this.$element=b(a);this.$dialog=this.$element.find(".modal-dialog");this.originalBodyPad=this.isShown=this.$backdrop=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,
b.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};e.VERSION="3.3.6";e.TRANSITION_DURATION=300;e.BACKDROP_TRANSITION_DURATION=150;e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};e.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)};e.prototype.show=function(a){var c=this,h=b.Event("show.bs.modal",{relatedTarget:a});this.$element.trigger(h);this.isShown||h.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),
this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss\x3d"modal"]',b.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){c.$element.one("mouseup.dismiss.bs.modal",function(a){b(a.target).is(c.$element)&&(c.ignoreBackdropClick=!0)})}),this.backdrop(function(){var h=b.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(c.$body);c.$element.show().scrollTop(0);c.adjustDialog();h&&c.$element[0].offsetWidth;
c.$element.addClass("in");c.enforceFocus();var d=b.Event("shown.bs.modal",{relatedTarget:a});h?c.$dialog.one("bsTransitionEnd",function(){c.$element.trigger("focus").trigger(d)}).emulateTransitionEnd(e.TRANSITION_DURATION):c.$element.trigger("focus").trigger(d)}))};e.prototype.hide=function(a){a&&a.preventDefault();a=b.Event("hide.bs.modal");this.$element.trigger(a);this.isShown&&!a.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),b(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),
this.$dialog.off("mousedown.dismiss.bs.modal"),b.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",b.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())};e.prototype.enforceFocus=function(){b(document).off("focusin.bs.modal").on("focusin.bs.modal",b.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))};e.prototype.escape=function(){if(this.isShown&&this.options.keyboard)this.$element.on("keydown.dismiss.bs.modal",
b.proxy(function(a){27==a.which&&this.hide()},this));else this.isShown||this.$element.off("keydown.dismiss.bs.modal")};e.prototype.resize=function(){if(this.isShown)b(window).on("resize.bs.modal",b.proxy(this.handleUpdate,this));else b(window).off("resize.bs.modal")};e.prototype.hideModal=function(){var a=this;this.$element.hide();this.backdrop(function(){a.$body.removeClass("modal-open");a.resetAdjustments();a.resetScrollbar();a.$element.trigger("hidden.bs.modal")})};e.prototype.removeBackdrop=function(){this.$backdrop&&
this.$backdrop.remove();this.$backdrop=null};e.prototype.backdrop=function(a){var c=this,h=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=b.support.transition&&h;this.$backdrop=b(document.createElement("div")).addClass("modal-backdrop "+h).appendTo(this.$body);this.$element.on("click.dismiss.bs.modal",b.proxy(function(a){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():
this.hide())},this));f&&this.$backdrop[0].offsetWidth;this.$backdrop.addClass("in");a&&(f?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a())}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),h=function(){c.removeBackdrop();a&&a()},b.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",h).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):h()):a&&a()};e.prototype.handleUpdate=function(){this.adjustDialog()};
e.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})};e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};e.prototype.checkScrollbar=function(){var a=window.innerWidth;a||(a=document.documentElement.getBoundingClientRect(),a=a.right-Math.abs(a.left));this.bodyIsOverflowing=
document.body.clientWidth<a;this.scrollbarWidth=this.measureScrollbar()};e.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)};e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};e.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure";
this.$body.append(a);var b=a.offsetWidth-a.clientWidth;this.$body[0].removeChild(a);return b};var c=b.fn.modal;b.fn.modal=d;b.fn.modal.Constructor=e;b.fn.modal.noConflict=function(){b.fn.modal=c;return this};b(document).on("click.bs.modal.data-api",'[data-toggle\x3d"modal"]',function(a){var c=b(this),h=c.attr("href"),f=b(c.attr("data-target")||h&&h.replace(/.*(?=#[^\s]+$)/,"")),h=f.data("bs.modal")?"toggle":b.extend({remote:!/#/.test(h)&&h},f.data(),c.data());c.is("a")&&a.preventDefault();f.one("show.bs.modal",
function(a){if(!a.isDefaultPrevented())f.one("hidden.bs.modal",function(){c.is(":visible")&&c.trigger("focus")})});d.call(f,h,this)})}(jQuery);
+function(b){var d=function(c,a){this.inState=this.$element=this.hoverState=this.timeout=this.enabled=this.options=this.type=null;this.init("tooltip",c,a)};d.VERSION="3.3.6";d.TRANSITION_DURATION=150;d.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'\x3cdiv class\x3d"tooltip" role\x3d"tooltip"\x3e\x3cdiv class\x3d"tooltip-arrow"\x3e\x3c/div\x3e\x3cdiv class\x3d"tooltip-inner"\x3e\x3c/div\x3e\x3c/div\x3e',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",
padding:0}};d.prototype.init=function(c,a,g){this.enabled=!0;this.type=c;this.$element=b(a);this.options=this.getOptions(g);this.$viewport=this.options.viewport&&b(b.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};if(this.$element[0]instanceof document.constructor&&!this.options.selector)throw Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");
c=this.options.trigger.split(" ");for(a=c.length;a--;)if(g=c[a],"click"==g)this.$element.on("click."+this.type,this.options.selector,b.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseleave":"focusout";this.$element.on(("hover"==g?"mouseenter":"focusin")+"."+this.type,this.options.selector,b.proxy(this.enter,this));this.$element.on(h+"."+this.type,this.options.selector,b.proxy(this.leave,this))}this.options.selector?this._options=b.extend({},this.options,{trigger:"manual",selector:""}):
this.fixTitle()};d.prototype.getDefaults=function(){return d.DEFAULTS};d.prototype.getOptions=function(c){c=b.extend({},this.getDefaults(),this.$element.data(),c);c.delay&&"number"==typeof c.delay&&(c.delay={show:c.delay,hide:c.delay});return c};d.prototype.getDelegateOptions=function(){var c={},a=this.getDefaults();this._options&&b.each(this._options,function(b,h){a[b]!=h&&(c[b]=h)});return c};d.prototype.enter=function(c){var a=c instanceof this.constructor?c:b(c.currentTarget).data("bs."+this.type);
a||(a=new this.constructor(c.currentTarget,this.getDelegateOptions()),b(c.currentTarget).data("bs."+this.type,a));c instanceof b.Event&&(a.inState["focusin"==c.type?"focus":"hover"]=!0);if(a.tip().hasClass("in")||"in"==a.hoverState)a.hoverState="in";else{clearTimeout(a.timeout);a.hoverState="in";if(!a.options.delay||!a.options.delay.show)return a.show();a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)}};d.prototype.isInStateTrue=function(){for(var b in this.inState)if(this.inState[b])return!0;
return!1};d.prototype.leave=function(c){var a=c instanceof this.constructor?c:b(c.currentTarget).data("bs."+this.type);a||(a=new this.constructor(c.currentTarget,this.getDelegateOptions()),b(c.currentTarget).data("bs."+this.type,a));c instanceof b.Event&&(a.inState["focusout"==c.type?"focus":"hover"]=!1);if(!a.isInStateTrue()){clearTimeout(a.timeout);a.hoverState="out";if(!a.options.delay||!a.options.delay.hide)return a.hide();a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)}};
d.prototype.show=function(){var c=b.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(c);var a=b.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(!c.isDefaultPrevented()&&a){var g=this,c=this.tip(),a=this.getUID(this.type);this.setContent();c.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&c.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):
this.options.placement,h=/\s?auto?\s?/i,f=h.test(a);f&&(a=a.replace(h,"")||"top");c.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this);this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),e=c[0].offsetWidth,l=c[0].offsetHeight;if(f){var f=a,k=this.getPosition(this.$viewport),a="bottom"==a&&h.bottom+l>k.bottom?"top":"top"==a&&h.top-l<k.top?"bottom":"right"==a&&
h.right+e>k.width?"left":"left"==a&&h.left-e<k.left?"right":a;c.removeClass(f).addClass(a)}h=this.getCalculatedOffset(a,h,e,l);this.applyPlacement(h,a);a=function(){var a=g.hoverState;g.$element.trigger("shown.bs."+g.type);g.hoverState=null;"out"==a&&g.leave(g)};b.support.transition&&this.$tip.hasClass("fade")?c.one("bsTransitionEnd",a).emulateTransitionEnd(d.TRANSITION_DURATION):a()}}};d.prototype.applyPlacement=function(c,a){var g=this.tip(),h=g[0].offsetWidth,f=g[0].offsetHeight,e=parseInt(g.css("margin-top"),
10),d=parseInt(g.css("margin-left"),10);isNaN(e)&&(e=0);isNaN(d)&&(d=0);c.top+=e;c.left+=d;b.offset.setOffset(g[0],b.extend({using:function(a){g.css({top:Math.round(a.top),left:Math.round(a.left)})}},c),0);g.addClass("in");var d=g[0].offsetWidth,k=g[0].offsetHeight;"top"==a&&k!=f&&(c.top=c.top+f-k);var m=this.getViewportAdjustedDelta(a,c,d,k);m.left?c.left+=m.left:c.top+=m.top;h=(e=/top|bottom/.test(a))?2*m.left-h+d:2*m.top-f+k;f=e?"offsetWidth":"offsetHeight";g.offset(c);this.replaceArrow(h,g[0][f],
e)};d.prototype.replaceArrow=function(b,a,g){this.arrow().css(g?"left":"top",50*(1-b/a)+"%").css(g?"top":"left","")};d.prototype.setContent=function(){var b=this.tip(),a=this.getTitle();b.find(".tooltip-inner")[this.options.html?"html":"text"](a);b.removeClass("fade in top bottom left right")};d.prototype.hide=function(c){function a(){"in"!=g.hoverState&&h.detach();g.$element.removeAttr("aria-describedby").trigger("hidden.bs."+g.type);c&&c()}var g=this,h=b(this.$tip),f=b.Event("hide.bs."+this.type);
this.$element.trigger(f);if(!f.isDefaultPrevented())return h.removeClass("in"),b.support.transition&&h.hasClass("fade")?h.one("bsTransitionEnd",a).emulateTransitionEnd(d.TRANSITION_DURATION):a(),this.hoverState=null,this};d.prototype.fixTitle=function(){var b=this.$element;(b.attr("title")||"string"!=typeof b.attr("data-original-title"))&&b.attr("data-original-title",b.attr("title")||"").attr("title","")};d.prototype.hasContent=function(){return this.getTitle()};d.prototype.getPosition=function(c){c=
c||this.$element;var a=c[0],g="BODY"==a.tagName,a=a.getBoundingClientRect();null==a.width&&(a=b.extend({},a,{width:a.right-a.left,height:a.bottom-a.top}));var h=g?{top:0,left:0}:c.offset();c={scroll:g?document.documentElement.scrollTop||document.body.scrollTop:c.scrollTop()};g=g?{width:b(window).width(),height:b(window).height()}:null;return b.extend({},a,c,g,h)};d.prototype.getCalculatedOffset=function(b,a,g,h){return"bottom"==b?{top:a.top+a.height,left:a.left+a.width/2-g/2}:"top"==b?{top:a.top-
h,left:a.left+a.width/2-g/2}:"left"==b?{top:a.top+a.height/2-h/2,left:a.left-g}:{top:a.top+a.height/2-h/2,left:a.left+a.width}};d.prototype.getViewportAdjustedDelta=function(b,a,g,h){var f={top:0,left:0};if(!this.$viewport)return f;var e=this.options.viewport&&this.options.viewport.padding||0,d=this.getPosition(this.$viewport);/right|left/.test(b)?(g=a.top-e-d.scroll,a=a.top+e-d.scroll+h,g<d.top?f.top=d.top-g:a>d.top+d.height&&(f.top=d.top+d.height-a)):(h=a.left-e,a=a.left+e+g,h<d.left?f.left=d.left-
h:a>d.right&&(f.left=d.left+d.width-a));return f};d.prototype.getTitle=function(){var b=this.$element,a=this.options;return b.attr("data-original-title")||("function"==typeof a.title?a.title.call(b[0]):a.title)};d.prototype.getUID=function(b){do b+=~~(1E6*Math.random());while(document.getElementById(b));return b};d.prototype.tip=function(){if(!this.$tip&&(this.$tip=b(this.options.template),1!=this.$tip.length))throw Error(this.type+" `template` option must consist of exactly 1 top-level element!");
return this.$tip};d.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};d.prototype.enable=function(){this.enabled=!0};d.prototype.disable=function(){this.enabled=!1};d.prototype.toggleEnabled=function(){this.enabled=!this.enabled};d.prototype.toggle=function(c){var a=this;c&&(a=b(c.currentTarget).data("bs."+this.type),a||(a=new this.constructor(c.currentTarget,this.getDelegateOptions()),b(c.currentTarget).data("bs."+this.type,a)));c?(a.inState.click=!a.inState.click,
a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)};d.prototype.destroy=function(){var b=this;clearTimeout(this.timeout);this.hide(function(){b.$element.off("."+b.type).removeData("bs."+b.type);b.$tip&&b.$tip.detach();b.$tip=null;b.$arrow=null;b.$viewport=null})};var e=b.fn.tooltip;b.fn.tooltip=function(c){return this.each(function(){var a=b(this),g=a.data("bs.tooltip"),h="object"==typeof c&&c;if(g||!/destroy|hide/.test(c))if(g||a.data("bs.tooltip",g=new d(this,
h)),"string"==typeof c)g[c]()})};b.fn.tooltip.Constructor=d;b.fn.tooltip.noConflict=function(){b.fn.tooltip=e;return this}}(jQuery);
+function(b){var d=function(b,a){this.init("popover",b,a)};if(!b.fn.tooltip)throw Error("Popover requires tooltip.js");d.VERSION="3.3.6";d.DEFAULTS=b.extend({},b.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'\x3cdiv class\x3d"popover" role\x3d"tooltip"\x3e\x3cdiv class\x3d"arrow"\x3e\x3c/div\x3e\x3ch3 class\x3d"popover-title"\x3e\x3c/h3\x3e\x3cdiv class\x3d"popover-content"\x3e\x3c/div\x3e\x3c/div\x3e'});d.prototype=b.extend({},b.fn.tooltip.Constructor.prototype);
d.prototype.constructor=d;d.prototype.getDefaults=function(){return d.DEFAULTS};d.prototype.setContent=function(){var b=this.tip(),a=this.getTitle(),g=this.getContent();b.find(".popover-title")[this.options.html?"html":"text"](a);b.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof g?"html":"append":"text"](g);b.removeClass("fade top bottom left right in");b.find(".popover-title").html()||b.find(".popover-title").hide()};d.prototype.hasContent=function(){return this.getTitle()||
this.getContent()};d.prototype.getContent=function(){var b=this.$element,a=this.options;return b.attr("data-content")||("function"==typeof a.content?a.content.call(b[0]):a.content)};d.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=b.fn.popover;b.fn.popover=function(c){return this.each(function(){var a=b(this),g=a.data("bs.popover"),h="object"==typeof c&&c;if(g||!/destroy|hide/.test(c))if(g||a.data("bs.popover",g=new d(this,h)),"string"==typeof c)g[c]()})};
b.fn.popover.Constructor=d;b.fn.popover.noConflict=function(){b.fn.popover=e;return this}}(jQuery);
+function(b){function d(a){return this.each(function(){var c=b(this),f=c.data("bs.tab");f||c.data("bs.tab",f=new e(this));if("string"==typeof a)f[a]()})}var e=function(a){this.element=b(a)};e.VERSION="3.3.6";e.TRANSITION_DURATION=150;e.prototype.show=function(){var a=this.element,c=a.closest("ul:not(.dropdown-menu)"),f=a.data("target");f||(f=(f=a.attr("href"))&&f.replace(/.*(?=#[^\s]*$)/,""));if(!a.parent("li").hasClass("active")){var d=c.find(".active:last a"),e=b.Event("hide.bs.tab",{relatedTarget:a[0]}),
k=b.Event("show.bs.tab",{relatedTarget:d[0]});d.trigger(e);a.trigger(k);k.isDefaultPrevented()||e.isDefaultPrevented()||(f=b(f),this.activate(a.closest("li"),c),this.activate(f,f.parent(),function(){d.trigger({type:"hidden.bs.tab",relatedTarget:a[0]});a.trigger({type:"shown.bs.tab",relatedTarget:d[0]})}))}};e.prototype.activate=function(a,c,f){function d(){l.removeClass("active").find("\x3e .dropdown-menu \x3e .active").removeClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded",
!1);a.addClass("active").find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);k?(a[0].offsetWidth,a.addClass("in")):a.removeClass("fade");a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find('[data-toggle\x3d"tab"]').attr("aria-expanded",!0);f&&f()}var l=c.find("\x3e .active"),k=f&&b.support.transition&&(l.length&&l.hasClass("fade")||!!c.find("\x3e .fade").length);l.length&&k?l.one("bsTransitionEnd",d).emulateTransitionEnd(e.TRANSITION_DURATION):d();l.removeClass("in")};
var c=b.fn.tab;b.fn.tab=d;b.fn.tab.Constructor=e;b.fn.tab.noConflict=function(){b.fn.tab=c;return this};var a=function(a){a.preventDefault();d.call(b(this),"show")};b(document).on("click.bs.tab.data-api",'[data-toggle\x3d"tab"]',a).on("click.bs.tab.data-api",'[data-toggle\x3d"pill"]',a)}(jQuery);
+function(b){function d(a){return this.each(function(){var c=b(this),d=c.data("bs.affix"),f="object"==typeof a&&a;d||c.data("bs.affix",d=new e(this,f));if("string"==typeof a)d[a]()})}var e=function(a,c){this.options=b.extend({},e.DEFAULTS,c);this.$target=b(this.options.target).on("scroll.bs.affix.data-api",b.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",b.proxy(this.checkPositionWithEventLoop,this));this.$element=b(a);this.pinnedOffset=this.unpin=this.affixed=null;this.checkPosition()};
e.VERSION="3.3.6";e.RESET="affix affix-top affix-bottom";e.DEFAULTS={offset:0,target:window};e.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),l=this.$element.offset(),k=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=l.top?!1:"bottom":e+k<=a-d?!1:"bottom";var m=null==this.affixed,l=m?e:l.top;return null!=c&&e<=c?"top":null!=d&&l+(m?k:b)>=a-d?"bottom":!1};e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;
this.$element.removeClass(e.RESET).addClass("affix");var a=this.$target.scrollTop();return this.pinnedOffset=this.$element.offset().top-a};e.prototype.checkPositionWithEventLoop=function(){setTimeout(b.proxy(this.checkPosition,this),1)};e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var a=this.$element.height(),c=this.options.offset,d=c.top,f=c.bottom,n=Math.max(b(document).height(),b(document.body).height());"object"!=typeof c&&(f=d=c);"function"==typeof d&&(d=c.top(this.$element));
"function"==typeof f&&(f=c.bottom(this.$element));c=this.getState(n,a,d,f);if(this.affixed!=c){null!=this.unpin&&this.$element.css("top","");var d="affix"+(c?"-"+c:""),l=b.Event(d+".bs.affix");this.$element.trigger(l);if(l.isDefaultPrevented())return;this.affixed=c;this.unpin="bottom"==c?this.getPinnedOffset():null;this.$element.removeClass(e.RESET).addClass(d).trigger(d.replace("affix","affixed")+".bs.affix")}"bottom"==c&&this.$element.offset({top:n-a-f})}};var c=b.fn.affix;b.fn.affix=d;b.fn.affix.Constructor=
e;b.fn.affix.noConflict=function(){b.fn.affix=c;return this};b(window).on("load",function(){b('[data-spy\x3d"affix"]').each(function(){var a=b(this),c=a.data();c.offset=c.offset||{};null!=c.offsetBottom&&(c.offset.bottom=c.offsetBottom);null!=c.offsetTop&&(c.offset.top=c.offsetTop);d.call(a,c)})})}(jQuery);
+function(b){function d(a){var c;a=a.attr("data-target")||(c=a.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return b(a)}function e(a){return this.each(function(){var d=b(this),f=d.data("bs.collapse"),e=b.extend({},c.DEFAULTS,d.data(),"object"==typeof a&&a);!f&&e.toggle&&/show|hide/.test(a)&&(e.toggle=!1);f||d.data("bs.collapse",f=new c(this,e));if("string"==typeof a)f[a]()})}var c=function(a,d){this.$element=b(a);this.options=b.extend({},c.DEFAULTS,d);this.$trigger=b('[data-toggle\x3d"collapse"][href\x3d"#'+
a.id+'"],[data-toggle\x3d"collapse"][data-target\x3d"#'+a.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()};c.VERSION="3.3.6";c.TRANSITION_DURATION=350;c.DEFAULTS={toggle:!0};c.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"};c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a,d=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");
if(d&&d.length&&(a=d.data("bs.collapse"))&&a.transitioning)return;var f=b.Event("show.bs.collapse");this.$element.trigger(f);if(!f.isDefaultPrevented()){d&&d.length&&(e.call(d,"hide"),a||d.data("bs.collapse",null));var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0);this.$trigger.removeClass("collapsed").attr("aria-expanded",!0);this.transitioning=1;a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[n]("");this.transitioning=
0;this.$element.trigger("shown.bs.collapse")};if(!b.support.transition)return a.call(this);d=b.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",b.proxy(a,this)).emulateTransitionEnd(c.TRANSITION_DURATION)[n](this.$element[0][d])}}};c.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=b.Event("hide.bs.collapse");this.$element.trigger(a);if(!a.isDefaultPrevented()){a=this.dimension();this.$element[a](this.$element[a]())[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 d=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!b.support.transition)return d.call(this);this.$element[a](0).one("bsTransitionEnd",b.proxy(d,this)).emulateTransitionEnd(c.TRANSITION_DURATION)}}};c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};c.prototype.getParent=function(){return b(this.options.parent).find('[data-toggle\x3d"collapse"][data-parent\x3d"'+
this.options.parent+'"]').each(b.proxy(function(a,c){var f=b(c);this.addAriaAndCollapsedClass(d(f),f)},this)).end()};c.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c);b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var a=b.fn.collapse;b.fn.collapse=e;b.fn.collapse.Constructor=c;b.fn.collapse.noConflict=function(){b.fn.collapse=a;return this};b(document).on("click.bs.collapse.data-api",'[data-toggle\x3d"collapse"]',function(a){var c=b(this);
c.attr("data-target")||a.preventDefault();a=d(c);c=a.data("bs.collapse")?"toggle":c.data();e.call(a,c)})}(jQuery);
+function(b){function d(a,c){this.$body=b(document.body);this.$scrollElement=b(a).is(document.body)?b(window):b(a);this.options=b.extend({},d.DEFAULTS,c);this.selector=(this.options.target||"")+" .nav li \x3e a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",b.proxy(this.process,this));this.refresh();this.process()}function e(a){return this.each(function(){var c=b(this),e=c.data("bs.scrollspy"),f="object"==typeof a&&a;e||c.data("bs.scrollspy",
e=new d(this,f));if("string"==typeof a)e[a]()})}d.VERSION="3.3.6";d.DEFAULTS={offset:10};d.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};d.prototype.refresh=function(){var a=this,c="offset",d=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();b.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var a=
b(this),a=a.data("target")||a.attr("href"),e=/^#./.test(a)&&b(a);return e&&e.length&&e.is(":visible")&&[[e[c]().top+d,a]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){a.offsets.push(this[0]);a.targets.push(this[1])})};d.prototype.process=function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.getScrollHeight(),c=this.options.offset+b-this.$scrollElement.height(),d=this.offsets,e=this.targets,l=this.activeTarget,k;this.scrollHeight!=b&&this.refresh();if(a>=c)return l!=
(k=e[e.length-1])&&this.activate(k);if(l&&a<d[0])return this.activeTarget=null,this.clear();for(k=d.length;k--;)l!=e[k]&&a>=d[k]&&(void 0===d[k+1]||a<d[k+1])&&this.activate(e[k])};d.prototype.activate=function(a){this.activeTarget=a;this.clear();a=b(this.selector+'[data-target\x3d"'+a+'"],'+this.selector+'[href\x3d"'+a+'"]').parents("li").addClass("active");a.parent(".dropdown-menu").length&&(a=a.closest("li.dropdown").addClass("active"));a.trigger("activate.bs.scrollspy")};d.prototype.clear=function(){b(this.selector).parentsUntil(this.options.target,
".active").removeClass("active")};var c=b.fn.scrollspy;b.fn.scrollspy=e;b.fn.scrollspy.Constructor=d;b.fn.scrollspy.noConflict=function(){b.fn.scrollspy=c;return this};b(window).on("load.bs.scrollspy.data-api",function(){b('[data-spy\x3d"scroll"]').each(function(){var a=b(this);e.call(a,a.data())})})}(jQuery);
+function(b){function d(){var b=document.createElement("bootstrap"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},a;for(a in c)if(void 0!==b.style[a])return{end:c[a]};return!1}b.fn.emulateTransitionEnd=function(d){var c=!1,a=this;b(this).one("bsTransitionEnd",function(){c=!0});setTimeout(function(){c||b(a).trigger(b.support.transition.end)},d);return this};b(function(){b.support.transition=d();b.support.transition&&
(b.event.special.bsTransitionEnd={bindType:b.support.transition.end,delegateType:b.support.transition.end,handle:function(d){if(b(d.target).is(this))return d.handleObj.handler.apply(this,arguments)}})})}(jQuery);