/* Wowchemy v4.8.0 | https://wowchemy.com/ */ ; /*! * Bootstrap v4.5.0 (https://getbootstrap.com/) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery")):typeof define=="function"&&define.amd?define(["exports","jquery"],t):(e=e||self,t(e.bootstrap={},e.jQuery))})(this,function(e,t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;function Oo(e,t){for(var n,s=0;s=r)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}},n.jQueryDetection(),Ji(),$="alert",fn="4.5.0",fe="bs.alert",Le="."+fe,yn=".data-api",_n=t.fn[$],En='[data-dismiss="alert"]',kn="close"+Le,Sn="closed"+Le,ki="click"+Le+yn,Ei="alert",xi="fade",Oi="show",S=function(){function e(e){this._element=e}var s=e.prototype;return s.close=function(t){var s,n=this._element;if(t&&(n=this._getRootElement(t)),s=this._triggerCloseEvent(n),s.isDefaultPrevented())return;this._removeElement(n)},s.dispose=function(){t.removeData(this._element,fe),this._element=null},s._getRootElement=function(s){var i=n.getSelectorFromElement(s),o=!1;return i&&(o=document.querySelector(i)),o||(o=t(s).closest("."+Ei)[0]),o},s._triggerCloseEvent=function(n){var s=t.Event(kn);return t(n).trigger(s),s},s._removeElement=function(s){var o,i=this;if(t(s).removeClass(Oi),!t(s).hasClass(xi)){this._destroyElement(s);return}o=n.getTransitionDurationFromElement(s),t(s).one(n.TRANSITION_END,function(e){return i._destroyElement(s,e)}).emulateTransitionEnd(o)},s._destroyElement=function(n){t(n).detach().trigger(Sn).remove()},e._jQueryInterface=function(s){return this.each(function(){var o=t(this),n=o.data(fe);n||(n=new e(this),o.data(fe,n)),s==="close"&&n[s](this)})},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},d(e,null,[{key:"VERSION",get:function(){return fn}}]),e}(),t(document).on(ki,En,S._handleDismiss(new S)),t.fn[$]=S._jQueryInterface,t.fn[$].Constructor=S,t.fn[$].noConflict=function(){return t.fn[$]=_n,S._jQueryInterface},K="button",wi="4.5.0",ye="bs.button",xe="."+ye,Ce=".data-api",vi=t.fn[K],u="active",pi="btn",fi="focus",ut='[data-toggle^="button"]',hi='[data-toggle="buttons"]',ai='[data-toggle="button"]',si='[data-toggle="buttons"] .btn',Be='input:not([type="hidden"])',ni=".active",st=".btn",ei="click"+xe+Ce,Jo="focus"+xe+Ce+" "+("blur"+xe+Ce),Wo="load"+xe+Ce,G=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var n,o,s=!0,i=!0,a=t(this._element).closest(hi)[0];a&&(n=this._element.querySelector(Be),n&&(n.type==="radio"&&(n.checked&&this._element.classList.contains(u)?s=!1:(o=a.querySelector(ni),o&&t(o).removeClass(u))),s&&((n.type==="checkbox"||n.type==="radio")&&(n.checked=!this._element.classList.contains(u)),t(n).trigger("change")),n.focus(),i=!1)),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(u)),s&&t(this._element).toggleClass(u))},n.dispose=function(){t.removeData(this._element,ye),this._element=null},e._jQueryInterface=function(s){return this.each(function(){var n=t(this).data(ye);n||(n=new e(this),t(this).data(ye,n)),s==="toggle"&&n[s]()})},d(e,null,[{key:"VERSION",get:function(){return wi}}]),e}(),t(document).on(ei,ut,function(e){var s,n=e.target,o=n;if(t(n).hasClass(pi)||(n=t(n).closest(st)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))e.preventDefault();else{if(s=n.querySelector(Be),s&&(s.hasAttribute("disabled")||s.classList.contains("disabled"))){e.preventDefault();return}o.tagName==="LABEL"&&s&&s.type==="checkbox"&&e.preventDefault(),G._jQueryInterface.call(t(n),"toggle")}}).on(Jo,ut,function(e){var n=t(e.target).closest(st)[0];t(n).toggleClass(fi,/^focus(in)?$/.test(e.type))}),t(window).on(Wo,function(){for(var t,n,s,i,a,e=[].slice.call(document.querySelectorAll(si)),o=0,r=e.length;o0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=i.prototype;return e.next=function(){this._isSliding||this._slide(ce)},e.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},e.prev=function(){this._isSliding||this._slide(le)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Ss)&&(n.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(n){var s,o,i=this;if(this._activeElement=this._element.querySelector(De),s=this._getItemIndex(this._activeElement),n>this._items.length-1||n<0)return;if(this._isSliding){t(this._element).one(Ge,function(){return i.to(n)});return}if(s===n){this.pause(),this.cycle();return}o=n>s?ce:le,this._slide(o,this._items[n])},e.dispose=function(){t(this._element).off(o),t.removeData(this._element,Z),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=s(s({},Ke),t),n.typeCheckConfig(k,t,Fo),t},e._handleSwipe=function(){var t,n=Math.abs(this.touchDeltaX);if(n<=Do)return;t=n/this.touchDeltaX,this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()},e._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(_o,function(e){return n._keydown(e)}),this._config.pause==="hover"&&t(this._element).on(jo,function(e){return n.pause(e)}).on(bo,function(e){return n.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var s,o,i,n=this;if(!this._touchSupported)return;s=function(t){n._pointerEvent&&ot[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?n.touchDeltaX=0:n.touchDeltaX=t.originalEvent.touches[0].clientX-n.touchStartX},o=function(t){n._pointerEvent&&ot[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},No+n._config.interval))},t(this._element.querySelectorAll(Ms)).on(Js,function(e){return e.preventDefault()}),this._pointerEvent?(t(this._element).on(io,function(e){return s(e)}),t(this._element).on(eo,function(e){return o(e)}),this._element.classList.add(Ps)):(t(this._element).on(go,function(e){return s(e)}),t(this._element).on(ro,function(e){return i(e)}),t(this._element).on(ao,function(e){return o(e)}))},e._keydown=function(t){if(/input|textarea/i.test(t.target.tagName))return;switch(t.which){case Ho:t.preventDefault(),this.prev();break;case Po:t.preventDefault(),this.next();break}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(zs)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,n){var o,i,a=t===ce,r=t===le,s=this._getItemIndex(n),c=this._items.length-1,l=r&&s===0||a&&s===c;return l&&!this._config.wrap?n:(i=t===le?-1:1,o=(s+i)%this._items.length,o===-1?this._items[this._items.length-1]:this._items[o])},e._triggerSlideEvent=function(n,s){var i=this._getItemIndex(n),a=this._getItemIndex(this._element.querySelector(De)),o=t.Event(ko,{relatedTarget:n,direction:s,from:a,to:i});return t(this._element).trigger(o),o},e._setActiveIndicatorElement=function(n){if(this._indicatorsElement){var s,o=[].slice.call(this._indicatorsElement.querySelectorAll(Ds));t(o).removeClass(p),s=this._indicatorsElement.children[this._getItemIndex(n)],s&&t(s).addClass(p)}},e._slide=function(s,o){var r,c,l,d,u,f,g,m=this,a=this._element.querySelector(De),v=this._getItemIndex(a),i=o||a&&this._getItemByDirection(s,a),b=this._getItemIndex(i),h=Boolean(this._interval);if(s===ce?(r=Vs,c=Bs,l=Mo):(r=$s,c=Hs,l=Ao),i&&t(i).hasClass(p)){this._isSliding=!1;return}if(f=this._triggerSlideEvent(i,l),f.isDefaultPrevented())return;if(!a||!i)return;this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(i),d=t.Event(Ge,{relatedTarget:i,direction:l,from:v,to:b}),t(this._element).hasClass(Ws)?(t(i).addClass(c),n.reflow(i),t(a).addClass(r),t(i).addClass(r),u=parseInt(i.getAttribute("data-interval"),10),u?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=u):this._config.interval=this._config.defaultInterval||this._config.interval,g=n.getTransitionDurationFromElement(a),t(a).one(n.TRANSITION_END,function(){t(i).removeClass(r+" "+c).addClass(p),t(a).removeClass(p+" "+c+" "+r),m._isSliding=!1,setTimeout(function(){return t(m._element).trigger(d)},0)}).emulateTransitionEnd(g)):(t(a).removeClass(p),t(i).addClass(p),this._isSliding=!1,t(this._element).trigger(d)),h&&this.cycle()},i._jQueryInterface=function(n){return this.each(function(){var a,e=t(this).data(Z),o=s(s({},Ke),t(this).data());if(typeof n=="object"&&(o=s(s({},o),n)),a=typeof n=="string"?n:o.slide,e||(e=new i(this,o),t(this).data(Z,e)),typeof n=="number")e.to(n);else if(typeof a=="string"){if(typeof e[a]=="undefined")throw new TypeError('No method named "'+a+'"');e[a]()}else o.interval&&o.ride&&(e.pause(),e.cycle())})},i._dataApiClickHandler=function(o){var a,r,c,l=n.getSelectorFromElement(this);if(!l)return;if(a=t(l)[0],!a||!t(a).hasClass(Ks))return;c=s(s({},t(a).data()),t(this).data()),r=this.getAttribute("data-slide-to"),r&&(c.interval=!1),i._jQueryInterface.call(t(a),c),r&&t(a).data(Z).to(r),o.preventDefault()},d(i,null,[{key:"VERSION",get:function(){return Vo}},{key:"Default",get:function(){return Ke}}]),i}(),t(document).on(Qs,Es,M._dataApiClickHandler),t(window).on(Zs,function(){for(var n,s=[].slice.call(document.querySelectorAll(ps)),e=0,o=s.length;e0&&(this._selector=s,this._triggerArray.push(i));this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=o.prototype;return e.toggle=function(){t(this._element).hasClass(v)?this.hide():this.show()},e.show=function(){var s,a,r,c,l,d,u,h,i=this;if(this._isTransitioning||t(this._element).hasClass(v))return;if(this._parent&&(s=[].slice.call(this._parent.querySelectorAll(Kn)).filter(function(e){return typeof i._config.parent=="string"?e.getAttribute("data-parent")===i._config.parent:e.classList.contains(U)}),s.length===0&&(s=null)),s&&(r=t(s).not(this._selector).data(j),r&&r._isTransitioning))return;if(c=t.Event(ss),t(this._element).trigger(c),c.isDefaultPrevented())return;s&&(o._jQueryInterface.call(t(s).not(this._selector),"hide"),r||t(s).data(j,null)),a=this._getDimension(),t(this._element).removeClass(U).addClass(ve),this._element.style[a]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(ke).attr("aria-expanded",!0),this.setTransitioning(!0),l=function(){t(i._element).removeClass(ve).addClass(U+" "+v),i._element.style[a]="",i.setTransitioning(!1),t(i._element).trigger(ns)},d=a[0].toUpperCase()+a.slice(1),u="scroll"+d,h=n.getTransitionDurationFromElement(this._element),t(this._element).one(n.TRANSITION_END,l).emulateTransitionEnd(h),this._element.style[a]=this._element[u]+"px"},e.hide=function(){var s,o,i,a,r,c,d,u,h,l=this;if(this._isTransitioning||!t(this._element).hasClass(v))return;if(i=t.Event(Zn),t(this._element).trigger(i),i.isDefaultPrevented())return;if(s=this._getDimension(),this._element.style[s]=this._element.getBoundingClientRect()[s]+"px",n.reflow(this._element),t(this._element).addClass(ve).removeClass(U+" "+v),a=this._triggerArray.length,a>0)for(o=0;o=0)return 1;return 0}();function qi(e){var t=!1;return function(){if(t)return;t=!0,window.Promise.resolve().then(function(){t=!1,e()})}}function Mi(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Un))}}Bn=D&&window.Promise,In=Bn?qi:Mi;function Pn(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function C(e,t){if(e.nodeType!==1)return[];var s=e.ownerDocument.defaultView,n=s.getComputedStyle(e,null);return t?n[t]:n}function jt(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function ae(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=C(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+s)?e:ae(jt(e))}function Rn(e){return e&&e.referenceNode?e.referenceNode:e}wt=D&&!!(window.MSInputMethodContext&&document.documentMode),Ot=D&&/MSIE 10/.test(navigator.userAgent);function oe(e){return e===11?wt:e===10?Ot:wt||Ot}function Q(e){if(!e)return document.documentElement;for(var n,s=oe(10)?document.body:null,t=e.offsetParent||null;t===s&&e.nextElementSibling;)t=(e=e.nextElementSibling).offsetParent;return n=t&&t.nodeName,!n||n==="BODY"||n==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(t.nodeName)!==-1&&C(t,"position")==="static"?Q(t):t}function Ii(e){var t=e.nodeName;return t!=="BODY"&&(t==="HTML"||Q(e.firstElementChild)===e)}function kt(e){return e.parentNode!==null?kt(e.parentNode):e}function Te(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n,o,i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=i?e:t,r=i?t:e,s=document.createRange();return s.setStart(a,0),s.setEnd(r,0),n=s.commonAncestorContainer,e!==n&&t!==n||a.contains(r)?Ii(n)?n:Q(n):(o=kt(e),o.host?Te(o.host,t):Te(e,kt(t).host))}function H(e){var s,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",t=i==="top"?"scrollTop":"scrollLeft",n=e.nodeName;return n==="BODY"||n==="HTML"?(s=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||s,o[t]):e[t]}function Bi(e,t){var i=arguments.length>2&&arguments[2]!==void 0&&arguments[2],s=H(t,"top"),o=H(t,"left"),n=i?-1:1;return e.top+=s*n,e.bottom+=s*n,e.left+=o*n,e.right+=o*n,e}function wn(e,t){var n=t==="x"?"Left":"Top",s=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+s+"Width"],10)}function hn(e,t,n,s){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],oe(10)?parseInt(n["offset"+e])+parseInt(s["margin"+(e==="Height"?"Top":"Left")])+parseInt(s["margin"+(e==="Height"?"Bottom":"Right")]):0)}function un(e){var n=e.body,t=e.documentElement,s=oe(10)&&getComputedStyle(t);return{height:hn("Height",n,t,s),width:hn("Width",n,t,s)}}nn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Qt=function(){function e(e,t){for(var n,s=0;s2&&arguments[2]!==void 0&&arguments[2],h=oe(10),m=t.nodeName==="HTML",o=Ht(e),s=Ht(t),c=ae(e),i=C(t),l=parseFloat(i.borderTopWidth,10),d=parseFloat(i.borderLeftWidth,10);return u&&m&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0)),n=y({top:o.top-s.top-l,left:o.left-s.left-d,width:o.width,height:o.height}),n.marginTop=0,n.marginLeft=0,!h&&m&&(a=parseFloat(i.marginTop,10),r=parseFloat(i.marginLeft,10),n.top-=l-a,n.bottom-=l-a,n.left-=d-r,n.right-=d-r,n.marginTop=a,n.marginLeft=r),(h&&!u?t.contains(c):t===c&&c.nodeName!=="BODY")&&(n=Bi(n,t)),n}function la(e){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=e.ownerDocument.documentElement,n=It(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),i=Math.max(t.clientHeight,window.innerHeight||0),a=s?0:H(t),r=s?0:H(t,"left"),c={top:a-n.top+n.marginTop,left:r-n.left+n.marginLeft,width:o,height:i};return y(c)}function Wt(e){var t,n=e.nodeName;return n!=="BODY"&&n!=="HTML"&&(C(e,"position")==="fixed"||(t=jt(e),!!t&&Wt(t)))}function to(e){if(!e||!e.parentElement||oe())return document.documentElement;for(var t=e.parentElement;t&&C(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function it(e,t,n,s){if(c=arguments.length>4&&arguments[4]!==void 0&&arguments[4],o={top:0,left:0},l=c?to(e):Te(e,Rn(t)),s==="viewport")o=la(l,c);else if(i=void 0,s==="scrollParent"?(i=ae(jt(t)),i.nodeName==="BODY"&&(i=e.ownerDocument.documentElement)):s==="window"?i=e.ownerDocument.documentElement:i=s,a=It(i,l,c),i.nodeName==="HTML"&&!Wt(l)){var o,i,a,r,c,l,d=un(e.ownerDocument),u=d.height,h=d.width;o.top+=a.top-a.marginTop,o.bottom=u+a.top,o.left+=a.left-a.marginLeft,o.right=h+a.left}else o=a;return n=n||0,r=typeof n=="number",o.left+=r?n:n.left||0,o.top+=r?n:n.top||0,o.right-=r?n:n.right||0,o.bottom-=r?n:n.bottom||0,o}function Si(e){var t=e.width,n=e.height;return t*n}function Kt(e,t,n,s,o){var i,r,c,l,d,u,h=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;return e.indexOf("auto")===-1?e:(i=it(n,s,h,o),r={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},c=Object.keys(r).map(function(e){return a({key:e},r[e],{area:Si(r[e])})}).sort(function(e,t){return t.area-e.area}),l=c.filter(function(e){var t=e.width,s=e.height;return t>=n.clientWidth&&s>=n.clientHeight}),u=l.length>0?l[0].key:c[0].key,d=e.split("-")[1],u+(d?"-"+d:""))}function qt(e,t,n){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=s?to(t):Te(t,Rn(n));return It(n,o,s)}function Yt(e){var n=e.ownerDocument.defaultView,t=n.getComputedStyle(e),s=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0),i={width:e.offsetWidth+o,height:e.offsetHeight+s};return i}function Se(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function Xt(e,t,n){n=n.split("-")[0];var o=Yt(e),i={width:o.width,height:o.height},a=["right","left"].indexOf(n)!==-1,r=a?"top":"left",s=a?"left":"top",c=a?"height":"width",l=a?"width":"height";return i[r]=t[r]+t[c]/2-o[c]/2,n===s?i[s]=t[s]-o[l]:i[s]=t[Se(s)],i}function Oe(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ca(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var s=Oe(e,function(e){return e[t]===n});return e.indexOf(s)}function Jt(e,t,n){var s=n===void 0?e:e.slice(0,ca(e,"name",n));return s.forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Pn(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function oa(){if(this.state.isDestroyed)return;var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=qt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Kt(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Xt(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Jt(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}function tn(e,t){return e.some(function(e){var n=e.name,s=e.enabled;return s&&n===t})}function Dt(e){for(var n,s,o=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),t=0;ta[r]&&(e.offsets.popper[n]+=o[n]+i-a[r]),e.offsets.popper=y(e.offsets.popper),p=o[n]+o[m]/2-i/2,h=C(e.instance.popper),g=parseFloat(h["margin"+u],10),v=parseFloat(h["border"+u+"Width"],10),l=p-e.offsets.popper[n]-g-v,l=Math.max(Math.min(a[m]-i,l),0),e.arrowElement=s,e.offsets.arrow=(d={},z(d,n,Math.round(l)),z(d,b,""),d),e}function Vi(e){return e==="end"?"start":e==="start"?"end":e}Ft=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Fe=Ft.slice(3);function xn(e){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=Fe.indexOf(e),n=Fe.slice(t+1).concat(Fe.slice(0,t));return s?n.reverse():n}Ae={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Hi(e,t){if(tn(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var i=it(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],r=Se(n),s=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Ae.FLIP:o=[n,r];break;case Ae.CLOCKWISE:o=xn(n);break;case Ae.COUNTERCLOCKWISE:o=xn(n,!0);break;default:o=t.behavior}return o.forEach(function(c,l){if(n!==c||o.length===l+1)return e;n=e.placement.split("-")[0],r=Se(n);var u=e.offsets.popper,m=e.offsets.reference,d=Math.floor,j=n==="left"&&d(u.right)>d(m.left)||n==="right"&&d(u.left)d(m.top)||n==="bottom"&&d(u.top)d(i.right),f=d(u.top)d(i.bottom),b=n==="left"&&g||n==="right"&&p||n==="top"&&f||n==="bottom"&&v,h=["top","bottom"].indexOf(n)!==-1,_=!!t.flipVariations&&(h&&s==="start"&&g||h&&s==="end"&&p||!h&&s==="start"&&f||!h&&s==="end"&&v),w=!!t.flipVariationsByContent&&(h&&s==="start"&&p||h&&s==="end"&&g||!h&&s==="start"&&v||!h&&s==="end"&&f),y=_||w;(j||b||y)&&(e.flipped=!0,(j||b)&&(n=o[l+1]),y&&(s=Vi(s)),e.placement=n+(s?"-"+s:""),e.offsets.popper=a({},e.offsets.popper,Xt(e.instance.popper,e.offsets.reference,e.placement)),e=Jt(e.instance.modifiers,e,"flip"))}),e}function Pi(e){var r=e.offsets,o=r.popper,n=r.reference,c=e.placement.split("-")[0],s=Math.floor,i=["top","bottom"].indexOf(c)!==-1,a=i?"right":"bottom",t=i?"left":"top",l=i?"width":"height";return o[a]s(n[a])&&(e.offsets.popper[t]=s(n[a])),e}function Ri(e,t,n,s){var a,r,l,c=e.match(/((?:-|\+)?\d*\.?\d*)(.*)/),i=+c[1],o=c[2];if(!i)return e;if(o.indexOf("%")===0){switch(a=void 0,o){case"%p":a=n;break;case"%":case"%r":default:a=s}return l=y(a),l[t]/100*i}return o==="vh"||o==="vw"?(r=void 0,o==="vh"?r=Math.max(document.documentElement.clientHeight,window.innerHeight||0):r=Math.max(document.documentElement.clientWidth,window.innerWidth||0),r/100*i):i}function Ki(e,t,n,s){var a,r,c=[0,0],l=["right","left"].indexOf(s)!==-1,o=e.split(/(\+|-)/).map(function(e){return e.trim()}),i=o.indexOf(Oe(o,function(e){return e.search(/,|\s/)!==-1}));return o[i]&&o[i].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),r=/\s*,\s*|\s+/,a=i!==-1?[o.slice(0,i).concat([o[i].split(r)[0]]),[o[i].split(r)[1]].concat(o.slice(i+1))]:[o],a=a.map(function(e,s){var i=(s===1?!l:l)?"height":"width",o=!1;return e.reduce(function(e,t){return e[e.length-1]===""&&["+","-"].indexOf(t)!==-1?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)},[]).map(function(e){return Ri(e,i,t,n)})}),a.forEach(function(e,t){e.forEach(function(n,s){zt(n)&&(c[t]+=n*(e[s-1]==="-"?-1:1))})}),c}function Ni(e,t){var i=t.offset,r=e.placement,a=e.offsets,n=a.popper,c=a.reference,o=r.split("-")[0],s=void 0;return zt(+i)?s=[+i,0]:s=Ki(i,n,c,o),o==="left"?(n.top+=s[0],n.left-=s[1]):o==="right"?(n.top+=s[0],n.left+=s[1]):o==="top"?(n.left+=s[0],n.top-=s[1]):o==="bottom"&&(n.left+=s[0],n.top+=s[1]),e.popper=n,e}function Di(e,t){i=t.boundariesElement||Q(e.instance.popper),e.instance.reference===i&&(i=Q(i));var n,o,i,c,l,r=Dt("transform"),s=e.instance.popper.style,d=s.top,u=s.left,h=s[r];return s.top="",s.left="",s[r]="",o=it(e.instance.popper,e.instance.reference,t.padding,i,e.positionFixed),s.top=d,s.left=u,s[r]=h,t.boundaries=o,c=t.priority,n=e.offsets.popper,l={primary:function(s){var i=n[s];return n[s]o[s]&&!t.escapeWithReference&&(a=Math.min(n[i],o[s]-(s==="right"?n.width:n.height))),z({},i,a)}},c.forEach(function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";n=a({},n,l[t](e))}),e.offsets.popper=n,e}function zi(e){if(n=e.placement,i=n.split("-")[0],s=n.split("-")[1],s){var n,s,i,r=e.offsets,o=r.reference,c=r.popper,l=["bottom","top"].indexOf(i)!==-1,t=l?"left":"top",d=l?"width":"height",u={start:z({},t,o[t]),end:z({},t,o[t]+o[d]-c[d])};e.offsets.popper=a({},c,u[s])}return e}function Ti(e){if(!jn(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Oe(e.instance.modifiers,function(e){return e.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};nn(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(s.update)},this.update=In(this.update.bind(this)),this.options=a({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(a({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){s.options.modifiers[t]=a({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return a({name:e},s.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&Pn(e.onLoad)&&e.onLoad(s.reference,s.popper,s.options,e,s.state)}),this.update(),i=this.options.eventsEnabled,i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Qt(e,[{key:"update",value:function(){return oa.call(this)}},{key:"destroy",value:function(){return sa.call(this)}},{key:"enableEventListeners",value:function(){return ta.call(this)}},{key:"disableEventListeners",value:function(){return Zi.call(this)}}]),e}(),_.Utils=(typeof window!="undefined"?window:global).PopperUtils,_.placements=Ft,_.Defaults=Ln,F="dropdown",Hn="4.5.0",se="bs.dropdown",h="."+se,Pe=".data-api",$n=t.fn[F],P=27,ht=32,ct=9,He=38,Ve=40,Gn=3,Xn=new RegExp(He+"|"+Ve+"|"+P),et="hide"+h,Je="hidden"+h,Jn="show"+h,es="shown"+h,ts="click"+h,$e="click"+h+Pe,Qe="keydown"+h+Pe,os="keyup"+h+Pe,de="disabled",c="show",cs="dropup",ls="dropright",ds="dropleft",Ye="dropdown-menu-right",hs="position-static",me='[data-toggle="dropdown"]',fs=".dropdown form",Ie=".dropdown-menu",gs=".navbar-nav",vs=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",bs="top-start",js="top-end",ys="bottom-start",_s="bottom-end",ws="right-start",Os="left-start",xs={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Cs={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},m=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var o=e.prototype;return o.toggle=function(){if(this._element.disabled||t(this._element).hasClass(de))return;var s=t(this._menu).hasClass(c);if(e._clearMenus(),s)return;this.show(!0)},o.show=function(o){if(o===void 0&&(o=!1),this._element.disabled||t(this._element).hasClass(de)||t(this._menu).hasClass(c))return;var a,r={relatedTarget:this._element},l=t.Event(Jn,r),i=e._getParentFromElement(this._element);if(t(i).trigger(l),l.isDefaultPrevented())return;if(!this._inNavbar&&o){if(typeof _=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");a=this._element,this._config.reference==="parent"?a=i:n.isElement(this._config.reference)&&(a=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(a=this._config.reference[0])),this._config.boundary!=="scrollParent"&&t(i).addClass(hs),this._popper=new _(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&t(i).closest(gs).length===0&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(c),t(i).toggleClass(c).trigger(t.Event(es,r))},o.hide=function(){if(this._element.disabled||t(this._element).hasClass(de)||!t(this._menu).hasClass(c))return;var s={relatedTarget:this._element},o=t.Event(et,s),i=e._getParentFromElement(this._element);if(t(i).trigger(o),o.isDefaultPrevented())return;this._popper&&this._popper.destroy(),t(this._menu).toggleClass(c),t(i).toggleClass(c).trigger(t.Event(Je,s))},o.dispose=function(){t.removeData(this._element,se),t(this._element).off(h),this._element=null,this._menu=null,this._popper!==null&&(this._popper.destroy(),this._popper=null)},o.update=function(){this._inNavbar=this._detectNavbar(),this._popper!==null&&this._popper.scheduleUpdate()},o._addEventListeners=function(){var n=this;t(this._element).on(ts,function(e){e.preventDefault(),e.stopPropagation(),n.toggle()})},o._getConfig=function(o){return o=s(s(s({},this.constructor.Default),t(this._element).data()),o),n.typeCheckConfig(F,o,this.constructor.DefaultType),o},o._getMenuElement=function(){if(!this._menu){var n=e._getParentFromElement(this._element);n&&(this._menu=n.querySelector(Ie))}return this._menu},o._getPlacement=function(){var s=t(this._element.parentNode),n=ys;return s.hasClass(cs)?n=t(this._menu).hasClass(Ye)?js:bs:s.hasClass(ls)?n=ws:s.hasClass(ds)?n=Os:t(this._menu).hasClass(Ye)&&(n=_s),n},o._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},o._getOffset=function(){var n=this,t={};return typeof this._config.offset=="function"?t.fn=function(e){return e.offsets=s(s({},e.offsets),n._config.offset(e.offsets,n._element)||{}),e}:t.offset=this._config.offset,t},o._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(t.modifiers.applyStyle={enabled:!1}),s(s({},t),this._config.popperConfig)},e._jQueryInterface=function(s){return this.each(function(){var n=t(this).data(se),o=typeof s=="object"?s:null;if(n||(n=new e(this,o),t(this).data(se,n)),typeof s=="string"){if(typeof n[s]=="undefined")throw new TypeError('No method named "'+s+'"');n[s]()}})},e._clearMenus=function(s){if(s&&(s.which===Gn||s.type==="keyup"&&s.which!==ct))return;for(var a,r,l,d,u,i=[].slice.call(document.querySelectorAll(me)),o=0,h=i.length;o0&&o--,s.which===Ve&&odocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:uo,popperConfig:null},N="show",Ue="out",So={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,INSERTED:"inserted"+r,CLICK:"click"+r,FOCUSIN:"focusin"+r,FOCUSOUT:"focusout"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r},ee="fade",te="show",To=".tooltip-inner",zo=".arrow",ie="hover",qe="focus",Lo="click",Ro="manual",w=function(){function o(e,t){if(typeof _=="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=o.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(n){if(!this._isEnabled)return;if(n){var o=this.constructor.DATA_KEY,s=t(n.currentTarget).data(o);s||(s=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(o,s)),s._activeTrigger.click=!s._activeTrigger.click,s._isWithActiveTrigger()?s._enter(null,s):s._leave(null,s)}else{if(t(this.getTipElement()).hasClass(te)){this._leave(null,this);return}this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var o,i,a,r,c,l,d,u,h,m,s=this;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(i=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(i),a=n.findShadowRoot(this.element),d=t.contains(a!==null?a:this.element.ownerDocument.documentElement,this.element),i.isDefaultPrevented()||!d)return;o=this.getTipElement(),r=n.getUID(this.constructor.NAME),o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&t(o).addClass(ee),u=typeof this.config.placement=="function"?this.config.placement.call(this,o,this.element):this.config.placement,c=this._getAttachment(u),this.addAttachmentClass(c),h=this._getContainer(),t(o).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(o).appendTo(h),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new _(this.element,o,this._getPopperConfig(c)),t(o).addClass(te),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop),l=function(){s.config.animation&&s._fixTransition();var n=s._hoverState;s._hoverState=null,t(s.element).trigger(s.constructor.Event.SHOWN),n===Ue&&s._leave(null,s)},t(this.tip).hasClass(ee)?(m=n.getTransitionDurationFromElement(this.tip),t(this.tip).one(n.TRANSITION_END,l).emulateTransitionEnd(m)):l()}},e.hide=function(s){var c,o=this,i=this.getTipElement(),a=t.Event(this.constructor.Event.HIDE),r=function(){o._hoverState!==N&&i.parentNode&&i.parentNode.removeChild(i),o._cleanTipClass(),o.element.removeAttribute("aria-describedby"),t(o.element).trigger(o.constructor.Event.HIDDEN),o._popper!==null&&o._popper.destroy(),s&&s()};if(t(this.element).trigger(a),a.isDefaultPrevented())return;t(i).removeClass(te),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[Lo]=!1,this._activeTrigger[qe]=!1,this._activeTrigger[ie]=!1,t(this.tip).hasClass(ee)?(c=n.getTransitionDurationFromElement(i),t(i).one(n.TRANSITION_END,r).emulateTransitionEnd(c)):r(),this._hoverState=""},e.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(n){t(this.getTipElement()).addClass(Ze+"-"+n)},e.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},e.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(To)),this.getTitle()),t(n).removeClass(ee+" "+te)},e.setElementContent=function(n,s){if(typeof s=="object"&&(s.nodeType||s.jquery)){this.config.html?t(s).parent().is(n)||n.empty().append(s):n.text(t(s).text());return}this.config.html?(this.config.sanitize&&(s=po(s,this.config.whiteList,this.config.sanitizeFn)),n.html(s)):n.text(s)},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var n=this,o={placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:zo},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){return n._handlePopperPlacementChange(t)}};return s(s({},o),this.config.popperConfig)},e._getOffset=function(){var n=this,t={};return typeof this.config.offset=="function"?t.fn=function(e){return e.offsets=s(s({},e.offsets),n.config.offset(e.offsets,n.element)||{}),e}:t.offset=this.config.offset,t},e._getContainer=function(){return this.config.container===!1?document.body:n.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},e._getAttachment=function(t){return Co[t.toUpperCase()]},e._setListeners=function(){var n=this,o=this.config.trigger.split(" ");o.forEach(function(e){if(e==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)});else if(e!==Ro){var s=e===ie?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,o=e===ie?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(s,n.config.selector,function(e){return n._enter(e)}).on(o,n.config.selector,function(e){return n._leave(e)})}}),this._hideModalHandler=function(){n.element&&n.hide()},t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s(s({},this.config),{},{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||t!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(n,s){var o=this.constructor.DATA_KEY;if(s=s||t(n.currentTarget).data(o),s||(s=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(o,s)),n&&(s._activeTrigger[n.type==="focusin"?qe:ie]=!0),t(s.getTipElement()).hasClass(te)||s._hoverState===N){s._hoverState=N;return}if(clearTimeout(s._timeout),s._hoverState=N,!s.config.delay||!s.config.delay.show){s.show();return}s._timeout=setTimeout(function(){s._hoverState===N&&s.show()},s.config.delay.show)},e._leave=function(n,s){var o=this.constructor.DATA_KEY;if(s=s||t(n.currentTarget).data(o),s||(s=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(o,s)),n&&(s._activeTrigger[n.type==="focusout"?qe:ie]=!1),s._isWithActiveTrigger())return;if(clearTimeout(s._timeout),s._hoverState=Ue,!s.config.delay||!s.config.delay.hide){s.hide();return}s._timeout=setTimeout(function(){s._hoverState===Ue&&s.hide()},s.config.delay.hide)},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(o){var i=t(this.element).data();return Object.keys(i).forEach(function(e){Vt.indexOf(e)!==-1&&delete i[e]}),o=s(s(s({},this.constructor.Default),i),typeof o=="object"&&o?o:{}),typeof o.delay=="number"&&(o.delay={show:o.delay,hide:o.delay}),typeof o.title=="number"&&(o.title=o.title.toString()),typeof o.content=="number"&&(o.content=o.content.toString()),n.typeCheckConfig(g,o,this.constructor.DefaultType),o.sanitize&&(o.template=po(o.template,o.whiteList,o.sanitizeFn)),o},e._getDelegateConfig=function(){var t,n={};if(this.config)for(t in this.config)this.constructor.Default[t]!==this.config[t]&&(n[t]=this.config[t]);return n},e._cleanTipClass=function(){var s=t(this.getTipElement()),n=s.attr("class").match(wo);n!==null&&n.length&&s.removeClass(n.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var n=this.getTipElement(),s=this.config.animation;if(n.getAttribute("x-placement")!==null)return;t(n).removeClass(ee),this.config.animation=!1,this.hide(),this.show(),this.config.animation=s},o._jQueryInterface=function(n){return this.each(function(){var e=t(this).data(ge),s=typeof n=="object"&&n;if(!e&&/dispose|hide/.test(n))return;if(e||(e=new o(this,s),t(this).data(ge,e)),typeof n=="string"){if(typeof e[n]=="undefined")throw new TypeError('No method named "'+n+'"');e[n]()}})},d(o,null,[{key:"VERSION",get:function(){return vo}},{key:"Default",get:function(){return Eo}},{key:"NAME",get:function(){return g}},{key:"DATA_KEY",get:function(){return ge}},{key:"Event",get:function(){return So}},{key:"EVENT_KEY",get:function(){return r}},{key:"DefaultType",get:function(){return xo}}]),o}(),t.fn[g]=w._jQueryInterface,t.fn[g].Constructor=w,t.fn[g].noConflict=function(){return t.fn[g]=yo,w._jQueryInterface},x="popover",Io="4.5.0",re="bs.popover",l="."+re,$o=t.fn[x],nt="bs-popover",Uo=new RegExp("(^|\\s)"+nt+"\\S+","g"),Ko=s(s({},w.Default),{},{placement:"right",trigger:"click",content:"",template:''}),qo=s(s({},w.DefaultType),{},{content:"(string|element|function)"}),Yo="fade",Go="show",Xo=".popover-header",Qo=".popover-body",Zo={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,INSERTED:"inserted"+l,CLICK:"click"+l,FOCUSIN:"focusin"+l,FOCUSOUT:"focusout"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l},he=function(e){ra(n,e);function n(){return e.apply(this,arguments)||this}var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(n){t(this.getTipElement()).addClass(nt+"-"+n)},s.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},s.setContent=function(){var n,s=t(this.getTipElement());this.setElementContent(s.find(Xo),this.getTitle()),n=this._getContent(),typeof n=="function"&&(n=n.call(this.element)),this.setElementContent(s.find(Qo),n),s.removeClass(Yo+" "+Go)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var s=t(this.getTipElement()),n=s.attr("class").match(Uo);n!==null&&n.length>0&&s.removeClass(n.join(""))},n._jQueryInterface=function(s){return this.each(function(){var e=t(this).data(re),o=typeof s=="object"?s:null;if(!e&&/dispose|hide/.test(s))return;if(e||(e=new n(this,o),t(this).data(re,e)),typeof s=="string"){if(typeof e[s]=="undefined")throw new TypeError('No method named "'+s+'"');e[s]()}})},d(n,null,[{key:"VERSION",get:function(){return Io}},{key:"Default",get:function(){return Ko}},{key:"NAME",get:function(){return x}},{key:"DATA_KEY",get:function(){return re}},{key:"Event",get:function(){return Zo}},{key:"EVENT_KEY",get:function(){return l}},{key:"DefaultType",get:function(){return qo}}]),n}(w),t.fn[x]=he._jQueryInterface,t.fn[x].Constructor=he,t.fn[x].noConflict=function(){return t.fn[x]=$o,he._jQueryInterface},b="scrollspy",ti="4.5.0",pe="bs.scrollspy",be="."+pe,oi=".data-api",ii=t.fn[b],dt={offset:10,method:"auto",target:""},ri={offset:"number",method:"string",target:"(string|element)"},ci="activate"+be,li="scroll"+be,di="load"+be+oi,ui="dropdown-item",f="active",mi='[data-spy="scroll"]',mt=".nav, .list-group",Re=".nav-link",gi=".nav-item",gt=".list-group-item",bi=".dropdown",ji=".dropdown-item",yi=".dropdown-toggle",_i="offset",vt="position",Y=function(){function o(e,n){var s=this;this._element=e,this._scrollElement=e.tagName==="BODY"?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+Re+","+(this._config.target+" "+gt+",")+(this._config.target+" "+ji),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(li,function(e){return s._process(e)}),this.refresh(),this._process()}var e=o.prototype;return e.refresh=function(){var i,s=this,a=this._scrollElement===this._scrollElement.window?_i:vt,o=this._config.method==="auto"?a:this._config.method,r=o===vt?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),i=[].slice.call(document.querySelectorAll(this._selector)),i.map(function(e){var s,a,i=n.getSelectorFromElement(e);return i&&(s=document.querySelector(i)),s&&(a=s.getBoundingClientRect(),a.width||a.height)?[t(s)[o]().top+r,i]:null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){s._offsets.push(e[0]),s._targets.push(e[1])})},e.dispose=function(){t.removeData(this._element,pe),t(this._scrollElement).off(be),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(o){if(o=s(s({},dt),typeof o=="object"&&o?o:{}),typeof o.target!="string"&&n.isElement(o.target)){var i=t(o.target).attr("id");i||(i=n.getUID(b),t(o.target).attr("id",i)),o.target="#"+i}return n.typeCheckConfig(b,o,ri),o},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t,s,i,n=this._getScrollTop()+this._config.offset,o=this._getScrollHeight(),a=this._config.offset+o-this._getOffsetHeight();if(this._scrollHeight!==o&&this.refresh(),n>=a){s=this._targets[this._targets.length-1],this._activeTarget!==s&&this._activate(s);return}if(this._activeTarget&&n0){this._activeTarget=null,this._clear();return}for(t=this._offsets.length;t--;)i=this._activeTarget!==this._targets[t]&&n>=this._offsets[t]&&(typeof this._offsets[t+1]=="undefined"||n0){t.preventDefault();let s=Math.ceil(e(n).offset().top-d());e("html, body").animate({scrollTop:s},800)}}),e(document).on("click",".navbar-collapse.show",function(t){let n=e(t.target).is("a")?e(t.target):e(t.target).parent();n.is("a")&&n.attr("class")!="dropdown-toggle"&&e(this).collapse("hide")});let i={},c,n,s=e("#container-publications");s.isotope({itemSelector:".isotope-item",percentPosition:!0,masonry:{columnWidth:".grid-sizer"},filter:function(){let t=e(this),s=!c||t.text().match(c),o=!n||t.is(n);return s&&o}});let _=e(".filter-search").keyup(j(function(){c=new RegExp(_.val(),"gi"),s.isotope()}));function j(e,t){let n;return t=t||100,function(){clearTimeout(n);let o=arguments,i=this;function a(){e.apply(i,o)}n=setTimeout(a,t)}}function m(e){let t="";for(let n in e)t+=e[n];return t}e(".pub-filters").on("change",function(){let o=e(this),t=o[0].getAttribute("data-filter-group");if(i[t]=this.value,n=m(i),s.isotope(),t=="pubtype"){let t=e(this).val();t.substr(0,9)==".pubtype-"?window.location.hash=t.substr(9):window.location.hash=""}});function C(){let t=window.location.hash.replace("#",""),o="*";t!=""&&!isNaN(t)&&(o=".pubtype-"+t);let a="pubtype";i[a]=o,n=m(i),s.isotope(),e(".pubtype-select").val(o)}function O(){if(e("#map").length){let i=e("#map-provider").val(),t=e("#map-lat").val(),n=e("#map-lng").val(),s=parseInt(e("#map-zoom").val()),o=e("#map-dir").val(),a=e("#map-api-key").val();if(i==1){let e=new GMaps({div:"#map",lat:t,lng:n,zoom:s,zoomControl:!0,zoomControlOpt:{style:"SMALL",position:"TOP_LEFT"},panControl:!1,streetViewControl:!1,mapTypeControl:!1,overviewMapControl:!1,scrollwheel:!0,draggable:!0});e.addMarker({lat:t,lng:n,click:function(){let s="https://www.google.com/maps/place/"+encodeURIComponent(o)+"/@"+t+","+n+"/";window.open(s,"_blank")},title:o})}else{let e=new L.map("map").setView([t,n],s);i==3&&a.length?L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}",{attribution:'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox',tileSize:512,maxZoom:18,zoomOffset:-1,id:"mapbox/streets-v11",accessToken:a}).addTo(e):L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'© OpenStreetMap'}).addTo(e);let r=L.marker([t,n]).addTo(e),c=t+","+n+"#map="+s+"/"+t+"/"+n+"&layers=N";r.bindPopup(o+'

Routing via OpenStreetMap

')}}}function g(t,n){e.getJSON("https://api.github.com/repos/"+n+"/tags").done(function(n){let s=n[0];e(t).append(" "+s.name)}).fail(function(e,t,n){let s=t+", "+n;console.log("Request Failed: "+s)})}function u(){e("body").hasClass("searching")?(e("[id=search-query]").blur(),e("body").removeClass("searching compensate-for-scrollbar"),v(),e("#fancybox-style-noscroll").remove()):(!e("#fancybox-style-noscroll").length&&document.body.scrollHeight>window.innerHeight&&(e("head").append('"),e("body").addClass("compensate-for-scrollbar")),e("body").addClass("searching"),e(".search-results").css({opacity:0,visibility:"visible"}).animate({opacity:1},200),e("#search-query").focus())}function o(){return Boolean(window.wcDarkLightEnabled)}function f(){return parseInt(localStorage.getItem("dark_mode")||2)}function a(e){if(console.info("Request to set theme."),!o()){console.info("Cannot set theme - admin disabled theme selector.");return}let n;switch(e){case 0:localStorage.setItem("dark_mode","1"),n=!0,console.info("User changed theme variation to Dark."),t(0);break;case 1:localStorage.setItem("dark_mode","2"),window.matchMedia("(prefers-color-scheme: dark)").matches?n=!0:window.matchMedia("(prefers-color-scheme: light)").matches?n=!1:n=isSiteThemeDark,console.info("User changed theme variation to Auto."),t(1);break;default:localStorage.setItem("dark_mode","0"),n=!1,console.info("User changed theme variation to Light."),t(2);break}l(n)}function t(t){switch(t){case 0:e(".js-set-theme-light").removeClass("dropdown-item-active"),e(".js-set-theme-dark").addClass("dropdown-item-active"),e(".js-set-theme-auto").removeClass("dropdown-item-active");break;case 1:e(".js-set-theme-light").removeClass("dropdown-item-active"),e(".js-set-theme-dark").removeClass("dropdown-item-active"),e(".js-set-theme-auto").addClass("dropdown-item-active");break;default:e(".js-set-theme-light").addClass("dropdown-item-active"),e(".js-set-theme-dark").removeClass("dropdown-item-active"),e(".js-set-theme-auto").removeClass("dropdown-item-active");break}}function w(){if(!o())return isSiteThemeDark;let t=f(),e;switch(t){case 0:e=!1;break;case 1:e=!0;break;default:window.matchMedia("(prefers-color-scheme: dark)").matches?e=!0:window.matchMedia("(prefers-color-scheme: light)").matches?e=!1:e=isSiteThemeDark;break}return e}function l(t,n=!1){const s=e("link[title=hl-light]").length>0,o=e("link[title=hl-light]")[0],i=e("link[title=hl-dark]")[0],a=e("script[title=mermaid]").length>0;if(!n&&(t===!1&&!e("body").hasClass("dark")||t===!0&&e("body").hasClass("dark")))return;t===!1?(n||e("body").css({opacity:0,visibility:"visible"}).animate({opacity:1},500),e("body").removeClass("dark"),s&&(o.disabled=!1,i.disabled=!0),a&&(n?mermaid.initialize({theme:"default",securityLevel:"loose"}):location.reload())):t===!0&&(n||e("body").css({opacity:0,visibility:"visible"}).animate({opacity:1},500),e("body").addClass("dark"),s&&(o.disabled=!0,i.disabled=!1),a&&(n?mermaid.initialize({theme:"dark",securityLevel:"loose"}):location.reload()))}function y(){if(o){let e=f();switch(e){case 0:t(2),console.info("Initialize theme variation to Light.");break;case 1:t(0),console.info("Initialize theme variation to Dark.");break;default:t(1),console.info("Initialize theme variation to Auto.");break}}let e=w();l(e,!0)}function b(){e(".carousel").each(function(){let t=e(".carousel-item",this);t.css("min-height",0);let n=Math.max.apply(null,t.map(function(){return e(this).outerHeight()}).get());t.css("min-height",n+"px")})}function x(){e("#TableOfContents").addClass("nav flex-column"),e("#TableOfContents li").addClass("nav-item"),e("#TableOfContents li a").addClass("nav-link"),e("input[type='checkbox'][disabled]").parents("ul").addClass("task-list")}function p(){let t=[];[].push.apply(t,document.getElementsByClassName("language-mermaid"));for(let n=0;n").append(e(this).contents()).addClass("mermaid")})}e(document).ready(function(){x(),p(),code_highlighting&&hljs.initHighlighting(),y(),e(".js-set-theme-light").click(function(e){e.preventDefault(),a(2)}),e(".js-set-theme-dark").click(function(e){e.preventDefault(),a(0)}),e(".js-set-theme-auto").click(function(e){e.preventDefault(),a(1)});const t=window.matchMedia("(prefers-color-scheme: dark)");t.addListener(e=>{if(!o())return;const n=e.matches;console.log(`OS dark mode preference changed to ${n?"🌒 on":"☀️ off"}.`);let s=parseInt(localStorage.getItem("dark_mode")||2),t;s===2&&(window.matchMedia("(prefers-color-scheme: dark)").matches?t=!0:window.matchMedia("(prefers-color-scheme: light)").matches?t=!1:t=isSiteThemeDark,l(t))})}),e(window).on("load",function(){e(".projects-container").each(function(t,n){let s=e(n),o=s.closest("section"),i;o.find(".isotope").hasClass("js-layout-row")?i="fitRows":i="masonry",s.imagesLoaded(function(){s.isotope({itemSelector:".isotope-item",layoutMode:i,masonry:{gutter:20},filter:o.find(".default-project-filter").text()}),o.find(".project-filters a").click(function(){let t=e(this).attr("data-filter");return s.isotope({filter:t}),e(this).removeClass("active").addClass("active").siblings().removeClass("active all"),!1}),window.location.hash&&r()})}),e(".pub-filters-select")&&C(),e(".back-to-top").click(function(t){t.preventDefault(),e("html, body").animate({scrollTop:0},800,function(){window.location.hash=""})}),e(".js-cite-modal").click(function(t){t.preventDefault();let n=e(this).attr("data-filename"),s=e("#modal");s.find(".modal-body code").load(n,function(t,s,o){if(s=="error"){let t="Error: ";e("#modal-error").html(t+o.status+" "+o.statusText)}else e(".js-download-cite").attr("href",n)}),s.modal("show")}),e(".js-copy-cite").click(function(e){e.preventDefault();let t=document.createRange(),n=document.querySelector("#modal .modal-body");t.selectNode(n),window.getSelection().addRange(t);try{document.execCommand("copy")}catch{console.log("Error: citation copy failed.")}window.getSelection().removeRange(t)}),O();let t=".js-github-release";e(t).length>0&&g(t,e(t).data("repo")),e(".js-search").click(function(e){e.preventDefault(),u()}),e(document).on("keydown",function(t){t.which==27?e("body").hasClass("searching")&&u():t.which==191&&t.shiftKey==!1&&!e("input,textarea").is(":focus")&&(t.preventDefault(),u())}),e('[data-toggle="tooltip"]').tooltip()}),e(window).on("load resize orientationchange",b),e("body").on("mouseenter mouseleave",".dropdown",function(t){var n=e(t.target).closest(".dropdown"),s=e(".dropdown-menu",n);n.addClass("show"),s.addClass("show"),setTimeout(function(){n[n.is(":hover")?"addClass":"removeClass"]("show"),s[n.is(":hover")?"addClass":"removeClass"]("show")},300),h(),window.location.hash&&(window.location.hash=="#top"?window.location.hash="":e(".projects-container").length||r());let o;e(window).resize(function(){clearTimeout(o),o=setTimeout(h,200)})})}(jQuery);let fuseOptions={shouldSort:!0,includeMatches:!0,tokenize:!0,threshold:search_config.threshold,location:0,distance:100,maxPatternLength:32,minMatchCharLength:search_config.minLength,keys:[{name:"title",weight:.99},{name:"summary",weight:.6},{name:"authors",weight:.5},{name:"content",weight:.2},{name:"tags",weight:.5},{name:"categories",weight:.5}]},summaryLength=60;function getSearchQuery(e){return decodeURIComponent((location.search.split(e+"=")[1]||"").split("&")[0]).replace(/\+/g," ")}function updateURL(e){history.replaceState&&window.history.replaceState({path:e},"",e)}function initSearch(e,t){let n=$("#search-query").val();if(n.length<1&&$("#search-hits").empty(),!e&&n.length0?($("#search-hits").append('

'+n.length+" "+i18n.results+"

"),parseResults(e,n)):$("#search-hits").append('
'+i18n.no_results+"
")}function parseResults(e,t){$.each(t,function(t,n){let s=n.item.section,o="",i="",a=[];["publication","talk"].includes(s)?o=n.item.summary:o=n.item.content,fuseOptions.tokenize?a.push(e):$.each(n.matches,function(e,t){if(t.key=="content"){let e=t.indices[0][0]-summaryLength>0?t.indices[0][0]-summaryLength:0,n=t.indices[0][1]+summaryLength