PageSourceSearch

https://strefainwestorow.pl/sites/default/files/js/js_tBp6aR43dqQM…D3GFzeVykfoNh0xJek2HtgpDHhqpQUMfEa7cfjHu26w

js strefainwestorow.pl collected 2026-10-02 03:01:02 UTC 113,990 bytes, 10 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2!function(){"use strict";Drupal.behaviors.si_theme={attach:function(t,e){}};}(jQuery);;
3!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e(t.Popper);}(this,function(t){"use strict";function e(i){if(i&&i.__esModule)return i;var s=Object.create(null);return i&&Object.keys(i).forEach(function(t){var e;"default"!==t&&(e=Object.getOwnPropertyDescriptor(i,t),Object.defineProperty(s,t,e.get?e:{enumerable:!0,get:function(){return i[t];}}));}),s.default=i,Object.freeze(s);}var r=e(t);const o=1e3,a="transitionend",i=(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;},l=(t)=>{t=i(t);return t&&document.querySelector(t)?t:null;},c=(t)=>{t=i(t);return t?document.querySelector(t):null;},h=(t)=>{t.dispatchEvent(new Event(a));},d=(t)=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,s=(t)=>d(t)?t.jquery?t[0]:t:"string"==typeof t&&0<t.length?document.querySelector(t):null,n=(n,o,r)=>{Object.keys(r).forEach((t)=>{var e,i=r[t],s=o[t],e=s&&d(s)?"element":null==(e=s)?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(e))throw new TypeError(n.toUpperCase()+`: Option "${t}" provided type "${e}" but expected type "${i}".`);});},u=(t)=>!(!d(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),g=(t)=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),_=(t)=>{if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?_(t.parentNode):null;t=t.getRootNode();return t instanceof ShadowRoot?t:null;},f=()=>{},m=(t)=>{t.offsetHeight;},p=()=>{var t=window["jQuery"];return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null;},b=[],v=()=>"rtl"===document.documentElement.dir;var y=(s)=>{var t;t=()=>{const t=p();if(t){const e=s.NAME,i=t.fn[e];t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=()=>(t.fn[e]=i,s.jQueryInterface);}},"loading"===document.readyState?(b.length||document.addEventListener("DOMContentLoaded",()=>{b.forEach((t)=>t());}),b.push(t)):t();};const E=(t)=>{"function"==typeof t&&t();},w=(i,s,t=!0)=>{if(t){t=((t)=>{if(!t)return 0;let {transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);var s=Number.parseFloat(e),t=Number.parseFloat(i);return s||t?(e=e.split(",")[0],i=i.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(i))*o):0;})(s)+5;let e=!1;const n=({target:t})=>{t===s&&(e=!0,s.removeEventListener(a,n),E(i));};s.addEventListener(a,n),setTimeout(()=>{e||h(s);},t);}else E(i);},A=(t,e,i,s)=>{let n=t.indexOf(e);if(-1===n)return t[!i&&s?t.length-1:0];e=t.length;return n+=i?1:-1,s&&(n=(n+e)%e),t[Math.max(0,Math.min(n,e-1))];},T=/[^.]*(?=\..*)\.|.*/,C=/\..*/,k=/::\d+$/,L={};let S=1;
3const O={mouseenter:"mouseover",mouseleave:"mouseout"},N=/^(mouseenter|mouseleave)/i,D=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function I(t,e){return e&&e+"::"+S++||t.uidEvent||S++;}function P(t){var e=I(t);return t.uidEvent=e,L[e]=L[e]||{},L[e];}function x(i,s,n=null){var o=Object.keys(i);for(let t=0,e=o.length;t<e;t++){var r=i[o[t]];if(r.originalHandler===s&&r.delegationSelector===n)return r;}return null;}function M(t,e,i){var s="string"==typeof e,e=s?i:e;let n=B(t);return D.has(n)||(n=t),[s,e,n];}function j(t,e,i,s,n){if("string"==typeof e&&t){i||(i=s,s=null),N.test(e)&&(a=(e)=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t);},s?s=a(s):i=a(i));var [o,r,a]=M(e,i,s);const g=P(t),_=g[a]||(g[a]={}),f=x(_,r,o?i:null);if(f)f.oneOff=f.oneOff&&n;else{var l,c,h,d,u,e=I(r,e.replace(T,""));const m=o?(h=t,d=i,u=s,function i(s){var n=h.querySelectorAll(d);for(let e=s["target"];e&&e!==this;e=e.parentNode){for(let t=n.length;t--;)if(n[t]===e)return s.delegateTarget=e,i.oneOff&&z.off(h,s.type,d,u),u.apply(e,[s]);}return null;}):(l=t,c=i,function t(e){return e.delegateTarget=l,t.oneOff&&z.off(l,e.type,c),c.apply(l,[e]);});m.delegationSelector=o?i:null,m.originalHandler=r,m.oneOff=n,m.uidEvent=e,_[e]=m,t.addEventListener(a,m,o);}}}function H(t,e,i,s,n){s=x(e[i],s,n);s&&(t.removeEventListener(i,s,Boolean(n)),delete e[i][s.uidEvent]);}function B(t){return t=t.replace(C,""),O[t]||t;}const z={on(t,e,i,s){j(t,e,i,s,!1);},one(t,e,i,s){j(t,e,i,s,!0);},off(i,s,t,e){if("string"==typeof s&&i){const [n,o,r]=M(s,t,e),a=r!==s,l=P(i);e=s.startsWith(".");if(void 0!==o)return l&&l[r]?void H(i,l,r,o,n?t:null):void 0;e&&Object.keys(l).forEach((t)=>{!function(e,i,s,n){const o=i[s]||{};Object.keys(o).forEach((t)=>{t.includes(n)&&(t=o[t],H(e,i,s,t.originalHandler,t.delegationSelector));});}(i,l,t,s.slice(1));});const c=l[r]||{};Object.keys(c).forEach((t)=>{var e=t.replace(k,"");a&&!s.includes(e)||(t=c[t],H(i,l,r,t.originalHandler,t.delegationSelector));});}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const s=p();var n=B(e),o=e!==n,r=D.has(n);let a,l=!0,c=!0,h=!1,d=null;return o&&s&&(a=s.Event(e,i),s(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),h=a.isDefaultPrevented()),r?(d=document.createEvent("HTMLEvents"),d.initEvent(n,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}
3),void 0!==i&&Object.keys(i).forEach((t)=>{Object.defineProperty(d,t,{get(){return i[t];}});}),h&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d;}},R=new Map();var F=function(t,e,i){R.has(t)||R.set(t,new Map());const s=R.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);},W=function(t,e){return R.has(t)&&R.get(t).get(e)||null;},q=function(t,e){if(R.has(t)){const i=R.get(t);i.delete(e),0===i.size&&R.delete(t);}};class ${constructor(t){(t=s(t))&&(this._element=t,F(this._element,this.constructor.DATA_KEY,this));}dispose(){q(this._element,this.constructor.DATA_KEY),z.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t)=>{this[t]=null;});}_queueCallback(t,e,i=!0){w(t,e,i);}static getInstance(t){return W(s(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.1.0";}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!');}static get DATA_KEY(){return "bs."+this.NAME;}static get EVENT_KEY(){return "."+this.DATA_KEY;}}var U=(i,s="hide")=>{var t="click.dismiss"+i.EVENT_KEY;const n=i.NAME;z.on(document,t,`[data-bs-dismiss="${n}"]`,function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!g(this)){t=c(this)||this.closest("."+n);const e=i.getOrCreateInstance(t);e[s]();}});};class K extends ${static get NAME(){return "alert";}close(){var t;z.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(),z.trigger(this._element,"closed.bs.alert"),this.dispose();}static jQueryInterface(e){return this.each(function(){const t=K.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);}});}}U(K,"close"),y(K);const V='[data-bs-toggle="button"]';class X extends ${static get NAME(){return "button";}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"));}static jQueryInterface(e){return this.each(function(){const t=X.getOrCreateInstance(this);"toggle"===e&&t[e]();});}}function Y(t){return "true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t);}function Q(t){return t.replace(/[A-Z]/g,(t)=>"-"+t.toLowerCase());}z.on(document,"click.bs.button.data-api",V,(t)=>{t.preventDefault();t=t.target.closest(V);const e=X.getOrCreateInstance(t);e.toggle();}),y(X);const G={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+Q(e),i);},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+Q(e));},getDataAttributes(i){if(!i)return {};const s={};return Object.keys(i.dataset).filter((t)=>t.startsWith("bs")).forEach((t)=>{let e=t.replace(/^bs/,"");e=e.charAt(0).toLowerCase()+e.slice(1,e.length),s[e]=Y(i.dataset[t]);}),s;},getDataAttribute(t,e){return Y(t.getAttribute("data-bs-"+Q(e)));},offset(t){t=t.getBoundingClientRect();return {top:t.top+window.pageYOffset,left:t.left+window.pageXOffset};},position(t){return {top:t.offsetTop,left:t.offsetLeft};}},Z={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){const i=[];let s=t.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(e)&&i.push(s),s=s.parentNode;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)=>!g(t)&&u(t));}},J="carousel";var tt=".bs.carousel";const et={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},it={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},st="next",nt="prev",ot="left",rt="right",at={ArrowLeft:rt,ArrowRight:ot},lt="slid"+tt;const ct="active",ht=".active.carousel-item";class dt extends ${constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=Z.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart" in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners();}static get Default(){return et;}static get NAME(){return J;}next(){this._slide(st);}nextWhenVisible(){!document.hidden&&u(this._element)&&this.next();}prev(){this._slide(nt);}pause(t){t||(this._isPaused=!0),Z.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(h(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null;}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval));}to(t){this._activeElement=Z.findOne(ht,this._element);var e=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)z.one(this._element,lt,()=>this.to(t));else{if(e===t)return this.pause(),void this.cycle();e=e<t?st:nt;this._slide(e,this._items[t]);}}_getConfig(t){return t={...et,...G.getDataAttributes(this._element),..."object"==typeof t?t:{}},n(J,t,it),t;}_handleSwipe(){var t=Math.abs(this.touchDeltaX);t<=40||(t=t/this.touchDeltaX,this.touchDeltaX=0,t&&this._slide(0<t?rt:ot));}_addEventListeners(){this._config.keyboard&&z.on(this._element,"keydown.bs.carousel",(t)=>
3this._keydown(t)),"hover"===this._config.pause&&(z.on(this._element,"mouseenter.bs.carousel",(t)=>this.pause(t)),z.on(this._element,"mouseleave.bs.carousel",(t)=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners();}_addTouchEventListeners(){const e=(t)=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX;},i=(t)=>{this.touchDeltaX=t.touches&&1<t.touches.length?0:t.touches[0].clientX-this.touchStartX;},s=(t)=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t)=>this.cycle(t),500+this._config.interval));};Z.find(".carousel-item img",this._element).forEach((t)=>{z.on(t,"dragstart.bs.carousel",(t)=>t.preventDefault());}),this._pointerEvent?(z.on(this._element,"pointerdown.bs.carousel",(t)=>e(t)),z.on(this._element,"pointerup.bs.carousel",(t)=>s(t)),this._element.classList.add("pointer-event")):(z.on(this._element,"touchstart.bs.carousel",(t)=>e(t)),z.on(this._element,"touchmove.bs.carousel",(t)=>i(t)),z.on(this._element,"touchend.bs.carousel",(t)=>s(t)));}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=at[t.key])&&(t.preventDefault(),this._slide(e));}_getItemIndex(t){return this._items=t&&t.parentNode?Z.find(".carousel-item",t.parentNode):[],this._items.indexOf(t);}_getItemByOrder(t,e){t=t===st;return A(this._items,e,t,this._config.wrap);}_triggerSlideEvent(t,e){var i=this._getItemIndex(t),s=this._getItemIndex(Z.findOne(ht,this._element));return z.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:s,to:i});}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=Z.findOne(".active",this._indicatorsElement);t.classList.remove(ct),t.removeAttribute("aria-current");const i=Z.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add(ct),i[t].setAttribute("aria-current","true");break;}}}_updateInterval(){const t=this._activeElement||Z.findOne(ht,this._element);var e;t&&((e=Number.parseInt(t.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval);}_slide(t,e){var i=this._directionToOrder(t);const s=Z.findOne(ht,this._element),n=this._getItemIndex(s),o=e||this._getItemByOrder(i,s),r=this._getItemIndex(o);t=Boolean(this._interval),e=i===st;const a=e?"carousel-item-start":"carousel-item-end",l=e?"carousel-item-next":"carousel-item-prev",c=this._orderToDirection(i);if(o&&o.classList.contains(ct))this._isSliding=!1;else{if(!this._isSliding){i=this._triggerSlideEvent(o,c);if(!i.defaultPrevented&&s&&o){this._isSliding=!0,t&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const h=()=>{z.trigger(this._element,lt,{relatedTarget:o,direction:c,from:n,to:r});};this._element.classList.contains("slide")?(o.classList.add(l),m(o),s.classList.add(a),o.classList.add(a),this._queueCallback(()=>{o.classList.remove(a,l),o.classList.add(ct),s.classList.remove(ct,l,a),this._isSliding=!1,setTimeout(h,0);},s,!0)):(s.classList.remove(ct),o.classList.add(ct),this._isSliding=!1,h()),t&&this.cycle();}}}}_directionToOrder(t){return [rt,ot].includes(t)?v()?t===ot?nt:st:t===ot?st:nt:t;}_orderToDirection(t){return [st,nt].includes(t)?v()?t===nt?ot:rt:t===nt?rt:ot:t;}static carouselInterface(t,e){const i=dt.getOrCreateInstance(t,e);let s=i["_config"];"object"==typeof e&&(s={...s,...e});t="string"==typeof e?e:s.slide;if("number"==typeof e)i.to(e);else if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]();}else s.interval&&s.ride&&(i.pause(),i.cycle());}static jQueryInterface(t){return this.each(function(){dt.carouselInterface(this,t);});}static dataApiClickHandler(t){const e=c(this);if(e&&e.classList.contains("carousel")){const s={...G.getDataAttributes(e),...G.getDataAttributes(this)};var i=this.getAttribute("data-bs-slide-to");i&&(s.interval=!1),dt.carouselInterface(e,s),i&&dt.getInstance(e).to(i),t.preventDefault();}}}z.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",dt.dataApiClickHandler),z.on(window,"load.bs.carousel.data-api",()=>{var i=Z.find('[data-bs-ride="carousel"]');for(let t=0,e=i.length;t<e;t++)dt.carouselInterface(i[t],dt.getInstance(i[t]));}),y(dt);const ut="collapse",gt="bs.collapse";t="."+gt;const _t={toggle:!0,parent:null},ft={toggle:"boolean",parent:"(null|element)"};const mt="show",pt="collapse",bt="collapsing",vt="collapsed",yt='[data-bs-toggle="collapse"]';class Et extends ${constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];var i=Z.find(yt);for(let t=0,e=i.length;t<e;t++){var s=i[t],n=l(s),o=Z.find(n).filter((t)=>t===this._element);null!==n&&o.length&&(this._selector=n,this._triggerArray.push(s));}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle();}static get Default(){return _t;}static get NAME(){return ut;}toggle(){this._isShown()?this.hide():this.show();}show(){if(!this._isTransitioning&&!this._isShown()){let t=[],e;if(this._config.parent){const n=Z.find(`.${pt} .`+pt,this._config.parent);t=Z.find(".show, .collapsing",this._config.parent).filter((t)=>!n.includes(t));}const s=Z.findOne(this._selector);if(t.length){var i=t.find((t)=>s!==t);if(e=i?Et.getInstance(i):null,e&&e._isTransitioning)return;}if(!z.trigger(this._element,"show.bs.collapse").defaultPrevented){t.forEach((t)=>{s!==t&&Et.getOrCreateInstance(t,{toggle:!1}).hide(),e||F(t,gt,null);});const o=this._getDimension();this._element.classList.remove(pt),this._element.classList.add(bt),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;i="scroll"+(o[0].toUpperCase()+o.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(bt),this._element.classList.add(pt,mt),this._element.style[o]="",z.trigger(this._element,"shown.bs.collapse");},this._element,!0),this._element.style[o]=this._element[i]+"px";}}}
3hide(){if(!this._isTransitioning&&this._isShown()&&!z.trigger(this._element,"hide.bs.collapse").defaultPrevented){var t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",m(this._element),this._element.classList.add(bt),this._element.classList.remove(pt,mt);var e=this._triggerArray.length;for(let t=0;t<e;t++){var i=this._triggerArray[t],s=c(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1);}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(bt),this._element.classList.add(pt),z.trigger(this._element,"hidden.bs.collapse");},this._element,!0);}}_isShown(t=this._element){return t.classList.contains(mt);}_getConfig(t){return (t={..._t,...G.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=s(t.parent),n(ut,t,ft),t;}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height";}_initializeChildren(){if(this._config.parent){const e=Z.find(`.${pt} .`+pt,this._config.parent);Z.find(yt,this._config.parent).filter((t)=>!e.includes(t)).forEach((t)=>{var e=c(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e));});}}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t)=>{e?t.classList.remove(vt):t.classList.add(vt),t.setAttribute("aria-expanded",e);});}static jQueryInterface(i){return this.each(function(){const t={};"string"==typeof i&&/show|hide/.test(i)&&(t.toggle=!1);const e=Et.getOrCreateInstance(this,t);if("string"==typeof i){if(void 0===e[i])throw new TypeError(`No method named "${i}"`);e[i]();}});}}z.on(document,"click.bs.collapse.data-api",yt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();t=l(this);const e=Z.find(t);e.forEach((t)=>{Et.getOrCreateInstance(t,{toggle:!1}).toggle();});}),y(Et);const wt="dropdown";var At=".bs.dropdown",tt=".data-api";const Tt="Escape",Ct="ArrowUp",kt="ArrowDown",Lt=new RegExp(Ct+`|${kt}|`+Tt);var St="click"+At+tt,t="keydown"+At+tt;const Ot="show",Nt='[data-bs-toggle="dropdown"]',Dt=".dropdown-menu",It=v()?"top-end":"top-start",Pt=v()?"top-start":"top-end",xt=v()?"bottom-end":"bottom-start",Mt=v()?"bottom-start":"bottom-end",jt=v()?"left-start":"right-start",Ht=v()?"right-start":"left-start",Bt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},zt={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Rt extends ${constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar();}static get Default(){return Bt;}static get DefaultType(){return zt;}static get NAME(){return wt;}toggle(){return this._isShown()?this.hide():this.show();}show(){if(!g(this._element)&&!this._isShown(this._menu)){var t={relatedTarget:this._element};if(!z.trigger(this._element,"show.bs.dropdown",t).defaultPrevented){const e=Rt.getParentFromElement(this._element);this._inNavbar?G.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart" in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t)=>z.on(t,"mouseover",f)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ot),this._element.classList.add(Ot),z.trigger(this._element,"shown.bs.dropdown",t);}}}hide(){var t;!g(this._element)&&this._isShown(this._menu)&&(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){z.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart" in document.documentElement&&[].concat(...document.body.children).forEach((t)=>z.off(t,"mouseover",f)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Ot),this._element.classList.remove(Ot),this._element.setAttribute("aria-expanded","fal
3se"),G.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,"hidden.bs.dropdown",t));}_getConfig(t){if(t={...this.constructor.Default,...G.getDataAttributes(this._element),...t},n(wt,t,this.constructor.DefaultType),"object"==typeof t.reference&&!d(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(wt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t;}_createPopper(t){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:d(this._config.reference)?e=s(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig();t=i.modifiers.find((t)=>"applyStyles"===t.name&&!1===t.enabled);this._popper=r.createPopper(e,this._menu,i),t&&G.setDataAttribute(this._menu,"popper","static");}_isShown(t=this._element){return t.classList.contains(Ot);}_getMenuElement(){return Z.next(this._element,Dt)[0];}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return jt;if(t.classList.contains("dropstart"))return Ht;var e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Pt:It:e?Mt:xt;}
3_detectNavbar(){return null!==this._element.closest(".navbar");}_getOffset(){const 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(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return "static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig};}_selectMenuItem({key:t,target:e}){const i=Z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(u);i.length&&A(i,e,t===kt,!i.includes(e)).focus();}static jQueryInterface(e){return this.each(function(){const t=Rt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]();}});}static clearMenus(i){if(!i||2!==i.button&&("keyup"!==i.type||"Tab"===i.key)){var s=Z.find(Nt);for(let t=0,e=s.length;t<e;t++){const o=Rt.getInstance(s[t]);if(o&&!1!==o._config.autoClose&&o._isShown()){const r={relatedTarget:o._element};if(i){const a=i.composedPath();var n=a.includes(o._menu);if(a.includes(o._element)||"inside"===o._config.autoClose&&!n||"outside"===o._config.autoClose&&n)continue;
3if(o._menu.contains(i.target)&&("keyup"===i.type&&"Tab"===i.key||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;"click"===i.type&&(r.clickEvent=i);}o._completeHide(r);}}}}static getParentFromElement(t){return c(t)||t.parentNode;}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?!("Space"===t.key||t.key!==Tt&&(t.key!==kt&&t.key!==Ct||t.target.closest(Dt))):Lt.test(t.key)){var e=this.classList.contains(Ot);if((e||t.key!==Tt)&&(t.preventDefault(),t.stopPropagation(),!g(this))){var i=this.matches(Nt)?this:Z.prev(this,Nt)[0];const s=Rt.getOrCreateInstance(i);if(t.key!==Tt)return t.key===Ct||t.key===kt?(e||s.show(),void s._selectMenuItem(t)):void (e&&"Space"!==t.key||Rt.clearMenus());s.hide();}}}}z.on(document,t,Nt,Rt.dataApiKeydownHandler),z.on(document,t,Dt,Rt.dataApiKeydownHandler),z.on(document,St,Rt.clearMenus),z.on(document,"keyup.bs.dropdown.data-api",Rt.clearMenus),z.on(document,St,Nt,function(t){t.preventDefault(),Rt.getOrCreateInstance(this).toggle();}),y(Rt);const Ft=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Wt=".sticky-top";class qt{constructor(){this._element=document.body;}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t);}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t)=>t+e),this._setElementAttributes(Ft,"paddingRight",(t)=>t+e),this._setElementAttributes(Wt,"marginRight",(t)=>t-e);}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden";}_setElementAttributes(t,i,s){const n=this.getWidth();this._applyManipulationCallback(t,(t)=>{var e;t!==this._element&&window.innerWidth>t.clientWidth+n||(this._saveInitialAttribute(t,i),e=window.getComputedStyle(t)[i],t.style[i]=s(Number.parseFloat(e))+"px");});}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Ft,"paddingRight"),this._resetElementAttributes(Wt,"marginRight");}_saveInitialAttribute(t,e){var i=t.style[e];i&&G.setDataAttribute(t,e,i);}_resetElementAttributes(t,i){this._applyManipulationCallback(t,(t)=>{var e=G.getDataAttribute(t,i);void 0===e?t.style.removeProperty(i):(G.removeDataAttribute(t,i),t.style[i]=e);});}_applyManipulationCallback(t,e){d(t)?e(t):Z.find(t,this._element).forEach(e);}isOverflowing(){return 0<this.getWidth();}}const $t={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Ut={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Kt="backdrop",Vt="mousedown.bs."+Kt;class Xt{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null;}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&m(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{E(t);})):E(t);}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),E(t);})):E(t);}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t;}return this._element;}_getConfig(t){return (t={...$t,..."object"==typeof t?t:{}}).rootElement=s(t.rootElement),n(Kt,t,Ut),t;}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),z.on(this._getElement(),Vt,()=>{E(this._config.clickCallback);}),this._isAppended=!0);}dispose(){this._isAppended&&(z.off(this._element,Vt),this._element.remove(),this._isAppended=!1);}_emulateAnimation(t){w(t,this._getElement(),this._config.isAnimated);}}const Yt={trapElement:null,autofocus:!0},Qt={trapElement:"element",autofocus:"boolean"};const Gt=".bs.focustrap",Zt=(Gt,Gt,"backward");class Jt{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null;}activate(){const {trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),z.off(document,Gt),z.on(document,"focusin.bs.focustrap",(t)=>this._handleFocusin(t)),z.on(document,"keydown.tab.bs.focustrap",(t)=>this._handleKeydown(t)),this._isActive=!0);}deactivate(){this._isActive&&(this._isActive=!1,z.off(document,Gt));}_handleFocusin(t){var t=t["target"];const e=this._config["trapElement"];if(t!==document&&t!==e&&!e.contains(t)){const i=Z.focusableChildren(e);(0===i.length?e:this._lastTabNavDirection===Zt?i[i.length-1]:i[0]).focus();}}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Zt:"forward");}_getConfig(t){return t={...Yt,..."object"==typeof t?t:{}},n("focustrap",t,Qt),t;}}
3const te=".bs.modal";const ee={backdrop:!0,keyboard:!0,focus:!0},ie={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},se=(te,te,"hidden"+te),ne="show"+te,oe=(te,"resize"+te),re="click.dismiss"+te,ae="keydown.dismiss"+te,le=(te,"mousedown.dismiss"+te);te;const ce="modal-open",he="modal-static";class de extends ${constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=Z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new qt();}static get Default(){return ee;}static get NAME(){return "modal";}toggle(t){return this._isShown?this.hide():this.show(t);}show(t){this._isShown||this._isTransitioning||z.trigger(this._element,ne,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(ce),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),z.on(this._dialog,le,()=>{z.one(this._element,"mouseup.dismiss.bs.modal",(t)=>{t.target===this._element&&(this._ignoreBackdropClick=!0);});}),this._showBackdrop(()=>this._showElement(t)));}hide(){var t;this._isShown&&!this._isTransitioning&&(z.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(t=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),z.off(this._element,re),z.off(this._dialog,le),this._queueCallback(()=>this._hideModal(),this._element,t)));}dispose(){[window,this._dialog].forEach((t)=>z.off(t,te)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose();}handleUpdate(){this._adjustDialog();}_initializeBackDrop(){return new Xt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()});}_initializeFocusTrap(){return new Jt({trapElement:this._element});}_getConfig(t){return t={...ee,...G.getDataAttributes(this._element),..."object"==typeof t?t:{}},n("modal",t,ie),t;}_showElement(t){var e=this._isAnimated();const i=Z.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,i&&(i.scrollTop=0),e&&m(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,z.trigger(this._element,"shown.bs.modal",{relatedTarget:t});},this._dialog,e);}_setEscapeEvent(){this._isShown?z.on(this._element,ae,(t)=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition();}):z.off(this._element,ae);}_setResizeEvent(){this._isShown?z.on(window,oe,()=>this._adjustDialog()):z.off(window,oe);}_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(ce),this._resetAdjustments(),this._scrollBar.reset(),z.trigger(this._element,se);});}_showBackdrop(t){z.on(this._element,re,(t)=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition());}),this._backdrop.show(t);}_isAnimated(){return this._element.classList.contains("fade");}_triggerBackdropTransition(){if(!z.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const {classList:t,scrollHeight:e,style:i}=this._element,s=e>document.documentElement.clientHeight;!s&&"hidden"===i.overflowY||t.contains(he)||(s||(i.overflowY="hidden"),t.add(he),this._queueCallback(()=>{t.remove(he),s||this._queueCallback(()=>{i.overflowY="";},this._dialog);},this._dialog),this._element.focus());}}_adjustDialog(){var t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=0<e;(!i&&t&&!v()||i&&!t&&v())&&(this._element.style.paddingLeft=e+"px"),(i&&!t&&!v()||!i&&t&&v())&&(this._element.style.paddingRight=e+"px");}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight="";}static jQueryInterface(e,i){return this.each(function(){const t=de.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
3amed "${e}"`);t[e](i);}});}}z.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){const e=c(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),z.one(e,ne,(t)=>{t.defaultPrevented||z.one(e,se,()=>{u(this)&&this.focus();});});const i=de.getOrCreateInstance(e);i.toggle(this);}),U(de),y(de);const ue="offcanvas";t=".bs.offcanvas";const ge={backdrop:!0,keyboard:!0,scroll:!1},_e={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},fe=".offcanvas.show",me="hidden"+t;class pe extends ${constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners();}static get NAME(){return ue;}static get Default(){return ge;}toggle(t){return this._isShown?this.hide():this.show(t);}show(t){this._isShown||z.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new qt()).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),z.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t});},this._element,!0));}hide(){this._isShown&&(z.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new qt()).reset(),z.trigger(this._element,me);},this._element,!0)));}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose();}_getConfig(t){return t={...ge,...G.getDataAttributes(this._element),..."object"==typeof t?t:{}},n(ue,t,_e),t;}_initializeBackDrop(){return new Xt({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()});}_initializeFocusTrap(){return new Jt({trapElement:this._element});}_addEventListeners(){z.on(this._element,"keydown.dismiss.bs.offcanvas",(t)=>{this._config.keyboard&&"Escape"===t.key&&this.hide();});}static jQueryInterface(e){return this.each(function(){const t=pe.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);}});}}z.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){var e=c(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!g(this)){z.one(e,me,()=>{u(this)&&this.focus();});t=Z.findOne(fe);t&&t!==e&&pe.getInstance(t).hide();const i=pe.getOrCreateInstance(e);i.toggle(this);}}),z.on(window,"load.bs.offcanvas.data-api",()=>Z.find(fe).forEach((t)=>pe.getOrCreateInstance(t).show())),U(pe),y(pe);const be=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const ve=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;St={"*":["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 Ee(t,i,e){if(!t.length)return t;if(e&&"function"==typeof e)return e(t);const s=new window.DOMParser(),n=s.parseFromString(t,"text/html"),o=Object.keys(i);var r=[].concat(...n.body.querySelectorAll("*"));for(let t=0,e=r.length;t<e;t++){const l=r[t];var a=l.nodeName.toLowerCase();if(o.includes(a)){const c=[].concat(...l.attributes),h=[].concat(i["*"]||[],i[a]||[]);
3c.forEach((t)=>{((t,e)=>{var i=t.nodeName.toLowerCase();if(e.includes(i))return !be.has(i)||Boolean(ve.test(t.nodeValue)||ye.test(t.nodeValue));const s=e.filter((t)=>t instanceof RegExp);for(let t=0,e=s.length;t<e;t++)if(s[t].test(i))return !0;return !1;})(t,h)||l.removeAttribute(t.nodeName);});}else l.remove();}return n.body.innerHTML;}const we="tooltip";t=".bs.tooltip";const Ae=new Set(["sanitize","allowList","sanitizeFn"]),Te={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ce={AUTO:"auto",TOP:"top",RIGHT:v()?"left":"right",BOTTOM:"bottom",LEFT:v()?"right":"left"},ke={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:St,popperConfig:null},Le={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},Se="fade";const Oe="show",Ne="show",De="hide.bs.modal",Ie="hover",Pe="focus";class xe extends ${constructor(t,e){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners();}static get Default(){return ke;}static get NAME(){return we;}static get Event(){return Le;}static get DefaultType(){return Te;}enable(){this._isEnabled=!0;}disable(){this._isEnabled=!1;}toggleEnabled(){this._isEnabled=!this._isEnabled;}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e);}else this.getTipElement().classList.contains(Oe)?this._leave(null,this):this._enter(null,this);}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(".modal"),De,this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose();}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var t=z.trigger(this._element,this.constructor.Event.SHOW);const i=_(this._element);var e=(null===i?this._element.ownerDocument.documentElement:i).contains(this._element);if(!t.defaultPrevented&&e){const s=this.getTipElement();e=((t)=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t;})(this.constructor.NAME);s.setAttribute("id",e),this._element.setAttribute("aria-describedby",e),this._config.animation&&s.classList.add(Se);e="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,e=this._getAttachment(e);this._addAttachmentClass(e);const n=this._config["container"];F(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(s),z.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=r.createPopper(this._element,s,this._getPopperConfig(e)),s.classList.add(Oe);const o=this._resolvePossibleFunction(this._config.customClass);o&&s.classList.add(...o.split(" ")),"ontouchstart" in document.documentElement&&[].concat(...document.body.children).forEach((t)=>{z.on(t,"mouseover",f);});e=this.tip.classList.contains(Se);this._queueCallback(()=>{var t=this._hoverState;this._hoverState=null,z.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this);},this.tip,e);}}}
3hide(){if(this._popper){const e=this.getTipElement();var t;z.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(e.classList.remove(Oe),"ontouchstart" in document.documentElement&&[].concat(...document.body.children).forEach((t)=>z.off(t,"mouseover",f)),this._activeTrigger.click=!1,this._activeTrigger[Pe]=!1,this._activeTrigger[Ie]=!1,t=this.tip.classList.contains(Se),this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ne&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null));},this.tip,t),this._hoverState="");}}update(){null!==this._popper&&this._popper.update();}isWithContent(){return Boolean(this.getTitle());}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(Se,Oe),this.tip=e,this.tip;}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".tooltip-inner");}_sanitizeAndSetContent(t,e,i){const s=Z.findOne(i,t);e||!s?this.setElementContent(s,e):s.remove();}setElementContent(t,e){if(null!==t)return d(e)?(e=s(e),void (this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void (this._config.html?(this._config.sanitize&&(e=Ee(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e);}getTitle(){var t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t);}updateAttachment(t){return "right"===t?"end":"left"===t?"start":t;}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig());}_getOffset(){const 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:"onChange",enabled:!0,phase:"afterWrite",fn:(t)=>this._handlePopperPlacementChange(t)}],onFirstUpdate:(t)=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t);}};return {...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig};}_addAttachmentClass(t){this.getTipElement().classList.add(this._getBasicClassPrefix()+"-"+this.updateAttachment(t));}_getAttachment(t){return Ce[t.toUpperCase()];}_setListeners(){const t=this._config.trigger.split(" ");t.forEach((t)=>{var e;"click"===t?z.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t)=>this.toggle(t)):"manual"!==t&&(e=t===Ie?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,t=t===Ie?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,z.on(this._element,e,this._config.selector,(t)=>this._enter(t)),z.on(this._element,t,this._config.selector,(t)=>this._leave(t)));}),this._hideModalHandler=()=>{this._element&&this.hide();},z.on(this._element.closest(".modal"),De,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle();}_fixTitle(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");!t&&"string"==e||(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""));}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?Pe:Ie]=!0),e.getTipElement().classList.contains(Oe)||e._hoverState===Ne?e._hoverState=Ne:(clearTimeout(e._timeout),e._hoverState=Ne,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===Ne&&e.show();},e._config.delay.show):e.show());}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?Pe:Ie]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide();},e._config.delay.hide):e.hide());}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return !0;return !1;}_getConfig(t){const e=G.getDataAttributes(this._element);return Object.keys(e).forEach((t)=>{Ae.has(t)&&delete e[t];}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:s(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()),n(we,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ee(t.template,t.allowList,t.sanitizeFn)),t;}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t;}_cleanTipClass(){const e=this.getTipElement();var t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g");const i=e.getAttribute("class").match(t);null!==i&&0<i.length&&i.map((t)=>
3t.trim()).forEach((t)=>e.classList.remove(t));}_getBasicClassPrefix(){return "bs-tooltip";}_handlePopperPlacementChange(t){var t=t["state"];t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)));}static jQueryInterface(e){return this.each(function(){const t=xe.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]();}});}}y(xe);t=".bs.popover";const Me={...xe.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},je={...xe.DefaultType,content:"(string|element|function)"},He={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t};class Be extends xe{static get Default(){return Me;}static get NAME(){return "popover";}static get Event(){return He;}static get DefaultType(){return je;}isWithContent(){return this.getTitle()||this._getContent();}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body");}_getContent(){return this._resolvePossibleFunction(this._config.content);}_getBasicClassPrefix(){return "bs-popover";}static jQueryInterface(e){return this.each(function(){const t=Be.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]();}});}}y(Be);const ze="scrollspy";const Re=".bs.scrollspy";const Fe={offset:10,method:"auto",target:""},We={offset:"number",method:"string",target:"(string|element)"};Re,Re;Re;const qe="dropdown-item",$e="active",Ue=".nav-link",Ke=".list-group-item",Ve=Ue+`, ${Ke}, .`+qe,Xe="position";class Ye extends ${constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,z.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process();}static get Default(){return Fe;}static get NAME(){return ze;}refresh(){var t=this._scrollElement===this._scrollElement.window?"offset":Xe;const s="auto"===this._config.method?t:this._config.method,n=s===Xe?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();const e=Z.find(Ve,this._config.target);e.map((t)=>{var e=l(t);const i=e?Z.findOne(e):null;if(i){t=i.getBoundingClientRect();if(t.width||t.height)return [G[s](i).top+n,e];}return null;}).filter((t)=>t).sort((t,e)=>t[0]-e[0]).forEach((t)=>{this._offsets.push(t[0]),this._targets.push(t[1]);});}dispose(){z.off(this._scrollElement,Re),super.dispose();}_getConfig(t){return (t={...Fe,...G.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=s(t.target)||document.documentElement,n(ze,t,We),t;}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop;}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight);}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height;}_process(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),i<=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t]);}}_activate(e){this._activeTarget=e,this._clear();const t=Ve.split(",").map((t)=>t+`[data-bs-target="${e}"],${t}[href="${e}"]`),i=Z.findOne(t.join(","),this._config.target);i.classList.add($e),i.classList.contains(qe)?Z.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add($e):Z.parents(i,".nav, .list-group").forEach((t)=>{Z.prev(t,Ue+", "+Ke).forEach((t)=>t.classList.add($e)),Z.prev(t,".nav-item").forEach((t)=>{Z.children(t,Ue).forEach((t)=>t.classList.add($e));});}),z.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e});}_clear(){Z.find(Ve,this._config.target).filter((t)=>
3t.classList.contains($e)).forEach((t)=>t.classList.remove($e));}static jQueryInterface(e){return this.each(function(){const t=Ye.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]();}});}}z.on(window,"load.bs.scrollspy.data-api",()=>{Z.find('[data-bs-spy="scroll"]').forEach((t)=>new Ye(t));}),y(Ye);t=".bs.tab";const Qe="active",Ge=".active",Ze=":scope > li > .active";class Je extends ${static get NAME(){return "tab";}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains(Qe)){let t;var e=c(this._element),i=this._element.closest(".nav, .list-group");i&&(s="UL"===i.nodeName||"OL"===i.nodeName?Ze:Ge,t=Z.find(s,i),t=t[t.length-1]);var s=t?z.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;z.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==s&&s.defaultPrevented||(this._activate(this._element,i),i=()=>{z.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),z.trigger(this._element,"shown.bs.tab",{relatedTarget:t});},e?this._activate(e,e.parentNode,i):i());}}_activate(t,e,i){const s=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Z.children(e,Ge):Z.find(Ze,e))[0];var n=i&&s&&s.classList.contains("fade"),e=()=>this._transitionComplete(t,s,i);s&&n?(s.classList.remove("show"),this._queueCallback(e,t,!0)):e();}_transitionComplete(t,e,i){if(e){e.classList.remove(Qe);const n=Z.findOne(":scope > .dropdown-menu .active",e.parentNode);n&&n.classList.remove(Qe),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1);}t.classList.add(Qe),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m(t),t.classList.contains("fade")&&t.classList.add("show");let s=t.parentNode;s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")&&((e=t.closest(".dropdown"))&&Z.find(".dropdown-toggle",e).forEach((t)=>t.classList.add(Qe)),t.setAttribute("aria-expanded",!0)),i&&i();}static jQueryInterface(e){return this.each(function(){const t=Je.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]();}});}}z.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!g(this)){const e=Je.getOrCreateInstance(this);e.show();}}),y(Je);t=".bs.toast";const ti="show",ei="showing",ii={animation:"boolean",autohide:"boolean",delay:"number"},si={animation:!0,autohide:!0,delay:5e3};class ni extends ${constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners();}static get DefaultType(){return ii;}static get Default(){return si;}static get NAME(){return "toast";}show(){z.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),m(this._element),this._element.classList.add(ti),this._element.classList.add(ei),this._queueCallback(()=>{this._element.classList.remove(ei),z.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide();},this._element,this._config.animation));}hide(){this._element.classList.contains(ti)&&(z.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ei),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ei),this._element.classList.remove(ti),z.trigger(this._element,"hidden.bs.toast");},this._element,this._config.animation)));}dispose(){this._clearTimeout(),this._element.classList.contains(ti)&&this._element.classList.remove(ti),super.dispose();}_getConfig(t){return t={...si,...G.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},n("toast",t,this.constructor.DefaultType),t;}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide();},this._config.delay)));}_onInteraction(t,e){switch(t.type){case "mouseover":case "mouseout":this._hasMouseInteraction=e;break;case "focusin":case "focusout":this._hasKeyboardInteraction=e;}e?this._clearTimeout():(t=t.relatedTarget,this._element===t||this._element.contains(t)||this._maybeScheduleHide());}_setListeners(){z.on(this._element,"mouseover.bs.toast",(t)=>this._onInteraction(t,!0)),z.on(this._element,"mouseout.bs.toast",(t)=>this._onInteraction(t,!1)),z.on(this._element,"focusin.bs.toast",(t)=>this._onInteraction(t,!0)),z.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(){const t=ni.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
3amed "${e}"`);t[e](this);}});}}return U(ni),y(ni),{Alert:K,Button:X,Carousel:dt,Collapse:Et,Dropdown:Rt,Modal:de,Offcanvas:pe,Popover:Be,ScrollSpy:Ye,Tab:Je,Toast:ni,Tooltip:xe};});;
4(function($,Drupal){'use strict';Drupal.behaviors.bootstrap_barrio={attach:function(context,settings){var position=$(window).scrollTop();$(window).scroll(function(){if($(this).scrollTop()>50)$('body').addClass("scrolled");else $('body').removeClass("scrolled");var scroll=$(window).scrollTop();if(scroll>position){$('body').addClass("scrolldown");$('body').removeClass("scrollup");}else{$('body').addClass("scrollup");$('body').removeClass("scrolldown");}position=scroll;});$('.dropdown-item a.dropdown-toggle').on("click",function(e){$(this).next('ul').toggle();e.stopPropagation();e.preventDefault();});}};})(jQuery,Drupal);;
5((e)=>{function t(e){e.target.checked?(document.documentElement.setAttribute("data-bs-theme","light"),localStorage.setItem("theme","light")):(document.documentElement.setAttribute("data-bs-theme","dark"),localStorage.setItem("theme","dark"));}const c=localStorage.getItem("theme");c&&document.documentElement.setAttribute("data-bs-theme",c),e.behaviors.darkModeSwitcher={attach(e){once("dark-mode-switcher",'.switch input[type="checkbox"]',e).forEach(function(e){"dark"===c?e.checked=!1:e.checked=!0,e.addEventListener("change",t,!1);});}};})(Drupal);;
6var SimpleBar=function(){"use strict";var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]} instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);},e(t,i);};var t=!("undefined"==typeof window||!window.document||!window.document.createElement),i="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,r=i||s||Function("return this")(),l=r.Symbol,o=Object.prototype,n=o.hasOwnProperty,a=o.toString,c=l?l.toStringTag:void 0;var h=Object.prototype.toString;var u=l?l.toStringTag:void 0;function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?function(e){var t=n.call(e,c),i=e[c];try{e[c]=void 0;var s=!0;}catch(e){}var r=a.call(e);return s&&(t?e[c]=i:delete e[c]),r;}(e):function(e){return h.call(e);}(e);}var p=/\s/;var v=/^\s+/;function f(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&p.test(e.charAt(t)););return t;}(e)+1).replace(v,""):e;}function m(e){var t=typeof e;return null!=e&&("object"==t||"function"==t);}var b=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,x=/^0o[0-7]+$/i,y=parseInt;function E(e){if("number"==typeof e)return e;if(function(e){return "symbol"==typeof e||function(e){return null!=e&&"object"==typeof e;}(e)&&"[object Symbol]"==d(e);}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=f(e);var i=g.test(e);return i||x.test(e)?y(e.slice(2),i?2:8):b.test(e)?NaN:+e;}var O=function(){return r.Date.now();},w=Math.max,S=Math.min;function A(e,t,i){var s,r,l,o,n,a,c=0,h=!1,u=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=s,l=r;return s=r=void 0,c=t,o=e.apply(l,i);}function v(e){return c=e,n=setTimeout(b,t),h?p(e):o;}function f(e){var i=e-a;return void 0===a||i>=t||i<0||u&&e-c>=l;}function b(){var e=O();if(f(e))return g(e);n=setTimeout(b,function(e){var i=t-(e-a);return u?S(i,l-(e-c)):i;}(e));}function g(e){return n=void 0,d&&s?p(e):(s=r=void 0,o);}function x(){var e=O(),i=f(e);if(s=arguments,r=this,a=e,i){if(void 0===n)return v(a);if(u)return clearTimeout(n),n=setTimeout(b,t),p(a);}return void 0===n&&(n=setTimeout(b,t)),o;}return t=E(t)||0,m(i)&&(h=!!i.leading,l=(u="maxWait" in i)?w(E(i.maxWait)||0,t):l,d="trailing" in i?!!i.trailing:d),x.cancel=function(){void 0!==n&&clearTimeout(n),c=0,s=a=r=n=void 0;},x.flush=function(){return void 0===n?o:g(O());},x;}var k=function(){return k=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e;},k.apply(this,arguments);},W=null,M=null;function N(){if(null===W){if("undefined"==typeof document)return W=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var i=t.getBoundingClientRect().right;e.removeChild(t),W=i;}return W;}function L(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;}function z(e){return e&&e.ownerDocument?e.ownerDocument:document;}t&&window.addEventListener("resize",(function(){M!==window.devicePixelRatio&&(M=window.devicePixelRatio,W=null);}));var C=function(e){return Array.prototype.reduce.call(e,(function(e,t){var i=t.name.match(/data-simplebar-(.+)/);if(i){var s=i[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase();}));switch(t.value){case "true":e[s]=!0;break;
6case "false":e[s]=!1;break;case void 0:e[s]=!0;break;default:e[s]=t.value;}}return e;}),{});};function T(e,t){var i;e&&(i=e.classList).add.apply(i,t.split(" "));}function R(e,t){e&&t.split(" ").forEach((function(t){e.classList.remove(t);}));}function D(e){return ".".concat(e.split(" ").join("."));}var V=Object.freeze({__proto__:null,getElementWindow:L,getElementDocument:z,getOptions:C,addClasses:T,removeClasses:R,classNamesToQuery:D}),H=L,j=z,B=C,_=T,q=R,P=D,X=function(){function e(t,i){void 0===i&&(i={});var s=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=H(s.el);s.scrollXTicking||(e.requestAnimationFrame(s.scrollX),s.scrollXTicking=!0),s.scrollYTicking||(e.requestAnimationFrame(s.scrollY),s.scrollYTicking=!0),s.isScrolling||(s.isScrolling=!0,_(s.el,s.classNames.scrolling)),s.showScrollbar("x"),s.showScrollbar("y"),s.onStopScrolling();},this.scrollX=function(){s.axis.x.isOverflowing&&s.positionScrollbar("x"),s.scrollXTicking=!1;},this.scrollY=function(){s.axis.y.isOverflowing&&s.positionScrollbar("y"),s.scrollYTicking=!1;},this._onStopScrolling=function(){q(s.el,s.classNames.scrolling),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isScrolling=!1;},this.onMouseEnter=function(){s.isMouseEntering||(_(s.el,s.classNames.mouseEntered),s.showScrollbar("x"),s.showScrollbar("y"),s.isMouseEntering=!0),s.onMouseEntered();},this._onMouseEntered=function(){q(s.el,s.classNames.mouseEntered),s.options.autoHide&&(s.hideScrollbar("x"),s.hideScrollbar("y")),s.isMouseEntering=!1;},this._onMouseMove=function(e){s.mouseX=e.clientX,s.mouseY=e.clientY,(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseMoveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseMoveForAxis("y");},this.onMouseLeave=function(){s.onMouseMove.cancel(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseLeaveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseLeaveForAxis("y"),s.mouseX=-1,s.mouseY=-1;},this._onWindowResize=function(){s.scrollbarWidth=s.getScrollbarWidth(),s.hideNativeScrollbar();},this.onPointerEvent=function(e){var t,i;s.axis.x.track.el&&s.axis.y.track.el&&s.axis.x.scrollbar.el&&s.axis.y.scrollbar.el&&(s.axis.x.track.rect=s.axis.x.track.el.getBoundingClientRect(),s.axis.y.track.rect=s.axis.y.track.el.getBoundingClientRect(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&(t=s.isWithinBounds(s.axis.x.track.rect)),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&(i=s.isWithinBounds(s.axis.y.track.rect)),(t||i)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(s.axis.x.scrollbar.rect=s.axis.x.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.x.scrollbar.rect)?s.onDragStart(e,"x"):s.onTrackClick(e,"x")),i&&(s.axis.y.scrollbar.rect=s.axis.y.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.y.scrollbar.rect)?s.onDragStart(e,"y"):s.onTrackClick(e,"y")))));},this.drag=function(t){var i,r,l,o,n,a,c,h,u,d,p;if(s.draggedAxis&&s.contentWrapperEl){var v=s.axis[s.draggedAxis].track,f=null!==(r=null===(i=v.rect)||void 0===i?void 0:i[s.axis[s.draggedAxis].sizeAttr])&&void 0!==r?r:0,m=s.axis[s.draggedAxis].scrollbar,b=null!==(o=null===(l=s.contentWrapperEl)||void 0===l?void 0:l[s.axis[s.draggedAxis].scrollSizeAttr])&&void 0!==o?o:0,g=parseInt(null!==(a=null===(n=s.elStyles)||void 0===n?void 0:n[s.axis[s.draggedAxis].sizeAttr])&&void 0!==a?a:"0px",10);t.preventDefault(),t.stopPropagation();var x=("y"===s.draggedAxis?t.pageY:t.pageX)-(null!==(h=null===(c=v.rect)||void 0===c?void 0:c[s.axis[s.draggedAxis].offsetAttr])&&void 0!==h?h:0)-s.axis[s.draggedAxis].dragOffset,y=(x="x"===s.draggedAxis&&s.isRtl?(null!==(d=null===(u=v.rect)||void 0===u?void 0:u[s.axis[s.draggedAxis].sizeAttr])&&void 0!==d?d:0)-m.size-x:x)/(f-m.size)*(b-g);"x"===s.draggedAxis&&s.isRtl&&(y=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-y:y),s.contentWrapperEl[s.axis[s.draggedAxis].scrollOffsetAttr]=y;}},this.onEndDrag=function(e){var t=j(s.el),i=H(s.el);e.preventDefault(),e.stopPropagation(),q(s.el,s.classNames.dragging),t.removeEventListener("mousemove",s.drag,!0),t.removeEventListener("mouseup",s.onEndDrag,!0),s.removePreventClickId=i.setTimeout((function(){t.removeEventListener("click",
6s.preventClick,!0),t.removeEventListener("dblclick",s.preventClick,!0),s.removePreventClickId=null;}));},this.preventClick=function(e){e.preventDefault(),e.stopPropagation();},this.el=t,this.options=k(k({},e.defaultOptions),i),this.classNames=k(k({},e.defaultOptions.classNames),i.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=function(e,t,i){var s=!0,r=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return m(i)&&(s="leading" in i?!!i.leading:s,r="trailing" in i?!!i.trailing:r),A(e,t,{leading:s,maxWait:t,trailing:r});}(this._onMouseMove,64),this.onWindowResize=A(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=A(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=A(this._onMouseEntered,this.stopScrollDelay),this.init();}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=t.firstElementChild,s=null==i?void 0:i.firstElementChild;if(!s)return null;document.body.appendChild(i),i.scrollLeft=0;var r=e.getOffset(i),l=e.getOffset(s);i.scrollLeft=-999;var o=e.getOffset(s);return document.body.removeChild(i),e.rtlHelpers={isScrollOriginAtZero:r.left!==l.left,isScrollingToNegative:l.left!==o.left},e.rtlHelpers;},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth" in document.documentElement.style||"-ms-overflow-style" in document.documentElement.style?0:N();}catch(e){return N();}},e.getOffset=function(e){var t=e.getBoundingClientRect(),i=j(e),s=H(e);return {top:t.top+(s.pageYOffset||i.documentElement.scrollTop),left:t.left+(s.pageXOffset||i.documentElement.scrollLeft)};},e.prototype.init=function(){t&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners());},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(P(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(P(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(P(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(P(this.classNames.offset)),this.maskEl=this.el.querySelector(P(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,P(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(P(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(P(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(P(this.classNames.track)).concat(P(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(P(this.classNames.track)).concat(P(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(P(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(P(this.classNames.scrollbar)))||null,this.options.autoHide||(_(this.axis.x.scrollbar.el,this.classNames.visible),_(this.axis.y.scrollbar.el,this.classNames.visible));},e.prototype.initListeners=function(){var e,t=this,i=H(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var s=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r((function(){s&&i.requestAnimationFrame((function(){t.recalculate();}));})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame((function(){s=!0;}));}this.mutationObserver=new i.MutationObserver((function(){i.requestAnimationFrame((function(){t.recalculate();}));})),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0}
vendor: 8,179 bytes, line 6
6);}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=H(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||t>0,r=this.contentWrapperEl.offsetWidth,l=this.elStyles.overflowX,o=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var n=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(t||a,"px"):"auto",this.placeholderEl.style.height="".concat(n,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&a>t,this.axis.y.isOverflowing=n>c,this.axis.x.isOverflowing="hidden"!==l&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==o&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,u=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>r-u,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&n>c-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y");}},e.prototype.getScrollbarSize=function(e){var t,i;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var s,r=this.contentEl[this.axis[e].scrollSizeAttr],l=null!==(i=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==i?i:0,o=l/r;return s=Math.max(~~(o*l),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(s=Math.min(s,this.options.scrollbarMaxSize)),s;},e.prototype.positionScrollbar=function(t){var i,s,r;void 0===t&&(t="y");var l=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&l.el&&this.elStyles){var o=this.contentWrapperEl[this.axis[t].scrollSizeAttr],n=(null===(i=this.axis[t].track.el)||void 0===i?void 0:i[this.axis[t].offsetSizeAttr])||0,a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null===(s=e.getRtlHelpers())||void 0===s?void 0:s.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollingToNegative)?c:-c);var h=c/(o-a),u=~~((n-l.size)*h);u="x"===t&&this.isRtl?-u+(n-l.size):u,l.el.style.transform="x"===t?"translate3d(".concat(u,"px, 0, 0)"):"translate3d(0, ".concat(u,"px, 0)");}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,i=this.axis[e].scrollbar.el;t&&i&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none");},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(_(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0);},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(q(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1);},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px");},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),_(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?_(t.scrollbar.el,this.classNames.hover):q(t.scrollbar.el,this.classNames.hover)):(q(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)));},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),q(this.axis[e].track.el,this.classNames.hover),q(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e);},e.prototype.onDragStart=function(e,t){var i;void 0===t&&(t="y");var s=j(this.el),r=H(this.el),l=this.axis[t].scrollbar,o="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=o-((null===(i=l.rect)||void 0===i?void 0:i[this.axis[t].offsetAttr])||0),this.draggedAxis=t,_(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null);},e.prototype.onTrackClick=function(e,t){var i,s,r,l,o=this;void 0===t&&(t="y");var n=this.axis[t];if(this.options.clickOnTrack&&n.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var a=H(this.el);this.axis[t].scrollbar.rect=n.scrollbar.el.getBoundingClientRect();var c=null!==(s=null===(i=this.axis[t].scrollbar.rect)||void 0===i?void 0:i[this.axis[t].offsetAttr])&&void 0!==s?s:0,h=parseInt(null!==(l=null===(r=this.elStyles)||void 0===r?void 0:r[this.axis[t].sizeAttr])&&void 0!==l?l:"0px",10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],d=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,p=-1===d?u-h:u+h,v=function(){o.contentWrapperEl&&(-1===d?u>p&&(u-=40,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=u,a.requestAnimationFrame(v)):u<p&&(u+=40,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=u,a.requestAnimationFrame(v)));};v();}},e.prototype.getContentElement=function(){return this.contentEl;},e.prototype.getScrollElement=function(){return this.contentWrapperEl;},e.prototype.removeListeners=function(){var e=H(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel();},e.prototype.unMount=function(){this.removeListeners();},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height;},e.prototype.findChild=function(e,t){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return i.call(e,t);}))[0];}
6,e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=B,e.helpers=V,e;}(),Y=X.helpers,F=Y.getOptions,I=Y.addClasses,$=function(t){function i(){for(var e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];var r=t.apply(this,e)||this;return i.instances.set(e[0],r),r;}return function(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function s(){this.constructor=t;}e(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s());}(i,t),i.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||i.instances.has(e)||new i(e,F(e.attributes));}));},i.removeObserver=function(){var e;null===(e=i.globalObserver)||void 0===e||e.disconnect();},i.prototype.initDOM=function(){var e,t,i,s=this;if(!Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(s.classNames.wrapper);})).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),I(this.wrapperEl,this.classNames.wrapper),I(this.contentWrapperEl,this.classNames.contentWrapper),I(this.offsetEl,this.classNames.offset),I(this.maskEl,this.classNames.mask),I(this.contentEl,this.classNames.contentEl),I(this.placeholderEl,this.classNames.placeholder),I(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),I(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex","0"),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(i=this.contentWrapperEl)||void 0===i||i.setAttribute("aria-label",this.options.ariaLabel);}if(!this.axis.x.track.el||!this.axis.y.track.el){var r=document.createElement("div"),l=document.createElement("div");I(r,this.classNames.track),I(l,this.classNames.scrollbar),r.appendChild(l),this.axis.x.track.el=r.cloneNode(!0),I(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=r.cloneNode(!0),I(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el);}X.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init");},i.prototype.unMount=function(){X.prototype.unMount.call(this),i.instances.delete(this.el);},i.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(i.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements));},i.handleMutations=function(e){e.forEach((function(e){e.addedNodes.forEac
6h((function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!i.instances.has(e)&&document.documentElement.contains(e)&&new i(e,F(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach((function(e){"init"!==e.getAttribute("data-simplebar")&&!i.instances.has(e)&&document.documentElement.contains(e)&&new i(e,F(e.attributes));})));})),e.removedNodes.forEach((function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?i.instances.has(e)&&!document.documentElement.contains(e)&&i.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){i.instances.has(e)&&!document.documentElement.contains(e)&&i.instances.get(e).unMount();})));}));}));},i.instances=new WeakMap(),i;}(X);return t&&$.initHtmlApi(),$;}();;
7!function(t,o,i){function e(o){const e=t(o),c=t(".block-views-blockarticle-home-premium-promo,.block-views-blockarticle-home-free-promoted").find(".view-content"),n=e.find(".view-content");c&&(console.log(c),o=c.first().innerHeight(),console.log(o),n.css("height",o+"px")),e.find(".content").show(),new i(n[0],{autoHide:!1});}function c(o){o=t(o);new i(o[0],{autoHide:!1});}o.behaviors.scrollbar={attach(o){once("scrollbar-news",".block-views-blockarticles-most-recent-articles",o).forEach(e),once("scrollbar",".block-views-blockchat-comments-auto-refresh-block ",o).forEac
vendor: 4,981 bytes, lines 7-8
7h(c);}};}(jQuery,Drupal,SimpleBar);;
8(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r);}function o(){return i.innerHeight?i.innerHeight:t(i).height();}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e];},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i;};}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i;}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10));}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e);}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e;}function d(t){"contains" in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus());}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t);}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e;}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el);}function u(i){t(e).trigger(i),ae.triggerHandler(i);}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0);})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus();});}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w();}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M));}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this));}return x?(V||(V=!0,K.click(function(){J.next();}),P.click(function(){J.prev();}),B.click(function(){J.close();}),v.click(function(){_.get("overlayClose")&&J.close();}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()));}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1;}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show();},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c);}),h(c);}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")));}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>
81&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e;},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next();})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q);},1);}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents());});}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel;},href:function(){return t(this).attr("href");},title:function(){return this.title;},createImg:function(){var e=new Image(),i=t(this).data("cbox-img-attrs");return "object"==typeof i&&t.each(i,function(t,i){e[t]=i;}),e;},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return "object"==typeof n&&t.each(n,function(t,e){i[t]=e;}),"frameBorder" in i&&(i.frameBorder=0),"allowTransparency" in i&&(i.allowTransparency="true"),i.name=(new Date()).getTime(),i.allowFullscreen=!0,i;}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h);}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")));}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on");}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i();}),x.removeClass(a+"on").addClass(a+"off");}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on");}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show());};}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e));}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o;},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px";}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0;}),e=g;}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position);},1),t.isFunction(i)&&i();},step:n});},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}
8),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")));},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w;}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h;}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter");}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete");},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h);})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank";}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i());},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d);}):J.position(g,d);}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]));},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]));},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed");},1);}));},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z));},J.element=function(){return t(_.el);},J.settings=X);})(jQuery,document,window);;
9((Drupal,$)=>{Drupal.behaviors.colorbox={attach(context){once('colorbox','a.colorbox',context).forEach(function(el){$(el).colorbox({width:"80%",slideshow:false,title:false,closeButton:true});});}};})(Drupal,jQuery);;
10((Drupal,drupalSettings)=>{Drupal.extlink=Drupal.extlink||{};Drupal.extlink.attach=(context,drupalSettings)=>{if(typeof drupalSettings.data==='undefined'||!drupalSettings.data.hasOwnProperty('extlink'))return;let extIconPlacement='append';if(drupalSettings.data.extlink.extIconPlacement&&drupalSettings.data.extlink.extIconPlacement!=='0')extIconPlacement=drupalSettings.data.extlink.extIconPlacement;const pattern=/^(([^:]+?\.)*)([^.:]+)((\.[a-z0-9]{1,253})*)(:[0-9]{1,5})?$/;const host=window.location.host.replace(pattern,'$2$3$6');const subdomain=window.location.host.replace(host,'');let subdomains;if(drupalSettings.data.extlink.extSubdomains)subdomains='([^/]*\\.)?';else if(subdomain==='www.'||subdomain==='')subdomains='(www\\.)?';else subdomains=subdomain.replace('.','\\.');let whitelistedDomains=false;if(drupalSettings.data.extlink.whitelistedDomains){whitelistedDomains=[];for(let i=0;i<drupalSettings.data.extlink.whitelistedDomains.length;i++)whitelistedDomains.push(new RegExp(`^https?:\\/\\/${drupalSettings.data.extlink.whitelistedDomains[i].replace(/(\r\n|\n|\r)/gm,'')}.*$`,'i'));}const internalLink=new RegExp(`^https?://([^@]*@)?${subdomains}${host}`,'i');let extInclude=false;if(drupalSettings.data.extlink.extInclude)extInclude=new RegExp(drupalSettings.data.extlink.extInclude.replace(/\\/,'\\'),'i');let extExclude=false;if(drupalSettings.data.extlink.extExclude)extExclude=new RegExp(drupalSettings.data.extlink.extExclude.replace(/\\/,'\\'),'i');let extExcludeNoreferrer=false;
10if(drupalSettings.data.extlink.extExcludeNoreferrer)extExcludeNoreferrer=new RegExp(drupalSettings.data.extlink.extExcludeNoreferrer.replace(/\\/,'\\'),'i');let extCssExclude=false;if(drupalSettings.data.extlink.extCssExclude)extCssExclude=drupalSettings.data.extlink.extCssExclude;let extCssInclude=false;if(drupalSettings.data.extlink.extCssInclude)extCssInclude=drupalSettings.data.extlink.extCssInclude;let extCssExplicit=false;if(drupalSettings.data.extlink.extCssExplicit)extCssExplicit=drupalSettings.data.extlink.extCssExplicit;const externalLinks=[];const mailtoLinks=[];const telLinks=[];const extlinks=context.querySelectorAll('a:not([data-extlink]), area:not([data-extlink])');extlinks.forEach((el)=>{try{let url='';if(typeof el.href==='string')url=el.href.toLowerCase();else{if(typeof el.href==='object')url=el.href.baseVal;}const isExtCssIncluded=extCssInclude&&(el.matches(extCssInclude)||el.closest(extCssInclude));if(url.indexOf('http')===0&&((!internalLink.test(url)&&!(extExclude&&extExclude.test(url)))||(extInclude&&extInclude.test(url))||isExtCssIncluded)&&!(extCssExclude&&el.matches(extCssExclude))&&!(extCssExclude&&el.closest(extCssExclude))&&!(extCssExplicit&&!el.closest(extCssExplicit))){let match=false;if(!isExtCssIncluded&&whitelistedDomains){for(let i=0;i<whitelistedDomains.length;i++)if(whitelistedDomains[i].test(url)){match=true;break;}}if(!match)externalLinks.push(el);}else{if(el.tagName!=='AREA'&&!(extCssExclude&&el.closest(extCssExclude))&&!(extCssExplicit&&!el.closest(extCssExplicit)))if(url.indexOf('mailto:')===0)mailtoLinks.push(el);else{if(url.indexOf('tel:')===0)telLinks.push(el);}}}catch(error){return false;}});const hasExtIcon=drupalSettings.data.extlink.extClass!=='0'&&drupalSettings.data.extlink.extClass!=='';const hasAdditionalExtClasses=drupalSettings.data.extlink.extAdditionalLinkClasses!=='';Drupal.extlink.applyClassAndSpan(externalLinks,'ext',hasExtIcon?extIconPlacement:null);if(hasAdditionalExtClasses)Drupal.extlink.applyClassAndSpan(externalLinks,drupalSettings.data.extlink.extAdditionalLinkClasses,null);const hasMailtoClass=drupalSettings.data.extlink.mailtoClass!=='0'&&drupalSettings.data.extlink.mailtoClass!=='';const hasAdditionalMailtoClasses=drupalSettings.data.extlink.extAdditionalMailtoClasses!=='';if(hasMailtoClass)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.mailtoClass,extIconPlacement);if(hasAdditionalMailtoClasses)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.extAdditionalMailtoClasses,null);const hasTelClass=drupalSettings.data.extlink.telClass!=='0'&&drupalSettings.data.extlink.telClass!=='';const hasAdditionalTelClasses=drupalSettings.data.extlink.extAdditionalTelClasses!=='0'&&drupalSettings.data.extlink.extAdditionalTelClasses!=='';if(hasTelClass)Drupal.extlink.applyClassAndSpan(telLinks,drupalSettings.data.extlink.telClass,extIconPlacement);if(hasAdditionalTelClasses)Drupal.extlink.applyClassAndSpan(mailtoLinks,drupalSettings.data.extlink.extAdditionalTelClasses,null);if(drupalSettings.data.extlink.extTarget){externalLinks.forEach((link,i)=>{if(!(drupalSettings.data.extlink.extTargetNoOverride&&link.matches('a[target]')))externalLinks[i].setAttribute('target','_blank');});externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noopener');return;}if(val.indexOf('noopener')>-1)if(val.indexOf('noopener')===-1)externalLinks[i].setAttribute('rel',`${val} noopener`);else{}else externalLinks[i].setAttribute('rel',`${val} noopener`);});}if(drupalSettings.data.extlink.extNofollow)externalLinks.forEach((link,i)=>{const val=link.getAttribute('rel');if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','nofollow');return;}let target='nofollow';if(drupalSettings.data.extlink.extFollowNoOverride)target='follow';if(val.indexOf(target)===-1)externalLinks[i].setAttribute('rel',`${val} nofollow`);});if(drupalSettings.data.extlink.extNoreferrer)externalLinks.forEach((link,i)=>{if(drupalSettings.data.extlink.extExcludeNoreferrer&&extExcludeNoreferrer.test(link.getAttribute('href')))return;const val=link.getAttribute('rel');
10if(val===null||typeof val==='undefined'){externalLinks[i].setAttribute('rel','noreferrer');return;}externalLinks[i].setAttribute('rel',`${val} noreferrer`);});externalLinks.forEach((link,i)=>{const oldTitle=link.getAttribute('title');let newTitle=drupalSettings.data.extlink.extTargetAppendNewWindowLabel;if(oldTitle!==null){if(Drupal.extlink.hasNewWindowText(oldTitle))return;newTitle=Drupal.extlink.combineLabels(oldTitle,newTitle);}externalLinks[i].setAttribute('title',newTitle);});Drupal.extlink=Drupal.extlink||{};Drupal.extlink.popupClickHandler=Drupal.extlink.popupClickHandler||(()=>{if(drupalSettings.data.extlink.extAlert)return confirm(drupalSettings.data.extlink.extAlertText);});const _that=this;Drupal.extlink.handleClick=function(event){const shouldNavigate=Drupal.extlink.popupClickHandler.call(_that);if(typeof shouldNavigate!=='undefined'&&!shouldNavigate)event.preventDefault();};externalLinks.forEach((val,i)=>{externalLinks[i].removeEventListener('click',Drupal.extlink.handleClick);externalLinks[i].addEventListener('click',Drupal.extlink.handleClick);});};Drupal.extlink.hasNewWindowText=function(label){return label.toLowerCase().indexOf(Drupal.t('new window'))!==-1;};Drupal.extlink.combineLabels=function(labelA,labelB){labelA=labelA||'';labelB=labelB||'';const labelANoParens=labelA.trim().replace('(','').replace(')','');const labelBNoParens=labelB.trim().replace('(','').replace(')','');if(labelA===labelANoParens){if(labelB===labelBNoParens)return `${labelA}, ${labelB}`;return `${labelA} ${labelB}`;}if(labelB===labelBNoParens)return `${labelB} ${labelA}`;return `(${labelANoParens}, ${labelBNoParens})`;};Drupal.extlink.applyClassAndSpan=(links,className,iconPlacement)=>{let linksToProcess;if(drupalSettings.data.extlink.extImgClass)linksToProcess=links;else linksToProcess=links.filter((link)=>{return link.querySelector('img, svg')===null;});for(let i=0;i<linksToProcess.length;i++){if(className!=='0')linksToProcess[i].classList.add(className);if(className===drupalSettings.data.extlink.mailtoClass&&drupalSettings.data.extlink.extAdditionalMailtoClasses)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalMailtoClasses);else if(className===drupalSettings.data.extlink.telClass&&drupalSettings.data.extlink.extAdditionalTelClasses)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalTelClasses);else{if(drupalSettings.data.extlink.extAdditionalLinkClasses)linksToProcess[i].classList.add(drupalSettings.data.extlink.extAdditionalLinkClasses);}linksToProcess[i].setAttribute('data-extlink','');if(iconPlacement){let link=linksToProcess[i];if(iconPlacement==='append'){let lastTextNode=link.lastChild;let trailingWhitespace=null;let parentNode=link;while(lastTextNode)if(lastTextNode.lastChild){parentNode=lastTextNode;lastTextNode=lastTextNode.lastChild;}else if(lastTextNode.nodeName==='#text'&&parentNode.lastElementChild&&lastTextNode.textContent.trim().length===0){trailingWhitespace=lastTextNode;parentNode=parentNode.lastElementChild;lastTextNode=parentNode.lastChild;}else break;if(lastTextNode&&lastTextNode.nodeName==='#text'&&lastTextNode.textContent.length>0){const lastText=lastTextNode.textContent;const lastWordRegex=new RegExp(/\S+\s*$/,'g');const lastWord=lastText.match(lastWordRegex);if(lastWord!==null){const breakPreventer=document.createElement('span');breakPreventer.classList.add('extlink-nobreak');breakPreventer.textContent=lastWord[0];if(trailingWhitespace){breakPreventer.append(trailingWhitespace.textContent);trailingWhitespace.textContent='';}lastTextNode.textContent=lastText.substring(0,lastText.length-lastWord[0].length);lastTextNode.parentNode.append(breakPreventer);link=breakPreventer;}}}let iconElement;if(drupalSettings.data.extlink.extUseFontAwesome){iconElement=document.createElement('span');iconElement.setAttribute('class',`fa-${className} extlink`);if(className===drupalSettings.data.extlink.mailtoClass){if(drupalSettings.data.extlink.mailtoLabel)link.ariaLabel=drupalSettings.data.extlink.mailtoLabel;iconElement.innerHTML=`<span class="${drupalSettings.data.extlink.extFaMailtoClasse
10s}" data-extlink-placement="${iconPlacement}"></span>`;}else if(className===drupalSettings.data.extlink.extClass){if(drupalSettings.data.extlink.extLabel)link.ariaLabel=drupalSettings.data.extlink.extLabel;iconElement.innerHTML=`<span class="${drupalSettings.data.extlink.extFaLinkClasses}" data-extlink-placement="${iconPlacement}"></span>`;}else{if(className===drupalSettings.data.extlink.telClass){if(drupalSettings.data.extlink.telLabel)link.ariaLabel=drupalSettings.data.extlink.telLabel;iconElement.innerHTML=`<span class="${drupalSettings.data.extlink.extFaTelClasses}" data-extlink-placement="${iconPlacement}"></span>`;}}}else{iconElement=document.createElementNS('http://www.w3.org/2000/svg','svg');iconElement.setAttribute('focusable','false');iconElement.classList.add(className);iconElement.setAttribute('data-extlink-placement',iconPlacement);if(className===drupalSettings.data.extlink.mailtoClass){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.mailtoLabel);iconElement.setAttribute('viewBox','0 10 70 20');iconElement.innerHTML=`<metadata><sfw xmlns="http://ns.adobe.com/SaveForWeb/1.0/"><sliceSourceBounds y="-8160" x="-8165" width="16389" height="16384" bottomLeftOrigin="true"/><optimizationSettings><targetSettings targetSettingsID="0" fileFormat="PNG24Format"><PNG24Format transparency="true" filtered="false" interlaced="false" noMatteColor="false" matteColor="#FFFFFF"/></targetSettings></optimizationSettings></sfw></metadata><title>${drupalSettings.data.extlink.mailtoLabel}</title><path d="M56 14H8c-1.1 0-2 0.9-2 2v32c0 1.1 0.9 2 2 2h48c1.1 0 2-0.9 2-2V16C58 14.9 57.1 14 56 14zM50.5 18L32 33.4 13.5 18H50.5zM10 46V20.3l20.7 17.3C31.1 37.8 31.5 38 32 38s0.9-0.2 1.3-0.5L54 20.3V46H10z"/>`;}else if(className===drupalSettings.data.extlink.extClass){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.extLabel);iconElement.setAttribute('viewBox','0 0 80 40');iconElement.innerHTML=`<metadata><sfw xmlns="http://ns.adobe.com/SaveForWeb/1.0/"><sliceSourceBounds y="-8160" x="-8165" width="16389" height="16384" bottomLeftOrigin="true"/><optimizationSettings><targetSettings targetSettingsID="0" fileFormat="PNG24Format"><PNG24Format transparency="true" filtered="false" interlaced="false" noMatteColor="false" matteColor="#FFFFFF"/></targetSettings></optimizationSettings></sfw></metadata><title>${drupalSettings.data.extlink.extLabel}</title><path d="M48 26c-1.1 0-2 0.9-2 2v26H10V18h26c1.1 0 2-0.9 2-2s-0.9-2-2-2H8c-1.1 0-2 0.9-2 2v40c0 1.1 0.9 2 2 2h40c1.1 0 2-0.9 2-2V28C50 26.9 49.1 26 48 26z"/><path d="M56 6H44c-1.1 0-2 0.9-2 2s0.9 2 2 2h7.2L30.6 30.6c-0.8 0.8-0.8 2 0 2.8C31 33.8 31.5 34 32 34s1-0.2 1.4-0.6L54 12.8V20c0 1.1 0.9 2 2 2s2-0.9 2-2V8C58 6.9 57.1 6 56 6z"/>`;}else{if(className===drupalSettings.data.extlink.telClass){iconElement.setAttribute('aria-label',drupalSettings.data.extlink.telLabel);iconElement.setAttribute('viewBox','0 0 181.352 181.352');iconElement.innerHTML=`<metadata><sfw xmlns="http://ns.adobe.com/SaveForWeb/1.0/"><sliceSourceBounds y="-8160" x="-8165" width="16389" height="16384" bottomLeftOrigin="true"/><optimizationSettings><targetSettings targetSettingsID="0" fileFormat="PNG24Format"><PNG24Format transparency="true" filtered="false" interlaced="false" noMatteColor="false" matteColor="#FFFFFF"/></targetSettings></optimizationSettings></sfw></metadata><title>${drupalSettings.data.extlink.telLabel}</title><path xmlns="http://www.w3.org/2000/svg"  d="M169.393,167.37l-14.919,9.848c-9.604,6.614-50.531,14.049-106.211-53.404     C-5.415,58.873,9.934,22.86,17.134,14.555L29.523,1.678c2.921-2.491,7.328-2.198,9.839,0.811l32.583,38.543l0.02,0.02     c2.384,2.824,2.306,7.22-0.83,9.868v0.029l-14.44,10.415c-5.716,5.667-0.733,14.587,5.11,23.204l27.786,32.808     c12.926,12.477,20.009,18.241,26.194,14.118l12.008-13.395c2.941-2.472,7.328-2.169,9.839,0.821l32.603,38.543v0.02     C172.607,160.316,172.519,164.703,169.393,167.37z"/>`;}}}iconElement.setAttribute('role','img');iconElement.setAttribute('aria-hidden',drupalSettings.data.extlink.extHideIcons);link[iconPlacement](iconElement);}}};Drupal.behaviors.extlink=Drupal.behaviors.extlink||{};Drupal.behaviors.extlink.attach=(context,drupalSettings)=>{if(typeof extlinkAttach==='function')extlinkAttach(context);else Drupal.extlink.attach(context,drupalSettings);};})(Drupal,drupalSettings);;

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.