Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/dist/vendor/bootstrap/bootstrap.min.js')
-rw-r--r--static/js/dist/vendor/bootstrap/bootstrap.min.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/static/js/dist/vendor/bootstrap/bootstrap.min.js b/static/js/dist/vendor/bootstrap/bootstrap.min.js
deleted file mode 100644
index ab57caf..0000000
--- a/static/js/dist/vendor/bootstrap/bootstrap.min.js
+++ /dev/null
@@ -1 +0,0 @@
-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(){var t="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},e=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(t){var e=!1,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};function i(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function o(e){var n=this,i=!1;return t(this).one(r.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||r.triggerTransitionEnd(n)},e),this}var r={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)},typeCheckConfig:function(t,e,n){for(var o in n)if(n.hasOwnProperty(o)){var r=n[o],s=e[o],a=s&&((l=s)[0]||l).nodeType?"element":i(s);if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+o+'" provided type "'+a+'" but expected type "'+r+'".')}var l}};return e=function(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in n)if(void 0!==t.style[e])return{end:n[e]};return!1}(),t.fn.emulateTransitionEnd=o,r.supportsTransitionEnd()&&(t.event.special[r.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),r}(jQuery),o=(function(t){var o=t.fn.alert,r={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},s="alert",a="fade",l="show",h=function(){function o(t){n(this,o),this._element=t}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(){t.removeData(this._element,"bs.alert"),this._element=null},o.prototype._getRootElement=function(e){var n=i.getSelectorFromElement(e),o=!1;return n&&(o=t(n)[0]),o||(o=t(e).closest("."+s)[0]),o},o.prototype._triggerCloseEvent=function(e){var n=t.Event(r.CLOSE);return t(e).trigger(n),n},o.prototype._removeElement=function(e){var n=this;t(e).removeClass(l),i.supportsTransitionEnd()&&t(e).hasClass(a)?t(e).one(i.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):this._destroyElement(e)},o.prototype._destroyElement=function(e){t(e).detach().trigger(r.CLOSED).remove()},o._jQueryInterface=function(e){return this.each(function(){var n=t(this),i=n.data("bs.alert");i||(i=new o(this),n.data("bs.alert",i)),"close"===e&&i[e](this)})},o._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},e(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),o}();t(document).on(r.CLICK_DATA_API,'[data-dismiss="alert"]',h._handleDismiss(new h)),t.fn.alert=h._jQueryInterface,t.fn.alert.Constructor=h,t.fn.alert.noConflict=function(){return t.fn.alert=o,h._jQueryInterface}}(jQuery),function(t){var i="button",o=t.fn[i],r="active",s="btn",a="focus",l='[data-toggle^="button"]',h='[data-toggle="buttons"]',c="input",u=".active",d=".btn",f={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},_=function(){function i(t){n(this,i),this._element=t}return i.prototype.toggle=function(){var e=!0,n=t(this._element).closest(h)[0];if(n){var i=t(this._element).find(c)[0];if(i){if("radio"===i.type)if(i.checked&&t(this._element).hasClass(r))e=!1;else{var o=t(n).find(u)[0];o&&t(o).removeClass(r)}e&&(i.checked=!t(this._element).hasClass(r),t(i).trigger("change")),i.focus()}}this._element.setAttribute("aria-pressed",!t(this._element).hasClass(r)),e&&t(this._element).toggleClass(r)},i.prototype.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},i._jQueryInterface=function(e){return this.each(function(){var n=t(this).data("bs.button");n||(n=new i(this),t(this).data("bs.button",n)),"toggle"===e&&n[e]()})},e(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),i}();t(document).on(f.CLICK_DATA_API,l,function(e){e.preventDefault();var n=e.target;t(n).hasClass(s)||(n=t(n).closest(d)),_._jQueryInterface.call(t(n),"toggle")}).on(f.FOCUS_BLUR_DATA_API,l,function(e){var n=t(e.target).closest(d)[0];t(n).toggleClass(a,/^focus(in)?$/.test(e.type))}),t.fn[i]=_._jQueryInterface,t.fn[i].Constructor=_,t.fn[i].noConflict=function(){return t.fn[i]=o,_._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:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},d={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},f="carousel",_="active",g="slide",p="carousel-item-right",m="carousel-item-left",v="carousel-item-next",E="carousel-item-prev",y={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"]'},T=function(){function l(t,e){n(this,l),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(e),this._element=o(t)[0],this._indicatorsElement=o(this._element).find(y.INDICATORS)[0],this._addEventListeners()}return l.prototype.next=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(u.NEXT)},l.prototype.nextWhenVisible=function(){document.hidden||this.next()},l.prototype.prev=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(u.PREVIOUS)},l.prototype.pause=function(t){t||(this._isPaused=!0),o(this._element).find(y.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(y.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o(this._element).one(d.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?u.NEXT:u.PREVIOUS;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(d.KEYDOWN,function(e){return t._keydown(e)}),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||o(this._element).on(d.MOUSEENTER,function(e){return t.pause(e)}).on(d.MOUSELEAVE,function(e){return t.cycle(e)})},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(y.ITEM)),this._items.indexOf(t)},l.prototype._getItemByDirection=function(t,e){var n=t===u.NEXT,i=t===u.PREVIOUS,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===u.PREVIOUS?-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=o.Event(d.SLIDE,{relatedTarget:t,direction:e});return o(this._element).trigger(n),n},l.prototype._setActiveIndicatorElement=function(t){if(this._indicatorsElement){o(this._indicatorsElement).find(y.ACTIVE).removeClass(_);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&o(e).addClass(_)}},l.prototype._slide=function(t,e){var n=this,r=o(this._element).find(y.ACTIVE_ITEM)[0],s=e||r&&this._getItemByDirection(t,r),a=Boolean(this._interval),l=void 0,h=void 0,c=void 0;if(t===u.NEXT?(l=m,h=v,c=u.LEFT):(l=p,h=E,c=u.RIGHT),s&&o(s).hasClass(_))this._isSliding=!1;else if(!this._triggerSlideEvent(s,c).isDefaultPrevented()&&r&&s){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s);var f=o.Event(d.SLID,{relatedTarget:s,direction:c});i.supportsTransitionEnd()&&o(this._element).hasClass(g)?(o(s).addClass(h),i.reflow(s),o(r).addClass(l),o(s).addClass(l),o(r).one(i.TRANSITION_END,function(){o(s).removeClass(l+" "+h).addClass(_),o(r).removeClass(_+" "+h+" "+l),n._isSliding=!1,setTimeout(function(){return o(n._element).trigger(f)},0)}).emulateTransitionEnd(600)):(o(r).removeClass(_),o(s).addClass(_),this._isSliding=!1,o(this._element).trigger(f)),a&&this.cycle()}},l._jQueryInterface=function(e){return this.each(function(){var n=o(this).data(s),i=o.extend({},h,o(this).data());"object"===(void 0===e?"undefined":t(e))&&o.extend(i,e);var r="string"==typeof e?e:i.slide;if(n||(n=new l(this,i),o(this).data(s,n)),"number"==typeof e)n.to(e);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(f)){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()}}},e(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return h}}]),l}();o(document).on(d.CLICK_DATA_API,y.DATA_SLIDE,T._dataApiClickHandler),o(window).on(d.LOAD_DATA_API,function(){o(y.DATA_RIDE).each(function(){var t=o(this);T._jQueryInterface.call(t,t.data())})}),o.fn[r]=T._jQueryInterface,o.fn[r].Constructor=T,o.fn[r].noConflict=function(){return o.fn[r]=l,T._jQueryInterface}}(jQuery),function(o){var r="collapse",s="bs.collapse",a=o.fn[r],l={toggle:!0,parent:""},h={toggle:"boolean",parent:"string"},c={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},u="show",d="collapse",f="collapsing",_="collapsed",g="width",p="height",m=".card > .show, .card > .collapsing",v='[data-toggle="collapse"]',E=function(){function a(t,e){n(this,a),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=o.makeArray(o('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),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(u)?this.hide():this.show()},a.prototype.show=function(){var t=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(!o(this._element).hasClass(u)){var e=void 0,n=void 0;if(this._parent&&((e=o.makeArray(o(this._parent).find(m))).length||(e=null)),!(e&&(n=o(e).data(s))&&n._isTransitioning)){var r=o.Event(c.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(d).addClass(f),this._element.style[l]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&o(this._triggerArray).removeClass(_).attr("aria-expanded",!0),this.setTransitioning(!0);var h=function(){o(t._element).removeClass(f).addClass(d).addClass(u),t._element.style[l]="",t.setTransitioning(!1),o(t._element).trigger(c.SHOWN)};if(i.supportsTransitionEnd()){var g="scroll"+(l[0].toUpperCase()+l.slice(1));o(this._element).one(i.TRANSITION_END,h).emulateTransitionEnd(600),this._element.style[l]=this._element[g]+"px"}else h()}}}},a.prototype.hide=function(){var t=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(o(this._element).hasClass(u)){var e=o.Event(c.HIDE);if(o(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension(),r=n===g?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[r]+"px",i.reflow(this._element),o(this._element).addClass(f).removeClass(d).removeClass(u),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&o(this._triggerArray).addClass(_).attr("aria-expanded",!1),this.setTransitioning(!0);var s=function(){t.setTransitioning(!1),o(t._element).removeClass(f).addClass(d).trigger(c.HIDDEN)};this._element.style[n]="",i.supportsTransitionEnd()?o(this._element).one(i.TRANSITION_END,s).emulateTransitionEnd(600):s()}}},a.prototype.setTransitioning=function(t){this._isTransitioning=t},a.prototype.dispose=function(){o.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},a.prototype._getConfig=function(t){return(t=o.extend({},l,t)).toggle=Boolean(t.toggle),i.typeCheckConfig(r,t,h),t},a.prototype._getDimension=function(){return o(this._element).hasClass(g)?g:p},a.prototype._getParent=function(){var t=this,e=o(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return o(e).find(n).each(function(e,n){t._addAriaAndCollapsedClass(a._getTargetFromElement(n),[n])}),e},a.prototype._addAriaAndCollapsedClass=function(t,e){if(t){var n=o(t).hasClass(u);t.setAttribute("aria-expanded",n),e.length&&o(e).toggleClass(_,!n).attr("aria-expanded",n)}},a._getTargetFromElement=function(t){var e=i.getSelectorFromElement(t);return e?o(e)[0]:null},a._jQueryInterface=function(e){return this.each(function(){var n=o(this),i=n.data(s),r=o.extend({},l,n.data(),"object"===(void 0===e?"undefined":t(e))&&e);if(!i&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),i||(i=new a(this,r),n.data(s,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},e(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return l}}]),a}();o(document).on(c.CLICK_DATA_API,v,function(t){t.preventDefault();var e=E._getTargetFromElement(this),n=o(e).data(s)?"toggle":o(this).data();E._jQueryInterface.call(o(e),n)}),o.fn[r]=E._jQueryInterface,o.fn[r].Constructor=E,o.fn[r].noConflict=function(){return o.fn[r]=a,E._jQueryInterface}}(jQuery),function(t){var o="dropdown",r=".bs.dropdown",s=t.fn[o],a={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,CLICK:"click"+r,CLICK_DATA_API:"click.bs.dropdown.data-api",FOCUSIN_DATA_API:"focusin.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api"},l="dropdown-backdrop",h="disabled",c="show",u=".dropdown-backdrop",d='[data-toggle="dropdown"]',f=".dropdown form",_='[role="menu"]',g='[role="listbox"]',p=".navbar-nav",m='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',v=function(){function o(t){n(this,o),this._element=t,this._addEventListeners()}return o.prototype.toggle=function(){if(this.disabled||t(this).hasClass(h))return!1;var e=o._getParentFromElement(this),n=t(e).hasClass(c);if(o._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!t(e).closest(p).length){var i=document.createElement("div");i.className=l,t(i).insertBefore(this),t(i).on("click",o._clearMenus)}var r={relatedTarget:this},s=t.Event(a.SHOW,r);return t(e).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded",!0),t(e).toggleClass(c),t(e).trigger(t.Event(a.SHOWN,r)),!1)},o.prototype.dispose=function(){t.removeData(this._element,"bs.dropdown"),t(this._element).off(r),this._element=null},o.prototype._addEventListeners=function(){t(this._element).on(a.CLICK,this.toggle)},o._jQueryInterface=function(e){return this.each(function(){var n=t(this).data("bs.dropdown");if(n||(n=new o(this),t(this).data("bs.dropdown",n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e].call(this)}})},o._clearMenus=function(e){if(!e||3!==e.which){var n=t(u)[0];n&&n.parentNode.removeChild(n);for(var i=t.makeArray(t(d)),r=0;r<i.length;r++){var s=o._getParentFromElement(i[r]),l={relatedTarget:i[r]};if(t(s).hasClass(c)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"focusin"===e.type)&&t.contains(s,e.target))){var h=t.Event(a.HIDE,l);t(s).trigger(h),h.isDefaultPrevented()||(i[r].setAttribute("aria-expanded","false"),t(s).removeClass(c).trigger(t.Event(a.HIDDEN,l)))}}}},o._getParentFromElement=function(e){var n=void 0,o=i.getSelectorFromElement(e);return o&&(n=t(o)[0]),n||e.parentNode},o._dataApiKeydownHandler=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass(h))){var n=o._getParentFromElement(this),i=t(n).hasClass(c);if(!i&&27!==e.which||i&&27===e.which){if(27===e.which){var r=t(n).find(d)[0];t(r).trigger("focus")}t(this).trigger("click")}else{var s=t(n).find(m).get();if(s.length){var a=s.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}}},e(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),o}();t(document).on(a.KEYDOWN_DATA_API,d,v._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,_,v._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,g,v._dataApiKeydownHandler).on(a.CLICK_DATA_API+" "+a.FOCUSIN_DATA_API,v._clearMenus).on(a.CLICK_DATA_API,d,v.prototype.toggle).on(a.CLICK_DATA_API,f,function(t){t.stopPropagation()}),t.fn[o]=v._jQueryInterface,t.fn[o].Constructor=v,t.fn[o].noConflict=function(){return t.fn[o]=s,v._jQueryInterface}}(jQuery),function(o){var r="modal",s=".bs.modal",a=o.fn.modal,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},h={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},c={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},u="modal-scrollbar-measure",d="modal-backdrop",f="modal-open",_="fade",g="show",p={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"},m=function(){function a(t,e){n(this,a),this._config=this._getConfig(e),this._element=t,this._dialog=o(t).find(p.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return a.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},a.prototype.show=function(t){var e=this;if(this._isTransitioning)throw new Error("Modal is transitioning");i.supportsTransitionEnd()&&o(this._element).hasClass(_)&&(this._isTransitioning=!0);var n=o.Event(c.SHOW,{relatedTarget:t});o(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),o(document.body).addClass(f),this._setEscapeEvent(),this._setResizeEvent(),o(this._element).on(c.CLICK_DISMISS,p.DATA_DISMISS,function(t){return e.hide(t)}),o(this._dialog).on(c.MOUSEDOWN_DISMISS,function(){o(e._element).one(c.MOUSEUP_DISMISS,function(t){o(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))},a.prototype.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isTransitioning)throw new Error("Modal is transitioning");var n=i.supportsTransitionEnd()&&o(this._element).hasClass(_);n&&(this._isTransitioning=!0);var r=o.Event(c.HIDE);o(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),o(document).off(c.FOCUSIN),o(this._element).removeClass(g),o(this._element).off(c.CLICK_DISMISS),o(this._dialog).off(c.MOUSEDOWN_DISMISS),n?o(this._element).one(i.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(300):this._hideModal())},a.prototype.dispose=function(){o.removeData(this._element,"bs.modal"),o(window,document,this._element,this._backdrop).off(s),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},a.prototype._getConfig=function(t){return t=o.extend({},l,t),i.typeCheckConfig(r,t,h),t},a.prototype._showElement=function(t){var e=this,n=i.supportsTransitionEnd()&&o(this._element).hasClass(_);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&i.reflow(this._element),o(this._element).addClass(g),this._config.focus&&this._enforceFocus();var r=o.Event(c.SHOWN,{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o(e._element).trigger(r)};n?o(this._dialog).one(i.TRANSITION_END,s).emulateTransitionEnd(300):s()},a.prototype._enforceFocus=function(){var t=this;o(document).off(c.FOCUSIN).on(c.FOCUSIN,function(e){document===e.target||t._element===e.target||o(t._element).has(e.target).length||t._element.focus()})},a.prototype._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?o(this._element).on(c.KEYDOWN_DISMISS,function(e){27===e.which&&t.hide()}):this._isShown||o(this._element).off(c.KEYDOWN_DISMISS)},a.prototype._setResizeEvent=function(){var t=this;this._isShown?o(window).on(c.RESIZE,function(e){return t._handleUpdate(e)}):o(window).off(c.RESIZE)},a.prototype._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._isTransitioning=!1,this._showBackdrop(function(){o(document.body).removeClass(f),t._resetAdjustments(),t._resetScrollbar(),o(t._element).trigger(c.HIDDEN)})},a.prototype._removeBackdrop=function(){this._backdrop&&(o(this._backdrop).remove(),this._backdrop=null)},a.prototype._showBackdrop=function(t){var e=this,n=o(this._element).hasClass(_)?_:"";if(this._isShown&&this._config.backdrop){var r=i.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className=d,n&&o(this._backdrop).addClass(n),o(this._backdrop).appendTo(document.body),o(this._element).on(c.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),r&&i.reflow(this._backdrop),o(this._backdrop).addClass(g),!t)return;if(!r)return void t();o(this._backdrop).one(i.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){o(this._backdrop).removeClass(g);var s=function(){e._removeBackdrop(),t&&t()};i.supportsTransitionEnd()&&o(this._element).hasClass(_)?o(this._backdrop).one(i.TRANSITION_END,s).emulateTransitionEnd(150):s()}else t&&t()},a.prototype._handleUpdate=function(){this._adjustDialog()},a.prototype._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},a.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},a.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},a.prototype._setScrollbar=function(){var t=parseInt(o(p.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=t+this._scrollbarWidth+"px")},a.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},a.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=u,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},a._jQueryInterface=function(e,n){return this.each(function(){var i=o(this).data("bs.modal"),r=o.extend({},a.Default,o(this).data(),"object"===(void 0===e?"undefined":t(e))&&e);if(i||(i=new a(this,r),o(this).data("bs.modal",i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e](n)}else r.show&&i.show(n)})},e(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return l}}]),a}();o(document).on(c.CLICK_DATA_API,p.DATA_TOGGLE,function(t){var e=this,n=void 0,r=i.getSelectorFromElement(this);r&&(n=o(r)[0]);var s=o(n).data("bs.modal")?"toggle":o.extend({},o(n).data(),o(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var a=o(n).one(c.SHOW,function(t){t.isDefaultPrevented()||a.one(c.HIDDEN,function(){o(e).is(":visible")&&e.focus()})});m._jQueryInterface.call(o(n),s,this)}),o.fn.modal=m._jQueryInterface,o.fn.modal.Constructor=m,o.fn.modal.noConflict=function(){return o.fn.modal=a,m._jQueryInterface}}(jQuery),function(o){var r="scrollspy",s=o.fn[r],a={offset:10,method:"auto",target:""},l={offset:"number",method:"string",target:"(string|element)"},h={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},c="dropdown-item",u="active",d={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},f="offset",_="position",g=function(){function s(t,e){var i=this;n(this,s),this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+d.NAV_LINKS+","+this._config.target+" "+d.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o(this._scrollElement).on(h.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}return s.prototype.refresh=function(){var t=this,e=this._scrollElement!==this._scrollElement.window?_:f,n="auto"===this._config.method?e:this._config.method,r=n===_?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),o.makeArray(o(this._selector)).map(function(t){var e=void 0,s=i.getSelectorFromElement(t);return s&&(e=o(s)[0]),e&&(e.offsetWidth||e.offsetHeight)?[o(e)[n]().top+r,s]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},s.prototype.dispose=function(){o.removeData(this._element,"bs.scrollspy"),o(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},s.prototype._getConfig=function(t){if("string"!=typeof(t=o.extend({},a,t)).target){var e=o(t.target).attr("id");e||(e=i.getUID(r),o(t.target).attr("id",e)),t.target="#"+e}return i.typeCheckConfig(r,t,l),t},s.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},s.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},s.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.offsetHeight},s.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)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<this._offsets[o+1])&&this._activate(this._targets[o])}}},s.prototype._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",");e=e.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var n=o(e.join(","));n.hasClass(c)?(n.closest(d.DROPDOWN).find(d.DROPDOWN_TOGGLE).addClass(u),n.addClass(u)):n.parents(d.LI).find("> "+d.NAV_LINKS).addClass(u),o(this._scrollElement).trigger(h.ACTIVATE,{relatedTarget:t})},s.prototype._clear=function(){o(this._selector).filter(d.ACTIVE).removeClass(u)},s._jQueryInterface=function(e){return this.each(function(){var n=o(this).data("bs.scrollspy"),i="object"===(void 0===e?"undefined":t(e))&&e;if(n||(n=new s(this,i),o(this).data("bs.scrollspy",n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},e(s,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return a}}]),s}();o(window).on(h.LOAD_DATA_API,function(){for(var t=o.makeArray(o(d.DATA_SPY)),e=t.length;e--;){var n=o(t[e]);g._jQueryInterface.call(n,n.data())}}),o.fn[r]=g._jQueryInterface,o.fn[r].Constructor=g,o.fn[r].noConflict=function(){return o.fn[r]=s,g._jQueryInterface}}(jQuery),function(t){var o=t.fn.tab,r={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},s="dropdown-menu",a="active",l="disabled",h="fade",c="show",u=".dropdown",d="ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)",f="> .nav-item .fade, > .fade",_=".active",g="> .nav-item > .active, > .active",p='[data-toggle="tab"], [data-toggle="pill"]',m=".dropdown-toggle",v="> .dropdown-menu .active",E=function(){function o(t){n(this,o),this._element=t}return o.prototype.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(a)||t(this._element).hasClass(l))){var n=void 0,o=void 0,s=t(this._element).closest(d)[0],h=i.getSelectorFromElement(this._element);s&&(o=(o=t.makeArray(t(s).find(_)))[o.length-1]);var c=t.Event(r.HIDE,{relatedTarget:this._element}),u=t.Event(r.SHOW,{relatedTarget:o});if(o&&t(o).trigger(c),t(this._element).trigger(u),!u.isDefaultPrevented()&&!c.isDefaultPrevented()){h&&(n=t(h)[0]),this._activate(this._element,s);var f=function(){var n=t.Event(r.HIDDEN,{relatedTarget:e._element}),i=t.Event(r.SHOWN,{relatedTarget:o});t(o).trigger(n),t(e._element).trigger(i)};n?this._activate(n,n.parentNode,f):f()}}},o.prototype.dispose=function(){t.removeClass(this._element,"bs.tab"),this._element=null},o.prototype._activate=function(e,n,o){var r=this,s=t(n).find(g)[0],a=o&&i.supportsTransitionEnd()&&(s&&t(s).hasClass(h)||Boolean(t(n).find(f)[0])),l=function(){return r._transitionComplete(e,s,a,o)};s&&a?t(s).one(i.TRANSITION_END,l).emulateTransitionEnd(150):l(),s&&t(s).removeClass(c)},o.prototype._transitionComplete=function(e,n,o,r){if(n){t(n).removeClass(a);var l=t(n.parentNode).find(v)[0];l&&t(l).removeClass(a),n.setAttribute("aria-expanded",!1)}if(t(e).addClass(a),e.setAttribute("aria-expanded",!0),o?(i.reflow(e),t(e).addClass(c)):t(e).removeClass(h),e.parentNode&&t(e.parentNode).hasClass(s)){var d=t(e).closest(u)[0];d&&t(d).find(m).addClass(a),e.setAttribute("aria-expanded",!0)}r&&r()},o._jQueryInterface=function(e){return this.each(function(){var n=t(this),i=n.data("bs.tab");if(i||(i=new o(this),n.data("bs.tab",i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},e(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),o}();t(document).on(r.CLICK_DATA_API,p,function(e){e.preventDefault(),E._jQueryInterface.call(t(this),"show")}),t.fn.tab=E._jQueryInterface,t.fn.tab.Constructor=E,t.fn.tab.noConflict=function(){return t.fn.tab=o,E._jQueryInterface}}(jQuery),function(o){if("undefined"==typeof Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var r="tooltip",s=".bs.tooltip",a=o.fn[r],l={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},h={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},c={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},u="show",d="out",f={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,INSERTED:"inserted"+s,CLICK:"click"+s,FOCUSIN:"focusin"+s,FOCUSOUT:"focusout"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s},_="fade",g="show",p=".tooltip-inner",m={element:!1,enabled:!1},v="hover",E="focus",y="click",T="manual",b=function(){function a(t,e){n(this,a),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return a.prototype.enable=function(){this._isEnabled=!0},a.prototype.disable=function(){this._isEnabled=!1},a.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.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(g))return void this._leave(null,this);this._enter(null,this)}},a.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),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,this._tether=null,this.element=null,this.config=null,this.tip=null},a.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){if(this._isTransitioning)throw new Error("Tooltip is transitioning");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(_);var l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getAttachment(l),c=!1===this.config.container?document.body:o(this.config.container);o(r).data(this.constructor.DATA_KEY,this).appendTo(c),o(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:h,element:r,target:this.element,classes:m,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),i.reflow(r),this._tether.position(),o(r).addClass(g);var u=function(){var e=t._hoverState;t._hoverState=null,t._isTransitioning=!1,o(t.element).trigger(t.constructor.Event.SHOWN),e===d&&t._leave(null,t)};if(i.supportsTransitionEnd()&&o(this.tip).hasClass(_))return this._isTransitioning=!0,void o(this.tip).one(i.TRANSITION_END,u).emulateTransitionEnd(a._TRANSITION_DURATION);u()}},a.prototype.hide=function(t){var e=this,n=this.getTipElement(),r=o.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");var s=function(){e._hoverState!==u&&n.parentNode&&n.parentNode.removeChild(n),e.element.removeAttribute("aria-describedby"),o(e.element).trigger(e.constructor.Event.HIDDEN),e._isTransitioning=!1,e.cleanupTether(),t&&t()};o(this.element).trigger(r),r.isDefaultPrevented()||(o(n).removeClass(g),this._activeTrigger[y]=!1,this._activeTrigger[E]=!1,this._activeTrigger[v]=!1,i.supportsTransitionEnd()&&o(this.tip).hasClass(_)?(this._isTransitioning=!0,o(n).one(i.TRANSITION_END,s).emulateTransitionEnd(150)):s(),this._hoverState="")},a.prototype.isWithContent=function(){return Boolean(this.getTitle())},a.prototype.getTipElement=function(){return this.tip=this.tip||o(this.config.template)[0]},a.prototype.setContent=function(){var t=o(this.getTipElement());this.setElementContent(t.find(p),this.getTitle()),t.removeClass(_+" "+g),this.cleanupTether()},a.prototype.setElementContent=function(e,n){var i=this.config.html;"object"===(void 0===n?"undefined":t(n))&&(n.nodeType||n.jquery)?i?o(n).parent().is(e)||e.empty().append(n):e.text(o(n).text()):e[i?"html":"text"](n)},a.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},a.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},a.prototype._getAttachment=function(t){return c[t.toUpperCase()]},a.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!==T){var n=e===v?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===v?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()},a.prototype._fixTitle=function(){var e=t(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a.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?E:v]=!0),o(e.getTipElement()).hasClass(g)||e._hoverState===u?e._hoverState=u:(clearTimeout(e._timeout),e._hoverState=u,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===u&&e.show()},e.config.delay.show):e.show())},a.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?E:v]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=d,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===d&&e.hide()},e.config.delay.hide):e.hide())},a.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},a.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}),i.typeCheckConfig(r,t,this.constructor.DefaultType),t},a.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},a._jQueryInterface=function(e){return this.each(function(){var n=o(this).data("bs.tooltip"),i="object"===(void 0===e?"undefined":t(e))&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new a(this,i),o(this).data("bs.tooltip",n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},e(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return l}},{key:"NAME",get:function(){return r}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return s}},{key:"DefaultType",get:function(){return h}}]),a}();return o.fn[r]=b._jQueryInterface,o.fn[r].Constructor=b,o.fn[r].noConflict=function(){return o.fn[r]=a,b._jQueryInterface},b}(jQuery));!function(i){var r="popover",s=".bs.popover",a=i.fn[r],l=i.extend({},o.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),h=i.extend({},o.DefaultType,{content:"(string|element|function)"}),c="fade",u="show",d=".popover-title",f=".popover-content",_={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,INSERTED:"inserted"+s,CLICK:"click"+s,FOCUSIN:"focusin"+s,FOCUSOUT:"focusout"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s},g=function(o){function a(){return n(this,a),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)}(a,o),a.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},a.prototype.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0]},a.prototype.setContent=function(){var t=i(this.getTipElement());this.setElementContent(t.find(d),this.getTitle()),this.setElementContent(t.find(f),this._getContent()),t.removeClass(c+" "+u),this.cleanupTether()},a.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},a._jQueryInterface=function(e){return this.each(function(){var n=i(this).data("bs.popover"),o="object"===(void 0===e?"undefined":t(e))?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new a(this,o),i(this).data("bs.popover",n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},e(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return l}},{key:"NAME",get:function(){return r}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return _}},{key:"EVENT_KEY",get:function(){return s}},{key:"DefaultType",get:function(){return h}}]),a}(o);i.fn[r]=g._jQueryInterface,i.fn[r].Constructor=g,i.fn[r].noConflict=function(){return i.fn[r]=a,g._jQueryInterface}}(jQuery)}(); \ No newline at end of file