var bootstrap=function(n,t){"use strict";function ot(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 st(n){return n&&"[object Function]"==={}.toString.call(n)}function o(n,t){if(1!==n.nodeType)return[];var i=window.getComputedStyle(n,null);return t?i[t]:i}function b(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function c(n){if(!n||-1!==["HTML","BODY","#document"].indexOf(n.nodeName))return window.document.body;var t=o(n),i=t.overflow,r=t.overflowX;return/(auto|scroll)/.test(i+t.overflowY+r)?n:c(b(n))}function s(n){var t=n&&n.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===o(t,"position")?s(t):t:window.document.documentElement}function ei(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||s(n.firstElementChild)===n)}function k(n){return null!==n.parentNode?k(n.parentNode):n}function a(n,t){var i,u;if(!(n&&n.nodeType&&t&&t.nodeType))return window.document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?ei(i)?i:s(i):(u=k(n),u.host?a(u.host,t):a(n,k(t).host))}function h(n){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=n.nodeName,r;return"BODY"===i||"HTML"===i?(r=window.document.documentElement,(window.document.scrollingElement||r)[t]):n[t]}function oi(n,t){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(t,"top"),u=h(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ht(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return+n["border"+i+"Width"].split("px")[0]+ +n["border"+r+"Width"].split("px")[0]}function ct(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],y()?i["offset"+n]+r["margin"+("Height"===n?"Top":"Left")]+r["margin"+("Height"===n?"Bottom":"Right")]:0)}function lt(){var t=window.document.body,n=window.document.documentElement,i=y()&&window.getComputedStyle(n);return{height:ct("Height",t,n,i),width:ct("Width",t,n,i)}}function f(n){return r({},n,{right:n.left+n.width,bottom:n.top+n.height})}function d(n){var t={},r,u,c;if(y())try{t=n.getBoundingClientRect();r=h(n,"top");u=h(n,"left");t.top+=r;t.left+=u;t.bottom+=r;t.right+=u}catch(n){}else t=n.getBoundingClientRect();var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},l="HTML"===n.nodeName?lt():{},a=l.width||n.clientWidth||i.right-i.left,v=l.height||n.clientHeight||i.bottom-i.top,e=n.offsetWidth-a,s=n.offsetHeight-v;return(e||s)&&(c=o(n),e-=ht(c,"x"),s-=ht(c,"y"),i.width-=e,i.height-=s),f(i)}function g(n,t){var v=y(),w="HTML"===t.nodeName,r=d(n),p=d(t),h=c(n),u=o(t),l=+u.borderTopWidth.split("px")[0],a=+u.borderLeftWidth.split("px")[0],i=f({top:r.top-p.top-l,left:r.left-p.left-a,width:r.width,height:r.height}),e,s;return(i.marginTop=0,i.marginLeft=0,!v&&w)&&(e=+u.marginTop.split("px")[0],s=+u.marginLeft.split("px")[0],i.top-=l-e,i.bottom-=l-e,i.left-=a-s,i.right-=a-s,i.marginTop=e,i.marginLeft=s),(v?t.contains(h):t===h&&"BODY"!==h.nodeName)&&(i=oi(i,t)),i}function si(n){var t=window.document.documentElement,i=g(n,t),r=Math.max(t.clientWidth,window.innerWidth||0),u=Math.max(t.clientHeight,window.innerHeight||0),e=h(t),o=h(t,"left");return f({top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:r,height:u})}function at(n){var t=n.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===o(n,"position")||at(b(n)))}function nt(n,t,i,r){var u={top:0,left:0},o=a(n,t),e,f;if("viewport"===r)u=si(o);else if(e=void 0,"scrollParent"===r?"BODY"===(e=c(b(n))).nodeName&&(e=window.document.documentElement):e="window"===r?window.document.documentElement:r,f=g(e,o),"HTML"!==e.nodeName||at(o))u=f;else{var s=lt(),h=s.height,l=s.width;u.top+=f.top-f.marginTop;u.bottom=h+f.top;u.left+=f.left-f.marginLeft;u.right=l+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function hi(n){return n.width*n.height}function vt(n,t,i,u,f){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var e=nt(i,u,l,f),o={top:{width:e.width,height:t.top-e.top},right:{width:e.right-t.right,height:e.height},bottom:{width:e.width,height:e.bottom-t.bottom},left:{width:t.left-e.left,height:e.height}},s=Object.keys(o).map(function(n){return r({key:n},o[n],{area:hi(o[n])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function yt(n,t,i){return g(i,a(t,i))}function pt(n){var t=window.getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function v(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function wt(n,t,i){i=i.split("-")[0];var r=pt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[v(f)],e}function l(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ci(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=l(n,function(n){return n[t]===i});return n.indexOf(r)}function bt(n,t,i){return(void 0===i?n:n.slice(0,ci(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&st(i)&&(t.offsets.popper=f(t.offsets.popper),t.offsets.reference=f(t.offsets.reference),t=i(t,n))}),t}function li(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=yt(this.state,this.popper,this.reference);n.placement=vt(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.offsets.popper=wt(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=bt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function kt(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function dt(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length-1;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof window.document.body.style[r])return r;return null}function ai(){return this.state.isDestroyed=!0,kt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[dt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function gt(n,t,i,r){var f="BODY"===n.nodeName,u=f?window:n;u.addEventListener(t,i,{passive:!0});f||gt(c(u.parentNode),t,i,r);r.push(u)}function vi(n,t,i,r){i.updateBound=r;window.addEventListener("resize",i.updateBound,{passive:!0});var u=c(n);return gt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function yi(){this.state.eventsEnabled||(this.state=vi(this.reference,this.options,this.state,this.scheduleUpdate))}function pi(n,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function wi(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=pi(this.reference,this.state))}function tt(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function it(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&tt(t[i])&&(r="px");n.style[i]=t[i]+r})}function bi(n,t){Object.keys(t).forEach(function(i){!1!==t[i]?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function ni(n,t,i){var u=l(n,function(n){return n.name===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function ki(n){return"end"===n?"start":"start"===n?"end":n}function ti(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=ft.indexOf(n),i=ft.slice(t+1).concat(ft.slice(0,t));return r?i.reverse():i}function di(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),e=+s[1],u=s[2],o;if(!e)return n;if(0===u.indexOf("%")){o=void 0;switch(u){case"%p":o=i;break;case"%":case"%r":default:o=r}return f(o)[t]/100*e}return"vh"===u||"vw"===u?("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*e:e}function gi(n,t,i,r){var s=[0,0],h=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(l(u,function(n){return-1!==n.search(/,|\s/)})),e,o;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),e=/\s*,\s*|\s+/,o=-1!==f?[u.slice(0,f).concat([u[f].split(e)[0]]),[u[f].split(e)[1]].concat(u.slice(f+1))]:[u],(o=o.map(function(n,r){var f=(1===r?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return di(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){tt(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}t=t&&t.hasOwnProperty("default")?t.default:t;for(var i=function(){function u(n){return{}.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function f(){return{bindType:i.end,delegateType:i.end,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}}}function e(){var t,n;if(window.QUnit)return!1;t=document.createElement("bootstrap");for(n in r)if("undefined"!=typeof t.style[n])return{end:r[n]};return!1}function o(i){var u=this,r=!1;return t(this).one(n.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||n.triggerTransitionEnd(u)},i),this}var i=!1,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(n){var i=n.getAttribute("data-target");i&&"#"!==i||(i=n.getAttribute("href")||"");try{return t(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(t,i,r){var f;for(f in r)if(Object.prototype.hasOwnProperty.call(r,f)){var o=r[f],e=i[f],s=e&&n.isElement(e)?"element":u(e);if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+f+'" provided type "'+s+'" but expected type "'+o+'".');}}};return i=e(),t.fn.emulateTransitionEnd=o,n.supportsTransitionEnd()&&(t.event.special[n.TRANSITION_END]=f()),n}(),u=function(n,t,i){return t&&ot(n.prototype,t),i&&ot(n,i),n},nr=function(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t},tr=function(){var r="alert",o=t.fn[r],f={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},e={ALERT:"alert",FADE:"fade",SHOW:"show"},n=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,"bs.alert");this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=t(u)[0]),r||(r=t(n).closest("."+e.ALERT)[0]),r},r._triggerCloseEvent=function(n){var i=t.Event(f.CLOSE);return t(n).trigger(i),i},r._removeElement=function(n){var r=this;t(n).removeClass(e.SHOW);i.supportsTransitionEnd()&&t(n).hasClass(e.FADE)?t(n).one(i.TRANSITION_END,function(t){return r._destroyElement(n,t)}).emulateTransitionEnd(150):this._destroyElement(n)},r._destroyElement=function(n){t(n).detach().trigger(f.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data("bs.alert");r||(r=new n(this),u.data("bs.alert",r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},u(n,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),n}();return t(document).on(f.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,n._handleDismiss(new n)),t.fn[r]=n._jQueryInterface,t.fn[r].Constructor=n,t.fn[r].noConflict=function(){return t.fn[r]=o,n._jQueryInterface},n}(),ir=function(){var r="button",o=t.fn[r],n={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},e={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},f=function(){function r(n){this._element=n}var f=r.prototype;return f.toggle=function(){var f=!0,o=!0,u=t(this._element).closest(i.DATA_TOGGLE)[0],r,e;if(u&&(r=t(this._element).find(i.INPUT)[0],r)){if("radio"===r.type&&(r.checked&&t(this._element).hasClass(n.ACTIVE)?f=!1:(e=t(u).find(i.ACTIVE)[0],e&&t(e).removeClass(n.ACTIVE))),f){if(r.hasAttribute("disabled")||u.hasAttribute("disabled")||r.classList.contains("disabled")||u.classList.contains("disabled"))return;r.checked=!t(this._element).hasClass(n.ACTIVE);t(r).trigger("change")}r.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!t(this._element).hasClass(n.ACTIVE));f&&t(this._element).toggleClass(n.ACTIVE)},f.dispose=function(){t.removeData(this._element,"bs.button");this._element=null},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.button");i||(i=new r(this),t(this).data("bs.button",i));"toggle"===n&&i[n]()})},u(r,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),r}();return t(document).on(e.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(r){r.preventDefault();var u=r.target;t(u).hasClass(n.BUTTON)||(u=t(u).closest(i.BUTTON));f._jQueryInterface.call(t(u),"toggle")}).on(e.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(r){var u=t(r.target).closest(i.BUTTON)[0];t(u).toggleClass(n.FOCUS,/^focus(in)?$/.test(r.type))}),t.fn[r]=f._jQueryInterface,t.fn[r].Constructor=f,t.fn[r].noConflict=function(){return t.fn[r]=o,f._jQueryInterface},f}(),rr=function(){var s="carousel",c="bs.carousel",o="."+c,a=t.fn[s],l={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},v={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},r={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},f={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHEND:"touchend"+o,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},n={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},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 a(n,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=t(n)[0];this._indicatorsElement=t(this._element).find(e.INDICATORS)[0];this._addEventListeners()}var h=a.prototype;return h.next=function(){this._isSliding||this._slide(r.NEXT)},h.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(r.PREV)},h.pause=function(n){n||(this._isPaused=!0);t(this._element).find(e.NEXT_PREV)[0]&&i.supportsTransitionEnd()&&(i.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(n){var o=this,i,u;if(this._activeElement=t(this._element).find(e.ACTIVE_ITEM)[0],i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(f.SLID,function(){return o.to(n)});else{if(i===n)return this.pause(),void this.cycle();u=n>i?r.NEXT:r.PREV;this._slide(u,this._items[n])}},h.dispose=function(){t(this._element).off(o);t.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=t.extend({},l,n),i.typeCheckConfig(s,n,v),n},h._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(f.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&(t(this._element).on(f.MOUSEENTER,function(t){return n.pause(t)}).on(f.MOUSELEAVE,function(t){return n.cycle(t)}),"ontouchstart"in document.documentElement&&t(this._element).on(f.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._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(n){return this._items=t.makeArray(t(n).parent().find(e.ITEM)),this._items.indexOf(n)},h._getItemByDirection=function(n,t){var f=n===r.NEXT,e=n===r.PREV,i=this._getItemIndex(t),o=this._items.length-1,u;return(e&&0===i||f&&i===o)&&!this._config.wrap?t:(u=(i+(n===r.PREV?-1:1))%this._items.length,-1===u?this._items[this._items.length-1]:this._items[u])},h._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),o=this._getItemIndex(t(this._element).find(e.ACTIVE_ITEM)[0]),r=t.Event(f.SLIDE,{relatedTarget:n,direction:i,from:o,to:u});return t(this._element).trigger(r),r},h._setActiveIndicatorElement=function(i){if(this._indicatorsElement){t(this._indicatorsElement).find(e.ACTIVE).removeClass(n.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(i)];r&&t(r).addClass(n.ACTIVE)}},h._slide=function(u,o){var c,l,a,y=this,h=t(this._element).find(e.ACTIVE_ITEM)[0],w=this._getItemIndex(h),s=o||h&&this._getItemByDirection(u,h),b=this._getItemIndex(s),p=Boolean(this._interval),v;(u===r.NEXT?(c=n.LEFT,l=n.NEXT,a=r.LEFT):(c=n.RIGHT,l=n.PREV,a=r.RIGHT),s&&t(s).hasClass(n.ACTIVE))?this._isSliding=!1:!this._triggerSlideEvent(s,a).isDefaultPrevented()&&h&&s&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(s),v=t.Event(f.SLID,{relatedTarget:s,direction:a,from:w,to:b}),i.supportsTransitionEnd()&&t(this._element).hasClass(n.SLIDE)?(t(s).addClass(l),i.reflow(s),t(h).addClass(c),t(s).addClass(c),t(h).one(i.TRANSITION_END,function(){t(s).removeClass(c+" "+l).addClass(n.ACTIVE);t(h).removeClass(n.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return t(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(t(h).removeClass(n.ACTIVE),t(s).addClass(n.ACTIVE),this._isSliding=!1,t(this._element).trigger(v)),p&&this.cycle())},a._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(c),u=t.extend({},l,t(this).data()),r;if("object"==typeof n&&t.extend(u,n),r="string"==typeof n?n:u.slide,i||(i=new a(this,u),t(this).data(c,i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if("undefined"==typeof i[r])throw new Error('No method named "'+r+'"');i[r]()}else u.interval&&(i.pause(),i.cycle())})},a._dataApiClickHandler=function(r){var o=i.getSelectorFromElement(this),u,e,f;o&&(u=t(o)[0],u&&t(u).hasClass(n.CAROUSEL)&&(e=t.extend({},t(u).data(),t(this).data()),f=this.getAttribute("data-slide-to"),f&&(e.interval=!1),a._jQueryInterface.call(t(u),e),f&&t(u).data(c).to(f),r.preventDefault()))},u(a,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return l}}]),a}();return t(document).on(f.CLICK_DATA_API,e.DATA_SLIDE,h._dataApiClickHandler),t(window).on(f.LOAD_DATA_API,function(){t(e.DATA_RIDE).each(function(){var n=t(this);h._jQueryInterface.call(n,n.data())})}),t.fn[s]=h._jQueryInterface,t.fn[s].Constructor=h,t.fn[s].noConflict=function(){return t.fn[s]=a,h._jQueryInterface},h}(),ur=function(){var r="collapse",f="bs.collapse",l=t.fn[r],s={toggle:!0,parent:""},a={toggle:"boolean",parent:"(string|element)"},e={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},n={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},h={WIDTH:"width",HEIGHT:"height"},c={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},o=function(){function l(n,r){var f,u,e,o;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(r),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]')),f=t(c.DATA_TOGGLE),u=0;u<f.length;u++)e=f[u],o=i.getSelectorFromElement(e),null!==o&&t(o).filter(n).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=l.prototype;return o.toggle=function(){t(this._element).hasClass(n.SHOW)?this.hide():this.show()},o.show=function(){var o=this,r,s,h,u,a,v;this._isTransitioning||t(this._element).hasClass(n.SHOW)||(this._parent&&((r=t.makeArray(t(this._parent).children().children(c.ACTIVES))).length||(r=null)),r&&(s=t(r).data(f))&&s._isTransitioning)||(h=t.Event(e.SHOW),(t(this._element).trigger(h),h.isDefaultPrevented())||(r&&(l._jQueryInterface.call(t(r),"hide"),s||t(r).data(f,null)),u=this._getDimension(),t(this._element).removeClass(n.COLLAPSE).addClass(n.COLLAPSING),this._element.style[u]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(n.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0),a=function(){t(o._element).removeClass(n.COLLAPSING).addClass(n.COLLAPSE).addClass(n.SHOW);o._element.style[u]="";o.setTransitioning(!1);t(o._element).trigger(e.SHOWN)},i.supportsTransitionEnd()?(v="scroll"+(u[0].toUpperCase()+u.slice(1)),t(this._element).one(i.TRANSITION_END,a).emulateTransitionEnd(600),this._element.style[u]=this._element[v]+"px"):a()))},o.hide=function(){var c=this,f,r,u,o,s,h;if(!this._isTransitioning&&t(this._element).hasClass(n.SHOW)&&(f=t.Event(e.HIDE),t(this._element).trigger(f),!f.isDefaultPrevented())){if(r=this._getDimension(),this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",i.reflow(this._element),t(this._element).addClass(n.COLLAPSING).removeClass(n.COLLAPSE).removeClass(n.SHOW),this._triggerArray.length)for(u=0;u<this._triggerArray.length;u++)o=this._triggerArray[u],s=i.getSelectorFromElement(o),null!==s&&(t(s).hasClass(n.SHOW)||t(o).addClass(n.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);h=function(){c.setTransitioning(!1);t(c._element).removeClass(n.COLLAPSING).addClass(n.COLLAPSE).trigger(e.HIDDEN)};this._element.style[r]="";i.supportsTransitionEnd()?t(this._element).one(i.TRANSITION_END,h).emulateTransitionEnd(600):h()}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){t.removeData(this._element,f);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=t.extend({},s,n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(r,n,a),n},o._getDimension=function(){return t(this._element).hasClass(h.WIDTH)?h.WIDTH:h.HEIGHT},o._getParent=function(){var u=this,n=null,r;return i.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=t(this._config.parent)[0],r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',t(n).find(r).each(function(n,t){u._addAriaAndCollapsedClass(l._getTargetFromElement(t),[t])}),n},o._addAriaAndCollapsedClass=function(i,r){if(i){var u=t(i).hasClass(n.SHOW);r.length&&t(r).toggleClass(n.COLLAPSED,!u).attr("aria-expanded",u)}},l._getTargetFromElement=function(n){var r=i.getSelectorFromElement(n);return r?t(r)[0]:null},l._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data(f),u=t.extend({},s,r.data(),"object"==typeof n&&n);if(!i&&u.toggle&&/show|hide/.test(n)&&(u.toggle=!1),i||(i=new l(this,u),r.data(f,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return s}}]),l}();return t(document).on(e.CLICK_DATA_API,c.DATA_TOGGLE,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this);t(u).each(function(){var n=t(this),i=n.data(f)?"toggle":r.data();o._jQueryInterface.call(n,i)})}),t.fn[r]=o._jQueryInterface,t.fn[r].Constructor=o,t.fn[r].noConflict=function(){return t.fn[r]=l,o._jQueryInterface},o}(),fr=["native code","[object MutationObserverConstructor]"],ii="undefined"!=typeof window,ri=["Edge","Trident","Firefox"],ui=0,rt=0;rt<ri.length;rt+=1)if(ii&&navigator.userAgent.indexOf(ri[rt])>=0){ui=1;break}var er=ii&&function(n){return fr.some(function(t){return(n||"").toString().indexOf(t)>-1})}(window.MutationObserver)?function(n){var t=!1,i=0,r=document.createElement("span");return new MutationObserver(function(){n();t=!1}).observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",i),i+=1)}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ui))}},ut=void 0,y=function(){return void 0===ut&&(ut=-1!==navigator.appVersion.indexOf("MSIE 10")),ut},or=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},sr=function(){function n(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)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),p=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},r=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},fi=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ft=fi.slice(3),et={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},hr={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var u=n.placement,c=u.split("-")[0],f=u.split("-")[1];if(f){var e=n.offsets,i=e.reference,o=e.popper,s=-1!==["bottom","top"].indexOf(c),t=s?"left":"top",h=s?"width":"height",l={start:p({},t,i[t]),end:p({},t,i[t]+i[h]-o[h])};n.offsets.popper=r({},o,l[f])}return n}},offset:{order:200,enabled:!0,fn:function(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=tt(+f)?[+f,0]:gi(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(n,t){var f=t.boundariesElement||s(n.instance.popper),u;n.instance.reference===f&&(f=s(f));u=nt(n.instance.popper,n.instance.reference,t.padding,f);t.boundaries=u;var e=t.priority,i=n.offsets.popper,o={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),p({},n,r)},secondary:function(n){var r="right"===n?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-("right"===n?i.width:i.height))),p({},r,f)}};return e.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=r({},i,o[t](n))}),n.offsets.popper=i,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,t){var r;if(!ni(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,s=v.popper,u=v.reference,h=-1!==["left","right"].indexOf(p),l=h?"height":"width",y=h?"Top":"Left",i=y.toLowerCase(),w=h?"left":"top",c=h?"bottom":"right",e=pt(r)[l];u[c]-e<s[i]&&(n.offsets.popper[i]-=s[i]-(u[c]-e));u[i]+e>s[c]&&(n.offsets.popper[i]+=u[i]+e-s[c]);var b=u[i]+u[l]/2-e/2,k=o(n.instance.popper,"margin"+y).replace("px",""),a=b-f(n.offsets.popper)[i]-k;return a=Math.max(Math.min(s[l]-e,a),0),n.arrowElement=r,n.offsets.arrow={},n.offsets.arrow[i]=Math.round(a),n.offsets.arrow[w]="",n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(kt(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=nt(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement),i=n.placement.split("-")[0],o=v(i),u=n.placement.split("-")[1]||"",f=[];switch(t.behavior){case et.FLIP:f=[i,o];break;case et.CLOCKWISE:f=ti(i);break;case et.COUNTERCLOCKWISE:f=ti(i,!0);break;default:f=t.behavior}return f.forEach(function(s,h){if(i!==s||f.length===h+1)return n;i=n.placement.split("-")[0];o=v(i);var l=n.offsets.popper,a=n.offsets.reference,c=Math.floor,p="left"===i&&c(l.right)>c(a.left)||"right"===i&&c(l.left)<c(a.right)||"top"===i&&c(l.bottom)>c(a.top)||"bottom"===i&&c(l.top)<c(a.bottom),w=c(l.left)<c(e.left),b=c(l.right)>c(e.right),k=c(l.top)<c(e.top),d=c(l.bottom)>c(e.bottom),g="left"===i&&w||"right"===i&&b||"top"===i&&k||"bottom"===i&&d,y=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(y&&"start"===u&&w||y&&"end"===u&&b||!y&&"start"===u&&k||!y&&"end"===u&&d);(p||g||nt)&&(n.flipped=!0,(p||g)&&(i=f[h+1]),nt&&(u=ki(u)),n.placement=i+(u?"-"+u:""),n.offsets.popper=r({},n.offsets.popper,wt(n.instance.popper,n.offsets.reference,n.placement)),n=bt(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,o=u.reference,e=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return i[e?"left":"top"]=o[t]-(s?i[e?"width":"height"]:0),n.placement=v(r),n.offsets.popper=f(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!ni(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=l(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(n,t){var k=t.x,g=t.y,u=n.offsets.popper,h=l(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,p,w,b;void 0!==h&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var nt=void 0!==h?h:t.gpuAcceleration,v=d(s(n.instance.popper)),i={position:u.position},o={left:Math.floor(u.left),top:Math.floor(u.top),bottom:Math.floor(u.bottom),right:Math.floor(u.right)},f="bottom"===k?"top":"bottom",e="right"===g?"left":"right",y=dt("transform"),c=void 0,a=void 0;return(a="bottom"===f?-v.height+o.bottom:o.top,c="right"===e?-v.width+o.right:o.left,nt&&y)?(i[y]="translate3d("+c+"px, "+a+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(p="bottom"===f?-1:1,w="right"===e?-1:1,i[f]=a*p,i[e]=c*w,i.willChange=f+", "+e),b={"x-placement":n.placement},n.attributes=r({},b,n.attributes),n.styles=r({},i,n.styles),n.arrowStyles=r({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return it(n.instance.popper,n.styles),bi(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&it(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=yt(u,t,n),e=vt(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),it(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},e=function(){function n(t,i){var u=this,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e;or(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=er(this.update.bind(this));this.options=r({},n.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t.jquery?t[0]:t;this.popper=i.jquery?i[0]:i;this.options.modifiers={};Object.keys(r({},n.Defaults.modifiers,f.modifiers)).forEach(function(t){u.options.modifiers[t]=r({},n.Defaults.modifiers[t]||{},f.modifiers?f.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return r({name:n},u.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&st(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return sr(n,[{key:"update",value:function(){return li.call(this)}},{key:"destroy",value:function(){return ai.call(this)}},{key:"enableEventListeners",value:function(){return yi.call(this)}},{key:"disableEventListeners",value:function(){return wi.call(this)}}]),n}();e.Utils=("undefined"!=typeof window?window:global).PopperUtils;e.placements=fi;e.Defaults=hr;var cr=function(){if("undefined"==typeof e)throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");var s="dropdown",c="bs.dropdown",h="."+c,a=t.fn[s],v=new RegExp("38|40|27"),r={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,CLICK:"click"+h,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},n={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left"},f={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end"},y={offset:0,flip:!0},p={offset:"(number|string|function)",flip:"boolean"},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 i,c,u,s,h;this._element.disabled||t(this._element).hasClass(n.DISABLED)||(i=o._getParentFromElement(this._element),c=t(this._menu).hasClass(n.SHOW),(o._clearMenus(),c)||(u={relatedTarget:this._element},s=t.Event(r.SHOW,u),(t(i).trigger(s),s.isDefaultPrevented())||(h=this._element,t(i).hasClass(n.DROPUP)&&(t(this._menu).hasClass(n.MENULEFT)||t(this._menu).hasClass(n.MENURIGHT))&&(h=i),this._popper=new e(h,this._menu,this._getPopperConfig()),"ontouchstart"in document.documentElement&&!t(i).closest(f.NAVBAR_NAV).length&&t("body").children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(n.SHOW),t(i).toggleClass(n.SHOW).trigger(t.Event(r.SHOWN,u)))))},a.dispose=function(){t.removeData(this._element,c);t(this._element).off(h);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 n=this;t(this._element).on(r.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},a._getConfig=function(n){return n=t.extend({},this.constructor.Default,t(this._element).data(),n),i.typeCheckConfig(s,n,this.constructor.DefaultType),n},a._getMenuElement=function(){if(!this._menu){var n=o._getParentFromElement(this._element);this._menu=t(n).find(f.MENU)[0]}return this._menu},a._getPlacement=function(){var r=t(this._element).parent(),i=l.BOTTOM;return r.hasClass(n.DROPUP)?(i=l.TOP,t(this._menu).hasClass(n.MENURIGHT)&&(i=l.TOPEND)):t(this._menu).hasClass(n.MENURIGHT)&&(i=l.BOTTOMEND),i},a._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var r=this,n={},i;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=t.extend({},n.offsets,r._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,i={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip}}},this._inNavbar&&(i.modifiers.applyStyle={enabled:!this._inNavbar}),i},o._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(c),r="object"==typeof n?n:null;if(i||(i=new o(this,r),t(this).data(c,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},o._clearMenus=function(i){var e,u,v,h;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(e=t.makeArray(t(f.DATA_TOGGLE)),u=0;u<e.length;u++){var s=o._getParentFromElement(e[u]),l=t(e[u]).data(c),a={relatedTarget:e[u]};l&&(v=l._menu,!t(s).hasClass(n.SHOW)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(s,i.target)||(h=t.Event(r.HIDE,a),t(s).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t("body").children().off("mouseover",null,t.noop),e[u].setAttribute("aria-expanded","false"),t(v).removeClass(n.SHOW),t(s).removeClass(n.SHOW).trigger(t.Event(r.HIDDEN,a)))))}},o._getParentFromElement=function(n){var r,u=i.getSelectorFromElement(n);return u&&(r=t(u)[0]),r||n.parentNode},o._dataApiKeydownHandler=function(i){var e,s,u,r,h;!v.test(i.which)||/button/i.test(i.target.tagName)&&32===i.which||/input|textarea/i.test(i.target.tagName)||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(n.DISABLED))||(e=o._getParentFromElement(this),s=t(e).hasClass(n.SHOW),(s||27===i.which&&32===i.which)&&(!s||27!==i.which&&32!==i.which)?(u=t(e).find(f.VISIBLE_ITEMS).get(),u.length&&(r=u.indexOf(i.target),38===i.which&&r>0&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===i.which&&(h=t(e).find(f.DATA_TOGGLE)[0],t(h).trigger("focus")),t(this).trigger("click")))},u(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return y}},{key:"DefaultType",get:function(){return p}}]),o}();return t(document).on(r.KEYDOWN_DATA_API,f.DATA_TOGGLE,o._dataApiKeydownHandler).on(r.KEYDOWN_DATA_API,f.MENU,o._dataApiKeydownHandler).on(r.CLICK_DATA_API+" "+r.KEYUP_DATA_API,o._clearMenus).on(r.CLICK_DATA_API,f.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();o._jQueryInterface.call(t(this),"toggle")}).on(r.CLICK_DATA_API,f.FORM_CHILD,function(n){n.stopPropagation()}),t.fn[s]=o._jQueryInterface,t.fn[s].Constructor=o,t.fn[s].noConflict=function(){return t.fn[s]=a,o._jQueryInterface},o}(),lr=function(){var e="modal",h=".bs.modal",c=t.fn[e],s={backdrop:!0,keyboard:!0,focus:!0,show:!0},l={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},n={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},r={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},f={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"},o=function(){function c(n,i){this._config=this._getConfig(i);this._element=n;this._dialog=t(n).find(f.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._originalBodyPadding=0;this._scrollbarWidth=0}var o=c.prototype;return o.toggle=function(n){return this._isShown?this.hide():this.show(n)},o.show=function(u){var e=this,o;this._isTransitioning||this._isShown||(i.supportsTransitionEnd()&&t(this._element).hasClass(r.FADE)&&(this._isTransitioning=!0),o=t.Event(n.SHOW,{relatedTarget:u}),t(this._element).trigger(o),this._isShown||o.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),t(document.body).addClass(r.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(n.CLICK_DISMISS,f.DATA_DISMISS,function(n){return e.hide(n)}),t(this._dialog).on(n.MOUSEDOWN_DISMISS,function(){t(e._element).one(n.MOUSEUP_DISMISS,function(n){t(n.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(u)})))},o.hide=function(u){var o=this,f,e;(u&&u.preventDefault(),!this._isTransitioning&&this._isShown)&&(f=t.Event(n.HIDE),(t(this._element).trigger(f),this._isShown&&!f.isDefaultPrevented())&&(this._isShown=!1,e=i.supportsTransitionEnd()&&t(this._element).hasClass(r.FADE),e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(n.FOCUSIN),t(this._element).removeClass(r.SHOW),t(this._element).off(n.CLICK_DISMISS),t(this._dialog).off(n.MOUSEDOWN_DISMISS),e?t(this._element).one(i.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(300):this._hideModal()))},o.dispose=function(){t.removeData(this._element,"bs.modal");t(window,document,this._element,this._backdrop).off(h);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},o.handleUpdate=function(){this._adjustDialog()},o._getConfig=function(n){return n=t.extend({},s,n),i.typeCheckConfig(e,n,l),n},o._showElement=function(u){var f=this,o=i.supportsTransitionEnd()&&t(this._element).hasClass(r.FADE),s,e;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;o&&i.reflow(this._element);t(this._element).addClass(r.SHOW);this._config.focus&&this._enforceFocus();s=t.Event(n.SHOWN,{relatedTarget:u});e=function(){f._config.focus&&f._element.focus();f._isTransitioning=!1;t(f._element).trigger(s)};o?t(this._dialog).one(i.TRANSITION_END,e).emulateTransitionEnd(300):e()},o._enforceFocus=function(){var i=this;t(document).off(n.FOCUSIN).on(n.FOCUSIN,function(n){document===n.target||i._element===n.target||t(i._element).has(n.target).length||i._element.focus()})},o._setEscapeEvent=function(){var i=this;this._isShown&&this._config.keyboard?t(this._element).on(n.KEYDOWN_DISMISS,function(n){27===n.which&&(n.preventDefault(),i.hide())}):this._isShown||t(this._element).off(n.KEYDOWN_DISMISS)},o._setResizeEvent=function(){var i=this;this._isShown?t(window).on(n.RESIZE,function(n){return i.handleUpdate(n)}):t(window).off(n.RESIZE)},o._hideModal=function(){var i=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(r.OPEN);i._resetAdjustments();i._resetScrollbar();t(i._element).trigger(n.HIDDEN)})},o._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},o._showBackdrop=function(u){var f=this,e=t(this._element).hasClass(r.FADE)?r.FADE:"",o,s;if(this._isShown&&this._config.backdrop){if(o=i.supportsTransitionEnd()&&e,this._backdrop=document.createElement("div"),this._backdrop.className=r.BACKDROP,e&&t(this._backdrop).addClass(e),t(this._backdrop).appendTo(document.body),t(this._element).on(n.CLICK_DISMISS,function(n){f._ignoreBackdropClick?f._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===f._config.backdrop?f._element.focus():f.hide())}),o&&i.reflow(this._backdrop),t(this._backdrop).addClass(r.SHOW),!u)return;if(!o)return void u();t(this._backdrop).one(i.TRANSITION_END,u).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(r.SHOW),s=function(){f._removeBackdrop();u&&u()},i.supportsTransitionEnd()&&t(this._element).hasClass(r.FADE)?t(this._backdrop).one(i.TRANSITION_END,s).emulateTransitionEnd(150):s()):u&&u()},o._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")},o._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},o._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},o._setScrollbar=function(){var n=this,i,r;this._isBodyOverflowing&&(t(f.FIXED_CONTENT).each(function(i,r){var u=t(r)[0].style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(f.STICKY_CONTENT).each(function(i,r){var u=t(r)[0].style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),t(f.NAVBAR_TOGGLER).each(function(i,r){var u=t(r)[0].style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=t("body").css("padding-right"),t("body").data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},o._resetScrollbar=function(){t(f.FIXED_CONTENT).each(function(n,i){var r=t(i).data("padding-right");"undefined"!=typeof r&&t(i).css("padding-right",r).removeData("padding-right")});t(f.STICKY_CONTENT+", "+f.NAVBAR_TOGGLER).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});var n=t("body").data("padding-right");"undefined"!=typeof n&&t("body").css("padding-right",n).removeData("padding-right")},o._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=r.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},c._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data("bs.modal"),u=t.extend({},c.Default,t(this).data(),"object"==typeof n&&n);if(r||(r=new c(this,u),t(this).data("bs.modal",r)),"string"==typeof n){if("undefined"==typeof r[n])throw new Error('No method named "'+n+'"');r[n](i)}else u.show&&r.show(i)})},u(c,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return s}}]),c}();return t(document).on(n.CLICK_DATA_API,f.DATA_TOGGLE,function(r){var u,f=this,e=i.getSelectorFromElement(this),s,h;e&&(u=t(e)[0]);s=t(u).data("bs.modal")?"toggle":t.extend({},t(u).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||r.preventDefault();h=t(u).one(n.SHOW,function(i){i.isDefaultPrevented()||h.one(n.HIDDEN,function(){t(f).is(":visible")&&f.focus()})});o._jQueryInterface.call(t(u),s,this)}),t.fn[e]=o._jQueryInterface,t.fn[e].Constructor=o,t.fn[e].noConflict=function(){return t.fn[e]=c,o._jQueryInterface},o}(),w=function(){if("undefined"==typeof e)throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)");var s="tooltip",n=".bs.tooltip",l=t.fn[s],a=new RegExp("(^|\\s)bs-tooltip\\S+","g"),v={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)"},y={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},p={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"},o={SHOW:"show",OUT:"out"},w={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},r={FADE:"fade",SHOW:"show"},c={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},f={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},h=function(){function l(n,t){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 h=l.prototype;return h.enable=function(){this._isEnabled=!0},h.disable=function(){this._isEnabled=!1},h.toggleEnabled=function(){this._isEnabled=!this._isEnabled},h.toggle=function(n){if(this._isEnabled)if(n){var u=this.constructor.DATA_KEY,i=t(n.currentTarget).data(u);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(u,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(r.SHOW))return void this._leave(null,this);this._enter(null,this)}},h.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal");this.tip&&t(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},h.show=function(){var n=this,f,v,u,s,y,h,p,a;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),v=t.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!v)return;u=this.getTipElement();s=i.getUID(this.constructor.NAME);u.setAttribute("id",s);this.element.setAttribute("aria-describedby",s);this.setContent();this.config.animation&&t(u).addClass(r.FADE);y="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;h=this._getAttachment(y);this.addAttachmentClass(h);p=!1===this.config.container?document.body:t(this.config.container);t(u).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(p);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new e(this.element,u,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:c.ARROW}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}});t(u).addClass(r.SHOW);"ontouchstart"in document.documentElement&&t("body").children().on("mouseover",null,t.noop);a=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===o.OUT&&n._leave(null,n)};i.supportsTransitionEnd()&&t(this.tip).hasClass(r.FADE)?t(this.tip).one(i.TRANSITION_END,a).emulateTransitionEnd(l._TRANSITION_DURATION):a()}},h.hide=function(n){var u=this,e=this.getTipElement(),s=t.Event(this.constructor.Event.HIDE),h=function(){u._hoverState!==o.SHOW&&e.parentNode&&e.parentNode.removeChild(e);u._cleanTipClass();u.element.removeAttribute("aria-describedby");t(u.element).trigger(u.constructor.Event.HIDDEN);null!==u._popper&&u._popper.destroy();n&&n()};t(this.element).trigger(s);s.isDefaultPrevented()||(t(e).removeClass(r.SHOW),"ontouchstart"in document.documentElement&&t("body").children().off("mouseover",null,t.noop),this._activeTrigger[f.CLICK]=!1,this._activeTrigger[f.FOCUS]=!1,this._activeTrigger[f.HOVER]=!1,i.supportsTransitionEnd()&&t(this.tip).hasClass(r.FADE)?t(e).one(i.TRANSITION_END,h).emulateTransitionEnd(150):h(),this._hoverState="")},h.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},h.isWithContent=function(){return Boolean(this.getTitle())},h.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-tooltip-"+n)},h.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},h.setContent=function(){var n=t(this.getTipElement());this.setElementContent(n.find(c.TOOLTIP_INNER),this.getTitle());n.removeClass(r.FADE+" "+r.SHOW)},h.setElementContent=function(n,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text()):n[r?"html":"text"](i)},h.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},h._getAttachment=function(n){return y[n.toUpperCase()]},h._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==f.MANUAL){var r=i===f.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===f.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}t(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},h._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",""))},h._enter=function(n,i){var u=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(u))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(u,i));n&&(i._activeTrigger["focusin"===n.type?f.FOCUS:f.HOVER]=!0);t(i.getTipElement()).hasClass(r.SHOW)||i._hoverState===o.SHOW?i._hoverState=o.SHOW:(clearTimeout(i._timeout),i._hoverState=o.SHOW,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===o.SHOW&&i.show()},i.config.delay.show):i.show())},h._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?f.FOCUS:f.HOVER]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=o.OUT,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===o.OUT&&i.hide()},i.config.delay.hide):i.hide())},h._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},h._getConfig=function(n){return"number"==typeof(n=t.extend({},this.constructor.Default,t(this.element).data(),n)).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),i.typeCheckConfig(s,n,this.constructor.DefaultType),n},h._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},h._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(a);null!==n&&n.length>0&&i.removeClass(n.join(""))},h._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},h._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass(r.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},l._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new l(this,r),t(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(l,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return p}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return w}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return v}}]),l}();return t.fn[s]=h._jQueryInterface,t.fn[s].Constructor=h,t.fn[s].noConflict=function(){return t.fn[s]=l,h._jQueryInterface},h}(),ar=function(){var i="popover",n=".bs.popover",o=t.fn[i],s=new RegExp("(^|\\s)bs-popover\\S+","g"),h=t.extend({},w.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>'}),c=t.extend({},w.DefaultType,{content:"(string|element|function)"}),f={FADE:"fade",SHOW:"show"},e={TITLE:".popover-header",CONTENT:".popover-body"},l={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},r=function(r){function o(){return r.apply(this,arguments)||this}nr(o,r);var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(n){t(this.getTipElement()).addClass("bs-popover-"+n)},a.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},a.setContent=function(){var n=t(this.getTipElement());this.setElementContent(n.find(e.TITLE),this.getTitle());this.setElementContent(n.find(e.CONTENT),this._getContent());n.removeClass(f.FADE+" "+f.SHOW)},a._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},a._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(s);null!==n&&n.length>0&&i.removeClass(n.join(""))},o._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.popover"),r="object"==typeof n?n:null;if((i||!/destroy|hide/.test(n))&&(i||(i=new o(this,r),t(this).data("bs.popover",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(o,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return l}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return c}}]),o}(w);return t.fn[i]=r._jQueryInterface,t.fn[i].Constructor=r,t.fn[i].noConflict=function(){return t.fn[i]=o,r._jQueryInterface},r}(),vr=function(){var r="scrollspy",c=t.fn[r],h={offset:10,method:"auto",target:""},l={offset:"number",method:"string",target:"(string|element)"},o={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},f={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},n={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"},s={OFFSET:"offset",POSITION:"position"},e=function(){function c(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+" "+n.NAV_LINKS+","+this._config.target+" "+n.LIST_ITEMS+","+this._config.target+" "+n.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(o.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var e=c.prototype;return e.refresh=function(){var n=this,u=this._scrollElement!==this._scrollElement.window?s.POSITION:s.OFFSET,r="auto"===this._config.method?u:this._config.method,f=r===s.POSITION?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();t.makeArray(t(this._selector)).map(function(n){var u,e=i.getSelectorFromElement(n),o;return(e&&(u=t(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[r]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},e.dispose=function(){t.removeData(this._element,"bs.scrollspy");t(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},e._getConfig=function(n){if("string"!=typeof(n=t.extend({},h,n)).target){var u=t(n.target).attr("id");u||(u=i.getUID(r),t(n.target).attr("id",u));n.target="#"+u}return i.typeCheckConfig(r,n,l),n},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._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])}},e._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=t(u.join(","));r.hasClass(f.DROPDOWN_ITEM)?(r.closest(n.DROPDOWN).find(n.DROPDOWN_TOGGLE).addClass(f.ACTIVE),r.addClass(f.ACTIVE)):(r.addClass(f.ACTIVE),r.parents(n.NAV_LIST_GROUP).prev(n.NAV_LINKS+", "+n.LIST_ITEMS).addClass(f.ACTIVE),r.parents(n.NAV_LIST_GROUP).prev(n.NAV_ITEMS).children(n.NAV_LINKS).addClass(f.ACTIVE));t(this._scrollElement).trigger(o.ACTIVATE,{relatedTarget:i})},e._clear=function(){t(this._selector).filter(n.ACTIVE).removeClass(f.ACTIVE)},c._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.scrollspy"),r="object"==typeof n&&n;if(i||(i=new c(this,r),t(this).data("bs.scrollspy",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(c,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}},{key:"Default",get:function(){return h}}]),c}();return t(window).on(o.LOAD_DATA_API,function(){for(var u,i=t.makeArray(t(n.DATA_SPY)),r=i.length;r--;)u=t(i[r]),e._jQueryInterface.call(u,u.data())}),t.fn[r]=e._jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=function(){return t.fn[r]=c,e._jQueryInterface},e}(),yr=function(){var o=t.fn.tab,f={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},n={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},r={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},e=function(){function e(n){this._element=n}var o=e.prototype;return o.show=function(){var a=this,o,u,e,s,v,h,c,l;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(n.ACTIVE)||t(this._element).hasClass(n.DISABLED)||(e=t(this._element).closest(r.NAV_LIST_GROUP)[0],s=i.getSelectorFromElement(this._element),e&&(v="UL"===e.nodeName?r.ACTIVE_UL:r.ACTIVE,u=t.makeArray(t(e).find(v)),u=u[u.length-1]),h=t.Event(f.HIDE,{relatedTarget:this._element}),c=t.Event(f.SHOW,{relatedTarget:u}),(u&&t(u).trigger(h),t(this._element).trigger(c),c.isDefaultPrevented()||h.isDefaultPrevented())||(s&&(o=t(s)[0]),this._activate(this._element,e),l=function(){var n=t.Event(f.HIDDEN,{relatedTarget:a._element}),i=t.Event(f.SHOWN,{relatedTarget:u});t(u).trigger(n);t(a._element).trigger(i)},o?this._activate(o,o.parentNode,l):l()))},o.dispose=function(){t.removeData(this._element,"bs.tab");this._element=null},o._activate=function(u,f,e){var c,l=this,o=(c="UL"===f.nodeName?t(f).find(r.ACTIVE_UL):t(f).children(r.ACTIVE))[0],s=e&&i.supportsTransitionEnd()&&o&&t(o).hasClass(n.FADE),h=function(){return l._transitionComplete(u,o,s,e)};o&&s?t(o).one(i.TRANSITION_END,h).emulateTransitionEnd(150):h();o&&t(o).removeClass(n.SHOW)},o._transitionComplete=function(u,f,e,o){var s,h;f&&(t(f).removeClass(n.ACTIVE),s=t(f.parentNode).find(r.DROPDOWN_ACTIVE_CHILD)[0],s&&t(s).removeClass(n.ACTIVE),"tab"===f.getAttribute("role")&&f.setAttribute("aria-selected",!1));(t(u).addClass(n.ACTIVE),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!0),e?(i.reflow(u),t(u).addClass(n.SHOW)):t(u).removeClass(n.FADE),u.parentNode&&t(u.parentNode).hasClass(n.DROPDOWN_MENU))&&(h=t(u).closest(r.DROPDOWN)[0],h&&t(h).find(r.DROPDOWN_TOGGLE).addClass(n.ACTIVE),u.setAttribute("aria-expanded",!0));o&&o()},e._jQueryInterface=function(n){return this.each(function(){var r=t(this),i=r.data("bs.tab");if(i||(i=new e(this),r.data("bs.tab",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new Error('No method named "'+n+'"');i[n]()}})},u(e,null,[{key:"VERSION",get:function(){return"4.0.0-beta.2"}}]),e}();return t(document).on(f.CLICK_DATA_API,r.DATA_TOGGLE,function(n){n.preventDefault();e._jQueryInterface.call(t(this),"show")}),t.fn.tab=e._jQueryInterface,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=o,e._jQueryInterface},e}();return function(){if("undefined"==typeof t)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}(),n.Util=i,n.Alert=tr,n.Button=ir,n.Carousel=rr,n.Collapse=ur,n.Dropdown=cr,n.Modal=lr,n.Popover=ar,n.Scrollspy=vr,n.Tab=yr,n.Tooltip=w,n}({},$)