/*! * Bootstrap v5.0.0-beta1 (https://getbootstrap.com/) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)}(this,(function(e){"use strict";!function(e){if(e&&e.__esModule)return e;var t=Object.create(null);e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}(e);function t(e,t){for(var n=0;n0)for(var r=0;r li > .active":".active";t=(t=M(i,r))[t.length-1]}var o=null;if(t&&(o=I.trigger(t,"hide.bs.tab",{relatedTarget:this._element})),!(I.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==o&&o.defaultPrevented)){this._activate(this._element,r);var a=function(){I.trigger(t,"hidden.bs.tab",{relatedTarget:e._element}),I.trigger(e._element,"shown.bs.tab",{relatedTarget:t})};n?this._activate(n,n.parentNode,a):a()}}},r._activate=function(e,t,n){var r=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?H(t,".active"):M(":scope > li > .active",t))[0],o=n&&i&&i.classList.contains("fade"),a=function(){return r._transitionComplete(e,i,n)};if(i&&o){var s=u(i);i.classList.remove("show"),I.one(i,"transitionend",a),d(i,s)}else a()},r._transitionComplete=function(e,t,n){if(t){t.classList.remove("active");var r=Y(":scope > .dropdown-menu .active",t.parentNode);r&&r.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&e.parentNode.classList.contains("dropdown-menu")&&(e.closest(".dropdown")&&M(".dropdown-toggle").forEach((function(e){return e.classList.add("active")})),e.setAttribute("aria-expanded",!0)),n&&n()},t.jQueryInterface=function(e){return this.each((function(){var n=b(this,"bs.tab")||new t(this);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},n(t,null,[{key:"DATA_KEY",get:function(){return"bs.tab"}}]),t}(S);return I.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){e.preventDefault(),(b(this,"bs.tab")||new z(this)).show()})),h((function(){var e=p();if(e){var t=e.fn.tab;e.fn.tab=z.jQueryInterface,e.fn.tab.Constructor=z,e.fn.tab.noConflict=function(){return e.fn.tab=t,z.jQueryInterface}}})),h((function(){p()})),{Alert:K,Button:Q,Collapse:U,Tab:z}}));