"use strict";function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){e=_superPropBase(e,t);if(e){t=Object.getOwnPropertyDescriptor(e,t);return t.get?t.get.call(n):t.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function ownKeys(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function _objectSpread(t){for(var e=1;ee.length)&&(t=e.length);for(var n=0,i=new Array(t);nthis._items.length-1||e<0))if(this._isSliding)R.one(this._element,fe,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();this._slide(nl[A]&&(E=It(E));k=It(E),A=[];if(o&&A.push(T[w]<=0),r&&A.push(T[E]<=0,T[k]<=0),A.every(function(e){return e})){v=b,_=!1;break}u.set(b,A)}if(_)for(var O=m?3:1;0e.clientWidth+r||(t=e.style[i],n=window.getComputedStyle(e)[i],J.setDataAttribute(e,i,t),e.style[i]="".concat(o(Number.parseFloat(n)),"px"))})},Pn=function(e,n){v.find(e).forEach(function(e){var t=J.getDataAttribute(e,n);void 0===t?e.style.removeProperty(n):(J.removeDataAttribute(e,n),e.style[n]=t)})},In={isVisible:!0,isAnimated:!1,rootElement:document.body,clickCallback:null},Mn={isVisible:"boolean",isAnimated:"boolean",rootElement:"element",clickCallback:"(function|null)"},Hn="backdrop",Rn="mousedown.bs.".concat(Hn),Bn=function(){function t(e){_classCallCheck(this,t),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}return _createClass(t,[{key:"show",value:function(e){this._config.isVisible?(this._append(),this._config.isAnimated&&p(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(function(){_(e)})):_(e)}},{key:"hide",value:function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(function(){t.dispose(),_(e)})):_(e)}},{key:"_getElement",value:function(){var e;return this._element||((e=document.createElement("div")).className="modal-backdrop",this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}},{key:"_getConfig",value:function(e){return(e=_objectSpread(_objectSpread({},In),"object"===_typeof(e)?e:{})).rootElement=e.rootElement||document.body,f(Hn,e,Mn),e}},{key:"_append",value:function(){var e=this;this._isAppended||(this._config.rootElement.appendChild(this._getElement()),R.on(this._getElement(),Rn,function(){_(e._config.clickCallback)}),this._isAppended=!0)}},{key:"dispose",value:function(){this._isAppended&&(R.off(this._element,Rn),this._getElement().parentNode.removeChild(this._element),this._isAppended=!1)}},{key:"_emulateAnimation",value:function(e){var t;this._config.isAnimated?(t=o(this._getElement()),R.one(this._getElement(),"transitionend",function(){return _(e)}),c(this._getElement(),t)):_(e)}}]),t}(),Wn=".".concat("bs.modal"),qn={backdrop:!0,keyboard:!0,focus:!0},zn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Un="hide".concat(Wn),Fn="hidePrevented".concat(Wn),Vn="hidden".concat(Wn),Kn="show".concat(Wn),Xn="shown".concat(Wn),Yn="focusin".concat(Wn),Qn="resize".concat(Wn),$n="click.dismiss".concat(Wn),Gn="keydown.dismiss".concat(Wn),Zn="mouseup.dismiss".concat(Wn),Jn="mousedown.dismiss".concat(Wn),Me="click".concat(Wn).concat(".data-api"),ei="modal-open",ti="modal-static",ni=".modal-dialog",ii=function(){_inherits(i,B);var n=_createSuper(i);function i(e,t){return _classCallCheck(this,i),(e=n.call(this,e))._config=e._getConfig(t),e._dialog=v.findOne(ni,e._element),e._backdrop=e._initializeBackDrop(),e._isShown=!1,e._ignoreBackdropClick=!1,e._isTransitioning=!1,e}return _createClass(i,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t,n=this;this._isShown||this._isTransitioning||(this._isAnimated()&&(this._isTransitioning=!0),t=R.trigger(this._element,Kn,{relatedTarget:e}),this._isShown||t.defaultPrevented||(this._isShown=!0,Sn(),document.body.classList.add(ei),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),R.on(this._element,$n,'[data-bs-dismiss="modal"]',function(e){return n.hide(e)}),R.on(this._dialog,Jn,function(){R.one(n._element,Zn,function(e){e.target===n._element&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)})))}},{key:"hide",value:function(e){var t=this;e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(R.trigger(this._element,Un).defaultPrevented||(this._isShown=!1,(e=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),R.off(document,Yn),this._element.classList.remove("show"),R.off(this._element,$n),R.off(this._dialog,Jn),this._queueCallback(function(){return t._hideModal()},this._element,e)))}},{key:"dispose",value:function(){[window,this._dialog].forEach(function(e){return R.off(e,Wn)}),this._backdrop.dispose(),_get(_getPrototypeOf(i.prototype),"dispose",this).call(this),R.off(document,Yn)}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new Bn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_getConfig",value:function(e){return e=_objectSpread(_objectSpread(_objectSpread({},qn),J.getDataAttributes(this._element)),e),f("modal",e,zn),e}},{key:"_showElement",value:function(e){var t=this,n=this._isAnimated(),i=v.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),n&&p(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus();this._queueCallback(function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,R.trigger(t._element,Xn,{relatedTarget:e})},this._dialog,n)}},{key:"_enforceFocus",value:function(){var t=this;R.off(document,Yn),R.on(document,Yn,function(e){document===e.target||t._element===e.target||t._element.contains(e.target)||t._element.focus()})}},{key:"_setEscapeEvent",value:function(){var t=this;this._isShown?R.on(this._element,Gn,function(e){t._config.keyboard&&"Escape"===e.key?(e.preventDefault(),t.hide()):t._config.keyboard||"Escape"!==e.key||t._triggerBackdropTransition()}):R.off(this._element,Gn)}},{key:"_setResizeEvent",value:function(){var e=this;this._isShown?R.on(window,Qn,function(){return e._adjustDialog()}):R.off(window,Qn)}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(function(){document.body.classList.remove(ei),e._resetAdjustments(),Ln(),R.trigger(e._element,Vn)})}},{key:"_showBackdrop",value:function(e){var t=this;R.on(this._element,$n,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===t._config.backdrop?t.hide():"static"===t._config.backdrop&&t._triggerBackdropTransition())}),this._backdrop.show(e)}},{key:"_isAnimated",value:function(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function(){var e,t,n=this;R.trigger(this._element,Fn).defaultPrevented||((e=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(ti),t=o(this._dialog),R.off(this._element,"transitionend"),R.one(this._element,"transitionend",function(){n._element.classList.remove(ti),e||(R.one(n._element,"transitionend",function(){n._element.style.overflowY=""}),c(n._element,t))}),c(this._element,t),this._element.focus())}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=Cn(),n=0
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Le,popperConfig:null},Li={HIDE:"hide".concat(Me),HIDDEN:"hidden".concat(Me),SHOW:"show".concat(Me),SHOWN:"shown".concat(Me),INSERTED:"inserted".concat(Me),CLICK:"click".concat(Me),FOCUSIN:"focusin".concat(Me),FOCUSOUT:"focusout".concat(Me),MOUSEENTER:"mouseenter".concat(Me),MOUSELEAVE:"mouseleave".concat(Me)},ji="fade",Di="show",xi="show",Ni="hover",Pi="focus",Ii=function(){_inherits(i,B);var n=_createSuper(i);function i(e,t){if(_classCallCheck(this,i),void 0===nn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(e=n.call(this,e))._isEnabled=!0,e._timeout=0,e._hoverState="",e._activeTrigger={},e._popper=null,e._config=e._getConfig(t),e.tip=null,e._setListeners(),e}return _createClass(i,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){this._isEnabled&&(e?((e=this._initializeOnDelegatedTarget(e))._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)):this.getTipElement().classList.contains(Di)?this._leave(null,this):this._enter(null,this))}},{key:"dispose",value:function(){clearTimeout(this._timeout),R.off(this._element.closest(".".concat("modal")),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._popper&&this._popper.destroy(),_get(_getPrototypeOf(i.prototype),"dispose",this).call(this)}},{key:"show",value:function(){var e,t,n,i,o=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");this.isWithContent()&&this._isEnabled&&(t=R.trigger(this._element,this.constructor.Event.SHOW),e=(null===(n=d(this._element))?this._element.ownerDocument.documentElement:n).contains(this._element),!t.defaultPrevented&&e&&(n=this.getTipElement(),t=r(this.constructor.NAME),n.setAttribute("id",t),this._element.setAttribute("aria-describedby",t),this.setContent(),this._config.animation&&n.classList.add(ji),e="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,t=this._getAttachment(e),this._addAttachmentClass(t),e=this._config.container,E.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(e.appendChild(n),R.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=tn(this._element,n,this._getPopperConfig(t)),n.classList.add(Di),(t="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass)&&(n=n.classList).add.apply(n,_toConsumableArray(t.split(" "))),"ontouchstart"in document.documentElement&&(i=[]).concat.apply(i,_toConsumableArray(document.body.children)).forEach(function(e){R.on(e,"mouseover",h)}),i=this.tip.classList.contains(ji),this._queueCallback(function(){var e=o._hoverState;o._hoverState=null,R.trigger(o._element,o.constructor.Event.SHOWN),"out"===e&&o._leave(null,o)},this.tip,i)))}},{key:"hide",value:function(){var e,t,n=this;this._popper&&(e=this.getTipElement(),R.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(e.classList.remove(Di),"ontouchstart"in document.documentElement&&(t=[]).concat.apply(t,_toConsumableArray(document.body.children)).forEach(function(e){return R.off(e,"mouseover",h)}),this._activeTrigger.click=!1,this._activeTrigger[Pi]=!1,this._activeTrigger[Ni]=!1,t=this.tip.classList.contains(ji),this._queueCallback(function(){n._isWithActiveTrigger()||(n._hoverState!==xi&&e.parentNode&&e.parentNode.removeChild(e),n._cleanTipClass(),n._element.removeAttribute("aria-describedby"),R.trigger(n._element,n.constructor.Event.HIDDEN),n._popper&&(n._popper.destroy(),n._popper=null))},this.tip,t),this._hoverState=""))}},{key:"update",value:function(){null!==this._popper&&this._popper.update()}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this._config.template,this.tip=e.children[0],this.tip}},{key:"setContent",value:function(){var e=this.getTipElement();this.setElementContent(v.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove(ji,Di)}},{key:"setElementContent",value:function(e,t){if(null!==e)return s(t)?(t=w(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=bi(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}},{key:"getTitle",value:function(){return this._element.getAttribute("data-bs-original-title")||("function"==typeof this._config.title?this._config.title.call(this._element):this._config.title)}},{key:"updateAttachment",value:function(e){return"right"===e?"end":"left"===e?"start":e}},{key:"_initializeOnDelegatedTarget",value:function(e,t){var n=this.constructor.DATA_KEY;return(t=t||E.get(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),E.set(e.delegateTarget,n,t)),t}},{key:"_getOffset",value:function(){var t=this,n=this._config.offset;return"string"==typeof n?n.split(",").map(function(e){return Number.parseInt(e,10)}):"function"==typeof n?function(e){return n(e,t._element)}:n}},{key:"_getPopperConfig",value:function(e){var t=this,e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function(e){return t._handlePopperPlacementChange(e)}}],onFirstUpdate:function(e){e.options.placement!==e.placement&&t._handlePopperPlacementChange(e)}};return _objectSpread(_objectSpread({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_addAttachmentClass",value:function(e){this.getTipElement().classList.add("".concat(Ei,"-").concat(this.updateAttachment(e)))}},{key:"_getAttachment",value:function(e){return Ci[e.toUpperCase()]}},{key:"_setListeners",value:function(){var n=this;this._config.trigger.split(" ").forEach(function(e){var t;"click"===e?R.on(n._element,n.constructor.Event.CLICK,n._config.selector,function(e){return n.toggle(e)}):"manual"!==e&&(t=e===Ni?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===Ni?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,R.on(n._element,t,n._config.selector,function(e){return n._enter(e)}),R.on(n._element,e,n._config.selector,function(e){return n._leave(e)}))}),this._hideModalHandler=function(){n._element&&n.hide()},R.on(this._element.closest(".".concat("modal")),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config=_objectSpread(_objectSpread({},this._config),{},{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var e=this._element.getAttribute("title"),t=_typeof(this._element.getAttribute("data-bs-original-title"));!e&&"string"===t||(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}},{key:"_enter",value:function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?Pi:Ni]=!0),t.getTipElement().classList.contains(Di)||t._hoverState===xi?t._hoverState=xi:(clearTimeout(t._timeout),t._hoverState=xi,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(function(){t._hoverState===xi&&t.show()},t._config.delay.show):t.show())}},{key:"_leave",value:function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?Pi:Ni]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}},{key:"_isWithActiveTrigger",value:function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}},{key:"_getConfig",value:function(e){var t=J.getDataAttributes(this._element);return Object.keys(t).forEach(function(e){Ti.has(e)&&delete t[e]}),(e=_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),t),"object"===_typeof(e)&&e?e:{})).container=!1===e.container?document.body:w(e.container),"number"==typeof 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()),f(wi,e,this.constructor.DefaultType),e.sanitize&&(e.template=bi(e.template,e.allowList,e.sanitizeFn)),e}},{key:"_getDelegateConfig",value: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}},{key:"_cleanTipClass",value:function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ai);null!==e&&0

'}),Wi=_objectSpread(_objectSpread({},Ii.DefaultType),{},{content:"(string|element|function)"}),qi={HIDE:"hide".concat(Le),HIDDEN:"hidden".concat(Le),SHOW:"show".concat(Le),SHOWN:"shown".concat(Le),INSERTED:"inserted".concat(Le),CLICK:"click".concat(Le),FOCUSIN:"focusin".concat(Le),FOCUSOUT:"focusout".concat(Le),MOUSEENTER:"mouseenter".concat(Le),MOUSELEAVE:"mouseleave".concat(Le)},Me=function(){_inherits(i,Ii);var e=_createSuper(i);function i(){return _classCallCheck(this,i),e.apply(this,arguments)}return _createClass(i,[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"setContent",value:function(){var e=this.getTipElement();this.setElementContent(v.findOne(".popover-header",e),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this._element)),this.setElementContent(v.findOne(".popover-body",e),t),e.classList.remove("fade","show")}},{key:"_addAttachmentClass",value:function(e){this.getTipElement().classList.add("".concat(Hi,"-").concat(this.updateAttachment(e)))}},{key:"_getContent",value:function(){return this._element.getAttribute("data-bs-content")||this._config.content}},{key:"_cleanTipClass",value:function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ri);null!==e&&0=this._offsets[i]&&(void 0===this._offsets[i+1]||e .dropdown-menu .active",t.parentNode))&&i.classList.remove(ro),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)),e.classList.add(ro),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),p(e),e.classList.contains("fade")&&e.classList.add("show");t=e.parentNode;(t=t&&"LI"===t.nodeName?t.parentNode:t)&&t.classList.contains("dropdown-menu")&&((t=e.closest(".dropdown"))&&v.find(".dropdown-toggle",t).forEach(function(e){return e.classList.add(ro)}),e.setAttribute("aria-expanded",!0)),n&&n()}}],[{key:"NAME",get:function(){return"tab"}},{key:"jQueryInterface",value:function(t){return this.each(function(){var e=E.get(this,eo)||new n(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'.concat(t,'"'));e[t]()}})}}]),n}();R.on(document,Le,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),u(this)||(E.get(this,eo)||new co(this)).show()}),e(co);var lo="bs.toast",Le=".".concat(lo),uo="click.dismiss".concat(Le),fo="mouseover".concat(Le),ho="mouseout".concat(Le),po="focusin".concat(Le),mo="focusout".concat(Le),go="hide".concat(Le),_o="hidden".concat(Le),vo="show".concat(Le),yo="shown".concat(Le),bo="show",wo="showing",ko={animation:"boolean",autohide:"boolean",delay:"number"},Eo={animation:!0,autohide:!0,delay:5e3},Le=function(){_inherits(i,B);var n=_createSuper(i);function i(e,t){return _classCallCheck(this,i),(e=n.call(this,e))._config=e._getConfig(t),e._timeout=null,e._hasMouseInteraction=!1,e._hasKeyboardInteraction=!1,e._setListeners(),e}return _createClass(i,[{key:"show",value:function(){var e=this;R.trigger(this._element,vo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),p(this._element),this._element.classList.add(wo),this._queueCallback(function(){e._element.classList.remove(wo),e._element.classList.add(bo),R.trigger(e._element,yo),e._maybeScheduleHide()},this._element,this._config.animation))}},{key:"hide",value:function(){var e=this;this._element.classList.contains(bo)&&(R.trigger(this._element,go).defaultPrevented||(this._element.classList.remove(bo),this._queueCallback(function(){e._element.classList.add("hide"),R.trigger(e._element,_o)},this._element,this._config.animation)))}},{key:"dispose",value:function(){this._clearTimeout(),this._element.classList.contains(bo)&&this._element.classList.remove(bo),_get(_getPrototypeOf(i.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function(e){return e=_objectSpread(_objectSpread(_objectSpread({},Eo),J.getDataAttributes(this._element)),"object"===_typeof(e)&&e?e:{}),f("toast",e,this.constructor.DefaultType),e}},{key:"_maybeScheduleHide",value:function(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(function(){e.hide()},this._config.delay)))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}},{key:"_setListeners",value:function(){var t=this;R.on(this._element,uo,'[data-bs-dismiss="toast"]',function(){return t.hide()}),R.on(this._element,fo,function(e){return t._onInteraction(e,!0)}),R.on(this._element,ho,function(e){return t._onInteraction(e,!1)}),R.on(this._element,po,function(e){return t._onInteraction(e,!0)}),R.on(this._element,mo,function(e){return t._onInteraction(e,!1)})}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"DefaultType",get:function(){return ko}},{key:"Default",get:function(){return Eo}},{key:"NAME",get:function(){return"toast"}},{key:"jQueryInterface",value:function(n){return this.each(function(){var e=E.get(this,lo),t="object"===_typeof(n)&&n,e=e||new i(this,t);if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'.concat(n,'"'));e[n](this)}})}}]),i}();return e(Le),{Alert:V,Button:$,Carousel:Oe,Collapse:ze,Dropdown:On,Modal:ii,Offcanvas:gi,Popover:Me,ScrollSpy:Ji,Tab:co,Toast:Le,Tooltip:Ii}}),function(){var e=-1