HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpamazingsecret/wp-content/themes/porto/js/bootstrap.min.js
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(e)&&n.push(i),i=i.parentNode;return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]}},e="transitionend",n=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},i=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e},s=t=>{const e=i(t);return e&&document.querySelector(e)?e:null},o=t=>{const e=i(t);return e?document.querySelector(e):null},r=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),s=Number.parseFloat(n);return i||s?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0},a=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),l=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?t.findOne(e):null,c=(t,n)=>{let i=!1;const s=n+5;t.addEventListener(e,(function n(){i=!0,t.removeEventListener(e,n)})),setTimeout((()=>{i||(t=>{t.dispatchEvent(new Event(e))})(t)}),s)},d=(t,e,n)=>{Object.keys(n).forEach((i=>{const s=n[i],o=e[i],r=o&&a(o)?"element":null==(l=o)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${s}".`)}))},h=t=>{if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t),n=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==n.display&&"hidden"!==e.visibility}return!1},f=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),u=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?u(t.parentNode):null},p=()=>{},m=t=>t.offsetHeight,g=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},_=()=>"rtl"===document.documentElement.dir,b=t=>{var e;e=()=>{const e=g();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()},v=t=>{"function"==typeof t&&t()},y=new Map;var w={set(t,e,n){y.has(t)||y.set(t,new Map);const i=y.get(t);i.has(e)||0===i.size?i.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>y.has(t)&&y.get(t).get(e)||null,remove(t,e){if(!y.has(t))return;const n=y.get(t);n.delete(e),0===n.size&&y.delete(t)}};const E=/[^.]*(?=\..*)\.|.*/,T=/\..*/,A=/::\d+$/,O={};let L=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},k=/^(mouseenter|mouseleave)/i,D=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 x(t,e){return e&&`${e}::${L++}`||t.uidEvent||L++}function N(t){const e=x(t);return t.uidEvent=e,O[e]=O[e]||{},O[e]}function S(t,e,n=null){const i=Object.keys(t);for(let s=0,o=i.length;s<o;s++){const o=t[i[s]];if(o.originalHandler===e&&o.delegationSelector===n)return o}return null}function j(t,e,n){const i="string"==typeof e,s=i?n:e;let o=I(t);return D.has(o)||(o=t),[i,s,o]}function M(t,e,n,i,s){if("string"!=typeof e||!t)return;if(n||(n=i,i=null),k.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};i?i=t(i):n=t(n)}const[o,r,a]=j(e,n,i),l=N(t),c=l[a]||(l[a]={}),d=S(c,r,o?n:null);if(d)return void(d.oneOff=d.oneOff&&s);const h=x(r,e.replace(E,"")),f=o?function(t,e,n){return function i(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(let a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,i.oneOff&&H.off(t,s.type,e,n),n.apply(r,[s]);return null}}(t,n,i):function(t,e){return function n(i){return i.delegateTarget=t,n.oneOff&&H.off(t,i.type,e),e.apply(t,[i])}}(t,n);f.delegationSelector=o?n:null,f.originalHandler=r,f.oneOff=s,f.uidEvent=h,c[h]=f,t.addEventListener(a,f,o)}function P(t,e,n,i,s){const o=S(e[n],i,s);o&&(t.removeEventListener(n,o,Boolean(s)),delete e[n][o.uidEvent])}function I(t){return t=t.replace(T,""),C[t]||t}const H={on(t,e,n,i){M(t,e,n,i,!1)},one(t,e,n,i){M(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[s,o,r]=j(e,n,i),a=r!==e,l=N(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void P(t,l,r,o,s?n:null)}c&&Object.keys(l).forEach((n=>{!function(t,e,n,i){const s=e[n]||{};Object.keys(s).forEach((o=>{if(o.includes(i)){const i=s[o];P(t,e,n,i.originalHandler,i.delegationSelector)}}))}(t,l,n,e.slice(1))}));const d=l[r]||{};Object.keys(d).forEach((n=>{const i=n.replace(A,"");if(!a||e.includes(i)){const e=d[n];P(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=g(),s=I(e),o=e!==s,r=D.has(s);let a,l=!0,c=!0,d=!1,h=null;return o&&i&&(a=i.Event(e,n),i(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),r?(h=document.createEvent("HTMLEvents"),h.initEvent(s,l,!0)):h=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((t=>{Object.defineProperty(h,t,{get:()=>n[t]})})),d&&h.preventDefault(),c&&t.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}};class R{constructor(t){(t=l(t))&&(this._element=t,w.set(this._element,this.constructor.DATA_KEY,this))}dispose(){w.remove(this._element,this.constructor.DATA_KEY),H.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,n=!0){if(!n)return void v(t);const i=r(e);H.one(e,"transitionend",(()=>v(t))),c(e,i)}static getInstance(t){return w.get(t,this.DATA_KEY)}static get VERSION(){return"5.0.1"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const $="bs.alert";class B extends R{static get NAME(){return"alert"}close(t){const e=t?this._getRootElement(t):this._element,n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)}_getRootElement(t){return o(t)||t.closest(".alert")}_triggerCloseEvent(t){return H.trigger(t,"close.bs.alert")}_removeElement(t){t.classList.remove("show");const e=t.classList.contains("fade");this._queueCallback((()=>this._destroyElement(t)),t,e)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),H.trigger(t,"closed.bs.alert")}static jQueryInterface(t){return this.each((function(){let e=w.get(this,$);e||(e=new B(this)),"close"===t&&e[t](this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}H.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',B.handleDismiss(new B)),b(B);const W="bs.button",q='[data-bs-toggle="button"]';class z extends R{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){let e=w.get(this,W);e||(e=new z(this)),"toggle"===t&&e[t]()}))}}function U(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function F(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}H.on(document,"click.bs.button.data-api",q,(t=>{t.preventDefault();const e=t.target.closest(q);let n=w.get(e,W);n||(n=new z(e)),n.toggle()})),b(z);const V={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${F(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${F(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=U(t.dataset[n])})),e},getDataAttribute:(t,e)=>U(t.getAttribute(`data-bs-${F(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},K="collapse",Y="bs.collapse",Q={toggle:!0,parent:""},G={toggle:"boolean",parent:"(string|element)"},X="show",Z="collapse",J="collapsing",tt="collapsed",et="width",nt='[data-bs-toggle="collapse"]';class it extends R{constructor(e,n){super(e),this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=t.find(`${nt}[href="#${this._element.id}"],${nt}[data-bs-target="#${this._element.id}"]`);const i=t.find(nt);for(let e=0,n=i.length;e<n;e++){const n=i[e],o=s(n),r=t.find(o).filter((t=>t===this._element));null!==o&&r.length&&(this._selector=o,this._triggerArray.push(n))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return Q}static get NAME(){return K}toggle(){this._element.classList.contains(X)?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains(X))return;let e,n;this._parent&&(e=t.find(".show, .collapsing",this._parent).filter((t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains(Z))),0===e.length&&(e=null));const i=t.findOne(this._selector);if(e){const t=e.find((t=>i!==t));if(n=t?w.get(t,Y):null,n&&n._isTransitioning)return}if(H.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e&&e.forEach((t=>{i!==t&&it.collapseInterface(t,"hide"),n||w.set(t,Y,null)}));const s=this._getDimension();this._element.classList.remove(Z),this._element.classList.add(J),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach((t=>{t.classList.remove(tt),t.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);const o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback((()=>{this._element.classList.remove(J),this._element.classList.add(Z,X),this._element.style[s]="",this.setTransitioning(!1),H.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._element.classList.contains(X))return;if(H.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,m(this._element),this._element.classList.add(J),this._element.classList.remove(Z,X);const e=this._triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this._triggerArray[t],n=o(e);n&&!n.classList.contains(X)&&(e.classList.add(tt),e.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="",this._queueCallback((()=>{this.setTransitioning(!1),this._element.classList.remove(J),this._element.classList.add(Z),H.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}setTransitioning(t){this._isTransitioning=t}_getConfig(t){return(t={...Q,...t}).toggle=Boolean(t.toggle),d(K,t,G),t}_getDimension(){return this._element.classList.contains(et)?et:"height"}_getParent(){let{parent:e}=this._config;e=l(e);const n=`${nt}[data-bs-parent="${e}"]`;return t.find(n,e).forEach((t=>{const e=o(t);this._addAriaAndCollapsedClass(e,[t])})),e}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const n=t.classList.contains(X);e.forEach((t=>{n?t.classList.remove(tt):t.classList.add(tt),t.setAttribute("aria-expanded",n)}))}static collapseInterface(t,e){let n=w.get(t,Y);const i={...Q,...V.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!n&&i.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),n||(n=new it(t,i)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){it.collapseInterface(this,t)}))}}H.on(document,"click.bs.collapse.data-api",nt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const n=V.getDataAttributes(this),i=s(this);t.find(i).forEach((t=>{const e=w.get(t,Y);let i;e?(null===e._parent&&"string"==typeof n.parent&&(e._config.parent=n.parent,e._parent=e._getParent()),i="toggle"):i=n,it.collapseInterface(t,i)}))})),b(it);var st="top",ot="bottom",rt="right",at="left",lt="auto",ct=[st,ot,rt,at],dt="start",ht="end",ft="clippingParents",ut="viewport",pt="popper",mt="reference",gt=ct.reduce((function(t,e){return t.concat([e+"-"+dt,e+"-"+ht])}),[]),_t=[].concat(ct,[lt]).reduce((function(t,e){return t.concat([e,e+"-"+dt,e+"-"+ht])}),[]),bt="beforeRead",vt="read",yt="afterRead",wt="beforeMain",Et="main",Tt="afterMain",At="beforeWrite",Ot="write",Lt="afterWrite",Ct=[bt,vt,yt,wt,Et,Tt,At,Ot,Lt];function kt(t){return t?(t.nodeName||"").toLowerCase():null}function Dt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function xt(t){return t instanceof Dt(t).Element||t instanceof Element}function Nt(t){return t instanceof Dt(t).HTMLElement||t instanceof HTMLElement}function St(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Dt(t).ShadowRoot||t instanceof ShadowRoot)}var jt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},s=e.elements[t];Nt(s)&&kt(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Nt(i)&&kt(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Mt(t){return t.split("-")[0]}function Pt(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function It(t){var e=Pt(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Ht(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&St(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Rt(t){return Dt(t).getComputedStyle(t)}function $t(t){return["table","td","th"].indexOf(kt(t))>=0}function Bt(t){return((xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Wt(t){return"html"===kt(t)?t:t.assignedSlot||t.parentNode||(St(t)?t.host:null)||Bt(t)}function qt(t){return Nt(t)&&"fixed"!==Rt(t).position?t.offsetParent:null}function zt(t){for(var e=Dt(t),n=qt(t);n&&$t(n)&&"static"===Rt(n).position;)n=qt(n);return n&&("html"===kt(n)||"body"===kt(n)&&"static"===Rt(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Nt(t)&&"fixed"===Rt(t).position)return null;for(var n=Wt(t);Nt(n)&&["html","body"].indexOf(kt(n))<0;){var i=Rt(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function Ut(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var Ft=Math.max,Vt=Math.min,Kt=Math.round;function Yt(t,e,n){return Ft(t,Vt(e,n))}function Qt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Gt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var Xt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,s=t.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Mt(n.placement),l=Ut(a),c=[at,rt].indexOf(a)>=0?"height":"width";if(o&&r){var d=function(t,e){return Qt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Gt(t,ct))}(s.padding,n),h=It(o),f="y"===l?st:at,u="y"===l?ot:rt,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],m=r[l]-n.rects.reference[l],g=zt(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=d[f],y=_-h[c]-d[u],w=_/2-h[c]/2+b,E=Yt(v,w,y),T=l;n.modifiersData[i]=((e={})[T]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Ht(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Zt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jt(t){var e,n=t.popper,i=t.popperRect,s=t.placement,o=t.offsets,r=t.position,a=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,d=!0===c?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Kt(Kt(e*i)/i)||0,y:Kt(Kt(n*i)/i)||0}}(o):"function"==typeof c?c(o):o,h=d.x,f=void 0===h?0:h,u=d.y,p=void 0===u?0:u,m=o.hasOwnProperty("x"),g=o.hasOwnProperty("y"),_=at,b=st,v=window;if(l){var y=zt(n),w="clientHeight",E="clientWidth";y===Dt(n)&&"static"!==Rt(y=Bt(n)).position&&(w="scrollHeight",E="scrollWidth"),y=y,s===st&&(b=ot,p-=y[w]-i.height,p*=a?1:-1),s===at&&(_=rt,f-=y[E]-i.width,f*=a?1:-1)}var T,A=Object.assign({position:r},l&&Zt);return a?Object.assign({},A,((T={})[b]=g?"0":"",T[_]=m?"0":"",T.transform=(v.devicePixelRatio||1)<2?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",T)):Object.assign({},A,((e={})[b]=g?p+"px":"",e[_]=m?f+"px":"",e.transform="",e))}var te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,s=void 0===i||i,o=n.adaptive,r=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:Mt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Jt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Jt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},ee={passive:!0};var ne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,s=i.scroll,o=void 0===s||s,r=i.resize,a=void 0===r||r,l=Dt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,ee)})),a&&l.addEventListener("resize",n.update,ee),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,ee)})),a&&l.removeEventListener("resize",n.update,ee)}},data:{}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function se(t){return t.replace(/left|right|bottom|top/g,(function(t){return ie[t]}))}var oe={start:"end",end:"start"};function re(t){return t.replace(/start|end/g,(function(t){return oe[t]}))}function ae(t){var e=Dt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function le(t){return Pt(Bt(t)).left+ae(t).scrollLeft}function ce(t){var e=Rt(t),n=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function de(t){return["html","body","#document"].indexOf(kt(t))>=0?t.ownerDocument.body:Nt(t)&&ce(t)?t:de(Wt(t))}function he(t,e){var n;void 0===e&&(e=[]);var i=de(t),s=i===(null==(n=t.ownerDocument)?void 0:n.body),o=Dt(i),r=s?[o].concat(o.visualViewport||[],ce(i)?i:[]):i,a=e.concat(r);return s?a:a.concat(he(Wt(r)))}function fe(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ue(t,e){return e===ut?fe(function(t){var e=Dt(t),n=Bt(t),i=e.visualViewport,s=n.clientWidth,o=n.clientHeight,r=0,a=0;return i&&(s=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=i.offsetLeft,a=i.offsetTop)),{width:s,height:o,x:r+le(t),y:a}}(t)):Nt(e)?function(t){var e=Pt(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):fe(function(t){var e,n=Bt(t),i=ae(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=Ft(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ft(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+le(t),l=-i.scrollTop;return"rtl"===Rt(s||n).direction&&(a+=Ft(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Bt(t)))}function pe(t,e,n){var i="clippingParents"===e?function(t){var e=he(Wt(t)),n=["absolute","fixed"].indexOf(Rt(t).position)>=0&&Nt(t)?zt(t):t;return xt(n)?e.filter((function(t){return xt(t)&&Ht(t,n)&&"body"!==kt(t)})):[]}(t):[].concat(e),s=[].concat(i,[n]),o=s[0],r=s.reduce((function(e,n){var i=ue(t,n);return e.top=Ft(i.top,e.top),e.right=Vt(i.right,e.right),e.bottom=Vt(i.bottom,e.bottom),e.left=Ft(i.left,e.left),e}),ue(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function me(t){return t.split("-")[1]}function ge(t){var e,n=t.reference,i=t.element,s=t.placement,o=s?Mt(s):null,r=s?me(s):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case st:e={x:a,y:n.y-i.height};break;case ot:e={x:a,y:n.y+n.height};break;case rt:e={x:n.x+n.width,y:l};break;case at:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=o?Ut(o):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case dt:e[c]=e[c]-(n[d]/2-i[d]/2);break;case ht:e[c]=e[c]+(n[d]/2-i[d]/2)}}return e}function _e(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=void 0===i?t.placement:i,o=n.boundary,r=void 0===o?ft:o,a=n.rootBoundary,l=void 0===a?ut:a,c=n.elementContext,d=void 0===c?pt:c,h=n.altBoundary,f=void 0!==h&&h,u=n.padding,p=void 0===u?0:u,m=Qt("number"!=typeof p?p:Gt(p,ct)),g=d===pt?mt:pt,_=t.elements.reference,b=t.rects.popper,v=t.elements[f?g:d],y=pe(xt(v)?v:v.contextElement||Bt(t.elements.popper),r,l),w=Pt(_),E=ge({reference:w,element:b,strategy:"absolute",placement:s}),T=fe(Object.assign({},b,E)),A=d===pt?T:w,O={top:y.top-A.top+m.top,bottom:A.bottom-y.bottom+m.bottom,left:y.left-A.left+m.left,right:A.right-y.right+m.right},L=t.modifiersData.offset;if(d===pt&&L){var C=L[s];Object.keys(O).forEach((function(t){var e=[rt,ot].indexOf(t)>=0?1:-1,n=[st,ot].indexOf(t)>=0?"y":"x";O[t]+=C[n]*e}))}return O}function be(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?_t:l,d=me(i),h=d?a?gt:gt.filter((function(t){return me(t)===d})):ct,f=h.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=h);var u=f.reduce((function(e,n){return e[n]=_e(t,{placement:n,boundary:s,rootBoundary:o,padding:r})[Mt(n)],e}),{});return Object.keys(u).sort((function(t,e){return u[t]-u[e]}))}var ve={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,d=n.boundary,h=n.rootBoundary,f=n.altBoundary,u=n.flipVariations,p=void 0===u||u,m=n.allowedAutoPlacements,g=e.options.placement,_=Mt(g),b=l||(_===g||!p?[se(g)]:function(t){if(Mt(t)===lt)return[];var e=se(t);return[re(t),e,re(e)]}(g)),v=[g].concat(b).reduce((function(t,n){return t.concat(Mt(n)===lt?be(e,{placement:n,boundary:d,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,T=!0,A=v[0],O=0;O<v.length;O++){var L=v[O],C=Mt(L),k=me(L)===dt,D=[st,ot].indexOf(C)>=0,x=D?"width":"height",N=_e(e,{placement:L,boundary:d,rootBoundary:h,altBoundary:f,padding:c}),S=D?k?rt:at:k?ot:st;y[x]>w[x]&&(S=se(S));var j=se(S),M=[];if(o&&M.push(N[C]<=0),a&&M.push(N[S]<=0,N[j]<=0),M.every((function(t){return t}))){A=L,T=!1;break}E.set(L,M)}if(T)for(var P=function(t){var e=v.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return A=e,"break"},I=p?3:1;I>0;I--){if("break"===P(I))break}e.placement!==A&&(e.modifiersData[i]._skip=!0,e.placement=A,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function we(t){return[st,rt,ot,at].some((function(e){return t[e]>=0}))}var Ee={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=_e(e,{elementContext:"reference"}),a=_e(e,{altBoundary:!0}),l=ye(r,i),c=ye(a,s,o),d=we(l),h=we(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}};var Te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,s=n.offset,o=void 0===s?[0,0]:s,r=_t.reduce((function(t,n){return t[n]=function(t,e,n){var i=Mt(t),s=[at,st].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[at,rt].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=r}};var Ae={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=ge({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,s=n.mainAxis,o=void 0===s||s,r=n.altAxis,a=void 0!==r&&r,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,h=n.padding,f=n.tether,u=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,g=_e(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),_=Mt(e.placement),b=me(e.placement),v=!b,y=Ut(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,T=e.rects.reference,A=e.rects.popper,O="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,L={x:0,y:0};if(E){if(o||a){var C="y"===y?st:at,k="y"===y?ot:rt,D="y"===y?"height":"width",x=E[y],N=E[y]+g[C],S=E[y]-g[k],j=u?-A[D]/2:0,M=b===dt?T[D]:A[D],P=b===dt?-A[D]:-T[D],I=e.elements.arrow,H=u&&I?It(I):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=R[C],B=R[k],W=Yt(0,T[D],H[D]),q=v?T[D]/2-j-W-$-O:M-W-$-O,z=v?-T[D]/2+j+W+B+O:P+W+B+O,U=e.elements.arrow&&zt(e.elements.arrow),F=U?"y"===y?U.clientTop||0:U.clientLeft||0:0,V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,K=E[y]+q-V-F,Y=E[y]+z-V;if(o){var Q=Yt(u?Vt(N,K):N,x,u?Ft(S,Y):S);E[y]=Q,L[y]=Q-x}if(a){var G="x"===y?st:at,X="x"===y?ot:rt,Z=E[w],J=Z+g[G],tt=Z-g[X],et=Yt(u?Vt(J,K):J,Z,u?Ft(tt,Y):tt);E[w]=et,L[w]=et-Z}}e.modifiersData[i]=L}},requiresIfExists:["offset"]};function Le(t,e,n){void 0===n&&(n=!1);var i,s,o=Bt(e),r=Pt(t),a=Nt(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==kt(e)||ce(o))&&(l=(i=e)!==Dt(i)&&Nt(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:ae(i)),Nt(e)?((c=Pt(e)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=le(o))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}function Ce(t){var e=new Map,n=new Set,i=[];function s(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&s(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||s(t)})),i}var ke={placement:"bottom",modifiers:[],strategy:"absolute"};function De(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function xe(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,s=e.defaultOptions,o=void 0===s?ke:s;return function(t,e,n){void 0===n&&(n=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ke,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(n){h(),a.options=Object.assign({},o,a.options,n),a.scrollParents={reference:xt(t)?he(t):t.contextElement?he(t.contextElement):[],popper:he(e)};var s,r,c=function(t){var e=Ce(t);return Ct.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),r=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(r).map((function(t){return r[t]}))));return a.orderedModifiers=c.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:d,options:i}),r=function(){};l.push(o||r)}})),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,n=t.popper;if(De(e,n)){a.rects={reference:Le(e,zt(n),"fixed"===a.options.strategy),popper:It(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,r=s.options,l=void 0===r?{}:r,h=s.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,instance:d})||a)}else a.reset=!1,i=-1}}},update:(s=function(){return new Promise((function(t){d.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){h(),c=!0}};if(!De(t,e))return d;function h(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),d}}var Ne=xe(),Se=xe({defaultModifiers:[ne,Ae,te,jt]}),je=xe({defaultModifiers:[ne,Ae,te,jt,Te,ve,Oe,Xt,Ee]}),Me=Object.freeze({__proto__:null,popperGenerator:xe,detectOverflow:_e,createPopperBase:Ne,createPopper:je,createPopperLite:Se,top:st,bottom:ot,right:rt,left:at,auto:lt,basePlacements:ct,start:dt,end:ht,clippingParents:ft,viewport:ut,popper:pt,reference:mt,variationPlacements:gt,placements:_t,beforeRead:bt,read:vt,afterRead:yt,beforeMain:wt,main:Et,afterMain:Tt,beforeWrite:At,write:Ot,afterWrite:Lt,modifierPhases:Ct,applyStyles:jt,arrow:Xt,computeStyles:te,eventListeners:ne,flip:ve,hide:Ee,offset:Te,popperOffsets:Ae,preventOverflow:Oe});const Pe="dropdown",Ie="bs.dropdown",He="Escape",Re="Space",$e="ArrowUp",Be="ArrowDown",We=new RegExp("ArrowUp|ArrowDown|Escape"),qe="click.bs.dropdown.data-api",ze="keydown.bs.dropdown.data-api",Ue="show",Fe='[data-bs-toggle="dropdown"]',Ve=".dropdown-menu",Ke=_()?"top-end":"top-start",Ye=_()?"top-start":"top-end",Qe=_()?"bottom-end":"bottom-start",Ge=_()?"bottom-start":"bottom-end",Xe=_()?"left-start":"right-start",Ze=_()?"right-start":"left-start",Je={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},tn={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class en extends R{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return Je}static get DefaultType(){return tn}static get NAME(){return Pe}toggle(){if(f(this._element))return;this._element.classList.contains(Ue)?this.hide():this.show()}show(){if(f(this._element)||this._menu.classList.contains(Ue))return;const t=en.getParentFromElement(this._element),e={relatedTarget:this._element};if(!H.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._inNavbar)V.setDataAttribute(this._menu,"popper","none");else{if(void 0===Me)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:a(this._config.reference)?e=l(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=je(e,this._menu,n),i&&V.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>H.on(t,"mouseover",p))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle(Ue),this._element.classList.toggle(Ue),H.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(f(this._element)||!this._menu.classList.contains(Ue))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){H.on(this._element,"click.bs.dropdown",(t=>{t.preventDefault(),this.toggle()}))}_completeHide(t){H.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>H.off(t,"mouseover",p))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Ue),this._element.classList.remove(Ue),this._element.setAttribute("aria-expanded","false"),V.removeDataAttribute(this._menu,"popper"),H.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...V.getDataAttributes(this._element),...t},d(Pe,t,this.constructor.DefaultType),"object"==typeof t.reference&&!a(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Pe.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_getMenuElement(){return t.next(this._element,Ve)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return Xe;if(t.classList.contains("dropstart"))return Ze;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Ye:Ke:e?Ge:Qe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem(e){const n=t.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(h);if(!n.length)return;let i=n.indexOf(e.target);e.key===$e&&i>0&&i--,e.key===Be&&i<n.length-1&&i++,i=-1===i?0:i,n[i].focus()}static dropdownInterface(t,e){let n=w.get(t,Ie);if(n||(n=new en(t,"object"==typeof e?e:null)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){en.dropdownInterface(this,t)}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const n=t.find(Fe);for(let t=0,i=n.length;t<i;t++){const i=w.get(n[t],Ie);if(!i||!1===i._config.autoClose)continue;if(!i._element.classList.contains(Ue))continue;const s={relatedTarget:i._element};if(e){const t=e.composedPath(),n=t.includes(i._menu);if(t.includes(i._element)||"inside"===i._config.autoClose&&!n||"outside"===i._config.autoClose&&n)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(s.clickEvent=e)}i._completeHide(s)}}static getParentFromElement(t){return o(t)||t.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Re||e.key!==He&&(e.key!==Be&&e.key!==$e||e.target.closest(Ve)):!We.test(e.key))return;const n=this.classList.contains(Ue);if(!n&&e.key===He)return;if(e.preventDefault(),e.stopPropagation(),f(this))return;const i=()=>this.matches(Fe)?this:t.prev(this,Fe)[0];if(e.key===He)return i().focus(),void en.clearMenus();n||e.key!==$e&&e.key!==Be?n&&e.key!==Re?en.getInstance(i())._selectMenuItem(e):en.clearMenus():i().click()}}H.on(document,ze,Fe,en.dataApiKeydownHandler),H.on(document,ze,Ve,en.dataApiKeydownHandler),H.on(document,qe,en.clearMenus),H.on(document,"keyup.bs.dropdown.data-api",en.clearMenus),H.on(document,qe,Fe,(function(t){t.preventDefault(),en.dropdownInterface(this)})),b(en);const nn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",sn=".sticky-top",on=()=>{const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)},rn=(t=on())=>{an(),ln("body","paddingRight",(e=>e+t)),ln(nn,"paddingRight",(e=>e+t)),ln(sn,"marginRight",(e=>e-t))},an=()=>{const t=document.body.style.overflow;t&&V.setDataAttribute(document.body,"overflow",t),document.body.style.overflow="hidden"},ln=(e,n,i)=>{const s=on();t.find(e).forEach((t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+s)return;const e=t.style[n],o=window.getComputedStyle(t)[n];V.setDataAttribute(t,n,e),t.style[n]=`${i(Number.parseFloat(o))}px`}))},cn=()=>{dn("body","overflow"),dn("body","paddingRight"),dn(nn,"paddingRight"),dn(sn,"marginRight")},dn=(e,n)=>{t.find(e).forEach((t=>{const e=V.getDataAttribute(t,n);void 0===e?t.style.removeProperty(n):(V.removeDataAttribute(t,n),t.style[n]=e)}))},hn={isVisible:!0,isAnimated:!1,rootElement:document.body,clickCallback:null},fn={isVisible:"boolean",isAnimated:"boolean",rootElement:"element",clickCallback:"(function|null)"},un="backdrop",pn="show",mn="mousedown.bs.backdrop";class gn{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&m(this._getElement()),this._getElement().classList.add(pn),this._emulateAnimation((()=>{v(t)}))):v(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(pn),this._emulateAnimation((()=>{this.dispose(),v(t)}))):v(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className="modal-backdrop",this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...hn,..."object"==typeof t?t:{}}).rootElement=t.rootElement||document.body,d(un,t,fn),t}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),H.on(this._getElement(),mn,(()=>{v(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(H.off(this._element,mn),this._getElement().parentNode.removeChild(this._element),this._isAppended=!1)}_emulateAnimation(t){if(!this._config.isAnimated)return void v(t);const e=r(this._getElement());H.one(this._getElement(),"transitionend",(()=>v(t))),c(this._getElement(),e)}}const _n="modal",bn=".bs.modal",vn="Escape",yn={backdrop:!0,keyboard:!0,focus:!0},wn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},En="hidden.bs.modal",Tn="show.bs.modal",An="focusin.bs.modal",On="resize.bs.modal",Ln="click.dismiss.bs.modal",Cn="keydown.dismiss.bs.modal",kn="mousedown.dismiss.bs.modal",Dn="modal-open",xn="show",Nn="modal-static";class Sn extends R{constructor(e,n){super(e),this._config=this._getConfig(n),this._dialog=t.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1}static get Default(){return yn}static get NAME(){return _n}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;this._isAnimated()&&(this._isTransitioning=!0);const e=H.trigger(this._element,Tn,{relatedTarget:t});this._isShown||e.defaultPrevented||(this._isShown=!0,rn(),document.body.classList.add(Dn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),H.on(this._element,Ln,'[data-bs-dismiss="modal"]',(t=>this.hide(t))),H.on(this._dialog,kn,(()=>{H.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(H.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),H.off(document,An),this._element.classList.remove(xn),H.off(this._element,Ln),H.off(this._dialog,kn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((t=>H.off(t,bn))),this._backdrop.dispose(),super.dispose(),H.off(document,An)}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new gn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(t){return t={...yn,...V.getDataAttributes(this._element),...t},d(_n,t,wn),t}_showElement(e){const n=this._isAnimated(),i=t.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),n&&m(this._element),this._element.classList.add(xn),this._config.focus&&this._enforceFocus();this._queueCallback((()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,H.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,n)}_enforceFocus(){H.off(document,An),H.on(document,An,(t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()}))}_setEscapeEvent(){this._isShown?H.on(this._element,Cn,(t=>{this._config.keyboard&&t.key===vn?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==vn||this._triggerBackdropTransition()})):H.off(this._element,Cn)}_setResizeEvent(){this._isShown?H.on(window,On,(()=>this._adjustDialog())):H.off(window,On)}_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(Dn),this._resetAdjustments(),cn(),H.trigger(this._element,En)}))}_showBackdrop(t){H.on(this._element,Ln,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(H.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add(Nn);const e=r(this._dialog);H.off(this._element,"transitionend"),H.one(this._element,"transitionend",(()=>{this._element.classList.remove(Nn),t||(H.one(this._element,"transitionend",(()=>{this._element.style.overflowY=""})),c(this._element,e))})),c(this._element,e),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=on(),n=e>0;(!n&&t&&!_()||n&&!t&&_())&&(this._element.style.paddingLeft=`${e}px`),(n&&!t&&!_()||!n&&t&&_())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=Sn.getInstance(this)||new Sn(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}H.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=o(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),H.one(e,Tn,(t=>{t.defaultPrevented||H.one(e,En,(()=>{h(this)&&this.focus()}))}));(Sn.getInstance(e)||new Sn(e)).toggle(this)})),b(Sn);const jn="offcanvas",Mn="bs.offcanvas",Pn={backdrop:!0,keyboard:!0,scroll:!1},In={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Hn="show",Rn=".offcanvas.show",$n="hidden.bs.offcanvas",Bn="focusin.bs.offcanvas";class Wn extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._addEventListeners()}static get NAME(){return jn}static get Default(){return Pn}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(H.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(rn(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Hn);this._queueCallback((()=>{H.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(H.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;H.off(document,Bn),this._element.blur(),this._isShown=!1,this._element.classList.remove(Hn),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||cn(),H.trigger(this._element,$n)}),this._element,!0)}dispose(){this._backdrop.dispose(),super.dispose(),H.off(document,Bn)}_getConfig(t){return t={...Pn,...V.getDataAttributes(this._element),..."object"==typeof t?t:{}},d(jn,t,In),t}_initializeBackDrop(){return new gn({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){H.off(document,Bn),H.on(document,Bn,(e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()})),t.focus()}_addEventListeners(){H.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',(()=>this.hide())),H.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=w.get(this,Mn)||new Wn(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}H.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const n=o(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),f(this))return;H.one(n,$n,(()=>{h(this)&&this.focus()}));const i=t.findOne(Rn);i&&i!==n&&Wn.getInstance(i).hide();(w.get(n,Mn)||new Wn(n)).toggle(this)})),H.on(window,"load.bs.offcanvas.data-api",(()=>{t.find(Rn).forEach((t=>(w.get(t,Mn)||new Wn(t)).show()))})),b(Wn);const qn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Un=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Fn=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n))return!qn.has(n)||Boolean(zn.test(t.nodeValue)||Un.test(t.nodeValue));const i=e.filter((t=>t instanceof RegExp));for(let t=0,e=i.length;t<e;t++)if(i[t].test(n))return!0;return!1},Vn={"*":["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:[]};function Kn(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),s=Object.keys(e),o=[].concat(...i.body.querySelectorAll("*"));for(let t=0,n=o.length;t<n;t++){const n=o[t],i=n.nodeName.toLowerCase();if(!s.includes(i)){n.parentNode.removeChild(n);continue}const r=[].concat(...n.attributes),a=[].concat(e["*"]||[],e[i]||[]);r.forEach((t=>{Fn(t,a)||n.removeAttribute(t.nodeName)}))}return i.body.innerHTML}const Yn="tooltip",Qn="bs.tooltip",Gn=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Xn=new Set(["sanitize","allowList","sanitizeFn"]),Zn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Jn={AUTO:"auto",TOP:"top",RIGHT:_()?"left":"right",BOTTOM:"bottom",LEFT:_()?"right":"left"},ti={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Vn,popperConfig:null},ei={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ni="fade",ii="show",si="show",oi="out",ri="hover",ai="focus";class li extends R{constructor(t,e){if(void 0===Me)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return ti}static get NAME(){return Yn}static get Event(){return ei}static get DefaultType(){return Zn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(ii))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),H.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=H.trigger(this._element,this.constructor.Event.SHOW),e=u(this._element),i=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!i)return;const s=this.getTipElement(),o=n(this.constructor.NAME);s.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this.setContent(),this._config.animation&&s.classList.add(ni);const r="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:l}=this._config;w.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.appendChild(s),H.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=je(this._element,s,this._getPopperConfig(a)),s.classList.add(ii);const c="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass;c&&s.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{H.on(t,"mouseover",p)}));const d=this.tip.classList.contains(ni);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,H.trigger(this._element,this.constructor.Event.SHOWN),t===oi&&this._leave(null,this)}),this.tip,d)}hide(){if(!this._popper)return;const t=this.getTipElement();if(H.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(ii),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>H.off(t,"mouseover",p))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(ni);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==si&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),H.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this._config.template,this.tip=t.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(t.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove(ni,ii)}setElementContent(t,e){if(null!==t)return a(e)?(e=l(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Kn(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this._config.title?this._config.title.call(this._element):this._config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const n=this.constructor.DATA_KEY;return(e=e||w.get(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),w.set(t.delegateTarget,n,e)),e}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(t){const e={placement:t,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:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`bs-tooltip-${this.updateAttachment(t)}`)}_getAttachment(t){return Jn[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)H.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===ri?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=t===ri?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;H.on(this._element,e,this._config.selector,(t=>this._enter(t))),H.on(this._element,n,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},H.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?ai:ri]=!0),e.getTipElement().classList.contains(ii)||e._hoverState===si?e._hoverState=si:(clearTimeout(e._timeout),e._hoverState=si,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===si&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?ai:ri]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=oi,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===oi&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=V.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Xn.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:l(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),d(Yn,t,this.constructor.DefaultType),t.sanitize&&(t.template=Kn(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this._config)for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Gn);null!==e&&e.length>0&&e.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){let e=w.get(this,Qn);const n="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new li(this,n)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}b(li);const ci="bs.popover",di=new RegExp("(^|\\s)bs-popover\\S+","g"),hi={...li.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},fi={...li.DefaultType,content:"(string|element|function)"},ui={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class pi extends li{static get Default(){return hi}static get NAME(){return"popover"}static get Event(){return ui}static get DefaultType(){return fi}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const e=this.getTipElement();this.setElementContent(t.findOne(".popover-header",e),this.getTitle());let n=this._getContent();"function"==typeof n&&(n=n.call(this._element)),this.setElementContent(t.findOne(".popover-body",e),n),e.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add(`bs-popover-${this.updateAttachment(t)}`)}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(di);null!==e&&e.length>0&&e.map((t=>t.trim())).forEach((e=>t.classList.remove(e)))}static jQueryInterface(t){return this.each((function(){let e=w.get(this,ci);const n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new pi(this,n),w.set(this,ci,e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}b(pi);const mi="scrollspy",gi=".bs.scrollspy",_i={offset:10,method:"auto",target:""},bi={offset:"number",method:"string",target:"(string|element)"},vi="dropdown-item",yi="active",wi=".nav-link",Ei="position";class Ti extends R{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,H.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return _i}static get NAME(){return mi}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Ei,n="auto"===this._config.method?e:this._config.method,i=n===Ei?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();t.find(this._selector).map((e=>{const o=s(e),r=o?t.findOne(o):null;if(r){const t=r.getBoundingClientRect();if(t.width||t.height)return this._scrollElement===this._scrollElement.window&&"offset"==n?[t.top+this._scrollElement.window.pageYOffset+i,o]:[V[n](r).top+i,o]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){H.off(this._scrollElement,gi),super.dispose()}_getConfig(t){if("string"!=typeof(t={..._i,...V.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target&&a(t.target)){let{id:e}=t.target;e||(e=n(mi),t.target.id=e),t.target=`#${e}`}return d(mi,t,bi),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;){this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}}_activate(e){this._activeTarget=e,this._clear();const n=this._selector.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),i=t.findOne(n.join(","));i.classList.contains(vi)?(t.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(yi),i.classList.add(yi)):(i.classList.add(yi),t.parents(i,".nav, .list-group").forEach((e=>{t.prev(e,".nav-link, .list-group-item").forEach((t=>t.classList.add(yi))),t.prev(e,".nav-item").forEach((e=>{t.children(e,wi).forEach((t=>t.classList.add(yi)))}))}))),H.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){t.find(this._selector).filter((t=>t.classList.contains(yi))).forEach((t=>t.classList.remove(yi)))}static jQueryInterface(t){return this.each((function(){const e=Ti.getInstance(this)||new Ti(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}H.on(window,"load.bs.scrollspy.data-api",(()=>{t.find('[data-bs-spy="scroll"]').forEach((t=>new Ti(t)))})),b(Ti);const Ai="bs.tab",Oi="active",Li="fade",Ci="show",ki=".active",Di=":scope > li > .active";class xi extends R{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Oi))return;let e;const n=o(this._element),i=this._element.closest(".nav, .list-group");if(i){const n="UL"===i.nodeName||"OL"===i.nodeName?Di:ki;e=t.find(n,i),e=e[e.length-1]}const s=e?H.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(H.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,i);const r=()=>{H.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),H.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};n?this._activate(n,n.parentNode,r):r()}_activate(e,n,i){const s=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t.children(n,ki):t.find(Di,n))[0],o=i&&s&&s.classList.contains(Li),r=()=>this._transitionComplete(e,s,i);s&&o?(s.classList.remove(Ci),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,n,i){if(n){n.classList.remove(Oi);const e=t.findOne(":scope > .dropdown-menu .active",n.parentNode);e&&e.classList.remove(Oi),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}e.classList.add(Oi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m(e),e.classList.contains(Li)&&e.classList.add(Ci);let s=e.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")){const n=e.closest(".dropdown");n&&t.find(".dropdown-toggle",n).forEach((t=>t.classList.add(Oi))),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=w.get(this,Ai)||new xi(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}H.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),f(this))return;(w.get(this,Ai)||new xi(this)).show()})),b(xi);const Ni="toast",Si="bs.toast",ji="hide",Mi="show",Pi="showing",Ii={animation:"boolean",autohide:"boolean",delay:"number"},Hi={animation:!0,autohide:!0,delay:5e3};class Ri extends R{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Ii}static get Default(){return Hi}static get NAME(){return Ni}show(){if(H.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ji),m(this._element),this._element.classList.add(Pi),this._queueCallback((()=>{this._element.classList.remove(Pi),this._element.classList.add(Mi),H.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Mi))return;if(H.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.remove(Mi),this._queueCallback((()=>{this._element.classList.add(ji),H.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Mi)&&this._element.classList.remove(Mi),super.dispose()}_getConfig(t){return t={...Hi,...V.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},d(Ni,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){H.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',(()=>this.hide())),H.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),H.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),H.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),H.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){let e=w.get(this,Si);if(e||(e=new Ri(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return b(Ri),{Alert:B,Button:z,Collapse:it,Dropdown:en,Modal:Sn,Offcanvas:Wn,Popover:pi,ScrollSpy:Ti,Tab:xi,Toast:Ri,Tooltip:li}}));