/*! * jekyll-theme-chirpy v7.2.0 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/ */ !function(){"use strict";const t=new Map;var e={set(e,n,i){t.has(e)||t.set(e,new Map);const o=t.get(e);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,n)=>t.has(e)&&t.get(e).get(n)||null,remove(e,n){if(!t.has(e))return;const i=t.get(e);i.delete(n),0===i.size&&t.delete(e)}};const n="transitionend",i=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(i(t)):null,s=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?s(t.parentNode):null},a=()=>{},l=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,c=[],u=()=>"rtl"===document.documentElement.dir,f=t=>{var e;e=()=>{const e=l();if(e){const n=t.NAME,i=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=i,t.jQueryInterface)}},"loading"===document.readyState?(c.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of c)t()})),c.push(e)):e()},d=function(t){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;return"function"==typeof t?t(...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]):e},p=function(t,e){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return void d(t);const i=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let o=!1;const r=i=>{let{target:s}=i;s===e&&(o=!0,e.removeEventListener(n,r),d(t))};e.addEventListener(n,r),setTimeout((()=>{o||e.dispatchEvent(new Event(n))}),i)},h=/[^.]*(?=\..*)\.|.*/,m=/\..*/,g=/::\d+$/,v={};let b=1;const y={mouseenter:"mouseover",mouseleave:"mouseout"},_=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 w(t,e){return e&&`${e}::${b++}`||t.uidEvent||b++}function E(t){const e=w(t);return t.uidEvent=e,v[e]=v[e]||{},v[e]}function O(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function x(t,e,n){const i="string"==typeof e,o=i?n:e||n;let r=L(t);return _.has(r)||(r=t),[i,o,r]}function A(t,e,n,i,o){if("string"!=typeof e||!t)return;let[r,s,a]=x(e,n,i);if(e in y){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const l=E(t),c=l[a]||(l[a]={}),u=O(c,s,r?n:null);if(u)return void(u.oneOff=u.oneOff&&o);const f=w(s,e.replace(h,"")),d=r?function(t,e,n){return function i(o){const r=t.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return j(o,{delegateTarget:s}),i.oneOff&&S.off(t,o.type,e,n),n.apply(s,[o])}}(t,n,s):function(t,e){return function n(i){return j(i,{delegateTarget:t}),n.oneOff&&S.off(t,i.type,e),e.apply(t,[i])}}(t,s);d.delegationSelector=r?n:null,d.callable=s,d.oneOff=o,d.uidEvent=f,c[f]=d,t.addEventListener(a,d,r)}function C(t,e,n,i,o){const r=O(e[n],i,o);r&&(t.removeEventListener(n,r,Boolean(o)),delete e[n][r.uidEvent])}function T(t,e,n,i){const o=e[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&C(t,e,n,s.callable,s.delegationSelector)}function L(t){return t=t.replace(m,""),y[t]||t}const S={on(t,e,n,i){A(t,e,n,i,!1)},one(t,e,n,i){A(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,r,s]=x(e,n,i),a=s!==e,l=E(t),c=l[s]||{},u=e.startsWith(".");if(void 0===r){if(u)for(const n of Object.keys(l))T(t,l,n,e.slice(1));for(const[n,i]of Object.entries(c)){const o=n.replace(g,"");a&&!e.includes(o)||C(t,l,s,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;C(t,l,s,r,o?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=l();let o=null,r=!0,s=!0,a=!1;e!==L(e)&&i&&(o=i.Event(e,n),i(t).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const c=j(new Event(e,{bubbles:r,cancelable:!0}),n);return a&&c.preventDefault(),s&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function j(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const[n,i]of Object.entries(e))try{t[n]=i}catch{Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}function k(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function D(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const P={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${D(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${D(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=k(t.dataset[i])}return e},getDataAttribute:(t,e)=>k(t.getAttribute(`data-bs-${D(e)}`))};class M{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=o(e)?P.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...o(e)?P.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType;for(const[i,r]of Object.entries(e)){const e=t[i],s=o(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${r}".`)}var n}}class N extends M{constructor(t,n){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e){p(t,e,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return e.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const B=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>i(t))).join(","):null},F={find(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(e,t)},children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!(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)&&(t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e})(t)))},getSelectorFromElement(t){const e=B(t);return e&&F.findOne(e)?e:null},getElementFromSelector(t){const e=B(t);return e?F.findOne(e):null},getMultipleElementsFromSelector(t){const e=B(t);return e?F.find(e):[]}},I=".bs.collapse",H=`show${I}`,$=`shown${I}`,z=`hide${I}`,W=`hidden${I}`,R=`click${I}.data-api`,q="show",V="collapse",Y="collapsing",U=`:scope .${V} .${V}`,K='[data-bs-toggle="collapse"]',Q={parent:null,toggle:!0},X={parent:"(null|element)",toggle:"boolean"};class G extends N{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=F.find(K);for(const t of n){const e=F.getSelectorFromElement(t),n=F.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Q}static get DefaultType(){return X}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>G.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(S.trigger(this._element,H).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(V),this._element.classList.add(Y),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Y),this._element.classList.add(V,q),this._element.style[e]="",S.trigger(this._element,$)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(S.trigger(this._element,z).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,this._element.offsetHeight,this._element.classList.add(Y),this._element.classList.remove(V,q);for(const t of this._triggerArray){const e=F.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Y),this._element.classList.add(V),S.trigger(this._element,W)}),this._element,!0)}_isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(q)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(K);for(const e of t){const t=F.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=F.find(U,this._config.parent);return F.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=G.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}S.on(document,R,K,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of F.getMultipleElementsFromSelector(this))G.getOrCreateInstance(t,{toggle:!1}).toggle()})),f(G),document.getElementsByClassName("collapse");var J="top",Z="bottom",tt="right",et="left",nt="auto",it=[J,Z,tt,et],ot="start",rt="end",st="clippingParents",at="viewport",lt="popper",ct="reference",ut=it.reduce((function(t,e){return t.concat([e+"-"+ot,e+"-"+rt])}),[]),ft=[].concat(it,[nt]).reduce((function(t,e){return t.concat([e,e+"-"+ot,e+"-"+rt])}),[]),dt="beforeRead",pt="read",ht="afterRead",mt="beforeMain",gt="main",vt="afterMain",bt="beforeWrite",yt="write",_t="afterWrite",wt=[dt,pt,ht,mt,gt,vt,bt,yt,_t];function Et(t){return t?(t.nodeName||"").toLowerCase():null}function Ot(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function xt(t){return t instanceof Ot(t).Element||t instanceof Element}function At(t){return t instanceof Ot(t).HTMLElement||t instanceof HTMLElement}function Ct(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Ot(t).ShadowRoot||t instanceof ShadowRoot)}var Tt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];At(o)&&Et(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});At(i)&&Et(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Lt(t){return t.split("-")[0]}var St=Math.max,jt=Math.min,kt=Math.round;function Dt(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Pt(){return!/^((?!chrome|android).)*safari/i.test(Dt())}function Mt(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,r=1;e&&At(t)&&(o=t.offsetWidth>0&&kt(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&kt(i.height)/t.offsetHeight||1);var s=(xt(t)?Ot(t):window).visualViewport,a=!Pt()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l,x:l,y:c}}function Nt(t){var e=Mt(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Bt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Ct(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ft(t){return Ot(t).getComputedStyle(t)}function It(t){return["table","td","th"].indexOf(Et(t))>=0}function Ht(t){return((xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function $t(t){return"html"===Et(t)?t:t.assignedSlot||t.parentNode||(Ct(t)?t.host:null)||Ht(t)}function zt(t){return At(t)&&"fixed"!==Ft(t).position?t.offsetParent:null}function Wt(t){for(var e=Ot(t),n=zt(t);n&&It(n)&&"static"===Ft(n).position;)n=zt(n);return n&&("html"===Et(n)||"body"===Et(n)&&"static"===Ft(n).position)?e:n||function(t){var e=/firefox/i.test(Dt());if(/Trident/i.test(Dt())&&At(t)&&"fixed"===Ft(t).position)return null;var n=$t(t);for(Ct(n)&&(n=n.host);At(n)&&["html","body"].indexOf(Et(n))<0;){var i=Ft(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function Rt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function qt(t,e,n){return St(t,jt(e,n))}function Vt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Yt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var Ut={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Lt(n.placement),l=Rt(a),c=[et,tt].indexOf(a)>=0?"height":"width";if(r&&s){var u=function(t,e){return Vt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Yt(t,it))}(o.padding,n),f=Nt(r),d="y"===l?J:et,p="y"===l?Z:tt,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],g=Wt(r),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=u[d],_=v-f[c]-u[p],w=v/2-f[c]/2+b,E=qt(y,w,_),O=l;n.modifiersData[i]=((e={})[O]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Bt(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Kt(t){return t.split("-")[1]}var Qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xt(t){var e,n=t.popper,i=t.popperRect,o=t.placement,r=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=s.x,p=void 0===d?0:d,h=s.y,m=void 0===h?0:h,g="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var v=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=et,_=J,w=window;if(c){var E=Wt(n),O="clientHeight",x="clientWidth";if(E===Ot(n)&&"static"!==Ft(E=Ht(n)).position&&"absolute"===a&&(O="scrollHeight",x="scrollWidth"),o===J||(o===et||o===tt)&&r===rt)_=Z,m-=(f&&E===w&&w.visualViewport?w.visualViewport.height:E[O])-i.height,m*=l?1:-1;if(o===et||(o===J||o===Z)&&r===rt)y=tt,p-=(f&&E===w&&w.visualViewport?w.visualViewport.width:E[x])-i.width,p*=l?1:-1}var A,C=Object.assign({position:a},c&&Qt),T=!0===u?function(t,e){var n=t.x,i=t.y,o=e.devicePixelRatio||1;return{x:kt(n*o)/o||0,y:kt(i*o)/o||0}}({x:p,y:m},Ot(n)):{x:p,y:m};return p=T.x,m=T.y,l?Object.assign({},C,((A={})[_]=b?"0":"",A[y]=v?"0":"",A.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",A)):Object.assign({},C,((e={})[_]=b?m+"px":"",e[y]=v?p+"px":"",e.transform="",e))}var Gt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:Lt(e.placement),variation:Kt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Xt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Xt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Jt={passive:!0};var Zt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=Ot(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach((function(t){t.addEventListener("scroll",n.update,Jt)})),a&&l.addEventListener("resize",n.update,Jt),function(){r&&c.forEach((function(t){t.removeEventListener("scroll",n.update,Jt)})),a&&l.removeEventListener("resize",n.update,Jt)}},data:{}},te={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(t){return t.replace(/left|right|bottom|top/g,(function(t){return te[t]}))}var ne={start:"end",end:"start"};function ie(t){return t.replace(/start|end/g,(function(t){return ne[t]}))}function oe(t){var e=Ot(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(t){return Mt(Ht(t)).left+oe(t).scrollLeft}function se(t){var e=Ft(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ae(t){return["html","body","#document"].indexOf(Et(t))>=0?t.ownerDocument.body:At(t)&&se(t)?t:ae($t(t))}function le(t,e){var n;void 0===e&&(e=[]);var i=ae(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),r=Ot(i),s=o?[r].concat(r.visualViewport||[],se(i)?i:[]):i,a=e.concat(s);return o?a:a.concat(le($t(s)))}function ce(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ue(t,e,n){return e===at?ce(function(t,e){var n=Ot(t),i=Ht(t),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=Pt();(c||!c&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+re(t),y:l}}(t,n)):xt(e)?function(t,e){var n=Mt(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):ce(function(t){var e,n=Ht(t),i=oe(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=St(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=St(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+re(t),l=-i.scrollTop;return"rtl"===Ft(o||n).direction&&(a+=St(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Ht(t)))}function fe(t,e,n,i){var o="clippingParents"===e?function(t){var e=le($t(t)),n=["absolute","fixed"].indexOf(Ft(t).position)>=0&&At(t)?Wt(t):t;return xt(n)?e.filter((function(t){return xt(t)&&Bt(t,n)&&"body"!==Et(t)})):[]}(t):[].concat(e),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(e,n){var o=ue(t,n,i);return e.top=St(o.top,e.top),e.right=jt(o.right,e.right),e.bottom=jt(o.bottom,e.bottom),e.left=St(o.left,e.left),e}),ue(t,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function de(t){var e,n=t.reference,i=t.element,o=t.placement,r=o?Lt(o):null,s=o?Kt(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case J:e={x:a,y:n.y-i.height};break;case Z:e={x:a,y:n.y+n.height};break;case tt:e={x:n.x+n.width,y:l};break;case et:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=r?Rt(r):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case ot:e[c]=e[c]-(n[u]/2-i[u]/2);break;case rt:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function pe(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=void 0===i?t.placement:i,r=n.strategy,s=void 0===r?t.strategy:r,a=n.boundary,l=void 0===a?st:a,c=n.rootBoundary,u=void 0===c?at:c,f=n.elementContext,d=void 0===f?lt:f,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,g=void 0===m?0:m,v=Vt("number"!=typeof g?g:Yt(g,it)),b=d===lt?ct:lt,y=t.rects.popper,_=t.elements[h?b:d],w=fe(xt(_)?_:_.contextElement||Ht(t.elements.popper),l,u,s),E=Mt(t.elements.reference),O=de({reference:E,element:y,strategy:"absolute",placement:o}),x=ce(Object.assign({},y,O)),A=d===lt?x:E,C={top:w.top-A.top+v.top,bottom:A.bottom-w.bottom+v.bottom,left:w.left-A.left+v.left,right:A.right-w.right+v.right},T=t.modifiersData.offset;if(d===lt&&T){var L=T[o];Object.keys(C).forEach((function(t){var e=[tt,Z].indexOf(t)>=0?1:-1,n=[J,Z].indexOf(t)>=0?"y":"x";C[t]+=L[n]*e}))}return C}function he(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?ft:l,u=Kt(i),f=u?a?ut:ut.filter((function(t){return Kt(t)===u})):it,d=f.filter((function(t){return c.indexOf(t)>=0}));0===d.length&&(d=f);var p=d.reduce((function(e,n){return e[n]=pe(t,{placement:n,boundary:o,rootBoundary:r,padding:s})[Lt(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}var me={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=e.options.placement,v=Lt(g),b=l||(v===g||!h?[ee(g)]:function(t){if(Lt(t)===nt)return[];var e=ee(t);return[ie(t),e,ie(e)]}(g)),y=[g].concat(b).reduce((function(t,n){return t.concat(Lt(n)===nt?he(e,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),_=e.rects.reference,w=e.rects.popper,E=new Map,O=!0,x=y[0],A=0;A=0,j=S?"width":"height",k=pe(e,{placement:C,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),D=S?L?tt:et:L?Z:J;_[j]>w[j]&&(D=ee(D));var P=ee(D),M=[];if(r&&M.push(k[T]<=0),a&&M.push(k[D]<=0,k[P]<=0),M.every((function(t){return t}))){x=C,O=!1;break}E.set(C,M)}if(O)for(var N=function(t){var e=y.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return x=e,"break"},B=h?3:1;B>0;B--){if("break"===N(B))break}e.placement!==x&&(e.modifiersData[i]._skip=!0,e.placement=x,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ge(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ve(t){return[J,tt,Z,et].some((function(e){return t[e]>=0}))}var be={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=pe(e,{elementContext:"reference"}),a=pe(e,{altBoundary:!0}),l=ge(s,i),c=ge(a,o,r),u=ve(l),f=ve(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};var ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.offset,r=void 0===o?[0,0]:o,s=ft.reduce((function(t,n){return t[n]=function(t,e,n){var i=Lt(t),o=[et,J].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[et,tt].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[i]=s}};var _e={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=de({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var we={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=pe(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),v=Lt(e.placement),b=Kt(e.placement),y=!b,_=Rt(v),w="x"===_?"y":"x",E=e.modifiersData.popperOffsets,O=e.rects.reference,x=e.rects.popper,A="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,C="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(E){if(r){var S,j="y"===_?J:et,k="y"===_?Z:tt,D="y"===_?"height":"width",P=E[_],M=P+g[j],N=P-g[k],B=p?-x[D]/2:0,F=b===ot?O[D]:x[D],I=b===ot?-x[D]:-O[D],H=e.elements.arrow,$=p&&H?Nt(H):{width:0,height:0},z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=z[j],R=z[k],q=qt(0,O[D],$[D]),V=y?O[D]/2-B-q-W-C.mainAxis:F-q-W-C.mainAxis,Y=y?-O[D]/2+B+q+R+C.mainAxis:I+q+R+C.mainAxis,U=e.elements.arrow&&Wt(e.elements.arrow),K=U?"y"===_?U.clientTop||0:U.clientLeft||0:0,Q=null!=(S=null==T?void 0:T[_])?S:0,X=P+Y-Q,G=qt(p?jt(M,P+V-Q-K):M,P,p?St(N,X):N);E[_]=G,L[_]=G-P}if(a){var nt,it="x"===_?J:et,rt="x"===_?Z:tt,st=E[w],at="y"===w?"height":"width",lt=st+g[it],ct=st-g[rt],ut=-1!==[J,et].indexOf(v),ft=null!=(nt=null==T?void 0:T[w])?nt:0,dt=ut?lt:st-O[at]-x[at]-ft+C.altAxis,pt=ut?st+O[at]+x[at]-ft-C.altAxis:ct,ht=p&&ut?function(t,e,n){var i=qt(t,e,n);return i>n?n:i}(dt,st,pt):qt(p?dt:lt,st,p?pt:ct);E[w]=ht,L[w]=ht-st}e.modifiersData[i]=L}},requiresIfExists:["offset"]};function Ee(t,e,n){void 0===n&&(n=!1);var i,o,r=At(e),s=At(e)&&function(t){var e=t.getBoundingClientRect(),n=kt(e.width)/t.offsetWidth||1,i=kt(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=Ht(e),l=Mt(t,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==Et(e)||se(a))&&(c=(i=e)!==Ot(i)&&At(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:oe(i)),At(e)?((u=Mt(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=re(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Oe(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Ae(){for(var t=arguments.length,e=new Array(t),n=0;n{const n=t.nodeName.toLowerCase();return e.includes(n)?!De.has(n)||Boolean(Pe.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};const Ne={allowList:ke,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Be={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Fe={entry:"(string|element|function|null)",selector:"(string|element)"};class Ie extends M{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ne}static get DefaultType(){return Be}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Fe)}_setContent(t,e,n){const i=F.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const t of o){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),o=[].concat(e["*"]||[],e[n]||[]);for(const e of i)Me(e,o)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return d(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const He=new Set(["sanitize","allowList","sanitizeFn"]),$e="fade",ze="show",We=".tooltip-inner",Re=".modal",qe="hide.bs.modal",Ve="hover",Ye="focus",Ue={AUTO:"auto",TOP:"top",RIGHT:u()?"left":"right",BOTTOM:"bottom",LEFT:u()?"right":"left"},Ke={allowList:ke,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Qe={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Xe extends N{constructor(t,e){if(void 0===je)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ke}static get DefaultType(){return Qe}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),S.off(this._element.closest(Re),qe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=S.trigger(this._element,this.constructor.eventName("show")),e=(s(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),S.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(ze),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))S.on(t,"mouseover",a);this._queueCallback((()=>{S.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(S.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(ze),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))S.off(t,"mouseover",a);this._activeTrigger.click=!1,this._activeTrigger[Ye]=!1,this._activeTrigger[Ve]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove($e,ze),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add($e),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ie({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[We]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains($e)}_isShown(){return this.tip&&this.tip.classList.contains(ze)}_createPopper(t){const e=d(this._config.placement,[this,t,this._element]),n=Ue[e.toUpperCase()];return Se(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return d(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...d(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)S.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Ve?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===Ve?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");S.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Ye:Ve]=!0,e._enter()})),S.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Ye:Ve]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(Re),qe,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=P.getDataAttributes(this._element);for(const t of Object.keys(e))He.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Xe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}f(Xe);class Ge{static get attrTimestamp(){return"data-ts"}static get attrDateFormat(){return"data-df"}static get locale(){return document.documentElement.getAttribute("lang").substring(0,2)}static getTimestamp(t){return Number(t.getAttribute(this.attrTimestamp))}static getDateFormat(t){return t.getAttribute(this.attrDateFormat)}}function Je(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}function Ze(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tn;const en=document.getElementById("toc-bar"),nn=document.getElementById("toc-solo-trigger"),on=document.getElementsByClassName("toc-trigger"),rn=document.getElementById("toc-popup"),sn=document.getElementById("toc-popup-close"),an="overflow-hidden",ln="closing";class cn{static initBar(){new IntersectionObserver((t=>{t.forEach((t=>{en.classList.toggle("invisible",t.isIntersecting)}))}),{rootMargin:`-${Je(cn,this,fn)._}px 0px 0px 0px`}).observe(nn),un._=Je(cn,this,!1)}static listenAnchors(){[...document.getElementsByClassName("toc-link")].forEach((t=>{t.onclick=()=>this.hidePopup()}))}static refresh(){Je(cn,this,un)._&&this.initComponents(),tocbot.refresh(this.options),this.listenAnchors()}static get popupOpened(){return rn.open}static showPopup(){this.lockScroll(!0),rn.showModal();rn.querySelector("li.is-active-li").scrollIntoView({block:"center"})}static hidePopup(){rn.toggleAttribute(ln),rn.addEventListener("animationend",(()=>{rn.toggleAttribute(ln),rn.close()}),{once:!0}),this.lockScroll(!1)}static lockScroll(t){document.documentElement.classList.toggle(an,t),document.body.classList.toggle(an,t)}static clickBackdrop(t){if(rn.hasAttribute(ln))return;const e=t.target.getBoundingClientRect();(t.clientXe.right||t.clientYe.bottom)&&this.hidePopup()}static initComponents(){this.initBar(),[...on].forEach((t=>{t.onclick=()=>this.showPopup()})),rn.onclick=t=>this.clickBackdrop(t),sn.onclick=()=>this.hidePopup(),rn.oncancel=t=>{t.preventDefault(),this.hidePopup()}}static init(){tocbot.init(this.options),this.listenAnchors(),this.initComponents()}}var un={_:!0},fn={_:48};Ze(cn,"options",{tocSelector:"#toc-popup-content",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,collapseDepth:4,headingsOffset:Je(tn=cn,tn,fn)._});Ze(class{static refresh(){tocbot.refresh(this.options)}static init(){document.getElementById("toc-wrapper")&&tocbot.init(this.options)}},"options",{tocSelector:"#toc",contentSelector:".content",ignoreSelector:"[data-toc-skip]",headingSelector:"h2, h3, h4",orderedList:!1,scrollSmooth:!1,headingsOffset:32}),matchMedia("(min-width: 1200px)"),Theme.getThemeMapper("default","dark");const dn=document.getElementById("mode-toggle");const pn=document.getElementById("sidebar"),hn=document.getElementById("sidebar-trigger"),mn=document.getElementById("mask");class gn{static toggle(){vn._=Je(gn,this,!Je(gn,this,vn)._),document.body.toggleAttribute("sidebar-display",Je(gn,this,vn)._),pn.classList.toggle("z-2",Je(gn,this,vn)._),mn.classList.toggle("d-none",!Je(gn,this,vn)._)}}var vn={_:!1};const bn=document.getElementById("sidebar-trigger"),yn=document.getElementById("search-trigger"),_n=document.getElementById("search-cancel"),wn=document.querySelectorAll("#main-wrapper>.container>.row"),En=document.getElementById("topbar-title"),On=document.getElementById("search"),xn=document.getElementById("search-result-wrapper"),An=document.getElementById("search-results"),Cn=document.getElementById("search-input"),Tn=document.getElementById("search-hints"),Ln="d-block",Sn="d-none",jn="input-focus",kn="d-flex";class Dn{static on(){bn.classList.add(Sn),En.classList.add(Sn),yn.classList.add(Sn),On.classList.add(kn),_n.classList.add(Ln)}static off(){_n.classList.remove(Ln),On.classList.remove(kn),bn.classList.remove(Sn),En.classList.remove(Sn),yn.classList.remove(Sn)}}class Pn{static on(){this.resultVisible||(xn.classList.remove(Sn),wn.forEach((t=>{t.classList.add(Sn)})),this.resultVisible=!0)}static off(){this.resultVisible&&(An.innerHTML="",Tn.classList.contains(Sn)&&Tn.classList.remove(Sn),xn.classList.add(Sn),wn.forEach((t=>{t.classList.remove(Sn)})),Cn.textContent="",this.resultVisible=!1)}}function Mn(){return _n.classList.contains(Ln)}Ze(Pn,"resultVisible",!1),hn.onclick=mn.onclick=()=>gn.toggle(),yn.addEventListener("click",(()=>{Dn.on(),Pn.on(),Cn.focus()})),_n.addEventListener("click",(()=>{Dn.off(),Pn.off()})),Cn.addEventListener("focus",(()=>{On.classList.add(jn)})),Cn.addEventListener("focusout",(()=>{On.classList.remove(jn)})),Cn.addEventListener("input",(()=>{""===Cn.value?Mn()?Tn.classList.remove(Sn):Pn.off():(Pn.on(),Mn()&&Tn.classList.add(Sn))})),dayjs.locale(Ge.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),document.querySelectorAll(`[${Ge.attrTimestamp}]`).forEach((t=>{const e=dayjs.unix(Ge.getTimestamp(t)),n=e.format(Ge.getDateFormat(t));if(t.textContent=n,t.removeAttribute(Ge.attrTimestamp),t.removeAttribute(Ge.attrDateFormat),t.hasAttribute("data-bs-toggle")&&"tooltip"===t.getAttribute("data-bs-toggle")){const n=e.format("llll");t.setAttribute("data-bs-title",n)}})),dn&&dn.addEventListener("click",(()=>{Theme.flip()})),function(){const t=document.getElementById("back-to-top");window.addEventListener("scroll",(()=>{window.scrollY>50?t.classList.add("show"):t.classList.remove("show")})),t.addEventListener("click",(()=>{window.scrollTo({top:0})}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new Xe(t)))}();