PageSourceSearch

https://athlenergy.com/wp-content/themes/wp-theme-bc-core-fse/asse…/js/bootstrap.bundle.min.js?ver=1780475751

js athlenergy.com collected 2026-10-08 07:18:24 UTC 116,765 bytes, 1 lines download raw bytes

1!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?module.exports=factory():"function"==typeof define&&define.amd?define(factory):(global="undefined"!=typeof globalThis?globalThis:global||self).bootstrap=factory()}(this,function(){"use strict";const elementMap=new Map,Data={set(element,key,instance){elementMap.has(element)||elementMap.set(element,new Map);element=elementMap.get(element);element.has(key)||0===element.size?element.set(key,instance):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(element.keys())[0]}.`)},get(element,key){return elementMap.has(element)&&elementMap.get(element).get(key)||null},remove(element,key){var instanceMap;elementMap.has(element)&&((instanceMap=elementMap.get(element)).delete(key),0===instanceMap.size)&&elementMap.delete(element)}},MILLISECONDS_MULTIPLIER=1e3,TRANSITION_END="transitionend",parseSelector=selector=>selector=selector&&window.CSS&&window.CSS.escape?selector.replace(/#([^\s"#']+)/g,(match,id)=>"#"+CSS.escape(id)):selector,triggerTransitionEnd=element=>{element.dispatchEvent(new Event(TRANSITION_END))},isElement$1=object=>!(!object||"object"!=typeof object)&&void 0!==(object=void 0!==object.jquery?object[0]:object).nodeType,getElement=object=>isElement$1(object)?object.jquery?object[0]:object:"string"==typeof object&&0<object.length?document.querySelector(parseSelector(object)):null,isVisible=element=>{if(!isElement$1(element)||0===element.getClientRects().length)return!1;var elementIsVisible="visible"===getComputedStyle(element).getPropertyValue("visibility"),closedDetails=element.closest("details:not([open])");if(closedDetails&&closedDetails!==element){element=element.closest("summary");if(element&&element.parentNode!==closedDetails)return!1;if(null===element)return!1}return elementIsVisible},isDisabled=element=>!element||element.nodeType!==Node.ELEMENT_NODE||!!element.classList.contains("disabled")||(void 0!==element.disabled?element.disabled:element.hasAttribute("disabled")&&"false"!==element.getAttribute("disabled")),findShadowRoot=element=>{var root;return document.documentElement.attachShadow?"function"==typeof element.getRootNode?(root=element.getRootNode())instanceof ShadowRoot?root:null:element instanceof ShadowRoot?element:element.parentNode?findShadowRoot(element.parentNode):null:null},noop=()=>{},reflow=element=>{element.offsetHeight},getjQuery=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,DOMContentLoadedCallbacks=[],isRTL=()=>"rtl"===document.documentElement.dir;var defineJQueryPlugin=plugin=>{var callback;callback=()=>{const $=getjQuery();if($){const name=plugin.NAME,JQUERY_NO_CONFLICT=$.fn[name];$.fn[name]=plugin.jQueryInterface,$.fn[name].Constructor=plugin,$.fn[name].noConflict=()=>($.fn[name]=JQUERY_NO_CONFLICT,plugin.jQueryInterface)}},"loading"===document.readyState?(DOMContentLoadedCallbacks.length||document.addEventListener("DOMContentLoaded",()=>{for(const callback of DOMContentLoadedCallbacks)callback()}),DOMContentLoadedCallbacks.push(callback)):callback()};const execute=(possibleCallback,args=[],defaultValue=possibleCallback)=>"function"==typeof possibleCallback?possibleCallback(...args):defaultValue,executeAfterTransition=(callback,transitionElement,waitForTransition=!0)=>{if(waitForTransition){waitForTransition=(element=>{if(!element)return 0;let{transitionDuration,transitionDelay}=window.getComputedStyle(element);var element=Number.parseFloat(transitionDuration),floatTransitionDelay=Number.parseFloat(transitionDelay);return element||floatTransitionDelay?(transitionDuration=transitionDuration.split(",")[0],transitionDelay=transitionDelay.split(",")[0],(Number.parseFloat(transitionDuration)+Number.parseFloat(transitionDelay))*MILLISECONDS_MULTIPLIER):0})(transitionElement)+5;let called=!1;const handler=({target})=>{target===transitionElement&&(called=!0,transitionElement.removeEventListener(TRANSITION_END,handler),execute(callback))};transitionElement.addEventListener(TRANSITION_END,handler),setTimeout(()=>{called||triggerTransitionEnd(transitionElement)},waitForTransition)}else execute(callback)},getNextActiveElement=(list,activeElement,shouldGetNext,isCycleAllowed)=>{var listLength=list.length;let index=list.indexOf(activeElement);return-1===index?!shouldGetNext&&isCycleAllowed?list[listLength-1]:list[0]:(index+=shouldGetNext?1:-1,isCycleAllowed&&(index=(index+listLength)%listLength),list[Math.max(0,Math.min(index,listLength-1))])},namespaceRegex=/[^.]*(?=\..*)\.|.*/,stripNameRegex=/\..*/,stripUidRegex=/::\d+$/,eventRegistry={};let uidEvent=1;
1const customEvents={mouseenter:"mouseover",mouseleave:"mouseout"},nativeEvents=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(element,uid){return uid&&uid+"::"+uidEvent++||element.uidEvent||uidEvent++}function getElementEvents(element){var uid=makeEventUid(element);return element.uidEvent=uid,eventRegistry[uid]=eventRegistry[uid]||{},eventRegistry[uid]}function findHandler(events,callable,delegationSelector=null){return Object.values(events).find(event=>event.callable===callable&&event.delegationSelector===delegationSelector)}function normalizeParameters(originalTypeEvent,handler,delegationFunction){var isDelegated="string"==typeof handler,handler=!isDelegated&&handler||delegationFunction;let typeEvent=getTypeEvent(originalTypeEvent);return[isDelegated,handler,typeEvent=nativeEvents.has(typeEvent)?typeEvent:originalTypeEvent]}function addHandler(element,originalTypeEvent,handler,delegationFunction,oneOff){if("string"==typeof originalTypeEvent&&element){let[isDelegated,callable,typeEvent]=normalizeParameters(originalTypeEvent,handler,delegationFunction);originalTypeEvent in customEvents&&(callable=(fn=>function(event){if(!event.relatedTarget||event.relatedTarget!==event.delegateTarget&&!event.delegateTarget.contains(event.relatedTarget))return fn.call(this,event)})(callable));var delegationFunction=getElementEvents(element),delegationFunction=delegationFunction[typeEvent]||(delegationFunction[typeEvent]={}),previousFunction=findHandler(delegationFunction,callable,isDelegated?handler:null);previousFunction?previousFunction.oneOff=previousFunction.oneOff&&oneOff:(previousFunction=makeEventUid(callable,originalTypeEvent.replace(namespaceRegex,"")),(originalTypeEvent=isDelegated?function(element,selector,fn){return function handler(event){var domElements=element.querySelectorAll(selector);for(let target=event["target"];target&&target!==this;target=target.parentNode)for(const domElement of domElements)if(domElement===target)return hydrateObj(event,{delegateTarget:target}),handler.oneOff&&EventHandler.off(element,event.type,selector,fn),fn.apply(target,[event])}}(element,handler,callable):function(element,fn){return function handler(event){return hydrateObj(event,{delegateTarget:element}),handler.oneOff&&EventHandler.off(element,event.type,fn),fn.apply(element,[event])}}(element,callable)).delegationSelector=isDelegated?handler:null,originalTypeEvent.callable=callable,originalTypeEvent.oneOff=oneOff,delegationFunction[originalTypeEvent.uidEvent=previousFunction]=originalTypeEvent,element.addEventListener(typeEvent,originalTypeEvent,isDelegated))}}function removeHandler(element,events,typeEvent,handler,delegationSelector){handler=findHandler(events[typeEvent],handler,delegationSelector);handler&&(element.removeEventListener(typeEvent,handler,Boolean(delegationSelector)),delete events[typeEvent][handler.uidEvent])}function getTypeEvent(event){return event=event.replace(stripNameRegex,""),customEvents[event]||event}const EventHandler={on(element,event,handler,delegationFunction){addHandler(element,event,handler,delegationFunction,!1)},one(element,event,handler,delegationFunction){addHandler(element,event,handler,delegationFunction,!0)},off(element,originalTypeEvent,handler,delegationFunction){if("string"==typeof originalTypeEvent&&element){var keyHandlers,event,[delegationFunction,callable,typeEvent]=normalizeParameters(originalTypeEvent,handler,delegationFunction),inNamespace=typeEvent!==originalTypeEvent,events=getElementEvents(element),storeElementEvent=events[typeEvent]||{},isNamespace=originalTypeEvent.startsWith(".");if(void 0!==callable)return Object.keys(storeElementEvent).length?void removeHandler(element,events,typeEvent,callable,delegationFunction?handler:null):void 0;
1if(isNamespace)for(const elementEvent of Object.keys(events))!function(element,events,typeEvent,namespace){var handlerKey,event,storeElementEvent=events[typeEvent]||{};for([handlerKey,event]of Object.entries(storeElementEvent))handlerKey.includes(namespace)&&removeHandler(element,events,typeEvent,event.callable,event.delegationSelector)}(element,events,elementEvent,originalTypeEvent.slice(1));for([keyHandlers,event]of Object.entries(storeElementEvent)){var handlerKey=keyHandlers.replace(stripUidRegex,"");inNamespace&&!originalTypeEvent.includes(handlerKey)||removeHandler(element,events,typeEvent,event.callable,event.delegationSelector)}}},trigger(element,event,args){if("string"!=typeof event||!element)return null;var $=getjQuery();let jQueryEvent=null,bubbles=!0,nativeDispatch=!0,defaultPrevented=!1;event!==getTypeEvent(event)&&$&&(jQueryEvent=$.Event(event,args),$(element).trigger(jQueryEvent),bubbles=!jQueryEvent.isPropagationStopped(),nativeDispatch=!jQueryEvent.isImmediatePropagationStopped(),defaultPrevented=jQueryEvent.isDefaultPrevented());$=hydrateObj(new Event(event,{bubbles:bubbles,cancelable:!0}),args);return defaultPrevented&&$.preventDefault(),nativeDispatch&&element.dispatchEvent($),$.defaultPrevented&&jQueryEvent&&jQueryEvent.preventDefault(),$}};function hydrateObj(obj,meta={}){for(const[key,value]of Object.entries(meta))try{obj[key]=value}catch(_unused){Object.defineProperty(obj,key,{configurable:!0,get(){return value}})}return obj}function normalizeData(value){if("true"===value)return!0;if("false"===value)return!1;if(value===Number(value).toString())return Number(value);if(""===value||"null"===value)return null;if("string"!=typeof value)return value;try{return JSON.parse(decodeURIComponent(value))}catch(_unused){return value}}function normalizeDataKey(key){return key.replace(/[A-Z]/g,chr=>"-"+chr.toLowerCase())}const Manipulator={setDataAttribute(element,key,value){element.setAttribute("data-bs-"+normalizeDataKey(key),value)},removeDataAttribute(element,key){element.removeAttribute("data-bs-"+normalizeDataKey(key))},getDataAttributes(element){if(!element)return{};var attributes={},bsKeys=Object.keys(element.dataset).filter(key=>key.startsWith("bs")&&!key.startsWith("bsConfig"));for(const key of bsKeys){let pureKey=key.replace(/^bs/,"");attributes[pureKey=pureKey.charAt(0).toLowerCase()+pureKey.slice(1,pureKey.length)]=normalizeData(element.dataset[key])}return attributes},getDataAttribute(element,key){return normalizeData(element.getAttribute("data-bs-"+normalizeDataKey(key)))}};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(config){return config=this._mergeConfigObj(config),config=this._configAfterMerge(config),this._typeCheckConfig(config),config}_configAfterMerge(config){return config}_mergeConfigObj(config,element){var jsonConfig=isElement$1(element)?Manipulator.getDataAttribute(element,"config"):{};return{...this.constructor.Default,..."object"==typeof jsonConfig?jsonConfig:{},...isElement$1(element)?Manipulator.getDataAttributes(element):{},..."object"==typeof config?config:{}}}_typeCheckConfig(config,configTypes=this.constructor.DefaultType){for(var[property,expectedTypes]of Object.entries(configTypes)){var value=config[property],value=isElement$1(value)?"element":null==(value=value)?""+value:Object.prototype.toString.call(value).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(expectedTypes).test(value))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${property}" provided type "${value}" but expected type "${expectedTypes}".`)}}}class BaseComponent extends Config{constructor(element,config){super(),(element=getElement(element))&&(this._element=element,this._config=this._getConfig(config),Data.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Data.remove(this._element,this.constructor.DATA_KEY),EventHandler.off(this._element,this.constructor.EVENT_KEY);for(const propertyName of Object.getOwnPropertyNames(this))this[propertyName]=null}_queueCallback(callback,element,isAnimated=!0){executeAfterTransition(callback,element,isAnimated)}_getConfig(config){return config=this._mergeConfigObj(config,this._element),config=this._configAfterMerge(config),this._typeCheckConfig(config),config}static getInstance(element){return Data.get(getElement(element),this.DATA_KEY)}static getOrCreateInstance(element,config={}){return this.getInstance(element)||new this(element,"object"==typeof config?config:null)}static get VERSION(){return"5.3.0"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(name){return""+name+this.EVENT_KEY}}const getSelector=element=>{let selector=element.getAttribute("data-bs-target");if(!selector||"#"===selector){let hrefAttribute=element.getAttribute("href");if(!hrefAttribute||!hrefAttribute.includes("#")&&!hrefAttribute.startsWith("."))return null;hrefAttribute.includes("#")&&!hrefAttribute.startsWith("#")&&(hrefAttribute="#"+hrefAttribute.split("#")[1]),selector=hrefAttribute&&"#"!==hrefAttribute?hrefAttribute.trim():null}return parseSelector(selector)},SelectorEngine={find(selector,element=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(element,selector))},findOne(selector,element=document.documentElement){return Element.prototype.querySelector.call(element,selector)},children(element,selector){return[].concat(...element.children).filter(child=>child.matches(selector))},parents(element,selector){var parents=[];let ancestor=element.parentNode.closest(selector);for(;ancestor;)parents.push(ancestor),ancestor=ancestor.parentNode.closest(selector);return parents},prev(element,selector){let previous=element.previousElementSibling;for(;previous;){if(previous.matches(selector))return[previous];previous=previous.previousElementSibling}return[]},next(element,selector){let next=element.nextElementSibling;for(;next;){if(next.matches(selector))return[next];next=next.nextElementSibling}return[]},focusableChildren(element){var focusables=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(selector=>selector+':not([tabindex^="-"])').join(",");return this.find(focusables,element).filter(el=>!isDisabled(el)&&isVisible(el))},getSelectorFromElement(element){element=getSelector(element);return element&&SelectorEngine.findOne(element)?element:null},getElementFromSelector(element){element=getSelector(element);return element?SelectorEngine.findOne(element):null},getMultipleElementsFromSelector(element){element=getSelector(element);return element?SelectorEngine.find(element):[]}};var enableDismissTrigger=(component,method="hide")=>{var clickEvent="click.dismiss"+component.EVENT_KEY;const name=component.NAME;EventHandler.on(document,clickEvent,`[data-bs-dismiss="${name}"]`,function(event){["A","AREA"].includes(this.tagName)&&event.preventDefault(),isDisabled(this)||(event=SelectorEngine.getElementFromSelector(this)||this.closest("."+name),component.getOrCreateInstance(event)[method]())})};class Alert extends BaseComponent{static get NAME(){return"alert"}close(){var isAnimated;EventHandler.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),isAnimated=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,isAnimated))}_destroyElement(){this._element.remove(),EventHandler.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(config){return this.each(function(){var data=Alert.getOrCreateInstance(this);if("string"==typeof config){if(void 0===data[config]||config.startsWith("_")||"constructor"===config)throw new TypeError(`No method n
1amed "${config}"`);data[config](this)}})}}enableDismissTrigger(Alert,"close"),defineJQueryPlugin(Alert);class Button extends BaseComponent{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(config){return this.each(function(){var data=Button.getOrCreateInstance(this);"toggle"===config&&data[config]()})}}EventHandler.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',event=>{event.preventDefault();event=event.target.closest('[data-bs-toggle="button"]');Button.getOrCreateInstance(event).toggle()}),defineJQueryPlugin(Button);const Default$c={endCallback:null,leftCallback:null,rightCallback:null},DefaultType$c={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Swipe extends Config{constructor(element,config){super(),(this._element=element)&&Swipe.isSupported()&&(this._config=this._getConfig(config),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Default$c}static get DefaultType(){return DefaultType$c}static get NAME(){return"swipe"}dispose(){EventHandler.off(this._element,".bs.swipe")}_start(event){this._supportPointerEvents?this._eventIsPointerPenTouch(event)&&(this._deltaX=event.clientX):this._deltaX=event.touches[0].clientX}_end(event){this._eventIsPointerPenTouch(event)&&(this._deltaX=event.clientX-this._deltaX),this._handleSwipe(),execute(this._config.endCallback)}_move(event){this._deltaX=event.touches&&1<event.touches.length?0:event.touches[0].clientX-this._deltaX}_handleSwipe(){var absDeltaX=Math.abs(this._deltaX);absDeltaX<=40||(absDeltaX=absDeltaX/this._deltaX,this._deltaX=0,absDeltaX&&execute(0<absDeltaX?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(EventHandler.on(this._element,"pointerdown.bs.swipe",event=>this._start(event)),EventHandler.on(this._element,"pointerup.bs.swipe",event=>this._end(event)),this._element.classList.add("pointer-event")):(EventHandler.on(this._element,"touchstart.bs.swipe",event=>this._start(event)),EventHandler.on(this._element,"touchmove.bs.swipe",event=>this._move(event)),EventHandler.on(this._element,"touchend.bs.swipe",event=>this._end(event)))}_eventIsPointerPenTouch(event){return this._supportPointerEvents&&("pen"===event.pointerType||"touch"===event.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}const KEY_TO_DIRECTION={ArrowLeft:"right",ArrowRight:"left"},Default$b={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},DefaultType$b={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Carousel extends BaseComponent{constructor(element,config){super(element,config),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=SelectorEngine.findOne(".carousel-indicators",this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return Default$b}static get DefaultType(){return DefaultType$b}static get NAME(){return"carousel"}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?EventHandler.one(this._element,"slid.bs.carousel",()=>this.cycle()):this.cycle())}to(index){var activeIndex,items=this._getItems();index>items.length-1||index<0||(this._isSliding?EventHandler.one(this._element,"slid.bs.carousel",()=>this.to(index)):(activeIndex=this._getItemIndex(this._getActive()))!==index&&this._slide(activeIndex<index?"next":"prev",items[index]))}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(config){return config.defaultInterval=config.interval,config}_addEventListeners(){this._config.keyboard&&EventHandler.on(this._element,"keydown.bs.carousel",event=>
1this._keydown(event)),"hover"===this._config.pause&&(EventHandler.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),EventHandler.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&Swipe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const img of SelectorEngine.find(".carousel-item img",this._element))EventHandler.on(img,"dragstart.bs.carousel",event=>event.preventDefault());var swipeConfig={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,swipeConfig)}_keydown(event){var direction;/input|textarea/i.test(event.target.tagName)||(direction=KEY_TO_DIRECTION[event.key])&&(event.preventDefault(),this._slide(this._directionToOrder(direction)))}_getItemIndex(element){return this._getItems().indexOf(element)}_setActiveIndicatorElement(index){var activeIndicator;this._indicatorsElement&&((activeIndicator=SelectorEngine.findOne(".active",this._indicatorsElement)).classList.remove("active"),activeIndicator.removeAttribute("aria-current"),activeIndicator=SelectorEngine.findOne(`[data-bs-slide-to="${index}"]`,this._indicatorsElement))&&(activeIndicator.classList.add("active"),activeIndicator.setAttribute("aria-current","true"))}_updateInterval(){var element=this._activeElement||this._getActive();element&&(element=Number.parseInt(element.getAttribute("data-bs-interval"),10),this._config.interval=element||this._config.defaultInterval)}_slide(order,element=null){if(!this._isSliding){const activeElement=this._getActive();var isNext="next"===order;const nextElement=element||getNextActiveElement(this._getItems(),activeElement,isNext,this._config.wrap);if(nextElement!==activeElement){const nextElementIndex=this._getItemIndex(nextElement),triggerEvent=eventName=>EventHandler.trigger(this._element,eventName,{relatedTarget:nextElement,direction:this._orderToDirection(order),from:this._getItemIndex(activeElement),to:nextElementIndex});element=triggerEvent("slide.bs.carousel");if(!element.defaultPrevented&&activeElement&&nextElement){element=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(nextElementIndex),this._activeElement=nextElement;const directionalClassName=isNext?"carousel-item-start":"carousel-item-end",orderClassName=isNext?"carousel-item-next":"carousel-item-prev";nextElement.classList.add(orderClassName),reflow(nextElement),activeElement.classList.add(directionalClassName),nextElement.classList.add(directionalClassName);this._queueCallback(()=>{nextElement.classList.remove(directionalClassName,orderClassName),nextElement.classList.add("active"),activeElement.classList.remove("active",orderClassName,directionalClassName),this._isSliding=!1,triggerEvent("slid.bs.carousel")},activeElement,this._isAnimated()),element&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return SelectorEngine.findOne(".active.carousel-item",this._element)}_getItems(){return SelectorEngine.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(direction){return isRTL()?"left"===direction?"prev":"next":"left"===direction?"next":"prev"}_orderToDirection(order){return isRTL()?"prev"===order?"left":"right":"prev"===order?"right":"left"}static jQueryInterface(config){return this.each(function(){var data=Carousel.getOrCreateInstance(this,config);if("number"==typeof config)data.to(config);else if("string"==typeof config){if(void 0===data[config]||config.startsWith("_")||"constructor"===config)throw new TypeError(`No method named "${config}"`);data[config]()}})}}EventHandler.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(event){var target=SelectorEngine.getElementFromSelector(this);target&&target.classList.contains("carousel")&&(event.preventDefault(),event=Carousel.getOrCreateInstance(target),
1(target=this.getAttribute("data-bs-slide-to"))?event.to(target):"next"===Manipulator.getDataAttribute(this,"slide")?event.next():event.prev(),event._maybeEnableCycle())}),EventHandler.on(window,"load.bs.carousel.data-api",()=>{for(const carousel of SelectorEngine.find('[data-bs-ride="carousel"]'))Carousel.getOrCreateInstance(carousel)}),defineJQueryPlugin(Carousel);const Default$a={parent:null,toggle:!0},DefaultType$a={parent:"(null|element)",toggle:"boolean"};class Collapse extends BaseComponent{constructor(element,config){super(element,config),this._isTransitioning=!1,this._triggerArray=[];for(const elem of SelectorEngine.find('[data-bs-toggle="collapse"]')){var selector=SelectorEngine.getSelectorFromElement(elem),filterElement=SelectorEngine.find(selector).filter(foundElement=>foundElement===this._element);null!==selector&&filterElement.length&&this._triggerArray.push(elem)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Default$a}static get DefaultType(){return DefaultType$a}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let activeChildren=[];if(!(activeChildren=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(element=>element!==this._element).map(element=>Collapse.getOrCreateInstance(element,{toggle:!1})):activeChildren).length||!activeChildren[0]._isTransitioning){var startEvent=EventHandler.trigger(this._element,"show.bs.collapse");if(!startEvent.defaultPrevented){for(const activeInstance of activeChildren)activeInstance.hide();const dimension=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[dimension]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;startEvent="scroll"+(dimension[0].toUpperCase()+dimension.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[dimension]="",EventHandler.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[dimension]=this._element[startEvent]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var startEvent=EventHandler.trigger(this._element,"hide.bs.collapse");if(!startEvent.defaultPrevented){startEvent=this._getDimension();this._element.style[startEvent]=this._element.getBoundingClientRect()[startEvent]+"px",reflow(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");for(const trigger of this._triggerArray){var element=SelectorEngine.getElementFromSelector(trigger);element&&!this._isShown(element)&&this._addAriaAndCollapsedClass([trigger],!1)}this._isTransitioning=!0;this._element.style[startEvent]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),EventHandler.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(element=this._element){return element.classList.contains("show")}_configAfterMerge(config){return config.toggle=Boolean(config.toggle),config.parent=getElement(config.parent),config}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const element of this._getFirstLevelChildren('[data-bs-toggle="collapse"]')){var selected=SelectorEngine.getElementFromSelector(element);selected&&this._addAriaAndCollapsedClass([element],this._isShown(selected))}}_getFirstLevelChildren(selector){const children=SelectorEngine.find(":scope .collapse .collapse",this._config.parent);return SelectorEngine.find(selector,this._config.parent).filter(element=>!children.includes(element))}_addAriaAndCollapsedClass(triggerArray,isOpen){if(triggerArray.length)for(const element of triggerArray)element.classList.toggle("collapsed",!isOpen),element.setAttribute("aria-expanded",isOpen)}static jQueryInterface(config){const _config={};return"string"==typeof config&&/show|hide/.test(config)&&(_config.toggle=!1),this.each(function(){var data=Collapse.getOrCreateInstance(this,_config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method n
1amed "${config}"`);data[config]()}})}}EventHandler.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(event){("A"===event.target.tagName||event.delegateTarget&&"A"===event.delegateTarget.tagName)&&event.preventDefault();for(const element of SelectorEngine.getMultipleElementsFromSelector(this))Collapse.getOrCreateInstance(element,{toggle:!1}).toggle()}),defineJQueryPlugin(Collapse);var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])},[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getWindow(node){var ownerDocument;return null==node?window:"[object Window]"!==node.toString()?(ownerDocument=node.ownerDocument)&&ownerDocument.defaultView||window:node}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:function(_ref){var state=_ref.state;Object.keys(state.elements).forEach(function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach(function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)}))})},effect:function(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.o
vendor: 4,106 bytes, line 1
1ptions.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach(function(name){var element=state.elements[name],attributes=state.attributes[name]||{},name=Object.keys((state.styles.hasOwnProperty(name)?state.styles:initialStyles)[name]).reduce(function(style,property){return style[property]="",style},{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,name),Object.keys(attributes).forEach(function(attribute){element.removeAttribute(attribute)}))})}},requires:["computeStyles"]};var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return null!=uaData&&uaData.brands&&Array.isArray(uaData.brands)?uaData.brands.map(function(item){return item.brand+"/"+item.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){void 0===includeScale&&(includeScale=!1),void 0===isFixedStrategy&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=0<element.offsetWidth&&round(clientRect.width)/element.offsetWidth||1,scaleY=0<element.offsetHeight&&round(clientRect.height)/element.offsetHeight||1);includeScale=(isElement(element)?getWindow(element):window).visualViewport,element=!isLayoutViewport()&&isFixedStrategy,isFixedStrategy=(clientRect.left+(element&&includeScale?includeScale.offsetLeft:0))/scaleX,element=(clientRect.top+(element&&includeScale?includeScale.offsetTop:0))/scaleY,includeScale=clientRect.width/scaleX,scaleX=clientRect.height/scaleY;return{width:includeScale,height:scaleX,top:element,right:isFixedStrategy+includeScale,bottom:element+scaleX,left:isFixedStrategy,x:isFixedStrategy,y:element}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0}while(next=next.parentNode||next.host)}return!1}function getComputedStyle$1(element){return getWindow(element).getComputedStyle(element)}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle$1(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&function(element){return 0<=["table","td","th"].indexOf(getNodeName(element))}(offsetParent)&&"static"===getComputedStyle$1(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return(!offsetParent||"html"!==getNodeName(offsetParent)&&("body"!==getNodeName(offsetParent)||"static"!==getComputedStyle$1(offsetParent).position))&&(offsetParent||function(element){var isFirefox=/firefox/i.test(getUAString()),isIE=/Trident/i.test(getUAString());if(!isIE||!isHTMLElement(element)||"fixed"!==getComputedStyle$1(element).position){var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle$1(currentNode);
1if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}}return null}(element))||window}function getMainAxisFromPlacement(placement){return 0<=["top","bottom"].indexOf(placement)?"x":"y"}function within(min$1,value,max$1){return max(min$1,min(value,max$1))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(paddingObject){return Object.assign({},getFreshSideObject(),paddingObject)}function expandToHashMap(value,keys){return keys.reduce(function(hashMap,key){return hashMap[key]=value,hashMap},{})}var arrow$1={name:"arrow",enabled:!0,phase:"main",fn:function(_ref){var arrowRect,endDiff,maxProp,minProp,state=_ref.state,name=_ref.name,_ref=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,axis=getMainAxisFromPlacement(basePlacement=state.placement.split("-")[0]),basePlacement=0<=[left,right].indexOf(basePlacement)?"height":"width";arrowElement&&popperOffsets&&(_ref=function(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(_ref.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[basePlacement]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[basePlacement],popperOffsets=popperOffsets[axis]-state.rects.reference[axis],arrowElement=(arrowElement=getOffsetParent(arrowElement))?"y"===axis?arrowElement.clientHeight||0:arrowElement.clientWidth||0:0,minProp=_ref[minProp],_ref=arrowElement-arrowRect[basePlacement]-_ref[maxProp],minProp=within(minProp,maxProp=arrowElement/2-arrowRect[basePlacement]/2+(endDiff/2-popperOffsets/2),_ref),state.modifiersData[name]=((arrowElement={})[axis]=minProp,arrowElement.centerOffset=minProp-maxProp,arrowElement))},effect:function(_ref2){var state=_ref2.state;null!=(_ref2=void 0===(_ref2=_ref2.options.element)?"[data-popper-arrow]":_ref2)&&("string"!=typeof _ref2||(_ref2=state.elements.popper.querySelector(_ref2)))&&contains(state.elements.popper,_ref2)&&(state.elements.arrow=_ref2)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var offsetParent,widthProp,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref2=_ref2.isFixed,_offsets$x=offsets.x,_offsets$x=void 0===_offsets$x?0:_offsets$x,_offsets$y=offsets.y,_offsets$y=void 0===_offsets$y?0:_offsets$y,_ref3="function"==typeof roundOffsets?roundOffsets({x:_offsets$x,y:_offsets$y}):{x:_offsets$x,y:_offsets$y},_ref3=(_offsets$x=_ref3.x,_offsets$y=_ref3.y,offsets.hasOwnProperty("x")),offsets=offsets.hasOwnProperty("y"),sideX=left,sideY=top,win=window,heightProp=(adaptive&&(heightProp="clientHeight",widthProp="clientWidth",(offsetParent=getOffsetParent(popper))===getWindow(popper)&&"static"!==getComputedStyle$1(offsetParent=getDocumentElement(popper)).position&&"absolute"===position&&(heightProp="scrollHeight",widthProp="scrollWidth"),placement!==top&&(placement!==left&&placement!==right||variation!==end)||(sideY=bottom,_offsets$y=(_offsets$y-((_ref2&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp])-popperRect.height))*(gpuAcceleration?1:-1)),placement!==left&&(placement!==top&&placement!==bottom||variation!==end)||(sideX=right,_offsets$x=(_offsets$x-((_ref2&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp])-popperRect.width))*(gpuAcceleration?1:-1))),Object.assign({position:position},adaptive&&unsetSides)),placement=!0===roundOffsets?function(_ref,win){var x=_ref.x,_ref=_ref.y,win=win.devicePixelRatio||1;return{x:round(x*win)/win||0,y:round(_ref*win)/win||0}}({x:_offsets$x,y:_offsets$y},getWindow(popper)):{x:_offsets$x,y:_offsets$y};return _offsets$x=placement.x,_offsets$y=placement.y,gpuAcceleration?Object.assign({},heightProp,((variation={})[sideY]=offsets?"0":"",variation[sideX]=_ref3?"0":"",variation.transform=(win.devicePixelRatio||1)<=1?"translate("+_offsets$x+"px, "+_offsets$y+"px)":"translate3d("+_offsets$x+"px, "+_offsets$y+"px, 0)",variation)):Object.assign({},heightProp,((_ref2={})[sideY]=offsets?_offsets$y+"px":"",_ref2[sideX]=_ref3?_offsets$x+"px":"",_ref2.transform="",_ref2))}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(_ref5){var state=_ref5.state,_ref5=_ref5.options,_options$gpuAccelerat=void 0===(_options$gpuAccelerat=_ref5.gpuAcceleration)||_options$gpuAccelerat,_options$adaptive=void 0===(_options$adaptive=_ref5.adaptive)||_options$adaptive,_ref5=void 0===(_ref5=_ref5.roundOffsets)||_ref5,_options$gpuAccelerat={placement:state.placement.split("-")[0],variation:state.placement.split("-")[1],popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:_options$gpuAccelerat,isFixed:"fixed"===state.o
vendor: 4,974 bytes, line 1
1ptions.strategy};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},_options$gpuAccelerat,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:_options$adaptive,roundOffsets:_ref5})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},_options$gpuAccelerat,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:_ref5})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},passive={passive:!0};var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(_ref){var state=_ref.state,instance=_ref.instance,_options$scroll=(_ref=_ref.options).scroll,scroll=void 0===_options$scroll||_options$scroll,resize=void 0===(_options$scroll=_ref.resize)||_options$scroll,window=getWindow(state.elements.popper),scrollParents=[].concat(state.scrollParents.reference,state.scrollParents.popper);return scroll&&scrollParents.forEach(function(scrollParent){scrollParent.addEventListener("scroll",instance.update,passive)}),resize&&window.addEventListener("resize",instance.update,passive),function(){scroll&&scrollParents.forEach(function(scrollParent){scrollParent.removeEventListener("scroll",instance.update,passive)}),resize&&window.removeEventListener("resize",instance.update,passive)}},data:{}},hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,function(matched){return hash$1[matched]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,function(matched){return hash[matched]})}function getWindowScroll(node){node=getWindow(node);return{scrollLeft:node.pageXOffset,scrollTop:node.pageYOffset}}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function isScrollParent(element){var element=getComputedStyle$1(element),overflow=element.overflow,overflowX=element.overflowX,element=element.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+element+overflowX)}function listScrollParents(element,list){void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return 0<=["html","body","#document"].indexOf(getNodeName(node))?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),element=scrollParent===(null==(element=element.ownerDocument)?void 0:element.body),win=getWindow(scrollParent),win=element?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,scrollParent=list.concat(win);return element?scrollParent:scrollParent.concat(listScrollParents(getParentNode(win)))}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(function(element,strategy){var layoutViewport,win=getWindow(element),html=getDocumentElement(element),win=win.visualViewport,width=html.clientWidth,html=html.clientHeight,x=0,y=0;return win&&(width=win.width,html=win.height,(layoutViewport=isLayoutViewport())||!layoutViewport&&"fixed"===strategy)&&(x=win.offsetLeft,y=win.offsetTop),{width:width,height:html,x:x+getWindowScrollBarX(element),y:y}}(element,strategy)):isElement(clippingParent)?function(element,strategy){return(strategy=getBoundingClientRect(element,!1,"fixed"===strategy)).top=strategy.top+element.clientTop,strategy.left=strategy.left+element.clientLeft,strategy.bottom=strategy.top+element.clientHeight,strategy.right=strategy.left+element.clientWidth,strategy.width=element.clientWidth,strategy.height=element.clientHeight,strategy.x=strategy.left,strategy.y=strategy.top,strategy}(clippingParent,strategy):rectToClientRect(function(element){var html=getDocumentElement(element),winScroll=getWindowScroll(element),_element$ownerDocumen=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=max(html.scrollWidth,html.clientWidth,_element$ownerDocumen?_element$ownerDocumen.scrollWidth:0,_element$ownerDocumen?_element$ownerDocumen.clientWidth:0),height=max(html.scrollHeight,html.clientHeight,_element$ownerDocumen?_element$ownerDocumen.scrollHeight:0,_element$ownerDocumen?_element$ownerDocumen.clientHeight:0),element=-winScroll.scrollLeft+getWindowScrollBarX(element),winScroll=-winScroll.scrollTop;return"rtl"===getComputedStyle$1(_element$ownerDocumen||html).direction&&(element+=max(html.clientWidth,_element$ownerDocumen?_element$ownerDocumen.clientWidth:0)-width),{width:width,height:height,x:element,y:winScroll}}(getDocumentElement(element)))}
vendor: 4,330 bytes, line 1
1function getClippingRect(element,boundary,rootBoundary,strategy){boundary="clippingParents"===boundary?function(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=0<=["absolute","fixed"].indexOf(getComputedStyle$1(element).position)&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter(function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)}):[]}(element):[].concat(boundary),boundary=[].concat(boundary,[rootBoundary]),rootBoundary=boundary[0],boundary=boundary.reduce(function(accRect,clippingParent){clippingParent=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=max(clippingParent.top,accRect.top),accRect.right=min(clippingParent.right,accRect.right),accRect.bottom=min(clippingParent.bottom,accRect.bottom),accRect.left=max(clippingParent.left,accRect.left),accRect},getClientRectFromMixedType(element,rootBoundary,strategy));return boundary.width=boundary.right-boundary.left,boundary.height=boundary.bottom-boundary.top,boundary.x=boundary.left,boundary.y=boundary.top,boundary}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,_ref=_ref.placement,basePlacement=_ref?_ref.split("-")[0]:null,_ref=_ref?_ref.split("-")[1]:null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(_ref){case start:offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}function detectOverflow(state,options){var offset,options=options=void 0===options?{}:options,_options$placement=options.placement,_options$placement=void 0===_options$placement?state.placement:_options$placement,_options$strategy=options.strategy,_options$strategy=void 0===_options$strategy?state.strategy:_options$strategy,_options$boundary=options.boundary,_options$boundary=void 0===_options$boundary?clippingParents:_options$boundary,_options$rootBoundary=options.rootBoundary,_options$rootBoundary=void 0===_options$rootBoundary?viewport:_options$rootBoundary,_options$elementConte=options.elementContext,_options$elementConte=void 0===_options$elementConte?popper:_options$elementConte,_options$altBoundary=options.altBoundary,_options$altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,options=options.padding,options=void 0===options?0:options,options=mergePaddingObject("number"!=typeof options?options:expandToHashMap(options,basePlacements)),popperRect=state.rects.popper,_options$altBoundary=state.elements[_options$altBoundary?_options$elementConte===popper?reference:popper:_options$elementConte],_options$altBoundary=getClippingRect(isElement(_options$altBoundary)?_options$altBoundary:_options$altBoundary.contextElement||getDocumentElement(state.elements.popper),_options$boundary,_options$rootBoundary,_options$strategy),_options$boundary=getBoundingClientRect(state.elements.reference),_options$rootBoundary=computeOffsets({reference:_options$boundary,element:popperRect,strategy:"absolute",placement:_options$placement}),_options$strategy=rectToClientRect(Object.assign({},popperRect,_options$rootBoundary)),popperRect=_options$elementConte===popper?_options$strategy:_options$boundary,overflowOffsets={top:_options$altBoundary.top-popperRect.top+options.top,bottom:popperRect.bottom-_options$altBoundary.bottom+options.bottom,left:_options$altBoundary.left-popperRect.left+options.left,right:popperRect.right-_options$altBoundary.right+options.right},_options$rootBoundary=state.modifiersData.offset;return _options$elementConte===popper&&_options$rootBoundary&&(offset=_options$rootBoundary[_options$placement],Object.keys(overflowOffsets).forEac
1h(function(key){var multiply=0<=[right,bottom].indexOf(key)?1:-1,axis=0<=[top,bottom].indexOf(key)?"y":"x";overflowOffsets[key]+=offset[axis]*multiply})),overflowOffsets}function computeAutoPlacement(state,options){var options=options=void 0===options?{}:options,placement=options.placement,boundary=options.boundary,rootBoundary=options.rootBoundary,padding=options.padding,flipVariations=options.flipVariations,options=options.allowedAutoPlacements,allowedAutoPlacements=void 0===options?placements:options,variation=placement.split("-")[1],options=variation?flipVariations?variationPlacements:variationPlacements.filter(function(placement){return placement.split("-")[1]===variation}):basePlacements,placement=options.filter(function(placement){return 0<=allowedAutoPlacements.indexOf(placement)}),overflows=(placement=0===placement.length?options:placement).reduce(function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[placement.split("-")[0]],acc},{});return Object.keys(overflows).sort(function(a,b){return overflows[a]-overflows[b]})}var flip$1={name:"flip",enabled:!0,phase:"main",fn:function(_ref){var state=_ref.state,options=_ref.options,_ref=_ref.name;if(!state.modifiersData[_ref]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$mainAxis=options.altAxis,checkAltAxis=void 0===_options$mainAxis||_options$mainAxis,_options$mainAxis=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,_options$flipVariatio=state.options.placement,options=_options$flipVariatio.split("-")[0],_options$mainAxis=_options$mainAxis||(options===_options$flipVariatio||!flipVariations?[getOppositePlacement(_options$flipVariatio)]:function(placement){var oppositePlacement;return placement.split("-")[0]===auto?[]:(oppositePlacement=getOppositePlacement(placement),[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)])}(_options$flipVariatio)),placements=[_options$flipVariatio].concat(_options$mainAxis).reduce(function(acc,placement){return acc.concat(placement.split("-")[0]===auto?computeAutoPlacement(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)},[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i<placements.length;i++){var placement=placements[i],_basePlacement=placement.split("-")[0],isStartVariation=placement.split("-")[1]===start,isVertical=0<=[top,bottom].indexOf(_basePlacement),len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),isVertical=isVertical?isStartVariation?right:left:isStartVariation?bottom:top,isStartVariation=(referenceRect[len]>popperRect[len]&&(isVertical=getOppositePlacement(isVertical)),getOppositePlacement(isVertical)),len=[];if(checkMainAxis&&len.push(overflow[_basePlacement]<=0),checkAltAxis&&len.push(overflow[isVertical]<=0,overflow[isStartVariation]<=0),len.every(function(check){return check})){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,len)}if(makeFallbackChecks)for(var _i=flipVariations?3:1;0<_i;_i--)if("break"===function(_i){var fittingPlacement=placements.find(function(placement){placement=checksMap.get(placement);if(placement)return placement.slice(0,_i).every(function(check){return check})});if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"}(_i))break;state.placement!==firstFittingPlacement&&(state.modifiersData[_ref]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(overflow,rect,preventedOffsets){return{top:overflow.top-rect.height-(preventedOffsets=void 0===preventedOffsets?{x:0,y:0}:preventedOffsets).y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[top,right,bottom,left].some(function(side){return 0<=overflow[side]})}var hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(_ref){var state=_ref.state,_ref=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceOverflow=getSideOffsets(referenceOverflow,referenceRect),referenceRect=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),popperAltOverflow=isAnySideFullyClipped(referenceOverflow),popperRect=isAnySideFullyClipped(referenceRect);state.modifiersData[_ref]={referenceClippingOffsets:referenceOverflow,popperEscapeOffsets:referenceRect,isReferenceHidden:popperAltOverflow,hasPopperEscaped:popperRect},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":popperAltOverflow,"data-popper-escaped":popperRect})}};var offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(_ref2){var state=_ref2.state,options=_ref2.options,_ref2=_ref2.name,offset=void 0===(options=options.offset)?[0,0]:options,options=placements.reduce(function(acc,placement){return acc[placement]=function(placement,rects,offset){var basePlacement=placement.split("-")[0],invertDistance=0<=[left,top].indexOf(basePlacement)?-1:1,placement=(rects="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset)[0]||0,offset=(rects[1]||0)*invertDistance;return 0<=[left,right].indexOf(basePlacement)?{x:offset,y:placement}:{x:placement,y:offset}}(placement,state.rects,offset),acc},{}),x=(_data$state$placement=options[state.placement]).x,_data$state$placement=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=_data$state$placement),state.modifiersData[_ref2]=options}};var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:function(_ref){var state=_ref.state,_ref=_ref.name;state.modifiersData[_ref]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}};var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:function(_ref){var offset,altSide,additive,mainSide,arrowPaddingOb
1ject,minLen,arrowElement,min$1,max$1,state=_ref.state,options=_ref.options,_ref=_ref.name,_options$mainAxis=void 0===(_options$mainAxis=options.mainAxis)||_options$mainAxis,_options$altAxis=void 0!==(_options$altAxis=options.altAxis)&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=void 0===(_options$tether=options.tether)||_options$tether,options=void 0===(options=options.tetherOffset)?0:options,boundary=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),rootBoundary=state.placement.split("-")[0],altBoundary=!(padding=state.placement.split("-")[1]),mainAxis=getMainAxisFromPlacement(rootBoundary),altAxis="x"===mainAxis?"y":"x",popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,options="number"==typeof(options="function"==typeof options?options(Object.assign({},state.rects,{placement:state.placement})):options)?{mainAxis:options,altAxis:options}:Object.assign({mainAxis:0,altAxis:0},options),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};popperOffsets&&(_options$mainAxis&&(_options$mainAxis="y"===mainAxis?"height":"width",min$1=(offset=popperOffsets[mainAxis])+boundary[mainSide="y"===mainAxis?top:left],max$1=offset-boundary[altSide="y"===mainAxis?bottom:right],additive=_options$tether?-popperRect[_options$mainAxis]/2:0,minLen=(padding===start?referenceRect:popperRect)[_options$mainAxis],padding=padding===start?-popperRect[_options$mainAxis]:-referenceRect[_options$mainAxis],arrowElement=state.elements.arrow,arrowElement=_options$tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},mainSide=(arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:getFreshSideObject())[mainSide],arrowPaddingObject=arrowPaddingObject[altSide],altSide=within(0,referenceRect[_options$mainAxis],arrowElement[_options$mainAxis]),arrowElement=altBoundary?referenceRect[_options$mainAxis]/2-additive-altSide-mainSide-options.mainAxis:minLen-altSide-mainSide-options.mainAxis,minLen=altBoundary?-referenceRect[_options$mainAxis]/2+additive+altSide+arrowPaddingObject+options.mainAxis:padding+altSide+arrowPaddingObject+options.mainAxis,altBoundary=(mainSide=state.elements.arrow&&getOffsetParent(state.elements.arrow))?"y"===mainAxis?mainSide.clientTop||0:mainSide.clientLeft||0:0,padding=offset+minLen-(additive=null!=(_options$mainAxis=null==offsetModifierState?void 0:offsetModifierState[mainAxis])?_options$mainAxis:0),altSide=within(_options$tether?min(min$1,offset+arrowElement-additive-altBoundary):min$1,offset,_options$tether?max(max$1,padding):max$1),popperOffsets[mainAxis]=altSide,data[mainAxis]=altSide-offset),_options$altAxis&&(arrowPaddingObject="y"==altAxis?"height":"width",minLen=(mainSide=popperOffsets[altAxis])+boundary["x"===mainAxis?top:left],_options$mainAxis=mainSide-boundary["x"===mainAxis?bottom:right],arrowElement=-1!==[top,left].indexOf(rootBoundary),altBoundary=null!=(additive=null==offsetModifierState?void 0:offsetModifierState[altAxis])?additive:0,min$1=arrowElement?minLen:mainSide-referenceRect[arrowPaddingObject]-popperRect[arrowPaddingObject]-altBoundary+options.altAxis,padding=arrowElement?mainSide+referenceRect[arrowPaddingObject]+popperRect[arrowPaddingObject]-altBoundary-options.altAxis:_options$mainAxis,max$1=_options$tether&&arrowElement?function(min,value,max){return min=within(min,value,max),max<min?max:min}(min$1,mainSide,padding):within(_options$tether?min$1:minLen,mainSide,_options$tether?padding:_options$mainAxis),popperOffsets[altAxis]=max$1,data[altAxis]=max$1-mainSide),state.modifiersData[_ref]=data)},requiresIfExists:["offset"]};function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,rect=round(rect.height)/element.offsetHeight||1;return 1!==scaleX||1!==rect}(offsetParent),documentElement=getDocumentElement(offsetParent),elementOrVirtualElement=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),offsetParentIsScaled={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return!isOffsetParentAnElement&&isFixed||("body"===getNodeName(offsetParent)&&!isScrollParent(documentElement)||(offsetParentIsScaled=(isOffsetParentAnElement=offsetParent)!==getWindow(isOffsetParentAnElement)&&isHTMLElement(isOffsetParentAnElement)?{scrollLeft:isOffsetParentAnElement.scrollLeft,scrollTop:isOffsetParentAnElement.scrollTop}:getWindowScroll(isOffsetParentAnElement)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:elementOrVirtualElement.left+offsetParentIsScaled.scrollLeft-offsets.x,y:elementOrVirtualElement.top+offsetParentIsScaled.scrollTop-offsets.y,width:elementOrVirtualElement.width,height:elementOrVirtualElement.height}}function order(modifiers){var map=new Map,visited=new Set,result=[];
1return modifiers.forEach(function(modifier){map.set(modifier.name,modifier)}),modifiers.forEach(function(modifier){visited.has(modifier.name)||!function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach(function(dep){visited.has(dep)||(dep=map.get(dep))&&sort(dep)}),result.push(modifier)}(modifier)}),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some(function(element){return!(element&&"function"==typeof element.getBoundingClientRect)})}function popperGenerator(generatorOptions){var generatorOptions=generatorOptions=void 0===generatorOptions?{}:generatorOptions,_generatorOptions$def=generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def=generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def?DEFAULT_OPTIONS:_generatorOptions$def;return function(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function(setOptionsAction){var merged,setOptionsAction="function"==typeof setOptionsAction?setOptionsAction(state.options):setOptionsAction,setOptionsAction=(cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,setOptionsAction),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)},function(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce(function(acc,phase){return acc.concat(orderedModifiers.filter(function(modifier){return modifier.phase===phase}))},[])}((setOptionsAction=[].concat(defaultModifiers,state.options.modifiers),merged=setOptionsAction.reduce(function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged},{}),Object.keys(merged).map(function(key){return merged[key]}))));return state.orderedModifiers=setOptionsAction.filter(function(m){return m.enabled}),state.orderedModifiers.forEach(function(_ref){var name=_ref.name,_ref$options=_ref.options,_ref=_ref.effect;"function"==typeof _ref&&(_ref=_ref({state:state,name:name,instance:instance,options:void 0===_ref$options?{}:_ref$options}),effectCleanupFns.push(_ref||function(){}))}),instance.update()},forceUpdate:function(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,_state$elements=_state$elements.popper;if(areValidElements(reference,_state$elements)){state.rects={reference:getCompositeRect(reference,getOffsetParent(_state$elements),"fixed"===state.options.strategy),popper:getLayoutRect(_state$elements)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach(function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)});for(var fn,_state$orderedModifie2,_state$orderedModifie,index=0;index<state.orderedModifiers.length;index++)!0===state.reset?(state.reset=!1,index=-1):(fn=(_state$orderedModifie=state.orderedModifiers[index]).fn,_state$orderedModifie2=_state$orderedModifie.options,_state$orderedModifie=_state$orderedModifie.name,"function"==typeof fn&&(state=fn({state:state,options:void 0===_state$orderedModifie2?{}:_state$orderedModifie2,name:_state$orderedModifie,instance:instance})||state))}}},update:(fn=function(){return new Promise(function(resolve){instance.forceUpdate(),resolve(state)})},function(){return pending=pending||new Promise(function(resolve){Promise.resolve().then(function(){pending=void 0,resolve(fn())})})}),destroy:function(){cleanupModifierEffects(),isDestroyed=!0}};return areValidElements(reference,popper)&&instance.setOptions(options).then(function(state){!isDestroyed&&options.onFirstUpdate&&options.onFirstUpdate(state)}),instance;function cleanupModifierEffects(){effectCleanupFns.forEach(function(fn){return fn()}),effectCleanupFns=[]}}}var createPopper=popperGenerator({defaultModifiers:[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1,offset$1,flip$1,preventOverflow$1,arrow$1,hide$1]});const Popper=Object.freeze(Object.defineProperty({__proto__:null,afterMain:"afterMain",afterRead:"afterRead",afterWrite:"afterWrite",applyStyles:applyStyles$1,arrow:arrow$1,auto:auto,basePlacements:basePlacements,beforeMain:"beforeMain",beforeRead:"beforeRead",beforeWrite:"beforeWrite",bottom:bottom,clippingParents:clippingParents,computeStyles:computeStyles$1,createPopper:createPopper,createPopperBase:popperGenerator(),createPopperLite:popperGenerator({defaultModifiers:[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1]}),detectOverflow:detectOverflow,end:end,eventListeners:eventListeners,flip:flip$1,hide:hide$1,left:left,main:"main",modifierPhases:modifierPhases,offset:offset$1,placements:placements,popper:popper,popperGenerator:popperGenerator,popperOffsets:popperOffsets$1,preventOverflow:preventOverflow$1,read:"read",reference:reference,right:right,start:start,top:top,variationPlacements:variationPlacements,viewport:viewport,write:"write"},Symbol.toStringTag,{value:"Module"}));const SELECTOR_DATA_TOGGLE$3='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',PLACEMENT_TOP=(SELECTOR_DATA_TOGGLE$3,isRTL()?"top-end":"top-start"),PLACEMENT_TOPEND=isRTL()?"top-start":"top-end",PLACEMENT_BOTTOM=isRTL()?"bottom-end":"bottom-start",PLACEMENT_BOTTOMEND=isRTL()?"bottom-start":"bottom-end",PLACEMENT_RIGHT=isRTL()?"left-start":"right-start",PLACEMENT_LEFT=isRTL()?"right-start":"left-start",Default$9={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},DefaultType$9={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
1ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Dropdown extends BaseComponent{constructor(element,config){super(element,config),this._popper=null,this._parent=this._element.parentNode,this._menu=SelectorEngine.next(this._element,".dropdown-menu")[0]||SelectorEngine.prev(this._element,".dropdown-menu")[0]||SelectorEngine.findOne(".dropdown-menu",this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Default$9}static get DefaultType(){return DefaultType$9}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!isDisabled(this._element)&&!this._isShown()){var relatedTarget={relatedTarget:this._element},showEvent=EventHandler.trigger(this._element,"show.bs.dropdown",relatedTarget);if(!showEvent.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const element of[].concat(...document.body.children))EventHandler.on(element,"mouseover",noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),EventHandler.trigger(this._element,"shown.bs.dropdown",relatedTarget)}}}hide(){var relatedTarget;!isDisabled(this._element)&&this._isShown()&&(relatedTarget={relatedTarget:this._element},this._completeHide(relatedTarget))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(relatedTarget){var hideEvent=EventHandler.trigger(this._element,"hide.bs.dropdown",relatedTarget);if(!hideEvent.defaultPrevented){if("ontouchstart"in document.documentElement)for(const element of[].concat(...document.body.children))EventHandler.off(element,"mouseover",noop);this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),Manipulator.removeDataAttribute(this._menu,"popper"),EventHandler.trigger(this._element,"hidden.bs.dropdown",relatedTarget)}}_getConfig(config){if("object"!=typeof(config=super._getConfig(config)).reference||isElement$1(config.reference)||"function"==typeof config.reference.getBoundingClientRect)return config;throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Popper)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let referenceElement=this._element;"parent"===this._config.reference?referenceElement=this._parent:isElement$1(this._config.reference)?referenceElement=getElement(this._config.reference):"object"==typeof this._config.reference&&(referenceElement=this._config.reference);var popperConfig=this._getPopperConfig();this._popper=createPopper(referenceElement,this._menu,popperConfig)}_isShown(){return this._menu.classList.contains("show")}_getPlacement(){var isEnd,parentDropdown=this._parent;return parentDropdown.classList.contains("dropend")?PLACEMENT_RIGHT:parentDropdown.classList.contains("dropstart")?PLACEMENT_LEFT:parentDropdown.classList.contains("dropup-center")?"top":parentDropdown.classList.contains("dropdown-center")?"bottom":(isEnd="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),parentDropdown.classList.contains("dropup")?isEnd?PLACEMENT_TOPEND:PLACEMENT_TOP:isEnd?PLACEMENT_BOTTOMEND:PLACEMENT_BOTTOM)}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const offset=this._config["offset"];return"string"==typeof offset?offset.split(",").map(value=>Number.parseInt(value,10)):"function"==typeof offset?popperData=>offset(popperData,this._element):offset}_getPopperConfig(){var defaultBsPopperConfig={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(Manipulator.setDataAttribute(this._menu,"popper","static"),defaultBsPopperConfig.modifiers=[{name:"applyStyles",enabled:!1}]),{...defaultBsPopperConfig,...execute(this._config.popperConfig,[defaultBsPopperConfig])}}_selectMenuItem({key,target}){var items=SelectorEngine.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(element=>isVisible(element));items.length&&getNextActiveElement(items,target,"ArrowDown"===key,!items.includes(target)).focus()}static jQueryInterface(config){return this.each(function(){var data=Dropdown.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method named "${config}"`);data[config]()}})}static clearMenus(event){if(2!==event.button&&("keyup"!==event.type||"Tab"===event.key))for(const toggle of SelectorEngine.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var isMenuTarget,composedPath,context=Dropdown.getInstance(toggle);context&&!1!==context._config.autoClose&&(isMenuTarget=(composedPath=event.composedPath()).includes(context._menu),composedPath.includes(context._element)||"inside"===context._config.autoClose&&!isMenuTarget||"outside"===context._config.autoClose&&isMenuTarget||context._menu.contains(event.target)&&("keyup"===event.type&&"Tab"===event.key||/input|select|option|textarea|form/i.test(event.target.tagName))||(composedPath={relatedTarget:context._element},"click"===event.type&&(composedPath.clickEvent=event),context._completeHide(composedPath)))}}static dataApiKeydownHandler(event){var isInput=/input|textarea/i.test(event.target.tagName),isEscapeEvent="Escape"===event.key,isUpOrDownEvent=["ArrowUp","ArrowDown"].includes(event.key);!isUpOrDownEvent&&!isEscapeEvent||isInput&&!isEscapeEvent||(event.preventDefault(),isInput=this.matches(SELECTOR_DATA_TOGGLE$3)?this:SelectorEngine.prev(this,SELECTOR_DATA_TOGGLE$3)[0]||SelectorEngine.next(this,SELECTOR_DATA_TOGGLE$3)[0]||SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$3,event.delegateTarget.parentNode),isEscapeEvent=Dropdown.getOrCreateInstance(isInput),isUpOrDownEvent?(event.stopPropagation(),isEscapeEvent.show(),isEscapeEvent._selectMenuItem(event)):isEscapeEvent._isShown()&&(event.stopPropagation(),isEscapeEvent.hide(),isInput.focus()))}}EventHandler.on(document,"keydown.bs.dropdown.data-api",SELECTOR_DATA_TOGGLE$3,Dropdown.dataApiKeydownHandler),EventHandler.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",Dropdown.dataApiKeydownHandler),EventHandler.on(document,"click.bs.dropdown.data-api",Dropdown.clearMenus),EventHandler.on(document,"keyup.bs.dropdown.data-api",Dropdown.clearMenus),EventHandler.on(document,"click.bs.dropdown.data-api",SELECTOR_DATA_TOGGLE$3,function(event){event.preventDefault(),Dropdown.getOrCreateInstance(this).toggle()}),defineJQueryPlugin(Dropdown);const Default$8={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},DefaultType$8={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Backdrop extends Config{constructor(config){super(),this._config=this._getConfig(config),this._isAppended=!1,this._element=null}static get Default(){return Default$8}static get DefaultType(){return DefaultType$8}static get NAME(){return"backdrop"}show(callback){var element;this._config.isVisible?(this._append(),element=this._getElement(),this._config.isAnimated&&reflow(element),element.classList.add("show"),this._emulateAnimation(()=>{execute(callback)})):execute(callback)}hide(callback){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),execute(callback)})):execute(callback)}dispose(){this._isAppended&&(EventHandler.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_getElement(){var backdrop;return this._element||((backdrop=document.createElement("div")).className=this._config.className,this._config.isAnimated&&backdrop.classList.add("fade"),this._element=backdrop),this._element}_configAfterMerge(config){return config.rootElement=getElement(config.rootElement),config}_append(){var element;this._isAppended||(element=this._getElement(),this._config.rootElement.append(element),EventHandler.on(element,"mousedown.bs.backdrop",()=>{execute(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(callback){executeAfterTransition(callback,this._getElement(),this._config.isAnimated)}}const Default$7={autofocus:!0,trapElement:null},DefaultType$7={autofocus:"boolean",trapElement:"element"};class FocusTrap extends Config{constructor(config){super(),this._config=this._getConfig(config),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Default$7}static get DefaultType(){return DefaultType$7}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),EventHandler.off(document,".bs.focustrap"),EventHandler.on(document,"focusin.bs.focustrap",event=>this._handleFocusin(event)),EventHandler.on(document,"keydown.tab.bs.focustrap",event=>this._handleKeydown(event)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,EventHandler.off(document,".bs.focustrap"))}_handleFocusin(event){var trapElement=this._config["trapElement"];event.target===document||event.target===trapElement||trapElement.contains(event.target)||(0===(event=SelectorEngine.focusableChildren(trapElement)).length?trapElement:"backward"===this._lastTabNavDirection?event[event.length-1]:event[0]).focus()}_handleKeydown(event){"Tab"===event.key&&(this._lastTabNavDirection=event.shiftKey?"backward":"forward")}}class ScrollBarHelper{constructor(){this._element=document.body}getWidth(){var documentWidth=document.documentElement.clientWidth;return Math.abs(window.innerWidth-documentWidth)}hide(){const width=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"padding-right",calculatedValue=>calculatedValue+width),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right",calculatedValue=>calculatedValue+width),this._setElementAttributes(".sticky-top","margin-right",calculatedValue=>calculatedValue-width)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"padding-right"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","padding-right"),this._resetElementAttributes(".sticky-top","margin-right")}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(selector,styleProperty,callback){const scrollbarWidth=this.getWidth();this._applyManipulationCallback(selector,element=>{var calculatedValue;element!==this._element&&window.innerWidth>element.clientWidth+scrollbarWidth||(this._saveInitialAttribute(element,styleProperty),calculatedValue=window.getComputedStyle(element).getPropertyValue(styleProperty),element.style.setProperty(styleProperty,callback(Number.parseFloat(calculatedValue))+"px"))})}_saveInitialAttribute(element,styleProperty){var actualValue=element.style.getPropertyValue(styleProperty);actualValue&&Manipulator.setDataAttribute(element,styleProperty,actualValue)}_resetElementAttributes(selector,styleProperty){this._applyManipulationCallback(selector,element=>{var value=Manipulator.getDataAttribute(element,styleProperty);null===value?element.style.removeProperty(styleProperty):(Manipulator.removeDataAttribute(element,styleProperty),element.style.setProperty(styleProperty,value))})}
1_applyManipulationCallback(selector,callBack){if(isElement$1(selector))callBack(selector);else for(const sel of SelectorEngine.find(selector,this._element))callBack(sel)}}const Default$6={backdrop:!0,focus:!0,keyboard:!0},DefaultType$6={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Modal extends BaseComponent{constructor(element,config){super(element,config),this._dialog=SelectorEngine.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 Default$6}static get DefaultType(){return DefaultType$6}static get NAME(){return"modal"}toggle(relatedTarget){return this._isShown?this.hide():this.show(relatedTarget)}show(relatedTarget){this._isShown||this._isTransitioning||EventHandler.trigger(this._element,"show.bs.modal",{relatedTarget:relatedTarget}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._backdrop.show(()=>this._showElement(relatedTarget)))}hide(){!this._isShown||this._isTransitioning||EventHandler.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){EventHandler.off(window,".bs.modal"),EventHandler.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(relatedTarget){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;var modalBody=SelectorEngine.findOne(".modal-body",this._dialog);modalBody&&(modalBody.scrollTop=0),reflow(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,EventHandler.trigger(this._element,"shown.bs.modal",{relatedTarget:relatedTarget})},this._dialog,this._isAnimated())}_addEventListeners(){EventHandler.on(this._element,"keydown.dismiss.bs.modal",event=>{"Escape"===event.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),EventHandler.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),EventHandler.on(this._element,"mousedown.dismiss.bs.modal",event=>{EventHandler.one(this._element,"click.dismiss.bs.modal",event2=>{this._element===event.target&&this._element===event2.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_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(),EventHandler.trigger(this._element,"hidden.bs.modal")})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var hideEvent=EventHandler.trigger(this._element,"hidePrevented.bs.modal");if(!hideEvent.defaultPrevented){hideEvent=this._element.scrollHeight>document.documentElement.clientHeight;const initialOverflowY=this._element.style.overflowY;"hidden"===initialOverflowY||this._element.classList.contains("modal-static")||(hideEvent||(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=initialOverflowY},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var property,isModalOverflowing=this._element.scrollHeight>document.documentElement.clientHeight,scrollbarWidth=this._scrollBar.getWidth(),isBodyOverflowing=0<scrollbarWidth;if(isBodyOverflowing&&!isModalOverflowing&&(property=isRTL()?"paddingLeft":"paddingRight",this._element.style[property]=scrollbarWidth+"px"),!isBodyOverflowing&&isModalOverflowing){const property=isRTL()?"paddingRight":"paddingLeft";this._element.style[property]=scrollbarWidth+"px"}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(config,relatedTarget){return this.each(function(){var data=Modal.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method n
1amed "${config}"`);data[config](relatedTarget)}})}}EventHandler.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(event){const target=SelectorEngine.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&event.preventDefault(),EventHandler.one(target,"show.bs.modal",showEvent=>{showEvent.defaultPrevented||EventHandler.one(target,"hidden.bs.modal",()=>{isVisible(this)&&this.focus()})});event=SelectorEngine.findOne(".modal.show");event&&Modal.getInstance(event).hide(),Modal.getOrCreateInstance(target).toggle(this)}),enableDismissTrigger(Modal),defineJQueryPlugin(Modal);const Default$5={backdrop:!0,keyboard:!0,scroll:!1},DefaultType$5={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Offcanvas extends BaseComponent{constructor(element,config){super(element,config),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Default$5}static get DefaultType(){return DefaultType$5}static get NAME(){return"offcanvas"}toggle(relatedTarget){return this._isShown?this.hide():this.show(relatedTarget)}show(relatedTarget){this._isShown||EventHandler.trigger(this._element,"show.bs.offcanvas",{relatedTarget:relatedTarget}).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"),EventHandler.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:relatedTarget})},this._element,!0))}hide(){this._isShown&&!EventHandler.trigger(this._element,"hide.bs.offcanvas").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(),EventHandler.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var isVisible=Boolean(this._config.backdrop);return new Backdrop({className:"offcanvas-backdrop",isVisible:isVisible,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:isVisible?()=>{"static"===this._config.backdrop?EventHandler.trigger(this._element,"hidePrevented.bs.offcanvas"):this.hide()}:null})}_initializeFocusTrap(){return new FocusTrap({trapElement:this._element})}_addEventListeners(){EventHandler.on(this._element,"keydown.dismiss.bs.offcanvas",event=>{"Escape"===event.key&&(this._config.keyboard?this.hide():EventHandler.trigger(this._element,"hidePrevented.bs.offcanvas"))})}static jQueryInterface(config){return this.each(function(){var data=Offcanvas.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config]||config.startsWith("_")||"constructor"===config)throw new TypeError(`No method named "${config}"`);data[config](this)}})}}EventHandler.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(event){var target=SelectorEngine.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&event.preventDefault(),isDisabled(this)||(EventHandler.one(target,"hidden.bs.offcanvas",()=>{isVisible(this)&&this.focus()}),(event=SelectorEngine.findOne(".offcanvas.show"))&&event!==target&&Offcanvas.getInstance(event).hide(),Offcanvas.getOrCreateInstance(target).toggle(this))}),EventHandler.on(window,"load.bs.offcanvas.data-api",()=>{for(const selector of SelectorEngine.find(".offcanvas.show"))Offcanvas.getOrCreateInstance(selector).show()}),EventHandler.on(window,"resize.bs.offcanvas",()=>{for(const element of SelectorEngine.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(element).position&&Offcanvas.getOrCreateInstance(element).hide()}),enableDismissTrigger(Offcanvas),defineJQueryPlugin(Offcanvas);arrow$1={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]};const uriAttributes=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),SAFE_URL_PATTERN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function sanitizeHtml(unsafeHtml,allowList,sanitizeFunction){if(!unsafeHtml.length)return unsafeHtml;if(sanitizeFunction&&"function"==typeof sanitizeFunction)return sanitizeFunction(unsafeHtml);sanitizeFunction=(new window.DOMParser).parseFromString(unsafeHtml,"text/html");for(const element of[].concat(...sanitizeFunction.body.querySelectorAll("*"))){var elementName=element.nodeName.toLowerCase();if(Object.keys(allowList).includes(elementName)){var attributeList=[].concat(...element.attributes),allowedAttributes=[].concat(allowList["*"]||[],allowList[elementName]||[]);for(const attribute of attributeList)((attribute,allowedAttributeList)=>
1{const attributeName=attribute.nodeName.toLowerCase();return allowedAttributeList.includes(attributeName)?!uriAttributes.has(attributeName)||Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue)):allowedAttributeList.filter(attributeRegex=>attributeRegex instanceof RegExp).some(regex=>regex.test(attributeName))})(attribute,allowedAttributes)||element.removeAttribute(attribute.nodeName)}else element.remove()}return sanitizeFunction.body.innerHTML}const Default$4={allowList:arrow$1,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},DefaultType$4={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},DefaultContentType={entry:"(string|element|function|null)",selector:"(string|element)"};class TemplateFactory extends Config{constructor(config){super(),this._config=this._getConfig(config)}static get Default(){return Default$4}static get DefaultType(){return DefaultType$4}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(config=>this._resolvePossibleFunction(config)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(content){return this._checkContent(content),this._config.content={...this._config.content,...content},this}toHtml(){var selector,text,templateWrapper=document.createElement("div");templateWrapper.innerHTML=this._maybeSanitize(this._config.template);for([selector,text]of Object.entries(this._config.content))this._setContent(templateWrapper,text,selector);var template=templateWrapper.children[0],extraClass=this._resolvePossibleFunction(this._config.extraClass);return extraClass&&template.classList.add(...extraClass.split(" ")),template}_typeCheckConfig(config){super._typeCheckConfig(config),this._checkContent(config.content)}_checkContent(arg){for(var[selector,content]of Object.entries(arg))super._typeCheckConfig({selector:selector,entry:content},DefaultContentType)}_setContent(template,content,selector){selector=SelectorEngine.findOne(selector,template);selector&&((content=this._resolvePossibleFunction(content))?isElement$1(content)?this._putElementInTemplate(getElement(content),selector):this._config.html?selector.innerHTML=this._maybeSanitize(content):selector.textContent=content:selector.remove())}_maybeSanitize(arg){return this._config.sanitize?sanitizeHtml(arg,this._config.allowList,this._config.sanitizeFn):arg}_resolvePossibleFunction(arg){return execute(arg,[this])}_putElementInTemplate(element,templateElement){this._config.html?(templateElement.innerHTML="",templateElement.append(element)):templateElement.textContent=element.textContent}}const DISALLOWED_ATTRIBUTES=new Set(["sanitize","allowList","sanitizeFn"]);const AttachmentMap={AUTO:"auto",TOP:"top",RIGHT:isRTL()?"left":"right",BOTTOM:"bottom",LEFT:isRTL()?"right":"left"},Default$3={allowList:arrow$1,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"},DefaultType$3={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(element,config){if(void 0===Popper)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(element,config),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 Default$3}static get DefaultType(){return DefaultType$3}static get NAME(){return"tooltip"}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),EventHandler.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){var showEvent=EventHandler.trigger(this._element,this.constructor.eventName("show")),isInTheDom=(findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!showEvent.defaultPrevented&&isInTheDom){this._disposePopper();showEvent=this._getTipElement(),isInTheDom=(this._element.setAttribute("aria-describedby",showEvent.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(isInTheDom.append(showEvent),EventHandler.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(showEvent),showEvent.classList.add("show"),"ontouchstart"in document.documentElement)for(const element of[].concat(...document.body.children))EventHandler.on(element,"mouseover",noop);this._queueCallback(()=>{EventHandler.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()){var hideEvent=EventHandler.trigger(this._element,this.constructor.eventName("hide"));if(!hideEvent.defaultPrevented){if(this._getTipElement().classList.remove("show"),"ontouchstart"in document.documentElement)for(const element of[].concat(...document.body.children))EventHandler.off(element,"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"),EventHandler.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(content){content=this._getTemplateFactory(content).toHtml();if(!content)return null;content.classList.remove("fade","show"),content.classList.add(`bs-${this.constructor.NAME}-auto`);var tipId=(prefix=>{for(;prefix+=Math.floor(1e6*Math.random()),document.getElementById(prefix););return prefix})(this.constructor.NAME).toString();return content.setAttribute("id",tipId),this._isAnimated()&&content.classList.add("fade"),content}setContent(content){this._newContent=content,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(content){return this._templateFactory?this._templateFactory.changeContent(content):this._templateFactory=new TemplateFactory({...this._config,content:content,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(event){return this.constructor.getOrCreateInstance(event.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(tip){var placement=execute(this._config.placement,[this,tip,this._element]),placement=AttachmentMap[placement.toUpperCase()];return createPopper(this._element,tip,this._getPopperConfig(placement))}_getOffset(){const offset=this._config["offset"];return"string"==typeof offset?offset.split(",").map(value=>Number.parseInt(value,10)):"function"==typeof offset?popperData=>offset(popperData,this._element):offset}_resolvePossibleFunction(arg){return execute(arg,[this._element])}_getPopperConfig(attachment){attachment={placement:attachment,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:data=>{this._getTipElement().setAttribute("data-popper-placement",data.state.placement)}}]};return{...attachment,...execute(this._config.popperConfig,[attachment])}}_setListeners(){var eventIn,eventOut;for(const trigger of this._config.trigger.split(" "))"click"===trigger?EventHandler.on(this._element,this.constructor.eventName("click"),this._config.selector,event=>{this._initializeOnDelegatedTarget(event).toggle()}):"manual"!==trigger&&(eventIn="hover"===trigger?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),eventOut="hover"===trigger?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),EventHandler.on(this._element,eventIn,this._config.selector,event=>{var context=this._initializeOnDelegatedTarget(event);context._activeTrigger["focusin"===event.type?"focus":"hover"]=!0,context._enter()}),EventHandler.on(this._element,eventOut,this._config.selector,event=>{var context=this._initializeOnDelegatedTarget(event);
vendor: 5,789 bytes, line 1
1context._activeTrigger["focusout"===event.type?"focus":"hover"]=context._element.contains(event.relatedTarget),context._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},EventHandler.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler)}_fixTitle(){var title=this._element.getAttribute("title");title&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",title),this._element.setAttribute("data-bs-original-title",title),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(handler,timeout){clearTimeout(this._timeout),this._timeout=setTimeout(handler,timeout)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(config){var dataAttributes=Manipulator.getDataAttributes(this._element);for(const dataAttribute of Object.keys(dataAttributes))DISALLOWED_ATTRIBUTES.has(dataAttribute)&&delete dataAttributes[dataAttribute];return config={...dataAttributes,..."object"==typeof config&&config?config:{}},config=this._mergeConfigObj(config),config=this._configAfterMerge(config),this._typeCheckConfig(config),config}_configAfterMerge(config){return config.container=!1===config.container?document.body:getElement(config.container),"number"==typeof config.delay&&(config.delay={show:config.delay,hide:config.delay}),"number"==typeof config.title&&(config.title=config.title.toString()),"number"==typeof config.content&&(config.content=config.content.toString()),config}_getDelegateConfig(){var key,value,config={};for([key,value]of Object.entries(this._config))this.constructor.Default[key]!==value&&(config[key]=value);return config.selector=!1,config.trigger="manual",config}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(config){return this.each(function(){var data=Tooltip.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method named "${config}"`);data[config]()}})}}defineJQueryPlugin(Tooltip);const Default$2={...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"},DefaultType$2={...Tooltip.DefaultType,content:"(null|string|element|function)"};class Popover extends Tooltip{static get Default(){return Default$2}static get DefaultType(){return DefaultType$2}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(config){return this.each(function(){var data=Popover.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method named "${config}"`);data[config]()}})}}defineJQueryPlugin(Popover);const Default$1={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},DefaultType$1={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ScrollSpy extends BaseComponent{constructor(element,config){super(element,config),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 Default$1}static get DefaultType(){return DefaultType$1}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const section of this._observableSections.values())this._observer.observe(section)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(config){return config.target=getElement(config.target)||document.body,config.rootMargin=config.offset?config.offset+"px 0px -30%":config.rootMargin,"string"==typeof config.threshold&&(config.threshold=config.threshold.split(",").map(value=>Number.parseFloat(value))),config}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(EventHandler.off(this._config.target,"click.bs.scrollspy"),EventHandler.on(this._config.target,"click.bs.scrollspy","[href]",event=>{var observableSection=this._observableSections.get(event.target.hash);observableSection&&(event.preventDefault(),event=this._rootElement||window,observableSection=observableSection.offsetTop-this._element.offsetTop,event.scrollTo?event.scrollTo({top:observableSection,behavior:"smooth"}):event.scrollTop=observableSection)}))}_getNewObserver(){var options={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(entries=>this._observerCallback(entries),options)}_observerCallback(entries){const targetElement=entry=>this._targetLinks.get("#"+entry.target.id);var activate=entry=>{this._previousScrollData.visibleEntryTop=entry.target.offsetTop,this._process(targetElement(entry))},parentScrollTop=(this._rootElement||document.documentElement).scrollTop,userScrollsDown=parentScrollTop>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=parentScrollTop;
1for(const entry of entries)if(entry.isIntersecting){var entryIsLowerThanPrevious=entry.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(userScrollsDown&&entryIsLowerThanPrevious){if(activate(entry),parentScrollTop)continue;return}userScrollsDown||entryIsLowerThanPrevious||activate(entry)}else this._activeTarget=null,this._clearActiveClass(targetElement(entry))}_initializeTargetsAndObservables(){var observableSection;this._targetLinks=new Map,this._observableSections=new Map;for(const anchor of SelectorEngine.find("[href]",this._config.target))anchor.hash&&!isDisabled(anchor)&&(observableSection=SelectorEngine.findOne(decodeURI(anchor.hash),this._element),isVisible(observableSection))&&(this._targetLinks.set(decodeURI(anchor.hash),anchor),this._observableSections.set(anchor.hash,observableSection))}_process(target){this._activeTarget!==target&&(this._clearActiveClass(this._config.target),(this._activeTarget=target).classList.add("active"),this._activateParents(target),EventHandler.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:target}))}_activateParents(target){if(target.classList.contains("dropdown-item"))SelectorEngine.findOne(".dropdown-toggle",target.closest(".dropdown")).classList.add("active");else for(const listGroup of SelectorEngine.parents(target,".nav, .list-group"))for(const item of SelectorEngine.prev(listGroup,".nav-link, .nav-item > .nav-link, .list-group-item"))item.classList.add("active")}_clearActiveClass(parent){parent.classList.remove("active");for(const node of SelectorEngine.find("[href].active",parent))node.classList.remove("active")}static jQueryInterface(config){return this.each(function(){var data=ScrollSpy.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config]||config.startsWith("_")||"constructor"===config)throw new TypeError(`No method named "${config}"`);data[config]()}})}}EventHandler.on(window,"load.bs.scrollspy.data-api",()=>{for(const spy of SelectorEngine.find('[data-bs-spy="scroll"]'))ScrollSpy.getOrCreateInstance(spy)}),defineJQueryPlugin(ScrollSpy);computeStyles$1='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const SELECTOR_INNER_ELEM='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+computeStyles$1;class Tab extends BaseComponent{constructor(element){super(element),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),EventHandler.on(this._element,"keydown.bs.tab",event=>this._keydown(event)))}static get NAME(){return"tab"}show(){var active,hideEvent,innerElem=this._element;this._elemIsActive(innerElem)||(hideEvent=(active=this._getActiveElem())?EventHandler.trigger(active,"hide.bs.tab",{relatedTarget:innerElem}):null,EventHandler.trigger(innerElem,"show.bs.tab",{relatedTarget:active}).defaultPrevented)||hideEvent&&hideEvent.defaultPrevented||(this._deactivate(active,innerElem),this._activate(innerElem,active))}_activate(element,relatedElem){element&&(element.classList.add("active"),this._activate(SelectorEngine.getElementFromSelector(element)),this._queueCallback(()=>{"tab"!==element.getAttribute("role")?element.classList.add("show"):(element.removeAttribute("tabindex"),element.setAttribute("aria-selected",!0),this._toggleDropDown(element,!0),EventHandler.trigger(element,"shown.bs.tab",{relatedTarget:relatedElem}))},element,element.classList.contains("fade")))}_deactivate(element,relatedElem){element&&(element.classList.remove("active"),element.blur(),this._deactivate(SelectorEngine.getElementFromSelector(element)),this._queueCallback(()=>{"tab"!==element.getAttribute("role")?element.classList.remove("show"):(element.setAttribute("aria-selected",!1),element.setAttribute("tabindex","-1"),this._toggleDropDown(element,!1),EventHandler.trigger(element,"hidden.bs.tab",{relatedTarget:relatedElem}))},element,element.classList.contains("fade")))}_keydown(event){var isNext;["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(event.key)&&(event.stopPropagation(),event.preventDefault(),isNext=["ArrowRight","ArrowDown"].includes(event.key),event=getNextActiveElement(this._getChildren().filter(element=>!isDisabled(element)),event.target,isNext,!0))&&(event.focus({preventScroll:!0}),Tab.getOrCreateInstance(event).show())}_getChildren(){return SelectorEngine.find(SELECTOR_INNER_ELEM,this._parent)}_getActiveElem(){return this._getChildren().find(child=>this._elemIsActive(child))||null}_setInitialAttributes(parent,children){this._setAttributeIfNotExists(parent,"role","tablist");for(const child of children)this._setInitialAttributesOnChild(child)}_setInitialAttributesOnChild(child){child=this._getInnerElement(child);var isActive=this._elemIsActive(child),outerElem=this._getOuterElement(child);child.setAttribute("aria-selected",isActive),outerElem!==child&&this._setAttributeIfNotExists(outerElem,"role","presentation"),isActive||child.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(child,"role","tab"),this._setInitialAttributesOnTargetPanel(child)}_setInitialAttributesOnTargetPanel(child){var target=SelectorEngine.getElementFromSelector(child);target&&(this._setAttributeIfNotExists(target,"role","tabpanel"),child.id)&&this._setAttributeIfNotExists(target,"aria-labelledby",""+child.id)}_toggleDropDown(element,open){const outerElem=this._getOuterElement(element);outerElem.classList.contains("dropdown")&&((element=(selector,className)=>{selector=SelectorEngine.findOne(selector,outerElem);selector&&selector.classList.toggle(className,open)}
1)(".dropdown-toggle","active"),element(".dropdown-menu","show"),outerElem.setAttribute("aria-expanded",open))}_setAttributeIfNotExists(element,attribute,value){element.hasAttribute(attribute)||element.setAttribute(attribute,value)}_elemIsActive(elem){return elem.classList.contains("active")}_getInnerElement(elem){return elem.matches(SELECTOR_INNER_ELEM)?elem:SelectorEngine.findOne(SELECTOR_INNER_ELEM,elem)}_getOuterElement(elem){return elem.closest(".nav-item, .list-group-item")||elem}static jQueryInterface(config){return this.each(function(){var data=Tab.getOrCreateInstance(this);if("string"==typeof config){if(void 0===data[config]||config.startsWith("_")||"constructor"===config)throw new TypeError(`No method named "${config}"`);data[config]()}})}}EventHandler.on(document,"click.bs.tab",computeStyles$1,function(event){["A","AREA"].includes(this.tagName)&&event.preventDefault(),isDisabled(this)||Tab.getOrCreateInstance(this).show()}),EventHandler.on(window,"load.bs.tab",()=>{for(const element of SelectorEngine.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Tab.getOrCreateInstance(element)}),defineJQueryPlugin(Tab);const DefaultType={animation:"boolean",autohide:"boolean",delay:"number"},Default={animation:!0,autohide:!0,delay:5e3};class Toast extends BaseComponent{constructor(element,config){super(element,config),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Default}static get DefaultType(){return DefaultType}static get NAME(){return"toast"}show(){EventHandler.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),reflow(this._element),this._element.classList.add("show","showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),EventHandler.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!EventHandler.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove("showing","show"),EventHandler.trigger(this._element,"hidden.bs.toast")},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(event,isInteracting){switch(event.type){case"mouseover":case"mouseout":this._hasMouseInteraction=isInteracting;break;case"focusin":case"focusout":this._hasKeyboardInteraction=isInteracting}isInteracting?this._clearTimeout():(event=event.relatedTarget,this._element===event||this._element.contains(event)||this._maybeScheduleHide())}_setListeners(){EventHandler.on(this._element,"mouseover.bs.toast",event=>this._onInteraction(event,!0)),EventHandler.on(this._element,"mouseout.bs.toast",event=>this._onInteraction(event,!1)),EventHandler.on(this._element,"focusin.bs.toast",event=>this._onInteraction(event,!0)),EventHandler.on(this._element,"focusout.bs.toast",event=>this._onInteraction(event,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(config){return this.each(function(){var data=Toast.getOrCreateInstance(this,config);if("string"==typeof config){if(void 0===data[config])throw new TypeError(`No method named "${config}"`);data[config](this)}})}}return enableDismissTrigger(Toast),defineJQueryPlugin(Toast),{Alert:Alert,Button:Button,Carousel:Carousel,Collapse:Collapse,Dropdown:Dropdown,Modal:Modal,Offcanvas:Offcanvas,Popover:Popover,ScrollSpy:ScrollSpy,Tab:Tab,Toast:Toast,Tooltip:Tooltip}});

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.