diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-10-08 09:39:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 09:39:10 +0300 |
commit | 1770691b339bdbf17de5e8824158b358dc0284a9 (patch) | |
tree | 69ac7056dcc46fbf63497df93b6e69c623fb93d2 /dist/js/bootstrap.bundle.min.js | |
parent | 9c54d3579757aa1e4027ff8fb434a18c656d840c (diff) |
Dist (#29484)
Diffstat (limited to 'dist/js/bootstrap.bundle.min.js')
-rw-r--r-- | dist/js/bootstrap.bundle.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.bundle.min.js b/dist/js/bootstrap.bundle.min.js index b367d9a78d..b61ee07e5a 100644 --- a/dist/js/bootstrap.bundle.min.js +++ b/dist/js/bootstrap.bundle.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():"function"==typeof define&&define.amd?define(e):(t=t||self).bootstrap=e()}(this,function(){"use strict";function t(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 e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(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 o(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?i(o,!0).forEach(function(e){n(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):i(o).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var r,s,a,l="transitionend",c=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():null}return e},u=function(t){var e=f(t);return e&&document.querySelector(e)?e:null},h=function(t){var e=f(t);return e?document.querySelector(e):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},p=function(t){var e=document.createEvent("HTMLEvents");e.initEvent(l,!0,!0),t.dispatchEvent(e)},g=function(t){return(t[0]||t).nodeType},m=function(t,e){var n=!1,i=e+5;t.addEventListener(l,function e(){n=!0,t.removeEventListener(l,e)}),setTimeout(function(){n||p(t)},i)},_=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+'".')})},v=function(t){return t?[].slice.call(t):[]},b=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},w=function(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-no-jquery")?t:null},D=(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)}}}),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,O=I.closest,L=Element.prototype.querySelectorAll,S=Element.prototype.querySelector,C=function(t,e){return new CustomEvent(t,e)};if("function"!=typeof window.CustomEvent&&(C=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 N=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(N.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var k=function(){var t=C("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),O||(O=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 P=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(L=function(t){if(!P.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=c("scope"));var n=null;try{t=t.replace(P,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},S=function(t){if(!P.test(t))return this.querySelector(t);var e=L.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var x=w(),M=/[^.]*(?=\..*)\.|.*/,H=/\..*/,j=/^key/,R=/::\d+$/,W={},U=1,F={mouseenter:"mouseover",mouseleave:"mouseout"},B=["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+"::"+U++||t.uidEvent||U++}function V(t){var e=K(t);return t.uidEvent=e,W[e]=W[e]||{},W[e]}function Y(t,e){null===t.which&&j.test(t.type)&&(t.which=null===t.charCode?t.keyCode:t.charCode),t.delegateTarget=e}function Q(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 G(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(H,""),s=F[r];return s&&(r=s),B.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=G(e,n,i),s=r[0],a=r[1],l=r[2],c=V(t),f=c[l]||(c[l]={}),u=Q(f,a,s?n:null);if(u)u.oneOff=u.oneOff&&o;else{var h=K(a,e.replace(M,"")),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 Y(o,s),i.oneOff&&z.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return Y(i,t),n.oneOff&&z.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,f[h]=d,t.addEventListener(l,d,s)}}}function X(t,e,n,i,o){var r=Q(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var z={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=G(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=V(t),f="."===e.charAt(0);if("undefined"==typeof s){f&&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];X(t,e,n,s.originalHandler,s.delegationSelector)}})}(t,c,n,e.substr(1))});var u=c[a]||{};Object.keys(u).forEach(function(n){var i=n.replace(R,"");if(!l||e.indexOf(i)>-1){var o=u[n];X(t,c,a,o.originalHandler,o.delegationSelector)}})}else{if(!c||!c[a])return;X(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=B.indexOf(o)>-1,a=!0,l=!0,c=!1,f=null;return r&&x&&(i=x.Event(e,n),x(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents")).initEvent(o,a,!0):f=C(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(),k||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),L.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),S.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 O.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}},$="bs.alert",J="."+$,tt={CLOSE:"close"+J,CLOSED:"closed"+J,CLICK_DATA_API:"click"+J+".data-api"},et="alert",nt="fade",it="show",ot=function(){function t(t){this._element=t,this._element&&T.setData(t,$,this)}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},n.dispose=function(){T.removeData(this._element,$),this._element=null},n._getRootElement=function(t){var e=h(t);return e||(e=Z.closest(t,"."+et)),e},n._triggerCloseEvent=function(t){return z.trigger(t,tt.CLOSE)},n._removeElement=function(t){var e=this;if(t.classList.remove(it),t.classList.contains(nt)){var n=d(t);z.one(t,l,function(){return e._destroyElement(t)}),m(t,n)}else this._destroyElement(t)},n._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),z.trigger(t,tt.CLOSED)},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,$);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,$)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,tt.CLICK_DATA_API,'[data-dismiss="alert"]',ot.handleDismiss(new ot));var rt=w();if(rt){var st=rt.fn.alert;rt.fn.alert=ot.jQueryInterface,rt.fn.alert.Constructor=ot,rt.fn.alert.noConflict=function(){return rt.fn.alert=st,ot.jQueryInterface}}var at="bs.button",lt="."+at,ct="active",ft="btn",ut="focus",ht='[data-toggle^="button"]',dt='[data-toggle="buttons"]',pt='input:not([type="hidden"])',gt=".active",mt=".btn",_t={CLICK_DATA_API:"click"+lt+".data-api",FOCUS_DATA_API:"focus"+lt+".data-api",BLUR_DATA_API:"blur"+lt+".data-api"},vt=function(){function t(t){this._element=t,T.setData(t,at,this)}var n=t.prototype;return n.toggle=function(){var t=!0,e=!0,n=Z.closest(this._element,dt);if(n){var i=Z.findOne(pt,this._element);if(i&&"radio"===i.type){if(i.checked&&this._element.classList.contains(ct))t=!1;else{var o=Z.findOne(gt,n);o&&o.classList.remove(ct)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(ct),z.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ct)),t&&this._element.classList.toggle(ct)},n.dispose=function(){T.removeData(this._element,at),this._element=null},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,at);n||(n=new t(this)),"toggle"===e&&n[e]()})},t.getInstance=function(t){return T.getData(t,at)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,_t.CLICK_DATA_API,ht,function(t){t.preventDefault();var e=t.target;e.classList.contains(ft)||(e=Z.closest(e,mt));var n=T.getData(e,at);n||(n=new vt(e)),n.toggle()}),z.on(document,_t.FOCUS_DATA_API,ht,function(t){var e=Z.closest(t.target,mt);e&&e.classList.add(ut)}),z.on(document,_t.BLUR_DATA_API,ht,function(t){var e=Z.closest(t.target,mt);e&&e.classList.remove(ut)});var bt=w();if(bt){var yt=bt.fn.button;bt.fn.button=vt.jQueryInterface,bt.fn.button.Constructor=vt,bt.fn.button.noConflict=function(){return bt.fn.button=yt,vt.jQueryInterface}}function Et(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function wt(t){return t.replace(/[A-Z]/g,function(t){return t.toLowerCase()})}var Dt={setDataAttribute:function(t,e,n){t.setAttribute("data-"+wt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+wt(e))},getDataAttributes:function(t){if(!t)return{};var e=o({},t.dataset);return Object.keys(e).forEach(function(t){e[t]=Et(e[t])}),e},getDataAttribute:function(t,e){return Et(t.getAttribute("data-"+wt(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))}},Tt="carousel",It="bs.carousel",At="."+It,Ot={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Lt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},St="next",Ct="prev",Nt="left",kt="right",Pt={SLIDE:"slide"+At,SLID:"slid"+At,KEYDOWN:"keydown"+At,MOUSEENTER:"mouseenter"+At,MOUSELEAVE:"mouseleave"+At,TOUCHSTART:"touchstart"+At,TOUCHMOVE:"touchmove"+At,TOUCHEND:"touchend"+At,POINTERDOWN:"pointerdown"+At,POINTERUP:"pointerup"+At,DRAG_START:"dragstart"+At,LOAD_DATA_API:"load"+At+".data-api",CLICK_DATA_API:"click"+At+".data-api"},xt="carousel",Mt="active",Ht="slide",jt="carousel-item-right",Rt="carousel-item-left",Wt="carousel-item-next",Ut="carousel-item-prev",Ft="pointer-event",Bt={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"]'},Kt={TOUCH:"touch",PEN:"pen"},Vt=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(Bt.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),T.setData(t,It,this)}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(St)},n.nextWhenVisible=function(){!document.hidden&&b(this._element)&&this.next()},n.prev=function(){this._isSliding||this._slide(Ct)},n.pause=function(t){t||(this._isPaused=!0),Z.findOne(Bt.NEXT_PREV,this._element)&&(p(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.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))},n.to=function(t){var e=this;this._activeElement=Z.findOne(Bt.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)z.one(this._element,Pt.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?St:Ct;this._slide(i,this._items[t])}},n.dispose=function(){z.off(this._element,At),T.removeData(this._element,It),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=o({},Ot,{},t),_(Tt,t,Lt),t},n._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()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&z.on(this._element,Pt.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(z.on(this._element,Pt.MOUSEENTER,function(e){return t.pause(e)}),z.on(this._element,Pt.MOUSELEAVE,function(e){return t.cycle(e)})),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&Kt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&Kt[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(Bt.ITEM_IMG,this._element)).forEach(function(t){z.on(t,Pt.DRAG_START,function(t){return t.preventDefault()})}),this._pointerEvent?(z.on(this._element,Pt.POINTERDOWN,function(t){return e(t)}),z.on(this._element,Pt.POINTERUP,function(t){return n(t)}),this._element.classList.add(Ft)):(z.on(this._element,Pt.TOUCHSTART,function(t){return e(t)}),z.on(this._element,Pt.TOUCHMOVE,function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)}),z.on(this._element,Pt.TOUCHEND,function(t){return n(t)}))},n._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()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?v(Z.find(Bt.ITEM,t.parentNode)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===St,i=t===Ct,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===Ct?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(Z.findOne(Bt.ACTIVE_ITEM,this._element));return z.trigger(this._element,Pt.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=Z.find(Bt.ACTIVE,this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(Mt);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(Mt)}},n._slide=function(t,e){var n,i,o,r=this,s=Z.findOne(Bt.ACTIVE_ITEM,this._element),a=this._getItemIndex(s),c=e||s&&this._getItemByDirection(t,s),f=this._getItemIndex(c),u=Boolean(this._interval);if(t===St?(n=Rt,i=Wt,o=Nt):(n=jt,i=Ut,o=kt),c&&c.classList.contains(Mt))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).defaultPrevented&&s&&c){if(this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(c),this._element.classList.contains(Ht)){c.classList.add(i),E(c),s.classList.add(n),c.classList.add(n);var h=parseInt(c.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 p=d(s);z.one(s,l,function(){c.classList.remove(n),c.classList.remove(i),c.classList.add(Mt),s.classList.remove(Mt),s.classList.remove(i),s.classList.remove(n),r._isSliding=!1,setTimeout(function(){z.trigger(r._element,Pt.SLID,{relatedTarget:c,direction:o,from:a,to:f})},0)}),m(s,p)}else s.classList.remove(Mt),c.classList.add(Mt),this._isSliding=!1,z.trigger(this._element,Pt.SLID,{relatedTarget:c,direction:o,from:a,to:f});u&&this.cycle()}},t.carouselInterface=function(e,n){var i=T.getData(e,It),r=o({},Ot,{},Dt.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=h(this);if(n&&n.classList.contains(xt)){var i=o({},Dt.getDataAttributes(n),{},Dt.getDataAttributes(this)),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),t.carouselInterface(n,i),r&&T.getData(n,It).to(r),e.preventDefault()}},t.getInstance=function(t){return T.getData(t,It)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ot}}]),t}();z.on(document,Pt.CLICK_DATA_API,Bt.DATA_SLIDE,Vt.dataApiClickHandler),z.on(window,Pt.LOAD_DATA_API,function(){for(var t=v(Z.find(Bt.DATA_RIDE)),e=0,n=t.length;e<n;e++)Vt.carouselInterface(t[e],T.getData(t[e],It))});var Yt=w();if(Yt){var Qt=Yt.fn[Tt];Yt.fn[Tt]=Vt.jQueryInterface,Yt.fn[Tt].Constructor=Vt,Yt.fn[Tt].noConflict=function(){return Yt.fn[Tt]=Qt,Vt.jQueryInterface}}var Gt="collapse",qt="bs.collapse",Xt="."+qt,zt={toggle:!0,parent:""},Zt={toggle:"boolean",parent:"(string|element)"},$t={SHOW:"show"+Xt,SHOWN:"shown"+Xt,HIDE:"hide"+Xt,HIDDEN:"hidden"+Xt,CLICK_DATA_API:"click"+Xt+".data-api"},Jt="show",te="collapse",ee="collapsing",ne="collapsed",ie="width",oe="height",re={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},se=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(re.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=u(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,qt,this)}var n=t.prototype;return n.toggle=function(){this._element.classList.contains(Jt)?this.hide():this.show()},n.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Jt)){var n,i;this._parent&&0===(n=v(Z.find(re.ACTIVES,this._parent)).filter(function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(te)})).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],qt):null)&&i._isTransitioning)return}if(!z.trigger(this._element,$t.SHOW).defaultPrevented){n&&n.forEach(function(e){o!==e&&t.collapseInterface(e,"hide"),i||T.setData(e,qt,null)});var s=this._getDimension();this._element.classList.remove(te),this._element.classList.add(ee),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(function(t){t.classList.remove(ne),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=d(this._element);z.one(this._element,l,function(){e._element.classList.remove(ee),e._element.classList.add(te),e._element.classList.add(Jt),e._element.style[s]="",e.setTransitioning(!1),z.trigger(e._element,$t.SHOWN)}),m(this._element,c),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Jt)&&!z.trigger(this._element,$t.HIDE).defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",E(this._element),this._element.classList.add(ee),this._element.classList.remove(te),this._element.classList.remove(Jt);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=h(o);r&&!r.classList.contains(Jt)&&(o.classList.add(ne),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=d(this._element);z.one(this._element,l,function(){t.setTransitioning(!1),t._element.classList.remove(ee),t._element.classList.add(te),z.trigger(t._element,$t.HIDDEN)}),m(this._element,s)}},n.setTransitioning=function(t){this._isTransitioning=t},n.dispose=function(){T.removeData(this._element,qt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(t){return(t=o({},zt,{},t)).toggle=Boolean(t.toggle),_(Gt,t,Zt),t},n._getDimension=function(){return this._element.classList.contains(ie)?ie:oe},n._getParent=function(){var t=this,e=this._config.parent;g(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);t._addAriaAndCollapsedClass(n,[e])}),e},n._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(Jt);e.length&&e.forEach(function(t){n?t.classList.remove(ne):t.classList.add(ne),t.setAttribute("aria-expanded",n)})}},t.collapseInterface=function(e,n){var i=T.getData(e,qt),r=o({},zt,{},Dt.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 T.getData(t,qt)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return zt}}]),t}();z.on(document,$t.CLICK_DATA_API,re.DATA_TOGGLE,function(t){"A"===t.target.tagName&&t.preventDefault();var e=Dt.getDataAttributes(this),n=u(this);v(Z.find(n)).forEach(function(t){var n,i=T.getData(t,qt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,se.collapseInterface(t,n)})});var ae=w();if(ae){var le=ae.fn[Gt];ae.fn[Gt]=se.jQueryInterface,ae.fn[Gt].Constructor=se,ae.fn[Gt].noConflict=function(){return ae.fn[Gt]=le,se.jQueryInterface}}for(var ce="undefined"!=typeof window&&"undefined"!=typeof document,fe=["Edge","Trident","Firefox"],ue=0,he=0;he<fe.length;he+=1)if(ce&&navigator.userAgent.indexOf(fe[he])>=0){ue=1;break}var de=ce&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},ue))}};function pe(t){return t&&"[object Function]"==={}.toString.call(t)}function ge(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function me(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _e(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=ge(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:_e(me(t))}var ve=ce&&!(!window.MSInputMethodContext||!document.documentMode),be=ce&&/MSIE 10/.test(navigator.userAgent);function ye(t){return 11===t?ve:10===t?be:ve||be}function Ee(t){if(!t)return document.documentElement;for(var e=ye(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===ge(n,"position")?Ee(n):n:t?t.ownerDocument.documentElement:document.documentElement}function we(t){return null!==t.parentNode?we(t.parentNode):t}function De(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&Ee(s.firstElementChild)!==s?Ee(l):l;var c=we(t);return c.host?De(c.host,e):De(t,we(e).host)}function Te(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function Ie(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Ae(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],ye(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Oe(t){var e=t.body,n=t.documentElement,i=ye(10)&&getComputedStyle(n);return{height:Ae("Height",e,n,i),width:Ae("Width",e,n,i)}}var Le=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Se=function(){function t(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)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),Ce=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Ne=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function ke(t){return Ne({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Pe(t){var e={};try{if(ye(10)){e=t.getBoundingClientRect();var n=Te(t,"top"),i=Te(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?Oe(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var f=ge(t);l-=Ie(f,"x"),c-=Ie(f,"y"),o.width-=l,o.height-=c}return ke(o)}function xe(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ye(10),o="HTML"===e.nodeName,r=Pe(t),s=Pe(e),a=_e(t),l=ge(e),c=parseFloat(l.borderTopWidth,10),f=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=ke({top:r.top-s.top-c,left:r.left-s.left-f,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var h=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-h,u.bottom-=c-h,u.left-=f-d,u.right-=f-d,u.marginTop=h,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Te(e,"top"),o=Te(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Me(t){if(!t||!t.parentElement||ye())return document.documentElement;for(var e=t.parentElement;e&&"none"===ge(e,"transform");)e=e.parentElement;return e||document.documentElement}function He(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Me(t):De(t,e);if("viewport"===i)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=xe(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:Te(n),a=e?0:Te(n,"left");return ke({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=_e(me(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=xe(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===ge(e,"position"))return!0;var i=me(e);return!!i&&t(i)}(s))r=l;else{var c=Oe(t.ownerDocument),f=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var h="number"==typeof(n=n||0);return r.left+=h?n:n.left||0,r.top+=h?n:n.top||0,r.right-=h?n:n.right||0,r.bottom-=h?n:n.bottom||0,r}function je(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=He(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return Ne({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),f=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return f+(u?"-"+u:"")}function Re(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return xe(n,i?Me(e):De(e,n),i)}function We(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function Ue(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Fe(t,e,n){n=n.split("-")[0];var i=We(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[Ue(a)],o}function Be(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Ke(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=Be(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&pe(n)&&(e.offsets.popper=ke(e.offsets.popper),e.offsets.reference=ke(e.offsets.reference),e=n(e,t))}),e}function Ve(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Re(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=je(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Fe(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Ke(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Ye(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function Qe(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function Ge(){return this.state.isDestroyed=!0,Ye(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Qe("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function qe(t){var e=t.ownerDocument;return e?e.defaultView:window}function Xe(t,e,n,i){n.updateBound=i,qe(t).addEventListener("resize",n.updateBound,{passive:!0});var o=_e(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(_e(s.parentNode),n,i,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function ze(){this.state.eventsEnabled||(this.state=Xe(this.reference,this.options,this.state,this.scheduleUpdate))}function Ze(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,qe(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function $e(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Je(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$e(e[n])&&(i="px"),t.style[n]=e[n]+i})}var tn=ce&&/Firefox/i.test(navigator.userAgent);function en(t,e,n){var i=Be(t,function(t){return t.name===e}),o=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var nn=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],on=nn.slice(3);function rn(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=on.indexOf(t),i=on.slice(n+1).concat(on.slice(0,n));return e?i.reverse():i}var sn={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function an(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(Be(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map(function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return ke(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){$e(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}var ln={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",f={start:Ce({},l,r[l]),end:Ce({},l,r[l]+r[c]-s[c])};t.offsets.popper=Ne({},s,f[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=$e(+n)?[+n,0]:an(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||Ee(t.instance.popper);t.instance.reference===n&&(n=Ee(n));var i=Qe("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=He(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,f=t.offsets.popper,u={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),Ce({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),Ce({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=Ne({},f,u[e](t))}),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!en(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",f=l?"Top":"Left",u=f.toLowerCase(),h=l?"left":"top",d=l?"bottom":"right",p=We(i)[c];a[d]-p<s[u]&&(t.offsets.popper[u]-=s[u]-(a[d]-p)),a[u]+p>s[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=ke(t.offsets.popper);var g=a[u]+a[c]/2-p/2,m=ge(t.instance.popper),_=parseFloat(m["margin"+f],10),v=parseFloat(m["border"+f+"Width"],10),b=g-t.offsets.popper[u]-_-v;return b=Math.max(Math.min(s[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(Ce(n={},u,Math.round(b)),Ce(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Ye(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=He(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=Ue(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case sn.FLIP:s=[i,o];break;case sn.CLOCKWISE:s=rn(i);break;case sn.COUNTERCLOCKWISE:s=rn(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=Ue(i);var c=t.offsets.popper,f=t.offsets.reference,u=Math.floor,h="left"===i&&u(c.right)>u(f.left)||"right"===i&&u(c.left)<u(f.right)||"top"===i&&u(c.bottom)>u(f.top)||"bottom"===i&&u(c.top)<u(f.bottom),d=u(c.left)<u(n.left),p=u(c.right)>u(n.right),g=u(c.top)<u(n.top),m=u(c.bottom)>u(n.bottom),_="left"===i&&d||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&p||!v&&"start"===r&&g||!v&&"end"===r&&m),y=!!e.flipVariationsByContent&&(v&&"start"===r&&p||v&&"end"===r&&d||!v&&"start"===r&&m||!v&&"end"===r&&g),E=b||y;(h||_||E)&&(t.flipped=!0,(h||_)&&(i=s[l+1]),E&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=Ne({},t.offsets.popper,Fe(t.instance.popper,t.offsets.reference,t.placement)),t=Ke(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=Ue(e),t.offsets.popper=ke(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!en(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Be(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=Be(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=Ee(t.instance.popper),l=Pe(a),c={position:o.position},f=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),c=r(i.width),f=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),h=e?f||u||l%2==c%2?r:s:a,d=e?r:a;return{left:h(l%2==1&&c%2==1&&!u&&e?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:h(i.right)}}(t,window.devicePixelRatio<2||!tn),u="bottom"===n?"top":"bottom",h="right"===i?"left":"right",d=Qe("transform"),p=void 0,g=void 0;if(g="bottom"===u?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,p="right"===h?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)c[d]="translate3d("+p+"px, "+g+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var m="bottom"===u?-1:1,_="right"===h?-1:1;c[u]=g*m,c[h]=p*_,c.willChange=u+", "+h}var v={"x-placement":t.placement};return t.attributes=Ne({},v,t.attributes),t.styles=Ne({},c,t.styles),t.arrowStyles=Ne({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Je(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Je(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=Re(o,e,t,n.positionFixed),s=je(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),Je(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},cn=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Le(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=de(this.update.bind(this)),this.options=Ne({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ne({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=Ne({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Ne({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&pe(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return Se(t,[{key:"update",value:function(){return Ve.call(this)}},{key:"destroy",value:function(){return Ge.call(this)}},{key:"enableEventListeners",value:function(){return ze.call(this)}},{key:"disableEventListeners",value:function(){return Ze.call(this)}}]),t}();cn.Utils=("undefined"!=typeof window?window:global).PopperUtils,cn.placements=nn,cn.Defaults=ln;var fn="dropdown",un="bs.dropdown",hn="."+un,dn=new RegExp("38|40|27"),pn={HIDE:"hide"+hn,HIDDEN:"hidden"+hn,SHOW:"show"+hn,SHOWN:"shown"+hn,CLICK:"click"+hn,CLICK_DATA_API:"click"+hn+".data-api",KEYDOWN_DATA_API:"keydown"+hn+".data-api",KEYUP_DATA_API:"keyup"+hn+".data-api"},gn="disabled",mn="show",_n="dropup",vn="dropright",bn="dropleft",yn="dropdown-menu-right",En="position-static",wn='[data-toggle="dropdown"]',Dn=".dropdown form",Tn=".dropdown-menu",In=".navbar-nav",An=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",On="top-start",Ln="top-end",Sn="bottom-start",Cn="bottom-end",Nn="right-start",kn="left-start",Pn={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},xn={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Mn=function(){function t(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,un,this)}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(gn)){var e=this._menu.classList.contains(mn);t.clearMenus(),e||this.show()}},n.show=function(){if(!(this._element.disabled||this._element.classList.contains(gn)||this._menu.classList.contains(mn))){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};if(!z.trigger(e,pn.SHOW,n).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof cn)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var i=this._element;"parent"===this._config.reference?i=e:g(this._config.reference)&&(i=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e.classList.add(En),this._popper=new cn(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!v(Z.closest(e,In)).length&&v(document.body.children).forEach(function(t){return z.on(t,"mouseover",null,function(){})}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Dt.toggleClass(this._menu,mn),Dt.toggleClass(e,mn),z.trigger(e,pn.SHOWN,n)}}},n.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(gn)&&this._menu.classList.contains(mn)){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};z.trigger(e,pn.HIDE,n).defaultPrevented||(this._popper&&this._popper.destroy(),Dt.toggleClass(this._menu,mn),Dt.toggleClass(e,mn),z.trigger(e,pn.HIDDEN,n))}},n.dispose=function(){T.removeData(this._element,un),z.off(this._element,hn),this._element=null,this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;z.on(this._element,pn.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=o({},this.constructor.Default,{},Dt.getDataAttributes(this._element),{},t),_(fn,t,this.constructor.DefaultType),t},n._getMenuElement=function(){var e=t.getParentFromElement(this._element);return Z.findOne(Tn,e)},n._getPlacement=function(){var t=this._element.parentNode,e=Sn;return t.classList.contains(_n)?(e=On,this._menu.classList.contains(yn)&&(e=Ln)):t.classList.contains(vn)?e=Nn:t.classList.contains(bn)?e=kn:this._menu.classList.contains(yn)&&(e=Cn),e},n._detectNavbar=function(){return Boolean(Z.closest(this._element,".navbar"))},n._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},n._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}),o({},t,{},this._config.popperConfig)},t.dropdownInterface=function(e,n){var i=T.getData(e,un);if(i||(i=new t(e,"object"==typeof n?n:null)),"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.dropdownInterface(this,e)})},t.clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=v(Z.find(wn)),i=0,o=n.length;i<o;i++){var r=t.getParentFromElement(n[i]),s=T.getData(n[i],un),a={relatedTarget:n[i]};if(e&&"click"===e.type&&(a.clickEvent=e),s){var l=s._menu;if(r.classList.contains(mn))if(!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&r.contains(e.target)))z.trigger(r,pn.HIDE,a).defaultPrevented||("ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){return z.off(t,"mouseover",null,function(){})}),n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),l.classList.remove(mn),r.classList.remove(mn),z.trigger(r,pn.HIDDEN,a))}}},t.getParentFromElement=function(t){return h(t)||t.parentNode},t.dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||Z.closest(e.target,Tn))):dn.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!this.classList.contains(gn))){var n=t.getParentFromElement(this),i=n.classList.contains(mn);if(!i||i&&(27===e.which||32===e.which))return 27===e.which&&Z.findOne(wn,n).focus(),void t.clearMenus();var o=v(Z.find(An,n));if(o.length){var r=o.indexOf(e.target);38===e.which&&r>0&&r--,40===e.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}},t.getInstance=function(t){return T.getData(t,un)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Pn}},{key:"DefaultType",get:function(){return xn}}]),t}();z.on(document,pn.KEYDOWN_DATA_API,wn,Mn.dataApiKeydownHandler),z.on(document,pn.KEYDOWN_DATA_API,Tn,Mn.dataApiKeydownHandler),z.on(document,pn.CLICK_DATA_API,Mn.clearMenus),z.on(document,pn.KEYUP_DATA_API,Mn.clearMenus),z.on(document,pn.CLICK_DATA_API,wn,function(t){t.preventDefault(),t.stopPropagation(),Mn.dropdownInterface(this,"toggle")}),z.on(document,pn.CLICK_DATA_API,Dn,function(t){return t.stopPropagation()});var Hn=w();if(Hn){var jn=Hn.fn[fn];Hn.fn[fn]=Mn.jQueryInterface,Hn.fn[fn].Constructor=Mn,Hn.fn[fn].noConflict=function(){return Hn.fn[fn]=jn,Mn.jQueryInterface}}var Rn="bs.modal",Wn="."+Rn,Un={backdrop:!0,keyboard:!0,focus:!0,show:!0},Fn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Bn={HIDE:"hide"+Wn,HIDDEN:"hidden"+Wn,SHOW:"show"+Wn,SHOWN:"shown"+Wn,FOCUSIN:"focusin"+Wn,RESIZE:"resize"+Wn,CLICK_DISMISS:"click.dismiss"+Wn,KEYDOWN_DISMISS:"keydown.dismiss"+Wn,MOUSEUP_DISMISS:"mouseup.dismiss"+Wn,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Wn,CLICK_DATA_API:"click"+Wn+".data-api"},Kn="modal-dialog-scrollable",Vn="modal-scrollbar-measure",Yn="modal-backdrop",Qn="modal-open",Gn="fade",qn="show",Xn={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"},zn=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=Z.findOne(Xn.DIALOG,t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,T.setData(t,Rn,this)}var n=t.prototype;return n.toggle=function(t){return this._isShown?this.hide():this.show(t)},n.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(Gn)&&(this._isTransitioning=!0);var n=z.trigger(this._element,Bn.SHOW,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),z.on(this._element,Bn.CLICK_DISMISS,Xn.DATA_DISMISS,function(t){return e.hide(t)}),z.on(this._dialog,Bn.MOUSEDOWN_DISMISS,function(){z.one(e._element,Bn.MOUSEUP_DISMISS,function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},n.hide=function(t){var e=this;if((t&&t.preventDefault(),this._isShown&&!this._isTransitioning)&&!z.trigger(this._element,Bn.HIDE).defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(Gn);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),z.off(document,Bn.FOCUSIN),this._element.classList.remove(qn),z.off(this._element,Bn.CLICK_DISMISS),z.off(this._dialog,Bn.MOUSEDOWN_DISMISS),n){var i=d(this._element);z.one(this._element,l,function(t){return e._hideModal(t)}),m(this._element,i)}else this._hideModal()}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return z.off(t,Wn)}),z.off(document,Bn.FOCUSIN),T.removeData(this._element,Rn),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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(t){return t=o({},Un,{},t),_("modal",t,Fn),t},n._showElement=function(t){var e=this,n=this._element.classList.contains(Gn),i=Z.findOne(Xn.MODAL_BODY,this._dialog);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(Kn)&&i?i.scrollTop=0:this._element.scrollTop=0,n&&E(this._element),this._element.classList.add(qn),this._config.focus&&this._enforceFocus();var o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,z.trigger(e._element,Bn.SHOWN,{relatedTarget:t})};if(n){var r=d(this._dialog);z.one(this._dialog,l,o),m(this._dialog,r)}else o()},n._enforceFocus=function(){var t=this;z.off(document,Bn.FOCUSIN),z.on(document,Bn.FOCUSIN,function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()})},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?z.on(this._element,Bn.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):z.off(this._element,Bn.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var t=this;this._isShown?z.on(window,Bn.RESIZE,function(){return t._adjustDialog()}):z.off(window,Bn.RESIZE)},n._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(Qn),t._resetAdjustments(),t._resetScrollbar(),z.trigger(t._element,Bn.HIDDEN)})},n._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},n._showBackdrop=function(t){var e=this,n=this._element.classList.contains(Gn)?Gn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Yn,n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),z.on(this._element,Bn.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(qn),!n)return void t();var i=d(this._backdrop);z.one(this._backdrop,l,t),m(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(qn);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(Gn)){var r=d(this._backdrop);z.one(this._backdrop,l,o),m(this._backdrop,r)}else o()}else t()},n._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")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){v(Z.find(Xn.FIXED_CONTENT)).forEach(function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];Dt.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"}),v(Z.find(Xn.STICKY_CONTENT)).forEach(function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];Dt.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"];Dt.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(Qn)},n._resetScrollbar=function(){v(Z.find(Xn.FIXED_CONTENT)).forEach(function(t){var e=Dt.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(Dt.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)}),v(Z.find(""+Xn.STICKY_CONTENT)).forEach(function(t){var e=Dt.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(Dt.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)});var t=Dt.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(Dt.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},n._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Vn,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,Rn),r=o({},Un,{},Dt.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 T.getData(t,Rn)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Un}}]),t}();z.on(document,Bn.CLICK_DATA_API,Xn.DATA_TOGGLE,function(t){var e=this,n=h(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),z.one(n,Bn.SHOW,function(t){t.defaultPrevented||z.one(n,Bn.HIDDEN,function(){b(e)&&e.focus()})});var i=T.getData(n,Rn);if(!i){var r=o({},Dt.getDataAttributes(n),{},Dt.getDataAttributes(this));i=new zn(n,r)}i.show(this)});var Zn=w();if(Zn){var $n=Zn.fn.modal;Zn.fn.modal=zn.jQueryInterface,Zn.fn.modal.Constructor=zn,Zn.fn.modal.noConflict=function(){return Zn.fn.modal=$n,zn.jQueryInterface}}var Jn=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ti=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,ei=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,ni=function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Jn.indexOf(n)||Boolean(t.nodeValue.match(ti)||t.nodeValue.match(ei));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},ii={"*":["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 oi(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){ni(t,l)||i.removeAttribute(t.nodeName)})},a=0,l=r.length;a<l;a++)s(a);return i.body.innerHTML}var ri="tooltip",si=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ai=["sanitize","whiteList","sanitizeFn"],li={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",popperConfig:"(null|object)"},ci={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},fi={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:ii,popperConfig:null},ui="show",hi="out",di={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"},pi="fade",gi="show",mi=".tooltip-inner",_i="hover",vi="focus",bi="click",yi="manual",Ei=function(){function t(t,e){if("undefined"==typeof cn)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners(),T.setData(t,this.constructor.DATA_KEY,this)}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.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(gi))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),T.removeData(this.element,this.constructor.DATA_KEY),z.off(this.element,this.constructor.EVENT_KEY),z.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,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var e=z.trigger(this.element,this.constructor.Event.SHOW),n=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),i=null===n?this.element.ownerDocument.documentElement.contains(this.element):n.contains(this.element);if(e.defaultPrevented||!i)return;var o=this.getTipElement(),r=c(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&o.classList.add(pi);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this._addAttachmentClass(a);var f=this._getContainer();T.setData(o,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||f.appendChild(o),z.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new cn(this.element,o,this._getPopperConfig(a)),o.classList.add(gi),"ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){z.on(t,"mouseover",function(){})});var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,z.trigger(t.element,t.constructor.Event.SHOWN),e===hi&&t._leave(null,t)};if(this.tip.classList.contains(pi)){var h=d(this.tip);z.one(this.tip,l,u),m(this.tip,h)}else u()}},n.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==ui&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),z.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!z.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(e.classList.remove(gi),"ontouchstart"in document.documentElement&&v(document.body.children).forEach(function(t){return z.off(t,"mouseover",y)}),this._activeTrigger[bi]=!1,this._activeTrigger[vi]=!1,this._activeTrigger[_i]=!1,this.tip.classList.contains(pi)){var i=d(e);z.one(e,l,n),m(e,i)}else n();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.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},n.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(mi,t),this.getTitle()),t.classList.remove(pi),t.classList.remove(gi)},n.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&g(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=oi(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},n.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},n._getPopperConfig=function(t){var e=this;return o({},{placement:t,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)}},{},this.config.popperConfig)},n._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},n._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},n._getContainer=function(){return!1===this.config.container?document.body:g(this.config.container)?this.config.container:Z.findOne(this.config.container)},n._getAttachment=function(t){return ci[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)z.on(t.element,t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==yi){var n=e===_i?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===_i?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;z.on(t.element,n,t.config.selector,function(e){return t._enter(e)}),z.on(t.element,i,t.config.selector,function(e){return t._leave(e)})}}),this._hideModalHandler=function(){t.element&&t.hide()},z.on(Z.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._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",""))},n._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?vi:_i]=!0),e.getTipElement().classList.contains(gi)||e._hoverState===ui?e._hoverState=ui:(clearTimeout(e._timeout),e._hoverState=ui,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ui&&e.show()},e.config.delay.show):e.show())},n._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?vi:_i]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=hi,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===hi&&e.hide()},e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var e=Dt.getDataAttributes(this.element);return Object.keys(e).forEach(function(t){-1!==ai.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()),_(ri,t,this.constructor.DefaultType),t.sanitize&&(t.template=oi(t.template,t.whiteList,t.sanitizeFn)),t},n._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},n._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(si);null!==e&&e.length&&e.map(function(t){return t.trim()}).forEach(function(e){return t.classList.remove(e)})},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(pi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,"bs.tooltip"),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i)),"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,"bs.tooltip")},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fi}},{key:"NAME",get:function(){return ri}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return di}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return li}}]),t}(),wi=w();if(wi){var Di=wi.fn.tooltip;wi.fn.tooltip=Ei.jQueryInterface,wi.fn.tooltip.Constructor=Ei,wi.fn.tooltip.noConflict=function(){return wi.fn.tooltip=Di,Ei.jQueryInterface}}var Ti="popover",Ii=new RegExp("(^|\\s)bs-popover\\S+","g"),Ai=o({},Ei.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>'}),Oi=o({},Ei.DefaultType,{content:"(string|element|function)"}),Li="fade",Si="show",Ci=".popover-header",Ni=".popover-body",ki={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"},Pi=function(t){var n,i;function o(){return t.apply(this,arguments)||this}i=t,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(Ci,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(Z.findOne(Ni,t),e),t.classList.remove(Li),t.classList.remove(Si)},r._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ii);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")},e(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ai}},{key:"NAME",get:function(){return Ti}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return ki}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Oi}}]),o}(Ei),xi=w();if(xi){var Mi=xi.fn.popover;xi.fn.popover=Pi.jQueryInterface,xi.fn.popover.Constructor=Pi,xi.fn.popover.noConflict=function(){return xi.fn.popover=Mi,Pi.jQueryInterface}}var Hi="scrollspy",ji="bs.scrollspy",Ri="."+ji,Wi={offset:10,method:"auto",target:""},Ui={offset:"number",method:"string",target:"(string|element)"},Fi={ACTIVATE:"activate"+Ri,SCROLL:"scroll"+Ri,LOAD_DATA_API:"load"+Ri+".data-api"},Bi={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},Ki={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"},Vi="offset",Yi="position",Qi=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+" "+Ki.NAV_LINKS+","+this._config.target+" "+Ki.LIST_ITEMS+","+this._config.target+" ."+Bi.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,z.on(this._scrollElement,Fi.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process(),T.setData(t,ji,this)}var n=t.prototype;return n.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Vi:Yi,n="auto"===this._config.method?e:this._config.method,i=n===Yi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),v(Z.find(this._selector)).map(function(t){var e,o=u(t);if(o&&(e=Z.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[Dt[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])})},n.dispose=function(){T.removeData(this._element,ji),z.off(this._scrollElement,Ri),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=o({},Wi,{},"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=c(Hi),t.target.id=e),t.target="#"+e}return _(Hi,t,Ui),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._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])}}},n._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(Bi.DROPDOWN_ITEM)?(Z.findOne(Ki.DROPDOWN_TOGGLE,Z.closest(n,Ki.DROPDOWN)).classList.add(Bi.ACTIVE),n.classList.add(Bi.ACTIVE)):(n.classList.add(Bi.ACTIVE),Z.parents(n,Ki.NAV_LIST_GROUP).forEach(function(t){Z.prev(t,Ki.NAV_LINKS+", "+Ki.LIST_ITEMS).forEach(function(t){return t.classList.add(Bi.ACTIVE)}),Z.prev(t,Ki.NAV_ITEMS).forEach(function(t){Z.children(t,Ki.NAV_LINKS).forEach(function(t){return t.classList.add(Bi.ACTIVE)})})})),z.trigger(this._scrollElement,Fi.ACTIVATE,{relatedTarget:t})},n._clear=function(){v(Z.find(this._selector)).filter(function(t){return t.classList.contains(Bi.ACTIVE)}).forEach(function(t){return t.classList.remove(Bi.ACTIVE)})},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,ji);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,ji)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Wi}}]),t}();z.on(window,Fi.LOAD_DATA_API,function(){v(Z.find(Ki.DATA_SPY)).forEach(function(t){return new Qi(t,Dt.getDataAttributes(t))})});var Gi=w();if(Gi){var qi=Gi.fn[Hi];Gi.fn[Hi]=Qi.jQueryInterface,Gi.fn[Hi].Constructor=Qi,Gi.fn[Hi].noConflict=function(){return Gi.fn[Hi]=qi,Qi.jQueryInterface}}var Xi="bs.tab",zi="."+Xi,Zi={HIDE:"hide"+zi,HIDDEN:"hidden"+zi,SHOW:"show"+zi,SHOWN:"shown"+zi,CLICK_DATA_API:"click"+zi+".data-api"},$i="dropdown-menu",Ji="active",to="disabled",eo="fade",no="show",io=".dropdown",oo=".nav, .list-group",ro=".active",so=":scope > li > .active",ao='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',lo=".dropdown-toggle",co=":scope > .dropdown-menu .active",fo=function(){function t(t){this._element=t,T.setData(this._element,Xi,this)}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ji)||this._element.classList.contains(to))){var e,n=h(this._element),i=Z.closest(this._element,oo);if(i){var o="UL"===i.nodeName||"OL"===i.nodeName?so:ro;e=(e=v(Z.find(o,i)))[e.length-1]}var r=null;if(e&&(r=z.trigger(e,Zi.HIDE,{relatedTarget:this._element})),!(z.trigger(this._element,Zi.SHOW,{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,i);var s=function(){z.trigger(e,Zi.HIDDEN,{relatedTarget:t._element}),z.trigger(t._element,Zi.SHOWN,{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}}},n.dispose=function(){T.removeData(this._element,Xi),this._element=null},n._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Z.children(e,ro):Z.find(so,e))[0],r=n&&o&&o.classList.contains(eo),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=d(o);o.classList.remove(no),z.one(o,l,s),m(o,a)}else s()},n._transitionComplete=function(t,e,n){if(e){e.classList.remove(Ji);var i=Z.findOne(co,e.parentNode);i&&i.classList.remove(Ji),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(Ji),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),E(t),t.classList.contains(eo)&&t.classList.add(no),t.parentNode&&t.parentNode.classList.contains($i))&&(Z.closest(t,io)&&v(Z.find(lo)).forEach(function(t){return t.classList.add(Ji)}),t.setAttribute("aria-expanded",!0));n&&n()},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,Xi)||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,Xi)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,Zi.CLICK_DATA_API,ao,function(t){t.preventDefault(),(T.getData(this,Xi)||new fo(this)).show()});var uo=w();if(uo){var ho=uo.fn.tab;uo.fn.tab=fo.jQueryInterface,uo.fn.tab.Constructor=fo,uo.fn.tab.noConflict=function(){return uo.fn.tab=ho,fo.jQueryInterface}}var po="bs.toast",go="."+po,mo={CLICK_DISMISS:"click.dismiss"+go,HIDE:"hide"+go,HIDDEN:"hidden"+go,SHOW:"show"+go,SHOWN:"shown"+go},_o="fade",vo="hide",bo="show",yo="showing",Eo={animation:"boolean",autohide:"boolean",delay:"number"},wo={animation:!0,autohide:!0,delay:500},Do='[data-dismiss="toast"]',To=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),T.setData(t,po,this)}var n=t.prototype;return n.show=function(){var t=this;if(!z.trigger(this._element,mo.SHOW).defaultPrevented){this._config.animation&&this._element.classList.add(_o);var e=function(){t._element.classList.remove(yo),t._element.classList.add(bo),z.trigger(t._element,mo.SHOWN),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove(vo),E(this._element),this._element.classList.add(yo),this._config.animation){var n=d(this._element);z.one(this._element,l,e),m(this._element,n)}else e()}},n.hide=function(){var t=this;if(this._element.classList.contains(bo)&&!z.trigger(this._element,mo.HIDE).defaultPrevented){var e=function(){t._element.classList.add(vo),z.trigger(t._element,mo.HIDDEN)};if(this._element.classList.remove(bo),this._config.animation){var n=d(this._element);z.one(this._element,l,e),m(this._element,n)}else e()}},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(bo)&&this._element.classList.remove(bo),z.off(this._element,mo.CLICK_DISMISS),T.removeData(this._element,po),this._element=null,this._config=null},n._getConfig=function(t){return t=o({},wo,{},Dt.getDataAttributes(this._element),{},"object"==typeof t&&t?t:{}),_("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;z.on(this._element,mo.CLICK_DISMISS,Do,function(){return t.hide()})},t.jQueryInterface=function(e){return this.each(function(){var n=T.getData(this,po);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,po)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Eo}},{key:"Default",get:function(){return wo}}]),t}(),Io=w();if(Io){var Ao=Io.fn.toast;Io.fn.toast=To.jQueryInterface,Io.fn.toast.Constructor=To,Io.fn.toast.noConflict=function(){return Io.fn.toast=Ao,To.jQueryInterface}}return{Alert:ot,Button:vt,Carousel:Vt,Collapse:se,Dropdown:Mn,Modal:zn,Popover:Pi,ScrollSpy:Qi,Tab:fo,Toast:To,Tooltip:Ei}}); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).bootstrap=e()}(this,(function(){"use strict";function t(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 e(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(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 o(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?i(o,!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):i(o).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var r,s,a,l="transitionend",c=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():null}return e},u=function(t){var e=f(t);return e&&document.querySelector(e)?e:null},h=function(t){var e=f(t);return e?document.querySelector(e):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},p=function(t){var e=document.createEvent("HTMLEvents");e.initEvent(l,!0,!0),t.dispatchEvent(e)},g=function(t){return(t[0]||t).nodeType},m=function(t,e){var n=!1,i=e+5;t.addEventListener(l,(function e(){n=!0,t.removeEventListener(l,e)})),setTimeout((function(){n||p(t)}),i)},_=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+'".')}))},v=function(t){return t?[].slice.call(t):[]},b=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},w=function(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-no-jquery")?t:null},D=(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)}}}),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,O=I.closest,L=Element.prototype.querySelectorAll,S=Element.prototype.querySelector,C=function(t,e){return new CustomEvent(t,e)};if("function"!=typeof window.CustomEvent&&(C=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 N=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(N.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var k=function(){var t=C("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),O||(O=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 P=/:scope\b/;(function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0})()||(L=function(t){if(!P.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=c("scope"));var n=null;try{t=t.replace(P,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},S=function(t){if(!P.test(t))return this.querySelector(t);var e=L.call(this,t);return"undefined"!=typeof e[0]?e[0]:null});var x=w(),M=/[^.]*(?=\..*)\.|.*/,H=/\..*/,j=/^key/,R=/::\d+$/,W={},U=1,F={mouseenter:"mouseover",mouseleave:"mouseout"},B=["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+"::"+U++||t.uidEvent||U++}function V(t){var e=K(t);return t.uidEvent=e,W[e]=W[e]||{},W[e]}function Y(t,e){null===t.which&&j.test(t.type)&&(t.which=null===t.charCode?t.keyCode:t.charCode),t.delegateTarget=e}function Q(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 G(t,e,n){var i="string"==typeof e,o=i?n:e,r=t.replace(H,""),s=F[r];return s&&(r=s),B.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=G(e,n,i),s=r[0],a=r[1],l=r[2],c=V(t),f=c[l]||(c[l]={}),u=Q(f,a,s?n:null);if(u)u.oneOff=u.oneOff&&o;else{var h=K(a,e.replace(M,"")),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 Y(o,s),i.oneOff&&z.off(t,o.type,n),n.apply(s,[o]);return null}}(t,n,i):function(t,e){return function n(i){return Y(i,t),n.oneOff&&z.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,f[h]=d,t.addEventListener(l,d,s)}}}function X(t,e,n,i,o){var r=Q(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}var z={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=G(e,n,i),r=o[0],s=o[1],a=o[2],l=a!==e,c=V(t),f="."===e.charAt(0);if("undefined"==typeof s){f&&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];X(t,e,n,s.originalHandler,s.delegationSelector)}}))}(t,c,n,e.slice(1))}));var u=c[a]||{};Object.keys(u).forEach((function(n){var i=n.replace(R,"");if(!l||e.indexOf(i)>-1){var o=u[n];X(t,c,a,o.originalHandler,o.delegationSelector)}}))}else{if(!c||!c[a])return;X(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=B.indexOf(o)>-1,a=!0,l=!0,c=!1,f=null;return r&&x&&(i=x.Event(e,n),x(t).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents")).initEvent(o,a,!0):f=C(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(),k||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),L.call(e,t)},findOne:function(t,e){return void 0===e&&(e=document.documentElement),S.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 O.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}},$="bs.alert",J="."+$,tt={CLOSE:"close"+J,CLOSED:"closed"+J,CLICK_DATA_API:"click"+J+".data-api"},et="alert",nt="fade",it="show",ot=function(){function t(t){this._element=t,this._element&&T.setData(t,$,this)}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t));var n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)},n.dispose=function(){T.removeData(this._element,$),this._element=null},n._getRootElement=function(t){var e=h(t);return e||(e=Z.closest(t,"."+et)),e},n._triggerCloseEvent=function(t){return z.trigger(t,tt.CLOSE)},n._removeElement=function(t){var e=this;if(t.classList.remove(it),t.classList.contains(nt)){var n=d(t);z.one(t,l,(function(){return e._destroyElement(t)})),m(t,n)}else this._destroyElement(t)},n._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),z.trigger(t,tt.CLOSED)},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,$);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,$)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,tt.CLICK_DATA_API,'[data-dismiss="alert"]',ot.handleDismiss(new ot));var rt=w();if(rt){var st=rt.fn.alert;rt.fn.alert=ot.jQueryInterface,rt.fn.alert.Constructor=ot,rt.fn.alert.noConflict=function(){return rt.fn.alert=st,ot.jQueryInterface}}var at="bs.button",lt="."+at,ct="active",ft="btn",ut="focus",ht='[data-toggle^="button"]',dt='[data-toggle="buttons"]',pt='input:not([type="hidden"])',gt=".active",mt=".btn",_t={CLICK_DATA_API:"click"+lt+".data-api",FOCUS_DATA_API:"focus"+lt+".data-api",BLUR_DATA_API:"blur"+lt+".data-api"},vt=function(){function t(t){this._element=t,T.setData(t,at,this)}var n=t.prototype;return n.toggle=function(){var t=!0,e=!0,n=Z.closest(this._element,dt);if(n){var i=Z.findOne(pt,this._element);if(i&&"radio"===i.type){if(i.checked&&this._element.classList.contains(ct))t=!1;else{var o=Z.findOne(gt,n);o&&o.classList.remove(ct)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(ct),z.trigger(i,"change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ct)),t&&this._element.classList.toggle(ct)},n.dispose=function(){T.removeData(this._element,at),this._element=null},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,at);n||(n=new t(this)),"toggle"===e&&n[e]()}))},t.getInstance=function(t){return T.getData(t,at)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,_t.CLICK_DATA_API,ht,(function(t){t.preventDefault();var e=t.target;e.classList.contains(ft)||(e=Z.closest(e,mt));var n=T.getData(e,at);n||(n=new vt(e)),n.toggle()})),z.on(document,_t.FOCUS_DATA_API,ht,(function(t){var e=Z.closest(t.target,mt);e&&e.classList.add(ut)})),z.on(document,_t.BLUR_DATA_API,ht,(function(t){var e=Z.closest(t.target,mt);e&&e.classList.remove(ut)}));var bt=w();if(bt){var yt=bt.fn.button;bt.fn.button=vt.jQueryInterface,bt.fn.button.Constructor=vt,bt.fn.button.noConflict=function(){return bt.fn.button=yt,vt.jQueryInterface}}function Et(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function wt(t){return t.replace(/[A-Z]/g,(function(t){return t.toLowerCase()}))}var Dt={setDataAttribute:function(t,e,n){t.setAttribute("data-"+wt(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-"+wt(e))},getDataAttributes:function(t){if(!t)return{};var e=o({},t.dataset);return Object.keys(e).forEach((function(t){e[t]=Et(e[t])})),e},getDataAttribute:function(t,e){return Et(t.getAttribute("data-"+wt(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))}},Tt="carousel",It="bs.carousel",At="."+It,Ot={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Lt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},St="next",Ct="prev",Nt="left",kt="right",Pt={SLIDE:"slide"+At,SLID:"slid"+At,KEYDOWN:"keydown"+At,MOUSEENTER:"mouseenter"+At,MOUSELEAVE:"mouseleave"+At,TOUCHSTART:"touchstart"+At,TOUCHMOVE:"touchmove"+At,TOUCHEND:"touchend"+At,POINTERDOWN:"pointerdown"+At,POINTERUP:"pointerup"+At,DRAG_START:"dragstart"+At,LOAD_DATA_API:"load"+At+".data-api",CLICK_DATA_API:"click"+At+".data-api"},xt="carousel",Mt="active",Ht="slide",jt="carousel-item-right",Rt="carousel-item-left",Wt="carousel-item-next",Ut="carousel-item-prev",Ft="pointer-event",Bt={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"]'},Kt={TOUCH:"touch",PEN:"pen"},Vt=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(Bt.INDICATORS,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners(),T.setData(t,It,this)}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(St)},n.nextWhenVisible=function(){!document.hidden&&b(this._element)&&this.next()},n.prev=function(){this._isSliding||this._slide(Ct)},n.pause=function(t){t||(this._isPaused=!0),Z.findOne(Bt.NEXT_PREV,this._element)&&(p(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.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))},n.to=function(t){var e=this;this._activeElement=Z.findOne(Bt.ACTIVE_ITEM,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)z.one(this._element,Pt.SLID,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?St:Ct;this._slide(i,this._items[t])}},n.dispose=function(){z.off(this._element,At),T.removeData(this._element,It),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=o({},Ot,{},t),_(Tt,t,Lt),t},n._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()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&z.on(this._element,Pt.KEYDOWN,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&(z.on(this._element,Pt.MOUSEENTER,(function(e){return t.pause(e)})),z.on(this._element,Pt.MOUSELEAVE,(function(e){return t.cycle(e)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&Kt[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},n=function(e){t._pointerEvent&&Kt[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(Bt.ITEM_IMG,this._element)).forEach((function(t){z.on(t,Pt.DRAG_START,(function(t){return t.preventDefault()}))})),this._pointerEvent?(z.on(this._element,Pt.POINTERDOWN,(function(t){return e(t)})),z.on(this._element,Pt.POINTERUP,(function(t){return n(t)})),this._element.classList.add(Ft)):(z.on(this._element,Pt.TOUCHSTART,(function(t){return e(t)})),z.on(this._element,Pt.TOUCHMOVE,(function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)})),z.on(this._element,Pt.TOUCHEND,(function(t){return n(t)})))},n._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()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?v(Z.find(Bt.ITEM,t.parentNode)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===St,i=t===Ct,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===Ct?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(Z.findOne(Bt.ACTIVE_ITEM,this._element));return z.trigger(this._element,Pt.SLIDE,{relatedTarget:t,direction:e,from:i,to:n})},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=Z.find(Bt.ACTIVE,this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(Mt);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&i.classList.add(Mt)}},n._slide=function(t,e){var n,i,o,r=this,s=Z.findOne(Bt.ACTIVE_ITEM,this._element),a=this._getItemIndex(s),c=e||s&&this._getItemByDirection(t,s),f=this._getItemIndex(c),u=Boolean(this._interval);if(t===St?(n=Rt,i=Wt,o=Nt):(n=jt,i=Ut,o=kt),c&&c.classList.contains(Mt))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).defaultPrevented&&s&&c){if(this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(c),this._element.classList.contains(Ht)){c.classList.add(i),E(c),s.classList.add(n),c.classList.add(n);var h=parseInt(c.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 p=d(s);z.one(s,l,(function(){c.classList.remove(n),c.classList.remove(i),c.classList.add(Mt),s.classList.remove(Mt),s.classList.remove(i),s.classList.remove(n),r._isSliding=!1,setTimeout((function(){z.trigger(r._element,Pt.SLID,{relatedTarget:c,direction:o,from:a,to:f})}),0)})),m(s,p)}else s.classList.remove(Mt),c.classList.add(Mt),this._isSliding=!1,z.trigger(this._element,Pt.SLID,{relatedTarget:c,direction:o,from:a,to:f});u&&this.cycle()}},t.carouselInterface=function(e,n){var i=T.getData(e,It),r=o({},Ot,{},Dt.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=h(this);if(n&&n.classList.contains(xt)){var i=o({},Dt.getDataAttributes(n),{},Dt.getDataAttributes(this)),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),t.carouselInterface(n,i),r&&T.getData(n,It).to(r),e.preventDefault()}},t.getInstance=function(t){return T.getData(t,It)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ot}}]),t}();z.on(document,Pt.CLICK_DATA_API,Bt.DATA_SLIDE,Vt.dataApiClickHandler),z.on(window,Pt.LOAD_DATA_API,(function(){for(var t=v(Z.find(Bt.DATA_RIDE)),e=0,n=t.length;e<n;e++)Vt.carouselInterface(t[e],T.getData(t[e],It))}));var Yt=w();if(Yt){var Qt=Yt.fn[Tt];Yt.fn[Tt]=Vt.jQueryInterface,Yt.fn[Tt].Constructor=Vt,Yt.fn[Tt].noConflict=function(){return Yt.fn[Tt]=Qt,Vt.jQueryInterface}}var Gt="collapse",qt="bs.collapse",Xt="."+qt,zt={toggle:!0,parent:""},Zt={toggle:"boolean",parent:"(string|element)"},$t={SHOW:"show"+Xt,SHOWN:"shown"+Xt,HIDE:"hide"+Xt,HIDDEN:"hidden"+Xt,CLICK_DATA_API:"click"+Xt+".data-api"},Jt="show",te="collapse",ee="collapsing",ne="collapsed",ie="width",oe="height",re={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},se=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(re.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],s=u(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,qt,this)}var n=t.prototype;return n.toggle=function(){this._element.classList.contains(Jt)?this.hide():this.show()},n.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Jt)){var n,i;this._parent&&0===(n=v(Z.find(re.ACTIVES,this._parent)).filter((function(t){return"string"==typeof e._config.parent?t.getAttribute("data-parent")===e._config.parent:t.classList.contains(te)}))).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],qt):null)&&i._isTransitioning)return}if(!z.trigger(this._element,$t.SHOW).defaultPrevented){n&&n.forEach((function(e){o!==e&&t.collapseInterface(e,"hide"),i||T.setData(e,qt,null)}));var s=this._getDimension();this._element.classList.remove(te),this._element.classList.add(ee),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach((function(t){t.classList.remove(ne),t.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=d(this._element);z.one(this._element,l,(function(){e._element.classList.remove(ee),e._element.classList.add(te),e._element.classList.add(Jt),e._element.style[s]="",e.setTransitioning(!1),z.trigger(e._element,$t.SHOWN)})),m(this._element,c),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(Jt)&&!z.trigger(this._element,$t.HIDE).defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",E(this._element),this._element.classList.add(ee),this._element.classList.remove(te),this._element.classList.remove(Jt);var n=this._triggerArray.length;if(n>0)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=h(o);r&&!r.classList.contains(Jt)&&(o.classList.add(ne),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";var s=d(this._element);z.one(this._element,l,(function(){t.setTransitioning(!1),t._element.classList.remove(ee),t._element.classList.add(te),z.trigger(t._element,$t.HIDDEN)})),m(this._element,s)}},n.setTransitioning=function(t){this._isTransitioning=t},n.dispose=function(){T.removeData(this._element,qt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(t){return(t=o({},zt,{},t)).toggle=Boolean(t.toggle),_(Gt,t,Zt),t},n._getDimension=function(){return this._element.classList.contains(ie)?ie:oe},n._getParent=function(){var t=this,e=this._config.parent;g(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);t._addAriaAndCollapsedClass(n,[e])})),e},n._addAriaAndCollapsedClass=function(t,e){if(t){var n=t.classList.contains(Jt);e.length&&e.forEach((function(t){n?t.classList.remove(ne):t.classList.add(ne),t.setAttribute("aria-expanded",n)}))}},t.collapseInterface=function(e,n){var i=T.getData(e,qt),r=o({},zt,{},Dt.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 T.getData(t,qt)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return zt}}]),t}();z.on(document,$t.CLICK_DATA_API,re.DATA_TOGGLE,(function(t){"A"===t.target.tagName&&t.preventDefault();var e=Dt.getDataAttributes(this),n=u(this);v(Z.find(n)).forEach((function(t){var n,i=T.getData(t,qt);i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),n="toggle"):n=e,se.collapseInterface(t,n)}))}));var ae=w();if(ae){var le=ae.fn[Gt];ae.fn[Gt]=se.jQueryInterface,ae.fn[Gt].Constructor=se,ae.fn[Gt].noConflict=function(){return ae.fn[Gt]=le,se.jQueryInterface}}for(var ce="undefined"!=typeof window&&"undefined"!=typeof document,fe=["Edge","Trident","Firefox"],ue=0,he=0;he<fe.length;he+=1)if(ce&&navigator.userAgent.indexOf(fe[he])>=0){ue=1;break}var de=ce&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),ue))}};function pe(t){return t&&"[object Function]"==={}.toString.call(t)}function ge(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function me(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function _e(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=ge(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:_e(me(t))}var ve=ce&&!(!window.MSInputMethodContext||!document.documentMode),be=ce&&/MSIE 10/.test(navigator.userAgent);function ye(t){return 11===t?ve:10===t?be:ve||be}function Ee(t){if(!t)return document.documentElement;for(var e=ye(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===ge(n,"position")?Ee(n):n:t?t.ownerDocument.documentElement:document.documentElement}function we(t){return null!==t.parentNode?we(t.parentNode):t}function De(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&Ee(s.firstElementChild)!==s?Ee(l):l;var c=we(t);return c.host?De(c.host,e):De(t,we(e).host)}function Te(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function Ie(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Ae(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],ye(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Oe(t){var e=t.body,n=t.documentElement,i=ye(10)&&getComputedStyle(n);return{height:Ae("Height",e,n,i),width:Ae("Width",e,n,i)}}var Le=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Se=function(){function t(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)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),Ce=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Ne=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function ke(t){return Ne({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Pe(t){var e={};try{if(ye(10)){e=t.getBoundingClientRect();var n=Te(t,"top"),i=Te(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?Oe(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var f=ge(t);l-=Ie(f,"x"),c-=Ie(f,"y"),o.width-=l,o.height-=c}return ke(o)}function xe(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ye(10),o="HTML"===e.nodeName,r=Pe(t),s=Pe(e),a=_e(t),l=ge(e),c=parseFloat(l.borderTopWidth,10),f=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=ke({top:r.top-s.top-c,left:r.left-s.left-f,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var h=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-h,u.bottom-=c-h,u.left-=f-d,u.right-=f-d,u.marginTop=h,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Te(e,"top"),o=Te(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Me(t){if(!t||!t.parentElement||ye())return document.documentElement;for(var e=t.parentElement;e&&"none"===ge(e,"transform");)e=e.parentElement;return e||document.documentElement}function He(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Me(t):De(t,e);if("viewport"===i)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=xe(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:Te(n),a=e?0:Te(n,"left");return ke({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=_e(me(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=xe(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===ge(e,"position"))return!0;var i=me(e);return!!i&&t(i)}(s))r=l;else{var c=Oe(t.ownerDocument),f=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var h="number"==typeof(n=n||0);return r.left+=h?n:n.left||0,r.top+=h?n:n.top||0,r.right-=h?n:n.right||0,r.bottom-=h?n:n.bottom||0,r}function je(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=He(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return Ne({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),f=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return f+(u?"-"+u:"")}function Re(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return xe(n,i?Me(e):De(e,n),i)}function We(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function Ue(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function Fe(t,e,n){n=n.split("-")[0];var i=We(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[Ue(a)],o}function Be(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Ke(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=Be(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&pe(n)&&(e.offsets.popper=ke(e.offsets.popper),e.offsets.reference=ke(e.offsets.reference),e=n(e,t))})),e}function Ve(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Re(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=je(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Fe(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Ke(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function Ye(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function Qe(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function Ge(){return this.state.isDestroyed=!0,Ye(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Qe("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function qe(t){var e=t.ownerDocument;return e?e.defaultView:window}function Xe(t,e,n,i){n.updateBound=i,qe(t).addEventListener("resize",n.updateBound,{passive:!0});var o=_e(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(_e(s.parentNode),n,i,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function ze(){this.state.eventsEnabled||(this.state=Xe(this.reference,this.options,this.state,this.scheduleUpdate))}function Ze(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,qe(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function $e(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Je(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$e(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var tn=ce&&/Firefox/i.test(navigator.userAgent);function en(t,e,n){var i=Be(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var nn=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],on=nn.slice(3);function rn(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=on.indexOf(t),i=on.slice(n+1).concat(on.slice(0,n));return e?i.reverse():i}var sn={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function an(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(Be(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return ke(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){$e(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var ln={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",f={start:Ce({},l,r[l]),end:Ce({},l,r[l]+r[c]-s[c])};t.offsets.popper=Ne({},s,f[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=$e(+n)?[+n,0]:an(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||Ee(t.instance.popper);t.instance.reference===n&&(n=Ee(n));var i=Qe("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=He(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,f=t.offsets.popper,u={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),Ce({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),Ce({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=Ne({},f,u[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!en(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",f=l?"Top":"Left",u=f.toLowerCase(),h=l?"left":"top",d=l?"bottom":"right",p=We(i)[c];a[d]-p<s[u]&&(t.offsets.popper[u]-=s[u]-(a[d]-p)),a[u]+p>s[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=ke(t.offsets.popper);var g=a[u]+a[c]/2-p/2,m=ge(t.instance.popper),_=parseFloat(m["margin"+f],10),v=parseFloat(m["border"+f+"Width"],10),b=g-t.offsets.popper[u]-_-v;return b=Math.max(Math.min(s[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(Ce(n={},u,Math.round(b)),Ce(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Ye(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=He(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=Ue(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case sn.FLIP:s=[i,o];break;case sn.CLOCKWISE:s=rn(i);break;case sn.COUNTERCLOCKWISE:s=rn(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=Ue(i);var c=t.offsets.popper,f=t.offsets.reference,u=Math.floor,h="left"===i&&u(c.right)>u(f.left)||"right"===i&&u(c.left)<u(f.right)||"top"===i&&u(c.bottom)>u(f.top)||"bottom"===i&&u(c.top)<u(f.bottom),d=u(c.left)<u(n.left),p=u(c.right)>u(n.right),g=u(c.top)<u(n.top),m=u(c.bottom)>u(n.bottom),_="left"===i&&d||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&p||!v&&"start"===r&&g||!v&&"end"===r&&m),y=!!e.flipVariationsByContent&&(v&&"start"===r&&p||v&&"end"===r&&d||!v&&"start"===r&&m||!v&&"end"===r&&g),E=b||y;(h||_||E)&&(t.flipped=!0,(h||_)&&(i=s[l+1]),E&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=Ne({},t.offsets.popper,Fe(t.instance.popper,t.offsets.reference,t.placement)),t=Ke(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=Ue(e),t.offsets.popper=ke(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!en(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Be(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=Be(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=Ee(t.instance.popper),l=Pe(a),c={position:o.position},f=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),c=r(i.width),f=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),h=e?f||u||l%2==c%2?r:s:a,d=e?r:a;return{left:h(l%2==1&&c%2==1&&!u&&e?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:h(i.right)}}(t,window.devicePixelRatio<2||!tn),u="bottom"===n?"top":"bottom",h="right"===i?"left":"right",d=Qe("transform"),p=void 0,g=void 0;if(g="bottom"===u?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-l.height+f.bottom:f.top,p="right"===h?"HTML"===a.nodeName?-a.clientWidth+f.right:-l.width+f.right:f.left,s&&d)c[d]="translate3d("+p+"px, "+g+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var m="bottom"===u?-1:1,_="right"===h?-1:1;c[u]=g*m,c[h]=p*_,c.willChange=u+", "+h}var v={"x-placement":t.placement};return t.attributes=Ne({},v,t.attributes),t.styles=Ne({},c,t.styles),t.arrowStyles=Ne({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Je(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&Je(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=Re(o,e,t,n.positionFixed),s=je(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),Je(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},cn=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Le(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=de(this.update.bind(this)),this.options=Ne({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ne({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=Ne({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return Ne({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&pe(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return Se(t,[{key:"update",value:function(){return Ve.call(this)}},{key:"destroy",value:function(){return Ge.call(this)}},{key:"enableEventListeners",value:function(){return ze.call(this)}},{key:"disableEventListeners",value:function(){return Ze.call(this)}}]),t}();cn.Utils=("undefined"!=typeof window?window:global).PopperUtils,cn.placements=nn,cn.Defaults=ln;var fn="dropdown",un="bs.dropdown",hn="."+un,dn=new RegExp("38|40|27"),pn={HIDE:"hide"+hn,HIDDEN:"hidden"+hn,SHOW:"show"+hn,SHOWN:"shown"+hn,CLICK:"click"+hn,CLICK_DATA_API:"click"+hn+".data-api",KEYDOWN_DATA_API:"keydown"+hn+".data-api",KEYUP_DATA_API:"keyup"+hn+".data-api"},gn="disabled",mn="show",_n="dropup",vn="dropright",bn="dropleft",yn="dropdown-menu-right",En="position-static",wn='[data-toggle="dropdown"]',Dn=".dropdown form",Tn=".dropdown-menu",In=".navbar-nav",An=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",On="top-start",Ln="top-end",Sn="bottom-start",Cn="bottom-end",Nn="right-start",kn="left-start",Pn={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},xn={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Mn=function(){function t(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,un,this)}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(gn)){var e=this._menu.classList.contains(mn);t.clearMenus(),e||this.show()}},n.show=function(){if(!(this._element.disabled||this._element.classList.contains(gn)||this._menu.classList.contains(mn))){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};if(!z.trigger(e,pn.SHOW,n).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof cn)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");var i=this._element;"parent"===this._config.reference?i=e:g(this._config.reference)&&(i=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e.classList.add(En),this._popper=new cn(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!v(Z.closest(e,In)).length&&v(document.body.children).forEach((function(t){return z.on(t,"mouseover",null,(function(){}))})),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Dt.toggleClass(this._menu,mn),Dt.toggleClass(e,mn),z.trigger(e,pn.SHOWN,n)}}},n.hide=function(){if(!this._element.disabled&&!this._element.classList.contains(gn)&&this._menu.classList.contains(mn)){var e=t.getParentFromElement(this._element),n={relatedTarget:this._element};z.trigger(e,pn.HIDE,n).defaultPrevented||(this._popper&&this._popper.destroy(),Dt.toggleClass(this._menu,mn),Dt.toggleClass(e,mn),z.trigger(e,pn.HIDDEN,n))}},n.dispose=function(){T.removeData(this._element,un),z.off(this._element,hn),this._element=null,this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;z.on(this._element,pn.CLICK,(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},n._getConfig=function(t){return t=o({},this.constructor.Default,{},Dt.getDataAttributes(this._element),{},t),_(fn,t,this.constructor.DefaultType),t},n._getMenuElement=function(){var e=t.getParentFromElement(this._element);return Z.findOne(Tn,e)},n._getPlacement=function(){var t=this._element.parentNode,e=Sn;return t.classList.contains(_n)?(e=On,this._menu.classList.contains(yn)&&(e=Ln)):t.classList.contains(vn)?e=Nn:t.classList.contains(bn)?e=kn:this._menu.classList.contains(yn)&&(e=Cn),e},n._detectNavbar=function(){return Boolean(Z.closest(this._element,".navbar"))},n._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},n._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}),o({},t,{},this._config.popperConfig)},t.dropdownInterface=function(e,n){var i=T.getData(e,un);if(i||(i=new t(e,"object"==typeof n?n:null)),"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.dropdownInterface(this,e)}))},t.clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=v(Z.find(wn)),i=0,o=n.length;i<o;i++){var r=t.getParentFromElement(n[i]),s=T.getData(n[i],un),a={relatedTarget:n[i]};if(e&&"click"===e.type&&(a.clickEvent=e),s){var l=s._menu;if(r.classList.contains(mn))if(!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&r.contains(e.target)))z.trigger(r,pn.HIDE,a).defaultPrevented||("ontouchstart"in document.documentElement&&v(document.body.children).forEach((function(t){return z.off(t,"mouseover",null,(function(){}))})),n[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),l.classList.remove(mn),r.classList.remove(mn),z.trigger(r,pn.HIDDEN,a))}}},t.getParentFromElement=function(t){return h(t)||t.parentNode},t.dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||Z.closest(e.target,Tn))):dn.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!this.classList.contains(gn))){var n=t.getParentFromElement(this),i=n.classList.contains(mn);if(!i||i&&(27===e.which||32===e.which))return 27===e.which&&Z.findOne(wn,n).focus(),void t.clearMenus();var o=v(Z.find(An,n));if(o.length){var r=o.indexOf(e.target);38===e.which&&r>0&&r--,40===e.which&&r<o.length-1&&r++,r<0&&(r=0),o[r].focus()}}},t.getInstance=function(t){return T.getData(t,un)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Pn}},{key:"DefaultType",get:function(){return xn}}]),t}();z.on(document,pn.KEYDOWN_DATA_API,wn,Mn.dataApiKeydownHandler),z.on(document,pn.KEYDOWN_DATA_API,Tn,Mn.dataApiKeydownHandler),z.on(document,pn.CLICK_DATA_API,Mn.clearMenus),z.on(document,pn.KEYUP_DATA_API,Mn.clearMenus),z.on(document,pn.CLICK_DATA_API,wn,(function(t){t.preventDefault(),t.stopPropagation(),Mn.dropdownInterface(this,"toggle")})),z.on(document,pn.CLICK_DATA_API,Dn,(function(t){return t.stopPropagation()}));var Hn=w();if(Hn){var jn=Hn.fn[fn];Hn.fn[fn]=Mn.jQueryInterface,Hn.fn[fn].Constructor=Mn,Hn.fn[fn].noConflict=function(){return Hn.fn[fn]=jn,Mn.jQueryInterface}}var Rn="bs.modal",Wn="."+Rn,Un={backdrop:!0,keyboard:!0,focus:!0,show:!0},Fn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Bn={HIDE:"hide"+Wn,HIDDEN:"hidden"+Wn,SHOW:"show"+Wn,SHOWN:"shown"+Wn,FOCUSIN:"focusin"+Wn,RESIZE:"resize"+Wn,CLICK_DISMISS:"click.dismiss"+Wn,KEYDOWN_DISMISS:"keydown.dismiss"+Wn,MOUSEUP_DISMISS:"mouseup.dismiss"+Wn,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Wn,CLICK_DATA_API:"click"+Wn+".data-api"},Kn="modal-dialog-scrollable",Vn="modal-scrollbar-measure",Yn="modal-backdrop",Qn="modal-open",Gn="fade",qn="show",Xn={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"},zn=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=Z.findOne(Xn.DIALOG,t),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0,T.setData(t,Rn,this)}var n=t.prototype;return n.toggle=function(t){return this._isShown?this.hide():this.show(t)},n.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){this._element.classList.contains(Gn)&&(this._isTransitioning=!0);var n=z.trigger(this._element,Bn.SHOW,{relatedTarget:t});this._isShown||n.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),z.on(this._element,Bn.CLICK_DISMISS,Xn.DATA_DISMISS,(function(t){return e.hide(t)})),z.on(this._dialog,Bn.MOUSEDOWN_DISMISS,(function(){z.one(e._element,Bn.MOUSEUP_DISMISS,(function(t){t.target===e._element&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},n.hide=function(t){var e=this;if((t&&t.preventDefault(),this._isShown&&!this._isTransitioning)&&!z.trigger(this._element,Bn.HIDE).defaultPrevented){this._isShown=!1;var n=this._element.classList.contains(Gn);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),z.off(document,Bn.FOCUSIN),this._element.classList.remove(qn),z.off(this._element,Bn.CLICK_DISMISS),z.off(this._dialog,Bn.MOUSEDOWN_DISMISS),n){var i=d(this._element);z.one(this._element,l,(function(t){return e._hideModal(t)})),m(this._element,i)}else this._hideModal()}},n.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return z.off(t,Wn)})),z.off(document,Bn.FOCUSIN),T.removeData(this._element,Rn),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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(t){return t=o({},Un,{},t),_("modal",t,Fn),t},n._showElement=function(t){var e=this,n=this._element.classList.contains(Gn),i=Z.findOne(Xn.MODAL_BODY,this._dialog);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(Kn)&&i?i.scrollTop=0:this._element.scrollTop=0,n&&E(this._element),this._element.classList.add(qn),this._config.focus&&this._enforceFocus();var o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,z.trigger(e._element,Bn.SHOWN,{relatedTarget:t})};if(n){var r=d(this._dialog);z.one(this._dialog,l,o),m(this._dialog,r)}else o()},n._enforceFocus=function(){var t=this;z.off(document,Bn.FOCUSIN),z.on(document,Bn.FOCUSIN,(function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()}))},n._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?z.on(this._element,Bn.KEYDOWN_DISMISS,(function(e){27===e.which&&(e.preventDefault(),t.hide())})):z.off(this._element,Bn.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var t=this;this._isShown?z.on(window,Bn.RESIZE,(function(){return t._adjustDialog()})):z.off(window,Bn.RESIZE)},n._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(Qn),t._resetAdjustments(),t._resetScrollbar(),z.trigger(t._element,Bn.HIDDEN)}))},n._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},n._showBackdrop=function(t){var e=this,n=this._element.classList.contains(Gn)?Gn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Yn,n&&this._backdrop.classList.add(n),document.body.appendChild(this._backdrop),z.on(this._element,Bn.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(qn),!n)return void t();var i=d(this._backdrop);z.one(this._backdrop,l,t),m(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove(qn);var o=function(){e._removeBackdrop(),t()};if(this._element.classList.contains(Gn)){var r=d(this._backdrop);z.one(this._backdrop,l,o),m(this._backdrop,r)}else o()}else t()},n._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")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){v(Z.find(Xn.FIXED_CONTENT)).forEach((function(e){var n=e.style.paddingRight,i=window.getComputedStyle(e)["padding-right"];Dt.setDataAttribute(e,"padding-right",n),e.style.paddingRight=parseFloat(i)+t._scrollbarWidth+"px"})),v(Z.find(Xn.STICKY_CONTENT)).forEach((function(e){var n=e.style.marginRight,i=window.getComputedStyle(e)["margin-right"];Dt.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"];Dt.setDataAttribute(document.body,"padding-right",e),document.body.style.paddingRight=parseFloat(n)+this._scrollbarWidth+"px"}document.body.classList.add(Qn)},n._resetScrollbar=function(){v(Z.find(Xn.FIXED_CONTENT)).forEach((function(t){var e=Dt.getDataAttribute(t,"padding-right");"undefined"!=typeof e&&(Dt.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)})),v(Z.find(""+Xn.STICKY_CONTENT)).forEach((function(t){var e=Dt.getDataAttribute(t,"margin-right");"undefined"!=typeof e&&(Dt.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)}));var t=Dt.getDataAttribute(document.body,"padding-right");"undefined"==typeof t?document.body.style.paddingRight="":(Dt.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},n._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Vn,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,Rn),r=o({},Un,{},Dt.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 T.getData(t,Rn)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Un}}]),t}();z.on(document,Bn.CLICK_DATA_API,Xn.DATA_TOGGLE,(function(t){var e=this,n=h(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),z.one(n,Bn.SHOW,(function(t){t.defaultPrevented||z.one(n,Bn.HIDDEN,(function(){b(e)&&e.focus()}))}));var i=T.getData(n,Rn);if(!i){var r=o({},Dt.getDataAttributes(n),{},Dt.getDataAttributes(this));i=new zn(n,r)}i.show(this)}));var Zn=w();if(Zn){var $n=Zn.fn.modal;Zn.fn.modal=zn.jQueryInterface,Zn.fn.modal.Constructor=zn,Zn.fn.modal.noConflict=function(){return Zn.fn.modal=$n,zn.jQueryInterface}}var Jn=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ti=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ei=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,ni=function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===Jn.indexOf(n)||Boolean(t.nodeValue.match(ti)||t.nodeValue.match(ei));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},ii={"*":["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 oi(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){ni(t,l)||i.removeAttribute(t.nodeName)}))},a=0,l=r.length;a<l;a++)s(a);return i.body.innerHTML}var ri="tooltip",si=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ai=["sanitize","whiteList","sanitizeFn"],li={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",popperConfig:"(null|object)"},ci={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},fi={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:ii,popperConfig:null},ui="show",hi="out",di={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"},pi="fade",gi="show",mi=".tooltip-inner",_i="hover",vi="focus",bi="click",yi="manual",Ei=function(){function t(t,e){if("undefined"==typeof cn)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners(),T.setData(t,this.constructor.DATA_KEY,this)}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.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(gi))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),T.removeData(this.element,this.constructor.DATA_KEY),z.off(this.element,this.constructor.EVENT_KEY),z.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,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var e=z.trigger(this.element,this.constructor.Event.SHOW),n=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),i=null===n?this.element.ownerDocument.documentElement.contains(this.element):n.contains(this.element);if(e.defaultPrevented||!i)return;var o=this.getTipElement(),r=c(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&o.classList.add(pi);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this._addAttachmentClass(a);var f=this._getContainer();T.setData(o,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||f.appendChild(o),z.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new cn(this.element,o,this._getPopperConfig(a)),o.classList.add(gi),"ontouchstart"in document.documentElement&&v(document.body.children).forEach((function(t){z.on(t,"mouseover",(function(){}))}));var u=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,z.trigger(t.element,t.constructor.Event.SHOWN),e===hi&&t._leave(null,t)};if(this.tip.classList.contains(pi)){var h=d(this.tip);z.one(this.tip,l,u),m(this.tip,h)}else u()}},n.hide=function(){var t=this,e=this.getTipElement(),n=function(){t._hoverState!==ui&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),z.trigger(t.element,t.constructor.Event.HIDDEN),t._popper.destroy()};if(!z.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented){if(e.classList.remove(gi),"ontouchstart"in document.documentElement&&v(document.body.children).forEach((function(t){return z.off(t,"mouseover",y)})),this._activeTrigger[bi]=!1,this._activeTrigger[vi]=!1,this._activeTrigger[_i]=!1,this.tip.classList.contains(pi)){var i=d(e);z.one(e,l,n),m(e,i)}else n();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.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},n.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(mi,t),this.getTitle()),t.classList.remove(pi),t.classList.remove(gi)},n.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&g(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=oi(e,this.config.whiteList,this.config.sanitizeFn)),t.innerHTML=e):t.innerText=e)},n.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},n._getPopperConfig=function(t){var e=this;return o({},{placement:t,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)}},{},this.config.popperConfig)},n._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+t)},n._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},n._getContainer=function(){return!1===this.config.container?document.body:g(this.config.container)?this.config.container:Z.findOne(this.config.container)},n._getAttachment=function(t){return ci[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)z.on(t.element,t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==yi){var n=e===_i?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===_i?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;z.on(t.element,n,t.config.selector,(function(e){return t._enter(e)})),z.on(t.element,i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},z.on(Z.closest(this.element,".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._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",""))},n._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?vi:_i]=!0),e.getTipElement().classList.contains(gi)||e._hoverState===ui?e._hoverState=ui:(clearTimeout(e._timeout),e._hoverState=ui,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===ui&&e.show()}),e.config.delay.show):e.show())},n._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?vi:_i]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=hi,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===hi&&e.hide()}),e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var e=Dt.getDataAttributes(this.element);return Object.keys(e).forEach((function(t){-1!==ai.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()),_(ri,t,this.constructor.DefaultType),t.sanitize&&(t.template=oi(t.template,t.whiteList,t.sanitizeFn)),t},n._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},n._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(si);null!==e&&e.length&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(t.classList.remove(pi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,"bs.tooltip"),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i)),"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,"bs.tooltip")},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fi}},{key:"NAME",get:function(){return ri}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return di}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return li}}]),t}(),wi=w();if(wi){var Di=wi.fn.tooltip;wi.fn.tooltip=Ei.jQueryInterface,wi.fn.tooltip.Constructor=Ei,wi.fn.tooltip.noConflict=function(){return wi.fn.tooltip=Di,Ei.jQueryInterface}}var Ti="popover",Ii=new RegExp("(^|\\s)bs-popover\\S+","g"),Ai=o({},Ei.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>'}),Oi=o({},Ei.DefaultType,{content:"(string|element|function)"}),Li="fade",Si="show",Ci=".popover-header",Ni=".popover-body",ki={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"},Pi=function(t){var n,i;function o(){return t.apply(this,arguments)||this}i=t,(n=o).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var r=o.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(Ci,t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(Z.findOne(Ni,t),e),t.classList.remove(Li),t.classList.remove(Si)},r._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+t)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ii);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")},e(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ai}},{key:"NAME",get:function(){return Ti}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return ki}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Oi}}]),o}(Ei),xi=w();if(xi){var Mi=xi.fn.popover;xi.fn.popover=Pi.jQueryInterface,xi.fn.popover.Constructor=Pi,xi.fn.popover.noConflict=function(){return xi.fn.popover=Mi,Pi.jQueryInterface}}var Hi="scrollspy",ji="bs.scrollspy",Ri="."+ji,Wi={offset:10,method:"auto",target:""},Ui={offset:"number",method:"string",target:"(string|element)"},Fi={ACTIVATE:"activate"+Ri,SCROLL:"scroll"+Ri,LOAD_DATA_API:"load"+Ri+".data-api"},Bi={DROPDOWN_ITEM:"dropdown-item",ACTIVE:"active"},Ki={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"},Vi="offset",Yi="position",Qi=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+" "+Ki.NAV_LINKS+","+this._config.target+" "+Ki.LIST_ITEMS+","+this._config.target+" ."+Bi.DROPDOWN_ITEM,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,z.on(this._scrollElement,Fi.SCROLL,(function(t){return n._process(t)})),this.refresh(),this._process(),T.setData(t,ji,this)}var n=t.prototype;return n.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Vi:Yi,n="auto"===this._config.method?e:this._config.method,i=n===Yi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),v(Z.find(this._selector)).map((function(t){var e,o=u(t);if(o&&(e=Z.findOne(o)),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[Dt[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])}))},n.dispose=function(){T.removeData(this._element,ji),z.off(this._scrollElement,Ri),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=o({},Wi,{},"object"==typeof t&&t?t:{})).target){var e=t.target.id;e||(e=c(Hi),t.target.id=e),t.target="#"+e}return _(Hi,t,Ui),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._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])}}},n._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(Bi.DROPDOWN_ITEM)?(Z.findOne(Ki.DROPDOWN_TOGGLE,Z.closest(n,Ki.DROPDOWN)).classList.add(Bi.ACTIVE),n.classList.add(Bi.ACTIVE)):(n.classList.add(Bi.ACTIVE),Z.parents(n,Ki.NAV_LIST_GROUP).forEach((function(t){Z.prev(t,Ki.NAV_LINKS+", "+Ki.LIST_ITEMS).forEach((function(t){return t.classList.add(Bi.ACTIVE)})),Z.prev(t,Ki.NAV_ITEMS).forEach((function(t){Z.children(t,Ki.NAV_LINKS).forEach((function(t){return t.classList.add(Bi.ACTIVE)}))}))}))),z.trigger(this._scrollElement,Fi.ACTIVATE,{relatedTarget:t})},n._clear=function(){v(Z.find(this._selector)).filter((function(t){return t.classList.contains(Bi.ACTIVE)})).forEach((function(t){return t.classList.remove(Bi.ACTIVE)}))},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,ji);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,ji)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Wi}}]),t}();z.on(window,Fi.LOAD_DATA_API,(function(){v(Z.find(Ki.DATA_SPY)).forEach((function(t){return new Qi(t,Dt.getDataAttributes(t))}))}));var Gi=w();if(Gi){var qi=Gi.fn[Hi];Gi.fn[Hi]=Qi.jQueryInterface,Gi.fn[Hi].Constructor=Qi,Gi.fn[Hi].noConflict=function(){return Gi.fn[Hi]=qi,Qi.jQueryInterface}}var Xi="bs.tab",zi="."+Xi,Zi={HIDE:"hide"+zi,HIDDEN:"hidden"+zi,SHOW:"show"+zi,SHOWN:"shown"+zi,CLICK_DATA_API:"click"+zi+".data-api"},$i="dropdown-menu",Ji="active",to="disabled",eo="fade",no="show",io=".dropdown",oo=".nav, .list-group",ro=".active",so=":scope > li > .active",ao='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',lo=".dropdown-toggle",co=":scope > .dropdown-menu .active",fo=function(){function t(t){this._element=t,T.setData(this._element,Xi,this)}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ji)||this._element.classList.contains(to))){var e,n=h(this._element),i=Z.closest(this._element,oo);if(i){var o="UL"===i.nodeName||"OL"===i.nodeName?so:ro;e=(e=v(Z.find(o,i)))[e.length-1]}var r=null;if(e&&(r=z.trigger(e,Zi.HIDE,{relatedTarget:this._element})),!(z.trigger(this._element,Zi.SHOW,{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,i);var s=function(){z.trigger(e,Zi.HIDDEN,{relatedTarget:t._element}),z.trigger(t._element,Zi.SHOWN,{relatedTarget:e})};n?this._activate(n,n.parentNode,s):s()}}},n.dispose=function(){T.removeData(this._element,Xi),this._element=null},n._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Z.children(e,ro):Z.find(so,e))[0],r=n&&o&&o.classList.contains(eo),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=d(o);o.classList.remove(no),z.one(o,l,s),m(o,a)}else s()},n._transitionComplete=function(t,e,n){if(e){e.classList.remove(Ji);var i=Z.findOne(co,e.parentNode);i&&i.classList.remove(Ji),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}(t.classList.add(Ji),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),E(t),t.classList.contains(eo)&&t.classList.add(no),t.parentNode&&t.parentNode.classList.contains($i))&&(Z.closest(t,io)&&v(Z.find(lo)).forEach((function(t){return t.classList.add(Ji)})),t.setAttribute("aria-expanded",!0));n&&n()},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,Xi)||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,Xi)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();z.on(document,Zi.CLICK_DATA_API,ao,(function(t){t.preventDefault(),(T.getData(this,Xi)||new fo(this)).show()}));var uo=w();if(uo){var ho=uo.fn.tab;uo.fn.tab=fo.jQueryInterface,uo.fn.tab.Constructor=fo,uo.fn.tab.noConflict=function(){return uo.fn.tab=ho,fo.jQueryInterface}}var po="bs.toast",go="."+po,mo={CLICK_DISMISS:"click.dismiss"+go,HIDE:"hide"+go,HIDDEN:"hidden"+go,SHOW:"show"+go,SHOWN:"shown"+go},_o="fade",vo="hide",bo="show",yo="showing",Eo={animation:"boolean",autohide:"boolean",delay:"number"},wo={animation:!0,autohide:!0,delay:500},Do='[data-dismiss="toast"]',To=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners(),T.setData(t,po,this)}var n=t.prototype;return n.show=function(){var t=this;if(!z.trigger(this._element,mo.SHOW).defaultPrevented){this._config.animation&&this._element.classList.add(_o);var e=function(){t._element.classList.remove(yo),t._element.classList.add(bo),z.trigger(t._element,mo.SHOWN),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(vo),E(this._element),this._element.classList.add(yo),this._config.animation){var n=d(this._element);z.one(this._element,l,e),m(this._element,n)}else e()}},n.hide=function(){var t=this;if(this._element.classList.contains(bo)&&!z.trigger(this._element,mo.HIDE).defaultPrevented){var e=function(){t._element.classList.add(vo),z.trigger(t._element,mo.HIDDEN)};if(this._element.classList.remove(bo),this._config.animation){var n=d(this._element);z.one(this._element,l,e),m(this._element,n)}else e()}},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(bo)&&this._element.classList.remove(bo),z.off(this._element,mo.CLICK_DISMISS),T.removeData(this._element,po),this._element=null,this._config=null},n._getConfig=function(t){return t=o({},wo,{},Dt.getDataAttributes(this._element),{},"object"==typeof t&&t?t:{}),_("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;z.on(this._element,mo.CLICK_DISMISS,Do,(function(){return t.hide()}))},t.jQueryInterface=function(e){return this.each((function(){var n=T.getData(this,po);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,po)},e(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Eo}},{key:"Default",get:function(){return wo}}]),t}(),Io=w();if(Io){var Ao=Io.fn.toast;Io.fn.toast=To.jQueryInterface,Io.fn.toast.Constructor=To,Io.fn.toast.noConflict=function(){return Io.fn.toast=Ao,To.jQueryInterface}}return{Alert:ot,Button:vt,Carousel:Vt,Collapse:se,Dropdown:Mn,Modal:zn,Popover:Pi,ScrollSpy:Qi,Tab:fo,Toast:To,Tooltip:Ei}})); //# sourceMappingURL=bootstrap.bundle.min.js.map
\ No newline at end of file |