!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function it(n,t){for(var i,r=0;r0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=r,t.supportsTransitionEnd()&&(n.event.special[t.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),t}(t),vt=(h="alert",y="."+(v="bs.alert"),rt=(e=t).fn[h],p={CLOSE:"close"+y,CLOSED:"closed"+y,CLICK_DATA_API:"click"+y+".data-api"},ut="alert",ft="fade",et="show",s=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){e.removeData(this._element,v);this._element=null},t._getRootElement=function(n){var i=r.getSelectorFromElement(n),t=!1;return i&&(t=e(i)[0]),t||(t=e(n).closest("."+ut)[0]),t},t._triggerCloseEvent=function(n){var t=e.Event(p.CLOSE);return e(n).trigger(t),t},t._removeElement=function(n){var t=this;e(n).removeClass(et);r.supportsTransitionEnd()&&e(n).hasClass(ft)?e(n).one(r.TRANSITION_END,function(i){return t._destroyElement(n,i)}).emulateTransitionEnd(150):this._destroyElement(n)},t._destroyElement=function(n){e(n).detach().trigger(p.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=e(this),i=r.data(v);i||(i=new n(this),r.data(v,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),e(document).on(p.CLICK_DATA_API,'[data-dismiss="alert"]',s._handleDismiss(new s)),e.fn[h]=s._jQueryInterface,e.fn[h].Constructor=s,e.fn[h].noConflict=function(){return e.fn[h]=rt,s._jQueryInterface},s),yt=(c="button",b="."+(w="bs.button"),k=".data-api",ot=(u=t).fn[c],l="active",st="btn",ht="focus",g='[data-toggle^="button"]',ct='[data-toggle="buttons"]',lt="input",at=".active",nt=".btn",tt={CLICK_DATA_API:"click"+b+k,FOCUS_BLUR_DATA_API:"focus"+b+k+" blur"+b+k},a=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,f=!0,t=u(this._element).closest(ct)[0],n,r;if(t&&(n=u(this._element).find(lt)[0],n)){if("radio"===n.type&&(n.checked&&u(this._element).hasClass(l)?i=!1:(r=u(t).find(at)[0],r&&u(r).removeClass(l))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!u(this._element).hasClass(l);u(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!u(this._element).hasClass(l));i&&u(this._element).toggleClass(l)},t.dispose=function(){u.removeData(this._element,w);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=u(this).data(w);i||(i=new n(this),u(this).data(w,i));"toggle"===t&&i[t]()})},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),n}(),u(document).on(tt.CLICK_DATA_API,g,function(n){n.preventDefault();var t=n.target;u(t).hasClass(st)||(t=u(t).closest(nt));a._jQueryInterface.call(u(t),"toggle")}).on(tt.FOCUS_BLUR_DATA_API,g,function(n){var t=u(n.target).closest(nt)[0];u(t).toggleClass(ht,/^focus(in)?$/.test(n.type))}),u.fn[c]=a._jQueryInterface,u.fn[c].Constructor=a,u.fn[c].noConflict=function(){return u.fn[c]=ot,a._jQueryInterface},a),pt=function(n){var s="carousel",c="bs.carousel",t="."+c,y=n.fn[s],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",a="prev",w="left",b="right",i={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,TOUCHEND:"touchend"+t,LOAD_DATA_API:"load"+t+".data-api",CLICK_DATA_API:"click"+t+".data-api"},k="carousel",e="active",d="slide",g="carousel-item-right",nt="carousel-item-left",tt="carousel-item-next",it="carousel-item-prev",u={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"]'},h=function(){function y(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(u.INDICATORS)[0];this._addEventListeners()}var h=y.prototype;return h.next=function(){this._isSliding||this._slide(l)},h.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},h.prev=function(){this._isSliding||this._slide(a)},h.pause=function(t){t||(this._isPaused=!0);n(this._element).find(u.NEXT_PREV)[0]&&r.supportsTransitionEnd()&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},h.cycle=function(n){n||(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))},h.to=function(t){var e=this,r,f;if(this._activeElement=n(this._element).find(u.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(i.SLID,function(){return e.to(t)});else{if(r===t)return this.pause(),void this.cycle();f=t>r?l:a;this._slide(f,this._items[t])}},h.dispose=function(){n(this._element).off(t);n.removeData(this._element,c);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},h._getConfig=function(n){return n=f({},v,n),r.typeCheckConfig(s,n,p),n},h._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(i.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(i.MOUSEENTER,function(n){return t.pause(n)}).on(i.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(i.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},500+t._config.interval)}))},h._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},h._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(u.ITEM)),this._items.indexOf(t)},h._getItemByDirection=function(n,t){var u=n===l,f=n===a,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===a?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},h._triggerSlideEvent=function(t,r){var e=this._getItemIndex(t),o=this._getItemIndex(n(this._element).find(u.ACTIVE_ITEM)[0]),f=n.Event(i.SLIDE,{relatedTarget:t,direction:r,from:o,to:e});return n(this._element).trigger(f),f},h._setActiveIndicatorElement=function(t){if(this._indicatorsElement){n(this._indicatorsElement).find(u.ACTIVE).removeClass(e);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n(i).addClass(e)}},h._slide=function(t,f){var h,c,a,y=this,s=n(this._element).find(u.ACTIVE_ITEM)[0],k=this._getItemIndex(s),o=f||s&&this._getItemByDirection(t,s),rt=this._getItemIndex(o),p=Boolean(this._interval),v;(t===l?(h=nt,c=tt,a=w):(h=g,c=it,a=b),o&&n(o).hasClass(e))?this._isSliding=!1:!this._triggerSlideEvent(o,a).isDefaultPrevented()&&s&&o&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(o),v=n.Event(i.SLID,{relatedTarget:o,direction:a,from:k,to:rt}),r.supportsTransitionEnd()&&n(this._element).hasClass(d)?(n(o).addClass(c),r.reflow(o),n(s).addClass(h),n(o).addClass(h),n(s).one(r.TRANSITION_END,function(){n(o).removeClass(h+" "+c).addClass(e);n(s).removeClass(e+" "+c+" "+h);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(600)):(n(s).removeClass(e),n(o).addClass(e),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=f({},v,n(this).data()),u;if("object"==typeof t&&(r=f({},r,t)),u="string"==typeof t?t:r.slide,i||(i=new y(this,r),n(this).data(c,i)),"number"==typeof t)i.to(t);else if("string"==typeof u){if("undefined"==typeof i[u])throw new TypeError('No method named "'+u+'"');i[u]()}else r.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=r.getSelectorFromElement(this),i,e,u;o&&(i=n(o)[0],i&&n(i).hasClass(k)&&(e=f({},n(i).data(),n(this).data()),u=this.getAttribute("data-slide-to"),u&&(e.interval=!1),y._jQueryInterface.call(n(i),e),u&&n(i).data(c).to(u),t.preventDefault()))},o(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return v}}]),y}();return n(document).on(i.CLICK_DATA_API,u.DATA_SLIDE,h._dataApiClickHandler),n(window).on(i.LOAD_DATA_API,function(){n(u.DATA_RIDE).each(function(){var t=n(this);h._jQueryInterface.call(t,t.data())})}),n.fn[s]=h._jQueryInterface,n.fn[s].Constructor=h,n.fn[s].noConflict=function(){return n.fn[s]=y,h._jQueryInterface},h}(t),wt=function(n){var u="collapse",t="bs.collapse",e="."+t,w=n.fn[u],a={toggle:!0,parent:""},b={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+".data-api"},i="show",c="collapse",l="collapsing",v="collapsed",p="width",k="height",y={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var e,u,o,f;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),e=n(y.DATA_TOGGLE),u=0;u0&&(this._selector=f,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=h.prototype;return e.toggle=function(){n(this._element).hasClass(i)?this.hide():this.show()},e.show=function(){var u,o,e=this,a,f,p,w;this._isTransitioning||n(this._element).hasClass(i)||(this._parent&&0===(u=n.makeArray(n(this._parent).find(y.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(u=null),u&&(o=n(u).not(this._selector).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(u&&(h._jQueryInterface.call(n(u).not(this._selector),"hide"),o||n(u).data(t,null)),f=this._getDimension(),n(this._element).removeClass(c).addClass(l),this._element.style[f]=0,this._triggerArray.length>0&&n(this._triggerArray).removeClass(v).attr("aria-expanded",!0),this.setTransitioning(!0),p=function(){n(e._element).removeClass(l).addClass(c).addClass(i);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},r.supportsTransitionEnd()?(w="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(r.TRANSITION_END,p).emulateTransitionEnd(600),this._element.style[f]=this._element[w]+"px"):p()))},e.hide=function(){var a=this,f,t,u,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(i)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",r.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(i),this._triggerArray.length>0)for(u=0;u0&&n(r).toggleClass(v,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(t){var i=r.getSelectorFromElement(t);return i?n(i)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var u=n(this),r=u.data(t),e=f({},a,u.data(),"object"==typeof i&&i);if(!r&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),r||(r=new h(this,e),u.data(t,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},o(h,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),h}();return n(document).on(s.CLICK_DATA_API,y.DATA_TOGGLE,function(i){"A"===i.currentTarget.tagName&&i.preventDefault();var u=n(this),f=r.getSelectorFromElement(this);n(f).each(function(){var i=n(this),r=i.data(t)?"toggle":u.data();h._jQueryInterface.call(i,r)})}),n.fn[u]=h._jQueryInterface,n.fn[u].Constructor=h,n.fn[u].noConflict=function(){return n.fn[u]=w,h._jQueryInterface},h}(t),bt=function(n){var h="dropdown",c="bs.dropdown",u="."+c,a=".data-api",b=n.fn[h],k=new RegExp("38|40|27"),t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,CLICK:"click"+u,CLICK_DATA_API:"click"+u+a,KEYDOWN_DATA_API:"keydown"+u+a,KEYUP_DATA_API:"keyup"+u+a},p="disabled",s="show",w="dropup",d="dropright",g="dropleft",v="dropdown-menu-right",nt="dropdown-menu-left",tt="position-static",l='[data-toggle="dropdown"]',y=".dropdown-menu",it=".navbar-nav",rt=".dropdown-menu .dropdown-item:not(.disabled)",ut="top-start",ft="top-end",et="bottom-start",ot="bottom-end",st="right-start",ht="left-start",ct={offset:0,flip:!0,boundary:"scrollParent"},lt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},e=function(){function e(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=e.prototype;return a.toggle=function(){var r,h,u,f,o;if(!this._element.disabled&&!n(this._element).hasClass(p)&&(r=e._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(e._clearMenus(),!h)&&(u={relatedTarget:this._element},f=n.Event(t.SHOW,u),n(r).trigger(f),!f.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");o=this._element;n(r).hasClass(w)&&(n(this._menu).hasClass(nt)||n(this._menu).hasClass(v))&&(o=r);"scrollParent"!==this._config.boundary&&n(r).addClass(tt);this._popper=new i(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(r).closest(it).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(r).toggleClass(s).trigger(n.Event(t.SHOWN,u))}},a.dispose=function(){n.removeData(this._element,c);n(this._element).off(u);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},a._getConfig=function(t){return t=f({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},a._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);this._menu=n(t).find(y)[0]}return this._menu},a._getPlacement=function(){var i=n(this._element).parent(),t=et;return i.hasClass(w)?(t=ut,n(this._menu).hasClass(v)&&(t=ft)):i.hasClass(d)?t=st:i.hasClass(g)?t=ht:n(this._menu).hasClass(v)&&(t=ot),t},a._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c);if(i||(i=new e(this,"object"==typeof t?t:null),n(this).data(c,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e._clearMenus=function(i){var u,r,v,o;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=n.makeArray(n(l)),r=0;r0&&i--,40===t.which&&idocument.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},h._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right
<\/div>
<\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},e="show",v="out",g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},s="fade",h="show",nt=".tooltip-inner",tt=".arrow",c="hover",y="focus",it="click",rt="manual",a=function(){function p(n,t){if("undefined"==typeof i)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=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var a=p.prototype;return a.enable=function(){this._isEnabled=!0},a.disable=function(){this._isEnabled=!1},a.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},a.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(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},a.show=function(){var t=this,f,l,u,e,a,o,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;u=this.getTipElement();e=r.getUID(this.constructor.NAME);u.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&n(u).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;o=this._getAttachment(a);this.addAttachmentClass(o);y=!1===this.config.container?document.body:n(this.config.container);n(u).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,u,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:tt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}});n(u).addClass(h);"ontouchstart"in document.documentElement&&n("body").children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===v&&t._leave(null,t)};r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p._TRANSITION_DURATION):c()}},a.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),o=function(){i._hoverState!==e&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);null!==i._popper&&i._popper.destroy();t&&t()};n(this.element).trigger(f);f.isDefaultPrevented()||(n(u).removeClass(h),"ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),this._activeTrigger[it]=!1,this._activeTrigger[y]=!1,this._activeTrigger[c]=!1,r.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(r.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},a.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},a.isWithContent=function(){return Boolean(this.getTitle())},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass("bs-tooltip-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(nt),this.getTitle());t.removeClass(s+" "+h)},a.setElementContent=function(t,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},a.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},a._getAttachment=function(n){return k[n.toUpperCase()]},a._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==rt){var r=i===c?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===c?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},a._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a._enter=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusin"===t.type?y:c]=!0);n(i.getTipElement()).hasClass(h)||i._hoverState===e?i._hoverState=e:(clearTimeout(i._timeout),i._hoverState=e,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===e&&i.show()},i.config.delay.show):i.show())},a._leave=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusout"===t.type?y:c]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=v,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===v&&i.hide()},i.config.delay.hide):i.hide())},a._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},a._getConfig=function(t){return"number"==typeof(t=f({},this.constructor.Default,n(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()),r.typeCheckConfig(u,t,this.constructor.DefaultType),t},a._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},a._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);null!==t&&t.length>0&&i.removeClass(t.join(""))},a._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},a._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(s),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(l,i)),"string"==typeof t)){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},o(p,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return u}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[u]=a._jQueryInterface,n.fn[u].Constructor=a,n.fn[u].noConflict=function(){return n.fn[u]=p,a._jQueryInterface},a}(t),dt=function(n){var i="popover",r="bs.popover",t="."+r,e=n.fn[i],s=new RegExp("(^|\\s)bs-popover\\S+","g"),h=f({},d.Default,{placement:"right",trigger:"click",content:"",template:'