bootstrapbase-sn
Version:
Webpack-Sass-Bootstrap Boilerplate
7 lines • 163 kB
JavaScript
!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);n(2),n(6)},function(e,t,n){
/*!
* Bootstrap v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
!function(e,t,c){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},t=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),t.forEach(function(e){var t,n,r;t=i,r=o[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r})}return i}t=t&&t.hasOwnProperty("default")?t.default:t,c=c&&c.hasOwnProperty("default")?c.default:c;var u,i,n,o,f,d,h,l,p,g,m,v,y,_,E,b,T,w,C,A,S,x,D,O,I,N,L,k,P,H,j,R,W,M,F,q,B,U,V,G,K,$,Q,Y,X,z,J,Z,ee,te,ne,re,ie,oe,se,ae,le,ue,ce,fe,de,he,pe,ge,me,ve,ye,_e,Ee,be,Te,we,Ce,Ae,Se,xe,De,Oe,Ie,Ne,Le,ke,Pe,He,je,Re,We,Me,Fe,qe,Be,Ue,Ve,Ge,Ke,$e,Qe,Ye,Xe,ze,Je,Ze,et,tt,nt,rt,it,ot,st,at,lt,ut,ct,ft,dt,ht,pt,gt=function(r){var t="transitionend";function e(e){var t=this,n=!1;return r(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(t)},e),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=r(e).css("transition-duration"),n=parseFloat(t);return n?(t=t.split(",")[0],1e3*parseFloat(t)):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){r(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r],o=t[r],s=o&&l.isElement(o)?"element":(a=o,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(i).test(s))throw new Error(e.toUpperCase()+': Option "'+r+'" provided type "'+s+'" but expected type "'+i+'".')}var a}};return r.fn.emulateTransitionEnd=e,r.event.special[l.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},l}(t),mt=(lt="alert",ct="."+(ut="bs.alert"),ft=(at=t).fn[lt],dt={CLOSE:"close"+ct,CLOSED:"closed"+ct,CLICK_DATA_API:"click"+ct+".data-api"},ht={ALERT:"alert",FADE:"fade",SHOW:"show"},pt=function(){function r(e){this._element=e}var e=r.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e));var n=this._triggerCloseEvent(t);n.isDefaultPrevented()||this._removeElement(t)},e.dispose=function(){at.removeData(this._element,ut),this._element=null},e._getRootElement=function(e){var t=gt.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=at(e).closest("."+ht.ALERT)[0]),n},e._triggerCloseEvent=function(e){var t=at.Event(dt.CLOSE);return at(e).trigger(t),t},e._removeElement=function(t){var n=this;if(at(t).removeClass(ht.SHOW),at(t).hasClass(ht.FADE)){var e=gt.getTransitionDurationFromElement(t);at(t).one(gt.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function(e){at(e).detach().trigger(dt.CLOSED).remove()},r._jQueryInterface=function(n){return this.each(function(){var e=at(this),t=e.data(ut);t||(t=new r(this),e.data(ut,t)),"close"===n&&t[n](this)})},r._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(r,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),r}(),at(document).on(dt.CLICK_DATA_API,'[data-dismiss="alert"]',pt._handleDismiss(new pt)),at.fn[lt]=pt._jQueryInterface,at.fn[lt].Constructor=pt,at.fn[lt].noConflict=function(){return at.fn[lt]=ft,pt._jQueryInterface},pt),vt=(Je="button",et="."+(Ze="bs.button"),tt=".data-api",nt=(ze=t).fn[Je],rt={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},it={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},ot={CLICK_DATA_API:"click"+et+tt,FOCUS_BLUR_DATA_API:"focus"+et+tt+" blur"+et+tt},st=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=ze(this._element).closest(it.DATA_TOGGLE)[0];if(n){var r=this._element.querySelector(it.INPUT);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(rt.ACTIVE))e=!1;else{var i=n.querySelector(it.ACTIVE);i&&ze(i).removeClass(rt.ACTIVE)}if(e){if(r.hasAttribute("disabled")||n.hasAttribute("disabled")||r.classList.contains("disabled")||n.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(rt.ACTIVE),ze(r).trigger("change")}r.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(rt.ACTIVE)),e&&ze(this._element).toggleClass(rt.ACTIVE)},e.dispose=function(){ze.removeData(this._element,Ze),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=ze(this).data(Ze);e||(e=new n(this),ze(this).data(Ze,e)),"toggle"===t&&e[t]()})},s(n,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),n}(),ze(document).on(ot.CLICK_DATA_API,it.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var t=e.target;ze(t).hasClass(rt.BUTTON)||(t=ze(t).closest(it.BUTTON)),st._jQueryInterface.call(ze(t),"toggle")}).on(ot.FOCUS_BLUR_DATA_API,it.DATA_TOGGLE_CARROT,function(e){var t=ze(e.target).closest(it.BUTTON)[0];ze(t).toggleClass(rt.FOCUS,/^focus(in)?$/.test(e.type))}),ze.fn[Je]=st._jQueryInterface,ze.fn[Je].Constructor=st,ze.fn[Je].noConflict=function(){return ze.fn[Je]=nt,st._jQueryInterface},st),yt=(Me="carousel",qe="."+(Fe="bs.carousel"),Be=".data-api",Ue=(We=t).fn[Me],Ve={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},Ge={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},Ke={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},$e={SLIDE:"slide"+qe,SLID:"slid"+qe,KEYDOWN:"keydown"+qe,MOUSEENTER:"mouseenter"+qe,MOUSELEAVE:"mouseleave"+qe,TOUCHEND:"touchend"+qe,LOAD_DATA_API:"load"+qe+Be,CLICK_DATA_API:"click"+qe+Be},Qe={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},Ye={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Xe=function(){function o(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(t),this._element=We(e)[0],this._indicatorsElement=this._element.querySelector(Ye.INDICATORS),this._addEventListeners()}var e=o.prototype;return e.next=function(){this._isSliding||this._slide(Ke.NEXT)},e.nextWhenVisible=function(){!document.hidden&&We(this._element).is(":visible")&&"hidden"!==We(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(Ke.PREV)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Ye.NEXT_PREV)&&(gt.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(e){e||(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))},e.to=function(e){var t=this;this._activeElement=this._element.querySelector(Ye.ACTIVE_ITEM);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)We(this._element).one($e.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var r=n<e?Ke.NEXT:Ke.PREV;this._slide(r,this._items[e])}},e.dispose=function(){We(this._element).off(qe),We.removeData(this._element,Fe),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(e){return e=a({},Ve,e),gt.typeCheckConfig(Me,e,Ge),e},e._addEventListeners=function(){var t=this;this._config.keyboard&&We(this._element).on($e.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(We(this._element).on($e.MOUSEENTER,function(e){return t.pause(e)}).on($e.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&We(this._element).on($e.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},e._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Ye.ITEM)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===Ke.NEXT,r=e===Ke.PREV,i=this._getItemIndex(t),o=this._items.length-1,s=r&&0===i||n&&i===o;if(s&&!this._config.wrap)return t;var a=e===Ke.PREV?-1:1,l=(i+a)%this._items.length;return-1===l?this._items[this._items.length-1]:this._items[l]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(Ye.ACTIVE_ITEM)),i=We.Event($e.SLIDE,{relatedTarget:e,direction:t,from:r,to:n});return We(this._element).trigger(i),i},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Ye.ACTIVE));We(t).removeClass(Qe.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&We(n).addClass(Qe.ACTIVE)}},e._slide=function(e,t){var n,r,i,o=this,s=this._element.querySelector(Ye.ACTIVE_ITEM),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(l),c=Boolean(this._interval);if(i=e===Ke.NEXT?(n=Qe.LEFT,r=Qe.NEXT,Ke.LEFT):(n=Qe.RIGHT,r=Qe.PREV,Ke.RIGHT),l&&We(l).hasClass(Qe.ACTIVE))this._isSliding=!1;else{var f=this._triggerSlideEvent(l,i);if(!f.isDefaultPrevented()&&s&&l){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l);var d=We.Event($e.SLID,{relatedTarget:l,direction:i,from:a,to:u});if(We(this._element).hasClass(Qe.SLIDE)){We(l).addClass(r),gt.reflow(l),We(s).addClass(n),We(l).addClass(n);var h=gt.getTransitionDurationFromElement(s);We(s).one(gt.TRANSITION_END,function(){We(l).removeClass(n+" "+r).addClass(Qe.ACTIVE),We(s).removeClass(Qe.ACTIVE+" "+r+" "+n),o._isSliding=!1,setTimeout(function(){return We(o._element).trigger(d)},0)}).emulateTransitionEnd(h)}else We(s).removeClass(Qe.ACTIVE),We(l).addClass(Qe.ACTIVE),this._isSliding=!1,We(this._element).trigger(d);c&&this.cycle()}}},o._jQueryInterface=function(r){return this.each(function(){var e=We(this).data(Fe),t=a({},Ve,We(this).data());"object"==typeof r&&(t=a({},t,r));var n="string"==typeof r?r:t.slide;if(e||(e=new o(this,t),We(this).data(Fe,e)),"number"==typeof r)e.to(r);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},o._dataApiClickHandler=function(e){var t=gt.getSelectorFromElement(this);if(t){var n=We(t)[0];if(n&&We(n).hasClass(Qe.CAROUSEL)){var r=a({},We(n).data(),We(this).data()),i=this.getAttribute("data-slide-to");i&&(r.interval=!1),o._jQueryInterface.call(We(n),r),i&&We(n).data(Fe).to(i),e.preventDefault()}}},s(o,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return Ve}}]),o}(),We(document).on($e.CLICK_DATA_API,Ye.DATA_SLIDE,Xe._dataApiClickHandler),We(window).on($e.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(Ye.DATA_RIDE)),t=0,n=e.length;t<n;t++){var r=We(e[t]);Xe._jQueryInterface.call(r,r.data())}}),We.fn[Me]=Xe._jQueryInterface,We.fn[Me].Constructor=Xe,We.fn[Me].noConflict=function(){return We.fn[Me]=Ue,Xe._jQueryInterface},Xe),_t=(xe="collapse",Oe="."+(De="bs.collapse"),Ie=(Se=t).fn[xe],Ne={toggle:!0,parent:""},Le={toggle:"boolean",parent:"(string|element)"},ke={SHOW:"show"+Oe,SHOWN:"shown"+Oe,HIDE:"hide"+Oe,HIDDEN:"hidden"+Oe,CLICK_DATA_API:"click"+Oe+".data-api"},Pe={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},He={WIDTH:"width",HEIGHT:"height"},je={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},Re=function(){function l(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=Se.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(je.DATA_TOGGLE)),r=0,i=n.length;r<i;r++){var o=n[r],s=gt.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&0<a.length&&(this._selector=s,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 e=l.prototype;return e.toggle=function(){Se(this._element).hasClass(Pe.SHOW)?this.hide():this.show()},e.show=function(){var e,t,n=this;if(!(this._isTransitioning||Se(this._element).hasClass(Pe.SHOW)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(je.ACTIVES)).filter(function(e){return e.getAttribute("data-parent")===n._config.parent})).length&&(e=null),e&&(t=Se(e).not(this._selector).data(De))&&t._isTransitioning))){var r=Se.Event(ke.SHOW);if(Se(this._element).trigger(r),!r.isDefaultPrevented()){e&&(l._jQueryInterface.call(Se(e).not(this._selector),"hide"),t||Se(e).data(De,null));var i=this._getDimension();Se(this._element).removeClass(Pe.COLLAPSE).addClass(Pe.COLLAPSING),this._element.style[i]=0,this._triggerArray.length&&Se(this._triggerArray).removeClass(Pe.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var o=i[0].toUpperCase()+i.slice(1),s="scroll"+o,a=gt.getTransitionDurationFromElement(this._element);Se(this._element).one(gt.TRANSITION_END,function(){Se(n._element).removeClass(Pe.COLLAPSING).addClass(Pe.COLLAPSE).addClass(Pe.SHOW),n._element.style[i]="",n.setTransitioning(!1),Se(n._element).trigger(ke.SHOWN)}).emulateTransitionEnd(a),this._element.style[i]=this._element[s]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&Se(this._element).hasClass(Pe.SHOW)){var t=Se.Event(ke.HIDE);if(Se(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",gt.reflow(this._element),Se(this._element).addClass(Pe.COLLAPSING).removeClass(Pe.COLLAPSE).removeClass(Pe.SHOW);var r=this._triggerArray.length;if(0<r)for(var i=0;i<r;i++){var o=this._triggerArray[i],s=gt.getSelectorFromElement(o);if(null!==s){var a=Se([].slice.call(document.querySelectorAll(s)));a.hasClass(Pe.SHOW)||Se(o).addClass(Pe.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0),this._element.style[n]="";var l=gt.getTransitionDurationFromElement(this._element);Se(this._element).one(gt.TRANSITION_END,function(){e.setTransitioning(!1),Se(e._element).removeClass(Pe.COLLAPSING).addClass(Pe.COLLAPSE).trigger(ke.HIDDEN)}).emulateTransitionEnd(l)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){Se.removeData(this._element,De),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=a({},Ne,e)).toggle=Boolean(e.toggle),gt.typeCheckConfig(xe,e,Le),e},e._getDimension=function(){var e=Se(this._element).hasClass(He.WIDTH);return e?He.WIDTH:He.HEIGHT},e._getParent=function(){var n=this,e=null;gt.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(t));return Se(r).each(function(e,t){n._addAriaAndCollapsedClass(l._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){if(e){var n=Se(e).hasClass(Pe.SHOW);t.length&&Se(t).toggleClass(Pe.COLLAPSED,!n).attr("aria-expanded",n)}},l._getTargetFromElement=function(e){var t=gt.getSelectorFromElement(e);return t?document.querySelector(t):null},l._jQueryInterface=function(r){return this.each(function(){var e=Se(this),t=e.data(De),n=a({},Ne,e.data(),"object"==typeof r&&r?r:{});if(!t&&n.toggle&&/show|hide/.test(r)&&(n.toggle=!1),t||(t=new l(this,n),e.data(De,t)),"string"==typeof r){if(void 0===t[r])throw new TypeError('No method named "'+r+'"');t[r]()}})},s(l,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return Ne}}]),l}(),Se(document).on(ke.CLICK_DATA_API,je.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var r=Se(this),t=gt.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(t));Se(n).each(function(){var e=Se(this),t=e.data(De),n=t?"toggle":r.data();Re._jQueryInterface.call(e,n)})}),Se.fn[xe]=Re._jQueryInterface,Se.fn[xe].Constructor=Re,Se.fn[xe].noConflict=function(){return Se.fn[xe]=Ie,Re._jQueryInterface},Re),Et=(he="dropdown",ge="."+(pe="bs.dropdown"),me=".data-api",ve=(de=t).fn[he],ye=new RegExp("38|40|27"),_e={HIDE:"hide"+ge,HIDDEN:"hidden"+ge,SHOW:"show"+ge,SHOWN:"shown"+ge,CLICK:"click"+ge,CLICK_DATA_API:"click"+ge+me,KEYDOWN_DATA_API:"keydown"+ge+me,KEYUP_DATA_API:"keyup"+ge+me},Ee={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},be={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},Te={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},we={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ce={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ae=function(){function u(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=u.prototype;return e.toggle=function(){if(!this._element.disabled&&!de(this._element).hasClass(Ee.DISABLED)){var e=u._getParentFromElement(this._element),t=de(this._menu).hasClass(Ee.SHOW);if(u._clearMenus(),!t){var n={relatedTarget:this._element},r=de.Event(_e.SHOW,n);if(de(e).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===c)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var i=this._element;"parent"===this._config.reference?i=e:gt.isElement(this._config.reference)&&(i=this._config.reference,void 0!==this._config.reference.jquery&&(i=this._config.reference[0])),"scrollParent"!==this._config.boundary&&de(e).addClass(Ee.POSITION_STATIC),this._popper=new c(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===de(e).closest(be.NAVBAR_NAV).length&&de(document.body).children().on("mouseover",null,de.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),de(this._menu).toggleClass(Ee.SHOW),de(e).toggleClass(Ee.SHOW).trigger(de.Event(_e.SHOWN,n))}}}},e.dispose=function(){de.removeData(this._element,pe),de(this._element).off(ge),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;de(this._element).on(_e.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=a({},this.constructor.Default,de(this._element).data(),e),gt.typeCheckConfig(he,e,this.constructor.DefaultType),e},e._getMenuElement=function(){if(!this._menu){var e=u._getParentFromElement(this._element);e&&(this._menu=e.querySelector(be.MENU))}return this._menu},e._getPlacement=function(){var e=de(this._element.parentNode),t=Te.BOTTOM;return e.hasClass(Ee.DROPUP)?(t=Te.TOP,de(this._menu).hasClass(Ee.MENURIGHT)&&(t=Te.TOPEND)):e.hasClass(Ee.DROPRIGHT)?t=Te.RIGHT:e.hasClass(Ee.DROPLEFT)?t=Te.LEFT:de(this._menu).hasClass(Ee.MENURIGHT)&&(t=Te.BOTTOMEND),t},e._detectNavbar=function(){return 0<de(this._element).closest(".navbar").length},e._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},u._jQueryInterface=function(n){return this.each(function(){var e=de(this).data(pe),t="object"==typeof n?n:null;if(e||(e=new u(this,t),de(this).data(pe,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},u._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(be.DATA_TOGGLE)),n=0,r=t.length;n<r;n++){var i=u._getParentFromElement(t[n]),o=de(t[n]).data(pe),s={relatedTarget:t[n]};if(e&&"click"===e.type&&(s.clickEvent=e),o){var a=o._menu;if(de(i).hasClass(Ee.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&de.contains(i,e.target))){var l=de.Event(_e.HIDE,s);de(i).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&de(document.body).children().off("mouseover",null,de.noop),t[n].setAttribute("aria-expanded","false"),de(a).removeClass(Ee.SHOW),de(i).removeClass(Ee.SHOW).trigger(de.Event(_e.HIDDEN,s)))}}}},u._getParentFromElement=function(e){var t,n=gt.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},u._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||de(e.target).closest(be.MENU).length)):ye.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!de(this).hasClass(Ee.DISABLED))){var t=u._getParentFromElement(this),n=de(t).hasClass(Ee.SHOW);if((n||27===e.which&&32===e.which)&&(!n||27!==e.which&&32!==e.which)){var r=[].slice.call(t.querySelectorAll(be.VISIBLE_ITEMS));if(0!==r.length){var i=r.indexOf(e.target);38===e.which&&0<i&&i--,40===e.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus()}}else{if(27===e.which){var o=t.querySelector(be.DATA_TOGGLE);de(o).trigger("focus")}de(this).trigger("click")}}},s(u,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return we}},{key:"DefaultType",get:function(){return Ce}}]),u}(),de(document).on(_e.KEYDOWN_DATA_API,be.DATA_TOGGLE,Ae._dataApiKeydownHandler).on(_e.KEYDOWN_DATA_API,be.MENU,Ae._dataApiKeydownHandler).on(_e.CLICK_DATA_API+" "+_e.KEYUP_DATA_API,Ae._clearMenus).on(_e.CLICK_DATA_API,be.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),Ae._jQueryInterface.call(de(this),"toggle")}).on(_e.CLICK_DATA_API,be.FORM_CHILD,function(e){e.stopPropagation()}),de.fn[he]=Ae._jQueryInterface,de.fn[he].Constructor=Ae,de.fn[he].noConflict=function(){return de.fn[he]=ve,Ae._jQueryInterface},Ae),bt=(ne="modal",ie="."+(re="bs.modal"),oe=(te=t).fn[ne],se={backdrop:!0,keyboard:!0,focus:!0,show:!0},ae={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},le={HIDE:"hide"+ie,HIDDEN:"hidden"+ie,SHOW:"show"+ie,SHOWN:"shown"+ie,FOCUSIN:"focusin"+ie,RESIZE:"resize"+ie,CLICK_DISMISS:"click.dismiss"+ie,KEYDOWN_DISMISS:"keydown.dismiss"+ie,MOUSEUP_DISMISS:"mouseup.dismiss"+ie,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ie,CLICK_DATA_API:"click"+ie+".data-api"},ue={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},ce={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},fe=function(){function i(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ce.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var e=i.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var t=this;if(!this._isTransitioning&&!this._isShown){te(this._element).hasClass(ue.FADE)&&(this._isTransitioning=!0);var n=te.Event(le.SHOW,{relatedTarget:e});te(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),te(document.body).addClass(ue.OPEN),this._setEscapeEvent(),this._setResizeEvent(),te(this._element).on(le.CLICK_DISMISS,ce.DATA_DISMISS,function(e){return t.hide(e)}),te(this._dialog).on(le.MOUSEDOWN_DISMISS,function(){te(t._element).one(le.MOUSEUP_DISMISS,function(e){te(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=te.Event(le.HIDE);if(te(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var r=te(this._element).hasClass(ue.FADE);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),te(document).off(le.FOCUSIN),te(this._element).removeClass(ue.SHOW),te(this._element).off(le.CLICK_DISMISS),te(this._dialog).off(le.MOUSEDOWN_DISMISS),r){var i=gt.getTransitionDurationFromElement(this._element);te(this._element).one(gt.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(i)}else this._hideModal()}}},e.dispose=function(){te.removeData(this._element,re),te(window,document,this._element,this._backdrop).off(ie),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=a({},se,e),gt.typeCheckConfig(ne,e,ae),e},e._showElement=function(e){var t=this,n=te(this._element).hasClass(ue.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&>.reflow(this._element),te(this._element).addClass(ue.SHOW),this._config.focus&&this._enforceFocus();var r=te.Event(le.SHOWN,{relatedTarget:e}),i=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,te(t._element).trigger(r)};if(n){var o=gt.getTransitionDurationFromElement(this._element);te(this._dialog).one(gt.TRANSITION_END,i).emulateTransitionEnd(o)}else i()},e._enforceFocus=function(){var t=this;te(document).off(le.FOCUSIN).on(le.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===te(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?te(this._element).on(le.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||te(this._element).off(le.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?te(window).on(le.RESIZE,function(e){return t.handleUpdate(e)}):te(window).off(le.RESIZE)},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){te(document.body).removeClass(ue.OPEN),e._resetAdjustments(),e._resetScrollbar(),te(e._element).trigger(le.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(te(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var t=this,n=te(this._element).hasClass(ue.FADE)?ue.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ue.BACKDROP,n&&this._backdrop.classList.add(n),te(this._backdrop).appendTo(document.body),te(this._element).on(le.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),n&>.reflow(this._backdrop),te(this._backdrop).addClass(ue.SHOW),!e)return;if(!n)return void e();var r=gt.getTransitionDurationFromElement(this._backdrop);te(this._backdrop).one(gt.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){te(this._backdrop).removeClass(ue.SHOW);var i=function(){t._removeBackdrop(),e&&e()};if(te(this._element).hasClass(ue.FADE)){var o=gt.getTransitionDurationFromElement(this._backdrop);te(this._backdrop).one(gt.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}else e&&e()},e._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var i=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(ce.FIXED_CONTENT)),t=[].slice.call(document.querySelectorAll(ce.STICKY_CONTENT));te(e).each(function(e,t){var n=t.style.paddingRight,r=te(t).css("padding-right");te(t).data("padding-right",n).css("padding-right",parseFloat(r)+i._scrollbarWidth+"px")}),te(t).each(function(e,t){var n=t.style.marginRight,r=te(t).css("margin-right");te(t).data("margin-right",n).css("margin-right",parseFloat(r)-i._scrollbarWidth+"px")});var n=document.body.style.paddingRight,r=te(document.body).css("padding-right");te(document.body).data("padding-right",n).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(ce.FIXED_CONTENT));te(e).each(function(e,t){var n=te(t).data("padding-right");te(t).removeData("padding-right"),t.style.paddingRight=n||""});var t=[].slice.call(document.querySelectorAll(""+ce.STICKY_CONTENT));te(t).each(function(e,t){var n=te(t).data("margin-right");void 0!==n&&te(t).css("margin-right",n).removeData("margin-right")});var n=te(document.body).data("padding-right");te(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var e=document.createElement("div");e.className=ue.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},i._jQueryInterface=function(n,r){return this.each(function(){var e=te(this).data(re),t=a({},se,te(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new i(this,t),te(this).data(re,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](r)}else t.show&&e.show(r)})},s(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return se}}]),i}(),te(document).on(le.CLICK_DATA_API,ce.DATA_TOGGLE,function(e){var t,n=this,r=gt.getSelectorFromElement(this);r&&(t=document.querySelector(r));var i=te(t).data(re)?"toggle":a({},te(t).data(),te(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=te(t).one(le.SHOW,function(e){e.isDefaultPrevented()||o.one(le.HIDDEN,function(){te(n).is(":visible")&&n.focus()})});fe._jQueryInterface.call(te(t),i,this)}),te.fn[ne]=fe._jQueryInterface,te.fn[ne].Constructor=fe,te.fn[ne].noConflict=function(){return te.fn[ne]=oe,fe._jQueryInterface},fe),Tt=(F="tooltip",B="."+(q="bs.tooltip"),U=(M=t).fn[F],V="bs-tooltip",G=new RegExp("(^|\\s)"+V+"\\S+","g"),Q={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:!($={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(K={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Y={SHOW:"show",OUT:"out"},X={HIDE:"hide"+B,HIDDEN:"hidden"+B,SHOW:"show"+B,SHOWN:"shown"+B,INSERTED:"inserted"+B,CLICK:"click"+B,FOCUSIN:"focusin"+B,FOCUSOUT:"focusout"+B,MOUSEENTER:"mouseenter"+B,MOUSELEAVE:"mouseleave"+B},z={FADE:"fade",SHOW:"show"},J={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},Z={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},ee=function(){function r(e,t){if(void 0===c)throw new TypeError("Bootstrap 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(t),this.tip=null,this._setListeners()}var e=r.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=M(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),M(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(M(this.getTipElement()).hasClass(z.SHOW))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),M.removeData(this.element,this.constructor.DATA_KEY),M(this.element).off(this.constructor.EVENT_KEY),M(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&M(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},e.show=function(){var t=this;if("none"===M(this.element).css("display"))throw new Error("Please use show on visible elements");var e=M.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){M(this.element).trigger(e);var n=M.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var r=this.getTipElement(),i=gt.getUID(this.constructor.NAME);r.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&M(r).addClass(z.FADE);var o="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:M(document).find(this.config.container);M(r).data(this.constructor.DATA_KEY,this),M.contains(this.element.ownerDocument.documentElement,this.tip)||M(r).appendTo(a),M(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c(this.element,r,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:J.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){t._handlePopperPlacementChange(e)}}),M(r).addClass(z.SHOW),"ontouchstart"in document.documentElement&&M(document.body).children().on("mouseover",null,M.noop);var l=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,M(t.element).trigger(t.constructor.Event.SHOWN),e===Y.OUT&&t._leave(null,t)};if(M(this.tip).hasClass(z.FADE)){var u=gt.getTransitionDurationFromElement(this.tip);M(this.tip).one(gt.TRANSITION_END,l).emulateTransitionEnd(u)}else l()}},e.hide=function(e){var t=this,n=this.getTipElement(),r=M.Event(this.constructor.Event.HIDE),i=function(){t._hoverState!==Y.SHOW&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),M(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(M(this.element).trigger(r),!r.isDefaultPrevented()){if(M(n).removeClass(z.SHOW),"ontouchstart"in document.documentElement&&M(document.body).children().off("mouseover",null,M.noop),this._activeTrigger[Z.CLICK]=!1,this._activeTrigger[Z.FOCUS]=!1,this._activeTrigger[Z.HOVER]=!1,M(this.tip).hasClass(z.FADE)){var o=gt.getTransitionDurationFromElement(n);M(n).one(gt.TRANSITION_END,i).emulateTransitionEnd(o)}else i();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){M(this.getTipElement()).addClass(V+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||M(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(M(e.querySelectorAll(J.TOOLTIP_INNER)),this.getTitle()),M(e).removeClass(z.FADE+" "+z.SHOW)},e.setElementContent=function(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?M(t).parent().is(e)||e.empty().append(t):e.text(M(t).text()):e[n?"html":"text"](t)},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getAttachment=function(e){return $[e.toUpperCase()]},e._setListeners=function(){var r=this,e=this.config.trigger.split(" ");e.forEach(function(e){if("click"===e)M(r.element).on(r.constructor.Event.CLICK,r.config.selector,function(e){return r.toggle(e)});else if(e!==Z.MANUAL){var t=e===Z.HOVER?r.constructor.Event.MOUSEENTER:r.constructor.Event.FOCUSIN,n=e===Z.HOVER?r.constructor.Event.MOUSELEAVE:r.constructor.Event.FOCUSOUT;M(r.element).on(t,r.config.selector,function(e){return r._enter(e)}).on(n,r.config.selector,function(e){return r._leave(e)})}M(r.element).closest(".modal").on("hide.bs.modal",function(){return r.hide()})}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||M(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),M(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Z.FOCUS:Z.HOVER]=!0),M(t.getTipElement()).hasClass(z.SHOW)||t._hoverState===Y.SHOW?t._hoverState=Y.SHOW:(clearTimeout(t._timeout),t._hoverState=Y.SHOW,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Y.SHOW&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||M(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),M(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Z.FOCUS:Z.HOVER]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Y.OUT,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Y.OUT&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){return"number"==typeof(e=a({},this.constructor.Default,M(this.element).data(),"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),gt.typeCheckConfig(F,e,this.constructor.DefaultType),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=M(this.getTipElement()),t=e.attr("class").match(G);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(M(e).removeClass(z.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},r._jQueryInterface=function(n){return this.each(function(){var e=M(this).data(q),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new r(this,t),M(this).data(q,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return Q}},{key:"NAME",get:function(){return F}},{key:"DATA_KEY",get:function(){return q}},{key:"Event",get:function(){return X}},{key:"EVENT_KEY",get:function(){return B}},{key:"DefaultType",get:function(){return K}}]),r}(),M.fn[F]=ee._jQueryInterface,M.fn[F].Constructor=ee,M.fn[F].noConflict=function(){return M.fn[F]=U,ee._jQueryInterface},ee),wt=(x="popover",O="."+(D="bs.popover"),I=(S=t).fn[x],N="bs-popover",L=new RegExp("(^|\\s)"+N+"\\S+","g"),k=a({},Tt.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>'}),P=a({},Tt.DefaultType,{content:"(string|element|function)"}),H={FADE:"fade",SHOW:"show"},j={TITLE:".popover-header",CONTENT:".popover-body"},R={HIDE:"hide"+O,HIDDEN:"hidden"+O,SHOW:"show"+O,SHOWN:"shown"+O,INSERTED:"inserted"+O,CLICK:"click"+O,FOCUSIN:"focusin"+O,FOCUSOUT:"focusout"+O,MOUSEENTER:"mouseenter"+O,MOUSELEAVE:"mouseleave"+O},W=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var i=r.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(e){S(this.getTipElement()).addClass(N+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||S(this.config.template)[0],this.tip},i.setContent=function(){var e=S(this.getTipElement());this.setElementContent(e.find(j.TITLE),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(j.CONTENT),t),e.removeClass(H.FADE+" "+H.SHOW)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var e=S(this.getTipElement()),t=e.attr("class").match(L);null!==t&&0<t.length&&e.removeClass(t.join(""))},r._jQueryInterface=function(n){return this.each(function(){var e=S(this).data(D),t="object"==typeof n?n:null;if((e||!/destroy|hide/.test(n))&&(e||(e=new r(this,t),S(this).data(D,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(r,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return k}},{key:"NAME",get:function(){return x}},{key:"DATA_KEY",get:function(){return D}},{key:"Event",get:function(){return R}},{key:"EVENT_KEY",get:function(){return O}},{key:"DefaultType",get:function(){return P}}]),r}(Tt),S.fn[x]=W._jQueryInterface,S.fn[x].Constructor=W,S.fn[x].noConflict=function(){return S.fn[x]=I,W._jQueryInterface},W),Ct=(g="scrollspy",v="."+(m="bs.scrollspy"),y=(p=t).fn[g],_={offset:10,method:"auto",target:""},E={offset:"number",method:"string",target:"(string|element)"},b={ACTIVATE:"activate"+v,SCROLL:"scroll"+v,LOAD_DATA_API:"load"+v+".data-api"},T={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},w={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},C={OFFSET:"offset",POSITION:"position"},A=function(){function r(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+w.NAV_LINKS+","+this._config.target+" "+w.LIST_ITEMS+","+this._config.target+" "+w.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(b.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=r.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?C.OFFSET:C.POSITION,i="auto"===this._config.method?e:this._config.method,o=i===C.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();var n=[].slice.call(document.querySelectorAll(this._selector));n.map(function(e){var t,n=gt.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var r=t.getBoundingClientRect();if(r.width||r.height)return[p(t)[i]().top+o,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){p.removeData(this._element,m),p(this._scrollElement).off(v),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(e){if("string"!=typeof(e=a({},_,"object"==typeof e&&e?e:{})).target){var t=p(e.target).attr("id");t||(t=gt.getUID(g),p(e.target).attr("id",t)),e.target="#"+t}return gt.typeCheckConfig(g,e,E),e},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 e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length,o=i;o--;){var s=this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1]);s&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",");e=e.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var n=p([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass(T.DROPDOWN_ITEM)?(n.closest(w.DROPDOWN).find(w.DROPDOWN_TOGGLE).addClass(T.ACTIVE),n.addClass(T.ACTIVE)):(n.addClass(T.ACTIVE),n.parents(w.NAV_LIST_GROUP).prev(w.NAV_LINKS+", "+w.LIST_ITEMS).addClass(T.ACTIVE),n.parents(w.NAV_LIST_GROUP).prev(w.NAV_ITEMS).children(w.NAV_LINKS).addClass(T.ACTIVE)),p(this._scrollElement).trigger(b.ACTIVATE,{relatedTarget:t})},e._clear=function(){var e=[].slice.call(document.querySelectorAll(this._selector));p(e).filter(w.ACTIVE).removeClass(T.ACTIVE)},r._jQueryInterface=function(n){return this.each(function(){var e=p(this).data(m),t="object"==typeof n&&n;if(e||(e=new r(this,t),p(this).data(m,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}}