1function throttle(t,e){var i=Date.now();return function(){i+e-Date.now()<0&&(t(),i=Date.now())}}function parallax(){var t=window.pageYOffset,e=document.querySelector(".parallax-container>picture");e&&(e.style.transform="translateY("+(.2*t+"px")+")")}function openAccordion(t){var t=document.querySelector(t);t&&t.classList.contains("accordion-header")&&(t=t.nextElementSibling)&&new bootstrap.Collapse(t).show}((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()})(this,function(){let M=1e3,z="transitionend",q=e=>{let i=e.getAttribute("data-bs-target");if(!i||"#"===i){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#"+t.split("#")[1]),i=t&&"#"!==t?t.trim():null}return i},W=t=>{t=q(t);return t&&document.querySelector(t)?t:null},o=t=>{t=q(t);return t?document.querySelector(t):null},B=t=>{t.dispatchEvent(new Event(z))},r=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,n=t=>r(t)?t.jquery?t[0]:t:"string"==typeof t&&0<t.length?document.querySelector(t):null,s=t=>{if(!r(t)||0===t.getClientRects().length)return!1;var e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(i&&i!==t){t=t.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return e},a=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),H=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?H(t.parentNode):null:null},R=()=>{},F=t=>{t.offsetHeight},$=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,V=[],l=()=>"rtl"===document.documentElement.dir;var t=n=>{var t;t=()=>{let i=$();if(i){let t=n.NAME,e=i.fn[t];i.fn[t]=n.jQueryInterface,i.fn[t].Constructor=n,i.fn[t].noConflict=()=>(i.fn[t]=e,n.jQueryInterface)}},"loading"===document.readyState?(V.length||document.addEventListener("DOMContentLoaded",()=>{for(var t of V)t()}),V.push(t)):t()};let c=t=>{"function"==typeof t&&t()},Y=(n,o,t=!0)=>{if(t){t=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);var t=Number.parseFloat(e),n=Number.parseFloat(i);return t||n?(e=e.split(",")[0],i=i.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(i))*M):0})(o)+5;let e=!1,i=({target:t})=>{t===o&&(e=!0,o.removeEventListener(z,i),c(n))};o.addEventListener(z,i),setTimeout(()=>{e||B(o)},t)}else c(n)},U=(t,e,i,n)=>{var o=t.length;let r=t.indexOf(e);return-1===r?!i&&n?t[o-1]:t[0]:(r+=i?1:-1,n&&(r=(r+o)%o),t[Math.max(0,Math.min(r,o-1))])},Q=/[^.]*(?=\..*)\.|.*/,X=/\..*/,K=/::\d+$/,G={}
1,J=1,Z={mouseenter:"mouseover",mouseleave:"mouseout"},tt=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 et(t,e){return e&&e+"::"+J++||t.uidEvent||J++}function it(t){var e=et(t);return t.uidEvent=e,G[e]=G[e]||{},G[e]}function nt(t,e,i=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===i)}function ot(t,e,i){var n="string"==typeof e,e=!n&&e||i;let o=at(t);return[n,e,o=tt.has(o)?o:t]}function rt(n,o,r,s,a){if("string"==typeof o&&n){let[t,e,i]=ot(o,r,s);o in Z&&(e=(l=e,function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return l.call(this,t)}));var l,c,u,d,h,f,s=it(n),s=s[i]||(s[i]={}),p=nt(s,e,t?r:null);p?p.oneOff=p.oneOff&&a:(p=et(e,o.replace(Q,"")),(o=t?(d=n,h=r,f=e,function e(i){var n=d.querySelectorAll(h);for(let t=i.target;t&&t!==this;t=t.parentNode)for(var o of n)if(o===t)return lt(i,{delegateTarget:t}),e.oneOff&&m.off(d,i.type,h,f),f.apply(t,[i])}):(c=n,u=e,function t(e){return lt(e,{delegateTarget:c}),t.oneOff&&m.off(c,e.type,u),u.apply(c,[e])})).delegationSelector=t?r:null,o.callable=e,o.oneOff=a,s[o.uidEvent=p]=o,n.addEventListener(i,o,t))}}function st(t,e,i,n,o){n=nt(e[i],n,o);n&&(t.removeEventListener(i,n,Boolean(o)),delete e[i][n.uidEvent])}function at(t){return t=t.replace(X,""),Z[t]||t}let m={on(t,e,i,n){rt(t,e,i,n,!1)},one(t,e,i,n){rt(t,e,i,n,!0)},off(t,e,i,n){if("string"==typeof e&&t){var o,[n,r,s]=ot(e,i,n),a=s!==e,l=it(t),c=l[s]||{},u=e.startsWith(".");if(void 0!==r)return Object.keys(c).length?void st(t,l,s,r,n?i:null):void 0;if(u)for(var d of Object.keys(l)){h=f=b=v=g=m=p=void 0;var h,f,p=t,m=l,g=d,v=e.slice(1),b=m[g]||{};for(h of Object.keys(b))h.includes(v)&&st(p,m,g,(f=b[h]).callable,f.delegationSelector)}for(o of Object.keys(c)){var _=o.replace(K,"");a&&!e.includes(_)||st(t,l,s,(_=c[o]).callable,_.delegationSelector)}}},trigger(t,e,i){if("string"!=typeof e||!t)return null;var n=$();let o=null,r=!0,s=!0,a=!1;e!==at(e)&&n&&(o=n.Event(e,i),n(t).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());n=lt(n=new Event(e,{bubbles:r,cancelable:!0}),i);return a&&n.preventDefault(),s&&t.dispatchEvent(n),n.defaultPrevented&&o&&o.preventDefault(),n}};function lt(n,t){for(let[e,i]of Object.entries(t||{}))try{n[e]=i}catch(t){Object.defineProperty(n,e,{configurable:!0,get(){return i}})}return n}let u=new Map,ct={set(t,e,i){u.has(t)||u.set(t,new Map);t=u.get(t);
1t.has(e)||0===t.size?t.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(t.keys())[0]}.`)},get(t,e){return u.has(t)&&u.get(t).get(e)||null},remove(t,e){var i;u.has(t)&&((i=u.get(t)).delete(e),0===i.size)&&u.delete(t)}};function ut(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function dt(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}let d={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+dt(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+dt(e))},getDataAttributes(e){if(!e)return{};var i,n={};for(i of Object.keys(e.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"))){let t=i.replace(/^bs/,"");n[t=t.charAt(0).toLowerCase()+t.slice(1,t.length)]=ut(e.dataset[i])}return n},getDataAttribute(t,e){return ut(t.getAttribute("data-bs-"+dt(e)))}};class ht{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){var i=r(e)?d.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...r(e)?d.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(var i of Object.keys(e)){var n=e[i],o=t[i],o=r(o)?"element":null==(o=o)?""+o:Object.prototype.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${n}".`)}}}class e extends ht{constructor(t,e){super(),(t=n(t))&&(this._element=t,this._config=this._getConfig(e),ct.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ct.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(var t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){Y(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return ct.get(n(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(t){return""+t+this.EVENT_KEY}}var ft=(e,i="hide")=>{var t="click.dismiss"+e.EVENT_KEY;let n=e.NAME;m.on(document,t,`[data-bs-dismiss="${n}"]`,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(t=o(this)||this.closest("."+n),e.getOrCreateInstance(t)[i]())})};class pt extends e{static get NAME(){return"alert"}close(){var t;m.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),m.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){var t=pt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ft(pt,"close"),t(pt);let mt='[data-bs-toggle="button"]';class gt extends e{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){var t=gt.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}m.on(document,"click.bs.button.data-api",mt,t=>{t.preventDefault();t=t.target.closest(mt);gt.getOrCreateInstance(t).toggle()}),t(gt);let h={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(t=>t.matches(e))},parents(t,e){var i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(",");return this.find(e,t).filter(t=>!a(t)&&s(t))}},i=".bs.swipe",vt=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),bt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class _t extends ht{constructor(t,e){super(),(this._element=t)&&_t.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return vt}static get DefaultType(){return bt}static get NAME(){return"swipe"}dispose(){m.off(this._element,i)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(t){this._deltaX=t.touches&&1<t.touches.length?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){var t=Math.abs(this._deltaX);t<=40||(t=t/this._deltaX,this._deltaX=0,t&&c(0<t?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(m.on(this._element,"pointerdown.bs.swipe",t=>this._start(t)),m.on(this._element,"pointerup.bs.swipe",t=>this._end(t)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.swipe",t=>this._start(t)),m.on(this._element,"touchmove.bs.swipe",t=>this._move(t)),m.on(this._element,"touchend.bs.swipe",t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}var f=".bs.carousel";let yt="next",p="prev",g="left",wt="right",Et="slid"+f;let At="carousel",xt="active",Lt=".active",Tt=".carousel-item";Lt,Tt;let kt={ArrowLeft:wt,ArrowRight:g},Ct={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ot={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class St extends e{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=h.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===At&&this.cycle()}static get Default(){return Ct}static get DefaultType(){return Ot}static get NAME(){return"carousel"}next(){this._slide(yt)}nextWhenVisible(){!document.hidden&&s(this._element)&&this.next()}prev(){this._slide(p)}pause(){this._isSliding&&B(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?m.one(this._element,Et,()=>this.cycle()):this.cycle())}to(t){var e,i=this._getItems();t>i.length-1||t<0||(this._isSliding?m.one(this._element,Et,()=>this.to(t)):(e=this._getItemIndex(this._getActive()))!==t&&(e=e<t?yt:p,this._slide(e,i[t])))}
1dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&m.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"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&&_t.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(var t of h.find(".carousel-item img",this._element))m.on(t,"dragstart.bs.carousel",t=>t.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(g)),rightCallback:()=>this._slide(this._directionToOrder(wt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new _t(this._element,e)}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=kt[t.key])&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){var e;this._indicatorsElement&&((e=h.findOne(Lt,this._indicatorsElement)).classList.remove(xt),e.removeAttribute("aria-current"),e=h.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement))&&(e.classList.add(xt),e.setAttribute("aria-current","true"))}_updateInterval(){var t=this._activeElement||this._getActive();t&&(t=Number.parseInt(t.getAttribute("data-bs-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(e,s=null){if(!this._isSliding){let o=this._getActive();var a=e===yt;let r=s||U(this._getItems(),o,a,this._config.wrap);if(r!==o){let i=this._getItemIndex(r),n=t=>m.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(o),to:i});s=n("slide.bs.carousel");if(!s.defaultPrevented&&o&&r){s=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=r;let t=a?"carousel-item-start":"carousel-item-end",e=a?"carousel-item-next":"carousel-item-prev";r.classList.add(e),F(r),o.classList.add(t),r.classList.add(t);this._queueCallback(()=>{r.classList.remove(t,e),r.classList.add(xt),o.classList.remove(xt,e,t),this._isSliding=!1,n(Et)},o,this._isAnimated()),s&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return h.findOne(".active.carousel-item",this._element)}_getItems(){return h.find(Tt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return l()?t===g?p:yt:t===g?yt:p}_orderToDirection(t){return l()?t===p?g:wt:t===p?wt:g}static jQueryInterface(e){return this.each(function(){var t=St.getOrCreateInstance(this,e);if("number"==typeof e)t.to(e);else if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}m.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(t){var e=o(this);e&&e.classList.contains(At)&&(t.preventDefault(),t=St.getOrCreateInstance(e),(e=this.getAttribute("data-bs-slide-to"))?t.to(e):"next"===d.getDataAttribute(this,"slide")?t.next():t.prev(),t._maybeEnableCycle())}),m.on(window,"load.bs.carousel.data-api",()=>{var t;for(t of h.find('[data-bs-ride="carousel"]'))St.getOrCreateInstance(t)}),t(St);let It="show",v="collapse",Dt="collapsing",jt=(v,v,'[data-bs-toggle="collapse"]'),Pt={parent:null,toggle:!0},Nt={parent:"(null|element)",toggle:"boolean"};class Mt extends e{constructor(t,e){var i;super(t,e),this._isTransitioning=!1,this._triggerArray=[];for(i of h.find(jt)){var n=W(i),o=h.find(n).filter(t=>t===this._element);null!==n&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pt}static get DefaultType(){return Nt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];
1if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>Mt.getOrCreateInstance(t,{toggle:!1})):e).length||!e[0]._isTransitioning){var i=m.trigger(this._element,"show.bs.collapse");if(!i.defaultPrevented){for(var n of e)n.hide();let t=this._getDimension();this._element.classList.remove(v),this._element.classList.add(Dt),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;i="scroll"+(t[0].toUpperCase()+t.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Dt),this._element.classList.add(v,It),this._element.style[t]="",m.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[t]=this._element[i]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var t=m.trigger(this._element,"hide.bs.collapse");if(!t.defaultPrevented){var e,t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",F(this._element),this._element.classList.add(Dt),this._element.classList.remove(v,It);for(e of this._triggerArray){var i=o(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Dt),this._element.classList.add(v),m.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(t=this._element){return t.classList.contains(It)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=n(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){var t;if(this._config.parent)for(t of this._getFirstLevelChildren(jt)){var e=o(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(t){let e=h.find(":scope .collapse .collapse",this._config.parent);return h.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(var i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(e){let i={};return"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),this.each(function(){var t=Mt.getOrCreateInstance(this,i);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m.on(document,"click.bs.collapse.data-api",jt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var e,t=W(this);for(e of h.find(t))Mt.getOrCreateInstance(e,{toggle:!1}).toggle()}),t(Mt);var k="top",C="bottom",O="right",S="left",zt="auto",qt=[k,C,O,S],I="start",Wt="end",Bt="clippingParents",Ht="viewport",Rt="popper",Ft="reference",$t=qt.reduce(function(t,e){return t.concat([e+"-"+I,e+"-"+Wt])},[]),Vt=[].concat(qt,[zt]).reduce(function(t,e){return t.concat([e,e+"-"+I,e+"-"+Wt])},[]),f="beforeRead",Yt="afterRead",Ut="beforeMain",Qt="afterMain",Xt="beforeWrite",Kt="afterWrite",Gt=[f,"read",Yt,Ut,"main",Qt,Xt,"write",Kt];function b(t){return t?(t.nodeName||"").toLowerCase():null}function _(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function y(t){return t instanceof _(t).Element||t instanceof Element}function w(t){return t instanceof _(t).HTMLElement||t instanceof HTMLElement}function Jt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof _(t).ShadowRoot||t instanceof ShadowRoot)}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var o=t.state;Object.keys(o.elements).forEach(function(t){var e=o.styles[t]||{},i=o.attributes[t]||{},n=o.elements[t];
1w(n)&&b(n)&&(Object.assign(n.style,e),Object.keys(i).forEach(function(t){var e=i[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var n=t.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(t){var e=n.elements[t],i=n.attributes[t]||{},t=Object.keys((n.styles.hasOwnProperty(t)?n.styles:o)[t]).reduce(function(t,e){return t[e]="",t},{});w(e)&&b(e)&&(Object.assign(e.style,t),Object.keys(i).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function D(t){return t.split("-")[0]}var T=Math.max,te=Math.min,ee=Math.round;function ie(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ne(){return!/^((?!chrome|android).)*safari/i.test(ie())}function oe(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&w(t)&&(o=0<t.offsetWidth&&ee(n.width)/t.offsetWidth||1,r=0<t.offsetHeight&&ee(n.height)/t.offsetHeight||1);e=(y(t)?_(t):window).visualViewport,t=!ne()&&i,i=(n.left+(t&&e?e.offsetLeft:0))/o,t=(n.top+(t&&e?e.offsetTop:0))/r,e=n.width/o,o=n.height/r;return{width:e,height:o,top:t,right:i+e,bottom:t+o,left:i,x:i,y:t}}function re(t){var e=oe(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function se(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&Jt(i)){var n=e;do{if(n&&t.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function E(t){return _(t).getComputedStyle(t)}function A(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function ae(t){return"html"===b(t)?t:t.assignedSlot||t.parentNode||(Jt(t)?t.host:null)||A(t)}function le(t){return w(t)&&"fixed"!==E(t).position?t.offsetParent:null}function ce(t){for(var e,i=_(t),n=le(t);n&&(e=n,0<=["table","td","th"].indexOf(b(e)))&&"static"===E(n).position;)n=le(n);return(!n||"html"!==b(n)&&("body"!==b(n)||"static"!==E(n).position))&&(n||(t=>{var e=/firefox/i.test(ie()),i=/Trident/i.test(ie());if(!i||!w(t)||"fixed"!==E(t).position){var n=ae(t);for(Jt(n)&&(n=n.host);w(n)&&["html","body"].indexOf(b(n))<0;){var o=E(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}}return null})(t))||i}function ue(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"}function de(t,e,i){return T(t,te(e,i))}function he(){return{top:0,right:0,bottom:0,left:0}}function fe(t){return Object.assign({},he(),t)}function pe(i,t){return t.reduce(function(t,e){return t[e]=i,t},{})}var me={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i,n,o,r=t.state,s=t.name,t=t.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,c=ue(u=D(r.placement)),u=0<=[S,O].indexOf(u)?"height":"width";a&&l&&(t=t.padding,i=r,i=fe("number"!=typeof(t="function"==typeof t?t(Object.assign({},i.rects,{placement:i.placement})):t)?t:pe(t,qt)),t=re(a),o="y"===c?k:S,n="y"===c?C:O,e=r.rects.reference[u]+r.rects.reference[c]-l[c]-r.rects.popper[u],l=l[c]-r.rects.reference[c],a=(a=ce(a))?"y"===c?a.clientHeight||0:a.clientWidth||0:0,o=i[o],i=a-t[u]-i[n],o=de(o,n=a/2-t[u]/2+(e/2-l/2),i),r.modifiersData[s]=((a={})[c]=o,a.centerOffset=o-n,a))},effect:function(t){var e=t.state;null!=(t=void 0===(t=t.options.element)?"[data-popper-arrow]":t)&&("string"!=typeof t||(t=e.elements.popper.querySelector(t)))&&se(e.elements.popper,t)&&(e.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(t){return t.split("-")[1]}var ve={top:"auto",right:"auto",bottom:"auto",left:"auto"};function be(t){var e,i,n,o=t.popper,r=t.popperRect,s=t.placement,a=t.variation,l=t.offsets,c=t.position,u=t.gpuAcceleration,d=t.adaptive,h=t.roundOffsets,t=t.isFixed,f=l.x,f=void 0===f?0:f,p=l.y,p=void 0===p?0:p,m="function"==typeof h?h({x:f,y:p}):{x:f,y:p},m=(f=m.x,p=m.y,l.hasOwnProperty("x")),l=l.hasOwnProperty("y"),g=S,v=k,b=window,o=(d&&(i="clientHeight",e="clientWidth",(n=ce(o))===_(o)&&"static"!==E(n=A(o)).position&&"absolute"===c&&(i="scrollHeight",e="scrollWidth"),s!==k&&(s!==S&&s!==O||a!==Wt)||(v=C,p=(p-((t&&n===b&&b.visualVie
1wport?b.visualViewport.height:n[i])-r.height))*(u?1:-1)),s!==S&&(s!==k&&s!==C||a!==Wt)||(g=O,f=(f-((t&&n===b&&b.visualViewport?b.visualViewport.width:n[e])-r.width))*(u?1:-1))),Object.assign({position:c},d&&ve)),t=!0===h?(s=(i={x:f,y:p}).x,i=i.y,a=window.devicePixelRatio||1,{x:ee(s*a)/a||0,y:ee(i*a)/a||0}):{x:f,y:p};return f=t.x,p=t.y,u?Object.assign({},o,((n={})[v]=l?"0":"",n[g]=m?"0":"",n.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",n)):Object.assign({},o,((e={})[v]=l?p+"px":"",e[g]=m?f+"px":"",e.transform="",e))}var _e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=void 0===(i=(t=t.options).gpuAcceleration)||i,n=void 0===(n=t.adaptive)||n,t=void 0===(t=t.roundOffsets)||t,i={placement:D(e.placement),variation:ge(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,be(Object.assign({},i,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:n,roundOffsets:t})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,be(Object.assign({},i,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:t})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},ye={passive:!0};var we={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=(t=t.options).scroll,o=void 0===n||n,r=void 0===(n=t.resize)||n,s=_(e.elements.popper),a=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&a.forEach(function(t){t.addEventListener("scroll",i.update,ye)}),r&&s.addEventListener("resize",i.update,ye),function(){o&&a.forEach(function(t){t.removeEventListener("scroll",i.update,ye)}),r&&s.removeEventListener("resize",i.update,ye)}},data:{}}
1,Ee={left:"right",right:"left",bottom:"top",top:"bottom"};function Ae(t){return t.replace(/left|right|bottom|top/g,function(t){return Ee[t]})}var xe={start:"end",end:"start"};function Le(t){return t.replace(/start|end/g,function(t){return xe[t]})}function Te(t){t=_(t);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){return oe(A(t)).left+Te(t).scrollLeft}function Ce(t){var t=E(t),e=t.overflow;return/auto|scroll|overlay|hidden/.test(e+t.overflowY+t.overflowX)}function Oe(t,e){void 0===e&&(e=[]);var i=function t(e){return 0<=["html","body","#document"].indexOf(b(e))?e.ownerDocument.body:w(e)&&Ce(e)?e:t(ae(e))}(t),t=i===(null==(t=t.ownerDocument)?void 0:t.body),n=_(i),n=t?[n].concat(n.visualViewport||[],Ce(i)?i:[]):i,i=e.concat(n);return t?i:i.concat(Oe(ae(n)))}function Se(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ie(t,e,i){return e===Ht?Se((o=i,s=_(n=t),a=A(n),s=s.visualViewport,l=a.clientWidth,a=a.clientHeight,u=c=0,s&&(l=s.width,a=s.height,(r=ne())||!r&&"fixed"===o)&&(c=s.offsetLeft,u=s.offsetTop),{width:l,height:a,x:c+ke(n),y:u})):y(e)?((o=oe(r=e,!1,"fixed"===(o=i))).top=o.top+r.clientTop,o.left=o.left+r.clientLeft,o.bottom=o.top+r.clientHeight,o.right=o.left+r.clientWidth,o.width=r.clientWidth,o.height=r.clientHeight,o.x=o.left,o.y=o.top,o):Se((s=A(t),l=A(s),a=Te(s),c=null==(c=s.ownerDocument)?void 0:c.body,n=T(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=T(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),s=-a.scrollLeft+ke(s),a=-a.scrollTop,"rtl"===E(c||l).direction&&(s+=T(l.clientWidth,c?c.clientWidth:0)-n),{width:n,height:u,x:s,y:a}));var n,o,r,s,a,l,c,u}function De(i,t,e,n){var o,r="clippingParents"===t?(s=Oe(ae(r=i)),y(o=0<=["absolute","fixed"].indexOf(E(r).position)&&w(r)?ce(r):r)?s.filter(function(t){return y(t)&&se(t,o)&&"body"!==b(t)}):[]):[].concat(t),s=[].concat(r,[e]),t=s[0],e=s.reduce(function(t,e){e=Ie(i,e,n);return t.top=T(e.top,t.top),t.right=te(e.right,t.right),t.bottom=te(e.bottom,t.bottom),t.left=T(e.left,t.left),t},Ie(i,t,n));return e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}function je(t){var e,i=t.reference,n=t.element,t=t.placement,o=t?D(t):null,t=t?ge(t):null,r=i.x+i.width/2-n.width/2,s=i.y+i.height/2-n.height/2;switch(o){case k:e={x:r,y:i.y-n.height};break;case C:e={x:r,y:i.y+i.height};break;case O:e={x:i.x+i.width,y:s};break;case S:e={x:i.x-n.width,y:s};break;default:e={x:i.x,y:i.y}}var a=o?ue(o):null;if(null!=a){var l="y"===a?"height":"width";switch(t){case I:e[a]=e[a]-(i[l]/2-n[l]/2);break;case Wt:e[a]=e[a]+(i[l]/2-n[l]/2)}}return e}function Pe(t,e){var n,e=e=void 0===e?{}:e,i=e.placement,i=void 0===i?t.placement:i,o=e.strategy,o=void 0===o?t.strategy:o,r=e.boundary,r=void 0===r?Bt:r,s=e.rootBoundary,s=void 0===s?Ht:s,a=e.elementContext,a=void 0===a?Rt:a,l=e.altBoundary,l=void 0!==l&&l,e=e.padding,e=void 0===e?0:e,e=fe("number"!=typeof e?e:pe(e,qt)),c=t.rects.popper,l=t.elements[l?a===Rt?Ft:Rt:a],l=De(y(l)?l:l.contextElement||A(t.elements.popper),r,s,o),r=oe(t.elements.reference),s=je({reference:r,element:c,strategy:"absolute",placement:i}),o=Se(Object.assign({},c,s)),c=a===Rt?o:r,u={top:l.top-c.top+e.top,bottom:c.bottom-l.bottom+e.bottom,left:l.left-c.left+e.left,right:c.right-l.right+e.right},s=t.modifiersData.offset;return a===Rt&&s&&(n=s[i],Object.keys(u).forEach(function(t){var e=0<=[O,C].indexOf(t)?1:-1,i=0<=[k,C].indexOf(t)?"y":"x";u[t]+=n[i]*e})),u}var Ne={name:"flip",enabled:!0,phase:"main",fn:function(t){var d=t.state,e=t.options,t=t.name;if(!d.modifiersData[t]._skip){for(var i=e.mainAxis,n=void 0===i||i,i=e.altAxis,o=void 0===i||i,i=e.fallbackPlacements,h=e.padding,f=e.boundary,p=e.rootBoundary,r=e.altBoundary,s=e.flipVariations,m=void 0===s||s,g=e.allowedAutoPlacements,s=d.options.placement,e=D(s),i=i||(e===s||!m?[Ae(s)]:D(i=s)===zt?[]:(e=Ae(i),[Le(i),e,Le(e)])),a=[s].concat(i).reduce(function(t,e){return t.concat(D(e)===zt?(i=d,n=(t=t=void 0===(t={placement:e,boundary:f,rootBoundary:p,padding:h,flipVariations:m,allowedAutoPlacements:g})?{}:t).placement,o=t.boundary,r=t.rootBoundary,s=t.padding,a=t.flipVariations,l=void 0===(t=t.allowedAutoPlacements)?Vt:t,c=ge(n),t=c?a?$t:$t.filter(function(t){return ge(t)===c}):qt,u=(n=0===(n=t.filter(function(t){return 0<=l.indexOf(t)})).length?t:n).reduce(function(t,e){return t[e]=Pe(i,{placement:e,boundary:o,rootBoundary:r,padding:s})[D(e)],t},{}
1),Object.keys(u).sort(function(t,e){return u[t]-u[e]})):e);var i,n,o,r,s,a,l,c,u},[]),l=d.rects.reference,c=d.rects.popper,u=new Map,v=!0,b=a[0],_=0;_<a.length;_++){var y=a[_],w=D(y),E=ge(y)===I,A=0<=[k,C].indexOf(w),x=A?"width":"height",L=Pe(d,{placement:y,boundary:f,rootBoundary:p,altBoundary:r,padding:h}),A=A?E?O:S:E?C:k,E=(l[x]>c[x]&&(A=Ae(A)),Ae(A)),x=[];if(n&&x.push(L[w]<=0),o&&x.push(L[A]<=0,L[E]<=0),x.every(function(t){return t})){b=y,v=!1;break}u.set(y,x)}if(v)for(var T=m?3:1;0<T;T--)if("break"===(e=>{var t=a.find(function(t){t=u.get(t);if(t)return t.slice(0,e).every(function(t){return t})});if(t)return b=t,"break"})(T))break;d.placement!==b&&(d.modifiersData[t]._skip=!0,d.placement=b,d.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Me(t,e,i){return{top:t.top-e.height-(i=void 0===i?{x:0,y:0}:i).y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ze(e){return[k,O,C,S].some(function(t){return 0<=e[t]})}var qe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,t=t.name,i=e.rects.reference,n=e.rects.popper,o=e.modifiersData.preventOverflow,r=Pe(e,{elementContext:"reference"}),s=Pe(e,{altBoundary:!0}),r=Me(r,i),i=Me(s,n,o),s=ze(r),n=ze(i);e.modifiersData[t]={referenceClippingOffsets:r,popperEscapeOffsets:i,isReferenceHidden:s,hasPopperEscaped:n},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":n})}};var We={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var s=t.state,e=t.name,a=void 0===(t=t.options.offset)?[0,0]:t,t=Vt.reduce(function(t,e){var i,n,o,r;return t[e]=(e=e,i=s.rects,n=a,o=D(e),r=0<=[S,k].indexOf(o)?-1:1,e=(i="function"==typeof n?n(Object.assign({},i,{placement:e})):n)[0]||0,n=(i[1]||0)*r,0<=[S,O].indexOf(o)?{x:n,y:e}:{x:e,y:n}),t},{}),i=(n=t[s.placement]).x,n=n.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=i,s.modifiersData.popperOffsets.y+=n),s.modifiersData[e]=t}};var Be={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=je({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var He={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e,i,n,o,r,s,a,l,c,u=t.state,d=t.options,t=t.name,h=void 0===(h=d.mainAxis)||h,f=void 0!==(f=d.altAxis)&&f,p=void 0===(p=d.tether)||p,m=void 0===(m=d.tetherOffset)?0:m,d=Pe(u,{boundary:d.boundary,rootBoundary:d.rootBoundary,padding:d.padding,altBoundary:d.altBoundary}),g=D(u.placement),v=ge(u.placement),b=!v,_=ue(g),y="x"===_?"y":"x",w=u.modifiersData.popperOffsets,E=u.rects.reference,A=u.rects.popper,m="number"==typeof(m="function"==typeof m?m(Object.assign({},u.rects,{placement:u.placement})):m)?{mainAxis:m,altAxis:m}:Object.assign({mainAxis:0,altAxis:0},m),x=u.modifiersData.offset?u.modifiersData.offset[u.placement]:null,L={x:0,y:0};w&&(h&&(h="y"===_?"height":"width",s=(a=w[_])+d[i="y"===_?k:S],l=a-d[c="y"===_?C:O],e=p?-A[h]/2:0,o=(v===I?E:A)[h],v=v===I?-A[h]:-E[h],r=u.elements.arrow,r=p&&r?re(r):{width:0,height:0},i=(n=u.modifiersData["arrow#persistent"]?u.modifiersData["arrow#persistent"].padding:he())[i],n=n[c],c=de(0,E[h],r[h]),r=b?E[h]/2-e-c-i-m.mainAxis:o-c-i-m.mainAxis,o=b?-E[h]/2+e+c+n+m.mainAxis:v+c+n+m.mainAxis,b=(i=u.elements.arrow&&ce(u.elements.arrow))?"y"===_?i.clientTop||0:i.clientLeft||0:0,v=a+o-(e=null!=(h=null==x?void 0:x[_])?h:0),c=de(p?te(s,a+r-e-b):s,a,p?T(l,v):l),w[_]=c,L[_]=c-a),f&&(n="y"==y?"height":"width",o=(i=w[y])+d["x"===_?k:S],h=i-d["x"===_?C:O],r=-1!==[k,S].indexOf(g),b=null!=(e=null==x?void 0:x[y])?e:0,s=r?o:i-E[n]-A[n]-b+m.altAxis,v=r?i+E[n]+A[n]-b-m.altAxis:h,a=p&&r?(l=de(l=s,i,c=v),c<l?c:l):de(p?s:o,i,p?v:h),w[y]=a,L[y]=a-i),u.modifiersData[t]=L)},requiresIfExists:["offset"]};function Re(t,e,i){void 0===i&&(i=!1);var n=w(e),o=w(e)&&(s=(o=e).getBoundingClientRect(),r=ee(s.width)/o.offsetWidth||1,s=ee(s.height)/o.offsetHeight||1,1!==r||1!==s),r=A(e),s=oe(t,o,i),t={scrollLeft:0,scrollTop:0},a={x:0,y:0};return!n&&i||("body"===b(e)&&!Ce(r)||(t=(n=e)!==_(n)&&w(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Te(n)),w(e)?((a=oe(e,!0)).x+=e.clientLeft,a.y+=e.clientTop):r&&(a.x=ke(r))),{x:s.left+t.scrollLeft-a.x,y:s.top+t.scrollTop-a.y,width:s.width,height:s.height}}function Fe(t){var i=new Map,n=new Set,o=[];return t.forEach(function(t){i.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||!function e(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEac
1h(function(t){n.has(t)||(t=i.get(t))&&e(t)}),o.push(t)}(t)}),o}var $e={placement:"bottom",modifiers:[],strategy:"absolute"};function Ve(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function Ye(t){var t=t=void 0===t?{}:t,e=t.defaultModifiers,d=void 0===e?[]:e,e=t.defaultOptions,h=void 0===e?$e:e;return function(n,o,e){void 0===e&&(e=h);var i,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},$e,h),modifiersData:{},elements:{reference:n,popper:o},attributes:{},styles:{}},a=[],l=!1,c={state:s,setOptions:function(t){var i,e,t="function"==typeof t?t(s.options):t,t=(u(),s.options=Object.assign({},h,s.options,t),s.scrollParents={reference:y(n)?Oe(n):n.contextElement?Oe(n.contextElement):[],popper:Oe(o)},t=[].concat(d,s.options.modifiers),e=t.reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{}),t=Object.keys(e).map(function(t){return e[t]}),i=Fe(t),Gt.reduce(function(t,e){return t.concat(i.filter(function(t){return t.phase===e}))},[]));return s.orderedModifiers=t.filter(function(t){return t.enabled}),s.orderedModifiers.forEach(function(t){var e=t.name,i=t.options,t=t.effect;"function"==typeof t&&(t=t({state:s,name:e,instance:c,options:void 0===i?{}:i}),a.push(t||function(){}))}),c.update()},forceUpdate:function(){if(!l){var t=s.elements,e=t.reference,t=t.popper;if(Ve(e,t)){s.rects={reference:Re(e,ce(t),"fixed"===s.options.strategy),popper:re(t)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(t){return s.modifiersData[t.name]=Object.assign({},t.data)});for(var i,n,o,r=0;r<s.orderedModifiers.length;r++)!0===s.reset?(s.reset=!1,r=-1):(n=(i=s.orderedModifiers[r]).fn,o=i.options,"function"==typeof n&&(s=n({state:s,options:void 0===o?{}:o,name:i.name,instance:c})||s))}}},update:(i=function(){return new Promise(function(t){c.forceUpdate(),t(s)})},function(){return r=r||new Promise(function(t){Promise.resolve().then(function(){r=void 0,t(i())})})}),destroy:function(){u(),l=!0}};return Ve(n,o)&&c.setOptions(e).then(function(t){!l&&e.onFirstUpdate&&e.onFirstUpdate(t)}),c;function u(){a.forEach(function(t){return t()}),a=[]}}}var Ue=Ye({defaultModifiers:[we,Be,_e,Zt,We,Ne,He,me,qe]});let Qe=Object.freeze(Object.defineProperty({__proto__:null,popperGenerator:Ye,detectOverflow:Pe,createPopperBase:Ye(),createPopper:Ue,createPopperLite:Ye({defaultModifiers:[we,Be,_e,Zt]}),top:k,bottom:C,right:O,left:S,auto:zt,basePlacements:qt,start:I,end:Wt,clippingParents:Bt,viewport:Ht,popper:Rt,reference:Ft,variationPlacements:$t,placements:Vt,beforeRead:f,read:"read",afterRead:Yt,beforeMain:Ut,main:"main",afterMain:Qt,beforeWrite:Xt,write:"write",afterWrite:Kt,modifierPhases:Gt,applyStyles:Zt,arrow:me,computeStyles:_e,eventListeners:we,flip:Ne,hide:qe,offset:We,popperOffsets:Be,preventOverflow:He},Symbol.toStringTag,{value:"Module"})),Xe="dropdown";f=".bs.dropdown",Yt=".data-api";let Ke="ArrowDown";Ut="click"+f+Yt,Qt="keydown"+f+Yt;let Ge="show",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Je=(x,".dropdown-menu"),Ze=l()?"top-end":"top-start",ti=l()?"top-start":"top-end",ei=l()?"bottom-end":"bottom-start",ii=l()?"bottom-start":"bottom-end",ni=l()?"left-start":"right-start",oi=l()?"right-start":"left-start",ri={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},si={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class L extends e{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=h.next(this._element,Je)[0]||h.prev(this._element,Je)[0]||h.findOne(Je,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ri}static get DefaultType(){return si}static get NAME(){return Xe}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!a(this._element)&&!this._isShown()){var t={relatedTarget:this._element},e=m.trigger(this._element,"show.bs.dropdown",t);if(!e.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(var i of[].concat(...document.body.children))m.on(i,"mouseover",R);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ge),this._element.classList.add(Ge),m.trigger(this._element,"shown.bs.dropdown",t)}}}hide(){var t;!a(this._element)&&this._isShown()&&(t={relatedTarget:this._element},this._completeHide(t))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){var e=m.trigger(this._element,"hide.bs.dropdown",t);if(!e.defaultPrevented){if("ontouchstart"in document.documentElement)for(var i of[].concat(...document.body.children))m.off(i,"mouseover",R);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ge),this._element.classList.remove(Ge),this._element.setAttribute("aria-expanded","false"),d.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,"hidden.bs.dropdown",t)}}_getConfig(t){if("object"!=typeof(t=super._getConfig(t)).reference||r(t.reference)||"function"==typeof t.reference.getBoundingClientRect)return t;throw new TypeError(Xe.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Qe)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:r(this._config.reference)?t=n(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);var e=this._getPopperConfig();this._popper=Ue(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Ge)}_getPlacement(){var t,e=this._parent;return e.classList.contains("dropend")?ni:e.classList.contains("dropstart")?oi:e.classList.contains("dropup-center")?"top":e.classList.contains("dropdown-center")?"bottom":(t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),e.classList.contains("dropup")?t?ti:Ze:t?ii:ei)}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){let e=this._config.offset;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={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"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){var i=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>s(t));i.length&&U(i,e,t===Ke,!i.includes(e)).focus()}static jQueryInterface(e){return this.each(function(){var t=L.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(t){var e;if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key))for(e of h.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var i,n,o=L.getInstance(e);o&&!1!==o._config.autoClose&&(i=(n=t.composedPath()).includes(o._menu),n.includes(o._element)||"inside"===o._config.autoClose&&!i||"outside"===o._config.autoClose&&i||o._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(n={relatedTarget:o._element},"click"===t.type&&(n.clickEvent=t),o._completeHide(n)))}}static dataApiKeydownHandler(t){var e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=["ArrowUp",Ke].includes(t.key);!n&&!i||e&&!i||(t.preventDefault(),e=this.matches(x)?this:h.prev(this,x)[0]||h.next(this,x)[0]||h.findOne(x,t.delegateTarget.parentNode),i=L.getOrCreateInstance(e),n?(t.stopPropagation(),i.show(),i._selectMenuItem(t)):i._isShown()&&(t.stopPropagation(),i.hide(),e.focus()))}}m.on(document,Qt,x,L.dataApiKeydownHandler),m.on(document,Qt,Je,L.dataApiKeydownHandler),m.on(document,Ut,L.clearMenus),m.on(document,"keyup.bs.dropdown.data-api",L.clearMenus),m.on(document,Ut,x,function(t){t.preventDefault(),L.getOrCreateInstance(this).toggle()}),t(L);let ai=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",li=".sticky-top",ci="padding-right",ui="margin-right";class di{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ci,t=>t+e),this._setElementAttributes(ai,ci,t=>t+e),this._setElementAttributes(li,ui,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(ai,ci),this._resetElementAttributes(li,ui)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,i,n){let o=this.getWidth();this._applyManipulationCallback(t,t=>{var e;t!==this._element&&window.innerWidth>t.clientWidth+o||(this._saveInitialAttribute(t,i),e=window.getComputedStyle(t).getPropertyValue(i),t.style.setProperty(i,n(Number.parseFloat(e))+"px"))})}_saveInitialAttribute(t,e){var i=t.style.getPropertyValue(e);i&&d.setDataAttribute(t,e,i)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,t=>{var e=d.getDataAttribute(t,i);null===e?t.style.removeProperty(i):(d.removeDataAttribute(t,i),t.style.setProperty(i,e))})}_applyManipulationCallback(t,e){if(r(t))e(t);else for(var i of h.find(t,this._element))e(i)}}let hi="backdrop",fi="mousedown.bs."+hi,pi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},mi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class gi extends ht{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return pi}static get DefaultType(){return mi}static get NAME(){return hi}show(t){var e;this._config.isVisible?(this._append(),e=this._getElement(),this._config.isAnimated&&F(e),e.classList.add("show"),this._emulateAnimation(()=>{c(t)})):c(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(t)})):c(t)}dispose(){this._isAppended&&(m.off(this._element,fi),this._element.remove(),this._isAppended=!1)}_getElement(){var t;return this._element||((t=document.createElement("div")).className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t),this._element}_configAfterMerge(t){return t.rootElement=n(t.rootElement),t}_append(){var t;this._isAppended||(t=this._getElement(),this._config.rootElement.append(t),m.on(t,fi,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(t){Y(t,this._getElement(),this._config.isAnimated)}}let vi=".bs.focustrap",bi=(vi,vi,"backward"),_i={autofocus:!0,trapElement:null},yi={autofocus:"boolean",trapElement:"element"};class wi extends ht{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return _i}static get DefaultType(){return yi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,vi),m.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),m.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,vi))}_handleFocusin(t){var e=this._config.trapElement;t.target===document||t.target===e||e.contains(t.target)||(0===(t=h.focusableChildren(e)).length?e:this._lastTabNavDirection===bi?t[t.length-1]:t[0]).focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?bi:"forward")}}let j=".bs.modal";j,j;let Ei="hidden"+j,Ai="show"+j;j,j,j,j,j;j;let xi="modal-open",Li="modal-static";let Ti={backdrop:!0,focus:!0,keyboard:!0},ki={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ci extends e{constructor(t,e){super(t,e),this._dialog=h.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new di,this._addEventListeners()}static get Default(){return Ti}static get DefaultType(){return ki}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||m.trigger(this._element,Ai,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(xi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}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(){for(var t of[window,this._dialog])m.off(t,j);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new gi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_showElement(t){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 e=h.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),F(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:t})},this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.modal",t=>{"Escape"===t.key&&(this._config.keyboard?(t.preventDefault(),this.hide()):this._triggerBackdropTransition())}),m.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,"mousedown.dismiss.bs.modal",e=>{m.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.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(xi),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,Ei)})}_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;let t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Li)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Li),this._queueCallback(()=>{this._element.classList.remove(Li),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var t,e=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),n=0<i;n&&!e&&(t=l()?"paddingLeft":"paddingRight",this._element.style[t]=i+"px"),!n&&e&&(t=l()?"paddingRight":"paddingLeft",this._element.style[t]=i+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,i){return this.each(function(){var t=Ci.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e](i)}})}}m.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){let e=o(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),m.one(e,Ai,t=>{t.defaultPrevented||m.one(e,Ei,()=>{s(this)&&this.focus()})});t=h.findOne(".modal.show");t&&Ci.getInstance(t).hide(),Ci.getOrCreateInstance(e).toggle(this)}),ft(Ci),t(Ci);Xt=".bs.offcanvas";let Oi="showing",Si=".offcanvas.show",Ii="hidePrevented"+Xt,Di="hidden"+Xt;let ji={backdrop:!0,keyboard:!0,scroll:!1},Pi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class P extends e{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ji}static get DefaultType(){return Pi}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new di).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Oi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Oi),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},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 di).reset(),m.trigger(this._element,Di)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var t=Boolean(this._config.backdrop);return new gi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"===this._config.backdrop?m.trigger(this._element,Ii):this.hide()}:null})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():m.trigger(this._element,Ii))})}static jQueryInterface(e){return this.each(function(){var t=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}m.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){var e=o(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(m.one(e,Di,()=>{s(this)&&this.focus()}),(t=h.findOne(Si))&&t!==e&&P.getInstance(t).hide(),P.getOrCreateInstance(e).toggle(this))}),m.on(window,"load.bs.offcanvas.data-api",()=>{for(var t of h.find(Si))P.getOrCreateInstance(t).show()}),m.on(window,"resize.bs.offcanvas",()=>{for(var t of h.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&P.getOrCreateInstance(t).hide()}),ft(P),t(P);let Ni=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);let Mi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,zi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;Kt={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function qi(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);var n,i=(new window.DOMParser).parseFromString(t,"text/html");for(n of[].concat(...i.body.querySelectorAll("*"))){var o=n.nodeName.toLowerCase();if(Object.keys(e).includes(o)){var r,s=[].concat(...n.attributes),a=[].concat(e["*"]||[],e[o]||[]);for(r of s)((t,e)=>{let i=t.nodeName.toLowerCase();
1return e.includes(i)?!Ni.has(i)||Boolean(Mi.test(t.nodeValue)||zi.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))})(r,a)||n.removeAttribute(r.nodeName)}else n.remove()}return i.body.innerHTML}let Wi={allowList:Kt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Hi={entry:"(string|element|function|null)",selector:"(string|element)"};class Ri extends ht{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Wi}static get DefaultType(){return Bi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){var t,e,i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for([t,e]of Object.entries(this._config.content))this._setContent(i,e,t);var n=i.children[0],o=this._resolvePossibleFunction(this._config.extraClass);return o&&n.classList.add(...o.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(var[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},Hi)}_setContent(t,e,i){i=h.findOne(i,t);i&&((e=this._resolvePossibleFunction(e))?r(e)?this._putElementInTemplate(n(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?qi(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){this._config.html?(e.innerHTML="",e.append(t)):e.textContent=t.textContent}}let Fi=new Set(["sanitize","allowList","sanitizeFn"]),$i="fade";let Vi="show",Yi="hide.bs.modal",Ui="hover",Qi="focus",Xi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Ki={allowList:Kt,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Gi={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 Ji extends e{constructor(t,e){if(void 0===Qe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 Ki}static get DefaultType(){return Gi}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 t=m.trigger(this._element,this.constructor.eventName("show")),e=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&e){this._disposePopper();t=this._getTipElement(),e=(this._element.setAttribute("aria-describedby",t.getAttribute("id")),this._config).container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),m.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(t),t.classList.add(Vi),"ontouchstart"in document.documentElement)for(var i of[].concat(...document.body.children))m.on(i,"mouseover",R);this._queueCallback(()=>{m.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()){var t=m.trigger(this._element,this.constructor.eventName("hide"));if(!t.defaultPrevented){if(this._getTipElement().classList.remove(Vi),"ontouchstart"in document.documentElement)for(var e of[].concat(...document.body.children))m.off(e,"mouseover",R);this._activeTrigger.click=!1,this._activeTrigger[Qi]=!1,this._activeTrigger[Ui]=!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(t){t=this._getTemplateFactory(t).toHtml();if(!t)return null;t.classList.remove($i,Vi),t.classList.add(`bs-${this.constructor.NAME}-auto`);var e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add($i),t}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ri({...this._config,content:t,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(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($i)}_isShown(){return this.tip&&this.tip.classList.contains(Vi)}_createPopper(t){var e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,e=Xi[e.toUpperCase()];return Ue(this._element,t,this._getPopperConfig(e))}_getOffset(){let e=this._config.offset;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){var t,e,i;for(t of this._config.trigger.split(" "))"click"===t?m.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()}):"manual"!==t&&(e=t===Ui?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===Ui?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),m.on(this._element,e,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Qi:Ui]=!0,e._enter()}),m.on(this._element,i,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Qi:Ui]=e._element.contains(t.relatedTarget),e._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),Yi,this._hideModalHandler)}_fixTitle(){var t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){var e,i=d.getDataAttributes(this._element);for(e of Object.keys(i))Fi.has(e)&&delete i[e];return t={...i,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:n(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){var t,e={};for(t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){var t=Ji.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}t(Ji);let Zi={...Ji.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},tn={...Ji.DefaultType,content:"(null|string|element|function)"};class en extends Ji{static get Default(){return Zi}static get DefaultType(){return tn}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(e){return this.each(function(){var t=en.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(en);Zt=".bs.scrollspy";let nn="click"+Zt;let on="active",rn="[href]";let sn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},an={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ln extends e{constructor(t,e){super(t,e),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 sn}static get DefaultType(){return an}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(var t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=n(t.target)||document.body,t.rootMargin=t.offset?t.offset+"px 0px -30%":t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(m.off(this._config.target,nn),m.on(this._config.target,nn,rn,t=>{var e=this._observableSections.get(t.target.hash);e&&(t.preventDefault(),t=this._rootElement||window,e=e.offsetTop-this._element.offsetTop,t.scrollTo?t.scrollTo({top:e,behavior:"smooth"}):t.scrollTop=e)}))}_getNewObserver(){var t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){let e=t=>this._targetLinks.get("#"+t.target.id);var i,n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},o=(this._rootElement||document.documentElement).scrollTop,r=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(i of t)if(i.isIntersecting){var s=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&s){if(n(i),o)continue;return}r||s||n(i)}else this._activeTarget=null,this._clearActiveClass(e(i))}_initializeTargetsAndObservables(){var t,e;this._targetLinks=new Map,this._observableSections=new Map;for(t of h.find(rn,this._config.target))t.hash&&!a(t)&&(e=h.findOne(t.hash,this._element),s(e))&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),(this._activeTarget=t).classList.add(on),this._activateParents(t),m.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))h.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(on);else for(var e of h.parents(t,".nav, .list-group"))for(var i of h.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))i.classList.add(on)}_clearActiveClass(t){var e;t.classList.remove(on);for(e of h.find(rn+"."+on,t))e.classList.remove(on)}static jQueryInterface(e){return this.each(function(){var t=ln.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{for(var t of h.find('[data-bs-spy="scroll"]'))ln.getOrCreateInstance(t)}),t(ln);let cn="ArrowRight",un="ArrowDown",N="active",dn="show";me='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';let hn='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+me;N,N,N;class fn extends e{constructor(t){super(t),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",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){var t,e,i=this._element;this._elemIsActive(i)||(e=(t=this._getActiveElem())?m.trigger(t,"hide.bs.tab",{relatedTarget:i}):null,m.trigger(i,"show.bs.tab",{relatedTarget:t}).defaultPrevented)||e&&e.defaultPrevented||(this._deactivate(t,i),this._activate(i,t))}_activate(t,e){t&&(t.classList.add(N),this._activate(o(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.add(dn):(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),m.trigger(t,"shown.bs.tab",{relatedTarget:e}))},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(N),t.blur(),this._deactivate(o(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.remove(dn):(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),m.trigger(t,"hidden.bs.tab",{relatedTarget:e}))},t,t.classList.contains("fade")))}_keydown(t){var e;["ArrowLeft",cn,"ArrowUp",un].includes(t.key)&&(t.stopPropagation(),t.preventDefault(),e=[cn,un].includes(t.key),t=U(this._getChildren().filter(t=>!a(t)),t.target,e,!0))&&(t.focus({preventScroll:!0}),fn.getOrCreateInstance(t).show())}_getChildren(){return h.find(hn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(var i of e)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);var e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){var e=o(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id)&&this._setAttributeIfNotExists(e,"aria-labelledby","#"+t.id)}_toggleDropDown(t,i){let n=this._getOuterElement(t);n.classList.contains("dropdown")&&((t=(t,e)=>{t=h.findOne(t,n);t&&t.classList.toggle(e,i)})(".dropdown-toggle",N),t(".dropdown-menu",dn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(N)}_getInnerElement(t){return t.matches(hn)?t:h.findOne(hn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){var t=fn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}m.on(document,"click.bs.tab",me,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||fn.getOrCreateInstance(this).show()}),m.on(window,"load.bs.tab",()=>{for(var t of h.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))fn.getOrCreateInstance(t)}),t(fn);let pn="show",mn="showing",gn={animation:"boolean",autohide:"boolean",delay:"number"},vn={animation:!0,autohide:!0,delay:5e3};class bn extends e{constructor(t,e){super(t,e),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"),F(this._element),this._element.classList.add(pn,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,pn),m.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(pn),super.dispose()}isShown(){return this._element.classList.contains(pn)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():this._element===(t=t.relatedTarget)||this._element.contains(t)||this._maybeScheduleHide()}_setListeners(){m.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),m.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),m.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),m.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){var t=bn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e](this)}})}}return ft(bn),t(bn),{Alert:pt,Button:gt,Carousel:St,Collapse:Mt,Dropdown:L,Modal:Ci,Offcanvas:P,Popover:en,ScrollSpy:ln,Tab:fn,Toast:bn,Tooltip:Ji}}),(t=>{var e,i,n;"function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),e||(i=window.Cookies,(n=window.Cookies=t()).noConflict=function(){return window.Cookies=i,n})})(function(){function a(){for(var t=0,e={};t<arguments.length;t++){var i,n=arguments[t];for(i in n)e[i]=n[i]}return e}function c(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(l){function s(){}function i(t,e,i){if("undefined"!=typeof document){"number"==typeof(i=a({path:"/"},s.defaults,i)).expires&&(i.expires=new Date(+new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var n=JSON.stringify(e);/^[\{\[]/.test(n)&&(e=n)}catch(t){}e=l.write?l.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o,r="";for(o in i)i[o]&&(r+="; "+o,!0!==i[o])&&(r+="="+i[o].split(";")[0]);return document.cookie=t+"="+e+r}}function e(t,e){if("undefined"!=typeof document){for(var i={},n=document.cookie?document.cookie.split("; "):[],o=0;o<n.length;o++){var r=n[o].split("="),s=r.slice(1).join("=");e||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var a=c(r[0]),s=(l.read||l)(s,a)||c(s);if(e)try{s=JSON.parse(s)}catch(t){}if(i[a]=s,t===a)break}catch(t){}}return t?i[t]:i}}return s.set=i,s.get=function(t){return e(t,!1)},s.getJSON=function(t){return e(t,!0)},s.remove=function(t,e){i(t,"",a(e,{expires:-1}))},s.defaults={},s.withConverter=t,s}(function(){})}),((t,e)=>{"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AOS=e():t.AOS=e()})(this,function(){return n=[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}function o(){p=(0,f.default)(),v()}var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i,n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},s=(n(i(1)),i(6)),a=n(s),l=n(i(7)),c=n(i(8)),u=n(i(9)),d=n(i(10)),h=n(i(11)),f=n(i(14)),p=[],m=!1,g={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},v=function(){if(m=0<arguments.length&&void 0!==arguments[0]&&arguments[0]?!0:m)return p=(0,h.default)(p,g),(0,d.default)(p,g.once),p};t.exports={init:function(t){g=r(g,t),p=(0,f.default)();var e,t=document.all&&!window.atob;return!0===(e=g.disable)||"mobile"===e&&u.default.mobile()||"phone"===e&&u.default.phone()||"tablet"===e&&u.default.tablet()||"function"==typeof e&&!0===e()||t?void p.forEach(function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay")}):(g.disableMutationObserver||c.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),g.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",g.easing),document.querySelector("body").setAttribute("data-aos-duration",g.duration),document.querySelector("body").setAttribute("data-aos-delay",g.delay),"DOMContentLoaded"===g.startEvent&&-1<["complete","interactive"].indexOf(document.readyState)?v(!0):("load"===g.startEvent?window:document).addEventListener(g.startEvent,function(){v(!0)}),window.addEventListener("resize",(0,l.default)(v,g.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(v,g.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)(function(){(0,d.default)(p,g.once)},g.throttleDelay)),g.disableMutationObserver||c.default.ready("[data-aos]",o),p)},refresh:v,refreshHard:o}},function(t,e){},,,,,function(p,t){!function(t){function r(n,i,t){function o(t){var e=l,i=c;return l=c=void 0,p=t,d=n.apply(i,e)}function r(t){var e=t-f;return void 0===f||i<=e||e<0||g&&u<=t-p}function s(){var t,e=A();return r(e)?a(e):void(h=setTimeout(s,(t=i-((e=e)-f),g?E(t,u-(e-p)):t)))}function a(t){return h=void 0,v&&l?o(t):(l=c=void 0,d)}function e(){var t=A(),e=r(t);if(l=arguments,c=this,f=t,e){if(void 0===h)return p=t=f,h=setTimeout(s,i),m?o(t):d;if(g)return h=setTimeout(s,i),o(f)}return void 0===h&&(h=setTimeout(s,i)),d}var l,c,u,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof n)throw new TypeError(y);return i=_(i)||0,b(t)&&(m=!!t.leading,g="maxWait"in t,u=g?w(_(t.maxWait)||0,i):u,v="trailing"in t?!!t.trailing:v),e.cancel=function(){void 0!==h&&clearTimeout(h),l=f=c=h=void(p=0)},e.flush=function(){return void 0===h?d:a(A())},e}function b(t){var e=void 0===t?"undefined":n(t);return t&&("object"==e||"function"==e)}function i(t){return"symbol"==(void 0===t?"undefined":n(t))||!!(e=t)&&"object"==(void 0===e?"undefined":n(e))&&f.call(t)==s;var e}function _(t){if("number"==typeof t)return t;if(i(t))return o;if("string"!=typeof(t=b(t)?b(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e:t))return 0===t?t:+t;t=t.replace(a,"");var e=c.test(t);return e||u.test(t)?d(t.slice(2),e?2:8):l.test(t)?o:+t}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y="Expected a function",o=NaN,s="[object Symbol]",a=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=parseInt,t="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,e="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=t||e||Function("return this")(),f=Object.prototype.toString,w=Math.max,E=Math.min,A=function(){return h.Date.now()};
1p.exports=function(t,e,i){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError(y);return b(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),r(t,e,{leading:n,maxWait:e,trailing:o})}}.call(t,function(){return this}())},function(f,t){!function(t){function b(t){var e=void 0===t?"undefined":n(t);return t&&("object"==e||"function"==e)}function i(t){return"symbol"==(void 0===t?"undefined":n(t))||!!(e=t)&&"object"==(void 0===e?"undefined":n(e))&&h.call(t)==r;var e}function _(t){if("number"==typeof t)return t;if(i(t))return o;if("string"!=typeof(t=b(t)?b(e="function"==typeof t.valueOf?t.valueOf():t)?e+"":e:t))return 0===t?t:+t;t=t.replace(s,"");var e=l.test(t);return e||c.test(t)?u(t.slice(2),e?2:8):a.test(t)?o:+t}function y(){return d.Date.now()}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=NaN,r="[object Symbol]",s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,t="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t,e="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,d=t||e||Function("return this")(),h=Object.prototype.toString,w=Math.max,E=Math.min;f.exports=function(n,i,t){function o(t){var e=l,i=c;return l=c=void 0,p=t,d=n.apply(i,e)}function r(t){var e=t-f;return void 0===f||i<=e||e<0||g&&u<=t-p}function s(){var t,e=y();return r(e)?a(e):void(h=setTimeout(s,(t=i-((e=e)-f),g?E(t,u-(e-p)):t)))}function a(t){return h=void 0,v&&l?o(t):(l=c=void 0,d)}function e(){var t=y(),e=r(t);if(l=arguments,c=this,f=t,e){if(void 0===h)return p=t=f,h=setTimeout(s,i),m?o(t):d;if(g)return h=setTimeout(s,i),o(f)}return void 0===h&&(h=setTimeout(s,i)),d}var l,c,u,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return i=_(i)||0,b(t)&&(m=!!t.leading,g="maxWait"in t,u=g?w(_(t.maxWait)||0,i):u,v="trailing"in t?!!t.trailing:v),e.cancel=function(){void 0!==h&&clearTimeout(h),l=f=c=h=void(p=0)},e.flush=function(){return void 0===h?d:a(y())},e}}.call(t,function(){return this}())},function(t,e){function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(t){t&&t.forEach(function(t){var e=Array.prototype.slice.call(t.addedNodes),t=Array.prototype.slice.call(t.removedNodes);if(function t(e){for(var i,n=void 0,n=0;n<e.length;n+=1){if((i=e[n]).dataset&&i.dataset.aos)return!0;if(i.children&&t(i.children))return!0}return!1}(e.concat(t)))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:function(){return!!o()},ready:function(t,e){var i=window.document,n=new(o())(r);s=e,n.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(t,e){function i(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=(function(t,e,i){return e&&c(t.prototype,e),i&&c(t,i),t}(l,[{key:"phone",value:function(){var t=i();return!(!n.test(t)&&!o.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=i();return!(!r.test(t)&&!s.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),l);function l(){if(!(this instanceof l))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}e.default=new a},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,r){var s=window.pageYOffset,a=window.innerHeight;t.forEach(function(t,e){var i,n,o;i=a+s,n=r,o=(t=t).node.getAttribute("data-aos-once"),i>t.position?t.node.classList.add("aos-animate"):void 0===o||"false"!==o&&(n||"true"===o)||t.node.classList.remove("aos-animate")})}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var i=i(12),n=(i=i)&&i.__esModule?i:{default:i};e.default=function(t,i){return t.forEach(function(t,e){t.node.classList.add("aos-init"),t.position=(0,n.default)(t.node,i.offset)}),t}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var i=i(13),s=(i=i)&&i.__esModule?i:{default:i};e.default=function(t,e){var i=0,n=0,o=window.innerHeight,r={offset:t.getAttribute("data-aos-offset"),anchor:t.getAttribute("data-aos-anchor"),anchorPlacement:t.getAttribute("data-aos-anchor-placement")};switch(r.offset&&!isNaN(r.offset)&&(n=parseInt(r.offset)),r.anchor&&document.querySelectorAll(r.anchor)&&(t=document.querySelectorAll(r.anchor)[0]),i=(0,s.default)(t).top,r.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=t.offsetHeight/2;break;case"bottom-bottom":i+=t.offsetHeight;break;case"top-center":i+=o/2;break;case"bottom-center":i+=o/2+t.offsetHeight;break;case"center-center":i+=o/2+t.offsetHeight/2;break;case"top-top":i+=o;break;case"bottom-top":i+=t.offsetHeight+o;break;case"center-top":i+=t.offsetHeight/2+o}return i+(n=r.anchorPlacement||r.offset||isNaN(e)?n:e)}}
1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){for(var e=0,i=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),i+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:i,left:e}}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return t=t||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(t,function(t){return{node:t}})}}],o={},i.m=n,i.c=o,i.p="dist/",i(0);function i(t){var e;return(o[t]||(e=o[t]={exports:{},id:t,loaded:!1},n[t].call(e.exports,e,e.exports,i),e.loaded=!0,e)).exports}var n,o}),window.addEventListener("scroll",throttle(parallax,14));let hash=window.location.hash,accordionList=(hash&&openAccordion(hash),document.querySelectorAll(".accordion-collapse")),isVisible=(accordionList.forEach(i=>{i.addEventListener("shown.bs.collapse",t=>{var e=i.previousElementSibling;e.getBoundingClientRect().top<0&&document.querySelector("#"+e.id).scrollIntoView({behavior:"smooth"})})}),t=>{let e=!0;return e=(e=(e=!!t.offsetParent)&&!(!t.offsetWidth&&!t.offsetHeight))&&"visible"==window.getComputedStyle(t).visibility});function PrintElem(t,e){var i=window.open("","PRINT");return e=e||document.title,i.document.write(`<html><head><title>${e}</title></head><body ><h1>${e}</h1>${document.querySelector(t).innerHTML}</body></html>`),i.print(),i.close(),!0}let tooltipTriggerList=document.querySelectorAll('[data-bs-toggle="tooltip"]'),tooltipList=[...tooltipTriggerList].map(t=>new bootstrap.Tooltip(t)),cookiesBanner=(window.addEventListener("load",function(){let i=document.querySelectorAll("#uv-nav-inpage a.list-group-item:not(.uv-inpage__first)");i.forEach(t=>{t.onclick=()=>{setTimeout(()=>{i.forEach(t=>t.classList.remove("active")),t.classList.add("active")},300)}}),window.onscroll=()=>{document.querySelectorAll("h2").forEach((t,e)=>{t.getBoundingClientRect().y<window.innerHeight-200&&(i.forEach(t=>{t.classList.remove("active")}),i[e])&&i[e].classList.add("active")})}}),document.querySelector("#cookies-banner"));if(cookiesBanner){let t=cookiesBanner.querySelector("#cookies-btn"),e=Cookies.get("uvic-sawCookieBanner");e?cookiesBanner.classList.add("d-none"):(cookiesBanner.classList.add("show"),cookiesBanner.classList.add("fixed-bottom"),t.setAttribute("aria-expanded","true")),t.addEventListener("click",()=>{Cookies.set("uvic-sawCookieBanner",!0,{expires:365,secure:!0})})}let zebraTables=(t=document.querySelectorAll(".table[data-zebra]"))=>{let e=t=>{t=t.querySelectorAll("tbody tr");let e=!1;t.forEach(t=>{isVisible(t)&&(e?t.classList.remove("zebra"):t.classList.add("zebra"),e=!e)})};NodeList.prototype.isPrototypeOf(t)?t.forEach(t=>{isVisible(t)&&e(t)}):e(t)},sortAsc=(zebraTables(),!0),getCellValue=(t,e)=>t.children[e].innerText||t.children[e].textContent,comparer=(n,o)=>(t,e)=>{return i=getCellValue(o?t:e,n),e=getCellValue(o?e:t,n),""===i||""===e||isNaN(i)||isNaN(e)?i.toString().localeCompare(e):i-e;var i},filterInit=(document.querySelectorAll("th.table--sort__sorter").forEach(i=>i.addEventListener("click",()=>{var t=i.closest("table"),e=(t.querySelectorAll("th.table--sort__sorter").forEach(function(t){t!=i&&t.classList.remove("table--sort__sorter--up","table--sort__sorter--down")}),sortAsc=i.classList.contains("table--sort__sorter--up")?(i.classList.remove("table--sort__sorter--up"),i.classList.add("table--sort__sorter--down"),!1):(i.classList.remove("table--sort__sorter--down"),i.classList.add("table--sort__sorter--up"),!0),t.querySelector("tbody"));Array.from(e.querySelectorAll("tr")).sort(comparer(Array.from(i.parentNode.children).indexOf(i),sortAsc)).forEach(t=>e.appendChild(t))})),t=>{var e=t.querySelector("form.filter__control"),i=t.dataset.controls?document.querySelector(t.dataset.controls):t.querySelector(".filter__control");let l=t.dataset.display?document.querySelector(t.dataset.display):t.querySelector(".filter__display"),r=l.querySelectorAll(".filtered__parent"),n=l.querySelectorAll(".filtered__item");l.querySelectorAll(".filtered__tag");let s=new bootstrap.Collapse(l.querySelector(".filter__error"),{toggle:!1}),o="",a=[],c="",u=(e&&e.addEventListener("submit",t=>{t.preventDefault()}),window.location.search),d=new URLSearchParams(u),h=(t,e)=>{a[e]||(a[e]=[]);var i=-1===a[e].indexOf(t);
1return(i&&t?f:p)(t,e),0==a[e].length?n.forEach(t=>{t.classList.remove("tag-active-"+e,"tag-inactive-"+e)}):n.forEach(t=>{t.querySelector(".tag-active-"+e)?t.classList.remove("tag-inactive-"+e):t.classList.add("tag-inactive-"+e)}),m(),i},f=(t,e)=>{a[e]||(a[e]=[]),a[e].push(t),l.querySelectorAll(`.filtered__tag[data-tag="${t}"]`).forEach(t=>{t.classList.add("active","tag-active-"+e)})},p=(t,e)=>{a[e]||(a[e]=[]);for(var i=0;i<a[e].length;i++)if(a[e][i]===t){a[e].splice(i,1);break}l.querySelectorAll(`.filtered__tag[data-tag="${t}"]`).forEach(t=>{t.classList.remove("active","tag-active-"+e)})},m=()=>{n.forEach(t=>{t.classList.remove("inactive","active"),t.className.includes("-inactive")?t.classList.add("inactive"):t.classList.add("active")});var t=l.querySelectorAll(".table[data-zebra]");t.length&&zebraTables(t),g()},g=()=>{let n=0,o=0;r.forEach(t=>{var e=t.querySelectorAll(".filtered__item.active").length,i=t.querySelectorAll(".filtered__item.inactive").length;n+=e,o+=i,0==e&&0==i?t.classList.remove("active","inactive"):0<e?(t.classList.remove("inactive"),t.classList.add("active")):(t.classList.remove("active"),t.classList.add("inactive"))}),0==n&&0<o?s.show():s.hide()};function v(t){o=t.dataset.filter;var e=t.dataset.tagGroup;t.classList.toggle("active"),h(o,e)}i.querySelectorAll(".js__filters").forEach((r,s)=>{let a=r.className.match(/(filter__)(\w+)/g)[0].substring("filter__".length);if(["btns","checks","select"].includes(a)){let e=[],i=("btns"===a?e=[...r.querySelectorAll(".filter__btn")].map(t=>t.dataset.filter):"checks"===a?e=[...r.querySelectorAll(".filter__check")].map(t=>t.value):"select"===a&&(e=[...r.querySelectorAll("option")].map(t=>t.value)),r.dataset.tagGroup||s),n=r.id||r.dataset.name;s=[...l.querySelectorAll(`[data-filter="${n}"]`)].map(t=>t.dataset.tag);let t=Array.from(new Set([...s])),o=(t.sort(),t=t.filter(t=>!e.includes(t)),r.querySelector(".btn-row")||r);t.forEach((t,e)=>{t&&("btns"===a?o.insertAdjacentHTML("beforeend",`<button class="btn btn-outline-primary filter__btn" data-tag-group="${i}" data-filter="${t}">${t}</button>`):"checks"===a?o.insertAdjacentHTML("beforeend",`<div class="form-check form-check-inline"> 2 <input class="form-check-input filter__check" id="${n}-${e}" name="${n}" type="checkbox" value="${t}" data-tag-group="${i}" data-filter="${t}"> 3 <label class="form-check-label" for="${n}-${e}">${t}</label> 4 </div>`):"select"===a&&o.insertAdjacentHTML("beforeend",`<option data-tag-group="${i}" data-filter="${t}" value="${t}">${t}</option>`))})}});var b,t=i.querySelectorAll(".filter__btn"),e=(t.forEach(e=>{e.addEventListener("click",t=>{t.preventDefault(),v(e)})}),d.has("fs-btns")&&(b=d.get("fs-btns").toLowerCase().split(","),t.forEach(t=>{b.includes(t.innerText.toLowerCase())&&v(t)})),i.querySelectorAll(".filter__select"));let _=t=>{var e=t.selectedOptions[0];o=e.dataset.filter;let i=e.dataset.tagGroup;t.querySelectorAll("option").forEach(t=>{p(t.value,i)}),h(o,i)};if(e.forEach(t=>{t.addEventListener("change",()=>{_(t)})}),d.has("fs-select")){var y,w=d.get("fs-select");let t=null;for(y of i.querySelectorAll(".filter__select option"))if(y.value.trim().toLowerCase()===w.toLowerCase()){t=y.closest(".filter__select");break}t&&(t.value=w,_(t))}let E=i.querySelectorAll(".filter__check");function A(t){o=t.dataset.filter;t=t.dataset.tagGroup;h(o,t)}E.forEach(t=>{t.addEventListener("click",()=>{A(t)})}),d.has("fs-checks")&&d.get("fs-checks").split(",").forEach(function(t){for(var e of E)if(e.value.toLowerCase()===t.toLowerCase()){e.checked=!0,A(e);break}});let x=i.querySelectorAll(".filter__alpha"),L=i.querySelector(".filter__alpha-all"),T=(x.forEach(e=>{let i=e.textContent;if("0-9"===i){for(var t of n)if(t.dataset.alpha.match(/\d+/)){e.classList.remove("disabled"),e.removeAttribute("disabled","");break}}else l.querySelector(`.filtered__item[data-alpha="${i}"]`)&&(e.classList.remove("disabled"),e.removeAttribute("disabled",""));e.addEventListener("click",t=>{t.preventDefault(),e.classList.contains("active")||T(i)})}),e=>{L.classList.remove("active"),x.forEach(t=>{t.textContent===e?t.classList.add("active"):t.classList.remove("active")}
4),n.forEach(t=>{("0-9"===e?t.dataset.alpha.match(/\d+/):t.dataset.alpha===e)?(t.classList.remove("alpha-inactive"),t.classList.add("alpha-active")):(t.classList.remove("alpha-active"),t.classList.add("alpha-inactive"))}),m()}),k,C=(L&&(L.classList.add("active"),L.addEventListener("click",t=>{t.preventDefault(),L.classList.contains("active")||(x.forEach(t=>{t.classList.remove("active")}),L.classList.add("active"),n.forEach(t=>{t.classList.remove("alpha-inactive","alpha-active")}),m())})),d.has("fs-alpha")&&(k=d.get("fs-alpha").toUpperCase(),T(k)),i.querySelector(".filter__search"));function O(t){t=t.target.value.trim().toLowerCase();t!==c&&(c=t,C.classList.remove("is-invalid"),n.forEach(t=>{t.classList.remove("text-active","text-inactive"),c&&(t.textContent.toLowerCase().includes(c)?t.classList.add("text-active"):t.classList.add("text-inactive"))}),C.classList.toggle("is-invalid",!l.querySelector(".text-active")&&l.querySelector(".text-inactive")),m())}C&&(C.addEventListener("input",debounce(O,200)),C.addEventListener("change",debounce(O,200))),d.has("fs-search")&&(t=d.get("fs-search").trim(),document.getElementById("fs-search")&&(document.getElementById("fs-search").value=t),c=t.toLowerCase(),n.forEach(function(t){t.classList.remove("text-active","text-inactie"),t.textContent.toLowerCase().includes(c)?t.classList.add("text-active"):t.classList.add("text-inactive")}),m(),fsScrollToResults())});if(document.querySelectorAll(".filter").forEach(t=>filterInit(t)),document.getElementById("fs-search")){let t=document.getElementById("fs-search");t.addEventListener("keydown",function(t){"U+000A"!=t.keyIdentifier&&"Enter"!=t.keyIdentifier&&"Enter"!=t.key||(t.preventDefault(),fsScrollToResults())})}function fsScrollToResults(){var t=document.getElementsByClassName("filter__display");t[0]&&t[0].scrollIntoView()}function debounce(i,n){var o=null;return function(){var t=this,e=arguments;clearTimeout(o),o=setTimeout(function(){i.apply(t,e)},n)}}let searchBtn=document.getElementById("search-btn");var t,e;searchBtn&&searchBtn.addEventListener("click",function(t){document.getElementById("searchUVic").focus()}),t=this,e=function(){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function o(t,e,i){var n;n=(t=>{if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!=typeof(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")})(e),(e="symbol"==typeof n?n:n+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}function r(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach(function(t){o(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function s(t){return(t=>{if(Array.isArray(t))return n(t)})(t)||(()=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})()||u(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){var i;if(t)return"string"==typeof t?n(t,e):"Map"===(i="Object"===(i={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}var c=function(t){return"string"==typeof t?document.querySelector(t):t()},g=function(t,e){var i,n="string"==typeof t?document.createElement(t):t;for(i in e){var o,r=e[i];"inside"===i?r.append(n):"dest"===i?c(r[0]).insertAdjacentElement(r[1],n):"around"===i?((o=r).parentNode.insertBefore(n,o),n.append(o),null!=o.getAttribute("autofocus")&&o.focus()):i in n?n[i]=r:n.setAttribute(i,r)}return n},d=function(t,e){return t=String(t).toLowerCase(),e?t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):t},h=function(t,e){return g("mark",m({innerHTML:t},"string"==typeof e&&{class:e})).outerHTML},f=function(t,e){e.input.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e.feedback,cancelable:!0}))},p=function(i,t,e){var e=e||{},n=e.mode,o=e.diacritics,r=e.highlight,s=d(t,o);if(t=String(t),i=d(i,o),"loose"===n){var a=(i=i.replace(/ /g,"")).length,l=0,e=Array.from(t).map(function(t,e){return l<a&&s[e]===i[l]&&(t=r?h(t,r):t,l++),t}).join("");if(l===a)return e}else{o=s.indexOf(i);if(~o)return i=t.substring(o,o+i.length),r?t.replace(i,h(i,r)):t}},v=function(o,r){return new Promise(function(e,i){var n;return(n=o.data).cache&&n.store?e():new Promise(function(t,e){return"function"==typeof n.src?new Promise(function(t,e){return"AsyncFunction"===n.src.constructor.name?n.src(r).then(t,e):t(n.src(r))}).then(t,e):t(n.src)}).then(function(t){try{return o.feedback=n.store=t,f("response",o),e()}catch(t){return i(t)}},i)})},b=function(r,s){var a=s.data,l=s.searchEngine,c=[],t=(a.store.forEach(function(i,t){function e(t){var e=t?i[t]:i;(e="function"==typeof l?l(r,e):p(r,e,{mode:l,diacritics:s.diacritics,highlight:s.resultItem.highlight}))&&(e={match:e,value:i},t&&(e.key=t),c.push(e))}
4if(a.keys){var n,o=(t=>{var e,i,n,o,r,s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(s)return n=!(i=!0),{s:function(){s=s.call(t)},n:function(){var t=s.next();return i=t.done,t},e:function(t){n=!0,e=t},f:function(){try{i||null==s.return||s.return()}finally{if(n)throw e}}};if(Array.isArray(t)||(s=u(t)))return s&&(t=s),o=0,{s:r=function(){},n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})(a.keys);try{for(o.s();!(n=o.n()).done;)e(n.value)}catch(t){o.e(t)}finally{o.f()}}else e()}),(c=a.filter?a.filter(c):c).slice(0,s.resultsList.maxResults));s.feedback={query:r,matches:c,results:t},f("results",s)},e="aria-expanded",a="aria-activedescendant",_="aria-selected",y=function(t,e){t.feedback.selection=m({index:e},t.feedback.results[e])},w=function(t){t.isOpen||((t.wrapper||t.input).setAttribute(e,!0),t.list.removeAttribute("hidden"),t.isOpen=!0,f("open",t))},E=function(t){t.isOpen&&((t.wrapper||t.input).setAttribute(e,!1),t.input.setAttribute(a,""),t.list.setAttribute("hidden",""),t.isOpen=!1,f("close",t))},A=function(t,e){var i,n=e.resultItem,o=e.list.getElementsByTagName(n.tag),n=!!n.selected&&n.selected.split(" ");e.isOpen&&o.length&&(i=e.cursor,(t=t>=o.length?0:t)<0&&(t=o.length-1),e.cursor=t,-1<i&&(o[i].removeAttribute(_),n)&&(i=o[i].classList).remove.apply(i,s(n)),o[t].setAttribute(_,!0),n&&(i=o[t].classList).add.apply(i,s(n)),e.input.setAttribute(a,o[e.cursor].id
4),e.list.scrollTop=o[t].offsetTop-e.list.clientHeight+o[t].clientHeight+5,e.feedback.cursor=e.cursor,y(e,t),f("navigate",e))},x=function(t){A(t.cursor+1,t)},L=function(t){A(t.cursor-1,t)},T=function(t,e,i){(i=0<=i?i:t.cursor)<0||(t.feedback.event=e,y(t,i),f("selection",t),E(t))};function k(f,n){var p=this;return new Promise(function(c,u){var t,e,i,d=n||((t=f.input)instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t.value:t.innerHTML);return t=d=f.query?f.query(d):d,i=f.threshold,((e=f.trigger)?e(t):t.length>=i)?v(f,d).then(function(t){try{return f.feedback instanceof Error?c():(b(d,f),f.resultsList&&(n=(e=f).resultsList,o=e.list,r=e.resultItem,a=(s=e.feedback).matches,l=s.results,e.cursor=-1,o.innerHTML="",(a.length||n.noResults?(i=new DocumentFragment,l.forEach(function(t,e){e=g(r.tag,m({id:"".concat(r.id,"_").concat(e),role:"option",innerHTML:t.match,inside:i},r.class&&{class:r.class}));r.element&&r.element(e,t)}),o.append(i),n.element&&n.element(o,s),w):E)(e)),h.call(p))}catch(t){return u(t)}var e,i,n,o,r,s,a,l},u):(E(f),h.call(p));function h(){return c()}})}var C=function(t,e){for(var i in t)for(var n in t[i])e(i,n)},O=function(r){var t,e,i,n=r.events,o=(t=function(){return k(r)},e=r.debounce,r.events=m({input:m({},n&&n.input)},r.resultsList&&{list:n?m({},n.list):{}})),s={input:{input:function(){clearTimeout(i),i=setTimeout(t,e)},keydown:function(t){var e=t,i=r;switch(e.keyCode){case 40:case 38:e.preventDefault(),(40===e.keyCode?x:L)(i);break;case 13:i.submit||e.preventDefault(),0<=i.cursor&&T(i,e);break;case 9:i.resultsList.tabSelect&&0<=i.cursor&&T(i,e);break;case 27:i.input.value="",f("clear",i),E(i)}},blur:function(){E(r)}},list:{mousedown:function(t){t.preventDefault()},click:function(t){var e,i,n,o;t=t,i=(e=r).resultItem.tag.toUpperCase(),n=Array.from(e.list.querySelectorAll(i)),(o=t.target.closest(i))&&o.nodeName===i&&T(e,t,n.indexOf(o))}}};C(s,function(t,e){!r.resultsList&&"input"!==e||o[t][e]||(o[t][e]=s[t][e])}),C(o,function(t,e){r[t].addEventListener(e,o[t][e])})};function S(s){var a=this;new Promise(function(t,e){var i,n,o;return i=s.placeHolder,o={role:"combobox","aria-owns":(n=s.resultsList).id,"aria-haspopup":!0,"aria-expanded":!1},g(s.input,m(m({"aria-controls":n.id,"aria-autocomplete":"both"},i&&{placeholder:i}),!s.wrapper&&m({},o))),s.wrapper&&(s.wrapper=g("div",m({around:s.input,class:s.name+"_wrapper"},o))),n&&(s.list=g(n.tag,m({dest:[n.destination,n.position],id:n.id,role:"listbox",hidden:"hidden"},n.class&&{class:n.class}))),O(s),s.data.cache?v(s).then(function(t){try{return r.call(a)}catch(t){return e(t)}},e):r.call(a);function r(){return f("init",s),t()}})}return function t(e){this.options=e,this.id=t.instances=(t.instances||0)+1,this.name="autoComplete",this.wrapper=1,this.threshold=1,this.debounce=0,this.resultsList={position:"afterend",tag:"ul",maxResults:5},this.resultItem={tag:"li"};var i,n=this,e=n.name,o=n.options,r=n.resultsList,s=n.resultItem;for(i in o)if("object"===l(o[i]))for(var a in n[i]||(n[i]={}),o[i])n[i][a]=o[i][a];else n[i]=o[i];n.selector=n.selector||"#"+e,r.destination=r.destination||n.selector,r.id=r.id||e+"_list_"+n.id,s.id=s.id||e+"_result",n.input=c(n.selector),function(t){(t=t.prototype).init=function(){S(this)},t.start=function(t){k(this,t)},t.unInit=function(){var t,i;this.wrapper&&((t=this.wrapper.parentNode).insertBefore(this.input,this.wrapper),t.removeChild(this.wrapper)),C((i=this).events,function(t,e){i[t].removeEventListener(e,i.events[t][e])})},t.open=function(){w(this)},t.close=function(){E(this)},t.goTo=function(t){A(t,this)},t.next=function(){x(this)},t.previous=function(){L(this)},t.select=function(t){T(this,null,t)},t.search=function(t,e,i){return p(t,e,i)}}.call(this,t),S(this)}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).autoComplete=e(),((e,i)=>{"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)})(window,function(t,e){function i(l,c,u){(u=u||e||t.jQuery)&&(c.prototype.option||(c.prototype.option=function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}),u.fn[l]=function(t){var e,n,o,r,s,a;
4return"string"==typeof t?(e=d.call(arguments,1),o=e,s="$()."+l+'("'+(n=t)+'")',(e=this).each(function(t,e){var i,e=u.data(e,l);e?(i=e[n])&&"_"!=n.charAt(0)?(i=i.apply(e,o),r=void 0===r?i:r):h(s+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==r?r:e):(a=t,this.each(function(t,e){var i=u.data(e,l);i?(i.option(a),i._init()):(i=new c(e,a),u.data(e,l,i))}),this)},n(u))}function n(t){t&&!t.bridget&&(t.bridget=i)}var d=Array.prototype.slice,o=t.console,h=void 0===o?function(){}:function(t){o.error(t)};return n(e||t.jQuery),i}),((t,e)=>{"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()})("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;if(t&&e)return-1==(i=(i=this._events=this._events||{})[t]=i[t]||[]).indexOf(e)&&i.push(e),this},e.once=function(t,e){var i;if(t&&e)return this.on(t,e),((i=this._onceEvents=this._onceEvents||{})[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),((t,e)=>{"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()})(window,function(){function g(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function v(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function b(t){if(E||(E=!0,(u=document.createElement("div")).style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(u),r=v(u),_=200==Math.round(g(r.width)),b.isBoxSizeOuter=_,c.removeChild(u)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"==e.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<w;n++)i[y[n]]=0;return i}var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var r=o.isBorderBox="border-box"==e.boxSizing,s=0;s<w;s++){var a=y[s],l=e[a],l=parseFloat(l);o[a]=isNaN(l)?0:l}var c=o.paddingLeft+o.paddingRight,u=o.paddingTop+o.paddingBottom,t=o.marginLeft+o.marginRight,d=o.marginTop+o.marginBottom,h=o.borderLeftWidth+o.borderRightWidth,f=o.borderTopWidth+o.borderBottomWidth,p=r&&_,m=g(e.width),m=(!1!==m&&(o.width=m+(p?0:c+h)),g(e.height));return!1!==m&&(o.height=m+(p?0:u+f)),o.innerWidth=o.width-(c+h),o.innerHeight=o.height-(u+f),o.outerWidth=o.width+t,o.outerHeight=o.height+d,o}var u,c,r}var _,e="undefined"==typeof console?function(){}:function(t){console.error(t)},y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],w=y.length,E=!1;return b}),((t,e)=>{"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()})(window,function(){var i=(()=>{var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}})();return function(t,e){return t[i](e)}}),((e,i)=>{"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
4sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)})(window,function(i,r){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,c=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(r(t=t.parentNode,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,n){t=l.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){r(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)o.push(e[i])}else o.push(t)}),o},l.debounceMethod=function(t,e,n){n=n||100;var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r],e=(clearTimeout(t),arguments),i=this;this[r]=setTimeout(function(){o.apply(i,e),delete i[r]},n)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(s,a){l.docReady(function(){var t=l.toDashed(a),n="data-"+t,e=document.querySelectorAll("["+n+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),o=n+"-options",r=i.jQuery;e.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(o);try{t=i&&JSON.parse(i)}catch(t){return void(c&&c.error("Error parsing "+n+" on "+e.className+": "+t))}i=new s(e,t);r&&r.data(e,a,i)})})},l}),((t,e)=>{"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))})(window,function(t,e){function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,o="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],s={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},t=i.prototype=Object.create(t.prototype),a=(t.constructor=i,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,i=this.element.style;for(e in t)i[s[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],t=t[i?"top":"bottom"],o=parseFloat(n),r=parseFloat(t),s=this.layout.size;-1!=n.indexOf("%")&&(o=o/100*s.width),-1!=t.indexOf("%")&&(r=r/100*s.height),o=isNaN(o)?0:o,r=isNaN(r)?0:r,o-=e?s.paddingLeft:s.paddingRight,r-=i?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=r},t.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"right":"left",r=this.position.x+t[i?"paddingLeft":"paddingRight"],i=(e[i?"left":"right"]=this.getXValue(r),e[o]="",n?"paddingTop":"paddingBottom"),r=n?"bottom":"top",o=this.position.y+t[i];e[n?"top":"bottom"]=this.getYValue(o),e[r]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;this.setPosition(t,e),o&&!this.isTransitioning?this.layoutPosition():((o={}).transform=this.getTranslate(t-i,e-n),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)},"opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})),l=(t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:a,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}
4),this.element.addEventListener(r,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)},{"-webkit-transform":"transform"}),c=(t.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=l[t.propertyName]||t.propertyName,delete e.ingProperties[i],(t=>{for(var e in t)return;return 1})(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return t.removeTransitionStyles=function(){this.css(c)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),((o,r)=>{"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n){return r(o,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=r(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=r(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)})(window,function(t,e,o,n,r){function s(t,e){var i=n.getQueryElement(t);i?(this.element=i,c&&(this.$element=c(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),e=++u,this.element.outlayerGUID=e,(d[e]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function a(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function i(){}var l=t.console,c=t.jQuery,u=0,d={},h=(s.namespace="outlayer",s.Item=r,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},s.prototype),f=(n.extend(h,e.prototype),h.option=function(t){n.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=new i(e[o],this);n.push(r)}return n},h._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0}
4,h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=o(this.element)},h._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,i){var n;this._emitCompleteOnItems("layout",t),t&&t.length&&(n=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t,e=this.options.stagger;return null==e?void(this.stagger=0):(this.stagger="number"==typeof(e=e)?e:(t=(e=e.match(/(^\d*\.?\d*)(\w*)/))&&e[1],e=e&&e[2],t.length?(t=parseFloat(t))*(f[e]||1):0),this.stagger)},h._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var t;this._getOption("resizeContainer")&&(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},h._getContainerSize=i,h._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},h._emitCompleteOnItems=function(e,t){function i(){r.dispatchEvent(e+"Complete",null,[t])}function n(){++o==s&&i()}var o,r=this,s=t.length;t&&s?(o=0,t.forEach(function(t){t.once(e,n)})):i()},h.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),c&&(this.$element=this.$element||c(this.element),e?((n=c.Event(e)).type=t,this.$element.trigger(n,i)):this.$element.trigger(t,i))},h.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},h.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)):void 0},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=i,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=o(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},h.handleEvent=n.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},n.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},h.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prepended=function(t){var e,t=this._itemize(t);t.length&&(e=this.items.slice(0),this.items=t.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(e))},h.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},h.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},h.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},h.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},h.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style,t=(t.height="",t.position="",t.width="",this.items.forEac
4h(function(t){t.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete d[t],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=(t=n.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},s.create=function(t,e){var i=a(s);return i.defaults=n.extend({},s.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=a(r),n.htmlInit(i,t),c&&c.bridget&&c.bridget(t,i),i},{ms:1,s:1e3});return s.Item=r,s}),((t,e)=>{"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)})(window,function(t,a){var t=t.create("masonry"),e=(t.compatOptions.fitWidth="isFitWidth",t.prototype);return e._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},e.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(t=(t=this.items[0])&&t.element,this.columnWidth=t&&a(t).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,e=t-e%t,i=Math[e&&e<1?"round":"floor"](i);this.cols=Math.max(i,1)},e.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=a(t);this.containerWidth=t&&t.innerWidth},e._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,e=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),e=Math.min(e,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](e,t),n={x:this.columnWidth*i.col,y:i.y},o=i.y+t.size.outerHeight,r=e+i.col,s=i.col;s<r;s++)this.colYs[s]=o;return n},e._getTopColPosition=function(t){var t=this._getTopColGroup(t),e=Math.min.apply(Math,t);return{col:t.indexOf(e),y:e}},e._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},e._getColGroupY=function(t,e){return e<2?this.colYs[t]:(t=this.colYs.slice(t,t+e),Math.max.apply(Math,t))},e._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,i=1<t&&i+t>this.cols?0:i,e=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=e?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},e._manageStamp=function(t){var e=a(t),t=this._getElementOffset(t),i=this._getOption("originLeft")?t.left:t.right,n=i+e.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),o=Math.floor(n/this.columnWidth);o-=n%this.columnWidth?0:1;for(var o=Math.min(this.cols-1,o),r=(this._getOption("originTop")?t.top:t.bottom)+e.outerHeight,s=i;s<=o;s++)this.colYs[s]=Math.max(r,this.colYs[s])},e._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},e._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},e.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},t});let uvicSearch=document.querySelector("#searchUVic"),isValid=!0;function initAutoComplete(t,i,n){var e=i.substring(1)+"_autocomplete_list";new autoComplete({selector:i,wrapper:!1,placeholder:"What are you looking for?",threshold:2,submit:!0,data:{src:async t=>{try{document.getElementById(i.substring(1)).setAttribute("placeholder","Loading...");var e=await(await fetch(n)).json();return document.getElementById(i.substring(1)).setAttribute("placeholder","What are you looking for?"),e}catch(t){return t}},filter:t=>(t.forEach(t=>{t.match=t.value[0]}),t)},query:t=>t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),resultsList:{tag:"div",class:"autocomplete-suggestions",id:e},resultItem:{tag:"div",class:"autocomplete-suggestion",element:(t,e)=>{var i=t.innerHTML,i=(t.innerHTML='<span class="ac-title">'+i+"</span>","");
4null!=e.match.match(/<span class="ac-highlight">(.*?)<\/span>/g)&&(i=e.match.match(/<span class="ac-highlight">(.*?)<\/span>/g).map(function(t){return t.replace(/(<([^>]+)>)/gi,"")})[0]),t.setAttribute("data-href",e.value[1]),t.setAttribute("data-val",i),t.addEventListener("mouseleave",t=>{t.target.classList.remove("selected")}),t.addEventListener("mouseover",t=>{t.target.classList.add("selected")})}}});t.parentElement.parentElement.addEventListener("submit",function(t){isValid||t.preventDefault()}),t.addEventListener("navigate",function(t){isValid=!1}),t.addEventListener("selection",function(t){t.preventDefault();var e=t.detail.event.srcElement,i="";""!==(i=e?(i=(i=e.getAttribute("data-href"))||e.parentElement.getAttribute("data-href"))||t.detail.selection.value[1]:i)&&(window.location.href=i)}),t.addEventListener("results",function(t){var e=t.detail.query,n=new RegExp(e,"ig");t.detail.results.forEach(t=>{var e,i=t.match.replace(n,'<span class="ac-highlight">$&</span>');-1===i.indexOf('<span class="ac-highlight">')&&(t.value[2].split(",").forEach(function(t){t=t.replace(n,'<span class="ac-highlight">$&</span>');-1<t.indexOf('<span class="ac-highlight">')&&!e&&(e='<span class="ac-hint">'+t.trim()+"</span>")}),e)&&(i+=e),t.match=i})})}function resizeAutocompleteResults(t,e){var i;t&&e&&(t=t.getBoundingClientRect(),e.style.top=t.bottom+window.scrollY+"px",e.style.left=t.left+window.scrollX+"px",e.style.width=t.width+"px",(i=e.getBoundingClientRect()).right>window.innerWidth&&(e.style.left=window.innerWidth-i.width+window.scrollX+"px"),window.innerHeight<i.bottom)&&(e.style.top=t.top-i.height+window.scrollY+"px")}document.querySelectorAll(".js-autocomplete").forEach((t,e)=>{initAutoComplete(t,"#"+t.id,t.dataset.source)}),document.addEventListener("DOMContentLoaded",function(){let t=document.getElementById("searchUVic"),e=document.getElementById("searchUVic_autocomplete_list");t&&(resizeAutocompleteResults(t,e),t.addEventListener("input",function(){resizeAutocompleteResults(t,e)}),window.addEventListener("resize",()=>{resizeAutocompleteResults(t,e)}))});let sectionStriping=()=>{var t=document.querySelectorAll(".uv-sect:not(.uv-sect--head)");let e=!1;t.forEach(t=>{isVisible(t)&&(e?t.classList.add("uv-sect--alt"):t.classList.remove("uv-sect--alt"),e=!e)})},inPageNavigation=(sectionStriping(),()=>{inPageNav=inPageNav||document.querySelector("#uv-nav-inpage");var t=document.querySelector(".uv-inpage__first");t&&inPageNav&&(inPageNav.innerHTML=t.outerHTML,document.querySelectorAll('h2[id*="ipn-"]').forEach(t=>{isVisible(t)&&inPageNav.insertAdjacentHTML("beforeend",`<a class="list-group-item list-group-item-action" href="#${t.id}" aria-label="Go to ${t.textContent} on this page">${t.textContent}</a>`)}))}),inPageNav=document.querySelector("#uv-nav-inpage");inPageNav&&inPageNavigation(),AOS.init(),document.onreadystatechange=function(t){var e;"complete"===document.readyState&&(e=document.querySelector(".feed--grid>.row"))&&new Masonry(e,{itemSelector:".col-item",percentPosition:!0})},document.addEventListener("DOMContentLoaded",function(t){var e=document.querySelectorAll(".info-graphics--animated"),i=document.querySelectorAll(".info-graphics--card-body"),n=window.matchMedia("(min-width: 1120px)");if(0<i.length&&n.matches){n=Array.from(i);let e=Math.max(...n.map(t=>t.clientHeight));n.forEach(t=>{t.style.height=e+"px"})}let o=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(t.target.querySelectorAll(".animate-count").forEach(t=>{var e=parseInt(t.dataset.counterStart)||0;let i=parseInt(t.dataset.counterEnd),n=t.dataset.counterDelimiter||",",o=parseInt(t.dataset.counterIncrementer)||10;var r=parseInt(t.dataset.counterDuration)||200;let s=t.dataset.counterPrefix||"",a=t.dataset.counterPostfix||"";var l=i-e;let c=e,u=setInterval(()=>{c+o>i?c=i:c+=o,t.textContent=""+s+c.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0,minimumIntegerDigits:1,useGrouping:!0}).replace(/\,/g,n)+a,c>=i&&clearInterval(u)},r/l)}),o.unobserve(t.target))})});e.forEach(t=>o.observe(t));i=document.getElementsByClassName("hero--video"),Array.prototype.forEach.call(i,t=>{let e=t.querySelector(".js-video-player"),i=t.querySelector(".hero--mobile-image");t.querySelector("video--buttons");let n=t.querySelector(".play-btn"),o=t.querySelector(".pause-btn");function r(){e.style.display="none",i.style.display="block",n.style.display="none",o.style.display="none"}n.addEventListener("click",function(){e.play(),n.style.display="none",o.style.display="block"}),o.addEventListener("click",function(){e.pause(),n.style.display="block",o.style.display="none"}),window.innerWidth<=768&&r(),window.addEventListener("resize",()=>{window.innerWidth<=768?r():(i.style.display="none",e.style.display="block",n.style.display="none",o.style.display="block")})}),n=[].slice.call(document.querySelectorAll(".lazy-background"));if("IntersectionObserver"in window){let i=new IntersectionObserver(function(t,e){t.forEach(function(t){var e;t.isIntersecting&&(e=t.target.dataset.bgImage,t.target.style.backgroundImage=`url("${e}")`,i.unobserve(t.target))})});
4n.forEach(function(t){i.observe(t)})}e=document.getElementsByClassName("typing-animation");Array.prototype.forEach.call(e,t=>{var e=t.querySelector(".typed-words"),t=t.querySelector(".typing-words").dataset.typingWords,t=JSON.parse(t);new Typed(e,{strings:t,typeSpeed:200,backSpeed:200,smartBackspace:!0,loop:!0})})}); 5//# sourceMappingURL=scripts.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.