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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js/bootstrap.min.js')
-rw-r--r--dist/js/bootstrap.min.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.min.js b/dist/js/bootstrap.min.js
index 88679b8de9..e61e4050d1 100644
--- a/dist/js/bootstrap.min.js
+++ b/dist/js/bootstrap.min.js
@@ -3,5 +3,5 @@
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("popper.js")):"function"==typeof define&&define.amd?define(["popper.js"],e):(t=t||self).bootstrap=e(t.Popper)}(this,function(t){"use strict";function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),o.forEach(function(e){i(t,e,n[e])})}return t}t=t&&t.hasOwnProperty("default")?t.default:t;var r,s,a,l="transitionend",c=window.jQuery,u=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},f=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},h=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},d=function(t){var e=document.createEvent("HTMLEvents");e.initEvent(l,!0,!0),t.dispatchEvent(e)},g=function(t){return(t[0]||t).nodeType},_=function(t,e){var n=!1,i=e+5;t.addEventListener(l,function e(){n=!0,t.removeEventListener(l,e)}),setTimeout(function(){n||d(t)},i)},p=function(t,e,n){Object.keys(n).forEach(function(i){var o,r=n[i],s=e[i],a=s&&g(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')})},m=function(t){return t?[].slice.call(t):[]},v=function(t){return!!t&&(!!(t.style&&t.parentNode&&t.parentNode.style)&&("none"!==t.style.display&&"none"!==t.parentNode.style.display&&"hidden"!==t.style.visibility))},y=function(){return function(){}},E=function(t){return t.offsetHeight},b=(r={},s=1,{set:function(t,e,n){"undefined"==typeof t.key&&(t.key={key:e,id:s},s++),r[t.key.id]=n},get:function(t,e){if(!t||"undefined"==typeof t.key)return null;var n=t.key;return n.key===e?r[n.id]:null},delete:function(t,e){if("undefined"!=typeof t.key){var n=t.key;n.key===e&&(delete r[n.id],delete t.key)}}}),D={setData:function(t,e,n){b.set(t,e,n)},getData:function(t,e){return b.get(t,e)},removeData:function(t,e){b.delete(t,e)}},T=Element.prototype,I=T.matches,A=T.closest,S=Element.prototype.querySelectorAll,w=Element.prototype.querySelector,L=function(t,e){return new CustomEvent(t,e)};if("function"!=typeof window.CustomEvent&&(L=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}),!((a=document.createEvent("CustomEvent")).initEvent("Bootstrap",!0,!0),a.preventDefault(),a.defaultPrevented)){var C=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(C.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var O=function(){var t=L("Bootstrap",{cancelable:!0}),e=document.createElement("div");return e.addEventListener("Bootstrap",function(){return null}),t.preventDefault(),e.dispatchEvent(t),t.defaultPrevented}();I||(I=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),A||(A=function(t){var e=this;do{if(I.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var N=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(S=function(t){if(!N.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=u("scope"));var n=null;try{t=t.replace(N,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},w=function(t){if(!N.test(t))return this.querySelector(t);var e=S.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var k=/[^.]*(?=\..*)\.|.*/,P=/\..*/,H=/^key/,M=/::\d+$/,j={},R=1,W={mouseenter:"mouseover",mouseleave:"mouseout"},x=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function U(t,e){return e&&e+"::"+R++||t.uidEvent||R++}function K(t){var e=U(t);return t.uidEvent=e,j[e]=j[e]||{},j[e]}function V(t,e){null===t.which&&H.test(t.type)&&(t.which=null===t.charCode?t.keyCode:t.charCode),t.delegateTarget=e}function B(t,e,n){void 0===n&&(n=null);for(var i=Object.keys(t),o=0,r=i.length;o<r;o++){var s=t[i[o]];if(s.originalHandler===e&&s.delegationSelector===n)return s}return null}function F(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(P,""),s=W[r];return s&&(r=s),x.indexOf(r)>-1||(r=t),[i,o,r]}function Q(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=F(e,n,i),s=r[0],a=r[1],l=r[2],c=K(t),u=c[l]||(c[l]={}),f=B(u,a,s?n:null);if(f)f.oneOff=f.oneOff&&o;else{var h=U(a,e.replace(k,"")),d=s?function(t,e,n){return function i(o){for(var r=t.querySelectorAll(e),s=o.target;s&&s!==this;s=s.parentNode)for(var a=r.length;a--;)if(r[a]===s)return V(o,s),i.oneOff&&G.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return V(i,t),n.oneOff&&G.off(t,i.type,e),e.apply(t,[i])}}(t,n);d.delegationSelector=s?n:null,d.originalHandler=a,d.oneOff=o,d.uidEvent=h,u[h]=d,t.addEventListener(l,d,s)}}}function Y(t,e,n,i,o){var r=B(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var G={on:function(t,e,n,i){Q(t,e,n,i,!1)},one:function(t,e,n,i){Q(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=F(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=K(t),u="."===e.charAt(0);if("undefined"==typeof s){u&&Object.keys(c).forEach(function(n){!function(t,e,n,i){var o=e[n]||{};Object.keys(o).forEach(function(r){if(r.indexOf(i)>-1){var s=o[r];Y(t,e,n,s.originalHandler,s.delegationSelector)}})}(t,c,n,e.substr(1))});var f=c[a]||{};Object.keys(f).forEach(function(n){var i=n.replace(M,"");if(!l||e.indexOf(i)>-1){var o=f[n];Y(t,c,a,o.originalHandler,o.delegationSelector)}})}else{if(!c||!c[a])return;Y(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(P,""),r=e!==o,s=x.indexOf(o)>-1,a=!0,l=!0,u=!1,f=null;return r&&"undefined"!=typeof c&&(i=c.Event(e,n),c(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents")).initEvent(o,a,!0):f=L(e,{bubbles:a,cancelable:!0}),"undefined"!=typeof n&&Object.keys(n).forEach(function(t){Object.defineProperty(f,t,{get:function(){return n[t]}})}),u&&(f.preventDefault(),O||Object.defineProperty(f,"defaultPrevented",{get:function(){return!0}})),l&&t.dispatchEvent(f),f.defaultPrevented&&"undefined"!=typeof i&&i.preventDefault(),f}},X={matches:function(t,e){return I.call(t,e)},find:function(t,e){return void 0===e&&(e=document.documentElement),"string"!=typeof t?null:S.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),"string"!=typeof t?null:w.call(e,t)},children:function(t,e){var n=this;if("string"!=typeof e)return null;var i=m(t.children);return i.filter(function(t){return n.matches(t,e)})},parents:function(t,e){if("string"!=typeof e)return null;for(var n=[],i=t.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},closest:function(t,e){return"string"!=typeof e?null:A.call(t,e)},prev:function(t,e){if("string"!=typeof e)return null;for(var n=[],i=t.previousSibling;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.previousSibling;return n}},q="bs.alert",z="."+q,Z={CLOSE:"close"+z,CLOSED:"closed"+z,CLICK_DATA_API:"click"+z+".data-api"},$="alert",J="fade",tt="show",et=function(){function t(t){this._element=t,this._element&&D.setData(t,q,this)}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},e.dispose=function(){D.removeData(this._element,q),this._element=null},e._getRootElement=function(t){var e=f(t),n=!1;return e&&(n=X.findOne(e)),n||(n=X.closest(t,"."+$)),n},e._triggerCloseEvent=function(t){return G.trigger(t,Z.CLOSE)},e._removeElement=function(t){var e=this;if(t.classList.remove(tt),t.classList.contains(J)){var n=h(t);G.one(t,l,function(n){return e._destroyElement(t,n)}),_(t,n)}else this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),G.trigger(t,Z.CLOSED)},t._jQueryInterface=function(e){return this.each(function(){var n=D.getData(this,q);n||(n=new t(this)),"close"===e&&n[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},t._getInstance=function(t){return D.getData(t,q)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(G.on(document,Z.CLICK_DATA_API,'[data-dismiss="alert"]',et._handleDismiss(new et)),"undefined"!=typeof c){var nt=c.fn.alert;c.fn.alert=et._jQueryInterface,c.fn.alert.Constructor=et,c.fn.alert.noConflict=function(){return c.fn.alert=nt,et._jQueryInterface}}var it="bs.button",ot="."+it,rt="active",st="btn",at="focus",lt='[data-toggle^="button"]',ct='[data-toggle="buttons"]',ut='input:not([type="hidden"])',ft=".active",ht=".btn",dt={CLICK_DATA_API:"click"+ot+".data-api",FOCUS_DATA_API:"focus"+ot+".data-api",BLUR_DATA_API:"blur"+ot+".data-api"},gt=function(){function t(t){this._element=t,D.setData(t,it,this)}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=X.closest(this._element,ct);if(n){var i=X.findOne(ut,this._element);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(rt))t=!1;else{var o=X.findOne(ft,n);o&&o.classList.remove(rt)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(rt),G.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(rt)),t&&this._element.classList.toggle(rt)},e.dispose=function(){D.removeData(this._element,it),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=D.getData(this,it);n||(n=new t(this)),"toggle"===e&&n[e]()})},t._getInstance=function(t){return D.getData(t,it)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(G.on(document,dt.CLICK_DATA_API,lt,function(t){t.preventDefault();var e=t.target;e.classList.contains(st)||(e=X.closest(e,ht));var n=D.getData(e,it);n||(n=new gt(e),D.setData(e,it,n)),n.toggle()}),G.on(document,dt.FOCUS_DATA_API,lt,function(t){var e=X.closest(t.target,ht);e&&e.classList.add(at)}),G.on(document,dt.BLUR_DATA_API,lt,function(t){var e=X.closest(t.target,ht);e&&e.classList.remove(at)}),"undefined"!=typeof c){var _t=c.fn.button;c.fn.button=gt._jQueryInterface,c.fn.button.Constructor=gt,c.fn.button.noConflict=function(){return c.fn.button=_t,gt._jQueryInterface}}function pt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function mt(t){return t.replace(/[A-Z]/g,function(t){return t.toLowerCase()})}var vt={setDataAttribute:function(t,e,n){t.setAttribute("data-"+mt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+mt(e))},getDataAttributes:function(t){if(!t)return{};var e=o({},t.dataset);return Object.keys(e).forEach(function(t){e[t]=pt(e[t])}),e},getDataAttribute:function(t,e){return pt(t.getAttribute("data-"+mt(e)))},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:function(t){return{top:t.offsetTop,left:t.offsetLeft}},toggleClass:function(t,e){t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))}},yt="carousel",Et="bs.carousel",bt="."+Et,Dt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Tt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},It="next",At="prev",St="left",wt="right",Lt={SLIDE:"slide"+bt,SLID:"slid"+bt,KEYDOWN:"keydown"+bt,MOUSEENTER:"mouseenter"+bt,MOUSELEAVE:"mouseleave"+bt,TOUCHSTART:"touchstart"+bt,TOUCHMOVE:"touchmove"+bt,TOUCHEND:"touchend"+bt,POINTERDOWN:"pointerdown"+bt,POINTERUP:"pointerup"+bt,DRAG_START:"dragstart"+bt,LOAD_DATA_API:"load"+bt+".data-api",CLICK_DATA_API:"click"+bt+".data-api"},Ct="carousel",Ot="active",Nt="slide",kt="carousel-item-right",Pt="carousel-item-left",Ht="carousel-item-next",Mt="carousel-item-prev",jt="pointer-event",Rt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Wt={TOUCH:"touch",PEN:"pen"},xt=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=X.findOne(Rt.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),D.setData(t,Et,this)}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(It)},e.nextWhenVisible=function(){!document.hidden&&v(this._element)&&this.next()},e.prev=function(){this._isSliding||this._slide(At)},e.pause=function(t){t||(this._isPaused=!0),X.findOne(Rt.NEXT_PREV,this._element)&&(d(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=X.findOne(Rt.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)G.one(this._element,Lt.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?It:At;this._slide(i,this._items[t])}},e.dispose=function(){G.off(this._element,bt),D.removeData(this._element,Et),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=o({},Dt,t),p(yt,t,Tt),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&G.on(this._element,Lt.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(G.on(this._element,Lt.MOUSEENTER,function(e){return t.pause(e)}),G.on(this._element,Lt.MOUSELEAVE,function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&Wt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&Wt[e.pointerType.toUpperCase()]&&(t.touchDeltaX=e.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};m(X.find(Rt.ITEM_IMG,this._element)).forEach(function(t){G.on(t,Lt.DRAG_START,function(t){return t.preventDefault()})}),this._pointerEvent?(G.on(this._element,Lt.POINTERDOWN,function(t){return e(t)}),G.on(this._element,Lt.POINTERUP,function(t){return n(t)}),this._element.classList.add(jt)):(G.on(this._element,Lt.TOUCHSTART,function(t){return e(t)}),G.on(this._element,Lt.TOUCHMOVE,function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)}),G.on(this._element,Lt.TOUCHEND,function(t){return n(t)}))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?m(X.find(Rt.ITEM,t.parentNode)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===It,i=t===At,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===At?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(X.findOne(Rt.ACTIVE_ITEM,this._element));return G.trigger(this._element,Lt.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=X.find(Rt.ACTIVE,this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(Ot);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(Ot)}},e._slide=function(t,e){var n,i,o,r=this,s=X.findOne(Rt.ACTIVE_ITEM,this._element),a=this._getItemIndex(s),c=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(c),f=Boolean(this._interval);if(t===It?(n=Pt,i=Ht,o=St):(n=kt,i=Mt,o=wt),c&&c.classList.contains(Ot))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).defaultPrevented&&s&&c){if(this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(c),this._element.classList.contains(Nt)){c.classList.add(i),E(c),s.classList.add(n),c.classList.add(n);var d=parseInt(c.getAttribute("data-interval"),10);d?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=d):this._config.interval=this._config.defaultInterval||this._config.interval;var g=h(s);G.one(s,l,function(){c.classList.remove(n),c.classList.remove(i),c.classList.add(Ot),s.classList.remove(Ot),s.classList.remove(i),s.classList.remove(n),r._isSliding=!1,setTimeout(function(){G.trigger(r._element,Lt.SLID,{relatedTarget:c,direction:o,from:a,to:u})},0)}),_(s,g)}else s.classList.remove(Ot),c.classList.add(Ot),this._isSliding=!1,G.trigger(this._element,Lt.SLID,{relatedTarget:c,direction:o,from:a,to:u});f&&this.cycle()}},t._carouselInterface=function(e,n){var i=D.getData(e,Et),r=o({},Dt,vt.getDataAttributes(e));"object"==typeof n&&(r=o({},r,n));var s="string"==typeof n?n:r.slide;if(i||(i=new t(e,r)),"number"==typeof n)i.to(n);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else r.interval&&r.ride&&(i.pause(),i.cycle())},t._jQueryInterface=function(e){return this.each(function(){t._carouselInterface(this,e)})},t._dataApiClickHandler=function(e){var n=f(this);if(n){var i=X.findOne(n);if(i&&i.classList.contains(Ct)){var r=o({},vt.getDataAttributes(i),vt.getDataAttributes(this)),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._carouselInterface(i,r),s&&D.getData(i,Et).to(s),e.preventDefault()}}},t._getInstance=function(t){return D.getData(t,Et)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Dt}}]),t}();if(G.on(document,Lt.CLICK_DATA_API,Rt.DATA_SLIDE,xt._dataApiClickHandler),G.on(window,Lt.LOAD_DATA_API,function(){for(var t=m(X.find(Rt.DATA_RIDE)),e=0,n=t.length;e<n;e++)xt._carouselInterface(t[e],D.getData(t[e],Et))}),"undefined"!=typeof c){var Ut=c.fn[yt];c.fn[yt]=xt._jQueryInterface,c.fn[yt].Constructor=xt,c.fn[yt].noConflict=function(){return c.fn[yt]=Ut,xt._jQueryInterface}}var Kt="collapse",Vt="bs.collapse",Bt="."+Vt,Ft={toggle:!0,parent:""},Qt={toggle:"boolean",parent:"(string|element)"},Yt={SHOW:"show"+Bt,SHOWN:"shown"+Bt,HIDE:"hide"+Bt,HIDDEN:"hidden"+Bt,CLICK_DATA_API:"click"+Bt+".data-api"},Gt="show",Xt="collapse",qt="collapsing",zt="collapsed",Zt="width",$t="height",Jt={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},te=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=m(X.find('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=m(X.find(Jt.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=f(r),a=m(X.find(s)).filter(function(e){return e===t});null!==s&&a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle(),D.setData(t,Vt,this)}var e=t.prototype;return e.toggle=function(){this._element.classList.contains(Gt)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Gt)){var n,i;this._parent&&0===(n=m(X.find(Jt.ACTIVES,this._parent)).filter(function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(Xt)})).length&&(n=null);var o=X.findOne(this._selector);if(n){var r=n.filter(function(t){return o!==t});if((i=r[0]?D.getData(r[0],Vt):null)&&i._isTransitioning)return}if(!G.trigger(this._element,Yt.SHOW).defaultPrevented){n&&n.forEach(function(e){o!==e&&t._collapseInterface(e,"hide"),i||D.setData(e,Vt,null)});var s=this._getDimension();this._element.classList.remove(Xt),this._element.classList.add(qt),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(function(t){t.classList.remove(zt),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=h(this._element);G.one(this._element,l,function(){e._element.classList.remove(qt),e._element.classList.add(Xt),e._element.classList.add(Gt),e._element.style[s]="",e.setTransitioning(!1),G.trigger(e._element,Yt.SHOWN)}),_(this._element,c),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Gt)&&!G.trigger(this._element,Yt.HIDE).defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",E(this._element),this._element.classList.add(qt),this._element.classList.remove(Xt),this._element.classList.remove(Gt);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=f(o);if(null!==r)X.findOne(r).classList.contains(Gt)||(o.classList.add(zt),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=h(this._element);G.one(this._element,l,function(){t.setTransitioning(!1),t._element.classList.remove(qt),t._element.classList.add(Xt),G.trigger(t._element,Yt.HIDDEN)}),_(this._element,s)}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){D.removeData(this._element,Vt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=o({},Ft,t)).toggle=Boolean(t.toggle),p(Kt,t,Qt),t},e._getDimension=function(){return this._element.classList.contains(Zt)?Zt:$t},e._getParent=function(){var e=this,n=this._config.parent;g(n)?"undefined"==typeof n.jquery&&"undefined"==typeof n[0]||(n=n[0]):n=X.findOne(n);var i='[data-toggle="collapse"][data-parent="'+n+'"]';return m(X.find(i,n)).forEach(function(n){e._addAriaAndCollapsedClass(t._getTargetFromElement(n),[n])}),n},e._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(Gt);e.length&&e.forEach(function(t){n?t.classList.remove(zt):t.classList.add(zt),t.setAttribute("aria-expanded",n)})}},t._getTargetFromElement=function(t){var e=f(t);return e?X.findOne(e):null},t._collapseInterface=function(e,n){var i=D.getData(e,Vt),r=o({},Ft,vt.getDataAttributes(e),"object"==typeof n&&n?n:{});if(!i&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),i||(i=new t(e,r)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t._jQueryInterface=function(e){return this.each(function(){t._collapseInterface(this,e)})},t._getInstance=function(t){return D.getData(t,Vt)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ft}}]),t}();if(G.on(document,Yt.CLICK_DATA_API,Jt.DATA_TOGGLE,function(t){"A"===t.target.tagName&&t.preventDefault();var e=vt.getDataAttributes(this),n=f(this);m(X.find(n)).forEach(function(t){var n,i=D.getData(t,Vt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,te._collapseInterface(t,n)})}),"undefined"!=typeof c){var ee=c.fn[Kt];c.fn[Kt]=te._jQueryInterface,c.fn[Kt].Constructor=te,c.fn[Kt].noConflict=function(){return c.fn[Kt]=ee,te._jQueryInterface}}var ne="dropdown",ie="bs.dropdown",oe="."+ie,re=new RegExp("38|40|27"),se={HIDE:"hide"+oe,HIDDEN:"hidden"+oe,SHOW:"show"+oe,SHOWN:"shown"+oe,CLICK:"click"+oe,CLICK_DATA_API:"click"+oe+".data-api",KEYDOWN_DATA_API:"keydown"+oe+".data-api",KEYUP_DATA_API:"keyup"+oe+".data-api"},ae="disabled",le="show",ce="dropup",ue="dropright",fe="dropleft",he="dropdown-menu-right",de="position-static",ge='[data-toggle="dropdown"]',_e=".dropdown form",pe=".dropdown-menu",me=".navbar-nav",ve=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ye="top-start",Ee="top-end",be="bottom-start",De="bottom-end",Te="right-start",Ie="left-start",Ae={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Se={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},we=function(){function e(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),D.setData(t,ie,this)}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(ae)){var n=e._getParentFromElement(this._element),i=this._menu.classList.contains(le);if(e._clearMenus(),!i){var o={relatedTarget:this._element};if(!G.trigger(n,se.SHOW,o).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=n:g(this._config.reference)&&(r=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.classList.add(de),this._popper=new t(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!m(X.closest(n,me)).length&&m(document.body.children).forEach(function(t){return G.on(t,"mouseover",null,function(){})}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),vt.toggleClass(this._menu,le),vt.toggleClass(n,le),G.trigger(n,se.SHOWN,o)}}}},i.show=function(){if(!(this._element.disabled||this._element.classList.contains(ae)||this._menu.classList.contains(le))){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};G.trigger(t,se.SHOW,n).defaultPrevented||(vt.toggleClass(this._menu,le),vt.toggleClass(t,le),G.trigger(t,se.SHOWN,n))}},i.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(ae)&&this._menu.classList.contains(le)){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};G.trigger(t,se.HIDE,n).defaultPrevented||(vt.toggleClass(this._menu,le),vt.toggleClass(t,le),G.trigger(t,se.HIDDEN,n))}},i.dispose=function(){D.removeData(this._element,ie),G.off(this._element,oe),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;G.on(this._element,se.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=o({},this.constructor.Default,vt.getDataAttributes(this._element),t),p(ne,t,this.constructor.DefaultType),t},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=X.findOne(pe,t))}return this._menu},i._getPlacement=function(){var t=this._element.parentNode,e=be;return t.classList.contains(ce)?(e=ye,this._menu.classList.contains(he)&&(e=Ee)):t.classList.contains(ue)?e=Te:t.classList.contains(fe)?e=Ie:this._menu.classList.contains(he)&&(e=De),e},i._detectNavbar=function(){return Boolean(X.closest(this._element,".navbar"))},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},e._dropdownInterface=function(t,n){var i=D.getData(t,ie);if(i||(i=new e(t,"object"==typeof n?n:null)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},e._jQueryInterface=function(t){return this.each(function(){e._dropdownInterface(this,t)})},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=m(X.find(ge)),i=0,o=n.length;i<o;i++){var r=e._getParentFromElement(n[i]),s=D.getData(n[i],ie),a={relatedTarget:n[i]};if(t&&"click"===t.type&&(a.clickEvent=t),s){var l=s._menu;if(r.classList.contains(le))if(!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&r.contains(t.target)))G.trigger(r,se.HIDE,a).defaultPrevented||("ontouchstart"in document.documentElement&&m(document.body.children).forEach(function(t){return G.off(t,"mouseover",null,function(){})}),n[i].setAttribute("aria-expanded","false"),l.classList.remove(le),r.classList.remove(le),G.trigger(r,se.HIDDEN,a))}}},e._getParentFromElement=function(t){var e,n=f(t);return n&&(e=X.findOne(n)),e||t.parentNode},e._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||X.closest(t.target,pe))):re.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(ae))){var n=e._getParentFromElement(this),i=n.classList.contains(le);if(!i||i&&(27===t.which||32===t.which))return 27===t.which&&X.findOne(ge,n).focus(),void e._clearMenus();var o=m(X.find(ve,n));if(o.length){var r=o.indexOf(t.target);38===t.which&&r>0&&r--,40===t.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}},e._getInstance=function(t){return D.getData(t,ie)},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ae}},{key:"DefaultType",get:function(){return Se}}]),e}();if(G.on(document,se.KEYDOWN_DATA_API,ge,we._dataApiKeydownHandler),G.on(document,se.KEYDOWN_DATA_API,pe,we._dataApiKeydownHandler),G.on(document,se.CLICK_DATA_API,we._clearMenus),G.on(document,se.KEYUP_DATA_API,we._clearMenus),G.on(document,se.CLICK_DATA_API,ge,function(t){t.preventDefault(),t.stopPropagation(),we._dropdownInterface(this,"toggle")}),G.on(document,se.CLICK_DATA_API,_e,function(t){return t.stopPropagation()}),"undefined"!=typeof c){var Le=c.fn[ne];c.fn[ne]=we._jQueryInterface,c.fn[ne].Constructor=we,c.fn[ne].noConflict=function(){return c.fn[ne]=Le,we._jQueryInterface}}var Ce="bs.modal",Oe="."+Ce,Ne={backdrop:!0,keyboard:!0,focus:!0,show:!0},ke={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Pe={HIDE:"hide"+Oe,HIDDEN:"hidden"+Oe,SHOW:"show"+Oe,SHOWN:"shown"+Oe,FOCUSIN:"focusin"+Oe,RESIZE:"resize"+Oe,CLICK_DISMISS:"click.dismiss"+Oe,KEYDOWN_DISMISS:"keydown.dismiss"+Oe,MOUSEUP_DISMISS:"mouseup.dismiss"+Oe,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Oe,CLICK_DATA_API:"click"+Oe+".data-api"},He="modal-dialog-scrollable",Me="modal-scrollbar-measure",je="modal-backdrop",Re="modal-open",We="fade",xe="show",Ue={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},Ke=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=X.findOne(Ue.DIALOG,t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,D.setData(t,Ce,this)}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(We)&&(this._isTransitioning=!0);var n=G.trigger(this._element,Pe.SHOW,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),G.on(this._element,Pe.CLICK_DISMISS,Ue.DATA_DISMISS,function(t){return e.hide(t)}),G.on(this._dialog,Pe.MOUSEDOWN_DISMISS,function(){G.one(e._element,Pe.MOUSEUP_DISMISS,function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=G.trigger(this._element,Pe.HIDE);if(this._isShown&&!n.defaultPrevented){this._isShown=!1;var i=this._element.classList.contains(We);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),G.off(document,Pe.FOCUSIN),this._element.classList.remove(xe),G.off(this._element,Pe.CLICK_DISMISS),G.off(this._dialog,Pe.MOUSEDOWN_DISMISS),i){var o=h(this._element);G.one(this._element,l,function(t){return e._hideModal(t)}),_(this._element,o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return G.off(t,Oe)}),G.off(document,Pe.FOCUSIN),D.removeData(this._element,Ce),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=o({},Ne,t),p("modal",t,ke),t},e._showElement=function(t){var e=this,n=this._element.classList.contains(We);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.setAttribute("aria-modal",!0),this._dialog.classList.contains(He)?X.findOne(Ue.MODAL_BODY,this._dialog).scrollTop=0:this._element.scrollTop=0,n&&E(this._element),this._element.classList.add(xe),this._config.focus&&this._enforceFocus();var i=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,G.trigger(e._element,Pe.SHOWN,{relatedTarget:t})};if(n){var o=h(this._dialog);G.one(this._dialog,l,i),_(this._dialog,o)}else i()},e._enforceFocus=function(){var t=this;G.off(document,Pe.FOCUSIN),G.on(document,Pe.FOCUSIN,function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?G.on(this._element,Pe.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||G.off(this._element,Pe.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?G.on(window,Pe.RESIZE,function(e){return t.handleUpdate(e)}):G.off(window,Pe.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){document.body.classList.remove(Re),t._resetAdjustments(),t._resetScrollbar(),G.trigger(t._element,Pe.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=this._element.classList.contains(We)?We:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=je,n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),G.on(this._element,Pe.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&E(this._backdrop),this._backdrop.classList.add(xe),!t)return;if(!n)return void t();var i=h(this._backdrop);G.one(this._backdrop,l,t),_(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(xe);var o=function(){e._removeBackdrop(),t&&t()};if(this._element.classList.contains(We)){var r=h(this._backdrop);G.one(this._backdrop,l,o),_(this._backdrop,r)}else o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){m(X.find(Ue.FIXED_CONTENT)).forEach(function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];vt.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"}),m(X.find(Ue.STICKY_CONTENT)).forEach(function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];vt.setDataAttribute(e,"margin-right",n),e.style.marginRight=parseFloat(i)-t._scrollbarWidth+"px"});var e=document.body.style.paddingRight,n=window.getComputedStyle(document.body)["padding-right"];vt.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(Re)},e._resetScrollbar=function(){m(X.find(Ue.FIXED_CONTENT)).forEach(function(t){var e=vt.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(vt.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)}),m(X.find(""+Ue.STICKY_CONTENT)).forEach(function(t){var e=vt.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(vt.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)});var t=vt.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(vt.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Me,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each(function(){var i=D.getData(this,Ce),r=o({},Ne,vt.getDataAttributes(this),"object"==typeof e&&e?e:{});if(i||(i=new t(this,r)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else r.show&&i.show(n)})},t._getInstance=function(t){return D.getData(t,Ce)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ne}}]),t}();if(G.on(document,Pe.CLICK_DATA_API,Ue.DATA_TOGGLE,function(t){var e,n=this,i=f(this);i&&(e=X.findOne(i));var r=D.getData(e,Ce)?"toggle":o({},vt.getDataAttributes(e),vt.getDataAttributes(this));"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),G.one(e,Pe.SHOW,function(t){t.defaultPrevented||G.one(e,Pe.HIDDEN,function(){v(n)&&n.focus()})});var s=D.getData(e,Ce);s||(s=new Ke(e,r)),s.show(this)}),"undefined"!=typeof c){var Ve=c.fn.modal;c.fn.modal=Ke._jQueryInterface,c.fn.modal.Constructor=Ke,c.fn.modal.noConflict=function(){return c.fn.modal=Ve,Ke._jQueryInterface}}var Be=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Fe=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Qe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Ye=function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Be.indexOf(n)||Boolean(t.nodeValue.match(Fe)||t.nodeValue.match(Qe));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1},Ge={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Xe(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=m(i.body.querySelectorAll("*")),s=function(t,n){var i=r[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(s))return i.parentNode.removeChild(i),"continue";var a=m(i.attributes),l=[].concat(e["*"]||[],e[s]||[]);a.forEach(function(t){Ye(t,l)||i.removeAttribute(t.nodeName)})},a=0,l=r.length;a<l;a++)s(a);return i.body.innerHTML}var qe="tooltip",ze=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Ze=["sanitize","whiteList","sanitizeFn"],$e={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Je={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},tn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-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",sanitize:!0,sanitizeFn:null,whiteList:Ge},en="show",nn="out",on={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},rn="fade",sn="show",an=".tooltip-inner",ln="hover",cn="focus",un="click",fn="manual",hn=function(){function e(e,n){if("undefined"==typeof t)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners(),D.setData(e,this.constructor.DATA_KEY,this)}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=D.getData(t.delegateTarget,e);n||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),D.setData(t.delegateTarget,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(sn))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),D.removeData(this.element,this.constructor.DATA_KEY),G.off(this.element,this.constructor.EVENT_KEY),G.off(X.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),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},i.show=function(){var e=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var n=G.trigger(this.element,this.constructor.Event.SHOW),i=function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?t(e.parentNode):null}(this.element),o=null===i?this.element.ownerDocument.documentElement.contains(this.element):i.contains(this.element);if(n.defaultPrevented||!o)return;var r=this.getTipElement(),s=u(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&r.classList.add(rn);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(a);this.addAttachmentClass(c);var f=this._getContainer();D.setData(r,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||f.appendChild(r),G.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new t(this.element,r,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:"."+this.constructor.NAME+"-arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),r.classList.add(sn),"ontouchstart"in document.documentElement&&m(document.body.children).forEach(function(t){G.on(t,"mouseover",function(){})});var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,G.trigger(e.element,e.constructor.Event.SHOWN),t===nn&&e._leave(null,e)};if(this.tip.classList.contains(rn)){var g=h(this.tip);G.one(this.tip,l,d),_(this.tip,g)}else d()}},i.hide=function(t){var e=this,n=this.getTipElement(),i=function(){e._hoverState!==en&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),G.trigger(e.element,e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(!G.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(n.classList.remove(sn),"ontouchstart"in document.documentElement&&m(document.body.children).forEach(function(t){return G.off(t,"mouseover",y)}),this._activeTrigger[un]=!1,this._activeTrigger[cn]=!1,this._activeTrigger[ln]=!1,this.tip.classList.contains(rn)){var o=h(n);G.one(n,l,i),_(n,o)}else i();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},i.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(X.findOne(an,t),this.getTitle()),t.classList.remove(rn),t.classList.remove(sn)},i.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&(e.nodeType||e.jquery)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=Xe(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:g(this.config.container)?this.config.container:X.findOne(this.config.container)},i._getAttachment=function(t){return Je[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)G.on(t.element,t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==fn){var n=e===ln?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===ln?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;G.on(t.element,n,t.config.selector,function(e){return t._enter(e)}),G.on(t.element,i,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},G.on(X.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||D.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),D.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?cn:ln]=!0),e.getTipElement().classList.contains(sn)||e._hoverState===en?e._hoverState=en:(clearTimeout(e._timeout),e._hoverState=en,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===en&&e.show()},e.config.delay.show):e.show())},i._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||D.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),D.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?cn:ln]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=nn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===nn&&e.hide()},e.config.delay.hide):e.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var e=vt.getDataAttributes(this.element);return Object.keys(e).forEach(function(t){-1!==Ze.indexOf(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=o({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),p(qe,t,this.constructor.DefaultType),t.sanitize&&(t.template=Xe(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(ze);null!==e&&e.length&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(rn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},e._jQueryInterface=function(t){return this.each(function(){var n=D.getData(this,"bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},e._getInstance=function(t){return D.getData(t,"bs.tooltip")},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return tn}},{key:"NAME",get:function(){return qe}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return on}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return $e}}]),e}();if("undefined"!=typeof c){var dn=c.fn.tooltip;c.fn.tooltip=hn._jQueryInterface,c.fn.tooltip.Constructor=hn,c.fn.tooltip.noConflict=function(){return c.fn.tooltip=dn,hn._jQueryInterface}}var gn="popover",_n=new RegExp("(^|\\s)bs-popover\\S+","g"),pn=o({},hn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),mn=o({},hn.DefaultType,{content:"(string|element|function)"}),vn="fade",yn="show",En=".popover-header",bn=".popover-body",Dn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Tn=function(t){var e,i;function o(){return t.apply(this,arguments)||this}i=t,(e=o).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r.setContent=function(){var t=this.getTipElement();this.setElementContent(X.findOne(En,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(X.findOne(bn,t),e),t.classList.remove(vn),t.classList.remove(yn)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(_n);null!==e&&e.length>0&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},o._jQueryInterface=function(t){return this.each(function(){var e=D.getData(this,"bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),D.setData(this,"bs.popover",e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},o._getInstance=function(t){return D.getData(t,"bs.popover")},n(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return pn}},{key:"NAME",get:function(){return gn}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Dn}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return mn}}]),o}(hn);if("undefined"!=typeof c){var In=c.fn.popover;c.fn.popover=Tn._jQueryInterface,c.fn.popover.Constructor=Tn,c.fn.popover.noConflict=function(){return c.fn.popover=In,Tn._jQueryInterface}}var An="scrollspy",Sn="bs.scrollspy",wn="."+Sn,Ln={offset:10,method:"auto",target:""},Cn={offset:"number",method:"string",target:"(string|element)"},On={ACTIVATE:"activate"+wn,SCROLL:"scroll"+wn,LOAD_DATA_API:"load"+wn+".data-api"},Nn={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},kn={DATA_SPY:'[data-spy="scroll"]',NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_TOGGLE:".dropdown-toggle"},Pn="offset",Hn="position",Mn=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+kn.NAV_LINKS+","+this._config.target+" "+kn.LIST_ITEMS+","+this._config.target+" ."+Nn.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,G.on(this._scrollElement,On.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process(),D.setData(t,Sn,this)}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Pn:Hn,n="auto"===this._config.method?e:this._config.method,i=n===Hn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),m(X.find(this._selector)).map(function(t){var e,o=f(t);if(o&&(e=X.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[vt[n](e).top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){D.removeData(this._element,Sn),G.off(this._scrollElement,wn),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(t){if("string"!=typeof(t=o({},Ln,"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=u(An),t.target.id=e),t.target="#"+e}return p(An,t,Cn),t},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,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=X.findOne(e.join(","));n.classList.contains(Nn.DROPDOWN_ITEM)?(X.findOne(kn.DROPDOWN_TOGGLE,X.closest(n,kn.DROPDOWN)).classList.add(Nn.ACTIVE),n.classList.add(Nn.ACTIVE)):(n.classList.add(Nn.ACTIVE),X.parents(n,kn.NAV_LIST_GROUP).forEach(function(t){X.prev(t,kn.NAV_LINKS+", "+kn.LIST_ITEMS).forEach(function(t){return t.classList.add(Nn.ACTIVE)}),X.prev(t,kn.NAV_ITEMS).forEach(function(t){X.children(t,kn.NAV_LINKS).forEach(function(t){return t.classList.add(Nn.ACTIVE)})})})),G.trigger(this._scrollElement,On.ACTIVATE,{relatedTarget:t})},e._clear=function(){m(X.find(this._selector)).filter(function(t){return t.classList.contains(Nn.ACTIVE)}).forEach(function(t){return t.classList.remove(Nn.ACTIVE)})},t._jQueryInterface=function(e){return this.each(function(){var n=D.getData(this,Sn);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._getInstance=function(t){return D.getData(t,Sn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ln}}]),t}();if(G.on(window,On.LOAD_DATA_API,function(){m(X.find(kn.DATA_SPY)).forEach(function(t){return new Mn(t,vt.getDataAttributes(t))})}),"undefined"!=typeof c){var jn=c.fn[An];c.fn[An]=Mn._jQueryInterface,c.fn[An].Constructor=Mn,c.fn[An].noConflict=function(){return c.fn[An]=jn,Mn._jQueryInterface}}var Rn="bs.tab",Wn="."+Rn,xn={HIDE:"hide"+Wn,HIDDEN:"hidden"+Wn,SHOW:"show"+Wn,SHOWN:"shown"+Wn,CLICK_DATA_API:"click"+Wn+".data-api"},Un="dropdown-menu",Kn="active",Vn="disabled",Bn="fade",Fn="show",Qn=".dropdown",Yn=".nav, .list-group",Gn=".active",Xn=":scope > li > .active",qn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',zn=".dropdown-toggle",Zn=":scope > .dropdown-menu .active",$n=function(){function t(t){this._element=t,D.setData(this._element,Rn,this)}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Kn)||this._element.classList.contains(Vn))){var e,n,i=X.closest(this._element,Yn),o=f(this._element);if(i){var r="UL"===i.nodeName||"OL"===i.nodeName?Xn:Gn;n=(n=m(X.find(r,i)))[n.length-1]}var s=null;if(n&&(s=G.trigger(n,xn.HIDE,{relatedTarget:this._element})),!(G.trigger(this._element,xn.SHOW,{relatedTarget:n}).defaultPrevented||null!==s&&s.defaultPrevented)){o&&(e=X.findOne(o)),this._activate(this._element,i);var a=function(){G.trigger(n,xn.HIDDEN,{relatedTarget:t._element}),G.trigger(t._element,xn.SHOWN,{relatedTarget:n})};e?this._activate(e,e.parentNode,a):a()}}},e.dispose=function(){D.removeData(this._element,Rn),this._element=null},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?X.children(e,Gn):X.find(Xn,e))[0],r=n&&o&&o.classList.contains(Bn),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=h(o);o.classList.remove(Fn),G.one(o,l,s),_(o,a)}else s()},e._transitionComplete=function(t,e,n){if(e){e.classList.remove(Kn);var i=X.findOne(Zn,e.parentNode);i&&i.classList.remove(Kn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(Kn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),E(t),t.classList.contains(Bn)&&t.classList.add(Fn),t.parentNode&&t.parentNode.classList.contains(Un))&&(X.closest(t,Qn)&&m(X.find(zn)).forEach(function(t){return t.classList.add(Kn)}),t.setAttribute("aria-expanded",!0));n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=D.getData(this,Rn)||new t(this);if("string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._getInstance=function(t){return D.getData(t,Rn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(G.on(document,xn.CLICK_DATA_API,qn,function(t){t.preventDefault(),(D.getData(this,Rn)||new $n(this)).show()}),"undefined"!=typeof c){var Jn=c.fn.tab;c.fn.tab=$n._jQueryInterface,c.fn.tab.Constructor=$n,c.fn.tab.noConflict=function(){return c.fn.tab=Jn,$n._jQueryInterface}}var ti="bs.toast",ei="."+ti,ni={CLICK_DISMISS:"click.dismiss"+ei,HIDE:"hide"+ei,HIDDEN:"hidden"+ei,SHOW:"show"+ei,SHOWN:"shown"+ei},ii="fade",oi="hide",ri="show",si="showing",ai={animation:"boolean",autohide:"boolean",delay:"number"},li={animation:!0,autohide:!0,delay:500},ci='[data-dismiss="toast"]',ui=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),D.setData(t,ti,this)}var e=t.prototype;return e.show=function(){var t=this;if(!G.trigger(this._element,ni.SHOW).defaultPrevented){this._config.animation&&this._element.classList.add(ii);var e=function(){t._element.classList.remove(si),t._element.classList.add(ri),G.trigger(t._element,ni.SHOWN),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove(oi),this._element.classList.add(si),this._config.animation){var n=h(this._element);G.one(this._element,l,e),_(this._element,n)}else e()}},e.hide=function(){var t=this;if(this._element.classList.contains(ri)&&!G.trigger(this._element,ni.HIDE).defaultPrevented){var e=function(){t._element.classList.add(oi),G.trigger(t._element,ni.HIDDEN)};if(this._element.classList.remove(ri),this._config.animation){var n=h(this._element);G.one(this._element,l,e),_(this._element,n)}else e()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(ri)&&this._element.classList.remove(ri),G.off(this._element,ni.CLICK_DISMISS),D.removeData(this._element,ti),this._element=null,this._config=null},e._getConfig=function(t){return t=o({},li,vt.getDataAttributes(this._element),"object"==typeof t&&t?t:{}),p("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;G.on(this._element,ni.CLICK_DISMISS,ci,function(){return t.hide()})},t._jQueryInterface=function(e){return this.each(function(){var n=D.getData(this,ti);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}})},t._getInstance=function(t){return D.getData(t,ti)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return ai}},{key:"Default",get:function(){return li}}]),t}();if("undefined"!=typeof c){var fi=c.fn.toast;c.fn.toast=ui._jQueryInterface,c.fn.toast.Constructor=ui,c.fn.toast.noConflict=function(){return c.fn.toast=fi,ui._jQueryInterface}}return{Alert:et,Button:gt,Carousel:xt,Collapse:te,Dropdown:we,Modal:Ke,Popover:Tn,ScrollSpy:Mn,Tab:$n,Toast:ui,Tooltip:hn}});
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("popper.js")):"function"==typeof define&&define.amd?define(["popper.js"],e):(t=t||self).bootstrap=e(t.Popper)}(this,function(t){"use strict";function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(n,!0).forEach(function(e){i(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}t=t&&t.hasOwnProperty("default")?t.default:t;var s,a,l,c="transitionend",u=window.jQuery,f=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},h=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},d=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},g=function(t){var e=document.createEvent("HTMLEvents");e.initEvent(c,!0,!0),t.dispatchEvent(e)},_=function(t){return(t[0]||t).nodeType},p=function(t,e){var n=!1,i=e+5;t.addEventListener(c,function e(){n=!0,t.removeEventListener(c,e)}),setTimeout(function(){n||g(t)},i)},m=function(t,e,n){Object.keys(n).forEach(function(i){var o,r=n[i],s=e[i],a=s&&_(s)?"element":(o=s,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')})},v=function(t){return t?[].slice.call(t):[]},y=function(t){return!!t&&(!!(t.style&&t.parentNode&&t.parentNode.style)&&("none"!==t.style.display&&"none"!==t.parentNode.style.display&&"hidden"!==t.style.visibility))},E=function(){return function(){}},b=function(t){return t.offsetHeight},D=(s={},a=1,{set:function(t,e,n){"undefined"==typeof t.key&&(t.key={key:e,id:a},a++),s[t.key.id]=n},get:function(t,e){if(!t||"undefined"==typeof t.key)return null;var n=t.key;return n.key===e?s[n.id]:null},delete:function(t,e){if("undefined"!=typeof t.key){var n=t.key;n.key===e&&(delete s[n.id],delete t.key)}}}),T={setData:function(t,e,n){D.set(t,e,n)},getData:function(t,e){return D.get(t,e)},removeData:function(t,e){D.delete(t,e)}},I=Element.prototype,A=I.matches,S=I.closest,w=Element.prototype.querySelectorAll,O=Element.prototype.querySelector,L=function(t,e){return new CustomEvent(t,e)};if("function"!=typeof window.CustomEvent&&(L=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}),!((l=document.createEvent("CustomEvent")).initEvent("Bootstrap",!0,!0),l.preventDefault(),l.defaultPrevented)){var C=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(C.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var N=function(){var t=L("Bootstrap",{cancelable:!0}),e=document.createElement("div");return e.addEventListener("Bootstrap",function(){return null}),t.preventDefault(),e.dispatchEvent(t),t.defaultPrevented}();A||(A=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),S||(S=function(t){var e=this;do{if(A.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var k=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(w=function(t){if(!k.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=f("scope"));var n=null;try{t=t.replace(k,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},O=function(t){if(!k.test(t))return this.querySelector(t);var e=w.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var P=/[^.]*(?=\..*)\.|.*/,H=/\..*/,j=/^key/,M=/::\d+$/,R={},W=1,x={mouseenter:"mouseover",mouseleave:"mouseout"},U=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function K(t,e){return e&&e+"::"+W++||t.uidEvent||W++}function V(t){var e=K(t);return t.uidEvent=e,R[e]=R[e]||{},R[e]}function B(t,e){null===t.which&&j.test(t.type)&&(t.which=null===t.charCode?t.keyCode:t.charCode),t.delegateTarget=e}function F(t,e,n){void 0===n&&(n=null);for(var i=Object.keys(t),o=0,r=i.length;o<r;o++){var s=t[i[o]];if(s.originalHandler===e&&s.delegationSelector===n)return s}return null}function Q(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(H,""),s=x[r];return s&&(r=s),U.indexOf(r)>-1||(r=t),[i,o,r]}function Y(t,e,n,i,o){if("string"==typeof e&&t){n||(n=i,i=null);var r=Q(e,n,i),s=r[0],a=r[1],l=r[2],c=V(t),u=c[l]||(c[l]={}),f=F(u,a,s?n:null);if(f)f.oneOff=f.oneOff&&o;else{var h=K(a,e.replace(P,"")),d=s?function(t,e,n){return function i(o){for(var r=t.querySelectorAll(e),s=o.target;s&&s!==this;s=s.parentNode)for(var a=r.length;a--;)if(r[a]===s)return B(o,s),i.oneOff&&X.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return B(i,t),n.oneOff&&X.off(t,i.type,e),e.apply(t,[i])}}(t,n);d.delegationSelector=s?n:null,d.originalHandler=a,d.oneOff=o,d.uidEvent=h,u[h]=d,t.addEventListener(l,d,s)}}}function G(t,e,n,i,o){var r=F(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var X={on:function(t,e,n,i){Y(t,e,n,i,!1)},one:function(t,e,n,i){Y(t,e,n,i,!0)},off:function(t,e,n,i){if("string"==typeof e&&t){var o=Q(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=V(t),u="."===e.charAt(0);if("undefined"==typeof s){u&&Object.keys(c).forEach(function(n){!function(t,e,n,i){var o=e[n]||{};Object.keys(o).forEach(function(r){if(r.indexOf(i)>-1){var s=o[r];G(t,e,n,s.originalHandler,s.delegationSelector)}})}(t,c,n,e.substr(1))});var f=c[a]||{};Object.keys(f).forEach(function(n){var i=n.replace(M,"");if(!l||e.indexOf(i)>-1){var o=f[n];G(t,c,a,o.originalHandler,o.delegationSelector)}})}else{if(!c||!c[a])return;G(t,c,a,s,r?n:null)}}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=e.replace(H,""),r=e!==o,s=U.indexOf(o)>-1,a=!0,l=!0,c=!1,f=null;return r&&"undefined"!=typeof u&&(i=u.Event(e,n),u(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents")).initEvent(o,a,!0):f=L(e,{bubbles:a,cancelable:!0}),"undefined"!=typeof n&&Object.keys(n).forEach(function(t){Object.defineProperty(f,t,{get:function(){return n[t]}})}),c&&(f.preventDefault(),N||Object.defineProperty(f,"defaultPrevented",{get:function(){return!0}})),l&&t.dispatchEvent(f),f.defaultPrevented&&"undefined"!=typeof i&&i.preventDefault(),f}},z={matches:function(t,e){return A.call(t,e)},find:function(t,e){return void 0===e&&(e=document.documentElement),w.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),O.call(e,t)},children:function(t,e){var n=this,i=v(t.children);return i.filter(function(t){return n.matches(t,e)})},parents:function(t,e){for(var n=[],i=t.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},closest:function(t,e){return S.call(t,e)},prev:function(t,e){for(var n=[],i=t.previousSibling;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.previousSibling;return n}},q="bs.alert",Z="."+q,$={CLOSE:"close"+Z,CLOSED:"closed"+Z,CLICK_DATA_API:"click"+Z+".data-api"},J="alert",tt="fade",et="show",nt=function(){function t(t){this._element=t,this._element&&T.setData(t,q,this)}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},e.dispose=function(){T.removeData(this._element,q),this._element=null},e._getRootElement=function(t){var e=h(t),n=!1;return e&&(n=z.findOne(e)),n||(n=z.closest(t,"."+J)),n},e._triggerCloseEvent=function(t){return X.trigger(t,$.CLOSE)},e._removeElement=function(t){var e=this;if(t.classList.remove(et),t.classList.contains(tt)){var n=d(t);X.one(t,c,function(){return e._destroyElement(t)}),p(t,n)}else this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),X.trigger(t,$.CLOSED)},t._jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,q);n||(n=new t(this)),"close"===e&&n[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},t._getInstance=function(t){return T.getData(t,q)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(X.on(document,$.CLICK_DATA_API,'[data-dismiss="alert"]',nt._handleDismiss(new nt)),"undefined"!=typeof u){var it=u.fn.alert;u.fn.alert=nt._jQueryInterface,u.fn.alert.Constructor=nt,u.fn.alert.noConflict=function(){return u.fn.alert=it,nt._jQueryInterface}}var ot="bs.button",rt="."+ot,st="active",at="btn",lt="focus",ct='[data-toggle^="button"]',ut='[data-toggle="buttons"]',ft='input:not([type="hidden"])',ht=".active",dt=".btn",gt={CLICK_DATA_API:"click"+rt+".data-api",FOCUS_DATA_API:"focus"+rt+".data-api",BLUR_DATA_API:"blur"+rt+".data-api"},_t=function(){function t(t){this._element=t,T.setData(t,ot,this)}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=z.closest(this._element,ut);if(n){var i=z.findOne(ft,this._element);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(st))t=!1;else{var o=z.findOne(ht,n);o&&o.classList.remove(st)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(st),X.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(st)),t&&this._element.classList.toggle(st)},e.dispose=function(){T.removeData(this._element,ot),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,ot);n||(n=new t(this)),"toggle"===e&&n[e]()})},t._getInstance=function(t){return T.getData(t,ot)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(X.on(document,gt.CLICK_DATA_API,ct,function(t){t.preventDefault();var e=t.target;e.classList.contains(at)||(e=z.closest(e,dt));var n=T.getData(e,ot);n||(n=new _t(e)),n.toggle()}),X.on(document,gt.FOCUS_DATA_API,ct,function(t){var e=z.closest(t.target,dt);e&&e.classList.add(lt)}),X.on(document,gt.BLUR_DATA_API,ct,function(t){var e=z.closest(t.target,dt);e&&e.classList.remove(lt)}),"undefined"!=typeof u){var pt=u.fn.button;u.fn.button=_t._jQueryInterface,u.fn.button.Constructor=_t,u.fn.button.noConflict=function(){return u.fn.button=pt,_t._jQueryInterface}}function mt(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function vt(t){return t.replace(/[A-Z]/g,function(t){return t.toLowerCase()})}var yt={setDataAttribute:function(t,e,n){t.setAttribute("data-"+vt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+vt(e))},getDataAttributes:function(t){if(!t)return{};var e=r({},t.dataset);return Object.keys(e).forEach(function(t){e[t]=mt(e[t])}),e},getDataAttribute:function(t,e){return mt(t.getAttribute("data-"+vt(e)))},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:function(t){return{top:t.offsetTop,left:t.offsetLeft}},toggleClass:function(t,e){t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))}},Et="carousel",bt="bs.carousel",Dt="."+bt,Tt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},It={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},At="next",St="prev",wt="left",Ot="right",Lt={SLIDE:"slide"+Dt,SLID:"slid"+Dt,KEYDOWN:"keydown"+Dt,MOUSEENTER:"mouseenter"+Dt,MOUSELEAVE:"mouseleave"+Dt,TOUCHSTART:"touchstart"+Dt,TOUCHMOVE:"touchmove"+Dt,TOUCHEND:"touchend"+Dt,POINTERDOWN:"pointerdown"+Dt,POINTERUP:"pointerup"+Dt,DRAG_START:"dragstart"+Dt,LOAD_DATA_API:"load"+Dt+".data-api",CLICK_DATA_API:"click"+Dt+".data-api"},Ct="carousel",Nt="active",kt="slide",Pt="carousel-item-right",Ht="carousel-item-left",jt="carousel-item-next",Mt="carousel-item-prev",Rt="pointer-event",Wt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},xt={TOUCH:"touch",PEN:"pen"},Ut=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=z.findOne(Wt.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),T.setData(t,bt,this)}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(At)},e.nextWhenVisible=function(){!document.hidden&&y(this._element)&&this.next()},e.prev=function(){this._isSliding||this._slide(St)},e.pause=function(t){t||(this._isPaused=!0),z.findOne(Wt.NEXT_PREV,this._element)&&(g(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=z.findOne(Wt.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)X.one(this._element,Lt.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?At:St;this._slide(i,this._items[t])}},e.dispose=function(){X.off(this._element,Dt),T.removeData(this._element,bt),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},Tt,{},t),m(Et,t,It),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&X.on(this._element,Lt.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(X.on(this._element,Lt.MOUSEENTER,function(e){return t.pause(e)}),X.on(this._element,Lt.MOUSELEAVE,function(e){return t.cycle(e)})),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&xt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&xt[e.pointerType.toUpperCase()]&&(t.touchDeltaX=e.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};v(z.find(Wt.ITEM_IMG,this._element)).forEach(function(t){X.on(t,Lt.DRAG_START,function(t){return t.preventDefault()})}),this._pointerEvent?(X.on(this._element,Lt.POINTERDOWN,function(t){return e(t)}),X.on(this._element,Lt.POINTERUP,function(t){return n(t)}),this._element.classList.add(Rt)):(X.on(this._element,Lt.TOUCHSTART,function(t){return e(t)}),X.on(this._element,Lt.TOUCHMOVE,function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)}),X.on(this._element,Lt.TOUCHEND,function(t){return n(t)}))},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?v(z.find(Wt.ITEM,t.parentNode)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===At,i=t===St,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===St?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(z.findOne(Wt.ACTIVE_ITEM,this._element));return X.trigger(this._element,Lt.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=z.find(Wt.ACTIVE,this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(Nt);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(Nt)}},e._slide=function(t,e){var n,i,o,r=this,s=z.findOne(Wt.ACTIVE_ITEM,this._element),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(l),f=Boolean(this._interval);if(t===At?(n=Ht,i=jt,o=wt):(n=Pt,i=Mt,o=Ot),l&&l.classList.contains(Nt))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).defaultPrevented&&s&&l){if(this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(l),this._element.classList.contains(kt)){l.classList.add(i),b(l),s.classList.add(n),l.classList.add(n);var h=parseInt(l.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var g=d(s);X.one(s,c,function(){l.classList.remove(n),l.classList.remove(i),l.classList.add(Nt),s.classList.remove(Nt),s.classList.remove(i),s.classList.remove(n),r._isSliding=!1,setTimeout(function(){X.trigger(r._element,Lt.SLID,{relatedTarget:l,direction:o,from:a,to:u})},0)}),p(s,g)}else s.classList.remove(Nt),l.classList.add(Nt),this._isSliding=!1,X.trigger(this._element,Lt.SLID,{relatedTarget:l,direction:o,from:a,to:u});f&&this.cycle()}},t._carouselInterface=function(e,n){var i=T.getData(e,bt),o=r({},Tt,{},yt.getDataAttributes(e));"object"==typeof n&&(o=r({},o,{},n));var s="string"==typeof n?n:o.slide;if(i||(i=new t(e,o)),"number"==typeof n)i.to(n);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&o.ride&&(i.pause(),i.cycle())},t._jQueryInterface=function(e){return this.each(function(){t._carouselInterface(this,e)})},t._dataApiClickHandler=function(e){var n=h(this);if(n){var i=z.findOne(n);if(i&&i.classList.contains(Ct)){var o=r({},yt.getDataAttributes(i),{},yt.getDataAttributes(this)),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),t._carouselInterface(i,o),s&&T.getData(i,bt).to(s),e.preventDefault()}}},t._getInstance=function(t){return T.getData(t,bt)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Tt}}]),t}();if(X.on(document,Lt.CLICK_DATA_API,Wt.DATA_SLIDE,Ut._dataApiClickHandler),X.on(window,Lt.LOAD_DATA_API,function(){for(var t=v(z.find(Wt.DATA_RIDE)),e=0,n=t.length;e<n;e++)Ut._carouselInterface(t[e],T.getData(t[e],bt))}),"undefined"!=typeof u){var Kt=u.fn[Et];u.fn[Et]=Ut._jQueryInterface,u.fn[Et].Constructor=Ut,u.fn[Et].noConflict=function(){return u.fn[Et]=Kt,Ut._jQueryInterface}}var Vt="collapse",Bt="bs.collapse",Ft="."+Bt,Qt={toggle:!0,parent:""},Yt={toggle:"boolean",parent:"(string|element)"},Gt={SHOW:"show"+Ft,SHOWN:"shown"+Ft,HIDE:"hide"+Ft,HIDDEN:"hidden"+Ft,CLICK_DATA_API:"click"+Ft+".data-api"},Xt="show",zt="collapse",qt="collapsing",Zt="collapsed",$t="width",Jt="height",te={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ee=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=v(z.find('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=v(z.find(te.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=h(r),a=v(z.find(s)).filter(function(e){return e===t});null!==s&&a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle(),T.setData(t,Bt,this)}var e=t.prototype;return e.toggle=function(){this._element.classList.contains(Xt)?this.hide():this.show()},e.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Xt)){var n,i;this._parent&&0===(n=v(z.find(te.ACTIVES,this._parent)).filter(function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(zt)})).length&&(n=null);var o=z.findOne(this._selector);if(n){var r=n.filter(function(t){return o!==t});if((i=r[0]?T.getData(r[0],Bt):null)&&i._isTransitioning)return}if(!X.trigger(this._element,Gt.SHOW).defaultPrevented){n&&n.forEach(function(e){o!==e&&t._collapseInterface(e,"hide"),i||T.setData(e,Bt,null)});var s=this._getDimension();this._element.classList.remove(zt),this._element.classList.add(qt),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(function(t){t.classList.remove(Zt),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=d(this._element);X.one(this._element,c,function(){e._element.classList.remove(qt),e._element.classList.add(zt),e._element.classList.add(Xt),e._element.style[s]="",e.setTransitioning(!1),X.trigger(e._element,Gt.SHOWN)}),p(this._element,l),this._element.style[s]=this._element[a]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Xt)&&!X.trigger(this._element,Gt.HIDE).defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",b(this._element),this._element.classList.add(qt),this._element.classList.remove(zt),this._element.classList.remove(Xt);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=h(o);if(null!==r)z.findOne(r).classList.contains(Xt)||(o.classList.add(Zt),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=d(this._element);X.one(this._element,c,function(){t.setTransitioning(!1),t._element.classList.remove(qt),t._element.classList.add(zt),X.trigger(t._element,Gt.HIDDEN)}),p(this._element,s)}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){T.removeData(this._element,Bt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=r({},Qt,{},t)).toggle=Boolean(t.toggle),m(Vt,t,Yt),t},e._getDimension=function(){return this._element.classList.contains($t)?$t:Jt},e._getParent=function(){var t=this,e=this._config.parent;_(e)?"undefined"==typeof e.jquery&&"undefined"==typeof e[0]||(e=e[0]):e=z.findOne(e);var n='[data-toggle="collapse"][data-parent="'+e+'"]';return v(z.find(n,e)).forEach(function(e){var n=h(e),i=n?z.findOne(n):null;t._addAriaAndCollapsedClass(i,[e])}),e},e._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(Xt);e.length&&e.forEach(function(t){n?t.classList.remove(Zt):t.classList.add(Zt),t.setAttribute("aria-expanded",n)})}},t._collapseInterface=function(e,n){var i=T.getData(e,Bt),o=r({},Qt,{},yt.getDataAttributes(e),{},"object"==typeof n&&n?n:{});if(!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||(i=new t(e,o)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},t._jQueryInterface=function(e){return this.each(function(){t._collapseInterface(this,e)})},t._getInstance=function(t){return T.getData(t,Bt)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Qt}}]),t}();if(X.on(document,Gt.CLICK_DATA_API,te.DATA_TOGGLE,function(t){"A"===t.target.tagName&&t.preventDefault();var e=yt.getDataAttributes(this),n=h(this);v(z.find(n)).forEach(function(t){var n,i=T.getData(t,Bt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,ee._collapseInterface(t,n)})}),"undefined"!=typeof u){var ne=u.fn[Vt];u.fn[Vt]=ee._jQueryInterface,u.fn[Vt].Constructor=ee,u.fn[Vt].noConflict=function(){return u.fn[Vt]=ne,ee._jQueryInterface}}var ie="dropdown",oe="bs.dropdown",re="."+oe,se=new RegExp("38|40|27"),ae={HIDE:"hide"+re,HIDDEN:"hidden"+re,SHOW:"show"+re,SHOWN:"shown"+re,CLICK:"click"+re,CLICK_DATA_API:"click"+re+".data-api",KEYDOWN_DATA_API:"keydown"+re+".data-api",KEYUP_DATA_API:"keyup"+re+".data-api"},le="disabled",ce="show",ue="dropup",fe="dropright",he="dropleft",de="dropdown-menu-right",ge="position-static",_e='[data-toggle="dropdown"]',pe=".dropdown form",me=".dropdown-menu",ve=".navbar-nav",ye=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ee="top-start",be="top-end",De="bottom-start",Te="bottom-end",Ie="right-start",Ae="left-start",Se={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},we={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Oe=function(){function e(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),T.setData(t,oe,this)}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(le)){var n=e._getParentFromElement(this._element),i=this._menu.classList.contains(ce);if(e._clearMenus(),!i){var o={relatedTarget:this._element};if(!X.trigger(n,ae.SHOW,o).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=n:_(this._config.reference)&&(r=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n.classList.add(ge),this._popper=new t(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!v(z.closest(n,ve)).length&&v(document.body.children).forEach(function(t){return X.on(t,"mouseover",null,function(){})}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),yt.toggleClass(this._menu,ce),yt.toggleClass(n,ce),X.trigger(n,ae.SHOWN,o)}}}},i.show=function(){if(!(this._element.disabled||this._element.classList.contains(le)||this._menu.classList.contains(ce))){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};X.trigger(t,ae.SHOW,n).defaultPrevented||(yt.toggleClass(this._menu,ce),yt.toggleClass(t,ce),X.trigger(t,ae.SHOWN,n))}},i.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(le)&&this._menu.classList.contains(ce)){var t=e._getParentFromElement(this._element),n={relatedTarget:this._element};X.trigger(t,ae.HIDE,n).defaultPrevented||(yt.toggleClass(this._menu,ce),yt.toggleClass(t,ce),X.trigger(t,ae.HIDDEN,n))}},i.dispose=function(){T.removeData(this._element,oe),X.off(this._element,re),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;X.on(this._element,ae.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=r({},this.constructor.Default,{},yt.getDataAttributes(this._element),{},t),m(ie,t,this.constructor.DefaultType),t},i._getMenuElement=function(){var t=e._getParentFromElement(this._element);return z.findOne(me,t)},i._getPlacement=function(){var t=this._element.parentNode,e=De;return t.classList.contains(ue)?(e=Ee,this._menu.classList.contains(de)&&(e=be)):t.classList.contains(fe)?e=Ie:t.classList.contains(he)?e=Ae:this._menu.classList.contains(de)&&(e=Te),e},i._detectNavbar=function(){return Boolean(z.closest(this._element,".navbar"))},i._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,{},t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},i._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},e._dropdownInterface=function(t,n){var i=T.getData(t,oe);if(i||(i=new e(t,"object"==typeof n?n:null)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}},e._jQueryInterface=function(t){return this.each(function(){e._dropdownInterface(this,t)})},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=v(z.find(_e)),i=0,o=n.length;i<o;i++){var r=e._getParentFromElement(n[i]),s=T.getData(n[i],oe),a={relatedTarget:n[i]};if(t&&"click"===t.type&&(a.clickEvent=t),s){var l=s._menu;if(r.classList.contains(ce))if(!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&r.contains(t.target)))X.trigger(r,ae.HIDE,a).defaultPrevented||("ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){return X.off(t,"mouseover",null,function(){})}),n[i].setAttribute("aria-expanded","false"),l.classList.remove(ce),r.classList.remove(ce),X.trigger(r,ae.HIDDEN,a))}}},e._getParentFromElement=function(t){var e,n=h(t);return n&&(e=z.findOne(n)),e||t.parentNode},e._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||z.closest(t.target,me))):se.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(le))){var n=e._getParentFromElement(this),i=n.classList.contains(ce);if(!i||i&&(27===t.which||32===t.which))return 27===t.which&&z.findOne(_e,n).focus(),void e._clearMenus();var o=v(z.find(ye,n));if(o.length){var r=o.indexOf(t.target);38===t.which&&r>0&&r--,40===t.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}},e._getInstance=function(t){return T.getData(t,oe)},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Se}},{key:"DefaultType",get:function(){return we}}]),e}();if(X.on(document,ae.KEYDOWN_DATA_API,_e,Oe._dataApiKeydownHandler),X.on(document,ae.KEYDOWN_DATA_API,me,Oe._dataApiKeydownHandler),X.on(document,ae.CLICK_DATA_API,Oe._clearMenus),X.on(document,ae.KEYUP_DATA_API,Oe._clearMenus),X.on(document,ae.CLICK_DATA_API,_e,function(t){t.preventDefault(),t.stopPropagation(),Oe._dropdownInterface(this,"toggle")}),X.on(document,ae.CLICK_DATA_API,pe,function(t){return t.stopPropagation()}),"undefined"!=typeof u){var Le=u.fn[ie];u.fn[ie]=Oe._jQueryInterface,u.fn[ie].Constructor=Oe,u.fn[ie].noConflict=function(){return u.fn[ie]=Le,Oe._jQueryInterface}}var Ce="bs.modal",Ne="."+Ce,ke={backdrop:!0,keyboard:!0,focus:!0,show:!0},Pe={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},He={HIDE:"hide"+Ne,HIDDEN:"hidden"+Ne,SHOW:"show"+Ne,SHOWN:"shown"+Ne,FOCUSIN:"focusin"+Ne,RESIZE:"resize"+Ne,CLICK_DISMISS:"click.dismiss"+Ne,KEYDOWN_DISMISS:"keydown.dismiss"+Ne,MOUSEUP_DISMISS:"mouseup.dismiss"+Ne,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Ne,CLICK_DATA_API:"click"+Ne+".data-api"},je="modal-dialog-scrollable",Me="modal-scrollbar-measure",Re="modal-backdrop",We="modal-open",xe="fade",Ue="show",Ke={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},Ve=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=z.findOne(Ke.DIALOG,t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,T.setData(t,Ce,this)}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(xe)&&(this._isTransitioning=!0);var n=X.trigger(this._element,He.SHOW,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),X.on(this._element,He.CLICK_DISMISS,Ke.DATA_DISMISS,function(t){return e.hide(t)}),X.on(this._dialog,He.MOUSEDOWN_DISMISS,function(){X.one(e._element,He.MOUSEUP_DISMISS,function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if((t&&t.preventDefault(),this._isShown&&!this._isTransitioning)&&!X.trigger(this._element,He.HIDE).defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(xe);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),X.off(document,He.FOCUSIN),this._element.classList.remove(Ue),X.off(this._element,He.CLICK_DISMISS),X.off(this._dialog,He.MOUSEDOWN_DISMISS),n){var i=d(this._element);X.one(this._element,c,function(t){return e._hideModal(t)}),p(this._element,i)}else this._hideModal()}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return X.off(t,Ne)}),X.off(document,He.FOCUSIN),T.removeData(this._element,Ce),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=r({},ke,{},t),m("modal",t,Pe),t},e._showElement=function(t){var e=this,n=this._element.classList.contains(xe);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.setAttribute("aria-modal",!0),this._dialog.classList.contains(je)?z.findOne(Ke.MODAL_BODY,this._dialog).scrollTop=0:this._element.scrollTop=0,n&&b(this._element),this._element.classList.add(Ue),this._config.focus&&this._enforceFocus();var i=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,X.trigger(e._element,He.SHOWN,{relatedTarget:t})};if(n){var o=d(this._dialog);X.one(this._dialog,c,i),p(this._dialog,o)}else i()},e._enforceFocus=function(){var t=this;X.off(document,He.FOCUSIN),X.on(document,He.FOCUSIN,function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?X.on(this._element,He.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):X.off(this._element,He.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?X.on(window,He.RESIZE,function(){return t._adjustDialog()}):X.off(window,He.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){document.body.classList.remove(We),t._resetAdjustments(),t._resetScrollbar(),X.trigger(t._element,He.HIDDEN)})},e._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},e._showBackdrop=function(t){var e=this,n=this._element.classList.contains(xe)?xe:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Re,n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),X.on(this._element,He.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&b(this._backdrop),this._backdrop.classList.add(Ue),!n)return void t();var i=d(this._backdrop);X.one(this._backdrop,c,t),p(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(Ue);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(xe)){var r=d(this._backdrop);X.one(this._backdrop,c,o),p(this._backdrop,r)}else o()}else t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){v(z.find(Ke.FIXED_CONTENT)).forEach(function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];yt.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"}),v(z.find(Ke.STICKY_CONTENT)).forEach(function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];yt.setDataAttribute(e,"margin-right",n),e.style.marginRight=parseFloat(i)-t._scrollbarWidth+"px"});var e=document.body.style.paddingRight,n=window.getComputedStyle(document.body)["padding-right"];yt.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(We)},e._resetScrollbar=function(){v(z.find(Ke.FIXED_CONTENT)).forEach(function(t){var e=yt.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(yt.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)}),v(z.find(""+Ke.STICKY_CONTENT)).forEach(function(t){var e=yt.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(yt.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)});var t=yt.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(yt.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Me,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each(function(){var i=T.getData(this,Ce),o=r({},ke,{},yt.getDataAttributes(this),{},"object"==typeof e&&e?e:{});if(i||(i=new t(this,o)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else o.show&&i.show(n)})},t._getInstance=function(t){return T.getData(t,Ce)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ke}}]),t}();if(X.on(document,He.CLICK_DATA_API,Ke.DATA_TOGGLE,function(t){var e=this,n=h(this),i=z.findOne(n);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),X.one(i,He.SHOW,function(t){t.defaultPrevented||X.one(i,He.HIDDEN,function(){y(e)&&e.focus()})});var o=T.getData(i,Ce);if(!o){var s=r({},yt.getDataAttributes(i),{},yt.getDataAttributes(this));o=new Ve(i,s)}o.show(this)}),"undefined"!=typeof u){var Be=u.fn.modal;u.fn.modal=Ve._jQueryInterface,u.fn.modal.Constructor=Ve,u.fn.modal.noConflict=function(){return u.fn.modal=Be,Ve._jQueryInterface}}var Fe=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Qe=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Ge=function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Fe.indexOf(n)||Boolean(t.nodeValue.match(Qe)||t.nodeValue.match(Ye));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1},Xe={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function ze(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=v(i.body.querySelectorAll("*")),s=function(t,n){var i=r[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(s))return i.parentNode.removeChild(i),"continue";var a=v(i.attributes),l=[].concat(e["*"]||[],e[s]||[]);a.forEach(function(t){Ge(t,l)||i.removeAttribute(t.nodeName)})},a=0,l=r.length;a<l;a++)s(a);return i.body.innerHTML}var qe="tooltip",Ze=new RegExp("(^|\\s)bs-tooltip\\S+","g"),$e=["sanitize","whiteList","sanitizeFn"],Je={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},tn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},en={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-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",sanitize:!0,sanitizeFn:null,whiteList:Xe},nn="show",on="out",rn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},sn="fade",an="show",ln=".tooltip-inner",cn="hover",un="focus",fn="click",hn="manual",dn=function(){function e(e,n){if("undefined"==typeof t)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(n),this.tip=null,this._setListeners(),T.setData(e,this.constructor.DATA_KEY,this)}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=T.getData(t.delegateTarget,e);n||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),T.setData(t.delegateTarget,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(an))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),T.removeData(this.element,this.constructor.DATA_KEY),X.off(this.element,this.constructor.EVENT_KEY),X.off(z.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),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},i.show=function(){var e=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var n=X.trigger(this.element,this.constructor.Event.SHOW),i=function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?t(e.parentNode):null}(this.element),o=null===i?this.element.ownerDocument.documentElement.contains(this.element):i.contains(this.element);if(n.defaultPrevented||!o)return;var r=this.getTipElement(),s=f(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&r.classList.add(sn);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(a);this._addAttachmentClass(l);var u=this._getContainer();T.setData(r,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||u.appendChild(r),X.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new t(this.element,r,{placement:l,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:"."+this.constructor.NAME+"-arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),r.classList.add(an),"ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){X.on(t,"mouseover",function(){})});var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,X.trigger(e.element,e.constructor.Event.SHOWN),t===on&&e._leave(null,e)};if(this.tip.classList.contains(sn)){var g=d(this.tip);X.one(this.tip,c,h),p(this.tip,g)}else h()}},i.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==nn&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),X.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!X.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(e.classList.remove(an),"ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){return X.off(t,"mouseover",E)}),this._activeTrigger[fn]=!1,this._activeTrigger[un]=!1,this._activeTrigger[cn]=!1,this.tip.classList.contains(sn)){var i=d(e);X.one(e,c,n),p(e,i)}else n();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(z.findOne(ln,t),this.getTitle()),t.classList.remove(sn),t.classList.remove(an)},i.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&_(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=ze(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},i.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},i._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},i._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},i._getContainer=function(){return!1===this.config.container?document.body:_(this.config.container)?this.config.container:z.findOne(this.config.container)},i._getAttachment=function(t){return tn[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)X.on(t.element,t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==hn){var n=e===cn?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===cn?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;X.on(t.element,n,t.config.selector,function(e){return t._enter(e)}),X.on(t.element,i,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},X.on(z.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||T.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),T.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?un:cn]=!0),e.getTipElement().classList.contains(an)||e._hoverState===nn?e._hoverState=nn:(clearTimeout(e._timeout),e._hoverState=nn,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===nn&&e.show()},e.config.delay.show):e.show())},i._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||T.getData(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),T.setData(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?un:cn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=on,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===on&&e.hide()},e.config.delay.hide):e.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var e=yt.getDataAttributes(this.element);return Object.keys(e).forEach(function(t){-1!==$e.indexOf(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=r({},this.constructor.Default,{},e,{},"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m(qe,t,this.constructor.DefaultType),t.sanitize&&(t.template=ze(t.template,t.whiteList,t.sanitizeFn)),t},i._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},i._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ze);null!==e&&e.length&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(sn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},e._jQueryInterface=function(t){return this.each(function(){var n=T.getData(this,"bs.tooltip"),i="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,i)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},e._getInstance=function(t){return T.getData(t,"bs.tooltip")},n(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return en}},{key:"NAME",get:function(){return qe}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return rn}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Je}}]),e}();if("undefined"!=typeof u){var gn=u.fn.tooltip;u.fn.tooltip=dn._jQueryInterface,u.fn.tooltip.Constructor=dn,u.fn.tooltip.noConflict=function(){return u.fn.tooltip=gn,dn._jQueryInterface}}var _n="popover",pn=new RegExp("(^|\\s)bs-popover\\S+","g"),mn=r({},dn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),vn=r({},dn.DefaultType,{content:"(string|element|function)"}),yn="fade",En="show",bn=".popover-header",Dn=".popover-body",Tn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},In=function(t){var e,i;function o(){return t.apply(this,arguments)||this}i=t,(e=o).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r.setContent=function(){var t=this.getTipElement();this.setElementContent(z.findOne(bn,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(z.findOne(Dn,t),e),t.classList.remove(yn),t.classList.remove(En)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(pn);null!==e&&e.length>0&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},o._jQueryInterface=function(t){return this.each(function(){var e=T.getData(this,"bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),T.setData(this,"bs.popover",e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},o._getInstance=function(t){return T.getData(t,"bs.popover")},n(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return mn}},{key:"NAME",get:function(){return _n}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Tn}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return vn}}]),o}(dn);if("undefined"!=typeof u){var An=u.fn.popover;u.fn.popover=In._jQueryInterface,u.fn.popover.Constructor=In,u.fn.popover.noConflict=function(){return u.fn.popover=An,In._jQueryInterface}}var Sn="scrollspy",wn="bs.scrollspy",On="."+wn,Ln={offset:10,method:"auto",target:""},Cn={offset:"number",method:"string",target:"(string|element)"},Nn={ACTIVATE:"activate"+On,SCROLL:"scroll"+On,LOAD_DATA_API:"load"+On+".data-api"},kn={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},Pn={DATA_SPY:'[data-spy="scroll"]',NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_TOGGLE:".dropdown-toggle"},Hn="offset",jn="position",Mn=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Pn.NAV_LINKS+","+this._config.target+" "+Pn.LIST_ITEMS+","+this._config.target+" ."+kn.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,X.on(this._scrollElement,Nn.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process(),T.setData(t,wn,this)}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Hn:jn,n="auto"===this._config.method?e:this._config.method,i=n===jn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),v(z.find(this._selector)).map(function(t){var e,o=h(t);if(o&&(e=z.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[yt[n](e).top+i,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){T.removeData(this._element,wn),X.off(this._scrollElement,On),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(t){if("string"!=typeof(t=r({},Ln,{},"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=f(Sn),t.target.id=e),t.target="#"+e}return m(Sn,t,Cn),t},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,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=z.findOne(e.join(","));n.classList.contains(kn.DROPDOWN_ITEM)?(z.findOne(Pn.DROPDOWN_TOGGLE,z.closest(n,Pn.DROPDOWN)).classList.add(kn.ACTIVE),n.classList.add(kn.ACTIVE)):(n.classList.add(kn.ACTIVE),z.parents(n,Pn.NAV_LIST_GROUP).forEach(function(t){z.prev(t,Pn.NAV_LINKS+", "+Pn.LIST_ITEMS).forEach(function(t){return t.classList.add(kn.ACTIVE)}),z.prev(t,Pn.NAV_ITEMS).forEach(function(t){z.children(t,Pn.NAV_LINKS).forEach(function(t){return t.classList.add(kn.ACTIVE)})})})),X.trigger(this._scrollElement,Nn.ACTIVATE,{relatedTarget:t})},e._clear=function(){v(z.find(this._selector)).filter(function(t){return t.classList.contains(kn.ACTIVE)}).forEach(function(t){return t.classList.remove(kn.ACTIVE)})},t._jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,wn);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._getInstance=function(t){return T.getData(t,wn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ln}}]),t}();if(X.on(window,Nn.LOAD_DATA_API,function(){v(z.find(Pn.DATA_SPY)).forEach(function(t){return new Mn(t,yt.getDataAttributes(t))})}),"undefined"!=typeof u){var Rn=u.fn[Sn];u.fn[Sn]=Mn._jQueryInterface,u.fn[Sn].Constructor=Mn,u.fn[Sn].noConflict=function(){return u.fn[Sn]=Rn,Mn._jQueryInterface}}var Wn="bs.tab",xn="."+Wn,Un={HIDE:"hide"+xn,HIDDEN:"hidden"+xn,SHOW:"show"+xn,SHOWN:"shown"+xn,CLICK_DATA_API:"click"+xn+".data-api"},Kn="dropdown-menu",Vn="active",Bn="disabled",Fn="fade",Qn="show",Yn=".dropdown",Gn=".nav, .list-group",Xn=".active",zn=":scope > li > .active",qn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Zn=".dropdown-toggle",$n=":scope > .dropdown-menu .active",Jn=function(){function t(t){this._element=t,T.setData(this._element,Wn,this)}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Vn)||this._element.classList.contains(Bn))){var e,n,i=z.closest(this._element,Gn),o=h(this._element);if(i){var r="UL"===i.nodeName||"OL"===i.nodeName?zn:Xn;n=(n=v(z.find(r,i)))[n.length-1]}var s=null;if(n&&(s=X.trigger(n,Un.HIDE,{relatedTarget:this._element})),!(X.trigger(this._element,Un.SHOW,{relatedTarget:n}).defaultPrevented||null!==s&&s.defaultPrevented)){o&&(e=z.findOne(o)),this._activate(this._element,i);var a=function(){X.trigger(n,Un.HIDDEN,{relatedTarget:t._element}),X.trigger(t._element,Un.SHOWN,{relatedTarget:n})};e?this._activate(e,e.parentNode,a):a()}}},e.dispose=function(){T.removeData(this._element,Wn),this._element=null},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?z.children(e,Xn):z.find(zn,e))[0],r=n&&o&&o.classList.contains(Fn),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=d(o);o.classList.remove(Qn),X.one(o,c,s),p(o,a)}else s()},e._transitionComplete=function(t,e,n){if(e){e.classList.remove(Vn);var i=z.findOne($n,e.parentNode);i&&i.classList.remove(Vn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(Vn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),b(t),t.classList.contains(Fn)&&t.classList.add(Qn),t.parentNode&&t.parentNode.classList.contains(Kn))&&(z.closest(t,Yn)&&v(z.find(Zn)).forEach(function(t){return t.classList.add(Vn)}),t.setAttribute("aria-expanded",!0));n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,Wn)||new t(this);if("string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._getInstance=function(t){return T.getData(t,Wn)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();if(X.on(document,Un.CLICK_DATA_API,qn,function(t){t.preventDefault(),(T.getData(this,Wn)||new Jn(this)).show()}),"undefined"!=typeof u){var ti=u.fn.tab;u.fn.tab=Jn._jQueryInterface,u.fn.tab.Constructor=Jn,u.fn.tab.noConflict=function(){return u.fn.tab=ti,Jn._jQueryInterface}}var ei="bs.toast",ni="."+ei,ii={CLICK_DISMISS:"click.dismiss"+ni,HIDE:"hide"+ni,HIDDEN:"hidden"+ni,SHOW:"show"+ni,SHOWN:"shown"+ni},oi="fade",ri="hide",si="show",ai="showing",li={animation:"boolean",autohide:"boolean",delay:"number"},ci={animation:!0,autohide:!0,delay:500},ui='[data-dismiss="toast"]',fi=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),T.setData(t,ei,this)}var e=t.prototype;return e.show=function(){var t=this;if(!X.trigger(this._element,ii.SHOW).defaultPrevented){this._config.animation&&this._element.classList.add(oi);var e=function(){t._element.classList.remove(ai),t._element.classList.add(si),X.trigger(t._element,ii.SHOWN),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove(ri),b(this._element),this._element.classList.add(ai),this._config.animation){var n=d(this._element);X.one(this._element,c,e),p(this._element,n)}else e()}},e.hide=function(){var t=this;if(this._element.classList.contains(si)&&!X.trigger(this._element,ii.HIDE).defaultPrevented){var e=function(){t._element.classList.add(ri),X.trigger(t._element,ii.HIDDEN)};if(this._element.classList.remove(si),this._config.animation){var n=d(this._element);X.one(this._element,c,e),p(this._element,n)}else e()}},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(si)&&this._element.classList.remove(si),X.off(this._element,ii.CLICK_DISMISS),T.removeData(this._element,ei),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},ci,{},yt.getDataAttributes(this._element),{},"object"==typeof t&&t?t:{}),m("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;X.on(this._element,ii.CLICK_DISMISS,ui,function(){return t.hide()})},t._jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,ei);if(n||(n=new t(this,"object"==typeof e&&e)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e](this)}})},t._getInstance=function(t){return T.getData(t,ei)},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return li}},{key:"Default",get:function(){return ci}}]),t}();if("undefined"!=typeof u){var hi=u.fn.toast;u.fn.toast=fi._jQueryInterface,u.fn.toast.Constructor=fi,u.fn.toast.noConflict=function(){return u.fn.toast=hi,fi._jQueryInterface}}return{Alert:nt,Button:_t,Carousel:Ut,Collapse:ee,Dropdown:Oe,Modal:Ve,Popover:In,ScrollSpy:Mn,Tab:Jn,Toast:fi,Tooltip:dn}});
//# sourceMappingURL=bootstrap.min.js.map \ No newline at end of file