if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=function(){function t(t,e){for(var n=0;n0?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(o.end)},supportsTransitionEnd:function(){return Boolean(o)},typeCheckConfig:function(t,i,o){for(var r in o)if(o.hasOwnProperty(r)){var s=o[r],a=i[r],l=a&&n(a)?"element":e(a);if(!new RegExp(s).test(l))throw new Error(t.toUpperCase()+': Option "'+r+'" provided type "'+l+'" but expected type "'+s+'".')}}};return o=function(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in r)if(void 0!==t.style[e])return{end:r[e]};return!1}(),t.fn.emulateTransitionEnd=i,s.supportsTransitionEnd()&&(t.event.special[s.TRANSITION_END]={bindType:o.end,delegateType:o.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),s}(jQuery),o=(function(e){var o="alert",r="bs.alert",s="."+r,a=e.fn[o],l={CLOSE:"close"+s,CLOSED:"closed"+s,CLICK_DATA_API:"click"+s+".data-api"},h="alert",c="fade",u="show",d=function(){function o(e){t(this,o),this._element=e}return o.prototype.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},o.prototype.dispose=function(){e.removeData(this._element,r),this._element=null},o.prototype._getRootElement=function(t){var n=i.getSelectorFromElement(t),o=!1;return n&&(o=e(n)[0]),o||(o=e(t).closest("."+h)[0]),o},o.prototype._triggerCloseEvent=function(t){var n=e.Event(l.CLOSE);return e(t).trigger(n),n},o.prototype._removeElement=function(t){var n=this;e(t).removeClass(u),i.supportsTransitionEnd()&&e(t).hasClass(c)?e(t).one(i.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(150):this._destroyElement(t)},o.prototype._destroyElement=function(t){e(t).detach().trigger(l.CLOSED).remove()},o._jQueryInterface=function(t){return this.each(function(){var n=e(this),i=n.data(r);i||(i=new o(this),n.data(r,i)),"close"===t&&i[t](this)})},o._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},n(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta"}}]),o}();e(document).on(l.CLICK_DATA_API,'[data-dismiss="alert"]',d._handleDismiss(new d)),e.fn[o]=d._jQueryInterface,e.fn[o].Constructor=d,e.fn[o].noConflict=function(){return e.fn[o]=a,d._jQueryInterface}}(jQuery),function(e){var i="button",o="bs.button",r="."+o,s=".data-api",a=e.fn[i],l="active",h="btn",c="focus",u='[data-toggle^="button"]',d='[data-toggle="buttons"]',f="input",p=".active",_=".btn",g={CLICK_DATA_API:"click"+r+s,FOCUS_BLUR_DATA_API:"focus"+r+s+" blur"+r+s},m=function(){function i(e){t(this,i),this._element=e}return i.prototype.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(d)[0];if(i){var o=e(this._element).find(f)[0];if(o){if("radio"===o.type)if(o.checked&&e(this._element).hasClass(l))t=!1;else{var r=e(i).find(p)[0];r&&e(r).removeClass(l)}if(t){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!e(this._element).hasClass(l),e(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!e(this._element).hasClass(l)),t&&e(this._element).toggleClass(l)},i.prototype.dispose=function(){e.removeData(this._element,o),this._element=null},i._jQueryInterface=function(t){return this.each(function(){var n=e(this).data(o);n||(n=new i(this),e(this).data(o,n)),"toggle"===t&&n[t]()})},n(i,null,[{key:"VERSION",get:function(){return"4.0.0-beta"}}]),i}();e(document).on(g.CLICK_DATA_API,u,function(t){t.preventDefault();var n=t.target;e(n).hasClass(h)||(n=e(n).closest(_)),m._jQueryInterface.call(e(n),"toggle")}).on(g.FOCUS_BLUR_DATA_API,u,function(t){var n=e(t.target).closest(_)[0];e(n).toggleClass(c,/^focus(in)?$/.test(t.type))}),e.fn[i]=m._jQueryInterface,e.fn[i].Constructor=m,e.fn[i].noConflict=function(){return e.fn[i]=a,m._jQueryInterface}}(jQuery),function(o){var r="carousel",s="bs.carousel",a="."+s,l=o.fn[r],h={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},c={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},u="next",d="prev",f="left",p="right",_={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,TOUCHEND:"touchend"+a,LOAD_DATA_API:"load"+a+".data-api",CLICK_DATA_API:"click"+a+".data-api"},g="carousel",m="active",v="slide",E="carousel-item-right",y="carousel-item-left",T="carousel-item-next",C="carousel-item-prev",I={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},b=function(){function l(e,n){t(this,l),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(n),this._element=o(e)[0],this._indicatorsElement=o(this._element).find(I.INDICATORS)[0],this._addEventListeners()}return l.prototype.next=function(){this._isSliding||this._slide(u)},l.prototype.nextWhenVisible=function(){document.hidden||this.next()},l.prototype.prev=function(){this._isSliding||this._slide(d)},l.prototype.pause=function(t){t||(this._isPaused=!0),o(this._element).find(I.NEXT_PREV)[0]&&i.supportsTransitionEnd()&&(i.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},l.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},l.prototype.to=function(t){var e=this;this._activeElement=o(this._element).find(I.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o(this._element).one(_.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?u:d;this._slide(i,this._items[t])}},l.prototype.dispose=function(){o(this._element).off(a),o.removeData(this._element,s),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},l.prototype._getConfig=function(t){return t=o.extend({},h,t),i.typeCheckConfig(r,t,c),t},l.prototype._addEventListeners=function(){var t=this;this._config.keyboard&&o(this._element).on(_.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(o(this._element).on(_.MOUSEENTER,function(e){return t.pause(e)}).on(_.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&o(this._element).on(_.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},l.prototype._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next();break;default:return}},l.prototype._getItemIndex=function(t){return this._items=o.makeArray(o(t).parent().find(I.ITEM)),this._items.indexOf(t)},l.prototype._getItemByDirection=function(t,e){var n=t===u,i=t===d,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===d?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},l.prototype._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(o(this._element).find(I.ACTIVE_ITEM)[0]),r=o.Event(_.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return o(this._element).trigger(r),r},l.prototype._setActiveIndicatorElement=function(t){if(this._indicatorsElement){o(this._indicatorsElement).find(I.ACTIVE).removeClass(m);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&o(e).addClass(m)}},l.prototype._slide=function(t,e){var n=this,r=o(this._element).find(I.ACTIVE_ITEM)[0],s=this._getItemIndex(r),a=e||r&&this._getItemByDirection(t,r),l=this._getItemIndex(a),h=Boolean(this._interval),c=void 0,d=void 0,g=void 0;if(t===u?(c=y,d=T,g=f):(c=E,d=C,g=p),a&&o(a).hasClass(m))this._isSliding=!1;else{if(!this._triggerSlideEvent(a,g).isDefaultPrevented()&&r&&a){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(a);var b=o.Event(_.SLID,{relatedTarget:a,direction:g,from:s,to:l});i.supportsTransitionEnd()&&o(this._element).hasClass(v)?(o(a).addClass(d),i.reflow(a),o(r).addClass(c),o(a).addClass(c),o(r).one(i.TRANSITION_END,function(){o(a).removeClass(c+" "+d).addClass(m),o(r).removeClass(m+" "+d+" "+c),n._isSliding=!1,setTimeout(function(){return o(n._element).trigger(b)},0)}).emulateTransitionEnd(600)):(o(r).removeClass(m),o(a).addClass(m),this._isSliding=!1,o(this._element).trigger(b)),h&&this.cycle()}}},l._jQueryInterface=function(t){return this.each(function(){var n=o(this).data(s),i=o.extend({},h,o(this).data());"object"===(void 0===t?"undefined":e(t))&&o.extend(i,t);var r="string"==typeof t?t:i.slide;if(n||(n=new l(this,i),o(this).data(s,n)),"number"==typeof t)n.to(t);else if("string"==typeof r){if(void 0===n[r])throw new Error('No method named "'+r+'"');n[r]()}else i.interval&&(n.pause(),n.cycle())})},l._dataApiClickHandler=function(t){var e=i.getSelectorFromElement(this);if(e){var n=o(e)[0];if(n&&o(n).hasClass(g)){var r=o.extend({},o(n).data(),o(this).data()),a=this.getAttribute("data-slide-to");a&&(r.interval=!1),l._jQueryInterface.call(o(n),r),a&&o(n).data(s).to(a),t.preventDefault()}}},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta"}},{key:"Default",get:function(){return h}}]),l}();o(document).on(_.CLICK_DATA_API,I.DATA_SLIDE,b._dataApiClickHandler),o(window).on(_.LOAD_DATA_API,function(){o(I.DATA_RIDE).each(function(){var t=o(this);b._jQueryInterface.call(t,t.data())})}),o.fn[r]=b._jQueryInterface,o.fn[r].Constructor=b,o.fn[r].noConflict=function(){return o.fn[r]=l,b._jQueryInterface}}(jQuery),function(o){var r="collapse",s="bs.collapse",a="."+s,l=o.fn[r],h={toggle:!0,parent:""},c={toggle:"boolean",parent:"string"},u={SHOW:"show"+a,SHOWN:"shown"+a,HIDE:"hide"+a,HIDDEN:"hidden"+a,CLICK_DATA_API:"click"+a+".data-api"},d="show",f="collapse",p="collapsing",_="collapsed",g="width",m="height",v={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},E=function(){function a(e,n){t(this,a),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=o.makeArray(o('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var r=o(v.DATA_TOGGLE),s=0;s0&&this._triggerArray.push(l)}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return a.prototype.toggle=function(){o(this._element).hasClass(d)?this.hide():this.show()},a.prototype.show=function(){var t=this;if(!this._isTransitioning&&!o(this._element).hasClass(d)){var e=void 0,n=void 0;if(this._parent&&((e=o.makeArray(o(this._parent).children().children(v.ACTIVES))).length||(e=null)),!(e&&(n=o(e).data(s))&&n._isTransitioning)){var r=o.Event(u.SHOW);if(o(this._element).trigger(r),!r.isDefaultPrevented()){e&&(a._jQueryInterface.call(o(e),"hide"),n||o(e).data(s,null));var l=this._getDimension();o(this._element).removeClass(f).addClass(p),this._element.style[l]=0,this._triggerArray.length&&o(this._triggerArray).removeClass(_).attr("aria-expanded",!0),this.setTransitioning(!0);var h=function(){o(t._element).removeClass(p).addClass(f).addClass(d),t._element.style[l]="",t.setTransitioning(!1),o(t._element).trigger(u.SHOWN)};if(i.supportsTransitionEnd()){var c="scroll"+(l[0].toUpperCase()+l.slice(1));o(this._element).one(i.TRANSITION_END,h).emulateTransitionEnd(600),this._element.style[l]=this._element[c]+"px"}else h()}}}},a.prototype.hide=function(){var t=this;if(!this._isTransitioning&&o(this._element).hasClass(d)){var e=o.Event(u.HIDE);if(o(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),o(this._element).addClass(p).removeClass(f).removeClass(d),this._triggerArray.length)for(var r=0;r0},l.prototype._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:{offset:this._config.offset},flip:{enabled:this._config.flip}}};return this._inNavbar&&(t.modifiers.applyStyle={enabled:!this._inNavbar}),t},l._jQueryInterface=function(t){return this.each(function(){var n=o(this).data(s),i="object"===(void 0===t?"undefined":e(t))?t:null;if(n||(n=new l(this,i),o(this).data(s,n)),"string"==typeof t){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},l._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=o.makeArray(o(m)),n=0;n0&&r--,40===t.which&&rdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},l.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},l.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip"},f="show",p="out",_={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},g="fade",m="show",v=".tooltip-inner",E=".arrow",y="hover",T="focus",C="click",I="manual",b=function(){function l(e,n){t(this,l),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners()}return l.prototype.enable=function(){this._isEnabled=!0},l.prototype.disable=function(){this._isEnabled=!1},l.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.prototype.toggle=function(t){if(t){var e=this.constructor.DATA_KEY,n=o(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),o(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o(this.getTipElement()).hasClass(m))return void this._leave(null,this);this._enter(null,this)}},l.prototype.dispose=function(){clearTimeout(this._timeout),o.removeData(this.element,this.constructor.DATA_KEY),o(this.element).off(this.constructor.EVENT_KEY),o(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&o(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},l.prototype.show=function(){var t=this;if("none"===o(this.element).css("display"))throw new Error("Please use show on visible elements");var e=o.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o(this.element).trigger(e);var n=o.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var r=this.getTipElement(),s=i.getUID(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&o(r).addClass(g);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(a);this.addAttachmentClass(h);var c=!1===this.config.container?document.body:o(this.config.container);o(r).data(this.constructor.DATA_KEY,this),o.contains(this.element.ownerDocument.documentElement,this.tip)||o(r).appendTo(c),o(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Popper(this.element,r,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:E}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),o(r).addClass(m),"ontouchstart"in document.documentElement&&o("body").children().on("mouseover",null,o.noop);var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o(t.element).trigger(t.constructor.Event.SHOWN),e===p&&t._leave(null,t)};i.supportsTransitionEnd()&&o(this.tip).hasClass(g)?o(this.tip).one(i.TRANSITION_END,u).emulateTransitionEnd(l._TRANSITION_DURATION):u()}},l.prototype.hide=function(t){var e=this,n=this.getTipElement(),r=o.Event(this.constructor.Event.HIDE),s=function(){e._hoverState!==f&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),o(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};o(this.element).trigger(r),r.isDefaultPrevented()||(o(n).removeClass(m),"ontouchstart"in document.documentElement&&o("body").children().off("mouseover",null,o.noop),this._activeTrigger[C]=!1,this._activeTrigger[T]=!1,this._activeTrigger[y]=!1,i.supportsTransitionEnd()&&o(this.tip).hasClass(g)?o(n).one(i.TRANSITION_END,s).emulateTransitionEnd(150):s(),this._hoverState="")},l.prototype.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},l.prototype.isWithContent=function(){return Boolean(this.getTitle())},l.prototype.addAttachmentClass=function(t){o(this.getTipElement()).addClass("bs-tooltip-"+t)},l.prototype.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0]},l.prototype.setContent=function(){var t=o(this.getTipElement());this.setElementContent(t.find(v),this.getTitle()),t.removeClass(g+" "+m)},l.prototype.setElementContent=function(t,n){var i=this.config.html;"object"===(void 0===n?"undefined":e(n))&&(n.nodeType||n.jquery)?i?o(n).parent().is(t)||t.empty().append(n):t.text(o(n).text()):t[i?"html":"text"](n)},l.prototype.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},l.prototype._getAttachment=function(t){return u[t.toUpperCase()]},l.prototype._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)o(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==I){var n=e===y?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===y?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}o(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=o.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l.prototype._fixTitle=function(){var t=e(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l.prototype._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?T:y]=!0),o(e.getTipElement()).hasClass(m)||e._hoverState===f?e._hoverState=f:(clearTimeout(e._timeout),e._hoverState=f,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===f&&e.show()},e.config.delay.show):e.show())},l.prototype._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?T:y]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=p,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===p&&e.hide()},e.config.delay.hide):e.hide())},l.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},l.prototype._getConfig=function(t){return(t=o.extend({},this.constructor.Default,o(this.element).data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.title&&"number"==typeof t.title&&(t.title=t.title.toString()),t.content&&"number"==typeof t.content&&(t.content=t.content.toString()),i.typeCheckConfig(r,t,this.constructor.DefaultType),t},l.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},l.prototype._cleanTipClass=function(){var t=o(this.getTipElement()),e=t.attr("class").match(h);null!==e&&e.length>0&&t.removeClass(e.join(""))},l.prototype._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},l.prototype._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(o(t).removeClass(g),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},l._jQueryInterface=function(t){return this.each(function(){var n=o(this).data(s),i="object"===(void 0===t?"undefined":e(t))&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new l(this,i),o(this).data(s,n)),"string"==typeof t)){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return r}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return _}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return c}}]),l}();return o.fn[r]=b._jQueryInterface,o.fn[r].Constructor=b,o.fn[r].noConflict=function(){return o.fn[r]=l,b._jQueryInterface},b}(jQuery));!function(i){var r="popover",s="bs.popover",a="."+s,l=i.fn[r],h=new RegExp("(^|\\s)bs-popover\\S+","g"),c=i.extend({},o.Default,{placement:"right",trigger:"click",content:"",template:''}),u=i.extend({},o.DefaultType,{content:"(string|element|function)"}),d="fade",f="show",p=".popover-header",_=".popover-body",g={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},m=function(o){function l(){return t(this,l),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,o.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(l,o),l.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},l.prototype.addAttachmentClass=function(t){i(this.getTipElement()).addClass("bs-popover-"+t)},l.prototype.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0]},l.prototype.setContent=function(){var t=i(this.getTipElement());this.setElementContent(t.find(p),this.getTitle()),this.setElementContent(t.find(_),this._getContent()),t.removeClass(d+" "+f)},l.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},l.prototype._cleanTipClass=function(){var t=i(this.getTipElement()),e=t.attr("class").match(h);null!==e&&e.length>0&&t.removeClass(e.join(""))},l._jQueryInterface=function(t){return this.each(function(){var n=i(this).data(s),o="object"===(void 0===t?"undefined":e(t))?t:null;if((n||!/destroy|hide/.test(t))&&(n||(n=new l(this,o),i(this).data(s,n)),"string"==typeof t)){if(void 0===n[t])throw new Error('No method named "'+t+'"');n[t]()}})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta"}},{key:"Default",get:function(){return c}},{key:"NAME",get:function(){return r}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return u}}]),l}(o);i.fn[r]=m._jQueryInterface,i.fn[r].Constructor=m,i.fn[r].noConflict=function(){return i.fn[r]=l,m._jQueryInterface}}(jQuery)}(),function(){var t=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,e=navigator.userAgent.toLowerCase().indexOf("opera")>-1,n=navigator.userAgent.toLowerCase().indexOf("msie")>-1;(t||e||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}();