!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(n.bootstrap={},n.jQuery)}(this,function(n,t){"use strict";function st(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&&st(n.prototype,t),i&&st(n,i),n}function r(){return(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}).apply(this,arguments)}function ht(n){return n&&"[object Function]"==={}.toString.call(n)}function s(n,t){if(1!==n.nodeType)return[];var i=getComputedStyle(n,null);return t?i[t]:i}function k(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function a(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=s(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll)/.test(i+u+r)?n:a(k(n))}function h(n){var t=n&&n.offsetParent,i=t&&t.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===s(t,"position")?h(t):t:n?n.ownerDocument.documentElement:document.documentElement}function d(n){return null!==n.parentNode?d(n.parentNode):n}function y(n,t){var i,u;if(!(n&&n.nodeType&&t&&t.nodeType))return 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))?function(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||h(n.firstElementChild)===n)}(i)?i:h(i):(u=d(n),u.host?y(u.host,t):y(n,d(t).host))}function c(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=n.ownerDocument.documentElement,(n.ownerDocument.scrollingElement||r)[t]):n[t]}function ct(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function lt(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],w()?i["offset"+n]+r["margin"+("Height"===n?"Top":"Left")]+r["margin"+("Height"===n?"Bottom":"Right")]:0)}function at(){var t=document.body,n=document.documentElement,i=w()&&getComputedStyle(n);return{height:lt("Height",t,n,i),width:lt("Width",t,n,i)}}function e(n){return u({},n,{right:n.left+n.width,bottom:n.top+n.height})}function g(n){var t={},r,u,h;if(w())try{t=n.getBoundingClientRect();r=c(n,"top");u=c(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?at():{},a=l.width||n.clientWidth||i.right-i.left,v=l.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-a,o=n.offsetHeight-v;return(f||o)&&(h=s(n),f-=ct(h,"x"),o-=ct(h,"y"),i.width-=f,i.height-=o),e(i)}function nt(n,t){var y=w(),b="HTML"===t.nodeName,r=g(n),p=g(t),h=a(n),u=s(t),l=parseFloat(u.borderTopWidth,10),v=parseFloat(u.borderLeftWidth,10),i=e({top:r.top-p.top-l,left:r.left-p.left-v,width:r.width,height:r.height}),f,o;return(i.marginTop=0,i.marginLeft=0,!y&&b)&&(f=parseFloat(u.marginTop,10),o=parseFloat(u.marginLeft,10),i.top-=l-f,i.bottom-=l-f,i.left-=v-o,i.right-=v-o,i.marginTop=f,i.marginLeft=o),(y?t.contains(h):t===h&&"BODY"!==h.nodeName)&&(i=function(n,t){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=c(t,"top"),u=c(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}(i,t)),i}function vt(n){var t=n.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===s(n,"position")||vt(k(n)))}function tt(n,t,i,r){var u={top:0,left:0},s=y(n,t),o,f;if("viewport"===r)u=function(n){var t=n.ownerDocument.documentElement,i=nt(n,t),r=Math.max(t.clientWidth,window.innerWidth||0),u=Math.max(t.clientHeight,window.innerHeight||0),f=c(t),o=c(t,"left");return e({top:f-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:r,height:u})}(s);else if(o=void 0,"scrollParent"===r?"BODY"===(o=a(k(t))).nodeName&&(o=n.ownerDocument.documentElement):o="window"===r?n.ownerDocument.documentElement:r,f=nt(o,s),"HTML"!==o.nodeName||vt(s))u=f;else{var h=at(),l=h.height,v=h.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=v+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function yt(n,t,i,r,f){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var e=tt(i,r,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 u({key:n},o[n],{area:function(n){return n.width*n.height}(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 pt(n,t,i){return nt(i,y(t,i))}function wt(n){var t=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 p(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 bt(n,t,i){i=i.split("-")[0];var r=wt(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[p(f)],e}function v(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function kt(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=v(n,function(n){return n[t]===i});return n.indexOf(r)}(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&&ht(i)&&(t.offsets.popper=e(t.offsets.popper),t.offsets.reference=e(t.offsets.reference),t=i(t,n))}),t}function dt(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function gt(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 document.body.style[r])return r;return null}function ni(n){var t=n.ownerDocument;return t?t.defaultView:window}function ti(n,t,i,r){var f="BODY"===n.nodeName,u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||ti(a(u.parentNode),t,i,r);r.push(u)}function si(){this.state.eventsEnabled||(this.state=function(n,t,i,r){i.updateBound=r;ni(n).addEventListener("resize",i.updateBound,{passive:!0});var u=a(n);return ti(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}(this.reference,this.options,this.state,this.scheduleUpdate))}function hi(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(n,t){return ni(n).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}(this.reference,this.state))}function it(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function rt(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&it(t[i])&&(r="px");n.style[i]=t[i]+r})}function ii(n,t,i){var u=v(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 ri(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=et.indexOf(n),i=et.slice(t+1).concat(et.slice(0,t));return r?i.reverse():i}function ci(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(v(u,function(n){return-1!==n.search(/,|\s/)})),o,s;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,s=-1!==f?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],(s=s.map(function(n,r){var f=(1===r?!c:c)?"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 function(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+s[1],u=s[2],o;if(!f)return n;if(0===u.indexOf("%")){o=void 0;switch(u){case"%p":o=i;break;case"%":case"%r":default:o=r}return e(o)[t]/100*f}return"vh"===u||"vw"===u?("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f:f}(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){it(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}for(var i=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){for(var 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=t&&t.hasOwnProperty("default")?t.default:t),li=function(n){var r="alert",u="bs.alert",e="."+u,s=n.fn[r],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 r=t.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(){n.removeData(this._element,u);this._element=null},r._getRootElement=function(t){var u=i.getSelectorFromElement(t),r=!1;return u&&(r=n(u)[0]),r||(r=n(t).closest("."+h)[0]),r},r._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},r._removeElement=function(t){var r=this;n(t).removeClass(l);i.supportsTransitionEnd()&&n(t).hasClass(c)?n(t).one(i.TRANSITION_END,function(n){return r._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},r._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[r]=t._jQueryInterface,n.fn[r].Constructor=t,n.fn[r].noConflict=function(){return n.fn[r]=s,t._jQueryInterface},t}(t),ai=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),vi=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",u={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]&&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(t){var f=this,i,r;if(this._activeElement=n(this._element).find(e.ACTIVE_ITEM)[0],i=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(u.SLID,function(){return f.to(t)});else{if(i===t)return this.pause(),void this.cycle();r=t>i?l:a;this._slide(r,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=r({},v,n),i.typeCheckConfig(s,n,p),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(u.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(u.MOUSEENTER,function(n){return t.pause(n)}).on(u.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(u.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,i){var f=this._getItemIndex(t),o=this._getItemIndex(n(this._element).find(e.ACTIVE_ITEM)[0]),r=n.Event(u.SLIDE,{relatedTarget:t,direction:i,from:o,to:f});return n(this._element).trigger(r),r},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,r){var h,c,a,y=this,s=n(this._element).find(e.ACTIVE_ITEM)[0],k=this._getItemIndex(s),f=r||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(u.SLID,{relatedTarget:f,direction:a,from:k,to:rt}),i.supportsTransitionEnd()&&n(this._element).hasClass(d)?(n(f).addClass(c),i.reflow(f),n(s).addClass(h),n(f).addClass(h),n(s).one(i.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),u=r({},v,n(this).data()),f;if("object"==typeof t&&(u=r({},u,t)),f="string"==typeof t?t:u.slide,i||(i=new y(this,u),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 u.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=i.getSelectorFromElement(this),u,e,f;o&&(u=n(o)[0],u&&n(u).hasClass(k)&&(e=r({},n(u).data(),n(this).data()),f=this.getAttribute("data-slide-to"),f&&(e.interval=!1),y._jQueryInterface.call(n(u),e),f&&n(u).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(u.CLICK_DATA_API,e.DATA_SLIDE,h._dataApiClickHandler),n(window).on(u.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),yi=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"},u="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,r){var f,u,e,o;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(r),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=i.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(u)?this.hide():this.show()},o.show=function(){var e=this,r,o,a,f,p,w;this._isTransitioning||n(this._element).hasClass(u)||(this._parent&&((r=n.makeArray(n(this._parent).children().children(y.ACTIVES))).length||(r=null)),r&&(o=n(r).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(r&&(h._jQueryInterface.call(n(r),"hide"),o||n(r).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(u);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},i.supportsTransitionEnd()?(w="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(i.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[f]=this._element[w]+"px"):p()))},o.hide=function(){var a=this,f,t,r,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(u)&&(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",i.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(u),this._triggerArray.length)for(r=0;r<this._triggerArray.length;r++)e=this._triggerArray[r],o=i.getSelectorFromElement(e),null!==o&&(n(o).hasClass(u)||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]="";i.supportsTransitionEnd()?n(this._element).one(i.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=r({},a,n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(e,n,b),n},o._getDimension=function(){return n(this._element).hasClass(p)?p:k},o._getParent=function(){var u=this,t=null,r;return i.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],r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n(t).find(r).each(function(n,t){u._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},o._addAriaAndCollapsedClass=function(t,i){if(t){var r=n(t).hasClass(u);i.length&&n(i).toggleClass(v,!r).attr("aria-expanded",r)}},h._getTargetFromElement=function(t){var r=i.getSelectorFromElement(t);return r?n(r)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var f=n(this),u=f.data(t),e=r({},a,f.data(),"object"==typeof i&&i);if(!u&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),u||(u=new h(this,e),f.data(t,u)),"string"==typeof i){if("undefined"==typeof u[i])throw new Error('No method named "'+i+'"');u[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(r){"A"===r.currentTarget.tagName&&r.preventDefault();var u=n(this),f=i.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),ui="undefined"!=typeof window&&"undefined"!=typeof document,fi=["Edge","Trident","Firefox"],ei=0,ut=0;ut<fi.length;ut+=1)if(ui&&navigator.userAgent.indexOf(fi[ut])>=0){ei=1;break}var pi=ui&&window.Promise?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ei))}},ft=void 0,w=function(){return void 0===ft&&(ft=-1!==navigator.appVersion.indexOf("MSIE 10")),ft},wi=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},bi=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}}(),l=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},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},oi=["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"],et=oi.slice(3),ot={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ki={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var r=n.placement,c=r.split("-")[0],f=r.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",a={start:l({},t,i[t]),end:l({},t,i[t]+i[h]-o[h])};n.offsets.popper=u({},o,a[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=it(+f)?[+f,0]:ci(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||h(n.instance.popper),r;n.instance.reference===f&&(f=h(f));r=tt(n.instance.popper,n.instance.reference,t.padding,f);t.boundaries=r;var e=t.priority,i=n.offsets.popper,o={primary:function(n){var u=i[n];return i[n]<r[n]&&!t.escapeWithReference&&(u=Math.max(i[n],r[n])),l({},n,u)},secondary:function(n){var u="right"===n?"left":"top",f=i[u];return i[n]>r[n]&&!t.escapeWithReference&&(f=Math.min(i[u],r[n]-("right"===n?i.width:i.height))),l({},u,f)}};return e.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=u({},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 h,r;if(!ii(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 k=n.placement.split("-")[0],w=n.offsets,o=w.popper,u=w.reference,c=-1!==["left","right"].indexOf(k),v=c?"height":"width",y=c?"Top":"Left",i=y.toLowerCase(),d=c?"left":"top",a=c?"bottom":"right",f=wt(r)[v];u[a]-f<o[i]&&(n.offsets.popper[i]-=o[i]-(u[a]-f));u[i]+f>o[a]&&(n.offsets.popper[i]+=u[i]+f-o[a]);n.offsets.popper=e(n.offsets.popper);var g=u[i]+u[v]/2-f/2,b=s(n.instance.popper),nt=parseFloat(b["margin"+y],10),tt=parseFloat(b["border"+y+"Width"],10),p=g-n.offsets.popper[i]-nt-tt;return p=Math.max(Math.min(o[v]-f,p),0),n.arrowElement=r,n.offsets.arrow=(h={},l(h,i,Math.round(p)),l(h,d,""),h),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(dt(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=tt(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement),i=n.placement.split("-")[0],o=p(i),r=n.placement.split("-")[1]||"",f=[];switch(t.behavior){case ot.FLIP:f=[i,o];break;case ot.CLOCKWISE:f=ri(i);break;case ot.COUNTERCLOCKWISE:f=ri(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=p(i);var l=n.offsets.popper,a=n.offsets.reference,c=Math.floor,y="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,v=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(v&&"start"===r&&w||v&&"end"===r&&b||!v&&"start"===r&&k||!v&&"end"===r&&d);(y||g||nt)&&(n.flipped=!0,(y||g)&&(i=f[h+1]),nt&&(r=function(n){return"end"===n?"start":"start"===n?"end":n}(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=u({},n.offsets.popper,bt(n.instance.popper,n.offsets.reference,n.placement)),n=kt(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,f=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=o[t]-(s?i[f?"width":"height"]:0),n.placement=p(r),n.offsets.popper=e(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!ii(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=v(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,d=t.y,r=n.offsets.popper,s=v(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,p,w,b;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var nt=void 0!==s?s:t.gpuAcceleration,a=g(h(n.instance.popper)),i={position:r.position},o={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)},f="bottom"===k?"top":"bottom",e="right"===d?"left":"right",y=gt("transform"),c=void 0,l=void 0;return(l="bottom"===f?-a.height+o.bottom:o.top,c="right"===e?-a.width+o.right:o.left,nt&&y)?(i[y]="translate3d("+c+"px, "+l+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(p="bottom"===f?-1:1,w="right"===e?-1:1,i[f]=l*p,i[e]=c*w,i.willChange=f+", "+e),b={"x-placement":n.placement},n.attributes=u({},b,n.attributes),n.styles=u({},i,n.styles),n.arrowStyles=u({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return rt(n.instance.popper,n.styles),function(n,t){Object.keys(t).forEach(function(i){!1!==t[i]?n.setAttribute(i,t[i]):n.removeAttribute(i)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&rt(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i){var r=pt(0,t,n),u=yt(i.placement,r,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",u),rt(t,{position:"absolute"}),i},gpuAcceleration:void 0}}},o=function(){function n(t,i){var r=this,f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e;wi(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=pi(this.update.bind(this));this.options=u({},n.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(u({},n.Defaults.modifiers,f.modifiers)).forEach(function(t){r.options.modifiers[t]=u({},n.Defaults.modifiers[t]||{},f.modifiers?f.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return u({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ht(n.onLoad)&&n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return bi(n,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=pt(this.state,this.popper,this.reference);n.placement=yt(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=bt(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=kt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,dt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[gt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return si.call(this)}},{key:"disableEventListeners",value:function(){return hi.call(this)}}]),n}();o.Utils=("undefined"!=typeof window?window:global).PopperUtils;o.placements=oi;o.Defaults=ki;var di=function(n){var h="dropdown",c="bs.dropdown",u="."+c,w=n.fn[h],b=new RegExp("38|40|27"),t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,CLICK:"click"+u,CLICK_DATA_API:"click"+u+".data-api",KEYDOWN_DATA_API:"keydown"+u+".data-api",KEYUP_DATA_API:"keyup"+u+".data-api"},y="disabled",s="show",p="dropup",k="dropright",d="dropleft",a="dropdown-menu-right",g="dropdown-menu-left",nt="position-static",l='[data-toggle="dropdown"]',v=".dropdown-menu",tt=".navbar-nav",it=".dropdown-menu .dropdown-item:not(.disabled)",rt="top-start",ut="top-end",ft="bottom-start",et="bottom-end",ot="right-start",st="left-start",ht={offset:0,flip:!0,boundary:"scrollParent"},ct={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},e=function(){function e(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var w=e.prototype;return w.toggle=function(){var i,h,r,u,f;if(!this._element.disabled&&!n(this._element).hasClass(y)&&(i=e._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(e._clearMenus(),!h)&&(r={relatedTarget:this._element},u=n.Event(t.SHOW,r),n(i).trigger(u),!u.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof o)throw new Error("Bootstrap dropdown require Popper.js (https://popper.js.org)");f=this._element;n(i).hasClass(p)&&(n(this._menu).hasClass(g)||n(this._menu).hasClass(a))&&(f=i);"scrollParent"!==this._config.boundary&&n(i).addClass(nt);this._popper=new o(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!n(i).closest(tt).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(i).toggleClass(s).trigger(n.Event(t.SHOWN,r))}},w.dispose=function(){n.removeData(this._element,c);n(this._element).off(u);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},w.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},w._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},w._getConfig=function(t){return t=r({},this.constructor.Default,n(this._element).data(),t),i.typeCheckConfig(h,t,this.constructor.DefaultType),t},w._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);this._menu=n(t).find(v)[0]}return this._menu},w._getPlacement=function(){var i=n(this._element).parent(),t=ft;return i.hasClass(p)?(t=rt,n(this._menu).hasClass(a)&&(t=ut)):i.hasClass(k)?t=ot:i.hasClass(d)?t=st:n(this._menu).hasClass(a)&&(t=et),t},w._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},w._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=r({},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}}}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c);if(i||(i=new e(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]()}})},e._clearMenus=function(i){var u,r,v,o;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=e._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)||(o=n.Event(t.HIDE,a),n(f).trigger(o),o.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)))))}},e._getParentFromElement=function(t){var r,u=i.getSelectorFromElement(t);return u&&(r=n(u)[0]),r||t.parentNode},e._dataApiKeydownHandler=function(t){var u,f,r,i,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(v).length):!b.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||n(this).hasClass(y))||(u=e._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(it).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&&(o=n(u).find(l)[0],n(o).trigger("focus")),n(this).trigger("click")))},f(e,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return ht}},{key:"DefaultType",get:function(){return ct}}]),e}();return n(document).on(t.KEYDOWN_DATA_API,l,e._dataApiKeydownHandler).on(t.KEYDOWN_DATA_API,v,e._dataApiKeydownHandler).on(t.CLICK_DATA_API+" "+t.KEYUP_DATA_API,e._clearMenus).on(t.CLICK_DATA_API,l,function(t){t.preventDefault();t.stopPropagation();e._jQueryInterface.call(n(this),"toggle")}).on(t.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()}),n.fn[h]=e._jQueryInterface,n.fn[h].Constructor=e,n.fn[h].noConflict=function(){return n.fn[h]=w,e._jQueryInterface},e}(t),gi=function(n){var s="bs.modal",u="."+s,v=n.fn.modal,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},y={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,FOCUSIN:"focusin"+u,RESIZE:"resize"+u,CLICK_DISMISS:"click.dismiss"+u,KEYDOWN_DISMISS:"keydown.dismiss"+u,MOUSEUP_DISMISS:"mouseup.dismiss"+u,MOUSEDOWN_DISMISS:"mousedown.dismiss"+u,CLICK_DATA_API:"click.bs.modal.data-api"},p="modal-scrollbar-measure",w="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 v(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=v.prototype;return h.toggle=function(n){return this._isShown?this.hide():this.show(n)},h.show=function(r){var u=this,f;this._isTransitioning||this._isShown||(i.supportsTransitionEnd()&&n(this._element).hasClass(o)&&(this._isTransitioning=!0),f=n.Event(t.SHOW,{relatedTarget:r}),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(r)})))},h.hide=function(r){var e=this,u,f;(r&&r.preventDefault(),!this._isTransitioning&&this._isShown)&&(u=n.Event(t.HIDE),(n(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=i.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(i.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(u);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=r({},l,n),i.typeCheckConfig("modal",n,y),n},h._showElement=function(r){var u=this,e=i.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&&i.reflow(this._element);n(this._element).addClass(c);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:r});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;n(u._element).trigger(s)};e?n(this._dialog).one(i.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(r){var u=this,f=n(this._element).hasClass(o)?o:"",e,s;if(this._isShown&&this._config.backdrop){if(e=i.supportsTransitionEnd()&&f,this._backdrop=document.createElement("div"),this._backdrop.className=w,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&&i.reflow(this._backdrop),n(this._backdrop).addClass(c),!r)return;if(!e)return void r();n(this._backdrop).one(i.TRANSITION_END,r).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(c),s=function(){u._removeBackdrop();r&&r()},i.supportsTransitionEnd()&&n(this._element).hasClass(o)?n(this._backdrop).one(i.TRANSITION_END,s).emulateTransitionEnd(150):s()):r&&r()},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=p,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},v._jQueryInterface=function(t,i){return this.each(function(){var u=n(this).data(s),f=r({},v.Default,n(this).data(),"object"==typeof t&&t);if(u||(u=new v(this,f),n(this).data(s,u)),"string"==typeof t){if("undefined"==typeof u[t])throw new Error('No method named "'+t+'"');u[t](i)}else f.show&&u.show(i)})},f(v,null,[{key:"VERSION",get:function(){return"4.0.0-beta.3"}},{key:"Default",get:function(){return l}}]),v}();return n(document).on(t.CLICK_DATA_API,e.DATA_TOGGLE,function(u){var f,e=this,o=i.getSelectorFromElement(this),c,l;o&&(f=n(o)[0]);c=n(f).data(s)?"toggle":r({},n(f).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||u.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=v,h._jQueryInterface},h}(t),b=function(n){var u="tooltip",l="bs.tooltip",t="."+l,p=n.fn[u],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"},e="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 o)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,u,l,r,f,a,e,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(u=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(u),l=n.contains(this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!l)return;r=this.getTipElement();f=i.getUID(this.constructor.NAME);r.setAttribute("id",f);this.element.setAttribute("aria-describedby",f);this.setContent();this.config.animation&&n(r).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement;e=this._getAttachment(a);this.addAttachmentClass(e);y=!1===this.config.container?document.body:n(this.config.container);n(r).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(r).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new o(this.element,r,{placement:e,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(r).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)};i.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(i.TRANSITION_END,c).emulateTransitionEnd(p._TRANSITION_DURATION):c()}},a.hide=function(t){var r=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),o=function(){r._hoverState!==e&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");n(r.element).trigger(r.constructor.Event.HIDDEN);null!==r._popper&&r._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,i.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(i.TRANSITION_END,o).emulateTransitionEnd(150):o(),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=r({},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===e?i._hoverState=e:(clearTimeout(i._timeout),i._hoverState=e,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===e&&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=r({},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()),i.typeCheckConfig(u,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 u}},{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[u]=a._jQueryInterface,n.fn[u].Constructor=a,n.fn[u].noConflict=function(){return n.fn[u]=p,a._jQueryInterface},a}(t),nr=function(n){var i="popover",u="bs.popover",t="."+u,o=n.fn[i],s=new RegExp("(^|\\s)bs-popover\\S+","g"),h=r({},b.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=r({},b.DefaultType,{content:"(string|element|function)"}),l="fade",a="show",v=".popover-header",y=".popover-body",p={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},e=function(r){function e(){return r.apply(this,arguments)||this}!function(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}(e,r);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(v),this.getTitle());t=this._getContent();"function"==typeof t&&(t=t.call(this.element));this.setElementContent(i.find(y),t);i.removeClass(l+" "+a)},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(s);null!==t&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(u),r="object"==typeof t?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,r),n(this).data(u,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 h}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return u}},{key:"Event",get:function(){return p}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return c}}]),e}(b);return n.fn[i]=e._jQueryInterface,n.fn[i].Constructor=e,n.fn[i].noConflict=function(){return n.fn[i]=o,e._jQueryInterface},e}(t),tr=function(n){var u="scrollspy",s="bs.scrollspy",h="."+s,v=n.fn[u],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,r="auto"===this._config.method?u:this._config.method,f=r===a?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();n.makeArray(n(this._selector)).map(function(t){var u,e=i.getSelectorFromElement(t),o;return(e&&(u=n(e)[0]),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[n(u)[r]().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=r({},l,t)).target){var f=n(t.target).attr("id");f||(f=i.getUID(u),n(t.target).attr("id",f));t.target="#"+f}return i.typeCheckConfig(u,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[u]=o._jQueryInterface,n.fn[u].Constructor=o,n.fn[u].noConflict=function(){return n.fn[u]=v,o._jQueryInterface},o}(t),ir=function(n){var e=".bs.tab",c=n.fn.tab,t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click.bs.tab.data-api"},l="dropdown-menu",r="active",a="disabled",v="fade",o="show",y=".dropdown",p=".nav, .list-group",s=".active",h="> li > .active",w=".dropdown-toggle",b="> .dropdown-menu .active",u=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var y=this,e,u,f,o,w,c,l,v;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(r)||n(this._element).hasClass(a)||(f=n(this._element).closest(p)[0],o=i.getSelectorFromElement(this._element),f&&(w="UL"===f.nodeName?h:s,u=(u=n.makeArray(n(f).find(w)))[u.length-1]),c=n.Event(t.HIDE,{relatedTarget:this._element}),l=n.Event(t.SHOW,{relatedTarget:u}),(u&&n(u).trigger(c),n(this._element).trigger(l),l.isDefaultPrevented()||c.isDefaultPrevented())||(o&&(e=n(o)[0]),this._activate(this._element,f),v=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,v):v()))},e.dispose=function(){n.removeData(this._element,"bs.tab");this._element=null},e._activate=function(t,r,u){var o=this,f=("UL"===r.nodeName?n(r).find(h):n(r).children(s))[0],c=u&&i.supportsTransitionEnd()&&f&&n(f).hasClass(v),e=function(){return o._transitionComplete(t,f,u)};f&&c?n(f).one(i.TRANSITION_END,e).emulateTransitionEnd(150):e()},e._transitionComplete=function(t,u,f){var e,s;u&&(n(u).removeClass(o+" "+r),e=n(u.parentNode).find(b)[0],e&&n(e).removeClass(r),"tab"===u.getAttribute("role")&&u.setAttribute("aria-selected",!1));(n(t).addClass(r),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),i.reflow(t),n(t).addClass(o),t.parentNode&&n(t.parentNode).hasClass(l))&&(s=n(t).closest(y)[0],s&&n(s).find(w).addClass(r),t.setAttribute("aria-expanded",!0));f&&f()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data("bs.tab");if(i||(i=new u(this),r.data("bs.tab",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=c,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=i;n.Alert=li;n.Button=ai;n.Carousel=vi;n.Collapse=yi;n.Dropdown=di;n.Modal=gi;n.Popover=nr;n.Scrollspy=tr;n.Tab=ir;n.Tooltip=b;Object.defineProperty(n,"__esModule",{value:!0})});!function(n){"use strict";n.matchMedia=n.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=42===t.offsetWidth,i.removeChild(r),{matches:u,media:n}}}(n.document)}(this),function(n){"use strict";function p(){y(!0)}var t={};n.respond=t;t.update=function(){};var f=[],tt=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),w=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){4!==i.readyState||200!==i.status&&304!==i.status||t(i.responseText)},4!==i.readyState&&i.send(null))};if(t.ajax=w,t.queue=f,t.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},t.mediaQueriesSupported=n.matchMedia&&null!==n.matchMedia("only all")&&n.matchMedia("only all").matches,!t.mediaQueriesSupported){var c,b,l,i=n.document,r=i.documentElement,e=[],o=[],u=[],a={},k=30,s=i.getElementsByTagName("head")[0]||r,it=i.getElementsByTagName("base")[0],h=s.getElementsByTagName("link"),v=function(){var u,t=i.createElement("div"),n=i.body,o=r.style.fontSize,e=n&&n.style.fontSize,f=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=i.createElement("body"),n.style.background="none"),r.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),f&&r.insertBefore(n,r.firstChild),u=t.offsetWidth,f?r.removeChild(n):n.removeChild(t),r.style.fontSize=o,e&&(n.style.fontSize=e),u=l=parseFloat(u)},y=function(t){var rt="clientWidth",ut=r[rt],ft="CSS1Compat"===i.compatMode&&ut||i.body[rt]||ut,p={},ct=h[h.length-1],et=(new Date).getTime(),tt,g,nt,f,it;if(t&&c&&k>et-c)return n.clearTimeout(b),b=n.setTimeout(y,k),void 0;c=et;for(tt in e)if(e.hasOwnProperty(tt)){var a=e[tt],w=a.minw,d=a.maxw,ot=null===w,st=null===d,ht="em";w&&(w=parseFloat(w)*(w.indexOf(ht)>-1?l||v():1));d&&(d=parseFloat(d)*(d.indexOf(ht)>-1?l||v():1));a.hasquery&&(ot&&st||!(ot||ft>=w)||!(st||d>=ft))||(p[a.media]||(p[a.media]=[]),p[a.media].push(o[a.rules]))}for(g in u)u.hasOwnProperty(g)&&u[g]&&u[g].parentNode===s&&s.removeChild(u[g]);u.length=0;for(nt in p)p.hasOwnProperty(nt)&&(f=i.createElement("style"),it=p[nt].join("\n"),f.type="text/css",f.media=nt,s.insertBefore(f,ct.nextSibling),f.styleSheet?f.styleSheet.cssText=it:f.appendChild(i.createTextNode(it)),u.push(f))},d=function(n,i,r){var h=n.replace(t.regex.keyframes,"").match(t.regex.media),c=h&&h.length||0,l,a,f,v,u,p,w,s;for(i=i.substring(0,i.lastIndexOf("/")),l=function(n){return n.replace(t.regex.urls,"$1"+i+"$2$3")},a=!c&&r,i.length&&(i+="/"),a&&(c=1),f=0;c>f;f++)for(a?(v=r,o.push(l(n))):(v=h[f].match(t.regex.findStyles)&&RegExp.$1,o.push(RegExp.$2&&l(RegExp.$2))),p=v.split(","),w=p.length,s=0;w>s;s++)u=p[s],e.push({media:u.split("(")[0].match(t.regex.only)&&RegExp.$2||"all",rules:o.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(t.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(t.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});y()},g=function(){if(f.length){var t=f.shift();w(t.href,function(i){d(i,t.href,t.media);a[t.href]=!0;n.setTimeout(function(){g()},0)})}},nt=function(){for(var r=0;r<h.length;r++){var i=h[r],t=i.href,u=i.media,e=i.rel&&"stylesheet"===i.rel.toLowerCase();t&&e&&!a[t]&&(i.styleSheet&&i.styleSheet.rawCssText?(d(i.styleSheet.rawCssText,t,u),a[t]=!0):(!/^([a-zA-Z:]*\/\/)/.test(t)&&!it||t.replace(RegExp.$1,"").split("/")[0]===n.location.host)&&("//"===t.substring(0,2)&&(t=n.location.protocol+t),f.push({href:t,media:u})))}g()};nt();t.update=nt;t.getEmValue=v;n.addEventListener?n.addEventListener("resize",p,!1):n.attachEvent&&n.attachEvent("onresize",p)}}(this)