!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const s=new Map,D={set(e,t,i){s.has(e)||s.set(e,new Map);e=s.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get(e,t){return s.has(e)&&s.get(e).get(t)||null},remove(e,t){var i;s.has(e)&&((i=s.get(e)).delete(t),0===i.size)&&s.delete(e)}},j=1e3,N="transitionend",F=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,H=e=>{e.dispatchEvent(new Event(N))},r=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,n=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&0{if(!r(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){e=e.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return t},o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),q=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?q(e.parentNode):null:null},B=()=>{},R=e=>{e.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Y=[],l=()=>"rtl"===document.documentElement.dir;var e=s=>{var e;e=()=>{const e=W();if(e){const t=s.NAME,i=e.fn[t];e.fn[t]=s.jQueryInterface,e.fn[t].Constructor=s,e.fn[t].noConflict=()=>(e.fn[t]=i,s.jQueryInterface)}},"loading"===document.readyState?(Y.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Y)e()}),Y.push(e)):e()};const c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,V=(i,s,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),s=Number.parseFloat(i);return e||s?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*j):0})(s)+5;let t=!1;const n=({target:e})=>{e===s&&(t=!0,s.removeEventListener(N,n),c(i))};s.addEventListener(N,n),setTimeout(()=>{t||H(s)},e)}else c(i)},X=(e,t,i,s)=>{var n=e.length;let r=e.indexOf(t);return-1===r?!i&&s?e[n-1]:e[0]:(r+=i?1:-1,s&&(r=(r+n)%n),e[Math.max(0,Math.min(r,n-1))])},G=/[^.]*(?=\..*)\.|.*/,U=/\..*/,Q=/::\d+$/,K={};let Z=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},ee=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 te(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function ie(e){var t=te(e);return e.uidEvent=t,K[t]=K[t]||{},K[t]}function se(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function ne(e,t,i){var s="string"==typeof t,t=!s&&t||i;let n=oe(e);return[s,t,n=ee.has(n)?n:e]}function re(s,n,r,a,o){if("string"==typeof n&&s){let[e,t,i]=ne(n,r,a);n in J&&(t=(l=t,function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}));var l,c,d,u,h,p,a=ie(s),a=a[i]||(a[i]={}),m=se(a,t,e?r:null);m?m.oneOff=m.oneOff&&o:(m=te(t,n.replace(G,"")),(n=e?(u=s,h=r,p=t,function t(i){var s=u.querySelectorAll(h);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const n of s)if(n===e)return le(i,{delegateTarget:e}),t.oneOff&&f.off(u,i.type,h,p),p.apply(e,[i])}):(c=s,d=t,function e(t){return le(t,{delegateTarget:c}),e.oneOff&&f.off(c,t.type,d),d.apply(c,[t])})).delegationSelector=e?r:null,n.callable=t,n.oneOff=o,a[n.uidEvent=m]=n,s.addEventListener(i,n,e))}}function ae(e,t,i,s,n){s=se(t[i],s,n);s&&(e.removeEventListener(i,s,Boolean(n)),delete t[i][s.uidEvent])}function oe(e){return e=e.replace(U,""),J[e]||e}const f={on(e,t,i,s){re(e,t,i,s,!1)},one(e,t,i,s){re(e,t,i,s,!0)},off(e,t,i,s){if("string"==typeof t&&e){var n,r,[s,a,o]=ne(t,i,s),l=o!==t,c=ie(e),d=c[o]||{},u=t.startsWith(".");if(void 0!==a)return Object.keys(d).length?void ae(e,c,o,a,s?i:null):void 0;if(u)for(const w of Object.keys(c)){p=h=y=v=g=f=m=void 0;var h,p,m=e,f=c,g=w,v=t.slice(1),y=f[g]||{};for([h,p]of Object.entries(y))h.includes(v)&&ae(m,f,g,p.callable,p.delegationSelector)}for([n,r]of Object.entries(d)){var b=n.replace(Q,"");l&&!t.includes(b)||ae(e,c,o,r.callable,r.delegationSelector)}}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var s=W();let n=null,r=!0,a=!0,o=!1;t!==oe(t)&&s&&(n=s.Event(t,i),s(e).trigger(n),r=!n.isPropagationStopped(),a=!n.isImmediatePropagationStopped(),o=n.isDefaultPrevented());s=le(new Event(t,{bubbles:r,cancelable:!0}),i);return o&&s.preventDefault(),a&&e.dispatchEvent(s),s.defaultPrevented&&n&&n.preventDefault(),s}};function le(t,e={}){for(const[i,s]of Object.entries(e))try{t[i]=s}catch(e){Object.defineProperty(t,i,{configurable:!0,get(){return s}})}return t}function ce(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function de(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+de(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+de(t))},getDataAttributes(t){if(!t)return{};var i={};for(const s of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=s.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=ce(t.dataset[s])}return i},getDataAttribute(e,t){return ce(e.getAttribute("data-bs-"+de(t)))}};class ue{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=r(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...r(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,s]of Object.entries(t)){var n=e[i],n=r(n)?"element":null==(n=n)?""+n:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(n))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${n}" but expected type "${s}".`)}}}class t extends ue{constructor(e,t){super(),(e=n(e))&&(this._element=e,this._config=this._getConfig(t),D.set(this._element,this.constructor.DATA_KEY,this))}dispose(){D.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){V(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return D.get(n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.1"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const he=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?e.trim():null}return F(i)},u={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){var i=[];let s=e.parentNode.closest(t);for(;s;)i.push(s),s=s.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!o(e)&&a(e))},getSelectorFromElement(e){e=he(e);return e&&u.findOne(e)?e:null},getElementFromSelector(e){e=he(e);return e?u.findOne(e):null},getMultipleElementsFromSelector(e){e=he(e);return e?u.find(e):[]}};var pe=(t,i="hide")=>{var e="click.dismiss"+t.EVENT_KEY;const s=t.NAME;f.on(document,e,`[data-bs-dismiss="${s}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=u.getElementFromSelector(this)||this.closest("."+s),t.getOrCreateInstance(e)[i]())})};class me extends t{static get NAME(){return"alert"}close(){var e;f.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),f.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=me.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}pe(me,"close"),e(me);const fe='[data-bs-toggle="button"]';class ge extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=ge.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}f.on(document,"click.bs.button.data-api",fe,e=>{e.preventDefault();e=e.target.closest(fe);ge.getOrCreateInstance(e).toggle()}),e(ge);const i=".bs.swipe",ve=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),ye={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class be extends ue{constructor(e,t){super(),(this._element=e)&&be.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ve}static get DefaultType(){return ye}static get NAME(){return"swipe"}dispose(){f.off(this._element,i)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1this._start(e)),f.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(f.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),f.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),f.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,_e,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?f.one(this._element,_e,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=tthis._keydown(e)),"hover"===this._config.pause&&(f.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),f.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of u.find(".carousel-item img",this._element))f.on(t,"dragstart.bs.carousel",e=>e.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(m)),rightCallback:()=>this._slide(this._directionToOrder(xe)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new be(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=ke[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=u.findOne(Se,this._indicatorsElement)).classList.remove(Ee),t.removeAttribute("aria-current"),t=u.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Ee),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const s=this._getActive();var i=t===we;const n=e||X(this._getItems(),s,i,this._config.wrap);if(n!==s){const r=this._getItemIndex(n),a=e=>f.trigger(this._element,e,{relatedTarget:n,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:r});e=a("slide.bs.carousel");if(!e.defaultPrevented&&s&&n){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=n;const o=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";n.classList.add(l),R(n),s.classList.add(o),n.classList.add(o);this._queueCallback(()=>{n.classList.remove(o,l),n.classList.add(Ee),s.classList.remove(Ee,l,o),this._isSliding=!1,a(_e)},s,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return u.findOne(".active.carousel-item",this._element)}_getItems(){return u.find(Ce,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===m?p:we:e===m?we:p}_orderToDirection(e){return l()?e===p?m:xe:e===p?xe:m}static jQueryInterface(t){return this.each(function(){var e=Pe.getOrCreateInstance(this,t);if("number"==typeof t)e.to(t);else if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=u.getElementFromSelector(this);t&&t.classList.contains(Te)&&(e.preventDefault(),e=Pe.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const e of u.find('[data-bs-ride="carousel"]'))Pe.getOrCreateInstance(e)}),e(Pe);const Ie="show",g="collapse",Oe="collapsing",Le=(g,g,'[data-bs-toggle="collapse"]'),$e={parent:null,toggle:!0},ze={parent:"(null|element)",toggle:"boolean"};class De extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];for(const n of u.find(Le)){var i=u.getSelectorFromElement(n),s=u.find(i).filter(e=>e===this._element);null!==i&&s.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return $e}static get DefaultType(){return ze}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>De.getOrCreateInstance(e,{toggle:!1})):e).length||!e[0]._isTransitioning){var t=f.trigger(this._element,"show.bs.collapse");if(!t.defaultPrevented){for(const s of e)s.hide();const i=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Oe),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Oe),this._element.classList.add(g,Ie),this._element.style[i]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var e=f.trigger(this._element,"hide.bs.collapse");if(!e.defaultPrevented){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",R(this._element),this._element.classList.add(Oe),this._element.classList.remove(g,Ie);for(const i of this._triggerArray){var t=u.getElementFromSelector(i);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Oe),this._element.classList.add(g),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(e=this._element){return e.classList.contains(Ie)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=n(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(Le)){var e=u.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=u.find(":scope .collapse .collapse",this._config.parent);return u.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=De.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.collapse.data-api",Le,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of u.getMultipleElementsFromSelector(this))De.getOrCreateInstance(t,{toggle:!1}).toggle()}),e(De);var k="top",A="bottom",M="right",P="left",je="auto",I=[k,A,M,P],O="start",Ne="end",Fe="clippingParents",He="viewport",qe="popper",Be="reference",Re=I.reduce(function(e,t){return e.concat([t+"-"+O,t+"-"+Ne])},[]),We=[].concat(I,[je]).reduce(function(e,t){return e.concat([t,t+"-"+O,t+"-"+Ne])},[]),h="beforeRead",Ye="afterRead",Ve="beforeMain",Xe="afterMain",Ge="beforeWrite",Ue="afterWrite",Qe=[h,"read",Ye,Ve,"main",Xe,Ge,"write",Ue];function v(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function y(e){return e instanceof b(e).Element||e instanceof Element}function w(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function Ke(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var Ze={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var n=e.state;Object.keys(n.elements).forEach(function(e){var t=n.styles[e]||{},i=n.attributes[e]||{},s=n.elements[e];w(s)&&v(s)&&(Object.assign(s.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var s=e.state,n={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,n.popper),s.styles=n,s.elements.arrow&&Object.assign(s.elements.arrow.style,n.arrow),function(){Object.keys(s.elements).forEach(function(e){var t=s.elements[e],i=s.attributes[e]||{},e=Object.keys((s.styles.hasOwnProperty(e)?s.styles:n)[e]).reduce(function(e,t){return e[t]="",e},{});w(t)&&v(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function L(e){return e.split("-")[0]}var C=Math.max,Je=Math.min,et=Math.round;function tt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(tt())}function st(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var s=e.getBoundingClientRect(),n=1,r=1;t&&w(e)&&(n=0c[E]&&(T=_t(T)),_t(T)),E=[];if(s&&E.push(S[x]<=0),n&&E.push(S[T]<=0,S[_]<=0),E.every(function(e){return e})){y=w,v=!1;break}d.set(w,E)}if(v)for(var C=f?3:1;0Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=u.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>a(e));i.length&&X(i,t,e===Ut,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=E.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(const n of u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,s=E.getInstance(n);s&&!1!==s._config.autoClose&&(t=(i=e.composedPath()).includes(s._menu),i.includes(s._element)||"inside"===s._config.autoClose&&!t||"outside"===s._config.autoClose&&t||s._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:s._element},"click"===e.type&&(i.clickEvent=e),s._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,s=["ArrowUp",Ut].includes(e.key);!s&&!i||t&&!i||(e.preventDefault(),t=this.matches(T)?this:u.prev(this,T)[0]||u.next(this,T)[0]||u.findOne(T,e.delegateTarget.parentNode),i=E.getOrCreateInstance(t),s?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}f.on(document,mt,T,E.dataApiKeydownHandler),f.on(document,mt,Kt,E.dataApiKeydownHandler),f.on(document,Ue,E.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",E.clearMenus),f.on(document,Ue,T,function(e){e.preventDefault(),E.getOrCreateInstance(this).toggle()}),e(E);const ai="backdrop",oi="mousedown.bs."+ai,li={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ci={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class di extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return ai}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&R(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(f.off(this._element,oi),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=n(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),f.on(e,oi,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){V(e,this._getElement(),this._config.isAnimated)}}const ui=".bs.focustrap",hi=(ui,ui,"backward"),pi={autofocus:!0,trapElement:null},mi={autofocus:"boolean",trapElement:"element"};class fi extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return pi}static get DefaultType(){return mi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,ui),f.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),f.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,ui))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=u.focusableChildren(t)).length?t:this._lastTabNavDirection===hi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?hi:"forward")}}const gi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",yi="padding-right",bi="margin-right";class wi{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,e=>e+t),this._setElementAttributes(gi,yi,e=>e+t),this._setElementAttributes(vi,bi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(gi,yi),this._resetElementAttributes(vi,bi)}isOverflowing(){return 0{var t;e!==this._element&&window.innerWidth>e.clientWidth+n||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,s(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null===t?e.style.removeProperty(i):(d.removeDataAttribute(e,i),e.style.setProperty(i,t))})}_applyManipulationCallback(e,t){if(r(e))t(e);else for(const i of u.find(e,this._element))t(i)}}const S=".bs.modal";S,S;const xi="hidden"+S,_i="show"+S;S,S,S,S,S;S;const Ti="modal-open",Ei="modal-static";const Si={backdrop:!0,focus:!0,keyboard:!0},Ci={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ki extends t{constructor(e,t){super(e,t),this._dialog=u.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new wi,this._addEventListeners()}static get Default(){return Si}static get DefaultType(){return Ci}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||f.trigger(this._element,_i,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||f.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(){f.off(window,S),f.off(this._dialog,S),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new di({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fi({trapElement:this._element})}_showElement(e){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 t=u.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),R(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),f.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,"mousedown.dismiss.bs.modal",t=>{f.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.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(Ti),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,xi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=f.trigger(this._element,"hidePrevented.bs.modal");if(!e.defaultPrevented){e=this._element.scrollHeight>document.documentElement.clientHeight;const t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ei)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ei),this._queueCallback(()=>{this._element.classList.remove(Ei),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e,t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),s=0{e.defaultPrevented||f.one(t,xi,()=>{a(this)&&this.focus()})});e=u.findOne(".modal.show");e&&ki.getInstance(e).hide(),ki.getOrCreateInstance(t).toggle(this)}),pe(ki),e(ki);Ve=".bs.offcanvas";const Ai="showing",Mi=".offcanvas.show",Pi="hidePrevented"+Ve,Ii="hidden"+Ve;const Oi={backdrop:!0,keyboard:!0,scroll:!1},Li={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $ extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Oi}static get DefaultType(){return Li}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||f.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new wi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ai),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Ai),f.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!f.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 wi).reset(),f.trigger(this._element,Ii)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new di({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"===this._config.backdrop?f.trigger(this._element,Pi):this.hide()}:null})}_initializeFocusTrap(){return new fi({trapElement:this._element})}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():f.trigger(this._element,Pi))})}static jQueryInterface(t){return this.each(function(){var e=$.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}f.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(f.one(t,Ii,()=>{a(this)&&this.focus()}),(e=u.findOne(Mi))&&e!==t&&$.getInstance(e).hide(),$.getOrCreateInstance(t).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of u.find(Mi))$.getOrCreateInstance(e).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const e of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&$.getOrCreateInstance(e).hide()}),pe($),e($);h={"*":["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 $i=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),zi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function Di(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);i=(new window.DOMParser).parseFromString(e,"text/html");for(const a of[].concat(...i.body.querySelectorAll("*"))){var s=a.nodeName.toLowerCase();if(Object.keys(t).includes(s)){var n=[].concat(...a.attributes),r=[].concat(t["*"]||[],t[s]||[]);for(const o of n)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!$i.has(i)||Boolean(zi.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(o,r)||a.removeAttribute(o.nodeName)}else a.remove()}return i.body.innerHTML}const ji={allowList:h,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ni={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Fi={entry:"(string|element|function|null)",selector:"(string|element)"};class Hi extends ue{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ji}static get DefaultType(){return Ni}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0
',title:"",trigger:"hover focus"},Ui={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 Qi extends t{constructor(e,t){if(void 0===Xt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 Gi}static get DefaultType(){return Ui}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),f.off(this._element.closest(".modal"),Wi,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 e=f.trigger(this._element,this.constructor.eventName("show")),t=(q(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(Ri),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.on(i,"mouseover",B);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()){var e=f.trigger(this._element,this.constructor.eventName("hide"));if(!e.defaultPrevented){if(this._getTipElement().classList.remove(Ri),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))f.off(t,"mouseover",B);this._activeTrigger.click=!1,this._activeTrigger[Vi]=!1,this._activeTrigger[Yi]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.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(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove(Bi,Ri),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add(Bi),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Hi({...this._config,content:e,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(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Bi)}_isShown(){return this.tip&&this.tip.classList.contains(Ri)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Xi[t.toUpperCase()];return Vt(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return c(e,[this._element])}_getPopperConfig(e){e={placement:e,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:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...c(this._config.popperConfig,[e])}}_setListeners(){var e,t;for(const i of this._config.trigger.split(" "))"click"===i?f.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()}):"manual"!==i&&(e=i===Yi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===Yi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),f.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Vi:Yi]=!0,t._enter()}),f.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Vi:Yi]=t._element.contains(e.relatedTarget),t._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Wi,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),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(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const i of Object.keys(t))qi.has(i)&&delete t[i];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:n(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=Qi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Qi);const Ki={...Qi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Zi={...Qi.DefaultType,content:"(null|string|element|function)"};class Ji extends Qi{static get Default(){return Ki}static get DefaultType(){return Zi}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(t){return this.each(function(){var e=Ji.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Ji);Ge=".bs.scrollspy";const es="click"+Ge;const ts="active",is="[href]";const ss={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ns={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class rs extends t{constructor(e,t){super(e,t),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 ss}static get DefaultType(){return ns}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=n(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,es),f.on(this._config.target,es,is,e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id);var i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},s=(this._rootElement||document.documentElement).scrollTop,n=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const a of e)if(a.isIntersecting){var r=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&r){if(i(a),s)continue;return}n||r||i(a)}else this._activeTarget=null,this._clearActiveClass(t(a))}_initializeTargetsAndObservables(){var e;this._targetLinks=new Map,this._observableSections=new Map;for(const t of u.find(is,this._config.target))t.hash&&!o(t)&&(e=u.findOne(decodeURI(t.hash),this._element),a(e))&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(ts),this._activateParents(e),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))u.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ts);else for(const t of u.parents(e,".nav, .list-group"))for(const i of u.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))i.classList.add(ts)}_clearActiveClass(e){e.classList.remove(ts);for(const t of u.find(is+"."+ts,e))t.classList.remove(ts)}static jQueryInterface(t){return this.each(function(){var e=rs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of u.find('[data-bs-spy="scroll"]'))rs.getOrCreateInstance(e)}),e(rs);const as="ArrowRight",os="ArrowDown",ls="Home",z="active",cs="show";yt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const ds='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+yt;z,z,z;class us extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?f.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,f.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(z),this._activate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.add(cs):(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),f.trigger(e,"shown.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(z),e.blur(),this._deactivate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.remove(cs):(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),f.trigger(e,"hidden.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",as,"ArrowUp",os,ls,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,s=this._getChildren().filter(e=>!o(e));let e;(e=[ls,"End"].includes(t.key)?s[t.key===ls?0:s.length-1]:(i=[as,os].includes(t.key),X(s,t.target,i,!0)))&&(e.focus({preventScroll:!0}),us.getOrCreateInstance(e).show())}}_getChildren(){return u.find(ds,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=u.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const s=this._getOuterElement(e);s.classList.contains("dropdown")&&((e=(e,t)=>{e=u.findOne(e,s);e&&e.classList.toggle(t,i)})(".dropdown-toggle",z),e(".dropdown-menu",cs),s.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(z)}_getInnerElement(e){return e.matches(ds)?e:u.findOne(ds,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=us.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}f.on(document,"click.bs.tab",yt,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||us.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const e of u.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))us.getOrCreateInstance(e)}),e(us);const hs="show",ps="showing",ms={animation:"boolean",autohide:"boolean",delay:"number"},fs={animation:!0,autohide:!0,delay:5e3};class gs extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return fs}static get DefaultType(){return ms}static get NAME(){return"toast"}show(){f.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),R(this._element),this._element.classList.add(hs,ps),this._queueCallback(()=>{this._element.classList.remove(ps),f.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!f.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(ps),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ps,hs),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(hs),super.dispose()}isShown(){return this._element.classList.contains(hs)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){f.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),f.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),f.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=gs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return pe(gs),e(gs),{Alert:me,Button:ge,Carousel:Pe,Collapse:De,Dropdown:E,Modal:ki,Offcanvas:$,Popover:Ji,ScrollSpy:rs,Tab:us,Toast:gs,Tooltip:Qi}}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return i={686:function(e,t,i){"use strict";i.d(t,{default:function(){return s}});var t=i(279),a=i.n(t),t=i(370),o=i.n(t),t=i(817),l=i.n(t);function c(e){try{document.execCommand(e)}catch(e){}}function d(e){return e=l()(e),c("cut"),e}function u(e){var t,i,s,n=1{"use strict";var s={d:(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},e={};s.r(e),s.d(e,{default:()=>t,divideNumbers:()=>l});const t=(e,t={})=>{const{action:i="start",duration:s=1e3,delay:n=16}=t;if("stop"===i)o(e);else if(o(e),/[0-9]/.test(e.innerHTML)){const r=l(e.innerHTML,{duration:s||e.getAttribute("data-duration"),delay:n||e.getAttribute("data-delay")}),a=(e._countUpOrigInnerHTML=e.innerHTML,e.innerHTML=r[0]||" ",e.style.visibility="visible",function(){e.innerHTML=r.shift()||" ",r.length?(clearTimeout(e.countUpTimeout),e.countUpTimeout=setTimeout(a,n)):e._countUpOrigInnerHTML=void 0});e.countUpTimeout=setTimeout(a,n)}},o=e=>{clearTimeout(e.countUpTimeout),e._countUpOrigInnerHTML&&(e.innerHTML=e._countUpOrigInnerHTML,e._countUpOrigInnerHTML=void 0),e.style.visibility=""},l=(e,t={})=>{const{duration:n=1e3,delay:i=16}=t,r=n/i,a=e.toString().split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/),o=[];for(let e=0;e]+>/.test(a[t])){let i=a[t];const n=[...i.matchAll(/[.,]/g)].map(e=>({char:e[0],i:i.length-e.index-1})).sort((e,t)=>e.i-t.i);i=i.replace(/[.,]/g,"");let s=o.length-1;for(let t=r;1<=t;t--){let e=parseInt(i/r*t,10);e=n.reduce((e,{char:t,i})=>e.length<=i?e:e.slice(0,-i)+t+e.slice(-i),e.toString()),o[s--]+=e}}else for(let e=0;e=parseInt(s)}).sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(e,'"]'))}function u(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function P(e,t){n=t;var i,s,n=0==(s=u(i=e)*u(n))?0:(1<(i=(i.x*n.x+i.y*n.y)/s)&&(i=1),Math.acos(i));return 0=Math.abs(i-s)?0t&&(t=t/2-e.naturalWidth/2,this.setTranslate(this.img.parentNode,t,0)),this.slide.classList.add("zoomed"),this.zoomedIn=!0)}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(e){e.preventDefault(),this.zoomedIn?("touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove("dragging")},100)}},{key:"drag",value:function(e){this.active&&(e.preventDefault(),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(e){var t;this.zoomedIn&&(t=e.clientX-this.img.naturalWidth/2,e=e.clientY-this.img.naturalHeight/2,this.setTranslate(this.img,t,e))}},{key:"setTranslate",value:function(e,t,i){e.style.transform="translate3d("+t+"px, "+i+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]);var X=p;function p(e,t){var i=this,s=2=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var i=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&i&&(this.doSlideChange=i),this.instance.settings.dragAutoSnap&&i)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==i&&this.instance.prevSlide(),void("left"==i&&this.instance.nextSlide())}0=this.toleranceX&&("left"==(e=0=this.toleranceY?!0:e}},{key:"setTranslate",value:function(e,t,i){e.style.transition=3'),o.firstChild),t.querySelector(".gvideo-wrapper")),d=(C(this.settings.plyr.css,"Plyr"),i.href),u=null==i?void 0:i.videoProvider,h=!1;o.style.maxWidth=i.width,C(this.settings.plyr.js,"Plyr",function(){"local"!==(u=!(u=!u&&d.match(/vimeo\.com\/([0-9]*)/)?"vimeo":u)&&(d.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||d.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||d.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/))?"youtube":u)&&u||(u="local",e='"));var e=h||g('
')),e=(L(c,"".concat(u,"-video gvideo")),c.appendChild(e),c.setAttribute("data-id",a),c.setAttribute("data-index",s),w(r.settings.plyr,"config")?r.settings.plyr.config:{}),e=new Plyr("#"+a,e);e.on("ready",function(e){l[a]=e.detail.plyr,F(n)&&n()}),v(function(){return t.querySelector("iframe")&&"true"==t.querySelector("iframe").dataset.ready},function(){r.resize(t)}),e.on("enterfullscreen",U),e.on("exitfullscreen",U)})}.apply(this.instance,[i,r,this.index,p]):"external"===o?Q.apply(this,[i,r,this.index,p]):"inline"===o?(function(e,t,i,s){var n,r=this,e=e.querySelector(".gslide-media"),a=!(!w(t,"href")||!t.href)&&t.href.split("#").pop().trim(),o=!(!w(t,"content")||!t.content)&&t.content;if(o&&(b(o)&&(n=g('
'.concat(o,"
"))),H(o))&&("none"==o.style.display&&(o.style.display="block"),(l=document.createElement("div")).className="ginlined-content",l.appendChild(o),n=l),a){o=document.getElementById(a);if(!o)return!1;var l=o.cloneNode(!0);l.style.height=t.height,l.style.maxWidth=t.width,L(l,"ginlined-content"),n=l}if(!n)return console.error("Unable to append inline slide content",t),!1;e.style.height=t.height,e.style.width=t.width,e.appendChild(n),this.events["inlineclose"+a]=O("click",{onElement:e.querySelectorAll(".gtrigger-close"),withCallback:function(e){e.preventDefault(),r.close()}}),F(s)&&s()}.apply(this.instance,[i,r,this.index,p]),r.draggable&&new G({dragEl:i.querySelector(".gslide-inline"),toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:i,instance:this.instance})):"image"===o?(m=i,d=r,f=this.index,s=function(){var e=i.querySelector("img");r.draggable&&new G({dragEl:e,toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:i,instance:t.instance}),r.zoomable&&e.naturalWidth>e.offsetWidth&&(L(e,"zoomable"),new X(e,i,function(){t.instance.resize()})),F(p)&&p()},m=m.querySelector(".gslide-media"),a=new Image,u="gSlideTitle_"+f,f="gSlideDesc_"+f,a.addEventListener("load",function(){F(s)&&s()},!1),a.src=d.href,""!=d.sizes&&""!=d.srcset&&(a.sizes=d.sizes,a.srcset=d.srcset),a.alt="",q(d.alt)||""===d.alt||(a.alt=d.alt),""!==d.title&&a.setAttribute("aria-labelledby",u),""!==d.description&&a.setAttribute("aria-describedby",f),d.hasOwnProperty("_hasCustomWidth")&&d._hasCustomWidth&&(a.style.width=d.width),d.hasOwnProperty("_hasCustomHeight")&&d._hasCustomHeight&&(a.style.height=d.height),m.insertBefore(a,m.firstChild)):F(p)&&p()}},{key:"slideShortDesc",value:function(e){var t=1'+i+""):e}},{key:"descriptionEvents",value:function(e,r){var a=this,e=e.querySelector(".desc-more");if(!e)return!1;O("click",{onElement:e,withCallback:function(e,t){e.preventDefault();var i=document.body,s=D(t,".gslide-desc");if(!s)return!1;s.innerHTML=r.description,L(i,"gdesc-open");var n=O("click",{onElement:[i,D(s,".gslide-description")],withCallback:function(e,t){"a"!==e.target.nodeName.toLowerCase()&&($(i,"gdesc-open"),L(i,"gdesc-closed"),s.innerHTML=r.smallDescription,a.descriptionEvents(s,r),setTimeout(function(){$(i,"gdesc-closed")},400),n.destroy())}})}})}},{key:"create",value:function(){return g(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){H(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var e=new K(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);var x=_;function _(e,t,i){a(this,_),this.element=e,this.instance=t,this.index=i}var Z=y(),J=null!==y()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,ee=document.getElementsByTagName("html")[0],te={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'',next:' ',prev:''},slideHTML:'
\n
\n
\n
\n
\n
\n
\n

\n
\n
\n
\n
\n
\n
',lightboxHTML:''},ie=(e(T,[{key:"init",value:function(){var i=this,e=this.getSelector();e&&(this.baseEvents=O("click",{onElement:e,withCallback:function(e,t){e.preventDefault(),i.open(t)}})),this.elements=this.getElements()}},{key:"open",value:function(){var e=0r){var t=E.pageX-S.pageX;if(Math.abs(t)<=13)return!1}c=!0;var i,t=e.targetTouches[0].clientX,e=e.targetTouches[0].clientY,t=C-t,e=k-e;if(Math.abs(t)>Math.abs(e)?T=!(_=!1):_=!(T=!1),y=S.pageX-E.pageX,w=100*y/n,b=S.pageY-E.pageY,x=100*b/r,_&&l&&(i=1-Math.abs(b)/r,M.style.opacity=i,s.settings.touchFollowAxis)&&(w=0),T&&(i=1-Math.abs(y)/n,o.style.opacity=i,s.settings.touchFollowAxis)&&(x=0),!l)return N(o,"translate3d(".concat(w,"%, 0, 0)"));N(o,"translate3d(".concat(w,"%, ").concat(x,"%, 0)"))}},touchEnd:function(){if(a)if(c=!1,p||h)g=m,v=f;else{var e=Math.abs(parseInt(x)),t=Math.abs(parseInt(w));if(!(29this.elements.length-1||q(this.elements[e])||z(t=this.slidesContainer.querySelectorAll(".gslide")[e],"loaded"))&&(s=(i=this.elements[e]).type,n={index:e,slide:t,slideNode:t,slideConfig:i.slideConfig,slideIndex:e,trigger:i.node,player:null},this.trigger("slide_before_load",n),void("video"===s||"external"===s?setTimeout(function(){i.instance.setContent(t,function(){r.trigger("slide_after_load",n)})},200):i.instance.setContent(t,function(){r.trigger("slide_after_load",n)})))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var e=0this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:"insertSlide",value:function(){var e=0this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger("slide_removed",e),F(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:"slideAnimateIn",value:function(e,t){var i=this,s=e.querySelector(".gslide-media"),n=e.querySelector(".gslide-description"),r={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:q(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:q(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},a={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};0this.index&&"slide"==this.settings.slideEffect&&(n=this.settings.cssEfects.slideBack.in),j(e,n,function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:r,current:a}),F(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[r,a])})),setTimeout(function(){i.resize(e)},100),L(e,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var s=this.prevActiveSlide,e=($(s,this.effectsClasses),L(s,"prev"),this.settings.slideEffect),e="none"!==e?this.settings.cssEfects[e].out:e;this.slidePlayerPause(s),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:q(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:q(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),F(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(e=this.settings.cssEfects.slideBack.out),j(s,e,function(){var e=s.querySelector(".ginner-container"),t=s.querySelector(".gslide-media"),i=s.querySelector(".gslide-description");e.style.transform="",t.style.transform="",$(t,"greset"),t.style.opacity="",i&&(i.style.opacity=""),$(s,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(e){var e="gvideo"+e,t=this.getAllPlayers();return!(!w(t,e)||!t[e])&&t[e]}},{key:"stopSlideVideo",value:function(e){H(e)&&(t=e.querySelector(".gvideo-wrapper"))&&(e=t.getAttribute("data-index")),console.log("stopSlideVideo is deprecated, use slidePlayerPause");var t=this.getSlidePlayerInstance(e);t&&t.playing&&t.pause()}},{key:"slidePlayerPause",value:function(e){H(e)&&(t=e.querySelector(".gvideo-wrapper"))&&(e=t.getAttribute("data-index"));var t=this.getSlidePlayerInstance(e);t&&t.playing&&t.pause()}},{key:"playSlideVideo",value:function(e){H(e)&&(t=e.querySelector(".gvideo-wrapper"))&&(e=t.getAttribute("data-index")),console.log("playSlideVideo is deprecated, use slidePlayerPlay");var t=this.getSlidePlayerInstance(e);t&&!t.playing&&t.play()}},{key:"slidePlayerPlay",value:function(e){var t;(!Z||null!=(t=this.settings.plyr.config)&&t.muted)&&(H(e)&&(t=e.querySelector(".gvideo-wrapper"))&&(e=t.getAttribute("data-index")),t=this.getSlidePlayerInstance(e))&&!t.playing&&(t.play(),this.settings.autofocusVideos)&&t.elements.container.focus()}},{key:"setElements",value:function(e){var n=this,r=(this.settings.elements=!1,[]);e&&e.length&&h(e,function(e,t){var e=new x(e,n,t),i=e.getConfig(),s=c({},i);s.slideConfig=i,s.instance=e,s.index=t,r.push(s)}),this.elements=r,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length)&&(h(this.elements,function(){var e=g(n.settings.slideHTML);n.slidesContainer.appendChild(e)}),this.showSlide(0,!0))}},{key:"getElementIndex",value:function(i){var s=!1;return h(this.elements,function(e,t){if(w(e,"node")&&e.node==i)return s=t,!0}),s}},{key:"getElements",value:function(){var r=this,a=[],e=(this.elements=this.elements||[],!q(this.settings.elements)&&k(this.settings.elements)&&this.settings.elements.length&&h(this.settings.elements,function(e,t){var e=new x(e,r,t),i=e.getConfig(),s=c({},i);s.node=!1,s.index=t,s.instance=e,s.slideConfig=i,a.push(s)}),!1);return(e=this.getSelector()?document.querySelectorAll(this.getSelector()):e)&&h(e,function(e,t){var i=new x(e,r,t),s=i.getConfig(),n=c({},s);n.node=e,n.index=t,n.instance=i,n.slideConfig=s,n.gallery=e.getAttribute("data-gallery"),a.push(n)}),a}},{key:"getGalleryElements",value:function(e,t){return e.filter(function(e){return e.gallery==t})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var e,t,i=[];for(e in this.settings.cssEfects)this.settings.cssEfects.hasOwnProperty(e)&&(t=this.settings.cssEfects[e],i.push("g".concat(t.in)),i.push("g".concat(t.out)));return i.join(" ")}},{key:"build",value:function(){var i=this;if(this.built)return!1;var e=document.body.childNodes,t=[],e=(h(e,function(e){e.parentNode==document.body&&"#"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(t.push(e),e.setAttribute("aria-hidden","true"))}),w(this.settings.svg,"next")?this.settings.svg.next:""),s=w(this.settings.svg,"prev")?this.settings.svg.prev:"",n=w(this.settings.svg,"close")?this.settings.svg.close:"",r=this.settings.lightboxHTML,e=(r=g(r=(r=(r=r.replace(/{nextSVG}/g,e)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,n)),document.body.appendChild(r),document.getElementById("glightbox-body")),s=(this.modal=e).querySelector(".gclose");this.prevButton=e.querySelector(".gprev"),this.nextButton=e.querySelector(".gnext"),this.overlay=e.querySelector(".goverlay"),this.loader=e.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=t,this.events={},L(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&s&&(this.events.close=O("click",{onElement:s,withCallback:function(e,t){e.preventDefault(),i.close()}})),s&&!this.settings.closeButton&&s.parentNode.removeChild(s),this.nextButton&&(this.events.next=O("click",{onElement:this.nextButton,withCallback:function(e,t){e.preventDefault(),i.nextSlide()}})),this.prevButton&&(this.events.prev=O("click",{onElement:this.prevButton,withCallback:function(e,t){e.preventDefault(),i.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=O("click",{onElement:e,withCallback:function(e,t){i.preventOutsideClick||z(document.body,"glightbox-mobile")||D(e.target,".ginner-container")||D(e.target,".gbtn")||z(e.target,"gnext")||z(e.target,"gprev")||i.close()}})),h(this.elements,function(e,t){i.slidesContainer.appendChild(e.instance.create()),e.slideNode=i.slidesContainer.querySelectorAll(".gslide")[t]}),J&&(L(document.body,"glightbox-touch"),this.settings.autoplayVideos=!1),this.events.resize=O("resize",{onElement:window,withCallback:function(){i.resize()}}),this.built=!0}},{key:"resize",value:function(){var e,t,i,s,n,r,a,o=(o=0this.scrollOffset?this.stick():this.unstick()}},t}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var s=this._onceEvents&&this._onceEvents[e],n=0;n