1import{d as t,e,r as s,b as i,h as r}from"./bootstrap-collapse-tT-5TXrK.js";function n(t,e){for(var s=0;s<e.length;s++){const i=e[s];if("string"!=typeof i&&!Array.isArray(i))for(const e in i)if("default"!==e&&!(e in t)){const s=Object.getOwnPropertyDescriptor(i,e);s&&Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>i[e]})}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a,o={exports:{}};var l=a?o.exports:(a=1,o.exports=function(t,e,s,i){const r="tab",n=".bs.tab",a=`hide${n}`,o=`hidden${n}`,l=`show${n}`,c=`shown${n}`,d=`click${n}`,u=`keydown${n}`,g=`load${n}`,h="ArrowLeft",b="ArrowRight",_="ArrowUp",f="ArrowDown",p="Home",A="End",m="active",v="fade",w="show",I="dropdown",E=".dropdown-toggle",y=".dropdown-menu",O=`:not(${E})`,$='.list-group, .nav, [role="tablist"]',x=".nav-item, .list-group-item",C='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',D=`.nav-link${O}, .list-group-item${O}, [role="tab"]${O}, ${C}`,k=`.${m}[data-bs-toggle="tab"], .${m}[data-bs-toggle="pill"], .${m}[data-bs-toggle="list"]`;class L extends t{constructor(t){super(t),this._parent=this._element.closest($),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,u,t=>this._keydown(t)))}static get NAME(){return r}show(){const t=this._element;if(this._elemIsActive(t))return;const s=this._getActiveElem(),i=s?e.trigger(s,a,{relatedTarget:t}):null;e.trigger(t,l,{relatedTarget:s}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(s,t),this._activate(t,s))}_activate(t,i){if(!t)return;t.classList.add(m),this._activate(s.getElementFromSelector(t));const r=()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),e.trigger(t,c,{relatedTarget:i})):t.classList.add(w)};this._queueCallback(r,t,t.classList.contains(v))}_deactivate(t,i){if(!t)return;t.classList.remove(m),t.blur(),this._deactivate(s.getElementFromSelector(t));const r=()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),e.trigger(t,o,{relatedTarget:i})):t.classList.remove(w)};this._queueCallback(r,t,t.classList.contains(v))}_keydown(t){if(![h,b,_,f,p,A].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(t=>!i.isDisabled(t));let s;if([p,A].includes(t.key))s=e[t.key===p?0:e.length-1];else{const r=[b,f].includes(t.key);s=i.getNextActiveElement(e,t.target,r,!0)}s&&(s.focus({preventScroll:!0}),L.getOrCreateInstance(s).show())}_getChildren(){return s.find(D,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const s of e)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=s.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains(I))return;const r=(t,r)=>{const n=s.findOne(t,i);n&&n.classList.toggle(r,e)};r(E,m),r(y,w),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(m)}_getInnerElement(t){return t.matches(D)?t:s.findOne(D,t)}_getOuterElement(t){return t.closest(x)||t}static jQueryInterface(t){return this.each(function(){const e=L.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}return e.on(document,d,C,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this)||L.getOrCreateInstance(this).show()}),e.on(window,g,()=>{for(const t of s.find(k))L.getOrCreateInstance(t)}),i.defineJQueryPlugin(L),L}
1(t(),e(),s(),i()));const c=n({__proto__:null,default:r(l)},[l]);export{c as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.