/*! * Bootstrap v4.4.1 (https://getbootstrap.com/) * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Private TransitionEnd Helpers * ------------------------------------------------------------------------ */ var i="transitionend";function o(t){var n=this,i=!1;return e(this).one(s.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||s.triggerTransitionEnd(n)},t),this} /** * -------------------------------------------------------------------------- * Public Util Api * -------------------------------------------------------------------------- */ var s={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{ // eslint-disable-next-line no-bitwise t+=~~(1e6*Math.random());// "~~" acts like a faster Math.floor() here }while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0; // Get transition-duration of the element var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),o=parseFloat(n),s=parseFloat(i); // Return 0 if element or transition duration is not found return o||s?( // If multiple durations are defined, take the first n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(i)}, // TODO: Remove in v5 supportsTransitionEnd:function(){return Boolean(i)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],a=r&&s.isElement(r)?"element":(l=r,{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')} // Shoutout AngusCroll (https://goo.gl/pxwQGp) var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null; // Can find the shadow root otherwise it'll return the document if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t: // when we don't find a shadow root t.parentNode?s.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};s.jQueryDetection(),e.fn.emulateTransitionEnd=o,e.event.special[s.TRANSITION_END]={bindType:i,delegateType:i,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments);// eslint-disable-line prefer-rest-params }}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): alert.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var r=e.fn.alert,a={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},l="alert",c="fade",h="show",u=function(t){this._element=t},f={VERSION:{configurable:!0}}; // Getters f.VERSION.get=function(){return"4.4.1"}, // Public u.prototype.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},u.prototype.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null}, // Private u.prototype._getRootElement=function(t){var n=s.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest("."+l)[0]),i},u.prototype._triggerCloseEvent=function(t){var n=e.Event(a.CLOSE);return e(t).trigger(n),n},u.prototype._removeElement=function(t){var n=this;if(e(t).removeClass(h),e(t).hasClass(c)){var i=s.getTransitionDurationFromElement(t);e(t).one(s.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(i)}else this._destroyElement(t)},u.prototype._destroyElement=function(t){e(t).detach().trigger(a.CLOSED).remove()}, // Static u._jQueryInterface=function(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||(i=new u(this),n.data("bs.alert",i)),"close"===t&&i[t](this)})},u._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},Object.defineProperties(u,f), /** * ------------------------------------------------------------------------ * Data Api implementation * ------------------------------------------------------------------------ */ e(document).on(a.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)), /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ e.fn.alert=u._jQueryInterface,e.fn.alert.Constructor=u,e.fn.alert.noConflict=function(){return e.fn.alert=r,u._jQueryInterface}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): button.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var d=e.fn.button,p="active",g="btn",_="focus",m='[data-toggle^="button"]',v='[data-toggle="buttons"]',b='[data-toggle="button"]',y='[data-toggle="buttons"] .btn',E='input:not([type="hidden"])',C=".active",T=".btn",S={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api",LOAD_DATA_API:"load.bs.button.data-api"},D=function(t){this._element=t},I={VERSION:{configurable:!0}}; // Getters I.VERSION.get=function(){return"4.4.1"}, // Public D.prototype.toggle=function(){var t=!0,n=!0,i=e(this._element).closest(v)[0];if(i){var o=this._element.querySelector(E);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(p))t=!1;else{var s=i.querySelector(C);s&&e(s).removeClass(p)}else"checkbox"===o.type?"LABEL"===this._element.tagName&&o.checked===this._element.classList.contains(p)&&(t=!1): // if it's not a radio button or checkbox don't add a pointless/invalid checked property to the input t=!1;t&&(o.checked=!this._element.classList.contains(p),e(o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(p)),t&&e(this._element).toggleClass(p))},D.prototype.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null}, // Static D._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.button");n||(n=new D(this),e(this).data("bs.button",n)),"toggle"===t&&n[t]()})},Object.defineProperties(D,I), /** * ------------------------------------------------------------------------ * Data Api implementation * ------------------------------------------------------------------------ */ e(document).on(S.CLICK_DATA_API,m,function(t){var n=t.target;if(e(n).hasClass(g)||(n=e(n).closest(T)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))t.preventDefault();// work around Firefox bug #1540995 else{var i=n.querySelector(E);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))// work around Firefox bug #1540995 return void t.preventDefault();D._jQueryInterface.call(e(n),"toggle")}}).on(S.FOCUS_BLUR_DATA_API,m,function(t){var n=e(t.target).closest(T)[0];e(n).toggleClass(_,/^focus(in)?$/.test(t.type))}),e(window).on(S.LOAD_DATA_API,function(){for( // ensure correct active class is set to match the controls' actual values/states // find all checkboxes/readio buttons inside data-toggle groups var t=[].slice.call(document.querySelectorAll(y)),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()},et={VERSION:{configurable:!0},Default:{configurable:!0}}; // Getters et.VERSION.get=function(){return"4.4.1"},et.Default.get=function(){return O}, // Public tt.prototype.next=function(){this._isSliding||this._slide(P)},tt.prototype.nextWhenVisible=function(){ // Don't call next when the page isn't visible // or the carousel or its parent isn't visible !document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},tt.prototype.prev=function(){this._isSliding||this._slide(L)},tt.prototype.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(X)&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},tt.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))},tt.prototype.to=function(t){var n=this;this._activeElement=this._element.querySelector(V);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(H.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var o=t>i?P:L;this._slide(o,this._items[t])}},tt.prototype.dispose=function(){e(this._element).off(A),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}, // Private tt.prototype._getConfig=function(t){return t=Object.assign({},O,t),s.typeCheckConfig(w,t,j),t},tt.prototype._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0, // swipe left e>0&&this.prev(), // swipe right e<0&&this.next()}},tt.prototype._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(H.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(H.MOUSEENTER,function(e){return t.pause(e)}).on(H.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},tt.prototype._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&Z[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&Z[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&( // If it's a touch-enabled device, mouseenter/leave are fired as // part of the mouse compatibility events on first tap - the carousel // would stop cycling until user tapped out of it; // here, we listen for touchend, explicitly pause the carousel // (as if it's the second time we tap on it, mouseenter compat event // is NOT fired) and after a timeout (to allow for mouse compatibility // events to fire) we explicitly restart cycling t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(z)).on(H.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(H.POINTERDOWN,function(t){return n(t)}),e(this._element).on(H.POINTERUP,function(t){return i(t)}),this._element.classList.add(Q)):(e(this._element).on(H.TOUCHSTART,function(t){return n(t)}),e(this._element).on(H.TOUCHMOVE,function(e){return function(e){ // ensure swiping with one touch and not pinching e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on(H.TOUCHEND,function(t){return i(t)}))}},tt.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()}},tt.prototype._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(Y)):[],this._items.indexOf(t)},tt.prototype._getItemByDirection=function(t,e){var n=t===P,i=t===L,o=this._getItemIndex(e),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return e;var r=(o+(t===L?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},tt.prototype._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(V)),s=e.Event(H.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(s),s},tt.prototype._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(B));e(n).removeClass(F);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(F)}},tt.prototype._slide=function(t,n){var i,o,r,a=this,l=this._element.querySelector(V),c=this._getItemIndex(l),h=n||l&&this._getItemByDirection(t,l),u=this._getItemIndex(h),f=Boolean(this._interval);if(t===P?(i=q,o=M,r=k):(i=W,o=K,r=R),h&&e(h).hasClass(F))this._isSliding=!1;else if(!this._triggerSlideEvent(h,r).isDefaultPrevented()&&l&&h){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(h);var d=e.Event(H.SLID,{relatedTarget:h,direction:r,from:c,to:u});if(e(this._element).hasClass(U)){e(h).addClass(o),s.reflow(h),e(l).addClass(i),e(h).addClass(i);var p=parseInt(h.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var g=s.getTransitionDurationFromElement(l);e(l).one(s.TRANSITION_END,function(){e(h).removeClass(i+" "+o).addClass(F),e(l).removeClass(F+" "+o+" "+i),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(d)},0)}).emulateTransitionEnd(g)}else e(l).removeClass(F),e(h).addClass(F),this._isSliding=!1,e(this._element).trigger(d);f&&this.cycle()}}, // Static tt._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.carousel"),i=Object.assign({},O,e(this).data());"object"==typeof t&&(i=Object.assign({},i,t));var o="string"==typeof t?t:i.slide;if(n||(n=new tt(this,i),e(this).data("bs.carousel",n)),"number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())})},tt._dataApiClickHandler=function(t){var n=s.getSelectorFromElement(this);if(n){var i=e(n)[0];if(i&&e(i).hasClass(x)){var o=Object.assign({},e(i).data(),e(this).data()),r=this.getAttribute("data-slide-to");r&&(o.interval=!1),tt._jQueryInterface.call(e(i),o),r&&e(i).data("bs.carousel").to(r),t.preventDefault()}}},Object.defineProperties(tt,et), /** * ------------------------------------------------------------------------ * Data Api implementation * ------------------------------------------------------------------------ */ e(document).on(H.CLICK_DATA_API,G,tt._dataApiClickHandler),e(window).on(H.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(J)),n=0,i=t.length;n0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()},_t={VERSION:{configurable:!0},Default:{configurable:!0}}; // Getters _t.VERSION.get=function(){return"4.4.1"},_t.Default.get=function(){return ot}, // Public gt.prototype.toggle=function(){e(this._element).hasClass(at)?this.hide():this.show()},gt.prototype.show=function(){var t,n,i=this;if(!this._isTransitioning&&!e(this._element).hasClass(at)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(dt)).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(lt)})).length&&(t=null),!(t&&(n=e(t).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var o=e.Event(rt.SHOW);if(e(this._element).trigger(o),!o.isDefaultPrevented()){t&&(gt._jQueryInterface.call(e(t).not(this._selector),"hide"),n||e(t).data("bs.collapse",null));var r=this._getDimension();e(this._element).removeClass(lt).addClass(ct),this._element.style[r]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(ht).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(r[0].toUpperCase()+r.slice(1)),l=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,function(){e(i._element).removeClass(ct).addClass(lt).addClass(at),i._element.style[r]="",i.setTransitioning(!1),e(i._element).trigger(rt.SHOWN)}).emulateTransitionEnd(l),this._element.style[r]=this._element[a]+"px"}}},gt.prototype.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(at)){var n=e.Event(rt.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",s.reflow(this._element),e(this._element).addClass(ct).removeClass(lt).removeClass(at);var o=this._triggerArray.length;if(o>0)for(var r=0;r elements (which change the URL) not inside the collapsible element "A"===t.currentTarget.tagName&&t.preventDefault();var n=e(this),i=s.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));e(o).each(function(){var t=e(this),i=t.data("bs.collapse")?"toggle":n.data();gt._jQueryInterface.call(t,i)})}), /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ e.fn[nt]=gt._jQueryInterface,e.fn[nt].Constructor=gt,e.fn[nt].noConflict=function(){return e.fn[nt]=it,gt._jQueryInterface}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): dropdown.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var mt="dropdown",vt=e.fn[mt],bt=new RegExp("38|40|27"),yt={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},Et="disabled",Ct="show",Tt="dropup",St="dropright",Dt="dropleft",It="dropdown-menu-right",wt="position-static",At='[data-toggle="dropdown"]',Nt=".dropdown form",Ot=".dropdown-menu",jt=".navbar-nav",Pt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Lt="top-start",kt="top-end",Rt="bottom-start",Ht="bottom-end",xt="right-start",Ft="left-start",Ut={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Wt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},qt=function(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()},Mt={VERSION:{configurable:!0},Default:{configurable:!0},DefaultType:{configurable:!0}}; // Getters Mt.VERSION.get=function(){return"4.4.1"},Mt.Default.get=function(){return Ut},Mt.DefaultType.get=function(){return Wt}, // Public qt.prototype.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(Et)){var t=e(this._menu).hasClass(Ct);qt._clearMenus(),t||this.show(!0)}},qt.prototype.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||e(this._element).hasClass(Et)||e(this._menu).hasClass(Ct))){var i={relatedTarget:this._element},o=e.Event(yt.SHOW,i),r=qt._getParentFromElement(this._element);if(e(r).trigger(o),!o.isDefaultPrevented()){ // Disable totally Popper.js for Dropdown in Navbar if(!this._inNavbar&&t){ /** * Check for Popper dependency * Popper - https://popper.js.org */ if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=r:s.isElement(this._config.reference)&&(a=this._config.reference, // Check if it's jQuery element void 0!==this._config.reference.jquery&&(a=this._config.reference[0])), // If boundary is not `scrollParent`, then set position to `static` // to allow the menu to "escape" the scroll parent's boundaries // https://github.com/twbs/bootstrap/issues/24251 "scrollParent"!==this._config.boundary&&e(r).addClass(wt),this._popper=new n(a,this._menu,this._getPopperConfig())} // If this is a touch-enabled device we add extra // empty mouseover listeners to the body's immediate children; // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html "ontouchstart"in document.documentElement&&0===e(r).closest(jt).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(Ct),e(r).toggleClass(Ct).trigger(e.Event(yt.SHOWN,i))}}},qt.prototype.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(Et)&&e(this._menu).hasClass(Ct)){var t={relatedTarget:this._element},n=e.Event(yt.HIDE,t),i=qt._getParentFromElement(this._element);e(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass(Ct),e(i).toggleClass(Ct).trigger(e.Event(yt.HIDDEN,t)))}},qt.prototype.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},qt.prototype.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}, // Private qt.prototype._addEventListeners=function(){var t=this;e(this._element).on(yt.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},qt.prototype._getConfig=function(t){return t=Object.assign({},this.constructor.Default,e(this._element).data(),t),s.typeCheckConfig(mt,t,this.constructor.DefaultType),t},qt.prototype._getMenuElement=function(){if(!this._menu){var t=qt._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Ot))}return this._menu},qt.prototype._getPlacement=function(){var t=e(this._element.parentNode),n=Rt; // Handle dropup return t.hasClass(Tt)?(n=Lt,e(this._menu).hasClass(It)&&(n=kt)):t.hasClass(St)?n=xt:t.hasClass(Dt)?n=Ft:e(this._menu).hasClass(It)&&(n=Ht),n},qt.prototype._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},qt.prototype._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=Object.assign({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},qt.prototype._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}; // Disable Popper.js if we have a static display return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),Object.assign({},t,this._config.popperConfig)}, // Static qt._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.dropdown");if(n||(n=new qt(this,"object"==typeof t?t:null),e(this).data("bs.dropdown",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},qt._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll(At)),i=0,o=n.length;i not a dropdown command // If input/textarea: //- If space key => not a dropdown command //- If key is other than escape // - If key is not up or down => not a dropdown command // - If trigger inside the menu => not a dropdown command if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(Ot).length)):bt.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(Et))){var n=qt._getParentFromElement(this),i=e(n).hasClass(Ct);if(i||27!==t.which)if(i&&(!i||27!==t.which&&32!==t.which)){var o=[].slice.call(n.querySelectorAll(Pt)).filter(function(t){return e(t).is(":visible")});if(0!==o.length){var s=o.indexOf(t.target);38===t.which&&s>0&&// Up s--,40===t.which&&sdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},re.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},re.prototype._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:ce,popperConfig:null},ye="show",Ee="out",Ce={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Te="fade",Se="show",De=".tooltip-inner",Ie=".arrow",we="hover",Ae="focus",Ne="click",Oe="manual",je=function(t,e){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)"); // private this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null, // Protected this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()},Pe={VERSION:{configurable:!0},Default:{configurable:!0},NAME:{configurable:!0},DATA_KEY:{configurable:!0},Event:{configurable:!0},EVENT_KEY:{configurable:!0},DefaultType:{configurable:!0}}; // Getters Pe.VERSION.get=function(){return"4.4.1"},Pe.Default.get=function(){return be},Pe.NAME.get=function(){return de},Pe.DATA_KEY.get=function(){return"bs.tooltip"},Pe.Event.get=function(){return Ce},Pe.EVENT_KEY.get=function(){return".bs.tooltip"},Pe.DefaultType.get=function(){return me}, // Public je.prototype.enable=function(){this._isEnabled=!0},je.prototype.disable=function(){this._isEnabled=!1},je.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},je.prototype.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(Se))return void this._leave(null,this);this._enter(null,this)}},je.prototype.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},je.prototype.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var o=s.findShadowRoot(this.element),r=e.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var a=this.getTipElement(),l=s.getUID(this.constructor.NAME);a.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&e(a).addClass(Te);var c="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,h=this._getAttachment(c);this.addAttachmentClass(h);var u=this._getContainer();e(a).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(a).appendTo(u),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,a,this._getPopperConfig(h)),e(a).addClass(Se), // If this is a touch-enabled device we add extra // empty mouseover listeners to the body's immediate children; // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html "ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var f=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===Ee&&t._leave(null,t)};if(e(this.tip).hasClass(Te)){var d=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},je.prototype.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==ye&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(Se), // If this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support "ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[Ne]=!1,this._activeTrigger[Ae]=!1,this._activeTrigger[we]=!1,e(this.tip).hasClass(Te)){var a=s.getTransitionDurationFromElement(i);e(i).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},je.prototype.update=function(){null!==this._popper&&this._popper.scheduleUpdate()}, // Protected je.prototype.isWithContent=function(){return Boolean(this.getTitle())},je.prototype.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},je.prototype.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},je.prototype.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(De)),this.getTitle()),e(t).removeClass(Te+" "+Se)},je.prototype.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=fe(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n): // Content is a DOM node or a jQuery this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},je.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}, // Private je.prototype._getPopperConfig=function(t){var e=this,n={placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ie},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}};return Object.assign({},n,this.config.popperConfig)},je.prototype._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=Object.assign({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},je.prototype._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},je.prototype._getAttachment=function(t){return ve[t.toUpperCase()]},je.prototype._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==Oe){var i=n===we?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===we?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=Object.assign({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},je.prototype._fixTitle=function(){var t=typeof 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",""))},je.prototype._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?Ae:we]=!0),e(n.getTipElement()).hasClass(Se)||n._hoverState===ye?n._hoverState=ye:(clearTimeout(n._timeout),n._hoverState=ye,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===ye&&n.show()},n.config.delay.show):n.show())},je.prototype._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?Ae:we]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=Ee,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===Ee&&n.hide()},n.config.delay.hide):n.hide())},je.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},je.prototype._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==_e.indexOf(t)&&delete n[t]}),"number"==typeof(t=Object.assign({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),s.typeCheckConfig(de,t,this.constructor.DefaultType),t.sanitize&&(t.template=fe(t.template,t.whiteList,t.sanitizeFn)),t},je.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},je.prototype._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(ge);null!==n&&n.length&&t.removeClass(n.join(""))},je.prototype._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},je.prototype._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(Te),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)}, // Static je._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new je(this,i),e(this).data("bs.tooltip",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},Object.defineProperties(je,Pe), /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ e.fn.tooltip=je._jQueryInterface,e.fn.tooltip.Constructor=je,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=pe,je._jQueryInterface}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): popover.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var Le="popover",ke=e.fn.popover,Re=new RegExp("(^|\\s)bs-popover\\S+","g"),He=Object.assign({},je.Default,{placement:"right",trigger:"click",content:"",template:''}),xe=Object.assign({},je.DefaultType,{content:"(string|element|function)"}),Fe="fade",Ue="show",We=".popover-header",qe=".popover-body",Me={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Ke=function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var i={VERSION:{configurable:!0},Default:{configurable:!0},NAME:{configurable:!0},DATA_KEY:{configurable:!0},Event:{configurable:!0},EVENT_KEY:{configurable:!0},DefaultType:{configurable:!0}};return i.VERSION.get=function(){return"4.4.1"},i.Default.get=function(){return He},i.NAME.get=function(){return Le},i.DATA_KEY.get=function(){return"bs.popover"},i.Event.get=function(){return Me},i.EVENT_KEY.get=function(){return".bs.popover"},i.DefaultType.get=function(){return xe}, // Overrides n.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},n.prototype.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},n.prototype.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},n.prototype.setContent=function(){var t=e(this.getTipElement()); // We use append for html objects to maintain js events this.setElementContent(t.find(We),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(qe),n),t.removeClass(Fe+" "+Ue)}, // Private n.prototype._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n.prototype._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(Re);null!==n&&n.length>0&&t.removeClass(n.join(""))}, // Static n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.popover"),o="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new n(this,o),e(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},Object.defineProperties(n,i),n}(je); /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ e.fn.popover=Ke._jQueryInterface,e.fn.popover.Constructor=Ke,e.fn.popover.noConflict=function(){return e.fn.popover=ke,Ke._jQueryInterface}; /** * -------------------------------------------------------------------------- * Bootstrap (v4.4.1): scrollspy.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var Qe="scrollspy",Be=e.fn[Qe],Ve={offset:10,method:"auto",target:""},Ye={offset:"number",method:"string",target:"(string|element)"},ze={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Xe="dropdown-item",$e="active",Ge='[data-spy="scroll"]',Je=".nav, .list-group",Ze=".nav-link",tn=".nav-item",en=".list-group-item",nn=".dropdown",on=".dropdown-item",sn=".dropdown-toggle",rn="offset",an="position",ln=function(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+Ze+","+this._config.target+" "+en+","+this._config.target+" "+on,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(ze.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()},cn={VERSION:{configurable:!0},Default:{configurable:!0}}; // Getters cn.VERSION.get=function(){return"4.4.1"},cn.Default.get=function(){return Ve}, // Public ln.prototype.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?rn:an,i="auto"===this._config.method?n:this._config.method,o=i===an?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var n,r=s.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var a=n.getBoundingClientRect();if(a.width||a.height) // TODO (fat): remove sketch reliance on jQuery position/offset return[e(n)[i]().top+o,r]}return 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])})},ln.prototype.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(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}, // Private ln.prototype._getConfig=function(t){if("string"!=typeof(t=Object.assign({},Ve,"object"==typeof t&&t?t:{})).target){var n=e(t.target).attr("id");n||(n=s.getUID(Qe),e(t.target).attr("id",n)),t.target="#"+n}return s.typeCheckConfig(Qe,t,Ye),t},ln.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},ln.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},ln.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},ln.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&&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 and