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