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

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