!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.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function i(t,e){for(var n=0;n0?i:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){var o=n[s],r=e[s],a=r&&i.isElement(r)?"element":(l=r,{}.toString.call(l).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+a+'" but expected type "'+o+'".')}var l}};return e=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},t.fn.emulateTransitionEnd=n,i.supportsTransitionEnd()&&(t.event.special[i.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),i}(e),bn=(a="alert",c="."+(l="bs.alert"),h=(r=e).fn[a],u={CLOSE:"close"+c,CLOSED:"closed"+c,CLICK_DATA_API:"click"+c+".data-api"},d="alert",f="fade",g="show",_=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){r.removeData(this._element,l),this._element=null},e._getRootElement=function(t){var e=In.getSelectorFromElement(t),n=!1;return e&&(n=r(e)[0]),n||(n=r(t).closest("."+d)[0]),n},e._triggerCloseEvent=function(t){var e=r.Event(u.CLOSE);return r(t).trigger(e),e},e._removeElement=function(t){var e=this;r(t).removeClass(g),In.supportsTransitionEnd()&&r(t).hasClass(f)?r(t).one(In.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},e._destroyElement=function(t){r(t).detach().trigger(u.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var n=r(this),i=n.data(l);i||(i=new t(this),n.data(l,i)),"close"===e&&i[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),r(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',_._handleDismiss(new _)),r.fn[a]=_._jQueryInterface,r.fn[a].Constructor=_,r.fn[a].noConflict=function(){return r.fn[a]=h,_._jQueryInterface},_),An=(m="button",E="."+(v="bs.button"),y=".data-api",T=(p=e).fn[m],C="active",I="btn",b="focus",A='[data-toggle^="button"]',w='[data-toggle="buttons"]',D="input",S=".active",N=".btn",O={CLICK_DATA_API:"click"+E+y,FOCUS_BLUR_DATA_API:"focus"+E+y+" blur"+E+y},k=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=p(this._element).closest(w)[0];if(n){var i=p(this._element).find(D)[0];if(i){if("radio"===i.type)if(i.checked&&p(this._element).hasClass(C))t=!1;else{var s=p(n).find(S)[0];s&&p(s).removeClass(C)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!p(this._element).hasClass(C),p(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!p(this._element).hasClass(C)),t&&p(this._element).toggleClass(C)},e.dispose=function(){p.removeData(this._element,v),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=p(this).data(v);n||(n=new t(this),p(this).data(v,n)),"toggle"===e&&n[e]()})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),p(document).on(O.CLICK_DATA_API,A,function(t){t.preventDefault();var e=t.target;p(e).hasClass(I)||(e=p(e).closest(N)),k._jQueryInterface.call(p(e),"toggle")}).on(O.FOCUS_BLUR_DATA_API,A,function(t){var e=p(t.target).closest(N)[0];p(e).toggleClass(b,/^focus(in)?$/.test(t.type))}),p.fn[m]=k._jQueryInterface,p.fn[m].Constructor=k,p.fn[m].noConflict=function(){return p.fn[m]=T,k._jQueryInterface},k),wn=(L="carousel",R="."+(j="bs.carousel"),x=".data-api",H=(P=e).fn[L],M={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},W="next",K="prev",Q="left",B="right",V={SLIDE:"slide"+R,SLID:"slid"+R,KEYDOWN:"keydown"+R,MOUSEENTER:"mouseenter"+R,MOUSELEAVE:"mouseleave"+R,TOUCHEND:"touchend"+R,LOAD_DATA_API:"load"+R+x,CLICK_DATA_API:"click"+R+x},F="carousel",Y="active",G="slide",q="carousel-item-right",z="carousel-item-left",X="carousel-item-next",Z="carousel-item-prev",$={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"]'},J=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=P(t)[0],this._indicatorsElement=P(this._element).find($.INDICATORS)[0],this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(W)},e.nextWhenVisible=function(){!document.hidden&&P(this._element).is(":visible")&&"hidden"!==P(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(K)},e.pause=function(t){t||(this._isPaused=!0),P(this._element).find($.NEXT_PREV)[0]&&In.supportsTransitionEnd()&&(In.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=P(this._element).find($.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)P(this._element).one(V.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=t>n?W:K;this._slide(i,this._items[t])}},e.dispose=function(){P(this._element).off(R),P.removeData(this._element,j),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=o({},M,t),In.typeCheckConfig(L,t,U),t},e._addEventListeners=function(){var t=this;this._config.keyboard&&P(this._element).on(V.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(P(this._element).on(V.MOUSEENTER,function(e){return t.pause(e)}).on(V.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&P(this._element).on(V.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(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=P.makeArray(P(t).parent().find($.ITEM)),this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===W,i=t===K,s=this._getItemIndex(e),o=this._items.length-1;if((i&&0===s||n&&s===o)&&!this._config.wrap)return e;var r=(s+(t===K?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(P(this._element).find($.ACTIVE_ITEM)[0]),s=P.Event(V.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return P(this._element).trigger(s),s},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){P(this._indicatorsElement).find($.ACTIVE).removeClass(Y);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&P(e).addClass(Y)}},e._slide=function(t,e){var n,i,s,o=this,r=P(this._element).find($.ACTIVE_ITEM)[0],a=this._getItemIndex(r),l=e||r&&this._getItemByDirection(t,r),c=this._getItemIndex(l),h=Boolean(this._interval);if(t===W?(n=z,i=X,s=Q):(n=q,i=Z,s=B),l&&P(l).hasClass(Y))this._isSliding=!1;else if(!this._triggerSlideEvent(l,s).isDefaultPrevented()&&r&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=P.Event(V.SLID,{relatedTarget:l,direction:s,from:a,to:c});In.supportsTransitionEnd()&&P(this._element).hasClass(G)?(P(l).addClass(i),In.reflow(l),P(r).addClass(n),P(l).addClass(n),P(r).one(In.TRANSITION_END,function(){P(l).removeClass(n+" "+i).addClass(Y),P(r).removeClass(Y+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return P(o._element).trigger(u)},0)}).emulateTransitionEnd(600)):(P(r).removeClass(Y),P(l).addClass(Y),this._isSliding=!1,P(this._element).trigger(u)),h&&this.cycle()}},t._jQueryInterface=function(e){return this.each(function(){var n=P(this).data(j),i=o({},M,P(this).data());"object"==typeof e&&(i=o({},i,e));var s="string"==typeof e?e:i.slide;if(n||(n=new t(this,i),P(this).data(j,n)),"number"==typeof e)n.to(e);else if("string"==typeof s){if(void 0===n[s])throw new TypeError('No method named "'+s+'"');n[s]()}else i.interval&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(e){var n=In.getSelectorFromElement(this);if(n){var i=P(n)[0];if(i&&P(i).hasClass(F)){var s=o({},P(i).data(),P(this).data()),r=this.getAttribute("data-slide-to");r&&(s.interval=!1),t._jQueryInterface.call(P(i),s),r&&P(i).data(j).to(r),e.preventDefault()}}},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return M}}]),t}(),P(document).on(V.CLICK_DATA_API,$.DATA_SLIDE,J._dataApiClickHandler),P(window).on(V.LOAD_DATA_API,function(){P($.DATA_RIDE).each(function(){var t=P(this);J._jQueryInterface.call(t,t.data())})}),P.fn[L]=J._jQueryInterface,P.fn[L].Constructor=J,P.fn[L].noConflict=function(){return P.fn[L]=H,J._jQueryInterface},J),Dn=(et="collapse",it="."+(nt="bs.collapse"),st=(tt=e).fn[et],ot={toggle:!0,parent:""},rt={toggle:"boolean",parent:"(string|element)"},at={SHOW:"show"+it,SHOWN:"shown"+it,HIDE:"hide"+it,HIDDEN:"hidden"+it,CLICK_DATA_API:"click"+it+".data-api"},lt="show",ct="collapse",ht="collapsing",ut="collapsed",dt="width",ft="height",gt={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},_t=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=tt.makeArray(tt('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=tt(gt.DATA_TOGGLE),i=0;i0&&(this._selector=o,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){tt(this._element).hasClass(lt)?this.hide():this.show()},e.show=function(){var e,n,i=this;if(!this._isTransitioning&&!tt(this._element).hasClass(lt)&&(this._parent&&0===(e=tt.makeArray(tt(this._parent).find(gt.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(n=tt(e).not(this._selector).data(nt))&&n._isTransitioning))){var s=tt.Event(at.SHOW);if(tt(this._element).trigger(s),!s.isDefaultPrevented()){e&&(t._jQueryInterface.call(tt(e).not(this._selector),"hide"),n||tt(e).data(nt,null));var o=this._getDimension();tt(this._element).removeClass(ct).addClass(ht),this._element.style[o]=0,this._triggerArray.length>0&&tt(this._triggerArray).removeClass(ut).attr("aria-expanded",!0),this.setTransitioning(!0);var r=function(){tt(i._element).removeClass(ht).addClass(ct).addClass(lt),i._element.style[o]="",i.setTransitioning(!1),tt(i._element).trigger(at.SHOWN)};if(In.supportsTransitionEnd()){var a="scroll"+(o[0].toUpperCase()+o.slice(1));tt(this._element).one(In.TRANSITION_END,r).emulateTransitionEnd(600),this._element.style[o]=this._element[a]+"px"}else r()}}},e.hide=function(){var t=this;if(!this._isTransitioning&&tt(this._element).hasClass(lt)){var e=tt.Event(at.HIDE);if(tt(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",In.reflow(this._element),tt(this._element).addClass(ht).removeClass(ct).removeClass(lt),this._triggerArray.length>0)for(var i=0;i0&&tt(e).toggleClass(ut,!n).attr("aria-expanded",n)}},t._getTargetFromElement=function(t){var e=In.getSelectorFromElement(t);return e?tt(e)[0]:null},t._jQueryInterface=function(e){return this.each(function(){var n=tt(this),i=n.data(nt),s=o({},ot,n.data(),"object"==typeof e&&e);if(!i&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),i||(i=new t(this,s),n.data(nt,i)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ot}}]),t}(),tt(document).on(at.CLICK_DATA_API,gt.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=tt(this),n=In.getSelectorFromElement(this);tt(n).each(function(){var t=tt(this),n=t.data(nt)?"toggle":e.data();_t._jQueryInterface.call(t,n)})}),tt.fn[et]=_t._jQueryInterface,tt.fn[et].Constructor=_t,tt.fn[et].noConflict=function(){return tt.fn[et]=st,_t._jQueryInterface},_t),Sn=(mt="dropdown",Et="."+(vt="bs.dropdown"),yt=".data-api",Tt=(pt=e).fn[mt],Ct=new RegExp("38|40|27"),It={HIDE:"hide"+Et,HIDDEN:"hidden"+Et,SHOW:"show"+Et,SHOWN:"shown"+Et,CLICK:"click"+Et,CLICK_DATA_API:"click"+Et+yt,KEYDOWN_DATA_API:"keydown"+Et+yt,KEYUP_DATA_API:"keyup"+Et+yt},bt="disabled",At="show",wt="dropup",Dt="dropright",St="dropleft",Nt="dropdown-menu-right",Ot="dropdown-menu-left",kt="position-static",Pt='[data-toggle="dropdown"]',Lt=".dropdown form",jt=".dropdown-menu",Rt=".navbar-nav",xt=".dropdown-menu .dropdown-item:not(.disabled)",Ht="top-start",Mt="top-end",Ut="bottom-start",Wt="bottom-end",Kt="right-start",Qt="left-start",Bt={offset:0,flip:!0,boundary:"scrollParent"},Vt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},Ft=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!pt(this._element).hasClass(bt)){var e=t._getParentFromElement(this._element),i=pt(this._menu).hasClass(At);if(t._clearMenus(),!i){var s={relatedTarget:this._element},o=pt.Event(It.SHOW,s);if(pt(e).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;pt(e).hasClass(wt)&&(pt(this._menu).hasClass(Ot)||pt(this._menu).hasClass(Nt))&&(r=e),"scrollParent"!==this._config.boundary&&pt(e).addClass(kt),this._popper=new n(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===pt(e).closest(Rt).length&&pt("body").children().on("mouseover",null,pt.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),pt(this._menu).toggleClass(At),pt(e).toggleClass(At).trigger(pt.Event(It.SHOWN,s))}}}},e.dispose=function(){pt.removeData(this._element,vt),pt(this._element).off(Et),this._element=null,this._menu=null,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;pt(this._element).on(It.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(t){return t=o({},this.constructor.Default,pt(this._element).data(),t),In.typeCheckConfig(mt,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);this._menu=pt(e).find(jt)[0]}return this._menu},e._getPlacement=function(){var t=pt(this._element).parent(),e=Ut;return t.hasClass(wt)?(e=Ht,pt(this._menu).hasClass(Nt)&&(e=Mt)):t.hasClass(Dt)?e=Kt:t.hasClass(St)?e=Qt:pt(this._menu).hasClass(Nt)&&(e=Wt),e},e._detectNavbar=function(){return pt(this._element).closest(".navbar").length>0},e._getPopperConfig=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},t._jQueryInterface=function(e){return this.each(function(){var n=pt(this).data(vt);if(n||(n=new t(this,"object"==typeof e?e:null),pt(this).data(vt,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=pt.makeArray(pt(Pt)),i=0;i0&&o--,40===e.which&&odocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},me="show",ve="out",Ee={HIDE:"hide"+he,HIDDEN:"hidden"+he,SHOW:"show"+he,SHOWN:"shown"+he,INSERTED:"inserted"+he,CLICK:"click"+he,FOCUSIN:"focusin"+he,FOCUSOUT:"focusout"+he,MOUSEENTER:"mouseenter"+he,MOUSELEAVE:"mouseleave"+he},ye="fade",Te="show",Ce=".tooltip-inner",Ie=".arrow",be="hover",Ae="focus",we="click",De="manual",Se=function(){function t(t,e){if(void 0===n)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=ae(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),ae(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(ae(this.getTipElement()).hasClass(Te))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),ae.removeData(this.element,this.constructor.DATA_KEY),ae(this.element).off(this.constructor.EVENT_KEY),ae(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&ae(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var e=this;if("none"===ae(this.element).css("display"))throw new Error("Please use show on visible elements");var i=ae.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){ae(this.element).trigger(i);var s=ae.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!s)return;var o=this.getTipElement(),r=In.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&ae(o).addClass(ye);var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);var c=!1===this.config.container?document.body:ae(this.config.container);ae(o).data(this.constructor.DATA_KEY,this),ae.contains(this.element.ownerDocument.documentElement,this.tip)||ae(o).appendTo(c),ae(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,o,{placement:l,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ie},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),ae(o).addClass(Te),"ontouchstart"in document.documentElement&&ae("body").children().on("mouseover",null,ae.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,ae(e.element).trigger(e.constructor.Event.SHOWN),t===ve&&e._leave(null,e)};In.supportsTransitionEnd()&&ae(this.tip).hasClass(ye)?ae(this.tip).one(In.TRANSITION_END,h).emulateTransitionEnd(t._TRANSITION_DURATION):h()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=ae.Event(this.constructor.Event.HIDE),s=function(){e._hoverState!==me&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),ae(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};ae(this.element).trigger(i),i.isDefaultPrevented()||(ae(n).removeClass(Te),"ontouchstart"in document.documentElement&&ae("body").children().off("mouseover",null,ae.noop),this._activeTrigger[we]=!1,this._activeTrigger[Ae]=!1,this._activeTrigger[be]=!1,In.supportsTransitionEnd()&&ae(this.tip).hasClass(ye)?ae(n).one(In.TRANSITION_END,s).emulateTransitionEnd(150):s(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){ae(this.getTipElement()).addClass(de+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||ae(this.config.template)[0],this.tip},e.setContent=function(){var t=ae(this.getTipElement());this.setElementContent(t.find(Ce),this.getTitle()),t.removeClass(ye+" "+Te)},e.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?ae(e).parent().is(t)||t.empty().append(e):t.text(ae(e).text()):t[n?"html":"text"](e)},e.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},e._getAttachment=function(t){return _e[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)ae(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(e!==De){var n=e===be?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===be?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;ae(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}ae(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._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",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||ae(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),ae(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Ae:be]=!0),ae(e.getTipElement()).hasClass(Te)||e._hoverState===me?e._hoverState=me:(clearTimeout(e._timeout),e._hoverState=me,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===me&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||ae(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),ae(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Ae:be]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=ve,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===ve&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){return"number"==typeof(t=o({},this.constructor.Default,ae(this.element).data(),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()),In.typeCheckConfig(le,t,this.constructor.DefaultType),t},e._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},e._cleanTipClass=function(){var t=ae(this.getTipElement()),e=t.attr("class").match(fe);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(ae(t).removeClass(ye),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var n=ae(this).data(ce),i="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,i),ae(this).data(ce,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return pe}},{key:"NAME",get:function(){return le}},{key:"DATA_KEY",get:function(){return ce}},{key:"Event",get:function(){return Ee}},{key:"EVENT_KEY",get:function(){return he}},{key:"DefaultType",get:function(){return ge}}]),t}(),ae.fn[le]=Se._jQueryInterface,ae.fn[le].Constructor=Se,ae.fn[le].noConflict=function(){return ae.fn[le]=ue,Se._jQueryInterface},Se),kn=(Oe="popover",Pe="."+(ke="bs.popover"),Le=(Ne=e).fn[Oe],je="bs-popover",Re=new RegExp("(^|\\s)"+je+"\\S+","g"),xe=o({},On.Default,{placement:"right",trigger:"click",content:"",template:''}),He=o({},On.DefaultType,{content:"(string|element|function)"}),Me="fade",Ue="show",We=".popover-header",Ke=".popover-body",Qe={HIDE:"hide"+Pe,HIDDEN:"hidden"+Pe,SHOW:"show"+Pe,SHOWN:"shown"+Pe,INSERTED:"inserted"+Pe,CLICK:"click"+Pe,FOCUSIN:"focusin"+Pe,FOCUSOUT:"focusout"+Pe,MOUSEENTER:"mouseenter"+Pe,MOUSELEAVE:"mouseleave"+Pe},Be=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){Ne(this.getTipElement()).addClass(je+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||Ne(this.config.template)[0],this.tip},o.setContent=function(){var t=Ne(this.getTipElement());this.setElementContent(t.find(We),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Ke),e),t.removeClass(Me+" "+Ue)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=Ne(this.getTipElement()),e=t.attr("class").match(Re);null!==e&&e.length>0&&t.removeClass(e.join(""))},i._jQueryInterface=function(t){return this.each(function(){var e=Ne(this).data(ke),n="object"==typeof t?t:null;if((e||!/destroy|hide/.test(t))&&(e||(e=new i(this,n),Ne(this).data(ke,e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return xe}},{key:"NAME",get:function(){return Oe}},{key:"DATA_KEY",get:function(){return ke}},{key:"Event",get:function(){return Qe}},{key:"EVENT_KEY",get:function(){return Pe}},{key:"DefaultType",get:function(){return He}}]),i}(On),Ne.fn[Oe]=Be._jQueryInterface,Ne.fn[Oe].Constructor=Be,Ne.fn[Oe].noConflict=function(){return Ne.fn[Oe]=Le,Be._jQueryInterface},Be),Pn=(Fe="scrollspy",Ge="."+(Ye="bs.scrollspy"),qe=(Ve=e).fn[Fe],ze={offset:10,method:"auto",target:""},Xe={offset:"number",method:"string",target:"(string|element)"},Ze={ACTIVATE:"activate"+Ge,SCROLL:"scroll"+Ge,LOAD_DATA_API:"load"+Ge+".data-api"},$e="dropdown-item",Je="active",tn={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"},en="offset",nn="position",sn=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+tn.NAV_LINKS+","+this._config.target+" "+tn.LIST_ITEMS+","+this._config.target+" "+tn.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,Ve(this._scrollElement).on(Ze.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?en:nn,n="auto"===this._config.method?e:this._config.method,i=n===nn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Ve.makeArray(Ve(this._selector)).map(function(t){var e,s=In.getSelectorFromElement(t);if(s&&(e=Ve(s)[0]),e){var o=e.getBoundingClientRect();if(o.width||o.height)return[Ve(e)[n]().top+i,s]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){Ve.removeData(this._element,Ye),Ve(this._scrollElement).off(Ge),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=o({},ze,t)).target){var e=Ve(t.target).attr("id");e||(e=In.getUID(Fe),Ve(t.target).attr("id",e)),t.target="#"+e}return In.typeCheckConfig(Fe,t,Xe),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;){this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void 0===this._offsets[s+1]||t=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=In,t.Alert=bn,t.Button=An,t.Carousel=wn,t.Collapse=Dn,t.Dropdown=Sn,t.Modal=Nn,t.Popover=kn,t.Scrollspy=Pn,t.Tab=Ln,t.Tooltip=On,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){t.fn.ihavecookies=function(n){var s=t(this),o=t.extend({title:"Cookies & Privacy",message:"Cookies enable you to use shopping carts and to personalize your experience on our sites, tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches, and give us insights into user behavior so we can improve our communications and products.",link:"/privacy-policy",delay:2e3,expires:30,onAccept:function(){},uncheckBoxes:!1},n);if(i("cookieControl"))e(o.expires);else{var r='';setTimeout(function(){t(s).append(r),t("#gdpr-cookie-message").hide().fadeIn("slow")},o.delay),t("body").on("click","#gdpr-cookie-accept",function(){e(o.expires),o.onAccept.call(this),window.dataLayer=window.dataLayer||[],window.dataLayer.push({gdpr_tracking:!0})})}!0===o.uncheckBoxes&&t('input[type="checkbox"].ihavecookies').prop("checked",!1)};var e=function(e){n("cookieControl",!0,e),t("#gdpr-cookie-message").fadeOut("fast",function(){t(this).remove()})},n=function(t,e,n){var s=new Date;s.setTime(s.getTime()+24*n*60*60*1e3);var o="expires="+s.toUTCString();return document.cookie=t+"="+e+";"+o+";path=/",i(t)},i=function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie).split(";"),i=0;i-1,e=navigator.userAgent.toLowerCase().indexOf("opera")>-1,n=navigator.userAgent.toLowerCase().indexOf("msie")>-1;(t||e||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1)}();