Files
anthropic-client/docs/public/docfx.min.js
T

103 lines
112 KiB
JavaScript
Raw Permalink Normal View History

2024-07-07 16:16:55 -05:00
import{b as Jo,c as Lo,d as No}from"./chunk-XUHMPXWX.min.js";var Qo=Jo((AF,Ri)=>{(function(i,t){"use strict";typeof define=="function"&&define.amd?define([],t):typeof Ri=="object"&&Ri.exports?Ri.exports=t():(i.AnchorJS=t(),i.anchors=new i.AnchorJS)})(globalThis,function(){"use strict";function i(t){this.options=t||{},this.elements=[];function c(o){o.icon=Object.prototype.hasOwnProperty.call(o,"icon")?o.icon:"\uE9CB",o.visible=Object.prototype.hasOwnProperty.call(o,"visible")?o.visible:"hover",o.placement=Object.prototype.hasOwnProperty.call(o,"placement")?o.placement:"right",o.ariaLabel=Object.prototype.hasOwnProperty.call(o,"ariaLabel")?o.ariaLabel:"Anchor",o.class=Object.prototype.hasOwnProperty.call(o,"class")?o.class:"",o.base=Object.prototype.hasOwnProperty.call(o,"base")?o.base:"",o.truncate=Object.prototype.hasOwnProperty.call(o,"truncate")?Math.floor(o.truncate):64,o.titleText=Object.prototype.hasOwnProperty.call(o,"titleText")?o.titleText:""}c(this.options),this.add=function(o){var l,a,I,d,n,s,G,g,F,r,X,Z=[];if(c(this.options),o||(o="h2, h3, h4, h5, h6"),l=e(o),l.length===0)return this;for(b(),a=document.querySelectorAll("[id]"),I=[].map.call(a,function(B){return B.id}),n=0;n<l.length;n++){if(this.hasAnchorJSLink(l[n])){Z.push(n);continue}if(l[n].hasAttribute("id"))d=l[n].getAttribute("id");else if(l[n].hasAttribute("data-anchor-id"))d=l[n].getAttribute("data-anchor-id");else{g=this.urlify(l[n].textContent),F=g,G=0;do s!==void 0&&(F=g+"-"+G),s=I.indexOf(F),G+=1;while(s!==-1);s=void 0,I.push(F),l[n].setAttribute("id",F),d=F}r=document.createElement("a"),r.className="anchorjs-link "+this.options.class,r.setAttribute("aria-label",this.options.ariaLabel),r.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(r.title=this.options.titleText),X=document.querySelector("base")?window.location.pathname+window.location.search:"",X=this.options.base||X,r.href=X+"#"+d,this.options.visible==="always"&&(r.style.opacity="1"),this.options.icon==="\uE9CB"&&(r.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(r.style.lineHeight="inherit")),this.options.placement==="left"?(r.style.position="absolute",r.style.marginLeft="-1.25em",r.style.paddingRight=".25em",r.style.paddingLeft=".25em",l[n].insertBefore(r,l[n].firstChild)):(r.style.marginLeft=".1875em",r.style.paddingRight=".1875em",r.style.paddingLeft=".1875em",l[n].appendChild(r))}for(n=0;n<Z.length;n++)l.splice(Z[n]-n,1);return this.elements=this.elements.concat(l),this},this.remove=function(o){for(var l,a,I=e(o),d=0;d<I.length;d++)a=I[d].querySelector(".anchorjs-link"),a&&(l=this.elements.indexOf(I[d]),l!==-1&&this.elements.splice(l,1),I[d].removeChild(a));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(o){var l=document.createElement("textarea");l.innerHTML=o,o=l.value;var a=/[& +$,:;=?@"#{}|^~[`%!'<>\]./()*\\\n\t\b\v\u00A0]/g;return this.options.truncate||c(this.options),o.trim().replace(/'/gi,"").replace(a,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(o){var l=o.firstChild&&(" "+o.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,a=o.lastChild&&(" "+o.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return l||a||!1};function e(o){var l;if(typeof o=="string"||o instanceof String)l=[].slice.call(document.querySelectorAll(o));else if(Array.isArray(o)||o instanceof NodeList)l=[].slice.call(o);else throw new TypeError("The selector provided to AnchorJS was invalid.");return l}function b(){if(document.head.querySelector("style.anchorjs")===null){var o=document.createElement("style"),l=".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",a=":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",I='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAA
\f\r]`,Jc=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eo=/-->/g,bo=/>/g,Dt=RegExp(`>|${me}(?:([^\\s"'>=/]+)(${me}*=${me}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,lo=/"/g,so=/^(?:script|style|textarea|title)$/i,ro=i=>(t,...c)=>({_$litType$:i,strings:t,values:c}),R=ro(1),tF=ro(2),_t=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Io=new WeakMap,Mt=Kt.createTreeWalker(Kt,129);function mo(i,t){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return io!==void 0?io.createHTML(t):t}var pd=(i,t)=>{let c=i.length-1,e=[],b,o=t===2?"<svg>":"",l=Jc;for(let a=0;a<c;a++){let I=i[a],d,n,s=-1,G=0;for(;G<I.length&&(l.lastIndex=G,n=l.exec(I),n!==null);)G=l.lastIndex,l===Jc?n[1]==="!--"?l=eo:n[1]!==void 0?l=bo:n[2]!==void 0?(so.test(n[2])&&(b=RegExp("</"+n[2],"g")),l=Dt):n[3]!==void 0&&(l=Dt):l===Dt?n[0]===">"?(l=b??Jc,s=-1):n[1]===void 0?s=-2:(s=l.lastIndex-n[2].length,d=n[1],l=n[3]===void 0?Dt:n[3]==='"'?lo:oo):l===lo||l===oo?l=Dt:l===eo||l===bo?l=Jc:(l=Dt,b=void 0);let g=l===Dt&&i[a+1].startsWith("/>")?" ":"";o+=l===Jc?I+Rd:s>=0?(e.push(d),I.slice(0,s)+ao+I.slice(s)+pt+g):I+pt+(s===-2?a:g)}return[mo(i,o+(i[c]||"<?>")+(t===2?"</svg>":"")),e]},wc=class i{constructor({strings:t,_$litType$:c},e){let b;this.parts=[];let o=0,l=0,a=t.length-1,I=this.parts,[d,n]=pd(t,c);if(this.el=i.createElement(d,e),Mt.currentNode=this.el.content,c===2){let s=this.el.content.firstChild;s.replaceWith(...s.childNodes)}for(;(b=Mt.nextNode())!==null&&I.length<a;){if(b.nodeType===1){if(b.hasAttributes())for(let s of b.getAttributeNames())if(s.endsWith(ao)){let G=n[l++],g=b.getAttribute(s).split(pt),F=/([.?@])?(.*)/.exec(G);I.push({type:1,index:o,name:F[2],strings:g,ctor:F[1]==="."?Ze:F[1]==="?"?Xe:F[1]==="@"?Ge:Zc}),b.removeAttribute(s)}else s.startsWith(pt)&&(I.push({type:6,index:o}),b.removeAttribute(s));if(so.test(b.tagName)){let s=b.textContent.split(pt),G=s.length-1;if(G>0){b.textContent=Wi?Wi.emptyScript:"";for(let g=0;g<G;g++)b.append(s[g],Lc()),Mt.nextNode(),I.push({type:2,index:++o});b.append(s[G],Lc())}}}else if(b.nodeType===8)if(b.data===no)I.push({type:2,index:o});else{let s=-1;for(;(s=b.data.indexOf(pt,s+1))!==-1;)I.push({type:7,index:o}),s+=pt.length-1}o++}}static createElement(t,c){let e=Kt.createElement("template");return e.innerHTML=t,e}};function Fc(i,t,c=i,e){if(t===_t)return t;let b=e!==void 0?c._$Co?.[e]:c._$Cl,o=Nc(t)?void 0:t._$litDirective$;return b?.constructor!==o&&(b?._$AO?.(!1),o===void 0?b=void 0:(b=new o(i),b._$AT(i,c,e)),e!==void 0?(c._$Co??=[])[e]=b:c._$Cl=b),b!==void 0&&(t=Fc(i,b._$AS(i,t.values),b,e)),t}var Fe=class{constructor(t,c){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=c}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:c},parts:e}=this._$AD,b=(t?.creationScope??Kt).importNode(c,!0);Mt.currentNode=b;let o=Mt.nextNode(),l=0,a=0,I=e[0];for(;I!==void 0;){if(l===I.index){let d;I.type===2?d=new kc(o,o.nextSibling,this,t):I.type===1?d=new I.ctor(o,I.name,I.strings,this,t):I.type===6&&(d=new Ce(o,this,t)),this._$AV.push(d),I=e[++a]}l!==I?.index&&(o=Mt.nextNode(),l++)}return Mt.currentNode=Kt,b}p(t){let c=0;for(let e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(t,e,c),c+=e.strings.length-2):e._$AI(t[c])),c++}},kc=class i{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,c,e,b){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=c,this._$AM=e,this.options=b,this._$Cv=b?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,c=this._$AM;return c!==void 0&&t?.nodeType===11&&(t=c.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,c=this){t=Fc(this,t,c),Nc(t)?t===k||t==null||t===""?(this._$AH!==k&&this._$AR(),this._$AH=k):t!==this._$AH&&t!==_t&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qd(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==k&&Nc(this._$AH)?this._$AA.nextSibling.data=t:this.T(Kt.createTextNode(t)),this._$AH=t}$(t){let{values:c,_$litType$:e}=t,b=typeof e=="number"?this._$AC(t):(e.el===void 0&&(e.el=wc.createElement(mo(e.h,e.h[0]),this.option
`),l=b.split(",");for(let a of l){let I=0,d=0,n=a.match(/^(\d+)-(\d+)?$/);if(n)I=+n[1],d=+n[2],(isNaN(d)||d>o.length)&&(d=o.length);else{if(isNaN(Number(a)))continue;I=+a,d=I}I<=0||d<=0||I>d||I>o.length||(o[I-1]='<span class="line-highlight">'+o[I-1],o[d-1]=o[d-1]+"</span>")}e.innerHTML=o.join(`
`)})}function Zo(i){localStorage.setItem("theme",i),i==="auto"?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",i)}async function Xo(){return localStorage.getItem("theme")||(await D()).defaultTheme||"auto"}async function Go(){Zo(await Xo())}function Co(i){return new MutationObserver(()=>i(xe())).observe(document.documentElement,{attributes:!0,attributeFilter:["data-bs-theme"]})}function xe(){return document.documentElement.getAttribute("data-bs-theme")}async function Bo(i){let t=await Xo(),c=t==="light"?"sun":t==="dark"?"moon":"circle-half";return R`
<div class='dropdown'>
<a title='${L("changeTheme")}' class='btn border-0 dropdown-toggle' data-bs-toggle='dropdown' aria-expanded='false'>
<i class='bi bi-${c}'></i>
</a>
<ul class='dropdown-menu dropdown-menu-end'>
<li><a class='dropdown-item' href='#' @click=${b=>e(b,"light")}><i class='bi bi-sun'></i> ${L("themeLight")}</a></li>
<li><a class='dropdown-item' href='#' @click=${b=>e(b,"dark")}><i class='bi bi-moon'></i> ${L("themeDark")}</a></li>
<li><a class='dropdown-item' href='#' @click=${b=>e(b,"auto")}><i class='bi bi-circle-half'></i> ${L("themeAuto")}</a></li>
</ul>
</div>`;function e(b,o){b.preventDefault(),Zo(o),i()}}async function Qe(){Ad(),fd(),yd(),Yd(),Od(),vd(),await Promise.all([Ud(),Vd(),Re()]),Co(Re)}async function Vd(){document.querySelectorAll(".math").length>0&&await import("./tex-svg-full-JPZ3Q247.min.js")}async function Re(){let i=document.querySelectorAll("pre code.lang-mermaid"),t=document.querySelectorAll("pre.mermaid[data-mermaid]");if(i.length<=0&&t.length<=0)return;let{default:c}=await import("./mermaid.core-SEZKZMNB.min.js"),e=xe()==="dark"?"dark":"default",{mermaid:b}=await D();c.initialize(Object.assign({startOnLoad:!1,theme:e},b));let o=[];i.forEach(l=>{if(l.offsetParent){o.push(l.parentElement);let a=l.innerHTML;l.parentElement.classList.add("mermaid"),l.parentElement.setAttribute("data-mermaid",a),l.parentElement.innerHTML=a}}),t.forEach(l=>{l.offsetParent&&(l.removeAttribute("data-processed"),l.innerHTML=l.getAttribute("data-mermaid"),o.push(l))}),await c.run({nodes:o})}function Ad(){document.querySelectorAll("article h1,h2,h3,h4,h5,h6,.xref,.text-break").forEach(i=>{if(i.innerHTML?.trim()===i.innerText?.trim()){let t=[];for(let c of We(i.innerText))t.length>0&&t.push(document.createElement("wbr")),t.push(c);i.replaceChildren(...t)}})}async function Ud(){let{showLightbox:i}=await D(),t=200,c=Array.from(document.querySelectorAll("article a img[src]"));document.querySelectorAll("article img[src]").forEach(e=>{o()?b():e.addEventListener("load",()=>{o()&&b()});function b(){let l=document.createElement("a");l.target="_blank",l.rel="noopener noreferrer nofollow",e.parentElement.tagName==="PICTURE"?e.parentElement.addEventListener("click",()=>{l.href=e.currentSrc,l.click()}):(l.href=e.src,e.replaceWith(l),l.appendChild(e))}function o(){return i?i(e):e.naturalWidth>t&&e.naturalHeight>t&&!c.includes(e)}})}function fd(){document.querySelectorAll("table").forEach(i=>{i.classList.add("table","table-bordered","table-condensed");let t=document.createElement("div");t.className="table-responsive",i.parentElement.insertBefore(t,i),t.appendChild(i)})}function yd(){document.querySelectorAll(".NOTE, .TIP").forEach(i=>i.classList.add("alert","alert-info")),document.querySelectorAll(".WARNING").forEach(i=>i.classList.add("alert","alert-warning")),document.querySelectorAll(".IMPORTANT, .CAUTION").forEach(i=>i.classList.add("alert","alert-danger"))}function Yd(){at("docfx:disablenewtab")!=="true"&&document.querySelectorAll("article a[href]").forEach(i=>{i.hostname!==window.location.hostname&&i.innerText.trim()!==""&&(i.target="_blank",i.rel="noopener noreferrer nofollow",i.classList.add("external"))})}function vd(){document.querySelectorAll("pre>code").forEach(i=>{if(i.textContent.trim().length===0)return;let t=!1;c();function c(){let e=t?R`<a class='btn border-0 link-success code-action'><i class='bi bi-check-lg'></i></a>`:R`<a class='btn border-0 code-action' title='${L("copy")}' href='#' @click=${b}><i class='bi bi-clipboard'></i></a>`;lt(e,i.parentElement);async function b(o){o.preventDefault(),await navigator.clipboard.writeText(i.innerText),t=!0,c(),setTimeout(()=>{t=!1,c()},1e3)}}})}function Od(){s();let i={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type"},t=function(){function g(F,r,X){this.li=F,this.a=r,this.section=X}return Object.defineProperty(g.prototype,"tabIds",{get:function(){return this.a.getAttribute("data-tab").split(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"condition",{get:function(){return this.a.getAttribute("data-condition")},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"visible",{get:function(){return!this.li.hasAttribute("hidden")},set:function(F){F?(this.li.removeAttribute("hidden"),this.li.removeAttribute("aria-hidden")):(this.li.setAttribute("hidden","hidden"),this.li.setAttribute("aria-hidden","true"))},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"selected",{get:function(){return!this.section.hasAttribute("hidden")},set:function(F){F?(this.a.setAttribute("aria-selected","true"),this.a.classList.add("active"),this.a.tabIndex=0,this.section.removeAttribute("hidden"),t
<div class="search-list">${L("searchResultsCount",{count:I.length.toString(),query:nt})}</div>
<div class="sr-items">${X.map(B=>{let C=window.location.href,u=o(C,t+B.href),x=t+B.href+"?q="+nt,Q=l(B.keywords);return R`
<div class="sr-item">
<div class="item-title"><a href="${x}" target="_blank" rel="noopener noreferrer">${pe(B.title,nt)}</a></div>
<div class="item-href">${pe(u,nt)}</div>
<div class="item-brief">${pe(Q,nt)}</div>
</div>`})}
</div>`;return R`${Z} ${g()}`}function g(){let r=Math.max(0,Math.min(d-2,s-5)),X=Math.min(s,r+5),Z=Array.from(new Array(X-r).keys()).map(C=>C+r);if(Z.length<=1)return null;return R`
<nav>
<ul class="pagination">
<li class="page-item">
<a class="page-link ${ht({disabled:d<=0})}" href="#" aria-label="Previous"
@click="${()=>B(d-1)}">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
${Z.map(C=>R`
<li class="page-item">
<a class="page-link ${ht({active:d===C})}" href="#"
@click="${()=>B(C)}">${C+1}</a></li>`)}
<li class="page-item">
<a class="page-link ${ht({disabled:d>=s-1})}" href="#" aria-label="Next"
@click="${()=>B(d+1)}">
<span aria-hidden="true">&raquo;</span>
</a>
</li>
</ul>
</nav>`;function B(C){C>=0&&C<s&&a(I,C)}}}}function pe(i,t){let e=t.split(/\s+/g).map(a=>a.toLowerCase()),b=i.toLowerCase(),o=[],l=0;for(let a=0;a<e.length;a++){let I=e[a],d=b.indexOf(I,l);d>=0&&(o.push(R`${i.slice(l,d)}`),o.push(R`<b>${i.slice(d,d+I.length)}</b>`),l=d+I.length)}return o.push(R`${i.slice(l)}`),R`${o}`}async function Ro(){let i=at("docfx:tocrel");if(!i)return[];let t=at("docfx:disabletocfilter")==="true",c=new URL(i.replace(/.html$/gi,".json"),window.location.href),{items:e,pdf:b,pdfFileName:o}=await(await fetch(c)).json(),l=t?"":localStorage?.getItem("tocFilterUrl")||"",a=t?"":localStorage?.getItem("tocFilter")||"";(l===""||l!==c.toString())&&(a="",t||(localStorage?.setItem("tocFilter",""),localStorage?.setItem("tocFilterUrl",c.toString())));let I=[],d=[];e.forEach(s);let n=document.getElementById("toc");if(n){G();let Z=n.querySelectorAll("li.active"),B=Z[Z.length-1];B&&(B.scrollIntoView({block:"nearest"}),location.hash&&(location.href=location.href))}return d.length>0&&Jd(e,d[0]),I.slice(0,-1);function s(Z){let B;if(Z.href){let C=new URL(Z.href,c);Z.href=C.href,B=ui(C)?!1:Fo(C,window.location),B&&(Z.items&&(Z.expanded=!0),d.push(Z))}if(Z.items)for(let C of Z.items)s(C)&&(B=!0,Z.expanded=!0);return B?(I.unshift(Z),!0):!1}function G(){lt(R`
${F()}
<div class="flex-fill overflow-y-auto">${g(e)||r()}</div>
${X()}`,n)}function g(Z){let B=Z.map(C=>{let{href:u,name:x,items:Q,expanded:p}=C;if(!x)return null;let h=!Q||Q.length<=0,U=h?null:g(Q);if(a!==""&&!U&&!x.toLowerCase().includes(a.toLowerCase()))return null;let y=u?R`<a class='${ht({"nav-link":!I.includes(C)})}' href=${u}>${it(x)}</a>`:h?R`<span class='text-body-tertiary name-only'>${it(x)}</a>`:R`<a class='${ht({"nav-link":!I.includes(C)})}' href='#' @click=${T}>${it(x)}</a>`,O=a!==""&&p!==!1&&U!=null||p===!0;return R`
<li class=${ht({expander:!h,expanded:O,active:I.includes(C)})}>
${h?null:R`<span class='expand-stub' @click=${T}></span>`}
${y}
${U}
</li>`;function T(z){z.preventDefault(),C.expanded=!O,G()}}).filter(C=>C);return B.length>0?R`<ul>${B}</ul>`:null}function F(){return t?null:R`
<form class='filter'>
<i class='bi bi-filter'></i>
<input class='form-control' @input=${Z} value='${a}' type='search' placeholder='${L("tocFilter")}' autocomplete='off' aria-label='${L("tocFilter")}'>
</form>`;function Z(B){a=B.target.value.trim(),localStorage?.setItem("tocFilter",a),G()}}function r(){return a===""?null:R`<div class='no-result'>${L("searchNoResults",{query:a})}</div>`}function X(){return b?R`<div class="py-2 mb-md-4"><a class="pdf-link" href="${new URL(o||"toc.pdf",c)}">${L("downloadPdf")}</a></div>`:null}}function Jd(i,t){let c=document.getElementById("nextArticle");if(!c)return;let e=d(i),b=e.findIndex(n=>n===t),o=e[b-1],l=e[b+1];if(!o&&!l)return;let a=o?R`<div class="prev"><span><i class='bi bi-chevron-left'></i> ${L("prevArticle")}</span> <a href="${o.href}" rel="prev">${it(o.name)}</a></div>`:null,I=l?R`<div class="next"><span>${L("nextArticle")} <i class='bi bi-chevron-right'></i></span> <a href="${l.href}" rel="next">${it(l.name)}</a></div>`:null;lt(R`${a} ${I}`,c);function d(n){let s=[];for(let G of n)G.href&&s.push(G),G.items&&s.push(...d(G.items));return s}}var po=No(Qo());async function ho(){let i=document.getElementById("navbar");if(!i)return[];let{iconLinks:t}=await D(),c=await a(),e=wd(c),b=I=>R`<li class='nav-item'><a class='nav-link ${I===e?"active":null}' aria-current=${I===e?"page":!1} href=${I.href}>${it(I.name)}</a></li>`,o=R`
<ul class='navbar-nav'>${c.map(I=>{if("items"in I){let d=I.items.some(n=>n===e)?"active":null;return R`
<li class='nav-item dropdown'>
<a class='nav-link dropdown-toggle ${d}' href='#' role='button' data-bs-toggle='dropdown' aria-expanded='false'>
${it(I.name)}
</a>
<ul class='dropdown-menu'>${I.items.map(b)}</ul>
</li>`}else return b(I)})}</ul>`;async function l(){let I=R`
<form class="icons">
${t?.map(d=>R`<a href="${d.href}" title="${d.title}" class="btn border-0"><i class="bi bi-${d.icon}"></i></a>`)}
${await Bo(l)}
</form>`;lt(R`${o} ${I}`,i)}return await l(),e?[e]:[];async function a(){let I=at("docfx:navrel");if(!I)return[];let d=new URL(I.replace(/.html$/gi,".json"),window.location.href),{items:n}=await fetch(d).then(s=>s.json());return n.map(s=>"items"in s?{name:s.name,items:s.items.map(G=>({name:G.name,href:new URL(G.href,d)}))}:{name:s.name,href:new URL(s.href,d)})}}function Vo(i){let t=document.getElementById("breadcrumb");t&&lt(R`
<ol class="breadcrumb">
${i.map(c=>R`<li class="breadcrumb-item"><a href="${c.href}">${it(c.name)}</a></li>`)}
</ol>`,t)}async function Ao(){await Ld();let i=document.getElementById("affix");i&&lt(Nd(),i)}async function Ld(){let i=new po.default,{anchors:t}=await D();i.options=Object.assign({visible:"hover",icon:"#"},t),i.add("article h2:not(.no-anchor), article h3:not(.no-anchor), article h4:not(.no-anchor)"),location.hash&&(location.href=location.href)}function Nd(){let i=Array.from(document.querySelectorAll("article h2, article h3"));if(i.length>0)return R`
<h5 class="border-bottom">${L("inThisArticle")}</h5>
<ul>${i.map(t=>t.tagName==="H2"?R`<li><a class="link-body-emphasis" href="#${t.id}">${it(t.innerText)}</a></li>`:R`<li><a class="link-secondary" href="#${t.id}">${it(t.innerText)}</a></li>`)}</ul>`}function wd(i){let t=new URL(window.location.href),c,e=0;for(let b of i.map(o=>"items"in o?o.items:o).flat()){if(ui(b.href))continue;let o=kd(t,b.href);o>e&&(e=o,c=b)}return c}function kd(i,t){let c=i.pathname.split("/"),e=t.pathname.split("/"),b=0;for(;b<c.length&&b<e.length&&c[b]===e[b];)b++;return b}async function zd(){window.docfx=window.docfx||{};let{start:i}=await D();i?.(),navigator.userAgent.indexOf("docfx/pdf")>=0?await Promise.all([Qe(),ue()]):await Promise.all([Go(),xo(),Ao(),Qe(),c(),ue()]),window.docfx.ready=!0;async function c(){let[e,b]=await Promise.all([ho(),Ro()]);Vo([...e,...b])}}zd().catch(console.error);
/*! Bundled license information:
bootstrap/dist/js/bootstrap.esm.js:
(*!
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*)
lit-html/lit-html.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-html/directive.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-html/directives/class-map.js:
(**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
*/
//# sourceMappingURL=docfx.min.js.map