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

103 lines
112 KiB
JavaScript
Raw Normal View History

2025-01-02 00:52:34 +00:00
import{a as Jo,b as Lo,d as No}from"./chunk-OSRY5VT3.min.js";var xo=Jo((fF,Rc)=>{(function(c,t){"use strict";typeof define=="function"&&define.amd?define([],t):typeof Rc=="object"&&Rc.exports?Rc.exports=t():(c.AnchorJS=t(),c.anchors=new c.AnchorJS)})(globalThis,function(){"use strict";function c(t){this.options=t||{},this.elements=[];function i(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:""}i(this.options),this.add=function(o){var l,a,n,r,I,g,C,d,F,s,X,Z=[];if(i(this.options),o||(o="h2, h3, h4, h5, h6"),l=e(o),l.length===0)return this;for(b(),a=document.querySelectorAll("[id]"),n=[].map.call(a,function(B){return B.id}),I=0;I<l.length;I++){if(this.hasAnchorJSLink(l[I])){Z.push(I);continue}if(l[I].hasAttribute("id"))r=l[I].getAttribute("id");else if(l[I].hasAttribute("data-anchor-id"))r=l[I].getAttribute("data-anchor-id");else{d=this.urlify(l[I].textContent),F=d,C=0;do g!==void 0&&(F=d+"-"+C),g=n.indexOf(F),C+=1;while(g!==-1);g=void 0,n.push(F),l[I].setAttribute("id",F),r=F}s=document.createElement("a"),s.className="anchorjs-link "+this.options.class,s.setAttribute("aria-label",this.options.ariaLabel),s.setAttribute("data-anchorjs-icon",this.options.icon),this.options.titleText&&(s.title=this.options.titleText),X=document.querySelector("base")?window.location.pathname+window.location.search:"",X=this.options.base||X,s.href=X+"#"+r,this.options.visible==="always"&&(s.style.opacity="1"),this.options.icon==="\uE9CB"&&(s.style.font="1em/1 anchorjs-icons",this.options.placement==="left"&&(s.style.lineHeight="inherit")),this.options.placement==="left"?(s.style.position="absolute",s.style.marginLeft="-1.25em",s.style.paddingRight=".25em",s.style.paddingLeft=".25em",l[I].insertBefore(s,l[I].firstChild)):(s.style.marginLeft=".1875em",s.style.paddingRight=".1875em",s.style.paddingLeft=".1875em",l[I].appendChild(s))}for(I=0;I<Z.length;I++)l.splice(Z[I]-I,1);return this.elements=this.elements.concat(l),this},this.remove=function(o){for(var l,a,n=e(o),r=0;r<n.length;r++)a=n[r].querySelector(".anchorjs-link"),a&&(l=this.elements.indexOf(n[r]),l!==-1&&this.elements.splice(l,1),n[r].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||i(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}",n='@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAA
2024-11-19 20:13:35 +00:00
\f\r]`,Ji=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oo=/-->/g,lo=/>/g,Dt=RegExp(`>|${me}(?:([^\\s"'>=/]+)(${me}*=${me}*(?:[^
2025-01-02 00:52:34 +00:00
\f\r"'\`<>=]|("|')|))|$)`,"g"),no=/'/g,ao=/"/g,so=/^(?:script|style|textarea|title)$/i,We=c=>(t,...i)=>({_$litType$:c,strings:t,values:i}),R=We(1),tF=We(2),iF=We(3),_t=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Io=new WeakMap,Mt=Kt.createTreeWalker(Kt,129);function mo(c,t){if(!pe(c)||!c.hasOwnProperty("raw"))throw Error("invalid template strings array");return bo!==void 0?bo.createHTML(t):t}var Qr=(c,t)=>{let i=c.length-1,e=[],b,o=t===2?"<svg>":t===3?"<math>":"",l=Ji;for(let a=0;a<i;a++){let n=c[a],r,I,g=-1,C=0;for(;C<n.length&&(l.lastIndex=C,I=l.exec(n),I!==null);)C=l.lastIndex,l===Ji?I[1]==="!--"?l=oo:I[1]!==void 0?l=lo:I[2]!==void 0?(so.test(I[2])&&(b=RegExp("</"+I[2],"g")),l=Dt):I[3]!==void 0&&(l=Dt):l===Dt?I[0]===">"?(l=b??Ji,g=-1):I[1]===void 0?g=-2:(g=l.lastIndex-I[2].length,r=I[1],l=I[3]===void 0?Dt:I[3]==='"'?ao:no):l===ao||l===no?l=Dt:l===oo||l===lo?l=Ji:(l=Dt,b=void 0);let d=l===Dt&&c[a+1].startsWith("/>")?" ":"";o+=l===Ji?n+Rr:g>=0?(e.push(r),n.slice(0,g)+ro+n.slice(g)+Qt+d):n+Qt+(g===-2?a:d)}return[mo(c,o+(c[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),e]},wi=class c{constructor({strings:t,_$litType$:i},e){let b;this.parts=[];let o=0,l=0,a=t.length-1,n=this.parts,[r,I]=Qr(t,i);if(this.el=c.createElement(r,e),Mt.currentNode=this.el.content,i===2||i===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(b=Mt.nextNode())!==null&&n.length<a;){if(b.nodeType===1){if(b.hasAttributes())for(let g of b.getAttributeNames())if(g.endsWith(ro)){let C=I[l++],d=b.getAttribute(g).split(Qt),F=/([.?@])?(.*)/.exec(C);n.push({type:1,index:o,name:F[2],strings:d,ctor:F[1]==="."?Ze:F[1]==="?"?Xe:F[1]==="@"?Ce:Zi}),b.removeAttribute(g)}else g.startsWith(Qt)&&(n.push({type:6,index:o}),b.removeAttribute(g));if(so.test(b.tagName)){let g=b.textContent.split(Qt),C=g.length-1;if(C>0){b.textContent=pc?pc.emptyScript:"";for(let d=0;d<C;d++)b.append(g[d],Li()),Mt.nextNode(),n.push({type:2,index:++o});b.append(g[C],Li())}}}else if(b.nodeType===8)if(b.data===go)n.push({type:2,index:o});else{let g=-1;for(;(g=b.data.indexOf(Qt,g+1))!==-1;)n.push({type:7,index:o}),g+=Qt.length-1}o++}}static createElement(t,i){let e=Kt.createElement("template");return e.innerHTML=t,e}};function Fi(c,t,i=c,e){if(t===_t)return t;let b=e!==void 0?i._$Co?.[e]:i._$Cl,o=Ni(t)?void 0:t._$litDirective$;return b?.constructor!==o&&(b?._$AO?.(!1),o===void 0?b=void 0:(b=new o(c),b._$AT(c,i,e)),e!==void 0?(i._$Co??=[])[e]=b:i._$Cl=b),b!==void 0&&(t=Fi(c,b._$AS(c,t.values),b,e)),t}var Fe=class{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:i},parts:e}=this._$AD,b=(t?.creationScope??Kt).importNode(i,!0);Mt.currentNode=b;let o=Mt.nextNode(),l=0,a=0,n=e[0];for(;n!==void 0;){if(l===n.index){let r;n.type===2?r=new ki(o,o.nextSibling,this,t):n.type===1?r=new n.ctor(o,n.name,n.strings,this,t):n.type===6&&(r=new Ge(o,this,t)),this._$AV.push(r),n=e[++a]}l!==n?.index&&(o=Mt.nextNode(),l++)}return Mt.currentNode=Kt,b}p(t){let i=0;for(let e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}},ki=class c{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,e,b){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=b,this._$Cv=b?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Fi(this,t,i),Ni(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):xr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==k&&Ni(this._$AH)?this._$AA.nextSibling.data=t:this.T(Kt.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:e}=t,b=typeof e=="number"?this._$AC(t):(e.el===void 0&&(e.el=wi.crea
2024-11-19 20:13:35 +00:00
`),l=b.split(",");for(let a of l){let n=0,r=0,I=a.match(/^(\d+)-(\d+)?$/);if(I)n=+I[1],r=+I[2],(isNaN(r)||r>o.length)&&(r=o.length);else{if(isNaN(Number(a)))continue;n=+a,r=n}n<=0||r<=0||n>r||n>o.length||(o[n-1]='<span class="line-highlight">'+o[n-1],o[r-1]=o[r-1]+"</span>")}e.innerHTML=o.join(`
2025-01-02 00:52:34 +00:00
`)})}function Zo(c){localStorage.setItem("theme",c),c==="auto"?document.documentElement.setAttribute("data-bs-theme",window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"):document.documentElement.setAttribute("data-bs-theme",c)}async function Xo(){return localStorage.getItem("theme")||(await D()).defaultTheme||"auto"}async function Co(){Zo(await Xo())}function Go(c){return new MutationObserver(()=>c(xe())).observe(document.documentElement,{attributes:!0,attributeFilter:["data-bs-theme"]})}function xe(){return document.documentElement.getAttribute("data-bs-theme")}async function Bo(c){let t=await Xo(),i=t==="light"?"sun":t==="dark"?"moon":"circle-half";return R`
2024-07-07 16:16:55 -05:00
<div class='dropdown'>
<a title='${L("changeTheme")}' class='btn border-0 dropdown-toggle' data-bs-toggle='dropdown' aria-expanded='false'>
2024-11-19 20:13:35 +00:00
<i class='bi bi-${i}'></i>
2024-07-07 16:16:55 -05:00
</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>
2025-01-02 00:52:34 +00:00
</div>`;function e(b,o){b.preventDefault(),Zo(o),c()}}async function he(){Ar(),Ur(),yr(),Yr(),vr(),Or(),await Promise.all([fr(),Vr(),Qe()]),Go(Qe)}async function Vr(){document.querySelectorAll(".math").length>0&&await import("./tex-svg-full-SL33OL2J.min.js")}async function Qe(){let c=document.querySelectorAll("pre code.lang-mermaid"),t=document.querySelectorAll("pre.mermaid[data-mermaid]");if(c.length<=0&&t.length<=0)return;let{default:i}=await import("./mermaid.core-RYVCAQML.min.js"),e=xe()==="dark"?"dark":"default",{mermaid:b}=await D();i.initialize(Object.assign({startOnLoad:!1,theme:e},b));let o=[];c.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 i.run({nodes:o})}function Ar(){document.querySelectorAll("article h1,h2,h3,h4,h5,h6,.xref,.text-break").forEach(c=>{if(c.innerHTML?.trim()===c.innerText?.trim()){let t=[];for(let i of ue(c.innerText))t.length>0&&t.push(document.createElement("wbr")),t.push(i);c.replaceChildren(...t)}})}async function fr(){let{showLightbox:c}=await D(),t=200,i=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 c?c(e):e.naturalWidth>t&&e.naturalHeight>t&&!i.includes(e)}})}function Ur(){document.querySelectorAll("table").forEach(c=>{c.classList.add("table","table-bordered","table-condensed");let t=document.createElement("div");t.className="table-responsive",c.parentElement.insertBefore(t,c),t.appendChild(c)})}function yr(){document.querySelectorAll(".NOTE, .TIP").forEach(c=>c.classList.add("alert","alert-info")),document.querySelectorAll(".WARNING").forEach(c=>c.classList.add("alert","alert-warning")),document.querySelectorAll(".IMPORTANT, .CAUTION").forEach(c=>c.classList.add("alert","alert-danger"))}function Yr(){at("docfx:disablenewtab")!=="true"&&document.querySelectorAll("article a[href]").forEach(c=>{c.hostname!==window.location.hostname&&c.innerText.trim()!==""&&(c.target="_blank",c.rel="noopener noreferrer nofollow",c.classList.add("external"))})}function Or(){document.querySelectorAll("pre>code").forEach(c=>{if(c.textContent.trim().length===0)return;let t=!1;i();function i(){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,c.parentElement);async function b(o){o.preventDefault(),await navigator.clipboard.writeText(c.innerText),t=!0,i(),setTimeout(()=>{t=!1,i()},1e3)}}})}function vr(){g();let c={id:"data-bi-id",name:"data-bi-name",type:"data-bi-type"},t=function(){function d(F,s,X){this.li=F,this.a=s,this.section=X}return Object.defineProperty(d.prototype,"tabIds",{get:function(){return this.a.getAttribute("data-tab").split(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"condition",{get:function(){return this.a.getAttribute("data-condition")},enumerable:!0,configurable:!0}),Object.defineProperty(d.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(d.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
2024-11-19 20:13:35 +00:00
<div class="search-list">${L("searchResultsCount",{count:n.length.toString(),query:It})}</div>
2025-01-02 00:52:34 +00:00
<div class="sr-items">${X.map(B=>{let G=window.location.href,W=o(G,t+B.href),u=t+B.href+"?q="+It,x=l(B.keywords);return R`
2024-07-07 16:16:55 -05:00
<div class="sr-item">
2024-11-19 20:13:35 +00:00
<div class="item-title"><a href="${u}" target="_blank" rel="noopener noreferrer">${Ve(B.title,It)}</a></div>
<div class="item-href">${Ve(W,It)}</div>
2025-01-02 00:52:34 +00:00
<div class="item-brief">${Ve(x,It)}</div>
2024-07-07 16:16:55 -05:00
</div>`})}
2025-01-02 00:52:34 +00:00
</div>`;return R`${Z} ${d()}`}function d(){let s=Math.max(0,Math.min(r-2,g-5)),X=Math.min(g,s+5),Z=Array.from(new Array(X-s).keys()).map(G=>G+s);if(Z.length<=1)return null;return R`
2024-07-07 16:16:55 -05:00
<nav>
<ul class="pagination">
<li class="page-item">
2024-11-19 20:13:35 +00:00
<a class="page-link ${ht({disabled:r<=0})}" href="#" aria-label="Previous"
@click="${()=>B(r-1)}">
2024-07-07 16:16:55 -05:00
<span aria-hidden="true">&laquo;</span>
</a>
</li>
2025-01-02 00:52:34 +00:00
${Z.map(G=>R`
2024-07-07 16:16:55 -05:00
<li class="page-item">
2024-11-19 20:13:35 +00:00
<a class="page-link ${ht({active:r===G})}" href="#"
@click="${()=>B(G)}">${G+1}</a></li>`)}
2024-07-07 16:16:55 -05:00
<li class="page-item">
2024-11-19 20:13:35 +00:00
<a class="page-link ${ht({disabled:r>=g-1})}" href="#" aria-label="Next"
@click="${()=>B(r+1)}">
2024-07-07 16:16:55 -05:00
<span aria-hidden="true">&raquo;</span>
</a>
</li>
</ul>
2025-01-02 00:52:34 +00:00
</nav>`;function B(G){G>=0&&G<g&&a(n,G)}}}}function Ve(c,t){let e=t.split(/\s+/g).map(a=>a.toLowerCase()),b=c.toLowerCase(),o=[],l=0;for(let a=0;a<e.length;a++){let n=e[a],r=b.indexOf(n,l);r>=0&&(o.push(R`${c.slice(l,r)}`),o.push(R`<b>${c.slice(r,r+n.length)}</b>`),l=r+n.length)}return o.push(R`${c.slice(l)}`),R`${o}`}async function Ro(){let c=at("docfx:tocrel");if(!c)return[];let t=at("docfx:disabletocfilter")==="true",i=new URL(c.replace(/.html$/gi,".json"),window.location.href),{items:e,pdf:b,pdfFileName:o}=await(await fetch(i)).json(),l=t?"":localStorage?.getItem("tocFilterUrl")||"",a=t?"":localStorage?.getItem("tocFilter")||"";(l===""||l!==i.toString())&&(a="",t||(localStorage?.setItem("tocFilter",""),localStorage?.setItem("tocFilterUrl",i.toString())));let n=[],r=[];e.forEach(g);let I=document.getElementById("toc");if(I){C();let Z=I.querySelectorAll("li.active"),B=Z[Z.length-1];B&&(B.scrollIntoView({block:"nearest"}),location.hash&&(location.href=location.href))}return r.length>0&&Jr(e,r[0]),n.slice(0,-1);function g(Z){let B;if(Z.href){let G=new URL(Z.href,i);Z.href=G.href,B=Wc(G)?!1:Fo(G,window.location),B&&(Z.items&&(Z.expanded=!0),r.push(Z))}if(Z.items)for(let G of Z.items)g(G)&&(B=!0,Z.expanded=!0);return B?(n.unshift(Z),!0):!1}function C(){lt(R`
2024-11-19 20:13:35 +00:00
${F()}
<div class="flex-fill overflow-y-auto">${d(e)||s()}</div>
2025-01-02 00:52:34 +00:00
${X()}`,I)}function d(Z){let B=Z.map(G=>{let{href:W,name:u,items:x,expanded:Q}=G;if(!u)return null;let h=!x||x.length<=0,f=h?null:d(x);if(a!==""&&!f&&!u.toLowerCase().includes(a.toLowerCase()))return null;let y=W?R`<a class='${ht({"nav-link":!n.includes(G)})}' href=${W}>${ct(u)}</a>`:h?R`<span class='text-body-tertiary name-only'>${ct(u)}</a>`:R`<a class='${ht({"nav-link":!n.includes(G)})}' href='#' @click=${T}>${ct(u)}</a>`,v=a!==""&&Q!==!1&&f!=null||Q===!0;return R`
2024-11-19 20:13:35 +00:00
<li class=${ht({expander:!h,expanded:v,active:n.includes(G)})}>
2025-01-02 00:52:34 +00:00
${h?null:R`<span class='expand-stub' @click=${T}></span>`}
2024-07-07 16:16:55 -05:00
${y}
2024-11-19 20:13:35 +00:00
${f}
2025-01-02 00:52:34 +00:00
</li>`;function T(z){z.preventDefault(),G.expanded=!v,C()}}).filter(G=>G);return B.length>0?R`<ul>${B}</ul>`:null}function F(){return t?null:R`
2024-07-07 16:16:55 -05:00
<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")}'>
2025-01-02 00:52:34 +00:00
</form>`;function Z(B){a=B.target.value.trim(),localStorage?.setItem("tocFilter",a),C()}}function s(){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",i)}">${L("downloadPdf")}</a></div>`:null}}function Jr(c,t){let i=document.getElementById("nextArticle");if(!i)return;let e=r(c),b=e.findIndex(I=>I===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">${ct(o.name)}</a></div>`:null,n=l?R`<div class="next"><span>${L("nextArticle")} <i class='bi bi-chevron-right'></i></span> <a href="${l.href}" rel="next">${ct(l.name)}</a></div>`:null;lt(R`${a} ${n}`,i);function r(I){let g=[];for(let C of I)C.href&&g.push(C),C.items&&g.push(...r(C.items));return g}}var Qo=No(xo());async function ho(){let c=document.getElementById("navbar");if(!c)return[];let{iconLinks:t}=await D(),i=await a(),e=wr(i),b=n=>R`<li class='nav-item'><a class='nav-link ${n===e?"active":null}' aria-current=${n===e?"page":!1} href=${n.href}>${ct(n.name)}</a></li>`,o=R`
<ul class='navbar-nav'>${i.map(n=>{if("items"in n){let r=n.items.some(I=>I===e)?"active":null;return R`
2024-07-07 16:16:55 -05:00
<li class='nav-item dropdown'>
2024-11-19 20:13:35 +00:00
<a class='nav-link dropdown-toggle ${r}' href='#' role='button' data-bs-toggle='dropdown' aria-expanded='false'>
${ct(n.name)}
2024-07-07 16:16:55 -05:00
</a>
2024-11-19 20:13:35 +00:00
<ul class='dropdown-menu'>${n.items.map(b)}</ul>
2025-01-02 00:52:34 +00:00
</li>`}else return b(n)})}</ul>`;async function l(){let n=R`
2024-07-07 16:16:55 -05:00
<form class="icons">
2025-01-02 00:52:34 +00:00
${t?.map(r=>R`<a href="${r.href}" title="${r.title}" class="btn border-0"><i class="bi bi-${r.icon}"></i></a>`)}
2024-07-07 16:16:55 -05:00
${await Bo(l)}
2025-01-02 00:52:34 +00:00
</form>`;lt(R`${o} ${n}`,c)}return await l(),e?[e]:[];async function a(){let n=at("docfx:navrel");if(!n)return[];let r=new URL(n.replace(/.html$/gi,".json"),window.location.href),{items:I}=await fetch(r).then(g=>g.json());return I.map(g=>"items"in g?{name:g.name,items:g.items.map(C=>({name:C.name,href:new URL(C.href,r)}))}:{name:g.name,href:new URL(g.href,r)})}}function Vo(c){let t=document.getElementById("breadcrumb");t&&lt(R`
2024-07-07 16:16:55 -05:00
<ol class="breadcrumb">
2025-01-02 00:52:34 +00:00
${c.map(i=>R`<li class="breadcrumb-item"><a href="${i.href}">${ct(i.name)}</a></li>`)}
</ol>`,t)}async function Ao(){await Lr();let c=document.getElementById("affix");c&&lt(Nr(),c)}async function Lr(){let c=new Qo.default,{anchors:t}=await D();c.options=Object.assign({visible:"hover",icon:"#"},t),c.add("article h2:not(.no-anchor), article h3:not(.no-anchor), article h4:not(.no-anchor)"),location.hash&&(location.href=location.href)}function Nr(){let c=Array.from(document.querySelectorAll("article h2, article h3"));if(c.length>0)return R`
2024-07-07 16:16:55 -05:00
<h5 class="border-bottom">${L("inThisArticle")}</h5>
2025-01-02 00:52:34 +00:00
<ul>${c.map(t=>t.tagName==="H2"?R`<li><a class="link-body-emphasis" href="#${t.id}">${ct(t.innerText)}</a></li>`:R`<li><a class="link-secondary" href="#${t.id}">${ct(t.innerText)}</a></li>`)}</ul>`}function wr(c){let t=new URL(window.location.href),i,e=0;for(let b of c.map(o=>"items"in o?o.items:o).flat()){if(Wc(b.href))continue;let o=kr(t,b.href);o===e?i=void 0:o>e&&(e=o,i=b)}return i}function kr(c,t){let i=c.pathname.split("/"),e=t.pathname.split("/"),b=0;for(;b<i.length&&b<e.length&&i[b]===e[b];)b++;return b}async function zr(){window.docfx=window.docfx||{};let{start:c}=await D();c?.(),navigator.userAgent.indexOf("docfx/pdf")>=0?await Promise.all([he(),Re()]):await Promise.all([Co(),uo(),Ao(),he(),i(),Re()]),window.docfx.ready=!0;async function i(){let[e,b]=await Promise.all([ho(),Ro()]);Vo([...e,...b])}}zr().catch(console.error);
2024-07-07 16:16:55 -05:00
/*! 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