bootstrap-italia
Version:
Bootstrap Italia è un tema Bootstrap 4 per la creazione di applicazioni web nel pieno rispetto delle Linee guida di design per i servizi web della PA
21 lines (17 loc) • 217 kB
JavaScript
/*!
* Bootstrap Italia è un tema Bootstrap 4 per la creazione di applicazioni web nel pieno rispetto delle Linee guida di design per i servizi web della PA
* @version v1.3.9
* @link https://italia.github.io/bootstrap-italia/
* @license BSD-3-Clause
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
+function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
}
}(jQuery);
+function () {
function _defineProperties(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass2(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),t}function showCapsLockMsg(t){$(".password-caps").remove(),t.parents(".form-group").append('<small class="password-caps form-text text-warning position-absolute bg-white w-100">CAPS LOCK inserito</small>')}function isIe(){return 0<window.navigator.userAgent.indexOf("MSIE ")||!!navigator.userAgent.match(/Trident.*rv\:11\./)}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,f,d){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function l(s){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),e.forEach(function(t){var e,i,n;e=s,n=o[i=t],i in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n})}return s}f=f&&f.hasOwnProperty("default")?f.default:f,d=d&&d.hasOwnProperty("default")?d.default:d;var e="transitionend";function i(t){var e=this,i=!1;return f(this).one(m.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||m.triggerTransitionEnd(e)},t),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=f(t).css("transition-duration"),i=f(t).css("transition-delay"),n=parseFloat(e),s=parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(e)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){f(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n],o=e[n],a=o&&m.isElement(o)?"element":(r=o,{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+a+'" but expected type "'+s+'".')}var r},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};f.fn.emulateTransitionEnd=i,f.event.special[m.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(f(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var s="alert",o="bs.alert",r="."+o,c=f.fn[s],h={CLOSE:"close"+r,CLOSED:"closed"+r,CLICK_DATA_API:"click"+r+".data-api"},u="alert",p="fade",g="show",v=function(){function n(t){this._element=t}var t=n.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){f.removeData(this._element,o),this._element=null},t._getRootElement=function(t){var e=m.getSelectorFromElement(t),i=!1;return e&&(i=document.querySelector(e)),i=i||f(t).closest("."+u)[0]},t._triggerCloseEvent=function(t){var e=f.Event(h.CLOSE);return f(t).trigger(e),e},t._removeElement=function(e){var i=this;if(f(e).removeClass(g),f(e).hasClass(p)){var t=m.getTransitionDurationFromElement(e);f(e).one(m.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){f(t).detach().trigger(h.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var t=f(this),e=t.data(o);e||(e=new n(this),t.data(o,e)),"close"===i&&e[i](this)})},n._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();f(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',v._handleDismiss(new v)),f.fn[s]=v._jQueryInterface,f.fn[s].Constructor=v,f.fn[s].noConflict=function(){return f.fn[s]=c,v._jQueryInterface};var b="button",y="bs.button",_="."+y,w=".data-api",C=f.fn[b],k="active",$="btn",E="focus",x='[data-toggle^="button"]',I='[data-toggle="buttons"]',T='input:not([type="hidden"])',D=".active",A=".btn",S={CLICK_DATA_API:"click"+_+w,FOCUS_BLUR_DATA_API:"focus"+_+w+" blur"+_+w},L=function(){function i(t){this._element=t}var t=i.prototype;return t.toggle=function(){var t=!0,e=!0,i=f(this._element).closest(I)[0];if(i){var n=this._element.querySelector(T);if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains(k))t=!1;else{var s=i.querySelector(D);s&&f(s).removeClass(k)}if(t){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(k),f(n).trigger("change")}n.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(k)),t&&f(this._element).toggleClass(k)},t.dispose=function(){f.removeData(this._element,y),this._element=null},i._jQueryInterface=function(e){return this.each(function(){var t=f(this).data(y);t||(t=new i(this),f(this).data(y,t)),"toggle"===e&&t[e]()})},a(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();f(document).on(S.CLICK_DATA_API,x,function(t){t.preventDefault();var e=t.target;f(e).hasClass($)||(e=f(e).closest(A)),L._jQueryInterface.call(f(e),"toggle")}).on(S.FOCUS_BLUR_DATA_API,x,function(t){var e=f(t.target).closest(A)[0];f(e).toggleClass(E,/^focus(in)?$/.test(t.type))}),f.fn[b]=L._jQueryInterface,f.fn[b].Constructor=L,f.fn[b].noConflict=function(){return f.fn[b]=C,L._jQueryInterface};var O="carousel",P="bs.carousel",M="."+P,N=".data-api",U=f.fn[O],B={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},F={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},H="next",R="prev",W="left",j="right",z={SLIDE:"slide"+M,SLID:"slid"+M,KEYDOWN:"keydown"+M,MOUSEENTER:"mouseenter"+M,MOUSELEAVE:"mouseleave"+M,TOUCHSTART:"touchstart"+M,TOUCHMOVE:"touchmove"+M,TOUCHEND:"touchend"+M,POINTERDOWN:"pointerdown"+M,POINTERUP:"pointerup"+M,DRAG_START:"dragstart"+M,LOAD_DATA_API:"load"+M+N,CLICK_DATA_API:"click"+M+N},Y="carousel",q="active",K="slide",G="carousel-item-right",V="carousel-item-left",Q="carousel-item-next",X="carousel-item-prev",J="pointer-event",Z=".active",tt=".active.carousel-item",et=".carousel-item",it=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",st=".carousel-indicators",ot="[data-slide], [data-slide-to]",at='[data-ride="carousel"]',rt={TOUCH:"touch",PEN:"pen"},lt=function(){function o(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=this._element.querySelector(st),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=o.prototype;return t.next=function(){this._isSliding||this._slide(H)},t.nextWhenVisible=function(){!document.hidden&&f(this._element).is(":visible")&&"hidden"!==f(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(R)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(nt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(tt);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)f(this._element).one(z.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i<t?H:R;this._slide(n,this._items[t])}},t.dispose=function(){f(this._element).off(M),f.removeData(this._element,P),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},B,t),m.typeCheckConfig(O,t,F),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&f(this._element).on(z.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&f(this._element).on(z.MOUSEENTER,function(t){return e.pause(t)}).on(z.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var i=function(t){e._pointerEvent&&rt[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e._pointerEvent&&rt[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};f(this._element.querySelectorAll(it)).on(z.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(f(this._element).on(z.POINTERDOWN,function(t){return i(t)}),f(this._element).on(z.POINTERUP,function(t){return n(t)}),this._element.classList.add(J)):(f(this._element).on(z.TOUCHSTART,function(t){return i(t)}),f(this._element).on(z.TOUCHMOVE,function(t){return function(t){t.originalEvent.touches&&1<t.originalEvent.touches.length?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)}),f(this._element).on(z.TOUCHEND,function(t){return n(t)}))}},t._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()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(et)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var i=t===H,n=t===R,s=this._getItemIndex(e),o=this._items.length-1;if((n&&0===s||i&&s===o)&&!this._config.wrap)return e;var a=(s+(t===R?-1:1))%this._items.length;return-1==a?this._items[this._items.length-1]:this._items[a]},t._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(this._element.querySelector(tt)),s=f.Event(z.SLIDE,{relatedTarget:t,direction:e,from:n,to:i});return f(this._element).trigger(s),s},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(Z));f(e).removeClass(q);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&f(i).addClass(q)}},t._slide=function(t,e){var i,n,s,o=this,a=this._element.querySelector(tt),r=this._getItemIndex(a),l=e||a&&this._getItemByDirection(t,a),c=this._getItemIndex(l),h=Boolean(this._interval);if(s=t===H?(i=V,n=Q,W):(i=G,n=X,j),l&&f(l).hasClass(q))this._isSliding=!1;else if(!this._triggerSlideEvent(l,s).isDefaultPrevented()&&a&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var d=f.Event(z.SLID,{relatedTarget:l,direction:s,from:r,to:c});if(f(this._element).hasClass(K)){f(l).addClass(n),m.reflow(l),f(a).addClass(i),f(l).addClass(i);var u=parseInt(l.getAttribute("data-interval"),10);u?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=u):this._config.interval=this._config.defaultInterval||this._config.interval;var p=m.getTransitionDurationFromElement(a);f(a).one(m.TRANSITION_END,function(){f(l).removeClass(i+" "+n).addClass(q),f(a).removeClass(q+" "+n+" "+i),o._isSliding=!1,setTimeout(function(){return f(o._element).trigger(d)},0)}).emulateTransitionEnd(p)}else f(a).removeClass(q),f(l).addClass(q),this._isSliding=!1,f(this._element).trigger(d);h&&this.cycle()}},o._jQueryInterface=function(n){return this.each(function(){var t=f(this).data(P),e=l({},B,f(this).data());"object"==typeof n&&(e=l({},e,n));var i="string"==typeof n?n:e.slide;if(t||(t=new o(this,e),f(this).data(P,t)),"number"==typeof n)t.to(n);else if("string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},o._dataApiClickHandler=function(t){var e=m.getSelectorFromElement(this);if(e){var i=f(e)[0];if(i&&f(i).hasClass(Y)){var n=l({},f(i).data(),f(this).data()),s=this.getAttribute("data-slide-to");s&&(n.interval=!1),o._jQueryInterface.call(f(i),n),s&&f(i).data(P).to(s),t.preventDefault()}}},a(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return B}}]),o}();f(document).on(z.CLICK_DATA_API,ot,lt._dataApiClickHandler),f(window).on(z.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(at)),e=0,i=t.length;e<i;e++){var n=f(t[e]);lt._jQueryInterface.call(n,n.data())}}),f.fn[O]=lt._jQueryInterface,f.fn[O].Constructor=lt,f.fn[O].noConflict=function(){return f.fn[O]=U,lt._jQueryInterface};var ct="collapse",ht="bs.collapse",dt="."+ht,ut=f.fn[ct],pt={toggle:!0,parent:""},ft={toggle:"boolean",parent:"(string|element)"},mt={SHOW:"show"+dt,SHOWN:"shown"+dt,HIDE:"hide"+dt,HIDDEN:"hidden"+dt,CLICK_DATA_API:"click"+dt+".data-api"},gt="show",vt="collapse",bt="collapsing",yt="collapsed",_t="width",wt="height",Ct=".show, .collapsing",kt='[data-toggle="collapse"]',$t=function(){function r(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(kt)),n=0,s=i.length;n<s;n++){var o=i[n],a=m.getSelectorFromElement(o),r=[].slice.call(document.querySelectorAll(a)).filter(function(t){return t===e});null!==a&&0<r.length&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=r.prototype;return t.toggle=function(){f(this._element).hasClass(gt)?this.hide():this.show()},t.show=function(){var t,e,i=this;if(!this._isTransitioning&&!f(this._element).hasClass(gt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(Ct)).filter(function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(vt)})).length&&(t=null),!(t&&(e=f(t).not(this._selector).data(ht))&&e._isTransitioning))){var n=f.Event(mt.SHOW);if(f(this._element).trigger(n),!n.isDefaultPrevented()){t&&(r._jQueryInterface.call(f(t).not(this._selector),"hide"),e||f(t).data(ht,null));var s=this._getDimension();f(this._element).removeClass(vt).addClass(bt),this._element.style[s]=0,this._triggerArray.length&&f(this._triggerArray).removeClass(yt).attr("aria-expanded",!0),this.setTransitioning(!0);var o="scroll"+(s[0].toUpperCase()+s.slice(1)),a=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(){f(i._element).removeClass(bt).addClass(vt).addClass(gt),i._element.style[s]="",i.setTransitioning(!1),f(i._element).trigger(mt.SHOWN)}).emulateTransitionEnd(a),this._element.style[s]=this._element[o]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&f(this._element).hasClass(gt)){var e=f.Event(mt.HIDE);if(f(this._element).trigger(e),!e.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",m.reflow(this._element),f(this._element).addClass(bt).removeClass(vt).removeClass(gt);var n=this._triggerArray.length;if(0<n)for(var s=0;s<n;s++){var o=this._triggerArray[s],a=m.getSelectorFromElement(o);if(null!==a)f([].slice.call(document.querySelectorAll(a))).hasClass(gt)||f(o).addClass(yt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[i]="";var r=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(){t.setTransitioning(!1),f(t._element).removeClass(bt).addClass(vt).trigger(mt.HIDDEN)}).emulateTransitionEnd(r)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){f.removeData(this._element,ht),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},pt,t)).toggle=Boolean(t.toggle),m.typeCheckConfig(ct,t,ft),t},t._getDimension=function(){return f(this._element).hasClass(_t)?_t:wt},t._getParent=function(){var t,i=this;m.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n=[].slice.call(t.querySelectorAll(e));return f(n).each(function(t,e){i._addAriaAndCollapsedClass(r._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){var i=f(t).hasClass(gt);e.length&&f(e).toggleClass(yt,!i).attr("aria-expanded",i)},r._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},r._jQueryInterface=function(n){return this.each(function(){var t=f(this),e=t.data(ht),i=l({},pt,t.data(),"object"==typeof n&&n?n:{});if(!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||(e=new r(this,i),t.data(ht,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},a(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return pt}}]),r}();f(document).on(mt.CLICK_DATA_API,kt,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=f(this),e=m.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(e));f(n).each(function(){var t=f(this),e=t.data(ht)?"toggle":i.data();$t._jQueryInterface.call(t,e)})}),f.fn[ct]=$t._jQueryInterface,f.fn[ct].Constructor=$t,f.fn[ct].noConflict=function(){return f.fn[ct]=ut,$t._jQueryInterface};var Et="dropdown",xt="bs.dropdown",It="."+xt,Tt=".data-api",Dt=f.fn[Et],At=new RegExp("38|40|27"),St={HIDE:"hide"+It,HIDDEN:"hidden"+It,SHOW:"show"+It,SHOWN:"shown"+It,CLICK:"click"+It,CLICK_DATA_API:"click"+It+Tt,KEYDOWN_DATA_API:"keydown"+It+Tt,KEYUP_DATA_API:"keyup"+It+Tt},Lt="disabled",Ot="show",Pt="dropup",Mt="dropright",Nt="dropleft",Ut="dropdown-menu-right",Bt="position-static",Ft='[data-toggle="dropdown"]',Ht=".dropdown form",Rt=".dropdown-menu",Wt=".navbar-nav",jt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",zt="top-start",Yt="top-end",qt="bottom-start",Kt="bottom-end",Gt="right-start",Vt="left-start",Qt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Xt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Jt=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!f(this._element).hasClass(Lt)){var t=c._getParentFromElement(this._element),e=f(this._menu).hasClass(Ot);if(c._clearMenus(),!e){var i={relatedTarget:this._element},n=f.Event(St.SHOW,i);if(f(t).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=t:m.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&f(t).addClass(Bt),this._popper=new d(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===f(t).closest(Wt).length&&f(document.body).children().on("mouseover",null,f.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),f(this._menu).toggleClass(Ot),f(t).toggleClass(Ot).trigger(f.Event(St.SHOWN,i))}}}},t.show=function(){if(!(this._element.disabled||f(this._element).hasClass(Lt)||f(this._menu).hasClass(Ot))){var t={relatedTarget:this._element},e=f.Event(St.SHOW,t),i=c._getParentFromElement(this._element);f(i).trigger(e),e.isDefaultPrevented()||(f(this._menu).toggleClass(Ot),f(i).toggleClass(Ot).trigger(f.Event(St.SHOWN,t)))}},t.hide=function(){if(!this._element.disabled&&!f(this._element).hasClass(Lt)&&f(this._menu).hasClass(Ot)){var t={relatedTarget:this._element},e=f.Event(St.HIDE,t),i=c._getParentFromElement(this._element);f(i).trigger(e),e.isDefaultPrevented()||(f(this._menu).toggleClass(Ot),f(i).toggleClass(Ot).trigger(f.Event(St.HIDDEN,t)))}},t.dispose=function(){f.removeData(this._element,xt),f(this._element).off(It),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;f(this._element).on(St.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,f(this._element).data(),t),m.typeCheckConfig(Et,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Rt))}return this._menu},t._getPlacement=function(){var t=f(this._element.parentNode),e=qt;return t.hasClass(Pt)?(e=zt,f(this._menu).hasClass(Ut)&&(e=Yt)):t.hasClass(Mt)?e=Gt:t.hasClass(Nt)?e=Vt:f(this._menu).hasClass(Ut)&&(e=Kt),e},t._detectNavbar=function(){return 0<f(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._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},c._jQueryInterface=function(e){return this.each(function(){var t=f(this).data(xt);if(t||(t=new c(this,"object"==typeof e?e:null),f(this).data(xt,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(Ft)),i=0,n=e.length;i<n;i++){var s=c._getParentFromElement(e[i]),o=f(e[i]).data(xt),a={relatedTarget:e[i]};if(t&&"click"===t.type&&(a.clickEvent=t),o){var r=o._menu;if(f(s).hasClass(Ot)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&f.contains(s,t.target))){var l=f.Event(St.HIDE,a);f(s).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),e[i].setAttribute("aria-expanded","false"),f(r).removeClass(Ot),f(s).removeClass(Ot).trigger(f.Event(St.HIDDEN,a)))}}}},c._getParentFromElement=function(t){var e,i=m.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||f(t.target).closest(Rt).length)):At.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!f(this).hasClass(Lt))){var e=c._getParentFromElement(this),i=f(e).hasClass(Ot);if(i&&(!i||27!==t.which&&32!==t.which)){var n=[].slice.call(e.querySelectorAll(jt));if(0!==n.length){var s=n.indexOf(t.target);38===t.which&&0<s&&s--,40===t.which&&s<n.length-1&&s++,s<0&&(s=0),n[s].focus()}}else{if(27===t.which){var o=e.querySelector(Ft);f(o).trigger("focus")}f(this).trigger("click")}}},a(c,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Qt}},{key:"DefaultType",get:function(){return Xt}}]),c}();f(document).on(St.KEYDOWN_DATA_API,Ft,Jt._dataApiKeydownHandler).on(St.KEYDOWN_DATA_API,Rt,Jt._dataApiKeydownHandler).on(St.CLICK_DATA_API+" "+St.KEYUP_DATA_API,Jt._clearMenus).on(St.CLICK_DATA_API,Ft,function(t){t.preventDefault(),t.stopPropagation(),Jt._jQueryInterface.call(f(this),"toggle")}).on(St.CLICK_DATA_API,Ht,function(t){t.stopPropagation()}),f.fn[Et]=Jt._jQueryInterface,f.fn[Et].Constructor=Jt,f.fn[Et].noConflict=function(){return f.fn[Et]=Dt,Jt._jQueryInterface};var Zt="modal",te="bs.modal",ee="."+te,ie=f.fn[Zt],ne={backdrop:!0,keyboard:!0,focus:!0,show:!0},se={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},oe={HIDE:"hide"+ee,HIDDEN:"hidden"+ee,SHOW:"show"+ee,SHOWN:"shown"+ee,FOCUSIN:"focusin"+ee,RESIZE:"resize"+ee,CLICK_DISMISS:"click.dismiss"+ee,KEYDOWN_DISMISS:"keydown.dismiss"+ee,MOUSEUP_DISMISS:"mouseup.dismiss"+ee,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ee,CLICK_DATA_API:"click"+ee+".data-api"},ae="modal-dialog-scrollable",re="modal-scrollbar-measure",le="modal-backdrop",ce="modal-open",he="fade",de="show",ue=".modal-dialog",pe=".modal-body",fe='[data-toggle="modal"]',me='[data-dismiss="modal"]',ge=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ve=".sticky-top",be=function(){function s(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(ue),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=s.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){f(this._element).hasClass(he)&&(this._isTransitioning=!0);var i=f.Event(oe.SHOW,{relatedTarget:t});f(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),f(this._element).on(oe.CLICK_DISMISS,me,function(t){return e.hide(t)}),f(this._dialog).on(oe.MOUSEDOWN_DISMISS,function(){f(e._element).one(oe.MOUSEUP_DISMISS,function(t){f(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var i=f.Event(oe.HIDE);if(f(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var n=f(this._element).hasClass(he);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),f(document).off(oe.FOCUSIN),f(this._element).removeClass(de),f(this._element).off(oe.CLICK_DISMISS),f(this._dialog).off(oe.MOUSEDOWN_DISMISS),n){var s=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(s)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return f(t).off(ee)}),f(document).off(oe.FOCUSIN),f.removeData(this._element,te),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},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},ne,t),m.typeCheckConfig(Zt,t,se),t},t._showElement=function(t){var e=this,i=f(this._element).hasClass(he);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),f(this._dialog).hasClass(ae)?this._dialog.querySelector(pe).scrollTop=0:this._element.scrollTop=0,i&&m.reflow(this._element),f(this._element).addClass(de),this._config.focus&&this._enforceFocus();function n(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,f(e._element).trigger(s)}var s=f.Event(oe.SHOWN,{relatedTarget:t});if(i){var o=m.getTransitionDurationFromElement(this._dialog);f(this._dialog).one(m.TRANSITION_END,n).emulateTransitionEnd(o)}else n()},t._enforceFocus=function(){var e=this;f(document).off(oe.FOCUSIN).on(oe.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===f(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?f(this._element).on(oe.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||f(this._element).off(oe.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?f(window).on(oe.RESIZE,function(t){return e.handleUpdate(t)}):f(window).off(oe.RESIZE)},t._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(){f(document.body).removeClass(ce),t._resetAdjustments(),t._resetScrollbar(),f(t._element).trigger(oe.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(f(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,i=f(this._element).hasClass(he)?he:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=le,i&&this._backdrop.classList.add(i),f(this._backdrop).appendTo(document.body),f(this._element).on(oe.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),i&&m.reflow(this._backdrop),f(this._backdrop).addClass(de),!t)return;if(!i)return void t();var n=m.getTransitionDurationFromElement(this._backdrop);f(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){f(this._backdrop).removeClass(de);var s=function(){e._removeBackdrop(),t&&t()};if(f(this._element).hasClass(he)){var o=m.getTransitionDurationFromElement(this._backdrop);f(this._backdrop).one(m.TRANSITION_END,s).emulateTransitionEnd(o)}else s()}else t&&t()},t._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")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var s=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(ge)),e=[].slice.call(document.querySelectorAll(ve));f(t).each(function(t,e){var i=e.style.paddingRight,n=f(e).css("padding-right");f(e).data("padding-right",i).css("padding-right",parseFloat(n)+s._scrollbarWidth+"px")}),f(e).each(function(t,e){var i=e.style.marginRight,n=f(e).css("margin-right");f(e).data("margin-right",i).css("margin-right",parseFloat(n)-s._scrollbarWidth+"px")});var i=document.body.style.paddingRight,n=f(document.body).css("padding-right");f(document.body).data("padding-right",i).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}f(document.body).addClass(ce)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(ge));f(t).each(function(t,e){var i=f(e).data("padding-right");f(e).removeData("padding-right"),e.style.paddingRight=i||""});var e=[].slice.call(document.querySelectorAll(""+ve));f(e).each(function(t,e){var i=f(e).data("margin-right");void 0!==i&&f(e).css("margin-right",i).removeData("margin-right")});var i=f(document.body).data("padding-right");f(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=re,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},s._jQueryInterface=function(i,n){return this.each(function(){var t=f(this).data(te),e=l({},ne,f(this).data(),"object"==typeof i&&i?i:{});if(t||(t=new s(this,e),f(this).data(te,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i](n)}else e.show&&t.show(n)})},a(s,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ne}}]),s}();f(document).on(oe.CLICK_DATA_API,fe,function(t){var e,i=this,n=m.getSelectorFromElement(this);n&&(e=document.querySelector(n));var s=f(e).data(te)?"toggle":l({},f(e).data(),f(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var o=f(e).one(oe.SHOW,function(t){t.isDefaultPrevented()||o.one(oe.HIDDEN,function(){f(i).is(":visible")&&i.focus()})});be._jQueryInterface.call(f(e),s,this)}),f.fn[Zt]=be._jQueryInterface,f.fn[Zt].Constructor=be,f.fn[Zt].noConflict=function(){return f.fn[Zt]=ie,be._jQueryInterface};var ye=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],_e={"*":["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:[]},we=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ce=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function ke(t,a,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(a),l=[].slice.call(i.body.querySelectorAll("*")),n=function(t,e){var i=l[t],n=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),o=[].concat(a["*"]||[],a[n]||[]);s.forEach(function(t){!function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===ye.indexOf(i)||Boolean(t.nodeValue.match(we)||t.nodeValue.match(Ce));for(var n=e.filter(function(t){return t instanceof RegExp}),s=0,o=n.length;s<o;s++)if(i.match(n[s]))return!0;return!1}(t,o)&&i.removeAttribute(t.nodeName)})},s=0,o=l.length;s<o;s++)n(s);return i.body.innerHTML}var $e="tooltip",Ee="bs.tooltip",xe="."+Ee,Ie=f.fn[$e],Te="bs-tooltip",De=new RegExp("(^|\\s)"+Te+"\\S+","g"),Ae=["sanitize","whiteList","sanitizeFn"],Se={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"},Le={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Oe={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:_e},Pe="show",Me="out",Ne={HIDE:"hide"+xe,HIDDEN:"hidden"+xe,SHOW:"show"+xe,SHOWN:"shown"+xe,INSERTED:"inserted"+xe,CLICK:"click"+xe,FOCUSIN:"focusin"+xe,FOCUSOUT:"focusout"+xe,MOUSEENTER:"mouseenter"+xe,MOUSELEAVE:"mouseleave"+xe},Ue="fade",Be="show",Fe=".tooltip-inner",He=".arrow",Re="hover",We="focus",je="click",ze="manual",Ye=function(){function n(t,e){if(void 0===d)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()}var t=n.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=f(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(f(this.getTipElement()).hasClass(Be))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),f.removeData(this.element,this.constructor.DATA_KEY),f(this.element).off(this.constructor.EVENT_KEY),f(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&f(this.tip).remove(),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},t.show=function(){var e=this;if("none"===f(this.element).css("display"))throw new Error("Please use show on visible elements");var t=f.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){f(this.element).trigger(t);var i=m.findShadowRoot(this.element),n=f.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var s=this.getTipElement(),o=m.getUID(this.constructor.NAME);s.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&f(s).addClass(Ue);var a="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,r=this._getAttachment(a);this.addAttachmentClass(r);var l=this._getContainer();f(s).data(this.constructor.DATA_KEY,this),f.contains(this.element.ownerDocument.documentElement,this.tip)||f(s).appendTo(l),f(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,s,{placement:r,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:He},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),f(s).addClass(Be),"ontouchstart"in document.documentElement&&f(document.body).children().on("mouseover",null,f.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,f(e.element).trigger(e.constructor.Event.SHOWN),t===Me&&e._leave(null,e)};if(f(this.tip).hasClass(Ue)){var h=m.getTransitionDurationFromElement(this.tip);f(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){function e(){i._hoverState!==Pe&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),f(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),s=f.Event(this.constructor.Event.HIDE);if(f(this.element).trigger(s),!s.isDefaultPrevented()){if(f(n).removeClass(Be),"ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),this._activeTrigger[je]=!1,this._activeTrigger[We]=!1,this._activeTrigger[Re]=!1,f(this.tip).hasClass(Ue)){var o=m.getTransitionDurationFromElement(n);f(n).one(m.TRANSITION_END,e).emulateTransitionEnd(o)}else e();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){f(this.getTipElement()).addClass(Te+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(f(t.querySelectorAll(Fe)),this.getTitle()),f(t).removeClass(Ue+" "+Be)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=ke(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?f(e).parent().is(t)||t.empty().append(e):t.text(f(e).text())},t.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._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?f(this.config.container):f(document).find(this.config.container)},t._getAttachment=function(t){return Le[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)f(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==ze){var e=t===Re?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Re?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;f(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}}),f(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._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",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?We:Re]=!0),f(e.getTipElement()).hasClass(Be)||e._hoverState===Pe?e._hoverState=Pe:(clearTimeout(e._timeout),e._hoverState=Pe,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Pe&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||f(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),f(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?We:Re]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Me,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Me&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=f(this.element).data();return Object.keys(e).forEach(function(t){-1!==Ae.indexOf(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig($e,t,this.constructor.DefaultType),t.sanitize&&(t.template=ke(t.template,t.whiteList,t.sanitizeFn)),t},t._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},t._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(De);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(f(t).removeClass(Ue),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},n._jQueryInterface=function(i){return this.each(function(){var t=f(this).data(Ee),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),f(this).data(Ee,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},a(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Oe}},{key:"NAME",get:function(){return $e}},{key:"DATA_KEY",get:function(){return Ee}},{key:"Event",get:function(){return Ne}},{key:"EVENT_KEY",get:function(){return xe}},{key:"DefaultType",get:function(){return Se}}]),n}();f.fn[$e]=Ye._jQueryInterface,f.fn[$e].Constructor=Ye,f.fn[$e].noConflict=function(){return f.fn[$e]=Ie,Ye._jQueryInterface};var qe="popover",Ke="bs.popover",Ge="."+Ke,Ve=f.fn[qe],Qe="bs-popover",Xe=new RegExp("(^|\\s)"+Qe+"\\S+","g"),Je=l({},Ye.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ze=l({},Ye.DefaultType,{content:"(string|element|function)"}),ti="fade",ei="show",ii=".popover-header",ni=".popover-body",si={HIDE:"hide"+Ge,HIDDEN:"hidden"+Ge,SHOW:"show"+Ge,SHOWN:"shown"+Ge,INSERTED:"inserted"+Ge,CLICK:"click"+Ge,FOCUSIN:"focusin"+Ge,FOCUSOUT:"focusout"+Ge,MOUSEENTER:"mouseenter"+Ge,MOUSELEAVE:"mouseleave"+Ge},oi=function(t){function n(){return t.apply(this,arguments)||this}!function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}(n,t);var e=n.prototype;return e.isWithContent=function(){return this.getTitle()||this._getContent()},e.addAttachmentClass=function(t){f(this.getTipElement()).addClass(Qe+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},e.setContent=function(){var t=f(this.getTipElement());this.setElementContent(t.find(ii),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(ni),e),t.removeClass(ti+" "+ei)},e._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},e._cleanTipClass=function(){var t=f(this.getTipElement()),e=t.attr("class").match(Xe);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._jQueryInterface=function(i){return this.each(function(){var t=f(this).data(Ke),e="object"==typeof i?i:null;if((t||!/dispose|hide/.test(i))&&(t||(t=new n(this,e),f(this).data(Ke,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},a(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Je}},{key:"NAME",get:function(){return qe}},{key:"DATA_KEY",get:function(){return Ke}},{key:"Event",get:function(){return si}},{key:"EVENT_KEY",get:function(){return Ge}},{key:"DefaultType",get:function(){return Ze}}]),n}(Ye);f.fn[qe]=oi._jQueryInterface,f.fn[qe].Constructor=oi,f.fn[qe].noConflict=function(){return f.fn[qe]=Ve,oi._jQueryInterface};var ai="scrollspy",ri="bs.scrollspy",li="."+ri,ci=f.fn[ai],hi={offset:10,method:"auto",target:""},di={offset:"number",method:"string",target:"(string|element)"},ui={ACTIVATE:"activate"+li,SCROLL:"scroll"+li,LOAD_DATA_API:"load"+li+".data-api"},pi="dropdown-item",fi="active",mi='[data-spy="scroll"]',gi=".nav, .list-group",vi=".nav-link",bi=".nav-item",yi=".list-group-item",_i=".dropdown",wi=".dropdown-item",Ci=".dropdown-toggle",ki="offset",$i="position",Ei=function(){function i(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+vi+","+this._config.target+" "+yi+","+this._config.target+" "+wi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,f(this._scrollElement).on(ui.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var t=i.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?ki:$i,