PageSourceSearch

https://www.schueleraustausch.de/assets/bootstrap--dist--js--boots…86ae847230c1e458ac9b218f31d3da7f877b83de.js

js schueleraustausch.de collected 2026-10-08 12:55:11 UTC 62,989 bytes, 4 lines download raw bytes

vendor: 11,429 bytes, lines 1-3
1// bootstrap/dist/js/[email protected] downloaded from https://ga.jspm.io/npm:[email protected]/dist/js/bootstrap.esm.min.js
2
3import*as s from"@popperjs/core";const a=new Map,l={set(s,l,c){a.has(s)||a.set(s,new Map);const h=a.get(s);h.has(l)||0===h.size?h.set(l,c):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(h.keys())[0]}.`)},get:(s,l)=>a.has(s)&&a.get(s).get(l)||null,remove(s,l){if(!a.has(s))return;const c=a.get(s);c.delete(l),0===c.size&&a.delete(s)}},c="transitionend",parseSelector=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,((s,a)=>`#${CSS.escape(a)}`))),s),toType=s=>null==s?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase(),getUID=s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s},getTransitionDurationFromElement=s=>{if(!s)return 0;let{transitionDuration:a,transitionDelay:l}=window.getComputedStyle(s);const c=Number.parseFloat(a),h=Number.parseFloat(l);return c||h?(a=a.split(",")[0],l=l.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(l))):0},triggerTransitionEnd=s=>{s.dispatchEvent(new Event(c))},isElement=s=>!(!s||"object"!=typeof s)&&(void 0!==s.jquery&&(s=s[0]),void 0!==s.nodeType),getElement=s=>isElement(s)?s.jquery?s[0]:s:"string"==typeof s&&s.length>0?document.querySelector(parseSelector(s)):null,isVisible=s=>{if(!isElement(s)||0===s.getClientRects().length)return!1;const a="visible"===getComputedStyle(s).getPropertyValue("visibility"),l=s.closest("details:not([open])");if(!l)return a;if(l!==s){const a=s.closest("summary");if(a&&a.parentNode!==l)return!1;if(null===a)return!1}return a},isDisabled=s=>!s||s.nodeType!==Node.ELEMENT_NODE||!!s.classList.contains("disabled")||(void 0!==s.disabled?s.disabled:s.hasAttribute("disabled")&&"false"!==s.getAttribute("disabled")),findShadowRoot=s=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof s.getRootNode){const a=s.getRootNode();return a instanceof ShadowRoot?a:null}return s instanceof ShadowRoot?s:s.parentNode?findShadowRoot(s.parentNode):null},noop=()=>{},reflow=s=>{s.offsetHeight},getjQuery=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],onDOMContentLoaded=s=>{"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const s of h)s()})),h.push(s)):s()},isRTL=()=>"rtl"===document.documentElement.dir,defineJQueryPlugin=s=>{onDOMContentLoaded((()=>{const a=getjQuery();if(a){const l=s.NAME,c=a.fn[l];a.fn[l]=s.jQueryInterface,a.fn[l].Constructor=s,a.fn[l].noConflict=()=>(a.fn[l]=c,s.jQueryInterface)}}))},execute=(s,a=[],l=s)=>"function"==typeof s?s(...a):l,executeAfterTransition=(s,a,l=!0)=>{if(!l)return void execute(s);const h=getTransitionDurationFromElement(a)+5;let d=!1;const o=({target:l})=>{l===a&&(d=!0,a.removeEventListener(c,o),execute(s))};a.addEventListener(c,o),setTimeout((()=>{d||triggerTransitionEnd(a)}),h)},getNextActiveElement=(s,a,l,c)=>{const h=s.length;let d=s.indexOf(a);return-1===d?!l&&c?s[h-1]:s[0]:(d+=l?1:-1,c&&(d=(d+h)%h),s[Math.max(0,Math.min(d,h-1))])},d=/[^.]*(?=\..*)\.|.*/,u=/\..*/,g=/::\d+$/,_={};let p=1;const m={mouseenter:"mouseover",mouseleave:"mouseout"},f=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function makeEventUid(s,a){return a&&`${a}::${p++}`||s.uidEvent||p++}function getElementEvents(s){const a=makeEventUid(s);return s.uidEvent=a,_[a]=_[a]||{},_[a]}function bootstrapHandler(s,a){return function n(l){return hydrateObj(l,{delegateTarget:s}),n.oneOff&&b.off(s,l.type,a),a.apply(s,[l])}}function bootstrapDelegationHandler(s,a,l){return function i(c){const h=s.querySelectorAll(a);for(let{target:d}=c;d&&d!==this;d=d.parentNode)for(const u of h)if(u===d)return hydrateObj(c,{delegateTarget:d}),i.oneOff&&b.off(s,c.type,a,l),l.apply(d,[c])}}function findHandler(s,a,l=null){return Object.values(s).find((s=>s.callable===a&&s.delegationSelector===l))}function normalizeParameters(s,a,l){const c="string"==typeof a,h=c?l:a||l;let d=getTypeEvent(s);return f.has(d)||(d=s),[c,h,d]}function addHandler(s,a,l,c,h){if("string"!=typeof a||!s)return;let[u,g,_]=normalizeParameters(a,l,c);if(a in m){const e=s=>function(a){if(!a.relatedTarget||a.relatedTarget!==a.delegateTarget&&!a.delegateTarget.contains(a.relatedTarget))return s.call(this,a)};g=e(g)}const p=getElementEvents(s),f=p[_]||(p[_]={}),b=findHandler(f,g,u?l:null);if(b)return void(b.oneOff=b.oneOff&&h);const v=makeEventUid(g,a.replace(d,"")),y=u?bootstrapDelegationHandler(s,l,g):bootstrapHandler(s,g);y.delegationSelector=u?l:null,y.callable=g,y.oneOff=h,y.uidEvent=v,f[v]=y,s.addEventListener(_,y,u)}function removeHandler(s,a,l,c,h){const d=findHandler(a[l],c,h);d&&(s.removeEventListener(l,d,Boolean(h)),delete a[l][d.uidEvent])}function removeNamespacedHandlers(s,a,l,c){const h=a[l]||{};for(const[d,u]of Object.entries(h))d.includes(c)&&removeHandler(s,a,l,u.callable,u.delegationSelector)}function getTypeEvent(s){return s=s.replace(u,""),m[s]||s}const b={on(s,a,l,c){addHandler(s,a,l,c,!1)},one(s,a,l,c){addHandler(s,a,l,c,!0)},off(s,a,l,c){if("string"!=typeof a||!s)return;const[h,d,u]=normalizeParameters(a,l,c),_=u!==a,p=getElementEvents(s),m=p[u]||{},f=a.startsWith(".");if(void 0===d){if(f)for(const l of Object.keys(p))removeNamespacedHandlers(s,p,l,a.slice(1));for(const[l,c]of Object.entries(m)){const h=l.replace(g,"");_&&!a.includes(h)||removeHandler(s,p,u,c.callable,c.delegationSelector)}}else{if(!Object.keys(m).length)return;removeHandler(s,p,u,d,h?l:null)}},trigger(s,a,l){if("string"!=typeof a||!s)return null;const c=getjQuery();let h=null,d=!0,u=!0,g=!1;a!==getTypeEvent(a)&&c&&(h=c.Event(a,l),c(s).trigger(h),d=!h.isPropagationStopped(),u=!h.isImmediatePropagationStopped(),g=h.isDefaultPrevented());const _=hydrateObj(new Event(a,{bubbles:d,cancelable:!0}),l);return g&&_.preventDefault(),u&&s.dispatchEvent(_),_.defaultPrevented&&h&&h.preventDefault(),_}};function hydrateObj(s,a={}){for(const[l,c]of Object.entries(a))try{s[l]=c}catch(a){Object.defineProperty(s,l,{configurable:!0,get:()=>c})}return s}function normalizeData(s){if("true"===s)return!0;if("false"===s)return!1;if(s===Number(s).toString())return Number(s);if(""===s||"null"===s)return null;if("string"!=typeof s)return s;try{return JSON.parse(decodeURIComponent(s))}catch(a){return s}}function normalizeDataKey(s){return s.replace(/[A-Z]/g,(s=>`-${s.toLowerCase()}`))}const v={setDataAttribute(s,a,l){s.setAttribute(`data-bs-${normalizeDataKey(a)}`,l)},removeDataAttribute(s,a){s.removeAttribute(`data-bs-${normalizeDataKey(a)}`)},getDataAttributes(s){if(!s)return{};const a={},l=Object.keys(s.dataset).filter((s=>s.startsWith("bs")&&!s.startsWith("bsConfig")));for(const c of l){let l=c.replace(/^bs/,"");l=l.charAt(0).toLowerCase()+l.slice(1,l.length),a[l]=normalizeData(s.dataset[c])}return a},getDataAttribute:(s,a)=>normalizeData(s.getAttribute(`data-bs-${normalizeDataKey(a)}`))};class Config{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(s){return s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s}_mergeConfigObj(s,a){const l=isElement(a)?v.getDataAttribute(a,"config"):{};return{...this.constructor.Default,..."object"==typeof l?l:{},...isElement(a)?v.getDataAttributes(a):{},..."object"==typeof s?s:{}}}_typeCheckConfig(s,a=this.constructor.DefaultType){for(const[l,c]of Object.entries(a)){const a=s[l],h=isElement(a)?"element":toType(a);if(!new RegExp(c).test(h))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${l}" provided type "${h}" but expected type "${c}".`)}}}class BaseComponent extends Config{constructor(s,a){super(),(s=getElement(s))&&(this._element=s,this._config=this._getConfig(a),l.set(this._element,this.constructor.DATA_KEY,this))}dispose(){l.remove(this._element,this.constructor.DATA_KEY),b.off(this._element,this.constructor.EVENT_KEY);for(const s of Object.getOwnPropertyNames(this))this[s]=null}_queueCallback(s,a,l=!0){executeAfterTransition(s,a,l)}_getConfig(s){return s=this._mergeConfigObj(s,this._element),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}static getInstance(s){return l.get(getElement(s),this.DATA_KEY)}static getOrCreateInstance(s,a={}){return this.getInstance(s)||new this(s,"object"==typeof a?a:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(s){return`${s}${this.EVENT_KEY}`}}const getSelector=s=>{let a=s.getAttribute("data-bs-target");if(!a||"#"===a){let l=s.getAttribute("href");if(!l||!l.includes("#")&&!l.startsWith("."))return null;l.includes("#")&&!l.startsWith("#")&&(l=`#${l.split("#")[1]}`),a=l&&"#"!==l?l.trim():null}return a?a.split(",").map((s=>parseSelector(s))).join(","):null},y={find:(s,a=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(a,s)),findOne:(s,a=document.documentElement)=>Element.prototype.querySelector.call(a,s),children:(s,a)=>[].concat(...s.children).filter((s=>s.matches(a))),parents(s,a){const l=[];let c=s.parentNode.closest(a);for(;c;)l.push(c),c=c.parentNode.closest(a);return l},prev(s,a){let l=s.previousElementSibling;for(;l;){if(l.matches(a))return[l];l=l.previousElementSibling}return[]},next(s,a){let l=s.nextElementSibling;for(;l;){if(l.matches(a))return[l];l=l.nextElementSibling}return[]},focusableChildren(s){const a=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((s=>`${s}:not([tabindex^="-"])`)).join(",");return this.find(a,s).filter((s=>!isDisabled(s)&&isVisible(s)))},getSelectorFromElement(s){const a=getSelector(s);return a&&y.findOne(a)?a:null},getElementFromSelector(s){const a=getSelector(s);return a?y.findOne(a):null},getMultipleElementsFromSelector(s){const a=getSelector(s);return a?y.find(a):[]}},enableDismissTrigger=(s,a="hide")=>{const l=`click.dismiss${s.EVENT_KEY}`,c=s.NAME;b.on(document,l,`[data-bs-dismiss="${c}"]`,(function(l){if(["A","AREA"].includes(this.tagName)&&l.preventDefault(),isDisabled(this))return;const h=y.getElementFromSelector(this)||this.closest(`.${c}`);s.getOrCreateInstance(h)[a]()}))},w="alert",E="close.bs.alert",A="closed.bs.alert";class Alert extends BaseComponent{static get NAME(){return w}close(){if(b.trigger(this._element,E).defaultPrevented)return;this._element.classList.remove("show");const s=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,s)}_destroyElement(){this._element.remove(),b.trigger(this._element,A),this.dispose()}static jQueryInterface(s){return this.each((function(){const a=Alert.getOrCreateInstance(this);if("string"==typeof s){if(void 0===a[s]||s.startsWith("_")||"constructor"===s)throw new TypeError(`No method n
3amed "${s}"`);a[s](this)}}))}}enableDismissTrigger(Alert,"close"),defineJQueryPlugin(Alert);const C="button",T="bs.button",k=`.${T}`,S='[data-bs-toggle="button"]',O=`click${k}.data-api`;class Button extends BaseComponent{static get NAME(){return C}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(s){return this.each((function(){const a=Button.getOrCreateInstance(this);"toggle"===s&&a[s]()}))}}b.on(document,O,S,(s=>{s.preventDefault();const a=s.target.closest(S);Button.getOrCreateInstance(a).toggle()})),defineJQueryPlugin(Button);const L="swipe",D="touchstart.bs.swipe",I="touchmove.bs.swipe",N="touchend.bs.swipe",$="pointerdown.bs.swipe",P="pointerup.bs.swipe",x={endCallback:null,leftCallback:null,rightCallback:null},M={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Swipe extends Config{constructor(s,a){super(),this._element=s,s&&Swipe.isSupported()&&(this._config=this._getConfig(a),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return x}static get DefaultType(){return M}static get NAME(){return L}dispose(){b.off(this._element,".bs.swipe")}_start(s){this._supportPointerEvents?this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX):this._deltaX=s.touches[0].clientX}_end(s){this._eventIsPointerPenTouch(s)&&(this._deltaX=s.clientX-this._deltaX),this._handleSwipe(),execute(this._config.endCallback)}_move(s){this._deltaX=s.touches&&s.touches.length>1?0:s.touches[0].clientX-this._deltaX}_handleSwipe(){const s=Math.abs(this._deltaX);if(s<=40)return;const a=s/this._deltaX;this._deltaX=0,a&&execute(a>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(b.on(this._element,$,(s=>this._start(s))),b.on(this._element,P,(s=>this._end(s))),this._element.classList.add("pointer-event")):(b.on(this._element,D,(s=>this._start(s))),b.on(this._element,I,(s=>this._move(s))),b.on(this._element,N,(s=>this._end(s))))}_eventIsPointerPenTouch(s){return this._supportPointerEvents&&("pen"===s.pointerType||"touch"===s.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const j="carousel",F="bs.carousel",H=`.${F}`,B=`slide${H}`,z=`slid${H}`,q=`keydown${H}`,W=`mouseenter${H}`,R=`mouseleave${H}`,K=`dragstart${H}`,V=`load${H}.data-api`,Q=`click${H}.data-api`,U="carousel-item-end",X="carousel-item-start",Y="carousel-item-next",G="carousel-item-prev",J=".carousel-item",Z=".active.carousel-item",tt=".carousel-item img",et=".carousel-indicators",it="[data-bs-slide], [data-bs-slide-to]",st='[data-bs-ride="carousel"]',nt={ArrowLeft:"right",ArrowRight:"left"},ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},rt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Carousel extends BaseComponent{constructor(s,a){super(s,a),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=y.findOne(et,this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return ot}static get DefaultType(){return rt}static get NAME(){return j}next(){this._slide("next")}nextWhenVisible(){!document.hidden&&isVisible(this._element)&&this.next()}prev(){this._slide("prev")}pause(){this._isSliding&&triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?b.one(this._element,z,(()=>this.cycle())):this.cycle())}to(s){const a=this._getItems();if(s>a.length-1||s<0)return;if(this._isSliding)return void b.one(this._element,z,(()=>this.to(s)));const l=this._getItemIndex(this._getActive());if(l===s)return;const c=s>l?"next":"prev";this._slide(c,a[s])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(s){return s.defaultInterval=s.interval,s}_addEventListeners(){this._config.keyboard&&b.on(this._element,q,(s=>
vendor: 8,576 bytes, line 3
3this._keydown(s))),"hover"===this._config.pause&&(b.on(this._element,W,(()=>this.pause())),b.on(this._element,R,(()=>this._maybeEnableCycle()))),this._config.touch&&Swipe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of y.find(tt,this._element))b.on(s,K,(s=>s.preventDefault()));const s={leftCallback:()=>this._slide(this._directionToOrder("left")),rightCallback:()=>this._slide(this._directionToOrder("right")),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new Swipe(this._element,s)}_keydown(s){if(/input|textarea/i.test(s.target.tagName))return;const a=nt[s.key];a&&(s.preventDefault(),this._slide(this._directionToOrder(a)))}_getItemIndex(s){return this._getItems().indexOf(s)}_setActiveIndicatorElement(s){if(!this._indicatorsElement)return;const a=y.findOne(".active",this._indicatorsElement);a.classList.remove("active"),a.removeAttribute("aria-current");const l=y.findOne(`[data-bs-slide-to="${s}"]`,this._indicatorsElement);l&&(l.classList.add("active"),l.setAttribute("aria-current","true"))}_updateInterval(){const s=this._activeElement||this._getActive();if(!s)return;const a=Number.parseInt(s.getAttribute("data-bs-interval"),10);this._config.interval=a||this._config.defaultInterval}_slide(s,a=null){if(this._isSliding)return;const l=this._getActive(),c="next"===s,h=a||getNextActiveElement(this._getItems(),l,c,this._config.wrap);if(h===l)return;const d=this._getItemIndex(h),r=a=>b.trigger(this._element,a,{relatedTarget:h,direction:this._orderToDirection(s),from:this._getItemIndex(l),to:d});if(r(B).defaultPrevented)return;if(!l||!h)return;const u=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(d),this._activeElement=h;const g=c?X:U,_=c?Y:G;h.classList.add(_),reflow(h),l.classList.add(g),h.classList.add(g),this._queueCallback((()=>{h.classList.remove(g,_),h.classList.add("active"),l.classList.remove("active",_,g),this._isSliding=!1,r(z)}),l,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return y.findOne(Z,this._element)}_getItems(){return y.find(J,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(s){return isRTL()?"left"===s?"prev":"next":"left"===s?"next":"prev"}_orderToDirection(s){return isRTL()?"prev"===s?"left":"right":"prev"===s?"right":"left"}static jQueryInterface(s){return this.each((function(){const a=Carousel.getOrCreateInstance(this,s);if("number"!=typeof s){if("string"==typeof s){if(void 0===a[s]||s.startsWith("_")||"constructor"===s)throw new TypeError(`No method named "${s}"`);a[s]()}}else a.to(s)}))}}b.on(document,Q,it,(function(s){const a=y.getElementFromSelector(this);if(!a||!a.classList.contains("carousel"))return;s.preventDefault();const l=Carousel.getOrCreateInstance(a),c=this.getAttribute("data-bs-slide-to");return c?(l.to(c),void l._maybeEnableCycle()):"next"===v.getDataAttribute(this,"slide")?(l.next(),void l._maybeEnableCycle()):(l.prev(),void l._maybeEnableCycle())})),b.on(window,V,(()=>{const s=y.find(st);for(const a of s)Carousel.getOrCreateInstance(a)})),defineJQueryPlugin(Carousel);const at="collapse",lt="bs.collapse",ct=`.${lt}`,ht=`show${ct}`,dt=`shown${ct}`,ut=`hide${ct}`,gt=`hidden${ct}`,_t=`click${ct}.data-api`,pt=":scope .collapse .collapse",mt="width",ft="height",bt=".collapse.show, .collapse.collapsing",vt='[data-bs-toggle="collapse"]',yt={parent:null,toggle:!0},wt={parent:"(null|element)",toggle:"boolean"};class Collapse extends BaseComponent{constructor(s,a){super(s,a),this._isTransitioning=!1,this._triggerArray=[];const l=y.find(vt);for(const s of l){const a=y.getSelectorFromElement(s),l=y.find(a).filter((s=>s===this._element));null!==a&&l.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return yt}static get DefaultType(){return wt}static get NAME(){return at}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let s=[];if(this._config.parent&&(s=this._getFirstLevelChildren(bt).filter((s=>s!==this._element)).map((s=>Collapse.getOrCreateInstance(s,{toggle:!1})))),s.length&&s[0]._isTransitioning)return;if(b.trigger(this._element,ht).defaultPrevented)return;for(const a of s)a.hide();const a=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[a]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const l=`scroll${a[0].toUpperCase()+a.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[a]="",b.trigger(this._element,dt)}),this._element,!0),this._element.style[a]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(b.trigger(this._element,ut).defaultPrevented)return;const s=this._getDimension();this._element.style[s]=`${this._element.getBoundingClientRect()[s]}px`,reflow(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");for(const s of this._triggerArray){const a=y.getElementFromSelector(s);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0,this._element.style[s]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),b.trigger(this._element,gt)}),this._element,!0)}_isShown(s=this._element){return s.classList.contains("show")}_configAfterMerge(s){return s.toggle=Boolean(s.toggle),s.parent=getElement(s.parent),s}_getDimension(){return this._element.classList.contains("collapse-horizontal")?mt:ft}_initializeChildren(){if(!this._config.parent)return;const s=this._getFirstLevelChildren(vt);for(const a of s){const s=y.getElementFromSelector(a);s&&this._addAriaAndCollapsedClass([a],this._isShown(s))}}_getFirstLevelChildren(s){const a=y.find(pt,this._config.parent);return y.find(s,this._config.parent).filter((s=>!a.includes(s)))}_addAriaAndCollapsedClass(s,a){if(s.length)for(const l of s)l.classList.toggle("collapsed",!a),l.setAttribute("aria-expanded",a)}static jQueryInterface(s){const a={};return"string"==typeof s&&/show|hide/.test(s)&&(a.toggle=!1),this.each((function(){const l=Collapse.getOrCreateInstance(this,a);if("string"==typeof s){if(void 0===l[s])throw new TypeError(`No method named "${s}"`);l[s]()}}))}}b.on(document,_t,vt,(function(s){("A"===s.target.tagName||s.delegateTarget&&"A"===s.delegateTarget.tagName)&&s.preventDefault();for(const s of y.getMultipleElementsFromSelector(this))Collapse.getOrCreateInstance(s,{toggle:!1}).toggle()})),defineJQueryPlugin(Collapse);const Et="dropdown",At="bs.dropdown",Ct=`.${At}`,Tt="ArrowUp",kt="ArrowDown",St=`hide${Ct}`,Ot=`hidden${Ct}`,Lt=`show${Ct}`,Dt=`shown${Ct}`,It=`click${Ct}.data-api`,Nt=`keydown${Ct}.data-api`,$t=`keyup${Ct}.data-api`,Pt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',xt=`${Pt}.show`,Mt=".dropdown-menu",jt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ft=isRTL()?"top-end":"top-start",Ht=isRTL()?"top-start":"top-end",Bt=isRTL()?"bottom-end":"bottom-start",zt=isRTL()?"bottom-start":"bottom-end",qt=isRTL()?"left-start":"right-start",Wt=isRTL()?"right-start":"left-start",Rt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Kt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Dropdown extends BaseComponent{constructor(s,a){super(s,a),this._popper=null,this._parent=this._element.parentNode,this._menu=y.next(this._element,Mt)[0]||y.prev(this._element,Mt)[0]||y.findOne(Mt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Rt}static get DefaultType(){return Kt}static get NAME(){return Et}toggle(){return this._isShown()?this.hide():this.show()}show(){if(isDisabled(this._element)||this._isShown())return;const s={relatedTarget:this._element};if(!b.trigger(this._element,Lt,s).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
3navbar-nav"))for(const s of[].concat(...document.body.children))b.on(s,"mouseover",noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),b.trigger(this._element,Dt,s)}}hide(){if(isDisabled(this._element)||!this._isShown())return;const s={relatedTarget:this._element};this._completeHide(s)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(s){if(!b.trigger(this._element,St,s).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))b.off(s,"mouseover",noop);this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),v.removeDataAttribute(this._menu,"popper"),b.trigger(this._element,Ot,s)}}_getConfig(s){if("object"==typeof(s=super._getConfig(s)).reference&&!isElement(s.reference)&&"function"!=typeof s.reference.getBoundingClientRect)throw new TypeError(`${Et.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return s}_createPopper(){if(void 0===s)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let a=this._element;"parent"===this._config.reference?a=this._parent:isElement(this._config.reference)?a=getElement(this._config.reference):"object"==typeof this._config.reference&&(a=this._config.reference);const l=this._getPopperConfig();this._popper=s.createPopper(a,this._menu,l)}_isShown(){return this._menu.classList.contains("show")}_getPlacement(){const s=this._parent;if(s.classList.contains("dropend"))return qt;if(s.classList.contains("dropstart"))return Wt;if(s.classList.contains("dropup-center"))return"top";if(s.classList.contains("dropdown-center"))return"bottom";const a="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return s.classList.contains("dropup")?a?Ht:Ft:a?zt:Bt}
vendor: 5,905 bytes, line 3
3_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:s}=this._config;return"string"==typeof s?s.split(",").map((s=>Number.parseInt(s,10))):"function"==typeof s?a=>s(a,this._element):s}_getPopperConfig(){const s={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(v.setDataAttribute(this._menu,"popper","static"),s.modifiers=[{name:"applyStyles",enabled:!1}]),{...s,...execute(this._config.popperConfig,[s])}}_selectMenuItem({key:s,target:a}){const l=y.find(jt,this._menu).filter((s=>isVisible(s)));l.length&&getNextActiveElement(l,a,s===kt,!l.includes(a)).focus()}static jQueryInterface(s){return this.each((function(){const a=Dropdown.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s])throw new TypeError(`No method named "${s}"`);a[s]()}}))}static clearMenus(s){if(2===s.button||"keyup"===s.type&&"Tab"!==s.key)return;const a=y.find(xt);for(const l of a){const a=Dropdown.getInstance(l);if(!a||!1===a._config.autoClose)continue;const c=s.composedPath(),h=c.includes(a._menu);if(c.includes(a._element)||"inside"===a._config.autoClose&&!h||"outside"===a._config.autoClose&&h)continue;if(a._menu.contains(s.target)&&("keyup"===s.type&&"Tab"===s.key||/input|select|option|textarea|form/i.test(s.target.tagName)))continue;const d={relatedTarget:a._element};"click"===s.type&&(d.clickEvent=s),a._completeHide(d)}}static dataApiKeydownHandler(s){const a=/input|textarea/i.test(s.target.tagName),l="Escape"===s.key,c=[Tt,kt].includes(s.key);if(!c&&!l)return;if(a&&!l)return;s.preventDefault();const h=this.matches(Pt)?this:y.prev(this,Pt)[0]||y.next(this,Pt)[0]||y.findOne(Pt,s.delegateTarget.parentNode),d=Dropdown.getOrCreateInstance(h);if(c)return s.stopPropagation(),d.show(),void d._selectMenuItem(s);d._isShown()&&(s.stopPropagation(),d.hide(),h.focus())}}b.on(document,Nt,Pt,Dropdown.dataApiKeydownHandler),b.on(document,Nt,Mt,Dropdown.dataApiKeydownHandler),b.on(document,It,Dropdown.clearMenus),b.on(document,$t,Dropdown.clearMenus),b.on(document,It,Pt,(function(s){s.preventDefault(),Dropdown.getOrCreateInstance(this).toggle()})),defineJQueryPlugin(Dropdown);const Vt="backdrop",Qt=`mousedown.bs.${Vt}`,Ut={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Xt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Backdrop extends Config{constructor(s){super(),this._config=this._getConfig(s),this._isAppended=!1,this._element=null}static get Default(){return Ut}static get DefaultType(){return Xt}static get NAME(){return Vt}show(s){if(!this._config.isVisible)return void execute(s);this._append();const a=this._getElement();this._config.isAnimated&&reflow(a),a.classList.add("show"),this._emulateAnimation((()=>{execute(s)}))}hide(s){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((()=>{this.dispose(),execute(s)}))):execute(s)}dispose(){this._isAppended&&(b.off(this._element,Qt),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const s=document.createElement("div");s.className=this._config.className,this._config.isAnimated&&s.classList.add("fade"),this._element=s}return this._element}_configAfterMerge(s){return s.rootElement=getElement(s.rootElement),s}_append(){if(this._isAppended)return;const s=this._getElement();this._config.rootElement.append(s),b.on(s,Qt,(()=>{execute(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(s){executeAfterTransition(s,this._getElement(),this._config.isAnimated)}}const Yt="focustrap",Gt="bs.focustrap",Jt=`.${Gt}`,Zt=`focusin${Jt}`,te=`keydown.tab${Jt}`,ee={autofocus:!0,trapElement:null},ie={autofocus:"boolean",trapElement:"element"};class FocusTrap extends Config{constructor(s){super(),this._config=this._getConfig(s),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ee}static get DefaultType(){return ie}static get NAME(){return Yt}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),b.off(document,Jt),b.on(document,Zt,(s=>this._handleFocusin(s))),b.on(document,te,(s=>this._handleKeydown(s))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,b.off(document,Jt))}_handleFocusin(s){const{trapElement:a}=this._config;if(s.target===document||s.target===a||a.contains(s.target))return;const l=y.focusableChildren(a);0===l.length?a.focus():"backward"===this._lastTabNavDirection?l[l.length-1].focus():l[0].focus()}_handleKeydown(s){"Tab"===s.key&&(this._lastTabNavDirection=s.shiftKey?"backward":"forward")}}const se=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";class ScrollBarHelper{constructor(){this._element=document.body}getWidth(){const s=document.documentElement.clientWidth;return Math.abs(window.innerWidth-s)}hide(){const s=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"padding-right",(a=>a+s)),this._setElementAttributes(se,"padding-right",(a=>a+s)),this._setElementAttributes(".sticky-top","margin-right",(a=>a-s))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"padding-right"),this._resetElementAttributes(se,"padding-right"),this._resetElementAttributes(".sticky-top","margin-right")}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(s,a,l){const c=this.getWidth();this._applyManipulationCallback(s,(s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+c)return;this._saveInitialAttribute(s,a);const h=window.getComputedStyle(s).getPropertyValue(a);s.style.setProperty(a,`${l(Number.parseFloat(h))}
3px`)}))}_saveInitialAttribute(s,a){const l=s.style.getPropertyValue(a);l&&v.setDataAttribute(s,a,l)}_resetElementAttributes(s,a){this._applyManipulationCallback(s,(s=>{const l=v.getDataAttribute(s,a);null!==l?(v.removeDataAttribute(s,a),s.style.setProperty(a,l)):s.style.removeProperty(a)}))}_applyManipulationCallback(s,a){if(isElement(s))a(s);else for(const l of y.find(s,this._element))a(l)}}const ne="modal",oe="hide.bs.modal",re="hidePrevented.bs.modal",ae="hidden.bs.modal",le="show.bs.modal",ce="shown.bs.modal",he="resize.bs.modal",de="click.dismiss.bs.modal",ue="mousedown.dismiss.bs.modal",ge="keydown.dismiss.bs.modal",_e="click.bs.modal.data-api",pe='[data-bs-toggle="modal"]',me={backdrop:!0,focus:!0,keyboard:!0},fe={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Modal extends BaseComponent{constructor(s,a){super(s,a),this._dialog=y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ScrollBarHelper,this._addEventListeners()}static get Default(){return me}static get DefaultType(){return fe}static get NAME(){return ne}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||this._isTransitioning||b.trigger(this._element,le,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._backdrop.show((()=>this._showElement(s))))}hide(){this._isShown&&!this._isTransitioning&&(b.trigger(this._element,oe).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){b.off(window,".bs.modal"),b.off(this._dialog,".bs.modal"),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Backdrop({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new FocusTrap({trapElement:this._element})}_showElement(s){document.body.contains(this._element)||document.body.append(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;const a=y.findOne(".modal-body",this._dialog);a&&(a.scrollTop=0),reflow(this._element),this._element.classList.add("show"),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,b.trigger(this._element,ce,{relatedTarget:s})}),this._dialog,this._isAnimated())}_addEventListeners(){b.on(this._element,ge,(s=>{"Escape"===s.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),b.on(window,he,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),b.on(this._element,ue,(s=>{b.one(this._element,de,(a=>{this._element===s.target&&this._element===a.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){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((()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),b.trigger(this._element,ae)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(b.trigger(this._element,re).defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,a=this._element.style.overflowY;"hidden"===a||this._element.classList.contains("modal-static")||(s||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static"),this._queueCallback((()=>{this._element.classList.remove("modal-static"),this._queueCallback((()=>{this._element.style.overflowY=a}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const s=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),l=a>0;
vendor: 15,444 bytes, line 3
3if(l&&!s){const s=isRTL()?"paddingLeft":"paddingRight";this._element.style[s]=`${a}px`}if(!l&&s){const s=isRTL()?"paddingRight":"paddingLeft";this._element.style[s]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(s,a){return this.each((function(){const l=Modal.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===l[s])throw new TypeError(`No method named "${s}"`);l[s](a)}}))}}b.on(document,_e,pe,(function(s){const a=y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),b.one(a,le,(s=>{s.defaultPrevented||b.one(a,ae,(()=>{isVisible(this)&&this.focus()}))}));const l=y.findOne(".modal.show");l&&Modal.getInstance(l).hide(),Modal.getOrCreateInstance(a).toggle(this)})),enableDismissTrigger(Modal),defineJQueryPlugin(Modal);const be="offcanvas",ve="bs.offcanvas",ye=`.${ve}`,we=`load${ye}.data-api`,Ee="offcanvas-backdrop",Ae=".offcanvas.show",Ce=`show${ye}`,Te=`shown${ye}`,ke=`hide${ye}`,Se=`hidePrevented${ye}`,Oe=`hidden${ye}`,Le=`resize${ye}`,De=`click${ye}.data-api`,Ie=`keydown.dismiss${ye}`,Ne='[data-bs-toggle="offcanvas"]',$e={backdrop:!0,keyboard:!0,scroll:!1},Pe={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Offcanvas extends BaseComponent{constructor(s,a){super(s,a),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $e}static get DefaultType(){return Pe}static get NAME(){return be}toggle(s){return this._isShown?this.hide():this.show(s)}show(s){this._isShown||b.trigger(this._element,Ce,{relatedTarget:s}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ScrollBarHelper).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),b.trigger(this._element,Te,{relatedTarget:s})}),this._element,!0))}hide(){this._isShown&&(b.trigger(this._element,ke).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ScrollBarHelper).reset(),b.trigger(this._element,Oe)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const s=Boolean(this._config.backdrop);return new Backdrop({className:Ee,isVisible:s,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:s?()=>{"static"!==this._config.backdrop?this.hide():b.trigger(this._element,Se)}:null})}_initializeFocusTrap(){return new FocusTrap({trapElement:this._element})}_addEventListeners(){b.on(this._element,Ie,(s=>{"Escape"===s.key&&(this._config.keyboard?this.hide():b.trigger(this._element,Se))}))}static jQueryInterface(s){return this.each((function(){const a=Offcanvas.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s]||s.startsWith("_")||"constructor"===s)throw new TypeError(`No method named "${s}"`);a[s](this)}}))}}b.on(document,De,Ne,(function(s){const a=y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),isDisabled(this))return;b.one(a,Oe,(()=>{isVisible(this)&&this.focus()}));const l=y.findOne(Ae);l&&l!==a&&Offcanvas.getInstance(l).hide(),Offcanvas.getOrCreateInstance(a).toggle(this)})),b.on(window,we,(()=>{for(const s of y.find(Ae))Offcanvas.getOrCreateInstance(s).show()})),b.on(window,Le,(()=>{for(const s of y.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(s).position&&Offcanvas.getOrCreateInstance(s).hide()})),enableDismissTrigger(Offcanvas),defineJQueryPlugin(Offcanvas);const xe=/^aria-[\w-]*$/i,Me={"*":["class","dir","id","lang","role",xe],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},je=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Fe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,allowedAttribute=(s,a)=>{const l=s.nodeName.toLowerCase();return a.includes(l)?!je.has(l)||Boolean(Fe.test(s.nodeValue)):a.filter((s=>s instanceof RegExp)).some((s=>s.test(l)))};function sanitizeHtml(s,a,l){if(!s.length)return s;if(l&&"function"==typeof l)return l(s);const c=(new window.DOMParser).parseFromString(s,"text/html"),h=[].concat(...c.body.querySelectorAll("*"));for(const s of h){const l=s.nodeName.toLowerCase();if(!Object.keys(a).includes(l)){s.remove();continue}const c=[].concat(...s.attributes),h=[].concat(a["*"]||[],a[l]||[]);for(const a of c)allowedAttribute(a,h)||s.removeAttribute(a.nodeName)}return c.body.innerHTML}const He="TemplateFactory",Be={allowList:Me,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ze={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},qe={entry:"(string|element|function|null)",selector:"(string|element)"};class TemplateFactory extends Config{constructor(s){super(),this._config=this._getConfig(s)}static get Default(){return Be}static get DefaultType(){return ze}static get NAME(){return He}getContent(){return Object.values(this._config.content).map((s=>this._resolvePossibleFunction(s))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(s){return this._checkContent(s),this._config.content={...this._config.content,...s},this}toHtml(){const s=document.createElement("div");s.innerHTML=this._maybeSanitize(this._config.template);for(const[a,l]of Object.entries(this._config.content))this._setContent(s,l,a);const a=s.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&a.classList.add(...l.split(" ")),a}_typeCheckConfig(s){super._typeCheckConfig(s),this._checkContent(s.content)}_checkContent(s){for(const[a,l]of Object.entries(s))super._typeCheckConfig({selector:a,entry:l},qe)}_setContent(s,a,l){const c=y.findOne(l,s);c&&((a=this._resolvePossibleFunction(a))?isElement(a)?this._putElementInTemplate(getElement(a),c):this._config.html?c.innerHTML=this._maybeSanitize(a):c.textContent=a:c.remove())}_maybeSanitize(s){return this._config.sanitize?sanitizeHtml(s,this._config.allowList,this._config.sanitizeFn):s}_resolvePossibleFunction(s){return execute(s,[this])}_putElementInTemplate(s,a){if(this._config.html)return a.innerHTML="",void a.append(s);a.textContent=s.textContent}}const We="tooltip",Re=new Set(["sanitize","allowList","sanitizeFn"]),Ke={AUTO:"auto",TOP:"top",RIGHT:isRTL()?"left":"right",BOTTOM:"bottom",LEFT:isRTL()?"right":"left"},Ve={allowList:Me,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Qe={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Tooltip extends BaseComponent{constructor(a,l){if(void 0===s)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(a,l),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ve}static get DefaultType(){return Qe}static get NAME(){return We}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),b.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const s=b.trigger(this._element,this.constructor.eventName("show")),a=(findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(s.defaultPrevented||!a)return;this._disposePopper();const l=this._getTipElement();this._element.setAttribute("aria-describedby",l.getAttribute("id"));const{container:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(l),b.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(l),l.classList.add("show"),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))b.on(s,"mouseover",noop);this._queueCallback((()=>{b.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!b.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove("show"),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))b.off(s,"mouseover",noop);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),b.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(s){const a=this._getTemplateFactory(s).toHtml();if(!a)return null;a.classList.remove("fade","show"),a.classList.add(`bs-${this.constructor.NAME}-auto`);const l=getUID(this.constructor.NAME).toString();return a.setAttribute("id",l),this._isAnimated()&&a.classList.add("fade"),a}setContent(s){this._newContent=s,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(s){return this._templateFactory?this._templateFactory.changeContent(s):this._templateFactory=new TemplateFactory({...this._config,content:s,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(s){return this.constructor.getOrCreateInstance(s.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains("show")}_createPopper(a){const l=execute(this._config.placement,[this,a,this._element]),c=Ke[l.toUpperCase()];return s.createPopper(this._element,a,this._getPopperConfig(c))}_getOffset(){const{offset:s}=this._config;return"string"==typeof s?s.split(",").map((s=>Number.parseInt(s,10))):"function"==typeof s?a=>s(a,this._element):s}_resolvePossibleFunction(s){return execute(s,[this._element])}_getPopperConfig(s){const a={placement:s,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:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...a,...execute(this._config.popperConfig,[a])}}_setListeners(){const s=this._config.trigger.split(" ");for(const a of s)if("click"===a)b.on(this._element,this.constructor.eventName("click"),this._config.selector,(s=>{this._initializeOnDelegatedTarget(s).toggle()}));else if("manual"!==a){const s="hover"===a?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),l="hover"===a?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");b.on(this._element,s,this._config.selector,(s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger["focusin"===s.type?"focus":"hover"]=!0,a._enter()})),b.on(this._element,l,this._config.selector,(s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger["focusout"===s.type?"focus":"hover"]=a._element.contains(s.relatedTarget),a._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},b.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler)}_fixTitle(){const s=this._element.getAttribute("title");s&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",s),this._element.setAttribute("data-bs-original-title",s),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(s,a){clearTimeout(this._timeout),this._timeout=setTimeout(s,a)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(s){const a=v.getDataAttributes(this._element);for(const s of Object.keys(a))Re.has(s)&&delete a[s];return s={...a,..."object"==typeof s&&s?s:{}},s=this._mergeConfigObj(s),s=this._configAfterMerge(s),this._typeCheckConfig(s),s}_configAfterMerge(s){return s.container=!1===s.container?document.body:getElement(s.container),"number"==typeof s.delay&&(s.delay={show:s.delay,hide:s.delay}),"number"==typeof s.title&&(s.title=s.title.toString()),"number"==typeof s.content&&(s.content=s.content.toString()),s}_getDelegateConfig(){const s={};for(const[a,l]of Object.entries(this._config))this.constructor.Default[a]!==l&&(s[a]=l);return s.selector=!1,s.trigger="manual",s}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(s){return this.each((function(){const a=Tooltip.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s])throw new TypeError(`No method n
3amed "${s}"`);a[s]()}}))}}defineJQueryPlugin(Tooltip);const Ue="popover",Xe=".popover-header",Ye={...Tooltip.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ge={...Tooltip.DefaultType,content:"(null|string|element|function)"};class Popover extends Tooltip{static get Default(){return Ye}static get DefaultType(){return Ge}static get NAME(){return Ue}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Xe]:this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(s){return this.each((function(){const a=Popover.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s])throw new TypeError(`No method named "${s}"`);a[s]()}}))}}defineJQueryPlugin(Popover);const Je="scrollspy",Ze="bs.scrollspy",ti=`.${Ze}`,ei=`activate${ti}`,ii=`click${ti}`,si=`load${ti}.data-api`,ni='[data-bs-spy="scroll"]',oi=".nav-link, .nav-item > .nav-link, .list-group-item",ri={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ai={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ScrollSpy extends BaseComponent{constructor(s,a){super(s,a),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ri}static get DefaultType(){return ai}static get NAME(){return Je}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const s of this._observableSections.values())this._observer.observe(s)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(s){return s.target=getElement(s.target)||document.body,s.rootMargin=s.offset?`${s.offset}px 0px -30%`:s.rootMargin,"string"==typeof s.threshold&&(s.threshold=s.threshold.split(",").map((s=>Number.parseFloat(s)))),s}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(b.off(this._config.target,ii),b.on(this._config.target,ii,"[href]",(s=>{const a=this._observableSections.get(s.target.hash);if(a){s.preventDefault();const l=this._rootElement||window,c=a.offsetTop-this._element.offsetTop;if(l.scrollTo)return void l.scrollTo({top:c,behavior:"smooth"});l.scrollTop=c}})))}_getNewObserver(){const s={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((s=>this._observerCallback(s)),s)}_observerCallback(s){const t=s=>this._targetLinks.get(`#${s.target.id}`),n=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},a=(this._rootElement||document.documentElement).scrollTop,l=a>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=a;for(const c of s){if(!c.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(c));continue}const s=c.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(l&&s){if(n(c),!a)return}else l||s||n(c)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const s=y.find("[href]",this._config.target);for(const a of s){if(!a.hash||isDisabled(a))continue;const s=y.findOne(decodeURI(a.hash),this._element);isVisible(s)&&(this._targetLinks.set(decodeURI(a.hash),a),this._observableSections.set(a.hash,s))}}_process(s){this._activeTarget!==s&&(this._clearActiveClass(this._config.target),this._activeTarget=s,s.classList.add("active"),this._activateParents(s),b.trigger(this._element,ei,{relatedTarget:s}))}_activateParents(s){if(s.classList.contains("dropdown-item"))y.findOne(".dropdown-toggle",s.closest(".dropdown")).classList.add("active");else for(const a of y.parents(s,".nav, .list-group"))for(const s of y.prev(a,oi))s.classList.add("active")}_clearActiveClass(s){s.classList.remove("active");const a=y.find("[href].active",s);for(const s of a)s.classList.remove("active")}static jQueryInterface(s){return this.each((function(){const a=ScrollSpy.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s]||s.startsWith("_")||"constructor"===s)throw new TypeError(`No method n
3amed "${s}"`);a[s]()}}))}}b.on(window,si,(()=>{for(const s of y.find(ni))ScrollSpy.getOrCreateInstance(s)})),defineJQueryPlugin(ScrollSpy);const li="hide.bs.tab",ci="hidden.bs.tab",hi="show.bs.tab",di="shown.bs.tab",ui="keydown.bs.tab",gi="ArrowLeft",_i="ArrowRight",pi="ArrowUp",mi="ArrowDown",fi="Home",bi="End",vi='.list-group, .nav, [role="tablist"]',yi=".nav-item, .list-group-item",wi='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle)',Ei='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ai=`${wi}, ${Ei}`,Ci='.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]';class Tab extends BaseComponent{constructor(s){super(s),this._parent=this._element.closest(vi),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),b.on(this._element,ui,(s=>this._keydown(s))))}static get NAME(){return"tab"}show(){const s=this._element;if(this._elemIsActive(s))return;const a=this._getActiveElem(),l=a?b.trigger(a,li,{relatedTarget:s}):null;b.trigger(s,hi,{relatedTarget:a}).defaultPrevented||l&&l.defaultPrevented||(this._deactivate(a,s),this._activate(s,a))}_activate(s,a){s&&(s.classList.add("active"),this._activate(y.getElementFromSelector(s)),this._queueCallback((()=>{"tab"===s.getAttribute("role")?(s.removeAttribute("tabindex"),s.setAttribute("aria-selected",!0),this._toggleDropDown(s,!0),b.trigger(s,di,{relatedTarget:a})):s.classList.add("show")}),s,s.classList.contains("fade")))}_deactivate(s,a){s&&(s.classList.remove("active"),s.blur(),this._deactivate(y.getElementFromSelector(s)),this._queueCallback((()=>{"tab"===s.getAttribute("role")?(s.setAttribute("aria-selected",!1),s.setAttribute("tabindex","-1"),this._toggleDropDown(s,!1),b.trigger(s,ci,{relatedTarget:a})):s.classList.remove("show")}),s,s.classList.contains("fade")))}_keydown(s){if(![gi,_i,pi,mi,fi,bi].includes(s.key))return;s.stopPropagation(),s.preventDefault();const a=this._getChildren().filter((s=>!isDisabled(s)));let l;if([fi,bi].includes(s.key))l=a[s.key===fi?0:a.length-1];else{const c=[_i,mi].includes(s.key);l=getNextActiveElement(a,s.target,c,!0)}l&&(l.focus({preventScroll:!0}),Tab.getOrCreateInstance(l).show())}_getChildren(){return y.find(Ai,this._parent)}_getActiveElem(){return this._getChildren().find((s=>this._elemIsActive(s)))||null}_setInitialAttributes(s,a){this._setAttributeIfNotExists(s,"role","tablist");for(const s of a)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(s){s=this._getInnerElement(s);const a=this._elemIsActive(s),l=this._getOuterElement(s);s.setAttribute("aria-selected",a),l!==s&&this._setAttributeIfNotExists(l,"role","presentation"),a||s.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(s,"role","tab"),this._setInitialAttributesOnTargetPanel(s)}_setInitialAttributesOnTargetPanel(s){const a=y.getElementFromSelector(s);a&&(this._setAttributeIfNotExists(a,"role","tabpanel"),s.id&&this._setAttributeIfNotExists(a,"aria-labelledby",`${s.id}`))}_toggleDropDown(s,a){const l=this._getOuterElement(s);if(!l.classList.contains("dropdown"))return;const i=(s,c)=>{const h=y.findOne(s,l);h&&h.classList.toggle(c,a)};i(".dropdown-toggle","active"),i(".dropdown-menu","show"),l.setAttribute("aria-expanded",a)}_setAttributeIfNotExists(s,a,l){s.hasAttribute(a)||s.setAttribute(a,l)}_elemIsActive(s){return s.classList.contains("active")}_getInnerElement(s){return s.matches(Ai)?s:y.findOne(Ai,s)}_getOuterElement(s){return s.closest(yi)||s}static jQueryInterface(s){return this.each((function(){const a=Tab.getOrCreateInstance(this);if("string"==typeof s){if(void 0===a[s]||s.startsWith("_")||"constructor"===s)throw new TypeError(`No method named "${s}"`);a[s]()}}))}}b.on(document,"click.bs.tab",Ei,(function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),isDisabled(this)||Tab.getOrCreateInstance(this).show()})),b.on(window,"load.bs.tab",(()=>{for(const s of y.find(Ci))Tab.getOrCreateInstance(s)})),defineJQueryPlugin(Tab);const Ti="toast",ki="bs.toast",Si=`.${ki}`,Oi=`mouseover${Si}`,Li=`mouseout${Si}`,Di=`focusin${Si}`,Ii=`focusout${Si}`,Ni=`hide${Si}`,$i=`hidden${Si}`,Pi=`show${Si}`,xi=`shown${Si}`,Mi={animation:"boolean",autohide:"boolean",delay:"number"},ji={animation:!0,autohide:!0,delay:5e3};class Toast extends BaseComponent{constructor(s,a){super(s,a),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ji}static get DefaultType(){return Mi}static get NAME(){return Ti}show(){b.trigger(this._element,Pi).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),reflow(this._element),this._element.classList.add("show","
3showing"),this._queueCallback((()=>{this._element.classList.remove("showing"),b.trigger(this._element,xi),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(b.trigger(this._element,Ni).defaultPrevented||(this._element.classList.add("showing"),this._queueCallback((()=>{this._element.classList.add("hide"),this._element.classList.remove("showing","show"),b.trigger(this._element,$i)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove("show"),super.dispose()}isShown(){return this._element.classList.contains("show")}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(s,a){switch(s.type){case"mouseover":case"mouseout":this._hasMouseInteraction=a;break;case"focusin":case"focusout":this._hasKeyboardInteraction=a}if(a)return void this._clearTimeout();const l=s.relatedTarget;this._element===l||this._element.contains(l)||this._maybeScheduleHide()}_setListeners(){b.on(this._element,Oi,(s=>this._onInteraction(s,!0))),b.on(this._element,Li,(s=>this._onInteraction(s,!1))),b.on(this._element,Di,(s=>this._onInteraction(s,!0))),b.on(this._element,Ii,(s=>this._onInteraction(s,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(s){return this.each((function(){const a=Toast.getOrCreateInstance(this,s);if("string"==typeof s){if(void 0===a[s])throw new TypeError(`No method named "${s}"`);a[s](this)}}))}}enableDismissTrigger(Toast),defineJQueryPlugin(Toast);export{Alert,Button,Carousel,Collapse,Dropdown,Modal,Offcanvas,Popover,ScrollSpy,Tab,Toast,Tooltip};
4

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.