/*! Anime Version: v3.2.2 Plugin URL: animejs.com License: Copyright 2023 Julian Garnier | Released under the MIT license !*/ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.anime=t()}(this,function(){"use strict";var o={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},_={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},j=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],u={CSS:{},springs:{}};function S(e,t,i){return Math.min(Math.max(e,t),i)}function c(e,t){return-1e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,N=e=>{e.dispatchEvent(new Event(B))},s=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,r=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&0{if(!s(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")),H=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?H(e.parentNode):null:null},W=()=>{},q=e=>{e.offsetHeight},Y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$=[],l=()=>"rtl"===document.documentElement.dir;var e=n=>{var e;e=()=>{const e=Y();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}},"loading"===document.readyState?($.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of $)e()}),$.push(e)):e()};const c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,X=(i,n,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),n=Number.parseFloat(i);return e||n?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*j):0})(n)+5;let t=!1;const r=({target:e})=>{e===n&&(t=!0,n.removeEventListener(B,r),c(i))};n.addEventListener(B,r),setTimeout(()=>{t||N(n)},e)}else c(i)},G=(e,t,i,n)=>{var r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},V=/[^.]*(?=\..*)\.|.*/,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 ne(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function re(e,t,i){var n="string"==typeof t,t=!n&&t||i;let r=oe(e);return[n,t,r=ee.has(r)?r:e]}function se(n,r,s,a,o){if("string"==typeof r&&n){let[e,t,i]=re(r,s,a);r 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,p,h,a=ie(n),a=a[i]||(a[i]={}),f=ne(a,t,e?s:null);f?f.oneOff=f.oneOff&&o:(f=te(t,r.replace(V,"")),(r=e?(u=n,p=s,h=t,function t(i){var n=u.querySelectorAll(p);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const r of n)if(r===e)return le(i,{delegateTarget:e}),t.oneOff&&m.off(u,i.type,p,h),h.apply(e,[i])}):(c=n,d=t,function e(t){return le(t,{delegateTarget:c}),e.oneOff&&m.off(c,t.type,d),d.apply(c,[t])})).delegationSelector=e?s:null,r.callable=t,r.oneOff=o,a[r.uidEvent=f]=r,n.addEventListener(i,r,e))}}function ae(e,t,i,n,r){n=ne(t[i],n,r);n&&(e.removeEventListener(i,n,Boolean(r)),delete t[i][n.uidEvent])}function oe(e){return e=e.replace(U,""),J[e]||e}const m={on(e,t,i,n){se(e,t,i,n,!1)},one(e,t,i,n){se(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){var r,s,[n,a,o]=re(t,i,n),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,n?i:null):void 0;if(u)for(const _ of Object.keys(c)){h=p=y=v=g=m=f=void 0;var p,h,f=e,m=c,g=_,v=t.slice(1),y=m[g]||{};for([p,h]of Object.entries(y))p.includes(v)&&ae(f,m,g,h.callable,h.delegationSelector)}for([r,s]of Object.entries(d)){var b=r.replace(Q,"");l&&!t.includes(b)||ae(e,c,o,s.callable,s.delegationSelector)}}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=Y();let r=null,s=!0,a=!0,o=!1;t!==oe(t)&&n&&(r=n.Event(t,i),n(e).trigger(r),s=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),o=r.isDefaultPrevented());n=le(new Event(t,{bubbles:s,cancelable:!0}),i);return o&&n.preventDefault(),a&&e.dispatchEvent(n),n.defaultPrevented&&r&&r.preventDefault(),n}};function le(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get(){return n}})}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 n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=ce(t.dataset[n])}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=s(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...s(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){var r=e[i],r=s(r)?"element":null==(r=r)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}class t extends ue{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),R.set(this._element,this.constructor.DATA_KEY,this))}dispose(){R.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){X(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return R.get(r(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.2"}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 pe=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?F(e.trim()):null}return 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 n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.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=pe(e);return e&&u.findOne(e)?e:null},getElementFromSelector(e){e=pe(e);return e?u.findOne(e):null},getMultipleElementsFromSelector(e){e=pe(e);return e?u.find(e):[]}};var he=(t,i="hide")=>{var e="click.dismiss"+t.EVENT_KEY;const n=t.NAME;m.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=u.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class fe extends t{static get NAME(){return"alert"}close(){var e;m.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(),m.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=fe.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)}})}}he(fe,"close"),e(fe);const me='[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]()})}}m.on(document,"click.bs.button.data-api",me,e=>{e.preventDefault();e=e.target.closest(me);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(){m.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)),m.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),m.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),m.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?m.one(this._element,xe,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?m.one(this._element,xe,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=tthis._keydown(e)),"hover"===this._config.pause&&(m.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),m.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))m.on(t,"dragstart.bs.carousel",e=>e.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(f)),rightCallback:()=>this._slide(this._directionToOrder(we)),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=Me[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(Ee,this._indicatorsElement)).classList.remove(Se),t.removeAttribute("aria-current"),t=u.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Se),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 n=this._getActive();var i=t===_e;const r=e||G(this._getItems(),n,i,this._config.wrap);if(r!==n){const s=this._getItemIndex(r),a=e=>m.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});e=a("slide.bs.carousel");if(!e.defaultPrevented&&n&&r){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const o=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";r.classList.add(l),q(r),n.classList.add(o),r.classList.add(o);this._queueCallback(()=>{r.classList.remove(o,l),r.classList.add(Se),n.classList.remove(Se,l,o),this._isSliding=!1,a(xe)},n,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===f?h:_e:e===f?_e:h}_orderToDirection(e){return l()?e===h?f:we:e===h?we:f}static jQueryInterface(t){return this.each(function(){var e=Ae.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]()}})}}m.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=Ae.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),m.on(window,"load.bs.carousel.data-api",()=>{for(const e of u.find('[data-bs-ride="carousel"]'))Ae.getOrCreateInstance(e)}),e(Ae);const Oe="show",g="collapse",Le="collapsing",Pe=(g,g,'[data-bs-toggle="collapse"]'),ze={parent:null,toggle:!0},De={parent:"(null|element)",toggle:"boolean"};class Re extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];for(const r of u.find(Pe)){var i=u.getSelectorFromElement(r),n=u.find(i).filter(e=>e===this._element);null!==i&&n.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ze}static get DefaultType(){return De}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=>Re.getOrCreateInstance(e,{toggle:!1})):e).length||!e[0]._isTransitioning){var t=m.trigger(this._element,"show.bs.collapse");if(!t.defaultPrevented){for(const n of e)n.hide();const i=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Le),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(Le),this._element.classList.add(g,Oe),this._element.style[i]="",m.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=m.trigger(this._element,"hide.bs.collapse");if(!e.defaultPrevented){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",q(this._element),this._element.classList.add(Le),this._element.classList.remove(g,Oe);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(Le),this._element.classList.add(g),m.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(e=this._element){return e.classList.contains(Oe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(Pe)){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=Re.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.collapse.data-api",Pe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of u.getMultipleElementsFromSelector(this))Re.getOrCreateInstance(t,{toggle:!1}).toggle()}),e(Re);var M="top",k="bottom",I="right",A="left",je="auto",O=[M,k,I,A],L="start",Be="end",Fe="clippingParents",Ne="viewport",He="popper",We="reference",qe=O.reduce(function(e,t){return e.concat([t+"-"+L,t+"-"+Be])},[]),Ye=[].concat(O,[je]).reduce(function(e,t){return e.concat([t,t+"-"+L,t+"-"+Be])},[]),p="beforeRead",$e="afterRead",Xe="beforeMain",Ge="afterMain",Ve="beforeWrite",Ue="afterWrite",Qe=[p,"read",$e,Xe,"main",Ge,Ve,"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 _(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 r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},i=r.attributes[e]||{},n=r.elements[e];_(n)&&v(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});_(t)&&v(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function P(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 nt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,s=1;t&&_(e)&&(r=0c[S]&&(T=xt(T)),xt(T)),S=[];if(n&&S.push(E[w]<=0),r&&S.push(E[T]<=0,E[x]<=0),S.every(function(e){return e})){y=_,v=!1;break}d.set(_,S)}if(v)for(var C=m?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&&G(i,t,e===Ut,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=S.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 r of u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,n=S.getInstance(r);n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp",Ut].includes(e.key);!n&&!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=S.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}m.on(document,ft,T,S.dataApiKeydownHandler),m.on(document,ft,Kt,S.dataApiKeydownHandler),m.on(document,Ue,S.clearMenus),m.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),m.on(document,Ue,T,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);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&&q(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&&(m.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=r(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),m.on(e,oi,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){X(e,this._getElement(),this._config.isAnimated)}}const ui=".bs.focustrap",pi=(ui,ui,"backward"),hi={autofocus:!0,trapElement:null},fi={autofocus:"boolean",trapElement:"element"};class mi extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return hi}static get DefaultType(){return fi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,ui),m.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),m.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.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===pi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?pi:"forward")}}const gi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",yi="padding-right",bi="margin-right";class _i{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+r||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(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(s(e))t(e);else for(const i of u.find(e,this._element))t(i)}}const E=".bs.modal";E,E;const wi="hidden"+E,xi="show"+E;E,E,E,E,E;E;const Ti="modal-open",Si="modal-static";const Ei={backdrop:!0,focus:!0,keyboard:!0},Ci={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Mi 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 _i,this._addEventListeners()}static get Default(){return Ei}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||m.trigger(this._element,xi,{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||m.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(){m.off(window,E),m.off(this._dialog,E),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 mi({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),q(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),m.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,"mousedown.dismiss.bs.modal",t=>{m.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(),m.trigger(this._element,wi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=m.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(Si)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback(()=>{this._element.classList.remove(Si),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(),n=0{e.defaultPrevented||m.one(t,wi,()=>{a(this)&&this.focus()})});e=u.findOne(".modal.show");e&&Mi.getInstance(e).hide(),Mi.getOrCreateInstance(t).toggle(this)}),he(Mi),e(Mi);Xe=".bs.offcanvas";const ki="showing",Ii=".offcanvas.show",Ai="hidePrevented"+Xe,Oi="hidden"+Xe;const Li={backdrop:!0,keyboard:!0,scroll:!1},Pi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class z 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 Li}static get DefaultType(){return Pi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new _i).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ki),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(ki),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!m.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 _i).reset(),m.trigger(this._element,Oi)},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?m.trigger(this._element,Ai):this.hide()}:null})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():m.trigger(this._element,Ai))})}static jQueryInterface(t){return this.each(function(){var e=z.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)}})}}m.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)||(m.one(t,Oi,()=>{a(this)&&this.focus()}),(e=u.findOne(Ii))&&e!==t&&z.getInstance(e).hide(),z.getOrCreateInstance(t).toggle(this))}),m.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of u.find(Ii))z.getOrCreateInstance(e).show()}),m.on(window,"resize.bs.offcanvas",()=>{for(const e of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&z.getOrCreateInstance(e).hide()}),he(z),e(z);p={"*":["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 zi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Di=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function Ri(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 n=a.nodeName.toLowerCase();if(Object.keys(t).includes(n)){var r=[].concat(...a.attributes),s=[].concat(t["*"]||[],t[n]||[]);for(const o of r)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!zi.has(i)||Boolean(Di.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(o,s)||a.removeAttribute(o.nodeName)}else a.remove()}return i.body.innerHTML}const ji={allowList:p,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Bi={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 Ni extends ue{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ji}static get DefaultType(){return Bi}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===Gt)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 Vi}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),m.off(this._element.closest(".modal"),Yi,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=m.trigger(this._element,this.constructor.eventName("show")),t=(H(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),m.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(qi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))m.on(i,"mouseover",W);this._queueCallback(()=>{m.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=m.trigger(this._element,this.constructor.eventName("hide"));if(!e.defaultPrevented){if(this._getTipElement().classList.remove(qi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))m.off(t,"mouseover",W);this._activeTrigger.click=!1,this._activeTrigger[Xi]=!1,this._activeTrigger[$i]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),m.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(Wi,qi),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(Wi),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ni({...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(Wi)}_isShown(){return this.tip&&this.tip.classList.contains(qi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Gi[t.toUpperCase()];return Xt(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?m.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()}):"manual"!==i&&(e=i===$i?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===$i?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),m.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Xi:$i]=!0,t._enter()}),m.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Xi:$i]=t._element.contains(e.relatedTarget),t._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),Yi,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))Hi.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:r(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);Ve=".bs.scrollspy";const en="click"+Ve;const tn="active",nn="[href]";const rn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},sn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class an 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 rn}static get DefaultType(){return sn}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=r(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&&(m.off(this._config.target,en),m.on(this._config.target,en,nn,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))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of e)if(a.isIntersecting){var s=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&s){if(i(a),n)continue;return}r||s||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(nn,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(tn),this._activateParents(e),m.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(tn);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(tn)}_clearActiveClass(e){e.classList.remove(tn);for(const t of u.find(nn+"."+tn,e))t.classList.remove(tn)}static jQueryInterface(t){return this.each(function(){var e=an.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]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of u.find('[data-bs-spy="scroll"]'))an.getOrCreateInstance(e)}),e(an);const on="ArrowRight",ln="ArrowDown",cn="Home",D="active",dn="show",un=".dropdown-toggle";un;yt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const pn='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+yt;D,D,D;class hn extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),m.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())?m.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,m.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(D),this._activate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.add(dn):(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),m.trigger(e,"shown.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(D),e.blur(),this._deactivate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.remove(dn):(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),m.trigger(e,"hidden.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",on,"ArrowUp",ln,cn,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,n=this._getChildren().filter(e=>!o(e));let e;(e=[cn,"End"].includes(t.key)?n[t.key===cn?0:n.length-1]:(i=[on,ln].includes(t.key),G(n,t.target,i,!0)))&&(e.focus({preventScroll:!0}),hn.getOrCreateInstance(e).show())}}_getChildren(){return u.find(pn,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 n=this._getOuterElement(e);n.classList.contains("dropdown")&&((e=(e,t)=>{e=u.findOne(e,n);e&&e.classList.toggle(t,i)})(un,D),e(".dropdown-menu",dn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(D)}_getInnerElement(e){return e.matches(pn)?e:u.findOne(pn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=hn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.tab",yt,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||hn.getOrCreateInstance(this).show()}),m.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"]'))hn.getOrCreateInstance(e)}),e(hn);const fn="show",mn="showing",gn={animation:"boolean",autohide:"boolean",delay:"number"},vn={animation:!0,autohide:!0,delay:5e3};class yn extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return vn}static get DefaultType(){return gn}static get NAME(){return"toast"}show(){m.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),q(this._element),this._element.classList.add(fn,mn),this._queueCallback(()=>{this._element.classList.remove(mn),m.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!m.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(mn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(mn,fn),m.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fn),super.dispose()}isShown(){return this._element.classList.contains(fn)}_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(){m.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),m.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),m.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=yn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return he(yn),e(yn),{Alert:fe,Button:ge,Carousel:Ae,Collapse:Re,Dropdown:S,Modal:Mi,Offcanvas:z,Popover:Ji,ScrollSpy:an,Tab:hn,Toast:yn,Tooltip:Qi}}), /*! GSAP Version: 3.12.4 Plugin URL: https://gsap.com License: Copyright 2024, GreenSock. All rights reserved. | Subject to the terms at https://gsap.com/standard-license or for Club GreenSock members, the agreement issued with that membership. | author: Jack Doyle, jack@greensock.com !*/ function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return!1!==e}function s(){return"undefined"!=typeof window}function Z(e){return u(e)||W(e)}function n(e){return(bt=J(e,a))&&f}function o(e,t){return e&&(a[e]=t)&&bt&&(bt[e]=t)||a}function g(){return 0}function h(e,t){return(e=e.split(",")).forEach(t)||e}function v(e,t,i,n){Ct.length&&!j&&Rt(),e.render(t,i,n||j&&t<0&&(e._initted||e._startAt)),Ct.length&&!j&&Rt()}function y(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(vt).length<2?t:W(e)?e.trim():e}function b(e){return e}function D(e,t){for(var i in t)i in e||(e[i]=t[i]);return e}function J(e,t){for(var i in t)e[i]=t[i];return e}function _(e,t){for(var i in t)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=k(t[i])?_(e[i]||(e[i]={}),t[i]):t[i]);return e}function ee(e,t){var i,n={};for(i in e)i in t||(n[i]=e[i]);return n}function te(e){var n,t=e.parent||B,i=e.keyframes?(n=I(e.keyframes),function(e,t){for(var i in t)i in e||"duration"===i&&n||"ease"===i||(e[i]=t[i])}):D;if(z(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e}function w(e,t,i,n,r){void 0===i&&(i="_first");var s,a=e[n=void 0===n?"_last":n];if(r)for(s=t[r];a&&a[r]>s;)a=a._prev;a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e}function x(e,t,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=t._prev,s=t._next;r?r._next=s:e[i]===t&&(e[i]=s),s?s._prev=r:e[n]===t&&(e[n]=r),t._next=t._prev=t.parent=null}function ie(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0}function T(e,t,i,n){e._startAt&&(j?e._startAt.revert(Tt):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))}function ne(e){return!e||e._ts&&ne(e.parent)}function S(e){return e._repeat?E(e._tTime,e=e.duration()+e._rDelay)*e:0}function E(e,t){return t=Math.floor(e/=t),e&&t===e?t-1:t}function C(e,t){return(e-t._start)*t._ts+(0<=t._ts?0:t._dirty?t.totalDuration():t._tDur)}function re(e,t){var i;if((t._time||!t._dur&&t._initted||t._startH)&&t.render(i,!0),jt(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=N?o.endTime(!1):e._dur;return W(t)&&(isNaN(t)||t in a)?(r=t.charAt(0),s="%"===t.substr(-1),n=t.indexOf("="),"<"===r||">"===r?(0<=n&&(t=t.replace(/=/,"")),("<"===r?o._start:o.endTime(0<=o._repeat))+(parseFloat(t.substr(1))||0)*(s?(n<0?o:i).totalDuration()/100:1)):n<0?(t in a||(a[t]=l),a[t]):(r=parseFloat(t.charAt(n-1)+t.substr(n+1)),s&&i&&(r=r/100*(I(i)?i[0]:i).totalDuration()),1(r=Math.abs(r))&&(s=n,o=r);return s}function R(e,t,i){var n=e.vars,r=n[t],s=l,a=e._ctx;if(r)return t=n[t+"Params"],n=n.callbackScope||e,i&&Ct.length&&Rt(),a&&(l=a),e=t?r.apply(n,t):r.call(n),l=s,e}function Te(e){return ie(e),e.scrollTrigger&&e.scrollTrigger.kill(!!j),e.progress()<1&&R(e,"onInterrupt"),e}function Se(e){if(s()&&e){var t=(e=!e.name&&e.default||e).name,i=u(e),i=t&&!i&&e.init?function(){this._props=[]}:e,n={init:g,render:Oi,add:vi,kill:Pi,modifier:Li,rawVars:0},r={targetTest:0,get:0,getSetter:Mi,aliases:{},register:0};if(Jt(),e!==i){if(q[t])return;D(i,D(ee(e,n),r)),J(i.prototype,J(n,ee(e,r))),q[i.prop=t]=i,e.targetTest&&(At.push(i),Et[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}o(t,i),e.register&&e.register(f,i,G)}else e&&Gt.push(e)}function Ee(e,t,i){return(6*(e+=e<0?1:1e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},Bt=function(e){return e._end=A(e._start+(e._tDur/Math.abs(e._ts||e._rts||H)||0))},Ft=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=A(i._time-(0>16,e>>8&p,e&p]:0:Vt.black;if(!d){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Vt[e])d=Vt[e];else if("#"===e.charAt(0)){if(9===(e=e.length<6?"#"+(n=e.charAt(1))+n+(r=e.charAt(2))+r+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):""):e).length)return[(d=parseInt(e.substr(1,6),16))>>16,d>>8&p,d&p,parseInt(e.substr(7),16)/255];d=[(e=parseInt(e.substr(1),16))>>16,e>>8&p,e&p]}else if("hsl"===e.substr(0,3))if(d=c=e.match(pt),t){if(~e.indexOf("="))return d=e.match(ht),i&&d.length<4&&(d[3]=1),d}else a=+d[0]%360/360,o=+d[1]/100,n=2*(l=+d[2]/100)-(r=l<=.5?l*(o+1):l+o-l*o),3=t&&et)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if("isPause"===n.data&&n._start=b._start)&&b._ts&&l!==b){if(b.parent!==this)return this.render(e,t,i);if(b.render(0=this.totalDuration()||!g&&h)||d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||(!e&&m||!(g===f&&0=n&&(s instanceof X?t&&r.push(s):(i&&r.push(s),e&&r.push.apply(r,s.getChildren(!0,t,i)))),s=s._next;return r},t.getById=function(e){for(var t=this.getChildren(1,1,1),i=t.length;i--;)if(t[i].vars.id===e)return t[i]},t.remove=function(e){return W(e)?this.removeLabel(e):u(e)?this.killTweensOf(e):(x(this,e),e===this._recent&&(this._recent=this._last),jt(this))},t.totalTime=function(e,t){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=A(m.time-(0t:!t||s.isActive())&&n.push(s):(i=s.getTweensOf(r,t)).length&&n.push.apply(n,i),s=s._next;return n},t.tweenTo=function(e,t){t=t||{};var i,n=this,r=c(n,e),e=t,s=e.startAt,a=e.onStart,o=e.onStartParams,e=e.immediateRender,l=X.to(n,D({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:t.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale())||H,onStart:function(){var e;n.pause(),i||(e=t.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale()),l._dur!==e&&ce(l,e,0,1).render(l._time,!0,!0),i=1),a&&a.apply(l,o||[])}},t));return e?l.render(0):l},t.tweenFromTo=function(e,t,i){return this.tweenTo(t,D({startAt:{time:c(this,e)}},i))},t.recent=function(){return this._recent},t.nextLabel=function(e){return void 0===e&&(e=this._time),xe(this,c(this,e))},t.previousLabel=function(e){return void 0===e&&(e=this._time),xe(this,c(this,e),1)},t.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+H)},t.shiftChildren=function(e,t,i){void 0===i&&(i=0);for(var n,r=this._first,s=this.labels;r;)r._start>=i&&(r._start+=e,r._end+=e),r=r._next;if(t)for(n in s)s[n]>=i&&(s[n]+=e);return jt(this)},t.invalidate=function(e){var t=this._first;for(this._lock=0;t;)t.invalidate(e),t=t._next;return di.prototype.invalidate.call(this,e)},t.clear=function(e){void 0===e&&(e=!0);for(var t,i=this._first;i;)t=i._next,this.remove(i),i=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),jt(this)},t.totalDuration=function(e){var t,i,n,r=0,s=this,a=s._last,o=N;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-e:e));if(s._dirty){for(n=s.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),o<(i=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,M(s,a,i-a._delay,1)._lock=0):o=i,i<0&&a._ts&&(r-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-1/0),o=0),a._end>r&&a._ts&&(r=a._end),a=t;ce(s,s===B&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},ui.updateRoot=function(e){if(B._ts&&(v(B,C(e,B)),je=m.frame),m.frame>=It){It+=F.autoSleep||120;var t=B._first;if((!t||!t._ts)&&F.autoSleep&&m._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||m.sleep()}}};var di,P=ui;function ui(e,t){var i;return(i=di.call(this,e=void 0===e?{}:e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=z(e.sortChildren),B&&M(e.parent||B,K(i),t),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&se(K(i),e.scrollTrigger),i}D(P.prototype,{_lock:0,_hasPause:0,_forcing:0});function pi(e,t,i,n,r,s){var a,o,l,c;if(q[e]&&!1!==(a=new q[e]).init(r,a.rawVars?t[e]:yi(t[e],n,r,s,i),i,n,s)&&(i._pt=o=new G(i._pt,r,e,0,1,a.render,a,0,a.priority),i!==Be))for(l=i._ptLookup[i._targets.indexOf(r)],c=a._props.length;c--;)l[a._props[c]]=o;return a}function hi(e,t,i,n,r){return u(e)?e.call(t,i,n,r):W(e)&&~e.indexOf("random(")?Xt(e):e}var fi,mi,gi,vi=function(e,t,i,n,r,s,a,o,l,c){u(n)&&(n=n(r||0,e,s));var d,r=e[t],s="get"!==i?i:u(r)?l?e[t.indexOf("set")||!u(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():r,i=u(r)?l?Ci:Ei:Si;if(!W(n)||"="!==(n=~n.indexOf("random(")?Xt(n):n).charAt(1)||!(d=Dt(s,n)+($(s)||0))&&0!==d||(n=d),!c||s!==n||mi)return isNaN(s*n)||""===n?(r||t in e||_t(t,n),function(e,t,i,n,r,s,a){var o,l,c,d,u,p=new G(this._pt,e,t,0,1,Ai,null,r),h=0,f=0;for(p.b=i,p.e=n,i+="",(r=~(n+="").indexOf("random("))&&(n=Xt(n)),s&&(s(s=[i,n],e,t),i=s[0],n=s[1]),o=i.match(mt)||[];d=mt.exec(n);)c=d[0],d=n.substring(h,d.index),l?l=(l+1)%5:"rgba("===d.substr(-5)&&(l=1),c!==o[f++]&&(u=parseFloat(o[f-1])||0,p._pt={_next:p._pt,p:d||1===f?d:",",s:u,c:"="===c.charAt(1)?Dt(u,c)-u:parseFloat(c)-u,m:l&&l<4?Math.round:0},h=mt.lastIndex);return p.c=h=h._tDur||f<0)&&h.ratio===y&&(y&&ie(h,1),m||j||(R(h,y?"onComplete":"onReverseComplete",!0),h._prom&&h._prom()))}}else h._zTime||(h._zTime=f)}return this},t.targets=function(){return this._targets},t.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),gi.prototype.invalidate.call(this,e)},t.resetTo=function(e,t,i,n,r){Fe||m.wake(),this._ts||this.play();var s,a=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||bi(this,a),s=this._ease(a/this._dur),function(e,t,i,n,r,s,a,o){var l,c,d,u,p=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],d=e._ptLookup,u=e._targets.length;u--;){if((l=d[u][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return mi=1,e.vars[t]="+=0",bi(e,a),mi=0,o?wt(t+" not eligible for reset"):1;p.push(l)}for(u=p.length;u--;)(l=(c=p[u])._pt||c).s=!n&&0!==n||r?l.s+(n||0)+s*l.c:n,l.c=i-l.s,c.e&&(c.e=Y(i)+$(c.e)),c.b&&(c.b=l.s+$(c.b))}(this,e,t,i,n,s,a,r)?this.resetTo(e,t,i,n,1):(Ft(this,0),this.parent||w(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?Te(this):this;if(this.timeline)p=this.timeline.totalDuration(),this.timeline.killTweensOf(e,t,fi&&!0!==fi.vars.overwrite)._first||Te(this),this.parent&&p!==this.timeline.totalDuration()&&ce(this,this._dur*this.timeline._tDur/p,0,1);else{var i,n,r,s,a,o,l,c=this._targets,d=e?O(e):c,u=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0}(c,d))return"all"===t&&(this._pt=0),Te(this);for(i=this._op=this._op||[],"all"!==t&&(W(t)&&(a={},h(t,function(e){return a[e]=1}),t=a),t=function(e,t){var i,n,r,s,e=e[0]?Pt(e[0]).harness:0,a=e&&e.aliases;if(!a)return t;for(n in i=J({},t),a)if(n in i)for(r=(s=a[n].split(",")).length;r--;)i[s[r]]=i[n];return i}(c,t)),l=c.length;l--;)if(~d.indexOf(c[l]))for(a in n=u[l],"all"===t?(i[l]=t,s=n,r={}):(r=i[l]=i[l]||{},s=t),s)(o=n&&n[a])&&("kill"in o.d&&!0!==o.d.kill(a)||x(this,o,"_pt"),delete n[a]),"all"!==r&&(r[a]=1);this._initted&&!this._pt&&p&&Te(this)}return this},r.to=function(e,t){return new r(e,t,arguments[2])},r.from=function(e,t){return ue(1,arguments)},r.delayedCall=function(e,t,i,n){return new r(t,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:t,onReverseComplete:t,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},r.fromTo=function(e,t,i){return ue(2,arguments)},r.set=function(e,t){return t.duration=0,t.repeatDelay||(t.repeat=0),new r(e,t)},r.killTweensOf=function(e,t,i){return B.killTweensOf(e,t,i)},r);function r(e,t,i,n){"number"==typeof t&&(i.duration=t,t=i,i=null);var r,s,a,o,l,c,d,u,p,n=(r=gi.call(this,n?t:te(t))||this).vars,h=n.duration,f=n.delay,m=n.immediateRender,g=n.stagger,v=n.overwrite,y=n.keyframes,b=n.defaults,_=n.scrollTrigger,w=n.yoyoEase,n=t.parent||B,x=(I(e)||ut(e)?ct(e[0]):"length"in t)?[e]:O(e);if(r._targets=x.length?Lt(x):wt("GSAP target "+e+" not found. https://gsap.com",!F.nullTargetWarn)||[],r._ptLookup=[],r._overwrite=v,y||g||Z(h)||Z(f)){if(t=r.vars,(s=r.timeline=new P({data:"nested",defaults:b||{},targets:n&&"nested"===n.data?n.vars.targets:x})).kill(),s.parent=s._dp=K(r),s._start=0,g||Z(h)||Z(f)){if(l=x.length,u=g&&fe(g),k(g))for(c in g)~_i.indexOf(c)&&((p=p||{})[c]=g[c]);for(a=0;a")}),s.duration();else{for(c in o={},y)"ease"!==c&&"easeEach"!==c&&function(e,i,t,n){var r,s,a=i.ease||n||"power1.inOut";if(I(i))s=t[e]||(t[e]=[]),i.forEach(function(e,t){return s.push({t:t/(i.length-1)*100,v:e,e:a})});else for(r in i)s=t[r]||(t[r]=[]),"ease"!==r&&s.push({t:parseFloat(e),v:i[r],e:a})}(c,y[c],o,y.easeEach);for(c in o)for(T=o[c].sort(function(e,t){return e.t-t.t}),a=C=0;as.pr;)i=i._next;(s._prev=i?i._prev:r)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:r=s,s=t}e._pt=n},G=(Di.prototype.modifier=function(e,t,i){this.mSet=this.mSet||this.set,this.set=Ti,this.m=e,this.mt=i,this.tween=t},Di);function Di(e,t,i,n,r,s,a,o,l){this.t=t,this.s=n,this.c=r,this.p=i,this.r=s||ki,this.d=a||this,this.set=o||Si,this.pr=l||0,(this._next=e)&&(e._prev=this)}h(Ot+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return Et[e]=1}),a.TweenMax=a.TweenLite=X,a.TimelineLite=a.TimelineMax=P,B=new P({sortChildren:!1,defaults:it,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),F.stringFilter=Me;function Ri(e){(Fi[e]||Ni).map(function(e){return e()})}function ji(){var e=Date.now(),o=[];2{setTimeout(()=>{this.progress(e,t,i)})};this.images.forEach(function(e){e.once("progress",t),e.check()})}else this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e;e=this.img.parentNode,e="PICTURE"===e.nodeName?e:this.img;this.emitEvent("progress",[this,e,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((s=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(s(this))})})(),o}), /*! Carto - Interactive portfolio Created by ThemeZaa !*/ $(function(){"use strict";const s=document.getElementById("stickyImgContainer");if(void 0!==s&&null!=s){var e=document.querySelector(".slides").querySelectorAll(".slide"),e=Array.from(e).map(e=>({image:"",title:"title1",meta:""}));class n{constructor(e){this.data=document.querySelectorAll(".slide"),this.container=document.querySelector(".slides"),this.currentIdx=0,this.slides=document.querySelectorAll(".slide")}mount(e){e.appendChild(this.container);for(let e=0;ee?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev"))}onMove(e){this.container.style.transform=`translateY(${100*e/this.slides.length}%)`}appear(){this.container.classList.add("scrolling"),s.classList.add("scrolling"),this.slides[this.currentIdx].classList.remove("show-meta")}disperse(t){this.currentIdx=t,this.slides[this.currentIdx].classList.add("show-meta"),this.container.classList.remove("scrolling"),s.classList.remove("scrolling");for(let e=0;et?(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev")):e{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index},complete:e=>{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index}})},t.prototype.onGrabStart=function(){this.options.onZoomOutStart&&this.options.onZoomOutStart({activeIndex:this.index.active}),this.index.initial=this.index.current},t.prototype.snapCurrentToActiveIndex=function(){this.slidesPop&&this.slidesPop.stop(),this.slidesPop=a({from:{index:this.index.current},to:{index:Math.round(this.index.target)},restDelta:.001}).start({complete:()=>{},update:e=>{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index}})},t.prototype.onGrabEnd=function(){this.options.onFullscreenStart&&(this.options.onFullscreenStart({activeIndex:this.index.active}),this.snapCurrentToActiveIndex())},t.prototype.onResize=function(){};const o=new n;new t(e,{onActiveIndexChange:e=>{o.onActiveIndexChange(e)},onIndexChange:e=>{o.onMove(e)},onZoomOutStart:({})=>{o.appear()},onZoomOutFinish:({})=>{},onFullscreenStart:({activeIndex:e})=>{o.disperse(e)},onFullscreenFinish:({})=>{}});o.mount(s)}}), /*! Isotope Version: v3.0.6 Plugin URL: https://isotope.metafizzy.co License: Copyright 2010-2018 Metafizzy | Licensed GPLv3 for open source use or Isotope Commercial License for commercial use !*/ function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";var i=Array.prototype.slice,n=e.console,u=void 0===n?function(){}:function(e){n.error(e)};function r(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=i.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=d.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):u(a+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:t):(o=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),d.data(t,l,i))}),this)},s(d))}function s(e){e&&!e.bridget&&(e.bridget=r)}return s(t||e.jQuery),r}),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 n=this._onceEvents&&this._onceEvents[e],r=0;r