(()=>{var Hn=Object.create;var tt=Object.defineProperty;var Fn=Object.getOwnPropertyDescriptor;var Mn=Object.getOwnPropertyNames;var Bn=Object.getPrototypeOf,zn=Object.prototype.hasOwnProperty;var nt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vn=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Mn(t))!zn.call(e,r)&&r!==n&&tt(e,r,{get:()=>t[r],enumerable:!(i=Fn(t,r))||i.enumerable});return e};var it=(e,t,n)=>(n=e!=null?Hn(Bn(e)):{},Vn(t||!e||!e.__esModule?tt(n,"default",{value:e,enumerable:!0}):n,e));var yt=nt((Rs,gt)=>{var mt="Expected a function",ht=NaN,Xn="[object Symbol]",Zn=/^\s+|\s+$/g,ei=/^[-+]0x[0-9a-f]+$/i,ti=/^0b[01]+$/i,ni=/^0o[0-7]+$/i,ii=parseInt,ri=typeof global=="object"&&global&&global.Object===Object&&global,si=typeof self=="object"&&self&&self.Object===Object&&self,oi=ri||si||Function("return this")(),ai=Object.prototype,ci=ai.toString,li=Math.max,ui=Math.min,Oe=function(){return oi.Date.now()};function di(e,t,n){var i,r,s,o,a,u,l=0,f=!1,y=!1,g=!0;if(typeof e!="function")throw new TypeError(mt);t=pt(t)||0,me(n)&&(f=!!n.leading,y="maxWait"in n,s=y?li(pt(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g);function L(b){var C=i,D=r;return i=r=void 0,l=b,o=e.apply(D,C),o}function S(b){return l=b,a=setTimeout(p,t),f?L(b):o}function T(b){var C=b-u,D=b-l,V=t-C;return y?ui(V,s-D):V}function m(b){var C=b-u,D=b-l;return u===void 0||C>=t||C<0||y&&D>=s}function p(){var b=Oe();if(m(b))return _(b);a=setTimeout(p,T(b))}function _(b){return a=void 0,g&&i?L(b):(i=r=void 0,o)}function w(){a!==void 0&&clearTimeout(a),l=0,i=u=r=a=void 0}function N(){return a===void 0?o:_(Oe())}function Q(){var b=Oe(),C=m(b);if(i=arguments,r=this,u=b,C){if(a===void 0)return S(u);if(y)return a=setTimeout(p,t),L(u)}return a===void 0&&(a=setTimeout(p,t)),o}return Q.cancel=w,Q.flush=N,Q}function fi(e,t,n){var i=!0,r=!0;if(typeof e!="function")throw new TypeError(mt);return me(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),di(e,t,{leading:i,maxWait:t,trailing:r})}function me(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function hi(e){return!!e&&typeof e=="object"}function pi(e){return typeof e=="symbol"||hi(e)&&ci.call(e)==Xn}function pt(e){if(typeof e=="number")return e;if(pi(e))return ht;if(me(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=me(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Zn,"");var n=ti.test(e);return n||ni.test(e)?ii(e.slice(2),n?2:8):ei.test(e)?ht:+e}gt.exports=fi});var $t=nt((Vt,jt)=>{(function(){var e=function(t){var n=new e.Builder;return n.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),n.searchPipeline.add(e.stemmer),t.call(n,n),n.build()};e.version="2.3.9";e.utils={},e.utils.warn=function(t){return function(n){t.console&&console.warn&&console.warn(n)}}(this),e.utils.asString=function(t){return t==null?"":t.toString()},e.utils.clone=function(t){if(t==null)return t;for(var n=Object.create(null),i=Object.keys(t),r=0;r0){var f=e.utils.clone(n)||{};f.position=[a,l],f.index=s.length,s.push(new e.Token(i.slice(a,o),f))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/;e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,n){n in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+n),t.label=n,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var n=t.label&&t.label in this.registeredFunctions;n||e.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. `,t)},e.Pipeline.load=function(t){var n=new e.Pipeline;return t.forEach(function(i){var r=e.Pipeline.registeredFunctions[i];if(r)n.add(r);else throw new Error("Cannot load unregistered function: "+i)}),n},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(n){e.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},e.Pipeline.prototype.after=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i=i+1,this._stack.splice(i,0,n)},e.Pipeline.prototype.before=function(t,n){e.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},e.Pipeline.prototype.remove=function(t){var n=this._stack.indexOf(t);n!=-1&&this._stack.splice(n,1)},e.Pipeline.prototype.run=function(t){for(var n=this._stack.length,i=0;i1&&(ot&&(i=s),o!=t);)r=i-n,s=n+Math.floor(r/2),o=this.elements[s*2];if(o==t||o>t)return s*2;if(ou?f+=2:a==u&&(n+=i[l+1]*r[f+1],l+=2,f+=2);return n},e.Vector.prototype.similarity=function(t){return this.dot(t)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var t=new Array(this.elements.length/2),n=1,i=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new e.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),r.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),r.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&r.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),r.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var f=s.str.charAt(0),y=s.str.charAt(1),g;y in s.node.edges?g=s.node.edges[y]:(g=new e.TokenSet,s.node.edges[y]=g),s.str.length==1&&(g.final=!0),r.push({node:g,editsRemaining:s.editsRemaining-1,str:f+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var n=new e.TokenSet,i=n,r=0,s=t.length;r=t;n--){var i=this.uncheckedNodes[n],r=i.child.toString();r in this.minimizedNodes?i.parent.edges[i.char]=this.minimizedNodes[r]:(i.child._str=r,this.minimizedNodes[r]=i.child),this.uncheckedNodes.pop()}};e.Index=function(t){this.invertedIndex=t.invertedIndex,this.fieldVectors=t.fieldVectors,this.tokenSet=t.tokenSet,this.fields=t.fields,this.pipeline=t.pipeline},e.Index.prototype.search=function(t){return this.query(function(n){var i=new e.QueryParser(t,n);i.parse()})},e.Index.prototype.query=function(t){for(var n=new e.Query(this.fields),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=t},e.Builder.prototype.k1=function(t){this._k1=t},e.Builder.prototype.add=function(t,n){var i=t[this._ref],r=Object.keys(this._fields);this._documents[i]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,n;do t=this.next(),n=t.charCodeAt(0);while(n>47&&n<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var n=t.next();if(n==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){t.escapeCharacter();continue}if(n==":")return e.QueryLexer.lexField;if(n=="~")return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if(n=="^")return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if(n=="+"&&t.width()===1||n=="-"&&t.width()===1)return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(n.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}},e.QueryParser=function(t,n){this.lexer=new e.QueryLexer(t),this.query=n,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var t=this.peekLexeme();return this.lexemeIdx+=1,t},e.QueryParser.prototype.nextClause=function(){var t=this.currentClause;this.query.clause(t),this.currentClause={}},e.QueryParser.parseClause=function(t){var n=t.peekLexeme();if(n!=null)switch(n.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(i+=" with value '"+n.str+"'"),new e.QueryParseError(i,n.start,n.end)}},e.QueryParser.parsePresence=function(t){var n=t.consumeLexeme();if(n!=null){switch(n.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+n.str+"'";throw new e.QueryParseError(i,n.start,n.end)}var r=t.peekLexeme();if(r==null){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,n.start,n.end)}switch(r.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+r.type+"'";throw new e.QueryParseError(i,r.start,r.end)}}},e.QueryParser.parseField=function(t){var n=t.consumeLexeme();if(n!=null){if(t.query.allFields.indexOf(n.str)==-1){var i=t.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),r="unrecognised field '"+n.str+"', possible fields: "+i;throw new e.QueryParseError(r,n.start,n.end)}t.currentClause.fields=[n.str];var s=t.peekLexeme();if(s==null){var r="expecting term, found nothing";throw new e.QueryParseError(r,n.start,n.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var r="expecting term, found '"+s.type+"'";throw new e.QueryParseError(r,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var n=t.consumeLexeme();if(n!=null){t.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(i==null){t.nextClause();return}switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(r,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var n=t.consumeLexeme();if(n!=null){var i=parseInt(n.str,10);if(isNaN(i)){var r="edit distance must be numeric";throw new e.QueryParseError(r,n.start,n.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(s==null){t.nextClause();return}switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(r,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var n=t.consumeLexeme();if(n!=null){var i=parseInt(n.str,10);if(isNaN(i)){var r="boost must be numeric";throw new e.QueryParseError(r,n.start,n.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(s==null){t.nextClause();return}switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(r,s.start,s.end)}}},function(t,n){typeof define=="function"&&define.amd?define(n):typeof Vt=="object"?jt.exports=n():t.lunr=n()}(this,function(){return e})})()});Handlebars.registerHelper("groupChanged",function(e,t,n){let i=t||"";if(e.group!==i)return delete e.nestedContext,e.group=i,n.fn(this)});Handlebars.registerHelper("nestingChanged",function(e,t,n){if(t.nested_context&&t.nested_context!==e.nestedContext){if(e.nestedContext=t.nested_context,e.lastModuleSeenInGroup!==t.nested_context)return n.fn(this)}else e.lastModuleSeenInGroup=t.title});Handlebars.registerHelper("showSections",function(e,t){if(e.sections.length>0)return t.fn(this)});Handlebars.registerHelper("showSummary",function(e,t){if(e.nodeGroups)return t.fn(this)});Handlebars.registerHelper("isArray",function(e,t){return Array.isArray(e)?t.fn(this):t.inverse(this)});Handlebars.registerHelper("isNonEmptyArray",function(e,t){return Array.isArray(e)&&e.length>0?t.fn(this):t.inverse(this)});Handlebars.registerHelper("isEmptyArray",function(e,t){return Array.isArray(e)&&e.length===0?t.fn(this):t.inverse(this)});Handlebars.registerHelper("isLocal",function(e,t){let n=window.location.pathname.split("/").pop();return e+".html"===n?t.fn(this):t.inverse(this)});var c=document.querySelector.bind(document),k=document.querySelectorAll.bind(document);function rt(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function fe(e){return String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}function se(){return document.body.dataset.type}function st(e,t){if(!!e){for(let n of e){let i=n.nodeGroups&&n.nodeGroups.find(r=>r.nodes.some(s=>s.anchor===t));if(i)return i.key}return null}}function he(){return window.location.hash.replace(/^#/,"")}function ot(e){return new URLSearchParams(window.location.search).get(e)}function at(e){return fetch(e).then(t=>t.ok).catch(()=>!1)}function ct(e){document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e)}function J(e){return!e||e.trim()===""}function lt(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>{n=null,e(...r)},t)}}function pe(){return document.head.querySelector("meta[name=project][content]").content}var ut="ex_doc:settings",jn={tooltips:!0,theme:null,livebookUrl:null},Ie=class{constructor(){this._subscribers=[],this._settings=jn,this._loadSettings()}get(){return this._settings}update(t){let n=this._settings;this._settings={...this._settings,...t},this._subscribers.forEach(i=>i(this._settings,n)),this._storeSettings()}getAndSubscribe(t){this._subscribers.push(t),t(this._settings)}_loadSettings(){try{let t=localStorage.getItem(ut);if(t){let n=JSON.parse(t);this._settings={...this._settings,...n}}this._loadSettingsLegacy()}catch(t){console.error(`Failed to load settings: ${t}`)}}_storeSettings(){try{this._storeSettingsLegacy(),localStorage.setItem(ut,JSON.stringify(this._settings))}catch(t){console.error(`Failed to persist settings: ${t}`)}}_loadSettingsLegacy(){localStorage.getItem("tooltipsDisabled")!==null&&(this._settings={...this._settings,tooltips:!1}),localStorage.getItem("night-mode")==="true"&&(this._settings={...this._settings,nightMode:!0}),this._settings.nightMode===!0&&(this._settings={...this._settings,theme:"dark"})}_storeSettingsLegacy(){this._settings.tooltips?localStorage.removeItem("tooltipsDisabled"):localStorage.setItem("tooltipsDisabled","true"),this._settings.nightMode!==null?localStorage.setItem("night-mode",this._settings.nightMode===!0?"true":"false"):localStorage.removeItem("night-mode"),this._settings.theme!==null?(localStorage.setItem("night-mode",this._settings.theme==="dark"?"true":"false"),this._settings.nightMode=this._settings.theme==="dark"):(delete this._settings.nightMode,localStorage.removeItem("night-mode"))}},I=new Ie;var $n=".content",dt=".content-inner",Un=".livebook-badge";function ft(){qn(),Gn(),Kn(),Wn()}function qn(){c($n).querySelectorAll("a").forEach(e=>{e.querySelector("code, img")&&e.classList.add("no-underline")})}function Wn(){["warning","info","error","neutral","tip"].forEach(t=>{k(`blockquote h3.${t}, blockquote h4.${t}`).forEach(n=>{n.closest("blockquote").classList.add(t)})})}function Gn(){c(dt).setAttribute("tabindex",-1),c(dt).focus()}function Kn(){let t=window.location.pathname.replace(/\.html$/,".livemd"),n=new URL(t,window.location.href).toString();I.getAndSubscribe(i=>{let r=i.livebookUrl?Jn(i.livebookUrl,n):Yn(n);for(let s of k(Un))s.href=r})}function Yn(e){return`https://livebook.dev/run?url=${encodeURIComponent(e)}`}function Jn(e,t){return`${e}/import?url=${encodeURIComponent(t)}`}var vt=it(yt());var mi=768,St=300,gi=".sidebar-toggle",yi=".content",H={CLOSED:"closed",OPEN:"open",NO_PREF:"no_pref"},F={opened:"sidebar-opened",opening:"sidebar-opening",closed:"sidebar-closed",closing:"sidebar-closing"},vi=Object.values(F),P={togglingTimeout:null,lastWindowWidth:window.innerWidth,sidebarPreference:H.NO_PREF};function bt(){xt(),Si()}function xt(){if(sessionStorage.getItem("sidebar_state")==="closed")return X(F.closed);X(Et()?F.closed:F.opened)}function Et(){return window.matchMedia(`screen and (max-width: ${mi}px)`).matches}function X(...e){document.body.classList.remove(...vi),document.body.classList.add(...e)}function Si(){c(gi).addEventListener("click",e=>{Ce(),Ei()}),c(yi).addEventListener("click",e=>{xi()}),window.addEventListener("resize",(0,vt.default)(e=>{bi()},100))}function Ce(){return Pe()?Lt():Ae()}function Pe(){return document.body.classList.contains(F.opened)||document.body.classList.contains(F.opening)}function Ae(){return Tt(),X(F.opening),sessionStorage.setItem("sidebar_state","opened"),new Promise((e,t)=>{P.togglingTimeout=setTimeout(()=>{X(F.opened),e()},St)})}function Lt(){return Tt(),X(F.closing),sessionStorage.setItem("sidebar_state","closed"),new Promise((e,t)=>{P.togglingTimeout=setTimeout(()=>{X(F.closed),e()},St)})}function Tt(){P.togglingTimeout&&(clearTimeout(P.togglingTimeout),P.togglingTimeout=null)}function bi(){P.lastWindowWidth!==window.innerWidth&&(P.lastWindowWidth=window.innerWidth,(P.sidebarPreference===H.OPEN||P.sidebarPreference===H.NO_PREF)&&xt())}function xi(){Et()&&Pe()&&Lt()}function Ei(){switch(P.sidebarPreference){case H.OPEN:P.sidebarPreference=H.CLOSED;break;case H.CLOSED:P.sidebarPreference=H.OPEN;break;case H.NO_PREF:Pe()?P.sidebarPreference=H.OPEN:P.sidebarPreference=H.CLOSED}}function Z(){return window.sidebarNodes||{}}function wt(){return window.versionNodes||[]}var Re={search:"search",extras:"extras",modules:"modules",tasks:"tasks"},kt=[Re.extras,Re.modules,Re.tasks],ge="#full-list";function _t(){It(Z(),se()),Ct(),Ot(),Ti()}function It(e,t){let n=e[t]||[],i=c(ge),r=Handlebars.templates["sidebar-items"]({nodes:n,group:""});i.innerHTML=r,Li(t),i.querySelectorAll("ul").forEach(s=>{if(s.innerHTML.trim()===""){let o=s.previousElementSibling;o.classList.contains("expand")&&o.classList.remove("expand"),s.remove()}}),i.querySelectorAll("li a").forEach(s=>{s.addEventListener("click",o=>{let a=o.target,u=a.closest("li"),l=i.querySelector(".current-section");if(a.matches(".icon-expand")){o.preventDefault(),u.classList.toggle("open");return}l&&l.classList.remove("current-section"),s.matches(".expand")&&s.pathname===window.location.pathname&&u.classList.add("open")})})}function Li(e){kt.forEach(t=>{let n=c(`#${t}-list-link`);n&&n.parentElement.classList.toggle("selected",t===e)})}function Ot(){let e=c(ge),t=e.querySelector("li.current-page");t&&(t.scrollIntoView(),e.scrollTop-=40)}function Ct(){let e=he()||"content",n=Z()[se()]||[],i=st(n,e),r=c(ge),s=r.querySelector(`li.current-page a.expand[href$="#${i}"]`);s&&s.closest("li").classList.add("open");let o=r.querySelector(`li.current-page a[href$="#${e}"]`);if(o){let a=o.closest("ul");a.classList.contains("deflist")&&a.closest("li").classList.add("current-section"),o.closest("li").classList.add("current-hash")}}function Ti(){kt.forEach(e=>{let t=c(`#${e}-list-link`);t&&t.addEventListener("click",n=>{n.preventDefault(),It(Z(),e),Ot()})}),window.addEventListener("hashchange",e=>{let n=c(ge).querySelector("li.current-page li.current-hash");n&&n.classList.remove("current-hash"),Ct()})}var M={module:"module",moduleChild:"module-child",mixTask:"mix-task",extra:"extra",section:"section"};function At(e,t=5){if(J(e))return[];let n=Z(),i=[...Ne(n.modules,e,M.module),...wi(n.modules,e,M.moduleChild),...Ne(n.tasks,e,M.mixTask),...Ne(n.extras,e,M.extra),...Qe(n.modules,e,M.section),...Qe(n.tasks,e,M.section),...Qe(n.extras,e,M.section)].filter(r=>r!==null);return Ai(i).slice(0,t)}function Ne(e,t,n){return e.map(i=>_i(i,t,n))}function wi(e,t,n){return e.filter(i=>i.nodeGroups).flatMap(i=>i.nodeGroups.flatMap(({key:r,nodes:s})=>{let o=Pi(r);return s.map(a=>Ii(a,i.id,t,n,o)||Ci(a,i.id,t,n,o))}))}function Qe(e,t,n){return e.flatMap(i=>ki(i).map(r=>Oi(i,r,t,n)))}function ki(e){return(e.sections||[]).concat(e.headers||[])}function _i(e,t,n){return De(e.title,t)?{link:`${e.id}.html`,title:be(e.title,t),label:null,description:null,matchQuality:ve(e.title,t),deprecated:e.deprecated,category:n}:null}function Ii(e,t,n,i,r){return De(e.id,n)?{link:`${t}.html#${e.anchor}`,title:be(e.id,n),label:r,description:t,matchQuality:ve(e.id,n),deprecated:e.deprecated,category:i}:null}function Oi(e,t,n,i){return Rt(t.id,n)?{link:`${e.id}.html#${t.anchor}`,title:be(t.id,n),label:null,description:e.title,matchQuality:ve(t.id,n),category:i}:null}function Ci(e,t,n,i,r){let s=`${t}.${e.id}`;if(!De(s,n))return null;let o=n.replace(/\./g," ");return Rt(e.id,o)?{link:`${t}.html#${e.anchor}`,title:be(e.id,o),label:r,description:t,matchQuality:ve(s,n),deprecated:e.deprecated,category:i}:null}function Pi(e){switch(e){case"callbacks":return"callback";case"types":return"type";default:return null}}function Ai(e){return e.slice().sort((t,n)=>t.matchQuality!==n.matchQuality?n.matchQuality-t.matchQuality:Pt(t.category)-Pt(n.category))}function Pt(e){switch(e){case M.module:return 1;case M.moduleChild:return 2;case M.mixTask:return 3;default:return 4}}function Rt(e,t){return Se(t).some(i=>Nt(e,i))}function De(e,t){return Se(t).every(i=>Nt(e,i))}function Nt(e,t){return e.toLowerCase().includes(t.toLowerCase())}function ve(e,t){let n=Se(t),r=n.map(o=>o.length).reduce((o,a)=>o+a,0)/e.length,s=Ri(e,n[0])?1:0;return r+s}function Ri(e,t){return e.toLowerCase().startsWith(t.toLowerCase())}function Se(e){return e.trim().split(/\s+/)}function be(e,t){let n=Se(t).sort((i,r)=>r.length-i.length);return ye(e,n)}function ye(e,t){if(t.length===0)return e;let[n,...i]=t,r=e.match(new RegExp(`(.*)(${rt(n)})(.*)`,"i"));if(r){let[,s,o,a]=r;return ye(s,t)+""+fe(o)+""+ye(a,t)}else return ye(e,i)}var ee=".autocomplete",xe=".autocomplete-suggestion",B={autocompleteSuggestions:[],selectedIdx:-1};function Ni(){c(ee).classList.add("shown")}function He(){c(ee).classList.remove("shown")}function Qt(){return c(ee).classList.contains("shown")}function Fe(e){B.autocompleteSuggestions=At(e),B.selectedIdx=-1,J(e)?He():(Qi({term:e,suggestions:B.autocompleteSuggestions}),Ee(0),Ni())}function Qi({term:e,suggestions:t}){let n=Handlebars.templates["autocomplete-suggestions"]({suggestions:t,term:e}),i=c(ee);i.innerHTML=n}function Dt(){return B.selectedIdx===-1?null:B.autocompleteSuggestions[B.selectedIdx]}function Ee(e){B.selectedIdx=Di(e);let t=c(`${xe}.selected`),n=c(`${xe}[data-index="${B.selectedIdx}"]`);t&&t.classList.remove("selected"),n&&n.classList.add("selected")}function Di(e){let t=B.autocompleteSuggestions.length+1;return(B.selectedIdx+e+1+t)%t-1}var oe="form.sidebar-search input",Hi="form.sidebar-search .search-close-button";function Ht(){Fi()}function Ft(e){let t=c(oe);t.value=e}function Mt(){c(oe).focus()}function Fi(){let e=c(oe);e.addEventListener("keydown",t=>{t.key==="Escape"?(Le(),e.blur()):t.key==="Enter"?Mi(t):t.key==="ArrowUp"?(Ee(-1),t.preventDefault()):t.key==="ArrowDown"&&(Ee(1),t.preventDefault())}),e.addEventListener("input",t=>{Fe(t.target.value)}),e.addEventListener("focus",t=>{document.body.classList.add("search-focused"),Fe(t.target.value)}),e.addEventListener("blur",t=>{let n=t.relatedTarget;if(n){if(n.matches(xe))return setTimeout(()=>{Qt()&&e.focus()},1e3),null;n.matches(Hi)&&Le()}Me()}),c(ee).addEventListener("click",t=>{t.shiftKey||t.ctrlKey?e.focus():(Le(),Me())})}function Mi(e){let t=c(oe),n=e.shiftKey||e.ctrlKey,i=Dt();e.preventDefault();let r=n?"_blank":"_self",s=document.createElement("a");s.setAttribute("target",r),i?s.setAttribute("href",i.link):s.setAttribute("href",`search.html?q=${encodeURIComponent(t.value)}`),s.click(),n||(Le(),Me())}function Le(){let e=c(oe);e.value=""}function Me(){document.body.classList.remove("search-focused"),He()}var Bt=".sidebar-projectVersion",Bi=".sidebar-projectVersionsDropdown";function zt(){let e=wt();if(e.length>0){let n=c(Bt).textContent.trim(),i=Vi(e,n);zi({nodes:i})}}function zi({nodes:e}){let t=c(Bt),n=Handlebars.templates["versions-dropdown"]({nodes:e});t.innerHTML=n,c(Bi).addEventListener("change",$i)}function Vi(e,t){return ji(e,t).map(i=>({...i,isCurrentVersion:i.version===t}))}function ji(e,t){return e.some(i=>i.version===t)?e:[{version:t,url:"#"},...e]}function $i(e){let t=e.target.value,n=window.location.pathname.split("/").pop()+window.location.hash,i=`${t}/${n}`;at(i).then(r=>{r?window.location.href=i:window.location.href=t})}var O=it($t());var Te=80,Ui="#search";function qt(){if(window.location.pathname.endsWith("/search.html")){let e=ot("q");qi(e)}}async function qi(e){if(J(e))Be({value:e});else{Ft(e);let t=await Wi();try{let n=rr(t.search(e));Be({value:e,results:n})}catch(n){Be({value:e,errorMessage:n.message})}}}function Be({value:e,results:t,errorMessage:n}){let i=c(Ui),r=Handlebars.templates["search-results"]({value:e,results:t,errorMessage:n});i.innerHTML=r}async function Wi(){O.default.QueryLexer.termSeparator=/\s+/,O.default.Pipeline.registerFunction(ze,"elixirTokenSplitter"),O.default.Pipeline.registerFunction(Ve,"elixirTrimmer"),O.default.Pipeline.registerFunction(je,"hyphenSearch");let e=await Gi();if(e)return e;let t=er();return Ki(t),t}async function Gi(){try{let e=sessionStorage.getItem(Wt());if(e){let t=await Ji(e);return O.default.Index.load(t)}else return null}catch(e){return console.error("Failed to load index: ",e),null}}async function Ki(e){try{let t=await Yi(e);sessionStorage.setItem(Wt(),t)}catch(t){console.error("Failed to save index: ",t)}}async function Yi(e){let t=new Blob([JSON.stringify(e)],{type:"application/json"}).stream().pipeThrough(new window.CompressionStream("gzip")),i=await(await new Response(t).blob()).arrayBuffer();return Xi(i)}async function Ji(e){let t=new Blob([Zi(e)],{type:"application/json"}).stream().pipeThrough(new window.DecompressionStream("gzip")),n=await new Response(t).text();return JSON.parse(n)}function Xi(e){let t="",n=new Uint8Array(e),i=n.byteLength;for(let r=0;r{this.add(e)})})}function tr(e){e.pipeline.before(O.default.stemmer,ze),e.searchPipeline.before(O.default.stemmer,ze)}function ze(e){let t=e.toString().split(/\.|\/|_/).map(n=>e.clone().update(()=>n));return t.length>1?[...t,e]:t}function nr(e){e.pipeline.after(O.default.stemmer,Ve),e.searchPipeline.after(O.default.stemmer,Ve)}function Ve(e){return e.update(function(t){return t.replace(/^@?\W+/,"").replace(/\W+$/,"")})}function je(e){if(e.toString().indexOf("-")<0)return e;let n=[];return n.push(e.clone(function(i){return i.replace("-","")})),n.push(e),n}function ir(e){e.pipeline.before(O.default.stemmer,je),e.searchPipeline.before(O.default.stemmer,je)}function rr(e){return e.filter(t=>Ut(t.ref)).map(t=>{let n=Ut(t.ref),i=t.matchData.metadata;return{...n,metadata:i,excerpts:sr(n,i)}})}function Ut(e){return searchData.items.find(t=>t.ref===e)||null}function sr(e,t){let{doc:n}=e,r=Object.keys(t).filter(s=>"doc"in t[s]).map(s=>t[s].doc.position.map(([o,a])=>or(n,o,a))).reduce((s,o)=>s.concat(o),[]);return r.length===0?[n.slice(0,Te*2)+(Te*20?"...":"",e.slice(i,t),""+fe(e.slice(t,t+n))+"",e.slice(t+n,r),r{clearTimeout(we),e.target.classList.remove("show")})}function $e(e){q&&(clearTimeout(we),q.innerText=e,q.classList.add("show"),we=setTimeout(()=>{q.classList.remove("show"),we=setTimeout(function(){q.innerText=""},1e3)},5e3))}var Kt="dark",Ue=["system","dark","light"];function Yt(){I.getAndSubscribe(e=>{document.body.classList.toggle(Kt,Xt(e))}),cr()}function Jt(){let t=I.get().theme||"system",n=Ue[Ue.indexOf(t)+1]||Ue[0];I.update({theme:n}),$e(`Set theme to "${n}"`)}function Xt(e){return e.theme==="dark"||ar()&&(e.theme==null||e.theme==="system")}function ar(){return window.matchMedia("(prefers-color-scheme: dark)").matches}function cr(){window.matchMedia("(prefers-color-scheme: dark)").addListener(e=>{let t=I.get(),n=Xt(t);(t.theme==null||t.theme==="system")&&(document.body.classList.toggle(Kt,n),$e(`Browser changed theme to "${n?"dark":"light"}"`))})}var lr="hll";function en(){ur()}function ur(){k("[data-group-id]").forEach(t=>{let n=t.getAttribute("data-group-id");t.addEventListener("mouseenter",i=>{Zt(n,!0)}),t.addEventListener("mouseleave",i=>{Zt(n,!1)})})}function Zt(e,t){k(`[data-group-id="${e}"]`).forEach(i=>{i.classList.toggle(lr,t)})}var te="#modal",dr="#modal .modal-close",fr="#modal .modal-title",hr="#modal .modal-body",tn='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',z={prevFocus:null,lastFocus:null,ignoreFocusChanges:!1};function nn(){pr()}function pr(){let e=Handlebars.templates["modal-layout"]();document.body.insertAdjacentHTML("beforeend",e),c(te).addEventListener("keydown",t=>{t.key==="Escape"&&ae()}),c(dr).addEventListener("click",t=>{ae()})}function rn(e){if(z.ignoreFocusChanges)return;let t=c(te);if(t.contains(e.target))z.lastFocus=e.target;else{z.ignoreFocusChanges=!0;let n=mr(t);z.lastFocus===n?gr(t).focus():n.focus(),z.ignoreFocusChanges=!1,z.lastFocus=document.activeElement}}function mr(e){return e.querySelector(tn)}function gr(e){let t=e.querySelectorAll(tn);return t[t.length-1]}function ke({title:e,body:t}){z.prevFocus=document.activeElement,document.addEventListener("focus",rn,!0),c(fr).innerHTML=e,c(hr).innerHTML=t,c(te).classList.add("shown"),c(te).focus()}function ae(){c(te).classList.remove("shown"),document.addEventListener("focus",rn,!0),z.prevFocus&&z.prevFocus.focus(),z.prevFocus=null}function sn(){return c(te).classList.contains("shown")}var yr="https://hexdocs.pm/%%",vr="https://hex.pm/api/packages?search=name:%%*",Sr=".display-quick-switch",qe="#quick-switch-input",an="#quick-switch-results",br=".quick-switch-result",xr=300,Er=9,Lr=["elixir","eex","ex_unit","hex","iex","logger","mix"].map(e=>({name:e})),cn=2,A={autocompleteResults:[],selectedIdx:null};function ln(){Tr()}function Tr(){k(Sr).forEach(e=>{e.addEventListener("click",t=>{Ge()})})}function wr(e){if(e.key==="Enter"){let t=e.target.value;_r(t),e.preventDefault()}else e.key==="ArrowUp"?(on(-1),e.preventDefault()):e.key==="ArrowDown"&&(on(1),e.preventDefault())}function kr(e){let t=e.target.value;if(t.lengthn.json()).then(n=>{Array.isArray(n)&&(A.autocompleteResults=Pr(e,n),A.selectedIdx=null,c(qe).value.length>=cn&&Cr({results:A.autocompleteResults}))})}function Cr({results:e}){let t=c(an),n=Handlebars.templates["quick-switch-results"]({results:e});t.innerHTML=n,k(br).forEach(i=>{i.addEventListener("click",r=>{let s=i.getAttribute("data-index"),o=A.autocompleteResults[s];We(o.name)})})}function Pr(e,t){return Lr.concat(t).filter(n=>n.name.toLowerCase().includes(e.toLowerCase())).filter(n=>n.releases===void 0||n.releases[0].has_docs===!0).slice(0,Er)}function on(e){A.selectedIdx=Ar(e);let t=c(".quick-switch-result.selected"),n=c(`.quick-switch-result[data-index="${A.selectedIdx}"]`);t&&t.classList.remove("selected"),n&&n.classList.add("selected")}function Ar(e){let t=A.autocompleteResults.length;if(A.selectedIdx===null){if(e>=0)return 0;if(e<0)return t-1}return(A.selectedIdx+e+t)%t}var Rr=".display-settings",Nr="#settings-modal-content",Ke="#modal-settings-tab",Ye="#modal-keyboard-shortcuts-tab",dn="#settings-content",fn="#keyboard-shortcuts-content",Qr=[{title:"Settings",id:"modal-settings-tab"},{title:"Keyboard shortcuts",id:"modal-keyboard-shortcuts-tab"}];function hn(){Dr()}function Dr(){k(Rr).forEach(e=>{e.addEventListener("click",t=>{Je()})})}function un(){c(Ye).classList.remove("active"),c(Ke).classList.add("active"),c(dn).classList.remove("hidden"),c(fn).classList.add("hidden")}function Hr(){c(Ye).classList.add("active"),c(Ke).classList.remove("active"),c(fn).classList.remove("hidden"),c(dn).classList.add("hidden")}function Je(){ke({title:Qr.map(({id:s,title:o})=>``).join(""),body:Handlebars.templates["settings-modal-body"]({shortcuts:Xe})});let e=c(Nr),t=e.querySelector('[name="theme"]'),n=e.querySelector('[name="tooltips"]'),i=e.querySelector('[name="direct_livebook_url"]'),r=e.querySelector('[name="livebook_url"]');I.getAndSubscribe(s=>{t.value=s.theme||"system",n.checked=s.tooltips,s.livebookUrl===null?(i.checked=!1,r.classList.add("hidden"),r.tabIndex=-1):(i.checked=!0,r.classList.remove("hidden"),r.tabIndex=0,r.value=s.livebookUrl)}),t.addEventListener("change",s=>{I.update({theme:s.target.value})}),n.addEventListener("change",s=>{I.update({tooltips:s.target.checked})}),i.addEventListener("change",s=>{let o=s.target.checked?r.value:null;I.update({livebookUrl:o})}),r.addEventListener("input",s=>{I.update({livebookUrl:s.target.value})}),c(Ke).addEventListener("click",s=>{un()}),c(Ye).addEventListener("click",s=>{Hr()}),un()}var Fr="#settings-modal-content",Xe=[{key:"c",description:"Toggle sidebar",action:Ce},{key:"n",description:"Cycle themes",action:Jt},{key:"s",description:"Focus search bar",displayAs:"/ or s",action:pn},{key:"/",action:pn},{key:"g",description:"Search HexDocs package",displayAs:"g",action:Ge},{key:"?",displayAs:"?",description:"Bring up this modal",action:Vr}],Ze={shortcutBeingPressed:null};function mn(){Mr()}function Mr(){document.addEventListener("keydown",Br),document.addEventListener("keyup",zr)}function Br(e){if(Ze.shortcutBeingPressed||e.target.matches("input, textarea")||e.ctrlKey||e.metaKey||e.altKey)return;let t=Xe.find(n=>n.key===e.key);!t||(Ze.shortcutBeingPressed=t,e.preventDefault(),t.action(e))}function zr(e){Ze.shortcutBeingPressed=null}function pn(e){ae(),Ae(),Mt()}function Vr(){jr()?ae():Je()}function jr(){return sn()&&c(Fr)}var W={plain:"plain",function:"function",module:"module"},$r=[{href:"typespecs.html#basic-types",hint:{kind:W.plain,description:"Basic type"}},{href:"typespecs.html#literals",hint:{kind:W.plain,description:"Literal"}},{href:"typespecs.html#built-in-types",hint:{kind:W.plain,description:"Built-in type"}}],_e={cancelHintFetching:null};function gn(e){if(vn(e))return!0;let t=/#.*\//;return e.includes("#")&&!t.test(e)?!1:e.includes(".html")}function yn(e){let t=vn(e);return t?Promise.resolve(t):Ur(e)}function vn(e){let t=$r.find(n=>e.includes(n.href));return t?t.hint:null}function Ur(e){let t=e.replace(".html",".html?hint=true");return new Promise((n,i)=>{let r=document.createElement("iframe");r.setAttribute("sandbox","allow-scripts allow-same-origin"),r.setAttribute("src",t),r.style.display="none";function s(a){let{href:u,hint:l}=a.data;t===u&&(o(),n(l))}_e.cancelHintFetching=()=>{o(),i(new Error("cancelled"))};function o(){r.remove(),window.removeEventListener("message",s),_e.cancelHintFetching=null}window.addEventListener("message",s),document.body.appendChild(r)})}function Sn(){_e.cancelHintFetching&&_e.cancelHintFetching()}function bn(e){let n=e.querySelector("h1").textContent,i=e.querySelector(".docstring > p"),r=i?i.innerHTML:"";return{kind:W.function,title:n.trim(),description:r.trim()}}function xn(e){let n=e.querySelector("h1 > span").textContent,i=e.querySelector("#moduledoc p"),r=i?i.innerHTML:"";return{kind:W.module,title:n.trim(),description:r.trim()}}var qr=".content a",et="#tooltip",Wr="#tooltip .tooltip-body",Ln="body .content-inner",Gr="#content",Tn="tooltip-shown",ce=10,Kr=ce*4,En={height:450,width:768},Yr=100,ne={currentLinkElement:null,hoverDelayTimeout:null};function wn(){Jr(),Xr()}function Jr(){let e=Handlebars.templates["tooltip-layout"]();c(Ln).insertAdjacentHTML("beforeend",e)}function Xr(){k(qr).forEach(e=>{!Zr(e)||(e.addEventListener("mouseenter",t=>{ts(e)}),e.addEventListener("mouseleave",t=>{ss(e)}))})}function Zr(e){return!(e.classList.contains("detail-link")||es(e.href)||!gn(e.href))}function es(e){let t=e.replace(Gr,"");return window.location.href.split("#")[0]===t}function ts(e){!ns()||(ne.currentLinkElement=e,ne.hoverDelayTimeout=setTimeout(()=>{yn(e.href).then(t=>{is(t),rs()}).catch(()=>{})},Yr))}function ns(){let e=window.innerWidthe.firstElementChild&&e.firstElementChild.tagName==="CODE").forEach(e=>e.insertAdjacentHTML("beforeend",ms)),Array.from(k(".copy-button")).forEach(e=>{let t;e.addEventListener("click",()=>{t&&clearTimeout(t);let n=Array.from(e.parentElement.querySelector("code").childNodes).filter(i=>!(i.tagName==="SPAN"&&i.classList.contains("unselectable"))).map(i=>i.textContent).join("");navigator.clipboard.writeText(n),e.classList.add("clicked"),t=setTimeout(()=>e.classList.remove("clicked"),3e3)})})}function Cn(){let t=/(Macintosh|iPhone|iPad|iPod)/.test(window.navigator.userAgent)?"apple-os":"non-apple-os";document.documentElement.classList.add(t)}var ys="content",vs="tabs-open",Ss="tabs-close",bs="H3",xs="tabset";function An(){Es().map(Ls).forEach(n=>ks(n))}function Es(){let e=document.createNodeIterator(document.getElementById(ys),NodeFilter.SHOW_COMMENT,{acceptNode(i){return i.nodeValue.trim()===vs?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),t=[],n;for(;n=e.nextNode();)t.push(n);return t}function Ls(e,t,n){let i=[],r=[],s={label:"",content:[]};for(;e=e.nextSibling;){if(Ts(e)){Pn(s,r,t);break}i.push(e),e.nodeName===bs?(Pn(s,r,t),s.label=e.innerText,s.content=[]):s.content.push(e.outerHTML)}let o=document.createElement("div");return o.className=xs,ws(i,o),o.innerHTML=Handlebars.templates.tabset({tabs:r}),o}function Ts(e){return e.nodeName==="#comment"&&e.nodeValue.trim()===Ss}function Pn(e,t,n){if(e.label===""&&!e.content.length)return!1;let i=e.label,r=e.content;t.push({label:i,content:r,setIndex:n})}function ws(e,t){if(!e||!e.length)return!1;e[0].parentNode.insertBefore(t,e[0]),e.forEach(n=>t.appendChild(n))}function ks(e){let t={tabs:e.querySelectorAll(':scope [role="tab"]'),panels:e.querySelectorAll(':scope [role="tabpanel"]'),activeIndex:0};t.tabs.forEach((n,i)=>{n.addEventListener("click",r=>{G(i,t)}),n.addEventListener("keydown",r=>{let s=t.tabs.length-1;r.code==="ArrowLeft"?(r.preventDefault(),t.activeIndex===0?G(s,t):G(t.activeIndex-1,t)):r.code==="ArrowRight"?(r.preventDefault(),t.activeIndex===s?G(0,t):G(t.activeIndex+1,t)):r.code==="Home"?(r.preventDefault(),G(0,t)):r.code==="End"&&(r.preventDefault(),G(s,t))})})}function G(e,t){t.tabs[t.activeIndex].setAttribute("aria-selected","false"),t.tabs[t.activeIndex].tabIndex=-1,t.tabs[e].setAttribute("aria-selected","true"),t.tabs[e].tabIndex=0,t.tabs[e].focus(),t.panels[t.activeIndex].setAttribute("hidden",""),t.panels[t.activeIndex].tabIndex=-1,t.panels[e].removeAttribute("hidden"),t.panels[e].tabIndex=0,t.activeIndex=e}ct(()=>{Yt(),bt(),_t(),Ht(),zt(),ft(),en(),nn(),mn(),ln(),Gt(),wn(),In(),qt(),On(),hn(),Cn(),An()});})(); /*! * lunr.Builder * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.Index * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.Pipeline * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.Set * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.TokenSet * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.Vector * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.stemmer * Copyright (C) 2020 Oliver Nightingale * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt */ /*! * lunr.stopWordFilter * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.tokenizer * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.trimmer * Copyright (C) 2020 Oliver Nightingale */ /*! * lunr.utils * Copyright (C) 2020 Oliver Nightingale */ /** * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 * Copyright (C) 2020 Oliver Nightingale * @license MIT */