!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function o(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function f(n,t,i){return t&&o(n.prototype,t),i&&o(n,i),n}function u(){return(u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var r=function(n){function r(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function u(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i=!1,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");"#"===i.charAt(0)&&(i=function(t){return"function"==typeof n.escapeSelector?n.escapeSelector(t).substr(1):t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1")}(i));try{return n(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,u){var f;for(f in u)if(Object.prototype.hasOwnProperty.call(u,f)){var o=u[f],e=i[f],s=e&&t.isElement(e)?"element":r(e);if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+': Option "'+f+'" provided type "'+s+'" but expected type "'+o+'".');}}};return i=!window.QUnit&&{end:"transitionend"},n.fn.emulateTransitionEnd=u,t.supportsTransitionEnd()&&(n.event.special[t.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),t}(t),s=function(n){var i="alert",u="bs.alert",e="."+u,s=n.fn[i],o={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},h="alert",c="fade",l="show",t=function(){function t(n){this._element=n}var i=t.prototype;return i.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},i.dispose=function(){n.removeData(this._element,u);this._element=null},i._getRootElement=function(t){var u=r.getSelectorFromElement(t),i=!1;return u&&(i=n(u)[0]),i||(i=n(t).closest("."+h)[0]),i},i._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},i._removeElement=function(t){var i=this;n(t).removeClass(l);r.supportsTransitionEnd()&&n(t).hasClass(c)?n(t).one(r.TRANSITION_END,function(n){return i._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},i._destroyElement=function(t){n(t).detach().trigger(o.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(u);r||(r=new t(this),f.data(u,r));"close"===i&&r[i](this)})},t._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(t,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}}]),t}();return n(document).on(o.CLICK_DATA_API,'[data-dismiss="alert"]',t._handleDismiss(new t)),n.fn[i]=t._jQueryInterface,n.fn[i].Constructor=t,n.fn[i].noConflict=function(){return n.fn[i]=s,t._jQueryInterface},t}(t),h=function(n){var t="button",u="bs.button",e="."+u,o=".data-api",l=n.fn[t],i="active",a="btn",v="focus",s='[data-toggle^="button"]',y='[data-toggle="buttons"]',p="input",w=".active",h=".btn",c={CLICK_DATA_API:"click"+e+o,FOCUS_BLUR_DATA_API:"focus"+e+o+" blur"+e+o},r=function(){function t(n){this._element=n}var r=t.prototype;return r.toggle=function(){var u=!0,e=!0,r=n(this._element).closest(y)[0],t,f;if(r&&(t=n(this._element).find(p)[0],t)){if("radio"===t.type&&(t.checked&&n(this._element).hasClass(i)?u=!1:(f=n(r).find(w)[0],f&&n(f).removeClass(i))),u){if(t.hasAttribute("disabled")||r.hasAttribute("disabled")||t.classList.contains("disabled")||r.classList.contains("disabled"))return;t.checked=!n(this._element).hasClass(i);n(t).trigger("change")}t.focus();e=!1}e&&this._element.setAttribute("aria-pressed",!n(this._element).hasClass(i));u&&n(this._element).toggleClass(i)},r.dispose=function(){n.removeData(this._element,u);this._element=null},t._jQueryInterface=function(i){return this.each(function(){var r=n(this).data(u);r||(r=new t(this),n(this).data(u,r));"toggle"===i&&r[i]()})},f(t,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}}]),t}();return n(document).on(c.CLICK_DATA_API,s,function(t){t.preventDefault();var i=t.target;n(i).hasClass(a)||(i=n(i).closest(h));r._jQueryInterface.call(n(i),"toggle")}).on(c.FOCUS_BLUR_DATA_API,s,function(t){var i=n(t.target).closest(h)[0];n(i).toggleClass(v,/^focus(in)?$/.test(t.type))}),n.fn[t]=r._jQueryInterface,n.fn[t].Constructor=r,n.fn[t].noConflict=function(){return n.fn[t]=l,r._jQueryInterface},r}(t),c=function(n){var s="carousel",c="bs.carousel",t="."+c,y=n.fn[s],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",a="prev",w="left",b="right",i={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,TOUCHEND:"touchend"+t,LOAD_DATA_API:"load"+t+".data-api",CLICK_DATA_API:"click"+t+".data-api"},k="carousel",o="active",d="slide",g="carousel-item-right",nt="carousel-item-left",tt="carousel-item-next",it="carousel-item-prev",e={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"]'},h=function(){function y(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(e.INDICATORS)[0];this._addEventListeners()}var h=y.prototype;return h.next=function(){this._isSliding||this._slide(l)},h.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(a)},h.pause=function(t){t||(this._isPaused=!0);n(this._element).find(e.NEXT_PREV)[0]&&r.supportsTransitionEnd()&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},h.cycle=function(n){n||(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))},h.to=function(t){var f=this,r,u;if(this._activeElement=n(this._element).find(e.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(i.SLID,function(){return f.to(t)});else{if(r===t)return this.pause(),void this.cycle();u=t>r?l:a;this._slide(u,this._items[t])}},h.dispose=function(){n(this._element).off(t);n.removeData(this._element,c);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},h._getConfig=function(n){return n=u({},v,n),r.typeCheckConfig(s,n,p),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(i.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(i.MOUSEENTER,function(n){return t.pause(n)}).on(i.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(i.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},500+t._config.interval)}))},h._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next();break;default:return}},h._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(e.ITEM)),this._items.indexOf(t)},h._getItemByDirection=function(n,t){var u=n===l,f=n===a,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===a?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},h._triggerSlideEvent=function(t,r){var f=this._getItemIndex(t),o=this._getItemIndex(n(this._element).find(e.ACTIVE_ITEM)[0]),u=n.Event(i.SLIDE,{relatedTarget:t,direction:r,from:o,to:f});return n(this._element).trigger(u),u},h._setActiveIndicatorElement=function(t){if(this._indicatorsElement){n(this._indicatorsElement).find(e.ACTIVE).removeClass(o);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n(i).addClass(o)}},h._slide=function(t,u){var h,c,a,y=this,s=n(this._element).find(e.ACTIVE_ITEM)[0],k=this._getItemIndex(s),f=u||s&&this._getItemByDirection(t,s),rt=this._getItemIndex(f),p=Boolean(this._interval),v;(t===l?(h=nt,c=tt,a=w):(h=g,c=it,a=b),f&&n(f).hasClass(o))?this._isSliding=!1:!this._triggerSlideEvent(f,a).isDefaultPrevented()&&s&&f&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(f),v=n.Event(i.SLID,{relatedTarget:f,direction:a,from:k,to:rt}),r.supportsTransitionEnd()&&n(this._element).hasClass(d)?(n(f).addClass(c),r.reflow(f),n(s).addClass(h),n(f).addClass(h),n(s).one(r.TRANSITION_END,function(){n(f).removeClass(h+" "+c).addClass(o);n(s).removeClass(o+" "+c+" "+h);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(n(s).removeClass(o),n(f).addClass(o),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=u({},v,n(this).data()),f;if("object"==typeof t&&(r=u({},r,t)),f="string"==typeof t?t:r.slide,i||(i=new y(this,r),n(this).data(c,i)),"number"==typeof t)i.to(t);else if("string"==typeof f){if("undefined"==typeof i[f])throw new Error('No method named "'+f+'"');i[f]()}else r.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=r.getSelectorFromElement(this),i,e,f;o&&(i=n(o)[0],i&&n(i).hasClass(k)&&(e=u({},n(i).data(),n(this).data()),f=this.getAttribute("data-slide-to"),f&&(e.interval=!1),y._jQueryInterface.call(n(i),e),f&&n(i).data(c).to(f),t.preventDefault()))},f(y,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return v}}]),y}();return n(document).on(i.CLICK_DATA_API,e.DATA_SLIDE,h._dataApiClickHandler),n(window).on(i.LOAD_DATA_API,function(){n(e.DATA_RIDE).each(function(){var t=n(this);h._jQueryInterface.call(t,t.data())})}),n.fn[s]=h._jQueryInterface,n.fn[s].Constructor=h,n.fn[s].noConflict=function(){return n.fn[s]=y,h._jQueryInterface},h}(t),l=function(n){var e="collapse",t="bs.collapse",o="."+t,w=n.fn[e],a={toggle:!0,parent:""},b={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},i="show",c="collapse",l="collapsing",v="collapsed",p="width",k="height",y={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var f,u,e,o;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),f=n(y.DATA_TOGGLE),u=0;u<f.length;u++)e=f[u],o=r.getSelectorFromElement(e),null!==o&&n(o).filter(t).length>0&&this._triggerArray.push(e);this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=h.prototype;return o.toggle=function(){n(this._element).hasClass(i)?this.hide():this.show()},o.show=function(){var e=this,u,o,a,f,p,w;this._isTransitioning||n(this._element).hasClass(i)||(this._parent&&((u=n.makeArray(n(this._parent).children().children(y.ACTIVES))).length||(u=null)),u&&(o=n(u).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(u&&(h._jQueryInterface.call(n(u),"hide"),o||n(u).data(t,null)),f=this._getDimension(),n(this._element).removeClass(c).addClass(l),this._element.style[f]=0,this._triggerArray.length&&n(this._triggerArray).removeClass(v).attr("aria-expanded",!0),this.setTransitioning(!0),p=function(){n(e._element).removeClass(l).addClass(c).addClass(i);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},r.supportsTransitionEnd()?(w="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(r.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[f]=this._element[w]+"px"):p()))},o.hide=function(){var a=this,f,t,u,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(i)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",r.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(i),this._triggerArray.length)for(u=0;u<this._triggerArray.length;u++)e=this._triggerArray[u],o=r.getSelectorFromElement(e),null!==o&&(n(o).hasClass(i)||n(e).addClass(v).attr("aria-expanded",!1));this.setTransitioning(!0);h=function(){a.setTransitioning(!1);n(a._element).removeClass(l).addClass(c).trigger(s.HIDDEN)};this._element.style[t]="";r.supportsTransitionEnd()?n(this._element).one(r.TRANSITION_END,h).emulateTransitionEnd(600):h()}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){n.removeData(this._element,t);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=u({},a,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(e,n,b),n},o._getDimension=function(){return n(this._element).hasClass(p)?p:k},o._getParent=function(){var u=this,t=null,i;return r.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=n(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n(t).find(i).each(function(n,t){u._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},o._addAriaAndCollapsedClass=function(t,r){if(t){var u=n(t).hasClass(i);r.length&&n(r).toggleClass(v,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(t){var i=r.getSelectorFromElement(t);return i?n(i)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(t),e=u({},a,f.data(),"object"==typeof i&&i);if(!r&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),r||(r=new h(this,e),f.data(t,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new Error('No method named "'+i+'"');r[i]()}})},f(h,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return a}}]),h}();return n(document).on(s.CLICK_DATA_API,y.DATA_TOGGLE,function(i){"A"===i.currentTarget.tagName&&i.preventDefault();var u=n(this),f=r.getSelectorFromElement(this);n(f).each(function(){var i=n(this),r=i.data(t)?"toggle":u.data();h._jQueryInterface.call(i,r)})}),n.fn[e]=h._jQueryInterface,n.fn[e].Constructor=h,n.fn[e].noConflict=function(){return n.fn[e]=w,h._jQueryInterface},h}(t),a=function(n){var h="dropdown",c="bs.dropdown",e="."+c,a=".data-api",b=n.fn[h],k=new RegExp("38|40|27"),t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK:"click"+e,CLICK_DATA_API:"click"+e+a,KEYDOWN_DATA_API:"keydown"+e+a,KEYUP_DATA_API:"keyup"+e+a},p="disabled",s="show",w="dropup",d="dropright",g="dropleft",v="dropdown-menu-right",nt="dropdown-menu-left",tt="position-static",l='[data-toggle="dropdown"]',y=".dropdown-menu",it=".navbar-nav",rt=".dropdown-menu .dropdown-item:not(.disabled)",ut="top-start",ft="top-end",et="bottom-start",ot="bottom-end",st="right-start",ht="left-start",ct={offset:0,flip:!0,boundary:"scrollParent"},lt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},o=function(){function o(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=o.prototype;return a.toggle=function(){var r,h,u,f,e;if(!this._element.disabled&&!n(this._element).hasClass(p)&&(r=o._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(o._clearMenus(),!h)&&(u={relatedTarget:this._element},f=n.Event(t.SHOW,u),n(r).trigger(f),!f.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");e=this._element;n(r).hasClass(w)&&(n(this._menu).hasClass(nt)||n(this._menu).hasClass(v))&&(e=r);"scrollParent"!==this._config.boundary&&n(r).addClass(tt);this._popper=new i(e,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!n(r).closest(it).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(r).toggleClass(s).trigger(n.Event(t.SHOWN,u))}},a.dispose=function(){n.removeData(this._element,c);n(this._element).off(e);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},a._getConfig=function(t){return t=u({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},a._getMenuElement=function(){if(!this._menu){var t=o._getParentFromElement(this._element);this._menu=n(t).find(y)[0]}return this._menu},a._getPlacement=function(){var i=n(this._element).parent(),t=et;return i.hasClass(w)?(t=ut,n(this._menu).hasClass(v)&&(t=ft)):i.hasClass(d)?t=st:i.hasClass(g)?t=ht:n(this._menu).hasClass(v)&&(t=ot),t},a._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=u({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},o._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c);if(i||(i=new o(this,"object"==typeof t?t:null),n(this).data(c,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new Error('No method named "'+t+'"');i[t]()}})},o._clearMenus=function(i){var u,r,v,e;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=n.makeArray(n(l)),r=0;r<u.length;r++){var f=o._getParentFromElement(u[r]),h=n(u[r]).data(c),a={relatedTarget:u[r]};h&&(v=h._menu,!n(f).hasClass(s)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&n.contains(f,i.target)||(e=n.Event(t.HIDE,a),n(f).trigger(e),e.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),u[r].setAttribute("aria-expanded","false"),n(v).removeClass(s),n(f).removeClass(s).trigger(n.Event(t.HIDDEN,a)))))}},o._getParentFromElement=function(t){var i,u=r.getSelectorFromElement(t);return u&&(i=n(u)[0]),i||t.parentNode},o._dataApiKeydownHandler=function(t){var u,f,r,i,e;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(y).length):!k.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||n(this).hasClass(p))||(u=o._getParentFromElement(this),f=n(u).hasClass(s),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=n(u).find(rt).get(),r.length&&(i=r.indexOf(t.target),38===t.which&&i>0&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(e=n(u).find(l)[0],n(e).trigger("focus")),n(this).trigger("click")))},f(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return ct}},{key:"DefaultType",get:function(){return lt}}]),o}();return n(document).on(t.KEYDOWN_DATA_API,l,o._dataApiKeydownHandler).on(t.KEYDOWN_DATA_API,y,o._dataApiKeydownHandler).on(t.CLICK_DATA_API+" "+t.KEYUP_DATA_API,o._clearMenus).on(t.CLICK_DATA_API,l,function(t){t.preventDefault();t.stopPropagation();o._jQueryInterface.call(n(this),"toggle")}).on(t.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()}),n.fn[h]=o._jQueryInterface,n.fn[h].Constructor=o,n.fn[h].noConflict=function(){return n.fn[h]=b,o._jQueryInterface},o}(t),v=function(n){var v="modal",s="bs.modal",i="."+s,y=n.fn.modal,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,FOCUSIN:"focusin"+i,RESIZE:"resize"+i,CLICK_DISMISS:"click.dismiss"+i,KEYDOWN_DISMISS:"keydown.dismiss"+i,MOUSEUP_DISMISS:"mouseup.dismiss"+i,MOUSEDOWN_DISMISS:"mousedown.dismiss"+i,CLICK_DATA_API:"click"+i+".data-api"},w="modal-scrollbar-measure",b="modal-backdrop",a="modal-open",o="fade",c="show",e={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},h=function(){function y(t,i){this._config=this._getConfig(i);this._element=t;this._dialog=n(t).find(e.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}var h=y.prototype;return h.toggle=function(n){return this._isShown?this.hide():this.show(n)},h.show=function(i){var u=this,f;this._isTransitioning||this._isShown||(r.supportsTransitionEnd()&&n(this._element).hasClass(o)&&(this._isTransitioning=!0),f=n.Event(t.SHOW,{relatedTarget:i}),n(this._element).trigger(f),this._isShown||f.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),n(document.body).addClass(a),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(t.CLICK_DISMISS,e.DATA_DISMISS,function(n){return u.hide(n)}),n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(u._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(u._element)&&(u._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return u._showElement(i)})))},h.hide=function(i){var e=this,u,f;(i&&i.preventDefault(),!this._isTransitioning&&this._isShown)&&(u=n.Event(t.HIDE),(n(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=r.supportsTransitionEnd()&&n(this._element).hasClass(o),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(c),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),f?n(this._element).one(r.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(300):this._hideModal()))},h.dispose=function(){n.removeData(this._element,s);n(window,document,this._element,this._backdrop).off(i);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},h.handleUpdate=function(){this._adjustDialog()},h._getConfig=function(n){return n=u({},l,n),r.typeCheckConfig(v,n,p),n},h._showElement=function(i){var u=this,e=r.supportsTransitionEnd()&&n(this._element).hasClass(o),s,f;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;e&&r.reflow(this._element);n(this._element).addClass(c);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:i});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;n(u._element).trigger(s)};e?n(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(300):f()},h._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document===t.target||i._element===t.target||n(i._element).has(t.target).length||i._element.focus()})},h._setEscapeEvent=function(){var i=this;this._isShown&&this._config.keyboard?n(this._element).on(t.KEYDOWN_DISMISS,function(n){27===n.which&&(n.preventDefault(),i.hide())}):this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},h._setResizeEvent=function(){var i=this;this._isShown?n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)}):n(window).off(t.RESIZE)},h._hideModal=function(){var i=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(a);i._resetAdjustments();i._resetScrollbar();n(i._element).trigger(t.HIDDEN)})},h._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},h._showBackdrop=function(i){var u=this,f=n(this._element).hasClass(o)?o:"",e,s;if(this._isShown&&this._config.backdrop){if(e=r.supportsTransitionEnd()&&f,this._backdrop=document.createElement("div"),this._backdrop.className=b,f&&n(this._backdrop).addClass(f),n(this._backdrop).appendTo(document.body),n(this._element).on(t.CLICK_DISMISS,function(n){u._ignoreBackdropClick?u._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===u._config.backdrop?u._element.focus():u.hide())}),e&&r.reflow(this._backdrop),n(this._backdrop).addClass(c),!i)return;if(!e)return void i();n(this._backdrop).one(r.TRANSITION_END,i).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(c),s=function(){u._removeBackdrop();i&&i()},r.supportsTransitionEnd()&&n(this._element).hasClass(o)?n(this._backdrop).one(r.TRANSITION_END,s).emulateTransitionEnd(150):s()):i&&i()},h._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},h._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},h._setScrollbar=function(){var t=this,i,r;this._isBodyOverflowing&&(n(e.FIXED_CONTENT).each(function(i,r){var u=n(r)[0].style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(e.STICKY_CONTENT).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),n(e.NAVBAR_TOGGLER).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)+t._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=n("body").css("padding-right"),n("body").data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},h._resetScrollbar=function(){n(e.FIXED_CONTENT).each(function(t,i){var r=n(i).data("padding-right");"undefined"!=typeof r&&n(i).css("padding-right",r).removeData("padding-right")});n(e.STICKY_CONTENT+", "+e.NAVBAR_TOGGLER).each(function(t,i){var r=n(i).data("margin-right");"undefined"!=typeof r&&n(i).css("margin-right",r).removeData("margin-right")});var t=n("body").data("padding-right");"undefined"!=typeof t&&n("body").css("padding-right",t).removeData("padding-right")},h._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=w,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},y._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(s),f=u({},y.Default,n(this).data(),"object"==typeof t&&t);if(r||(r=new y(this,f),n(this).data(s,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new Error('No method named "'+t+'"');r[t](i)}else f.show&&r.show(i)})},f(y,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return l}}]),y}();return n(document).on(t.CLICK_DATA_API,e.DATA_TOGGLE,function(i){var f,e=this,o=r.getSelectorFromElement(this),c,l;o&&(f=n(o)[0]);c=n(f).data(s)?"toggle":u({},n(f).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||i.preventDefault();l=n(f).one(t.SHOW,function(i){i.isDefaultPrevented()||l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});h._jQueryInterface.call(n(f),c,this)}),n.fn.modal=h._jQueryInterface,n.fn.modal.Constructor=h,n.fn.modal.noConflict=function(){return n.fn.modal=y,h._jQueryInterface},h}(t),e=function(n){var e="tooltip",l="bs.tooltip",t="."+l,p=n.fn[e],w=new RegExp("(^|\\s)bs-tooltip\\S+","g"),b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},o="show",v="out",g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},s="fade",h="show",nt=".tooltip-inner",tt=".arrow",c="hover",y="focus",it="click",rt="manual",a=function(){function p(n,t){if("undefined"==typeof i)throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var a=p.prototype;return a.enable=function(){this._isEnabled=!0},a.disable=function(){this._isEnabled=!1},a.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},a.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(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},a.show=function(){var t=this,f,l,u,e,a,o,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;u=this.getTipElement();e=r.getUID(this.constructor.NAME);u.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&n(u).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;o=this._getAttachment(a);this.addAttachmentClass(o);y=!1===this.config.container?document.body:n(this.config.container);n(u).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:tt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}});n(u).addClass(h);"ontouchstart"in document.documentElement&&n("body").children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===v&&t._leave(null,t)};r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p._TRANSITION_DURATION):c()}},a.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),e=function(){i._hoverState!==o&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();t&&t()};n(this.element).trigger(f);f.isDefaultPrevented()||(n(u).removeClass(h),"ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),this._activeTrigger[it]=!1,this._activeTrigger[y]=!1,this._activeTrigger[c]=!1,r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(r.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},a.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},a.isWithContent=function(){return Boolean(this.getTitle())},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(nt),this.getTitle());t.removeClass(s+" "+h)},a.setElementContent=function(t,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},a.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},a._getAttachment=function(n){return k[n.toUpperCase()]},a._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==rt){var r=i===c?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===c?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},a._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a._enter=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusin"===t.type?y:c]=!0);n(i.getTipElement()).hasClass(h)||i._hoverState===o?i._hoverState=o:(clearTimeout(i._timeout),i._hoverState=o,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===o&&i.show()},i.config.delay.show):i.show())},a._leave=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusout"===t.type?y:c]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=v,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===v&&i.hide()},i.config.delay.hide):i.hide())},a._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},a._getConfig=function(t){return"number"==typeof(t=u({},this.constructor.Default,n(this.element).data(),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()),r.typeCheckConfig(e,t,this.constructor.DefaultType),t},a._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},a._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);null!==t&&t.length>0&&i.removeClass(t.join(""))},a._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},a._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(s),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(l,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new Error('No method named "'+t+'"');i[t]()}})},f(p,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[e]=a._jQueryInterface,n.fn[e].Constructor=a,n.fn[e].noConflict=function(){return n.fn[e]=p,a._jQueryInterface},a}(t),y=function(n){var i="popover",r="bs.popover",t="."+r,s=n.fn[i],h=new RegExp("(^|\\s)bs-popover\\S+","g"),c=u({},e.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),l=u({},e.DefaultType,{content:"(string|element|function)"}),a="fade",v="show",y=".popover-header",p=".popover-body",w={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},o=function(u){function e(){return u.apply(this,arguments)||this}!function(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}(e,u);var o=e.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},o.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(y),this.getTitle());t=this._getContent();"function"==typeof t&&(t=t.call(this.element));this.setElementContent(i.find(p),t);i.removeClass(a+" "+v)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(h);null!==t&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(r),u="object"==typeof t?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,u),n(this).data(r,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new Error('No method named "'+t+'"');i[t]()}})},f(e,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return c}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return w}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return l}}]),e}(e);return n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=s,o._jQueryInterface},o}(t),p=function(n){var i="scrollspy",s="bs.scrollspy",h="."+s,v=n.fn[i],l={offset:10,method:"auto",target:""},y={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},p="dropdown-item",e="active",t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},w="offset",a="position",o=function(){function v(i,r){var u=this;this._element=i;this._scrollElement="BODY"===i.tagName?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+this._config.target+" "+t.LIST_ITEMS+","+this._config.target+" "+t.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var o=v.prototype;return o.refresh=function(){var t=this,u=this._scrollElement!==this._scrollElement.window?a:w,i="auto"===this._config.method?u:this._config.method,f=i===a?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();n.makeArray(n(this._selector)).map(function(t){var u,e=r.getSelectorFromElement(t),o;return(e&&(u=n(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[n(u)[i]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},o.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},o._getConfig=function(t){if("string"!=typeof(t=u({},l,t)).target){var f=n(t.target).attr("id");f||(f=r.getUID(i),n(t.target).attr("id",f));t.target="#"+f}return r.typeCheckConfig(i,t,y),t},o._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},o._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},o._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)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(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},o._activate=function(i){var u,r;this._activeTarget=i;this._clear();u=this._selector.split(",");u=u.map(function(n){return n+'[data-target="'+i+'"],'+n+'[href="'+i+'"]'});r=n(u.join(","));r.hasClass(p)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(e),r.addClass(e)):(r.addClass(e),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(e),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(e));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},o._clear=function(){n(this._selector).filter(t.ACTIVE).removeClass(e)},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s);if(i||(i=new v(this,"object"==typeof t&&t),n(this).data(s,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new Error('No method named "'+t+'"');i[t]()}})},f(v,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return l}}]),v}();return n(window).on(c.LOAD_DATA_API,function(){for(var u,i=n.makeArray(n(t.DATA_SPY)),r=i.length;r--;)u=n(i[r]),o._jQueryInterface.call(u,u.data())}),n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=v,o._jQueryInterface},o}(t),w=function(n){var e="bs.tab",o="."+e,l=n.fn.tab,t={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click.bs.tab.data-api"},a="dropdown-menu",i="active",v="disabled",y="fade",s="show",p=".dropdown",w=".nav, .list-group",h=".active",c="> li > .active",b=".dropdown-toggle",k="> .dropdown-menu .active",u=function(){function u(n){this._element=n}var o=u.prototype;return o.show=function(){var y=this,e,u,f,o,p,s,l,a;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(i)||n(this._element).hasClass(v)||(f=n(this._element).closest(w)[0],o=r.getSelectorFromElement(this._element),f&&(p="UL"===f.nodeName?c:h,u=(u=n.makeArray(n(f).find(p)))[u.length-1]),s=n.Event(t.HIDE,{relatedTarget:this._element}),l=n.Event(t.SHOW,{relatedTarget:u}),(u&&n(u).trigger(s),n(this._element).trigger(l),l.isDefaultPrevented()||s.isDefaultPrevented())||(o&&(e=n(o)[0]),this._activate(this._element,f),a=function(){var i=n.Event(t.HIDDEN,{relatedTarget:y._element}),r=n.Event(t.SHOWN,{relatedTarget:u});n(u).trigger(i);n(y._element).trigger(r)},e?this._activate(e,e.parentNode,a):a()))},o.dispose=function(){n.removeData(this._element,e);this._element=null},o._activate=function(t,i,u){var o=this,f=("UL"===i.nodeName?n(i).find(c):n(i).children(h))[0],s=u&&r.supportsTransitionEnd()&&f&&n(f).hasClass(y),e=function(){return o._transitionComplete(t,f,u)};f&&s?n(f).one(r.TRANSITION_END,e).emulateTransitionEnd(150):e()},o._transitionComplete=function(t,u,f){var e,o;u&&(n(u).removeClass(s+" "+i),e=n(u.parentNode).find(k)[0],e&&n(e).removeClass(i),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!1));(n(t).addClass(i),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),r.reflow(t),n(t).addClass(s),t.parentNode&&n(t.parentNode).hasClass(a))&&(o=n(t).closest(p)[0],o&&n(o).find(b).addClass(i),t.setAttribute("aria-expanded",!0));f&&f()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(e);if(i||(i=new u(this),r.data(e,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new Error('No method named "'+t+'"');i[t]()}})},f(u,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}}]),u}();return n(document).on(t.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault();u._jQueryInterface.call(n(this),"show")}),n.fn.tab=u._jQueryInterface,n.fn.tab.Constructor=u,n.fn.tab.noConflict=function(){return n.fn.tab=l,u._jQueryInterface},u}(t);!function(n){if("undefined"==typeof n)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.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");}(t);n.Util=r;n.Alert=s;n.Button=h;n.Carousel=c;n.Collapse=l;n.Dropdown=a;n.Modal=v;n.Popover=y;n.Scrollspy=p;n.Tab=w;n.Tooltip=e;Object.defineProperty(n,"__esModule",{value:!0})});window.matchMedia=window.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth==42,i.removeChild(r),{matches:u,media:n}}}(document),function(n){function d(){a(!0)}if(n.respond={},respond.update=function(){},respond.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!respond.mediaQueriesSupported){var t=n.document,i=t.documentElement,e=[],u=[],r=[],o={},v=30,f=t.getElementsByTagName("head")[0]||i,g=t.getElementsByTagName("base")[0],s=f.getElementsByTagName("link"),h=[],y=function(){for(var f=s,c=f.length,r=0,t,i,u,e;r<c;r++)t=f[r],i=t.href,u=t.media,e=t.rel&&t.rel.toLowerCase()==="stylesheet",!i||!e||o[i]||(t.styleSheet&&t.styleSheet.rawCssText?(w(t.styleSheet.rawCssText,i,u),o[i]=!0):(/^([a-zA-Z:]*\/\/)/.test(i)||g)&&i.replace(RegExp.$1,"").split("/")[0]!==n.location.host||h.push({href:i,media:u}));p()},p=function(){if(h.length){var n=h.shift();nt(n.href,function(t){w(t,n.href,n.media);o[n.href]=!0;p()})}},w=function(n,t,i){var o=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),s=o&&o.length||0,t=t.substring(0,t.lastIndexOf("/")),v=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},y=!s&&i,h=0,f,c,r,l,p;for(t.length&&(t+="/"),y&&(s=1);h<s;h++)for(f=0,y?(c=i,u.push(v(n))):(c=o[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,u.push(RegExp.$2&&v(RegExp.$2))),l=c.split(","),p=l.length;f<p;f++)r=l[f],e.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:u.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});a()},c,b,k=function(){var u,r=t.createElement("div"),n=t.body,f=!1;return r.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(r),i.insertBefore(n,i.firstChild),u=r.offsetWidth,f?i.removeChild(n):n.removeChild(r),l=parseFloat(u)},l,a=function(n){var nt="clientWidth",tt=i[nt],it=t.compatMode==="CSS1Compat"&&tt||t.body[nt]||tt,d={},ot=s[s.length-1],rt=(new Date).getTime(),o,h,g;if(n&&c&&rt-c<v){clearTimeout(b);b=setTimeout(a,v);return}c=rt;for(o in e){var y=e[o],p=y.minw,w=y.maxw,ut=p===null,ft=w===null,et="em";!p||(p=parseFloat(p)*(p.indexOf(et)>-1?l||k():1));!w||(w=parseFloat(w)*(w.indexOf(et)>-1?l||k():1));y.hasquery&&(ut&&ft||!(ut||it>=p)||!(ft||it<=w))||(d[y.media]||(d[y.media]=[]),d[y.media].push(u[y.rules]))}for(o in r)r[o]&&r[o].parentNode===f&&f.removeChild(r[o]);for(o in d)h=t.createElement("style"),g=d[o].join("\n"),h.type="text/css",h.media=o,f.insertBefore(h,ot.nextSibling),h.styleSheet?h.styleSheet.cssText=g:h.appendChild(t.createTextNode(g)),r.push(h)},nt=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status==200||i.status==304)&&t(i.responseText)},i.readyState!=4)&&i.send(null)},tt=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();y();respond.update=y;n.addEventListener?n.addEventListener("resize",d,!1):n.attachEvent&&n.attachEvent("onresize",d)}}(this)