/*! For license information please see main.js.LICENSE.txt */ "use strict";(()=>{var e,t,r=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,l=(e=(e,t)=>{!function(){var r,i=function(e){var t=new i.Builder;return t.pipeline.add(i.trimmer,i.stopWordFilter,i.stemmer),t.searchPipeline.add(i.stemmer),e.call(t,t),t.build()};i.version="2.3.9",i.utils={},i.utils.warn=(r=this,function(e){r.console&&console.warn&&console.warn(e)}),i.utils.asString=function(e){return null==e?"":e.toString()},i.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),i=0;i0){var u=i.utils.clone(t)||{};u.position=[a,l],u.index=s.length,s.push(new i.Token(r.slice(a,o),u))}a=o+1}}return s},i.tokenizer.separator=/[\s\-]+/,i.Pipeline=function(){this._stack=[]},i.Pipeline.registeredFunctions=Object.create(null),i.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&i.utils.warn("Overwriting existing registered function: "+t),e.label=t,i.Pipeline.registeredFunctions[e.label]=e},i.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||i.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},i.Pipeline.load=function(e){var t=new i.Pipeline;return e.forEach((function(e){var r=i.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},i.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){i.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},i.Pipeline.prototype.after=function(e,t){i.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},i.Pipeline.prototype.before=function(e,t){i.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},i.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},i.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e||s>e?2*n:sa?u+=2:o==a&&(t+=r[l+1]*i[u+1],l+=2,u+=2);return t},i.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},i.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new i.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o.final=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var l=s.node.edges["*"];else l=new i.TokenSet,s.node.edges["*"]=l;if(0==s.str.length&&(l.final=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else u=new i.TokenSet,s.node.edges["*"]=u;1==s.str.length&&(u.final=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new i.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c.final=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return r},i.TokenSet.fromString=function(e){for(var t=new i.TokenSet,r=t,n=0,s=e.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},i.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},i.Index.prototype.search=function(e){return this.query((function(t){new i.QueryParser(e,t).parse()}))},i.Index.prototype.query=function(e){for(var t=new i.Query(this.fields),r=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?1:e},i.Builder.prototype.k1=function(e){this._k1=e},i.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var s=0;s=this.length)return i.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},i.QueryLexer.prototype.width=function(){return this.pos-this.start},i.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},i.QueryLexer.prototype.backup=function(){this.pos-=1},i.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=i.QueryLexer.EOS&&this.backup()},i.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(i.QueryLexer.TERM)),e.ignore(),e.more())return i.QueryLexer.lexText},i.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(i.QueryLexer.EDIT_DISTANCE),i.QueryLexer.lexText},i.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(i.QueryLexer.BOOST),i.QueryLexer.lexText},i.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(i.QueryLexer.TERM)},i.QueryLexer.termSeparator=i.tokenizer.separator,i.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==i.QueryLexer.EOS)return i.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return i.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(i.QueryLexer.TERM),i.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(i.QueryLexer.TERM),i.QueryLexer.lexBoost;if("+"==t&&1===e.width()||"-"==t&&1===e.width())return e.emit(i.QueryLexer.PRESENCE),i.QueryLexer.lexText;if(t.match(i.QueryLexer.termSeparator))return i.QueryLexer.lexTerm}else e.escapeCharacter()}},i.QueryParser=function(e,t){this.lexer=new i.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},i.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=i.QueryParser.parseClause;e;)e=e(this);return this.query},i.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},i.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},i.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},i.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case i.QueryLexer.PRESENCE:return i.QueryParser.parsePresence;case i.QueryLexer.FIELD:return i.QueryParser.parseField;case i.QueryLexer.TERM:return i.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(r+=" with value '"+t.str+"'"),new i.QueryParseError(r,t.start,t.end)}},i.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=i.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=i.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+t.str+"'";throw new i.QueryParseError(r,t.start,t.end)}var n=e.peekLexeme();if(null==n)throw r="expecting term or field, found nothing",new i.QueryParseError(r,t.start,t.end);switch(n.type){case i.QueryLexer.FIELD:return i.QueryParser.parseField;case i.QueryLexer.TERM:return i.QueryParser.parseTerm;default:throw r="expecting term or field, found '"+n.type+"'",new i.QueryParseError(r,n.start,n.end)}}},i.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),n="unrecognised field '"+t.str+"', possible fields: "+r;throw new i.QueryParseError(n,t.start,t.end)}e.currentClause.fields=[t.str];var s=e.peekLexeme();if(null==s)throw n="expecting term, found nothing",new i.QueryParseError(n,t.start,t.end);if(s.type===i.QueryLexer.TERM)return i.QueryParser.parseTerm;throw n="expecting term, found '"+s.type+"'",new i.QueryParseError(n,s.start,s.end)}},i.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(null==r)return void e.nextClause();switch(r.type){case i.QueryLexer.TERM:return e.nextClause(),i.QueryParser.parseTerm;case i.QueryLexer.FIELD:return e.nextClause(),i.QueryParser.parseField;case i.QueryLexer.EDIT_DISTANCE:return i.QueryParser.parseEditDistance;case i.QueryLexer.BOOST:return i.QueryParser.parseBoost;case i.QueryLexer.PRESENCE:return e.nextClause(),i.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+r.type+"'";throw new i.QueryParseError(n,r.start,r.end)}}},i.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="edit distance must be numeric";throw new i.QueryParseError(n,t.start,t.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(null==s)return void e.nextClause();switch(s.type){case i.QueryLexer.TERM:return e.nextClause(),i.QueryParser.parseTerm;case i.QueryLexer.FIELD:return e.nextClause(),i.QueryParser.parseField;case i.QueryLexer.EDIT_DISTANCE:return i.QueryParser.parseEditDistance;case i.QueryLexer.BOOST:return i.QueryParser.parseBoost;case i.QueryLexer.PRESENCE:return e.nextClause(),i.QueryParser.parsePresence;default:throw n="Unexpected lexeme type '"+s.type+"'",new i.QueryParseError(n,s.start,s.end)}}},i.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="boost must be numeric";throw new i.QueryParseError(n,t.start,t.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(null==s)return void e.nextClause();switch(s.type){case i.QueryLexer.TERM:return e.nextClause(),i.QueryParser.parseTerm;case i.QueryLexer.FIELD:return e.nextClause(),i.QueryParser.parseField;case i.QueryLexer.EDIT_DISTANCE:return i.QueryParser.parseEditDistance;case i.QueryLexer.BOOST:return i.QueryParser.parseBoost;case i.QueryLexer.PRESENCE:return e.nextClause(),i.QueryParser.parsePresence;default:throw n="Unexpected lexeme type '"+s.type+"'",new i.QueryParseError(n,s.start,s.end)}}},function(r,i){"function"==typeof define&&define.amd?define(i):"object"==typeof e?t.exports=i():r.lunr=i()}(this,(function(){return i}))}()},()=>(t||e((t={exports:{}}).exports,t),t.exports)),u=[];function c(e,t){u.push({selector:t,constructor:e})}var h=class{constructor(e){this.el=e.el,this.app=e.app}},d=(e,t=100)=>{let r=Date.now();return(...i)=>{r+t-Date.now()<0&&(e(...i),r=Date.now())}},f=class extends class{constructor(){this.listeners={}}addEventListener(e,t){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(t)}removeEventListener(e,t){if(!(e in this.listeners))return;let r=this.listeners[e];for(let e=0,i=r.length;ethis.onScroll()),10)),window.addEventListener("resize",d((()=>this.onResize()),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",(()=>{this.hideShowToolbar()})),this.onResize(),this.onScroll()}triggerResize(){let e=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(e)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let e=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(e)}onScroll(){this.scrollTop=window.scrollY||0;let e=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(e),this.hideShowToolbar()}hideShowToolbar(){let e=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,e!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},p=f;p.instance=new f;var m=((e,t,l)=>(l=null!=e?r(o(e)):{},((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of s(t))!a.call(e,r)&&undefined!==r&&i(e,r,{get:()=>t[r],enumerable:!(o=n(t,r))||o.enumerable});return e})(e&&e.__esModule?l:i(l,"default",{value:e,enumerable:!0}),e)))(l());function y(e,t){let r=e.querySelector(".current");if(r){let e=r;if(1===t)do{e=e.nextElementSibling??void 0}while(e instanceof HTMLElement&&null==e.offsetParent);else do{e=e.previousElementSibling??void 0}while(e instanceof HTMLElement&&null==e.offsetParent);e&&(r.classList.remove("current"),e.classList.add("current"))}else r=e.querySelector(1==t?"li:first-child":"li:last-child"),r&&r.classList.add("current")}function g(e,t){if(""===t)return e;let r=e.toLocaleLowerCase(),i=t.toLocaleLowerCase(),n=[],s=0,o=r.indexOf(i);for(;-1!=o;)n.push(x(e.substring(s,o)),`${x(e.substring(o,o+i.length))}`),s=o+i.length,o=r.indexOf(i,s);return n.push(x(e.substring(s))),n.join("")}var v={"&":"&","<":"<",">":">","'":"'",'"':"""};function x(e){return e.replace(/[&<>"'"]/g,(e=>v[e]))}var w,E="mousedown",L="mousemove",b="mouseup",S={x:0,y:0},k=!1,Q=!1,T=!1,P=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(P?"is-mobile":"not-mobile"),P&&"ontouchstart"in document.documentElement&&(E="touchstart",L="touchmove",b="touchend"),document.addEventListener(E,(e=>{Q=!0,T=!1;let t="touchstart"==E?e.targetTouches[0]:e;S.y=t.pageY||0,S.x=t.pageX||0})),document.addEventListener(L,(e=>{if(Q&&!T){let t="touchstart"==E?e.targetTouches[0]:e,r=S.x-(t.pageX||0),i=S.y-(t.pageY||0);T=Math.sqrt(r*r+i*i)>10}})),document.addEventListener(b,(()=>{Q=!1})),document.addEventListener("click",(e=>{k&&(e.preventDefault(),e.stopImmediatePropagation(),k=!1)}));try{w=localStorage}catch{w={getItem:()=>null,setItem(){}}}var I=w,O=document.head.appendChild(document.createElement("style"));function R(e){document.documentElement.dataset.theme=e}O.dataset.for="filters",function(){let e=document.getElementById("tsd-search");if(!e)return;let t=document.getElementById("search-script");e.classList.add("loading"),t&&(t.addEventListener("error",(()=>{e.classList.remove("loading"),e.classList.add("failure")})),t.addEventListener("load",(()=>{e.classList.remove("loading"),e.classList.add("ready")})),window.searchData&&e.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let n=!1;i.addEventListener("mousedown",(()=>n=!0)),i.addEventListener("mouseup",(()=>{n=!1,e.classList.remove("has-focus")})),r.addEventListener("focus",(()=>e.classList.add("has-focus"))),r.addEventListener("blur",(()=>{n||(n=!1,e.classList.remove("has-focus"))}));let s={base:e.dataset.base+"/"};!function(e,t,r,i){r.addEventListener("input",((e,t=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout((()=>e()),t)}})((()=>{!function(e,t,r,i){if(function(e,t){e.index||window.searchData&&(t.classList.remove("loading"),t.classList.add("ready"),e.data=window.searchData,e.index=m.Index.load(window.searchData.index))}(i,e),!i.index||!i.data)return;t.textContent="";let n=r.value.trim(),s=n?i.index.search(`*${n}*`):[];for(let e=0;et.score-e.score));for(let e=0,r=Math.min(10,s.length);e${g(r.parent,n)}.${o}`);let a=document.createElement("li");a.classList.value=r.classes??"";let l=document.createElement("a");l.href=i.base+r.url,l.innerHTML=o,a.append(l),t.appendChild(a)}}(e,t,r,i)}),200));let n=!1;r.addEventListener("keydown",(e=>{n=!0,"Enter"==e.key?function(e,t){let r=e.querySelector(".current");if(r||(r=e.querySelector("li:first-child")),r){let e=r.querySelector("a");e&&(window.location.href=e.href),t.blur()}}(t,r):"Escape"==e.key?r.blur():"ArrowUp"==e.key?y(t,-1):"ArrowDown"===e.key?y(t,1):n=!1})),r.addEventListener("keypress",(e=>{n&&e.preventDefault()})),document.body.addEventListener("keydown",(e=>{e.altKey||e.ctrlKey||e.metaKey||!r.matches(":focus")&&"/"===e.key&&(r.focus(),e.preventDefault())}))}(e,i,r,s)}(),c(class extends h{constructor(e){super(e),this.anchors=[],this.index=-1,p.instance.addEventListener("resize",(()=>this.onResize())),p.instance.addEventListener("scroll",(e=>this.onScroll(e))),this.createAnchors()}createAnchors(){let e=window.location.href;-1!=e.indexOf("#")&&(e=e.substring(0,e.indexOf("#"))),this.el.querySelectorAll("a").forEach((t=>{let r=t.href;if(-1==r.indexOf("#")||r.substring(0,e.length)!=e)return;let i=r.substring(r.indexOf("#")+1),n=document.querySelector("a.tsd-anchor[name="+i+"]"),s=t.parentNode;!n||!s||this.anchors.push({link:s,anchor:n,position:0})})),this.onResize()}onResize(){let e;for(let t=0,r=this.anchors.length;te.position-t.position));let t=new CustomEvent("scroll",{detail:{scrollTop:p.instance.scrollTop}});this.onScroll(t)}onScroll(e){let t=e.detail.scrollTop+5,r=this.anchors,i=r.length-1,n=this.index;for(;n>-1&&r[n].position>t;)n-=1;for(;n-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=n,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}},".menu-highlight"),c(class extends h{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(b,(e=>this.onPointerUp(e))),this.el.addEventListener("click",(e=>e.preventDefault())),document.addEventListener(E,(e=>this.onDocumentPointerDown(e))),document.addEventListener(b,(e=>this.onDocumentPointerUp(e)))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let t=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(t),setTimeout((()=>document.documentElement.classList.remove(t)),500)}onPointerUp(e){T||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!T&&this.active&&e.target.closest(".col-menu")){let t=e.target.closest("a");if(t){let e=window.location.href;-1!=e.indexOf("#")&&(e=e.substring(0,e.indexOf("#"))),t.href.substring(0,e.length)==e&&setTimeout((()=>this.setActive(!1)),250)}}}},"a[data-toggle]"),c(class extends h{constructor(e){super(e),this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",(e=>this.toggleVisibility(e))),this.icon.style.transform=this.getIconRotation()}getIconRotation(e=this.el.open){return`rotate(${e?0:-90}deg)`}calculateHeights(){let e=this.el.open,{position:t,left:r}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=e,this.el.style.height=e?this.expandedHeight:this.collapsedHeight,this.el.style.position=t,this.el.style.left=r}toggleVisibility(e){e.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(e=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:e?300:0})}collapse(e=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:e?300:0})}animate(e,t,{opening:r,duration:i=300}){if(this.animation)return;let n={duration:i,easing:"ease"};this.animation=this.el.animate({height:[e,t]},n),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!r),this.getIconRotation(r)]},n).addEventListener("finish",(()=>{this.icon.style.transform=this.getIconRotation(r)})),this.animation.addEventListener("finish",(()=>this.animationEnd(r)))}animationEnd(e){this.el.open=e,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(e)}fromLocalStorage(){let e=I.getItem(this.key);return e?"true"===e:this.el.open}setLocalStorage(e,t=!1){this.fromLocalStorage()===e&&!t||(I.setItem(this.key,e.toString()),this.el.open=e,this.handleValueChange(t))}handleValueChange(e=!1){this.fromLocalStorage()===this.el.open&&!e||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}},".tsd-index-accordion"),c(class extends h{constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",(()=>{this.setLocalStorage(this.el.checked)})),this.setLocalStorage(this.fromLocalStorage()),O.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; }\n`}fromLocalStorage(){let e=I.getItem(this.key);return e?"true"===e:this.el.checked}setLocalStorage(e){I.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach((e=>{e.style.display="block";let t=Array.from(e.querySelectorAll(".tsd-index-link")).every((e=>null==e.offsetParent));e.style.display=t?"none":"block"}))}},".tsd-filter-item input[type=checkbox]");var C=document.getElementById("theme");C&&function(e){let t=I.getItem("tsd-theme")||"os";e.value=t,R(t),e.addEventListener("change",(()=>{I.setItem("tsd-theme",e.value),R(e.value)}))}(C);var F=new class{constructor(){this.alwaysVisibleMember=null,this.createComponents(document.body),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",(()=>this.ensureFocusedElementVisible()))}createComponents(e){u.forEach((t=>{e.querySelectorAll(t.selector).forEach((e=>{e.dataset.hasInstance||(new t.constructor({el:e,app:this}),e.dataset.hasInstance=String(!0))}))}))}filterChanged(){this.ensureFocusedElementVisible()}ensureFocusedElementVisible(){this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null);let e=document.getElementById(location.hash.substring(1));if(!e)return;let t=e.parentElement;for(;t&&"SECTION"!==t.tagName;)t=t.parentElement;if(t&&null==t.offsetParent){this.alwaysVisibleMember=t,t.classList.add("always-visible");let e=document.createElement("p");e.classList.add("warning"),e.textContent="This member is normally hidden due to your filter settings.",t.prepend(e)}}};Object.defineProperty(window,"app",{value:F})})();